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
40
components/lib/confirmationservice/ConfirmationService.d.ts
vendored
Normal file
40
components/lib/confirmationservice/ConfirmationService.d.ts
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
/**
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/confirmdialog/)
|
||||
*
|
||||
* @module confirmationservice-useconfirm
|
||||
*
|
||||
*/
|
||||
import { Plugin } from 'vue';
|
||||
import { ConfirmationOptions } from '../confirmationoptions';
|
||||
|
||||
declare const plugin: Plugin;
|
||||
export default plugin;
|
||||
|
||||
/**
|
||||
* Confirmation Service methods.
|
||||
* @group Model
|
||||
*/
|
||||
export interface ConfirmationServiceMethods {
|
||||
/**
|
||||
* Displays the dialog using the confirmation object options.
|
||||
* @param {ConfirmationOptions} options - Confirmation Object
|
||||
*/
|
||||
require(options: ConfirmationOptions): void;
|
||||
/**
|
||||
* Hides the dialog without invoking accept or reject callbacks.
|
||||
*/
|
||||
close(): void;
|
||||
}
|
||||
|
||||
declare module 'vue/types/vue' {
|
||||
interface Vue {
|
||||
$confirm: ConfirmationServiceMethods;
|
||||
}
|
||||
}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface ComponentCustomProperties {
|
||||
$confirm: ConfirmationServiceMethods;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue