2023-03-01 10:18:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* DynamicDialogs can be created dynamically with any component as the content using a DialogService.
|
|
|
|
*
|
2023-03-03 14:17:03 +00:00
|
|
|
* [Live Demo](https://primevue.org/dynamicdialog)
|
2023-03-01 10:18:44 +00:00
|
|
|
*
|
|
|
|
* @module dynamicdialog
|
|
|
|
*
|
|
|
|
*/
|
2022-09-06 12:03:37 +00:00
|
|
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
|
|
|
2023-03-01 10:18:44 +00:00
|
|
|
/**
|
|
|
|
* Defines valid properties in DynamicDialog component.
|
|
|
|
*/
|
2023-05-29 19:00:59 +00:00
|
|
|
export interface DynamicDialogProps {
|
|
|
|
/**
|
|
|
|
* When enabled, it removes component related styles in the core.
|
|
|
|
* @defaultValue false
|
|
|
|
*/
|
|
|
|
unstyled?: boolean;
|
|
|
|
}
|
2022-09-06 12:03:37 +00:00
|
|
|
|
2023-03-01 10:18:44 +00:00
|
|
|
/**
|
|
|
|
* Defines valid emits in DynamicDialog component.
|
|
|
|
*/
|
|
|
|
export interface DynamicDialogEmits {}
|
2022-09-06 12:03:37 +00:00
|
|
|
|
2023-03-01 10:18:44 +00:00
|
|
|
/**
|
|
|
|
* Defines valid slots in DynamicDialog component.
|
|
|
|
*/
|
2022-09-06 12:03:37 +00:00
|
|
|
export interface DynamicDialogSlots {}
|
|
|
|
|
2023-03-01 10:18:44 +00:00
|
|
|
/**
|
|
|
|
* **PrimeVue - DynamicDialog**
|
|
|
|
*
|
|
|
|
* _DynamicDialogs can be created dynamically with any component as the content using a DialogService._
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/dynamicdialog/)
|
|
|
|
* --- ---
|
|
|
|
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
|
|
|
*
|
|
|
|
* @group Component
|
|
|
|
*/
|
2023-03-01 14:48:23 +00:00
|
|
|
declare class DynamicDialog extends ClassComponent<DynamicDialogProps, DynamicDialogSlots, DynamicDialogEmits> {}
|
2022-09-06 12:03:37 +00:00
|
|
|
|
2024-03-14 22:58:11 +00:00
|
|
|
declare module 'vue' {
|
|
|
|
export interface GlobalComponents {
|
2022-09-14 11:26:01 +00:00
|
|
|
DynamicDialog: GlobalComponentConstructor<DynamicDialog>;
|
2022-09-06 12:03:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default DynamicDialog;
|