yc-pro-components 0.0.10 → 0.0.12
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/components/check-card/index.d.ts +38 -38
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +7 -7
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +16 -16
- package/es/components/date-picker/src/index.vue.d.ts +8 -8
- package/es/components/dialog/index.d.ts +30 -30
- package/es/components/dialog/src/index.vue.d.ts +3 -3
- package/es/components/dialog-form/index.d.ts +80 -80
- package/es/components/dialog-form/src/index.vue.d.ts +28 -28
- package/es/components/display-item/index.d.ts +29 -29
- package/es/components/display-item/src/index.vue.d.ts +10 -10
- package/es/components/drawer-form/index.d.ts +95 -95
- package/es/components/drawer-form/src/index.vue.d.ts +28 -28
- package/es/components/form/index.d.ts +89 -89
- package/es/components/form/src/form-content.vue.d.ts +8 -8
- package/es/components/form/src/index.vue.d.ts +31 -31
- package/es/components/form-item/index.d.ts +46 -46
- package/es/components/form-item/src/index.vue.d.ts +14 -14
- package/es/components/input-tag/index.d.ts +28 -28
- package/es/components/input-tag/src/index.vue.d.ts +28 -28
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +601 -511
- package/es/components/page/src/index.vue.d.ts +203 -173
- package/es/components/pagination/index.d.ts +7 -7
- package/es/components/pagination/src/index.vue.d.ts +1 -1
- package/es/components/radio/index.d.ts +37 -37
- package/es/components/radio/src/index.vue.d.ts +37 -37
- package/es/components/render/index.d.ts +12 -12
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +244 -206
- package/es/components/search/src/index.vue.d.ts +75 -69
- package/es/components/search/src/index.vue2.mjs +14 -4
- package/es/components/search/src/type.d.ts +9 -0
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/table/index.d.ts +40 -40
- package/es/components/table/src/index.vue.d.ts +12 -12
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +11 -11
- package/es/components/table/src/table-column.vue.d.ts +25 -25
- package/es/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/es/components/utils/index.d.ts +5 -5
- package/es/components/yc-count-to/index.d.ts +2 -2
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-count-to/src/rebound/index.d.ts +1 -1
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-drawer/store.d.ts +13 -13
- package/es/components/yc-more-actions/index.d.ts +84 -84
- package/es/components/yc-more-actions/src/index.vue.d.ts +6 -6
- package/es/components/yc-plus-page/src/index.vue.d.ts +465 -538
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
- package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/es/components/yc-segmented/index.d.ts +4 -4
- package/es/components/yc-segmented/src/index.d.ts +4 -4
- package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +384 -384
- package/es/index.css +1 -1
- package/index.css +9 -5
- package/index.js +23 -7
- package/index.min.css +1 -1
- package/index.min.js +6 -6
- package/index.min.mjs +7 -7
- package/index.mjs +23 -7
- package/lib/components/check-card/index.d.ts +38 -38
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +7 -7
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +16 -16
- package/lib/components/date-picker/src/index.vue.d.ts +8 -8
- package/lib/components/dialog/index.d.ts +30 -30
- package/lib/components/dialog/src/index.vue.d.ts +3 -3
- package/lib/components/dialog-form/index.d.ts +80 -80
- package/lib/components/dialog-form/src/index.vue.d.ts +28 -28
- package/lib/components/display-item/index.d.ts +29 -29
- package/lib/components/display-item/src/index.vue.d.ts +10 -10
- package/lib/components/drawer-form/index.d.ts +95 -95
- package/lib/components/drawer-form/src/index.vue.d.ts +28 -28
- package/lib/components/form/index.d.ts +89 -89
- package/lib/components/form/src/form-content.vue.d.ts +8 -8
- package/lib/components/form/src/index.vue.d.ts +31 -31
- package/lib/components/form-item/index.d.ts +46 -46
- package/lib/components/form-item/src/index.vue.d.ts +14 -14
- package/lib/components/input-tag/index.d.ts +28 -28
- package/lib/components/input-tag/src/index.vue.d.ts +28 -28
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +601 -511
- package/lib/components/page/src/index.vue.d.ts +203 -173
- package/lib/components/pagination/index.d.ts +7 -7
- package/lib/components/pagination/src/index.vue.d.ts +1 -1
- package/lib/components/radio/index.d.ts +37 -37
- package/lib/components/radio/src/index.vue.d.ts +37 -37
- package/lib/components/render/index.d.ts +12 -12
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +244 -206
- package/lib/components/search/src/index.vue.d.ts +75 -69
- package/lib/components/search/src/index.vue2.js +13 -3
- package/lib/components/search/src/type.d.ts +9 -0
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/table/index.d.ts +40 -40
- package/lib/components/table/src/index.vue.d.ts +12 -12
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +11 -11
- package/lib/components/table/src/table-column.vue.d.ts +25 -25
- package/lib/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/lib/components/utils/index.d.ts +5 -5
- package/lib/components/yc-count-to/index.d.ts +2 -2
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/rebound/index.d.ts +1 -1
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-drawer/store.d.ts +13 -13
- package/lib/components/yc-more-actions/index.d.ts +84 -84
- package/lib/components/yc-more-actions/src/index.vue.d.ts +6 -6
- package/lib/components/yc-plus-page/src/index.vue.d.ts +465 -538
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/lib/components/yc-segmented/index.d.ts +4 -4
- package/lib/components/yc-segmented/src/index.d.ts +4 -4
- package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +384 -384
- package/lib/index.css +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-page.css +1 -1
- package/theme-chalk/src/mixins/mixins.scss +4 -0
- package/theme-chalk/src/page.scss +1 -1
|
@@ -8,10 +8,6 @@ export type { PlusDrawerFormProps } from './src/index.vue';
|
|
|
8
8
|
export type PlusDrawerFormInstance = InstanceType<typeof PlusDrawerForm>;
|
|
9
9
|
export declare const PlusDrawerForm: {
|
|
10
10
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
11
|
-
size: {
|
|
12
|
-
type: PropType<string | number>;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
11
|
form: {
|
|
16
12
|
type: PropType<PlusFormProps>;
|
|
17
13
|
default: () => {};
|
|
@@ -20,6 +16,10 @@ export declare const PlusDrawerForm: {
|
|
|
20
16
|
type: PropType<boolean>;
|
|
21
17
|
default: boolean;
|
|
22
18
|
};
|
|
19
|
+
size: {
|
|
20
|
+
type: PropType<string | number>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
23
|
modelValue: {
|
|
24
24
|
type: PropType<FieldValues>;
|
|
25
25
|
default: () => {};
|
|
@@ -52,10 +52,10 @@ export declare const PlusDrawerForm: {
|
|
|
52
52
|
default: () => {};
|
|
53
53
|
};
|
|
54
54
|
}>> & {
|
|
55
|
-
onCancel?: (() => any) | undefined;
|
|
56
55
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
57
56
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
58
57
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
58
|
+
onCancel?: (() => any) | undefined;
|
|
59
59
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
60
60
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
61
61
|
}, {
|
|
@@ -805,8 +805,8 @@ export declare const PlusDrawerForm: {
|
|
|
805
805
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
806
806
|
__epPropKey: true;
|
|
807
807
|
};
|
|
808
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
809
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
808
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
|
|
809
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
810
810
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
811
811
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
812
812
|
readonly inline: BooleanConstructor;
|
|
@@ -823,7 +823,7 @@ export declare const PlusDrawerForm: {
|
|
|
823
823
|
__epPropKey: true;
|
|
824
824
|
};
|
|
825
825
|
readonly size: {
|
|
826
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
826
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
827
827
|
readonly required: false;
|
|
828
828
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
829
829
|
__epPropKey: true;
|
|
@@ -841,8 +841,8 @@ export declare const PlusDrawerForm: {
|
|
|
841
841
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
842
842
|
__epPropKey: true;
|
|
843
843
|
};
|
|
844
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
845
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
844
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
|
|
845
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
846
846
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
847
847
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
848
848
|
readonly inline: BooleanConstructor;
|
|
@@ -859,7 +859,7 @@ export declare const PlusDrawerForm: {
|
|
|
859
859
|
__epPropKey: true;
|
|
860
860
|
};
|
|
861
861
|
readonly size: {
|
|
862
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
862
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
863
863
|
readonly required: false;
|
|
864
864
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
865
865
|
__epPropKey: true;
|
|
@@ -870,7 +870,7 @@ export declare const PlusDrawerForm: {
|
|
|
870
870
|
}>>;
|
|
871
871
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
872
872
|
fields: FormItemContext[];
|
|
873
|
-
formSize: ComputedRef<"" | "
|
|
873
|
+
formSize: ComputedRef<"" | "default" | "small" | "large">;
|
|
874
874
|
ns: {
|
|
875
875
|
namespace: ComputedRef<string>;
|
|
876
876
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -890,7 +890,7 @@ export declare const PlusDrawerForm: {
|
|
|
890
890
|
cssVarBlockName: (name: string) => string;
|
|
891
891
|
};
|
|
892
892
|
formClasses: ComputedRef<(string | {
|
|
893
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
893
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
|
|
894
894
|
})[]>;
|
|
895
895
|
getField: (prop: string) => FormItemContext | undefined;
|
|
896
896
|
addField: (field: FormItemContext) => void;
|
|
@@ -913,8 +913,8 @@ export declare const PlusDrawerForm: {
|
|
|
913
913
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
914
914
|
__epPropKey: true;
|
|
915
915
|
};
|
|
916
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
917
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
916
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
|
|
917
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
918
918
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
919
919
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
920
920
|
readonly inline: BooleanConstructor;
|
|
@@ -931,7 +931,7 @@ export declare const PlusDrawerForm: {
|
|
|
931
931
|
__epPropKey: true;
|
|
932
932
|
};
|
|
933
933
|
readonly size: {
|
|
934
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
934
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
935
935
|
readonly required: false;
|
|
936
936
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
937
937
|
__epPropKey: true;
|
|
@@ -941,8 +941,8 @@ export declare const PlusDrawerForm: {
|
|
|
941
941
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
942
942
|
}, {
|
|
943
943
|
readonly disabled: boolean;
|
|
944
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
945
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
944
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
|
|
945
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
946
946
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
947
947
|
readonly labelSuffix: string;
|
|
948
948
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -967,8 +967,8 @@ export declare const PlusDrawerForm: {
|
|
|
967
967
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
968
968
|
__epPropKey: true;
|
|
969
969
|
};
|
|
970
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
971
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
970
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
|
|
971
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
972
972
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
973
973
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
974
974
|
readonly inline: BooleanConstructor;
|
|
@@ -985,7 +985,7 @@ export declare const PlusDrawerForm: {
|
|
|
985
985
|
__epPropKey: true;
|
|
986
986
|
};
|
|
987
987
|
readonly size: {
|
|
988
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
988
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
989
989
|
readonly required: false;
|
|
990
990
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
991
991
|
__epPropKey: true;
|
|
@@ -1003,8 +1003,8 @@ export declare const PlusDrawerForm: {
|
|
|
1003
1003
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1004
1004
|
__epPropKey: true;
|
|
1005
1005
|
};
|
|
1006
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
1007
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
1006
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
|
|
1007
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
1008
1008
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
1009
1009
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1010
1010
|
readonly inline: BooleanConstructor;
|
|
@@ -1021,7 +1021,7 @@ export declare const PlusDrawerForm: {
|
|
|
1021
1021
|
__epPropKey: true;
|
|
1022
1022
|
};
|
|
1023
1023
|
readonly size: {
|
|
1024
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1024
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
1025
1025
|
readonly required: false;
|
|
1026
1026
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1027
1027
|
__epPropKey: true;
|
|
@@ -1032,7 +1032,7 @@ export declare const PlusDrawerForm: {
|
|
|
1032
1032
|
}>>;
|
|
1033
1033
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
1034
1034
|
fields: FormItemContext[];
|
|
1035
|
-
formSize: ComputedRef<"" | "
|
|
1035
|
+
formSize: ComputedRef<"" | "default" | "small" | "large">;
|
|
1036
1036
|
ns: {
|
|
1037
1037
|
namespace: ComputedRef<string>;
|
|
1038
1038
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -1052,7 +1052,7 @@ export declare const PlusDrawerForm: {
|
|
|
1052
1052
|
cssVarBlockName: (name: string) => string;
|
|
1053
1053
|
};
|
|
1054
1054
|
formClasses: ComputedRef<(string | {
|
|
1055
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
1055
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
|
|
1056
1056
|
})[]>;
|
|
1057
1057
|
getField: (prop: string) => FormItemContext | undefined;
|
|
1058
1058
|
addField: (field: FormItemContext) => void;
|
|
@@ -1067,8 +1067,8 @@ export declare const PlusDrawerForm: {
|
|
|
1067
1067
|
scrollToField: (prop: FormItemProp) => void;
|
|
1068
1068
|
}, {}, {}, {}, {
|
|
1069
1069
|
readonly disabled: boolean;
|
|
1070
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
1071
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
1070
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
|
|
1071
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
1072
1072
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
1073
1073
|
readonly labelSuffix: string;
|
|
1074
1074
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1087,10 +1087,6 @@ export declare const PlusDrawerForm: {
|
|
|
1087
1087
|
cancel: () => void;
|
|
1088
1088
|
confirmError: (errors: unknown) => void;
|
|
1089
1089
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1090
|
-
size: {
|
|
1091
|
-
type: PropType<string | number>;
|
|
1092
|
-
default: string;
|
|
1093
|
-
};
|
|
1094
1090
|
form: {
|
|
1095
1091
|
type: PropType<PlusFormProps>;
|
|
1096
1092
|
default: () => {};
|
|
@@ -1099,6 +1095,10 @@ export declare const PlusDrawerForm: {
|
|
|
1099
1095
|
type: PropType<boolean>;
|
|
1100
1096
|
default: boolean;
|
|
1101
1097
|
};
|
|
1098
|
+
size: {
|
|
1099
|
+
type: PropType<string | number>;
|
|
1100
|
+
default: string;
|
|
1101
|
+
};
|
|
1102
1102
|
modelValue: {
|
|
1103
1103
|
type: PropType<FieldValues>;
|
|
1104
1104
|
default: () => {};
|
|
@@ -1131,16 +1131,16 @@ export declare const PlusDrawerForm: {
|
|
|
1131
1131
|
default: () => {};
|
|
1132
1132
|
};
|
|
1133
1133
|
}>> & {
|
|
1134
|
-
onCancel?: (() => any) | undefined;
|
|
1135
1134
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1136
1135
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1137
1136
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1137
|
+
onCancel?: (() => any) | undefined;
|
|
1138
1138
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1139
1139
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1140
1140
|
}, {
|
|
1141
|
-
size: string | number;
|
|
1142
1141
|
form: PlusFormProps;
|
|
1143
1142
|
visible: boolean;
|
|
1143
|
+
size: string | number;
|
|
1144
1144
|
modelValue: FieldValues;
|
|
1145
1145
|
hasErrorTip: boolean;
|
|
1146
1146
|
hasFooter: boolean;
|
|
@@ -1159,10 +1159,6 @@ export declare const PlusDrawerForm: {
|
|
|
1159
1159
|
M: {};
|
|
1160
1160
|
Defaults: {};
|
|
1161
1161
|
}, Readonly< ExtractPropTypes<{
|
|
1162
|
-
size: {
|
|
1163
|
-
type: PropType<string | number>;
|
|
1164
|
-
default: string;
|
|
1165
|
-
};
|
|
1166
1162
|
form: {
|
|
1167
1163
|
type: PropType<PlusFormProps>;
|
|
1168
1164
|
default: () => {};
|
|
@@ -1171,6 +1167,10 @@ export declare const PlusDrawerForm: {
|
|
|
1171
1167
|
type: PropType<boolean>;
|
|
1172
1168
|
default: boolean;
|
|
1173
1169
|
};
|
|
1170
|
+
size: {
|
|
1171
|
+
type: PropType<string | number>;
|
|
1172
|
+
default: string;
|
|
1173
|
+
};
|
|
1174
1174
|
modelValue: {
|
|
1175
1175
|
type: PropType<FieldValues>;
|
|
1176
1176
|
default: () => {};
|
|
@@ -1203,10 +1203,10 @@ export declare const PlusDrawerForm: {
|
|
|
1203
1203
|
default: () => {};
|
|
1204
1204
|
};
|
|
1205
1205
|
}>> & {
|
|
1206
|
-
onCancel?: (() => any) | undefined;
|
|
1207
1206
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1208
1207
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1209
1208
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1209
|
+
onCancel?: (() => any) | undefined;
|
|
1210
1210
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1211
1211
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1212
1212
|
}, {
|
|
@@ -1956,8 +1956,8 @@ export declare const PlusDrawerForm: {
|
|
|
1956
1956
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1957
1957
|
__epPropKey: true;
|
|
1958
1958
|
};
|
|
1959
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
1960
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
1959
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
|
|
1960
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
1961
1961
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
1962
1962
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1963
1963
|
readonly inline: BooleanConstructor;
|
|
@@ -1974,7 +1974,7 @@ export declare const PlusDrawerForm: {
|
|
|
1974
1974
|
__epPropKey: true;
|
|
1975
1975
|
};
|
|
1976
1976
|
readonly size: {
|
|
1977
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1977
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
1978
1978
|
readonly required: false;
|
|
1979
1979
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1980
1980
|
__epPropKey: true;
|
|
@@ -1992,8 +1992,8 @@ export declare const PlusDrawerForm: {
|
|
|
1992
1992
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1993
1993
|
__epPropKey: true;
|
|
1994
1994
|
};
|
|
1995
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
1996
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
1995
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
|
|
1996
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
1997
1997
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
1998
1998
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1999
1999
|
readonly inline: BooleanConstructor;
|
|
@@ -2010,7 +2010,7 @@ export declare const PlusDrawerForm: {
|
|
|
2010
2010
|
__epPropKey: true;
|
|
2011
2011
|
};
|
|
2012
2012
|
readonly size: {
|
|
2013
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
2013
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
2014
2014
|
readonly required: false;
|
|
2015
2015
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2016
2016
|
__epPropKey: true;
|
|
@@ -2021,7 +2021,7 @@ export declare const PlusDrawerForm: {
|
|
|
2021
2021
|
}>>;
|
|
2022
2022
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
2023
2023
|
fields: FormItemContext[];
|
|
2024
|
-
formSize: ComputedRef<"" | "
|
|
2024
|
+
formSize: ComputedRef<"" | "default" | "small" | "large">;
|
|
2025
2025
|
ns: {
|
|
2026
2026
|
namespace: ComputedRef<string>;
|
|
2027
2027
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -2041,7 +2041,7 @@ export declare const PlusDrawerForm: {
|
|
|
2041
2041
|
cssVarBlockName: (name: string) => string;
|
|
2042
2042
|
};
|
|
2043
2043
|
formClasses: ComputedRef<(string | {
|
|
2044
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
2044
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
|
|
2045
2045
|
})[]>;
|
|
2046
2046
|
getField: (prop: string) => FormItemContext | undefined;
|
|
2047
2047
|
addField: (field: FormItemContext) => void;
|
|
@@ -2064,8 +2064,8 @@ export declare const PlusDrawerForm: {
|
|
|
2064
2064
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2065
2065
|
__epPropKey: true;
|
|
2066
2066
|
};
|
|
2067
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
2068
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
2067
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
|
|
2068
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
2069
2069
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2070
2070
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2071
2071
|
readonly inline: BooleanConstructor;
|
|
@@ -2082,7 +2082,7 @@ export declare const PlusDrawerForm: {
|
|
|
2082
2082
|
__epPropKey: true;
|
|
2083
2083
|
};
|
|
2084
2084
|
readonly size: {
|
|
2085
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
2085
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
2086
2086
|
readonly required: false;
|
|
2087
2087
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2088
2088
|
__epPropKey: true;
|
|
@@ -2092,8 +2092,8 @@ export declare const PlusDrawerForm: {
|
|
|
2092
2092
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
2093
2093
|
}, {
|
|
2094
2094
|
readonly disabled: boolean;
|
|
2095
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
2096
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
2095
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
|
|
2096
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
2097
2097
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
2098
2098
|
readonly labelSuffix: string;
|
|
2099
2099
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -2118,8 +2118,8 @@ export declare const PlusDrawerForm: {
|
|
|
2118
2118
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2119
2119
|
__epPropKey: true;
|
|
2120
2120
|
};
|
|
2121
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
2122
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
2121
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
|
|
2122
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
2123
2123
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2124
2124
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2125
2125
|
readonly inline: BooleanConstructor;
|
|
@@ -2136,7 +2136,7 @@ export declare const PlusDrawerForm: {
|
|
|
2136
2136
|
__epPropKey: true;
|
|
2137
2137
|
};
|
|
2138
2138
|
readonly size: {
|
|
2139
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
2139
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
2140
2140
|
readonly required: false;
|
|
2141
2141
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2142
2142
|
__epPropKey: true;
|
|
@@ -2154,8 +2154,8 @@ export declare const PlusDrawerForm: {
|
|
|
2154
2154
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2155
2155
|
__epPropKey: true;
|
|
2156
2156
|
};
|
|
2157
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
2158
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
2157
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
|
|
2158
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
2159
2159
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2160
2160
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2161
2161
|
readonly inline: BooleanConstructor;
|
|
@@ -2172,7 +2172,7 @@ export declare const PlusDrawerForm: {
|
|
|
2172
2172
|
__epPropKey: true;
|
|
2173
2173
|
};
|
|
2174
2174
|
readonly size: {
|
|
2175
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
2175
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
2176
2176
|
readonly required: false;
|
|
2177
2177
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2178
2178
|
__epPropKey: true;
|
|
@@ -2183,7 +2183,7 @@ export declare const PlusDrawerForm: {
|
|
|
2183
2183
|
}>>;
|
|
2184
2184
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
2185
2185
|
fields: FormItemContext[];
|
|
2186
|
-
formSize: ComputedRef<"" | "
|
|
2186
|
+
formSize: ComputedRef<"" | "default" | "small" | "large">;
|
|
2187
2187
|
ns: {
|
|
2188
2188
|
namespace: ComputedRef<string>;
|
|
2189
2189
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -2203,7 +2203,7 @@ export declare const PlusDrawerForm: {
|
|
|
2203
2203
|
cssVarBlockName: (name: string) => string;
|
|
2204
2204
|
};
|
|
2205
2205
|
formClasses: ComputedRef<(string | {
|
|
2206
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
2206
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
|
|
2207
2207
|
})[]>;
|
|
2208
2208
|
getField: (prop: string) => FormItemContext | undefined;
|
|
2209
2209
|
addField: (field: FormItemContext) => void;
|
|
@@ -2218,8 +2218,8 @@ export declare const PlusDrawerForm: {
|
|
|
2218
2218
|
scrollToField: (prop: FormItemProp) => void;
|
|
2219
2219
|
}, {}, {}, {}, {
|
|
2220
2220
|
readonly disabled: boolean;
|
|
2221
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
2222
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
2221
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
|
|
2222
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
2223
2223
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
2224
2224
|
readonly labelSuffix: string;
|
|
2225
2225
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -2231,9 +2231,9 @@ export declare const PlusDrawerForm: {
|
|
|
2231
2231
|
readonly scrollToError: boolean;
|
|
2232
2232
|
}>>;
|
|
2233
2233
|
}, {}, {}, {}, {
|
|
2234
|
-
size: string | number;
|
|
2235
2234
|
form: PlusFormProps;
|
|
2236
2235
|
visible: boolean;
|
|
2236
|
+
size: string | number;
|
|
2237
2237
|
modelValue: FieldValues;
|
|
2238
2238
|
hasErrorTip: boolean;
|
|
2239
2239
|
hasFooter: boolean;
|
|
@@ -2249,10 +2249,6 @@ export declare const PlusDrawerForm: {
|
|
|
2249
2249
|
__isTeleport?: undefined;
|
|
2250
2250
|
__isSuspense?: undefined;
|
|
2251
2251
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2252
|
-
size: {
|
|
2253
|
-
type: PropType<string | number>;
|
|
2254
|
-
default: string;
|
|
2255
|
-
};
|
|
2256
2252
|
form: {
|
|
2257
2253
|
type: PropType<PlusFormProps>;
|
|
2258
2254
|
default: () => {};
|
|
@@ -2261,6 +2257,10 @@ export declare const PlusDrawerForm: {
|
|
|
2261
2257
|
type: PropType<boolean>;
|
|
2262
2258
|
default: boolean;
|
|
2263
2259
|
};
|
|
2260
|
+
size: {
|
|
2261
|
+
type: PropType<string | number>;
|
|
2262
|
+
default: string;
|
|
2263
|
+
};
|
|
2264
2264
|
modelValue: {
|
|
2265
2265
|
type: PropType<FieldValues>;
|
|
2266
2266
|
default: () => {};
|
|
@@ -2293,10 +2293,10 @@ export declare const PlusDrawerForm: {
|
|
|
2293
2293
|
default: () => {};
|
|
2294
2294
|
};
|
|
2295
2295
|
}>> & {
|
|
2296
|
-
onCancel?: (() => any) | undefined;
|
|
2297
2296
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2298
2297
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
2299
2298
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2299
|
+
onCancel?: (() => any) | undefined;
|
|
2300
2300
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
2301
2301
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
2302
2302
|
}, {
|
|
@@ -3046,8 +3046,8 @@ export declare const PlusDrawerForm: {
|
|
|
3046
3046
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3047
3047
|
__epPropKey: true;
|
|
3048
3048
|
};
|
|
3049
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
3050
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
3049
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
|
|
3050
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
3051
3051
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
3052
3052
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3053
3053
|
readonly inline: BooleanConstructor;
|
|
@@ -3064,7 +3064,7 @@ export declare const PlusDrawerForm: {
|
|
|
3064
3064
|
__epPropKey: true;
|
|
3065
3065
|
};
|
|
3066
3066
|
readonly size: {
|
|
3067
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3067
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
3068
3068
|
readonly required: false;
|
|
3069
3069
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3070
3070
|
__epPropKey: true;
|
|
@@ -3082,8 +3082,8 @@ export declare const PlusDrawerForm: {
|
|
|
3082
3082
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3083
3083
|
__epPropKey: true;
|
|
3084
3084
|
};
|
|
3085
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
3086
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
3085
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
|
|
3086
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
3087
3087
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
3088
3088
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3089
3089
|
readonly inline: BooleanConstructor;
|
|
@@ -3100,7 +3100,7 @@ export declare const PlusDrawerForm: {
|
|
|
3100
3100
|
__epPropKey: true;
|
|
3101
3101
|
};
|
|
3102
3102
|
readonly size: {
|
|
3103
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3103
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
3104
3104
|
readonly required: false;
|
|
3105
3105
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3106
3106
|
__epPropKey: true;
|
|
@@ -3111,7 +3111,7 @@ export declare const PlusDrawerForm: {
|
|
|
3111
3111
|
}>>;
|
|
3112
3112
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
3113
3113
|
fields: FormItemContext[];
|
|
3114
|
-
formSize: ComputedRef<"" | "
|
|
3114
|
+
formSize: ComputedRef<"" | "default" | "small" | "large">;
|
|
3115
3115
|
ns: {
|
|
3116
3116
|
namespace: ComputedRef<string>;
|
|
3117
3117
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -3131,7 +3131,7 @@ export declare const PlusDrawerForm: {
|
|
|
3131
3131
|
cssVarBlockName: (name: string) => string;
|
|
3132
3132
|
};
|
|
3133
3133
|
formClasses: ComputedRef<(string | {
|
|
3134
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
3134
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
|
|
3135
3135
|
})[]>;
|
|
3136
3136
|
getField: (prop: string) => FormItemContext | undefined;
|
|
3137
3137
|
addField: (field: FormItemContext) => void;
|
|
@@ -3154,8 +3154,8 @@ export declare const PlusDrawerForm: {
|
|
|
3154
3154
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3155
3155
|
__epPropKey: true;
|
|
3156
3156
|
};
|
|
3157
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
3158
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
3157
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
|
|
3158
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
3159
3159
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
3160
3160
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3161
3161
|
readonly inline: BooleanConstructor;
|
|
@@ -3172,7 +3172,7 @@ export declare const PlusDrawerForm: {
|
|
|
3172
3172
|
__epPropKey: true;
|
|
3173
3173
|
};
|
|
3174
3174
|
readonly size: {
|
|
3175
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3175
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
3176
3176
|
readonly required: false;
|
|
3177
3177
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3178
3178
|
__epPropKey: true;
|
|
@@ -3182,8 +3182,8 @@ export declare const PlusDrawerForm: {
|
|
|
3182
3182
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
3183
3183
|
}, {
|
|
3184
3184
|
readonly disabled: boolean;
|
|
3185
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
3186
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
3185
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
|
|
3186
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
3187
3187
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
3188
3188
|
readonly labelSuffix: string;
|
|
3189
3189
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -3208,8 +3208,8 @@ export declare const PlusDrawerForm: {
|
|
|
3208
3208
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3209
3209
|
__epPropKey: true;
|
|
3210
3210
|
};
|
|
3211
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
3212
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
3211
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
|
|
3212
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
3213
3213
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
3214
3214
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3215
3215
|
readonly inline: BooleanConstructor;
|
|
@@ -3226,7 +3226,7 @@ export declare const PlusDrawerForm: {
|
|
|
3226
3226
|
__epPropKey: true;
|
|
3227
3227
|
};
|
|
3228
3228
|
readonly size: {
|
|
3229
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3229
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
3230
3230
|
readonly required: false;
|
|
3231
3231
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3232
3232
|
__epPropKey: true;
|
|
@@ -3244,8 +3244,8 @@ export declare const PlusDrawerForm: {
|
|
|
3244
3244
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3245
3245
|
__epPropKey: true;
|
|
3246
3246
|
};
|
|
3247
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
3248
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
3247
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
|
|
3248
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
3249
3249
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
3250
3250
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3251
3251
|
readonly inline: BooleanConstructor;
|
|
@@ -3262,7 +3262,7 @@ export declare const PlusDrawerForm: {
|
|
|
3262
3262
|
__epPropKey: true;
|
|
3263
3263
|
};
|
|
3264
3264
|
readonly size: {
|
|
3265
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3265
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
3266
3266
|
readonly required: false;
|
|
3267
3267
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3268
3268
|
__epPropKey: true;
|
|
@@ -3273,7 +3273,7 @@ export declare const PlusDrawerForm: {
|
|
|
3273
3273
|
}>>;
|
|
3274
3274
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
3275
3275
|
fields: FormItemContext[];
|
|
3276
|
-
formSize: ComputedRef<"" | "
|
|
3276
|
+
formSize: ComputedRef<"" | "default" | "small" | "large">;
|
|
3277
3277
|
ns: {
|
|
3278
3278
|
namespace: ComputedRef<string>;
|
|
3279
3279
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -3293,7 +3293,7 @@ export declare const PlusDrawerForm: {
|
|
|
3293
3293
|
cssVarBlockName: (name: string) => string;
|
|
3294
3294
|
};
|
|
3295
3295
|
formClasses: ComputedRef<(string | {
|
|
3296
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
3296
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
|
|
3297
3297
|
})[]>;
|
|
3298
3298
|
getField: (prop: string) => FormItemContext | undefined;
|
|
3299
3299
|
addField: (field: FormItemContext) => void;
|
|
@@ -3308,8 +3308,8 @@ export declare const PlusDrawerForm: {
|
|
|
3308
3308
|
scrollToField: (prop: FormItemProp) => void;
|
|
3309
3309
|
}, {}, {}, {}, {
|
|
3310
3310
|
readonly disabled: boolean;
|
|
3311
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
3312
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
3311
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
|
|
3312
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
3313
3313
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
3314
3314
|
readonly labelSuffix: string;
|
|
3315
3315
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -3328,9 +3328,9 @@ export declare const PlusDrawerForm: {
|
|
|
3328
3328
|
cancel: () => void;
|
|
3329
3329
|
confirmError: (errors: unknown) => void;
|
|
3330
3330
|
}, string, {
|
|
3331
|
-
size: string | number;
|
|
3332
3331
|
form: PlusFormProps;
|
|
3333
3332
|
visible: boolean;
|
|
3333
|
+
size: string | number;
|
|
3334
3334
|
modelValue: FieldValues;
|
|
3335
3335
|
hasErrorTip: boolean;
|
|
3336
3336
|
hasFooter: boolean;
|
|
@@ -3345,7 +3345,7 @@ export declare const PlusDrawerForm: {
|
|
|
3345
3345
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3346
3346
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
3347
3347
|
readonly label: string | ComputedRef<string>;
|
|
3348
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3348
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3349
3349
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3350
3350
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3351
3351
|
style?: CSSProperties | undefined;
|
|
@@ -3372,7 +3372,7 @@ export declare const PlusDrawerForm: {
|
|
|
3372
3372
|
};
|
|
3373
3373
|
rows: number;
|
|
3374
3374
|
autocomplete: string;
|
|
3375
|
-
type: "" | "number" | "
|
|
3375
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
3376
3376
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3377
3377
|
step: string | number;
|
|
3378
3378
|
format: string | ProgressFn | undefined;
|
|
@@ -3411,7 +3411,7 @@ export declare const PlusDrawerForm: {
|
|
|
3411
3411
|
fieldInstance?: any;
|
|
3412
3412
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3413
3413
|
prop: string;
|
|
3414
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3414
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3415
3415
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3416
3416
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3417
3417
|
style?: CSSProperties | undefined;
|