@tu-design/vue 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/README.md +74 -0
  2. package/dist/index.d.mts +99 -94
  3. package/dist/index.mjs +986 -875
  4. package/dist/registry/vue/alert-dialog.json +4 -3
  5. package/dist/registry/vue/alert.json +2 -1
  6. package/dist/registry/vue/avatar-group.json +2 -1
  7. package/dist/registry/vue/avatar.json +2 -1
  8. package/dist/registry/vue/badge.json +2 -1
  9. package/dist/registry/vue/button.json +3 -2
  10. package/dist/registry/vue/calendar.json +4 -3
  11. package/dist/registry/vue/card.json +2 -1
  12. package/dist/registry/vue/cascader.json +6 -5
  13. package/dist/registry/vue/checkbox.json +2 -1
  14. package/dist/registry/vue/context-menu.json +3 -2
  15. package/dist/registry/vue/currency-input.json +3 -2
  16. package/dist/registry/vue/date-picker.json +3 -2
  17. package/dist/registry/vue/date-range-picker.json +4 -3
  18. package/dist/registry/vue/date-shared.json +17 -2
  19. package/dist/registry/vue/dialog.json +4 -3
  20. package/dist/registry/vue/drawer.json +4 -3
  21. package/dist/registry/vue/dropdown-menu.json +5 -4
  22. package/dist/registry/vue/empty.json +2 -1
  23. package/dist/registry/vue/form-render.json +36 -34
  24. package/dist/registry/vue/form.json +3 -2
  25. package/dist/registry/vue/input.json +2 -1
  26. package/dist/registry/vue/label.json +2 -1
  27. package/dist/registry/vue/month-picker.json +3 -2
  28. package/dist/registry/vue/number-input.json +3 -2
  29. package/dist/registry/vue/overlay-shared.json +21 -0
  30. package/dist/registry/vue/password-input.json +2 -1
  31. package/dist/registry/vue/pin-input.json +2 -1
  32. package/dist/registry/vue/popconfirm.json +4 -3
  33. package/dist/registry/vue/popover.json +4 -3
  34. package/dist/registry/vue/progress.json +2 -1
  35. package/dist/registry/vue/radio-group.json +2 -1
  36. package/dist/registry/vue/registry.json +57 -1
  37. package/dist/registry/vue/select.json +5 -4
  38. package/dist/registry/vue/separator.json +2 -1
  39. package/dist/registry/vue/skeleton.json +2 -1
  40. package/dist/registry/vue/slider.json +2 -1
  41. package/dist/registry/vue/slot.json +4 -3
  42. package/dist/registry/vue/spin.json +2 -1
  43. package/dist/registry/vue/switch.json +2 -1
  44. package/dist/registry/vue/table-render.json +40 -11
  45. package/dist/registry/vue/tabs.json +2 -1
  46. package/dist/registry/vue/textarea.json +2 -1
  47. package/dist/registry/vue/toast.json +4 -3
  48. package/dist/registry/vue/tokens.json +3 -1
  49. package/dist/registry/vue/tooltip.json +4 -3
  50. package/dist/registry/vue/tree-select.json +6 -5
  51. package/dist/registry/vue/tree-shared.json +16 -14
  52. package/dist/registry/vue/utils.json +1 -0
  53. package/dist/registry/vue/week-picker.json +3 -2
  54. package/dist/registry/vue/year-picker.json +3 -2
  55. package/package.json +3 -2
