@tu-design/vue 0.5.3 → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +274 -75
- package/dist/index.mjs +477 -133
- package/dist/registry/vue/alert-dialog.json +2 -2
- package/dist/registry/vue/alert.json +1 -1
- package/dist/registry/vue/avatar-group.json +1 -1
- package/dist/registry/vue/avatar.json +1 -1
- package/dist/registry/vue/badge.json +1 -1
- package/dist/registry/vue/button.json +1 -1
- package/dist/registry/vue/calendar.json +1 -1
- package/dist/registry/vue/card.json +1 -1
- package/dist/registry/vue/cascader.json +2 -2
- package/dist/registry/vue/checkbox.json +1 -1
- package/dist/registry/vue/context-menu.json +3 -3
- package/dist/registry/vue/currency-input.json +1 -1
- package/dist/registry/vue/date-picker.json +2 -2
- package/dist/registry/vue/date-range-picker.json +2 -2
- package/dist/registry/vue/date-shared.json +8 -2
- package/dist/registry/vue/dialog.json +2 -2
- package/dist/registry/vue/drawer.json +2 -2
- package/dist/registry/vue/dropdown-menu.json +2 -2
- package/dist/registry/vue/empty.json +1 -1
- package/dist/registry/vue/form-render.json +1 -1
- package/dist/registry/vue/form.json +1 -1
- package/dist/registry/vue/icon-shared.json +1 -1
- package/dist/registry/vue/input.json +1 -1
- package/dist/registry/vue/label.json +1 -1
- package/dist/registry/vue/month-picker.json +2 -2
- package/dist/registry/vue/number-input.json +1 -1
- package/dist/registry/vue/overlay-shared.json +13 -1
- package/dist/registry/vue/password-input.json +1 -1
- package/dist/registry/vue/pin-input.json +1 -1
- package/dist/registry/vue/popconfirm.json +1 -1
- package/dist/registry/vue/popover.json +2 -2
- package/dist/registry/vue/progress.json +1 -1
- package/dist/registry/vue/radio-group.json +1 -1
- package/dist/registry/vue/registry.json +52 -52
- package/dist/registry/vue/select.json +2 -2
- package/dist/registry/vue/separator.json +1 -1
- package/dist/registry/vue/skeleton.json +1 -1
- package/dist/registry/vue/slider.json +1 -1
- package/dist/registry/vue/slot.json +1 -1
- package/dist/registry/vue/spin.json +1 -1
- package/dist/registry/vue/switch.json +1 -1
- package/dist/registry/vue/table-render.json +4 -4
- package/dist/registry/vue/tabs.json +1 -1
- package/dist/registry/vue/textarea.json +1 -1
- package/dist/registry/vue/timeline.json +1 -1
- package/dist/registry/vue/toast.json +1 -1
- package/dist/registry/vue/tokens.json +2 -2
- package/dist/registry/vue/tooltip.json +2 -2
- package/dist/registry/vue/tree-select.json +2 -2
- package/dist/registry/vue/tree-shared.json +1 -1
- package/dist/registry/vue/utils.json +1 -1
- package/dist/registry/vue/week-picker.json +2 -2
- package/dist/registry/vue/year-picker.json +2 -2
- 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,11 +97,11 @@ 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;
|
|
102
|
+
form: string;
|
|
97
103
|
checked: boolean | "indeterminate";
|
|
98
104
|
defaultChecked: boolean;
|
|
99
|
-
form: string;
|
|
100
105
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
101
106
|
declare const __VLS_export$52: __VLS_WithSlots$34<typeof __VLS_base$34, __VLS_Slots$34>;
|
|
102
107
|
declare const _default$9: typeof __VLS_export$52;
|
|
@@ -192,15 +197,28 @@ declare const __VLS_export$51: import("vue").DefineComponent<import("vue").Extra
|
|
|
192
197
|
"onUpdate:modelValue"?: (value: number) => any;
|
|
193
198
|
}>, {
|
|
194
199
|
class: string;
|
|
200
|
+
disabled: boolean;
|
|
195
201
|
modelValue: number;
|
|
196
202
|
placeholder: string;
|
|
197
|
-
disabled: boolean;
|
|
198
203
|
invalid: boolean;
|
|
199
204
|
labelUnit: CurrencyUnit;
|
|
200
205
|
valueUnit: CurrencyUnit;
|
|
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,13 +280,20 @@ 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;
|
|
268
293
|
};
|
|
269
294
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
270
|
-
"update:modelValue": (value: string) => any;
|
|
271
295
|
"update:open": (open: boolean) => any;
|
|
296
|
+
"update:modelValue": (value: string) => any;
|
|
272
297
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
273
298
|
/** 受控值("yyyy-MM-dd");undefined 走内部非受控,null 表示空 */
|
|
274
299
|
modelValue: {
|
|
@@ -329,28 +354,36 @@ 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;
|
|
335
367
|
};
|
|
336
368
|
}>> & Readonly<{
|
|
337
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
338
369
|
"onUpdate:open"?: (open: boolean) => any;
|
|
370
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
339
371
|
}>, {
|
|
340
372
|
class: string;
|
|
341
|
-
|
|
342
|
-
defaultValue: string;
|
|
373
|
+
max: string;
|
|
343
374
|
open: boolean;
|
|
344
375
|
defaultOpen: boolean;
|
|
345
|
-
placeholder: string;
|
|
346
376
|
disabled: boolean;
|
|
377
|
+
modelValue: string;
|
|
378
|
+
placeholder: string;
|
|
347
379
|
invalid: boolean;
|
|
380
|
+
defaultValue: string;
|
|
348
381
|
readOnly: boolean;
|
|
349
382
|
min: string;
|
|
350
|
-
max: string;
|
|
351
383
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
352
|
-
closeOnSelect: boolean;
|
|
353
384
|
locale: string;
|
|
385
|
+
closeOnSelect: boolean;
|
|
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,13 +453,19 @@ 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;
|
|
426
465
|
};
|
|
427
466
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
428
|
-
"update:modelValue": (value: [string, string]) => any;
|
|
429
467
|
"update:open": (open: boolean) => any;
|
|
468
|
+
"update:modelValue": (value: [string, string]) => any;
|
|
430
469
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
431
470
|
/** 受控值 [start, end]("yyyy-MM-dd",start ≤ end);undefined 走内部非受控,null 表示空 */
|
|
432
471
|
modelValue: {
|
|
@@ -492,29 +531,36 @@ 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;
|
|
498
543
|
};
|
|
499
544
|
}>> & Readonly<{
|
|
500
|
-
"onUpdate:modelValue"?: (value: [string, string]) => any;
|
|
501
545
|
"onUpdate:open"?: (open: boolean) => any;
|
|
546
|
+
"onUpdate:modelValue"?: (value: [string, string]) => any;
|
|
502
547
|
}>, {
|
|
503
548
|
class: string;
|
|
504
|
-
|
|
505
|
-
defaultValue: [string, string];
|
|
549
|
+
max: string;
|
|
506
550
|
open: boolean;
|
|
507
551
|
defaultOpen: boolean;
|
|
508
|
-
placeholder: string;
|
|
509
552
|
disabled: boolean;
|
|
553
|
+
modelValue: [string, string];
|
|
554
|
+
placeholder: string;
|
|
510
555
|
invalid: boolean;
|
|
556
|
+
defaultValue: [string, string];
|
|
511
557
|
readOnly: boolean;
|
|
558
|
+
numOfMonths: number;
|
|
512
559
|
min: string;
|
|
513
|
-
max: string;
|
|
514
560
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
515
|
-
closeOnSelect: boolean;
|
|
516
|
-
numOfMonths: number;
|
|
517
561
|
locale: string;
|
|
562
|
+
closeOnSelect: boolean;
|
|
563
|
+
positioning: import("@zag-js/popper").PositioningOptions;
|
|
518
564
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
519
565
|
declare const _default$13: typeof __VLS_export$49;
|
|
520
566
|
//#endregion
|
|
@@ -591,13 +637,20 @@ 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;
|
|
597
650
|
};
|
|
598
651
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
599
|
-
"update:modelValue": (value: string) => any;
|
|
600
652
|
"update:open": (open: boolean) => any;
|
|
653
|
+
"update:modelValue": (value: string) => any;
|
|
601
654
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
602
655
|
/** 受控月份("yyyy-MM");undefined 走内部非受控,null 表示空 */
|
|
603
656
|
modelValue: {
|
|
@@ -654,27 +707,35 @@ 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;
|
|
660
720
|
};
|
|
661
721
|
}>> & Readonly<{
|
|
662
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
663
722
|
"onUpdate:open"?: (open: boolean) => any;
|
|
723
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
664
724
|
}>, {
|
|
665
725
|
class: string;
|
|
666
|
-
|
|
667
|
-
defaultValue: string;
|
|
726
|
+
max: string;
|
|
668
727
|
open: boolean;
|
|
669
728
|
defaultOpen: boolean;
|
|
670
|
-
placeholder: string;
|
|
671
729
|
disabled: boolean;
|
|
730
|
+
modelValue: string;
|
|
731
|
+
placeholder: string;
|
|
672
732
|
invalid: boolean;
|
|
733
|
+
defaultValue: string;
|
|
673
734
|
readOnly: boolean;
|
|
674
735
|
min: string;
|
|
675
|
-
max: string;
|
|
676
|
-
closeOnSelect: boolean;
|
|
677
736
|
locale: string;
|
|
737
|
+
closeOnSelect: boolean;
|
|
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,13 +801,20 @@ 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;
|
|
746
814
|
};
|
|
747
815
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
748
|
-
"update:modelValue": (value: string) => any;
|
|
749
816
|
"update:open": (open: boolean) => any;
|
|
817
|
+
"update:modelValue": (value: string) => any;
|
|
750
818
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
751
819
|
/** 受控值("yyyy-MM-dd",语义=所在周起始日);undefined 走内部非受控,null 表示空 */
|
|
752
820
|
modelValue: {
|
|
@@ -808,28 +876,36 @@ 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;
|
|
814
889
|
};
|
|
815
890
|
}>> & Readonly<{
|
|
816
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
817
891
|
"onUpdate:open"?: (open: boolean) => any;
|
|
892
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
818
893
|
}>, {
|
|
819
894
|
class: string;
|
|
820
|
-
|
|
821
|
-
defaultValue: string;
|
|
895
|
+
max: string;
|
|
822
896
|
open: boolean;
|
|
823
897
|
defaultOpen: boolean;
|
|
824
|
-
placeholder: string;
|
|
825
898
|
disabled: boolean;
|
|
899
|
+
modelValue: string;
|
|
900
|
+
placeholder: string;
|
|
826
901
|
invalid: boolean;
|
|
902
|
+
defaultValue: string;
|
|
827
903
|
readOnly: boolean;
|
|
828
904
|
min: string;
|
|
829
|
-
max: string;
|
|
830
905
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
831
|
-
closeOnSelect: boolean;
|
|
832
906
|
locale: string;
|
|
907
|
+
closeOnSelect: boolean;
|
|
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;
|
|
917
|
-
|
|
993
|
+
max: number;
|
|
918
994
|
disabled: boolean;
|
|
995
|
+
modelValue: number;
|
|
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>;
|
|
@@ -1014,9 +1090,9 @@ declare const __VLS_base$32: import("vue").DefineComponent<import("vue").Extract
|
|
|
1014
1090
|
"onUpdate:visible"?: (visible: boolean) => any;
|
|
1015
1091
|
}>, {
|
|
1016
1092
|
class: string;
|
|
1093
|
+
disabled: boolean;
|
|
1017
1094
|
modelValue: string;
|
|
1018
1095
|
placeholder: string;
|
|
1019
|
-
disabled: boolean;
|
|
1020
1096
|
invalid: boolean;
|
|
1021
1097
|
visible: boolean;
|
|
1022
1098
|
autoComplete: "current-password" | "new-password";
|
|
@@ -1178,13 +1254,19 @@ 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;
|
|
1184
1266
|
};
|
|
1185
1267
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1186
|
-
"update:modelValue": (value: Key | Key[]) => any;
|
|
1187
1268
|
"update:open": (open: boolean) => any;
|
|
1269
|
+
"update:modelValue": (value: Key | Key[]) => any;
|
|
1188
1270
|
"update:show": (open: boolean) => any;
|
|
1189
1271
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1190
1272
|
/** 树形选项(key 必填,label 展示名,children 子级) */
|
|
@@ -1263,31 +1345,38 @@ 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;
|
|
1269
1357
|
};
|
|
1270
1358
|
}>> & Readonly<{
|
|
1271
|
-
"onUpdate:modelValue"?: (value: Key | Key[]) => any;
|
|
1272
1359
|
"onUpdate:open"?: (open: boolean) => any;
|
|
1360
|
+
"onUpdate:modelValue"?: (value: Key | Key[]) => any;
|
|
1273
1361
|
"onUpdate:show"?: (open: boolean) => any;
|
|
1274
1362
|
}>, {
|
|
1275
1363
|
class: string;
|
|
1276
|
-
modelValue: Key | Key[];
|
|
1277
|
-
defaultValue: Key | Key[];
|
|
1278
1364
|
open: boolean;
|
|
1279
1365
|
defaultOpen: boolean;
|
|
1280
|
-
placeholder: string;
|
|
1281
1366
|
disabled: boolean;
|
|
1367
|
+
modelValue: Key | Key[];
|
|
1368
|
+
placeholder: string;
|
|
1369
|
+
defaultValue: Key | Key[];
|
|
1370
|
+
positioning: import("@zag-js/popper").PositioningOptions;
|
|
1282
1371
|
multiple: boolean;
|
|
1283
1372
|
checkable: boolean;
|
|
1284
1373
|
cascade: boolean;
|
|
1285
1374
|
checkStrategy: CheckStrategy;
|
|
1375
|
+
maxTagCount: number;
|
|
1376
|
+
clearable: boolean;
|
|
1286
1377
|
expandTrigger: "click" | "hover";
|
|
1287
1378
|
showPath: boolean;
|
|
1288
1379
|
separator: string;
|
|
1289
|
-
clearable: boolean;
|
|
1290
|
-
maxTagCount: number;
|
|
1291
1380
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1292
1381
|
declare const _default$8: typeof __VLS_export$42;
|
|
1293
1382
|
//#endregion
|
|
@@ -1373,13 +1462,19 @@ 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;
|
|
1379
1474
|
};
|
|
1380
1475
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1381
|
-
"update:modelValue": (value: Key | Key[]) => any;
|
|
1382
1476
|
"update:open": (open: boolean) => any;
|
|
1477
|
+
"update:modelValue": (value: Key | Key[]) => any;
|
|
1383
1478
|
"update:show": (open: boolean) => any;
|
|
1384
1479
|
"update:expandedKeys": (keys: Key[]) => any;
|
|
1385
1480
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1463,29 +1558,36 @@ 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;
|
|
1469
1570
|
};
|
|
1470
1571
|
}>> & Readonly<{
|
|
1471
|
-
"onUpdate:modelValue"?: (value: Key | Key[]) => any;
|
|
1472
1572
|
"onUpdate:open"?: (open: boolean) => any;
|
|
1573
|
+
"onUpdate:modelValue"?: (value: Key | Key[]) => any;
|
|
1473
1574
|
"onUpdate:show"?: (open: boolean) => any;
|
|
1474
1575
|
"onUpdate:expandedKeys"?: (keys: Key[]) => any;
|
|
1475
1576
|
}>, {
|
|
1476
1577
|
class: string;
|
|
1477
|
-
modelValue: Key | Key[];
|
|
1478
|
-
defaultValue: Key | Key[];
|
|
1479
1578
|
open: boolean;
|
|
1480
1579
|
defaultOpen: boolean;
|
|
1481
|
-
placeholder: string;
|
|
1482
1580
|
disabled: boolean;
|
|
1581
|
+
modelValue: Key | Key[];
|
|
1582
|
+
placeholder: string;
|
|
1583
|
+
defaultValue: Key | Key[];
|
|
1584
|
+
positioning: import("@zag-js/popper").PositioningOptions;
|
|
1483
1585
|
multiple: boolean;
|
|
1484
1586
|
checkable: boolean;
|
|
1485
1587
|
cascade: boolean;
|
|
1486
|
-
checkStrategy: "all" | "
|
|
1487
|
-
clearable: boolean;
|
|
1588
|
+
checkStrategy: "all" | "parent" | "child";
|
|
1488
1589
|
maxTagCount: number;
|
|
1590
|
+
clearable: boolean;
|
|
1489
1591
|
filterable: boolean;
|
|
1490
1592
|
expandedKeys: Key[];
|
|
1491
1593
|
defaultExpandedKeys: Key[];
|
|
@@ -1550,9 +1652,16 @@ 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
|
-
"update:modelValue": (value: string) => any;
|
|
1555
1663
|
"update:open": (open: boolean) => any;
|
|
1664
|
+
"update:modelValue": (value: string) => any;
|
|
1556
1665
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1557
1666
|
/** 选项列表:字符串(label = value)或 { label, value, disabled? } */
|
|
1558
1667
|
items: {
|
|
@@ -1592,16 +1701,24 @@ 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
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
1597
1712
|
"onUpdate:open"?: (open: boolean) => any;
|
|
1713
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
1598
1714
|
}>, {
|
|
1599
|
-
modelValue: string;
|
|
1600
|
-
defaultValue: string;
|
|
1601
1715
|
open: boolean;
|
|
1602
1716
|
defaultOpen: boolean;
|
|
1603
|
-
placeholder: string;
|
|
1604
1717
|
contentClass: string;
|
|
1718
|
+
modelValue: string;
|
|
1719
|
+
placeholder: string;
|
|
1720
|
+
defaultValue: string;
|
|
1721
|
+
positioning: import("@zag-js/popper").PositioningOptions;
|
|
1605
1722
|
triggerClass: string;
|
|
1606
1723
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1607
1724
|
declare const __VLS_export$40: __VLS_WithSlots$30<typeof __VLS_base$30, __VLS_Slots$30>;
|
|
@@ -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,13 +1883,20 @@ 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;
|
|
1772
1896
|
};
|
|
1773
1897
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1774
|
-
"update:modelValue": (value: string) => any;
|
|
1775
1898
|
"update:open": (open: boolean) => any;
|
|
1899
|
+
"update:modelValue": (value: string) => any;
|
|
1776
1900
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1777
1901
|
/** 受控年份("yyyy");undefined 走内部非受控,null 表示空 */
|
|
1778
1902
|
modelValue: {
|
|
@@ -1829,27 +1953,35 @@ 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;
|
|
1835
1966
|
};
|
|
1836
1967
|
}>> & Readonly<{
|
|
1837
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
1838
1968
|
"onUpdate:open"?: (open: boolean) => any;
|
|
1969
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
1839
1970
|
}>, {
|
|
1840
1971
|
class: string;
|
|
1841
|
-
|
|
1842
|
-
defaultValue: string;
|
|
1972
|
+
max: string;
|
|
1843
1973
|
open: boolean;
|
|
1844
1974
|
defaultOpen: boolean;
|
|
1845
|
-
placeholder: string;
|
|
1846
1975
|
disabled: boolean;
|
|
1976
|
+
modelValue: string;
|
|
1977
|
+
placeholder: string;
|
|
1847
1978
|
invalid: boolean;
|
|
1979
|
+
defaultValue: string;
|
|
1848
1980
|
readOnly: boolean;
|
|
1849
1981
|
min: string;
|
|
1850
|
-
max: string;
|
|
1851
|
-
closeOnSelect: boolean;
|
|
1852
1982
|
locale: string;
|
|
1983
|
+
closeOnSelect: boolean;
|
|
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,12 +2594,12 @@ 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;
|
|
2600
|
+
numOfMonths: number;
|
|
2467
2601
|
min: string;
|
|
2468
|
-
max: string;
|
|
2469
2602
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
2470
|
-
numOfMonths: number;
|
|
2471
2603
|
locale: string;
|
|
2472
2604
|
week: boolean;
|
|
2473
2605
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -2656,10 +2788,10 @@ declare const __VLS_base$21: import("vue").DefineComponent<import("vue").Extract
|
|
|
2656
2788
|
defaultOpen: boolean;
|
|
2657
2789
|
lazyMount: boolean;
|
|
2658
2790
|
unmountOnExit: boolean;
|
|
2791
|
+
contentClass: string;
|
|
2659
2792
|
title: string;
|
|
2660
2793
|
description: string;
|
|
2661
2794
|
showCloseButton: boolean;
|
|
2662
|
-
contentClass: string;
|
|
2663
2795
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2664
2796
|
declare const __VLS_export$28: __VLS_WithSlots$21<typeof __VLS_base$21, __VLS_Slots$21>;
|
|
2665
2797
|
declare const _default$14: typeof __VLS_export$28;
|
|
@@ -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: {
|
|
@@ -2784,6 +2930,7 @@ declare const __VLS_base$20: import("vue").DefineComponent<import("vue").Extract
|
|
|
2784
2930
|
lazyMount: boolean;
|
|
2785
2931
|
unmountOnExit: boolean;
|
|
2786
2932
|
contentClass: string;
|
|
2933
|
+
positioning: import("@zag-js/popper").PositioningOptions;
|
|
2787
2934
|
triggerClass: string;
|
|
2788
2935
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2789
2936
|
declare const __VLS_export$27: __VLS_WithSlots$20<typeof __VLS_base$20, __VLS_Slots$20>;
|
|
@@ -3088,15 +3235,15 @@ 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";
|
|
3093
|
-
placeholder: string;
|
|
3094
3239
|
disabled: boolean;
|
|
3095
|
-
|
|
3240
|
+
modelValue: string[];
|
|
3096
3241
|
otp: boolean;
|
|
3097
3242
|
mask: boolean;
|
|
3098
3243
|
autoSubmit: boolean;
|
|
3099
3244
|
blurOnComplete: boolean;
|
|
3245
|
+
placeholder: string;
|
|
3246
|
+
invalid: boolean;
|
|
3100
3247
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3101
3248
|
declare const __VLS_export$17: __VLS_WithSlots$13<typeof __VLS_base$13, __VLS_Slots$13>;
|
|
3102
3249
|
declare const _default$32: typeof __VLS_export$17;
|
|
@@ -3326,10 +3473,8 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3326
3473
|
}>, {
|
|
3327
3474
|
open: boolean;
|
|
3328
3475
|
defaultOpen: boolean;
|
|
3329
|
-
disabled: boolean;
|
|
3330
3476
|
lazyMount: boolean;
|
|
3331
3477
|
unmountOnExit: boolean;
|
|
3332
|
-
contentClass: string;
|
|
3333
3478
|
trigger: TriggerMode;
|
|
3334
3479
|
openDelay: number;
|
|
3335
3480
|
closeDelay: number;
|
|
@@ -3338,10 +3483,12 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3338
3483
|
align: Align;
|
|
3339
3484
|
arrow: boolean;
|
|
3340
3485
|
arrowClass: string;
|
|
3486
|
+
disabled: boolean;
|
|
3341
3487
|
portal: boolean;
|
|
3342
3488
|
to: string | HTMLElement;
|
|
3343
3489
|
matchTriggerWidth: boolean;
|
|
3344
3490
|
zIndex: number;
|
|
3491
|
+
contentClass: string;
|
|
3345
3492
|
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>;
|
|
@@ -3825,6 +3972,14 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
3825
3972
|
type: PropType<boolean | undefined>;
|
|
3826
3973
|
default: any;
|
|
3827
3974
|
};
|
|
3975
|
+
/** 填充模式:根容器 h-full 纵向 flex,滚动区 flex-1 内滚;表头 sticky 钉住。
|
|
3976
|
+
* 父链需有确定高度(如页面布局的 .table-body);无确定高度时安全退化为自然高度。
|
|
3977
|
+
* 显式 prop 优先于布局 provide(key: "tu-design:page-table-fill");显式传 false 可强制关闭。
|
|
3978
|
+
* 纯布局属性,不进 defineTable/definition(virtual/height 例外),setup 期定版不支持运行时切换。 */
|
|
3979
|
+
fillHeight: {
|
|
3980
|
+
type: PropType<boolean | undefined>;
|
|
3981
|
+
default: any;
|
|
3982
|
+
};
|
|
3828
3983
|
}>, {
|
|
3829
3984
|
table: import("@tanstack/vue-table").Table<DataRecord> | import("@tanstack/vue-table").Table<any>;
|
|
3830
3985
|
page: Readonly<PageableOptions>;
|
|
@@ -3965,6 +4120,14 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
3965
4120
|
type: PropType<boolean | undefined>;
|
|
3966
4121
|
default: any;
|
|
3967
4122
|
};
|
|
4123
|
+
/** 填充模式:根容器 h-full 纵向 flex,滚动区 flex-1 内滚;表头 sticky 钉住。
|
|
4124
|
+
* 父链需有确定高度(如页面布局的 .table-body);无确定高度时安全退化为自然高度。
|
|
4125
|
+
* 显式 prop 优先于布局 provide(key: "tu-design:page-table-fill");显式传 false 可强制关闭。
|
|
4126
|
+
* 纯布局属性,不进 defineTable/definition(virtual/height 例外),setup 期定版不支持运行时切换。 */
|
|
4127
|
+
fillHeight: {
|
|
4128
|
+
type: PropType<boolean | undefined>;
|
|
4129
|
+
default: any;
|
|
4130
|
+
};
|
|
3968
4131
|
}>> & Readonly<{
|
|
3969
4132
|
onSearch?: (values: DataRecord) => any;
|
|
3970
4133
|
onReset?: (values: DataRecord) => any;
|
|
@@ -3988,6 +4151,7 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
3988
4151
|
columnSettings: boolean;
|
|
3989
4152
|
showSearch: boolean;
|
|
3990
4153
|
showPagination: boolean;
|
|
4154
|
+
fillHeight: boolean;
|
|
3991
4155
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3992
4156
|
declare const __VLS_export$12: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
|
|
3993
4157
|
declare const _default$44: typeof __VLS_export$12;
|
|
@@ -3997,6 +4161,10 @@ type __VLS_WithSlots$11<T, S> = T & {
|
|
|
3997
4161
|
};
|
|
3998
4162
|
};
|
|
3999
4163
|
//#endregion
|
|
4164
|
+
//#region src/components/table-render/constants.d.ts
|
|
4165
|
+
/** 布局容器与 TableRender 的跨包填充协议 key:provide(true) 声明容器内 TableRender 应填满、内部滚动、表头固定 */
|
|
4166
|
+
export declare const PAGE_TABLE_FILL_KEY = "tu-design:page-table-fill";
|
|
4167
|
+
//#endregion
|
|
4000
4168
|
//#region src/components/table-render/define-columns.d.ts
|
|
4001
4169
|
/**
|
|
4002
4170
|
* 列定义辅助:补全泛型推导,便于把列配置抽到独立文件。
|
|
@@ -4085,11 +4253,11 @@ type __VLS_Slots$10 = {} & {
|
|
|
4085
4253
|
panel?: (props: typeof __VLS_39) => any;
|
|
4086
4254
|
};
|
|
4087
4255
|
declare const __VLS_base$10: import("vue").DefineComponent<Props$2, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4088
|
-
close: (value: string) => any;
|
|
4089
4256
|
"update:value": (value: string) => any;
|
|
4257
|
+
close: (value: string) => any;
|
|
4090
4258
|
}, string, import("vue").PublicProps, Readonly<Props$2> & Readonly<{
|
|
4091
|
-
onClose?: (value: string) => any;
|
|
4092
4259
|
"onUpdate:value"?: (value: string) => any;
|
|
4260
|
+
onClose?: (value: string) => any;
|
|
4093
4261
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4094
4262
|
declare const __VLS_export$11: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
|
|
4095
4263
|
declare const _default$45: typeof __VLS_export$11;
|
|
@@ -4149,6 +4317,13 @@ declare const __VLS_base$9: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4149
4317
|
type: PropType<Record<string, unknown>>;
|
|
4150
4318
|
default: any;
|
|
4151
4319
|
};
|
|
4320
|
+
/** Ark Tooltip Root 的 positioning 配置(placement/gutter 等);
|
|
4321
|
+
iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
|
|
4322
|
+
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
4323
|
+
positioning: {
|
|
4324
|
+
type: PropType<TooltipRootProps["positioning"]>;
|
|
4325
|
+
default: any;
|
|
4326
|
+
};
|
|
4152
4327
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4153
4328
|
"update:open": (open: boolean) => any;
|
|
4154
4329
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -4194,6 +4369,13 @@ declare const __VLS_base$9: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4194
4369
|
type: PropType<Record<string, unknown>>;
|
|
4195
4370
|
default: any;
|
|
4196
4371
|
};
|
|
4372
|
+
/** Ark Tooltip Root 的 positioning 配置(placement/gutter 等);
|
|
4373
|
+
iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
|
|
4374
|
+
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
4375
|
+
positioning: {
|
|
4376
|
+
type: PropType<TooltipRootProps["positioning"]>;
|
|
4377
|
+
default: any;
|
|
4378
|
+
};
|
|
4197
4379
|
}>> & Readonly<{
|
|
4198
4380
|
"onUpdate:open"?: (open: boolean) => any;
|
|
4199
4381
|
}>, {
|
|
@@ -4203,6 +4385,7 @@ declare const __VLS_base$9: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4203
4385
|
unmountOnExit: boolean;
|
|
4204
4386
|
contentClass: string;
|
|
4205
4387
|
contentProps: Record<string, unknown>;
|
|
4388
|
+
positioning: import("@zag-js/popper").PositioningOptions;
|
|
4206
4389
|
content: string;
|
|
4207
4390
|
delayDuration: number;
|
|
4208
4391
|
closeDuration: number;
|
|
@@ -4327,8 +4510,8 @@ declare const __VLS_export$7: import("vue").DefineComponent<__VLS_Props$1, {}, {
|
|
|
4327
4510
|
}>, {
|
|
4328
4511
|
variant: ProgressVariant;
|
|
4329
4512
|
max: number;
|
|
4330
|
-
indeterminate: boolean;
|
|
4331
4513
|
showValue: boolean;
|
|
4514
|
+
indeterminate: boolean;
|
|
4332
4515
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4333
4516
|
declare const _default$35: typeof __VLS_export$7;
|
|
4334
4517
|
//#endregion
|
|
@@ -4562,6 +4745,13 @@ declare const __VLS_base$3: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4562
4745
|
type: PropType<MenuItemOption[]>;
|
|
4563
4746
|
required: true;
|
|
4564
4747
|
};
|
|
4748
|
+
/** Ark Menu Root 的 positioning 配置(gutter 等;placement 由指针 anchorPoint 驱动);
|
|
4749
|
+
iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
|
|
4750
|
+
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
4751
|
+
positioning: {
|
|
4752
|
+
type: PropType<MenuRootProps["positioning"]>;
|
|
4753
|
+
default: any;
|
|
4754
|
+
};
|
|
4565
4755
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4566
4756
|
select: (details: {
|
|
4567
4757
|
value: string;
|
|
@@ -4572,11 +4762,20 @@ declare const __VLS_base$3: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4572
4762
|
type: PropType<MenuItemOption[]>;
|
|
4573
4763
|
required: true;
|
|
4574
4764
|
};
|
|
4765
|
+
/** Ark Menu Root 的 positioning 配置(gutter 等;placement 由指针 anchorPoint 驱动);
|
|
4766
|
+
iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
|
|
4767
|
+
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
4768
|
+
positioning: {
|
|
4769
|
+
type: PropType<MenuRootProps["positioning"]>;
|
|
4770
|
+
default: any;
|
|
4771
|
+
};
|
|
4575
4772
|
}>> & Readonly<{
|
|
4576
4773
|
onSelect?: (details: {
|
|
4577
4774
|
value: string;
|
|
4578
4775
|
}) => any;
|
|
4579
|
-
}>, {
|
|
4776
|
+
}>, {
|
|
4777
|
+
positioning: import("@zag-js/popper").PositioningOptions;
|
|
4778
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4580
4779
|
declare const __VLS_export$3: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
4581
4780
|
declare const _default$10: typeof __VLS_export$3;
|
|
4582
4781
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -4708,10 +4907,10 @@ declare const __VLS_base$2: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4708
4907
|
defaultOpen: boolean;
|
|
4709
4908
|
lazyMount: boolean;
|
|
4710
4909
|
unmountOnExit: boolean;
|
|
4910
|
+
placement: Placement;
|
|
4711
4911
|
title: string;
|
|
4712
4912
|
description: string;
|
|
4713
4913
|
showCloseButton: boolean;
|
|
4714
|
-
placement: Placement;
|
|
4715
4914
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4716
4915
|
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
4717
4916
|
declare const _default$15: typeof __VLS_export$2;
|