@tu-design/vue 0.5.3 → 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.
Files changed (56) hide show
  1. package/dist/index.d.mts +221 -20
  2. package/dist/index.mjs +518 -163
  3. package/dist/registry/vue/alert-dialog.json +2 -2
  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 +2 -2
  12. package/dist/registry/vue/checkbox.json +1 -1
  13. package/dist/registry/vue/context-menu.json +3 -3
  14. package/dist/registry/vue/currency-input.json +1 -1
  15. package/dist/registry/vue/date-picker.json +2 -2
  16. package/dist/registry/vue/date-range-picker.json +2 -2
  17. package/dist/registry/vue/date-shared.json +8 -2
  18. package/dist/registry/vue/dialog.json +2 -2
  19. package/dist/registry/vue/drawer.json +2 -2
  20. package/dist/registry/vue/dropdown-menu.json +2 -2
  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 +2 -2
  28. package/dist/registry/vue/number-input.json +1 -1
  29. package/dist/registry/vue/overlay-shared.json +13 -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 +2 -2
  34. package/dist/registry/vue/progress.json +1 -1
  35. package/dist/registry/vue/radio-group.json +1 -1
  36. package/dist/registry/vue/registry.json +52 -52
  37. package/dist/registry/vue/select.json +2 -2
  38. package/dist/registry/vue/separator.json +1 -1
  39. package/dist/registry/vue/skeleton.json +1 -1
  40. package/dist/registry/vue/slider.json +1 -1
  41. package/dist/registry/vue/slot.json +1 -1
  42. package/dist/registry/vue/spin.json +1 -1
  43. package/dist/registry/vue/switch.json +1 -1
  44. package/dist/registry/vue/table-render.json +5 -5
  45. package/dist/registry/vue/tabs.json +1 -1
  46. package/dist/registry/vue/textarea.json +1 -1
  47. package/dist/registry/vue/timeline.json +1 -1
  48. package/dist/registry/vue/toast.json +1 -1
  49. package/dist/registry/vue/tokens.json +2 -2
  50. package/dist/registry/vue/tooltip.json +2 -2
  51. package/dist/registry/vue/tree-select.json +2 -2
  52. package/dist/registry/vue/tree-shared.json +1 -1
  53. package/dist/registry/vue/utils.json +1 -1
  54. package/dist/registry/vue/week-picker.json +2 -2
  55. package/dist/registry/vue/year-picker.json +2 -2
  56. package/package.json +2 -1
package/dist/index.d.mts CHANGED
@@ -2,10 +2,15 @@ import { ClassValue } from "clsx";
2
2
  import { ImgHTMLAttributes, InjectionKey, MaybeRefOrGetter, PropType, Ref, VNode, VNodeChild } from "vue";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import { DateValue } from "@ark-ui/vue/date-picker";
5
+ import { SelectRootProps } from "@ark-ui/vue/select";
6
+ import { PopoverRootProps } from "@ark-ui/vue/popover";
5
7
  import { AnyFieldApi, FormApi, VueFormApi } from "@tanstack/vue-form";
6
8
  import { Avatar } from "@ark-ui/vue/avatar";
9
+ import { MenuRootProps } from "@ark-ui/vue/menu";
10
+ import { TooltipRootProps } from "@ark-ui/vue/tooltip";
7
11
  import { Table } from "@tanstack/vue-table";
8
12
  import { Toast, ToastOptions as ToastOptions$1, ToastPlacement as ToastPlacement$1, ToastPromiseOptions as ToastPromiseOptions$1 } from "@ark-ui/vue/toast";
13
+ import { PositioningOptions } from "@zag-js/popper";
9
14
  //#region src/lib/utils.d.ts
10
15
  export declare function cn(...inputs: ClassValue[]): string;
11
16
  //#endregion
@@ -92,8 +97,8 @@ declare const __VLS_base$34: import("vue").DefineComponent<import("vue").Extract
92
97
  "onUpdate:checked"?: (checked: boolean) => any;
