@aplus-frontend/ui 7.11.4 → 7.12.1
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/es/src/ag-grid/editable/form-item.vue.mjs +1 -1
- package/es/src/ap-action/group/index.vue.d.ts +2 -2
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/read.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/read.vue.d.ts +1 -1
- package/es/src/ap-field/index.d.ts +2 -2
- package/es/src/ap-field/interface.d.ts +6 -2
- package/es/src/ap-field/number/index.vue.d.ts +21 -1
- package/es/src/ap-field/number/index.vue.mjs +18 -16
- package/es/src/ap-field/number/read.vue2.mjs +1 -0
- package/es/src/ap-field/radio/index.vue.d.ts +10 -0
- package/es/src/ap-field/radio/index.vue.mjs +2 -2
- package/es/src/ap-field/radio/read.vue2.mjs +2 -2
- package/es/src/ap-field/rate/index.vue.d.ts +326 -6
- package/es/src/ap-field/rate/index.vue.mjs +7 -6
- package/es/src/ap-field/second/index.vue.d.ts +1 -1
- package/es/src/ap-field/select/index.vue.d.ts +4 -0
- package/es/src/ap-field/select/index.vue.mjs +5 -4
- package/es/src/ap-field/select/read.vue2.mjs +1 -0
- package/es/src/ap-field/slider/index.vue.d.ts +1 -1
- package/es/src/ap-field/tree-select/index.vue.d.ts +1 -1
- package/es/src/ap-form/drawer-form/index.vue.d.ts +10 -5
- package/es/src/ap-form/items/number/index.vue.d.ts +52 -30
- package/es/src/ap-form/items/radio/index.vue.d.ts +20 -0
- package/es/src/ap-form/items/select/index.vue.d.ts +6 -0
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +6 -6
- package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/es/src/ap-table/constants.d.ts +45 -21
- package/es/src/business/ap-batch-action-group/index.d.ts +7 -1
- package/es/src/business/ap-table-modal/index.d.ts +7 -6
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +3 -2
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +7 -7
- package/es/src/business/ap-upload/apUpload.vue.d.ts +3 -3
- package/es/src/business/ap-upload/apUpload.vue.mjs +1 -1
- package/es/src/business/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +13 -12
- package/es/src/config-provider/config-provider-props.d.ts +29 -1
- package/es/src/config-provider/config-provider.d.ts +64 -1
- package/es/src/config-provider/hooks/use-global-config.d.ts +29 -1
- package/es/src/config-provider/index.d.ts +106 -1
- package/es/src/utils/config-provider-preset.d.ts +15 -1
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-action/group/index.vue.d.ts +2 -2
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/read.vue.d.ts +1 -1
- package/lib/src/ap-field/index.d.ts +2 -2
- package/lib/src/ap-field/interface.d.ts +6 -2
- package/lib/src/ap-field/number/index.vue.d.ts +21 -1
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/number/read.vue2.js +1 -1
- package/lib/src/ap-field/radio/index.vue.d.ts +10 -0
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/radio/read.vue2.js +1 -1
- package/lib/src/ap-field/rate/index.vue.d.ts +326 -6
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/second/index.vue.d.ts +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +4 -0
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/read.vue2.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +10 -5
- package/lib/src/ap-form/items/number/index.vue.d.ts +52 -30
- package/lib/src/ap-form/items/radio/index.vue.d.ts +20 -0
- package/lib/src/ap-form/items/select/index.vue.d.ts +6 -0
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +6 -6
- package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/lib/src/ap-table/constants.d.ts +45 -21
- package/lib/src/business/ap-batch-action-group/index.d.ts +7 -1
- package/lib/src/business/ap-table-modal/index.d.ts +7 -6
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +3 -2
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.d.ts +3 -3
- package/lib/src/business/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/business/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +3 -2
- package/lib/src/config-provider/config-provider-props.d.ts +29 -1
- package/lib/src/config-provider/config-provider.d.ts +64 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +29 -1
- package/lib/src/config-provider/index.d.ts +106 -1
- package/lib/src/utils/config-provider-preset.d.ts +15 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +3 -3
|
@@ -34,6 +34,7 @@ declare function __VLS_template(): {
|
|
|
34
34
|
readonly class?: unknown;
|
|
35
35
|
readonly style?: unknown;
|
|
36
36
|
readonly size?: "small" | "large" | "middle" | undefined;
|
|
37
|
+
readonly type?: string | undefined;
|
|
37
38
|
readonly step?: ValueType | undefined;
|
|
38
39
|
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
39
40
|
readonly onChange?: ((value: ValueType) => void) | undefined;
|
|
@@ -41,15 +42,24 @@ declare function __VLS_template(): {
|
|
|
41
42
|
readonly onInput?: ((text: string) => void) | undefined;
|
|
42
43
|
readonly value?: ValueType | undefined;
|
|
43
44
|
readonly disabled?: boolean | undefined;
|
|
45
|
+
readonly placeholder?: string | undefined;
|
|
44
46
|
readonly prefixCls?: string | undefined;
|
|
45
47
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
48
|
+
readonly name?: string | undefined;
|
|
49
|
+
readonly id?: string | undefined;
|
|
46
50
|
readonly readonly?: boolean | undefined;
|
|
47
51
|
readonly autofocus?: boolean | undefined;
|
|
48
52
|
readonly bordered?: boolean | undefined;
|
|
49
53
|
readonly onPressEnter?: KeyboardEventHandler | undefined;
|
|
50
54
|
readonly 'onUpdate:value'?: (((value: ValueType) => void) & ((...args: any[]) => any)) | undefined;
|
|
55
|
+
readonly valueModifiers?: Record<string, any> | undefined;
|
|
51
56
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
52
57
|
readonly defaultValue?: ValueType | undefined;
|
|
58
|
+
readonly addonBefore?: any;
|
|
59
|
+
readonly addonAfter?: any;
|
|
60
|
+
readonly prefix?: any;
|
|
61
|
+
readonly suffix?: any;
|
|
62
|
+
readonly tabindex?: number | undefined;
|
|
53
63
|
readonly changeOnWheel?: boolean | undefined;
|
|
54
64
|
readonly changeOnBlur?: boolean | undefined;
|
|
55
65
|
readonly stringMode?: boolean | undefined;
|
|
@@ -62,22 +72,13 @@ declare function __VLS_template(): {
|
|
|
62
72
|
userTyping: boolean;
|
|
63
73
|
input: string;
|
|
64
74
|
}) => string) | undefined;
|
|
75
|
+
readonly precision?: number | undefined;
|
|
76
|
+
readonly decimalSeparator?: string | undefined;
|
|
65
77
|
readonly onStep?: ((value: ValueType, info: {
|
|
66
78
|
offset: ValueType;
|
|
67
79
|
type: "up" | "down";
|
|
68
80
|
}) => void) | undefined;
|
|
69
|
-
readonly
|
|
70
|
-
readonly placeholder?: string | undefined;
|
|
71
|
-
readonly name?: string | undefined;
|
|
72
|
-
readonly id?: string | undefined;
|
|
73
|
-
readonly valueModifiers?: Record<string, any> | undefined;
|
|
74
|
-
readonly addonBefore?: any;
|
|
75
|
-
readonly addonAfter?: any;
|
|
76
|
-
readonly prefix?: any;
|
|
77
|
-
readonly suffix?: any;
|
|
78
|
-
readonly tabindex?: number | undefined;
|
|
79
|
-
readonly precision?: number | undefined;
|
|
80
|
-
readonly decimalSeparator?: string | undefined;
|
|
81
|
+
readonly inputMode?: "input" | "spinner" | undefined;
|
|
81
82
|
readonly emptyText?: string | undefined;
|
|
82
83
|
readonly thousands?: boolean | undefined;
|
|
83
84
|
readonly limitDecimalsRetain?: boolean | undefined;
|
|
@@ -221,9 +222,14 @@ declare function __VLS_template(): {
|
|
|
221
222
|
type: PropType<(e: FocusEvent) => void>;
|
|
222
223
|
default: (e: FocusEvent) => void;
|
|
223
224
|
};
|
|
225
|
+
mode: {
|
|
226
|
+
type: PropType<"input" | "spinner">;
|
|
227
|
+
default: "input" | "spinner";
|
|
228
|
+
};
|
|
224
229
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
225
230
|
size: ButtonSize;
|
|
226
231
|
value: ValueType;
|
|
232
|
+
mode: "input" | "spinner";
|
|
227
233
|
onFocus: (e: FocusEvent) => void;
|
|
228
234
|
onBlur: (e: FocusEvent) => void;
|
|
229
235
|
onChange: (value: ValueType) => void;
|
|
@@ -403,9 +409,14 @@ declare function __VLS_template(): {
|
|
|
403
409
|
type: PropType<(e: FocusEvent) => void>;
|
|
404
410
|
default: (e: FocusEvent) => void;
|
|
405
411
|
};
|
|
412
|
+
mode: {
|
|
413
|
+
type: PropType<"input" | "spinner">;
|
|
414
|
+
default: "input" | "spinner";
|
|
415
|
+
};
|
|
406
416
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
407
417
|
size: ButtonSize;
|
|
408
418
|
value: ValueType;
|
|
419
|
+
mode: "input" | "spinner";
|
|
409
420
|
onFocus: (e: FocusEvent) => void;
|
|
410
421
|
onBlur: (e: FocusEvent) => void;
|
|
411
422
|
onChange: (value: ValueType) => void;
|
|
@@ -458,13 +469,13 @@ declare function __VLS_template(): {
|
|
|
458
469
|
step: ValueType;
|
|
459
470
|
disabled: boolean;
|
|
460
471
|
bordered: boolean;
|
|
472
|
+
emptyText: string;
|
|
461
473
|
changeOnWheel: boolean;
|
|
462
474
|
changeOnBlur: boolean;
|
|
463
475
|
min: ValueType;
|
|
464
476
|
max: ValueType;
|
|
465
477
|
controls: boolean;
|
|
466
478
|
keyboard: boolean;
|
|
467
|
-
emptyText: string;
|
|
468
479
|
thousands: boolean;
|
|
469
480
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
470
481
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -490,17 +501,17 @@ declare function __VLS_template(): {
|
|
|
490
501
|
step: ValueType;
|
|
491
502
|
disabled: boolean;
|
|
492
503
|
bordered: boolean;
|
|
504
|
+
emptyText: string;
|
|
493
505
|
changeOnWheel: boolean;
|
|
494
506
|
changeOnBlur: boolean;
|
|
495
507
|
min: ValueType;
|
|
496
508
|
max: ValueType;
|
|
497
509
|
controls: boolean;
|
|
498
510
|
keyboard: boolean;
|
|
499
|
-
emptyText: string;
|
|
500
511
|
thousands: boolean;
|
|
501
512
|
}> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
|
|
502
513
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
503
|
-
}>, "blur" | "focus" | ("step" | "disabled" | "bordered" | "changeOnWheel" | "changeOnBlur" | "min" | "max" | "controls" | "keyboard" | "
|
|
514
|
+
}>, "blur" | "focus" | ("step" | "disabled" | "bordered" | "emptyText" | "changeOnWheel" | "changeOnBlur" | "min" | "max" | "controls" | "keyboard" | "thousands")> & ShallowUnwrapRef<{
|
|
504
515
|
focus: () => void;
|
|
505
516
|
blur: () => void;
|
|
506
517
|
}> & {} & ComponentCustomProperties & {} & {
|
|
@@ -544,6 +555,7 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
544
555
|
readonly class?: unknown;
|
|
545
556
|
readonly style?: unknown;
|
|
546
557
|
readonly size?: "small" | "large" | "middle" | undefined;
|
|
558
|
+
readonly type?: string | undefined;
|
|
547
559
|
readonly step?: ValueType | undefined;
|
|
548
560
|
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
549
561
|
readonly onChange?: ((value: ValueType) => void) | undefined;
|
|
@@ -551,15 +563,24 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
551
563
|
readonly onInput?: ((text: string) => void) | undefined;
|
|
552
564
|
readonly value?: ValueType | undefined;
|
|
553
565
|
readonly disabled?: boolean | undefined;
|
|
566
|
+
readonly placeholder?: string | undefined;
|
|
554
567
|
readonly prefixCls?: string | undefined;
|
|
555
568
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
569
|
+
readonly name?: string | undefined;
|
|
570
|
+
readonly id?: string | undefined;
|
|
556
571
|
readonly readonly?: boolean | undefined;
|
|
557
572
|
readonly autofocus?: boolean | undefined;
|
|
558
573
|
readonly bordered?: boolean | undefined;
|
|
559
574
|
readonly onPressEnter?: KeyboardEventHandler | undefined;
|
|
560
575
|
readonly 'onUpdate:value'?: (((value: ValueType) => void) & ((...args: any[]) => any)) | undefined;
|
|
576
|
+
readonly valueModifiers?: Record<string, any> | undefined;
|
|
561
577
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
562
578
|
readonly defaultValue?: ValueType | undefined;
|
|
579
|
+
readonly addonBefore?: any;
|
|
580
|
+
readonly addonAfter?: any;
|
|
581
|
+
readonly prefix?: any;
|
|
582
|
+
readonly suffix?: any;
|
|
583
|
+
readonly tabindex?: number | undefined;
|
|
563
584
|
readonly changeOnWheel?: boolean | undefined;
|
|
564
585
|
readonly changeOnBlur?: boolean | undefined;
|
|
565
586
|
readonly stringMode?: boolean | undefined;
|
|
@@ -572,22 +593,13 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
572
593
|
userTyping: boolean;
|
|
573
594
|
input: string;
|
|
574
595
|
}) => string) | undefined;
|
|
596
|
+
readonly precision?: number | undefined;
|
|
597
|
+
readonly decimalSeparator?: string | undefined;
|
|
575
598
|
readonly onStep?: ((value: ValueType, info: {
|
|
576
599
|
offset: ValueType;
|
|
577
600
|
type: "up" | "down";
|
|
578
601
|
}) => void) | undefined;
|
|
579
|
-
readonly
|
|
580
|
-
readonly placeholder?: string | undefined;
|
|
581
|
-
readonly name?: string | undefined;
|
|
582
|
-
readonly id?: string | undefined;
|
|
583
|
-
readonly valueModifiers?: Record<string, any> | undefined;
|
|
584
|
-
readonly addonBefore?: any;
|
|
585
|
-
readonly addonAfter?: any;
|
|
586
|
-
readonly prefix?: any;
|
|
587
|
-
readonly suffix?: any;
|
|
588
|
-
readonly tabindex?: number | undefined;
|
|
589
|
-
readonly precision?: number | undefined;
|
|
590
|
-
readonly decimalSeparator?: string | undefined;
|
|
602
|
+
readonly inputMode?: "input" | "spinner" | undefined;
|
|
591
603
|
readonly emptyText?: string | undefined;
|
|
592
604
|
readonly thousands?: boolean | undefined;
|
|
593
605
|
readonly limitDecimalsRetain?: boolean | undefined;
|
|
@@ -731,9 +743,14 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
731
743
|
type: PropType<(e: FocusEvent) => void>;
|
|
732
744
|
default: (e: FocusEvent) => void;
|
|
733
745
|
};
|
|
746
|
+
mode: {
|
|
747
|
+
type: PropType<"input" | "spinner">;
|
|
748
|
+
default: "input" | "spinner";
|
|
749
|
+
};
|
|
734
750
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
735
751
|
size: ButtonSize;
|
|
736
752
|
value: ValueType;
|
|
753
|
+
mode: "input" | "spinner";
|
|
737
754
|
onFocus: (e: FocusEvent) => void;
|
|
738
755
|
onBlur: (e: FocusEvent) => void;
|
|
739
756
|
onChange: (value: ValueType) => void;
|
|
@@ -913,9 +930,14 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
913
930
|
type: PropType<(e: FocusEvent) => void>;
|
|
914
931
|
default: (e: FocusEvent) => void;
|
|
915
932
|
};
|
|
933
|
+
mode: {
|
|
934
|
+
type: PropType<"input" | "spinner">;
|
|
935
|
+
default: "input" | "spinner";
|
|
936
|
+
};
|
|
916
937
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
917
938
|
size: ButtonSize;
|
|
918
939
|
value: ValueType;
|
|
940
|
+
mode: "input" | "spinner";
|
|
919
941
|
onFocus: (e: FocusEvent) => void;
|
|
920
942
|
onBlur: (e: FocusEvent) => void;
|
|
921
943
|
onChange: (value: ValueType) => void;
|
|
@@ -968,13 +990,13 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
968
990
|
step: ValueType;
|
|
969
991
|
disabled: boolean;
|
|
970
992
|
bordered: boolean;
|
|
993
|
+
emptyText: string;
|
|
971
994
|
changeOnWheel: boolean;
|
|
972
995
|
changeOnBlur: boolean;
|
|
973
996
|
min: ValueType;
|
|
974
997
|
max: ValueType;
|
|
975
998
|
controls: boolean;
|
|
976
999
|
keyboard: boolean;
|
|
977
|
-
emptyText: string;
|
|
978
1000
|
thousands: boolean;
|
|
979
1001
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
980
1002
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -1000,17 +1022,17 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
1000
1022
|
step: ValueType;
|
|
1001
1023
|
disabled: boolean;
|
|
1002
1024
|
bordered: boolean;
|
|
1025
|
+
emptyText: string;
|
|
1003
1026
|
changeOnWheel: boolean;
|
|
1004
1027
|
changeOnBlur: boolean;
|
|
1005
1028
|
min: ValueType;
|
|
1006
1029
|
max: ValueType;
|
|
1007
1030
|
controls: boolean;
|
|
1008
1031
|
keyboard: boolean;
|
|
1009
|
-
emptyText: string;
|
|
1010
1032
|
thousands: boolean;
|
|
1011
1033
|
}> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
|
|
1012
1034
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
1013
|
-
}>, "blur" | "focus" | ("step" | "disabled" | "bordered" | "changeOnWheel" | "changeOnBlur" | "min" | "max" | "controls" | "keyboard" | "
|
|
1035
|
+
}>, "blur" | "focus" | ("step" | "disabled" | "bordered" | "emptyText" | "changeOnWheel" | "changeOnBlur" | "min" | "max" | "controls" | "keyboard" | "thousands")> & ShallowUnwrapRef<{
|
|
1014
1036
|
focus: () => void;
|
|
1015
1037
|
blur: () => void;
|
|
1016
1038
|
}> & {} & ComponentCustomProperties & {} & {
|
|
@@ -59,8 +59,13 @@ declare function __VLS_template(): {
|
|
|
59
59
|
type: PropType<(val: any) => void>;
|
|
60
60
|
default: (val: any) => void;
|
|
61
61
|
};
|
|
62
|
+
vertical: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
62
66
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
63
67
|
size: "default" | "small" | "large";
|
|
68
|
+
vertical: boolean;
|
|
64
69
|
onChange: (e: RadioChangeEvent) => void;
|
|
65
70
|
block: boolean;
|
|
66
71
|
disabled: boolean;
|
|
@@ -109,8 +114,13 @@ declare function __VLS_template(): {
|
|
|
109
114
|
type: PropType<(val: any) => void>;
|
|
110
115
|
default: (val: any) => void;
|
|
111
116
|
};
|
|
117
|
+
vertical: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
112
121
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
113
122
|
size: "default" | "small" | "large";
|
|
123
|
+
vertical: boolean;
|
|
114
124
|
onChange: (e: RadioChangeEvent) => void;
|
|
115
125
|
block: boolean;
|
|
116
126
|
disabled: boolean;
|
|
@@ -200,8 +210,13 @@ declare const __VLS_component: DefineComponent<ApFormItemRadioProps, {
|
|
|
200
210
|
type: PropType<(val: any) => void>;
|
|
201
211
|
default: (val: any) => void;
|
|
202
212
|
};
|
|
213
|
+
vertical: {
|
|
214
|
+
type: BooleanConstructor;
|
|
215
|
+
default: boolean;
|
|
216
|
+
};
|
|
203
217
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
204
218
|
size: "default" | "small" | "large";
|
|
219
|
+
vertical: boolean;
|
|
205
220
|
onChange: (e: RadioChangeEvent) => void;
|
|
206
221
|
block: boolean;
|
|
207
222
|
disabled: boolean;
|
|
@@ -250,8 +265,13 @@ declare const __VLS_component: DefineComponent<ApFormItemRadioProps, {
|
|
|
250
265
|
type: PropType<(val: any) => void>;
|
|
251
266
|
default: (val: any) => void;
|
|
252
267
|
};
|
|
268
|
+
vertical: {
|
|
269
|
+
type: BooleanConstructor;
|
|
270
|
+
default: boolean;
|
|
271
|
+
};
|
|
253
272
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
254
273
|
size: "default" | "small" | "large";
|
|
274
|
+
vertical: boolean;
|
|
255
275
|
onChange: (e: RadioChangeEvent) => void;
|
|
256
276
|
block: boolean;
|
|
257
277
|
disabled: boolean;
|
|
@@ -97,6 +97,7 @@ declare function __VLS_template(): {
|
|
|
97
97
|
readonly searchValue?: string | undefined;
|
|
98
98
|
readonly autoClearSearchValue?: boolean | undefined;
|
|
99
99
|
readonly onDeselect?: SelectHandler<(string | number) | LabeledValue, DefaultOptionType> | undefined;
|
|
100
|
+
readonly onActive?: ((value: SelectValue) => void) | undefined;
|
|
100
101
|
readonly filterOption?: boolean | FilterFunc<DefaultOptionType> | undefined;
|
|
101
102
|
readonly filterSort?: ((optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
102
103
|
searchValue: string;
|
|
@@ -259,6 +260,7 @@ declare function __VLS_template(): {
|
|
|
259
260
|
default: any;
|
|
260
261
|
};
|
|
261
262
|
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
263
|
+
onActive: PropType<(value: SelectValue) => void>;
|
|
262
264
|
filterOption: {
|
|
263
265
|
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
264
266
|
default: any;
|
|
@@ -480,6 +482,7 @@ declare function __VLS_template(): {
|
|
|
480
482
|
default: any;
|
|
481
483
|
};
|
|
482
484
|
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
485
|
+
onActive: PropType<(value: SelectValue) => void>;
|
|
483
486
|
filterOption: {
|
|
484
487
|
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
485
488
|
default: any;
|
|
@@ -752,6 +755,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
752
755
|
readonly searchValue?: string | undefined;
|
|
753
756
|
readonly autoClearSearchValue?: boolean | undefined;
|
|
754
757
|
readonly onDeselect?: SelectHandler<(string | number) | LabeledValue, DefaultOptionType> | undefined;
|
|
758
|
+
readonly onActive?: ((value: SelectValue) => void) | undefined;
|
|
755
759
|
readonly filterOption?: boolean | FilterFunc<DefaultOptionType> | undefined;
|
|
756
760
|
readonly filterSort?: ((optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
757
761
|
searchValue: string;
|
|
@@ -914,6 +918,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
914
918
|
default: any;
|
|
915
919
|
};
|
|
916
920
|
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
921
|
+
onActive: PropType<(value: SelectValue) => void>;
|
|
917
922
|
filterOption: {
|
|
918
923
|
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
919
924
|
default: any;
|
|
@@ -1135,6 +1140,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
1135
1140
|
default: any;
|
|
1136
1141
|
};
|
|
1137
1142
|
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
1143
|
+
onActive: PropType<(value: SelectValue) => void>;
|
|
1138
1144
|
filterOption: {
|
|
1139
1145
|
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
1140
1146
|
default: any;
|
|
@@ -754,10 +754,10 @@ declare function __VLS_template(): {
|
|
|
754
754
|
labelInValue: boolean;
|
|
755
755
|
showSearch: boolean;
|
|
756
756
|
defaultOpen: boolean;
|
|
757
|
+
emptyText: string;
|
|
757
758
|
treeCheckable: boolean;
|
|
758
759
|
treeCheckStrictly: boolean;
|
|
759
760
|
treeDefaultExpandAll: boolean;
|
|
760
|
-
emptyText: string;
|
|
761
761
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
762
762
|
beforeCreate?: (() => void) | (() => void)[];
|
|
763
763
|
created?: (() => void) | (() => void)[];
|
|
@@ -794,13 +794,13 @@ declare function __VLS_template(): {
|
|
|
794
794
|
labelInValue: boolean;
|
|
795
795
|
showSearch: boolean;
|
|
796
796
|
defaultOpen: boolean;
|
|
797
|
+
emptyText: string;
|
|
797
798
|
treeCheckable: boolean;
|
|
798
799
|
treeCheckStrictly: boolean;
|
|
799
800
|
treeDefaultExpandAll: boolean;
|
|
800
|
-
emptyText: string;
|
|
801
801
|
}> & Omit<Readonly< ApFieldTreeSelectProps> & Readonly<{
|
|
802
802
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
803
|
-
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "virtual" | "dropdownMatchSelectWidth" | "autofocus" | "loading" | "bordered" | "allowClear" | "showArrow" | "autoClearSearchValue" | "labelInValue" | "showSearch" | "defaultOpen" | "
|
|
803
|
+
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "virtual" | "dropdownMatchSelectWidth" | "autofocus" | "loading" | "bordered" | "allowClear" | "showArrow" | "autoClearSearchValue" | "labelInValue" | "showSearch" | "defaultOpen" | "emptyText" | "treeCheckable" | "treeCheckStrictly" | "treeDefaultExpandAll")> & ShallowUnwrapRef<{
|
|
804
804
|
blur: () => void;
|
|
805
805
|
focus: () => void;
|
|
806
806
|
request: (currentNode?: LegacyDataNode, clear?: boolean) => Promise<void>;
|
|
@@ -1558,10 +1558,10 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
|
|
|
1558
1558
|
labelInValue: boolean;
|
|
1559
1559
|
showSearch: boolean;
|
|
1560
1560
|
defaultOpen: boolean;
|
|
1561
|
+
emptyText: string;
|
|
1561
1562
|
treeCheckable: boolean;
|
|
1562
1563
|
treeCheckStrictly: boolean;
|
|
1563
1564
|
treeDefaultExpandAll: boolean;
|
|
1564
|
-
emptyText: string;
|
|
1565
1565
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1566
1566
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1567
1567
|
created?: (() => void) | (() => void)[];
|
|
@@ -1598,13 +1598,13 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
|
|
|
1598
1598
|
labelInValue: boolean;
|
|
1599
1599
|
showSearch: boolean;
|
|
1600
1600
|
defaultOpen: boolean;
|
|
1601
|
+
emptyText: string;
|
|
1601
1602
|
treeCheckable: boolean;
|
|
1602
1603
|
treeCheckStrictly: boolean;
|
|
1603
1604
|
treeDefaultExpandAll: boolean;
|
|
1604
|
-
emptyText: string;
|
|
1605
1605
|
}> & Omit<Readonly< ApFieldTreeSelectProps> & Readonly<{
|
|
1606
1606
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
1607
|
-
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "virtual" | "dropdownMatchSelectWidth" | "autofocus" | "loading" | "bordered" | "allowClear" | "showArrow" | "autoClearSearchValue" | "labelInValue" | "showSearch" | "defaultOpen" | "
|
|
1607
|
+
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "virtual" | "dropdownMatchSelectWidth" | "autofocus" | "loading" | "bordered" | "allowClear" | "showArrow" | "autoClearSearchValue" | "labelInValue" | "showSearch" | "defaultOpen" | "emptyText" | "treeCheckable" | "treeCheckStrictly" | "treeDefaultExpandAll")> & ShallowUnwrapRef<{
|
|
1608
1608
|
blur: () => void;
|
|
1609
1609
|
focus: () => void;
|
|
1610
1610
|
request: (currentNode?: LegacyDataNode, clear?: boolean) => Promise<void>;
|
|
@@ -14,6 +14,7 @@ import { OnCleanup } from '@vue/reactivity';
|
|
|
14
14
|
import { Breakpoint } from '@aplus-frontend/antdv/es/_util/responsiveObserve';
|
|
15
15
|
import { LegacyButtonType, ButtonHTMLType, ButtonIconPosition, ButtonVariantType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
16
16
|
import { MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
17
|
+
import { MaskType } from '@aplus-frontend/antdv/es/_util/hooks/useMergedMask';
|
|
17
18
|
type ApModalFormSlots = {
|
|
18
19
|
trigger: any;
|
|
19
20
|
default: any;
|
|
@@ -877,8 +878,8 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
877
878
|
hideRequiredMark: boolean;
|
|
878
879
|
validateOnRuleChange: boolean;
|
|
879
880
|
validateTrigger: string | string[];
|
|
880
|
-
submitter: false | ApFormSubmitterConfig;
|
|
881
881
|
showCancel: boolean;
|
|
882
|
+
submitter: false | ApFormSubmitterConfig;
|
|
882
883
|
modalProps: Omit<Partial< ExtractPropTypes<{
|
|
883
884
|
prefixCls: StringConstructor;
|
|
884
885
|
visible: {
|
|
@@ -1196,8 +1197,8 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1196
1197
|
default: CSSProperties;
|
|
1197
1198
|
};
|
|
1198
1199
|
mask: {
|
|
1199
|
-
type:
|
|
1200
|
-
default:
|
|
1200
|
+
type: PropType<MaskType>;
|
|
1201
|
+
default: MaskType;
|
|
1201
1202
|
};
|
|
1202
1203
|
keyboard: {
|
|
1203
1204
|
type: BooleanConstructor;
|