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
|
|
|
|
*
|
|
|
|
*/
|
2024-05-16 10:50:43 +00:00
|
|
|
import { DefineComponent, EmitFn, GlobalComponentConstructor } from '../ts-helpers';
|
2022-09-06 12:03:37 +00:00
|
|
|
|
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
|
|
|
/**
|
2024-05-16 10:50:43 +00:00
|
|
|
* Defines valid slots in DynamicDialog component.
|
2023-03-01 10:18:44 +00:00
|
|
|
*/
|
2024-05-16 10:50:43 +00:00
|
|
|
export interface DynamicDialogSlots {}
|
2022-09-06 12:03:37 +00:00
|
|
|
|
2023-03-01 10:18:44 +00:00
|
|
|
/**
|
2024-05-16 10:50:43 +00:00
|
|
|
* Defines valid emits in DynamicDialog component.
|
2023-03-01 10:18:44 +00:00
|
|
|
*/
|
2024-05-16 14:05:43 +00:00
|
|
|
export interface DynamicDialogEmitsOptions {}
|
2024-05-16 10:50:43 +00:00
|
|
|
|
|
|
|
export declare type DynamicDialogEmits = EmitFn<DynamicDialogEmitsOptions>;
|
2022-09-06 12:03:37 +00:00
|
|
|
|
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
|
2024-05-16 10:50:43 +00:00
|
|
|
*
|
2023-03-01 10:18:44 +00:00
|
|
|
*/
|
2024-05-16 10:50:43 +00:00
|
|
|
declare const DynamicDialog: DefineComponent<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 {
|
2024-05-16 10:50:43 +00:00
|
|
|
DynamicDialog: GlobalComponentConstructor<DynamicDialogProps, DynamicDialogSlots, DynamicDialogEmits>;
|
2022-09-06 12:03:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default DynamicDialog;
|