93
98
  }>, {
94
99
  class: string;
95
- disabled: boolean;
96
100
  name: string;
101
+ disabled: boolean;
97
102
  checked: boolean | "indeterminate";
98
103
  defaultChecked: boolean;
99
104
  form: string;
@@ -201,6 +206,19 @@ declare const __VLS_export$51: import("vue").DefineComponent<import("vue").Extra
201
206
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
202
207
  declare const _default$11: typeof __VLS_export$51;
203
208
  //#endregion
209
+ //#region src/components/date-shared/positioning.d.ts
210
+ /**
211
+ * Ark DatePicker Root 的 positioning 配置类型。
212
+ *
213
+ * 直接引用 @zag-js/popper 的命名导出(而非经 @ark-ui/vue indexed-access
214
+ * `Props["positioning"]` 取类型):dts 生成(rolldown-plugin-dts / vue-tsc)
215
+ * 展开匿名结构时链尾会引用 .pnpm 深路径的传递依赖类型,触发 TS2742
216
+ * (inferred type cannot be named ... likely not portable)导致 prepack 构建
217
+ * 失败。命名导入让声明输出直接写 `import("@zag-js/popper")` 逻辑名引用,
218
+ * packages/vue 已显式声明该依赖(catalog:),构建可移植。
219
+ */
220
+ type PickerPositioning = PositioningOptions;
221
+ //#endregion
204
222
  //#region src/components/date-picker/DatePicker.vue.d.ts
205
223
  declare const __VLS_export$50: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
206
224
  /** 受控值("yyyy-MM-dd");undefined 走内部非受控,null 表示空 */
@@ -262,6 +280,13 @@ declare const __VLS_export$50: import("vue").DefineComponent<import("vue").Extra
262
280
  type: StringConstructor;
263
281
  default: string;
264
282
  };
283
+ /** Ark DatePicker Root 的 positioning 配置(placement/gutter 等);
284
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
285
+ (absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
286
+ positioning: {
287
+ type: PropType<PickerPositioning>;
288
+ default: any;
289
+ };
265
290
  class: {
266
291
  type: StringConstructor;
267
292
  default: any;
@@ -329,6 +354,13 @@ declare const __VLS_export$50: import("vue").DefineComponent<import("vue").Extra
329
354
  type: StringConstructor;
330
355
  default: string;
331
356
  };
357
+ /** Ark DatePicker Root 的 positioning 配置(placement/gutter 等);
358
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
359
+ (absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
360
+ positioning: {
361
+ type: PropType<PickerPositioning>;
362
+ default: any;
363
+ };
332
364
  class: {
333
365
  type: StringConstructor;
334
366
  default: any;
@@ -338,6 +370,7 @@ declare const __VLS_export$50: import("vue").DefineComponent<import("vue").Extra
338
370
  "onUpdate:open"?: (open: boolean) => any;
339
371
  }>, {
340
372
  class: string;
373
+ max: string;
341
374
  modelValue: string;
342
375
  defaultValue: string;
343
376
  open: boolean;
@@ -347,10 +380,10 @@ declare const __VLS_export$50: import("vue").DefineComponent<import("vue").Extra
347
380
  invalid: boolean;
348
381
  readOnly: boolean;
349
382
  min: string;
350
- max: string;
351
383
  isDateUnavailable: (date: DateValue) => boolean;
352
384
  closeOnSelect: boolean;
353
385
  locale: string;
386
+ positioning: import("@zag-js/popper").PositioningOptions;
354
387
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
355
388
  declare const _default$12: typeof __VLS_export$50;
356
389
  //#endregion
@@ -420,6 +453,12 @@ declare const __VLS_export$49: import("vue").DefineComponent<import("vue").Extra
420
453
  type: StringConstructor;
421
454
  default: string;
422
455
  };
456
+ /** Ark DatePicker Root 的 positioning 配置(placement/gutter 等);
457
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed */
458
+ positioning: {
459
+ type: PropType<PickerPositioning>;
460
+ default: any;
461
+ };
423
462
  class: {
424
463
  type: StringConstructor;
425
464
  default: any;
@@ -492,6 +531,12 @@ declare const __VLS_export$49: import("vue").DefineComponent<import("vue").Extra
492
531
  type: StringConstructor;
493
532
  default: string;
494
533
  };
