@1337exp/taoui 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -11
- package/dist/index.cjs +696 -344
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +292 -169
- package/dist/index.mjs +697 -345
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +488 -306
- 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;
|
|
@@ -465,7 +542,7 @@ errorMessage: string;
|
|
|
465
542
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
466
543
|
|
|
467
544
|
declare const __VLS_component_30: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_36<{
|
|
468
|
-
type?: "success" | "error" | "warning" | "info" | "neutral";
|
|
545
|
+
type?: "success" | "error" | "danger" | "warning" | "info" | "neutral";
|
|
469
546
|
title?: string;
|
|
470
547
|
closable?: boolean;
|
|
471
548
|
}>, {
|
|
@@ -475,7 +552,7 @@ closable: boolean;
|
|
|
475
552
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
476
553
|
close: () => void;
|
|
477
554
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_36<{
|
|
478
|
-
type?: "success" | "error" | "warning" | "info" | "neutral";
|
|
555
|
+
type?: "success" | "error" | "danger" | "warning" | "info" | "neutral";
|
|
479
556
|
title?: string;
|
|
480
557
|
closable?: boolean;
|
|
481
558
|
}>, {
|
|
@@ -485,7 +562,7 @@ 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>;
|
|
@@ -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
|
|
|
@@ -2161,12 +2253,6 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
2161
2253
|
};
|
|
2162
2254
|
};
|
|
2163
2255
|
|
|
2164
|
-
declare interface Action {
|
|
2165
|
-
id: string;
|
|
2166
|
-
name: string;
|
|
2167
|
-
ico?: string;
|
|
2168
|
-
}
|
|
2169
|
-
|
|
2170
2256
|
declare const confirm_2: TaoConfirmApi;
|
|
2171
2257
|
export { confirm_2 as confirm }
|
|
2172
2258
|
|
|
@@ -2189,60 +2275,39 @@ declare interface Props {
|
|
|
2189
2275
|
}
|
|
2190
2276
|
|
|
2191
2277
|
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
2278
|
block?: boolean;
|
|
2202
2279
|
expand?: boolean;
|
|
2203
2280
|
vertical?: boolean;
|
|
2204
2281
|
}
|
|
2205
2282
|
|
|
2206
|
-
declare interface
|
|
2283
|
+
declare interface Props_11 {
|
|
2207
2284
|
name: string;
|
|
2208
2285
|
margin?: string;
|
|
2209
2286
|
size?: number;
|
|
2210
2287
|
invert?: boolean;
|
|
2211
2288
|
}
|
|
2212
2289
|
|
|
2213
|
-
declare interface
|
|
2290
|
+
declare interface Props_12 {
|
|
2214
2291
|
color?: string;
|
|
2215
2292
|
size?: number | string;
|
|
2216
2293
|
inline?: boolean;
|
|
2217
2294
|
}
|
|
2218
2295
|
|
|
2219
|
-
declare interface
|
|
2296
|
+
declare interface Props_13 {
|
|
2220
2297
|
src: string;
|
|
2221
2298
|
alt?: string;
|
|
2222
2299
|
pixelated?: boolean;
|
|
2223
2300
|
}
|
|
2224
2301
|
|
|
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' | '';
|
|
2302
|
+
declare interface Props_14 {
|
|
2303
|
+
type?: 'neutral' | 'success' | 'danger' | 'error' | 'warning' | 'info' | '';
|
|
2234
2304
|
color?: string;
|
|
2235
2305
|
background?: string;
|
|
2236
2306
|
borderColor?: string;
|
|
2237
2307
|
pointer?: boolean;
|
|
2238
2308
|
}
|
|
2239
2309
|
|
|
2240
|
-
declare interface
|
|
2241
|
-
variant?: 'gap' | 'line' | 'text';
|
|
2242
|
-
size?: 'small' | 'medium' | 'big';
|
|
2243
|
-
}
|
|
2244
|
-
|
|
2245
|
-
declare interface Props_18 {
|
|
2310
|
+
declare interface Props_15 {
|
|
2246
2311
|
borderWidth?: number;
|
|
2247
2312
|
speed?: number;
|
|
2248
2313
|
/** Радиус размытия glow-эффекта позади рамки, px. Работает только при light. */
|
|
@@ -2253,34 +2318,7 @@ declare interface Props_18 {
|
|
|
2253
2318
|
light?: boolean;
|
|
2254
2319
|
}
|
|
2255
2320
|
|
|
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 {
|
|
2321
|
+
declare interface Props_16 {
|
|
2284
2322
|
size?: number;
|
|
2285
2323
|
right?: string | number;
|
|
2286
2324
|
bottom?: string | number;
|
|
@@ -2290,25 +2328,7 @@ declare interface Props_20 {
|
|
|
2290
2328
|
tabindex?: number;
|
|
2291
2329
|
}
|
|
2292
2330
|
|
|
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 {
|
|
2331
|
+
declare interface Props_17 {
|
|
2312
2332
|
/** Текущий список файлов — компонент сам не хранит состояние
|
|
2313
2333
|
* количества файлов, оно всегда отражает то, что передал родитель.
|
|
2314
2334
|
* Это и даёт возможность подтверждения: родитель решает, когда
|
|
@@ -2320,22 +2340,20 @@ declare interface Props_23 {
|
|
|
2320
2340
|
showClear?: boolean;
|
|
2321
2341
|
}
|
|
2322
2342
|
|
|
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 {
|
|
2343
|
+
declare interface Props_18 {
|
|
2333
2344
|
to?: string | Record<string, unknown>;
|
|
2334
2345
|
asNewTab?: boolean;
|
|
2335
2346
|
private?: boolean;
|
|
2336
2347
|
exactPath?: boolean;
|
|
2337
2348
|
}
|
|
2338
2349
|
|
|
2350
|
+
declare interface Props_2 {
|
|
2351
|
+
padding?: number | number[];
|
|
2352
|
+
radius?: number;
|
|
2353
|
+
shadow?: boolean;
|
|
2354
|
+
hover?: boolean;
|
|
2355
|
+
}
|
|
2356
|
+
|
|
2339
2357
|
declare interface Props_3 {
|
|
2340
2358
|
modelValue?: string | number;
|
|
2341
2359
|
type?: 'text' | 'password' | 'email' | 'number' | 'tel';
|
|
@@ -2369,21 +2387,25 @@ declare interface Props_6 {
|
|
|
2369
2387
|
}
|
|
2370
2388
|
|
|
2371
2389
|
declare interface Props_7 {
|
|
2372
|
-
title?: string;
|
|
2373
|
-
defaultOpen?: boolean;
|
|
2374
|
-
}
|
|
2375
|
-
|
|
2376
|
-
declare interface Props_8 {
|
|
2377
2390
|
text: string;
|
|
2378
2391
|
successMessage?: string;
|
|
2379
2392
|
}
|
|
2380
2393
|
|
|
2381
|
-
declare interface
|
|
2394
|
+
declare interface Props_8 {
|
|
2382
2395
|
size?: 'wide' | 'slim' | 'ultra-slim';
|
|
2383
2396
|
/** "свободно" болтается в разметке, без авто-центровки по горизонтали */
|
|
2384
2397
|
free?: boolean;
|
|
2385
2398
|
}
|
|
2386
2399
|
|
|
2400
|
+
declare interface Props_9 {
|
|
2401
|
+
tag?: string;
|
|
2402
|
+
justify?: 'flex-start' | 'flex-end' | 'center' | 'normal' | 'space-between' | 'space-around' | 'space-evenly';
|
|
2403
|
+
align?: 'stretch' | 'flex-start' | 'center' | 'flex-end' | 'baseline';
|
|
2404
|
+
direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
2405
|
+
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
2406
|
+
gap?: string;
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2387
2409
|
declare interface Tab {
|
|
2388
2410
|
key: string;
|
|
2389
2411
|
label: string;
|
|
@@ -2398,29 +2420,45 @@ export declare const TaoAvatar: DefineComponent<ExtractPropTypes<__VLS_WithDefau
|
|
|
2398
2420
|
src?: string;
|
|
2399
2421
|
name?: string;
|
|
2400
2422
|
alt?: string;
|
|
2401
|
-
size?: "s" | "m" | "l";
|
|
2423
|
+
size?: "small" | "medium" | "large" | "s" | "m" | "l";
|
|
2424
|
+
/** Точка статуса. `true` = success (в сети). */
|
|
2425
|
+
dot?: boolean | TaoAvatarDot;
|
|
2426
|
+
/** Счётчик в углу. 0 и пустое не рисуются, больше 99 — «99+». */
|
|
2427
|
+
count?: number | string;
|
|
2402
2428
|
}>, {
|
|
2403
2429
|
src: string;
|
|
2404
2430
|
name: string;
|
|
2405
2431
|
alt: string;
|
|
2406
2432
|
size: string;
|
|
2433
|
+
dot: boolean;
|
|
2434
|
+
count: undefined;
|
|
2407
2435
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_42<{
|
|
2408
2436
|
src?: string;
|
|
2409
2437
|
name?: string;
|
|
2410
2438
|
alt?: string;
|
|
2411
|
-
size?: "s" | "m" | "l";
|
|
2439
|
+
size?: "small" | "medium" | "large" | "s" | "m" | "l";
|
|
2440
|
+
/** Точка статуса. `true` = success (в сети). */
|
|
2441
|
+
dot?: boolean | TaoAvatarDot;
|
|
2442
|
+
/** Счётчик в углу. 0 и пустое не рисуются, больше 99 — «99+». */
|
|
2443
|
+
count?: number | string;
|
|
2412
2444
|
}>, {
|
|
2413
2445
|
src: string;
|
|
2414
2446
|
name: string;
|
|
2415
2447
|
alt: string;
|
|
2416
2448
|
size: string;
|
|
2449
|
+
dot: boolean;
|
|
2450
|
+
count: undefined;
|
|
2417
2451
|
}>>> & Readonly<{}>, {
|
|
2418
2452
|
name: string;
|
|
2419
2453
|
src: string;
|
|
2420
2454
|
alt: string;
|
|
2421
|
-
size: "s" | "m" | "l";
|
|
2455
|
+
size: "small" | "medium" | "large" | "s" | "m" | "l";
|
|
2456
|
+
dot: boolean | TaoAvatarDot;
|
|
2457
|
+
count: number | string;
|
|
2422
2458
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2423
2459
|
|
|
2460
|
+
declare type TaoAvatarDot = 'success' | 'danger' | 'warning' | 'info' | 'neutral' | 'error';
|
|
2461
|
+
|
|
2424
2462
|
export declare const TaoBlock: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, ReturnType<typeof __VLS_template_2>>;
|
|
2425
2463
|
|
|
2426
2464
|
export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_43<{
|
|
@@ -2566,6 +2604,12 @@ export declare const TaoDivider: __VLS_WithTemplateSlots_18<typeof __VLS_compone
|
|
|
2566
2604
|
|
|
2567
2605
|
export declare const TaoDrawer: __VLS_WithTemplateSlots_33<typeof __VLS_component_33, ReturnType<typeof __VLS_template_33>>;
|
|
2568
2606
|
|
|
2607
|
+
export declare interface TaoDropdownAction {
|
|
2608
|
+
id: string;
|
|
2609
|
+
name: string;
|
|
2610
|
+
ico?: string;
|
|
2611
|
+
}
|
|
2612
|
+
|
|
2569
2613
|
export declare const TaoDropdownMenu: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, ReturnType<typeof __VLS_template_24>>;
|
|
2570
2614
|
|
|
2571
2615
|
export declare const TaoEmpty: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, ReturnType<typeof __VLS_template_32>>;
|
|
@@ -2638,11 +2682,11 @@ controls: boolean;
|
|
|
2638
2682
|
|
|
2639
2683
|
export declare const TaoLink: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, ReturnType<typeof __VLS_template_25>>;
|
|
2640
2684
|
|
|
2641
|
-
export declare const TaoLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_16<
|
|
2685
|
+
export declare const TaoLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_16<Props_12>, {
|
|
2642
2686
|
color: string;
|
|
2643
2687
|
size: number;
|
|
2644
2688
|
inline: boolean;
|
|
2645
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_16<
|
|
2689
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_16<Props_12>, {
|
|
2646
2690
|
color: string;
|
|
2647
2691
|
size: number;
|
|
2648
2692
|
inline: boolean;
|
|
@@ -2722,28 +2766,54 @@ export declare type TaoPaginationItem = {
|
|
|
2722
2766
|
id: 'left' | 'right';
|
|
2723
2767
|
};
|
|
2724
2768
|
|
|
2725
|
-
export declare const TaoPinCode: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_28<
|
|
2769
|
+
export declare const TaoPinCode: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_28<{
|
|
2770
|
+
length: number;
|
|
2771
|
+
hidden?: boolean;
|
|
2772
|
+
placeholder?: string;
|
|
2773
|
+
modelValue?: string;
|
|
2774
|
+
numbersOnly?: boolean;
|
|
2775
|
+
/** `focus` — клик сбрасывает ячейку и все справа (неверный код, набор заново).
|
|
2776
|
+
* `input` — цифра остаётся, пока не введут новую. */
|
|
2777
|
+
clearOn?: "focus" | "input";
|
|
2778
|
+
}>, {
|
|
2726
2779
|
hidden: boolean;
|
|
2727
2780
|
placeholder: string;
|
|
2781
|
+
modelValue: string;
|
|
2728
2782
|
numbersOnly: boolean;
|
|
2783
|
+
clearOn: string;
|
|
2729
2784
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2730
|
-
active: (
|
|
2731
|
-
"update:modelValue": (
|
|
2732
|
-
change: (
|
|
2733
|
-
blur: (
|
|
2734
|
-
|
|
2785
|
+
active: (el: HTMLInputElement | null, index: number) => void;
|
|
2786
|
+
"update:modelValue": (value: string) => void;
|
|
2787
|
+
change: (value: string) => void;
|
|
2788
|
+
blur: () => void;
|
|
2789
|
+
complete: (value: string) => void;
|
|
2790
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_28<{
|
|
2791
|
+
length: number;
|
|
2792
|
+
hidden?: boolean;
|
|
2793
|
+
placeholder?: string;
|
|
2794
|
+
modelValue?: string;
|
|
2795
|
+
numbersOnly?: boolean;
|
|
2796
|
+
/** `focus` — клик сбрасывает ячейку и все справа (неверный код, набор заново).
|
|
2797
|
+
* `input` — цифра остаётся, пока не введут новую. */
|
|
2798
|
+
clearOn?: "focus" | "input";
|
|
2799
|
+
}>, {
|
|
2735
2800
|
hidden: boolean;
|
|
2736
2801
|
placeholder: string;
|
|
2802
|
+
modelValue: string;
|
|
2737
2803
|
numbersOnly: boolean;
|
|
2804
|
+
clearOn: string;
|
|
2738
2805
|
}>>> & Readonly<{
|
|
2739
|
-
onActive?: ((
|
|
2740
|
-
"onUpdate:modelValue"?: ((
|
|
2741
|
-
onChange?: ((
|
|
2742
|
-
onBlur?: ((
|
|
2806
|
+
onActive?: ((el: HTMLInputElement | null, index: number) => any) | undefined;
|
|
2807
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
2808
|
+
onChange?: ((value: string) => any) | undefined;
|
|
2809
|
+
onBlur?: (() => any) | undefined;
|
|
2810
|
+
onComplete?: ((value: string) => any) | undefined;
|
|
2743
2811
|
}>, {
|
|
2744
2812
|
placeholder: string;
|
|
2813
|
+
modelValue: string;
|
|
2745
2814
|
hidden: boolean;
|
|
2746
2815
|
numbersOnly: boolean;
|
|
2816
|
+
clearOn: "focus" | "input";
|
|
2747
2817
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2748
2818
|
|
|
2749
2819
|
export declare const TaoProgress: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, ReturnType<typeof __VLS_template_21>>;
|
|
@@ -2823,8 +2893,8 @@ placeholder: string;
|
|
|
2823
2893
|
disabled: boolean;
|
|
2824
2894
|
error: boolean;
|
|
2825
2895
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2826
|
-
"update:modelValue": (value: string | number) => void;
|
|
2827
|
-
change: (value: string | number) => void;
|
|
2896
|
+
"update:modelValue": (value: string | number | null) => void;
|
|
2897
|
+
change: (value: string | number | null) => void;
|
|
2828
2898
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_31<{
|
|
2829
2899
|
modelValue?: string | number | null;
|
|
2830
2900
|
options?: TaoSelectOption[];
|
|
@@ -2838,8 +2908,8 @@ placeholder: string;
|
|
|
2838
2908
|
disabled: boolean;
|
|
2839
2909
|
error: boolean;
|
|
2840
2910
|
}>>> & Readonly<{
|
|
2841
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
2842
|
-
onChange?: ((value: string | number) => any) | undefined;
|
|
2911
|
+
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
2912
|
+
onChange?: ((value: string | number | null) => any) | undefined;
|
|
2843
2913
|
}>, {
|
|
2844
2914
|
error: boolean;
|
|
2845
2915
|
disabled: boolean;
|
|
@@ -2890,7 +2960,8 @@ export declare const TaoSpoiler: __VLS_WithTemplateSlots_9<typeof __VLS_componen
|
|
|
2890
2960
|
export declare interface TaoStageItem {
|
|
2891
2961
|
key: string;
|
|
2892
2962
|
label?: string;
|
|
2893
|
-
|
|
2963
|
+
/** `danger` — синоним `bad` */
|
|
2964
|
+
status?: TaoStageStatus | 'danger';
|
|
2894
2965
|
}
|
|
2895
2966
|
|
|
2896
2967
|
export declare const TaoStages: __VLS_WithTemplateSlots_35<typeof __VLS_component_35, ReturnType<typeof __VLS_template_35>>;
|
|
@@ -2921,7 +2992,29 @@ export declare const TaoTabs: __VLS_WithTemplateSlots_7<typeof __VLS_component_7
|
|
|
2921
2992
|
|
|
2922
2993
|
export declare const TaoTag: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, ReturnType<typeof __VLS_template_17>>;
|
|
2923
2994
|
|
|
2924
|
-
export declare const TaoTextarea: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_22<
|
|
2995
|
+
export declare const TaoTextarea: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_22<{
|
|
2996
|
+
placeholder?: string;
|
|
2997
|
+
spellcheck?: boolean;
|
|
2998
|
+
autocomplete?: string;
|
|
2999
|
+
minlength?: number;
|
|
3000
|
+
maxlength?: number;
|
|
3001
|
+
disabled?: boolean;
|
|
3002
|
+
noSpace?: boolean;
|
|
3003
|
+
dummy?: boolean;
|
|
3004
|
+
rows?: number;
|
|
3005
|
+
resize?: boolean;
|
|
3006
|
+
modelValue?: string;
|
|
3007
|
+
noBorder?: boolean;
|
|
3008
|
+
noBackground?: boolean;
|
|
3009
|
+
autoFocus?: boolean;
|
|
3010
|
+
borderInverse?: boolean;
|
|
3011
|
+
textCenter?: boolean;
|
|
3012
|
+
submitOnEnter?: boolean;
|
|
3013
|
+
error?: boolean;
|
|
3014
|
+
id?: string;
|
|
3015
|
+
/** Показать «введено / максимум» под полем. Имеет смысл вместе с `maxlength`. */
|
|
3016
|
+
count?: boolean;
|
|
3017
|
+
}>, {
|
|
2925
3018
|
placeholder: string;
|
|
2926
3019
|
spellcheck: boolean;
|
|
2927
3020
|
autocomplete: string;
|
|
@@ -2939,13 +3032,37 @@ autoFocus: boolean;
|
|
|
2939
3032
|
borderInverse: boolean;
|
|
2940
3033
|
textCenter: boolean;
|
|
2941
3034
|
submitOnEnter: boolean;
|
|
3035
|
+
error: boolean;
|
|
3036
|
+
count: boolean;
|
|
2942
3037
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2943
3038
|
"update:modelValue": (...args: any[]) => void;
|
|
2944
3039
|
change: (...args: any[]) => void;
|
|
2945
3040
|
keydown: (...args: any[]) => void;
|
|
2946
3041
|
blur: (...args: any[]) => void;
|
|
2947
3042
|
focus: (...args: any[]) => void;
|
|
2948
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_22<
|
|
3043
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_22<{
|
|
3044
|
+
placeholder?: string;
|
|
3045
|
+
spellcheck?: boolean;
|
|
3046
|
+
autocomplete?: string;
|
|
3047
|
+
minlength?: number;
|
|
3048
|
+
maxlength?: number;
|
|
3049
|
+
disabled?: boolean;
|
|
3050
|
+
noSpace?: boolean;
|
|
3051
|
+
dummy?: boolean;
|
|
3052
|
+
rows?: number;
|
|
3053
|
+
resize?: boolean;
|
|
3054
|
+
modelValue?: string;
|
|
3055
|
+
noBorder?: boolean;
|
|
3056
|
+
noBackground?: boolean;
|
|
3057
|
+
autoFocus?: boolean;
|
|
3058
|
+
borderInverse?: boolean;
|
|
3059
|
+
textCenter?: boolean;
|
|
3060
|
+
submitOnEnter?: boolean;
|
|
3061
|
+
error?: boolean;
|
|
3062
|
+
id?: string;
|
|
3063
|
+
/** Показать «введено / максимум» под полем. Имеет смысл вместе с `maxlength`. */
|
|
3064
|
+
count?: boolean;
|
|
3065
|
+
}>, {
|
|
2949
3066
|
placeholder: string;
|
|
2950
3067
|
spellcheck: boolean;
|
|
2951
3068
|
autocomplete: string;
|
|
@@ -2963,6 +3080,8 @@ autoFocus: boolean;
|
|
|
2963
3080
|
borderInverse: boolean;
|
|
2964
3081
|
textCenter: boolean;
|
|
2965
3082
|
submitOnEnter: boolean;
|
|
3083
|
+
error: boolean;
|
|
3084
|
+
count: boolean;
|
|
2966
3085
|
}>>> & Readonly<{
|
|
2967
3086
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2968
3087
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -2970,6 +3089,8 @@ onKeydown?: ((...args: any[]) => any) | undefined;
|
|
|
2970
3089
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
2971
3090
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
2972
3091
|
}>, {
|
|
3092
|
+
error: boolean;
|
|
3093
|
+
count: boolean;
|
|
2973
3094
|
disabled: boolean;
|
|
2974
3095
|
placeholder: string;
|
|
2975
3096
|
modelValue: string;
|
|
@@ -2998,6 +3119,7 @@ export declare interface TaoToastApi {
|
|
|
2998
3119
|
(): TaoToastBuilder;
|
|
2999
3120
|
success(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
3000
3121
|
error(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
3122
|
+
danger(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
3001
3123
|
warning(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
3002
3124
|
info(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
3003
3125
|
show(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
@@ -3012,6 +3134,7 @@ export declare interface TaoToastApi {
|
|
|
3012
3134
|
export declare interface TaoToastBuilder {
|
|
3013
3135
|
success(): TaoToastBuilder;
|
|
3014
3136
|
error(): TaoToastBuilder;
|
|
3137
|
+
danger(): TaoToastBuilder;
|
|
3015
3138
|
warning(): TaoToastBuilder;
|
|
3016
3139
|
info(): TaoToastBuilder;
|
|
3017
3140
|
show(): TaoToastBuilder;
|
|
@@ -3078,7 +3201,7 @@ export declare interface TaoToastShortcutOptions {
|
|
|
3078
3201
|
onClosed?: () => void;
|
|
3079
3202
|
}
|
|
3080
3203
|
|
|
3081
|
-
export declare type TaoToastType = 'success' | 'error' | 'warning' | 'info' | 'neutral';
|
|
3204
|
+
export declare type TaoToastType = 'success' | 'error' | 'danger' | 'warning' | 'info' | 'neutral';
|
|
3082
3205
|
|
|
3083
3206
|
export declare const TaoToastViewport: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3084
3207
|
|