@tu-design/vue 0.5.14 → 0.5.15

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.
Files changed (57) hide show
  1. package/dist/index.d.mts +92 -37
  2. package/dist/index.mjs +146 -36
  3. package/dist/registry/vue/alert-dialog.json +1 -1
  4. package/dist/registry/vue/alert.json +1 -1
  5. package/dist/registry/vue/avatar-group.json +1 -1
  6. package/dist/registry/vue/avatar.json +1 -1
  7. package/dist/registry/vue/badge.json +1 -1
  8. package/dist/registry/vue/button.json +1 -1
  9. package/dist/registry/vue/calendar.json +1 -1
  10. package/dist/registry/vue/card.json +1 -1
  11. package/dist/registry/vue/cascader.json +1 -1
  12. package/dist/registry/vue/checkbox.json +1 -1
  13. package/dist/registry/vue/context-menu.json +1 -1
  14. package/dist/registry/vue/currency-input.json +1 -1
  15. package/dist/registry/vue/date-picker.json +1 -1
  16. package/dist/registry/vue/date-range-picker.json +1 -1
  17. package/dist/registry/vue/date-shared.json +1 -1
  18. package/dist/registry/vue/dialog.json +1 -1
  19. package/dist/registry/vue/drawer.json +1 -1
  20. package/dist/registry/vue/dropdown-menu.json +1 -1
  21. package/dist/registry/vue/empty.json +1 -1
  22. package/dist/registry/vue/form-render.json +1 -1
  23. package/dist/registry/vue/form.json +1 -1
  24. package/dist/registry/vue/icon-shared.json +1 -1
  25. package/dist/registry/vue/input.json +1 -1
  26. package/dist/registry/vue/label.json +1 -1
  27. package/dist/registry/vue/month-picker.json +1 -1
  28. package/dist/registry/vue/number-input.json +1 -1
  29. package/dist/registry/vue/overlay-shared.json +1 -1
  30. package/dist/registry/vue/password-input.json +1 -1
  31. package/dist/registry/vue/pin-input.json +1 -1
  32. package/dist/registry/vue/popconfirm.json +1 -1
  33. package/dist/registry/vue/popover.json +1 -1
  34. package/dist/registry/vue/progress.json +1 -1
  35. package/dist/registry/vue/provider.json +1 -1
  36. package/dist/registry/vue/radio-group.json +1 -1
  37. package/dist/registry/vue/registry.json +53 -53
  38. package/dist/registry/vue/select.json +1 -1
  39. package/dist/registry/vue/separator.json +1 -1
  40. package/dist/registry/vue/skeleton.json +1 -1
  41. package/dist/registry/vue/slider.json +1 -1
  42. package/dist/registry/vue/slot.json +1 -1
  43. package/dist/registry/vue/spin.json +1 -1
  44. package/dist/registry/vue/switch.json +1 -1
  45. package/dist/registry/vue/table-render.json +5 -5
  46. package/dist/registry/vue/tabs.json +1 -1
  47. package/dist/registry/vue/textarea.json +1 -1
  48. package/dist/registry/vue/timeline.json +1 -1
  49. package/dist/registry/vue/toast.json +1 -1
  50. package/dist/registry/vue/tokens.json +1 -1
  51. package/dist/registry/vue/tooltip.json +1 -1
  52. package/dist/registry/vue/tree-select.json +1 -1
  53. package/dist/registry/vue/tree-shared.json +1 -1
  54. package/dist/registry/vue/utils.json +1 -1
  55. package/dist/registry/vue/week-picker.json +1 -1
  56. package/dist/registry/vue/year-picker.json +1 -1
  57. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -105,11 +105,11 @@ declare const __VLS_base$35: import("vue").DefineComponent<import("vue").Extract
105
105
  "onUpdate:checked"?: ((checked: boolean) => any) | undefined;