534
+ /** Ark DatePicker Root 的 positioning 配置(placement/gutter 等);
535
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed */
536
+ positioning: {
537
+ type: PropType<PickerPositioning>;
538
+ default: any;
539
+ };
495
540
  class: {
496
541
  type: StringConstructor;
497
542
  default: any;
@@ -501,6 +546,7 @@ declare const __VLS_export$49: import("vue").DefineComponent<import("vue").Extra
501
546
  "onUpdate:open"?: (open: boolean) => any;
502
547
  }>, {
503
548
  class: string;
549
+ max: string;
504
550
  modelValue: [string, string];
505
551
  defaultValue: [string, string];
506
552
  open: boolean;
@@ -510,11 +556,11 @@ declare const __VLS_export$49: import("vue").DefineComponent<import("vue").Extra
510
556
  invalid: boolean;
511
557
  readOnly: boolean;
512
558
  min: string;
513
- max: string;
514
559
  isDateUnavailable: (date: DateValue) => boolean;
515
560
  closeOnSelect: boolean;
516
- numOfMonths: number;
517
561
  locale: string;
562
+ positioning: import("@zag-js/popper").PositioningOptions;
563
+ numOfMonths: number;
518
564
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
519
565
  declare const _default$13: typeof __VLS_export$49;
520
566
  //#endregion
@@ -591,6 +637,13 @@ declare const __VLS_export$47: import("vue").DefineComponent<import("vue").Extra
591
637
  type: StringConstructor;
592
638
  default: string;
593
639
  };
640
+ /** Ark DatePicker Root 的 positioning 配置(placement/gutter 等);
641
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
642
+ (absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
643
+ positioning: {
644
+ type: PropType<PickerPositioning>;
645
+ default: any;
646
+ };
594
647
  class: {
595
648
  type: StringConstructor;
596
649
  default: any;
@@ -654,6 +707,13 @@ declare const __VLS_export$47: import("vue").DefineComponent<import("vue").Extra
654
707
  type: StringConstructor;
655
708
  default: string;
656
709
  };
710
+ /** Ark DatePicker Root 的 positioning 配置(placement/gutter 等);
711
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
712
+ (absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
713
+ positioning: {
714
+ type: PropType<PickerPositioning>;
715
+ default: any;
716
+ };
657
717
  class: {
658
718
  type: StringConstructor;
659
719
  default: any;
@@ -663,6 +723,7 @@ declare const __VLS_export$47: import("vue").DefineComponent<import("vue").Extra
663
723
  "onUpdate:open"?: (open: boolean) => any;
664
724
  }>, {
665
725
  class: string;
726
+ max: string;
666
727
  modelValue: string;
667
728
  defaultValue: string;
668
729
  open: boolean;
@@ -672,9 +733,9 @@ declare const __VLS_export$47: import("vue").DefineComponent<import("vue").Extra
672
733
  invalid: boolean;
673
734
  readOnly: boolean;
674
735
  min: string;
675
- max: string;
676
736
  closeOnSelect: boolean;
677
737
  locale: string;
738
+ positioning: import("@zag-js/popper").PositioningOptions;
678
739
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
679
740
  declare const _default$29: typeof __VLS_export$47;
680
741
  //#endregion
@@ -740,6 +801,13 @@ declare const __VLS_export$46: import("vue").DefineComponent<import("vue").Extra
740
801
  type: StringConstructor;
741
802
  default: string;
742
803
  };
804
+ /** Ark DatePicker Root 的 positioning 配置(placement/gutter 等);
805
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
806
+ (absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
807
+ positioning: {
808
+ type: PropType<PickerPositioning>;
809
+ default: any;
810
+ };
743
811
  class: {
744
812
  type: StringConstructor;
745
813
  default: any;
@@ -808,6 +876,13 @@ declare const __VLS_export$46: import("vue").DefineComponent<import("vue").Extra
808
876
  type: StringConstructor;
809
877
  default: string;
810
878
  };
879
+ /** Ark DatePicker Root 的 positioning 配置(placement/gutter 等);
880
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
881
+ (absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
882
+ positioning: {
883
+ type: PropType<PickerPositioning>;
884
+ default: any;
885
+ };
811
886
  class: {
812
887
  type: StringConstructor;
813
888
  default: any;
@@ -817,6 +892,7 @@ declare const __VLS_export$46: import("vue").DefineComponent<import("vue").Extra
817
892
  "onUpdate:open"?: (open: boolean) => any;
818
893
  }>, {
819
894
  class: string;
895
+ max: string;
820
896
  modelValue: string;
821
897
  defaultValue: string;
822
898
  open: boolean;
@@ -826,10 +902,10 @@ declare const __VLS_export$46: import("vue").DefineComponent<import("vue").Extra
826
902
  invalid: boolean;
827
903
  readOnly: boolean;
828
904
  min: string;
829
- max: string;
830
905
  isDateUnavailable: (date: DateValue) => boolean;
831
906
  closeOnSelect: boolean;
832
907
  locale: string;
908
+ positioning: import("@zag-js/popper").PositioningOptions;
833
909
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
834
910
  declare const _default$51: typeof __VLS_export$46;
835
911
  //#endregion
@@ -914,11 +990,11 @@ declare const __VLS_base$33: import("vue").DefineComponent<import("vue").Extract
914
990
  "onUpdate:modelValue"?: (value: number) => any;
915
991
  }>, {
916
992
  class: string;
993
+ max: number;
917
994
  modelValue: number;
918
995
  disabled: boolean;
919
996
  invalid: boolean;
920
997
  min: number;
921
- max: number;
922
998
  step: number;
923
999
  formatOptions: Intl.NumberFormatOptions;
924
1000
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1178,6 +1254,12 @@ declare const __VLS_export$42: import("vue").DefineComponent<import("vue").Extra
1178
1254
  type: BooleanConstructor;
1179
1255
  default: boolean;
1180
1256
  };
1257
+ /** Ark Popover Root 的 positioning 配置(placement/gutter 等);
1258
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed */
1259
+ positioning: {
1260
+ type: PropType<PopoverRootProps["positioning"]>;
1261
+ default: any;
1262
+ };
1181
1263
  class: {
1182
1264
  type: StringConstructor;
1183
1265
  default: any;
@@ -1263,6 +1345,12 @@ declare const __VLS_export$42: import("vue").DefineComponent<import("vue").Extra
1263
1345
  type: BooleanConstructor;
1264
1346
  default: boolean;
1265
1347
  };
