@tu-design/vue 0.5.5 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +75 -73
- package/dist/index.mjs +43 -32
- package/dist/registry/vue/alert-dialog.json +1 -1
- package/dist/registry/vue/alert.json +1 -1
- package/dist/registry/vue/avatar-group.json +1 -1
- package/dist/registry/vue/avatar.json +1 -1
- package/dist/registry/vue/badge.json +1 -1
- package/dist/registry/vue/button.json +1 -1
- package/dist/registry/vue/calendar.json +1 -1
- package/dist/registry/vue/card.json +1 -1
- package/dist/registry/vue/cascader.json +1 -1
- package/dist/registry/vue/checkbox.json +1 -1
- package/dist/registry/vue/context-menu.json +1 -1
- package/dist/registry/vue/currency-input.json +1 -1
- package/dist/registry/vue/date-picker.json +1 -1
- package/dist/registry/vue/date-range-picker.json +1 -1
- package/dist/registry/vue/date-shared.json +1 -1
- package/dist/registry/vue/dialog.json +1 -1
- package/dist/registry/vue/drawer.json +1 -1
- package/dist/registry/vue/dropdown-menu.json +1 -1
- package/dist/registry/vue/empty.json +1 -1
- package/dist/registry/vue/form-render.json +1 -1
- package/dist/registry/vue/form.json +1 -1
- package/dist/registry/vue/icon-shared.json +1 -1
- package/dist/registry/vue/input.json +1 -1
- package/dist/registry/vue/label.json +1 -1
- package/dist/registry/vue/month-picker.json +1 -1
- package/dist/registry/vue/number-input.json +1 -1
- package/dist/registry/vue/overlay-shared.json +1 -1
- package/dist/registry/vue/password-input.json +1 -1
- package/dist/registry/vue/pin-input.json +1 -1
- package/dist/registry/vue/popconfirm.json +1 -1
- package/dist/registry/vue/popover.json +1 -1
- package/dist/registry/vue/progress.json +1 -1
- package/dist/registry/vue/radio-group.json +1 -1
- package/dist/registry/vue/registry.json +52 -52
- package/dist/registry/vue/select.json +2 -2
- package/dist/registry/vue/separator.json +1 -1
- package/dist/registry/vue/skeleton.json +1 -1
- package/dist/registry/vue/slider.json +1 -1
- package/dist/registry/vue/slot.json +1 -1
- package/dist/registry/vue/spin.json +1 -1
- package/dist/registry/vue/switch.json +1 -1
- package/dist/registry/vue/table-render.json +3 -3
- package/dist/registry/vue/tabs.json +1 -1
- package/dist/registry/vue/textarea.json +1 -1
- package/dist/registry/vue/timeline.json +1 -1
- package/dist/registry/vue/toast.json +1 -1
- package/dist/registry/vue/tokens.json +1 -1
- package/dist/registry/vue/tooltip.json +1 -1
- package/dist/registry/vue/tree-select.json +1 -1
- package/dist/registry/vue/tree-shared.json +1 -1
- package/dist/registry/vue/utils.json +1 -1
- package/dist/registry/vue/week-picker.json +1 -1
- package/dist/registry/vue/year-picker.json +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -99,9 +99,9 @@ declare const __VLS_base$34: import("vue").DefineComponent<import("vue").Extract
|
|
|
99
99
|
class: string;
|
|
100
100
|
name: string;
|
|
101
101
|
disabled: boolean;
|
|
102
|
-
form: string;
|
|
103
102
|
checked: boolean | "indeterminate";
|
|
104
103
|
defaultChecked: boolean;
|
|
104
|
+
form: string;
|
|
105
105
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
106
106
|
declare const __VLS_export$52: __VLS_WithSlots$34<typeof __VLS_base$34, __VLS_Slots$34>;
|
|
107
107
|
declare const _default$9: typeof __VLS_export$52;
|
|
@@ -197,9 +197,9 @@ declare const __VLS_export$51: import("vue").DefineComponent<import("vue").Extra
|
|
|
197
197
|
"onUpdate:modelValue"?: (value: number) => any;
|
|
198
198
|
}>, {
|
|
199
199
|
class: string;
|
|
200
|
-
disabled: boolean;
|
|
201
200
|
modelValue: number;
|
|
202
201
|
placeholder: string;
|
|
202
|
+
disabled: boolean;
|
|
203
203
|
invalid: boolean;
|
|
204
204
|
labelUnit: CurrencyUnit;
|
|
205
205
|
valueUnit: CurrencyUnit;
|
|
@@ -292,8 +292,8 @@ declare const __VLS_export$50: import("vue").DefineComponent<import("vue").Extra
|
|
|
292
292
|
default: any;
|
|
293
293
|
};
|
|
294
294
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
295
|
-
"update:open": (open: boolean) => any;
|
|
296
295
|
"update:modelValue": (value: string) => any;
|
|
296
|
+
"update:open": (open: boolean) => any;
|
|
297
297
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
298
298
|
/** 受控值("yyyy-MM-dd");undefined 走内部非受控,null 表示空 */
|
|
299
299
|
modelValue: {
|
|
@@ -366,23 +366,23 @@ declare const __VLS_export$50: import("vue").DefineComponent<import("vue").Extra
|
|
|
366
366
|
default: any;
|
|
367
367
|
};
|
|
368
368
|
}>> & Readonly<{
|
|
369
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
370
369
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
370
|
+
"onUpdate:open"?: (open: boolean) => any;
|
|
371
371
|
}>, {
|
|
372
372
|
class: string;
|
|
373
373
|
max: string;
|
|
374
|
+
modelValue: string;
|
|
375
|
+
defaultValue: string;
|
|
374
376
|
open: boolean;
|
|
375
377
|
defaultOpen: boolean;
|
|
376
|
-
disabled: boolean;
|
|
377
|
-
modelValue: string;
|
|
378
378
|
placeholder: string;
|
|
379
|
+
disabled: boolean;
|
|
379
380
|
invalid: boolean;
|
|
380
|
-
defaultValue: string;
|
|
381
381
|
readOnly: boolean;
|
|
382
382
|
min: string;
|
|
383
383
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
384
|
-
locale: string;
|
|
385
384
|
closeOnSelect: boolean;
|
|
385
|
+
locale: string;
|
|
386
386
|
positioning: import("@zag-js/popper").PositioningOptions;
|
|
387
387
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
388
388
|
declare const _default$12: typeof __VLS_export$50;
|
|
@@ -464,8 +464,8 @@ declare const __VLS_export$49: import("vue").DefineComponent<import("vue").Extra
|
|
|
464
464
|
default: any;
|
|
465
465
|
};
|
|
466
466
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
467
|
-
"update:open": (open: boolean) => any;
|
|
468
467
|
"update:modelValue": (value: [string, string]) => any;
|
|
468
|
+
"update:open": (open: boolean) => any;
|
|
469
469
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
470
470
|
/** 受控值 [start, end]("yyyy-MM-dd",start ≤ end);undefined 走内部非受控,null 表示空 */
|
|
471
471
|
modelValue: {
|
|
@@ -542,25 +542,25 @@ declare const __VLS_export$49: import("vue").DefineComponent<import("vue").Extra
|
|
|
542
542
|
default: any;
|
|
543
543
|
};
|
|
544
544
|
}>> & Readonly<{
|
|
545
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
546
545
|
"onUpdate:modelValue"?: (value: [string, string]) => any;
|
|
546
|
+
"onUpdate:open"?: (open: boolean) => any;
|
|
547
547
|
}>, {
|
|
548
548
|
class: string;
|
|
549
549
|
max: string;
|
|
550
|
+
modelValue: [string, string];
|
|
551
|
+
defaultValue: [string, string];
|
|
550
552
|
open: boolean;
|
|
551
553
|
defaultOpen: boolean;
|
|
552
|
-
disabled: boolean;
|
|
553
|
-
modelValue: [string, string];
|
|
554
554
|
placeholder: string;
|
|
555
|
+
disabled: boolean;
|
|
555
556
|
invalid: boolean;
|
|
556
|
-
defaultValue: [string, string];
|
|
557
557
|
readOnly: boolean;
|
|
558
|
-
numOfMonths: number;
|
|
559
558
|
min: string;
|
|
560
559
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
561
|
-
locale: string;
|
|
562
560
|
closeOnSelect: boolean;
|
|
561
|
+
locale: string;
|
|
563
562
|
positioning: import("@zag-js/popper").PositioningOptions;
|
|
563
|
+
numOfMonths: number;
|
|
564
564
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
565
565
|
declare const _default$13: typeof __VLS_export$49;
|
|
566
566
|
//#endregion
|
|
@@ -649,8 +649,8 @@ declare const __VLS_export$47: import("vue").DefineComponent<import("vue").Extra
|
|
|
649
649
|
default: any;
|
|
650
650
|
};
|
|
651
651
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
652
|
-
"update:open": (open: boolean) => any;
|
|
653
652
|
"update:modelValue": (value: string) => any;
|
|
653
|
+
"update:open": (open: boolean) => any;
|
|
654
654
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
655
655
|
/** 受控月份("yyyy-MM");undefined 走内部非受控,null 表示空 */
|
|
656
656
|
modelValue: {
|
|
@@ -719,22 +719,22 @@ declare const __VLS_export$47: import("vue").DefineComponent<import("vue").Extra
|
|
|
719
719
|
default: any;
|
|
720
720
|
};
|
|
721
721
|
}>> & Readonly<{
|
|
722
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
723
722
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
723
|
+
"onUpdate:open"?: (open: boolean) => any;
|
|
724
724
|
}>, {
|
|
725
725
|
class: string;
|
|
726
726
|
max: string;
|
|
727
|
+
modelValue: string;
|
|
728
|
+
defaultValue: string;
|
|
727
729
|
open: boolean;
|
|
728
730
|
defaultOpen: boolean;
|
|
729
|
-
disabled: boolean;
|
|
730
|
-
modelValue: string;
|
|
731
731
|
placeholder: string;
|
|
732
|
+
disabled: boolean;
|
|
732
733
|
invalid: boolean;
|
|
733
|
-
defaultValue: string;
|
|
734
734
|
readOnly: boolean;
|
|
735
735
|
min: string;
|
|
736
|
-
locale: string;
|
|
737
736
|
closeOnSelect: boolean;
|
|
737
|
+
locale: string;
|
|
738
738
|
positioning: import("@zag-js/popper").PositioningOptions;
|
|
739
739
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
740
740
|
declare const _default$29: typeof __VLS_export$47;
|
|
@@ -813,8 +813,8 @@ declare const __VLS_export$46: import("vue").DefineComponent<import("vue").Extra
|
|
|
813
813
|
default: any;
|
|
814
814
|
};
|
|
815
815
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
816
|
-
"update:open": (open: boolean) => any;
|
|
817
816
|
"update:modelValue": (value: string) => any;
|
|
817
|
+
"update:open": (open: boolean) => any;
|
|
818
818
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
819
819
|
/** 受控值("yyyy-MM-dd",语义=所在周起始日);undefined 走内部非受控,null 表示空 */
|
|
820
820
|
modelValue: {
|
|
@@ -888,23 +888,23 @@ declare const __VLS_export$46: import("vue").DefineComponent<import("vue").Extra
|
|
|
888
888
|
default: any;
|
|
889
889
|
};
|
|
890
890
|
}>> & Readonly<{
|
|
891
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
892
891
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
892
|
+
"onUpdate:open"?: (open: boolean) => any;
|
|
893
893
|
}>, {
|
|
894
894
|
class: string;
|
|
895
895
|
max: string;
|
|
896
|
+
modelValue: string;
|
|
897
|
+
defaultValue: string;
|
|
896
898
|
open: boolean;
|
|
897
899
|
defaultOpen: boolean;
|
|
898
|
-
disabled: boolean;
|
|
899
|
-
modelValue: string;
|
|
900
900
|
placeholder: string;
|
|
901
|
+
disabled: boolean;
|
|
901
902
|
invalid: boolean;
|
|
902
|
-
defaultValue: string;
|
|
903
903
|
readOnly: boolean;
|
|
904
904
|
min: string;
|
|
905
905
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
906
|
-
locale: string;
|
|
907
906
|
closeOnSelect: boolean;
|
|
907
|
+
locale: string;
|
|
908
908
|
positioning: import("@zag-js/popper").PositioningOptions;
|
|
909
909
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
910
910
|
declare const _default$51: typeof __VLS_export$46;
|
|
@@ -991,8 +991,8 @@ declare const __VLS_base$33: import("vue").DefineComponent<import("vue").Extract
|
|
|
991
991
|
}>, {
|
|
992
992
|
class: string;
|
|
993
993
|
max: number;
|
|
994
|
-
disabled: boolean;
|
|
995
994
|
modelValue: number;
|
|
995
|
+
disabled: boolean;
|
|
996
996
|
invalid: boolean;
|
|
997
997
|
min: number;
|
|
998
998
|
step: number;
|
|
@@ -1090,9 +1090,9 @@ declare const __VLS_base$32: import("vue").DefineComponent<import("vue").Extract
|
|
|
1090
1090
|
"onUpdate:visible"?: (visible: boolean) => any;
|
|
1091
1091
|
}>, {
|
|
1092
1092
|
class: string;
|
|
1093
|
-
disabled: boolean;
|
|
1094
1093
|
modelValue: string;
|
|
1095
1094
|
placeholder: string;
|
|
1095
|
+
disabled: boolean;
|
|
1096
1096
|
invalid: boolean;
|
|
1097
1097
|
visible: boolean;
|
|
1098
1098
|
autoComplete: "current-password" | "new-password";
|
|
@@ -1265,8 +1265,8 @@ declare const __VLS_export$42: import("vue").DefineComponent<import("vue").Extra
|
|
|
1265
1265
|
default: any;
|
|
1266
1266
|
};
|
|
1267
1267
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1268
|
-
"update:open": (open: boolean) => any;
|
|
1269
1268
|
"update:modelValue": (value: Key | Key[]) => any;
|
|
1269
|
+
"update:open": (open: boolean) => any;
|
|
1270
1270
|
"update:show": (open: boolean) => any;
|
|
1271
1271
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1272
1272
|
/** 树形选项(key 必填,label 展示名,children 子级) */
|
|
@@ -1356,27 +1356,27 @@ declare const __VLS_export$42: import("vue").DefineComponent<import("vue").Extra
|
|
|
1356
1356
|
default: any;
|
|
1357
1357
|
};
|
|
1358
1358
|
}>> & Readonly<{
|
|
1359
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
1360
1359
|
"onUpdate:modelValue"?: (value: Key | Key[]) => any;
|
|
1360
|
+
"onUpdate:open"?: (open: boolean) => any;
|
|
1361
1361
|
"onUpdate:show"?: (open: boolean) => any;
|
|
1362
1362
|
}>, {
|
|
1363
1363
|
class: string;
|
|
1364
|
+
modelValue: Key | Key[];
|
|
1365
|
+
defaultValue: Key | Key[];
|
|
1364
1366
|
open: boolean;
|
|
1365
1367
|
defaultOpen: boolean;
|
|
1366
|
-
disabled: boolean;
|
|
1367
|
-
modelValue: Key | Key[];
|
|
1368
1368
|
placeholder: string;
|
|
1369
|
-
|
|
1369
|
+
disabled: boolean;
|
|
1370
1370
|
positioning: import("@zag-js/popper").PositioningOptions;
|
|
1371
1371
|
multiple: boolean;
|
|
1372
1372
|
checkable: boolean;
|
|
1373
1373
|
cascade: boolean;
|
|
1374
1374
|
checkStrategy: CheckStrategy;
|
|
1375
|
-
maxTagCount: number;
|
|
1376
|
-
clearable: boolean;
|
|
1377
1375
|
expandTrigger: "click" | "hover";
|
|
1378
1376
|
showPath: boolean;
|
|
1379
1377
|
separator: string;
|
|
1378
|
+
clearable: boolean;
|
|
1379
|
+
maxTagCount: number;
|
|
1380
1380
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1381
1381
|
declare const _default$8: typeof __VLS_export$42;
|
|
1382
1382
|
//#endregion
|
|
@@ -1473,8 +1473,8 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
|
|
|
1473
1473
|
default: any;
|
|
1474
1474
|
};
|
|
1475
1475
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1476
|
-
"update:open": (open: boolean) => any;
|
|
1477
1476
|
"update:modelValue": (value: Key | Key[]) => any;
|
|
1477
|
+
"update:open": (open: boolean) => any;
|
|
1478
1478
|
"update:show": (open: boolean) => any;
|
|
1479
1479
|
"update:expandedKeys": (keys: Key[]) => any;
|
|
1480
1480
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1569,25 +1569,25 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
|
|
|
1569
1569
|
default: any;
|
|
1570
1570
|
};
|
|
1571
1571
|
}>> & Readonly<{
|
|
1572
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
1573
1572
|
"onUpdate:modelValue"?: (value: Key | Key[]) => any;
|
|
1573
|
+
"onUpdate:open"?: (open: boolean) => any;
|
|
1574
1574
|
"onUpdate:show"?: (open: boolean) => any;
|
|
1575
1575
|
"onUpdate:expandedKeys"?: (keys: Key[]) => any;
|
|
1576
1576
|
}>, {
|
|
1577
1577
|
class: string;
|
|
1578
|
+
modelValue: Key | Key[];
|
|
1579
|
+
defaultValue: Key | Key[];
|
|
1578
1580
|
open: boolean;
|
|
1579
1581
|
defaultOpen: boolean;
|
|
1580
|
-
disabled: boolean;
|
|
1581
|
-
modelValue: Key | Key[];
|
|
1582
1582
|
placeholder: string;
|
|
1583
|
-
|
|
1583
|
+
disabled: boolean;
|
|
1584
1584
|
positioning: import("@zag-js/popper").PositioningOptions;
|
|
1585
1585
|
multiple: boolean;
|
|
1586
1586
|
checkable: boolean;
|
|
1587
1587
|
cascade: boolean;
|
|
1588
|
-
checkStrategy: "all" | "
|
|
1589
|
-
maxTagCount: number;
|
|
1588
|
+
checkStrategy: "all" | "child" | "parent";
|
|
1590
1589
|
clearable: boolean;
|
|
1590
|
+
maxTagCount: number;
|
|
1591
1591
|
filterable: boolean;
|
|
1592
1592
|
expandedKeys: Key[];
|
|
1593
1593
|
defaultExpandedKeys: Key[];
|
|
@@ -1660,8 +1660,8 @@ declare const __VLS_base$30: import("vue").DefineComponent<import("vue").Extract
|
|
|
1660
1660
|
default: any;
|
|
1661
1661
|
};
|
|
1662
1662
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1663
|
-
"update:open": (open: boolean) => any;
|
|
1664
1663
|
"update:modelValue": (value: string) => any;
|
|
1664
|
+
"update:open": (open: boolean) => any;
|
|
1665
1665
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1666
1666
|
/** 选项列表:字符串(label = value)或 { label, value, disabled? } */
|
|
1667
1667
|
items: {
|
|
@@ -1709,16 +1709,16 @@ declare const __VLS_base$30: import("vue").DefineComponent<import("vue").Extract
|
|
|
1709
1709
|
default: any;
|
|
1710
1710
|
};
|
|
1711
1711
|
}>> & Readonly<{
|
|
1712
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
1713
1712
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
1713
|
+
"onUpdate:open"?: (open: boolean) => any;
|
|
1714
1714
|
}>, {
|
|
1715
|
+
modelValue: string;
|
|
1716
|
+
defaultValue: string;
|
|
1715
1717
|
open: boolean;
|
|
1716
1718
|
defaultOpen: boolean;
|
|
1717
|
-
contentClass: string;
|
|
1718
|
-
modelValue: string;
|
|
1719
1719
|
placeholder: string;
|
|
1720
|
-
defaultValue: string;
|
|
1721
1720
|
positioning: import("@zag-js/popper").PositioningOptions;
|
|
1721
|
+
contentClass: string;
|
|
1722
1722
|
triggerClass: string;
|
|
1723
1723
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1724
1724
|
declare const __VLS_export$40: __VLS_WithSlots$30<typeof __VLS_base$30, __VLS_Slots$30>;
|
|
@@ -1895,8 +1895,8 @@ declare const __VLS_export$36: import("vue").DefineComponent<import("vue").Extra
|
|
|
1895
1895
|
default: any;
|
|
1896
1896
|
};
|
|
1897
1897
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1898
|
-
"update:open": (open: boolean) => any;
|
|
1899
1898
|
"update:modelValue": (value: string) => any;
|
|
1899
|
+
"update:open": (open: boolean) => any;
|
|
1900
1900
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1901
1901
|
/** 受控年份("yyyy");undefined 走内部非受控,null 表示空 */
|
|
1902
1902
|
modelValue: {
|
|
@@ -1965,22 +1965,22 @@ declare const __VLS_export$36: import("vue").DefineComponent<import("vue").Extra
|
|
|
1965
1965
|
default: any;
|
|
1966
1966
|
};
|
|
1967
1967
|
}>> & Readonly<{
|
|
1968
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
1969
1968
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
1969
|
+
"onUpdate:open"?: (open: boolean) => any;
|
|
1970
1970
|
}>, {
|
|
1971
1971
|
class: string;
|
|
1972
1972
|
max: string;
|
|
1973
|
+
modelValue: string;
|
|
1974
|
+
defaultValue: string;
|
|
1973
1975
|
open: boolean;
|
|
1974
1976
|
defaultOpen: boolean;
|
|
1975
|
-
disabled: boolean;
|
|
1976
|
-
modelValue: string;
|
|
1977
1977
|
placeholder: string;
|
|
1978
|
+
disabled: boolean;
|
|
1978
1979
|
invalid: boolean;
|
|
1979
|
-
defaultValue: string;
|
|
1980
1980
|
readOnly: boolean;
|
|
1981
1981
|
min: string;
|
|
1982
|
-
locale: string;
|
|
1983
1982
|
closeOnSelect: boolean;
|
|
1983
|
+
locale: string;
|
|
1984
1984
|
positioning: import("@zag-js/popper").PositioningOptions;
|
|
1985
1985
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1986
1986
|
declare const _default$52: typeof __VLS_export$36;
|
|
@@ -2597,10 +2597,10 @@ declare const __VLS_base$23: import("vue").DefineComponent<import("vue").Extract
|
|
|
2597
2597
|
max: string;
|
|
2598
2598
|
modelValue: string;
|
|
2599
2599
|
defaultValue: string;
|
|
2600
|
-
numOfMonths: number;
|
|
2601
2600
|
min: string;
|
|
2602
2601
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
2603
2602
|
locale: string;
|
|
2603
|
+
numOfMonths: number;
|
|
2604
2604
|
week: boolean;
|
|
2605
2605
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2606
2606
|
declare const __VLS_export$30: __VLS_WithSlots$23<typeof __VLS_base$23, __VLS_Slots$23>;
|
|
@@ -2788,10 +2788,10 @@ declare const __VLS_base$21: import("vue").DefineComponent<import("vue").Extract
|
|
|
2788
2788
|
defaultOpen: boolean;
|
|
2789
2789
|
lazyMount: boolean;
|
|
2790
2790
|
unmountOnExit: boolean;
|
|
2791
|
-
contentClass: string;
|
|
2792
2791
|
title: string;
|
|
2793
2792
|
description: string;
|
|
2794
2793
|
showCloseButton: boolean;
|
|
2794
|
+
contentClass: string;
|
|
2795
2795
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2796
2796
|
declare const __VLS_export$28: __VLS_WithSlots$21<typeof __VLS_base$21, __VLS_Slots$21>;
|
|
2797
2797
|
declare const _default$14: typeof __VLS_export$28;
|
|
@@ -2927,10 +2927,10 @@ declare const __VLS_base$20: import("vue").DefineComponent<import("vue").Extract
|
|
|
2927
2927
|
}>, {
|
|
2928
2928
|
open: boolean;
|
|
2929
2929
|
defaultOpen: boolean;
|
|
2930
|
+
positioning: import("@zag-js/popper").PositioningOptions;
|
|
2930
2931
|
lazyMount: boolean;
|
|
2931
2932
|
unmountOnExit: boolean;
|
|
2932
2933
|
contentClass: string;
|
|
2933
|
-
positioning: import("@zag-js/popper").PositioningOptions;
|
|
2934
2934
|
triggerClass: string;
|
|
2935
2935
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2936
2936
|
declare const __VLS_export$27: __VLS_WithSlots$20<typeof __VLS_base$20, __VLS_Slots$20>;
|
|
@@ -3236,14 +3236,14 @@ declare const __VLS_base$13: import("vue").DefineComponent<import("vue").Extract
|
|
|
3236
3236
|
class: string;
|
|
3237
3237
|
length: number;
|
|
3238
3238
|
type: "numeric" | "alphanumeric";
|
|
3239
|
-
disabled: boolean;
|
|
3240
3239
|
modelValue: string[];
|
|
3240
|
+
placeholder: string;
|
|
3241
|
+
disabled: boolean;
|
|
3242
|
+
invalid: boolean;
|
|
3241
3243
|
otp: boolean;
|
|
3242
3244
|
mask: boolean;
|
|
3243
3245
|
autoSubmit: boolean;
|
|
3244
3246
|
blurOnComplete: boolean;
|
|
3245
|
-
placeholder: string;
|
|
3246
|
-
invalid: boolean;
|
|
3247
3247
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3248
3248
|
declare const __VLS_export$17: __VLS_WithSlots$13<typeof __VLS_base$13, __VLS_Slots$13>;
|
|
3249
3249
|
declare const _default$32: typeof __VLS_export$17;
|
|
@@ -3473,8 +3473,11 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3473
3473
|
}>, {
|
|
3474
3474
|
open: boolean;
|
|
3475
3475
|
defaultOpen: boolean;
|
|
3476
|
+
disabled: boolean;
|
|
3476
3477
|
lazyMount: boolean;
|
|
3477
3478
|
unmountOnExit: boolean;
|
|
3479
|
+
contentClass: string;
|
|
3480
|
+
contentProps: Record<string, unknown>;
|
|
3478
3481
|
trigger: TriggerMode;
|
|
3479
3482
|
openDelay: number;
|
|
3480
3483
|
closeDelay: number;
|
|
@@ -3483,13 +3486,10 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3483
3486
|
align: Align;
|
|
3484
3487
|
arrow: boolean;
|
|
3485
3488
|
arrowClass: string;
|
|
3486
|
-
disabled: boolean;
|
|
3487
3489
|
portal: boolean;
|
|
3488
3490
|
to: string | HTMLElement;
|
|
3489
3491
|
matchTriggerWidth: boolean;
|
|
3490
3492
|
zIndex: number;
|
|
3491
|
-
contentClass: string;
|
|
3492
|
-
contentProps: Record<string, unknown>;
|
|
3493
3493
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3494
3494
|
declare const __VLS_export$16: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
|
|
3495
3495
|
declare const _default$34: typeof __VLS_export$16;
|
|
@@ -3590,6 +3590,8 @@ interface TableColumnOptions<T extends DataRecord = DataRecord> {
|
|
|
3590
3590
|
key: string;
|
|
3591
3591
|
title: string;
|
|
3592
3592
|
align?: "left" | "center" | "right";
|
|
3593
|
+
/** 列宽(R32)。数字(px):布局硬约束 —— 参与表格 min-width 求和与 fixed 列 sticky 偏移推算;
|
|
3594
|
+
* 字符串(如 "10rem"):仅渲染提示值,不参与求和与 sticky。 */
|
|
3593
3595
|
width?: number | string;
|
|
3594
3596
|
/** 自定义单元格渲染,取值链 render > formatter > record[key](R17) */
|
|
3595
3597
|
render?: (r: ColumnRenders<T>) => ColumnRender<T>;
|
|
@@ -4253,11 +4255,11 @@ type __VLS_Slots$10 = {} & {
|
|
|
4253
4255
|
panel?: (props: typeof __VLS_39) => any;
|
|
4254
4256
|
};
|
|
4255
4257
|
declare const __VLS_base$10: import("vue").DefineComponent<Props$2, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4256
|
-
"update:value": (value: string) => any;
|
|
4257
4258
|
close: (value: string) => any;
|
|
4259
|
+
"update:value": (value: string) => any;
|
|
4258
4260
|
}, string, import("vue").PublicProps, Readonly<Props$2> & Readonly<{
|
|
4259
|
-
"onUpdate:value"?: (value: string) => any;
|
|
4260
4261
|
onClose?: (value: string) => any;
|
|
4262
|
+
"onUpdate:value"?: (value: string) => any;
|
|
4261
4263
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4262
4264
|
declare const __VLS_export$11: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
|
|
4263
4265
|
declare const _default$45: typeof __VLS_export$11;
|
|
@@ -4381,14 +4383,14 @@ declare const __VLS_base$9: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4381
4383
|
}>, {
|
|
4382
4384
|
open: boolean;
|
|
4383
4385
|
defaultOpen: boolean;
|
|
4386
|
+
positioning: import("@zag-js/popper").PositioningOptions;
|
|
4384
4387
|
lazyMount: boolean;
|
|
4385
4388
|
unmountOnExit: boolean;
|
|
4386
4389
|
contentClass: string;
|
|
4387
|
-
contentProps: Record<string, unknown>;
|
|
4388
|
-
positioning: import("@zag-js/popper").PositioningOptions;
|
|
4389
4390
|
content: string;
|
|
4390
4391
|
delayDuration: number;
|
|
4391
4392
|
closeDuration: number;
|
|
4393
|
+
contentProps: Record<string, unknown>;
|
|
4392
4394
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4393
4395
|
declare const __VLS_export$10: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
|
|
4394
4396
|
declare const _default$49: typeof __VLS_export$10;
|
|
@@ -4446,11 +4448,11 @@ type __VLS_WithSlots$8<T, S> = T & {
|
|
|
4446
4448
|
//#endregion
|
|
4447
4449
|
//#region src/components/alert/index.d.ts
|
|
4448
4450
|
export declare const alertVariants: (props?: {
|
|
4449
|
-
variant?: "default" | "
|
|
4451
|
+
variant?: "default" | "info" | "success" | "warning" | "error";
|
|
4450
4452
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
4451
4453
|
export type AlertVariants = VariantProps<typeof alertVariants>;
|
|
4452
4454
|
export declare const alertIconVariants: (props?: {
|
|
4453
|
-
variant?: "default" | "
|
|
4455
|
+
variant?: "default" | "info" | "success" | "warning" | "error";
|
|
4454
4456
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
4455
4457
|
/**
|
|
4456
4458
|
* 内置图标路径(按 variant 形状差异化,保证色弱用户可辨别):
|
|
@@ -4510,8 +4512,8 @@ declare const __VLS_export$7: import("vue").DefineComponent<__VLS_Props$1, {}, {
|
|
|
4510
4512
|
}>, {
|
|
4511
4513
|
variant: ProgressVariant;
|
|
4512
4514
|
max: number;
|
|
4513
|
-
showValue: boolean;
|
|
4514
4515
|
indeterminate: boolean;
|
|
4516
|
+
showValue: boolean;
|
|
4515
4517
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4516
4518
|
declare const _default$35: typeof __VLS_export$7;
|
|
4517
4519
|
//#endregion
|
|
@@ -4533,8 +4535,8 @@ type __VLS_Slots$6 = {} & {
|
|
|
4533
4535
|
};
|
|
4534
4536
|
declare const __VLS_base$6: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
4535
4537
|
size: "sm" | "default" | "lg";
|
|
4536
|
-
label: string;
|
|
4537
4538
|
spinning: boolean;
|
|
4539
|
+
label: string;
|
|
4538
4540
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4539
4541
|
declare const __VLS_export$6: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
|
|
4540
4542
|
declare const _default$41: typeof __VLS_export$6;
|
|
@@ -4905,9 +4907,9 @@ declare const __VLS_base$2: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4905
4907
|
size: Size;
|
|
4906
4908
|
open: boolean;
|
|
4907
4909
|
defaultOpen: boolean;
|
|
4910
|
+
placement: Placement;
|
|
4908
4911
|
lazyMount: boolean;
|
|
4909
4912
|
unmountOnExit: boolean;
|
|
4910
|
-
placement: Placement;
|
|
4911
4913
|
title: string;
|
|
4912
4914
|
description: string;
|
|
4913
4915
|
showCloseButton: boolean;
|
|
@@ -5071,7 +5073,7 @@ export type TimelineItemVariants = VariantProps<typeof timelineItemVariants>;
|
|
|
5071
5073
|
export declare const timelineDotVariants: (props?: {
|
|
5072
5074
|
mode?: "right" | "alternate";
|
|
5073
5075
|
size?: "sm" | "default";
|
|
5074
|
-
color?: "destructive" | "
|
|
5076
|
+
color?: "destructive" | "success" | "warning" | "primary" | "muted";
|
|
5075
5077
|
hollow?: boolean;
|
|
5076
5078
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
5077
5079
|
export type TimelineDotVariants = VariantProps<typeof timelineDotVariants>;
|