luyoumin-ui 0.0.51 → 0.0.52
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/{charts-data-CkQk1aWn.js → charts-data-DDkCusl5.js} +1 -1
- package/dist/components/LymButton.vue.d.ts +1 -1
- package/dist/components/LymCheckBox.vue.d.ts +3 -1
- package/dist/components/LymCountTo.vue.d.ts +18 -0
- package/dist/components/LymDialog.vue.d.ts +1 -1
- package/dist/components/LymDrawer.vue.d.ts +1 -1
- package/dist/components/LymInput.vue.d.ts +1 -1
- package/dist/components/LymSelect.vue.d.ts +289 -0
- package/dist/components/cascader/LymCascader.vue.d.ts +149 -3
- package/dist/components/generic-img/GenericImg.vue.d.ts +2 -2
- package/dist/global.d.ts +4 -1
- package/dist/{index-DirUC2-X.js → index-DTKlH8EH.js} +1422 -140
- package/dist/index.d.ts +4 -1
- package/dist/luyoumin-ui.es.js +5 -2
- package/dist/luyoumin-ui.umd.js +4 -4
- package/dist/style.css +1 -1
- package/dist/utils/directives.d.ts +3 -0
- package/package.json +1 -1
- package/src/global.d.ts +11 -2
- package/src/style.css +6 -0
|
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value2) => {
|
|
|
4
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value2);
|
|
5
5
|
return value2;
|
|
6
6
|
};
|
|
7
|
-
import { e as each, f as formatTime, m as modifyHSL, p as parseDate, a as format, r as round, c as clipRectByRect, b as addCommas, l as lift, d as linearMap } from "./index-
|
|
7
|
+
import { e as each, f as formatTime, m as modifyHSL, p as parseDate, a as format, r as round, c as clipRectByRect, b as addCommas, l as lift, d as linearMap } from "./index-DTKlH8EH.js";
|
|
8
8
|
const rawData = [
|
|
9
9
|
["Income", "Life Expectancy", "Population", "Country", "Year"],
|
|
10
10
|
[815, 34.05, 351014, "Australia", 1800],
|
|
@@ -135,8 +135,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
135
135
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
136
136
|
onClick?: (() => any) | undefined;
|
|
137
137
|
}, {
|
|
138
|
-
type: string;
|
|
139
138
|
circle: boolean;
|
|
139
|
+
type: string;
|
|
140
140
|
fontSize: string;
|
|
141
141
|
fontWeight: string;
|
|
142
142
|
padding: string;
|
|
@@ -41,6 +41,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
41
41
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
42
|
"update:modelValue": (val: any) => void;
|
|
43
43
|
"update:disabled": (val: any) => void;
|
|
44
|
+
change: (val: boolean) => void;
|
|
44
45
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
45
46
|
modelValue: {
|
|
46
47
|
type: BooleanConstructor;
|
|
@@ -80,12 +81,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
80
81
|
};
|
|
81
82
|
}>> & {
|
|
82
83
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
84
|
+
onChange?: ((val: boolean) => any) | undefined;
|
|
83
85
|
"onUpdate:disabled"?: ((val: any) => any) | undefined;
|
|
84
86
|
}, {
|
|
85
|
-
modelValue: boolean;
|
|
86
87
|
label: string;
|
|
87
88
|
disabled: boolean;
|
|
88
89
|
size: number;
|
|
90
|
+
modelValue: boolean;
|
|
89
91
|
labelSpace: string;
|
|
90
92
|
labelFontSize: string;
|
|
91
93
|
isCircle: boolean;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (val: any) => void;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: NumberConstructor;
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
}>> & {
|
|
14
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
modelValue: number;
|
|
17
|
+
}, {}>;
|
|
18
|
+
export default _default;
|
|
@@ -112,9 +112,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
112
112
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
113
113
|
onClose?: (() => any) | undefined;
|
|
114
114
|
}, {
|
|
115
|
-
modelValue: boolean;
|
|
116
115
|
title: string;
|
|
117
116
|
padding: string;
|
|
117
|
+
modelValue: boolean;
|
|
118
118
|
width: string;
|
|
119
119
|
top: string;
|
|
120
120
|
zIndex: number;
|
|
@@ -106,10 +106,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
106
106
|
onClose?: (() => any) | undefined;
|
|
107
107
|
onBeforeClose?: ((val: any) => any) | undefined;
|
|
108
108
|
}, {
|
|
109
|
-
modelValue: boolean;
|
|
110
109
|
title: string;
|
|
111
110
|
padding: string;
|
|
112
111
|
size: string;
|
|
112
|
+
modelValue: boolean;
|
|
113
113
|
zIndex: number;
|
|
114
114
|
isTitleCenter: boolean;
|
|
115
115
|
isFooterCenter: boolean;
|
|
@@ -157,9 +157,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
157
157
|
}>> & {
|
|
158
158
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
159
159
|
}, {
|
|
160
|
-
modelValue: string;
|
|
161
160
|
type: string;
|
|
162
161
|
disabled: boolean;
|
|
162
|
+
modelValue: string;
|
|
163
163
|
width: string | number;
|
|
164
164
|
max: number;
|
|
165
165
|
min: number;
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: (StringConstructor | {
|
|
4
|
+
(arrayLength: number): any[];
|
|
5
|
+
(...items: any[]): any[];
|
|
6
|
+
new (arrayLength: number): any[];
|
|
7
|
+
new (...items: any[]): any[];
|
|
8
|
+
isArray(arg: any): arg is any[];
|
|
9
|
+
readonly prototype: any[];
|
|
10
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
11
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
12
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
13
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
14
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
15
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
16
|
+
})[];
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
options: {
|
|
20
|
+
type: {
|
|
21
|
+
(arrayLength: number): any[];
|
|
22
|
+
(...items: any[]): any[];
|
|
23
|
+
new (arrayLength: number): any[];
|
|
24
|
+
new (...items: any[]): any[];
|
|
25
|
+
isArray(arg: any): arg is any[];
|
|
26
|
+
readonly prototype: any[];
|
|
27
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
28
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
29
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
30
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
31
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
32
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
33
|
+
};
|
|
34
|
+
default(): never[];
|
|
35
|
+
};
|
|
36
|
+
labelKey: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
valueKey: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
width: {
|
|
45
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
ddbWidth: {
|
|
49
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
fontSize: {
|
|
53
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
padding: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
scrollMaxH: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
filterable: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
remote: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
remoteMethod: {
|
|
73
|
+
type: FunctionConstructor;
|
|
74
|
+
default: null;
|
|
75
|
+
};
|
|
76
|
+
multiple: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
clearable: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
disabled: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
collapseTags: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
collapseTagsTooltip: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
isCascader: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
cascaderLevelH: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
cascaderExpandTrigger: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
cascaderMultiple: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
cascaderCheckStrictly: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
cascaderShowAllLevels: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
121
|
+
"update:modelValue": (val: any) => void;
|
|
122
|
+
selectCompleted: () => void;
|
|
123
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
124
|
+
modelValue: {
|
|
125
|
+
type: (StringConstructor | {
|
|
126
|
+
(arrayLength: number): any[];
|
|
127
|
+
(...items: any[]): any[];
|
|
128
|
+
new (arrayLength: number): any[];
|
|
129
|
+
new (...items: any[]): any[];
|
|
130
|
+
isArray(arg: any): arg is any[];
|
|
131
|
+
readonly prototype: any[];
|
|
132
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
133
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
134
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
135
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
136
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
137
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
138
|
+
})[];
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
141
|
+
options: {
|
|
142
|
+
type: {
|
|
143
|
+
(arrayLength: number): any[];
|
|
144
|
+
(...items: any[]): any[];
|
|
145
|
+
new (arrayLength: number): any[];
|
|
146
|
+
new (...items: any[]): any[];
|
|
147
|
+
isArray(arg: any): arg is any[];
|
|
148
|
+
readonly prototype: any[];
|
|
149
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
150
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
151
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
152
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
153
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
154
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
155
|
+
};
|
|
156
|
+
default(): never[];
|
|
157
|
+
};
|
|
158
|
+
labelKey: {
|
|
159
|
+
type: StringConstructor;
|
|
160
|
+
default: string;
|
|
161
|
+
};
|
|
162
|
+
valueKey: {
|
|
163
|
+
type: StringConstructor;
|
|
164
|
+
default: string;
|
|
165
|
+
};
|
|
166
|
+
width: {
|
|
167
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
|
+
ddbWidth: {
|
|
171
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
172
|
+
default: string;
|
|
173
|
+
};
|
|
174
|
+
fontSize: {
|
|
175
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
176
|
+
default: string;
|
|
177
|
+
};
|
|
178
|
+
padding: {
|
|
179
|
+
type: StringConstructor;
|
|
180
|
+
default: string;
|
|
181
|
+
};
|
|
182
|
+
scrollMaxH: {
|
|
183
|
+
type: StringConstructor;
|
|
184
|
+
default: string;
|
|
185
|
+
};
|
|
186
|
+
filterable: {
|
|
187
|
+
type: BooleanConstructor;
|
|
188
|
+
default: boolean;
|
|
189
|
+
};
|
|
190
|
+
remote: {
|
|
191
|
+
type: BooleanConstructor;
|
|
192
|
+
default: boolean;
|
|
193
|
+
};
|
|
194
|
+
remoteMethod: {
|
|
195
|
+
type: FunctionConstructor;
|
|
196
|
+
default: null;
|
|
197
|
+
};
|
|
198
|
+
multiple: {
|
|
199
|
+
type: BooleanConstructor;
|
|
200
|
+
default: boolean;
|
|
201
|
+
};
|
|
202
|
+
clearable: {
|
|
203
|
+
type: BooleanConstructor;
|
|
204
|
+
default: boolean;
|
|
205
|
+
};
|
|
206
|
+
disabled: {
|
|
207
|
+
type: BooleanConstructor;
|
|
208
|
+
default: boolean;
|
|
209
|
+
};
|
|
210
|
+
collapseTags: {
|
|
211
|
+
type: BooleanConstructor;
|
|
212
|
+
default: boolean;
|
|
213
|
+
};
|
|
214
|
+
collapseTagsTooltip: {
|
|
215
|
+
type: BooleanConstructor;
|
|
216
|
+
default: boolean;
|
|
217
|
+
};
|
|
218
|
+
isCascader: {
|
|
219
|
+
type: BooleanConstructor;
|
|
220
|
+
default: boolean;
|
|
221
|
+
};
|
|
222
|
+
cascaderLevelH: {
|
|
223
|
+
type: StringConstructor;
|
|
224
|
+
default: string;
|
|
225
|
+
};
|
|
226
|
+
cascaderExpandTrigger: {
|
|
227
|
+
type: StringConstructor;
|
|
228
|
+
default: string;
|
|
229
|
+
};
|
|
230
|
+
cascaderMultiple: {
|
|
231
|
+
type: BooleanConstructor;
|
|
232
|
+
default: boolean;
|
|
233
|
+
};
|
|
234
|
+
cascaderCheckStrictly: {
|
|
235
|
+
type: BooleanConstructor;
|
|
236
|
+
default: boolean;
|
|
237
|
+
};
|
|
238
|
+
cascaderShowAllLevels: {
|
|
239
|
+
type: BooleanConstructor;
|
|
240
|
+
default: boolean;
|
|
241
|
+
};
|
|
242
|
+
}>> & {
|
|
243
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
244
|
+
onSelectCompleted?: (() => any) | undefined;
|
|
245
|
+
}, {
|
|
246
|
+
fontSize: string | number;
|
|
247
|
+
padding: string;
|
|
248
|
+
disabled: boolean;
|
|
249
|
+
modelValue: string | any[];
|
|
250
|
+
width: string | number;
|
|
251
|
+
multiple: boolean;
|
|
252
|
+
clearable: boolean;
|
|
253
|
+
options: any[];
|
|
254
|
+
labelKey: string;
|
|
255
|
+
valueKey: string;
|
|
256
|
+
ddbWidth: string | number;
|
|
257
|
+
scrollMaxH: string;
|
|
258
|
+
filterable: boolean;
|
|
259
|
+
remote: boolean;
|
|
260
|
+
remoteMethod: Function;
|
|
261
|
+
collapseTags: boolean;
|
|
262
|
+
collapseTagsTooltip: boolean;
|
|
263
|
+
isCascader: boolean;
|
|
264
|
+
cascaderLevelH: string;
|
|
265
|
+
cascaderExpandTrigger: string;
|
|
266
|
+
cascaderMultiple: boolean;
|
|
267
|
+
cascaderCheckStrictly: boolean;
|
|
268
|
+
cascaderShowAllLevels: boolean;
|
|
269
|
+
}, {}>, {
|
|
270
|
+
selectedContent?(_: {
|
|
271
|
+
selectedData: any;
|
|
272
|
+
}): any;
|
|
273
|
+
selectedcollapseTags?(_: {
|
|
274
|
+
selectedData: any;
|
|
275
|
+
}): any;
|
|
276
|
+
selectCascaderContent?(_: {
|
|
277
|
+
cascaderItem: any;
|
|
278
|
+
}): any;
|
|
279
|
+
optionHeader?(_: {}): any;
|
|
280
|
+
optionContent?(_: {
|
|
281
|
+
optionItem: any;
|
|
282
|
+
}): any;
|
|
283
|
+
}>;
|
|
284
|
+
export default _default;
|
|
285
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
286
|
+
new (): {
|
|
287
|
+
$slots: S;
|
|
288
|
+
};
|
|
289
|
+
};
|
|
@@ -1,18 +1,164 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
2
|
modelValue: {
|
|
3
|
+
type: {
|
|
4
|
+
(arrayLength: number): any[];
|
|
5
|
+
(...items: any[]): any[];
|
|
6
|
+
new (arrayLength: number): any[];
|
|
7
|
+
new (...items: any[]): any[];
|
|
8
|
+
isArray(arg: any): arg is any[];
|
|
9
|
+
readonly prototype: any[];
|
|
10
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
11
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
12
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
13
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
14
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
15
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
16
|
+
};
|
|
17
|
+
default(): never[];
|
|
18
|
+
};
|
|
19
|
+
options: {
|
|
20
|
+
type: {
|
|
21
|
+
(arrayLength: number): any[];
|
|
22
|
+
(...items: any[]): any[];
|
|
23
|
+
new (arrayLength: number): any[];
|
|
24
|
+
new (...items: any[]): any[];
|
|
25
|
+
isArray(arg: any): arg is any[];
|
|
26
|
+
readonly prototype: any[];
|
|
27
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
28
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
29
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
30
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
31
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
32
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
33
|
+
};
|
|
34
|
+
required: true;
|
|
35
|
+
default(): never[];
|
|
36
|
+
};
|
|
37
|
+
valueKey: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
labelKey: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
levelW: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
levelH: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
expandTrigger: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
multiple: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
checkStrictly: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
needRefresh: {
|
|
3
66
|
type: BooleanConstructor;
|
|
4
67
|
default: boolean;
|
|
5
68
|
};
|
|
6
69
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
70
|
"update:modelValue": (val: any) => void;
|
|
71
|
+
completed: () => void;
|
|
8
72
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
73
|
modelValue: {
|
|
74
|
+
type: {
|
|
75
|
+
(arrayLength: number): any[];
|
|
76
|
+
(...items: any[]): any[];
|
|
77
|
+
new (arrayLength: number): any[];
|
|
78
|
+
new (...items: any[]): any[];
|
|
79
|
+
isArray(arg: any): arg is any[];
|
|
80
|
+
readonly prototype: any[];
|
|
81
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
82
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
83
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
84
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
85
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
86
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
87
|
+
};
|
|
88
|
+
default(): never[];
|
|
89
|
+
};
|
|
90
|
+
options: {
|
|
91
|
+
type: {
|
|
92
|
+
(arrayLength: number): any[];
|
|
93
|
+
(...items: any[]): any[];
|
|
94
|
+
new (arrayLength: number): any[];
|
|
95
|
+
new (...items: any[]): any[];
|
|
96
|
+
isArray(arg: any): arg is any[];
|
|
97
|
+
readonly prototype: any[];
|
|
98
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
99
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
100
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
101
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
102
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
103
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
104
|
+
};
|
|
105
|
+
required: true;
|
|
106
|
+
default(): never[];
|
|
107
|
+
};
|
|
108
|
+
valueKey: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
labelKey: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
default: string;
|
|
115
|
+
};
|
|
116
|
+
levelW: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
120
|
+
levelH: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
expandTrigger: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
multiple: {
|
|
129
|
+
type: BooleanConstructor;
|
|
130
|
+
default: boolean;
|
|
131
|
+
};
|
|
132
|
+
checkStrictly: {
|
|
133
|
+
type: BooleanConstructor;
|
|
134
|
+
default: boolean;
|
|
135
|
+
};
|
|
136
|
+
needRefresh: {
|
|
10
137
|
type: BooleanConstructor;
|
|
11
138
|
default: boolean;
|
|
12
139
|
};
|
|
13
140
|
}>> & {
|
|
14
141
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
142
|
+
onCompleted?: (() => any) | undefined;
|
|
15
143
|
}, {
|
|
16
|
-
modelValue:
|
|
17
|
-
|
|
144
|
+
modelValue: any[];
|
|
145
|
+
multiple: boolean;
|
|
146
|
+
options: any[];
|
|
147
|
+
labelKey: string;
|
|
148
|
+
valueKey: string;
|
|
149
|
+
levelW: string;
|
|
150
|
+
levelH: string;
|
|
151
|
+
expandTrigger: string;
|
|
152
|
+
checkStrictly: boolean;
|
|
153
|
+
needRefresh: boolean;
|
|
154
|
+
}, {}>, {
|
|
155
|
+
cascaderContent?(_: {
|
|
156
|
+
cascaderItem: any;
|
|
157
|
+
}): any;
|
|
158
|
+
}>;
|
|
18
159
|
export default _default;
|
|
160
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
161
|
+
new (): {
|
|
162
|
+
$slots: S;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
@@ -8,7 +8,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
10
|
size: {
|
|
11
|
-
type: (
|
|
11
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
14
|
fillColor: {
|
|
@@ -53,7 +53,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
53
53
|
default: string;
|
|
54
54
|
};
|
|
55
55
|
size: {
|
|
56
|
-
type: (
|
|
56
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
57
57
|
default: string;
|
|
58
58
|
};
|
|
59
59
|
fillColor: {
|
package/dist/global.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export {}
|
|
2
2
|
|
|
3
|
-
import { GenericImg, LymButton, LymCheckBox, LymCheckBoxGroup, LymColorPicker, LymDialog, LymDrawer, LymInput, LymLink, LymEcharts } from './index'
|
|
3
|
+
import { GenericImg, LymButton, LymCheckBox, LymCheckBoxGroup, LymColorPicker, LymDialog, LymDrawer, LymInput, LymLink, LymEcharts, LymCountTo, LymSelect, LymCascader } from './index'
|
|
4
4
|
|
|
5
5
|
// 自动注册全局组件虽然很方便,但在使用时缺少了ts类型提示,下面介绍一下为全局组件添加类型提示
|
|
6
6
|
declare module 'vue' {
|
|
@@ -15,5 +15,8 @@ declare module 'vue' {
|
|
|
15
15
|
LymInput: typeof LymInput
|
|
16
16
|
LymLink: typeof LymLink
|
|
17
17
|
LymEcharts: typeof LymEcharts
|
|
18
|
+
LymCountTo: typeof LymCountTo
|
|
19
|
+
LymSelect: typeof LymSelect
|
|
20
|
+
LymCascader: typeof LymCascader
|
|
18
21
|
}
|
|
19
22
|
}
|