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
38
components/lib/dialogservice/DialogService.d.ts
vendored
Normal file
38
components/lib/dialogservice/DialogService.d.ts
vendored
Normal file
|
@ -0,0 +1,38 @@
|
|||
/**
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/dynamicdialog/)
|
||||
* @module dialogservice-usedialog
|
||||
*/
|
||||
import { Plugin } from 'vue';
|
||||
import { DynamicDialogInstance, DynamicDialogOptions } from '../dynamicdialogoptions';
|
||||
|
||||
declare const plugin: Plugin;
|
||||
export default plugin;
|
||||
|
||||
/**
|
||||
* Dynamic Dialog components methods.
|
||||
*
|
||||
* @group Model
|
||||
*
|
||||
*/
|
||||
export interface DialogServiceMethods {
|
||||
/**
|
||||
* Displays the dialog using the dynamic dialog object options.
|
||||
* @param {*} content - Dynamic component for content template
|
||||
* @param {DynamicDialogOptions} options - DynamicDialog Object
|
||||
* @return {@link DynamicDialogInstance}
|
||||
*/
|
||||
open(content: any, options?: DynamicDialogOptions): DynamicDialogInstance;
|
||||
}
|
||||
|
||||
declare module 'vue/types/vue' {
|
||||
interface Vue {
|
||||
$dialog: DialogServiceMethods;
|
||||
}
|
||||
}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface ComponentCustomProperties {
|
||||
$dialog: DialogServiceMethods;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue