@teammodlr/ui-kit 2.3.16 → 2.3.18
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/lib/components/confirm/Confirm.vue.d.ts +11 -0
- package/lib/components/confirm/props.d.ts +4 -0
- package/lib/components/dialogprovider/types.d.ts +3 -0
- package/lib/index.cjs.js +5 -5
- package/lib/index.es.js +743 -726
- package/package.json +1 -1
- package/src/components/confirm/Confirm.vue +18 -9
- package/src/components/confirm/props.ts +4 -0
- package/src/components/dialogprovider/DialogProvider.vue +18 -1
- package/src/components/dialogprovider/types.ts +3 -0
|
@@ -16,8 +16,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
readonly type: import("vue").PropType<import("../../types/props").Variant>;
|
|
17
17
|
readonly default: "primary";
|
|
18
18
|
};
|
|
19
|
+
readonly focusAction: {
|
|
20
|
+
readonly type: BooleanConstructor;
|
|
21
|
+
readonly default: false;
|
|
22
|
+
};
|
|
19
23
|
}, {
|
|
20
24
|
modal: import("vue").Ref<any>;
|
|
25
|
+
actionButton: import("vue").Ref<any>;
|
|
26
|
+
cancelButton: import("vue").Ref<any>;
|
|
21
27
|
handleOk: (event: MouseEvent) => Promise<void>;
|
|
22
28
|
handleCancel: (event: MouseEvent) => Promise<void>;
|
|
23
29
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -38,9 +44,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
44
|
readonly type: import("vue").PropType<import("../../types/props").Variant>;
|
|
39
45
|
readonly default: "primary";
|
|
40
46
|
};
|
|
47
|
+
readonly focusAction: {
|
|
48
|
+
readonly type: BooleanConstructor;
|
|
49
|
+
readonly default: false;
|
|
50
|
+
};
|
|
41
51
|
}>>, {
|
|
42
52
|
readonly loading: boolean;
|
|
43
53
|
readonly closable: boolean;
|
|
44
54
|
readonly okVariant: import("../../types/props").Variant;
|
|
55
|
+
readonly focusAction: boolean;
|
|
45
56
|
}, {}>;
|
|
46
57
|
export default _default;
|
|
@@ -18,5 +18,9 @@ export declare const confirmProps: {
|
|
|
18
18
|
readonly type: PropType<Variant>;
|
|
19
19
|
readonly default: "primary";
|
|
20
20
|
};
|
|
21
|
+
readonly focusAction: {
|
|
22
|
+
readonly type: BooleanConstructor;
|
|
23
|
+
readonly default: false;
|
|
24
|
+
};
|
|
21
25
|
};
|
|
22
26
|
export type ConfirmProps = ExtractPropTypes<typeof confirmProps>;
|
|
@@ -21,4 +21,7 @@ export interface DialogReactive {
|
|
|
21
21
|
export interface DialogApiInjection {
|
|
22
22
|
create: (key: string, options?: DialogOptions) => DialogReactive;
|
|
23
23
|
remove: (key: string) => void;
|
|
24
|
+
hasOpenDialog: () => boolean;
|
|
25
|
+
openDialogCount: () => number;
|
|
26
|
+
openDialogKeys: () => string[];
|
|
24
27
|
}
|