1348
+ /** Ark Popover Root 的 positioning 配置(placement/gutter 等);
1349
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed */
1350
+ positioning: {
1351
+ type: PropType<PopoverRootProps["positioning"]>;
1352
+ default: any;
1353
+ };
1266
1354
  class: {
1267
1355
  type: StringConstructor;
1268
1356
  default: any;
@@ -1279,6 +1367,7 @@ declare const __VLS_export$42: import("vue").DefineComponent<import("vue").Extra
1279
1367
  defaultOpen: boolean;
1280
1368
  placeholder: string;
1281
1369
  disabled: boolean;
1370
+ positioning: import("@zag-js/popper").PositioningOptions;
1282
1371
  multiple: boolean;
1283
1372
  checkable: boolean;
1284
1373
  cascade: boolean;
@@ -1373,6 +1462,12 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
1373
1462
  type: BooleanConstructor;
1374
1463
  default: boolean;
1375
1464
  };
1465
+ /** Ark Popover Root 的 positioning 配置(placement/gutter 等);
1466
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed */
1467
+ positioning: {
1468
+ type: PropType<PopoverRootProps["positioning"]>;
1469
+ default: any;
1470
+ };
1376
1471
  class: {
1377
1472
  type: StringConstructor;
1378
1473
  default: any;
@@ -1463,6 +1558,12 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
1463
1558
  type: BooleanConstructor;
1464
1559
  default: boolean;
1465
1560
  };
1561
+ /** Ark Popover Root 的 positioning 配置(placement/gutter 等);
1562
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed */
1563
+ positioning: {
1564
+ type: PropType<PopoverRootProps["positioning"]>;
1565
+ default: any;
1566
+ };
1466
1567
  class: {
1467
1568
  type: StringConstructor;
1468
1569
  default: any;
@@ -1480,6 +1581,7 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
1480
1581
  defaultOpen: boolean;
1481
1582
  placeholder: string;
1482
1583
  disabled: boolean;
1584
+ positioning: import("@zag-js/popper").PositioningOptions;
1483
1585
  multiple: boolean;
1484
1586
  checkable: boolean;
1485
1587
  cascade: boolean;
@@ -1550,6 +1652,13 @@ declare const __VLS_base$30: import("vue").DefineComponent<import("vue").Extract
1550
1652
  type: StringConstructor;
1551
1653
  default: any;
1552
1654
  };
