@1337exp/taoui 1.3.5 → 1.5.0
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 +24 -4
- package/README.ru.md +24 -4
- package/dist/index.cjs +742 -334
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +255 -88
- package/dist/index.mjs +743 -335
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +395 -103
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
11
11
|
type: string;
|
|
12
12
|
size: string;
|
|
13
13
|
variant: string;
|
|
14
|
+
tone: string;
|
|
14
15
|
disabled: boolean;
|
|
15
16
|
loading: boolean;
|
|
16
17
|
block: boolean;
|
|
@@ -21,6 +22,7 @@ click: (...args: any[]) => void;
|
|
|
21
22
|
type: string;
|
|
22
23
|
size: string;
|
|
23
24
|
variant: string;
|
|
25
|
+
tone: string;
|
|
24
26
|
disabled: boolean;
|
|
25
27
|
loading: boolean;
|
|
26
28
|
block: boolean;
|
|
@@ -29,9 +31,10 @@ icon: string;
|
|
|
29
31
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
30
32
|
}>, {
|
|
31
33
|
type: "button" | "submit" | "reset";
|
|
34
|
+
tone: "danger" | "success" | "warning" | "info" | "";
|
|
32
35
|
size: "small" | "medium" | "large";
|
|
33
36
|
disabled: boolean;
|
|
34
|
-
variant: "primary" | "secondary" | "ghost" | "danger";
|
|
37
|
+
variant: "primary" | "secondary" | "ghost" | "text" | "danger";
|
|
35
38
|
loading: boolean;
|
|
36
39
|
block: boolean;
|
|
37
40
|
icon: string;
|
|
@@ -109,10 +112,10 @@ successMessage: string;
|
|
|
109
112
|
tip: boolean;
|
|
110
113
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
111
114
|
|
|
112
|
-
declare const __VLS_component_13: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_14<
|
|
115
|
+
declare const __VLS_component_13: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_14<Props_6>, {
|
|
113
116
|
size: string;
|
|
114
117
|
free: boolean;
|
|
115
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_14<
|
|
118
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_14<Props_6>, {
|
|
116
119
|
size: string;
|
|
117
120
|
free: boolean;
|
|
118
121
|
}>>> & Readonly<{}>, {
|
|
@@ -120,14 +123,14 @@ size: "wide" | "slim" | "ultra-slim";
|
|
|
120
123
|
free: boolean;
|
|
121
124
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
122
125
|
|
|
123
|
-
declare const __VLS_component_14: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_15<
|
|
126
|
+
declare const __VLS_component_14: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_15<Props_7>, {
|
|
124
127
|
tag: string;
|
|
125
128
|
justify: string;
|
|
126
129
|
align: string;
|
|
127
130
|
direction: string;
|
|
128
131
|
wrap: string;
|
|
129
132
|
gap: string;
|
|
130
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_15<
|
|
133
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_15<Props_7>, {
|
|
131
134
|
tag: string;
|
|
132
135
|
justify: string;
|
|
133
136
|
align: string;
|
|
@@ -143,11 +146,11 @@ justify: "flex-start" | "flex-end" | "center" | "normal" | "space-between" | "sp
|
|
|
143
146
|
direction: "row" | "row-reverse" | "column" | "column-reverse";
|
|
144
147
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
145
148
|
|
|
146
|
-
declare const __VLS_component_15: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_16<
|
|
149
|
+
declare const __VLS_component_15: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_16<Props_8>, {
|
|
147
150
|
block: boolean;
|
|
148
151
|
expand: boolean;
|
|
149
152
|
vertical: boolean;
|
|
150
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_16<
|
|
153
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_16<Props_8>, {
|
|
151
154
|
block: boolean;
|
|
152
155
|
expand: boolean;
|
|
153
156
|
vertical: boolean;
|
|
@@ -157,15 +160,15 @@ expand: boolean;
|
|
|
157
160
|
vertical: boolean;
|
|
158
161
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
159
162
|
|
|
160
|
-
declare const __VLS_component_16: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_17<
|
|
163
|
+
declare const __VLS_component_16: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_17<Props_9>, {
|
|
161
164
|
margin: string;
|
|
162
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_17<
|
|
165
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_17<Props_9>, {
|
|
163
166
|
margin: string;
|
|
164
167
|
}>>> & Readonly<{}>, {
|
|
165
168
|
margin: string;
|
|
166
169
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
167
170
|
|
|
168
|
-
declare const __VLS_component_17: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_19<
|
|
171
|
+
declare const __VLS_component_17: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_19<Props_11>, {
|
|
169
172
|
src: string;
|
|
170
173
|
alt: string;
|
|
171
174
|
pixelated: boolean;
|
|
@@ -173,7 +176,7 @@ lazy: boolean;
|
|
|
173
176
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
174
177
|
error: (...args: any[]) => void;
|
|
175
178
|
load: (...args: any[]) => void;
|
|
176
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_19<
|
|
179
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_19<Props_11>, {
|
|
177
180
|
src: string;
|
|
178
181
|
alt: string;
|
|
179
182
|
pixelated: boolean;
|
|
@@ -233,15 +236,28 @@ value: boolean;
|
|
|
233
236
|
indeterminate: boolean;
|
|
234
237
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
235
238
|
|
|
236
|
-
declare const __VLS_component_19: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_21<
|
|
239
|
+
declare const __VLS_component_19: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_21<Props_12>, {
|
|
237
240
|
type: string;
|
|
238
241
|
pointer: boolean;
|
|
239
|
-
|
|
242
|
+
closable: boolean;
|
|
243
|
+
closeLabel: string;
|
|
244
|
+
flat: boolean;
|
|
245
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
246
|
+
close: (event: MouseEvent) => void;
|
|
247
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_21<Props_12>, {
|
|
240
248
|
type: string;
|
|
241
249
|
pointer: boolean;
|
|
242
|
-
|
|
250
|
+
closable: boolean;
|
|
251
|
+
closeLabel: string;
|
|
252
|
+
flat: boolean;
|
|
253
|
+
}>>> & Readonly<{
|
|
254
|
+
onClose?: ((event: MouseEvent) => any) | undefined;
|
|
255
|
+
}>, {
|
|
256
|
+
flat: boolean;
|
|
243
257
|
type: "neutral" | "success" | "danger" | "error" | "warning" | "info" | "";
|
|
258
|
+
closable: boolean;
|
|
244
259
|
pointer: boolean;
|
|
260
|
+
closeLabel: string;
|
|
245
261
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
246
262
|
|
|
247
263
|
declare const __VLS_component_2: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<Props_2>, {
|
|
@@ -297,12 +313,12 @@ legend: string;
|
|
|
297
313
|
align: "start" | "center" | "end";
|
|
298
314
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
299
315
|
|
|
300
|
-
declare const __VLS_component_22: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_24<
|
|
316
|
+
declare const __VLS_component_22: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_24<Props_13>, {
|
|
301
317
|
borderWidth: number;
|
|
302
318
|
speed: number;
|
|
303
319
|
glow: number;
|
|
304
320
|
light: boolean;
|
|
305
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_24<
|
|
321
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_24<Props_13>, {
|
|
306
322
|
borderWidth: number;
|
|
307
323
|
speed: number;
|
|
308
324
|
glow: number;
|
|
@@ -314,7 +330,7 @@ glow: number;
|
|
|
314
330
|
light: boolean;
|
|
315
331
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
316
332
|
|
|
317
|
-
declare const __VLS_component_23: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_26<
|
|
333
|
+
declare const __VLS_component_23: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_26<Props_14>, {
|
|
318
334
|
size: number;
|
|
319
335
|
right: number;
|
|
320
336
|
bottom: number;
|
|
@@ -322,7 +338,7 @@ zIndex: number;
|
|
|
322
338
|
boundary: number;
|
|
323
339
|
hasOutline: boolean;
|
|
324
340
|
tabindex: number;
|
|
325
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_26<
|
|
341
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_26<Props_14>, {
|
|
326
342
|
size: number;
|
|
327
343
|
right: number;
|
|
328
344
|
bottom: number;
|
|
@@ -443,7 +459,7 @@ min: number;
|
|
|
443
459
|
showValue: boolean;
|
|
444
460
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
445
461
|
|
|
446
|
-
declare const __VLS_component_26: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_29<
|
|
462
|
+
declare const __VLS_component_26: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_29<Props_15>, {
|
|
447
463
|
modelValue: () => never[];
|
|
448
464
|
size: string;
|
|
449
465
|
accept: string;
|
|
@@ -454,7 +470,7 @@ list: boolean;
|
|
|
454
470
|
"update:modelValue": (files: File[]) => void;
|
|
455
471
|
files: (files: File[]) => void;
|
|
456
472
|
"clear-request": () => void;
|
|
457
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_29<
|
|
473
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_29<Props_15>, {
|
|
458
474
|
modelValue: () => never[];
|
|
459
475
|
size: string;
|
|
460
476
|
accept: string;
|
|
@@ -490,12 +506,12 @@ onSelected?: ((...args: any[]) => any) | undefined;
|
|
|
490
506
|
actions: TaoDropdownAction[];
|
|
491
507
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
492
508
|
|
|
493
|
-
declare const __VLS_component_28: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_32<
|
|
509
|
+
declare const __VLS_component_28: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_32<Props_16>, {
|
|
494
510
|
to: undefined;
|
|
495
511
|
asNewTab: boolean;
|
|
496
512
|
private: boolean;
|
|
497
513
|
exactPath: boolean;
|
|
498
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_32<
|
|
514
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_32<Props_16>, {
|
|
499
515
|
to: undefined;
|
|
500
516
|
asNewTab: boolean;
|
|
501
517
|
private: boolean;
|
|
@@ -638,6 +654,78 @@ direction: "row" | "column";
|
|
|
638
654
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
639
655
|
|
|
640
656
|
declare const __VLS_component_33: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_41<{
|
|
657
|
+
modelValue?: TaoRadioValue;
|
|
658
|
+
name?: string;
|
|
659
|
+
legend?: string;
|
|
660
|
+
disabled?: boolean;
|
|
661
|
+
size?: TaoSegmentedSize;
|
|
662
|
+
block?: boolean;
|
|
663
|
+
}>, {
|
|
664
|
+
disabled: boolean;
|
|
665
|
+
size: string;
|
|
666
|
+
block: boolean;
|
|
667
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
668
|
+
"update:modelValue": (value: TaoRadioValue) => void;
|
|
669
|
+
change: (value: TaoRadioValue) => void;
|
|
670
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_41<{
|
|
671
|
+
modelValue?: TaoRadioValue;
|
|
672
|
+
name?: string;
|
|
673
|
+
legend?: string;
|
|
674
|
+
disabled?: boolean;
|
|
675
|
+
size?: TaoSegmentedSize;
|
|
676
|
+
block?: boolean;
|
|
677
|
+
}>, {
|
|
678
|
+
disabled: boolean;
|
|
679
|
+
size: string;
|
|
680
|
+
block: boolean;
|
|
681
|
+
}>>> & Readonly<{
|
|
682
|
+
"onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
|
|
683
|
+
onChange?: ((value: TaoRadioValue) => any) | undefined;
|
|
684
|
+
}>, {
|
|
685
|
+
size: TaoSegmentedSize;
|
|
686
|
+
disabled: boolean;
|
|
687
|
+
block: boolean;
|
|
688
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
689
|
+
|
|
690
|
+
declare const __VLS_component_34: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_42<{
|
|
691
|
+
value: TaoRadioValue;
|
|
692
|
+
modelValue?: TaoRadioValue;
|
|
693
|
+
name?: string;
|
|
694
|
+
label?: string;
|
|
695
|
+
icon?: string;
|
|
696
|
+
count?: number | string;
|
|
697
|
+
disabled?: boolean;
|
|
698
|
+
ariaLabel?: string;
|
|
699
|
+
}>, {
|
|
700
|
+
label: string;
|
|
701
|
+
icon: string;
|
|
702
|
+
disabled: boolean;
|
|
703
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
704
|
+
"update:modelValue": (value: TaoRadioValue) => void;
|
|
705
|
+
change: (value: TaoRadioValue) => void;
|
|
706
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_42<{
|
|
707
|
+
value: TaoRadioValue;
|
|
708
|
+
modelValue?: TaoRadioValue;
|
|
709
|
+
name?: string;
|
|
710
|
+
label?: string;
|
|
711
|
+
icon?: string;
|
|
712
|
+
count?: number | string;
|
|
713
|
+
disabled?: boolean;
|
|
714
|
+
ariaLabel?: string;
|
|
715
|
+
}>, {
|
|
716
|
+
label: string;
|
|
717
|
+
icon: string;
|
|
718
|
+
disabled: boolean;
|
|
719
|
+
}>>> & Readonly<{
|
|
720
|
+
"onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
|
|
721
|
+
onChange?: ((value: TaoRadioValue) => any) | undefined;
|
|
722
|
+
}>, {
|
|
723
|
+
label: string;
|
|
724
|
+
disabled: boolean;
|
|
725
|
+
icon: string;
|
|
726
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
727
|
+
|
|
728
|
+
declare const __VLS_component_35: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_43<{
|
|
641
729
|
type?: "success" | "error" | "danger" | "warning" | "info" | "neutral";
|
|
642
730
|
title?: string;
|
|
643
731
|
closable?: boolean;
|
|
@@ -647,7 +735,7 @@ title: string;
|
|
|
647
735
|
closable: boolean;
|
|
648
736
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
649
737
|
close: () => void;
|
|
650
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
738
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_43<{
|
|
651
739
|
type?: "success" | "error" | "danger" | "warning" | "info" | "neutral";
|
|
652
740
|
title?: string;
|
|
653
741
|
closable?: boolean;
|
|
@@ -663,7 +751,7 @@ title: string;
|
|
|
663
751
|
closable: boolean;
|
|
664
752
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
665
753
|
|
|
666
|
-
declare const
|
|
754
|
+
declare const __VLS_component_36: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_44<{
|
|
667
755
|
columns: TaoTableColumn[];
|
|
668
756
|
rows?: Record<string, unknown>[];
|
|
669
757
|
rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
|
|
@@ -694,7 +782,7 @@ caption: string;
|
|
|
694
782
|
sort: (value: TaoTableSort | null) => void;
|
|
695
783
|
"update:sort": (value: TaoTableSort | null) => void;
|
|
696
784
|
"row-click": (row: Record<string, unknown>, index: number) => void;
|
|
697
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
785
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_44<{
|
|
698
786
|
columns: TaoTableColumn[];
|
|
699
787
|
rows?: Record<string, unknown>[];
|
|
700
788
|
rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
|
|
@@ -740,11 +828,11 @@ maxHeight: string;
|
|
|
740
828
|
clickable: boolean;
|
|
741
829
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
742
830
|
|
|
743
|
-
declare const
|
|
831
|
+
declare const __VLS_component_37: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_46<{
|
|
744
832
|
title?: string;
|
|
745
833
|
}>, {
|
|
746
834
|
title: string;
|
|
747
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
835
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_46<{
|
|
748
836
|
title?: string;
|
|
749
837
|
}>, {
|
|
750
838
|
title: string;
|
|
@@ -752,7 +840,7 @@ title: string;
|
|
|
752
840
|
title: string;
|
|
753
841
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
754
842
|
|
|
755
|
-
declare const
|
|
843
|
+
declare const __VLS_component_38: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_48<{
|
|
756
844
|
modelValue: boolean;
|
|
757
845
|
title?: string;
|
|
758
846
|
side?: "left" | "right";
|
|
@@ -764,7 +852,7 @@ closable: boolean;
|
|
|
764
852
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
765
853
|
close: (...args: any[]) => void;
|
|
766
854
|
"update:modelValue": (...args: any[]) => void;
|
|
767
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
855
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_48<{
|
|
768
856
|
modelValue: boolean;
|
|
769
857
|
title?: string;
|
|
770
858
|
side?: "left" | "right";
|
|
@@ -782,7 +870,7 @@ closable: boolean;
|
|
|
782
870
|
side: "left" | "right";
|
|
783
871
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
784
872
|
|
|
785
|
-
declare const
|
|
873
|
+
declare const __VLS_component_39: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<{
|
|
786
874
|
modelValue?: number;
|
|
787
875
|
peek?: number;
|
|
788
876
|
/** How many slides fit in the viewport. 5 = product strip. 1 = one card. */
|
|
@@ -806,7 +894,7 @@ ariaLabel: string;
|
|
|
806
894
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
807
895
|
"update:modelValue": (value: number) => void;
|
|
808
896
|
change: (value: number) => void;
|
|
809
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
897
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<{
|
|
810
898
|
modelValue?: number;
|
|
811
899
|
peek?: number;
|
|
812
900
|
/** How many slides fit in the viewport. 5 = product strip. 1 = one card. */
|
|
@@ -841,7 +929,9 @@ dots: boolean;
|
|
|
841
929
|
ariaLabel: string;
|
|
842
930
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
843
931
|
|
|
844
|
-
declare const
|
|
932
|
+
declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
933
|
+
|
|
934
|
+
declare const __VLS_component_40: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<{
|
|
845
935
|
items?: TaoStageItem[];
|
|
846
936
|
vertical?: boolean;
|
|
847
937
|
ariaLabel?: string;
|
|
@@ -849,7 +939,7 @@ ariaLabel?: string;
|
|
|
849
939
|
items: () => never[];
|
|
850
940
|
vertical: boolean;
|
|
851
941
|
ariaLabel: string;
|
|
852
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
942
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<{
|
|
853
943
|
items?: TaoStageItem[];
|
|
854
944
|
vertical?: boolean;
|
|
855
945
|
ariaLabel?: string;
|
|
@@ -863,8 +953,6 @@ ariaLabel: string;
|
|
|
863
953
|
vertical: boolean;
|
|
864
954
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
865
955
|
|
|
866
|
-
declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
867
|
-
|
|
868
956
|
declare const __VLS_component_5: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<Props_4>, {
|
|
869
957
|
padding: number;
|
|
870
958
|
radius: number;
|
|
@@ -920,12 +1008,18 @@ modelValue: string;
|
|
|
920
1008
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
921
1009
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
922
1010
|
|
|
923
|
-
declare const __VLS_component_8: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_9<
|
|
1011
|
+
declare const __VLS_component_8: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_9<{
|
|
1012
|
+
content: string;
|
|
1013
|
+
position?: TaoTooltipPosition;
|
|
1014
|
+
}>, {
|
|
924
1015
|
position: string;
|
|
925
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_9<
|
|
1016
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_9<{
|
|
1017
|
+
content: string;
|
|
1018
|
+
position?: TaoTooltipPosition;
|
|
1019
|
+
}>, {
|
|
926
1020
|
position: string;
|
|
927
1021
|
}>>> & Readonly<{}>, {
|
|
928
|
-
position:
|
|
1022
|
+
position: TaoTooltipPosition;
|
|
929
1023
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
930
1024
|
|
|
931
1025
|
declare const __VLS_component_9: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_10<{
|
|
@@ -1050,6 +1144,10 @@ declare type __VLS_NonUndefinedable_50<T> = T extends undefined ? never : T;
|
|
|
1050
1144
|
|
|
1051
1145
|
declare type __VLS_NonUndefinedable_51<T> = T extends undefined ? never : T;
|
|
1052
1146
|
|
|
1147
|
+
declare type __VLS_NonUndefinedable_52<T> = T extends undefined ? never : T;
|
|
1148
|
+
|
|
1149
|
+
declare type __VLS_NonUndefinedable_53<T> = T extends undefined ? never : T;
|
|
1150
|
+
|
|
1053
1151
|
declare type __VLS_NonUndefinedable_6<T> = T extends undefined ? never : T;
|
|
1054
1152
|
|
|
1055
1153
|
declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
|
|
@@ -1230,10 +1328,18 @@ declare type __VLS_Prettify_48<T> = {
|
|
|
1230
1328
|
[K in keyof T]: T[K];
|
|
1231
1329
|
} & {};
|
|
1232
1330
|
|
|
1331
|
+
declare type __VLS_Prettify_49<T> = {
|
|
1332
|
+
[K in keyof T]: T[K];
|
|
1333
|
+
} & {};
|
|
1334
|
+
|
|
1233
1335
|
declare type __VLS_Prettify_5<T> = {
|
|
1234
1336
|
[K in keyof T]: T[K];
|
|
1235
1337
|
} & {};
|
|
1236
1338
|
|
|
1339
|
+
declare type __VLS_Prettify_50<T> = {
|
|
1340
|
+
[K in keyof T]: T[K];
|
|
1341
|
+
} & {};
|
|
1342
|
+
|
|
1237
1343
|
declare type __VLS_Prettify_6<T> = {
|
|
1238
1344
|
[K in keyof T]: T[K];
|
|
1239
1345
|
} & {};
|
|
@@ -1302,6 +1408,7 @@ declare function __VLS_template_18(): {
|
|
|
1302
1408
|
};
|
|
1303
1409
|
|
|
1304
1410
|
declare function __VLS_template_19(): {
|
|
1411
|
+
prefix?(_: {}): any;
|
|
1305
1412
|
default?(_: {}): any;
|
|
1306
1413
|
};
|
|
1307
1414
|
|
|
@@ -1378,7 +1485,16 @@ declare function __VLS_template_33(): {
|
|
|
1378
1485
|
default?(_: {}): any;
|
|
1379
1486
|
};
|
|
1380
1487
|
|
|
1381
|
-
declare function __VLS_template_34():
|
|
1488
|
+
declare function __VLS_template_34(): {
|
|
1489
|
+
icon?(_: {}): any;
|
|
1490
|
+
default?(_: {}): any;
|
|
1491
|
+
};
|
|
1492
|
+
|
|
1493
|
+
declare function __VLS_template_35(): {
|
|
1494
|
+
default?(_: {}): any;
|
|
1495
|
+
};
|
|
1496
|
+
|
|
1497
|
+
declare function __VLS_template_36(): Partial<Record<`cell-${string}`, (_: {
|
|
1382
1498
|
row: Record<string, unknown>;
|
|
1383
1499
|
column: TaoTableColumn<Record<string, unknown>>;
|
|
1384
1500
|
value: unknown;
|
|
@@ -1394,18 +1510,18 @@ declare function __VLS_template_34(): Partial<Record<`cell-${string}`, (_: {
|
|
|
1394
1510
|
loading?(_: {}): any;
|
|
1395
1511
|
};
|
|
1396
1512
|
|
|
1397
|
-
declare function
|
|
1513
|
+
declare function __VLS_template_37(): {
|
|
1398
1514
|
icon?(_: {}): any;
|
|
1399
1515
|
default?(_: {}): any;
|
|
1400
1516
|
action?(_: {}): any;
|
|
1401
1517
|
};
|
|
1402
1518
|
|
|
1403
|
-
declare function
|
|
1519
|
+
declare function __VLS_template_38(): {
|
|
1404
1520
|
default?(_: {}): any;
|
|
1405
1521
|
footer?(_: {}): any;
|
|
1406
1522
|
};
|
|
1407
1523
|
|
|
1408
|
-
declare function
|
|
1524
|
+
declare function __VLS_template_39(): Readonly<{
|
|
1409
1525
|
default(): unknown;
|
|
1410
1526
|
prev(props: {
|
|
1411
1527
|
disabled: boolean;
|
|
@@ -1447,7 +1563,13 @@ declare function __VLS_template_37(): Readonly<{
|
|
|
1447
1563
|
}): unknown;
|
|
1448
1564
|
};
|
|
1449
1565
|
|
|
1450
|
-
declare function
|
|
1566
|
+
declare function __VLS_template_4(): {
|
|
1567
|
+
before?(_: {}): any;
|
|
1568
|
+
default?(_: {}): any;
|
|
1569
|
+
after?(_: {}): any;
|
|
1570
|
+
};
|
|
1571
|
+
|
|
1572
|
+
declare function __VLS_template_40(): Readonly<{
|
|
1451
1573
|
default(props: {
|
|
1452
1574
|
item: TaoStageItem;
|
|
1453
1575
|
index: number;
|
|
@@ -1471,12 +1593,6 @@ declare function __VLS_template_38(): Readonly<{
|
|
|
1471
1593
|
}): unknown;
|
|
1472
1594
|
};
|
|
1473
1595
|
|
|
1474
|
-
declare function __VLS_template_4(): {
|
|
1475
|
-
before?(_: {}): any;
|
|
1476
|
-
default?(_: {}): any;
|
|
1477
|
-
after?(_: {}): any;
|
|
1478
|
-
};
|
|
1479
|
-
|
|
1480
1596
|
declare function __VLS_template_5(): {
|
|
1481
1597
|
cover?(_: {}): any;
|
|
1482
1598
|
headerTitle?(_: {}): any;
|
|
@@ -1939,6 +2055,24 @@ declare type __VLS_TypePropsToRuntimeProps_51<T> = {
|
|
|
1939
2055
|
};
|
|
1940
2056
|
};
|
|
1941
2057
|
|
|
2058
|
+
declare type __VLS_TypePropsToRuntimeProps_52<T> = {
|
|
2059
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
2060
|
+
type: PropType<__VLS_NonUndefinedable_52<T[K]>>;
|
|
2061
|
+
} : {
|
|
2062
|
+
type: PropType<T[K]>;
|
|
2063
|
+
required: true;
|
|
2064
|
+
};
|
|
2065
|
+
};
|
|
2066
|
+
|
|
2067
|
+
declare type __VLS_TypePropsToRuntimeProps_53<T> = {
|
|
2068
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
2069
|
+
type: PropType<__VLS_NonUndefinedable_53<T[K]>>;
|
|
2070
|
+
} : {
|
|
2071
|
+
type: PropType<T[K]>;
|
|
2072
|
+
required: true;
|
|
2073
|
+
};
|
|
2074
|
+
};
|
|
2075
|
+
|
|
1942
2076
|
declare type __VLS_TypePropsToRuntimeProps_6<T> = {
|
|
1943
2077
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
1944
2078
|
type: PropType<__VLS_NonUndefinedable_6<T[K]>>;
|
|
@@ -2233,12 +2367,24 @@ declare type __VLS_WithDefaults_48<P, D> = {
|
|
|
2233
2367
|
}> : P[K];
|
|
2234
2368
|
};
|
|
2235
2369
|
|
|
2370
|
+
declare type __VLS_WithDefaults_49<P, D> = {
|
|
2371
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_49<P[K] & {
|
|
2372
|
+
default: D[K];
|
|
2373
|
+
}> : P[K];
|
|
2374
|
+
};
|
|
2375
|
+
|
|
2236
2376
|
declare type __VLS_WithDefaults_5<P, D> = {
|
|
2237
2377
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_5<P[K] & {
|
|
2238
2378
|
default: D[K];
|
|
2239
2379
|
}> : P[K];
|
|
2240
2380
|
};
|
|
2241
2381
|
|
|
2382
|
+
declare type __VLS_WithDefaults_50<P, D> = {
|
|
2383
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_50<P[K] & {
|
|
2384
|
+
default: D[K];
|
|
2385
|
+
}> : P[K];
|
|
2386
|
+
};
|
|
2387
|
+
|
|
2242
2388
|
declare type __VLS_WithDefaults_6<P, D> = {
|
|
2243
2389
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_6<P[K] & {
|
|
2244
2390
|
default: D[K];
|
|
@@ -2455,12 +2601,24 @@ declare type __VLS_WithTemplateSlots_38<T, S> = T & {
|
|
|
2455
2601
|
};
|
|
2456
2602
|
};
|
|
2457
2603
|
|
|
2604
|
+
declare type __VLS_WithTemplateSlots_39<T, S> = T & {
|
|
2605
|
+
new (): {
|
|
2606
|
+
$slots: S;
|
|
2607
|
+
};
|
|
2608
|
+
};
|
|
2609
|
+
|
|
2458
2610
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
2459
2611
|
new (): {
|
|
2460
2612
|
$slots: S;
|
|
2461
2613
|
};
|
|
2462
2614
|
};
|
|
2463
2615
|
|
|
2616
|
+
declare type __VLS_WithTemplateSlots_40<T, S> = T & {
|
|
2617
|
+
new (): {
|
|
2618
|
+
$slots: S;
|
|
2619
|
+
};
|
|
2620
|
+
};
|
|
2621
|
+
|
|
2464
2622
|
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
2465
2623
|
new (): {
|
|
2466
2624
|
$slots: S;
|
|
@@ -2509,7 +2667,9 @@ export declare function parseTaoDateRange(value: TaoDateRangeValue | null | unde
|
|
|
2509
2667
|
declare interface Props {
|
|
2510
2668
|
type?: 'button' | 'submit' | 'reset';
|
|
2511
2669
|
size?: 'small' | 'medium' | 'large';
|
|
2512
|
-
variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
|
|
2670
|
+
variant?: 'primary' | 'secondary' | 'ghost' | 'text' | 'danger';
|
|
2671
|
+
/** Красит кнопку: danger / success / warning / info. Не вместо variant. */
|
|
2672
|
+
tone?: 'danger' | 'success' | 'warning' | 'info' | '';
|
|
2513
2673
|
disabled?: boolean;
|
|
2514
2674
|
loading?: boolean;
|
|
2515
2675
|
block?: boolean;
|
|
@@ -2517,19 +2677,12 @@ declare interface Props {
|
|
|
2517
2677
|
}
|
|
2518
2678
|
|
|
2519
2679
|
declare interface Props_10 {
|
|
2520
|
-
name: string;
|
|
2521
|
-
margin?: string;
|
|
2522
|
-
size?: number;
|
|
2523
|
-
invert?: boolean;
|
|
2524
|
-
}
|
|
2525
|
-
|
|
2526
|
-
declare interface Props_11 {
|
|
2527
2680
|
color?: string;
|
|
2528
2681
|
size?: number | string;
|
|
2529
2682
|
inline?: boolean;
|
|
2530
2683
|
}
|
|
2531
2684
|
|
|
2532
|
-
declare interface
|
|
2685
|
+
declare interface Props_11 {
|
|
2533
2686
|
src: string;
|
|
2534
2687
|
alt?: string;
|
|
2535
2688
|
pixelated?: boolean;
|
|
@@ -2537,15 +2690,19 @@ declare interface Props_12 {
|
|
|
2537
2690
|
lazy?: boolean;
|
|
2538
2691
|
}
|
|
2539
2692
|
|
|
2540
|
-
declare interface
|
|
2693
|
+
declare interface Props_12 {
|
|
2541
2694
|
type?: 'neutral' | 'success' | 'danger' | 'error' | 'warning' | 'info' | '';
|
|
2542
2695
|
color?: string;
|
|
2543
2696
|
background?: string;
|
|
2544
2697
|
borderColor?: string;
|
|
2545
2698
|
pointer?: boolean;
|
|
2699
|
+
closable?: boolean;
|
|
2700
|
+
closeLabel?: string;
|
|
2701
|
+
/** Без рамки, заливка остаётся. Высота как у обычного тега. */
|
|
2702
|
+
flat?: boolean;
|
|
2546
2703
|
}
|
|
2547
2704
|
|
|
2548
|
-
declare interface
|
|
2705
|
+
declare interface Props_13 {
|
|
2549
2706
|
borderWidth?: number;
|
|
2550
2707
|
speed?: number;
|
|
2551
2708
|
/** Радиус размытия glow-эффекта позади рамки, px. Работает только при light. */
|
|
@@ -2556,7 +2713,7 @@ declare interface Props_14 {
|
|
|
2556
2713
|
light?: boolean;
|
|
2557
2714
|
}
|
|
2558
2715
|
|
|
2559
|
-
declare interface
|
|
2716
|
+
declare interface Props_14 {
|
|
2560
2717
|
size?: number;
|
|
2561
2718
|
right?: string | number;
|
|
2562
2719
|
bottom?: string | number;
|
|
@@ -2566,7 +2723,7 @@ declare interface Props_15 {
|
|
|
2566
2723
|
tabindex?: number;
|
|
2567
2724
|
}
|
|
2568
2725
|
|
|
2569
|
-
declare interface
|
|
2726
|
+
declare interface Props_15 {
|
|
2570
2727
|
/** Текущий список файлов — компонент сам не хранит состояние
|
|
2571
2728
|
* количества файлов, оно всегда отражает то, что передал родитель.
|
|
2572
2729
|
* Это и даёт возможность подтверждения: родитель решает, когда
|
|
@@ -2580,7 +2737,7 @@ declare interface Props_16 {
|
|
|
2580
2737
|
list?: boolean;
|
|
2581
2738
|
}
|
|
2582
2739
|
|
|
2583
|
-
declare interface
|
|
2740
|
+
declare interface Props_16 {
|
|
2584
2741
|
to?: string | Record<string, unknown>;
|
|
2585
2742
|
asNewTab?: boolean;
|
|
2586
2743
|
private?: boolean;
|
|
@@ -2622,17 +2779,12 @@ declare interface Props_5 {
|
|
|
2622
2779
|
}
|
|
2623
2780
|
|
|
2624
2781
|
declare interface Props_6 {
|
|
2625
|
-
content: string;
|
|
2626
|
-
position?: 'top' | 'bottom' | 'left' | 'right';
|
|
2627
|
-
}
|
|
2628
|
-
|
|
2629
|
-
declare interface Props_7 {
|
|
2630
2782
|
size?: 'wide' | 'slim' | 'ultra-slim';
|
|
2631
2783
|
/** "свободно" болтается в разметке, без авто-центровки по горизонтали */
|
|
2632
2784
|
free?: boolean;
|
|
2633
2785
|
}
|
|
2634
2786
|
|
|
2635
|
-
declare interface
|
|
2787
|
+
declare interface Props_7 {
|
|
2636
2788
|
tag?: string;
|
|
2637
2789
|
justify?: 'flex-start' | 'flex-end' | 'center' | 'normal' | 'space-between' | 'space-around' | 'space-evenly';
|
|
2638
2790
|
align?: 'stretch' | 'flex-start' | 'center' | 'flex-end' | 'baseline';
|
|
@@ -2641,23 +2793,30 @@ declare interface Props_8 {
|
|
|
2641
2793
|
gap?: string;
|
|
2642
2794
|
}
|
|
2643
2795
|
|
|
2644
|
-
declare interface
|
|
2796
|
+
declare interface Props_8 {
|
|
2645
2797
|
block?: boolean;
|
|
2646
2798
|
expand?: boolean;
|
|
2647
2799
|
vertical?: boolean;
|
|
2648
2800
|
}
|
|
2649
2801
|
|
|
2802
|
+
declare interface Props_9 {
|
|
2803
|
+
name: string;
|
|
2804
|
+
margin?: string;
|
|
2805
|
+
size?: number;
|
|
2806
|
+
invert?: boolean;
|
|
2807
|
+
}
|
|
2808
|
+
|
|
2650
2809
|
declare interface Tab {
|
|
2651
2810
|
key: string;
|
|
2652
2811
|
label: string;
|
|
2653
2812
|
disabled?: boolean;
|
|
2654
2813
|
}
|
|
2655
2814
|
|
|
2656
|
-
export declare const TaoAlert:
|
|
2815
|
+
export declare const TaoAlert: __VLS_WithTemplateSlots_35<typeof __VLS_component_35, ReturnType<typeof __VLS_template_35>>;
|
|
2657
2816
|
|
|
2658
2817
|
export declare const TaoAnimatedBorder: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, ReturnType<typeof __VLS_template_22>>;
|
|
2659
2818
|
|
|
2660
|
-
export declare const TaoAvatar: DefineComponent<ExtractPropTypes<
|
|
2819
|
+
export declare const TaoAvatar: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_49<{
|
|
2661
2820
|
src?: string;
|
|
2662
2821
|
name?: string;
|
|
2663
2822
|
alt?: string;
|
|
@@ -2673,7 +2832,7 @@ alt: string;
|
|
|
2673
2832
|
size: string;
|
|
2674
2833
|
dot: boolean;
|
|
2675
2834
|
count: undefined;
|
|
2676
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2835
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_49<{
|
|
2677
2836
|
src?: string;
|
|
2678
2837
|
name?: string;
|
|
2679
2838
|
alt?: string;
|
|
@@ -2702,9 +2861,9 @@ declare type TaoAvatarDot = 'success' | 'danger' | 'warning' | 'info' | 'neutral
|
|
|
2702
2861
|
|
|
2703
2862
|
export declare const TaoBlock: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, ReturnType<typeof __VLS_template_2>>;
|
|
2704
2863
|
|
|
2705
|
-
export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<
|
|
2864
|
+
export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_50<{
|
|
2706
2865
|
items: TaoBreadcrumbItem[];
|
|
2707
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2866
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_50<{
|
|
2708
2867
|
items: TaoBreadcrumbItem[];
|
|
2709
2868
|
}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2710
2869
|
|
|
@@ -2717,7 +2876,7 @@ export declare const TaoButton: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
|
2717
2876
|
|
|
2718
2877
|
export declare const TaoCard: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, ReturnType<typeof __VLS_template_5>>;
|
|
2719
2878
|
|
|
2720
|
-
export declare const TaoCarousel:
|
|
2879
|
+
export declare const TaoCarousel: __VLS_WithTemplateSlots_39<typeof __VLS_component_39, ReturnType<typeof __VLS_template_39>>;
|
|
2721
2880
|
|
|
2722
2881
|
export declare const TaoCheckbox: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, ReturnType<typeof __VLS_template_18>>;
|
|
2723
2882
|
|
|
@@ -2811,13 +2970,13 @@ export declare const TaoContainer: __VLS_WithTemplateSlots_13<typeof __VLS_compo
|
|
|
2811
2970
|
|
|
2812
2971
|
export declare const TaoCopy: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, ReturnType<typeof __VLS_template_12>>;
|
|
2813
2972
|
|
|
2814
|
-
export declare const TaoCounter: DefineComponent<ExtractPropTypes<
|
|
2973
|
+
export declare const TaoCounter: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_51<{
|
|
2815
2974
|
value?: number;
|
|
2816
2975
|
maxDigits?: number;
|
|
2817
2976
|
}>, {
|
|
2818
2977
|
value: number;
|
|
2819
2978
|
maxDigits: number;
|
|
2820
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2979
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_51<{
|
|
2821
2980
|
value?: number;
|
|
2822
2981
|
maxDigits?: number;
|
|
2823
2982
|
}>, {
|
|
@@ -2943,7 +3102,7 @@ export declare interface TaoDateRangeValue {
|
|
|
2943
3102
|
|
|
2944
3103
|
export declare const TaoDivider: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, ReturnType<typeof __VLS_template_20>>;
|
|
2945
3104
|
|
|
2946
|
-
export declare const TaoDrawer:
|
|
3105
|
+
export declare const TaoDrawer: __VLS_WithTemplateSlots_38<typeof __VLS_component_38, ReturnType<typeof __VLS_template_38>>;
|
|
2947
3106
|
|
|
2948
3107
|
export declare interface TaoDropdownAction {
|
|
2949
3108
|
id: string;
|
|
@@ -2953,7 +3112,7 @@ export declare interface TaoDropdownAction {
|
|
|
2953
3112
|
|
|
2954
3113
|
export declare const TaoDropdownMenu: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, ReturnType<typeof __VLS_template_27>>;
|
|
2955
3114
|
|
|
2956
|
-
export declare const TaoEmpty:
|
|
3115
|
+
export declare const TaoEmpty: __VLS_WithTemplateSlots_37<typeof __VLS_component_37, ReturnType<typeof __VLS_template_37>>;
|
|
2957
3116
|
|
|
2958
3117
|
export declare const TaoFieldset: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, ReturnType<typeof __VLS_template_21>>;
|
|
2959
3118
|
|
|
@@ -3025,11 +3184,11 @@ controls: boolean;
|
|
|
3025
3184
|
|
|
3026
3185
|
export declare const TaoLink: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, ReturnType<typeof __VLS_template_28>>;
|
|
3027
3186
|
|
|
3028
|
-
export declare const TaoLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_18<
|
|
3187
|
+
export declare const TaoLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_18<Props_10>, {
|
|
3029
3188
|
color: string;
|
|
3030
3189
|
size: number;
|
|
3031
3190
|
inline: boolean;
|
|
3032
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_18<
|
|
3191
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_18<Props_10>, {
|
|
3033
3192
|
color: string;
|
|
3034
3193
|
size: number;
|
|
3035
3194
|
inline: boolean;
|
|
@@ -3041,7 +3200,7 @@ inline: boolean;
|
|
|
3041
3200
|
|
|
3042
3201
|
export declare const TaoModal: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, ReturnType<typeof __VLS_template_6>>;
|
|
3043
3202
|
|
|
3044
|
-
export declare const TaoPagination: DefineComponent<ExtractPropTypes<
|
|
3203
|
+
export declare const TaoPagination: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_45<{
|
|
3045
3204
|
page?: number;
|
|
3046
3205
|
total?: number;
|
|
3047
3206
|
pageSize?: number;
|
|
@@ -3065,7 +3224,7 @@ ariaLabel: string;
|
|
|
3065
3224
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3066
3225
|
change: (value: number) => void;
|
|
3067
3226
|
"update:page": (value: number) => void;
|
|
3068
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
3227
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_45<{
|
|
3069
3228
|
page?: number;
|
|
3070
3229
|
total?: number;
|
|
3071
3230
|
pageSize?: number;
|
|
@@ -3227,6 +3386,12 @@ export declare type TaoRadioValue = string | number | boolean;
|
|
|
3227
3386
|
|
|
3228
3387
|
export declare const TaoScrollTop: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, ReturnType<typeof __VLS_template_23>>;
|
|
3229
3388
|
|
|
3389
|
+
export declare const TaoSegmented: __VLS_WithTemplateSlots_33<typeof __VLS_component_33, ReturnType<typeof __VLS_template_33>>;
|
|
3390
|
+
|
|
3391
|
+
export declare const TaoSegmentedOption: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, ReturnType<typeof __VLS_template_34>>;
|
|
3392
|
+
|
|
3393
|
+
export declare type TaoSegmentedSize = 'small' | 'medium' | 'large';
|
|
3394
|
+
|
|
3230
3395
|
export declare const TaoSelect: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_34<{
|
|
3231
3396
|
modelValue?: string | number | null;
|
|
3232
3397
|
options?: TaoSelectOption[];
|
|
@@ -3271,7 +3436,7 @@ export declare interface TaoSelectOption {
|
|
|
3271
3436
|
disabled?: boolean;
|
|
3272
3437
|
}
|
|
3273
3438
|
|
|
3274
|
-
export declare const TaoSkeleton: DefineComponent<ExtractPropTypes<
|
|
3439
|
+
export declare const TaoSkeleton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_47<{
|
|
3275
3440
|
variant?: "text" | "title" | "circle" | "rect";
|
|
3276
3441
|
lines?: number;
|
|
3277
3442
|
width?: string;
|
|
@@ -3281,7 +3446,7 @@ variant: string;
|
|
|
3281
3446
|
lines: number;
|
|
3282
3447
|
width: string;
|
|
3283
3448
|
height: string;
|
|
3284
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
3449
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_47<{
|
|
3285
3450
|
variant?: "text" | "title" | "circle" | "rect";
|
|
3286
3451
|
lines?: number;
|
|
3287
3452
|
width?: string;
|
|
@@ -3315,13 +3480,13 @@ export declare interface TaoStageItem {
|
|
|
3315
3480
|
status?: TaoStageStatus | 'danger';
|
|
3316
3481
|
}
|
|
3317
3482
|
|
|
3318
|
-
export declare const TaoStages:
|
|
3483
|
+
export declare const TaoStages: __VLS_WithTemplateSlots_40<typeof __VLS_component_40, ReturnType<typeof __VLS_template_40>>;
|
|
3319
3484
|
|
|
3320
3485
|
export declare type TaoStageStatus = 'wait' | 'work' | 'ok' | 'bad';
|
|
3321
3486
|
|
|
3322
3487
|
export declare const TaoSwitch: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, ReturnType<typeof __VLS_template_30>>;
|
|
3323
3488
|
|
|
3324
|
-
export declare const TaoTable:
|
|
3489
|
+
export declare const TaoTable: __VLS_WithTemplateSlots_36<typeof __VLS_component_36, ReturnType<typeof __VLS_template_36>>;
|
|
3325
3490
|
|
|
3326
3491
|
export declare type TaoTableAlign = 'left' | 'center' | 'right';
|
|
3327
3492
|
|
|
@@ -3558,6 +3723,8 @@ export declare const TaoToastViewport: DefineComponent< {}, {}, {}, {}, {}, C
|
|
|
3558
3723
|
|
|
3559
3724
|
export declare const TaoTooltip: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, ReturnType<typeof __VLS_template_8>>;
|
|
3560
3725
|
|
|
3726
|
+
declare type TaoTooltipPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
3727
|
+
|
|
3561
3728
|
declare const TaoUI: Plugin_2;
|
|
3562
3729
|
export { TaoUI }
|
|
3563
3730
|
export default TaoUI;
|