106
106
  }>, {
107
107
  class: string;
108
- checked: boolean | "indeterminate" | undefined;
109
- defaultChecked: boolean;
110
108
  disabled: boolean;
111
109
  name: string;
112
110
  form: string;
111
+ checked: boolean | "indeterminate" | undefined;
112
+ defaultChecked: boolean;
113
113
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
114
114
  declare const __VLS_export$53: __VLS_WithSlots$35<typeof __VLS_base$35, __VLS_Slots$35>;
115
115
  declare const _default$9: typeof __VLS_export$53;
@@ -209,9 +209,9 @@ declare const __VLS_export$52: import("vue").DefineComponent<import("vue").Extra
209
209
  "onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
210
210
  }>, {
211
211
  class: string;
212
+ disabled: boolean | undefined;
212
213
  invalid: boolean | undefined;
213
214
  modelValue: number | null | undefined;
214
- disabled: boolean | undefined;
215
215
  placeholder: string;
216
216
  labelUnit: CurrencyUnit;
217
217
  valueUnit: CurrencyUnit;
@@ -378,18 +378,18 @@ declare const __VLS_export$51: import("vue").DefineComponent<import("vue").Extra
378
378
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
379
379
  }>, {
380
380
  class: string;
381
- invalid: boolean | undefined;
382
- modelValue: string | null | undefined;
383
381
  max: string;
384
382
  defaultValue: string;
383
+ disabled: boolean | undefined;
384
+ readOnly: boolean | undefined;
385
+ invalid: boolean | undefined;
386
+ modelValue: string | null | undefined;
385
387
  min: string;
386
388
  isDateUnavailable: (date: DateValue) => boolean;
387
389
  locale: string;
388
- disabled: boolean | undefined;
389
390
  open: boolean | undefined;
390
391
  defaultOpen: boolean;
391
392
  placeholder: string;
392
- readOnly: boolean | undefined;
393
393
  closeOnSelect: boolean;
394
394
  positioning: import("@zag-js/popper").PositioningOptions;
395
395
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -552,19 +552,19 @@ declare const __VLS_export$50: import("vue").DefineComponent<import("vue").Extra
552
552
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
553
553
  }>, {
554
554
  class: string;
555
- invalid: boolean | undefined;
556
- modelValue: [string, string] | null | undefined;
557
555
  max: string;
558
- numOfMonths: number;
559
556
  defaultValue: [string, string] | undefined;
557
+ disabled: boolean | undefined;
558
+ readOnly: boolean | undefined;
559
+ invalid: boolean | undefined;
560
+ numOfMonths: number;
561
+ modelValue: [string, string] | null | undefined;
560
562
  min: string;
561
563
  isDateUnavailable: (date: DateValue) => boolean;
562
564
  locale: string;
563
- disabled: boolean | undefined;
564
565
  open: boolean | undefined;
565
566
  defaultOpen: boolean;
566
567
  placeholder: string;
567
- readOnly: boolean | undefined;
568
568
  closeOnSelect: boolean;
569
569
  positioning: import("@zag-js/popper").PositioningOptions;
570
570
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -725,17 +725,17 @@ declare const __VLS_export$48: import("vue").DefineComponent<import("vue").Extra
725
725
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
726
726
  }>, {
727
727
  class: string;
728
- invalid: boolean | undefined;
729
- modelValue: string | null | undefined;
730
728
  max: string;
731
729
  defaultValue: string;
730
+ disabled: boolean | undefined;
731
+ readOnly: boolean | undefined;
732
+ invalid: boolean | undefined;
733
+ modelValue: string | null | undefined;
732
734
  min: string;
733
735
  locale: string;
734
- disabled: boolean | undefined;
735
736
  open: boolean | undefined;
736
737
  defaultOpen: boolean;
737
738
  placeholder: string;
738
- readOnly: boolean | undefined;
739
739
  closeOnSelect: boolean;
740
740
  positioning: import("@zag-js/popper").PositioningOptions;
741
741
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -892,18 +892,18 @@ declare const __VLS_export$47: import("vue").DefineComponent<import("vue").Extra
892
892
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
893
893
  }>, {
894
894
  class: string;
895
- invalid: boolean | undefined;
896
- modelValue: string | null | undefined;
897
895
  max: string;
898
896
  defaultValue: string;
897
+ disabled: boolean | undefined;
898
+ readOnly: boolean | undefined;
899
+ invalid: boolean | undefined;
900
+ modelValue: string | null | undefined;
899
901
  min: string;
900
902
  isDateUnavailable: (date: DateValue) => boolean;
901
903
  locale: string;
902
- disabled: boolean | undefined;
903
904
  open: boolean | undefined;
904
905
  defaultOpen: boolean;
905
906
  placeholder: string;
906
- readOnly: boolean | undefined;
907
907
  closeOnSelect: boolean;
908
908
  positioning: import("@zag-js/popper").PositioningOptions;
909
909
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -990,11 +990,11 @@ declare const __VLS_base$34: import("vue").DefineComponent<import("vue").Extract
990
990
  "onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
991
991
  }>, {
992
992
  class: string;
993
+ max: number;
994
+ disabled: boolean | undefined;
993
995
  invalid: boolean | undefined;
994
996
  modelValue: number | null | undefined;
995
- max: number;
996
997
  min: number;
997
- disabled: boolean | undefined;
998
998
  step: number;
999
999
  formatOptions: Intl.NumberFormatOptions;
1000
1000
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1092,9 +1092,9 @@ declare const __VLS_base$33: import("vue").DefineComponent<import("vue").Extract
1092
1092
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1093
1093
  }>, {
1094
1094
  class: string;
1095
+ disabled: boolean | undefined;
1095
1096
  invalid: boolean | undefined;
1096
1097
  modelValue: string | undefined;
1097
- disabled: boolean | undefined;
1098
1098
  placeholder: string;
1099
1099
  visible: boolean | undefined;
1100
1100
  autoComplete: "current-password" | "new-password";
@@ -1357,9 +1357,9 @@ declare const __VLS_export$43: import("vue").DefineComponent<import("vue").Extra
1357
1357
  "onUpdate:show"?: ((open: boolean) => any) | undefined;
1358
1358
  }>, {
1359
1359
  class: string;
1360
- modelValue: Key | Key[] | undefined;
1361
1360
  defaultValue: Key | Key[] | undefined;
1362
1361
  disabled: boolean | undefined;
1362
+ modelValue: Key | Key[] | undefined;
1363
1363
  open: boolean | undefined;
1364
1364
  defaultOpen: boolean;
1365
1365
  placeholder: string;
@@ -1569,9 +1569,9 @@ declare const __VLS_export$42: import("vue").DefineComponent<import("vue").Extra
1569
1569
  "onUpdate:expandedKeys"?: ((keys: Key[]) => any) | undefined;
1570
1570
  }>, {
1571
1571
  class: string;
1572
- modelValue: Key | Key[] | undefined;
1573
1572
  defaultValue: Key | Key[] | undefined;
1574
1573
  disabled: boolean | undefined;
1574
+ modelValue: Key | Key[] | undefined;
1575
1575
  open: boolean | undefined;
1576
1576
  defaultOpen: boolean;
1577
1577
  placeholder: string;
@@ -1704,8 +1704,8 @@ declare const __VLS_base$31: import("vue").DefineComponent<import("vue").Extract
1704
1704
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1705
1705
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
1706
1706
  }>, {
1707
- modelValue: string | undefined;
1708
1707
  defaultValue: string;
1708
+ modelValue: string | undefined;
1709
1709
  open: boolean | undefined;
1710
1710
  defaultOpen: boolean;
1711
1711
  placeholder: string;
@@ -1788,9 +1788,9 @@ declare const __VLS_base$30: import("vue").DefineComponent<import("vue").Extract
1788
1788
  "onUpdate:checked"?: ((checked: boolean) => any) | undefined;
1789
1789
  }>, {
1790
1790
  class: string;
1791
+ disabled: boolean;
1791
1792
  checked: boolean | undefined;
1792
1793
  defaultChecked: boolean;
1793
- disabled: boolean;
1794
1794
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1795
1795
  declare const __VLS_export$39: __VLS_WithSlots$30<typeof __VLS_base$30, __VLS_Slots$30>;
1796
1796
  declare const _default$42: typeof __VLS_export$39;
@@ -1955,17 +1955,17 @@ declare const __VLS_export$37: import("vue").DefineComponent<import("vue").Extra
1955
1955
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
1956
1956
  }>, {
1957
1957
  class: string;
1958
- invalid: boolean | undefined;
1959
- modelValue: string | null | undefined;
1960
1958
  max: string;
1961
1959
  defaultValue: string;
1960
+ disabled: boolean | undefined;
1961
+ readOnly: boolean | undefined;
1962
+ invalid: boolean | undefined;
1963
+ modelValue: string | null | undefined;
1962
1964
  min: string;
1963
1965
  locale: string;
1964
- disabled: boolean | undefined;
1965
1966
  open: boolean | undefined;
1966
1967
  defaultOpen: boolean;
1967
1968
  placeholder: string;
1968
- readOnly: boolean | undefined;
1969
1969
  closeOnSelect: boolean;
1970
1970
  positioning: import("@zag-js/popper").PositioningOptions;
1971
1971
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -2572,10 +2572,10 @@ declare const __VLS_base$24: import("vue").DefineComponent<import("vue").Extract
2572
2572
  "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
2573
2573
  }>, {
2574
2574
  mode: "day" | "month" | "year";
2575
- modelValue: string | null | undefined;
2576
2575
  max: string;
2577
- numOfMonths: number;
2578
2576
  defaultValue: string;
2577
+ numOfMonths: number;
2578
+ modelValue: string | null | undefined;
2579
2579
  min: string;
2580
2580
  isDateUnavailable: (date: DateValue) => boolean;
2581
2581
  locale: string;
@@ -3171,10 +3171,10 @@ declare const __VLS_base$14: import("vue").DefineComponent<import("vue").Extract
3171
3171
  }>, {
3172
3172
  class: string;
3173
3173
  length: number;
3174
+ disabled: boolean | undefined;
3174
3175
  invalid: boolean | undefined;
3175
- modelValue: string[] | undefined;
3176
3176
  type: "numeric" | "alphanumeric" | undefined;
3177
- disabled: boolean | undefined;
3177
+ modelValue: string[] | undefined;
3178
3178
  placeholder: string;
3179
3179
  otp: boolean | undefined;
3180
3180
  mask: boolean | undefined;
@@ -3413,7 +3413,6 @@ declare const __VLS_base$13: import("vue").DefineComponent<import("vue").Extract
3413
3413
  lazyMount: boolean;
3414
3414
  unmountOnExit: boolean;
3415
3415
  contentClass: string;
3416
- contentProps: Record<string, unknown>;
3417
3416
  trigger: TriggerMode;
3418
3417
  openDelay: number;
3419
3418
  closeDelay: number;
@@ -3426,6 +3425,7 @@ declare const __VLS_base$13: import("vue").DefineComponent<import("vue").Extract
3426
3425
  to: string | HTMLElement;
3427
3426
  matchTriggerWidth: boolean;
3428
3427
  zIndex: number;
3428
+ contentProps: Record<string, unknown>;
3429
3429
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
3430
3430
  declare const __VLS_export$17: __VLS_WithSlots$13<typeof __VLS_base$13, __VLS_Slots$13>;
3431
3431
  declare const _default$34: typeof __VLS_export$17;
@@ -4011,6 +4011,31 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
4011
4011
  type: PropType<boolean | undefined>;
4012
4012
  default: undefined;
4013
4013
  };