package/README.md ADDED
@@ -0,0 +1,74 @@
1
+ # @tu-design/vue
2
+
3
+ shadcn 风格的 Vue 3 组件库 —— Tailwind CSS v4 + oklch CSS 变量主题,基于 [Ark UI](https://ark-ui.com) 原语,组件源码通过 [`tu-design` CLI](../cli) 按 registry 分发到你的项目中。
4
+
5
+ - 文档站:<https://gopowerteam.github.io/tu-design/>
6
+ - 组件清单与用法示例见文档站 Components 章节,本 README 只覆盖接入方式。
7
+
8
+ ## 分发模式
9
+
10
+ 和 shadcn/ui 一样,**推荐用法不是安装本包**,而是把组件源码复制进你的项目:
11
+
12
+ ```bash
13
+ npx @tu-design/cli init # 初始化 components.json / tokens / cn 工具
14
+ npx @tu-design/cli add button # 添加组件源码到 src/components/ui/button/
15
+ ```
16
+
17
+ 源码进入你的项目后归你所有,可以直接修改;组件依赖的运行时只有 `clsx`、`tailwind-merge`、`class-variance-authority`(及组件自身声明的 Ark UI / TanStack 等 npm 依赖)。
18
+
19
+ 作为 npm 包安装时,本包导出:
20
+
21
+ - `TuDesignResolver` — unplugin-vue 组件自动导入解析器
22
+ - `cn` — clsx + tailwind-merge 封装
23
+ - 全部组件(`TButton`、`TTabs`……)供直接 import 使用
24
+
25
+ ## 前置要求
26
+
27
+ - Vue 3.5+
28
+ - Tailwind CSS 4(含 `@tailwindcss/vite` 插件)
29
+ - 构建工具中将 `@` 别名指向 `src`(registry 源码以 `@/lib/utils` 导入 `cn`)
30
+
31
+ ## 主题
32
+
33
+ `src/styles/tokens.css` 定义 shadcn 风格的 CSS 变量(oklch)并通过 Tailwind v4 `@theme inline` 映射为工具类:
34
+
35
+ - `:root` / `.dark` 提供默认亮/暗主题
36
+ - 支持 `data-theme` 自定义品牌主题配方(详见文档站主题指南)
37
+
38
+ `tokens.css` 依赖 `tw-animate-css`,需一并安装。CLI 的 `init` / `add tokens` 会自动合并注入。
39
+
40
+ ## 自动导入
41
+
42
+ 配合 [unplugin-vue-components](https://github.com/unplugin/unplugin-vue-components):
43
+
44
+ ```bash
45
+ pnpm add -D unplugin-vue-components
46
+ ```
47
+
48
+ ```ts
49
+ // vite.config.ts
50
+ import Components from "unplugin-vue-components/vite";
51
+ import { TuDesignResolver } from "@tu-design/vue";
52
+
53
+ export default {
54
+ plugins: [Components({ resolvers: [TuDesignResolver()] })],
55
+ };
56
+ ```
57
+
58
+ 模板中可直接使用 `TButton` / `t-button`(`T` 前缀 + 组件名)。解析器按组件名白名单工作,`Transition`、`Teleport` 等 Vue 内置组件不会被误解析。
59
+
60
+ ## Registry
61
+
62
+ `registry/vue/*.json` 是 CLI 分发的数据源(遵循 shadcn registry-item schema),由 `scripts/generate-registry.ts` 从组件源码生成并有防漂移测试保护。线上地址为 `https://gopowerteam.github.io/tu-design/r/vue`。
63
+
64
+ ```bash
65
+ vp run generate:registry # 改动组件源码 / utils / tokens 后重新生成
66
+ vp test # 运行组件测试
67
+ vp run typecheck # vue-tsc 类型检查
68
+ ```
69
+
70
+ ## 相关
71
+
72
+ - [`@tu-design/cli`](../cli) — registry 分发 CLI
73
+ - 仓库:<https://github.com/gopowerteam/tu-design>
74
+ - 许可:MIT
package/dist/index.d.mts CHANGED
@@ -91,11 +91,11 @@ declare const __VLS_base$31: import("vue").DefineComponent<import("vue").Extract
91
91
  }>> & Readonly<{
92
92
  "onUpdate:checked"?: (checked: boolean) => any;
93
93
  }>, {
94
- name: string;
95
94
  class: string;
96
- disabled: boolean;
95
+ name: string;
97
96
  checked: boolean | "indeterminate";
98
97
  defaultChecked: boolean;
98
+ disabled: boolean;
99
99
  form: string;
100
100
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
101
101
  declare const __VLS_export$50: __VLS_WithSlots$31<typeof __VLS_base$31, __VLS_Slots$31>;
@@ -191,11 +191,11 @@ declare const __VLS_export$49: import("vue").DefineComponent<import("vue").Extra
191
191
  }>> & Readonly<{
192
192
  "onUpdate:modelValue"?: (value: number) => any;
193
193
  }>, {
194
- modelValue: number;
195
194
  class: string;
196
- invalid: boolean;
197
- placeholder: string;
198
195
  disabled: boolean;
196
+ modelValue: number;
197
+ placeholder: string;
198
+ invalid: boolean;
199
199
  labelUnit: CurrencyUnit;
200
200
  valueUnit: CurrencyUnit;
201
201
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -267,8 +267,8 @@ declare const __VLS_export$48: import("vue").DefineComponent<import("vue").Extra
267
267
  default: any;
268
268
  };
269
269
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
270
- "update:modelValue": (value: string) => any;
271
270
  "update:open": (open: boolean) => any;
271
+ "update:modelValue": (value: string) => any;
272
272
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
273
273
  /** 受控值("yyyy-MM-dd");undefined 走内部非受控,null 表示空 */
274
274
  modelValue: {
@@ -334,23 +334,23 @@ declare const __VLS_export$48: import("vue").DefineComponent<import("vue").Extra
334
334
  default: any;
335
335
  };
336
336
  }>> & Readonly<{
337
- "onUpdate:modelValue"?: (value: string) => any;
338
337
  "onUpdate:open"?: (open: boolean) => any;
338
+ "onUpdate:modelValue"?: (value: string) => any;
339
339
  }>, {
340
- modelValue: string;
341
- defaultValue: string;
342
- min: string;
343
- max: string;
344
- isDateUnavailable: (date: DateValue) => boolean;
345
- locale: string;
346
340
  class: string;
347
- invalid: boolean;
341
+ max: string;
348
342
  open: boolean;
343
+ disabled: boolean;
344
+ modelValue: string;
345
+ defaultValue: string;
349
346
  defaultOpen: boolean;
350
347
  placeholder: string;
351
- disabled: boolean;
348
+ invalid: boolean;
352
349
  readOnly: boolean;
350
+ min: string;
351
+ isDateUnavailable: (date: DateValue) => boolean;
353
352
  closeOnSelect: boolean;
353
+ locale: string;
354
354
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
355
355
  declare const _default$12: typeof __VLS_export$48;
356
356
  //#endregion
@@ -425,8 +425,8 @@ declare const __VLS_export$47: import("vue").DefineComponent<import("vue").Extra
425
425
  default: any;
426
426
  };
