@tu-design/vue 0.5.1 → 0.5.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 (56) hide show
  1. package/dist/index.d.mts +197 -53
  2. package/dist/index.mjs +174 -11
  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 +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 +1 -1
  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 +1 -1
  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 +1 -1
  50. package/dist/registry/vue/tooltip.json +1 -1
  51. package/dist/registry/vue/tree-select.json +1 -1
  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 +1 -1
  55. package/dist/registry/vue/year-picker.json +1 -1
  56. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -92,10 +92,10 @@ declare const __VLS_base$34: import("vue").DefineComponent<import("vue").Extract
92
92
  "onUpdate:checked"?: (checked: boolean) => any;
93
93
  }>, {
94
94
  class: string;
95
- disabled: boolean;
96
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$51: __VLS_WithSlots$34<typeof __VLS_base$34, __VLS_Slots$34>;
@@ -193,8 +193,8 @@ declare const __VLS_export$50: import("vue").DefineComponent<import("vue").Extra
193
193
  }>, {
194
194
  class: string;
195
195
  modelValue: number;
196
- placeholder: string;
197
196
  disabled: boolean;
197
+ placeholder: string;
198
198
  invalid: boolean;
199
199
  labelUnit: CurrencyUnit;
200
200
  valueUnit: CurrencyUnit;
@@ -338,19 +338,19 @@ declare const __VLS_export$49: import("vue").DefineComponent<import("vue").Extra
338
338
  "onUpdate:open"?: (open: boolean) => any;
339
339
  }>, {
340
340
  class: string;
341
+ max: string;
341
342
  modelValue: string;
342
343
  defaultValue: string;
344
+ min: string;
345
+ isDateUnavailable: (date: DateValue) => boolean;
346
+ locale: string;
347
+ disabled: boolean;
343
348
  open: boolean;
344
349
  defaultOpen: boolean;
345
350
  placeholder: string;
346
- disabled: boolean;
347
351
  invalid: boolean;
348
352
  readOnly: boolean;
349
- min: string;
350
- max: string;
351
- isDateUnavailable: (date: DateValue) => boolean;
352
353
  closeOnSelect: boolean;
353
- locale: string;
354
354
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
355
355
  declare const _default$12: typeof __VLS_export$49;
356
356
  //#endregion
@@ -501,20 +501,20 @@ declare const __VLS_export$48: import("vue").DefineComponent<import("vue").Extra
501
501
  "onUpdate:open"?: (open: boolean) => any;
502
502
  }>, {
503
503
  class: string;
504
+ max: string;
505
+ numOfMonths: number;
504
506
  modelValue: [string, string];
505
507
  defaultValue: [string, string];
508
+ min: string;
509
+ isDateUnavailable: (date: DateValue) => boolean;
510
+ locale: string;
511
+ disabled: boolean;
506
512
  open: boolean;
507
513
  defaultOpen: boolean;
508
514
  placeholder: string;
509
- disabled: boolean;
510
515
  invalid: boolean;
511
516
  readOnly: boolean;
512
- min: string;
513
- max: string;
514
- isDateUnavailable: (date: DateValue) => boolean;
515
517
  closeOnSelect: boolean;
516
- numOfMonths: number;
517
- locale: string;
518
518
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
519
519
  declare const _default$13: typeof __VLS_export$48;
520
520
  //#endregion
@@ -663,18 +663,18 @@ declare const __VLS_export$46: import("vue").DefineComponent<import("vue").Extra
663
663
  "onUpdate:open"?: (open: boolean) => any;
664
664
  }>, {
665
665
  class: string;
666
+ max: string;
666
667
  modelValue: string;
667
668
  defaultValue: string;
669
+ min: string;
670
+ locale: string;
671
+ disabled: boolean;
668
672
  open: boolean;
669
673
  defaultOpen: boolean;
670
674
  placeholder: string;
671
- disabled: boolean;
672
675
  invalid: boolean;
673
676
  readOnly: boolean;
674
- min: string;
675
- max: string;
676
677
  closeOnSelect: boolean;
677
- locale: string;
678
678
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
679
679
  declare const _default$29: typeof __VLS_export$46;
680
680
  //#endregion
@@ -817,28 +817,28 @@ declare const __VLS_export$45: import("vue").DefineComponent<import("vue").Extra
817
817
  "onUpdate:open"?: (open: boolean) => any;
818
818
  }>, {
819
819
  class: string;
820
+ max: string;
820
821
  modelValue: string;
821
822
  defaultValue: string;
823
+ min: string;
824
+ isDateUnavailable: (date: DateValue) => boolean;
825
+ locale: string;
826
+ disabled: boolean;
822
827
  open: boolean;
823
828
  defaultOpen: boolean;
824
829
  placeholder: string;
825
- disabled: boolean;
826
830
  invalid: boolean;
827
831
  readOnly: boolean;
828
- min: string;
829
- max: string;
830
- isDateUnavailable: (date: DateValue) => boolean;
831
832
  closeOnSelect: boolean;
832
- locale: string;
833
833
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
834
834
  declare const _default$50: typeof __VLS_export$45;
835
835
  //#endregion
836
836
  //#region src/components/number-input/NumberInput.vue.d.ts
837
- declare var __VLS_16$6: {}, __VLS_29: {};
837
+ declare var __VLS_16$6: {}, __VLS_29$1: {};
838
838
  type __VLS_Slots$33 = {} & {
839
839
  decrement?: (props: typeof __VLS_16$6) => any;
840
840
  } & {
841
- increment?: (props: typeof __VLS_29) => any;
841
+ increment?: (props: typeof __VLS_29$1) => any;
842
842
  };
843
843
  declare const __VLS_base$33: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
844
844
  /** 受控值:number 或 null(空);undefined 走内部非受控 */
@@ -914,11 +914,11 @@ declare const __VLS_base$33: import("vue").DefineComponent<import("vue").Extract
914
914
  "onUpdate:modelValue"?: (value: number) => any;
915
915
  }>, {
916
916
  class: string;
917
+ max: number;
917
918
  modelValue: number;
919
+ min: number;
918
920
  disabled: boolean;
919
921
  invalid: boolean;
920
- min: number;
921
- max: number;
922
922
  step: number;
923
923
  formatOptions: Intl.NumberFormatOptions;
924
924
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1015,8 +1015,8 @@ declare const __VLS_base$32: import("vue").DefineComponent<import("vue").Extract
1015
1015
  }>, {
1016
1016
  class: string;
1017
1017
  modelValue: string;
1018
- placeholder: string;
1019
1018
  disabled: boolean;
1019
+ placeholder: string;
1020
1020
  invalid: boolean;
1021
1021
  visible: boolean;
1022
1022
  autoComplete: "current-password" | "new-password";
@@ -1275,10 +1275,10 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
1275
1275
  class: string;
1276
1276
  modelValue: Key | Key[];
1277
1277
  defaultValue: Key | Key[];
1278
+ disabled: boolean;
1278
1279
  open: boolean;
1279
1280
  defaultOpen: boolean;
1280
1281
  placeholder: string;
1281
- disabled: boolean;
1282
1282
  multiple: boolean;
1283
1283
  checkable: boolean;
1284
1284
  cascade: boolean;
@@ -1476,10 +1476,10 @@ declare const __VLS_export$40: import("vue").DefineComponent<import("vue").Extra
1476
1476
  class: string;
1477
1477
  modelValue: Key | Key[];
1478
1478
  defaultValue: Key | Key[];
1479
+ disabled: boolean;
1479
1480
  open: boolean;
1480
1481
  defaultOpen: boolean;
1481
1482
  placeholder: string;
1482
- disabled: boolean;
1483
1483
  multiple: boolean;
1484
1484
  checkable: boolean;
1485
1485
  cascade: boolean;
@@ -1630,8 +1630,8 @@ declare const __VLS_export$38: import("vue").DefineComponent<__VLS_Props$11, {},
1630
1630
  }, string, import("vue").PublicProps, Readonly<__VLS_Props$11> & Readonly<{
1631
1631
  "onUpdate:modelValue"?: (value: number[]) => any;
1632
1632
  }>, {
1633
- min: number;
1634
1633
  max: number;
1634
+ min: number;
1635
1635
  step: number;
1636
1636
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1637
1637
  declare const _default$40: typeof __VLS_export$38;
@@ -1681,9 +1681,9 @@ declare const __VLS_base$29: import("vue").DefineComponent<import("vue").Extract
1681
1681
  "onUpdate:checked"?: (checked: boolean) => any;
1682
1682
  }>, {
1683
1683
  class: string;
1684
- disabled: boolean;
1685
1684
  checked: boolean;
1686
1685
  defaultChecked: boolean;
1686
+ disabled: boolean;
1687
1687
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1688
1688
  declare const __VLS_export$37: __VLS_WithSlots$29<typeof __VLS_base$29, __VLS_Slots$29>;
1689
1689
  declare const _default$42: typeof __VLS_export$37;
@@ -1838,18 +1838,18 @@ declare const __VLS_export$35: import("vue").DefineComponent<import("vue").Extra
1838
1838
  "onUpdate:open"?: (open: boolean) => any;
1839
1839
  }>, {
1840
1840
  class: string;
1841
+ max: string;
1841
1842
  modelValue: string;
1842
1843
  defaultValue: string;
1844
+ min: string;
1845
+ locale: string;
1846
+ disabled: boolean;
1843
1847
  open: boolean;
1844
1848
  defaultOpen: boolean;
1845
1849
  placeholder: string;
1846
- disabled: boolean;
1847
1850
  invalid: boolean;
1848
1851
  readOnly: boolean;
1849
- min: string;
1850
- max: string;
1851
1852
  closeOnSelect: boolean;
1852
- locale: string;
1853
1853
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1854
1854
  declare const _default$51: typeof __VLS_export$35;
1855
1855
  //#endregion
@@ -2220,7 +2220,7 @@ type __VLS_WithSlots$27<T, S> = T & {
2220
2220
  //#endregion
2221
2221
  //#region src/components/avatar/index.d.ts
2222
2222
  export declare const avatarVariants: (props?: {
2223
- size?: "sm" | "lg" | "xs" | "md";
2223
+ size?: "sm" | "xs" | "md" | "lg";
2224
2224
  shape?: "circle" | "square";
2225
2225
  } & import("class-variance-authority/types").ClassProp) => string;
2226
2226
  export type AvatarVariants = VariantProps<typeof avatarVariants>;
@@ -2278,7 +2278,7 @@ type __VLS_WithSlots$25<T, S> = T & {
2278
2278
  //#endregion
2279
2279
  //#region src/components/badge/index.d.ts
2280
2280
  export declare const badgeVariants: (props?: {
2281
- variant?: "default" | "secondary" | "destructive" | "outline";
2281
+ variant?: "default" | "destructive" | "secondary" | "outline";
2282
2282
  } & import("class-variance-authority/types").ClassProp) => string;
2283
2283
  export type BadgeVariants = VariantProps<typeof badgeVariants>;
2284
2284
  //#endregion
@@ -2311,8 +2311,8 @@ type __VLS_WithSlots$24<T, S> = T & {
2311
2311
  //#endregion
2312
2312
  //#region src/components/button/index.d.ts
2313
2313
  export declare const buttonVariants: (props?: {
2314
- variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link";
2315
- size?: "sm" | "default" | "lg" | "icon";
2314
+ variant?: "default" | "destructive" | "secondary" | "outline" | "ghost" | "link";
2315
+ size?: "default" | "sm" | "lg" | "icon";
2316
2316
  } & import("class-variance-authority/types").ClassProp) => string;
2317
2317
  export type ButtonVariants = VariantProps<typeof buttonVariants>;
2318
2318
  //#endregion
@@ -2425,12 +2425,12 @@ declare const __VLS_base$23: import("vue").DefineComponent<import("vue").Extract
2425
2425
  "onUpdate:modelValue"?: (value: string) => any;
2426
2426
  }>, {
2427
2427
  mode: "day" | "month" | "year";
2428
+ max: string;
2429
+ numOfMonths: number;
2428
2430
  modelValue: string;
2429
2431
  defaultValue: string;
2430
2432
  min: string;
2431
- max: string;
2432
2433
  isDateUnavailable: (date: DateValue) => boolean;
2433
- numOfMonths: number;
2434
2434
  locale: string;
2435
2435
  week: boolean;
2436
2436
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -2500,7 +2500,7 @@ type __VLS_WithSlots$22<T, S> = T & {
2500
2500
  //#endregion
2501
2501
  //#region src/components/card/index.d.ts
2502
2502
  export declare const cardVariants: (props?: {
2503
- size?: "sm" | "default" | "lg";
2503
+ size?: "default" | "sm" | "lg";
2504
2504
  bordered?: boolean;
2505
2505
  hoverable?: boolean;
2506
2506
  interactive?: boolean;
@@ -3051,10 +3051,10 @@ declare const __VLS_base$13: import("vue").DefineComponent<import("vue").Extract
3051
3051
  }>, {
3052
3052
  class: string;
3053
3053
  length: number;
3054
- modelValue: string[];
3055
3054
  type: "numeric" | "alphanumeric";
3056
- placeholder: string;
3055
+ modelValue: string[];
3057
3056
  disabled: boolean;
3057
+ placeholder: string;
3058
3058
  invalid: boolean;
3059
3059
  otp: boolean;
3060
3060
  mask: boolean;
@@ -3072,11 +3072,21 @@ type __VLS_WithSlots$13<T, S> = T & {
3072
3072
  //#region src/components/popover/Popover.vue.d.ts
3073
3073
  /** 面板相对触发器的对齐方向 */
3074
3074
  type Align = "start" | "center" | "end";
3075
- declare var __VLS_16$3: {}, __VLS_30$1: {};
3075
+ /** 面板主轴方向(与 align 组合成 12 方位 placement) */
3076
+ type Side = "top" | "bottom" | "left" | "right";
3077
+ /** 触发方式:click 内建切换;hover/focus 延迟桥接;manual 纯受控 */
3078
+ type TriggerMode = "click" | "hover" | "focus" | "manual";
3079
+ declare var __VLS_16$3: {}, __VLS_29: {}, __VLS_65: {}, __VLS_67: {}, __VLS_69: {};
3076
3080
  type __VLS_Slots$12 = {} & {
3077
3081
  default?: (props: typeof __VLS_16$3) => any;
3078
3082
  } & {
3079
- content?: (props: typeof __VLS_30$1) => any;
3083
+ default?: (props: typeof __VLS_29) => any;
3084
+ } & {
3085
+ header?: (props: typeof __VLS_65) => any;
3086
+ } & {
3087
+ content?: (props: typeof __VLS_67) => any;
3088
+ } & {
3089
+ footer?: (props: typeof __VLS_69) => any;
3080
3090
  };
3081
3091
  declare const __VLS_base$12: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3082
3092
  /** 受控开关(配合 v-model:open);不传时为非受控 */
@@ -3099,11 +3109,72 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
3099
3109
  type: BooleanConstructor;
3100
3110
  default: boolean;
3101
3111
  };
3102
- /** 面板相对触发器的对齐方向(默认居中);attrs.positioning.placement 显式给出时以其为准 */
3112
+ /** 触发方式:click(默认,内建切换+完整 aria) / hover / focus(带延迟,Anchor+手动 aria) / manual(纯受控,仅定位锚点) */
3113
+ trigger: {
3114
+ type: PropType<TriggerMode>;
3115
+ default: string;
3116
+ };
3117
+ /** hover/focus 打开延迟(毫秒) */
3118
+ openDelay: {
3119
+ type: NumberConstructor;
3120
+ default: number;
3121
+ };
3122
+ /** hover/focus 关闭延迟(毫秒) */
3123
+ closeDelay: {
3124
+ type: NumberConstructor;
3125
+ default: number;
3126
+ };
3127
+ /** hover/focus 时悬浮/聚焦面板保持打开 */
3128
+ keepAliveOnHover: {
3129
+ type: BooleanConstructor;
3130
+ default: boolean;
3131
+ };
3132
+ /** 面板主轴方向(与 align 组合定位);attrs.positioning.placement 显式给出时以其为准 */
3133
+ side: {
3134
+ type: PropType<Side>;
3135
+ default: string;
3136
+ };
3137
+ /** 面板相对触发器的对齐方向(默认居中) */
3103
3138
  align: {
3104
3139
  type: PropType<Align>;
3105
3140
  default: string;
3106
3141
  };
3142
+ /** 显示箭头(shadcn 风格默认无箭头) */
3143
+ arrow: {
3144
+ type: BooleanConstructor;
3145
+ default: boolean;
3146
+ };
3147
+ /** 追加/覆盖箭头样式类 */
3148
+ arrowClass: {
3149
+ type: StringConstructor;
3150
+ default: any;
3151
+ };
3152
+ /** 禁用触发(不响应任何触发事件;已打开状态不受影响) */
3153
+ disabled: {
3154
+ type: BooleanConstructor;
3155
+ default: boolean;
3156
+ };
3157
+ /** 是否 Teleport(浮层定位不受嵌套裁剪影响);false 时面板留在原地 */
3158
+ portal: {
3159
+ type: BooleanConstructor;
3160
+ default: boolean;
3161
+ };
3162
+ /** Teleport 目标(选择器或元素),仅 portal=true 时生效;
3163
+ 缺省时若应用挂载容器处于 shadow DOM(微前端沙箱)自动降级为该容器,否则 body */
3164
+ to: {
3165
+ type: PropType<string | HTMLElement>;
3166
+ default: any;
3167
+ };
3168
+ /** 面板宽度与触发元素一致 */
3169
+ matchTriggerWidth: {
3170
+ type: BooleanConstructor;
3171
+ default: boolean;
3172
+ };
3173
+ /** 覆盖面板/定位层级(默认走 --z-overlay) */
3174
+ zIndex: {
3175
+ type: NumberConstructor;
3176
+ default: any;
3177
+ };
3107
3178
  /** 追加/覆盖面板样式类(默认 w-72 可由此覆盖,如 "w-56 p-0") */
3108
3179
  contentClass: {
3109
3180
  type: StringConstructor;
@@ -3137,11 +3208,72 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
3137
3208
  type: BooleanConstructor;
3138
3209
  default: boolean;
3139
3210
  };
3140
- /** 面板相对触发器的对齐方向(默认居中);attrs.positioning.placement 显式给出时以其为准 */
3211
+ /** 触发方式:click(默认,内建切换+完整 aria) / hover / focus(带延迟,Anchor+手动 aria) / manual(纯受控,仅定位锚点) */
3212
+ trigger: {
3213
+ type: PropType<TriggerMode>;
3214
+ default: string;
3215
+ };
3216
+ /** hover/focus 打开延迟(毫秒) */
3217
+ openDelay: {
3218
+ type: NumberConstructor;
3219
+ default: number;
3220
+ };
3221
+ /** hover/focus 关闭延迟(毫秒) */
3222
+ closeDelay: {
3223
+ type: NumberConstructor;
3224
+ default: number;
3225
+ };
3226
+ /** hover/focus 时悬浮/聚焦面板保持打开 */
3227
+ keepAliveOnHover: {
3228
+ type: BooleanConstructor;
3229
+ default: boolean;
3230
+ };
3231
+ /** 面板主轴方向(与 align 组合定位);attrs.positioning.placement 显式给出时以其为准 */
3232
+ side: {
3233
+ type: PropType<Side>;
3234
+ default: string;
3235
+ };
3236
+ /** 面板相对触发器的对齐方向(默认居中) */
3141
3237
  align: {
3142
3238
  type: PropType<Align>;
3143
3239
  default: string;
3144
3240
  };
3241
+ /** 显示箭头(shadcn 风格默认无箭头) */
3242
+ arrow: {
3243
+ type: BooleanConstructor;
3244
+ default: boolean;
3245
+ };
3246
+ /** 追加/覆盖箭头样式类 */
3247
+ arrowClass: {
3248
+ type: StringConstructor;
3249
+ default: any;
3250
+ };
3251
+ /** 禁用触发(不响应任何触发事件;已打开状态不受影响) */
3252
+ disabled: {
3253
+ type: BooleanConstructor;
3254
+ default: boolean;
3255
+ };
3256
+ /** 是否 Teleport(浮层定位不受嵌套裁剪影响);false 时面板留在原地 */
3257
+ portal: {
3258
+ type: BooleanConstructor;
3259
+ default: boolean;
3260
+ };
3261
+ /** Teleport 目标(选择器或元素),仅 portal=true 时生效;
3262
+ 缺省时若应用挂载容器处于 shadow DOM(微前端沙箱)自动降级为该容器,否则 body */
3263
+ to: {
3264
+ type: PropType<string | HTMLElement>;
3265
+ default: any;
3266
+ };
3267
+ /** 面板宽度与触发元素一致 */
3268
+ matchTriggerWidth: {
3269
+ type: BooleanConstructor;
3270
+ default: boolean;
3271
+ };
3272
+ /** 覆盖面板/定位层级(默认走 --z-overlay) */
3273
+ zIndex: {
3274
+ type: NumberConstructor;
3275
+ default: any;
3276
+ };
3145
3277
  /** 追加/覆盖面板样式类(默认 w-72 可由此覆盖,如 "w-56 p-0") */
3146
3278
  contentClass: {
3147
3279
  type: StringConstructor;
@@ -3155,12 +3287,24 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
3155
3287
  }>> & Readonly<{
3156
3288
  "onUpdate:open"?: (open: boolean) => any;
3157
3289
  }>, {
3290
+ disabled: boolean;
3158
3291
  open: boolean;
3159
3292
  defaultOpen: boolean;
3160
3293
  lazyMount: boolean;
3161
3294
  unmountOnExit: boolean;
3162
3295
  contentClass: string;
3296
+ trigger: TriggerMode;
3297
+ openDelay: number;
3298
+ closeDelay: number;
3299
+ keepAliveOnHover: boolean;
3300
+ side: Side;
3163
3301
  align: Align;
3302
+ arrow: boolean;
3303
+ arrowClass: string;
3304
+ portal: boolean;
3305
+ to: string | HTMLElement;
3306
+ matchTriggerWidth: boolean;
3307
+ zIndex: number;
3164
3308
  contentProps: Record<string, unknown>;
3165
3309
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
3166
3310
  declare const __VLS_export$15: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
@@ -3949,8 +4093,8 @@ declare const __VLS_base$8: import("vue").DefineComponent<__VLS_PublicProps, {},
3949
4093
  "onUpdate:modelValue"?: (value: boolean) => any;
3950
4094
  onClose?: () => any;
3951
4095
  }>, {
3952
- variant: AlertVariants["variant"];
3953
4096
  class: string;
4097
+ variant: AlertVariants["variant"];
3954
4098
  title: string;
3955
4099
  description: string;
3956
4100
  closable: boolean;
@@ -4533,8 +4677,8 @@ type __VLS_Slots = {} & {
4533
4677
  item?: (props: typeof __VLS_1) => any;
4534
4678
  };
4535
4679
  declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
4536
- size: TimelineItemVariants["size"];
4537
4680
  mode: TimelineVariants["mode"];
4681
+ size: TimelineItemVariants["size"];
4538
4682
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
4539
4683
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
4540
4684
  declare const _default$46: typeof __VLS_export;
@@ -4568,14 +4712,14 @@ export type TimelineVariants = VariantProps<typeof timelineVariants>;
4568
4712
  /** 项变体:li 的 last:pb-0 相对 ol 语义正确;首末项连线裁切在模板内按 index 计算,不用伪类 */
4569
4713
  export declare const timelineItemVariants: (props?: {
4570
4714
  mode?: "right" | "alternate";
4571
- size?: "sm" | "default";
4715
+ size?: "default" | "sm";
4572
4716
  } & import("class-variance-authority/types").ClassProp) => string;
4573
4717
  export type TimelineItemVariants = VariantProps<typeof timelineItemVariants>;
4574
4718
  /** 节点变体:hollow × color 经 compoundVariants 配对出边框色,实心直接配底色 */
4575
4719
  export declare const timelineDotVariants: (props?: {
4576
4720
  mode?: "right" | "alternate";
4577
- size?: "sm" | "default";
4578
- color?: "destructive" | "primary" | "success" | "warning" | "muted";
4721
+ size?: "default" | "sm";
4722
+ color?: "primary" | "success" | "warning" | "destructive" | "muted";
4579
4723
  hollow?: boolean;
4580
4724
  } & import("class-variance-authority/types").ClassProp) => string;
4581
4725
  export type TimelineDotVariants = VariantProps<typeof timelineDotVariants>;