rtcpts 0.0.56 → 0.0.58
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.
- package/dist/components/j-q-confirm-dialog/index.d.ts +16 -11
- package/dist/rtcpt-styles.css +1 -1
- package/dist/rtcpt.cjs.js +1 -1
- package/dist/rtcpt.es.js +626 -624
- package/package.json +1 -1
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { QVueGlobals } from 'quasar';
|
|
2
|
+
import { JQConfirmDialogShowParams, IJQConfirmDialog } from './types';
|
|
3
|
+
export type { JQConfirmDialogShowParams, IJQConfirmDialog } from './types';
|
|
4
|
+
declare class GlobalConfirm implements IJQConfirmDialog {
|
|
5
|
+
/**
|
|
6
|
+
* 设置 Quasar 实例(在 rtcptInit 中调用)
|
|
7
|
+
*/
|
|
8
|
+
setQuasarInstance(instance: QVueGlobals): void;
|
|
9
|
+
/**
|
|
10
|
+
* 弹出自定义确认对话框,返回一个 Promise,resolve(true) 表示确定,resolve(false) 表示取消/关闭。
|
|
11
|
+
*/
|
|
12
|
+
show({ title, color, content, confirmButtonText, cancelButtonText, showCancelButton, isDelete, icon, showClose }: JQConfirmDialogShowParams): Promise<boolean>;
|
|
13
|
+
}
|
|
14
|
+
declare const globalConfirm: GlobalConfirm;
|
|
15
|
+
export default globalConfirm;
|
|
16
|
+
tent: {
|
|
12
17
|
type: StringConstructor;
|
|
13
18
|
default: string;
|
|
14
19
|
};
|