427
427
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
428
- "update:modelValue": (value: [string, string]) => any;
429
428
  "update:open": (open: boolean) => any;
429
+ "update:modelValue": (value: [string, string]) => any;
430
430
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
431
431
  /** 受控值 [start, end]("yyyy-MM-dd",start ≤ end);undefined 走内部非受控,null 表示空 */
432
432
  modelValue: {
@@ -497,24 +497,24 @@ declare const __VLS_export$47: import("vue").DefineComponent<import("vue").Extra
497
497
  default: any;
498
498
  };
499
499
  }>> & Readonly<{
500
- "onUpdate:modelValue"?: (value: [string, string]) => any;
501
500
  "onUpdate:open"?: (open: boolean) => any;
501
+ "onUpdate:modelValue"?: (value: [string, string]) => any;
502
502
  }>, {
503
- numOfMonths: number;
504
- modelValue: [string, string];
505
- defaultValue: [string, string];
506
- min: string;
507
- max: string;
508
- isDateUnavailable: (date: DateValue) => boolean;
509
- locale: string;
510
503
  class: string;
511
- invalid: boolean;
504
+ max: string;
512
505
  open: boolean;
506
+ disabled: boolean;
507
+ modelValue: [string, string];
508
+ defaultValue: [string, string];
513
509
  defaultOpen: boolean;
514
510
  placeholder: string;
515
- disabled: boolean;
511
+ invalid: boolean;
516
512
  readOnly: boolean;
513
+ min: string;
514
+ isDateUnavailable: (date: DateValue) => boolean;
517
515
  closeOnSelect: boolean;
516
+ locale: string;
517
+ numOfMonths: number;
518
518
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
519
519
  declare const _default$13: typeof __VLS_export$47;
520
520
  //#endregion
@@ -596,8 +596,8 @@ declare const __VLS_export$45: import("vue").DefineComponent<import("vue").Extra
596
596
  default: any;
597
597
  };