4014
+ /** 是否显示表格边框(仅外框);网格线由 single-column / single-line 独立控制(正交模型,词汇对齐 naive-ui) */
4015
+ bordered: {
4016
+ type: PropType<boolean | undefined>;
4017
+ default: undefined;
4018
+ };
4019
+ /** 表格底部是否有边框;bordered: true 时外框已含底边,此参数冗余无害 */
4020
+ bottomBordered: {
4021
+ type: PropType<boolean | undefined>;
4022
+ default: undefined;
4023
+ };
4024
+ /** 是否不设定行的分割线;true 时单元格没有下边线 */
4025
+ singleColumn: {
4026
+ type: PropType<boolean | undefined>;
4027
+ default: undefined;
4028
+ };
4029
+ /** 是否不设定列的分割线;true 时单元格没有右边线 */
4030
+ singleLine: {
4031
+ type: PropType<boolean | undefined>;
4032
+ default: undefined;
4033
+ };
4034
+ /** 斑马线条纹(按行模型索引奇偶,虚拟滚动窗口安全);纯样式属性,setup 期定版不支持运行时切换 */
4035
+ striped: {
4036
+ type: PropType<boolean | undefined>;
4037
+ default: undefined;
4038
+ };
4014
4039
  }>, {
4015
4040
  table: import("@tanstack/vue-table").Table<{
4016
4041
  rowSelectionFeature: import("@tanstack/vue-table").TableFeature;
@@ -4165,6 +4190,31 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
4165
4190
  type: PropType<boolean | undefined>;
4166
4191
  default: undefined;
4167
4192
  };
4193
+ /** 是否显示表格边框(仅外框);网格线由 single-column / single-line 独立控制(正交模型,词汇对齐 naive-ui) */
4194
+ bordered: {
4195
+ type: PropType<boolean | undefined>;
4196
+ default: undefined;
4197
+ };
4198
+ /** 表格底部是否有边框;bordered: true 时外框已含底边,此参数冗余无害 */
4199
+ bottomBordered: {
4200
+ type: PropType<boolean | undefined>;
4201
+ default: undefined;
4202
+ };
4203
+ /** 是否不设定行的分割线;true 时单元格没有下边线 */
4204
+ singleColumn: {
4205
+ type: PropType<boolean | undefined>;
4206
+ default: undefined;
4207
+ };
4208
+ /** 是否不设定列的分割线;true 时单元格没有右边线 */
4209
+ singleLine: {
4210
+ type: PropType<boolean | undefined>;
4211
+ default: undefined;
4212
+ };
4213
+ /** 斑马线条纹(按行模型索引奇偶,虚拟滚动窗口安全);纯样式属性,setup 期定版不支持运行时切换 */
4214
+ striped: {
4215
+ type: PropType<boolean | undefined>;
4216
+ default: undefined;
4217
+ };
4168
4218
  }>> & Readonly<{
4169
4219
  onSearch?: ((values: DataRecord) => any) | undefined;
4170
4220
  onReset?: ((values: DataRecord) => any) | undefined;
@@ -4182,6 +4232,7 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
4182
4232
  "onColumn-visibility-change"?: ((keys: string[]) => any) | undefined;
4183
4233
  "onDrag-sort"?: ((payload: TableDragSortPayload<DataRecord>) => any) | undefined;
4184
4234
  }>, {
4235
+ bordered: boolean | undefined;
4185
4236
  loading: boolean | undefined;
4186
4237
  draggable: boolean | TableDraggableOptions<DataRecord>;
4187
4238
  autoLoad: boolean | undefined;
@@ -4191,6 +4242,10 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
4191
4242
  showSearch: boolean | undefined;
4192
4243
  showPagination: boolean | undefined;
4193
4244
  fillHeight: boolean | undefined;
4245
+ bottomBordered: boolean | undefined;
4246
+ singleColumn: boolean | undefined;
4247
+ singleLine: boolean | undefined;
4248
+ striped: boolean | undefined;
4194
4249
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4195
4250
  declare const __VLS_export$13: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
4196
4251
  declare const _default$44: typeof __VLS_export$13;
@@ -4438,10 +4493,10 @@ declare const __VLS_base$10: import("vue").DefineComponent<import("vue").Extract
4438
4493
  lazyMount: boolean;
4439
4494
  unmountOnExit: boolean;
4440
4495
  contentClass: string;
4496
+ contentProps: Record<string, unknown>;
4441
4497
  content: string;
4442
4498
  delayDuration: number;
4443
4499
  closeDuration: number;
4444
- contentProps: Record<string, unknown>;
4445
4500
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4446
4501
  declare const __VLS_export$11: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
4447
4502
  declare const _default$49: typeof __VLS_export$11;