@teammodlr/ui-kit 2.0.20 → 2.0.22
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/__storybook__/argTypes.d.ts +40 -40
- package/lib/__storybook__/createStory.d.ts +8 -8
- package/lib/__storybook__/index.d.ts +2 -2
- package/lib/components/avatar/Avatar.vue.d.ts +56 -56
- package/lib/components/avatar/style/Avatar.css.d.ts +9 -9
- package/lib/components/avatar/style/index.d.ts +1 -1
- package/lib/components/avatargroup/AvatarGroup.vue.d.ts +49 -49
- package/lib/components/avatargroup/style/AvatarGroup.css.d.ts +2 -2
- package/lib/components/avatargroup/style/index.d.ts +1 -1
- package/lib/components/avatargroup/symbol.d.ts +13 -13
- package/lib/components/badge/Badge.vue.d.ts +30 -30
- package/lib/components/badge/style/Badge.css.d.ts +4 -4
- package/lib/components/badge/style/index.d.ts +1 -1
- package/lib/components/breadcrumb/Breadcrumb.vue.d.ts +34 -34
- package/lib/components/breadcrumb/BreadcrumbItem.vue.d.ts +29 -29
- package/lib/components/breadcrumb/style/Breadcrumb.css.d.ts +4 -4
- package/lib/components/breadcrumb/style/index.d.ts +1 -1
- package/lib/components/breadcrumb/symbol.d.ts +13 -13
- package/lib/components/button/Button.vue.d.ts +141 -141
- package/lib/components/button/style/Button.css.d.ts +25 -25
- package/lib/components/button/style/index.d.ts +1 -1
- package/lib/components/buttongroup/ButtonGroup.vue.d.ts +18 -18
- package/lib/components/buttongroup/style/ButtonGroup.css.d.ts +2 -2
- package/lib/components/buttongroup/style/index.d.ts +1 -1
- package/lib/components/buttongroup/symbol.d.ts +6 -6
- package/lib/components/checkbox/Checkbox.vue.d.ts +94 -94
- package/lib/components/checkbox/style/Checkbox.css.d.ts +16 -16
- package/lib/components/checkbox/style/index.d.ts +1 -1
- package/lib/components/colorpicker/ColorPicker.vue.d.ts +77 -77
- package/lib/components/colorpicker/style/ColorPicker.css.d.ts +10 -10
- package/lib/components/colorpicker/style/index.d.ts +1 -1
- package/lib/components/colorpicker/utils.d.ts +16 -16
- package/lib/components/dropdown/Dropdown.vue.d.ts +122 -115
- package/lib/components/dropdown/DropdownItem.vue.d.ts +78 -78
- package/lib/components/dropdown/DropdownList.vue.d.ts +5 -5
- package/lib/components/dropdown/DropdownSeperator.vue.d.ts +4 -4
- package/lib/components/dropdown/DropdownWrapper.vue.d.ts +2 -2
- package/lib/components/dropdown/hooks.d.ts +2 -2
- package/lib/components/dropdown/style/Dropdown.css.d.ts +6 -6
- package/lib/components/dropdown/style/index.d.ts +1 -1
- package/lib/components/dropdown/symbol.d.ts +6 -6
- package/lib/components/form/Form.vue.d.ts +75 -75
- package/lib/components/form/style/Form.css.d.ts +4 -4
- package/lib/components/form/style/index.d.ts +2 -2
- package/lib/components/form/symbol.d.ts +9 -9
- package/lib/components/image/Image.vue.d.ts +50 -50
- package/lib/components/index.d.ts +40 -39
- package/lib/components/input/Input.vue.d.ts +142 -142
- package/lib/components/input/style/Input.css.d.ts +23 -23
- package/lib/components/input/style/index.d.ts +1 -1
- package/lib/components/link/Link.vue.d.ts +51 -51
- package/lib/components/messageprovider/Message.vue.d.ts +73 -73
- package/lib/components/messageprovider/MessageProvider.vue.d.ts +52 -52
- package/lib/components/messageprovider/style/Message.css.d.ts +12 -12
- package/lib/components/messageprovider/style/index.d.ts +1 -1
- package/lib/components/messageprovider/types.d.ts +29 -29
- package/lib/components/messageprovider/useMessage.d.ts +2 -2
- package/lib/components/modal/Modal.vue.d.ts +52 -52
- package/lib/components/modal/style/Modal.css.d.ts +21 -21
- package/lib/components/modal/style/index.d.ts +1 -1
- package/lib/components/pagination/Pagination.vue.d.ts +75 -75
- package/lib/components/pagination/style/Pagination.css.d.ts +10 -10
- package/lib/components/pagination/style/index.d.ts +1 -1
- package/lib/components/radio/Radio.vue.d.ts +85 -85
- package/lib/components/radio/style/Checkbox.css.d.ts +16 -16
- package/lib/components/radio/style/index.d.ts +1 -1
- package/lib/components/radiobutton/RadioButton.vue.d.ts +98 -98
- package/lib/components/radiobutton/style/RadioButton.css.d.ts +14 -14
- package/lib/components/radiobutton/style/index.d.ts +1 -1
- package/lib/components/radiobuttongroup/RadioButtonGroup.vue.d.ts +48 -48
- package/lib/components/radiobuttongroup/style/RadioButtonGroup.css.d.ts +3 -3
- package/lib/components/radiobuttongroup/style/index.d.ts +1 -1
- package/lib/components/radiobuttongroup/symbol.d.ts +9 -9
- package/lib/components/select/Select.vue.d.ts +194 -194
- package/lib/components/select/style/Select.css.d.ts +31 -31
- package/lib/components/select/style/index.d.ts +1 -1
- package/lib/components/skeleton/Skeleton.vue.d.ts +33 -33
- package/lib/components/skeleton/style/Skeleton.css.d.ts +8 -8
- package/lib/components/skeleton/style/index.d.ts +2 -2
- package/lib/components/slider/Slider.vue.d.ts +32 -32
- package/lib/components/slider/style/Slider.css.d.ts +4 -4
- package/lib/components/slider/style/index.d.ts +1 -1
- package/lib/components/tab/Tab.vue.d.ts +41 -41
- package/lib/components/tab/TabGroup.vue.d.ts +43 -43
- package/lib/components/table/Table.vue.d.ts +62 -62
- package/lib/components/table/TableBody.vue.d.ts +2 -2
- package/lib/components/table/TableCell.vue.d.ts +2 -2
- package/lib/components/table/TableHead.vue.d.ts +30 -30
- package/lib/components/table/TableHeadRow.vue.d.ts +2 -2
- package/lib/components/table/TableRow.vue.d.ts +2 -2
- package/lib/components/table/style/Table.css.d.ts +4 -4
- package/lib/components/table/style/index.d.ts +1 -1
- package/lib/components/table/types/index.d.ts +6 -6
- package/lib/components/tag/Tag.vue.d.ts +44 -44
- package/lib/components/tag/style/Tag.css.d.ts +11 -11
- package/lib/components/tag/style/index.d.ts +1 -1
- package/lib/components/textarea/TextArea.vue.d.ts +137 -0
- package/lib/components/textarea/style/TextArea.css.d.ts +19 -0
- package/lib/components/textarea/style/index.d.ts +1 -0
- package/lib/components/tooltip/Tooltip.vue.d.ts +71 -71
- package/lib/components/tooltip/style/Tooltip.css.d.ts +10 -10
- package/lib/components/tooltip/style/index.d.ts +1 -1
- package/lib/components/transfer/Transfer.vue.d.ts +67 -67
- package/lib/components/transfer/style/Transfer.css.d.ts +7 -7
- package/lib/components/transfer/style/index.d.ts +1 -1
- package/lib/components/virtualscroll/VirtualScroll.vue.d.ts +73 -73
- package/lib/components/virtualscroll/style/VirtualScroll.css.d.ts +1 -1
- package/lib/components/virtualscroll/style/index.d.ts +1 -1
- package/lib/composables/element.d.ts +2 -2
- package/lib/composables/index.d.ts +3 -3
- package/lib/composables/useCachedUid.d.ts +13 -13
- package/lib/composables/useEventListener.d.ts +1 -1
- package/lib/composables/useInput.d.ts +36 -36
- package/lib/composables/useInteractive.d.ts +15 -15
- package/lib/composables/useIsServer.d.ts +1 -1
- package/lib/composables/useMount.d.ts +13 -13
- package/lib/composables/usePopper.d.ts +31 -31
- package/lib/composables/useZIndex.d.ts +8 -8
- package/lib/create.d.ts +9 -9
- package/lib/index.cjs.js +4 -4
- package/lib/index.d.ts +5 -5
- package/lib/index.es.js +2271 -2108
- package/lib/install.d.ts +4 -4
- package/lib/style.css +1 -1
- package/lib/styles/theme.css.d.ts +167 -167
- package/lib/styles/typography.css.d.ts +22 -22
- package/lib/types/props.d.ts +3 -3
- package/package.json +1 -1
- package/src/components/avatargroup/AvatarGroup.vue +71 -71
- package/src/components/avatargroup/symbol.ts +16 -16
- package/src/components/breadcrumb/BreadcrumbItem.vue +72 -72
- package/src/components/breadcrumb/style/Breadcrumb.css.ts +39 -39
- package/src/components/breadcrumb/symbol.ts +16 -16
- package/src/components/button/Button.vue +203 -203
- package/src/components/buttongroup/ButtonGroup.vue +36 -36
- package/src/components/buttongroup/symbol.ts +7 -7
- package/src/components/colorpicker/ColorPicker.vue +2 -2
- package/src/components/dropdown/Dropdown.vue +10 -5
- package/src/components/dropdown/DropdownItem.vue +134 -134
- package/src/components/dropdown/DropdownSeperator.vue +22 -22
- package/src/components/dropdown/symbol.ts +7 -7
- package/src/components/form/style/Form.css.ts +22 -22
- package/src/components/form/style/index.ts +1 -1
- package/src/components/form/symbol.ts +10 -10
- package/src/components/index.ts +2 -1
- package/src/components/modal/examples/index.ts +2 -2
- package/src/components/pagination/Pagination.vue +229 -229
- package/src/components/pagination/examples/basic.vue +17 -17
- package/src/components/pagination/examples/index.stories.ts +14 -14
- package/src/components/pagination/style/Pagination.css.ts +87 -87
- package/src/components/pagination/style/index.ts +1 -1
- package/src/components/radiobutton/RadioButton.vue +131 -131
- package/src/components/radiobutton/style/RadioButton.css.ts +183 -183
- package/src/components/radiobutton/style/index.ts +1 -1
- package/src/components/radiobuttongroup/RadioButtonGroup.vue +74 -74
- package/src/components/radiobuttongroup/style/RadioButtonGroup.css.ts +36 -36
- package/src/components/radiobuttongroup/symbol.ts +10 -10
- package/src/components/skeleton/Skeleton.vue +55 -55
- package/src/components/skeleton/style/Skeleton.css.ts +56 -56
- package/src/components/skeleton/style/index.ts +1 -1
- package/src/components/table/style/Table.css.ts +80 -80
- package/src/components/textarea/TextArea.css +173 -0
- package/src/components/textarea/TextArea.vue +181 -0
- package/src/components/textarea/examples/basic.vue +8 -0
- package/src/components/textarea/examples/index.stories.ts +18 -0
- package/src/components/textarea/examples/index.ts +1 -0
- package/src/components/textarea/style/TextArea.css.ts +190 -0
- package/src/components/textarea/style/index.ts +1 -0
- package/src/components/tooltip/style/Tooltip.css.ts +91 -91
- package/src/components/tooltip/style/index.ts +1 -1
- package/src/components/transfer/Transfer.vue +143 -143
- package/src/components/transfer/examples/basic.vue +20 -20
- package/src/components/transfer/examples/index.stories.ts +15 -15
- package/src/components/transfer/examples/index.ts +1 -1
- package/src/components/transfer/style/Transfer.css.ts +67 -67
- package/src/components/transfer/style/index.ts +1 -1
- package/src/composables/index.ts +2 -2
- package/src/composables/useInteractive.ts +19 -19
- package/src/composables/useZIndex.ts +30 -30
- package/src/examples/cards/cards.stories.ts +9 -9
- package/src/examples/cards/sidebar.vue +262 -262
- package/src/styles/theme.css.ts +170 -170
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import type { PropType } from "vue";
|
|
2
|
+
import type { Size } from "../../types/props";
|
|
3
|
+
import * as style from './style';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
label: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
};
|
|
8
|
+
size: {
|
|
9
|
+
type: PropType<Size>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
placeholder: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
loading: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
readonly: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
disabled: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
description: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
block: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
error: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
height: {
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
default: number;
|
|
43
|
+
};
|
|
44
|
+
modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
45
|
+
name: StringConstructor;
|
|
46
|
+
required: BooleanConstructor;
|
|
47
|
+
rules: {
|
|
48
|
+
readonly type: ArrayConstructor;
|
|
49
|
+
readonly default: () => never[];
|
|
50
|
+
};
|
|
51
|
+
}, {
|
|
52
|
+
element: import("vue").Ref<HTMLInputElement | null>;
|
|
53
|
+
id: Readonly<import("vue").Ref<string>>;
|
|
54
|
+
disabled: import("vue").ComputedRef<any>;
|
|
55
|
+
loading: import("vue").ComputedRef<any>;
|
|
56
|
+
readonly: import("vue").ComputedRef<boolean>;
|
|
57
|
+
inputComputedClasses: import("vue").ComputedRef<(string | {
|
|
58
|
+
[x: string]: any;
|
|
59
|
+
})[]>;
|
|
60
|
+
wrapperComputedClasses: import("vue").ComputedRef<(string | {
|
|
61
|
+
[x: string]: boolean;
|
|
62
|
+
})[]>;
|
|
63
|
+
computedContainerClasses: import("vue").ComputedRef<{
|
|
64
|
+
[x: string]: boolean;
|
|
65
|
+
}[]>;
|
|
66
|
+
name: import("vue").Ref<string | undefined>;
|
|
67
|
+
inputError: import("vue").ComputedRef<any>;
|
|
68
|
+
style: typeof style;
|
|
69
|
+
onClear: () => void;
|
|
70
|
+
validate: (value: any) => boolean;
|
|
71
|
+
setError: (value: string) => void;
|
|
72
|
+
focus: () => void | undefined;
|
|
73
|
+
blur: () => void | undefined;
|
|
74
|
+
inputListeners: {};
|
|
75
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
76
|
+
label: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
};
|
|
79
|
+
size: {
|
|
80
|
+
type: PropType<Size>;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
placeholder: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
loading: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
readonly: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
disabled: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
description: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
block: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
default: boolean;
|
|
106
|
+
};
|
|
107
|
+
error: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
height: {
|
|
112
|
+
type: NumberConstructor;
|
|
113
|
+
default: number;
|
|
114
|
+
};
|
|
115
|
+
modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
116
|
+
name: StringConstructor;
|
|
117
|
+
required: BooleanConstructor;
|
|
118
|
+
rules: {
|
|
119
|
+
readonly type: ArrayConstructor;
|
|
120
|
+
readonly default: () => never[];
|
|
121
|
+
};
|
|
122
|
+
}>> & {
|
|
123
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
124
|
+
}, {
|
|
125
|
+
error: string;
|
|
126
|
+
required: boolean;
|
|
127
|
+
size: Size;
|
|
128
|
+
height: number;
|
|
129
|
+
block: boolean;
|
|
130
|
+
disabled: boolean;
|
|
131
|
+
loading: boolean;
|
|
132
|
+
readonly: boolean;
|
|
133
|
+
rules: unknown[];
|
|
134
|
+
placeholder: string;
|
|
135
|
+
description: string;
|
|
136
|
+
}>;
|
|
137
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const vars: {
|
|
2
|
+
height: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
3
|
+
radius: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
4
|
+
paddingX: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
5
|
+
paddingY: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
6
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
7
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9
|
+
cursor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10
|
+
};
|
|
11
|
+
export declare const wrapper: string;
|
|
12
|
+
export declare const base: string;
|
|
13
|
+
export declare const size: Record<"sm" | "md" | "lg" | "xs" | "xl", string>;
|
|
14
|
+
export declare const block: string;
|
|
15
|
+
export declare const disabled: string;
|
|
16
|
+
export declare const label: string;
|
|
17
|
+
export declare const description: string;
|
|
18
|
+
export declare const errorMessage: string;
|
|
19
|
+
export declare const error: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TextArea.css';
|
|
@@ -1,71 +1,71 @@
|
|
|
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
|
-
text: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
placement: {
|
|
10
|
-
type: PropType<Placement>;
|
|
11
|
-
default: string;
|
|
12
|
-
validator: (value: Placement) => boolean;
|
|
13
|
-
};
|
|
14
|
-
transitionName: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
reverse: {
|
|
19
|
-
type: BooleanConstructor;
|
|
20
|
-
default: boolean;
|
|
21
|
-
};
|
|
22
|
-
transfer: {
|
|
23
|
-
type: BooleanConstructor;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
zIndex: {
|
|
27
|
-
type: NumberConstructor;
|
|
28
|
-
};
|
|
29
|
-
}, {
|
|
30
|
-
reference: import("vue").Ref<HTMLElement | null>;
|
|
31
|
-
popper: import("vue").Ref<HTMLElement | null | undefined>;
|
|
32
|
-
transferTo: import("vue").Ref<String>;
|
|
33
|
-
isOpen: import("vue").Ref<boolean>;
|
|
34
|
-
computedClasses: import("vue").ComputedRef<(string | {
|
|
35
|
-
[x: string]: boolean;
|
|
36
|
-
})[]>;
|
|
37
|
-
zIndex: import("vue").Ref<number>;
|
|
38
|
-
style: typeof style;
|
|
39
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
-
text: {
|
|
41
|
-
type: StringConstructor;
|
|
42
|
-
default: string;
|
|
43
|
-
};
|
|
44
|
-
placement: {
|
|
45
|
-
type: PropType<Placement>;
|
|
46
|
-
default: string;
|
|
47
|
-
validator: (value: Placement) => boolean;
|
|
48
|
-
};
|
|
49
|
-
transitionName: {
|
|
50
|
-
type: StringConstructor;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
|
-
reverse: {
|
|
54
|
-
type: BooleanConstructor;
|
|
55
|
-
default: boolean;
|
|
56
|
-
};
|
|
57
|
-
transfer: {
|
|
58
|
-
type: BooleanConstructor;
|
|
59
|
-
default: boolean;
|
|
60
|
-
};
|
|
61
|
-
zIndex: {
|
|
62
|
-
type: NumberConstructor;
|
|
63
|
-
};
|
|
64
|
-
}>>, {
|
|
65
|
-
reverse: boolean;
|
|
66
|
-
text: string;
|
|
67
|
-
placement: Placement;
|
|
68
|
-
transfer: boolean;
|
|
69
|
-
transitionName: string;
|
|
70
|
-
}>;
|
|
71
|
-
export default _default;
|
|
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
|
+
text: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
placement: {
|
|
10
|
+
type: PropType<Placement>;
|
|
11
|
+
default: string;
|
|
12
|
+
validator: (value: Placement) => boolean;
|
|
13
|
+
};
|
|
14
|
+
transitionName: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
reverse: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
transfer: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
zIndex: {
|
|
27
|
+
type: NumberConstructor;
|
|
28
|
+
};
|
|
29
|
+
}, {
|
|
30
|
+
reference: import("vue").Ref<HTMLElement | null>;
|
|
31
|
+
popper: import("vue").Ref<HTMLElement | null | undefined>;
|
|
32
|
+
transferTo: import("vue").Ref<String>;
|
|
33
|
+
isOpen: import("vue").Ref<boolean>;
|
|
34
|
+
computedClasses: import("vue").ComputedRef<(string | {
|
|
35
|
+
[x: string]: boolean;
|
|
36
|
+
})[]>;
|
|
37
|
+
zIndex: import("vue").Ref<number>;
|
|
38
|
+
style: typeof style;
|
|
39
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
text: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
placement: {
|
|
45
|
+
type: PropType<Placement>;
|
|
46
|
+
default: string;
|
|
47
|
+
validator: (value: Placement) => boolean;
|
|
48
|
+
};
|
|
49
|
+
transitionName: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
reverse: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
transfer: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
zIndex: {
|
|
62
|
+
type: NumberConstructor;
|
|
63
|
+
};
|
|
64
|
+
}>>, {
|
|
65
|
+
reverse: boolean;
|
|
66
|
+
text: string;
|
|
67
|
+
placement: Placement;
|
|
68
|
+
transfer: boolean;
|
|
69
|
+
transitionName: string;
|
|
70
|
+
}>;
|
|
71
|
+
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export declare const vars: {
|
|
2
|
-
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
3
|
-
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
4
|
-
};
|
|
5
|
-
export declare const wrapper: string;
|
|
6
|
-
export declare const container: string;
|
|
7
|
-
export declare const tooltip: string;
|
|
8
|
-
export declare const reverse: string;
|
|
9
|
-
export declare const fadeEnter: string;
|
|
10
|
-
export declare const fadeLeave: string;
|
|
1
|
+
export declare const vars: {
|
|
2
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
3
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
4
|
+
};
|
|
5
|
+
export declare const wrapper: string;
|
|
6
|
+
export declare const container: string;
|
|
7
|
+
export declare const tooltip: string;
|
|
8
|
+
export declare const reverse: string;
|
|
9
|
+
export declare const fadeEnter: string;
|
|
10
|
+
export declare const fadeLeave: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Tooltip.css';
|
|
1
|
+
export * from './Tooltip.css';
|
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import * as style from "./style";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
options: {
|
|
4
|
-
type: ArrayConstructor;
|
|
5
|
-
default: () => never[];
|
|
6
|
-
};
|
|
7
|
-
optionKey: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
optionLabel: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
sourceTitle: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
targetTitle: {
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
modelValue: {
|
|
24
|
-
type: ArrayConstructor;
|
|
25
|
-
default: () => never[];
|
|
26
|
-
};
|
|
27
|
-
}, {
|
|
28
|
-
style: typeof style;
|
|
29
|
-
sourceData: import("vue").ComputedRef<unknown[]>;
|
|
30
|
-
targetData: import("vue").ComputedRef<unknown>;
|
|
31
|
-
wrapper: import("vue").Ref<HTMLElement | null>;
|
|
32
|
-
handleSourceClick: (option: any) => void;
|
|
33
|
-
handleTargetClick: (option: any) => void;
|
|
34
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
-
options: {
|
|
36
|
-
type: ArrayConstructor;
|
|
37
|
-
default: () => never[];
|
|
38
|
-
};
|
|
39
|
-
optionKey: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
optionLabel: {
|
|
44
|
-
type: StringConstructor;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
sourceTitle: {
|
|
48
|
-
type: StringConstructor;
|
|
49
|
-
default: string;
|
|
50
|
-
};
|
|
51
|
-
targetTitle: {
|
|
52
|
-
type: StringConstructor;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
modelValue: {
|
|
56
|
-
type: ArrayConstructor;
|
|
57
|
-
default: () => never[];
|
|
58
|
-
};
|
|
59
|
-
}>>, {
|
|
60
|
-
options: unknown[];
|
|
61
|
-
modelValue: unknown[];
|
|
62
|
-
optionKey: string;
|
|
63
|
-
optionLabel: string;
|
|
64
|
-
sourceTitle: string;
|
|
65
|
-
targetTitle: string;
|
|
66
|
-
}>;
|
|
67
|
-
export default _default;
|
|
1
|
+
import * as style from "./style";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
options: {
|
|
4
|
+
type: ArrayConstructor;
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
optionKey: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
optionLabel: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
sourceTitle: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
targetTitle: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
modelValue: {
|
|
24
|
+
type: ArrayConstructor;
|
|
25
|
+
default: () => never[];
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
style: typeof style;
|
|
29
|
+
sourceData: import("vue").ComputedRef<unknown[]>;
|
|
30
|
+
targetData: import("vue").ComputedRef<unknown>;
|
|
31
|
+
wrapper: import("vue").Ref<HTMLElement | null>;
|
|
32
|
+
handleSourceClick: (option: any) => void;
|
|
33
|
+
handleTargetClick: (option: any) => void;
|
|
34
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
options: {
|
|
36
|
+
type: ArrayConstructor;
|
|
37
|
+
default: () => never[];
|
|
38
|
+
};
|
|
39
|
+
optionKey: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
optionLabel: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
sourceTitle: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
targetTitle: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
modelValue: {
|
|
56
|
+
type: ArrayConstructor;
|
|
57
|
+
default: () => never[];
|
|
58
|
+
};
|
|
59
|
+
}>>, {
|
|
60
|
+
options: unknown[];
|
|
61
|
+
modelValue: unknown[];
|
|
62
|
+
optionKey: string;
|
|
63
|
+
optionLabel: string;
|
|
64
|
+
sourceTitle: string;
|
|
65
|
+
targetTitle: string;
|
|
66
|
+
}>;
|
|
67
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const vars: {};
|
|
2
|
-
export declare const wrapper: string;
|
|
3
|
-
export declare const list: string;
|
|
4
|
-
export declare const listHeader: string;
|
|
5
|
-
export declare const listBody: string;
|
|
6
|
-
export declare const listContainer: string;
|
|
7
|
-
export declare const transferItem: string;
|
|
1
|
+
export declare const vars: {};
|
|
2
|
+
export declare const wrapper: string;
|
|
3
|
+
export declare const list: string;
|
|
4
|
+
export declare const listHeader: string;
|
|
5
|
+
export declare const listBody: string;
|
|
6
|
+
export declare const listContainer: string;
|
|
7
|
+
export declare const transferItem: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Transfer.css';
|
|
1
|
+
export * from './Transfer.css';
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
import * as style from "./style";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
items: {
|
|
4
|
-
type: ArrayConstructor;
|
|
5
|
-
default: () => never[];
|
|
6
|
-
};
|
|
7
|
-
itemHeight: {
|
|
8
|
-
type: NumberConstructor;
|
|
9
|
-
default: number;
|
|
10
|
-
};
|
|
11
|
-
itemWidth: {
|
|
12
|
-
type: NumberConstructor;
|
|
13
|
-
default: number;
|
|
14
|
-
};
|
|
15
|
-
buffer: {
|
|
16
|
-
type: NumberConstructor;
|
|
17
|
-
default: number;
|
|
18
|
-
};
|
|
19
|
-
delay: {
|
|
20
|
-
type: NumberConstructor;
|
|
21
|
-
default: number;
|
|
22
|
-
};
|
|
23
|
-
}, {
|
|
24
|
-
contentWrapper: import("vue").Ref<any>;
|
|
25
|
-
scroller: import("vue").Ref<any>;
|
|
26
|
-
scrollerHeight: import("vue").Ref<number>;
|
|
27
|
-
scrollerWidth: import("vue").Ref<number>;
|
|
28
|
-
scrollTop: import("vue").Ref<number>;
|
|
29
|
-
scrollLeft: import("vue").Ref<number>;
|
|
30
|
-
totalHeight: import("vue").ComputedRef<number>;
|
|
31
|
-
totalWidth: import("vue").ComputedRef<number>;
|
|
32
|
-
startPosition: import("vue").ComputedRef<{
|
|
33
|
-
row: number;
|
|
34
|
-
col: number;
|
|
35
|
-
}>;
|
|
36
|
-
endPosition: import("vue").ComputedRef<{
|
|
37
|
-
row: number;
|
|
38
|
-
col: number;
|
|
39
|
-
}>;
|
|
40
|
-
renderedItems: import("vue").Ref<never[]>;
|
|
41
|
-
offsetX: import("vue").ComputedRef<number>;
|
|
42
|
-
offsetY: import("vue").ComputedRef<number>;
|
|
43
|
-
onScroll: () => void;
|
|
44
|
-
style: typeof style;
|
|
45
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
-
items: {
|
|
47
|
-
type: ArrayConstructor;
|
|
48
|
-
default: () => never[];
|
|
49
|
-
};
|
|
50
|
-
itemHeight: {
|
|
51
|
-
type: NumberConstructor;
|
|
52
|
-
default: number;
|
|
53
|
-
};
|
|
54
|
-
itemWidth: {
|
|
55
|
-
type: NumberConstructor;
|
|
56
|
-
default: number;
|
|
57
|
-
};
|
|
58
|
-
buffer: {
|
|
59
|
-
type: NumberConstructor;
|
|
60
|
-
default: number;
|
|
61
|
-
};
|
|
62
|
-
delay: {
|
|
63
|
-
type: NumberConstructor;
|
|
64
|
-
default: number;
|
|
65
|
-
};
|
|
66
|
-
}>>, {
|
|
67
|
-
items: unknown[];
|
|
68
|
-
itemHeight: number;
|
|
69
|
-
itemWidth: number;
|
|
70
|
-
buffer: number;
|
|
71
|
-
delay: number;
|
|
72
|
-
}>;
|
|
73
|
-
export default _default;
|
|
1
|
+
import * as style from "./style";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
items: {
|
|
4
|
+
type: ArrayConstructor;
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
itemHeight: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
itemWidth: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
buffer: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
delay: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
}, {
|
|
24
|
+
contentWrapper: import("vue").Ref<any>;
|
|
25
|
+
scroller: import("vue").Ref<any>;
|
|
26
|
+
scrollerHeight: import("vue").Ref<number>;
|
|
27
|
+
scrollerWidth: import("vue").Ref<number>;
|
|
28
|
+
scrollTop: import("vue").Ref<number>;
|
|
29
|
+
scrollLeft: import("vue").Ref<number>;
|
|
30
|
+
totalHeight: import("vue").ComputedRef<number>;
|
|
31
|
+
totalWidth: import("vue").ComputedRef<number>;
|
|
32
|
+
startPosition: import("vue").ComputedRef<{
|
|
33
|
+
row: number;
|
|
34
|
+
col: number;
|
|
35
|
+
}>;
|
|
36
|
+
endPosition: import("vue").ComputedRef<{
|
|
37
|
+
row: number;
|
|
38
|
+
col: number;
|
|
39
|
+
}>;
|
|
40
|
+
renderedItems: import("vue").Ref<never[]>;
|
|
41
|
+
offsetX: import("vue").ComputedRef<number>;
|
|
42
|
+
offsetY: import("vue").ComputedRef<number>;
|
|
43
|
+
onScroll: () => void;
|
|
44
|
+
style: typeof style;
|
|
45
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
+
items: {
|
|
47
|
+
type: ArrayConstructor;
|
|
48
|
+
default: () => never[];
|
|
49
|
+
};
|
|
50
|
+
itemHeight: {
|
|
51
|
+
type: NumberConstructor;
|
|
52
|
+
default: number;
|
|
53
|
+
};
|
|
54
|
+
itemWidth: {
|
|
55
|
+
type: NumberConstructor;
|
|
56
|
+
default: number;
|
|
57
|
+
};
|
|
58
|
+
buffer: {
|
|
59
|
+
type: NumberConstructor;
|
|
60
|
+
default: number;
|
|
61
|
+
};
|
|
62
|
+
delay: {
|
|
63
|
+
type: NumberConstructor;
|
|
64
|
+
default: number;
|
|
65
|
+
};
|
|
66
|
+
}>>, {
|
|
67
|
+
items: unknown[];
|
|
68
|
+
itemHeight: number;
|
|
69
|
+
itemWidth: number;
|
|
70
|
+
buffer: number;
|
|
71
|
+
delay: number;
|
|
72
|
+
}>;
|
|
73
|
+
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const container: string;
|
|
1
|
+
export declare const container: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './VirtualScroll.css';
|
|
1
|
+
export * from './VirtualScroll.css';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Ref } from "vue";
|
|
2
|
-
export declare function getElement(ref: Ref): any;
|
|
1
|
+
import type { Ref } from "vue";
|
|
2
|
+
export declare function getElement(ref: Ref): any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { useMessage } from '../components/messageprovider/useMessage';
|
|
2
|
-
export { usePopper } from './usePopper';
|
|
3
|
-
export { useZIndex } from './useZIndex';
|
|
1
|
+
export { useMessage } from '../components/messageprovider/useMessage';
|
|
2
|
+
export { usePopper } from './usePopper';
|
|
3
|
+
export { useZIndex } from './useZIndex';
|