598
598
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
599
- "update:modelValue": (value: string) => any;
600
599
  "update:open": (open: boolean) => any;
600
+ "update:modelValue": (value: string) => any;
601
601
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
602
602
  /** 受控月份("yyyy-MM");undefined 走内部非受控,null 表示空 */
603
603
  modelValue: {
@@ -659,22 +659,22 @@ declare const __VLS_export$45: import("vue").DefineComponent<import("vue").Extra
659
659
  default: any;
660
660
  };
661
661
  }>> & Readonly<{
662
- "onUpdate:modelValue"?: (value: string) => any;
663
662
  "onUpdate:open"?: (open: boolean) => any;
663
+ "onUpdate:modelValue"?: (value: string) => any;
664
664
  }>, {
665
- modelValue: string;
666
- defaultValue: string;
667
- min: string;
668
- max: string;
669
- locale: string;
670
665
  class: string;
671
- invalid: boolean;
666
+ max: string;
672
667
  open: boolean;
668
+ disabled: boolean;
669
+ modelValue: string;
670
+ defaultValue: string;
673
671
  defaultOpen: boolean;
674
672
  placeholder: string;
675
- disabled: boolean;
673
+ invalid: boolean;
676
674
  readOnly: boolean;
675
+ min: string;
677
676
  closeOnSelect: boolean;
677
+ locale: string;
678
678
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
679
679
  declare const _default$29: typeof __VLS_export$45;
680
680
  //#endregion
@@ -745,8 +745,8 @@ declare const __VLS_export$44: import("vue").DefineComponent<import("vue").Extra
745
745
  default: any;
746
746
  };
747
747
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
748
- "update:modelValue": (value: string) => any;
749
748
  "update:open": (open: boolean) => any;
749
+ "update:modelValue": (value: string) => any;
750
750
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
751
751
  /** 受控值("yyyy-MM-dd",语义=所在周起始日);undefined 走内部非受控,null 表示空 */
752
752
  modelValue: {
@@ -813,23 +813,23 @@ declare const __VLS_export$44: import("vue").DefineComponent<import("vue").Extra
813
813
  default: any;
814
814
  };
