@vunk/form 0.0.0-alpha.7 → 0.0.0-alpha.8
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/components/config/index.js +1 -16
- package/components/config-renderer/index.js +1 -0
- package/components/confirm-input/index.js +33 -8
- package/components/confirm-input/src/ctx.d.ts +8 -1
- package/components/confirm-input/src/index.vue.d.ts +18 -2
- package/components/date-picker/src/ctx.d.ts +56 -88
- package/components/date-picker/src/index.vue.d.ts +140 -204
- package/components/form/index.js +7 -1
- package/components/form/src/ctx.d.ts +277 -1
- package/components/form/src/index.vue.d.ts +825 -0
- package/components/form-item-renderer/index.js +1 -0
- package/components/ground/index.css +26 -26
- package/components/ground/index.js +122 -100
- package/components/ground/src/ground-config/src/index copy.vue.d.ts +72 -0
- package/components/ground/src/ground-config/src/index.vue.d.ts +953 -54
- package/components/ground/src/ground-main/src/index.vue.d.ts +7 -16
- package/components/ground/src/ground-widget/src/form-item-widget/src/index.vue.d.ts +13 -0
- package/components/ground/src/index.vue.d.ts +16 -5
- package/components/input/index.js +7 -7
- package/components/input-config/index.js +7 -4
- package/components/input-config/src/ctx.d.ts +600 -5
- package/components/input-config/src/index.vue.d.ts +2051 -2
- package/components/rules-config/src/ctx.d.ts +276 -0
- package/components/rules-config/src/index.vue.d.ts +1098 -0
- package/components/switch/src/ctx.d.ts +6 -0
- package/components/switch/src/index.vue.d.ts +13 -0
- package/index.css +26 -26
- package/package.json +1 -1
- package/shared/element-plus/ctx/index.d.ts +5 -5
- package/shared/element-plus/instances/date-picker.d.ts +59 -91
- package/shared/element-plus/instances/select.d.ts +1 -1
- package/shared/helper/index.d.ts +2 -1
- package/shared/helper/index.js +15 -1
- package/shared/types/form-item/confirm-input.d.ts +8 -0
- package/shared/types/form-item/confirm-input.js +1 -0
- package/shared/types/form-item/date-picker.d.ts +2 -2
- package/shared/types/form-item/index.d.ts +1 -0
- package/shared/types/form-item/input.d.ts +2 -6
- package/shared/types/form-item/select.d.ts +2 -2
- package/shared/types/form-item/switch.d.ts +2 -2
- package/shared/types/shared/index.d.ts +1 -1
- package/types/components/confirm-input/src/ctx.d.ts +8 -1
- package/types/components/confirm-input/src/index.vue.d.ts +18 -2
- package/types/components/date-picker/src/ctx.d.ts +56 -88
- package/types/components/date-picker/src/index.vue.d.ts +140 -204
- package/types/components/form/src/ctx.d.ts +277 -1
- package/types/components/form/src/index.vue.d.ts +825 -0
- package/types/components/ground/src/ground-config/src/index copy.vue.d.ts +72 -0
- package/types/components/ground/src/ground-config/src/index.vue.d.ts +953 -54
- package/types/components/ground/src/ground-main/src/index.vue.d.ts +7 -16
- package/types/components/ground/src/ground-widget/src/form-item-widget/src/index.vue.d.ts +13 -0
- package/types/components/ground/src/index.vue.d.ts +16 -5
- package/types/components/input-config/src/ctx.d.ts +600 -5
- package/types/components/input-config/src/index.vue.d.ts +2051 -2
- package/types/components/rules-config/src/ctx.d.ts +276 -0
- package/types/components/rules-config/src/index.vue.d.ts +1098 -0
- package/types/components/switch/src/ctx.d.ts +6 -0
- package/types/components/switch/src/index.vue.d.ts +13 -0
- package/types/shared/element-plus/ctx/index.d.ts +5 -5
- package/types/shared/element-plus/instances/date-picker.d.ts +59 -91
- package/types/shared/element-plus/instances/select.d.ts +1 -1
- package/types/shared/helper/index.d.ts +2 -1
- package/types/shared/types/form-item/confirm-input.d.ts +8 -0
- package/types/shared/types/form-item/date-picker.d.ts +2 -2
- package/types/shared/types/form-item/index.d.ts +1 -0
- package/types/shared/types/form-item/input.d.ts +2 -6
- package/types/shared/types/form-item/select.d.ts +2 -2
- package/types/shared/types/form-item/switch.d.ts +2 -2
- package/types/shared/types/shared/index.d.ts +1 -1
|
@@ -9,6 +9,282 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
type: import("vue").PropType<any[]>;
|
|
10
10
|
default: () => never[];
|
|
11
11
|
};
|
|
12
|
+
elRef: {
|
|
13
|
+
type: import("vue").PropType<(arg: {
|
|
14
|
+
$: import("vue").ComponentInternalInstance;
|
|
15
|
+
$data: {};
|
|
16
|
+
$props: Partial<{
|
|
17
|
+
readonly disabled: boolean;
|
|
18
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
19
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
20
|
+
readonly labelSuffix: string;
|
|
21
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
22
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
23
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
24
|
+
readonly inline: boolean;
|
|
25
|
+
readonly inlineMessage: boolean;
|
|
26
|
+
readonly statusIcon: boolean;
|
|
27
|
+
readonly scrollToError: boolean;
|
|
28
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
readonly model: ObjectConstructor;
|
|
30
|
+
readonly rules: {
|
|
31
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
32
|
+
readonly required: false;
|
|
33
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
34
|
+
__epPropKey: true;
|
|
35
|
+
};
|
|
36
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
37
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
38
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
39
|
+
readonly inline: BooleanConstructor;
|
|
40
|
+
readonly inlineMessage: BooleanConstructor;
|
|
41
|
+
readonly statusIcon: BooleanConstructor;
|
|
42
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
43
|
+
readonly size: {
|
|
44
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
45
|
+
readonly required: false;
|
|
46
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
47
|
+
__epPropKey: true;
|
|
48
|
+
};
|
|
49
|
+
readonly disabled: BooleanConstructor;
|
|
50
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
51
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
52
|
+
readonly scrollToError: BooleanConstructor;
|
|
53
|
+
}>> & {
|
|
54
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
55
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "labelPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "disabled" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
|
56
|
+
$attrs: {
|
|
57
|
+
[x: string]: unknown;
|
|
58
|
+
};
|
|
59
|
+
$refs: {
|
|
60
|
+
[x: string]: unknown;
|
|
61
|
+
};
|
|
62
|
+
$slots: Readonly<{
|
|
63
|
+
[name: string]: import("vue").Slot | undefined;
|
|
64
|
+
}>;
|
|
65
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
66
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
67
|
+
$emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
68
|
+
$el: any;
|
|
69
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
+
readonly model: ObjectConstructor;
|
|
71
|
+
readonly rules: {
|
|
72
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
73
|
+
readonly required: false;
|
|
74
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
75
|
+
__epPropKey: true;
|
|
76
|
+
};
|
|
77
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
78
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
79
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
80
|
+
readonly inline: BooleanConstructor;
|
|
81
|
+
readonly inlineMessage: BooleanConstructor;
|
|
82
|
+
readonly statusIcon: BooleanConstructor;
|
|
83
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
84
|
+
readonly size: {
|
|
85
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
86
|
+
readonly required: false;
|
|
87
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
88
|
+
__epPropKey: true;
|
|
89
|
+
};
|
|
90
|
+
readonly disabled: BooleanConstructor;
|
|
91
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
92
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
93
|
+
readonly scrollToError: BooleanConstructor;
|
|
94
|
+
}>> & {
|
|
95
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
96
|
+
}, {
|
|
97
|
+
COMPONENT_NAME: string;
|
|
98
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
99
|
+
readonly model: ObjectConstructor;
|
|
100
|
+
readonly rules: {
|
|
101
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
102
|
+
readonly required: false;
|
|
103
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
|
+
__epPropKey: true;
|
|
105
|
+
};
|
|
106
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
107
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
108
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
109
|
+
readonly inline: BooleanConstructor;
|
|
110
|
+
readonly inlineMessage: BooleanConstructor;
|
|
111
|
+
readonly statusIcon: BooleanConstructor;
|
|
112
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
113
|
+
readonly size: {
|
|
114
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
115
|
+
readonly required: false;
|
|
116
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
117
|
+
__epPropKey: true;
|
|
118
|
+
};
|
|
119
|
+
readonly disabled: BooleanConstructor;
|
|
120
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
121
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
122
|
+
readonly scrollToError: BooleanConstructor;
|
|
123
|
+
}>> & {
|
|
124
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
125
|
+
}>>;
|
|
126
|
+
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
127
|
+
fields: import("element-plus").FormItemContext[];
|
|
128
|
+
formSize: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
129
|
+
ns: {
|
|
130
|
+
namespace: import("vue").ComputedRef<string>;
|
|
131
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
132
|
+
e: (element?: string | undefined) => string;
|
|
133
|
+
m: (modifier?: string | undefined) => string;
|
|
134
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
135
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
136
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
137
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
138
|
+
is: {
|
|
139
|
+
(name: string, state: boolean | undefined): string;
|
|
140
|
+
(name: string): string;
|
|
141
|
+
};
|
|
142
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
143
|
+
cssVarName: (name: string) => string;
|
|
144
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
145
|
+
cssVarBlockName: (name: string) => string;
|
|
146
|
+
};
|
|
147
|
+
formClasses: import("vue").ComputedRef<(string | {
|
|
148
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
149
|
+
})[]>;
|
|
150
|
+
addField: (field: import("element-plus").FormItemContext) => void;
|
|
151
|
+
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
152
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
153
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
154
|
+
isValidatable: import("vue").ComputedRef<boolean>;
|
|
155
|
+
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
156
|
+
validate: (callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
157
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => Promise<boolean>;
|
|
158
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined, callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
159
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
160
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
161
|
+
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
162
|
+
}, string, {
|
|
163
|
+
readonly disabled: boolean;
|
|
164
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
165
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
166
|
+
readonly labelSuffix: string;
|
|
167
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
168
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
169
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
170
|
+
readonly inline: boolean;
|
|
171
|
+
readonly inlineMessage: boolean;
|
|
172
|
+
readonly statusIcon: boolean;
|
|
173
|
+
readonly scrollToError: boolean;
|
|
174
|
+
}> & {
|
|
175
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
176
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
177
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
178
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
179
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
180
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
181
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
182
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
183
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
184
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
185
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
186
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
187
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
188
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
189
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
190
|
+
};
|
|
191
|
+
$forceUpdate: () => void;
|
|
192
|
+
$nextTick: typeof import("vue").nextTick;
|
|
193
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
194
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
195
|
+
readonly model: ObjectConstructor;
|
|
196
|
+
readonly rules: {
|
|
197
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
198
|
+
readonly required: false;
|
|
199
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
200
|
+
__epPropKey: true;
|
|
201
|
+
};
|
|
202
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
203
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
204
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
205
|
+
readonly inline: BooleanConstructor;
|
|
206
|
+
readonly inlineMessage: BooleanConstructor;
|
|
207
|
+
readonly statusIcon: BooleanConstructor;
|
|
208
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
209
|
+
readonly size: {
|
|
210
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
211
|
+
readonly required: false;
|
|
212
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
213
|
+
__epPropKey: true;
|
|
214
|
+
};
|
|
215
|
+
readonly disabled: BooleanConstructor;
|
|
216
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
217
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
218
|
+
readonly scrollToError: BooleanConstructor;
|
|
219
|
+
}>> & {
|
|
220
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
221
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
222
|
+
COMPONENT_NAME: string;
|
|
223
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
224
|
+
readonly model: ObjectConstructor;
|
|
225
|
+
readonly rules: {
|
|
226
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
227
|
+
readonly required: false;
|
|
228
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
229
|
+
__epPropKey: true;
|
|
230
|
+
};
|
|
231
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
232
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
233
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
234
|
+
readonly inline: BooleanConstructor;
|
|
235
|
+
readonly inlineMessage: BooleanConstructor;
|
|
236
|
+
readonly statusIcon: BooleanConstructor;
|
|
237
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
238
|
+
readonly size: {
|
|
239
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
240
|
+
readonly required: false;
|
|
241
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
242
|
+
__epPropKey: true;
|
|
243
|
+
};
|
|
244
|
+
readonly disabled: BooleanConstructor;
|
|
245
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
246
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
247
|
+
readonly scrollToError: BooleanConstructor;
|
|
248
|
+
}>> & {
|
|
249
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
250
|
+
}>>;
|
|
251
|
+
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
252
|
+
fields: import("element-plus").FormItemContext[];
|
|
253
|
+
formSize: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
254
|
+
ns: {
|
|
255
|
+
namespace: import("vue").ComputedRef<string>;
|
|
256
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
257
|
+
e: (element?: string | undefined) => string;
|
|
258
|
+
m: (modifier?: string | undefined) => string;
|
|
259
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
260
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
261
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
262
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
263
|
+
is: {
|
|
264
|
+
(name: string, state: boolean | undefined): string;
|
|
265
|
+
(name: string): string;
|
|
266
|
+
};
|
|
267
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
268
|
+
cssVarName: (name: string) => string;
|
|
269
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
270
|
+
cssVarBlockName: (name: string) => string;
|
|
271
|
+
};
|
|
272
|
+
formClasses: import("vue").ComputedRef<(string | {
|
|
273
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
274
|
+
})[]>;
|
|
275
|
+
addField: (field: import("element-plus").FormItemContext) => void;
|
|
276
|
+
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
277
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
278
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
279
|
+
isValidatable: import("vue").ComputedRef<boolean>;
|
|
280
|
+
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
281
|
+
validate: (callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
282
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => Promise<boolean>;
|
|
283
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined, callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
284
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
285
|
+
}> & {} & {} & import("vue").ComponentCustomProperties) => any>;
|
|
286
|
+
default: () => () => void;
|
|
287
|
+
};
|
|
12
288
|
model: ObjectConstructor;
|
|
13
289
|
rules: {
|
|
14
290
|
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
@@ -51,6 +327,279 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
327
|
validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
52
328
|
hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
53
329
|
scrollToError: boolean;
|
|
330
|
+
elRef: (arg: {
|
|
331
|
+
$: import("vue").ComponentInternalInstance;
|
|
332
|
+
$data: {};
|
|
333
|
+
$props: Partial<{
|
|
334
|
+
readonly disabled: boolean;
|
|
335
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
336
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
337
|
+
readonly labelSuffix: string;
|
|
338
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
339
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
340
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
341
|
+
readonly inline: boolean;
|
|
342
|
+
readonly inlineMessage: boolean;
|
|
343
|
+
readonly statusIcon: boolean;
|
|
344
|
+
readonly scrollToError: boolean;
|
|
345
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
346
|
+
readonly model: ObjectConstructor;
|
|
347
|
+
readonly rules: {
|
|
348
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
349
|
+
readonly required: false;
|
|
350
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
351
|
+
__epPropKey: true;
|
|
352
|
+
};
|
|
353
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
354
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
355
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
356
|
+
readonly inline: BooleanConstructor;
|
|
357
|
+
readonly inlineMessage: BooleanConstructor;
|
|
358
|
+
readonly statusIcon: BooleanConstructor;
|
|
359
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
360
|
+
readonly size: {
|
|
361
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
362
|
+
readonly required: false;
|
|
363
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
364
|
+
__epPropKey: true;
|
|
365
|
+
};
|
|
366
|
+
readonly disabled: BooleanConstructor;
|
|
367
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
368
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
369
|
+
readonly scrollToError: BooleanConstructor;
|
|
370
|
+
}>> & {
|
|
371
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
372
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "labelPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "disabled" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
|
373
|
+
$attrs: {
|
|
374
|
+
[x: string]: unknown;
|
|
375
|
+
};
|
|
376
|
+
$refs: {
|
|
377
|
+
[x: string]: unknown;
|
|
378
|
+
};
|
|
379
|
+
$slots: Readonly<{
|
|
380
|
+
[name: string]: import("vue").Slot | undefined;
|
|
381
|
+
}>;
|
|
382
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
383
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
384
|
+
$emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
385
|
+
$el: any;
|
|
386
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
387
|
+
readonly model: ObjectConstructor;
|
|
388
|
+
readonly rules: {
|
|
389
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
390
|
+
readonly required: false;
|
|
391
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
392
|
+
__epPropKey: true;
|
|
393
|
+
};
|
|
394
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
395
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
396
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
397
|
+
readonly inline: BooleanConstructor;
|
|
398
|
+
readonly inlineMessage: BooleanConstructor;
|
|
399
|
+
readonly statusIcon: BooleanConstructor;
|
|
400
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
401
|
+
readonly size: {
|
|
402
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
403
|
+
readonly required: false;
|
|
404
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
405
|
+
__epPropKey: true;
|
|
406
|
+
};
|
|
407
|
+
readonly disabled: BooleanConstructor;
|
|
408
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
409
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
410
|
+
readonly scrollToError: BooleanConstructor;
|
|
411
|
+
}>> & {
|
|
412
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
413
|
+
}, {
|
|
414
|
+
COMPONENT_NAME: string;
|
|
415
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
416
|
+
readonly model: ObjectConstructor;
|
|
417
|
+
readonly rules: {
|
|
418
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
419
|
+
readonly required: false;
|
|
420
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
421
|
+
__epPropKey: true;
|
|
422
|
+
};
|
|
423
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
424
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
425
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
426
|
+
readonly inline: BooleanConstructor;
|
|
427
|
+
readonly inlineMessage: BooleanConstructor;
|
|
428
|
+
readonly statusIcon: BooleanConstructor;
|
|
429
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
430
|
+
readonly size: {
|
|
431
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
432
|
+
readonly required: false;
|
|
433
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
434
|
+
__epPropKey: true;
|
|
435
|
+
};
|
|
436
|
+
readonly disabled: BooleanConstructor;
|
|
437
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
438
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
439
|
+
readonly scrollToError: BooleanConstructor;
|
|
440
|
+
}>> & {
|
|
441
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
442
|
+
}>>;
|
|
443
|
+
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
444
|
+
fields: import("element-plus").FormItemContext[];
|
|
445
|
+
formSize: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
446
|
+
ns: {
|
|
447
|
+
namespace: import("vue").ComputedRef<string>;
|
|
448
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
449
|
+
e: (element?: string | undefined) => string;
|
|
450
|
+
m: (modifier?: string | undefined) => string;
|
|
451
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
452
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
453
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
454
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
455
|
+
is: {
|
|
456
|
+
(name: string, state: boolean | undefined): string;
|
|
457
|
+
(name: string): string;
|
|
458
|
+
};
|
|
459
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
460
|
+
cssVarName: (name: string) => string;
|
|
461
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
462
|
+
cssVarBlockName: (name: string) => string;
|
|
463
|
+
};
|
|
464
|
+
formClasses: import("vue").ComputedRef<(string | {
|
|
465
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
466
|
+
})[]>;
|
|
467
|
+
addField: (field: import("element-plus").FormItemContext) => void;
|
|
468
|
+
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
469
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
470
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
471
|
+
isValidatable: import("vue").ComputedRef<boolean>;
|
|
472
|
+
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
473
|
+
validate: (callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
474
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => Promise<boolean>;
|
|
475
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined, callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
476
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
477
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
478
|
+
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
479
|
+
}, string, {
|
|
480
|
+
readonly disabled: boolean;
|
|
481
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
482
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
483
|
+
readonly labelSuffix: string;
|
|
484
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
485
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
486
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
487
|
+
readonly inline: boolean;
|
|
488
|
+
readonly inlineMessage: boolean;
|
|
489
|
+
readonly statusIcon: boolean;
|
|
490
|
+
readonly scrollToError: boolean;
|
|
491
|
+
}> & {
|
|
492
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
493
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
494
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
495
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
496
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
497
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
498
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
499
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
500
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
501
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
502
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
503
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
504
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
505
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
506
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
507
|
+
};
|
|
508
|
+
$forceUpdate: () => void;
|
|
509
|
+
$nextTick: typeof import("vue").nextTick;
|
|
510
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
511
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
512
|
+
readonly model: ObjectConstructor;
|
|
513
|
+
readonly rules: {
|
|
514
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
515
|
+
readonly required: false;
|
|
516
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
517
|
+
__epPropKey: true;
|
|
518
|
+
};
|
|
519
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
520
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
521
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
522
|
+
readonly inline: BooleanConstructor;
|
|
523
|
+
readonly inlineMessage: BooleanConstructor;
|
|
524
|
+
readonly statusIcon: BooleanConstructor;
|
|
525
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
526
|
+
readonly size: {
|
|
527
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
528
|
+
readonly required: false;
|
|
529
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
530
|
+
__epPropKey: true;
|
|
531
|
+
};
|
|
532
|
+
readonly disabled: BooleanConstructor;
|
|
533
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
534
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
535
|
+
readonly scrollToError: BooleanConstructor;
|
|
536
|
+
}>> & {
|
|
537
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
538
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
539
|
+
COMPONENT_NAME: string;
|
|
540
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
541
|
+
readonly model: ObjectConstructor;
|
|
542
|
+
readonly rules: {
|
|
543
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
544
|
+
readonly required: false;
|
|
545
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
546
|
+
__epPropKey: true;
|
|
547
|
+
};
|
|
548
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
549
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
550
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
551
|
+
readonly inline: BooleanConstructor;
|
|
552
|
+
readonly inlineMessage: BooleanConstructor;
|
|
553
|
+
readonly statusIcon: BooleanConstructor;
|
|
554
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
555
|
+
readonly size: {
|
|
556
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
557
|
+
readonly required: false;
|
|
558
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
559
|
+
__epPropKey: true;
|
|
560
|
+
};
|
|
561
|
+
readonly disabled: BooleanConstructor;
|
|
562
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
563
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
564
|
+
readonly scrollToError: BooleanConstructor;
|
|
565
|
+
}>> & {
|
|
566
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
567
|
+
}>>;
|
|
568
|
+
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
569
|
+
fields: import("element-plus").FormItemContext[];
|
|
570
|
+
formSize: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
571
|
+
ns: {
|
|
572
|
+
namespace: import("vue").ComputedRef<string>;
|
|
573
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
574
|
+
e: (element?: string | undefined) => string;
|
|
575
|
+
m: (modifier?: string | undefined) => string;
|
|
576
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
577
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
578
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
579
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
580
|
+
is: {
|
|
581
|
+
(name: string, state: boolean | undefined): string;
|
|
582
|
+
(name: string): string;
|
|
583
|
+
};
|
|
584
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
585
|
+
cssVarName: (name: string) => string;
|
|
586
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
587
|
+
cssVarBlockName: (name: string) => string;
|
|
588
|
+
};
|
|
589
|
+
formClasses: import("vue").ComputedRef<(string | {
|
|
590
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
591
|
+
})[]>;
|
|
592
|
+
addField: (field: import("element-plus").FormItemContext) => void;
|
|
593
|
+
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
594
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
595
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
596
|
+
isValidatable: import("vue").ComputedRef<boolean>;
|
|
597
|
+
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
598
|
+
validate: (callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
599
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => Promise<boolean>;
|
|
600
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined, callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
601
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
602
|
+
}> & {} & {} & import("vue").ComponentCustomProperties) => any;
|
|
54
603
|
}>;
|
|
55
604
|
onEmits: {
|
|
56
605
|
validate: ((event: "validate", ...args: any[]) => void) & ((event: "setData", e: import("@vunk/form/shared/types").SetDataEvent<any>) => void);
|
|
@@ -68,6 +617,282 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
617
|
type: import("vue").PropType<any[]>;
|
|
69
618
|
default: () => never[];
|
|
70
619
|
};
|
|
620
|
+
elRef: {
|
|
621
|
+
type: import("vue").PropType<(arg: {
|
|
622
|
+
$: import("vue").ComponentInternalInstance;
|
|
623
|
+
$data: {};
|
|
624
|
+
$props: Partial<{
|
|
625
|
+
readonly disabled: boolean;
|
|
626
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
627
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
628
|
+
readonly labelSuffix: string;
|
|
629
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
630
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
631
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
632
|
+
readonly inline: boolean;
|
|
633
|
+
readonly inlineMessage: boolean;
|
|
634
|
+
readonly statusIcon: boolean;
|
|
635
|
+
readonly scrollToError: boolean;
|
|
636
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
637
|
+
readonly model: ObjectConstructor;
|
|
638
|
+
readonly rules: {
|
|
639
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
640
|
+
readonly required: false;
|
|
641
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
642
|
+
__epPropKey: true;
|
|
643
|
+
};
|
|
644
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
645
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
646
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
647
|
+
readonly inline: BooleanConstructor;
|
|
648
|
+
readonly inlineMessage: BooleanConstructor;
|
|
649
|
+
readonly statusIcon: BooleanConstructor;
|
|
650
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
651
|
+
readonly size: {
|
|
652
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
653
|
+
readonly required: false;
|
|
654
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
655
|
+
__epPropKey: true;
|
|
656
|
+
};
|
|
657
|
+
readonly disabled: BooleanConstructor;
|
|
658
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
659
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
660
|
+
readonly scrollToError: BooleanConstructor;
|
|
661
|
+
}>> & {
|
|
662
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
663
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "labelPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "disabled" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
|
664
|
+
$attrs: {
|
|
665
|
+
[x: string]: unknown;
|
|
666
|
+
};
|
|
667
|
+
$refs: {
|
|
668
|
+
[x: string]: unknown;
|
|
669
|
+
};
|
|
670
|
+
$slots: Readonly<{
|
|
671
|
+
[name: string]: import("vue").Slot | undefined;
|
|
672
|
+
}>;
|
|
673
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
674
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
675
|
+
$emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
676
|
+
$el: any;
|
|
677
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
678
|
+
readonly model: ObjectConstructor;
|
|
679
|
+
readonly rules: {
|
|
680
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
681
|
+
readonly required: false;
|
|
682
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
683
|
+
__epPropKey: true;
|
|
684
|
+
};
|
|
685
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
686
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
687
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
688
|
+
readonly inline: BooleanConstructor;
|
|
689
|
+
readonly inlineMessage: BooleanConstructor;
|
|
690
|
+
readonly statusIcon: BooleanConstructor;
|
|
691
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
692
|
+
readonly size: {
|
|
693
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
694
|
+
readonly required: false;
|
|
695
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
696
|
+
__epPropKey: true;
|
|
697
|
+
};
|
|
698
|
+
readonly disabled: BooleanConstructor;
|
|
699
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
700
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
701
|
+
readonly scrollToError: BooleanConstructor;
|
|
702
|
+
}>> & {
|
|
703
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
704
|
+
}, {
|
|
705
|
+
COMPONENT_NAME: string;
|
|
706
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
707
|
+
readonly model: ObjectConstructor;
|
|
708
|
+
readonly rules: {
|
|
709
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
710
|
+
readonly required: false;
|
|
711
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
712
|
+
__epPropKey: true;
|
|
713
|
+
};
|
|
714
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
715
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
716
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
717
|
+
readonly inline: BooleanConstructor;
|
|
718
|
+
readonly inlineMessage: BooleanConstructor;
|
|
719
|
+
readonly statusIcon: BooleanConstructor;
|
|
720
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
721
|
+
readonly size: {
|
|
722
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
723
|
+
readonly required: false;
|
|
724
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
725
|
+
__epPropKey: true;
|
|
726
|
+
};
|
|
727
|
+
readonly disabled: BooleanConstructor;
|
|
728
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
729
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
730
|
+
readonly scrollToError: BooleanConstructor;
|
|
731
|
+
}>> & {
|
|
732
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
733
|
+
}>>;
|
|
734
|
+
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
735
|
+
fields: import("element-plus").FormItemContext[];
|
|
736
|
+
formSize: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
737
|
+
ns: {
|
|
738
|
+
namespace: import("vue").ComputedRef<string>;
|
|
739
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
740
|
+
e: (element?: string | undefined) => string;
|
|
741
|
+
m: (modifier?: string | undefined) => string;
|
|
742
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
743
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
744
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
745
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
746
|
+
is: {
|
|
747
|
+
(name: string, state: boolean | undefined): string;
|
|
748
|
+
(name: string): string;
|
|
749
|
+
};
|
|
750
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
751
|
+
cssVarName: (name: string) => string;
|
|
752
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
753
|
+
cssVarBlockName: (name: string) => string;
|
|
754
|
+
};
|
|
755
|
+
formClasses: import("vue").ComputedRef<(string | {
|
|
756
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
757
|
+
})[]>;
|
|
758
|
+
addField: (field: import("element-plus").FormItemContext) => void;
|
|
759
|
+
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
760
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
761
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
762
|
+
isValidatable: import("vue").ComputedRef<boolean>;
|
|
763
|
+
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
764
|
+
validate: (callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
765
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => Promise<boolean>;
|
|
766
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined, callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
767
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
768
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
769
|
+
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
770
|
+
}, string, {
|
|
771
|
+
readonly disabled: boolean;
|
|
772
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
773
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
774
|
+
readonly labelSuffix: string;
|
|
775
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
776
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
777
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
778
|
+
readonly inline: boolean;
|
|
779
|
+
readonly inlineMessage: boolean;
|
|
780
|
+
readonly statusIcon: boolean;
|
|
781
|
+
readonly scrollToError: boolean;
|
|
782
|
+
}> & {
|
|
783
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
784
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
785
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
786
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
787
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
788
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
789
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
790
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
791
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
792
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
793
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
794
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
795
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
796
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
797
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
798
|
+
};
|
|
799
|
+
$forceUpdate: () => void;
|
|
800
|
+
$nextTick: typeof import("vue").nextTick;
|
|
801
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
802
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
803
|
+
readonly model: ObjectConstructor;
|
|
804
|
+
readonly rules: {
|
|
805
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
806
|
+
readonly required: false;
|
|
807
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
808
|
+
__epPropKey: true;
|
|
809
|
+
};
|
|
810
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
811
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
812
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
813
|
+
readonly inline: BooleanConstructor;
|
|
814
|
+
readonly inlineMessage: BooleanConstructor;
|
|
815
|
+
readonly statusIcon: BooleanConstructor;
|
|
816
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
817
|
+
readonly size: {
|
|
818
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
819
|
+
readonly required: false;
|
|
820
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
821
|
+
__epPropKey: true;
|
|
822
|
+
};
|
|
823
|
+
readonly disabled: BooleanConstructor;
|
|
824
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
825
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
826
|
+
readonly scrollToError: BooleanConstructor;
|
|
827
|
+
}>> & {
|
|
828
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
829
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
830
|
+
COMPONENT_NAME: string;
|
|
831
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
832
|
+
readonly model: ObjectConstructor;
|
|
833
|
+
readonly rules: {
|
|
834
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
835
|
+
readonly required: false;
|
|
836
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
837
|
+
__epPropKey: true;
|
|
838
|
+
};
|
|
839
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
840
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
841
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
842
|
+
readonly inline: BooleanConstructor;
|
|
843
|
+
readonly inlineMessage: BooleanConstructor;
|
|
844
|
+
readonly statusIcon: BooleanConstructor;
|
|
845
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
846
|
+
readonly size: {
|
|
847
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
848
|
+
readonly required: false;
|
|
849
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
850
|
+
__epPropKey: true;
|
|
851
|
+
};
|
|
852
|
+
readonly disabled: BooleanConstructor;
|
|
853
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
854
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
855
|
+
readonly scrollToError: BooleanConstructor;
|
|
856
|
+
}>> & {
|
|
857
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
858
|
+
}>>;
|
|
859
|
+
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
860
|
+
fields: import("element-plus").FormItemContext[];
|
|
861
|
+
formSize: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
862
|
+
ns: {
|
|
863
|
+
namespace: import("vue").ComputedRef<string>;
|
|
864
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
865
|
+
e: (element?: string | undefined) => string;
|
|
866
|
+
m: (modifier?: string | undefined) => string;
|
|
867
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
868
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
869
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
870
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
871
|
+
is: {
|
|
872
|
+
(name: string, state: boolean | undefined): string;
|
|
873
|
+
(name: string): string;
|
|
874
|
+
};
|
|
875
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
876
|
+
cssVarName: (name: string) => string;
|
|
877
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
878
|
+
cssVarBlockName: (name: string) => string;
|
|
879
|
+
};
|
|
880
|
+
formClasses: import("vue").ComputedRef<(string | {
|
|
881
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
882
|
+
})[]>;
|
|
883
|
+
addField: (field: import("element-plus").FormItemContext) => void;
|
|
884
|
+
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
885
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
886
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
887
|
+
isValidatable: import("vue").ComputedRef<boolean>;
|
|
888
|
+
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
889
|
+
validate: (callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
890
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => Promise<boolean>;
|
|
891
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined, callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
892
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
893
|
+
}> & {} & {} & import("vue").ComponentCustomProperties) => any>;
|
|
894
|
+
default: () => () => void;
|
|
895
|
+
};
|
|
71
896
|
model: ObjectConstructor;
|
|
72
897
|
rules: {
|
|
73
898
|
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
@@ -109,5 +934,278 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
934
|
hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
110
935
|
scrollToError: boolean;
|
|
111
936
|
formItems: any[];
|
|
937
|
+
elRef: (arg: {
|
|
938
|
+
$: import("vue").ComponentInternalInstance;
|
|
939
|
+
$data: {};
|
|
940
|
+
$props: Partial<{
|
|
941
|
+
readonly disabled: boolean;
|
|
942
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
943
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
944
|
+
readonly labelSuffix: string;
|
|
945
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
946
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
947
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
948
|
+
readonly inline: boolean;
|
|
949
|
+
readonly inlineMessage: boolean;
|
|
950
|
+
readonly statusIcon: boolean;
|
|
951
|
+
readonly scrollToError: boolean;
|
|
952
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
953
|
+
readonly model: ObjectConstructor;
|
|
954
|
+
readonly rules: {
|
|
955
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
956
|
+
readonly required: false;
|
|
957
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
958
|
+
__epPropKey: true;
|
|
959
|
+
};
|
|
960
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
961
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
962
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
963
|
+
readonly inline: BooleanConstructor;
|
|
964
|
+
readonly inlineMessage: BooleanConstructor;
|
|
965
|
+
readonly statusIcon: BooleanConstructor;
|
|
966
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
967
|
+
readonly size: {
|
|
968
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
969
|
+
readonly required: false;
|
|
970
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
971
|
+
__epPropKey: true;
|
|
972
|
+
};
|
|
973
|
+
readonly disabled: BooleanConstructor;
|
|
974
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
975
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
976
|
+
readonly scrollToError: BooleanConstructor;
|
|
977
|
+
}>> & {
|
|
978
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
979
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "labelPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "disabled" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
|
980
|
+
$attrs: {
|
|
981
|
+
[x: string]: unknown;
|
|
982
|
+
};
|
|
983
|
+
$refs: {
|
|
984
|
+
[x: string]: unknown;
|
|
985
|
+
};
|
|
986
|
+
$slots: Readonly<{
|
|
987
|
+
[name: string]: import("vue").Slot | undefined;
|
|
988
|
+
}>;
|
|
989
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
990
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
991
|
+
$emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
992
|
+
$el: any;
|
|
993
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
994
|
+
readonly model: ObjectConstructor;
|
|
995
|
+
readonly rules: {
|
|
996
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
997
|
+
readonly required: false;
|
|
998
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
999
|
+
__epPropKey: true;
|
|
1000
|
+
};
|
|
1001
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
1002
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
1003
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1004
|
+
readonly inline: BooleanConstructor;
|
|
1005
|
+
readonly inlineMessage: BooleanConstructor;
|
|
1006
|
+
readonly statusIcon: BooleanConstructor;
|
|
1007
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1008
|
+
readonly size: {
|
|
1009
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
1010
|
+
readonly required: false;
|
|
1011
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1012
|
+
__epPropKey: true;
|
|
1013
|
+
};
|
|
1014
|
+
readonly disabled: BooleanConstructor;
|
|
1015
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1016
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1017
|
+
readonly scrollToError: BooleanConstructor;
|
|
1018
|
+
}>> & {
|
|
1019
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1020
|
+
}, {
|
|
1021
|
+
COMPONENT_NAME: string;
|
|
1022
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1023
|
+
readonly model: ObjectConstructor;
|
|
1024
|
+
readonly rules: {
|
|
1025
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
1026
|
+
readonly required: false;
|
|
1027
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1028
|
+
__epPropKey: true;
|
|
1029
|
+
};
|
|
1030
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
1031
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
1032
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1033
|
+
readonly inline: BooleanConstructor;
|
|
1034
|
+
readonly inlineMessage: BooleanConstructor;
|
|
1035
|
+
readonly statusIcon: BooleanConstructor;
|
|
1036
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1037
|
+
readonly size: {
|
|
1038
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
1039
|
+
readonly required: false;
|
|
1040
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1041
|
+
__epPropKey: true;
|
|
1042
|
+
};
|
|
1043
|
+
readonly disabled: BooleanConstructor;
|
|
1044
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1045
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1046
|
+
readonly scrollToError: BooleanConstructor;
|
|
1047
|
+
}>> & {
|
|
1048
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1049
|
+
}>>;
|
|
1050
|
+
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
1051
|
+
fields: import("element-plus").FormItemContext[];
|
|
1052
|
+
formSize: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
1053
|
+
ns: {
|
|
1054
|
+
namespace: import("vue").ComputedRef<string>;
|
|
1055
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
1056
|
+
e: (element?: string | undefined) => string;
|
|
1057
|
+
m: (modifier?: string | undefined) => string;
|
|
1058
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
1059
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
1060
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
1061
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
1062
|
+
is: {
|
|
1063
|
+
(name: string, state: boolean | undefined): string;
|
|
1064
|
+
(name: string): string;
|
|
1065
|
+
};
|
|
1066
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
1067
|
+
cssVarName: (name: string) => string;
|
|
1068
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
1069
|
+
cssVarBlockName: (name: string) => string;
|
|
1070
|
+
};
|
|
1071
|
+
formClasses: import("vue").ComputedRef<(string | {
|
|
1072
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
1073
|
+
})[]>;
|
|
1074
|
+
addField: (field: import("element-plus").FormItemContext) => void;
|
|
1075
|
+
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
1076
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
1077
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
1078
|
+
isValidatable: import("vue").ComputedRef<boolean>;
|
|
1079
|
+
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
1080
|
+
validate: (callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
1081
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => Promise<boolean>;
|
|
1082
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined, callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
1083
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
1084
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1085
|
+
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
1086
|
+
}, string, {
|
|
1087
|
+
readonly disabled: boolean;
|
|
1088
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
1089
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
1090
|
+
readonly labelSuffix: string;
|
|
1091
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1092
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1093
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1094
|
+
readonly inline: boolean;
|
|
1095
|
+
readonly inlineMessage: boolean;
|
|
1096
|
+
readonly statusIcon: boolean;
|
|
1097
|
+
readonly scrollToError: boolean;
|
|
1098
|
+
}> & {
|
|
1099
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1100
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
1101
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
1102
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
1103
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
1104
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
1105
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
1106
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
1107
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
1108
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
1109
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
1110
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
1111
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
1112
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
1113
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
1114
|
+
};
|
|
1115
|
+
$forceUpdate: () => void;
|
|
1116
|
+
$nextTick: typeof import("vue").nextTick;
|
|
1117
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
1118
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
1119
|
+
readonly model: ObjectConstructor;
|
|
1120
|
+
readonly rules: {
|
|
1121
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
1122
|
+
readonly required: false;
|
|
1123
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1124
|
+
__epPropKey: true;
|
|
1125
|
+
};
|
|
1126
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
1127
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
1128
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1129
|
+
readonly inline: BooleanConstructor;
|
|
1130
|
+
readonly inlineMessage: BooleanConstructor;
|
|
1131
|
+
readonly statusIcon: BooleanConstructor;
|
|
1132
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1133
|
+
readonly size: {
|
|
1134
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
1135
|
+
readonly required: false;
|
|
1136
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1137
|
+
__epPropKey: true;
|
|
1138
|
+
};
|
|
1139
|
+
readonly disabled: BooleanConstructor;
|
|
1140
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1141
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1142
|
+
readonly scrollToError: BooleanConstructor;
|
|
1143
|
+
}>> & {
|
|
1144
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1145
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
1146
|
+
COMPONENT_NAME: string;
|
|
1147
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1148
|
+
readonly model: ObjectConstructor;
|
|
1149
|
+
readonly rules: {
|
|
1150
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<FormItemRule>>>>;
|
|
1151
|
+
readonly required: false;
|
|
1152
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1153
|
+
__epPropKey: true;
|
|
1154
|
+
};
|
|
1155
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
1156
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
1157
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1158
|
+
readonly inline: BooleanConstructor;
|
|
1159
|
+
readonly inlineMessage: BooleanConstructor;
|
|
1160
|
+
readonly statusIcon: BooleanConstructor;
|
|
1161
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1162
|
+
readonly size: {
|
|
1163
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
1164
|
+
readonly required: false;
|
|
1165
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1166
|
+
__epPropKey: true;
|
|
1167
|
+
};
|
|
1168
|
+
readonly disabled: BooleanConstructor;
|
|
1169
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1170
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1171
|
+
readonly scrollToError: BooleanConstructor;
|
|
1172
|
+
}>> & {
|
|
1173
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1174
|
+
}>>;
|
|
1175
|
+
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
1176
|
+
fields: import("element-plus").FormItemContext[];
|
|
1177
|
+
formSize: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
1178
|
+
ns: {
|
|
1179
|
+
namespace: import("vue").ComputedRef<string>;
|
|
1180
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
1181
|
+
e: (element?: string | undefined) => string;
|
|
1182
|
+
m: (modifier?: string | undefined) => string;
|
|
1183
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
1184
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
1185
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
1186
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
1187
|
+
is: {
|
|
1188
|
+
(name: string, state: boolean | undefined): string;
|
|
1189
|
+
(name: string): string;
|
|
1190
|
+
};
|
|
1191
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
1192
|
+
cssVarName: (name: string) => string;
|
|
1193
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
1194
|
+
cssVarBlockName: (name: string) => string;
|
|
1195
|
+
};
|
|
1196
|
+
formClasses: import("vue").ComputedRef<(string | {
|
|
1197
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
1198
|
+
})[]>;
|
|
1199
|
+
addField: (field: import("element-plus").FormItemContext) => void;
|
|
1200
|
+
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
1201
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
1202
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
1203
|
+
isValidatable: import("vue").ComputedRef<boolean>;
|
|
1204
|
+
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
1205
|
+
validate: (callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
1206
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => Promise<boolean>;
|
|
1207
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined, callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
1208
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
1209
|
+
}> & {} & {} & import("vue").ComponentCustomProperties) => any;
|
|
112
1210
|
}>;
|
|
113
1211
|
export default _default;
|