1655
+ /** Ark Select Root 的 positioning 配置(placement/gutter 等);
1656
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
1657
+ (absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
1658
+ positioning: {
1659
+ type: PropType<SelectRootProps<string | SelectItemOption[]>["positioning"]>;
1660
+ default: any;
1661
+ };
1553
1662
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1554
1663
  "update:modelValue": (value: string) => any;
1555
1664
  "update:open": (open: boolean) => any;
@@ -1592,6 +1701,13 @@ declare const __VLS_base$30: import("vue").DefineComponent<import("vue").Extract
1592
1701
  type: StringConstructor;
1593
1702
  default: any;
1594
1703
  };
1704
+ /** Ark Select Root 的 positioning 配置(placement/gutter 等);
1705
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
1706
+ (absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
1707
+ positioning: {
1708
+ type: PropType<SelectRootProps<string | SelectItemOption[]>["positioning"]>;
1709
+ default: any;
1710
+ };
1595
1711
  }>> & Readonly<{
1596
1712
  "onUpdate:modelValue"?: (value: string) => any;
1597
1713
  "onUpdate:open"?: (open: boolean) => any;
@@ -1601,6 +1717,7 @@ declare const __VLS_base$30: import("vue").DefineComponent<import("vue").Extract
1601
1717
  open: boolean;
1602
1718
  defaultOpen: boolean;
1603
1719
  placeholder: string;
1720
+ positioning: import("@zag-js/popper").PositioningOptions;
1604
1721
  contentClass: string;
1605
1722
  triggerClass: string;
1606
1723
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1630,8 +1747,8 @@ declare const __VLS_export$39: import("vue").DefineComponent<__VLS_Props$11, {},
1630
1747
  }, string, import("vue").PublicProps, Readonly<__VLS_Props$11> & Readonly<{
1631
1748
  "onUpdate:modelValue"?: (value: number[]) => any;
1632
1749
  }>, {
1633
- min: number;
1634
1750
  max: number;
1751
+ min: number;
1635
1752
  step: number;
1636
1753
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1637
1754
  declare const _default$40: typeof __VLS_export$39;
@@ -1766,6 +1883,13 @@ declare const __VLS_export$36: import("vue").DefineComponent<import("vue").Extra
1766
1883
  type: StringConstructor;
1767
1884
  default: string;
1768
1885
  };
1886
+ /** Ark DatePicker Root 的 positioning 配置(placement/gutter 等);
1887
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
1888
+ (absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
1889
+ positioning: {
1890
+ type: PropType<PickerPositioning>;
1891
+ default: any;
1892
+ };
1769
1893
  class: {
1770
1894
  type: StringConstructor;
1771
1895
  default: any;
@@ -1829,6 +1953,13 @@ declare const __VLS_export$36: import("vue").DefineComponent<import("vue").Extra
1829
1953
  type: StringConstructor;
1830
1954
  default: string;
1831
1955
  };
1956
+ /** Ark DatePicker Root 的 positioning 配置(placement/gutter 等);
1957
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
1958
+ (absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
1959
+ positioning: {
1960
+ type: PropType<PickerPositioning>;
1961
+ default: any;
1962
+ };
1832
1963
  class: {
1833
1964
  type: StringConstructor;
1834
1965
  default: any;
@@ -1838,6 +1969,7 @@ declare const __VLS_export$36: import("vue").DefineComponent<import("vue").Extra
1838
1969
  "onUpdate:open"?: (open: boolean) => any;
1839
1970
  }>, {
1840
1971
  class: string;
1972
+ max: string;
1841
1973
  modelValue: string;
1842
1974
  defaultValue: string;
1843
1975
  open: boolean;
@@ -1847,9 +1979,9 @@ declare const __VLS_export$36: import("vue").DefineComponent<import("vue").Extra
1847
1979
  invalid: boolean;
1848
1980
  readOnly: boolean;
1849
1981
  min: string;
1850
- max: string;
1851
1982
  closeOnSelect: boolean;
1852
1983
  locale: string;
1984
+ positioning: import("@zag-js/popper").PositioningOptions;
1853
1985
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1854
1986
  declare const _default$52: typeof __VLS_export$36;
1855
1987
  //#endregion
@@ -2462,13 +2594,13 @@ declare const __VLS_base$23: import("vue").DefineComponent<import("vue").Extract
2462
2594
  "onUpdate:modelValue"?: (value: string) => any;
2463
2595
  }>, {
2464
2596
  mode: "day" | "month" | "year";
2597
+ max: string;
2465
2598
  modelValue: string;
2466
2599
  defaultValue: string;
2467
2600
  min: string;
2468
- max: string;
2469
2601
  isDateUnavailable: (date: DateValue) => boolean;
2470
- numOfMonths: number;
2471
2602
  locale: string;
2603
+ numOfMonths: number;
2472
2604
  week: boolean;
2473
2605
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2474
2606
  declare const __VLS_export$30: __VLS_WithSlots$23<typeof __VLS_base$23, __VLS_Slots$23>;
@@ -2735,6 +2867,13 @@ declare const __VLS_base$20: import("vue").DefineComponent<import("vue").Extract
2735
2867
  type: StringConstructor;
2736
2868
  default: any;
2737
2869
  };
2870
+ /** Ark Menu Root 的 positioning 配置(placement/gutter 等);
2871
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
2872
+ (absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
2873
+ positioning: {
2874
+ type: PropType<MenuRootProps["positioning"]>;
2875
+ default: any;
2876
+ };
2738
2877
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2739
2878
  "update:open": (open: boolean) => any;
2740
2879
  select: (details: {
@@ -2773,6 +2912,13 @@ declare const __VLS_base$20: import("vue").DefineComponent<import("vue").Extract
2773
2912
  type: StringConstructor;
2774
2913
  default: any;
2775
2914
  };
2915
+ /** Ark Menu Root 的 positioning 配置(placement/gutter 等);
2916
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
2917
+ (absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
2918
+ positioning: {
2919
+ type: PropType<MenuRootProps["positioning"]>;
2920
+ default: any;
2921
+ };
2776
2922
  }>> & Readonly<{
2777
2923
  "onUpdate:open"?: (open: boolean) => any;
2778
2924
  onSelect?: (details: {
@@ -2781,6 +2927,7 @@ declare const __VLS_base$20: import("vue").DefineComponent<import("vue").Extract
2781
2927
  }>, {
2782
2928
  open: boolean;
2783
2929
  defaultOpen: boolean;
2930
+ positioning: import("@zag-js/popper").PositioningOptions;
2784
2931
  lazyMount: boolean;
2785
2932
  unmountOnExit: boolean;
2786
2933
  contentClass: string;
@@ -3088,8 +3235,8 @@ declare const __VLS_base$13: import("vue").DefineComponent<import("vue").Extract
3088
3235
  }>, {
3089
3236
  class: string;
3090
3237
  length: number;
3091
- modelValue: string[];
3092
3238
  type: "numeric" | "alphanumeric";
3239
+ modelValue: string[];
3093
3240
  placeholder: string;
3094
3241
  disabled: boolean;
3095
3242
  invalid: boolean;
@@ -3330,6 +3477,7 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
3330
3477
  lazyMount: boolean;
3331
3478
  unmountOnExit: boolean;
3332
3479
  contentClass: string;
3480
+ contentProps: Record<string, unknown>;
3333
3481
  trigger: TriggerMode;
3334
3482
  openDelay: number;
3335
3483
  closeDelay: number;
@@ -3342,7 +3490,6 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
3342
3490
  to: string | HTMLElement;
3343
3491
  matchTriggerWidth: boolean;
3344
3492
  zIndex: number;
3345
- contentProps: Record<string, unknown>;
3346
3493
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
3347
3494
  declare const __VLS_export$16: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
3348
3495
  declare const _default$34: typeof __VLS_export$16;
@@ -3443,6 +3590,8 @@ interface TableColumnOptions<T extends DataRecord = DataRecord> {
3443
3590
  key: string;
3444
3591
  title: string;
3445
3592
  align?: "left" | "center" | "right";
3593
+ /** 列宽(R32)。数字(px):布局硬约束 —— 参与表格 min-width 求和与 fixed 列 sticky 偏移推算;
3594
+ * 字符串(如 "10rem"):仅渲染提示值,不参与求和与 sticky。 */
3446
3595
  width?: number | string;