815
815
  }>> & Readonly<{
816
- "onUpdate:modelValue"?: (value: string) => any;
817
816
  "onUpdate:open"?: (open: boolean) => any;
817
+ "onUpdate:modelValue"?: (value: string) => any;
818
818
  }>, {
819
- modelValue: string;
820
- defaultValue: string;
821
- min: string;
822
- max: string;
823
- isDateUnavailable: (date: DateValue) => boolean;
824
- locale: string;
825
819
  class: string;
826
- invalid: boolean;
820
+ max: string;
827
821
  open: boolean;
822
+ disabled: boolean;
823
+ modelValue: string;
824
+ defaultValue: string;
828
825
  defaultOpen: boolean;
829
826
  placeholder: string;
830
- disabled: boolean;
827
+ invalid: boolean;
831
828
  readOnly: boolean;
829
+ min: string;
830
+ isDateUnavailable: (date: DateValue) => boolean;
832
831
  closeOnSelect: boolean;
832
+ locale: string;
833
833
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
834
834
  declare const _default$49: typeof __VLS_export$44;
835
835
  //#endregion
@@ -913,12 +913,12 @@ declare const __VLS_base$30: import("vue").DefineComponent<import("vue").Extract
913
913
  }>> & Readonly<{
914
914
  "onUpdate:modelValue"?: (value: number) => any;
915
915
  }>, {
916
- modelValue: number;
917
- min: number;
918
- max: number;
919
916
  class: string;
920
- invalid: boolean;
917
+ max: number;
921
918
  disabled: boolean;
919
+ modelValue: number;
920
+ invalid: boolean;
921
+ min: number;
922
922
  step: number;
923
923
  formatOptions: Intl.NumberFormatOptions;
924
924
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1013,11 +1013,11 @@ declare const __VLS_base$29: import("vue").DefineComponent<import("vue").Extract
1013
1013
  "onUpdate:modelValue"?: (value: string) => any;
1014
1014
  "onUpdate:visible"?: (visible: boolean) => any;
1015
1015
  }>, {
1016
- modelValue: string;
1017
1016
  class: string;
1018
- invalid: boolean;
1019
- placeholder: string;
1020
1017
  disabled: boolean;
1018
+ modelValue: string;
1019
+ placeholder: string;
1020
+ invalid: boolean;
1021
1021
  visible: boolean;
1022
1022
  autoComplete: "current-password" | "new-password";
1023
1023
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1083,7 +1083,8 @@ type __VLS_WithSlots$28<T, S> = T & {
1083
1083
  /*!
1084
1084
  * 移植自 treemate v0.3.11 —— https://github.com/07akioni/treemate
1085
1085
  * MIT License · Copyright (c) 07akioni
1086
- * 本地改动:无实质改动(仅类型导入顺序与注释格式)。
1086
+ * 本地改动:GetChildren 返回类型由 `Array<R | G | I> | unknown` 塌缩为 `unknown`
1087
+ * (TS 中 `X | unknown` 恒等于 `unknown`,语义不变,消除 no-redundant-type-constituents 告警)。
1087
1088
  */
1088
1089
  type Key = string | number;
1089
1090
  type CheckStrategy = "all" | "child" | "parent";
@@ -1182,6 +1183,7 @@ declare const __VLS_export$40: import("vue").DefineComponent<import("vue").Extra
1182
1183
  default: any;
1183
1184
  };
1184
1185
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1186
+ "update:open": (open: boolean) => any;
1185
1187
  "update:modelValue": (value: Key | Key[]) => any;
1186
1188
  "update:show": (open: boolean) => any;
1187
1189
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -1266,16 +1268,17 @@ declare const __VLS_export$40: import("vue").DefineComponent<import("vue").Extra
1266
1268
  default: any;
1267
1269
  };
1268
1270
  }>> & Readonly<{
1271
+ "onUpdate:open"?: (open: boolean) => any;
1269
1272
  "onUpdate:modelValue"?: (value: Key | Key[]) => any;
1270
1273
  "onUpdate:show"?: (open: boolean) => any;
1271
1274
  }>, {
1272
- modelValue: Key | Key[];
1273
- defaultValue: Key | Key[];
1274
1275
  class: string;
1275
1276
  open: boolean;
1277
+ disabled: boolean;
1278
+ modelValue: Key | Key[];
1279
+ defaultValue: Key | Key[];
1276
1280
  defaultOpen: boolean;
1277
1281
  placeholder: string;
1278
- disabled: boolean;
1279
1282
  multiple: boolean;
1280
1283
  checkable: boolean;
1281
1284
  cascade: boolean;
@@ -1375,6 +1378,7 @@ declare const __VLS_export$39: import("vue").DefineComponent<import("vue").Extra
1375
1378
  default: any;
1376
1379
  };
1377
1380
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1381
+ "update:open": (open: boolean) => any;
1378
1382
  "update:modelValue": (value: Key | Key[]) => any;
1379
1383
  "update:show": (open: boolean) => any;
1380
1384
  "update:expandedKeys": (keys: Key[]) => any;
@@ -1464,17 +1468,18 @@ declare const __VLS_export$39: import("vue").DefineComponent<import("vue").Extra
1464
1468
  default: any;
1465
1469
  };
