@teammodlr/ui-kit 2.1.73 → 2.1.75
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/dialog/Dialog.vue.d.ts +5 -1
- package/lib/components/dialog/style/Dialog.css.d.ts +2 -0
- package/lib/components/dialogprovider/DialogProvider.vue.d.ts +11 -1
- package/lib/components/dialogprovider/types.d.ts +1 -0
- package/lib/index.cjs.js +9 -9
- package/lib/index.es.js +2480 -2443
- package/lib/style.css +1 -1
- package/package.json +11 -11
- package/src/components/button/style/Button.css.ts +695 -695
- package/src/components/dialog/Dialog.vue +56 -16
- package/src/components/dialog/style/Dialog.css.ts +147 -138
- package/src/components/dialogprovider/DialogProvider.vue +38 -6
- package/src/components/dialogprovider/examples/basic.vue +4 -1
- package/src/components/dialogprovider/types.ts +1 -0
|
@@ -52,6 +52,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
52
|
};
|
|
53
53
|
style: typeof style;
|
|
54
54
|
computedStyle: ComputedRef<CSSProperties>;
|
|
55
|
+
headerClasses: ComputedRef<{
|
|
56
|
+
[x: string]: boolean;
|
|
57
|
+
}>;
|
|
55
58
|
backdropClasses: ComputedRef<{
|
|
56
59
|
[x: string]: boolean;
|
|
57
60
|
}>;
|
|
@@ -62,7 +65,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
65
|
isOpen: Ref<boolean>;
|
|
63
66
|
close: () => void;
|
|
64
67
|
onEnter: () => void;
|
|
65
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:open" | "onClose" | "onOpen")[], "update:open" | "onClose" | "onOpen", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
68
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "update:open" | "onClose" | "onOpen")[], "open" | "update:open" | "onClose" | "onOpen", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
66
69
|
title: {
|
|
67
70
|
type: PropType<string | Ref<string>>;
|
|
68
71
|
default: string;
|
|
@@ -96,6 +99,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
99
|
};
|
|
97
100
|
}>> & {
|
|
98
101
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
102
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
99
103
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
100
104
|
onOnOpen?: ((...args: any[]) => any) | undefined;
|
|
101
105
|
}, {
|
|
@@ -7,6 +7,8 @@ export declare const notModal: string;
|
|
|
7
7
|
export declare const dialog: string;
|
|
8
8
|
export declare const content: string;
|
|
9
9
|
export declare const header: string;
|
|
10
|
+
export declare const draggable: string;
|
|
11
|
+
export declare const dragging: string;
|
|
10
12
|
export declare const footer: string;
|
|
11
13
|
export declare const title: string;
|
|
12
14
|
export declare const close: string;
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
-
import type { DialogReactive } from './types';
|
|
1
|
+
import type { DialogOptions, DialogReactive } from './types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
3
3
|
dialogMap: Record<string, DialogReactive>;
|
|
4
4
|
remove: (key: string) => void;
|
|
5
|
+
handleClose: (key: string) => void;
|
|
6
|
+
handleOpen: (key: string) => void;
|
|
5
7
|
setDialogRef: (key: string) => (el: any) => void;
|
|
8
|
+
filteredOptions: (options: DialogOptions) => {
|
|
9
|
+
title?: string | import("vue").Ref<string>;
|
|
10
|
+
onClose?: () => void;
|
|
11
|
+
onOpen?: () => void;
|
|
12
|
+
open?: boolean;
|
|
13
|
+
draggable?: boolean;
|
|
14
|
+
modal?: boolean;
|
|
15
|
+
};
|
|
6
16
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
7
17
|
export default _default;
|