lew-ui 2.1.4 → 2.1.5
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/dist/components/alert/__test__/alert.test.d.ts +1 -0
- package/dist/components/alert/index.d.ts +2 -0
- package/dist/components/alert/src/LewAlert.vue.d.ts +22 -0
- package/dist/components/alert/src/props.d.ts +16 -0
- package/dist/components/avatar/index.d.ts +2 -0
- package/dist/components/avatar/src/LewAvatar.vue.d.ts +93 -0
- package/dist/components/avatar/src/props.d.ts +48 -0
- package/dist/components/backtop/index.d.ts +2 -0
- package/dist/components/backtop/src/LewBackTop.vue.d.ts +60 -0
- package/dist/components/backtop/src/props.d.ts +25 -0
- package/dist/components/badge/index.d.ts +2 -0
- package/dist/components/badge/src/LewBadge.vue.d.ts +34 -0
- package/dist/components/badge/src/props.d.ts +17 -0
- package/dist/components/breadcrumb/index.d.ts +2 -0
- package/dist/components/breadcrumb/src/LewBreadcrumb.vue.d.ts +27 -0
- package/dist/components/breadcrumb/src/props.d.ts +21 -0
- package/dist/components/button/__test__/button.test.d.ts +1 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/button/src/LewButton.vue.d.ts +126 -0
- package/dist/components/button/src/props.d.ts +58 -0
- package/dist/components/cascader/index.d.ts +2 -0
- package/dist/components/cascader/src/LewCascader.vue.d.ts +148 -0
- package/dist/components/cascader/src/props.d.ts +80 -0
- package/dist/components/checkbox/index.d.ts +3 -0
- package/dist/components/checkbox/src/LewCheckbox.vue.d.ts +110 -0
- package/dist/components/checkbox/src/LewCheckboxGroup.vue.d.ts +8 -0
- package/dist/components/checkbox/src/props.d.ts +116 -0
- package/dist/components/date-picker/index.d.ts +5 -0
- package/dist/components/date-picker/src/LewDate.vue.d.ts +12 -0
- package/dist/components/date-picker/src/LewDatePicker.vue.d.ts +71 -0
- package/dist/components/date-picker/src/LewDateRange.vue.d.ts +35 -0
- package/dist/components/date-picker/src/LewDateRangePicker.vue.d.ts +104 -0
- package/dist/components/date-picker/src/date.d.ts +9 -0
- package/dist/components/date-picker/src/props.d.ts +101 -0
- package/dist/components/drawer/index.d.ts +2 -0
- package/dist/components/drawer/src/LewDrawer.vue.d.ts +60 -0
- package/dist/components/drawer/src/props.d.ts +27 -0
- package/dist/components/dropdown/index.d.ts +2 -0
- package/dist/components/dropdown/src/LewDropdown.vue.d.ts +87 -0
- package/dist/components/dropdown/src/props.d.ts +39 -0
- package/dist/components/empty/index.d.ts +2 -0
- package/dist/components/empty/src/LewEmpty.vue.d.ts +51 -0
- package/dist/components/empty/src/props.d.ts +28 -0
- package/dist/components/flex/index.d.ts +2 -0
- package/dist/components/flex/src/LewFlex.vue.d.ts +95 -0
- package/dist/components/flex/src/props.d.ts +43 -0
- package/dist/components/form/index.d.ts +2 -0
- package/dist/components/form/src/LewForm.vue.d.ts +56 -0
- package/dist/components/form/src/props.d.ts +37 -0
- package/dist/components/icon/index.d.ts +3 -0
- package/dist/components/index.d.ts +37 -0
- package/dist/components/input/index.d.ts +2 -0
- package/dist/components/input/src/LewInput.vue.d.ts +275 -0
- package/dist/components/input/src/props.d.ts +134 -0
- package/dist/components/input-tag/index.d.ts +2 -0
- package/dist/components/input-tag/src/LewInputTag.vue.d.ts +12 -0
- package/dist/components/input-tag/src/props.d.ts +10 -0
- package/dist/components/magic-number/index.d.ts +2 -0
- package/dist/components/magic-number/src/LewMagicNumber.vue.d.ts +38 -0
- package/dist/components/magic-number/src/props.d.ts +20 -0
- package/dist/components/mark/index.d.ts +2 -0
- package/dist/components/mark/src/LewMark.vue.d.ts +58 -0
- package/dist/components/mark/src/props.d.ts +28 -0
- package/dist/components/menu/index.d.ts +2 -0
- package/dist/components/menu/src/LewMenu.vue.d.ts +35 -0
- package/dist/components/menu/src/props.d.ts +26 -0
- package/dist/components/modal/index.d.ts +2 -0
- package/dist/components/modal/src/LewModal.vue.d.ts +161 -0
- package/dist/components/modal/src/props.d.ts +65 -0
- package/dist/components/pagination/index.d.ts +2 -0
- package/dist/components/pagination/src/LewPagination.vue.d.ts +42 -0
- package/dist/components/pagination/src/props.d.ts +39 -0
- package/dist/components/popok/index.d.ts +2 -0
- package/dist/components/popok/src/LewPopok.vue.d.ts +146 -0
- package/dist/components/popok/src/props.d.ts +52 -0
- package/dist/components/popover/index.d.ts +2 -0
- package/dist/components/popover/src/LewPopover.vue.d.ts +118 -0
- package/dist/components/popover/src/props.d.ts +47 -0
- package/dist/components/radio/index.d.ts +2 -0
- package/dist/components/radio/src/LewRadio.vue.d.ts +97 -0
- package/dist/components/radio/src/LewRadioGroup.vue.d.ts +90 -0
- package/dist/components/radio/src/props.d.ts +96 -0
- package/dist/components/result/index.d.ts +2 -0
- package/dist/components/result/src/LewResult.vue.d.ts +45 -0
- package/dist/components/result/src/props.d.ts +17 -0
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/src/LewSelect.vue.d.ts +186 -0
- package/dist/components/select/src/props.d.ts +90 -0
- package/dist/components/select-multiple/index.d.ts +2 -0
- package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +212 -0
- package/dist/components/select-multiple/src/props.d.ts +100 -0
- package/dist/components/steps/index.d.ts +2 -0
- package/dist/components/steps/src/props.d.ts +39 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/switch/src/LewSwitch.vue.d.ts +57 -0
- package/dist/components/switch/src/props.d.ts +34 -0
- package/dist/components/table/index.d.ts +2 -0
- package/dist/components/table/src/LewTable.vue.d.ts +88 -0
- package/dist/components/table/src/props.d.ts +43 -0
- package/dist/components/tabs/index.d.ts +2 -0
- package/dist/components/tabs/src/LewTabs.vue.d.ts +85 -0
- package/dist/components/tabs/src/props.d.ts +49 -0
- package/dist/components/tag/index.d.ts +2 -0
- package/dist/components/tag/src/LewTag.vue.d.ts +84 -0
- package/dist/components/tag/src/props.d.ts +39 -0
- package/dist/components/text-trim/index.d.ts +2 -0
- package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +82 -0
- package/dist/components/text-trim/src/props.d.ts +40 -0
- package/dist/components/textarea/index.d.ts +2 -0
- package/dist/components/textarea/src/LewTextarea.vue.d.ts +159 -0
- package/dist/components/textarea/src/props.d.ts +72 -0
- package/dist/components/title/index.d.ts +2 -0
- package/dist/components/title/src/LewTitle.vue.d.ts +45 -0
- package/dist/components/title/src/props.d.ts +23 -0
- package/dist/components/tree/index.d.ts +2 -0
- package/dist/components/tree/src/LewTree.vue.d.ts +189 -0
- package/dist/components/tree/src/props.d.ts +99 -0
- package/dist/components/tree/src/tree2list.d.ts +25 -0
- package/dist/components/tree-select/index.d.ts +2 -0
- package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +263 -0
- package/dist/components/tree-select/src/props.d.ts +136 -0
- package/dist/directives/backtop/index.d.ts +1 -0
- package/dist/directives/backtop/src/index.d.ts +6 -0
- package/dist/directives/dialog/index.d.ts +2 -0
- package/dist/directives/dialog/src/LewDialog.vue.d.ts +118 -0
- package/dist/directives/dialog/src/index.d.ts +20 -0
- package/dist/directives/dialog/src/props.d.ts +50 -0
- package/dist/directives/index.d.ts +6 -0
- package/dist/directives/loading/index.d.ts +1 -0
- package/dist/directives/loading/src/index.d.ts +6 -0
- package/dist/directives/message/index.d.ts +1 -0
- package/dist/directives/message/src/index.d.ts +3 -0
- package/dist/directives/notification/index.d.ts +2 -0
- package/dist/directives/notification/src/index.d.ts +17 -0
- package/dist/directives/tooltip/index.d.ts +1 -0
- package/dist/directives/tooltip/src/index.d.ts +6 -0
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/src/useDOMCreate.d.ts +1 -0
- package/dist/hooks/src/useEventListener.d.ts +1 -0
- package/dist/hooks/src/useLewTo.d.ts +3 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.mjs +3154 -7012
- package/dist/index.umd.js +243 -251
- package/dist/style.css +1 -1
- package/dist/utils/index.d.ts +12 -0
- package/package.json +7 -5
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export * from './flex';
|
|
2
|
+
export * from './mark';
|
|
3
|
+
export * from './icon';
|
|
4
|
+
export * from './cascader';
|
|
5
|
+
export * from './tree';
|
|
6
|
+
export * from './tree-select';
|
|
7
|
+
export * from './tabs';
|
|
8
|
+
export * from './breadcrumb';
|
|
9
|
+
export * from './dropdown';
|
|
10
|
+
export * from './input';
|
|
11
|
+
export * from './textarea';
|
|
12
|
+
export * from './input-tag';
|
|
13
|
+
export * from './form';
|
|
14
|
+
export * from './checkbox';
|
|
15
|
+
export * from './radio';
|
|
16
|
+
export * from './select';
|
|
17
|
+
export * from './select-multiple';
|
|
18
|
+
export * from './switch';
|
|
19
|
+
export * from './date-picker';
|
|
20
|
+
export * from './table';
|
|
21
|
+
export * from './pagination';
|
|
22
|
+
export * from './magic-number';
|
|
23
|
+
export * from './avatar';
|
|
24
|
+
export * from './title';
|
|
25
|
+
export * from './button';
|
|
26
|
+
export * from './badge';
|
|
27
|
+
export * from './tag';
|
|
28
|
+
export * from './alert';
|
|
29
|
+
export * from './modal';
|
|
30
|
+
export * from './popok';
|
|
31
|
+
export * from './popover';
|
|
32
|
+
export * from './drawer';
|
|
33
|
+
export * from './result';
|
|
34
|
+
export * from './backtop';
|
|
35
|
+
export * from './text-trim';
|
|
36
|
+
export * from './menu';
|
|
37
|
+
export * from './empty';
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
required: true;
|
|
4
|
+
type: globalThis.PropType<string | undefined>;
|
|
5
|
+
};
|
|
6
|
+
prefixesValue: globalThis.PropType<string | undefined>;
|
|
7
|
+
suffixValue: globalThis.PropType<string | undefined>;
|
|
8
|
+
type: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
size: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
focusSelect: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
align: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
disabled: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
33
|
+
clearable: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
description: string;
|
|
37
|
+
};
|
|
38
|
+
placeholder: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
readonly: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
description: string;
|
|
47
|
+
};
|
|
48
|
+
copyable: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
description: string;
|
|
52
|
+
};
|
|
53
|
+
showPassword: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
description: string;
|
|
57
|
+
};
|
|
58
|
+
autoWidth: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
description: string;
|
|
62
|
+
};
|
|
63
|
+
maxLength: {
|
|
64
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
65
|
+
default: null;
|
|
66
|
+
description: string;
|
|
67
|
+
};
|
|
68
|
+
showCount: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
description: string;
|
|
72
|
+
};
|
|
73
|
+
renderCount: {
|
|
74
|
+
type: FunctionConstructor;
|
|
75
|
+
default: (value: string) => number;
|
|
76
|
+
description: string;
|
|
77
|
+
};
|
|
78
|
+
prefixes: {
|
|
79
|
+
type: globalThis.PropType<import('./props').InputPrefixesType>;
|
|
80
|
+
default: string;
|
|
81
|
+
description: string;
|
|
82
|
+
};
|
|
83
|
+
prefixesOptions: {
|
|
84
|
+
type: ArrayConstructor;
|
|
85
|
+
default: () => never[];
|
|
86
|
+
description: string;
|
|
87
|
+
};
|
|
88
|
+
prefixesTooltip: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
description: string;
|
|
92
|
+
};
|
|
93
|
+
suffix: {
|
|
94
|
+
type: globalThis.PropType<import('./props').InputSuffixType>;
|
|
95
|
+
default: string;
|
|
96
|
+
description: string;
|
|
97
|
+
};
|
|
98
|
+
suffixOptions: {
|
|
99
|
+
type: ArrayConstructor;
|
|
100
|
+
default: () => never[];
|
|
101
|
+
description: string;
|
|
102
|
+
};
|
|
103
|
+
suffixTooltip: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
description: string;
|
|
107
|
+
};
|
|
108
|
+
okByEnter: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
description: string;
|
|
112
|
+
};
|
|
113
|
+
regular: {
|
|
114
|
+
type: globalThis.PropType<(value: string) => boolean>;
|
|
115
|
+
default: () => boolean;
|
|
116
|
+
description: string;
|
|
117
|
+
};
|
|
118
|
+
}, {
|
|
119
|
+
toFocus: () => void;
|
|
120
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
121
|
+
input: (...args: any[]) => void;
|
|
122
|
+
change: (...args: any[]) => void;
|
|
123
|
+
blur: (...args: any[]) => void;
|
|
124
|
+
clear: (...args: any[]) => void;
|
|
125
|
+
ok: (...args: any[]) => void;
|
|
126
|
+
focus: (...args: any[]) => void;
|
|
127
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
128
|
+
modelValue: {
|
|
129
|
+
required: true;
|
|
130
|
+
type: globalThis.PropType<string | undefined>;
|
|
131
|
+
};
|
|
132
|
+
prefixesValue: globalThis.PropType<string | undefined>;
|
|
133
|
+
suffixValue: globalThis.PropType<string | undefined>;
|
|
134
|
+
type: {
|
|
135
|
+
type: StringConstructor;
|
|
136
|
+
default: string;
|
|
137
|
+
description: string;
|
|
138
|
+
};
|
|
139
|
+
size: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
default: string;
|
|
142
|
+
description: string;
|
|
143
|
+
};
|
|
144
|
+
focusSelect: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: boolean;
|
|
147
|
+
description: string;
|
|
148
|
+
};
|
|
149
|
+
align: {
|
|
150
|
+
type: StringConstructor;
|
|
151
|
+
default: string;
|
|
152
|
+
description: string;
|
|
153
|
+
};
|
|
154
|
+
disabled: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
default: boolean;
|
|
157
|
+
description: string;
|
|
158
|
+
};
|
|
159
|
+
clearable: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
description: string;
|
|
163
|
+
};
|
|
164
|
+
placeholder: {
|
|
165
|
+
type: StringConstructor;
|
|
166
|
+
default: string;
|
|
167
|
+
description: string;
|
|
168
|
+
};
|
|
169
|
+
readonly: {
|
|
170
|
+
type: BooleanConstructor;
|
|
171
|
+
default: boolean;
|
|
172
|
+
description: string;
|
|
173
|
+
};
|
|
174
|
+
copyable: {
|
|
175
|
+
type: BooleanConstructor;
|
|
176
|
+
default: boolean;
|
|
177
|
+
description: string;
|
|
178
|
+
};
|
|
179
|
+
showPassword: {
|
|
180
|
+
type: BooleanConstructor;
|
|
181
|
+
default: boolean;
|
|
182
|
+
description: string;
|
|
183
|
+
};
|
|
184
|
+
autoWidth: {
|
|
185
|
+
type: BooleanConstructor;
|
|
186
|
+
default: boolean;
|
|
187
|
+
description: string;
|
|
188
|
+
};
|
|
189
|
+
maxLength: {
|
|
190
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
191
|
+
default: null;
|
|
192
|
+
description: string;
|
|
193
|
+
};
|
|
194
|
+
showCount: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: boolean;
|
|
197
|
+
description: string;
|
|
198
|
+
};
|
|
199
|
+
renderCount: {
|
|
200
|
+
type: FunctionConstructor;
|
|
201
|
+
default: (value: string) => number;
|
|
202
|
+
description: string;
|
|
203
|
+
};
|
|
204
|
+
prefixes: {
|
|
205
|
+
type: globalThis.PropType<import('./props').InputPrefixesType>;
|
|
206
|
+
default: string;
|
|
207
|
+
description: string;
|
|
208
|
+
};
|
|
209
|
+
prefixesOptions: {
|
|
210
|
+
type: ArrayConstructor;
|
|
211
|
+
default: () => never[];
|
|
212
|
+
description: string;
|
|
213
|
+
};
|
|
214
|
+
prefixesTooltip: {
|
|
215
|
+
type: StringConstructor;
|
|
216
|
+
default: string;
|
|
217
|
+
description: string;
|
|
218
|
+
};
|
|
219
|
+
suffix: {
|
|
220
|
+
type: globalThis.PropType<import('./props').InputSuffixType>;
|
|
221
|
+
default: string;
|
|
222
|
+
description: string;
|
|
223
|
+
};
|
|
224
|
+
suffixOptions: {
|
|
225
|
+
type: ArrayConstructor;
|
|
226
|
+
default: () => never[];
|
|
227
|
+
description: string;
|
|
228
|
+
};
|
|
229
|
+
suffixTooltip: {
|
|
230
|
+
type: StringConstructor;
|
|
231
|
+
default: string;
|
|
232
|
+
description: string;
|
|
233
|
+
};
|
|
234
|
+
okByEnter: {
|
|
235
|
+
type: BooleanConstructor;
|
|
236
|
+
default: boolean;
|
|
237
|
+
description: string;
|
|
238
|
+
};
|
|
239
|
+
regular: {
|
|
240
|
+
type: globalThis.PropType<(value: string) => boolean>;
|
|
241
|
+
default: () => boolean;
|
|
242
|
+
description: string;
|
|
243
|
+
};
|
|
244
|
+
}>> & {
|
|
245
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
246
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
247
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
248
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
249
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
250
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
251
|
+
}, {
|
|
252
|
+
type: string;
|
|
253
|
+
size: string;
|
|
254
|
+
disabled: boolean;
|
|
255
|
+
placeholder: string;
|
|
256
|
+
clearable: boolean;
|
|
257
|
+
readonly: boolean;
|
|
258
|
+
align: string;
|
|
259
|
+
focusSelect: boolean;
|
|
260
|
+
copyable: boolean;
|
|
261
|
+
showPassword: boolean;
|
|
262
|
+
autoWidth: boolean;
|
|
263
|
+
maxLength: string | number;
|
|
264
|
+
showCount: boolean;
|
|
265
|
+
renderCount: Function;
|
|
266
|
+
prefixes: import('./props').InputPrefixesType;
|
|
267
|
+
prefixesOptions: unknown[];
|
|
268
|
+
prefixesTooltip: string;
|
|
269
|
+
suffix: import('./props').InputSuffixType;
|
|
270
|
+
suffixOptions: unknown[];
|
|
271
|
+
suffixTooltip: string;
|
|
272
|
+
okByEnter: boolean;
|
|
273
|
+
regular: (value: string) => boolean;
|
|
274
|
+
}, {}>;
|
|
275
|
+
export default _default;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
export type InputPrefixesType = 'icon' | 'select' | 'text';
|
|
4
|
+
export type InputSuffixType = 'icon' | 'select' | 'text';
|
|
5
|
+
export declare const inputModel: {
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: (StringConstructor | NumberConstructor | undefined)[];
|
|
8
|
+
default: string;
|
|
9
|
+
description: string;
|
|
10
|
+
};
|
|
11
|
+
prefixesValue: {
|
|
12
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
13
|
+
default: string;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
suffixValue: {
|
|
17
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
18
|
+
default: string;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export declare const inputProps: {
|
|
23
|
+
type: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
size: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
33
|
+
focusSelect: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
description: string;
|
|
37
|
+
};
|
|
38
|
+
align: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
disabled: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
description: string;
|
|
47
|
+
};
|
|
48
|
+
clearable: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
description: string;
|
|
52
|
+
};
|
|
53
|
+
placeholder: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
description: string;
|
|
57
|
+
};
|
|
58
|
+
readonly: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
description: string;
|
|
62
|
+
};
|
|
63
|
+
copyable: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
description: string;
|
|
67
|
+
};
|
|
68
|
+
showPassword: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
description: string;
|
|
72
|
+
};
|
|
73
|
+
autoWidth: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
description: string;
|
|
77
|
+
};
|
|
78
|
+
maxLength: {
|
|
79
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
80
|
+
default: null;
|
|
81
|
+
description: string;
|
|
82
|
+
};
|
|
83
|
+
showCount: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
description: string;
|
|
87
|
+
};
|
|
88
|
+
renderCount: {
|
|
89
|
+
type: FunctionConstructor;
|
|
90
|
+
default: (value: string) => number;
|
|
91
|
+
description: string;
|
|
92
|
+
};
|
|
93
|
+
prefixes: {
|
|
94
|
+
type: PropType<InputPrefixesType>;
|
|
95
|
+
default: string;
|
|
96
|
+
description: string;
|
|
97
|
+
};
|
|
98
|
+
prefixesOptions: {
|
|
99
|
+
type: ArrayConstructor;
|
|
100
|
+
default: () => never[];
|
|
101
|
+
description: string;
|
|
102
|
+
};
|
|
103
|
+
prefixesTooltip: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
description: string;
|
|
107
|
+
};
|
|
108
|
+
suffix: {
|
|
109
|
+
type: PropType<InputSuffixType>;
|
|
110
|
+
default: string;
|
|
111
|
+
description: string;
|
|
112
|
+
};
|
|
113
|
+
suffixOptions: {
|
|
114
|
+
type: ArrayConstructor;
|
|
115
|
+
default: () => never[];
|
|
116
|
+
description: string;
|
|
117
|
+
};
|
|
118
|
+
suffixTooltip: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
default: string;
|
|
121
|
+
description: string;
|
|
122
|
+
};
|
|
123
|
+
okByEnter: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: boolean;
|
|
126
|
+
description: string;
|
|
127
|
+
};
|
|
128
|
+
regular: {
|
|
129
|
+
type: PropType<(value: string) => boolean>;
|
|
130
|
+
default: () => boolean;
|
|
131
|
+
description: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
export type InputProps = ExtractPropTypes<typeof inputProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
modelValue: globalThis.PropType<string[] | undefined>;
|
|
3
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
+
close: (...args: any[]) => void;
|
|
5
|
+
change: (...args: any[]) => void;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
7
|
+
modelValue: globalThis.PropType<string[] | undefined>;
|
|
8
|
+
}>> & {
|
|
9
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}, {}, {}>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
value: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
size: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: number;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
sep: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
18
|
+
value: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
size: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
default: number;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
sep: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
33
|
+
}>>, {
|
|
34
|
+
size: number;
|
|
35
|
+
value: number;
|
|
36
|
+
sep: boolean;
|
|
37
|
+
}, {}>;
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare const magicNumberProps: {
|
|
4
|
+
value: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: number;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
size: {
|
|
10
|
+
type: NumberConstructor;
|
|
11
|
+
default: number;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
sep: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export type MagicNumberProps = ExtractPropTypes<typeof magicNumberProps>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
|
+
color: {
|
|
3
|
+
type: globalThis.PropType<"red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown">;
|
|
4
|
+
default: string;
|
|
5
|
+
typeDesc: string;
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
round: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
to: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
bold: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
24
|
+
color: {
|
|
25
|
+
type: globalThis.PropType<"red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown">;
|
|
26
|
+
default: string;
|
|
27
|
+
typeDesc: string;
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
round: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
to: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
bold: {
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
default: number;
|
|
43
|
+
description: string;
|
|
44
|
+
};
|
|
45
|
+
}>>, {
|
|
46
|
+
bold: number;
|
|
47
|
+
round: boolean;
|
|
48
|
+
color: "red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown";
|
|
49
|
+
to: string;
|
|
50
|
+
}, {}>, {
|
|
51
|
+
default?(_: {}): any;
|
|
52
|
+
}>;
|
|
53
|
+
export default _default;
|
|
54
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
55
|
+
new (): {
|
|
56
|
+
$slots: S;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
type markColor = 'red' | 'orange' | 'yellow' | 'green' | 'mint' | 'teal' | 'cyan' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray' | 'brown';
|
|
4
|
+
export declare const markProps: {
|
|
5
|
+
color: {
|
|
6
|
+
type: PropType<markColor>;
|
|
7
|
+
default: string;
|
|
8
|
+
typeDesc: string;
|
|
9
|
+
description: string;
|
|
10
|
+
};
|
|
11
|
+
round: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
to: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
bold: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
default: number;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export type MarkProps = ExtractPropTypes<typeof markProps>;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { MenuOptions } from './props';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
options: {
|
|
5
|
+
type: globalThis.PropType<MenuOptions[]>;
|
|
6
|
+
default: never[];
|
|
7
|
+
typeDesc: string;
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
actived: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
change: (...args: any[]) => void;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
18
|
+
options: {
|
|
19
|
+
type: globalThis.PropType<MenuOptions[]>;
|
|
20
|
+
default: never[];
|
|
21
|
+
typeDesc: string;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
actived: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
}>> & {
|
|
30
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
options: MenuOptions[];
|
|
33
|
+
actived: string;
|
|
34
|
+
}, {}>;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
export type MenuOptions = {
|
|
4
|
+
label: string;
|
|
5
|
+
value?: string;
|
|
6
|
+
children?: MenuOptions[];
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
level?: number;
|
|
9
|
+
icon?: string;
|
|
10
|
+
tagText?: string;
|
|
11
|
+
tagColor?: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const menuProps: {
|
|
14
|
+
options: {
|
|
15
|
+
type: PropType<MenuOptions[]>;
|
|
16
|
+
default: never[];
|
|
17
|
+
typeDesc: string;
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
actived: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export type MenuProps = ExtractPropTypes<typeof menuProps>;
|