@vanjana/vue-ui 0.1.99 → 0.1.103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Component } from 'vue';
|
|
1
|
+
import { type App, type Component } from 'vue';
|
|
2
2
|
export interface DialogOptions {
|
|
3
3
|
title?: string;
|
|
4
4
|
message?: string;
|
|
@@ -20,6 +20,8 @@ export interface ConfirmOptions {
|
|
|
20
20
|
declare class DialogService {
|
|
21
21
|
private containerElement;
|
|
22
22
|
private apps;
|
|
23
|
+
private mainApp;
|
|
24
|
+
init(app: App): void;
|
|
23
25
|
private ensureContainer;
|
|
24
26
|
open(options: DialogOptions): Promise<boolean>;
|
|
25
27
|
confirm(options: ConfirmOptions): Promise<boolean>;
|