@teammodlr/ui-kit 2.1.65 → 2.1.68
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/colorpicker/ColorPicker.vue.d.ts +10 -0
- package/lib/components/dialog/Dialog.vue.d.ts +36 -22
- package/lib/components/dialog/style/Dialog.css.d.ts +1 -0
- package/lib/components/slider/Slider.vue.d.ts +4 -6
- package/lib/index.cjs.js +6 -6
- package/lib/index.es.js +2630 -2548
- package/lib/style.css +1 -1
- package/package.json +76 -75
- package/src/components/colorpicker/ColorPicker.vue +72 -45
- package/src/components/colorpicker/examples/basic.vue +20 -9
- package/src/components/dialog/Dialog.vue +180 -118
- package/src/components/dialog/examples/basic.vue +8 -1
- package/src/components/dialog/style/Dialog.css.ts +60 -22
- package/src/components/slider/Slider.vue +111 -76
|
@@ -6,6 +6,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
type: StringConstructor;
|
|
7
7
|
default: string;
|
|
8
8
|
};
|
|
9
|
+
modelModifiers: {
|
|
10
|
+
type: ObjectConstructor;
|
|
11
|
+
default: () => {};
|
|
12
|
+
};
|
|
9
13
|
transfer: {
|
|
10
14
|
type: BooleanConstructor;
|
|
11
15
|
default: boolean;
|
|
@@ -61,11 +65,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
65
|
enterFrom: string;
|
|
62
66
|
leaveTo: string;
|
|
63
67
|
};
|
|
68
|
+
onSliderChangeComplete: () => void;
|
|
64
69
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
65
70
|
modelValue: {
|
|
66
71
|
type: StringConstructor;
|
|
67
72
|
default: string;
|
|
68
73
|
};
|
|
74
|
+
modelModifiers: {
|
|
75
|
+
type: ObjectConstructor;
|
|
76
|
+
default: () => {};
|
|
77
|
+
};
|
|
69
78
|
transfer: {
|
|
70
79
|
type: BooleanConstructor;
|
|
71
80
|
default: boolean;
|
|
@@ -87,6 +96,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
87
96
|
modelValue: string;
|
|
88
97
|
placement: Placement;
|
|
89
98
|
transfer: boolean;
|
|
99
|
+
modelModifiers: Record<string, any>;
|
|
90
100
|
defaultColor: string;
|
|
91
101
|
}, {}>;
|
|
92
102
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type CSSProperties } from "vue";
|
|
2
|
+
import type { ComputedRef } from "vue";
|
|
2
3
|
import * as style from "./style";
|
|
3
4
|
declare const _default: import("vue").DefineComponent<{
|
|
4
5
|
title: {
|
|
@@ -9,12 +10,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
10
|
type: BooleanConstructor;
|
|
10
11
|
default: boolean;
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
modal: {
|
|
13
14
|
type: BooleanConstructor;
|
|
14
15
|
default: boolean;
|
|
15
16
|
};
|
|
16
17
|
onClose: {
|
|
17
|
-
type:
|
|
18
|
+
type: FunctionConstructor;
|
|
18
19
|
default: () => void;
|
|
19
20
|
};
|
|
20
21
|
zIndex: {
|
|
@@ -24,14 +25,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
25
|
type: (NumberConstructor | StringConstructor)[];
|
|
25
26
|
default: string;
|
|
26
27
|
};
|
|
27
|
-
transformOrigin: {
|
|
28
|
-
type: PropType<"center" | "mouse">;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
28
|
focusTrap: {
|
|
32
29
|
type: BooleanConstructor;
|
|
33
30
|
default: boolean;
|
|
34
31
|
};
|
|
32
|
+
open: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
};
|
|
35
35
|
}, {
|
|
36
36
|
slots: Readonly<{
|
|
37
37
|
[name: string]: import("vue").Slot<any> | undefined;
|
|
@@ -40,15 +40,29 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
40
|
dialog: import("vue").Ref<HTMLElement | null>;
|
|
41
41
|
handle: import("vue").Ref<HTMLElement | null>;
|
|
42
42
|
zIndex: import("vue").Ref<number>;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
fade: {
|
|
44
|
+
enterActive: string;
|
|
45
|
+
leaveActive: string;
|
|
46
|
+
enterFrom: string;
|
|
47
|
+
leaveTo: string;
|
|
48
|
+
};
|
|
49
|
+
modalScale: {
|
|
50
|
+
enterActive: string;
|
|
51
|
+
leaveActive: string;
|
|
52
|
+
enterFrom: string;
|
|
53
|
+
leaveTo: string;
|
|
54
|
+
};
|
|
46
55
|
style: typeof style;
|
|
47
|
-
|
|
56
|
+
computedStyle: ComputedRef<CSSProperties>;
|
|
57
|
+
backdropClasses: ComputedRef<{
|
|
48
58
|
[x: string]: boolean;
|
|
49
59
|
}>;
|
|
50
|
-
|
|
51
|
-
|
|
60
|
+
wrapperClasses: ComputedRef<{
|
|
61
|
+
[x: string]: boolean;
|
|
62
|
+
}>;
|
|
63
|
+
close: () => void;
|
|
64
|
+
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<{
|
|
52
66
|
title: {
|
|
53
67
|
type: StringConstructor;
|
|
54
68
|
default: string;
|
|
@@ -57,12 +71,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
71
|
type: BooleanConstructor;
|
|
58
72
|
default: boolean;
|
|
59
73
|
};
|
|
60
|
-
|
|
74
|
+
modal: {
|
|
61
75
|
type: BooleanConstructor;
|
|
62
76
|
default: boolean;
|
|
63
77
|
};
|
|
64
78
|
onClose: {
|
|
65
|
-
type:
|
|
79
|
+
type: FunctionConstructor;
|
|
66
80
|
default: () => void;
|
|
67
81
|
};
|
|
68
82
|
zIndex: {
|
|
@@ -72,24 +86,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
86
|
type: (NumberConstructor | StringConstructor)[];
|
|
73
87
|
default: string;
|
|
74
88
|
};
|
|
75
|
-
transformOrigin: {
|
|
76
|
-
type: PropType<"center" | "mouse">;
|
|
77
|
-
default: string;
|
|
78
|
-
};
|
|
79
89
|
focusTrap: {
|
|
80
90
|
type: BooleanConstructor;
|
|
81
91
|
default: boolean;
|
|
82
92
|
};
|
|
93
|
+
open: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
};
|
|
83
96
|
}>> & {
|
|
97
|
+
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
84
98
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
85
99
|
onOnOpen?: ((...args: any[]) => any) | undefined;
|
|
86
100
|
}, {
|
|
87
|
-
transformOrigin: "center" | "mouse";
|
|
88
101
|
width: string | number;
|
|
102
|
+
open: boolean;
|
|
89
103
|
title: string;
|
|
104
|
+
modal: boolean;
|
|
105
|
+
onClose: Function;
|
|
90
106
|
draggable: boolean;
|
|
91
|
-
onClose: () => void;
|
|
92
|
-
backdrop: boolean;
|
|
93
107
|
focusTrap: boolean;
|
|
94
108
|
}, {}>;
|
|
95
109
|
export default _default;
|
|
@@ -3,6 +3,7 @@ export declare const root: string;
|
|
|
3
3
|
export declare const backdrop: string;
|
|
4
4
|
export declare const backdropColor: string;
|
|
5
5
|
export declare const wrapper: string;
|
|
6
|
+
export declare const notModal: string;
|
|
6
7
|
export declare const dialog: string;
|
|
7
8
|
export declare const content: string;
|
|
8
9
|
export declare const header: string;
|
|
@@ -9,13 +9,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
11
11
|
}, {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
pressed: import("vue").Ref<boolean>;
|
|
15
|
-
handleMouseDown: () => void;
|
|
16
|
-
slider: import("vue").Ref<HTMLElement | undefined>;
|
|
12
|
+
handleMouseDown: (event: MouseEvent | TouchEvent) => void;
|
|
13
|
+
slider: import("vue").Ref<HTMLElement | null>;
|
|
17
14
|
style: typeof style;
|
|
18
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
16
|
modelValue: {
|
|
20
17
|
type: NumberConstructor;
|
|
21
18
|
required: true;
|
|
@@ -25,6 +22,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
22
|
default: string;
|
|
26
23
|
};
|
|
27
24
|
}>> & {
|
|
25
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
28
26
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
29
27
|
}, {
|
|
30
28
|
background: string;
|