1466
1470
  }>> & Readonly<{
1471
+ "onUpdate:open"?: (open: boolean) => any;
1467
1472
  "onUpdate:modelValue"?: (value: Key | Key[]) => any;
1468
1473
  "onUpdate:show"?: (open: boolean) => any;
1469
1474
  "onUpdate:expandedKeys"?: (keys: Key[]) => any;
1470
1475
  }>, {
1471
- modelValue: Key | Key[];
1472
- defaultValue: Key | Key[];
1473
1476
  class: string;
1474
1477
  open: boolean;
1478
+ disabled: boolean;
1479
+ modelValue: Key | Key[];
1480
+ defaultValue: Key | Key[];
1475
1481
  defaultOpen: boolean;
1476
1482
  placeholder: string;
1477
- disabled: boolean;
1478
1483
  multiple: boolean;
1479
1484
  checkable: boolean;
1480
1485
  cascade: boolean;
@@ -1544,8 +1549,8 @@ declare const __VLS_base$27: import("vue").DefineComponent<import("vue").Extract
1544
1549
  default: any;
1545
1550
  };
1546
1551
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1547
- "update:modelValue": (value: string) => any;
1548
1552
  "update:open": (open: boolean) => any;
1553
+ "update:modelValue": (value: string) => any;
1549
1554
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1550
1555
  /** 选项列表:字符串(label = value)或 { label, value, disabled? } */
1551
1556
  items: {
@@ -1586,12 +1591,12 @@ declare const __VLS_base$27: import("vue").DefineComponent<import("vue").Extract
1586
1591
  default: any;
1587
1592
  };
1588
1593
  }>> & Readonly<{
1589
- "onUpdate:modelValue"?: (value: string) => any;
1590
1594
  "onUpdate:open"?: (open: boolean) => any;
1595
+ "onUpdate:modelValue"?: (value: string) => any;
1591
1596
  }>, {
1597
+ open: boolean;
1592
1598
  modelValue: string;
1593
1599
  defaultValue: string;
1594
- open: boolean;
1595
1600
  defaultOpen: boolean;
1596
1601
  placeholder: string;
1597
1602
  contentClass: string;
@@ -1623,8 +1628,8 @@ declare const __VLS_export$37: import("vue").DefineComponent<__VLS_Props$11, {},
1623
1628
  }, string, import("vue").PublicProps, Readonly<__VLS_Props$11> & Readonly<{
1624
1629
  "onUpdate:modelValue"?: (value: number[]) => any;
1625
1630
  }>, {
1626
- min: number;
1627
1631
  max: number;
1632
+ min: number;
1628
1633
  step: number;
1629
1634
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1630
1635
  declare const _default$40: typeof __VLS_export$37;
@@ -1674,9 +1679,9 @@ declare const __VLS_base$26: import("vue").DefineComponent<import("vue").Extract
1674
1679
  "onUpdate:checked"?: (checked: boolean) => any;
1675
1680
  }>, {
1676
1681
  class: string;
1677
- disabled: boolean;
1678
1682
  checked: boolean;
1679
1683
  defaultChecked: boolean;
1684
+ disabled: boolean;
1680
1685
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1681
1686
  declare const __VLS_export$36: __VLS_WithSlots$26<typeof __VLS_base$26, __VLS_Slots$26>;
1682
1687
  declare const _default$42: typeof __VLS_export$36;
@@ -1764,8 +1769,8 @@ declare const __VLS_export$34: import("vue").DefineComponent<import("vue").Extra
1764
1769
  default: any;
1765
1770
  };
1766
1771
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1767
- "update:modelValue": (value: string) => any;
1768
1772
  "update:open": (open: boolean) => any;
1773
+ "update:modelValue": (value: string) => any;
1769
1774
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1770
1775
  /** 受控年份("yyyy");undefined 走内部非受控,null 表示空 */
1771
1776
  modelValue: {
@@ -1827,22 +1832,22 @@ declare const __VLS_export$34: import("vue").DefineComponent<import("vue").Extra
1827
1832
  default: any;
1828
1833
  };
