@1337exp/taoui 1.1.0 → 1.2.2
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/README.md +29 -12
- package/dist/index.cjs +1407 -535
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +391 -200
- package/dist/index.mjs +1408 -536
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +633 -326
- package/package.json +1 -1
- package/src/styles/base.css +10 -0
- package/src/styles/semantic.css +3 -1
- package/src/styles/themes/light.css +3 -1
- package/src/styles/variables.css +0 -77
package/dist/index.d.ts
CHANGED
|
@@ -37,18 +37,18 @@ block: boolean;
|
|
|
37
37
|
icon: string;
|
|
38
38
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
39
39
|
|
|
40
|
-
declare const __VLS_component_10: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_11<
|
|
40
|
+
declare const __VLS_component_10: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_11<Props_7>, {
|
|
41
41
|
successMessage: string;
|
|
42
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_11<
|
|
42
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_11<Props_7>, {
|
|
43
43
|
successMessage: string;
|
|
44
44
|
}>>> & Readonly<{}>, {
|
|
45
45
|
successMessage: string;
|
|
46
46
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
47
47
|
|
|
48
|
-
declare const __VLS_component_11: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_12<
|
|
48
|
+
declare const __VLS_component_11: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_12<Props_8>, {
|
|
49
49
|
size: string;
|
|
50
50
|
free: boolean;
|
|
51
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_12<
|
|
51
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_12<Props_8>, {
|
|
52
52
|
size: string;
|
|
53
53
|
free: boolean;
|
|
54
54
|
}>>> & Readonly<{}>, {
|
|
@@ -56,14 +56,14 @@ size: "wide" | "slim" | "ultra-slim";
|
|
|
56
56
|
free: boolean;
|
|
57
57
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
58
58
|
|
|
59
|
-
declare const __VLS_component_12: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_13<
|
|
59
|
+
declare const __VLS_component_12: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_13<Props_9>, {
|
|
60
60
|
tag: string;
|
|
61
61
|
justify: string;
|
|
62
62
|
align: string;
|
|
63
63
|
direction: string;
|
|
64
64
|
wrap: string;
|
|
65
65
|
gap: string;
|
|
66
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_13<
|
|
66
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_13<Props_9>, {
|
|
67
67
|
tag: string;
|
|
68
68
|
justify: string;
|
|
69
69
|
align: string;
|
|
@@ -79,11 +79,11 @@ align: "stretch" | "flex-start" | "center" | "flex-end" | "baseline";
|
|
|
79
79
|
direction: "row" | "row-reverse" | "column" | "column-reverse";
|
|
80
80
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
81
81
|
|
|
82
|
-
declare const __VLS_component_13: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_14<
|
|
82
|
+
declare const __VLS_component_13: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_14<Props_10>, {
|
|
83
83
|
block: boolean;
|
|
84
84
|
expand: boolean;
|
|
85
85
|
vertical: boolean;
|
|
86
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_14<
|
|
86
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_14<Props_10>, {
|
|
87
87
|
block: boolean;
|
|
88
88
|
expand: boolean;
|
|
89
89
|
vertical: boolean;
|
|
@@ -93,22 +93,22 @@ expand: boolean;
|
|
|
93
93
|
vertical: boolean;
|
|
94
94
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
95
95
|
|
|
96
|
-
declare const __VLS_component_14: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_15<
|
|
96
|
+
declare const __VLS_component_14: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_15<Props_11>, {
|
|
97
97
|
margin: string;
|
|
98
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_15<
|
|
98
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_15<Props_11>, {
|
|
99
99
|
margin: string;
|
|
100
100
|
}>>> & Readonly<{}>, {
|
|
101
101
|
margin: string;
|
|
102
102
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
103
103
|
|
|
104
|
-
declare const __VLS_component_15: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_17<
|
|
104
|
+
declare const __VLS_component_15: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_17<Props_13>, {
|
|
105
105
|
src: string;
|
|
106
106
|
alt: string;
|
|
107
107
|
pixelated: boolean;
|
|
108
108
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
109
109
|
error: (...args: any[]) => void;
|
|
110
110
|
load: (...args: any[]) => void;
|
|
111
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_17<
|
|
111
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_17<Props_13>, {
|
|
112
112
|
src: string;
|
|
113
113
|
alt: string;
|
|
114
114
|
pixelated: boolean;
|
|
@@ -121,57 +121,85 @@ alt: string;
|
|
|
121
121
|
pixelated: boolean;
|
|
122
122
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
123
123
|
|
|
124
|
-
declare const __VLS_component_16: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_18<
|
|
124
|
+
declare const __VLS_component_16: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_18<{
|
|
125
|
+
value?: boolean;
|
|
126
|
+
modelValue?: boolean;
|
|
127
|
+
label?: string;
|
|
128
|
+
disabled?: boolean;
|
|
129
|
+
error?: boolean;
|
|
130
|
+
/** Частично выбран: черта вместо квадрата. Клик ставит checked — indeterminate снимает родитель. */
|
|
131
|
+
indeterminate?: boolean;
|
|
132
|
+
}>, {
|
|
125
133
|
value: undefined;
|
|
126
134
|
modelValue: undefined;
|
|
127
135
|
label: string;
|
|
128
136
|
disabled: boolean;
|
|
137
|
+
error: boolean;
|
|
138
|
+
indeterminate: boolean;
|
|
129
139
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
130
|
-
"update:modelValue": (
|
|
131
|
-
change: (
|
|
132
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_18<
|
|
140
|
+
"update:modelValue": (value: boolean) => void;
|
|
141
|
+
change: (value: boolean) => void;
|
|
142
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_18<{
|
|
143
|
+
value?: boolean;
|
|
144
|
+
modelValue?: boolean;
|
|
145
|
+
label?: string;
|
|
146
|
+
disabled?: boolean;
|
|
147
|
+
error?: boolean;
|
|
148
|
+
/** Частично выбран: черта вместо квадрата. Клик ставит checked — indeterminate снимает родитель. */
|
|
149
|
+
indeterminate?: boolean;
|
|
150
|
+
}>, {
|
|
133
151
|
value: undefined;
|
|
134
152
|
modelValue: undefined;
|
|
135
153
|
label: string;
|
|
136
154
|
disabled: boolean;
|
|
155
|
+
error: boolean;
|
|
156
|
+
indeterminate: boolean;
|
|
137
157
|
}>>> & Readonly<{
|
|
138
|
-
"onUpdate:modelValue"?: ((
|
|
139
|
-
onChange?: ((
|
|
158
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
159
|
+
onChange?: ((value: boolean) => any) | undefined;
|
|
140
160
|
}>, {
|
|
161
|
+
error: boolean;
|
|
141
162
|
label: string;
|
|
142
163
|
disabled: boolean;
|
|
143
164
|
modelValue: boolean;
|
|
144
165
|
value: boolean;
|
|
166
|
+
indeterminate: boolean;
|
|
145
167
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
146
168
|
|
|
147
|
-
declare const __VLS_component_17: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_19<
|
|
169
|
+
declare const __VLS_component_17: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_19<Props_14>, {
|
|
148
170
|
type: string;
|
|
149
171
|
pointer: boolean;
|
|
150
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_19<
|
|
172
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_19<Props_14>, {
|
|
151
173
|
type: string;
|
|
152
174
|
pointer: boolean;
|
|
153
175
|
}>>> & Readonly<{}>, {
|
|
154
|
-
type: "neutral" | "success" | "danger" | "warning" | "info" | "";
|
|
176
|
+
type: "neutral" | "success" | "danger" | "error" | "warning" | "info" | "";
|
|
155
177
|
pointer: boolean;
|
|
156
178
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
157
179
|
|
|
158
|
-
declare const __VLS_component_18: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_20<
|
|
180
|
+
declare const __VLS_component_18: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_20<{
|
|
181
|
+
variant?: "gap" | "line" | "text";
|
|
182
|
+
size?: "small" | "medium" | "large" | "big";
|
|
183
|
+
}>, {
|
|
159
184
|
variant: string;
|
|
160
185
|
size: string;
|
|
161
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_20<
|
|
186
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_20<{
|
|
187
|
+
variant?: "gap" | "line" | "text";
|
|
188
|
+
size?: "small" | "medium" | "large" | "big";
|
|
189
|
+
}>, {
|
|
162
190
|
variant: string;
|
|
163
191
|
size: string;
|
|
164
192
|
}>>> & Readonly<{}>, {
|
|
165
|
-
size: "small" | "medium" | "big";
|
|
193
|
+
size: "small" | "medium" | "large" | "big";
|
|
166
194
|
variant: "gap" | "line" | "text";
|
|
167
195
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
168
196
|
|
|
169
|
-
declare const __VLS_component_19: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_21<
|
|
197
|
+
declare const __VLS_component_19: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_21<Props_15>, {
|
|
170
198
|
borderWidth: number;
|
|
171
199
|
speed: number;
|
|
172
200
|
glow: number;
|
|
173
201
|
light: boolean;
|
|
174
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_21<
|
|
202
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_21<Props_15>, {
|
|
175
203
|
borderWidth: number;
|
|
176
204
|
speed: number;
|
|
177
205
|
glow: number;
|
|
@@ -200,7 +228,7 @@ shadow: boolean;
|
|
|
200
228
|
hover: boolean;
|
|
201
229
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
202
230
|
|
|
203
|
-
declare const __VLS_component_20: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_23<
|
|
231
|
+
declare const __VLS_component_20: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_23<Props_16>, {
|
|
204
232
|
size: number;
|
|
205
233
|
right: number;
|
|
206
234
|
bottom: number;
|
|
@@ -208,7 +236,7 @@ zIndex: number;
|
|
|
208
236
|
boundary: number;
|
|
209
237
|
hasOutline: boolean;
|
|
210
238
|
tabindex: number;
|
|
211
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_23<
|
|
239
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_23<Props_16>, {
|
|
212
240
|
size: number;
|
|
213
241
|
right: number;
|
|
214
242
|
bottom: number;
|
|
@@ -226,16 +254,44 @@ boundary: number;
|
|
|
226
254
|
hasOutline: boolean;
|
|
227
255
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
228
256
|
|
|
229
|
-
declare const __VLS_component_21: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_24<
|
|
230
|
-
|
|
231
|
-
|
|
257
|
+
declare const __VLS_component_21: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_24<{
|
|
258
|
+
minWidth?: number;
|
|
259
|
+
maxWidth?: number;
|
|
260
|
+
/** @deprecated используйте minWidth */
|
|
261
|
+
min?: number;
|
|
262
|
+
/** @deprecated используйте maxWidth */
|
|
263
|
+
max?: number;
|
|
264
|
+
progress?: number;
|
|
265
|
+
height?: number;
|
|
266
|
+
/** `true` / `top` — по центру над полосой, `right` — справа. Если есть `#right`, процент справа в скобках. `false` — скрыть. */
|
|
267
|
+
showPercentage?: boolean | "top" | "right";
|
|
268
|
+
animated?: boolean;
|
|
269
|
+
}>, {
|
|
270
|
+
minWidth: undefined;
|
|
271
|
+
maxWidth: undefined;
|
|
272
|
+
min: undefined;
|
|
273
|
+
max: undefined;
|
|
232
274
|
progress: number;
|
|
233
275
|
height: number;
|
|
234
276
|
showPercentage: boolean;
|
|
235
277
|
animated: boolean;
|
|
236
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_24<
|
|
237
|
-
|
|
238
|
-
|
|
278
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_24<{
|
|
279
|
+
minWidth?: number;
|
|
280
|
+
maxWidth?: number;
|
|
281
|
+
/** @deprecated используйте minWidth */
|
|
282
|
+
min?: number;
|
|
283
|
+
/** @deprecated используйте maxWidth */
|
|
284
|
+
max?: number;
|
|
285
|
+
progress?: number;
|
|
286
|
+
height?: number;
|
|
287
|
+
/** `true` / `top` — по центру над полосой, `right` — справа. Если есть `#right`, процент справа в скобках. `false` — скрыть. */
|
|
288
|
+
showPercentage?: boolean | "top" | "right";
|
|
289
|
+
animated?: boolean;
|
|
290
|
+
}>, {
|
|
291
|
+
minWidth: undefined;
|
|
292
|
+
maxWidth: undefined;
|
|
293
|
+
min: undefined;
|
|
294
|
+
max: undefined;
|
|
239
295
|
progress: number;
|
|
240
296
|
height: number;
|
|
241
297
|
showPercentage: boolean;
|
|
@@ -245,27 +301,48 @@ progress: number;
|
|
|
245
301
|
max: number;
|
|
246
302
|
height: number;
|
|
247
303
|
min: number;
|
|
248
|
-
|
|
304
|
+
minWidth: number;
|
|
305
|
+
maxWidth: number;
|
|
306
|
+
showPercentage: boolean | "top" | "right";
|
|
249
307
|
animated: boolean;
|
|
250
308
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
251
309
|
|
|
252
|
-
declare const __VLS_component_22: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_25<
|
|
310
|
+
declare const __VLS_component_22: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_25<{
|
|
311
|
+
min?: number;
|
|
312
|
+
max?: number;
|
|
313
|
+
step?: number;
|
|
314
|
+
showValue?: boolean;
|
|
315
|
+
placeholder?: string;
|
|
316
|
+
modelValue: number | string;
|
|
317
|
+
disabled?: boolean;
|
|
318
|
+
}>, {
|
|
253
319
|
min: number;
|
|
254
320
|
max: number;
|
|
255
321
|
step: number;
|
|
256
322
|
showValue: boolean;
|
|
257
323
|
placeholder: string;
|
|
324
|
+
disabled: boolean;
|
|
258
325
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
259
326
|
"update:modelValue": (...args: any[]) => void;
|
|
260
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_25<
|
|
327
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_25<{
|
|
328
|
+
min?: number;
|
|
329
|
+
max?: number;
|
|
330
|
+
step?: number;
|
|
331
|
+
showValue?: boolean;
|
|
332
|
+
placeholder?: string;
|
|
333
|
+
modelValue: number | string;
|
|
334
|
+
disabled?: boolean;
|
|
335
|
+
}>, {
|
|
261
336
|
min: number;
|
|
262
337
|
max: number;
|
|
263
338
|
step: number;
|
|
264
339
|
showValue: boolean;
|
|
265
340
|
placeholder: string;
|
|
341
|
+
disabled: boolean;
|
|
266
342
|
}>>> & Readonly<{
|
|
267
343
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
268
344
|
}>, {
|
|
345
|
+
disabled: boolean;
|
|
269
346
|
max: number;
|
|
270
347
|
step: number;
|
|
271
348
|
placeholder: string;
|
|
@@ -273,7 +350,7 @@ min: number;
|
|
|
273
350
|
showValue: boolean;
|
|
274
351
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
275
352
|
|
|
276
|
-
declare const __VLS_component_23: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_26<
|
|
353
|
+
declare const __VLS_component_23: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_26<Props_17>, {
|
|
277
354
|
modelValue: () => never[];
|
|
278
355
|
size: string;
|
|
279
356
|
accept: string;
|
|
@@ -283,7 +360,7 @@ showClear: boolean;
|
|
|
283
360
|
"update:modelValue": (files: File[]) => void;
|
|
284
361
|
files: (files: File[]) => void;
|
|
285
362
|
"clear-request": () => void;
|
|
286
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_26<
|
|
363
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_26<Props_17>, {
|
|
287
364
|
modelValue: () => never[];
|
|
288
365
|
size: string;
|
|
289
366
|
accept: string;
|
|
@@ -302,27 +379,27 @@ showClear: boolean;
|
|
|
302
379
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
303
380
|
|
|
304
381
|
declare const __VLS_component_24: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_27<{
|
|
305
|
-
actions?:
|
|
382
|
+
actions?: TaoDropdownAction[];
|
|
306
383
|
}>, {
|
|
307
384
|
actions: () => never[];
|
|
308
385
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
309
386
|
selected: (...args: any[]) => void;
|
|
310
387
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_27<{
|
|
311
|
-
actions?:
|
|
388
|
+
actions?: TaoDropdownAction[];
|
|
312
389
|
}>, {
|
|
313
390
|
actions: () => never[];
|
|
314
391
|
}>>> & Readonly<{
|
|
315
392
|
onSelected?: ((...args: any[]) => any) | undefined;
|
|
316
393
|
}>, {
|
|
317
|
-
actions:
|
|
394
|
+
actions: TaoDropdownAction[];
|
|
318
395
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
319
396
|
|
|
320
|
-
declare const __VLS_component_25: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_29<
|
|
397
|
+
declare const __VLS_component_25: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_29<Props_18>, {
|
|
321
398
|
to: undefined;
|
|
322
399
|
asNewTab: boolean;
|
|
323
400
|
private: boolean;
|
|
324
401
|
exactPath: boolean;
|
|
325
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_29<
|
|
402
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_29<Props_18>, {
|
|
326
403
|
to: undefined;
|
|
327
404
|
asNewTab: boolean;
|
|
328
405
|
private: boolean;
|
|
@@ -344,7 +421,7 @@ hint?: string;
|
|
|
344
421
|
error?: string;
|
|
345
422
|
}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
346
423
|
|
|
347
|
-
declare const __VLS_component_27: DefineComponent<ExtractPropTypes<
|
|
424
|
+
declare const __VLS_component_27: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_34<{
|
|
348
425
|
modelValue?: boolean;
|
|
349
426
|
label?: string;
|
|
350
427
|
disabled?: boolean;
|
|
@@ -355,7 +432,7 @@ disabled: boolean;
|
|
|
355
432
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
356
433
|
"update:modelValue": (value: boolean) => void;
|
|
357
434
|
change: (value: boolean) => void;
|
|
358
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
435
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_34<{
|
|
359
436
|
modelValue?: boolean;
|
|
360
437
|
label?: string;
|
|
361
438
|
disabled?: boolean;
|
|
@@ -372,7 +449,7 @@ disabled: boolean;
|
|
|
372
449
|
modelValue: boolean;
|
|
373
450
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
374
451
|
|
|
375
|
-
declare const __VLS_component_28: DefineComponent<ExtractPropTypes<
|
|
452
|
+
declare const __VLS_component_28: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_35<{
|
|
376
453
|
value: TaoRadioValue;
|
|
377
454
|
modelValue?: TaoRadioValue;
|
|
378
455
|
name?: string;
|
|
@@ -384,7 +461,7 @@ disabled: boolean;
|
|
|
384
461
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
385
462
|
"update:modelValue": (value: TaoRadioValue) => void;
|
|
386
463
|
change: (value: TaoRadioValue) => void;
|
|
387
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
464
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_35<{
|
|
388
465
|
value: TaoRadioValue;
|
|
389
466
|
modelValue?: TaoRadioValue;
|
|
390
467
|
name?: string;
|
|
@@ -401,7 +478,7 @@ label: string;
|
|
|
401
478
|
disabled: boolean;
|
|
402
479
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
403
480
|
|
|
404
|
-
declare const __VLS_component_29: DefineComponent<ExtractPropTypes<
|
|
481
|
+
declare const __VLS_component_29: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_36<{
|
|
405
482
|
modelValue?: TaoRadioValue;
|
|
406
483
|
name?: string;
|
|
407
484
|
legend?: string;
|
|
@@ -413,7 +490,7 @@ direction: string;
|
|
|
413
490
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
414
491
|
"update:modelValue": (value: TaoRadioValue) => void;
|
|
415
492
|
change: (value: TaoRadioValue) => void;
|
|
416
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
493
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_36<{
|
|
417
494
|
modelValue?: TaoRadioValue;
|
|
418
495
|
name?: string;
|
|
419
496
|
legend?: string;
|
|
@@ -464,8 +541,8 @@ modelValue: string | number;
|
|
|
464
541
|
errorMessage: string;
|
|
465
542
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
466
543
|
|
|
467
|
-
declare const __VLS_component_30: DefineComponent<ExtractPropTypes<
|
|
468
|
-
type?: "success" | "error" | "warning" | "info" | "neutral";
|
|
544
|
+
declare const __VLS_component_30: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_37<{
|
|
545
|
+
type?: "success" | "error" | "danger" | "warning" | "info" | "neutral";
|
|
469
546
|
title?: string;
|
|
470
547
|
closable?: boolean;
|
|
471
548
|
}>, {
|
|
@@ -474,8 +551,8 @@ title: string;
|
|
|
474
551
|
closable: boolean;
|
|
475
552
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
476
553
|
close: () => void;
|
|
477
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
478
|
-
type?: "success" | "error" | "warning" | "info" | "neutral";
|
|
554
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_37<{
|
|
555
|
+
type?: "success" | "error" | "danger" | "warning" | "info" | "neutral";
|
|
479
556
|
title?: string;
|
|
480
557
|
closable?: boolean;
|
|
481
558
|
}>, {
|
|
@@ -485,12 +562,12 @@ closable: boolean;
|
|
|
485
562
|
}>>> & Readonly<{
|
|
486
563
|
onClose?: (() => any) | undefined;
|
|
487
564
|
}>, {
|
|
488
|
-
type: "success" | "error" | "warning" | "info" | "neutral";
|
|
565
|
+
type: "success" | "error" | "danger" | "warning" | "info" | "neutral";
|
|
489
566
|
title: string;
|
|
490
567
|
closable: boolean;
|
|
491
568
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
492
569
|
|
|
493
|
-
declare const __VLS_component_31: DefineComponent<ExtractPropTypes<
|
|
570
|
+
declare const __VLS_component_31: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_38<{
|
|
494
571
|
columns: TaoTableColumn[];
|
|
495
572
|
rows?: Record<string, unknown>[];
|
|
496
573
|
rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
|
|
@@ -521,7 +598,7 @@ caption: string;
|
|
|
521
598
|
sort: (value: TaoTableSort | null) => void;
|
|
522
599
|
"update:sort": (value: TaoTableSort | null) => void;
|
|
523
600
|
"row-click": (row: Record<string, unknown>, index: number) => void;
|
|
524
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
601
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_38<{
|
|
525
602
|
columns: TaoTableColumn[];
|
|
526
603
|
rows?: Record<string, unknown>[];
|
|
527
604
|
rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
|
|
@@ -567,11 +644,11 @@ maxHeight: string;
|
|
|
567
644
|
clickable: boolean;
|
|
568
645
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
569
646
|
|
|
570
|
-
declare const __VLS_component_32: DefineComponent<ExtractPropTypes<
|
|
647
|
+
declare const __VLS_component_32: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_40<{
|
|
571
648
|
title?: string;
|
|
572
649
|
}>, {
|
|
573
650
|
title: string;
|
|
574
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
651
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_40<{
|
|
575
652
|
title?: string;
|
|
576
653
|
}>, {
|
|
577
654
|
title: string;
|
|
@@ -579,7 +656,7 @@ title: string;
|
|
|
579
656
|
title: string;
|
|
580
657
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
581
658
|
|
|
582
|
-
declare const __VLS_component_33: DefineComponent<ExtractPropTypes<
|
|
659
|
+
declare const __VLS_component_33: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_42<{
|
|
583
660
|
modelValue: boolean;
|
|
584
661
|
title?: string;
|
|
585
662
|
side?: "left" | "right";
|
|
@@ -591,7 +668,7 @@ closable: boolean;
|
|
|
591
668
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
592
669
|
close: (...args: any[]) => void;
|
|
593
670
|
"update:modelValue": (...args: any[]) => void;
|
|
594
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
671
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_42<{
|
|
595
672
|
modelValue: boolean;
|
|
596
673
|
title?: string;
|
|
597
674
|
side?: "left" | "right";
|
|
@@ -609,7 +686,7 @@ closable: boolean;
|
|
|
609
686
|
side: "left" | "right";
|
|
610
687
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
611
688
|
|
|
612
|
-
declare const __VLS_component_34: DefineComponent<ExtractPropTypes<
|
|
689
|
+
declare const __VLS_component_34: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_46<{
|
|
613
690
|
modelValue?: number;
|
|
614
691
|
peek?: number;
|
|
615
692
|
/** How many slides fit in the viewport. 5 = product strip. 1 = one card. */
|
|
@@ -633,7 +710,7 @@ ariaLabel: string;
|
|
|
633
710
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
634
711
|
"update:modelValue": (value: number) => void;
|
|
635
712
|
change: (value: number) => void;
|
|
636
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
713
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_46<{
|
|
637
714
|
modelValue?: number;
|
|
638
715
|
peek?: number;
|
|
639
716
|
/** How many slides fit in the viewport. 5 = product strip. 1 = one card. */
|
|
@@ -668,7 +745,7 @@ dots: boolean;
|
|
|
668
745
|
ariaLabel: string;
|
|
669
746
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
670
747
|
|
|
671
|
-
declare const __VLS_component_35: DefineComponent<ExtractPropTypes<
|
|
748
|
+
declare const __VLS_component_35: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_47<{
|
|
672
749
|
items?: TaoStageItem[];
|
|
673
750
|
vertical?: boolean;
|
|
674
751
|
ariaLabel?: string;
|
|
@@ -676,7 +753,7 @@ ariaLabel?: string;
|
|
|
676
753
|
items: () => never[];
|
|
677
754
|
vertical: boolean;
|
|
678
755
|
ariaLabel: string;
|
|
679
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
756
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_47<{
|
|
680
757
|
items?: TaoStageItem[];
|
|
681
758
|
vertical?: boolean;
|
|
682
759
|
ariaLabel?: string;
|
|
@@ -755,14 +832,29 @@ position: string;
|
|
|
755
832
|
position: "top" | "bottom" | "left" | "right";
|
|
756
833
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
757
834
|
|
|
758
|
-
declare const __VLS_component_9: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_10<
|
|
835
|
+
declare const __VLS_component_9: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_10<{
|
|
836
|
+
title?: string;
|
|
837
|
+
defaultOpen?: boolean;
|
|
838
|
+
modelValue?: boolean;
|
|
839
|
+
}>, {
|
|
759
840
|
title: string;
|
|
760
841
|
defaultOpen: boolean;
|
|
761
|
-
|
|
842
|
+
modelValue: undefined;
|
|
843
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
844
|
+
"update:modelValue": (value: boolean) => void;
|
|
845
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_10<{
|
|
846
|
+
title?: string;
|
|
847
|
+
defaultOpen?: boolean;
|
|
848
|
+
modelValue?: boolean;
|
|
849
|
+
}>, {
|
|
762
850
|
title: string;
|
|
763
851
|
defaultOpen: boolean;
|
|
764
|
-
|
|
852
|
+
modelValue: undefined;
|
|
853
|
+
}>>> & Readonly<{
|
|
854
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
855
|
+
}>, {
|
|
765
856
|
title: string;
|
|
857
|
+
modelValue: boolean;
|
|
766
858
|
defaultOpen: boolean;
|
|
767
859
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
768
860
|
|
|
@@ -848,6 +940,8 @@ declare type __VLS_NonUndefinedable_45<T> = T extends undefined ? never : T;
|
|
|
848
940
|
|
|
849
941
|
declare type __VLS_NonUndefinedable_46<T> = T extends undefined ? never : T;
|
|
850
942
|
|
|
943
|
+
declare type __VLS_NonUndefinedable_47<T> = T extends undefined ? never : T;
|
|
944
|
+
|
|
851
945
|
declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
|
|
852
946
|
|
|
853
947
|
declare type __VLS_NonUndefinedable_6<T> = T extends undefined ? never : T;
|
|
@@ -1010,6 +1104,10 @@ declare type __VLS_Prettify_43<T> = {
|
|
|
1010
1104
|
[K in keyof T]: T[K];
|
|
1011
1105
|
} & {};
|
|
1012
1106
|
|
|
1107
|
+
declare type __VLS_Prettify_44<T> = {
|
|
1108
|
+
[K in keyof T]: T[K];
|
|
1109
|
+
} & {};
|
|
1110
|
+
|
|
1013
1111
|
declare type __VLS_Prettify_5<T> = {
|
|
1014
1112
|
[K in keyof T]: T[K];
|
|
1015
1113
|
} & {};
|
|
@@ -1648,6 +1746,15 @@ declare type __VLS_TypePropsToRuntimeProps_46<T> = {
|
|
|
1648
1746
|
};
|
|
1649
1747
|
};
|
|
1650
1748
|
|
|
1749
|
+
declare type __VLS_TypePropsToRuntimeProps_47<T> = {
|
|
1750
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
1751
|
+
type: PropType<__VLS_NonUndefinedable_47<T[K]>>;
|
|
1752
|
+
} : {
|
|
1753
|
+
type: PropType<T[K]>;
|
|
1754
|
+
required: true;
|
|
1755
|
+
};
|
|
1756
|
+
};
|
|
1757
|
+
|
|
1651
1758
|
declare type __VLS_TypePropsToRuntimeProps_5<T> = {
|
|
1652
1759
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
1653
1760
|
type: PropType<__VLS_NonUndefinedable_5<T[K]>>;
|
|
@@ -1921,6 +2028,12 @@ declare type __VLS_WithDefaults_43<P, D> = {
|
|
|
1921
2028
|
}> : P[K];
|
|
1922
2029
|
};
|
|
1923
2030
|
|
|
2031
|
+
declare type __VLS_WithDefaults_44<P, D> = {
|
|
2032
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_44<P[K] & {
|
|
2033
|
+
default: D[K];
|
|
2034
|
+
}> : P[K];
|
|
2035
|
+
};
|
|
2036
|
+
|
|
1924
2037
|
declare type __VLS_WithDefaults_5<P, D> = {
|
|
1925
2038
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_5<P[K] & {
|
|
1926
2039
|
default: D[K];
|
|
@@ -2161,12 +2274,6 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
2161
2274
|
};
|
|
2162
2275
|
};
|
|
2163
2276
|
|
|
2164
|
-
declare interface Action {
|
|
2165
|
-
id: string;
|
|
2166
|
-
name: string;
|
|
2167
|
-
ico?: string;
|
|
2168
|
-
}
|
|
2169
|
-
|
|
2170
2277
|
declare const confirm_2: TaoConfirmApi;
|
|
2171
2278
|
export { confirm_2 as confirm }
|
|
2172
2279
|
|
|
@@ -2189,60 +2296,39 @@ declare interface Props {
|
|
|
2189
2296
|
}
|
|
2190
2297
|
|
|
2191
2298
|
declare interface Props_10 {
|
|
2192
|
-
tag?: string;
|
|
2193
|
-
justify?: 'flex-start' | 'flex-end' | 'center' | 'normal' | 'space-between' | 'space-around' | 'space-evenly';
|
|
2194
|
-
align?: 'stretch' | 'flex-start' | 'center' | 'flex-end' | 'baseline';
|
|
2195
|
-
direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
2196
|
-
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
2197
|
-
gap?: string;
|
|
2198
|
-
}
|
|
2199
|
-
|
|
2200
|
-
declare interface Props_11 {
|
|
2201
2299
|
block?: boolean;
|
|
2202
2300
|
expand?: boolean;
|
|
2203
2301
|
vertical?: boolean;
|
|
2204
2302
|
}
|
|
2205
2303
|
|
|
2206
|
-
declare interface
|
|
2304
|
+
declare interface Props_11 {
|
|
2207
2305
|
name: string;
|
|
2208
2306
|
margin?: string;
|
|
2209
2307
|
size?: number;
|
|
2210
2308
|
invert?: boolean;
|
|
2211
2309
|
}
|
|
2212
2310
|
|
|
2213
|
-
declare interface
|
|
2311
|
+
declare interface Props_12 {
|
|
2214
2312
|
color?: string;
|
|
2215
2313
|
size?: number | string;
|
|
2216
2314
|
inline?: boolean;
|
|
2217
2315
|
}
|
|
2218
2316
|
|
|
2219
|
-
declare interface
|
|
2317
|
+
declare interface Props_13 {
|
|
2220
2318
|
src: string;
|
|
2221
2319
|
alt?: string;
|
|
2222
2320
|
pixelated?: boolean;
|
|
2223
2321
|
}
|
|
2224
2322
|
|
|
2225
|
-
declare interface
|
|
2226
|
-
|
|
2227
|
-
modelValue?: boolean;
|
|
2228
|
-
label?: string;
|
|
2229
|
-
disabled?: boolean;
|
|
2230
|
-
}
|
|
2231
|
-
|
|
2232
|
-
declare interface Props_16 {
|
|
2233
|
-
type?: 'neutral' | 'success' | 'danger' | 'warning' | 'info' | '';
|
|
2323
|
+
declare interface Props_14 {
|
|
2324
|
+
type?: 'neutral' | 'success' | 'danger' | 'error' | 'warning' | 'info' | '';
|
|
2234
2325
|
color?: string;
|
|
2235
2326
|
background?: string;
|
|
2236
2327
|
borderColor?: string;
|
|
2237
2328
|
pointer?: boolean;
|
|
2238
2329
|
}
|
|
2239
2330
|
|
|
2240
|
-
declare interface
|
|
2241
|
-
variant?: 'gap' | 'line' | 'text';
|
|
2242
|
-
size?: 'small' | 'medium' | 'big';
|
|
2243
|
-
}
|
|
2244
|
-
|
|
2245
|
-
declare interface Props_18 {
|
|
2331
|
+
declare interface Props_15 {
|
|
2246
2332
|
borderWidth?: number;
|
|
2247
2333
|
speed?: number;
|
|
2248
2334
|
/** Радиус размытия glow-эффекта позади рамки, px. Работает только при light. */
|
|
@@ -2253,34 +2339,7 @@ declare interface Props_18 {
|
|
|
2253
2339
|
light?: boolean;
|
|
2254
2340
|
}
|
|
2255
2341
|
|
|
2256
|
-
declare interface
|
|
2257
|
-
placeholder?: string;
|
|
2258
|
-
spellcheck?: boolean;
|
|
2259
|
-
autocomplete?: string;
|
|
2260
|
-
minlength?: number;
|
|
2261
|
-
maxlength?: number;
|
|
2262
|
-
disabled?: boolean;
|
|
2263
|
-
noSpace?: boolean;
|
|
2264
|
-
dummy?: boolean;
|
|
2265
|
-
rows?: number;
|
|
2266
|
-
resize?: boolean;
|
|
2267
|
-
modelValue?: string;
|
|
2268
|
-
noBorder?: boolean;
|
|
2269
|
-
noBackground?: boolean;
|
|
2270
|
-
autoFocus?: boolean;
|
|
2271
|
-
borderInverse?: boolean;
|
|
2272
|
-
textCenter?: boolean;
|
|
2273
|
-
submitOnEnter?: boolean;
|
|
2274
|
-
}
|
|
2275
|
-
|
|
2276
|
-
declare interface Props_2 {
|
|
2277
|
-
padding?: number | number[];
|
|
2278
|
-
radius?: number;
|
|
2279
|
-
shadow?: boolean;
|
|
2280
|
-
hover?: boolean;
|
|
2281
|
-
}
|
|
2282
|
-
|
|
2283
|
-
declare interface Props_20 {
|
|
2342
|
+
declare interface Props_16 {
|
|
2284
2343
|
size?: number;
|
|
2285
2344
|
right?: string | number;
|
|
2286
2345
|
bottom?: string | number;
|
|
@@ -2290,25 +2349,7 @@ declare interface Props_20 {
|
|
|
2290
2349
|
tabindex?: number;
|
|
2291
2350
|
}
|
|
2292
2351
|
|
|
2293
|
-
declare interface
|
|
2294
|
-
min?: number;
|
|
2295
|
-
max?: number;
|
|
2296
|
-
progress?: number;
|
|
2297
|
-
height?: number;
|
|
2298
|
-
showPercentage?: boolean;
|
|
2299
|
-
animated?: boolean;
|
|
2300
|
-
}
|
|
2301
|
-
|
|
2302
|
-
declare interface Props_22 {
|
|
2303
|
-
min?: number;
|
|
2304
|
-
max?: number;
|
|
2305
|
-
step?: number;
|
|
2306
|
-
showValue?: boolean;
|
|
2307
|
-
placeholder?: string;
|
|
2308
|
-
modelValue: number | string;
|
|
2309
|
-
}
|
|
2310
|
-
|
|
2311
|
-
declare interface Props_23 {
|
|
2352
|
+
declare interface Props_17 {
|
|
2312
2353
|
/** Текущий список файлов — компонент сам не хранит состояние
|
|
2313
2354
|
* количества файлов, оно всегда отражает то, что передал родитель.
|
|
2314
2355
|
* Это и даёт возможность подтверждения: родитель решает, когда
|
|
@@ -2320,22 +2361,20 @@ declare interface Props_23 {
|
|
|
2320
2361
|
showClear?: boolean;
|
|
2321
2362
|
}
|
|
2322
2363
|
|
|
2323
|
-
declare interface
|
|
2324
|
-
length: number;
|
|
2325
|
-
hidden?: boolean;
|
|
2326
|
-
placeholder?: string;
|
|
2327
|
-
modelValue: string;
|
|
2328
|
-
/** Разрешать вводить только цифры 0-9, всё остальное отбрасывается на лету */
|
|
2329
|
-
numbersOnly?: boolean;
|
|
2330
|
-
}
|
|
2331
|
-
|
|
2332
|
-
declare interface Props_25 {
|
|
2364
|
+
declare interface Props_18 {
|
|
2333
2365
|
to?: string | Record<string, unknown>;
|
|
2334
2366
|
asNewTab?: boolean;
|
|
2335
2367
|
private?: boolean;
|
|
2336
2368
|
exactPath?: boolean;
|
|
2337
2369
|
}
|
|
2338
2370
|
|
|
2371
|
+
declare interface Props_2 {
|
|
2372
|
+
padding?: number | number[];
|
|
2373
|
+
radius?: number;
|
|
2374
|
+
shadow?: boolean;
|
|
2375
|
+
hover?: boolean;
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2339
2378
|
declare interface Props_3 {
|
|
2340
2379
|
modelValue?: string | number;
|
|
2341
2380
|
type?: 'text' | 'password' | 'email' | 'number' | 'tel';
|
|
@@ -2369,21 +2408,25 @@ declare interface Props_6 {
|
|
|
2369
2408
|
}
|
|
2370
2409
|
|
|
2371
2410
|
declare interface Props_7 {
|
|
2372
|
-
title?: string;
|
|
2373
|
-
defaultOpen?: boolean;
|
|
2374
|
-
}
|
|
2375
|
-
|
|
2376
|
-
declare interface Props_8 {
|
|
2377
2411
|
text: string;
|
|
2378
2412
|
successMessage?: string;
|
|
2379
2413
|
}
|
|
2380
2414
|
|
|
2381
|
-
declare interface
|
|
2415
|
+
declare interface Props_8 {
|
|
2382
2416
|
size?: 'wide' | 'slim' | 'ultra-slim';
|
|
2383
2417
|
/** "свободно" болтается в разметке, без авто-центровки по горизонтали */
|
|
2384
2418
|
free?: boolean;
|
|
2385
2419
|
}
|
|
2386
2420
|
|
|
2421
|
+
declare interface Props_9 {
|
|
2422
|
+
tag?: string;
|
|
2423
|
+
justify?: 'flex-start' | 'flex-end' | 'center' | 'normal' | 'space-between' | 'space-around' | 'space-evenly';
|
|
2424
|
+
align?: 'stretch' | 'flex-start' | 'center' | 'flex-end' | 'baseline';
|
|
2425
|
+
direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
2426
|
+
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
2427
|
+
gap?: string;
|
|
2428
|
+
}
|
|
2429
|
+
|
|
2387
2430
|
declare interface Tab {
|
|
2388
2431
|
key: string;
|
|
2389
2432
|
label: string;
|
|
@@ -2394,38 +2437,54 @@ export declare const TaoAlert: __VLS_WithTemplateSlots_30<typeof __VLS_component
|
|
|
2394
2437
|
|
|
2395
2438
|
export declare const TaoAnimatedBorder: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, ReturnType<typeof __VLS_template_19>>;
|
|
2396
2439
|
|
|
2397
|
-
export declare const TaoAvatar: DefineComponent<ExtractPropTypes<
|
|
2440
|
+
export declare const TaoAvatar: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_43<{
|
|
2398
2441
|
src?: string;
|
|
2399
2442
|
name?: string;
|
|
2400
2443
|
alt?: string;
|
|
2401
|
-
size?: "s" | "m" | "l";
|
|
2444
|
+
size?: "small" | "medium" | "large" | "s" | "m" | "l";
|
|
2445
|
+
/** Точка статуса. `true` = success (в сети). */
|
|
2446
|
+
dot?: boolean | TaoAvatarDot;
|
|
2447
|
+
/** Счётчик в углу. 0 и пустое не рисуются, больше 99 — «99+». */
|
|
2448
|
+
count?: number | string;
|
|
2402
2449
|
}>, {
|
|
2403
2450
|
src: string;
|
|
2404
2451
|
name: string;
|
|
2405
2452
|
alt: string;
|
|
2406
2453
|
size: string;
|
|
2407
|
-
|
|
2454
|
+
dot: boolean;
|
|
2455
|
+
count: undefined;
|
|
2456
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_43<{
|
|
2408
2457
|
src?: string;
|
|
2409
2458
|
name?: string;
|
|
2410
2459
|
alt?: string;
|
|
2411
|
-
size?: "s" | "m" | "l";
|
|
2460
|
+
size?: "small" | "medium" | "large" | "s" | "m" | "l";
|
|
2461
|
+
/** Точка статуса. `true` = success (в сети). */
|
|
2462
|
+
dot?: boolean | TaoAvatarDot;
|
|
2463
|
+
/** Счётчик в углу. 0 и пустое не рисуются, больше 99 — «99+». */
|
|
2464
|
+
count?: number | string;
|
|
2412
2465
|
}>, {
|
|
2413
2466
|
src: string;
|
|
2414
2467
|
name: string;
|
|
2415
2468
|
alt: string;
|
|
2416
2469
|
size: string;
|
|
2470
|
+
dot: boolean;
|
|
2471
|
+
count: undefined;
|
|
2417
2472
|
}>>> & Readonly<{}>, {
|
|
2418
2473
|
name: string;
|
|
2419
2474
|
src: string;
|
|
2420
2475
|
alt: string;
|
|
2421
|
-
size: "s" | "m" | "l";
|
|
2476
|
+
size: "small" | "medium" | "large" | "s" | "m" | "l";
|
|
2477
|
+
dot: boolean | TaoAvatarDot;
|
|
2478
|
+
count: number | string;
|
|
2422
2479
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2423
2480
|
|
|
2481
|
+
declare type TaoAvatarDot = 'success' | 'danger' | 'warning' | 'info' | 'neutral' | 'error';
|
|
2482
|
+
|
|
2424
2483
|
export declare const TaoBlock: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, ReturnType<typeof __VLS_template_2>>;
|
|
2425
2484
|
|
|
2426
|
-
export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<
|
|
2485
|
+
export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_44<{
|
|
2427
2486
|
items: TaoBreadcrumbItem[];
|
|
2428
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2487
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_44<{
|
|
2429
2488
|
items: TaoBreadcrumbItem[];
|
|
2430
2489
|
}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2431
2490
|
|
|
@@ -2442,6 +2501,53 @@ export declare const TaoCarousel: __VLS_WithTemplateSlots_34<typeof __VLS_compon
|
|
|
2442
2501
|
|
|
2443
2502
|
export declare const TaoCheckbox: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, ReturnType<typeof __VLS_template_16>>;
|
|
2444
2503
|
|
|
2504
|
+
export declare const TaoCombobox: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_32<{
|
|
2505
|
+
modelValue?: string | number | null;
|
|
2506
|
+
options?: TaoSelectOption[];
|
|
2507
|
+
placeholder?: string;
|
|
2508
|
+
disabled?: boolean;
|
|
2509
|
+
error?: boolean;
|
|
2510
|
+
/** Можно оставить то, чего нет в списке. */
|
|
2511
|
+
allowCreate?: boolean;
|
|
2512
|
+
}>, {
|
|
2513
|
+
modelValue: null;
|
|
2514
|
+
options: () => never[];
|
|
2515
|
+
placeholder: string;
|
|
2516
|
+
disabled: boolean;
|
|
2517
|
+
error: boolean;
|
|
2518
|
+
allowCreate: boolean;
|
|
2519
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2520
|
+
"update:modelValue": (value: string | number | null) => void;
|
|
2521
|
+
change: (value: string | number | null) => void;
|
|
2522
|
+
create: (value: string) => void;
|
|
2523
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_32<{
|
|
2524
|
+
modelValue?: string | number | null;
|
|
2525
|
+
options?: TaoSelectOption[];
|
|
2526
|
+
placeholder?: string;
|
|
2527
|
+
disabled?: boolean;
|
|
2528
|
+
error?: boolean;
|
|
2529
|
+
/** Можно оставить то, чего нет в списке. */
|
|
2530
|
+
allowCreate?: boolean;
|
|
2531
|
+
}>, {
|
|
2532
|
+
modelValue: null;
|
|
2533
|
+
options: () => never[];
|
|
2534
|
+
placeholder: string;
|
|
2535
|
+
disabled: boolean;
|
|
2536
|
+
error: boolean;
|
|
2537
|
+
allowCreate: boolean;
|
|
2538
|
+
}>>> & Readonly<{
|
|
2539
|
+
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
2540
|
+
onChange?: ((value: string | number | null) => any) | undefined;
|
|
2541
|
+
onCreate?: ((value: string) => any) | undefined;
|
|
2542
|
+
}>, {
|
|
2543
|
+
error: boolean;
|
|
2544
|
+
disabled: boolean;
|
|
2545
|
+
placeholder: string;
|
|
2546
|
+
modelValue: string | number | null;
|
|
2547
|
+
options: TaoSelectOption[];
|
|
2548
|
+
allowCreate: boolean;
|
|
2549
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2550
|
+
|
|
2445
2551
|
export declare interface TaoConfirmApi {
|
|
2446
2552
|
(): TaoConfirmBuilder;
|
|
2447
2553
|
(title: string, options?: TaoConfirmShortcutOptions): TaoConfirmBuilder;
|
|
@@ -2485,13 +2591,13 @@ export declare const TaoContainer: __VLS_WithTemplateSlots_11<typeof __VLS_compo
|
|
|
2485
2591
|
|
|
2486
2592
|
export declare const TaoCopy: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, ReturnType<typeof __VLS_template_10>>;
|
|
2487
2593
|
|
|
2488
|
-
export declare const TaoCounter: DefineComponent<ExtractPropTypes<
|
|
2594
|
+
export declare const TaoCounter: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_45<{
|
|
2489
2595
|
value?: number;
|
|
2490
2596
|
maxDigits?: number;
|
|
2491
2597
|
}>, {
|
|
2492
2598
|
value: number;
|
|
2493
2599
|
maxDigits: number;
|
|
2494
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2600
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_45<{
|
|
2495
2601
|
value?: number;
|
|
2496
2602
|
maxDigits?: number;
|
|
2497
2603
|
}>, {
|
|
@@ -2502,7 +2608,7 @@ value: number;
|
|
|
2502
2608
|
maxDigits: number;
|
|
2503
2609
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2504
2610
|
|
|
2505
|
-
export declare const TaoDate: DefineComponent<ExtractPropTypes<
|
|
2611
|
+
export declare const TaoDate: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_33<{
|
|
2506
2612
|
modelValue?: string | null;
|
|
2507
2613
|
placeholder?: string;
|
|
2508
2614
|
disabled?: boolean;
|
|
@@ -2521,7 +2627,7 @@ locale: string;
|
|
|
2521
2627
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2522
2628
|
"update:modelValue": (value: string | null) => void;
|
|
2523
2629
|
change: (value: string | null) => void;
|
|
2524
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2630
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_33<{
|
|
2525
2631
|
modelValue?: string | null;
|
|
2526
2632
|
placeholder?: string;
|
|
2527
2633
|
disabled?: boolean;
|
|
@@ -2566,6 +2672,12 @@ export declare const TaoDivider: __VLS_WithTemplateSlots_18<typeof __VLS_compone
|
|
|
2566
2672
|
|
|
2567
2673
|
export declare const TaoDrawer: __VLS_WithTemplateSlots_33<typeof __VLS_component_33, ReturnType<typeof __VLS_template_33>>;
|
|
2568
2674
|
|
|
2675
|
+
export declare interface TaoDropdownAction {
|
|
2676
|
+
id: string;
|
|
2677
|
+
name: string;
|
|
2678
|
+
ico?: string;
|
|
2679
|
+
}
|
|
2680
|
+
|
|
2569
2681
|
export declare const TaoDropdownMenu: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, ReturnType<typeof __VLS_template_24>>;
|
|
2570
2682
|
|
|
2571
2683
|
export declare const TaoEmpty: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, ReturnType<typeof __VLS_template_32>>;
|
|
@@ -2638,11 +2750,11 @@ controls: boolean;
|
|
|
2638
2750
|
|
|
2639
2751
|
export declare const TaoLink: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, ReturnType<typeof __VLS_template_25>>;
|
|
2640
2752
|
|
|
2641
|
-
export declare const TaoLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_16<
|
|
2753
|
+
export declare const TaoLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_16<Props_12>, {
|
|
2642
2754
|
color: string;
|
|
2643
2755
|
size: number;
|
|
2644
2756
|
inline: boolean;
|
|
2645
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_16<
|
|
2757
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_16<Props_12>, {
|
|
2646
2758
|
color: string;
|
|
2647
2759
|
size: number;
|
|
2648
2760
|
inline: boolean;
|
|
@@ -2654,7 +2766,7 @@ inline: boolean;
|
|
|
2654
2766
|
|
|
2655
2767
|
export declare const TaoModal: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, ReturnType<typeof __VLS_template_6>>;
|
|
2656
2768
|
|
|
2657
|
-
export declare const TaoPagination: DefineComponent<ExtractPropTypes<
|
|
2769
|
+
export declare const TaoPagination: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_39<{
|
|
2658
2770
|
page?: number;
|
|
2659
2771
|
total?: number;
|
|
2660
2772
|
pageSize?: number;
|
|
@@ -2678,7 +2790,7 @@ ariaLabel: string;
|
|
|
2678
2790
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2679
2791
|
change: (value: number) => void;
|
|
2680
2792
|
"update:page": (value: number) => void;
|
|
2681
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2793
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_39<{
|
|
2682
2794
|
page?: number;
|
|
2683
2795
|
total?: number;
|
|
2684
2796
|
pageSize?: number;
|
|
@@ -2722,28 +2834,54 @@ export declare type TaoPaginationItem = {
|
|
|
2722
2834
|
id: 'left' | 'right';
|
|
2723
2835
|
};
|
|
2724
2836
|
|
|
2725
|
-
export declare const TaoPinCode: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_28<
|
|
2837
|
+
export declare const TaoPinCode: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_28<{
|
|
2838
|
+
length: number;
|
|
2839
|
+
hidden?: boolean;
|
|
2840
|
+
placeholder?: string;
|
|
2841
|
+
modelValue?: string;
|
|
2842
|
+
numbersOnly?: boolean;
|
|
2843
|
+
/** `focus` — клик сбрасывает ячейку и все справа (неверный код, набор заново).
|
|
2844
|
+
* `input` — цифра остаётся, пока не введут новую. */
|
|
2845
|
+
clearOn?: "focus" | "input";
|
|
2846
|
+
}>, {
|
|
2726
2847
|
hidden: boolean;
|
|
2727
2848
|
placeholder: string;
|
|
2849
|
+
modelValue: string;
|
|
2728
2850
|
numbersOnly: boolean;
|
|
2851
|
+
clearOn: string;
|
|
2729
2852
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2730
|
-
active: (
|
|
2731
|
-
"update:modelValue": (
|
|
2732
|
-
change: (
|
|
2733
|
-
blur: (
|
|
2734
|
-
|
|
2853
|
+
active: (el: HTMLInputElement | null, index: number) => void;
|
|
2854
|
+
"update:modelValue": (value: string) => void;
|
|
2855
|
+
change: (value: string) => void;
|
|
2856
|
+
blur: () => void;
|
|
2857
|
+
complete: (value: string) => void;
|
|
2858
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_28<{
|
|
2859
|
+
length: number;
|
|
2860
|
+
hidden?: boolean;
|
|
2861
|
+
placeholder?: string;
|
|
2862
|
+
modelValue?: string;
|
|
2863
|
+
numbersOnly?: boolean;
|
|
2864
|
+
/** `focus` — клик сбрасывает ячейку и все справа (неверный код, набор заново).
|
|
2865
|
+
* `input` — цифра остаётся, пока не введут новую. */
|
|
2866
|
+
clearOn?: "focus" | "input";
|
|
2867
|
+
}>, {
|
|
2735
2868
|
hidden: boolean;
|
|
2736
2869
|
placeholder: string;
|
|
2870
|
+
modelValue: string;
|
|
2737
2871
|
numbersOnly: boolean;
|
|
2872
|
+
clearOn: string;
|
|
2738
2873
|
}>>> & Readonly<{
|
|
2739
|
-
onActive?: ((
|
|
2740
|
-
"onUpdate:modelValue"?: ((
|
|
2741
|
-
onChange?: ((
|
|
2742
|
-
onBlur?: ((
|
|
2874
|
+
onActive?: ((el: HTMLInputElement | null, index: number) => any) | undefined;
|
|
2875
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
2876
|
+
onChange?: ((value: string) => any) | undefined;
|
|
2877
|
+
onBlur?: (() => any) | undefined;
|
|
2878
|
+
onComplete?: ((value: string) => any) | undefined;
|
|
2743
2879
|
}>, {
|
|
2744
2880
|
placeholder: string;
|
|
2881
|
+
modelValue: string;
|
|
2745
2882
|
hidden: boolean;
|
|
2746
2883
|
numbersOnly: boolean;
|
|
2884
|
+
clearOn: "focus" | "input";
|
|
2747
2885
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2748
2886
|
|
|
2749
2887
|
export declare const TaoProgress: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, ReturnType<typeof __VLS_template_21>>;
|
|
@@ -2823,8 +2961,8 @@ placeholder: string;
|
|
|
2823
2961
|
disabled: boolean;
|
|
2824
2962
|
error: boolean;
|
|
2825
2963
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2826
|
-
"update:modelValue": (value: string | number) => void;
|
|
2827
|
-
change: (value: string | number) => void;
|
|
2964
|
+
"update:modelValue": (value: string | number | null) => void;
|
|
2965
|
+
change: (value: string | number | null) => void;
|
|
2828
2966
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_31<{
|
|
2829
2967
|
modelValue?: string | number | null;
|
|
2830
2968
|
options?: TaoSelectOption[];
|
|
@@ -2838,8 +2976,8 @@ placeholder: string;
|
|
|
2838
2976
|
disabled: boolean;
|
|
2839
2977
|
error: boolean;
|
|
2840
2978
|
}>>> & Readonly<{
|
|
2841
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
2842
|
-
onChange?: ((value: string | number) => any) | undefined;
|
|
2979
|
+
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
2980
|
+
onChange?: ((value: string | number | null) => any) | undefined;
|
|
2843
2981
|
}>, {
|
|
2844
2982
|
error: boolean;
|
|
2845
2983
|
disabled: boolean;
|
|
@@ -2854,7 +2992,7 @@ export declare interface TaoSelectOption {
|
|
|
2854
2992
|
disabled?: boolean;
|
|
2855
2993
|
}
|
|
2856
2994
|
|
|
2857
|
-
export declare const TaoSkeleton: DefineComponent<ExtractPropTypes<
|
|
2995
|
+
export declare const TaoSkeleton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_41<{
|
|
2858
2996
|
variant?: "text" | "title" | "circle" | "rect";
|
|
2859
2997
|
lines?: number;
|
|
2860
2998
|
width?: string;
|
|
@@ -2864,7 +3002,7 @@ variant: string;
|
|
|
2864
3002
|
lines: number;
|
|
2865
3003
|
width: string;
|
|
2866
3004
|
height: string;
|
|
2867
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
3005
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_41<{
|
|
2868
3006
|
variant?: "text" | "title" | "circle" | "rect";
|
|
2869
3007
|
lines?: number;
|
|
2870
3008
|
width?: string;
|
|
@@ -2890,7 +3028,8 @@ export declare const TaoSpoiler: __VLS_WithTemplateSlots_9<typeof __VLS_componen
|
|
|
2890
3028
|
export declare interface TaoStageItem {
|
|
2891
3029
|
key: string;
|
|
2892
3030
|
label?: string;
|
|
2893
|
-
|
|
3031
|
+
/** `danger` — синоним `bad` */
|
|
3032
|
+
status?: TaoStageStatus | 'danger';
|
|
2894
3033
|
}
|
|
2895
3034
|
|
|
2896
3035
|
export declare const TaoStages: __VLS_WithTemplateSlots_35<typeof __VLS_component_35, ReturnType<typeof __VLS_template_35>>;
|
|
@@ -2921,7 +3060,29 @@ export declare const TaoTabs: __VLS_WithTemplateSlots_7<typeof __VLS_component_7
|
|
|
2921
3060
|
|
|
2922
3061
|
export declare const TaoTag: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, ReturnType<typeof __VLS_template_17>>;
|
|
2923
3062
|
|
|
2924
|
-
export declare const TaoTextarea: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_22<
|
|
3063
|
+
export declare const TaoTextarea: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_22<{
|
|
3064
|
+
placeholder?: string;
|
|
3065
|
+
spellcheck?: boolean;
|
|
3066
|
+
autocomplete?: string;
|
|
3067
|
+
minlength?: number;
|
|
3068
|
+
maxlength?: number;
|
|
3069
|
+
disabled?: boolean;
|
|
3070
|
+
noSpace?: boolean;
|
|
3071
|
+
dummy?: boolean;
|
|
3072
|
+
rows?: number;
|
|
3073
|
+
resize?: boolean;
|
|
3074
|
+
modelValue?: string;
|
|
3075
|
+
noBorder?: boolean;
|
|
3076
|
+
noBackground?: boolean;
|
|
3077
|
+
autoFocus?: boolean;
|
|
3078
|
+
borderInverse?: boolean;
|
|
3079
|
+
textCenter?: boolean;
|
|
3080
|
+
submitOnEnter?: boolean;
|
|
3081
|
+
error?: boolean;
|
|
3082
|
+
id?: string;
|
|
3083
|
+
/** Показать «введено / максимум» под полем. Имеет смысл вместе с `maxlength`. */
|
|
3084
|
+
count?: boolean;
|
|
3085
|
+
}>, {
|
|
2925
3086
|
placeholder: string;
|
|
2926
3087
|
spellcheck: boolean;
|
|
2927
3088
|
autocomplete: string;
|
|
@@ -2939,13 +3100,37 @@ autoFocus: boolean;
|
|
|
2939
3100
|
borderInverse: boolean;
|
|
2940
3101
|
textCenter: boolean;
|
|
2941
3102
|
submitOnEnter: boolean;
|
|
3103
|
+
error: boolean;
|
|
3104
|
+
count: boolean;
|
|
2942
3105
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2943
3106
|
"update:modelValue": (...args: any[]) => void;
|
|
2944
3107
|
change: (...args: any[]) => void;
|
|
2945
3108
|
keydown: (...args: any[]) => void;
|
|
2946
3109
|
blur: (...args: any[]) => void;
|
|
2947
3110
|
focus: (...args: any[]) => void;
|
|
2948
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_22<
|
|
3111
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_22<{
|
|
3112
|
+
placeholder?: string;
|
|
3113
|
+
spellcheck?: boolean;
|
|
3114
|
+
autocomplete?: string;
|
|
3115
|
+
minlength?: number;
|
|
3116
|
+
maxlength?: number;
|
|
3117
|
+
disabled?: boolean;
|
|
3118
|
+
noSpace?: boolean;
|
|
3119
|
+
dummy?: boolean;
|
|
3120
|
+
rows?: number;
|
|
3121
|
+
resize?: boolean;
|
|
3122
|
+
modelValue?: string;
|
|
3123
|
+
noBorder?: boolean;
|
|
3124
|
+
noBackground?: boolean;
|
|
3125
|
+
autoFocus?: boolean;
|
|
3126
|
+
borderInverse?: boolean;
|
|
3127
|
+
textCenter?: boolean;
|
|
3128
|
+
submitOnEnter?: boolean;
|
|
3129
|
+
error?: boolean;
|
|
3130
|
+
id?: string;
|
|
3131
|
+
/** Показать «введено / максимум» под полем. Имеет смысл вместе с `maxlength`. */
|
|
3132
|
+
count?: boolean;
|
|
3133
|
+
}>, {
|
|
2949
3134
|
placeholder: string;
|
|
2950
3135
|
spellcheck: boolean;
|
|
2951
3136
|
autocomplete: string;
|
|
@@ -2963,6 +3148,8 @@ autoFocus: boolean;
|
|
|
2963
3148
|
borderInverse: boolean;
|
|
2964
3149
|
textCenter: boolean;
|
|
2965
3150
|
submitOnEnter: boolean;
|
|
3151
|
+
error: boolean;
|
|
3152
|
+
count: boolean;
|
|
2966
3153
|
}>>> & Readonly<{
|
|
2967
3154
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2968
3155
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -2970,13 +3157,15 @@ onKeydown?: ((...args: any[]) => any) | undefined;
|
|
|
2970
3157
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
2971
3158
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
2972
3159
|
}>, {
|
|
3160
|
+
error: boolean;
|
|
3161
|
+
count: boolean;
|
|
2973
3162
|
disabled: boolean;
|
|
2974
3163
|
placeholder: string;
|
|
2975
3164
|
modelValue: string;
|
|
2976
3165
|
resize: boolean;
|
|
3166
|
+
rows: number;
|
|
2977
3167
|
autocomplete: string;
|
|
2978
3168
|
maxlength: number;
|
|
2979
|
-
rows: number;
|
|
2980
3169
|
spellcheck: boolean;
|
|
2981
3170
|
minlength: number;
|
|
2982
3171
|
noSpace: boolean;
|
|
@@ -2998,6 +3187,7 @@ export declare interface TaoToastApi {
|
|
|
2998
3187
|
(): TaoToastBuilder;
|
|
2999
3188
|
success(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
3000
3189
|
error(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
3190
|
+
danger(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
3001
3191
|
warning(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
3002
3192
|
info(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
3003
3193
|
show(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
@@ -3012,6 +3202,7 @@ export declare interface TaoToastApi {
|
|
|
3012
3202
|
export declare interface TaoToastBuilder {
|
|
3013
3203
|
success(): TaoToastBuilder;
|
|
3014
3204
|
error(): TaoToastBuilder;
|
|
3205
|
+
danger(): TaoToastBuilder;
|
|
3015
3206
|
warning(): TaoToastBuilder;
|
|
3016
3207
|
info(): TaoToastBuilder;
|
|
3017
3208
|
show(): TaoToastBuilder;
|
|
@@ -3078,7 +3269,7 @@ export declare interface TaoToastShortcutOptions {
|
|
|
3078
3269
|
onClosed?: () => void;
|
|
3079
3270
|
}
|
|
3080
3271
|
|
|
3081
|
-
export declare type TaoToastType = 'success' | 'error' | 'warning' | 'info' | 'neutral';
|
|
3272
|
+
export declare type TaoToastType = 'success' | 'error' | 'danger' | 'warning' | 'info' | 'neutral';
|
|
3082
3273
|
|
|
3083
3274
|
export declare const TaoToastViewport: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3084
3275
|
|