@teammodlr/ui-kit 3.0.0-beta.9 → 3.0.1
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/cardcontextmenu/CardContextMenu.vue.d.ts +4 -2
- package/lib/components/checkbox/Checkbox.vue.d.ts +4 -4
- package/lib/components/clearbutton/ClearButton.vue.d.ts +9 -0
- package/lib/components/clearbutton/style/ClearButton.css.d.ts +2 -0
- package/lib/components/clearbutton/style/index.d.ts +1 -0
- package/lib/components/colorpicker/ColorPicker.vue.d.ts +6 -4
- package/lib/components/colorpicker/style/ColorPicker.css.d.ts +1 -0
- package/lib/components/dialog/Dialog.vue.d.ts +14 -6
- package/lib/components/dialog/style/Dialog.css.d.ts +2 -0
- package/lib/components/drawer/Drawer.vue.d.ts +146 -0
- package/lib/components/drawer/style/Drawer.css.d.ts +33 -0
- package/lib/components/drawer/style/index.d.ts +1 -0
- package/lib/components/dropdown/Dropdown.vue.d.ts +4 -2
- package/lib/components/form/Form.vue.d.ts +4 -2
- package/lib/components/hovercard/HoverCard.vue.d.ts +124 -0
- package/lib/components/hovercard/style/HoverCard.css.d.ts +3 -0
- package/lib/components/hovercard/style/index.d.ts +1 -0
- package/lib/components/index.d.ts +3 -0
- package/lib/components/input/Input.vue.d.ts +20 -5
- package/lib/components/input/style/Input.css.d.ts +4 -0
- package/lib/components/modal/Modal.vue.d.ts +11 -4
- package/lib/components/pagination/Pagination.vue.d.ts +6 -3
- package/lib/components/paneldialog/PanelDialog.vue.d.ts +175 -0
- package/lib/components/paneldialog/style/PanelDialog.css.d.ts +8 -0
- package/lib/components/paneldialog/style/index.d.ts +1 -0
- package/lib/components/popover/Popover.vue.d.ts +28 -2
- package/lib/components/radio/Radio.vue.d.ts +5 -5
- package/lib/components/radiobutton/RadioButton.vue.d.ts +4 -4
- package/lib/components/radiobuttongroup/RadioButtonGroup.vue.d.ts +4 -2
- package/lib/components/select/Select.vue.d.ts +94 -91
- package/lib/components/select/style/Select.css.d.ts +9 -1
- package/lib/components/slider/Slider.vue.d.ts +6 -3
- package/lib/components/switch/Switch.vue.d.ts +4 -4
- package/lib/components/tab/Tab.vue.d.ts +10 -2
- package/lib/components/tab/TabGroup.vue.d.ts +6 -3
- package/lib/components/table/Table.vue.d.ts +4 -2
- package/lib/components/textarea/Textarea.vue.d.ts +16 -5
- package/lib/components/textarea/style/Textarea.css.d.ts +2 -0
- package/lib/components/tree/Tree.vue.d.ts +6 -3
- package/lib/composables/useInput.d.ts +9 -2
- package/lib/index.cjs.js +3 -3
- package/lib/index.es.js +8526 -6393
- package/lib/style.css +1 -1
- package/lib/tsconfig.app.tsbuildinfo +1 -0
- package/lib/tsconfig.vitest.tsbuildinfo +1 -0
- package/package.json +7 -4
- package/src/components/cardcontextmenu/CardContextMenu.vue +3 -1
- package/src/components/cardcontextmenu/style/Dropdown.css.ts +7 -0
- package/src/components/clearbutton/ClearButton.vue +41 -0
- package/src/components/clearbutton/style/ClearButton.css.ts +37 -0
- package/src/components/clearbutton/style/index.ts +1 -0
- package/src/components/colorpicker/ColorPicker.vue +12 -12
- package/src/components/colorpicker/examples/basic.vue +8 -17
- package/src/components/colorpicker/style/ColorPicker.css.ts +6 -1
- package/src/components/dialog/Dialog.vue +12 -6
- package/src/components/dialog/style/Dialog.css.ts +30 -0
- package/src/components/drawer/Drawer.vue +280 -0
- package/src/components/drawer/examples/basic.vue +15 -0
- package/src/components/drawer/examples/custom-title.vue +21 -0
- package/src/components/drawer/examples/index.stories.ts +24 -0
- package/src/components/drawer/examples/index.ts +7 -0
- package/src/components/drawer/examples/no-mask.vue +15 -0
- package/src/components/drawer/examples/no-outside-close.vue +15 -0
- package/src/components/drawer/examples/placements.vue +28 -0
- package/src/components/drawer/examples/with-footer.vue +21 -0
- package/src/components/drawer/examples/with-trigger.vue +13 -0
- package/src/components/drawer/style/Drawer.css.ts +208 -0
- package/src/components/drawer/style/index.ts +1 -0
- package/src/components/dropdown/Dropdown.vue +4 -2
- package/src/components/form/Form.vue +3 -3
- package/src/components/hovercard/HoverCard.vue +165 -0
- package/src/components/hovercard/style/HoverCard.css.ts +175 -0
- package/src/components/hovercard/style/index.ts +1 -0
- package/src/components/index.ts +3 -0
- package/src/components/input/Input.vue +52 -4
- package/src/components/input/examples/clearable.vue +18 -0
- package/src/components/input/examples/index.stories.ts +3 -1
- package/src/components/input/examples/index.ts +1 -0
- package/src/components/input/style/Input.css.ts +19 -0
- package/src/components/messageprovider/MessageProvider.vue +33 -7
- package/src/components/modal/Modal.vue +28 -11
- package/src/components/pagination/Pagination.vue +4 -1
- package/src/components/paneldialog/PanelDialog.vue +509 -0
- package/src/components/paneldialog/examples/basic.vue +36 -0
- package/src/components/paneldialog/examples/index.stories.ts +22 -0
- package/src/components/paneldialog/examples/index.ts +2 -0
- package/src/components/paneldialog/examples/modal.vue +31 -0
- package/src/components/paneldialog/style/PanelDialog.css.ts +90 -0
- package/src/components/paneldialog/style/index.ts +1 -0
- package/src/components/popover/Popover.vue +9 -2
- package/src/components/radiobuttongroup/RadioButtonGroup.vue +3 -1
- package/src/components/select/Select.vue +211 -111
- package/src/components/select/examples/clearable.vue +18 -0
- package/src/components/select/examples/fill.vue +52 -0
- package/src/components/select/examples/index.stories.ts +4 -1
- package/src/components/select/examples/index.ts +3 -0
- package/src/components/select/examples/remote.vue +54 -0
- package/src/components/select/style/Select.css.ts +140 -24
- package/src/components/slider/Slider.vue +4 -1
- package/src/components/tab/Tab.vue +4 -2
- package/src/components/tab/TabGroup.vue +4 -4
- package/src/components/tab/style/Tab.css.ts +6 -0
- package/src/components/table/Table.vue +3 -3
- package/src/components/textarea/Textarea.vue +40 -4
- package/src/components/textarea/examples/clearable.vue +16 -0
- package/src/components/textarea/examples/index.stories.ts +2 -1
- package/src/components/textarea/examples/index.ts +1 -0
- package/src/components/textarea/style/Textarea.css.ts +10 -0
- package/src/components/tree/Tree.vue +4 -1
- package/src/composables/useInput.ts +10 -2
|
@@ -65,7 +65,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
65
65
|
leaveTo: string;
|
|
66
66
|
};
|
|
67
67
|
maxHeight: import("vue").Ref<string>;
|
|
68
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
68
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
69
|
+
'update:open': (_value: boolean) => true;
|
|
70
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
69
71
|
open: {
|
|
70
72
|
type: BooleanConstructor;
|
|
71
73
|
default: boolean;
|
|
@@ -110,7 +112,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
110
112
|
type: NumberConstructor;
|
|
111
113
|
};
|
|
112
114
|
}>> & {
|
|
113
|
-
"onUpdate:open"?: ((
|
|
115
|
+
"onUpdate:open"?: ((_value: boolean) => any) | undefined;
|
|
114
116
|
}, {
|
|
115
117
|
x: number;
|
|
116
118
|
y: number;
|
|
@@ -30,11 +30,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
type: PropType<any>;
|
|
31
31
|
default: undefined;
|
|
32
32
|
};
|
|
33
|
-
modelValue: PropType<string | number | boolean | object | any[] |
|
|
33
|
+
modelValue: PropType<string | number | boolean | object | any[] | null | undefined>;
|
|
34
34
|
name: StringConstructor;
|
|
35
35
|
readonly: BooleanConstructor;
|
|
36
36
|
required: BooleanConstructor;
|
|
37
|
-
error:
|
|
37
|
+
error: PropType<string | null | undefined>;
|
|
38
38
|
rules: {
|
|
39
39
|
readonly type: ArrayConstructor;
|
|
40
40
|
readonly default: () => never[];
|
|
@@ -92,11 +92,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
92
92
|
type: PropType<any>;
|
|
93
93
|
default: undefined;
|
|
94
94
|
};
|
|
95
|
-
modelValue: PropType<string | number | boolean | object | any[] |
|
|
95
|
+
modelValue: PropType<string | number | boolean | object | any[] | null | undefined>;
|
|
96
96
|
name: StringConstructor;
|
|
97
97
|
readonly: BooleanConstructor;
|
|
98
98
|
required: BooleanConstructor;
|
|
99
|
-
error:
|
|
99
|
+
error: PropType<string | null | undefined>;
|
|
100
100
|
rules: {
|
|
101
101
|
readonly type: ArrayConstructor;
|
|
102
102
|
readonly default: () => never[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as style from './style';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
3
|
+
style: typeof style;
|
|
4
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
clear: (_e: MouseEvent) => true;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
7
|
+
onClear?: ((_e: MouseEvent) => any) | undefined;
|
|
8
|
+
}, {}, {}>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ClearButton.css';
|
|
@@ -66,12 +66,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
66
|
transfer: import("vue").Ref<boolean>;
|
|
67
67
|
canPickColor: import("vue").ComputedRef<boolean>;
|
|
68
68
|
openEyeDropper: () => void;
|
|
69
|
-
handleOpenChange: (value: boolean) => void;
|
|
70
69
|
onSliderChangeComplete: () => void;
|
|
71
70
|
hexInputUser: import("vue").Ref<string>;
|
|
72
71
|
toggleInherit: () => void;
|
|
73
72
|
commitHexInput: () => void;
|
|
74
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
73
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
74
|
+
'update:modelValue': (_value: string) => true;
|
|
75
|
+
onColorChange: (_value: string) => true;
|
|
76
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
75
77
|
color: {
|
|
76
78
|
type: StringConstructor;
|
|
77
79
|
default: string;
|
|
@@ -101,8 +103,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
101
103
|
default: string;
|
|
102
104
|
};
|
|
103
105
|
}>> & {
|
|
104
|
-
"onUpdate:modelValue"?: ((
|
|
105
|
-
onOnColorChange?: ((
|
|
106
|
+
"onUpdate:modelValue"?: ((_value: string) => any) | undefined;
|
|
107
|
+
onOnColorChange?: ((_value: string) => any) | undefined;
|
|
106
108
|
}, {
|
|
107
109
|
color: string;
|
|
108
110
|
modelValue: string;
|
|
@@ -3,6 +3,7 @@ export declare const sliderThumb: string;
|
|
|
3
3
|
export declare const eyeDrop: string;
|
|
4
4
|
export declare const preview: string;
|
|
5
5
|
export declare const colours: string;
|
|
6
|
+
export declare const trigger: string;
|
|
6
7
|
export declare const reference: string;
|
|
7
8
|
export declare const transparent: string;
|
|
8
9
|
export declare const referenceColor: string;
|
|
@@ -72,7 +72,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
72
|
handleOpenAutoFocus: (event: Event) => void;
|
|
73
73
|
handleFocusOutside: (event: Event) => void;
|
|
74
74
|
isOpen: ComputedRef<boolean>;
|
|
75
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
75
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
76
|
+
onOpen: () => true;
|
|
77
|
+
onClose: () => true;
|
|
78
|
+
'update:open': (_value: boolean) => true;
|
|
79
|
+
open: () => true;
|
|
80
|
+
close: () => true;
|
|
81
|
+
'after-leave': () => true;
|
|
82
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
76
83
|
title: {
|
|
77
84
|
type: PropType<string | Ref<string>>;
|
|
78
85
|
default: string;
|
|
@@ -105,11 +112,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
105
112
|
default: boolean;
|
|
106
113
|
};
|
|
107
114
|
}>> & {
|
|
108
|
-
"onUpdate:open"?: ((
|
|
109
|
-
onClose?: ((
|
|
110
|
-
onOpen?: ((
|
|
111
|
-
|
|
112
|
-
|
|
115
|
+
"onUpdate:open"?: ((_value: boolean) => any) | undefined;
|
|
116
|
+
onClose?: (() => any) | undefined;
|
|
117
|
+
onOpen?: (() => any) | undefined;
|
|
118
|
+
"onAfter-leave"?: (() => any) | undefined;
|
|
119
|
+
onOnClose?: (() => any) | undefined;
|
|
120
|
+
onOnOpen?: (() => any) | undefined;
|
|
113
121
|
}, {
|
|
114
122
|
width: string | number;
|
|
115
123
|
open: boolean;
|
|
@@ -6,6 +6,8 @@ export declare const wrapper: string;
|
|
|
6
6
|
export declare const notModal: string;
|
|
7
7
|
export declare const dialog: string;
|
|
8
8
|
export declare const content: string;
|
|
9
|
+
export declare const dialogContent: string;
|
|
10
|
+
export declare const focusScope: string;
|
|
9
11
|
export declare const header: string;
|
|
10
12
|
export declare const draggable: string;
|
|
11
13
|
export declare const dragging: string;
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import type { CSSProperties, PropType } from 'vue';
|
|
2
|
+
import * as style from './style';
|
|
3
|
+
type Placement = 'left' | 'right' | 'top' | 'bottom';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
open: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
9
|
+
placement: {
|
|
10
|
+
type: PropType<Placement>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
width: {
|
|
14
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
height: {
|
|
18
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
title: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
showClose: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
showMask: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
outsideClose: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
focusTrap: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
zIndex: {
|
|
42
|
+
type: NumberConstructor;
|
|
43
|
+
};
|
|
44
|
+
}, {
|
|
45
|
+
style: typeof style;
|
|
46
|
+
fade: {
|
|
47
|
+
enterActive: string;
|
|
48
|
+
leaveActive: string;
|
|
49
|
+
enterFrom: string;
|
|
50
|
+
leaveTo: string;
|
|
51
|
+
};
|
|
52
|
+
isOpen: import("vue").WritableComputedRef<boolean>;
|
|
53
|
+
zIndex: import("vue").Ref<number>;
|
|
54
|
+
hasFooter: import("vue").ComputedRef<boolean>;
|
|
55
|
+
hasTitle: import("vue").ComputedRef<boolean>;
|
|
56
|
+
hasTrigger: import("vue").ComputedRef<boolean>;
|
|
57
|
+
bodyRef: import("vue").Ref<HTMLElement | null>;
|
|
58
|
+
contentStyle: import("vue").ComputedRef<CSSProperties>;
|
|
59
|
+
currentTransition: import("vue").ComputedRef<{
|
|
60
|
+
enterActive: string;
|
|
61
|
+
leaveActive: string;
|
|
62
|
+
enterFrom: string;
|
|
63
|
+
leaveTo: string;
|
|
64
|
+
} | {
|
|
65
|
+
enterActive: string;
|
|
66
|
+
leaveActive: string;
|
|
67
|
+
enterFrom: string;
|
|
68
|
+
leaveTo: string;
|
|
69
|
+
} | {
|
|
70
|
+
enterActive: string;
|
|
71
|
+
leaveActive: string;
|
|
72
|
+
enterFrom: string;
|
|
73
|
+
leaveTo: string;
|
|
74
|
+
} | {
|
|
75
|
+
enterActive: string;
|
|
76
|
+
leaveActive: string;
|
|
77
|
+
enterFrom: string;
|
|
78
|
+
leaveTo: string;
|
|
79
|
+
}>;
|
|
80
|
+
open: () => void;
|
|
81
|
+
close: (e: MouseEvent | KeyboardEvent | undefined) => void;
|
|
82
|
+
handleOpenAutoFocus: (e: Event) => void;
|
|
83
|
+
handleOpenChange: (value: boolean) => void;
|
|
84
|
+
onEscapeKeyDown: (e: KeyboardEvent) => void;
|
|
85
|
+
onPointerDownOutside: (e: Event) => void;
|
|
86
|
+
onInteractOutside: (e: Event) => void;
|
|
87
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
88
|
+
open: () => true;
|
|
89
|
+
close: (_e?: MouseEvent | KeyboardEvent) => true;
|
|
90
|
+
'update:open': (_value: boolean) => true;
|
|
91
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
92
|
+
open: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: undefined;
|
|
95
|
+
};
|
|
96
|
+
placement: {
|
|
97
|
+
type: PropType<Placement>;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
width: {
|
|
101
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
height: {
|
|
105
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
title: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
showClose: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
showMask: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
outsideClose: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
focusTrap: {
|
|
125
|
+
type: BooleanConstructor;
|
|
126
|
+
default: boolean;
|
|
127
|
+
};
|
|
128
|
+
zIndex: {
|
|
129
|
+
type: NumberConstructor;
|
|
130
|
+
};
|
|
131
|
+
}>> & {
|
|
132
|
+
"onUpdate:open"?: ((_value: boolean) => any) | undefined;
|
|
133
|
+
onClose?: ((_e?: MouseEvent | KeyboardEvent | undefined) => any) | undefined;
|
|
134
|
+
onOpen?: (() => any) | undefined;
|
|
135
|
+
}, {
|
|
136
|
+
height: string | number;
|
|
137
|
+
width: string | number;
|
|
138
|
+
open: boolean;
|
|
139
|
+
title: string;
|
|
140
|
+
placement: Placement;
|
|
141
|
+
outsideClose: boolean;
|
|
142
|
+
showClose: boolean;
|
|
143
|
+
focusTrap: boolean;
|
|
144
|
+
showMask: boolean;
|
|
145
|
+
}, {}>;
|
|
146
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare const mask: string;
|
|
2
|
+
export declare const placement: Record<"bottom" | "left" | "right" | "top", string>;
|
|
3
|
+
export declare const slideTransition: {
|
|
4
|
+
left: {
|
|
5
|
+
enterActive: string;
|
|
6
|
+
leaveActive: string;
|
|
7
|
+
enterFrom: string;
|
|
8
|
+
leaveTo: string;
|
|
9
|
+
};
|
|
10
|
+
right: {
|
|
11
|
+
enterActive: string;
|
|
12
|
+
leaveActive: string;
|
|
13
|
+
enterFrom: string;
|
|
14
|
+
leaveTo: string;
|
|
15
|
+
};
|
|
16
|
+
top: {
|
|
17
|
+
enterActive: string;
|
|
18
|
+
leaveActive: string;
|
|
19
|
+
enterFrom: string;
|
|
20
|
+
leaveTo: string;
|
|
21
|
+
};
|
|
22
|
+
bottom: {
|
|
23
|
+
enterActive: string;
|
|
24
|
+
leaveActive: string;
|
|
25
|
+
enterFrom: string;
|
|
26
|
+
leaveTo: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export declare const header: string;
|
|
30
|
+
export declare const title: string;
|
|
31
|
+
export declare const close: string;
|
|
32
|
+
export declare const body: string;
|
|
33
|
+
export declare const footer: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Drawer.css';
|
|
@@ -68,7 +68,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
68
|
enterFrom: string;
|
|
69
69
|
leaveTo: string;
|
|
70
70
|
};
|
|
71
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
71
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
72
|
+
'update:open': (_value: boolean) => true;
|
|
73
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
72
74
|
open: {
|
|
73
75
|
type: BooleanConstructor;
|
|
74
76
|
default: boolean;
|
|
@@ -117,7 +119,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
117
119
|
type: NumberConstructor;
|
|
118
120
|
};
|
|
119
121
|
}>> & {
|
|
120
|
-
"onUpdate:open"?: ((
|
|
122
|
+
"onUpdate:open"?: ((_value: boolean) => any) | undefined;
|
|
121
123
|
}, {
|
|
122
124
|
x: number;
|
|
123
125
|
y: number;
|
|
@@ -39,7 +39,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
[cssVarName: string]: string;
|
|
40
40
|
}>;
|
|
41
41
|
computedClasses: import("vue").ComputedRef<string[]>;
|
|
42
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
42
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
43
|
+
submit: (_valid: boolean) => true;
|
|
44
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
45
|
disabled: {
|
|
44
46
|
type: BooleanConstructor;
|
|
45
47
|
default: boolean;
|
|
@@ -64,7 +66,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
66
|
type: StringConstructor;
|
|
65
67
|
};
|
|
66
68
|
}>> & {
|
|
67
|
-
onSubmit?: ((
|
|
69
|
+
onSubmit?: ((_valid: boolean) => any) | undefined;
|
|
68
70
|
}, {
|
|
69
71
|
disabled: boolean;
|
|
70
72
|
loading: boolean;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type Placement } from '../../composables/usePopper';
|
|
3
|
+
import * as style from './style';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
open: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
placement: {
|
|
10
|
+
type: PropType<Placement>;
|
|
11
|
+
default: string;
|
|
12
|
+
validator: (value: Placement) => boolean;
|
|
13
|
+
};
|
|
14
|
+
transfer: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
sideOffset: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
collisionPadding: {
|
|
23
|
+
type: PropType<number | {
|
|
24
|
+
top?: number;
|
|
25
|
+
right?: number;
|
|
26
|
+
bottom?: number;
|
|
27
|
+
left?: number;
|
|
28
|
+
}>;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
arrow: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
variant: {
|
|
36
|
+
type: PropType<"light" | "dark">;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
openDelay: {
|
|
40
|
+
type: NumberConstructor;
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
43
|
+
closeDelay: {
|
|
44
|
+
type: NumberConstructor;
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
zIndex: {
|
|
48
|
+
type: NumberConstructor;
|
|
49
|
+
};
|
|
50
|
+
}, {
|
|
51
|
+
isOpen: import("vue").Ref<boolean>;
|
|
52
|
+
zIndex: import("vue").Ref<number>;
|
|
53
|
+
showArrow: import("vue").ComputedRef<boolean>;
|
|
54
|
+
contentClasses: import("vue").ComputedRef<unknown[]>;
|
|
55
|
+
resolvedSide: import("vue").ComputedRef<"bottom" | "left" | "right" | "top" | undefined>;
|
|
56
|
+
resolvedAlign: import("vue").ComputedRef<"center" | "end" | "start" | undefined>;
|
|
57
|
+
style: typeof style;
|
|
58
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
59
|
+
'update:open': (_value: boolean) => true;
|
|
60
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
61
|
+
open: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
placement: {
|
|
66
|
+
type: PropType<Placement>;
|
|
67
|
+
default: string;
|
|
68
|
+
validator: (value: Placement) => boolean;
|
|
69
|
+
};
|
|
70
|
+
transfer: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
sideOffset: {
|
|
75
|
+
type: NumberConstructor;
|
|
76
|
+
default: number;
|
|
77
|
+
};
|
|
78
|
+
collisionPadding: {
|
|
79
|
+
type: PropType<number | {
|
|
80
|
+
top?: number;
|
|
81
|
+
right?: number;
|
|
82
|
+
bottom?: number;
|
|
83
|
+
left?: number;
|
|
84
|
+
}>;
|
|
85
|
+
default: number;
|
|
86
|
+
};
|
|
87
|
+
arrow: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
variant: {
|
|
92
|
+
type: PropType<"light" | "dark">;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
openDelay: {
|
|
96
|
+
type: NumberConstructor;
|
|
97
|
+
default: number;
|
|
98
|
+
};
|
|
99
|
+
closeDelay: {
|
|
100
|
+
type: NumberConstructor;
|
|
101
|
+
default: number;
|
|
102
|
+
};
|
|
103
|
+
zIndex: {
|
|
104
|
+
type: NumberConstructor;
|
|
105
|
+
};
|
|
106
|
+
}>> & {
|
|
107
|
+
"onUpdate:open"?: ((_value: boolean) => any) | undefined;
|
|
108
|
+
}, {
|
|
109
|
+
open: boolean;
|
|
110
|
+
variant: "dark" | "light";
|
|
111
|
+
placement: Placement;
|
|
112
|
+
transfer: boolean;
|
|
113
|
+
arrow: boolean;
|
|
114
|
+
sideOffset: number;
|
|
115
|
+
collisionPadding: number | {
|
|
116
|
+
top?: number;
|
|
117
|
+
right?: number;
|
|
118
|
+
bottom?: number;
|
|
119
|
+
left?: number;
|
|
120
|
+
};
|
|
121
|
+
openDelay: number;
|
|
122
|
+
closeDelay: number;
|
|
123
|
+
}, {}>;
|
|
124
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './HoverCard.css';
|
|
@@ -51,6 +51,9 @@ export { default as MVirtualScroll } from './virtualscroll/VirtualScroll.vue';
|
|
|
51
51
|
export { default as MConfirm } from './confirm/Confirm.vue';
|
|
52
52
|
export { default as MConfirmProvider } from './confirm/ConfirmProvider.vue';
|
|
53
53
|
export { default as MDialog } from './dialog/Dialog.vue';
|
|
54
|
+
export { default as MPanelDialog } from './paneldialog/PanelDialog.vue';
|
|
54
55
|
export { default as MDialogProvider } from './dialogprovider/DialogProvider.vue';
|
|
56
|
+
export { default as MDrawer } from './drawer/Drawer.vue';
|
|
55
57
|
export { default as MTree } from './tree/Tree.vue';
|
|
56
58
|
export { default as MPopover } from './popover/Popover.vue';
|
|
59
|
+
export { default as MHoverCard } from './hovercard/HoverCard.vue';
|
|
@@ -39,10 +39,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
default: boolean;
|
|
40
40
|
};
|
|
41
41
|
error: {
|
|
42
|
-
type:
|
|
42
|
+
type: PropType<string | null>;
|
|
43
43
|
default: string;
|
|
44
44
|
};
|
|
45
|
-
|
|
45
|
+
clearable: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
modelValue: PropType<string | number | boolean | object | any[] | null | undefined>;
|
|
46
50
|
name: StringConstructor;
|
|
47
51
|
required: BooleanConstructor;
|
|
48
52
|
rules: {
|
|
@@ -73,6 +77,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
77
|
hasHelpMessage: import("vue").ComputedRef<boolean>;
|
|
74
78
|
inputError: import("vue").ComputedRef<any>;
|
|
75
79
|
style: typeof style;
|
|
80
|
+
showClear: import("vue").ComputedRef<boolean>;
|
|
81
|
+
clearClasses: import("vue").ComputedRef<(string | {
|
|
82
|
+
[x: string]: boolean;
|
|
83
|
+
})[]>;
|
|
84
|
+
currentValue: import("vue").ComputedRef<any>;
|
|
85
|
+
onNativeInput: (event: Event) => void;
|
|
76
86
|
onClear: () => void;
|
|
77
87
|
validate: (value: any) => boolean;
|
|
78
88
|
setError: (value: string) => void;
|
|
@@ -117,10 +127,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
117
127
|
default: boolean;
|
|
118
128
|
};
|
|
119
129
|
error: {
|
|
120
|
-
type:
|
|
130
|
+
type: PropType<string | null>;
|
|
121
131
|
default: string;
|
|
122
132
|
};
|
|
123
|
-
|
|
133
|
+
clearable: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
modelValue: PropType<string | number | boolean | object | any[] | null | undefined>;
|
|
124
138
|
name: StringConstructor;
|
|
125
139
|
required: BooleanConstructor;
|
|
126
140
|
rules: {
|
|
@@ -137,9 +151,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
137
151
|
readonly: boolean;
|
|
138
152
|
description: string;
|
|
139
153
|
required: boolean;
|
|
140
|
-
error: string;
|
|
154
|
+
error: string | null;
|
|
141
155
|
loading: boolean;
|
|
142
156
|
rules: unknown[];
|
|
143
157
|
placeholder: string;
|
|
158
|
+
clearable: boolean;
|
|
144
159
|
}, {}>;
|
|
145
160
|
export default _default;
|
|
@@ -23,5 +23,9 @@ export declare const leftIcon: string;
|
|
|
23
23
|
export declare const hasLeftIcon: string;
|
|
24
24
|
export declare const rightIcon: string;
|
|
25
25
|
export declare const hasRightIcon: string;
|
|
26
|
+
export declare const hasClear: string;
|
|
27
|
+
export declare const hasClearAndRightIcon: string;
|
|
28
|
+
export declare const clear: string;
|
|
29
|
+
export declare const clearWithRightIcon: string;
|
|
26
30
|
export declare const prefix: string;
|
|
27
31
|
export declare const suffix: string;
|
|
@@ -57,6 +57,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
57
|
onInteractOutside: (e: Event) => void;
|
|
58
58
|
handleOpenChange: (value: boolean) => void;
|
|
59
59
|
handleOpenAutoFocus: (event: Event) => void;
|
|
60
|
+
handleAfterLeave: () => void;
|
|
60
61
|
target: import("vue").Ref<any>;
|
|
61
62
|
bodyRef: import("vue").Ref<HTMLElement | null>;
|
|
62
63
|
style: typeof style;
|
|
@@ -91,7 +92,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
91
92
|
hasSidebar: import("vue").ComputedRef<boolean>;
|
|
92
93
|
hasFooter: import("vue").ComputedRef<boolean>;
|
|
93
94
|
nextZIndex: () => number;
|
|
94
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
95
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
96
|
+
open: () => true;
|
|
97
|
+
close: (_e?: MouseEvent | KeyboardEvent) => true;
|
|
98
|
+
'update:open': (_value: boolean) => true;
|
|
99
|
+
'after-leave': () => true;
|
|
100
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
95
101
|
open: {
|
|
96
102
|
type: BooleanConstructor;
|
|
97
103
|
default: undefined;
|
|
@@ -141,9 +147,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
141
147
|
default: boolean;
|
|
142
148
|
};
|
|
143
149
|
}>> & {
|
|
144
|
-
"onUpdate:open"?: ((
|
|
145
|
-
onClose?: ((
|
|
146
|
-
onOpen?: ((
|
|
150
|
+
"onUpdate:open"?: ((_value: boolean) => any) | undefined;
|
|
151
|
+
onClose?: ((_e?: MouseEvent | KeyboardEvent | undefined) => any) | undefined;
|
|
152
|
+
onOpen?: (() => any) | undefined;
|
|
153
|
+
"onAfter-leave"?: (() => any) | undefined;
|
|
147
154
|
}, {
|
|
148
155
|
width: string | number;
|
|
149
156
|
open: boolean;
|
|
@@ -44,7 +44,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
getKey: (item: any) => string;
|
|
45
45
|
handlePageChange: (page: number) => void;
|
|
46
46
|
style: typeof style;
|
|
47
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
47
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
48
|
+
'update:page': (_page: number) => true;
|
|
49
|
+
'update:pageSize': (_pageSize: number) => true;
|
|
50
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
51
|
page: {
|
|
49
52
|
type: NumberConstructor;
|
|
50
53
|
default: number;
|
|
@@ -72,8 +75,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
75
|
default: boolean;
|
|
73
76
|
};
|
|
74
77
|
}>> & {
|
|
75
|
-
"onUpdate:page"?: ((
|
|
76
|
-
"onUpdate:pageSize"?: ((
|
|
78
|
+
"onUpdate:page"?: ((_page: number) => any) | undefined;
|
|
79
|
+
"onUpdate:pageSize"?: ((_pageSize: number) => any) | undefined;
|
|
77
80
|
}, {
|
|
78
81
|
page: number;
|
|
79
82
|
loading: boolean;
|