1829
1834
  }>> & Readonly<{
1830
- "onUpdate:modelValue"?: (value: string) => any;
1831
1835
  "onUpdate:open"?: (open: boolean) => any;
1836
+ "onUpdate:modelValue"?: (value: string) => any;
1832
1837
  }>, {
1833
- modelValue: string;
1834
- defaultValue: string;
1835
- min: string;
1836
- max: string;
1837
- locale: string;
1838
1838
  class: string;
1839
- invalid: boolean;
1839
+ max: string;
1840
1840
  open: boolean;
1841
+ disabled: boolean;
1842
+ modelValue: string;
1843
+ defaultValue: string;
1841
1844
  defaultOpen: boolean;
1842
1845
  placeholder: string;
1843
- disabled: boolean;
1846
+ invalid: boolean;
1844
1847
  readOnly: boolean;
1848
+ min: string;
1845
1849
  closeOnSelect: boolean;
1850
+ locale: string;
1846
1851
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1847
1852
  declare const _default$50: typeof __VLS_export$34;
1848
1853
  //#endregion
@@ -2213,7 +2218,7 @@ type __VLS_WithSlots$24<T, S> = T & {
2213
2218
  //#endregion
2214
2219
  //#region src/components/avatar/index.d.ts
2215
2220
  export declare const avatarVariants: (props?: {
2216
- size?: "xs" | "sm" | "md" | "lg";
2221
+ size?: "sm" | "lg" | "xs" | "md";
2217
2222
  shape?: "circle" | "square";
2218
2223
  } & import("class-variance-authority/types").ClassProp) => string;
2219
2224
  export type AvatarVariants = VariantProps<typeof avatarVariants>;
@@ -2305,7 +2310,7 @@ type __VLS_WithSlots$21<T, S> = T & {
2305
2310
  //#region src/components/button/index.d.ts
2306
2311
  export declare const buttonVariants: (props?: {
2307
2312
  variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link";
2308
- size?: "default" | "sm" | "lg" | "icon";
2313
+ size?: "sm" | "default" | "lg" | "icon";
2309
2314
  } & import("class-variance-authority/types").ClassProp) => string;
2310
2315
  export type ButtonVariants = VariantProps<typeof buttonVariants>;
2311
2316
  //#endregion
@@ -2407,14 +2412,14 @@ declare const __VLS_export$28: import("vue").DefineComponent<import("vue").Extra
2407
2412
  }>> & Readonly<{
2408
2413
  "onUpdate:modelValue"?: (value: string) => any;
2409
2414
  }>, {
2410
- mode: "day" | "month" | "year";
2411
- numOfMonths: number;
2415
+ max: string;
2412
2416
  modelValue: string;
2413
2417
  defaultValue: string;
2414
2418
  min: string;
2415
- max: string;
2416
2419
  isDateUnavailable: (date: DateValue) => boolean;
2417
2420
  locale: string;
2421
+ mode: "day" | "month" | "year";
2422
+ numOfMonths: number;
2418
2423
  week: boolean;
2419
2424
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2420
2425
  declare const _default$6: typeof __VLS_export$28;
@@ -2477,7 +2482,7 @@ type __VLS_WithSlots$20<T, S> = T & {
2477
2482
  //#endregion
2478
2483
  //#region src/components/card/index.d.ts
2479
2484
  export declare const cardVariants: (props?: {
2480
- size?: "default" | "sm" | "lg";
2485
+ size?: "sm" | "default" | "lg";
2481
2486
  bordered?: boolean;
2482
2487
  hoverable?: boolean;
2483
2488
  interactive?: boolean;
@@ -2590,14 +2595,14 @@ declare const __VLS_base$19: import("vue").DefineComponent<import("vue").Extract
2590
2595
  }>> & Readonly<{
2591
2596
  "onUpdate:open"?: (open: boolean) => any;
2592
2597
  }>, {
2598
+ title: string;
2599
+ description: string;
2593
2600
  open: boolean;
2594
2601
  defaultOpen: boolean;
2595
2602
  lazyMount: boolean;
2596
2603
  unmountOnExit: boolean;
2597
- title: string;
2598
- description: string;
2599
- showCloseButton: boolean;
2600
2604
  contentClass: string;
2605
+ showCloseButton: boolean;
2601
2606
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2602
2607
  declare const __VLS_export$26: __VLS_WithSlots$19<typeof __VLS_base$19, __VLS_Slots$19>;
2603
2608
  declare const _default$14: typeof __VLS_export$26;
@@ -3024,13 +3029,13 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
3024
3029
  "onUpdate:modelValue"?: (value: string[]) => any;
3025
3030
  onComplete?: (value: string[]) => any;
3026
3031
  }>, {
3027
- length: number;
3032
+ class: string;
3028
3033
  type: "numeric" | "alphanumeric";
3034
+ length: number;
3035
+ disabled: boolean;
3029
3036
  modelValue: string[];
3030
- class: string;
3031
- invalid: boolean;
3032
3037
  placeholder: string;
3033
- disabled: boolean;
3038
+ invalid: boolean;
3034
3039
  otp: boolean;
3035
3040
  mask: boolean;
3036
3041
  autoSubmit: boolean;
@@ -3135,8 +3140,8 @@ declare const __VLS_base$10: import("vue").DefineComponent<import("vue").Extract
3135
3140
  lazyMount: boolean;
3136
3141
  unmountOnExit: boolean;
3137
3142
  contentClass: string;
3138
- align: Align;
3139
3143
  contentProps: Record<string, unknown>;
3144
+ align: Align;
3140
3145
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
3141
3146
  declare const __VLS_export$14: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
3142
3147
  declare const _default$34: typeof __VLS_export$14;
@@ -3849,13 +3854,13 @@ declare const __VLS_base$7: import("vue").DefineComponent<import("vue").ExtractP
3849
3854
  }>, {
3850
3855
  open: boolean;
3851
3856
  defaultOpen: boolean;
3857
+ content: string;
3858
+ delayDuration: number;
3859
+ closeDuration: number;
3852
3860
  lazyMount: boolean;
3853
3861
  unmountOnExit: boolean;
3854
3862
  contentClass: string;
3855
3863
  contentProps: Record<string, unknown>;
3856
- content: string;
3857
- delayDuration: number;
3858
- closeDuration: number;
3859
3864
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
3860
3865
  declare const __VLS_export$9: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
3861
3866
  declare const _default$47: typeof __VLS_export$9;
@@ -4174,10 +4179,10 @@ declare const __VLS_base$3: import("vue").DefineComponent<import("vue").ExtractP
4174
4179
  onCancel?: () => any;
4175
4180
  }>, {
4176
4181
  destructive: boolean;
4177
- open: boolean;
4178
4182
  description: string;
4179
4183
  confirmText: string;
4180
4184
  cancelText: string;
4185
+ open: boolean;
4181
4186
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4182
4187
  declare const __VLS_export$3: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
4183
4188
  declare const _default$1: typeof __VLS_export$3;
@@ -4338,12 +4343,12 @@ declare const __VLS_base$1: import("vue").DefineComponent<import("vue").ExtractP
4338
4343
  "onUpdate:open"?: (open: boolean) => any;
4339
4344
  }>, {
4340
4345
  size: Size;
4346
+ title: string;
4347
+ description: string;
4341
4348
  open: boolean;
4342
4349
  defaultOpen: boolean;
4343
4350
  lazyMount: boolean;
4344
4351
  unmountOnExit: boolean;
4345
- title: string;
4346
- description: string;
4347
4352
  showCloseButton: boolean;
4348
4353
  placement: Placement;
4349
4354
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -4432,10 +4437,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
4432
4437
  onCancel?: () => any;
4433
4438
  }>, {
4434
4439
  variant: "default" | "destructive";
4435
- open: boolean;
4436
4440
  description: string;
4437
4441
  confirmText: string;
4438
4442
  cancelText: string;
4443
+ open: boolean;
4439
4444
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4440
4445
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
4441
4446
  declare const _default$33: typeof __VLS_export;