primevue-mirror/components/lib/dynamicdialog/DynamicDialog.d.ts

56 lines
1.4 KiB
TypeScript
Raw Normal View History

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
*
*/
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
/**
* Defines valid slots in DynamicDialog component.
2023-03-01 10:18:44 +00:00
*/
export interface DynamicDialogSlots {}
2022-09-06 12:03:37 +00:00
2023-03-01 10:18:44 +00:00
/**
* Defines valid emits in DynamicDialog component.
2023-03-01 10:18:44 +00:00
*/
interface DynamicDialogEmitsOptions {}
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
*
2023-03-01 10:18:44 +00:00
*/
declare const DynamicDialog: DefineComponent<DynamicDialogProps, DynamicDialogSlots, DynamicDialogEmits>;
2022-09-06 12:03:37 +00:00
declare module 'vue' {
export interface GlobalComponents {
DynamicDialog: GlobalComponentConstructor<DynamicDialogProps, DynamicDialogSlots, DynamicDialogEmits>;
2022-09-06 12:03:37 +00:00
}
}
export default DynamicDialog;