3447
3596
  /** 自定义单元格渲染,取值链 render > formatter > record[key](R17) */
3448
3597
  render?: (r: ColumnRenders<T>) => ColumnRender<T>;
@@ -3825,6 +3974,14 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
3825
3974
  type: PropType<boolean | undefined>;
3826
3975
  default: any;
3827
3976
  };
3977
+ /** 填充模式:根容器 h-full 纵向 flex,滚动区 flex-1 内滚;表头 sticky 钉住。
3978
+ * 父链需有确定高度(如页面布局的 .table-body);无确定高度时安全退化为自然高度。
3979
+ * 显式 prop 优先于布局 provide(key: "tu-design:page-table-fill");显式传 false 可强制关闭。
3980
+ * 纯布局属性,不进 defineTable/definition(virtual/height 例外),setup 期定版不支持运行时切换。 */
3981
+ fillHeight: {
3982
+ type: PropType<boolean | undefined>;
3983
+ default: any;
3984
+ };
3828
3985
  }>, {
3829
3986
  table: import("@tanstack/vue-table").Table<DataRecord> | import("@tanstack/vue-table").Table<any>;
3830
3987
  page: Readonly<PageableOptions>;
@@ -3965,6 +4122,14 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
3965
4122
  type: PropType<boolean | undefined>;
3966
4123
  default: any;
3967
4124
  };
