mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #3802 - Improve folder structure for nuxt configurations
This commit is contained in:
parent
851950270b
commit
f5fe822afb
563 changed files with 1703 additions and 1095 deletions
93
components/lib/dynamicdialogoptions/DynamicDialogOptions.d.ts
vendored
Normal file
93
components/lib/dynamicdialogoptions/DynamicDialogOptions.d.ts
vendored
Normal file
|
@ -0,0 +1,93 @@
|
|||
/**
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/dynamicdialog/)
|
||||
*
|
||||
* @module dynamicdialogoptions
|
||||
*
|
||||
*/
|
||||
import { DialogProps } from '../dialog';
|
||||
|
||||
/**
|
||||
* Custom dialog templates.
|
||||
*
|
||||
* @group Interfaces
|
||||
*/
|
||||
export interface DynamicDialogTemplates {
|
||||
/**
|
||||
* Custom header template.
|
||||
*/
|
||||
header?: any;
|
||||
/**
|
||||
* Custom footer template.
|
||||
*/
|
||||
footer?: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* Dynamic Dialog close method options.
|
||||
*
|
||||
* @group Interfaces
|
||||
*/
|
||||
export interface DynamicDialogCloseOptions {
|
||||
/**
|
||||
* Custom data object
|
||||
*/
|
||||
data?: any;
|
||||
/**
|
||||
* Close type
|
||||
*/
|
||||
type: 'config-close' | 'dialog-close' | undefined;
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom Dynamic Dialog options.
|
||||
*
|
||||
* @group Interfaces
|
||||
*/
|
||||
export interface DynamicDialogOptions {
|
||||
/**
|
||||
* Dialog Props
|
||||
*/
|
||||
props?: DialogProps;
|
||||
/**
|
||||
* Dialog Slots
|
||||
*/
|
||||
templates?: DynamicDialogTemplates;
|
||||
/**
|
||||
* Custom data object
|
||||
*/
|
||||
data?: any;
|
||||
/**
|
||||
* Closes the dialog.
|
||||
*/
|
||||
onClose?(options?: DynamicDialogCloseOptions): void;
|
||||
/**
|
||||
* Optional
|
||||
*/
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom Dynamic Dialog options.
|
||||
*
|
||||
* @group Interfaces
|
||||
*/
|
||||
export interface DynamicDialogInstance {
|
||||
/**
|
||||
* Dynamic component for content template
|
||||
*/
|
||||
content: any;
|
||||
/**
|
||||
* Instance options
|
||||
*/
|
||||
options: DynamicDialogOptions;
|
||||
/**
|
||||
* Custom data object
|
||||
*/
|
||||
data: any;
|
||||
/**
|
||||
* Closes the dialog.
|
||||
* @param {*} params - Parameters sent by the user to the root instance
|
||||
*/
|
||||
close: (params?: any) => void;
|
||||
}
|
3
components/lib/dynamicdialogoptions/package.json
Normal file
3
components/lib/dynamicdialogoptions/package.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"types": "./DynamicDialogOptions.d.ts"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue