@vunk/form 1.1.65 → 1.1.67
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/component.d.ts +1 -1
- package/components/button/index.css +1 -0
- package/components/button/index.d.ts +1 -1
- package/components/button/index.js +43 -57
- package/components/button/src/ctx.d.ts +13 -13
- package/components/button/src/ctx.js +1 -39
- package/components/button/src/index.css +1 -0
- package/components/button/src/index.vue.d.ts +37 -73
- package/components/button/src/types.d.ts +1 -1
- package/components/cascader/index.css +1 -0
- package/components/cascader/index.d.ts +1 -1
- package/components/cascader/index.js +34 -49
- package/components/cascader/src/ctx.d.ts +15 -15
- package/components/cascader/src/ctx.js +1 -38
- package/components/cascader/src/index.css +1 -0
- package/components/cascader/src/index.vue.d.ts +45 -70
- package/components/cascader/src/use.d.ts +1 -1
- package/components/cascader/src/use.js +1 -28
- package/components/checkbox/index.css +1 -0
- package/components/checkbox/index.d.ts +1 -1
- package/components/checkbox/index.js +48 -53
- package/components/checkbox/src/ctx.d.ts +14 -14
- package/components/checkbox/src/ctx.js +1 -46
- package/components/checkbox/src/index.css +1 -0
- package/components/checkbox/src/index.vue.d.ts +43 -63
- package/components/color-picker/index.css +1 -0
- package/components/color-picker/index.d.ts +1 -1
- package/components/color-picker/index.js +38 -42
- package/components/color-picker/src/ctx.d.ts +15 -13
- package/components/color-picker/src/ctx.js +1 -23
- package/components/color-picker/src/index.css +1 -0
- package/components/color-picker/src/index.vue.d.ts +36 -65
- package/components/date-picker/index.css +1 -0
- package/components/date-picker/index.d.ts +1 -1
- package/components/date-picker/index.js +42 -55
- package/components/date-picker/src/ctx.d.ts +41 -34
- package/components/date-picker/src/ctx.js +1 -31
- package/components/date-picker/src/index.css +1 -0
- package/components/date-picker/src/index.vue.d.ts +122 -133
- package/components/date-picker/src/types.d.ts +9 -9
- package/components/date-picker/src/types.js +1 -11
- package/components/esri-input-geojson/index.css +8 -6
- package/components/esri-input-geojson/index.d.ts +1 -1
- package/components/esri-input-geojson/index.js +417 -535
- package/components/esri-input-geojson/src/append.vue.d.ts +7 -7
- package/components/esri-input-geojson/src/const.d.ts +1 -1
- package/components/esri-input-geojson/src/const.js +1 -33
- package/components/esri-input-geojson/src/ctx.d.ts +44 -35
- package/components/esri-input-geojson/src/ctx.js +1 -128
- package/components/esri-input-geojson/src/default-view.vue.d.ts +9 -9
- package/components/esri-input-geojson/src/index.css +1 -0
- package/components/esri-input-geojson/src/index.vue.d.ts +142 -119
- package/components/esri-input-geojson/src/types.d.ts +1 -0
- package/components/esri-input-geojson/src/viewer.vue.d.ts +23 -22
- package/components/form/index.css +1 -0
- package/components/form/index.d.ts +1 -1
- package/components/form/index.js +57 -87
- package/components/form/src/ctx.d.ts +176 -204
- package/components/form/src/ctx.js +1 -61
- package/components/form/src/index.css +1 -0
- package/components/form/src/index.vue.d.ts +515 -601
- package/components/form/src/types.d.ts +3 -3
- package/components/form/src/utils.d.ts +1 -1
- package/components/form/src/utils.js +1 -55
- package/components/form-item/index.css +1 -0
- package/components/form-item/index.d.ts +1 -1
- package/components/form-item/index.js +22 -50
- package/components/form-item/src/ctx.d.ts +9 -9
- package/components/form-item/src/ctx.js +1 -53
- package/components/form-item/src/index.css +1 -0
- package/components/form-item/src/index.vue.d.ts +26 -26
- package/components/form-item/src/types.d.ts +1 -1
- package/components/form-item-renderer/index.css +1 -0
- package/components/form-item-renderer/index.d.ts +1 -1
- package/components/form-item-renderer/index.js +10 -18
- package/components/form-item-renderer/src/ctx.d.ts +3 -3
- package/components/form-item-renderer/src/ctx.js +1 -16
- package/components/form-item-renderer/src/index.css +1 -0
- package/components/form-item-renderer/src/index.vue.d.ts +9 -9
- package/components/form-item-renderer/src/symbols.js +1 -3
- package/components/form-item-renderer-template/index.css +1 -0
- package/components/form-item-renderer-template/index.d.ts +1 -1
- package/components/form-item-renderer-template/index.js +6 -13
- package/components/form-item-renderer-template/src/ctx.js +1 -9
- package/components/form-item-renderer-template/src/index.css +1 -0
- package/components/form-item-renderer-template/src/index.vue.d.ts +2 -2
- package/components/geoinput/index.css +1 -0
- package/components/geoinput/index.d.ts +1 -1
- package/components/geoinput/index.js +45 -43
- package/components/geoinput/src/ctx.d.ts +42 -28
- package/components/geoinput/src/ctx.js +1 -39
- package/components/geoinput/src/index.css +1 -0
- package/components/geoinput/src/index.vue.d.ts +111 -223
- package/components/geoinput/src/types.d.ts +3 -3
- package/components/geoinput-read/index.css +1 -0
- package/components/geoinput-read/index.d.ts +1 -1
- package/components/geoinput-read/index.js +120 -160
- package/components/geoinput-read/src/append.vue.d.ts +4 -4
- package/components/geoinput-read/src/core.vue.d.ts +130 -104
- package/components/geoinput-read/src/ctx.d.ts +42 -30
- package/components/geoinput-read/src/ctx.js +1 -66
- package/components/geoinput-read/src/index.css +1 -0
- package/components/geoinput-read/src/index.vue.d.ts +108 -151
- package/components/geoinput-read/src/types.d.ts +1 -1
- package/components/geoinput-update/index.css +9 -7
- package/components/geoinput-update/index.d.ts +1 -1
- package/components/geoinput-update/index.js +335 -366
- package/components/geoinput-update/src/append.vue.d.ts +5 -5
- package/components/geoinput-update/src/ctx.d.ts +38 -28
- package/components/geoinput-update/src/ctx.js +1 -85
- package/components/geoinput-update/src/index.css +1 -0
- package/components/geoinput-update/src/index.vue.d.ts +120 -98
- package/components/geoinput-update/src/types.d.ts +2 -2
- package/components/input/index.css +1 -0
- package/components/input/index.d.ts +1 -1
- package/components/input/index.js +43 -60
- package/components/input/src/ctx.d.ts +31 -25
- package/components/input/src/ctx.js +1 -46
- package/components/input/src/index.css +1 -0
- package/components/input/src/index.vue.d.ts +94 -110
- package/components/input/src/types.d.ts +2 -2
- package/components/input-link/index.css +1 -0
- package/components/input-link/index.d.ts +1 -1
- package/components/input-link/index.js +71 -92
- package/components/input-link/src/ctx.d.ts +26 -20
- package/components/input-link/src/ctx.js +1 -66
- package/components/input-link/src/index.css +1 -0
- package/components/input-link/src/index.vue.d.ts +72 -116
- package/components/input-number/index.css +1 -0
- package/components/input-number/index.d.ts +1 -1
- package/components/input-number/index.js +37 -45
- package/components/input-number/src/ctx.d.ts +15 -15
- package/components/input-number/src/ctx.js +1 -38
- package/components/input-number/src/index.css +1 -0
- package/components/input-number/src/index.vue.d.ts +42 -65
- package/components/input-number/src/types.d.ts +1 -1
- package/components/radio/index.css +1 -0
- package/components/radio/index.d.ts +1 -1
- package/components/radio/index.js +45 -50
- package/components/radio/src/ctx.d.ts +11 -11
- package/components/radio/src/ctx.js +1 -39
- package/components/radio/src/index.css +1 -0
- package/components/radio/src/index.vue.d.ts +41 -60
- package/components/radio/src/types.d.ts +1 -1
- package/components/select/index.css +1 -0
- package/components/select/index.d.ts +1 -1
- package/components/select/index.js +59 -64
- package/components/select/src/ctx.d.ts +39 -41
- package/components/select/src/ctx.js +1 -40
- package/components/select/src/index.css +1 -0
- package/components/select/src/index.vue.d.ts +130 -162
- package/components/select/src/types.d.ts +2 -2
- package/components/slider/index.css +1 -0
- package/components/slider/index.d.ts +1 -1
- package/components/slider/index.js +33 -50
- package/components/slider/src/ctx.d.ts +18 -18
- package/components/slider/src/ctx.js +1 -29
- package/components/slider/src/index.css +1 -0
- package/components/slider/src/index.vue.d.ts +62 -81
- package/components/switch/index.css +1 -0
- package/components/switch/index.d.ts +1 -1
- package/components/switch/index.js +33 -50
- package/components/switch/src/ctx.d.ts +22 -22
- package/components/switch/src/ctx.js +1 -31
- package/components/switch/src/index.css +1 -0
- package/components/switch/src/index.vue.d.ts +65 -83
- package/components/switch/src/types.d.ts +1 -1
- package/components/templates-default/index.css +1 -0
- package/components/templates-default/index.d.ts +1 -1
- package/components/templates-default/index.js +243 -172
- package/components/templates-default/src/ctx.d.ts +1 -1
- package/components/templates-default/src/ctx.js +1 -18
- package/components/templates-default/src/index.css +1 -0
- package/components/templates-default/src/index.vue.d.ts +9 -9
- package/components/templates-default/src/types.d.ts +16 -16
- package/components/templates-element-plus/index.css +1 -0
- package/components/templates-element-plus/index.d.ts +1 -1
- package/components/templates-element-plus/index.js +66 -36
- package/components/templates-element-plus/src/ctx.js +1 -9
- package/components/templates-element-plus/src/index.css +1 -0
- package/components/templates-element-plus/src/index.vue.d.ts +7 -7
- package/components/templates-element-plus/src/types.d.ts +1 -1
- package/components/templates-esri/index.css +1 -0
- package/components/templates-esri/index.d.ts +1 -1
- package/components/templates-esri/index.js +25 -24
- package/components/templates-esri/src/ctx.d.ts +1 -1
- package/components/templates-esri/src/ctx.js +1 -11
- package/components/templates-esri/src/index.css +1 -0
- package/components/templates-esri/src/index.vue.d.ts +6 -6
- package/components/templates-esri/src/types.d.ts +1 -1
- package/components/templates-layout/index.css +1 -0
- package/components/templates-layout/index.d.ts +1 -1
- package/components/templates-layout/index.js +96 -63
- package/components/templates-layout/src/ctx.js +1 -9
- package/components/templates-layout/src/index.css +1 -0
- package/components/templates-layout/src/index.vue.d.ts +7 -7
- package/components/templates-layout/src/types.d.ts +3 -3
- package/components/templates-mapbox/index.css +1 -0
- package/components/templates-mapbox/index.d.ts +1 -1
- package/components/templates-mapbox/index.js +25 -24
- package/components/templates-mapbox/src/ctx.d.ts +1 -1
- package/components/templates-mapbox/src/ctx.js +1 -11
- package/components/templates-mapbox/src/index.css +1 -0
- package/components/templates-mapbox/src/index.vue.d.ts +6 -6
- package/components/templates-mapbox/src/types.d.ts +1 -1
- package/components/upload/index.css +11 -9
- package/components/upload/index.d.ts +1 -1
- package/components/upload/index.js +283 -296
- package/components/upload/src/ctx.d.ts +32 -22
- package/components/upload/src/ctx.js +1 -45
- package/components/upload/src/file.vue.d.ts +28 -19
- package/components/upload/src/index.css +1 -0
- package/components/upload/src/index.vue.d.ts +63 -62
- package/components/upload-plus/index.css +1 -0
- package/components/upload-plus/index.d.ts +1 -1
- package/components/upload-plus/index.js +911 -9539
- package/components/upload-plus/src/api.d.ts +3 -3
- package/components/upload-plus/src/api.js +21 -18114
- package/components/upload-plus/src/const.js +1 -12
- package/components/upload-plus/src/ctx.d.ts +13 -13
- package/components/upload-plus/src/ctx.js +1 -58
- package/components/upload-plus/src/index.css +1 -0
- package/components/upload-plus/src/index.vue.d.ts +31 -48
- package/components/upload-plus/src/types.d.ts +1 -1
- package/components/van-cascader/index.css +1 -0
- package/components/van-cascader/index.d.ts +1 -1
- package/components/van-cascader/index.js +47 -55
- package/components/van-cascader/src/ctx.d.ts +13 -13
- package/components/van-cascader/src/ctx.js +1 -22
- package/components/van-cascader/src/index.css +1 -0
- package/components/van-cascader/src/index.vue.d.ts +40 -57
- package/components/var-datetime-picker/index.css +1 -0
- package/components/var-datetime-picker/index.d.ts +1 -1
- package/components/var-datetime-picker/index.js +137 -168
- package/components/var-datetime-picker/src/const.js +1 -91
- package/components/var-datetime-picker/src/ctx.d.ts +10 -10
- package/components/var-datetime-picker/src/ctx.js +1 -43
- package/components/var-datetime-picker/src/index.css +1 -0
- package/components/var-datetime-picker/src/index.vue.d.ts +26 -42
- package/components/var-datetime-picker/src/types.d.ts +1 -1
- package/components/vditor/index.css +1 -0
- package/components/vditor/index.d.ts +1 -1
- package/components/vditor/index.js +22 -17
- package/components/vditor/src/ctx.js +1 -15
- package/components/vditor/src/index.css +1 -0
- package/components/vditor/src/index.vue.d.ts +4 -3
- package/components/vditor/src/types.d.ts +1 -1
- package/composables/index.css +1 -0
- package/composables/index.js +1 -104
- package/composables/useForm.d.ts +2 -2
- package/composables/useSourceManager.d.ts +1 -1
- package/index.css +127 -20
- package/index.esm.js +1 -44
- package/package.json +1 -1
- package/shared/const/index.css +1 -0
- package/shared/const/index.d.ts +1 -1
- package/shared/const/index.js +1 -56
- package/shared/element-plus/ctx.d.ts +28 -26
- package/shared/element-plus/index.css +1 -0
- package/shared/element-plus/index.js +1 -220
- package/shared/element-plus/instances.d.ts +45 -38
- package/shared/form/index.css +1 -0
- package/shared/form/index.js +1 -30
- package/shared/helper/index.css +1 -0
- package/shared/helper/index.js +1 -9
- package/shared/index.css +1 -0
- package/shared/index.js +1 -56
- package/shared/infer-prop/index.css +1 -0
- package/shared/infer-prop/index.d.ts +1 -1
- package/shared/infer-prop/index.js +1 -34
- package/shared/progress-it/index.css +1 -0
- package/shared/progress-it/index.d.ts +4 -4
- package/shared/progress-it/index.js +1 -57
- package/shared/rules/index.css +1 -0
- package/shared/rules/index.js +1 -32
- package/shared/types/form/index.css +1 -0
- package/shared/types/index.css +1 -0
- package/shared/types/source/index.css +1 -0
- package/shared/types/source/index.d.ts +2 -2
- package/shared/types/source-manager/index.css +1 -0
- package/shared/upload/index.css +1 -0
- package/shared/upload/index.js +1 -767
|
@@ -7,82 +7,54 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
};
|
|
8
8
|
formItems: {
|
|
9
9
|
type: import("vue").PropType<any[]>;
|
|
10
|
-
default: () =>
|
|
10
|
+
default: () => any[];
|
|
11
11
|
};
|
|
12
12
|
readonly: {
|
|
13
13
|
type: BooleanConstructor;
|
|
14
14
|
};
|
|
15
15
|
elRef: {
|
|
16
|
-
type: import("vue").PropType<(arg: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
|
|
23
|
-
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
24
|
-
readonly labelSuffix: string;
|
|
25
|
-
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
26
|
-
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
27
|
-
readonly inline: boolean;
|
|
28
|
-
readonly inlineMessage: boolean;
|
|
29
|
-
readonly statusIcon: boolean;
|
|
30
|
-
readonly hideRequiredAsterisk: boolean;
|
|
31
|
-
readonly scrollToError: boolean;
|
|
32
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
-
readonly model: ObjectConstructor;
|
|
34
|
-
readonly rules: {
|
|
35
|
-
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
36
|
-
readonly required: false;
|
|
37
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
38
|
-
__epPropKey: true;
|
|
39
|
-
};
|
|
40
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
41
|
-
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
42
|
-
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
43
|
-
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
44
|
-
readonly inline: BooleanConstructor;
|
|
45
|
-
readonly inlineMessage: BooleanConstructor;
|
|
46
|
-
readonly statusIcon: BooleanConstructor;
|
|
47
|
-
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
48
|
-
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
49
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
50
|
-
readonly scrollToError: BooleanConstructor;
|
|
51
|
-
readonly scrollIntoViewOptions: {
|
|
52
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
53
|
-
readonly required: false;
|
|
54
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
|
-
__epPropKey: true;
|
|
56
|
-
};
|
|
57
|
-
readonly size: {
|
|
58
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
59
|
-
readonly required: false;
|
|
60
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
61
|
-
__epPropKey: true;
|
|
62
|
-
};
|
|
63
|
-
readonly disabled: BooleanConstructor;
|
|
64
|
-
}>> & {
|
|
65
|
-
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
66
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "labelWidth" | "inlineMessage" | "showMessage" | "inline" | "labelPosition" | "disabled" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
|
67
|
-
$attrs: {
|
|
68
|
-
[x: string]: unknown;
|
|
16
|
+
type: import("vue").PropType<(arg: import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
readonly model: ObjectConstructor;
|
|
18
|
+
readonly rules: {
|
|
19
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
20
|
+
readonly required: false;
|
|
21
|
+
readonly validator: (val: unknown) => boolean;
|
|
22
|
+
__epPropKey: true;
|
|
69
23
|
};
|
|
70
|
-
|
|
71
|
-
|
|
24
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
25
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
26
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
27
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
28
|
+
readonly inline: BooleanConstructor;
|
|
29
|
+
readonly inlineMessage: BooleanConstructor;
|
|
30
|
+
readonly statusIcon: BooleanConstructor;
|
|
31
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
32
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
33
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
34
|
+
readonly scrollToError: BooleanConstructor;
|
|
35
|
+
readonly scrollIntoViewOptions: {
|
|
36
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
37
|
+
readonly required: false;
|
|
38
|
+
readonly validator: (val: unknown) => boolean;
|
|
39
|
+
__epPropKey: true;
|
|
72
40
|
};
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
41
|
+
readonly size: {
|
|
42
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
43
|
+
readonly required: false;
|
|
44
|
+
readonly validator: (val: unknown) => boolean;
|
|
45
|
+
__epPropKey: true;
|
|
46
|
+
};
|
|
47
|
+
readonly disabled: BooleanConstructor;
|
|
48
|
+
}>> & {
|
|
49
|
+
onValidate?: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any;
|
|
50
|
+
}, {
|
|
51
|
+
COMPONENT_NAME: string;
|
|
52
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
81
53
|
readonly model: ObjectConstructor;
|
|
82
54
|
readonly rules: {
|
|
83
55
|
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
84
56
|
readonly required: false;
|
|
85
|
-
readonly validator: (
|
|
57
|
+
readonly validator: (val: unknown) => boolean;
|
|
86
58
|
__epPropKey: true;
|
|
87
59
|
};
|
|
88
60
|
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
@@ -99,130 +71,116 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
99
71
|
readonly scrollIntoViewOptions: {
|
|
100
72
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
101
73
|
readonly required: false;
|
|
102
|
-
readonly validator: (
|
|
74
|
+
readonly validator: (val: unknown) => boolean;
|
|
103
75
|
__epPropKey: true;
|
|
104
76
|
};
|
|
105
77
|
readonly size: {
|
|
106
78
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
107
79
|
readonly required: false;
|
|
108
|
-
readonly validator: (
|
|
80
|
+
readonly validator: (val: unknown) => boolean;
|
|
109
81
|
__epPropKey: true;
|
|
110
82
|
};
|
|
111
83
|
readonly disabled: BooleanConstructor;
|
|
112
84
|
}>> & {
|
|
113
|
-
onValidate?: (
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
readonly statusIcon: BooleanConstructor;
|
|
131
|
-
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
132
|
-
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
133
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
134
|
-
readonly scrollToError: BooleanConstructor;
|
|
135
|
-
readonly scrollIntoViewOptions: {
|
|
136
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
137
|
-
readonly required: false;
|
|
138
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
139
|
-
__epPropKey: true;
|
|
140
|
-
};
|
|
141
|
-
readonly size: {
|
|
142
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
143
|
-
readonly required: false;
|
|
144
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
145
|
-
__epPropKey: true;
|
|
146
|
-
};
|
|
147
|
-
readonly disabled: BooleanConstructor;
|
|
148
|
-
}>> & {
|
|
149
|
-
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
150
|
-
}>>;
|
|
151
|
-
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
152
|
-
fields: import("element-plus").FormItemContext[];
|
|
153
|
-
formSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
154
|
-
ns: {
|
|
155
|
-
namespace: import("vue").ComputedRef<string>;
|
|
156
|
-
b: (blockSuffix?: string | undefined) => string;
|
|
157
|
-
e: (element?: string | undefined) => string;
|
|
158
|
-
m: (modifier?: string | undefined) => string;
|
|
159
|
-
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
160
|
-
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
161
|
-
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
162
|
-
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
163
|
-
is: {
|
|
164
|
-
(name: string, state: boolean | undefined): string;
|
|
165
|
-
(name: string): string;
|
|
166
|
-
};
|
|
167
|
-
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
168
|
-
cssVarName: (name: string) => string;
|
|
169
|
-
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
170
|
-
cssVarBlockName: (name: string) => string;
|
|
85
|
+
onValidate?: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any;
|
|
86
|
+
}>>;
|
|
87
|
+
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
88
|
+
fields: import("element-plus").FormItemContext[];
|
|
89
|
+
formSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
90
|
+
ns: {
|
|
91
|
+
namespace: import("vue").ComputedRef<string>;
|
|
92
|
+
b: (blockSuffix?: string) => string;
|
|
93
|
+
e: (element?: string) => string;
|
|
94
|
+
m: (modifier?: string) => string;
|
|
95
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
96
|
+
em: (element?: string, modifier?: string) => string;
|
|
97
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
98
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
99
|
+
is: {
|
|
100
|
+
(name: string, state: boolean): string;
|
|
101
|
+
(name: string): string;
|
|
171
102
|
};
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
177
|
-
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
178
|
-
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
179
|
-
isValidatable: import("vue").ComputedRef<boolean>;
|
|
180
|
-
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
181
|
-
validate: (callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
182
|
-
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => Promise<boolean>;
|
|
183
|
-
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined, callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
184
|
-
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
185
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
186
|
-
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
187
|
-
}, string, {
|
|
188
|
-
readonly disabled: boolean;
|
|
189
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
190
|
-
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
191
|
-
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
192
|
-
readonly labelSuffix: string;
|
|
193
|
-
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
194
|
-
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
195
|
-
readonly inline: boolean;
|
|
196
|
-
readonly inlineMessage: boolean;
|
|
197
|
-
readonly statusIcon: boolean;
|
|
198
|
-
readonly hideRequiredAsterisk: boolean;
|
|
199
|
-
readonly scrollToError: boolean;
|
|
200
|
-
}, {}, string> & {
|
|
201
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
202
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
203
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
204
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
205
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
206
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
207
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
208
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
209
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
210
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
211
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
212
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
213
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
214
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
215
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
103
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
104
|
+
cssVarName: (name: string) => string;
|
|
105
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
106
|
+
cssVarBlockName: (name: string) => string;
|
|
216
107
|
};
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
108
|
+
formClasses: import("vue").ComputedRef<(string | {
|
|
109
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
110
|
+
})[]>;
|
|
111
|
+
getField: (prop: string) => import("element-plus").FormItemContext;
|
|
112
|
+
addField: (field: import("element-plus").FormItemContext) => void;
|
|
113
|
+
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
114
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => void;
|
|
115
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => void;
|
|
116
|
+
isValidatable: import("vue").ComputedRef<boolean>;
|
|
117
|
+
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
118
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
119
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => Promise<boolean>;
|
|
120
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
121
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
122
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
123
|
+
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
124
|
+
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
125
|
+
readonly model: ObjectConstructor;
|
|
126
|
+
readonly rules: {
|
|
127
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
128
|
+
readonly required: false;
|
|
129
|
+
readonly validator: (val: unknown) => boolean;
|
|
130
|
+
__epPropKey: true;
|
|
131
|
+
};
|
|
132
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
133
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
134
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
135
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
136
|
+
readonly inline: BooleanConstructor;
|
|
137
|
+
readonly inlineMessage: BooleanConstructor;
|
|
138
|
+
readonly statusIcon: BooleanConstructor;
|
|
139
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
140
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
141
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
142
|
+
readonly scrollToError: BooleanConstructor;
|
|
143
|
+
readonly scrollIntoViewOptions: {
|
|
144
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
145
|
+
readonly required: false;
|
|
146
|
+
readonly validator: (val: unknown) => boolean;
|
|
147
|
+
__epPropKey: true;
|
|
148
|
+
};
|
|
149
|
+
readonly size: {
|
|
150
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
151
|
+
readonly required: false;
|
|
152
|
+
readonly validator: (val: unknown) => boolean;
|
|
153
|
+
__epPropKey: true;
|
|
154
|
+
};
|
|
155
|
+
readonly disabled: BooleanConstructor;
|
|
156
|
+
}>> & {
|
|
157
|
+
onValidate?: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any;
|
|
158
|
+
}, {
|
|
159
|
+
readonly disabled: boolean;
|
|
160
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
161
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
162
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
163
|
+
readonly labelSuffix: string;
|
|
164
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
165
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
166
|
+
readonly inline: boolean;
|
|
167
|
+
readonly inlineMessage: boolean;
|
|
168
|
+
readonly statusIcon: boolean;
|
|
169
|
+
readonly hideRequiredAsterisk: boolean;
|
|
170
|
+
readonly scrollToError: boolean;
|
|
171
|
+
}, true, {}, {}, {
|
|
172
|
+
P: {};
|
|
173
|
+
B: {};
|
|
174
|
+
D: {};
|
|
175
|
+
C: {};
|
|
176
|
+
M: {};
|
|
177
|
+
Defaults: {};
|
|
178
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
221
179
|
readonly model: ObjectConstructor;
|
|
222
180
|
readonly rules: {
|
|
223
181
|
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
224
182
|
readonly required: false;
|
|
225
|
-
readonly validator: (
|
|
183
|
+
readonly validator: (val: unknown) => boolean;
|
|
226
184
|
__epPropKey: true;
|
|
227
185
|
};
|
|
228
186
|
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
@@ -239,26 +197,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
239
197
|
readonly scrollIntoViewOptions: {
|
|
240
198
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
241
199
|
readonly required: false;
|
|
242
|
-
readonly validator: (
|
|
200
|
+
readonly validator: (val: unknown) => boolean;
|
|
243
201
|
__epPropKey: true;
|
|
244
202
|
};
|
|
245
203
|
readonly size: {
|
|
246
204
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
247
205
|
readonly required: false;
|
|
248
|
-
readonly validator: (
|
|
206
|
+
readonly validator: (val: unknown) => boolean;
|
|
249
207
|
__epPropKey: true;
|
|
250
208
|
};
|
|
251
209
|
readonly disabled: BooleanConstructor;
|
|
252
210
|
}>> & {
|
|
253
|
-
onValidate?: (
|
|
254
|
-
}
|
|
211
|
+
onValidate?: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any;
|
|
212
|
+
}, {
|
|
255
213
|
COMPONENT_NAME: string;
|
|
256
214
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
257
215
|
readonly model: ObjectConstructor;
|
|
258
216
|
readonly rules: {
|
|
259
217
|
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
260
218
|
readonly required: false;
|
|
261
|
-
readonly validator: (
|
|
219
|
+
readonly validator: (val: unknown) => boolean;
|
|
262
220
|
__epPropKey: true;
|
|
263
221
|
};
|
|
264
222
|
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
@@ -275,33 +233,33 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
275
233
|
readonly scrollIntoViewOptions: {
|
|
276
234
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
277
235
|
readonly required: false;
|
|
278
|
-
readonly validator: (
|
|
236
|
+
readonly validator: (val: unknown) => boolean;
|
|
279
237
|
__epPropKey: true;
|
|
280
238
|
};
|
|
281
239
|
readonly size: {
|
|
282
240
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
283
241
|
readonly required: false;
|
|
284
|
-
readonly validator: (
|
|
242
|
+
readonly validator: (val: unknown) => boolean;
|
|
285
243
|
__epPropKey: true;
|
|
286
244
|
};
|
|
287
245
|
readonly disabled: BooleanConstructor;
|
|
288
246
|
}>> & {
|
|
289
|
-
onValidate?: (
|
|
247
|
+
onValidate?: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any;
|
|
290
248
|
}>>;
|
|
291
249
|
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
292
250
|
fields: import("element-plus").FormItemContext[];
|
|
293
251
|
formSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
294
252
|
ns: {
|
|
295
253
|
namespace: import("vue").ComputedRef<string>;
|
|
296
|
-
b: (blockSuffix?: string
|
|
297
|
-
e: (element?: string
|
|
298
|
-
m: (modifier?: string
|
|
299
|
-
be: (blockSuffix?: string
|
|
300
|
-
em: (element?: string
|
|
301
|
-
bm: (blockSuffix?: string
|
|
302
|
-
bem: (blockSuffix?: string
|
|
254
|
+
b: (blockSuffix?: string) => string;
|
|
255
|
+
e: (element?: string) => string;
|
|
256
|
+
m: (modifier?: string) => string;
|
|
257
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
258
|
+
em: (element?: string, modifier?: string) => string;
|
|
259
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
260
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
303
261
|
is: {
|
|
304
|
-
(name: string, state: boolean
|
|
262
|
+
(name: string, state: boolean): string;
|
|
305
263
|
(name: string): string;
|
|
306
264
|
};
|
|
307
265
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
@@ -312,17 +270,31 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
312
270
|
formClasses: import("vue").ComputedRef<(string | {
|
|
313
271
|
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
314
272
|
})[]>;
|
|
273
|
+
getField: (prop: string) => import("element-plus").FormItemContext;
|
|
315
274
|
addField: (field: import("element-plus").FormItemContext) => void;
|
|
316
275
|
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
317
|
-
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>
|
|
318
|
-
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>
|
|
276
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => void;
|
|
277
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => void;
|
|
319
278
|
isValidatable: import("vue").ComputedRef<boolean>;
|
|
320
279
|
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
321
|
-
validate: (callback?: import("element-plus").FormValidateCallback
|
|
322
|
-
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>
|
|
323
|
-
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp
|
|
280
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
281
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => Promise<boolean>;
|
|
282
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
324
283
|
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
325
|
-
}
|
|
284
|
+
}, {}, {}, {}, {
|
|
285
|
+
readonly disabled: boolean;
|
|
286
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
287
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
288
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
289
|
+
readonly labelSuffix: string;
|
|
290
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
291
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
292
|
+
readonly inline: boolean;
|
|
293
|
+
readonly inlineMessage: boolean;
|
|
294
|
+
readonly statusIcon: boolean;
|
|
295
|
+
readonly hideRequiredAsterisk: boolean;
|
|
296
|
+
readonly scrollToError: boolean;
|
|
297
|
+
}>) => any>;
|
|
326
298
|
default: () => () => void;
|
|
327
299
|
};
|
|
328
300
|
layout: {
|
|
@@ -341,7 +313,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
341
313
|
rules: {
|
|
342
314
|
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
343
315
|
readonly required: false;
|
|
344
|
-
readonly validator: (
|
|
316
|
+
readonly validator: (val: unknown) => boolean;
|
|
345
317
|
__epPropKey: true;
|
|
346
318
|
};
|
|
347
319
|
labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
@@ -358,269 +330,63 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
358
330
|
scrollIntoViewOptions: {
|
|
359
331
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
360
332
|
readonly required: false;
|
|
361
|
-
readonly validator: (
|
|
333
|
+
readonly validator: (val: unknown) => boolean;
|
|
362
334
|
__epPropKey: true;
|
|
363
335
|
};
|
|
364
336
|
size: {
|
|
365
337
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
366
338
|
readonly required: false;
|
|
367
|
-
readonly validator: (
|
|
339
|
+
readonly validator: (val: unknown) => boolean;
|
|
368
340
|
__epPropKey: true;
|
|
369
341
|
};
|
|
370
342
|
disabled: BooleanConstructor;
|
|
371
343
|
}, {
|
|
372
344
|
formProps: import("vue").ComputedRef<{
|
|
373
345
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
374
|
-
rules: Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule
|
|
346
|
+
rules: Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>;
|
|
375
347
|
inlineMessage: boolean;
|
|
376
348
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
377
|
-
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown
|
|
349
|
+
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>;
|
|
378
350
|
inline: boolean;
|
|
379
351
|
labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
380
352
|
disabled: boolean;
|
|
353
|
+
statusIcon: boolean;
|
|
381
354
|
requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
382
355
|
labelSuffix: string;
|
|
383
|
-
statusIcon: boolean;
|
|
384
356
|
validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
385
357
|
hideRequiredAsterisk: boolean;
|
|
386
358
|
scrollToError: boolean;
|
|
387
|
-
scrollIntoViewOptions:
|
|
359
|
+
scrollIntoViewOptions: unknown;
|
|
388
360
|
}>;
|
|
389
|
-
formEmits: {
|
|
390
|
-
|
|
391
|
-
};
|
|
392
|
-
getValue: (obj: any, k: any, intoUndefined?: import("@vunk/core").IntoUndefined | undefined, safe?: boolean | undefined) => any;
|
|
361
|
+
formEmits: {};
|
|
362
|
+
getValue: (obj: any, k: any, intoUndefined?: import("@vunk/core").IntoUndefined, safe?: boolean) => any;
|
|
393
363
|
getRef: (e: InstanceType<typeof ElForm>) => void;
|
|
394
364
|
computed: typeof import("@vue/reactivity").computed;
|
|
395
365
|
rendererSource: import("vue").ComputedRef<any>;
|
|
396
366
|
handleSubmit: (e: Event) => void;
|
|
397
367
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
398
|
-
setData: (e: import("@vunk/core").SetDataEvent
|
|
399
|
-
validate:
|
|
400
|
-
submit:
|
|
401
|
-
}, string, import("vue").
|
|
368
|
+
setData: (e: import("@vunk/core").SetDataEvent) => import("@vunk/core").SetDataEvent;
|
|
369
|
+
validate: any;
|
|
370
|
+
submit: any;
|
|
371
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
402
372
|
data: {
|
|
403
373
|
type: import("vue").PropType<Record<string, any>>;
|
|
404
374
|
default: () => {};
|
|
405
375
|
};
|
|
406
376
|
formItems: {
|
|
407
377
|
type: import("vue").PropType<any[]>;
|
|
408
|
-
default: () =>
|
|
378
|
+
default: () => any[];
|
|
409
379
|
};
|
|
410
380
|
readonly: {
|
|
411
381
|
type: BooleanConstructor;
|
|
412
382
|
};
|
|
413
383
|
elRef: {
|
|
414
|
-
type: import("vue").PropType<(arg: {
|
|
415
|
-
$: import("vue").ComponentInternalInstance;
|
|
416
|
-
$data: {};
|
|
417
|
-
$props: Partial<{
|
|
418
|
-
readonly disabled: boolean;
|
|
419
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
420
|
-
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
421
|
-
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
422
|
-
readonly labelSuffix: string;
|
|
423
|
-
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
424
|
-
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
425
|
-
readonly inline: boolean;
|
|
426
|
-
readonly inlineMessage: boolean;
|
|
427
|
-
readonly statusIcon: boolean;
|
|
428
|
-
readonly hideRequiredAsterisk: boolean;
|
|
429
|
-
readonly scrollToError: boolean;
|
|
430
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
431
|
-
readonly model: ObjectConstructor;
|
|
432
|
-
readonly rules: {
|
|
433
|
-
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
434
|
-
readonly required: false;
|
|
435
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
436
|
-
__epPropKey: true;
|
|
437
|
-
};
|
|
438
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
439
|
-
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
440
|
-
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
441
|
-
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
442
|
-
readonly inline: BooleanConstructor;
|
|
443
|
-
readonly inlineMessage: BooleanConstructor;
|
|
444
|
-
readonly statusIcon: BooleanConstructor;
|
|
445
|
-
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
446
|
-
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
447
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
448
|
-
readonly scrollToError: BooleanConstructor;
|
|
449
|
-
readonly scrollIntoViewOptions: {
|
|
450
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
451
|
-
readonly required: false;
|
|
452
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
453
|
-
__epPropKey: true;
|
|
454
|
-
};
|
|
455
|
-
readonly size: {
|
|
456
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
457
|
-
readonly required: false;
|
|
458
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
459
|
-
__epPropKey: true;
|
|
460
|
-
};
|
|
461
|
-
readonly disabled: BooleanConstructor;
|
|
462
|
-
}>> & {
|
|
463
|
-
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
464
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "labelWidth" | "inlineMessage" | "showMessage" | "inline" | "labelPosition" | "disabled" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
|
465
|
-
$attrs: {
|
|
466
|
-
[x: string]: unknown;
|
|
467
|
-
};
|
|
468
|
-
$refs: {
|
|
469
|
-
[x: string]: unknown;
|
|
470
|
-
};
|
|
471
|
-
$slots: Readonly<{
|
|
472
|
-
[name: string]: import("vue").Slot | undefined;
|
|
473
|
-
}>;
|
|
474
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
475
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
476
|
-
$emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
477
|
-
$el: any;
|
|
478
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
479
|
-
readonly model: ObjectConstructor;
|
|
480
|
-
readonly rules: {
|
|
481
|
-
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
482
|
-
readonly required: false;
|
|
483
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
484
|
-
__epPropKey: true;
|
|
485
|
-
};
|
|
486
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
487
|
-
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
488
|
-
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
489
|
-
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
490
|
-
readonly inline: BooleanConstructor;
|
|
491
|
-
readonly inlineMessage: BooleanConstructor;
|
|
492
|
-
readonly statusIcon: BooleanConstructor;
|
|
493
|
-
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
494
|
-
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
495
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
496
|
-
readonly scrollToError: BooleanConstructor;
|
|
497
|
-
readonly scrollIntoViewOptions: {
|
|
498
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
499
|
-
readonly required: false;
|
|
500
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
501
|
-
__epPropKey: true;
|
|
502
|
-
};
|
|
503
|
-
readonly size: {
|
|
504
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
505
|
-
readonly required: false;
|
|
506
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
507
|
-
__epPropKey: true;
|
|
508
|
-
};
|
|
509
|
-
readonly disabled: BooleanConstructor;
|
|
510
|
-
}>> & {
|
|
511
|
-
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
512
|
-
}, {
|
|
513
|
-
COMPONENT_NAME: string;
|
|
514
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
515
|
-
readonly model: ObjectConstructor;
|
|
516
|
-
readonly rules: {
|
|
517
|
-
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
518
|
-
readonly required: false;
|
|
519
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
520
|
-
__epPropKey: true;
|
|
521
|
-
};
|
|
522
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
523
|
-
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
524
|
-
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
525
|
-
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
526
|
-
readonly inline: BooleanConstructor;
|
|
527
|
-
readonly inlineMessage: BooleanConstructor;
|
|
528
|
-
readonly statusIcon: BooleanConstructor;
|
|
529
|
-
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
530
|
-
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
531
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
532
|
-
readonly scrollToError: BooleanConstructor;
|
|
533
|
-
readonly scrollIntoViewOptions: {
|
|
534
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
535
|
-
readonly required: false;
|
|
536
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
537
|
-
__epPropKey: true;
|
|
538
|
-
};
|
|
539
|
-
readonly size: {
|
|
540
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
541
|
-
readonly required: false;
|
|
542
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
543
|
-
__epPropKey: true;
|
|
544
|
-
};
|
|
545
|
-
readonly disabled: BooleanConstructor;
|
|
546
|
-
}>> & {
|
|
547
|
-
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
548
|
-
}>>;
|
|
549
|
-
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
550
|
-
fields: import("element-plus").FormItemContext[];
|
|
551
|
-
formSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
552
|
-
ns: {
|
|
553
|
-
namespace: import("vue").ComputedRef<string>;
|
|
554
|
-
b: (blockSuffix?: string | undefined) => string;
|
|
555
|
-
e: (element?: string | undefined) => string;
|
|
556
|
-
m: (modifier?: string | undefined) => string;
|
|
557
|
-
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
558
|
-
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
559
|
-
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
560
|
-
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
561
|
-
is: {
|
|
562
|
-
(name: string, state: boolean | undefined): string;
|
|
563
|
-
(name: string): string;
|
|
564
|
-
};
|
|
565
|
-
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
566
|
-
cssVarName: (name: string) => string;
|
|
567
|
-
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
568
|
-
cssVarBlockName: (name: string) => string;
|
|
569
|
-
};
|
|
570
|
-
formClasses: import("vue").ComputedRef<(string | {
|
|
571
|
-
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
572
|
-
})[]>;
|
|
573
|
-
addField: (field: import("element-plus").FormItemContext) => void;
|
|
574
|
-
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
575
|
-
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
576
|
-
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
577
|
-
isValidatable: import("vue").ComputedRef<boolean>;
|
|
578
|
-
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
579
|
-
validate: (callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
580
|
-
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => Promise<boolean>;
|
|
581
|
-
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined, callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
582
|
-
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
583
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
584
|
-
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
585
|
-
}, string, {
|
|
586
|
-
readonly disabled: boolean;
|
|
587
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
588
|
-
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
589
|
-
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
590
|
-
readonly labelSuffix: string;
|
|
591
|
-
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
592
|
-
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
593
|
-
readonly inline: boolean;
|
|
594
|
-
readonly inlineMessage: boolean;
|
|
595
|
-
readonly statusIcon: boolean;
|
|
596
|
-
readonly hideRequiredAsterisk: boolean;
|
|
597
|
-
readonly scrollToError: boolean;
|
|
598
|
-
}, {}, string> & {
|
|
599
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
600
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
601
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
602
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
603
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
604
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
605
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
606
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
607
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
608
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
609
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
610
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
611
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
612
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
613
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
614
|
-
};
|
|
615
|
-
$forceUpdate: () => void;
|
|
616
|
-
$nextTick: typeof import("vue").nextTick;
|
|
617
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
618
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
|
384
|
+
type: import("vue").PropType<(arg: import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
619
385
|
readonly model: ObjectConstructor;
|
|
620
386
|
readonly rules: {
|
|
621
387
|
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
622
388
|
readonly required: false;
|
|
623
|
-
readonly validator: (
|
|
389
|
+
readonly validator: (val: unknown) => boolean;
|
|
624
390
|
__epPropKey: true;
|
|
625
391
|
};
|
|
626
392
|
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
@@ -637,26 +403,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
637
403
|
readonly scrollIntoViewOptions: {
|
|
638
404
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
639
405
|
readonly required: false;
|
|
640
|
-
readonly validator: (
|
|
406
|
+
readonly validator: (val: unknown) => boolean;
|
|
641
407
|
__epPropKey: true;
|
|
642
408
|
};
|
|
643
409
|
readonly size: {
|
|
644
410
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
645
411
|
readonly required: false;
|
|
646
|
-
readonly validator: (
|
|
412
|
+
readonly validator: (val: unknown) => boolean;
|
|
647
413
|
__epPropKey: true;
|
|
648
414
|
};
|
|
649
415
|
readonly disabled: BooleanConstructor;
|
|
650
416
|
}>> & {
|
|
651
|
-
onValidate?: (
|
|
652
|
-
}
|
|
417
|
+
onValidate?: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any;
|
|
418
|
+
}, {
|
|
653
419
|
COMPONENT_NAME: string;
|
|
654
420
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
655
421
|
readonly model: ObjectConstructor;
|
|
656
422
|
readonly rules: {
|
|
657
423
|
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
658
424
|
readonly required: false;
|
|
659
|
-
readonly validator: (
|
|
425
|
+
readonly validator: (val: unknown) => boolean;
|
|
660
426
|
__epPropKey: true;
|
|
661
427
|
};
|
|
662
428
|
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
@@ -673,33 +439,33 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
673
439
|
readonly scrollIntoViewOptions: {
|
|
674
440
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
675
441
|
readonly required: false;
|
|
676
|
-
readonly validator: (
|
|
442
|
+
readonly validator: (val: unknown) => boolean;
|
|
677
443
|
__epPropKey: true;
|
|
678
444
|
};
|
|
679
445
|
readonly size: {
|
|
680
446
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
681
447
|
readonly required: false;
|
|
682
|
-
readonly validator: (
|
|
448
|
+
readonly validator: (val: unknown) => boolean;
|
|
683
449
|
__epPropKey: true;
|
|
684
450
|
};
|
|
685
451
|
readonly disabled: BooleanConstructor;
|
|
686
452
|
}>> & {
|
|
687
|
-
onValidate?: (
|
|
453
|
+
onValidate?: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any;
|
|
688
454
|
}>>;
|
|
689
455
|
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
690
456
|
fields: import("element-plus").FormItemContext[];
|
|
691
457
|
formSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
692
458
|
ns: {
|
|
693
459
|
namespace: import("vue").ComputedRef<string>;
|
|
694
|
-
b: (blockSuffix?: string
|
|
695
|
-
e: (element?: string
|
|
696
|
-
m: (modifier?: string
|
|
697
|
-
be: (blockSuffix?: string
|
|
698
|
-
em: (element?: string
|
|
699
|
-
bm: (blockSuffix?: string
|
|
700
|
-
bem: (blockSuffix?: string
|
|
460
|
+
b: (blockSuffix?: string) => string;
|
|
461
|
+
e: (element?: string) => string;
|
|
462
|
+
m: (modifier?: string) => string;
|
|
463
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
464
|
+
em: (element?: string, modifier?: string) => string;
|
|
465
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
466
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
701
467
|
is: {
|
|
702
|
-
(name: string, state: boolean
|
|
468
|
+
(name: string, state: boolean): string;
|
|
703
469
|
(name: string): string;
|
|
704
470
|
};
|
|
705
471
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
@@ -710,92 +476,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
710
476
|
formClasses: import("vue").ComputedRef<(string | {
|
|
711
477
|
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
712
478
|
})[]>;
|
|
479
|
+
getField: (prop: string) => import("element-plus").FormItemContext;
|
|
713
480
|
addField: (field: import("element-plus").FormItemContext) => void;
|
|
714
481
|
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
715
|
-
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>
|
|
716
|
-
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>
|
|
482
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => void;
|
|
483
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => void;
|
|
717
484
|
isValidatable: import("vue").ComputedRef<boolean>;
|
|
718
485
|
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
719
|
-
validate: (callback?: import("element-plus").FormValidateCallback
|
|
720
|
-
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>
|
|
721
|
-
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp
|
|
486
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
487
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => Promise<boolean>;
|
|
488
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
722
489
|
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
layout: {
|
|
727
|
-
type: BooleanConstructor;
|
|
728
|
-
default: boolean;
|
|
729
|
-
};
|
|
730
|
-
rowSource: {
|
|
731
|
-
type: import("vue").PropType<Partial<RowItem>>;
|
|
732
|
-
default: () => {};
|
|
733
|
-
};
|
|
734
|
-
colSource: {
|
|
735
|
-
type: import("vue").PropType<Partial<import("./types").ColItem>>;
|
|
736
|
-
default: () => import("./types").ColItem;
|
|
737
|
-
};
|
|
738
|
-
model: ObjectConstructor;
|
|
739
|
-
rules: {
|
|
740
|
-
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
741
|
-
readonly required: false;
|
|
742
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
743
|
-
__epPropKey: true;
|
|
744
|
-
};
|
|
745
|
-
labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
746
|
-
requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
747
|
-
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
748
|
-
labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
749
|
-
inline: BooleanConstructor;
|
|
750
|
-
inlineMessage: BooleanConstructor;
|
|
751
|
-
statusIcon: BooleanConstructor;
|
|
752
|
-
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
753
|
-
validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
754
|
-
hideRequiredAsterisk: BooleanConstructor;
|
|
755
|
-
scrollToError: BooleanConstructor;
|
|
756
|
-
scrollIntoViewOptions: {
|
|
757
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
758
|
-
readonly required: false;
|
|
759
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
760
|
-
__epPropKey: true;
|
|
761
|
-
};
|
|
762
|
-
size: {
|
|
763
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
764
|
-
readonly required: false;
|
|
765
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
766
|
-
__epPropKey: true;
|
|
767
|
-
};
|
|
768
|
-
disabled: BooleanConstructor;
|
|
769
|
-
}>> & {
|
|
770
|
-
onSetData?: ((e: import("@vunk/core").SetDataEvent<any>) => any) | undefined;
|
|
771
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
772
|
-
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
773
|
-
}, {
|
|
774
|
-
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
775
|
-
inlineMessage: boolean;
|
|
776
|
-
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
777
|
-
elRef: (arg: {
|
|
778
|
-
$: import("vue").ComponentInternalInstance;
|
|
779
|
-
$data: {};
|
|
780
|
-
$props: Partial<{
|
|
781
|
-
readonly disabled: boolean;
|
|
782
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
783
|
-
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
784
|
-
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
785
|
-
readonly labelSuffix: string;
|
|
786
|
-
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
787
|
-
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
788
|
-
readonly inline: boolean;
|
|
789
|
-
readonly inlineMessage: boolean;
|
|
790
|
-
readonly statusIcon: boolean;
|
|
791
|
-
readonly hideRequiredAsterisk: boolean;
|
|
792
|
-
readonly scrollToError: boolean;
|
|
793
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
490
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
491
|
+
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
492
|
+
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
794
493
|
readonly model: ObjectConstructor;
|
|
795
494
|
readonly rules: {
|
|
796
495
|
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
797
496
|
readonly required: false;
|
|
798
|
-
readonly validator: (
|
|
497
|
+
readonly validator: (val: unknown) => boolean;
|
|
799
498
|
__epPropKey: true;
|
|
800
499
|
};
|
|
801
500
|
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
@@ -812,38 +511,44 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
812
511
|
readonly scrollIntoViewOptions: {
|
|
813
512
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
814
513
|
readonly required: false;
|
|
815
|
-
readonly validator: (
|
|
514
|
+
readonly validator: (val: unknown) => boolean;
|
|
816
515
|
__epPropKey: true;
|
|
817
516
|
};
|
|
818
517
|
readonly size: {
|
|
819
518
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
820
519
|
readonly required: false;
|
|
821
|
-
readonly validator: (
|
|
520
|
+
readonly validator: (val: unknown) => boolean;
|
|
822
521
|
__epPropKey: true;
|
|
823
522
|
};
|
|
824
523
|
readonly disabled: BooleanConstructor;
|
|
825
524
|
}>> & {
|
|
826
|
-
onValidate?: (
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
525
|
+
onValidate?: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any;
|
|
526
|
+
}, {
|
|
527
|
+
readonly disabled: boolean;
|
|
528
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
529
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
530
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
531
|
+
readonly labelSuffix: string;
|
|
532
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
533
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
534
|
+
readonly inline: boolean;
|
|
535
|
+
readonly inlineMessage: boolean;
|
|
536
|
+
readonly statusIcon: boolean;
|
|
537
|
+
readonly hideRequiredAsterisk: boolean;
|
|
538
|
+
readonly scrollToError: boolean;
|
|
539
|
+
}, true, {}, {}, {
|
|
540
|
+
P: {};
|
|
541
|
+
B: {};
|
|
542
|
+
D: {};
|
|
543
|
+
C: {};
|
|
544
|
+
M: {};
|
|
545
|
+
Defaults: {};
|
|
546
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
842
547
|
readonly model: ObjectConstructor;
|
|
843
548
|
readonly rules: {
|
|
844
549
|
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
845
550
|
readonly required: false;
|
|
846
|
-
readonly validator: (
|
|
551
|
+
readonly validator: (val: unknown) => boolean;
|
|
847
552
|
__epPropKey: true;
|
|
848
553
|
};
|
|
849
554
|
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
@@ -860,18 +565,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
860
565
|
readonly scrollIntoViewOptions: {
|
|
861
566
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
862
567
|
readonly required: false;
|
|
863
|
-
readonly validator: (
|
|
568
|
+
readonly validator: (val: unknown) => boolean;
|
|
864
569
|
__epPropKey: true;
|
|
865
570
|
};
|
|
866
571
|
readonly size: {
|
|
867
572
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
868
573
|
readonly required: false;
|
|
869
|
-
readonly validator: (
|
|
574
|
+
readonly validator: (val: unknown) => boolean;
|
|
870
575
|
__epPropKey: true;
|
|
871
576
|
};
|
|
872
577
|
readonly disabled: BooleanConstructor;
|
|
873
578
|
}>> & {
|
|
874
|
-
onValidate?: (
|
|
579
|
+
onValidate?: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any;
|
|
875
580
|
}, {
|
|
876
581
|
COMPONENT_NAME: string;
|
|
877
582
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -879,7 +584,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
879
584
|
readonly rules: {
|
|
880
585
|
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
881
586
|
readonly required: false;
|
|
882
|
-
readonly validator: (
|
|
587
|
+
readonly validator: (val: unknown) => boolean;
|
|
883
588
|
__epPropKey: true;
|
|
884
589
|
};
|
|
885
590
|
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
@@ -896,33 +601,33 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
896
601
|
readonly scrollIntoViewOptions: {
|
|
897
602
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
898
603
|
readonly required: false;
|
|
899
|
-
readonly validator: (
|
|
604
|
+
readonly validator: (val: unknown) => boolean;
|
|
900
605
|
__epPropKey: true;
|
|
901
606
|
};
|
|
902
607
|
readonly size: {
|
|
903
608
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
904
609
|
readonly required: false;
|
|
905
|
-
readonly validator: (
|
|
610
|
+
readonly validator: (val: unknown) => boolean;
|
|
906
611
|
__epPropKey: true;
|
|
907
612
|
};
|
|
908
613
|
readonly disabled: BooleanConstructor;
|
|
909
614
|
}>> & {
|
|
910
|
-
onValidate?: (
|
|
615
|
+
onValidate?: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any;
|
|
911
616
|
}>>;
|
|
912
617
|
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
913
618
|
fields: import("element-plus").FormItemContext[];
|
|
914
619
|
formSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
915
620
|
ns: {
|
|
916
621
|
namespace: import("vue").ComputedRef<string>;
|
|
917
|
-
b: (blockSuffix?: string
|
|
918
|
-
e: (element?: string
|
|
919
|
-
m: (modifier?: string
|
|
920
|
-
be: (blockSuffix?: string
|
|
921
|
-
em: (element?: string
|
|
922
|
-
bm: (blockSuffix?: string
|
|
923
|
-
bem: (blockSuffix?: string
|
|
622
|
+
b: (blockSuffix?: string) => string;
|
|
623
|
+
e: (element?: string) => string;
|
|
624
|
+
m: (modifier?: string) => string;
|
|
625
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
626
|
+
em: (element?: string, modifier?: string) => string;
|
|
627
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
628
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
924
629
|
is: {
|
|
925
|
-
(name: string, state: boolean
|
|
630
|
+
(name: string, state: boolean): string;
|
|
926
631
|
(name: string): string;
|
|
927
632
|
};
|
|
928
633
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
@@ -933,19 +638,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
933
638
|
formClasses: import("vue").ComputedRef<(string | {
|
|
934
639
|
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
935
640
|
})[]>;
|
|
641
|
+
getField: (prop: string) => import("element-plus").FormItemContext;
|
|
936
642
|
addField: (field: import("element-plus").FormItemContext) => void;
|
|
937
643
|
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
938
|
-
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>
|
|
939
|
-
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>
|
|
644
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => void;
|
|
645
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => void;
|
|
940
646
|
isValidatable: import("vue").ComputedRef<boolean>;
|
|
941
647
|
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
942
|
-
validate: (callback?: import("element-plus").FormValidateCallback
|
|
943
|
-
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>
|
|
944
|
-
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp
|
|
648
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
649
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => Promise<boolean>;
|
|
650
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
945
651
|
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
946
|
-
},
|
|
947
|
-
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
948
|
-
}, string, {
|
|
652
|
+
}, {}, {}, {}, {
|
|
949
653
|
readonly disabled: boolean;
|
|
950
654
|
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
951
655
|
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
@@ -958,32 +662,228 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
958
662
|
readonly statusIcon: boolean;
|
|
959
663
|
readonly hideRequiredAsterisk: boolean;
|
|
960
664
|
readonly scrollToError: boolean;
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
665
|
+
}>) => any>;
|
|
666
|
+
default: () => () => void;
|
|
667
|
+
};
|
|
668
|
+
layout: {
|
|
669
|
+
type: BooleanConstructor;
|
|
670
|
+
default: boolean;
|
|
671
|
+
};
|
|
672
|
+
rowSource: {
|
|
673
|
+
type: import("vue").PropType<Partial<RowItem>>;
|
|
674
|
+
default: () => {};
|
|
675
|
+
};
|
|
676
|
+
colSource: {
|
|
677
|
+
type: import("vue").PropType<Partial<import("./types").ColItem>>;
|
|
678
|
+
default: () => import("./types").ColItem;
|
|
679
|
+
};
|
|
680
|
+
model: ObjectConstructor;
|
|
681
|
+
rules: {
|
|
682
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
683
|
+
readonly required: false;
|
|
684
|
+
readonly validator: (val: unknown) => boolean;
|
|
685
|
+
__epPropKey: true;
|
|
686
|
+
};
|
|
687
|
+
labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
688
|
+
requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
689
|
+
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
690
|
+
labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
691
|
+
inline: BooleanConstructor;
|
|
692
|
+
inlineMessage: BooleanConstructor;
|
|
693
|
+
statusIcon: BooleanConstructor;
|
|
694
|
+
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
695
|
+
validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
696
|
+
hideRequiredAsterisk: BooleanConstructor;
|
|
697
|
+
scrollToError: BooleanConstructor;
|
|
698
|
+
scrollIntoViewOptions: {
|
|
699
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
700
|
+
readonly required: false;
|
|
701
|
+
readonly validator: (val: unknown) => boolean;
|
|
702
|
+
__epPropKey: true;
|
|
703
|
+
};
|
|
704
|
+
size: {
|
|
705
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
706
|
+
readonly required: false;
|
|
707
|
+
readonly validator: (val: unknown) => boolean;
|
|
708
|
+
__epPropKey: true;
|
|
709
|
+
};
|
|
710
|
+
disabled: BooleanConstructor;
|
|
711
|
+
}>> & {
|
|
712
|
+
onSubmit?: (...args: any[] | unknown[]) => any;
|
|
713
|
+
onSetData?: (e: import("@vunk/core").SetDataEvent) => any;
|
|
714
|
+
onValidate?: (...args: any[] | unknown[]) => any;
|
|
715
|
+
}, {
|
|
716
|
+
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
717
|
+
inlineMessage: boolean;
|
|
718
|
+
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
719
|
+
elRef: (arg: import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
720
|
+
readonly model: ObjectConstructor;
|
|
721
|
+
readonly rules: {
|
|
722
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
723
|
+
readonly required: false;
|
|
724
|
+
readonly validator: (val: unknown) => boolean;
|
|
725
|
+
__epPropKey: true;
|
|
726
|
+
};
|
|
727
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
728
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
729
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
730
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
731
|
+
readonly inline: BooleanConstructor;
|
|
732
|
+
readonly inlineMessage: BooleanConstructor;
|
|
733
|
+
readonly statusIcon: BooleanConstructor;
|
|
734
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
735
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
736
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
737
|
+
readonly scrollToError: BooleanConstructor;
|
|
738
|
+
readonly scrollIntoViewOptions: {
|
|
739
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
740
|
+
readonly required: false;
|
|
741
|
+
readonly validator: (val: unknown) => boolean;
|
|
742
|
+
__epPropKey: true;
|
|
743
|
+
};
|
|
744
|
+
readonly size: {
|
|
745
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
746
|
+
readonly required: false;
|
|
747
|
+
readonly validator: (val: unknown) => boolean;
|
|
748
|
+
__epPropKey: true;
|
|
977
749
|
};
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
}
|
|
750
|
+
readonly disabled: BooleanConstructor;
|
|
751
|
+
}>> & {
|
|
752
|
+
onValidate?: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any;
|
|
753
|
+
}, {
|
|
754
|
+
COMPONENT_NAME: string;
|
|
755
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
756
|
+
readonly model: ObjectConstructor;
|
|
757
|
+
readonly rules: {
|
|
758
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
759
|
+
readonly required: false;
|
|
760
|
+
readonly validator: (val: unknown) => boolean;
|
|
761
|
+
__epPropKey: true;
|
|
762
|
+
};
|
|
763
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
764
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
765
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
766
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
767
|
+
readonly inline: BooleanConstructor;
|
|
768
|
+
readonly inlineMessage: BooleanConstructor;
|
|
769
|
+
readonly statusIcon: BooleanConstructor;
|
|
770
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
771
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
772
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
773
|
+
readonly scrollToError: BooleanConstructor;
|
|
774
|
+
readonly scrollIntoViewOptions: {
|
|
775
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
776
|
+
readonly required: false;
|
|
777
|
+
readonly validator: (val: unknown) => boolean;
|
|
778
|
+
__epPropKey: true;
|
|
779
|
+
};
|
|
780
|
+
readonly size: {
|
|
781
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
782
|
+
readonly required: false;
|
|
783
|
+
readonly validator: (val: unknown) => boolean;
|
|
784
|
+
__epPropKey: true;
|
|
785
|
+
};
|
|
786
|
+
readonly disabled: BooleanConstructor;
|
|
787
|
+
}>> & {
|
|
788
|
+
onValidate?: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any;
|
|
789
|
+
}>>;
|
|
790
|
+
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
791
|
+
fields: import("element-plus").FormItemContext[];
|
|
792
|
+
formSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
793
|
+
ns: {
|
|
794
|
+
namespace: import("vue").ComputedRef<string>;
|
|
795
|
+
b: (blockSuffix?: string) => string;
|
|
796
|
+
e: (element?: string) => string;
|
|
797
|
+
m: (modifier?: string) => string;
|
|
798
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
799
|
+
em: (element?: string, modifier?: string) => string;
|
|
800
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
801
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
802
|
+
is: {
|
|
803
|
+
(name: string, state: boolean): string;
|
|
804
|
+
(name: string): string;
|
|
805
|
+
};
|
|
806
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
807
|
+
cssVarName: (name: string) => string;
|
|
808
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
809
|
+
cssVarBlockName: (name: string) => string;
|
|
810
|
+
};
|
|
811
|
+
formClasses: import("vue").ComputedRef<(string | {
|
|
812
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
813
|
+
})[]>;
|
|
814
|
+
getField: (prop: string) => import("element-plus").FormItemContext;
|
|
815
|
+
addField: (field: import("element-plus").FormItemContext) => void;
|
|
816
|
+
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
817
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => void;
|
|
818
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => void;
|
|
819
|
+
isValidatable: import("vue").ComputedRef<boolean>;
|
|
820
|
+
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
821
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
822
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => Promise<boolean>;
|
|
823
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
824
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
825
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
826
|
+
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
827
|
+
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
828
|
+
readonly model: ObjectConstructor;
|
|
829
|
+
readonly rules: {
|
|
830
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
831
|
+
readonly required: false;
|
|
832
|
+
readonly validator: (val: unknown) => boolean;
|
|
833
|
+
__epPropKey: true;
|
|
834
|
+
};
|
|
835
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
836
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
|
|
837
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
838
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
839
|
+
readonly inline: BooleanConstructor;
|
|
840
|
+
readonly inlineMessage: BooleanConstructor;
|
|
841
|
+
readonly statusIcon: BooleanConstructor;
|
|
842
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
843
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
844
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
845
|
+
readonly scrollToError: BooleanConstructor;
|
|
846
|
+
readonly scrollIntoViewOptions: {
|
|
847
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
848
|
+
readonly required: false;
|
|
849
|
+
readonly validator: (val: unknown) => boolean;
|
|
850
|
+
__epPropKey: true;
|
|
851
|
+
};
|
|
852
|
+
readonly size: {
|
|
853
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
854
|
+
readonly required: false;
|
|
855
|
+
readonly validator: (val: unknown) => boolean;
|
|
856
|
+
__epPropKey: true;
|
|
857
|
+
};
|
|
858
|
+
readonly disabled: BooleanConstructor;
|
|
859
|
+
}>> & {
|
|
860
|
+
onValidate?: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any;
|
|
861
|
+
}, {
|
|
862
|
+
readonly disabled: boolean;
|
|
863
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
864
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
865
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
866
|
+
readonly labelSuffix: string;
|
|
867
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
868
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
869
|
+
readonly inline: boolean;
|
|
870
|
+
readonly inlineMessage: boolean;
|
|
871
|
+
readonly statusIcon: boolean;
|
|
872
|
+
readonly hideRequiredAsterisk: boolean;
|
|
873
|
+
readonly scrollToError: boolean;
|
|
874
|
+
}, true, {}, {}, {
|
|
875
|
+
P: {};
|
|
876
|
+
B: {};
|
|
877
|
+
D: {};
|
|
878
|
+
C: {};
|
|
879
|
+
M: {};
|
|
880
|
+
Defaults: {};
|
|
881
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
982
882
|
readonly model: ObjectConstructor;
|
|
983
883
|
readonly rules: {
|
|
984
884
|
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
985
885
|
readonly required: false;
|
|
986
|
-
readonly validator: (
|
|
886
|
+
readonly validator: (val: unknown) => boolean;
|
|
987
887
|
__epPropKey: true;
|
|
988
888
|
};
|
|
989
889
|
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
@@ -1000,26 +900,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1000
900
|
readonly scrollIntoViewOptions: {
|
|
1001
901
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
1002
902
|
readonly required: false;
|
|
1003
|
-
readonly validator: (
|
|
903
|
+
readonly validator: (val: unknown) => boolean;
|
|
1004
904
|
__epPropKey: true;
|
|
1005
905
|
};
|
|
1006
906
|
readonly size: {
|
|
1007
907
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
1008
908
|
readonly required: false;
|
|
1009
|
-
readonly validator: (
|
|
909
|
+
readonly validator: (val: unknown) => boolean;
|
|
1010
910
|
__epPropKey: true;
|
|
1011
911
|
};
|
|
1012
912
|
readonly disabled: BooleanConstructor;
|
|
1013
913
|
}>> & {
|
|
1014
|
-
onValidate?: (
|
|
1015
|
-
}
|
|
914
|
+
onValidate?: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any;
|
|
915
|
+
}, {
|
|
1016
916
|
COMPONENT_NAME: string;
|
|
1017
917
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1018
918
|
readonly model: ObjectConstructor;
|
|
1019
919
|
readonly rules: {
|
|
1020
920
|
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
1021
921
|
readonly required: false;
|
|
1022
|
-
readonly validator: (
|
|
922
|
+
readonly validator: (val: unknown) => boolean;
|
|
1023
923
|
__epPropKey: true;
|
|
1024
924
|
};
|
|
1025
925
|
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "right" | "left" | "top", unknown, "right", boolean>;
|
|
@@ -1036,33 +936,33 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1036
936
|
readonly scrollIntoViewOptions: {
|
|
1037
937
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
1038
938
|
readonly required: false;
|
|
1039
|
-
readonly validator: (
|
|
939
|
+
readonly validator: (val: unknown) => boolean;
|
|
1040
940
|
__epPropKey: true;
|
|
1041
941
|
};
|
|
1042
942
|
readonly size: {
|
|
1043
943
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
1044
944
|
readonly required: false;
|
|
1045
|
-
readonly validator: (
|
|
945
|
+
readonly validator: (val: unknown) => boolean;
|
|
1046
946
|
__epPropKey: true;
|
|
1047
947
|
};
|
|
1048
948
|
readonly disabled: BooleanConstructor;
|
|
1049
949
|
}>> & {
|
|
1050
|
-
onValidate?: (
|
|
950
|
+
onValidate?: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any;
|
|
1051
951
|
}>>;
|
|
1052
952
|
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
1053
953
|
fields: import("element-plus").FormItemContext[];
|
|
1054
954
|
formSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
1055
955
|
ns: {
|
|
1056
956
|
namespace: import("vue").ComputedRef<string>;
|
|
1057
|
-
b: (blockSuffix?: string
|
|
1058
|
-
e: (element?: string
|
|
1059
|
-
m: (modifier?: string
|
|
1060
|
-
be: (blockSuffix?: string
|
|
1061
|
-
em: (element?: string
|
|
1062
|
-
bm: (blockSuffix?: string
|
|
1063
|
-
bem: (blockSuffix?: string
|
|
957
|
+
b: (blockSuffix?: string) => string;
|
|
958
|
+
e: (element?: string) => string;
|
|
959
|
+
m: (modifier?: string) => string;
|
|
960
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
961
|
+
em: (element?: string, modifier?: string) => string;
|
|
962
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
963
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
1064
964
|
is: {
|
|
1065
|
-
(name: string, state: boolean
|
|
965
|
+
(name: string, state: boolean): string;
|
|
1066
966
|
(name: string): string;
|
|
1067
967
|
};
|
|
1068
968
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
@@ -1073,31 +973,45 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1073
973
|
formClasses: import("vue").ComputedRef<(string | {
|
|
1074
974
|
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
1075
975
|
})[]>;
|
|
976
|
+
getField: (prop: string) => import("element-plus").FormItemContext;
|
|
1076
977
|
addField: (field: import("element-plus").FormItemContext) => void;
|
|
1077
978
|
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
1078
|
-
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>
|
|
1079
|
-
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>
|
|
979
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => void;
|
|
980
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => void;
|
|
1080
981
|
isValidatable: import("vue").ComputedRef<boolean>;
|
|
1081
982
|
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
1082
|
-
validate: (callback?: import("element-plus").FormValidateCallback
|
|
1083
|
-
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>
|
|
1084
|
-
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp
|
|
983
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
984
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => Promise<boolean>;
|
|
985
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
1085
986
|
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
1086
|
-
}
|
|
987
|
+
}, {}, {}, {}, {
|
|
988
|
+
readonly disabled: boolean;
|
|
989
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
990
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
991
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
992
|
+
readonly labelSuffix: string;
|
|
993
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
994
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
995
|
+
readonly inline: boolean;
|
|
996
|
+
readonly inlineMessage: boolean;
|
|
997
|
+
readonly statusIcon: boolean;
|
|
998
|
+
readonly hideRequiredAsterisk: boolean;
|
|
999
|
+
readonly scrollToError: boolean;
|
|
1000
|
+
}>) => any;
|
|
1087
1001
|
inline: boolean;
|
|
1088
1002
|
readonly: boolean;
|
|
1089
1003
|
labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
1090
|
-
data: Record<string, any>;
|
|
1091
1004
|
disabled: boolean;
|
|
1005
|
+
data: {};
|
|
1006
|
+
statusIcon: boolean;
|
|
1092
1007
|
requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
1093
1008
|
labelSuffix: string;
|
|
1094
|
-
statusIcon: boolean;
|
|
1095
1009
|
validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1096
1010
|
hideRequiredAsterisk: boolean;
|
|
1097
1011
|
scrollToError: boolean;
|
|
1098
1012
|
formItems: any[];
|
|
1099
1013
|
layout: boolean;
|
|
1100
|
-
rowSource:
|
|
1101
|
-
colSource:
|
|
1102
|
-
}>;
|
|
1014
|
+
rowSource: {};
|
|
1015
|
+
colSource: import("./types").ColItem;
|
|
1016
|
+
}, {}>;
|
|
1103
1017
|
export default _default;
|