4125
+ /** 填充模式:根容器 h-full 纵向 flex,滚动区 flex-1 内滚;表头 sticky 钉住。
4126
+ * 父链需有确定高度(如页面布局的 .table-body);无确定高度时安全退化为自然高度。
4127
+ * 显式 prop 优先于布局 provide(key: "tu-design:page-table-fill");显式传 false 可强制关闭。
4128
+ * 纯布局属性,不进 defineTable/definition(virtual/height 例外),setup 期定版不支持运行时切换。 */
4129
+ fillHeight: {
4130
+ type: PropType<boolean | undefined>;
4131
+ default: any;
4132
+ };
3968
4133
  }>> & Readonly<{
3969
4134
  onSearch?: (values: DataRecord) => any;
3970
4135
  onReset?: (values: DataRecord) => any;
@@ -3988,6 +4153,7 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
3988
4153
  columnSettings: boolean;
3989
4154
  showSearch: boolean;
3990
4155
  showPagination: boolean;
4156
+ fillHeight: boolean;
3991
4157
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
3992
4158
  declare const __VLS_export$12: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
3993
4159
  declare const _default$44: typeof __VLS_export$12;
@@ -3997,6 +4163,10 @@ type __VLS_WithSlots$11<T, S> = T & {
3997
4163
  };
3998
4164
  };
3999
4165
  //#endregion
4166
+ //#region src/components/table-render/constants.d.ts
4167
+ /** 布局容器与 TableRender 的跨包填充协议 key:provide(true) 声明容器内 TableRender 应填满、内部滚动、表头固定 */
4168
+ export declare const PAGE_TABLE_FILL_KEY = "tu-design:page-table-fill";
4169
+ //#endregion
4000
4170
  //#region src/components/table-render/define-columns.d.ts
4001
4171
  /**
4002
4172
  * 列定义辅助:补全泛型推导,便于把列配置抽到独立文件。
@@ -4149,6 +4319,13 @@ declare const __VLS_base$9: import("vue").DefineComponent<import("vue").ExtractP
4149
4319
  type: PropType<Record<string, unknown>>;
4150
4320
  default: any;
4151
4321
  };
4322
+ /** Ark Tooltip Root 的 positioning 配置(placement/gutter 等);
4323
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
4324
+ (absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
4325
+ positioning: {
4326
+ type: PropType<TooltipRootProps["positioning"]>;
4327
+ default: any;
4328
+ };
4152
4329
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4153
4330
  "update:open": (open: boolean) => any;
4154
4331
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -4194,18 +4371,26 @@ declare const __VLS_base$9: import("vue").DefineComponent<import("vue").ExtractP
4194
4371
  type: PropType<Record<string, unknown>>;
4195
4372
  default: any;
4196
4373
  };
4374
+ /** Ark Tooltip Root 的 positioning 配置(placement/gutter 等);
4375
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
4376
+ (absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
4377
+ positioning: {
4378
+ type: PropType<TooltipRootProps["positioning"]>;
4379
+ default: any;
4380
+ };
4197
4381
  }>> & Readonly<{
4198
4382
  "onUpdate:open"?: (open: boolean) => any;
4199
4383
  }>, {
4200
4384
  open: boolean;
4201
4385
  defaultOpen: boolean;
4386
+ positioning: import("@zag-js/popper").PositioningOptions;
4202
4387
  lazyMount: boolean;
4203
4388
  unmountOnExit: boolean;
4204
4389
  contentClass: string;
4205
- contentProps: Record<string, unknown>;
4206
4390
  content: string;
4207
4391
  delayDuration: number;
4208
4392
  closeDuration: number;
4393
+ contentProps: Record<string, unknown>;
4209
4394
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4210
4395
  declare const __VLS_export$10: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
4211
4396
  declare const _default$49: typeof __VLS_export$10;
@@ -4263,11 +4448,11 @@ type __VLS_WithSlots$8<T, S> = T & {
4263
4448
  //#endregion
4264
4449
  //#region src/components/alert/index.d.ts
4265
4450
  export declare const alertVariants: (props?: {
4266
- variant?: "default" | "success" | "warning" | "info" | "error";
4451
+ variant?: "default" | "info" | "success" | "warning" | "error";
4267
4452
  } & import("class-variance-authority/types").ClassProp) => string;
4268
4453
  export type AlertVariants = VariantProps<typeof alertVariants>;
4269
4454
  export declare const alertIconVariants: (props?: {
4270
- variant?: "default" | "success" | "warning" | "info" | "error";
4455
+ variant?: "default" | "info" | "success" | "warning" | "error";
4271
4456
  } & import("class-variance-authority/types").ClassProp) => string;
4272
4457
  /**
4273
4458
  * 内置图标路径(按 variant 形状差异化,保证色弱用户可辨别):
@@ -4350,8 +4535,8 @@ type __VLS_Slots$6 = {} & {
4350
4535
  };
4351
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<{}>, {
4352
4537
  size: "sm" | "default" | "lg";
4353
- label: string;
4354
4538
  spinning: boolean;
4539
+ label: string;
4355
4540
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4356
4541
  declare const __VLS_export$6: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
4357
4542
  declare const _default$41: typeof __VLS_export$6;
@@ -4562,6 +4747,13 @@ declare const __VLS_base$3: import("vue").DefineComponent<import("vue").ExtractP
4562
4747
  type: PropType<MenuItemOption[]>;
4563
4748
  required: true;
4564
4749
  };
4750
+ /** Ark Menu Root 的 positioning 配置(gutter 等;placement 由指针 anchorPoint 驱动);
4751
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
4752
+ (absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
4753
+ positioning: {
4754
+ type: PropType<MenuRootProps["positioning"]>;
4755
+ default: any;
4756
+ };
4565
4757
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4566
4758
  select: (details: {
4567
4759
  value: string;
@@ -4572,11 +4764,20 @@ declare const __VLS_base$3: import("vue").DefineComponent<import("vue").ExtractP
4572
4764
  type: PropType<MenuItemOption[]>;
4573
4765
  required: true;
4574
4766
  };
4767
+ /** Ark Menu Root 的 positioning 配置(gutter 等;placement 由指针 anchorPoint 驱动);
4768
+ iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
4769
+ (absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
4770
+ positioning: {
4771
+ type: PropType<MenuRootProps["positioning"]>;
4772
+ default: any;
4773
+ };
4575
4774
  }>> & Readonly<{
4576
4775
  onSelect?: (details: {
4577
4776
  value: string;
4578
4777
  }) => any;
4579
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4778
+ }>, {
4779
+ positioning: import("@zag-js/popper").PositioningOptions;
4780
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4580
4781
  declare const __VLS_export$3: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
4581
4782
  declare const _default$10: typeof __VLS_export$3;
4582
4783
  type __VLS_WithSlots$3<T, S> = T & {
@@ -4706,12 +4907,12 @@ declare const __VLS_base$2: import("vue").DefineComponent<import("vue").ExtractP
4706
4907
  size: Size;
4707
4908
  open: boolean;
4708
4909
  defaultOpen: boolean;
4910
+ placement: Placement;
4709
4911
  lazyMount: boolean;
4710
4912
  unmountOnExit: boolean;
4711
4913
  title: string;
4712
4914
  description: string;
4713
4915
  showCloseButton: boolean;
4714
- placement: Placement;
4715
4916
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4716
4917
  declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
4717
4918
  declare const _default$15: typeof __VLS_export$2;
@@ -4872,7 +5073,7 @@ export type TimelineItemVariants = VariantProps<typeof timelineItemVariants>;
4872
5073
  export declare const timelineDotVariants: (props?: {
4873
5074
  mode?: "right" | "alternate";
4874
5075
  size?: "sm" | "default";
4875
- color?: "destructive" | "primary" | "success" | "warning" | "muted";
5076
+ color?: "destructive" | "success" | "warning" | "primary" | "muted";
4876
5077
  hollow?: boolean;
4877
5078
  } & import("class-variance-authority/types").ClassProp) => string;
4878
5079
  export type TimelineDotVariants = VariantProps<typeof timelineDotVariants>;