@funcho/ui 1.1.14 → 1.1.17
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/README.md +3 -0
- package/dist/cjs/business/DataTable/DataTable.vue.js +6 -0
- package/dist/cjs/business/EditFormCard/EditFormCard.vue.js +239 -0
- package/dist/cjs/business/EditFormCard/EditFormCard.vue3.js +10 -0
- package/dist/cjs/business/EditFormCard/index.js +12 -0
- package/dist/cjs/business/FormDialog/FormDialog.vue.js +129 -0
- package/dist/cjs/business/FormDialog/FormDialog.vue3.js +10 -0
- package/dist/cjs/business/FormDialog/index.js +12 -0
- package/dist/cjs/business/ProForm/ProForm.vue.js +45 -8
- package/dist/cjs/business/SidebarMainLayout/SidebarMainLayout.vue.js +1 -0
- package/dist/cjs/business/TreeCheckFilter/TreeCheckFilter.vue.js +1 -0
- package/dist/cjs/business/TreeTransfer/TreeTransfer.vue.js +1 -0
- package/dist/cjs/business/index.js +4 -0
- package/dist/cjs/components/Button/DangerButton.vue.js +2 -2
- package/dist/cjs/components/Cascader/Cascader.vue.js +3 -1
- package/dist/cjs/components/CheckboxGroup/CheckboxGroup.vue.js +3 -1
- package/dist/cjs/components/Dropdown/Dropdown.vue.js +3 -1
- package/dist/cjs/components/LovText/LovText.vue.js +61 -0
- package/dist/cjs/components/LovText/LovText.vue3.js +10 -0
- package/dist/cjs/components/LovText/index.js +12 -0
- package/dist/cjs/components/Radio/Radio.vue.js +3 -1
- package/dist/cjs/components/Select/Select.vue.js +3 -1
- package/dist/cjs/components/index.js +2 -0
- package/dist/cjs/index.js +22 -16
- package/dist/cjs/packages/ui/package.json.js +1 -1
- package/dist/esm/business/DataTable/DataTable.vue.mjs +6 -0
- package/dist/esm/business/EditFormCard/EditFormCard.vue.mjs +235 -0
- package/dist/esm/business/EditFormCard/EditFormCard.vue3.mjs +6 -0
- package/dist/esm/business/EditFormCard/index.mjs +7 -0
- package/dist/esm/business/FormDialog/FormDialog.vue.mjs +125 -0
- package/dist/esm/business/FormDialog/FormDialog.vue3.mjs +6 -0
- package/dist/esm/business/FormDialog/index.mjs +7 -0
- package/dist/esm/business/ProForm/ProForm.vue.mjs +46 -9
- package/dist/esm/business/SidebarMainLayout/SidebarMainLayout.vue.mjs +1 -0
- package/dist/esm/business/TreeCheckFilter/TreeCheckFilter.vue.mjs +1 -0
- package/dist/esm/business/TreeTransfer/TreeTransfer.vue.mjs +1 -0
- package/dist/esm/business/index.mjs +2 -0
- package/dist/esm/components/Button/DangerButton.vue.mjs +2 -2
- package/dist/esm/components/Cascader/Cascader.vue.mjs +3 -1
- package/dist/esm/components/CheckboxGroup/CheckboxGroup.vue.mjs +3 -1
- package/dist/esm/components/Dropdown/Dropdown.vue.mjs +3 -1
- package/dist/esm/components/LovText/LovText.vue.mjs +57 -0
- package/dist/esm/components/LovText/LovText.vue3.mjs +6 -0
- package/dist/esm/components/LovText/index.mjs +7 -0
- package/dist/esm/components/Radio/Radio.vue.mjs +3 -1
- package/dist/esm/components/Select/Select.vue.mjs +3 -1
- package/dist/esm/components/index.mjs +1 -0
- package/dist/esm/index.mjs +3 -0
- package/dist/esm/packages/ui/package.json.mjs +1 -1
- package/dist/style.css +14 -3
- package/dist/types/business/DataTable/DataTable.vue.d.ts +438 -1208
- package/dist/types/business/DataTable/index.d.ts +438 -1208
- package/dist/types/business/EditFormCard/EditFormCard.types.d.ts +1 -0
- package/dist/types/business/EditFormCard/EditFormCard.vue.d.ts +1169 -0
- package/dist/types/business/EditFormCard/index.d.ts +1569 -0
- package/dist/types/business/FormDialog/FormDialog.types.d.ts +1 -0
- package/dist/types/business/FormDialog/FormDialog.vue.d.ts +1006 -0
- package/dist/types/business/FormDialog/index.d.ts +1077 -0
- package/dist/types/business/ProForm/ProForm.types.d.ts +9 -0
- package/dist/types/business/ProForm/ProForm.vue.d.ts +37 -422
- package/dist/types/business/ProForm/index.d.ts +236 -1391
- package/dist/types/business/index.d.ts +2 -0
- package/dist/types/components/Cascader/Cascader.vue.d.ts +2 -0
- package/dist/types/components/Cascader/CascaderCheck.vue.d.ts +16 -2
- package/dist/types/components/Cascader/CascaderEnd.vue.d.ts +16 -2
- package/dist/types/components/Cascader/CascaderMultiple.vue.d.ts +16 -2
- package/dist/types/components/Cascader/index.d.ts +60 -3
- package/dist/types/components/CheckboxGroup/CheckboxGroup.vue.d.ts +2 -0
- package/dist/types/components/CheckboxGroup/index.d.ts +6 -0
- package/dist/types/components/DatePicker/BzDatePicker.vue.d.ts +9 -1
- package/dist/types/components/DatePicker/DatePicker.vue.d.ts +4 -0
- package/dist/types/components/DatePicker/DatePickerRanger.vue.d.ts +27 -3
- package/dist/types/components/DatePicker/DateTimePicker.vue.d.ts +26 -2
- package/dist/types/components/DatePicker/DateTimePickerRanger.vue.d.ts +27 -3
- package/dist/types/components/DatePicker/index.d.ts +126 -10
- package/dist/types/components/Dropdown/Dropdown.vue.d.ts +2 -0
- package/dist/types/components/Dropdown/index.d.ts +6 -0
- package/dist/types/components/LovText/LovText.types.d.ts +1 -0
- package/dist/types/components/LovText/LovText.vue.d.ts +13 -0
- package/dist/types/components/LovText/index.d.ts +45 -0
- package/dist/types/components/Menu/Menu.vue.d.ts +4 -0
- package/dist/types/components/Menu/index.d.ts +12 -0
- package/dist/types/components/Radio/Radio.vue.d.ts +2 -0
- package/dist/types/components/Radio/index.d.ts +6 -0
- package/dist/types/components/Select/Select.vue.d.ts +2 -0
- package/dist/types/components/Select/SelectAllowCreateSelect.vue.d.ts +12 -2
- package/dist/types/components/Select/SelectMultiple.vue.d.ts +12 -2
- package/dist/types/components/Select/index.d.ts +18 -2
- package/dist/types/components/Table/Table.vue.d.ts +6 -6
- package/dist/types/components/Text/Text.vue.d.ts +1 -81
- package/dist/types/components/Text/index.d.ts +3 -243
- package/dist/types/components/TimePicker/TimePicker.vue.d.ts +4 -0
- package/dist/types/components/TimePicker/index.d.ts +12 -0
- package/dist/types/components/TreeSelect/TreeSelect.vue.d.ts +2 -500
- package/dist/types/components/TreeSelect/index.d.ts +27 -1521
- package/dist/types/components/index.d.ts +1 -0
- package/package.json +6 -4
|
@@ -2,7 +2,7 @@ export declare const FcProForm: {
|
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./ProForm.types').TProFormProps> & Readonly<{}>, {
|
|
3
3
|
$: import('vue').ComponentInternalInstance;
|
|
4
4
|
$data: {};
|
|
5
|
-
$props: Partial<{
|
|
5
|
+
$props: Partial<{
|
|
6
6
|
labelWidth: string | number;
|
|
7
7
|
labelPosition: "left" | "right" | "top";
|
|
8
8
|
requireAsteriskPosition: "left" | "right";
|
|
@@ -34,424 +34,20 @@ export declare const FcProForm: {
|
|
|
34
34
|
};
|
|
35
35
|
$refs: {
|
|
36
36
|
[x: string]: unknown;
|
|
37
|
-
} & {
|
|
38
|
-
elRef: ({
|
|
39
|
-
$: import('vue').ComponentInternalInstance;
|
|
40
|
-
$data: {};
|
|
41
|
-
$props: Partial<{
|
|
42
|
-
labelWidth: string | number;
|
|
43
|
-
labelPosition: "left" | "right" | "top";
|
|
44
|
-
requireAsteriskPosition: "left" | "right";
|
|
45
|
-
labelSuffix: string;
|
|
46
|
-
showMessage: boolean;
|
|
47
|
-
validateOnRuleChange: boolean;
|
|
48
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
49
|
-
}> & Omit<{
|
|
50
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
51
|
-
readonly requireAsteriskPosition: "left" | "right";
|
|
52
|
-
readonly labelWidth: string | number;
|
|
53
|
-
readonly labelSuffix: string;
|
|
54
|
-
readonly showMessage: boolean;
|
|
55
|
-
readonly validateOnRuleChange: boolean;
|
|
56
|
-
readonly scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
57
|
-
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
58
|
-
readonly disabled?: boolean | undefined;
|
|
59
|
-
readonly model?: Record<string, any> | undefined;
|
|
60
|
-
readonly rules?: import('element-plus').FormRules | undefined;
|
|
61
|
-
readonly inline?: boolean | undefined;
|
|
62
|
-
readonly inlineMessage?: boolean | undefined;
|
|
63
|
-
readonly statusIcon?: boolean | undefined;
|
|
64
|
-
readonly hideRequiredAsterisk?: boolean | undefined;
|
|
65
|
-
readonly scrollToError?: boolean | undefined;
|
|
66
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
67
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions">;
|
|
68
|
-
$attrs: {
|
|
69
|
-
[x: string]: unknown;
|
|
70
|
-
};
|
|
71
|
-
$refs: {
|
|
72
|
-
[x: string]: unknown;
|
|
73
|
-
};
|
|
74
|
-
$slots: Readonly<{
|
|
75
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
76
|
-
}>;
|
|
77
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
78
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
79
|
-
$host: Element | null;
|
|
80
|
-
$emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
81
|
-
$el: any;
|
|
82
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
83
|
-
size: {
|
|
84
|
-
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
85
|
-
};
|
|
86
|
-
disabled: {
|
|
87
|
-
type: import('vue').PropType<boolean>;
|
|
88
|
-
};
|
|
89
|
-
model: {
|
|
90
|
-
type: import('vue').PropType<Record<string, any>>;
|
|
91
|
-
};
|
|
92
|
-
rules: {
|
|
93
|
-
type: import('vue').PropType<Partial<Record<string, Record<string, any> | import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>>;
|
|
94
|
-
};
|
|
95
|
-
labelPosition: {
|
|
96
|
-
type: import('vue').PropType<"top" | "left" | "right">;
|
|
97
|
-
default: string;
|
|
98
|
-
};
|
|
99
|
-
requireAsteriskPosition: {
|
|
100
|
-
type: import('vue').PropType<"left" | "right">;
|
|
101
|
-
default: string;
|
|
102
|
-
};
|
|
103
|
-
labelWidth: {
|
|
104
|
-
type: import('vue').PropType<string | number>;
|
|
105
|
-
default: string;
|
|
106
|
-
};
|
|
107
|
-
labelSuffix: {
|
|
108
|
-
type: import('vue').PropType<string>;
|
|
109
|
-
default: string;
|
|
110
|
-
};
|
|
111
|
-
inline: {
|
|
112
|
-
type: import('vue').PropType<boolean>;
|
|
113
|
-
};
|
|
114
|
-
inlineMessage: {
|
|
115
|
-
type: import('vue').PropType<boolean>;
|
|
116
|
-
};
|
|
117
|
-
statusIcon: {
|
|
118
|
-
type: import('vue').PropType<boolean>;
|
|
119
|
-
};
|
|
120
|
-
showMessage: {
|
|
121
|
-
type: import('vue').PropType<boolean>;
|
|
122
|
-
default: boolean;
|
|
123
|
-
};
|
|
124
|
-
validateOnRuleChange: {
|
|
125
|
-
type: import('vue').PropType<boolean>;
|
|
126
|
-
default: boolean;
|
|
127
|
-
};
|
|
128
|
-
hideRequiredAsterisk: {
|
|
129
|
-
type: import('vue').PropType<boolean>;
|
|
130
|
-
};
|
|
131
|
-
scrollToError: {
|
|
132
|
-
type: import('vue').PropType<boolean>;
|
|
133
|
-
};
|
|
134
|
-
scrollIntoViewOptions: {
|
|
135
|
-
type: import('vue').PropType<boolean | ScrollIntoViewOptions>;
|
|
136
|
-
default: boolean;
|
|
137
|
-
};
|
|
138
|
-
}>> & {
|
|
139
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
140
|
-
}, {
|
|
141
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
142
|
-
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
143
|
-
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
144
|
-
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
145
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
146
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
147
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
148
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
149
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
150
|
-
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
151
|
-
}, string, {
|
|
152
|
-
labelWidth: string | number;
|
|
153
|
-
labelPosition: "left" | "right" | "top";
|
|
154
|
-
requireAsteriskPosition: "left" | "right";
|
|
155
|
-
labelSuffix: string;
|
|
156
|
-
showMessage: boolean;
|
|
157
|
-
validateOnRuleChange: boolean;
|
|
158
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
159
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
160
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
161
|
-
created?: (() => void) | (() => void)[];
|
|
162
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
163
|
-
mounted?: (() => void) | (() => void)[];
|
|
164
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
165
|
-
updated?: (() => void) | (() => void)[];
|
|
166
|
-
activated?: (() => void) | (() => void)[];
|
|
167
|
-
deactivated?: (() => void) | (() => void)[];
|
|
168
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
169
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
170
|
-
destroyed?: (() => void) | (() => void)[];
|
|
171
|
-
unmounted?: (() => void) | (() => void)[];
|
|
172
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
173
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
174
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
175
|
-
};
|
|
176
|
-
$forceUpdate: () => void;
|
|
177
|
-
$nextTick: typeof import('vue').nextTick;
|
|
178
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
179
|
-
} & Readonly<{
|
|
180
|
-
labelWidth: string | number;
|
|
181
|
-
labelPosition: "left" | "right" | "top";
|
|
182
|
-
requireAsteriskPosition: "left" | "right";
|
|
183
|
-
labelSuffix: string;
|
|
184
|
-
showMessage: boolean;
|
|
185
|
-
validateOnRuleChange: boolean;
|
|
186
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
187
|
-
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
188
|
-
size: {
|
|
189
|
-
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
190
|
-
};
|
|
191
|
-
disabled: {
|
|
192
|
-
type: import('vue').PropType<boolean>;
|
|
193
|
-
};
|
|
194
|
-
model: {
|
|
195
|
-
type: import('vue').PropType<Record<string, any>>;
|
|
196
|
-
};
|
|
197
|
-
rules: {
|
|
198
|
-
type: import('vue').PropType<Partial<Record<string, Record<string, any> | import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>>;
|
|
199
|
-
};
|
|
200
|
-
labelPosition: {
|
|
201
|
-
type: import('vue').PropType<"top" | "left" | "right">;
|
|
202
|
-
default: string;
|
|
203
|
-
};
|
|
204
|
-
requireAsteriskPosition: {
|
|
205
|
-
type: import('vue').PropType<"left" | "right">;
|
|
206
|
-
default: string;
|
|
207
|
-
};
|
|
208
|
-
labelWidth: {
|
|
209
|
-
type: import('vue').PropType<string | number>;
|
|
210
|
-
default: string;
|
|
211
|
-
};
|
|
212
|
-
labelSuffix: {
|
|
213
|
-
type: import('vue').PropType<string>;
|
|
214
|
-
default: string;
|
|
215
|
-
};
|
|
216
|
-
inline: {
|
|
217
|
-
type: import('vue').PropType<boolean>;
|
|
218
|
-
};
|
|
219
|
-
inlineMessage: {
|
|
220
|
-
type: import('vue').PropType<boolean>;
|
|
221
|
-
};
|
|
222
|
-
statusIcon: {
|
|
223
|
-
type: import('vue').PropType<boolean>;
|
|
224
|
-
};
|
|
225
|
-
showMessage: {
|
|
226
|
-
type: import('vue').PropType<boolean>;
|
|
227
|
-
default: boolean;
|
|
228
|
-
};
|
|
229
|
-
validateOnRuleChange: {
|
|
230
|
-
type: import('vue').PropType<boolean>;
|
|
231
|
-
default: boolean;
|
|
232
|
-
};
|
|
233
|
-
hideRequiredAsterisk: {
|
|
234
|
-
type: import('vue').PropType<boolean>;
|
|
235
|
-
};
|
|
236
|
-
scrollToError: {
|
|
237
|
-
type: import('vue').PropType<boolean>;
|
|
238
|
-
};
|
|
239
|
-
scrollIntoViewOptions: {
|
|
240
|
-
type: import('vue').PropType<boolean | ScrollIntoViewOptions>;
|
|
241
|
-
default: boolean;
|
|
242
|
-
};
|
|
243
|
-
}>> & {
|
|
244
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
245
|
-
}, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
246
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
247
|
-
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
248
|
-
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
249
|
-
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
250
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
251
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
252
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
253
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
254
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
255
|
-
$slots: {
|
|
256
|
-
default?: (props: {}) => any;
|
|
257
|
-
};
|
|
258
|
-
}) | null;
|
|
259
37
|
};
|
|
260
|
-
$slots:
|
|
38
|
+
$slots: Readonly<{
|
|
39
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
40
|
+
}> & {
|
|
41
|
+
default?: (props: {}) => any;
|
|
42
|
+
};
|
|
261
43
|
$root: import('vue').ComponentPublicInstance | null;
|
|
262
44
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
263
45
|
$host: Element | null;
|
|
264
|
-
$emit: (
|
|
46
|
+
$emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
265
47
|
$el: any;
|
|
266
|
-
$options: import('vue').ComponentOptionsBase<Readonly<
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
$props: Partial<{
|
|
270
|
-
labelWidth: string | number;
|
|
271
|
-
labelPosition: "left" | "right" | "top";
|
|
272
|
-
requireAsteriskPosition: "left" | "right";
|
|
273
|
-
labelSuffix: string;
|
|
274
|
-
showMessage: boolean;
|
|
275
|
-
validateOnRuleChange: boolean;
|
|
276
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
277
|
-
}> & Omit<{
|
|
278
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
279
|
-
readonly requireAsteriskPosition: "left" | "right";
|
|
280
|
-
readonly labelWidth: string | number;
|
|
281
|
-
readonly labelSuffix: string;
|
|
282
|
-
readonly showMessage: boolean;
|
|
283
|
-
readonly validateOnRuleChange: boolean;
|
|
284
|
-
readonly scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
285
|
-
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
286
|
-
readonly disabled?: boolean | undefined;
|
|
287
|
-
readonly model?: Record<string, any> | undefined;
|
|
288
|
-
readonly rules?: import('element-plus').FormRules | undefined;
|
|
289
|
-
readonly inline?: boolean | undefined;
|
|
290
|
-
readonly inlineMessage?: boolean | undefined;
|
|
291
|
-
readonly statusIcon?: boolean | undefined;
|
|
292
|
-
readonly hideRequiredAsterisk?: boolean | undefined;
|
|
293
|
-
readonly scrollToError?: boolean | undefined;
|
|
294
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
295
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions">;
|
|
296
|
-
$attrs: {
|
|
297
|
-
[x: string]: unknown;
|
|
298
|
-
};
|
|
299
|
-
$refs: {
|
|
300
|
-
[x: string]: unknown;
|
|
301
|
-
};
|
|
302
|
-
$slots: Readonly<{
|
|
303
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
304
|
-
}> & {
|
|
305
|
-
default?: (props: {}) => any;
|
|
306
|
-
};
|
|
307
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
308
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
309
|
-
$host: Element | null;
|
|
310
|
-
$emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
311
|
-
$el: any;
|
|
312
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
313
|
-
size: {
|
|
314
|
-
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
315
|
-
};
|
|
316
|
-
disabled: {
|
|
317
|
-
type: import('vue').PropType<boolean>;
|
|
318
|
-
};
|
|
319
|
-
model: {
|
|
320
|
-
type: import('vue').PropType<Record<string, any>>;
|
|
321
|
-
};
|
|
322
|
-
rules: {
|
|
323
|
-
type: import('vue').PropType<Partial<Record<string, Record<string, any> | import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>>;
|
|
324
|
-
};
|
|
325
|
-
labelPosition: {
|
|
326
|
-
type: import('vue').PropType<"top" | "left" | "right">;
|
|
327
|
-
default: string;
|
|
328
|
-
};
|
|
329
|
-
requireAsteriskPosition: {
|
|
330
|
-
type: import('vue').PropType<"left" | "right">;
|
|
331
|
-
default: string;
|
|
332
|
-
};
|
|
333
|
-
labelWidth: {
|
|
334
|
-
type: import('vue').PropType<string | number>;
|
|
335
|
-
default: string;
|
|
336
|
-
};
|
|
337
|
-
labelSuffix: {
|
|
338
|
-
type: import('vue').PropType<string>;
|
|
339
|
-
default: string;
|
|
340
|
-
};
|
|
341
|
-
inline: {
|
|
342
|
-
type: import('vue').PropType<boolean>;
|
|
343
|
-
};
|
|
344
|
-
inlineMessage: {
|
|
345
|
-
type: import('vue').PropType<boolean>;
|
|
346
|
-
};
|
|
347
|
-
statusIcon: {
|
|
348
|
-
type: import('vue').PropType<boolean>;
|
|
349
|
-
};
|
|
350
|
-
showMessage: {
|
|
351
|
-
type: import('vue').PropType<boolean>;
|
|
352
|
-
default: boolean;
|
|
353
|
-
};
|
|
354
|
-
validateOnRuleChange: {
|
|
355
|
-
type: import('vue').PropType<boolean>;
|
|
356
|
-
default: boolean;
|
|
357
|
-
};
|
|
358
|
-
hideRequiredAsterisk: {
|
|
359
|
-
type: import('vue').PropType<boolean>;
|
|
360
|
-
};
|
|
361
|
-
scrollToError: {
|
|
362
|
-
type: import('vue').PropType<boolean>;
|
|
363
|
-
};
|
|
364
|
-
scrollIntoViewOptions: {
|
|
365
|
-
type: import('vue').PropType<boolean | ScrollIntoViewOptions>;
|
|
366
|
-
default: boolean;
|
|
367
|
-
};
|
|
368
|
-
}>> & {
|
|
369
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
370
|
-
}, {
|
|
371
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
372
|
-
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
373
|
-
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
374
|
-
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
375
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
376
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
377
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
378
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
379
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
380
|
-
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
381
|
-
}, string, {
|
|
382
|
-
labelWidth: string | number;
|
|
383
|
-
labelPosition: "left" | "right" | "top";
|
|
384
|
-
requireAsteriskPosition: "left" | "right";
|
|
385
|
-
labelSuffix: string;
|
|
386
|
-
showMessage: boolean;
|
|
387
|
-
validateOnRuleChange: boolean;
|
|
388
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
389
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
390
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
391
|
-
created?: (() => void) | (() => void)[];
|
|
392
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
393
|
-
mounted?: (() => void) | (() => void)[];
|
|
394
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
395
|
-
updated?: (() => void) | (() => void)[];
|
|
396
|
-
activated?: (() => void) | (() => void)[];
|
|
397
|
-
deactivated?: (() => void) | (() => void)[];
|
|
398
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
399
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
400
|
-
destroyed?: (() => void) | (() => void)[];
|
|
401
|
-
unmounted?: (() => void) | (() => void)[];
|
|
402
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
403
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
404
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
405
|
-
};
|
|
406
|
-
$forceUpdate: () => void;
|
|
407
|
-
$nextTick: typeof import('vue').nextTick;
|
|
408
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
409
|
-
labelWidth: string | number;
|
|
410
|
-
labelPosition: "left" | "right" | "top";
|
|
411
|
-
requireAsteriskPosition: "left" | "right";
|
|
412
|
-
labelSuffix: string;
|
|
413
|
-
showMessage: boolean;
|
|
414
|
-
validateOnRuleChange: boolean;
|
|
415
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
416
|
-
size?: import('element-plus').ComponentSize;
|
|
417
|
-
disabled?: boolean;
|
|
418
|
-
model?: Record<string, any>;
|
|
419
|
-
rules?: import('element-plus').FormRules;
|
|
420
|
-
inline?: boolean;
|
|
421
|
-
inlineMessage?: boolean;
|
|
422
|
-
statusIcon?: boolean;
|
|
423
|
-
hideRequiredAsterisk?: boolean;
|
|
424
|
-
scrollToError?: boolean;
|
|
425
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
426
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
427
|
-
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
428
|
-
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
429
|
-
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
430
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
431
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
432
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
433
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
434
|
-
$route: import('vue-router').TypesConfig extends Record<"$route", infer T> ? T : import('vue-router').RouteLocationNormalizedLoaded;
|
|
435
|
-
$router: import('vue-router').TypesConfig extends Record<"$router", infer T> ? T : import('vue-router').Router;
|
|
436
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
437
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
438
|
-
created?: (() => void) | (() => void)[];
|
|
439
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
440
|
-
mounted?: (() => void) | (() => void)[];
|
|
441
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
442
|
-
updated?: (() => void) | (() => void)[];
|
|
443
|
-
activated?: (() => void) | (() => void)[];
|
|
444
|
-
deactivated?: (() => void) | (() => void)[];
|
|
445
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
446
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
447
|
-
destroyed?: (() => void) | (() => void)[];
|
|
448
|
-
unmounted?: (() => void) | (() => void)[];
|
|
449
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
450
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
451
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
452
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
453
|
-
size: {
|
|
454
|
-
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
48
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
49
|
+
size: {
|
|
50
|
+
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
455
51
|
};
|
|
456
52
|
disabled: {
|
|
457
53
|
type: import('vue').PropType<boolean>;
|
|
@@ -526,10 +122,26 @@ export declare const FcProForm: {
|
|
|
526
122
|
showMessage: boolean;
|
|
527
123
|
validateOnRuleChange: boolean;
|
|
528
124
|
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
529
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions
|
|
125
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
126
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
127
|
+
created?: (() => void) | (() => void)[];
|
|
128
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
129
|
+
mounted?: (() => void) | (() => void)[];
|
|
130
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
131
|
+
updated?: (() => void) | (() => void)[];
|
|
132
|
+
activated?: (() => void) | (() => void)[];
|
|
133
|
+
deactivated?: (() => void) | (() => void)[];
|
|
134
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
135
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
136
|
+
destroyed?: (() => void) | (() => void)[];
|
|
137
|
+
unmounted?: (() => void) | (() => void)[];
|
|
138
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
139
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
140
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
141
|
+
};
|
|
530
142
|
$forceUpdate: () => void;
|
|
531
143
|
$nextTick: typeof import('vue').nextTick;
|
|
532
|
-
$watch
|
|
144
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
533
145
|
labelWidth: string | number;
|
|
534
146
|
labelPosition: "left" | "right" | "top";
|
|
535
147
|
requireAsteriskPosition: "left" | "right";
|
|
@@ -537,15 +149,15 @@ export declare const FcProForm: {
|
|
|
537
149
|
showMessage: boolean;
|
|
538
150
|
validateOnRuleChange: boolean;
|
|
539
151
|
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
540
|
-
size?: import('element-plus').ComponentSize
|
|
541
|
-
disabled?: boolean
|
|
152
|
+
size?: import('element-plus').ComponentSize;
|
|
153
|
+
disabled?: boolean;
|
|
542
154
|
model: any;
|
|
543
|
-
rules?: import('element-plus').FormRules
|
|
544
|
-
inline?: boolean
|
|
545
|
-
inlineMessage?: boolean
|
|
546
|
-
statusIcon?: boolean
|
|
547
|
-
hideRequiredAsterisk?: boolean
|
|
548
|
-
scrollToError?: boolean
|
|
155
|
+
rules?: import('element-plus').FormRules;
|
|
156
|
+
inline?: boolean;
|
|
157
|
+
inlineMessage?: boolean;
|
|
158
|
+
statusIcon?: boolean;
|
|
159
|
+
hideRequiredAsterisk?: boolean;
|
|
160
|
+
scrollToError?: boolean;
|
|
549
161
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
550
162
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
551
163
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
@@ -559,9 +171,12 @@ export declare const FcProForm: {
|
|
|
559
171
|
$router: import('vue-router').TypesConfig extends Record<"$router", infer T> ? T : import('vue-router').Router;
|
|
560
172
|
setValues: (data: Record<string, any>) => void;
|
|
561
173
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
174
|
+
rules: import('element-plus').FormRules;
|
|
562
175
|
labelPosition: "top" | "left" | "right";
|
|
176
|
+
labelWidth: string | number;
|
|
563
177
|
inline: boolean;
|
|
564
178
|
fields: Array<import('./ProForm.types').TProFormField>;
|
|
179
|
+
columns: number | "auto-fill" | "auto-fit";
|
|
565
180
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
566
181
|
formRef: ({
|
|
567
182
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -910,873 +525,90 @@ export declare const FcProForm: {
|
|
|
910
525
|
}, {
|
|
911
526
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
912
527
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
913
|
-
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
914
|
-
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
915
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
916
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
917
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
918
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
919
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
920
|
-
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
921
|
-
}, string, {
|
|
922
|
-
labelWidth: string | number;
|
|
923
|
-
labelPosition: "left" | "right" | "top";
|
|
924
|
-
requireAsteriskPosition: "left" | "right";
|
|
925
|
-
labelSuffix: string;
|
|
926
|
-
showMessage: boolean;
|
|
927
|
-
validateOnRuleChange: boolean;
|
|
928
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
929
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
930
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
931
|
-
created?: (() => void) | (() => void)[];
|
|
932
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
933
|
-
mounted?: (() => void) | (() => void)[];
|
|
934
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
935
|
-
updated?: (() => void) | (() => void)[];
|
|
936
|
-
activated?: (() => void) | (() => void)[];
|
|
937
|
-
deactivated?: (() => void) | (() => void)[];
|
|
938
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
939
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
940
|
-
destroyed?: (() => void) | (() => void)[];
|
|
941
|
-
unmounted?: (() => void) | (() => void)[];
|
|
942
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
943
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
944
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
945
|
-
};
|
|
946
|
-
$forceUpdate: () => void;
|
|
947
|
-
$nextTick: typeof import('vue').nextTick;
|
|
948
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
949
|
-
labelWidth: string | number;
|
|
950
|
-
labelPosition: "left" | "right" | "top";
|
|
951
|
-
requireAsteriskPosition: "left" | "right";
|
|
952
|
-
labelSuffix: string;
|
|
953
|
-
showMessage: boolean;
|
|
954
|
-
validateOnRuleChange: boolean;
|
|
955
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
956
|
-
size?: import('element-plus').ComponentSize;
|
|
957
|
-
disabled?: boolean;
|
|
958
|
-
model?: Record<string, any>;
|
|
959
|
-
rules?: import('element-plus').FormRules;
|
|
960
|
-
inline?: boolean;
|
|
961
|
-
inlineMessage?: boolean;
|
|
962
|
-
statusIcon?: boolean;
|
|
963
|
-
hideRequiredAsterisk?: boolean;
|
|
964
|
-
scrollToError?: boolean;
|
|
965
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
966
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
967
|
-
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
968
|
-
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
969
|
-
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
970
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
971
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
972
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
973
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
974
|
-
$route: import('vue-router').TypesConfig extends Record<"$route", infer T> ? T : import('vue-router').RouteLocationNormalizedLoaded;
|
|
975
|
-
$router: import('vue-router').TypesConfig extends Record<"$router", infer T> ? T : import('vue-router').Router;
|
|
976
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
977
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
978
|
-
created?: (() => void) | (() => void)[];
|
|
979
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
980
|
-
mounted?: (() => void) | (() => void)[];
|
|
981
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
982
|
-
updated?: (() => void) | (() => void)[];
|
|
983
|
-
activated?: (() => void) | (() => void)[];
|
|
984
|
-
deactivated?: (() => void) | (() => void)[];
|
|
985
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
986
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
987
|
-
destroyed?: (() => void) | (() => void)[];
|
|
988
|
-
unmounted?: (() => void) | (() => void)[];
|
|
989
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
990
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
991
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
992
|
-
};
|
|
993
|
-
$forceUpdate: () => void;
|
|
994
|
-
$nextTick: typeof import('vue').nextTick;
|
|
995
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
996
|
-
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "size" | "disabled" | "$" | "$data" | "$props" | "$attrs" | "$refs" | "$slots" | "$root" | "$parent" | "$host" | "$emit" | "$el" | "$options" | "$forceUpdate" | "$nextTick" | "$watch" | "$route" | "$router" | "model" | "rules" | "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues" | "onValidate"> & import('vue').ShallowUnwrapRef<{
|
|
997
|
-
$: import('vue').ComponentInternalInstance;
|
|
998
|
-
$data: {};
|
|
999
|
-
$props: Partial<{
|
|
1000
|
-
labelWidth: string | number;
|
|
1001
|
-
labelPosition: "left" | "right" | "top";
|
|
1002
|
-
requireAsteriskPosition: "left" | "right";
|
|
1003
|
-
labelSuffix: string;
|
|
1004
|
-
showMessage: boolean;
|
|
1005
|
-
validateOnRuleChange: boolean;
|
|
1006
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1007
|
-
}> & Omit<{
|
|
1008
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
1009
|
-
readonly requireAsteriskPosition: "left" | "right";
|
|
1010
|
-
readonly labelWidth: string | number;
|
|
1011
|
-
readonly labelSuffix: string;
|
|
1012
|
-
readonly showMessage: boolean;
|
|
1013
|
-
readonly validateOnRuleChange: boolean;
|
|
1014
|
-
readonly scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1015
|
-
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
1016
|
-
readonly disabled?: boolean | undefined;
|
|
1017
|
-
readonly model?: Record<string, any> | undefined;
|
|
1018
|
-
readonly rules?: import('element-plus').FormRules | undefined;
|
|
1019
|
-
readonly inline?: boolean | undefined;
|
|
1020
|
-
readonly inlineMessage?: boolean | undefined;
|
|
1021
|
-
readonly statusIcon?: boolean | undefined;
|
|
1022
|
-
readonly hideRequiredAsterisk?: boolean | undefined;
|
|
1023
|
-
readonly scrollToError?: boolean | undefined;
|
|
1024
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
1025
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions">;
|
|
1026
|
-
$attrs: {
|
|
1027
|
-
[x: string]: unknown;
|
|
1028
|
-
};
|
|
1029
|
-
$refs: {
|
|
1030
|
-
[x: string]: unknown;
|
|
1031
|
-
};
|
|
1032
|
-
$slots: Readonly<{
|
|
1033
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
1034
|
-
}> & {
|
|
1035
|
-
default?: (props: {}) => any;
|
|
1036
|
-
};
|
|
1037
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
1038
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
1039
|
-
$host: Element | null;
|
|
1040
|
-
$emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
1041
|
-
$el: any;
|
|
1042
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
1043
|
-
size: {
|
|
1044
|
-
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
1045
|
-
};
|
|
1046
|
-
disabled: {
|
|
1047
|
-
type: import('vue').PropType<boolean>;
|
|
1048
|
-
};
|
|
1049
|
-
model: {
|
|
1050
|
-
type: import('vue').PropType<Record<string, any>>;
|
|
1051
|
-
};
|
|
1052
|
-
rules: {
|
|
1053
|
-
type: import('vue').PropType<Partial<Record<string, Record<string, any> | import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>>;
|
|
1054
|
-
};
|
|
1055
|
-
labelPosition: {
|
|
1056
|
-
type: import('vue').PropType<"top" | "left" | "right">;
|
|
1057
|
-
default: string;
|
|
1058
|
-
};
|
|
1059
|
-
requireAsteriskPosition: {
|
|
1060
|
-
type: import('vue').PropType<"left" | "right">;
|
|
1061
|
-
default: string;
|
|
1062
|
-
};
|
|
1063
|
-
labelWidth: {
|
|
1064
|
-
type: import('vue').PropType<string | number>;
|
|
1065
|
-
default: string;
|
|
1066
|
-
};
|
|
1067
|
-
labelSuffix: {
|
|
1068
|
-
type: import('vue').PropType<string>;
|
|
1069
|
-
default: string;
|
|
1070
|
-
};
|
|
1071
|
-
inline: {
|
|
1072
|
-
type: import('vue').PropType<boolean>;
|
|
1073
|
-
};
|
|
1074
|
-
inlineMessage: {
|
|
1075
|
-
type: import('vue').PropType<boolean>;
|
|
1076
|
-
};
|
|
1077
|
-
statusIcon: {
|
|
1078
|
-
type: import('vue').PropType<boolean>;
|
|
1079
|
-
};
|
|
1080
|
-
showMessage: {
|
|
1081
|
-
type: import('vue').PropType<boolean>;
|
|
1082
|
-
default: boolean;
|
|
1083
|
-
};
|
|
1084
|
-
validateOnRuleChange: {
|
|
1085
|
-
type: import('vue').PropType<boolean>;
|
|
1086
|
-
default: boolean;
|
|
1087
|
-
};
|
|
1088
|
-
hideRequiredAsterisk: {
|
|
1089
|
-
type: import('vue').PropType<boolean>;
|
|
1090
|
-
};
|
|
1091
|
-
scrollToError: {
|
|
1092
|
-
type: import('vue').PropType<boolean>;
|
|
1093
|
-
};
|
|
1094
|
-
scrollIntoViewOptions: {
|
|
1095
|
-
type: import('vue').PropType<boolean | ScrollIntoViewOptions>;
|
|
1096
|
-
default: boolean;
|
|
1097
|
-
};
|
|
1098
|
-
}>> & {
|
|
1099
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1100
|
-
}, {
|
|
1101
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1102
|
-
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1103
|
-
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
1104
|
-
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
1105
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
1106
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
1107
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
1108
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
1109
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1110
|
-
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
1111
|
-
}, string, {
|
|
1112
|
-
labelWidth: string | number;
|
|
1113
|
-
labelPosition: "left" | "right" | "top";
|
|
1114
|
-
requireAsteriskPosition: "left" | "right";
|
|
1115
|
-
labelSuffix: string;
|
|
1116
|
-
showMessage: boolean;
|
|
1117
|
-
validateOnRuleChange: boolean;
|
|
1118
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1119
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1120
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
1121
|
-
created?: (() => void) | (() => void)[];
|
|
1122
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
1123
|
-
mounted?: (() => void) | (() => void)[];
|
|
1124
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
1125
|
-
updated?: (() => void) | (() => void)[];
|
|
1126
|
-
activated?: (() => void) | (() => void)[];
|
|
1127
|
-
deactivated?: (() => void) | (() => void)[];
|
|
1128
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
1129
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
1130
|
-
destroyed?: (() => void) | (() => void)[];
|
|
1131
|
-
unmounted?: (() => void) | (() => void)[];
|
|
1132
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1133
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1134
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1135
|
-
};
|
|
1136
|
-
$forceUpdate: () => void;
|
|
1137
|
-
$nextTick: typeof import('vue').nextTick;
|
|
1138
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
1139
|
-
labelWidth: string | number;
|
|
1140
|
-
labelPosition: "left" | "right" | "top";
|
|
1141
|
-
requireAsteriskPosition: "left" | "right";
|
|
1142
|
-
labelSuffix: string;
|
|
1143
|
-
showMessage: boolean;
|
|
1144
|
-
validateOnRuleChange: boolean;
|
|
1145
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1146
|
-
size?: import('element-plus').ComponentSize;
|
|
1147
|
-
disabled?: boolean;
|
|
1148
|
-
model?: Record<string, any>;
|
|
1149
|
-
rules?: import('element-plus').FormRules;
|
|
1150
|
-
inline?: boolean;
|
|
1151
|
-
inlineMessage?: boolean;
|
|
1152
|
-
statusIcon?: boolean;
|
|
1153
|
-
hideRequiredAsterisk?: boolean;
|
|
1154
|
-
scrollToError?: boolean;
|
|
1155
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
1156
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1157
|
-
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1158
|
-
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
1159
|
-
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
1160
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
1161
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
1162
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
1163
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
1164
|
-
$route: import('vue-router').TypesConfig extends Record<"$route", infer T> ? T : import('vue-router').RouteLocationNormalizedLoaded;
|
|
1165
|
-
$router: import('vue-router').TypesConfig extends Record<"$router", infer T> ? T : import('vue-router').Router;
|
|
1166
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1167
|
-
$slots: any;
|
|
1168
|
-
}) | null;
|
|
1169
|
-
}, any, import('vue').ComponentProvideOptions, {
|
|
1170
|
-
P: {};
|
|
1171
|
-
B: {};
|
|
1172
|
-
D: {};
|
|
1173
|
-
C: {};
|
|
1174
|
-
M: {};
|
|
1175
|
-
Defaults: {};
|
|
1176
|
-
}, Readonly<import('./ProForm.types').TProFormProps> & Readonly<{}>, {
|
|
1177
|
-
$: import('vue').ComponentInternalInstance;
|
|
1178
|
-
$data: {};
|
|
1179
|
-
$props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never> & Partial<{
|
|
1180
|
-
labelWidth: string | number;
|
|
1181
|
-
labelPosition: "left" | "right" | "top";
|
|
1182
|
-
requireAsteriskPosition: "left" | "right";
|
|
1183
|
-
labelSuffix: string;
|
|
1184
|
-
showMessage: boolean;
|
|
1185
|
-
validateOnRuleChange: boolean;
|
|
1186
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1187
|
-
}> & Omit<{
|
|
1188
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
1189
|
-
readonly requireAsteriskPosition: "left" | "right";
|
|
1190
|
-
readonly labelWidth: string | number;
|
|
1191
|
-
readonly labelSuffix: string;
|
|
1192
|
-
readonly showMessage: boolean;
|
|
1193
|
-
readonly validateOnRuleChange: boolean;
|
|
1194
|
-
readonly scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1195
|
-
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
1196
|
-
readonly disabled?: boolean | undefined;
|
|
1197
|
-
readonly model?: Record<string, any> | undefined;
|
|
1198
|
-
readonly rules?: import('element-plus').FormRules | undefined;
|
|
1199
|
-
readonly inline?: boolean | undefined;
|
|
1200
|
-
readonly inlineMessage?: boolean | undefined;
|
|
1201
|
-
readonly statusIcon?: boolean | undefined;
|
|
1202
|
-
readonly hideRequiredAsterisk?: boolean | undefined;
|
|
1203
|
-
readonly scrollToError?: boolean | undefined;
|
|
1204
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
1205
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions">;
|
|
1206
|
-
$attrs: {
|
|
1207
|
-
[x: string]: unknown;
|
|
1208
|
-
};
|
|
1209
|
-
$refs: {
|
|
1210
|
-
[x: string]: unknown;
|
|
1211
|
-
} & {
|
|
1212
|
-
elRef: ({
|
|
1213
|
-
$: import('vue').ComponentInternalInstance;
|
|
1214
|
-
$data: {};
|
|
1215
|
-
$props: Partial<{
|
|
1216
|
-
labelWidth: string | number;
|
|
1217
|
-
labelPosition: "left" | "right" | "top";
|
|
1218
|
-
requireAsteriskPosition: "left" | "right";
|
|
1219
|
-
labelSuffix: string;
|
|
1220
|
-
showMessage: boolean;
|
|
1221
|
-
validateOnRuleChange: boolean;
|
|
1222
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1223
|
-
}> & Omit<{
|
|
1224
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
1225
|
-
readonly requireAsteriskPosition: "left" | "right";
|
|
1226
|
-
readonly labelWidth: string | number;
|
|
1227
|
-
readonly labelSuffix: string;
|
|
1228
|
-
readonly showMessage: boolean;
|
|
1229
|
-
readonly validateOnRuleChange: boolean;
|
|
1230
|
-
readonly scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1231
|
-
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
1232
|
-
readonly disabled?: boolean | undefined;
|
|
1233
|
-
readonly model?: Record<string, any> | undefined;
|
|
1234
|
-
readonly rules?: import('element-plus').FormRules | undefined;
|
|
1235
|
-
readonly inline?: boolean | undefined;
|
|
1236
|
-
readonly inlineMessage?: boolean | undefined;
|
|
1237
|
-
readonly statusIcon?: boolean | undefined;
|
|
1238
|
-
readonly hideRequiredAsterisk?: boolean | undefined;
|
|
1239
|
-
readonly scrollToError?: boolean | undefined;
|
|
1240
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
1241
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions">;
|
|
1242
|
-
$attrs: {
|
|
1243
|
-
[x: string]: unknown;
|
|
1244
|
-
};
|
|
1245
|
-
$refs: {
|
|
1246
|
-
[x: string]: unknown;
|
|
1247
|
-
};
|
|
1248
|
-
$slots: Readonly<{
|
|
1249
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
1250
|
-
}>;
|
|
1251
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
1252
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
1253
|
-
$host: Element | null;
|
|
1254
|
-
$emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
1255
|
-
$el: any;
|
|
1256
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
1257
|
-
size: {
|
|
1258
|
-
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
1259
|
-
};
|
|
1260
|
-
disabled: {
|
|
1261
|
-
type: import('vue').PropType<boolean>;
|
|
1262
|
-
};
|
|
1263
|
-
model: {
|
|
1264
|
-
type: import('vue').PropType<Record<string, any>>;
|
|
1265
|
-
};
|
|
1266
|
-
rules: {
|
|
1267
|
-
type: import('vue').PropType<Partial<Record<string, Record<string, any> | import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>>;
|
|
1268
|
-
};
|
|
1269
|
-
labelPosition: {
|
|
1270
|
-
type: import('vue').PropType<"top" | "left" | "right">;
|
|
1271
|
-
default: string;
|
|
1272
|
-
};
|
|
1273
|
-
requireAsteriskPosition: {
|
|
1274
|
-
type: import('vue').PropType<"left" | "right">;
|
|
1275
|
-
default: string;
|
|
1276
|
-
};
|
|
1277
|
-
labelWidth: {
|
|
1278
|
-
type: import('vue').PropType<string | number>;
|
|
1279
|
-
default: string;
|
|
1280
|
-
};
|
|
1281
|
-
labelSuffix: {
|
|
1282
|
-
type: import('vue').PropType<string>;
|
|
1283
|
-
default: string;
|
|
1284
|
-
};
|
|
1285
|
-
inline: {
|
|
1286
|
-
type: import('vue').PropType<boolean>;
|
|
1287
|
-
};
|
|
1288
|
-
inlineMessage: {
|
|
1289
|
-
type: import('vue').PropType<boolean>;
|
|
1290
|
-
};
|
|
1291
|
-
statusIcon: {
|
|
1292
|
-
type: import('vue').PropType<boolean>;
|
|
1293
|
-
};
|
|
1294
|
-
showMessage: {
|
|
1295
|
-
type: import('vue').PropType<boolean>;
|
|
1296
|
-
default: boolean;
|
|
1297
|
-
};
|
|
1298
|
-
validateOnRuleChange: {
|
|
1299
|
-
type: import('vue').PropType<boolean>;
|
|
1300
|
-
default: boolean;
|
|
1301
|
-
};
|
|
1302
|
-
hideRequiredAsterisk: {
|
|
1303
|
-
type: import('vue').PropType<boolean>;
|
|
1304
|
-
};
|
|
1305
|
-
scrollToError: {
|
|
1306
|
-
type: import('vue').PropType<boolean>;
|
|
1307
|
-
};
|
|
1308
|
-
scrollIntoViewOptions: {
|
|
1309
|
-
type: import('vue').PropType<boolean | ScrollIntoViewOptions>;
|
|
1310
|
-
default: boolean;
|
|
1311
|
-
};
|
|
1312
|
-
}>> & {
|
|
1313
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1314
|
-
}, {
|
|
1315
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1316
|
-
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1317
|
-
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
1318
|
-
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
1319
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
1320
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
1321
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
1322
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
1323
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1324
|
-
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
1325
|
-
}, string, {
|
|
1326
|
-
labelWidth: string | number;
|
|
1327
|
-
labelPosition: "left" | "right" | "top";
|
|
1328
|
-
requireAsteriskPosition: "left" | "right";
|
|
1329
|
-
labelSuffix: string;
|
|
1330
|
-
showMessage: boolean;
|
|
1331
|
-
validateOnRuleChange: boolean;
|
|
1332
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1333
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1334
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
1335
|
-
created?: (() => void) | (() => void)[];
|
|
1336
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
1337
|
-
mounted?: (() => void) | (() => void)[];
|
|
1338
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
1339
|
-
updated?: (() => void) | (() => void)[];
|
|
1340
|
-
activated?: (() => void) | (() => void)[];
|
|
1341
|
-
deactivated?: (() => void) | (() => void)[];
|
|
1342
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
1343
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
1344
|
-
destroyed?: (() => void) | (() => void)[];
|
|
1345
|
-
unmounted?: (() => void) | (() => void)[];
|
|
1346
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1347
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1348
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1349
|
-
};
|
|
1350
|
-
$forceUpdate: () => void;
|
|
1351
|
-
$nextTick: typeof import('vue').nextTick;
|
|
1352
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
1353
|
-
} & Readonly<{
|
|
1354
|
-
labelWidth: string | number;
|
|
1355
|
-
labelPosition: "left" | "right" | "top";
|
|
1356
|
-
requireAsteriskPosition: "left" | "right";
|
|
1357
|
-
labelSuffix: string;
|
|
1358
|
-
showMessage: boolean;
|
|
1359
|
-
validateOnRuleChange: boolean;
|
|
1360
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1361
|
-
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
1362
|
-
size: {
|
|
1363
|
-
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
1364
|
-
};
|
|
1365
|
-
disabled: {
|
|
1366
|
-
type: import('vue').PropType<boolean>;
|
|
1367
|
-
};
|
|
1368
|
-
model: {
|
|
1369
|
-
type: import('vue').PropType<Record<string, any>>;
|
|
1370
|
-
};
|
|
1371
|
-
rules: {
|
|
1372
|
-
type: import('vue').PropType<Partial<Record<string, Record<string, any> | import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>>;
|
|
1373
|
-
};
|
|
1374
|
-
labelPosition: {
|
|
1375
|
-
type: import('vue').PropType<"top" | "left" | "right">;
|
|
1376
|
-
default: string;
|
|
1377
|
-
};
|
|
1378
|
-
requireAsteriskPosition: {
|
|
1379
|
-
type: import('vue').PropType<"left" | "right">;
|
|
1380
|
-
default: string;
|
|
1381
|
-
};
|
|
1382
|
-
labelWidth: {
|
|
1383
|
-
type: import('vue').PropType<string | number>;
|
|
1384
|
-
default: string;
|
|
1385
|
-
};
|
|
1386
|
-
labelSuffix: {
|
|
1387
|
-
type: import('vue').PropType<string>;
|
|
1388
|
-
default: string;
|
|
1389
|
-
};
|
|
1390
|
-
inline: {
|
|
1391
|
-
type: import('vue').PropType<boolean>;
|
|
1392
|
-
};
|
|
1393
|
-
inlineMessage: {
|
|
1394
|
-
type: import('vue').PropType<boolean>;
|
|
1395
|
-
};
|
|
1396
|
-
statusIcon: {
|
|
1397
|
-
type: import('vue').PropType<boolean>;
|
|
1398
|
-
};
|
|
1399
|
-
showMessage: {
|
|
1400
|
-
type: import('vue').PropType<boolean>;
|
|
1401
|
-
default: boolean;
|
|
1402
|
-
};
|
|
1403
|
-
validateOnRuleChange: {
|
|
1404
|
-
type: import('vue').PropType<boolean>;
|
|
1405
|
-
default: boolean;
|
|
1406
|
-
};
|
|
1407
|
-
hideRequiredAsterisk: {
|
|
1408
|
-
type: import('vue').PropType<boolean>;
|
|
1409
|
-
};
|
|
1410
|
-
scrollToError: {
|
|
1411
|
-
type: import('vue').PropType<boolean>;
|
|
1412
|
-
};
|
|
1413
|
-
scrollIntoViewOptions: {
|
|
1414
|
-
type: import('vue').PropType<boolean | ScrollIntoViewOptions>;
|
|
1415
|
-
default: boolean;
|
|
1416
|
-
};
|
|
1417
|
-
}>> & {
|
|
1418
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1419
|
-
}, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
1420
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1421
|
-
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1422
|
-
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
1423
|
-
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
1424
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
1425
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
1426
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
1427
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
1428
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1429
|
-
$slots: {
|
|
1430
|
-
default?: (props: {}) => any;
|
|
1431
|
-
};
|
|
1432
|
-
}) | null;
|
|
1433
|
-
};
|
|
1434
|
-
$slots: any;
|
|
1435
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
1436
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
1437
|
-
$host: Element | null;
|
|
1438
|
-
$emit: ((event: string, ...args: any[]) => void) & ((event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void);
|
|
1439
|
-
$el: any;
|
|
1440
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
1441
|
-
$: import('vue').ComponentInternalInstance;
|
|
1442
|
-
$data: {};
|
|
1443
|
-
$props: Partial<{
|
|
1444
|
-
labelWidth: string | number;
|
|
1445
|
-
labelPosition: "left" | "right" | "top";
|
|
1446
|
-
requireAsteriskPosition: "left" | "right";
|
|
1447
|
-
labelSuffix: string;
|
|
1448
|
-
showMessage: boolean;
|
|
1449
|
-
validateOnRuleChange: boolean;
|
|
1450
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1451
|
-
}> & Omit<{
|
|
1452
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
1453
|
-
readonly requireAsteriskPosition: "left" | "right";
|
|
1454
|
-
readonly labelWidth: string | number;
|
|
1455
|
-
readonly labelSuffix: string;
|
|
1456
|
-
readonly showMessage: boolean;
|
|
1457
|
-
readonly validateOnRuleChange: boolean;
|
|
1458
|
-
readonly scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1459
|
-
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
1460
|
-
readonly disabled?: boolean | undefined;
|
|
1461
|
-
readonly model?: Record<string, any> | undefined;
|
|
1462
|
-
readonly rules?: import('element-plus').FormRules | undefined;
|
|
1463
|
-
readonly inline?: boolean | undefined;
|
|
1464
|
-
readonly inlineMessage?: boolean | undefined;
|
|
1465
|
-
readonly statusIcon?: boolean | undefined;
|
|
1466
|
-
readonly hideRequiredAsterisk?: boolean | undefined;
|
|
1467
|
-
readonly scrollToError?: boolean | undefined;
|
|
1468
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
1469
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions">;
|
|
1470
|
-
$attrs: {
|
|
1471
|
-
[x: string]: unknown;
|
|
1472
|
-
};
|
|
1473
|
-
$refs: {
|
|
1474
|
-
[x: string]: unknown;
|
|
1475
|
-
};
|
|
1476
|
-
$slots: Readonly<{
|
|
1477
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
1478
|
-
}> & {
|
|
1479
|
-
default?: (props: {}) => any;
|
|
1480
|
-
};
|
|
1481
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
1482
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
1483
|
-
$host: Element | null;
|
|
1484
|
-
$emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
1485
|
-
$el: any;
|
|
1486
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
1487
|
-
size: {
|
|
1488
|
-
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
1489
|
-
};
|
|
1490
|
-
disabled: {
|
|
1491
|
-
type: import('vue').PropType<boolean>;
|
|
1492
|
-
};
|
|
1493
|
-
model: {
|
|
1494
|
-
type: import('vue').PropType<Record<string, any>>;
|
|
1495
|
-
};
|
|
1496
|
-
rules: {
|
|
1497
|
-
type: import('vue').PropType<Partial<Record<string, Record<string, any> | import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>>;
|
|
1498
|
-
};
|
|
1499
|
-
labelPosition: {
|
|
1500
|
-
type: import('vue').PropType<"top" | "left" | "right">;
|
|
1501
|
-
default: string;
|
|
1502
|
-
};
|
|
1503
|
-
requireAsteriskPosition: {
|
|
1504
|
-
type: import('vue').PropType<"left" | "right">;
|
|
1505
|
-
default: string;
|
|
1506
|
-
};
|
|
1507
|
-
labelWidth: {
|
|
1508
|
-
type: import('vue').PropType<string | number>;
|
|
1509
|
-
default: string;
|
|
1510
|
-
};
|
|
1511
|
-
labelSuffix: {
|
|
1512
|
-
type: import('vue').PropType<string>;
|
|
1513
|
-
default: string;
|
|
1514
|
-
};
|
|
1515
|
-
inline: {
|
|
1516
|
-
type: import('vue').PropType<boolean>;
|
|
1517
|
-
};
|
|
1518
|
-
inlineMessage: {
|
|
1519
|
-
type: import('vue').PropType<boolean>;
|
|
1520
|
-
};
|
|
1521
|
-
statusIcon: {
|
|
1522
|
-
type: import('vue').PropType<boolean>;
|
|
1523
|
-
};
|
|
1524
|
-
showMessage: {
|
|
1525
|
-
type: import('vue').PropType<boolean>;
|
|
1526
|
-
default: boolean;
|
|
1527
|
-
};
|
|
1528
|
-
validateOnRuleChange: {
|
|
1529
|
-
type: import('vue').PropType<boolean>;
|
|
1530
|
-
default: boolean;
|
|
1531
|
-
};
|
|
1532
|
-
hideRequiredAsterisk: {
|
|
1533
|
-
type: import('vue').PropType<boolean>;
|
|
1534
|
-
};
|
|
1535
|
-
scrollToError: {
|
|
1536
|
-
type: import('vue').PropType<boolean>;
|
|
1537
|
-
};
|
|
1538
|
-
scrollIntoViewOptions: {
|
|
1539
|
-
type: import('vue').PropType<boolean | ScrollIntoViewOptions>;
|
|
1540
|
-
default: boolean;
|
|
1541
|
-
};
|
|
1542
|
-
}>> & {
|
|
1543
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1544
|
-
}, {
|
|
1545
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1546
|
-
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1547
|
-
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
1548
|
-
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
1549
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
1550
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
1551
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
1552
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
1553
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1554
|
-
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
1555
|
-
}, string, {
|
|
1556
|
-
labelWidth: string | number;
|
|
1557
|
-
labelPosition: "left" | "right" | "top";
|
|
1558
|
-
requireAsteriskPosition: "left" | "right";
|
|
1559
|
-
labelSuffix: string;
|
|
1560
|
-
showMessage: boolean;
|
|
1561
|
-
validateOnRuleChange: boolean;
|
|
1562
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1563
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1564
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
1565
|
-
created?: (() => void) | (() => void)[];
|
|
1566
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
1567
|
-
mounted?: (() => void) | (() => void)[];
|
|
1568
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
1569
|
-
updated?: (() => void) | (() => void)[];
|
|
1570
|
-
activated?: (() => void) | (() => void)[];
|
|
1571
|
-
deactivated?: (() => void) | (() => void)[];
|
|
1572
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
1573
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
1574
|
-
destroyed?: (() => void) | (() => void)[];
|
|
1575
|
-
unmounted?: (() => void) | (() => void)[];
|
|
1576
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1577
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1578
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1579
|
-
};
|
|
1580
|
-
$forceUpdate: () => void;
|
|
1581
|
-
$nextTick: typeof import('vue').nextTick;
|
|
1582
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
1583
|
-
labelWidth: string | number;
|
|
1584
|
-
labelPosition: "left" | "right" | "top";
|
|
1585
|
-
requireAsteriskPosition: "left" | "right";
|
|
1586
|
-
labelSuffix: string;
|
|
1587
|
-
showMessage: boolean;
|
|
1588
|
-
validateOnRuleChange: boolean;
|
|
1589
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1590
|
-
size?: import('element-plus').ComponentSize;
|
|
1591
|
-
disabled?: boolean;
|
|
1592
|
-
model?: Record<string, any>;
|
|
1593
|
-
rules?: import('element-plus').FormRules;
|
|
1594
|
-
inline?: boolean;
|
|
1595
|
-
inlineMessage?: boolean;
|
|
1596
|
-
statusIcon?: boolean;
|
|
1597
|
-
hideRequiredAsterisk?: boolean;
|
|
1598
|
-
scrollToError?: boolean;
|
|
1599
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
1600
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1601
|
-
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1602
|
-
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
1603
|
-
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
1604
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
1605
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
1606
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
1607
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
1608
|
-
$route: import('vue-router').TypesConfig extends Record<"$route", infer T> ? T : import('vue-router').RouteLocationNormalizedLoaded;
|
|
1609
|
-
$router: import('vue-router').TypesConfig extends Record<"$router", infer T> ? T : import('vue-router').Router;
|
|
1610
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1611
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
1612
|
-
created?: (() => void) | (() => void)[];
|
|
1613
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
1614
|
-
mounted?: (() => void) | (() => void)[];
|
|
1615
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
1616
|
-
updated?: (() => void) | (() => void)[];
|
|
1617
|
-
activated?: (() => void) | (() => void)[];
|
|
1618
|
-
deactivated?: (() => void) | (() => void)[];
|
|
1619
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
1620
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
1621
|
-
destroyed?: (() => void) | (() => void)[];
|
|
1622
|
-
unmounted?: (() => void) | (() => void)[];
|
|
1623
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1624
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1625
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1626
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
1627
|
-
size: {
|
|
1628
|
-
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
1629
|
-
};
|
|
1630
|
-
disabled: {
|
|
1631
|
-
type: import('vue').PropType<boolean>;
|
|
1632
|
-
};
|
|
1633
|
-
model: {
|
|
1634
|
-
type: import('vue').PropType<Record<string, any>>;
|
|
1635
|
-
};
|
|
1636
|
-
rules: {
|
|
1637
|
-
type: import('vue').PropType<Partial<Record<string, Record<string, any> | import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>>;
|
|
1638
|
-
};
|
|
1639
|
-
labelPosition: {
|
|
1640
|
-
type: import('vue').PropType<"top" | "left" | "right">;
|
|
1641
|
-
default: string;
|
|
1642
|
-
};
|
|
1643
|
-
requireAsteriskPosition: {
|
|
1644
|
-
type: import('vue').PropType<"left" | "right">;
|
|
1645
|
-
default: string;
|
|
1646
|
-
};
|
|
1647
|
-
labelWidth: {
|
|
1648
|
-
type: import('vue').PropType<string | number>;
|
|
1649
|
-
default: string;
|
|
1650
|
-
};
|
|
1651
|
-
labelSuffix: {
|
|
1652
|
-
type: import('vue').PropType<string>;
|
|
1653
|
-
default: string;
|
|
1654
|
-
};
|
|
1655
|
-
inline: {
|
|
1656
|
-
type: import('vue').PropType<boolean>;
|
|
1657
|
-
};
|
|
1658
|
-
inlineMessage: {
|
|
1659
|
-
type: import('vue').PropType<boolean>;
|
|
1660
|
-
};
|
|
1661
|
-
statusIcon: {
|
|
1662
|
-
type: import('vue').PropType<boolean>;
|
|
1663
|
-
};
|
|
1664
|
-
showMessage: {
|
|
1665
|
-
type: import('vue').PropType<boolean>;
|
|
1666
|
-
default: boolean;
|
|
1667
|
-
};
|
|
1668
|
-
validateOnRuleChange: {
|
|
1669
|
-
type: import('vue').PropType<boolean>;
|
|
1670
|
-
default: boolean;
|
|
1671
|
-
};
|
|
1672
|
-
hideRequiredAsterisk: {
|
|
1673
|
-
type: import('vue').PropType<boolean>;
|
|
1674
|
-
};
|
|
1675
|
-
scrollToError: {
|
|
1676
|
-
type: import('vue').PropType<boolean>;
|
|
1677
|
-
};
|
|
1678
|
-
scrollIntoViewOptions: {
|
|
1679
|
-
type: import('vue').PropType<boolean | ScrollIntoViewOptions>;
|
|
1680
|
-
default: boolean;
|
|
1681
|
-
};
|
|
1682
|
-
}>> & {
|
|
1683
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1684
|
-
}, {
|
|
1685
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1686
|
-
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1687
|
-
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
1688
|
-
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
1689
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
1690
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
1691
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
1692
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
1693
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1694
|
-
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
1695
|
-
}, string, {
|
|
1696
|
-
labelWidth: string | number;
|
|
1697
|
-
labelPosition: "left" | "right" | "top";
|
|
1698
|
-
requireAsteriskPosition: "left" | "right";
|
|
1699
|
-
labelSuffix: string;
|
|
1700
|
-
showMessage: boolean;
|
|
1701
|
-
validateOnRuleChange: boolean;
|
|
1702
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1703
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions>;
|
|
1704
|
-
$forceUpdate: () => void;
|
|
1705
|
-
$nextTick: typeof import('vue').nextTick;
|
|
1706
|
-
$watch: <T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions) => import('vue').WatchStopHandle;
|
|
1707
|
-
labelWidth: string | number;
|
|
1708
|
-
labelPosition: "left" | "right" | "top";
|
|
1709
|
-
requireAsteriskPosition: "left" | "right";
|
|
1710
|
-
labelSuffix: string;
|
|
1711
|
-
showMessage: boolean;
|
|
1712
|
-
validateOnRuleChange: boolean;
|
|
1713
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1714
|
-
size?: import('element-plus').ComponentSize | undefined;
|
|
1715
|
-
disabled?: boolean | undefined;
|
|
1716
|
-
model: any;
|
|
1717
|
-
rules?: import('element-plus').FormRules | undefined;
|
|
1718
|
-
inline?: boolean | undefined;
|
|
1719
|
-
inlineMessage?: boolean | undefined;
|
|
1720
|
-
statusIcon?: boolean | undefined;
|
|
1721
|
-
hideRequiredAsterisk?: boolean | undefined;
|
|
1722
|
-
scrollToError?: boolean | undefined;
|
|
1723
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
1724
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1725
|
-
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1726
|
-
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
1727
|
-
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
1728
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
1729
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
1730
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
1731
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
1732
|
-
$route: import('vue-router').TypesConfig extends Record<"$route", infer T> ? T : import('vue-router').RouteLocationNormalizedLoaded;
|
|
1733
|
-
$router: import('vue-router').TypesConfig extends Record<"$router", infer T> ? T : import('vue-router').Router;
|
|
1734
|
-
setValues: (data: Record<string, any>) => void;
|
|
1735
|
-
}, {}, {}, {}, {
|
|
1736
|
-
labelPosition: "top" | "left" | "right";
|
|
1737
|
-
inline: boolean;
|
|
1738
|
-
fields: Array<import('./ProForm.types').TProFormField>;
|
|
1739
|
-
}>;
|
|
1740
|
-
__isFragment?: never;
|
|
1741
|
-
__isTeleport?: never;
|
|
1742
|
-
__isSuspense?: never;
|
|
1743
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('./ProForm.types').TProFormProps> & Readonly<{}>, {
|
|
1744
|
-
$: import('vue').ComponentInternalInstance;
|
|
1745
|
-
$data: {};
|
|
1746
|
-
$props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never> & Partial<{
|
|
1747
|
-
labelWidth: string | number;
|
|
1748
|
-
labelPosition: "left" | "right" | "top";
|
|
1749
|
-
requireAsteriskPosition: "left" | "right";
|
|
1750
|
-
labelSuffix: string;
|
|
1751
|
-
showMessage: boolean;
|
|
1752
|
-
validateOnRuleChange: boolean;
|
|
1753
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1754
|
-
}> & Omit<{
|
|
1755
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
1756
|
-
readonly requireAsteriskPosition: "left" | "right";
|
|
1757
|
-
readonly labelWidth: string | number;
|
|
1758
|
-
readonly labelSuffix: string;
|
|
1759
|
-
readonly showMessage: boolean;
|
|
1760
|
-
readonly validateOnRuleChange: boolean;
|
|
1761
|
-
readonly scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1762
|
-
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
1763
|
-
readonly disabled?: boolean | undefined;
|
|
1764
|
-
readonly model?: Record<string, any> | undefined;
|
|
1765
|
-
readonly rules?: import('element-plus').FormRules | undefined;
|
|
1766
|
-
readonly inline?: boolean | undefined;
|
|
1767
|
-
readonly inlineMessage?: boolean | undefined;
|
|
1768
|
-
readonly statusIcon?: boolean | undefined;
|
|
1769
|
-
readonly hideRequiredAsterisk?: boolean | undefined;
|
|
1770
|
-
readonly scrollToError?: boolean | undefined;
|
|
1771
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
1772
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions">;
|
|
1773
|
-
$attrs: {
|
|
1774
|
-
[x: string]: unknown;
|
|
1775
|
-
};
|
|
1776
|
-
$refs: {
|
|
1777
|
-
[x: string]: unknown;
|
|
1778
|
-
} & {
|
|
1779
|
-
elRef: ({
|
|
528
|
+
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
529
|
+
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
530
|
+
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
531
|
+
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
532
|
+
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
533
|
+
setInitialValues: (initModel: Record<string, any>) => void;
|
|
534
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
535
|
+
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
536
|
+
}, string, {
|
|
537
|
+
labelWidth: string | number;
|
|
538
|
+
labelPosition: "left" | "right" | "top";
|
|
539
|
+
requireAsteriskPosition: "left" | "right";
|
|
540
|
+
labelSuffix: string;
|
|
541
|
+
showMessage: boolean;
|
|
542
|
+
validateOnRuleChange: boolean;
|
|
543
|
+
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
544
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
545
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
546
|
+
created?: (() => void) | (() => void)[];
|
|
547
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
548
|
+
mounted?: (() => void) | (() => void)[];
|
|
549
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
550
|
+
updated?: (() => void) | (() => void)[];
|
|
551
|
+
activated?: (() => void) | (() => void)[];
|
|
552
|
+
deactivated?: (() => void) | (() => void)[];
|
|
553
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
554
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
555
|
+
destroyed?: (() => void) | (() => void)[];
|
|
556
|
+
unmounted?: (() => void) | (() => void)[];
|
|
557
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
558
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
559
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
560
|
+
};
|
|
561
|
+
$forceUpdate: () => void;
|
|
562
|
+
$nextTick: typeof import('vue').nextTick;
|
|
563
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
564
|
+
labelWidth: string | number;
|
|
565
|
+
labelPosition: "left" | "right" | "top";
|
|
566
|
+
requireAsteriskPosition: "left" | "right";
|
|
567
|
+
labelSuffix: string;
|
|
568
|
+
showMessage: boolean;
|
|
569
|
+
validateOnRuleChange: boolean;
|
|
570
|
+
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
571
|
+
size?: import('element-plus').ComponentSize;
|
|
572
|
+
disabled?: boolean;
|
|
573
|
+
model?: Record<string, any>;
|
|
574
|
+
rules?: import('element-plus').FormRules;
|
|
575
|
+
inline?: boolean;
|
|
576
|
+
inlineMessage?: boolean;
|
|
577
|
+
statusIcon?: boolean;
|
|
578
|
+
hideRequiredAsterisk?: boolean;
|
|
579
|
+
scrollToError?: boolean;
|
|
580
|
+
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
581
|
+
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
582
|
+
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
583
|
+
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
584
|
+
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
585
|
+
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
586
|
+
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
587
|
+
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
588
|
+
setInitialValues: (initModel: Record<string, any>) => void;
|
|
589
|
+
$route: import('vue-router').TypesConfig extends Record<"$route", infer T> ? T : import('vue-router').RouteLocationNormalizedLoaded;
|
|
590
|
+
$router: import('vue-router').TypesConfig extends Record<"$router", infer T> ? T : import('vue-router').Router;
|
|
591
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
592
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
593
|
+
created?: (() => void) | (() => void)[];
|
|
594
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
595
|
+
mounted?: (() => void) | (() => void)[];
|
|
596
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
597
|
+
updated?: (() => void) | (() => void)[];
|
|
598
|
+
activated?: (() => void) | (() => void)[];
|
|
599
|
+
deactivated?: (() => void) | (() => void)[];
|
|
600
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
601
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
602
|
+
destroyed?: (() => void) | (() => void)[];
|
|
603
|
+
unmounted?: (() => void) | (() => void)[];
|
|
604
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
605
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
606
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
607
|
+
};
|
|
608
|
+
$forceUpdate: () => void;
|
|
609
|
+
$nextTick: typeof import('vue').nextTick;
|
|
610
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
611
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "size" | "disabled" | "$" | "$data" | "$props" | "$attrs" | "$refs" | "$slots" | "$root" | "$parent" | "$host" | "$emit" | "$el" | "$options" | "$forceUpdate" | "$nextTick" | "$watch" | "$route" | "$router" | "model" | "rules" | "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues" | "onValidate"> & import('vue').ShallowUnwrapRef<{
|
|
1780
612
|
$: import('vue').ComponentInternalInstance;
|
|
1781
613
|
$data: {};
|
|
1782
614
|
$props: Partial<{
|
|
@@ -1814,7 +646,9 @@ export declare const FcProForm: {
|
|
|
1814
646
|
};
|
|
1815
647
|
$slots: Readonly<{
|
|
1816
648
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
1817
|
-
}
|
|
649
|
+
}> & {
|
|
650
|
+
default?: (props: {}) => any;
|
|
651
|
+
};
|
|
1818
652
|
$root: import('vue').ComponentPublicInstance | null;
|
|
1819
653
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
1820
654
|
$host: Element | null;
|
|
@@ -1917,7 +751,6 @@ export declare const FcProForm: {
|
|
|
1917
751
|
$forceUpdate: () => void;
|
|
1918
752
|
$nextTick: typeof import('vue').nextTick;
|
|
1919
753
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
1920
|
-
} & Readonly<{
|
|
1921
754
|
labelWidth: string | number;
|
|
1922
755
|
labelPosition: "left" | "right" | "top";
|
|
1923
756
|
requireAsteriskPosition: "left" | "right";
|
|
@@ -1925,65 +758,16 @@ export declare const FcProForm: {
|
|
|
1925
758
|
showMessage: boolean;
|
|
1926
759
|
validateOnRuleChange: boolean;
|
|
1927
760
|
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
rules: {
|
|
1939
|
-
type: import('vue').PropType<Partial<Record<string, Record<string, any> | import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>>;
|
|
1940
|
-
};
|
|
1941
|
-
labelPosition: {
|
|
1942
|
-
type: import('vue').PropType<"top" | "left" | "right">;
|
|
1943
|
-
default: string;
|
|
1944
|
-
};
|
|
1945
|
-
requireAsteriskPosition: {
|
|
1946
|
-
type: import('vue').PropType<"left" | "right">;
|
|
1947
|
-
default: string;
|
|
1948
|
-
};
|
|
1949
|
-
labelWidth: {
|
|
1950
|
-
type: import('vue').PropType<string | number>;
|
|
1951
|
-
default: string;
|
|
1952
|
-
};
|
|
1953
|
-
labelSuffix: {
|
|
1954
|
-
type: import('vue').PropType<string>;
|
|
1955
|
-
default: string;
|
|
1956
|
-
};
|
|
1957
|
-
inline: {
|
|
1958
|
-
type: import('vue').PropType<boolean>;
|
|
1959
|
-
};
|
|
1960
|
-
inlineMessage: {
|
|
1961
|
-
type: import('vue').PropType<boolean>;
|
|
1962
|
-
};
|
|
1963
|
-
statusIcon: {
|
|
1964
|
-
type: import('vue').PropType<boolean>;
|
|
1965
|
-
};
|
|
1966
|
-
showMessage: {
|
|
1967
|
-
type: import('vue').PropType<boolean>;
|
|
1968
|
-
default: boolean;
|
|
1969
|
-
};
|
|
1970
|
-
validateOnRuleChange: {
|
|
1971
|
-
type: import('vue').PropType<boolean>;
|
|
1972
|
-
default: boolean;
|
|
1973
|
-
};
|
|
1974
|
-
hideRequiredAsterisk: {
|
|
1975
|
-
type: import('vue').PropType<boolean>;
|
|
1976
|
-
};
|
|
1977
|
-
scrollToError: {
|
|
1978
|
-
type: import('vue').PropType<boolean>;
|
|
1979
|
-
};
|
|
1980
|
-
scrollIntoViewOptions: {
|
|
1981
|
-
type: import('vue').PropType<boolean | ScrollIntoViewOptions>;
|
|
1982
|
-
default: boolean;
|
|
1983
|
-
};
|
|
1984
|
-
}>> & {
|
|
1985
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1986
|
-
}, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
761
|
+
size?: import('element-plus').ComponentSize;
|
|
762
|
+
disabled?: boolean;
|
|
763
|
+
model?: Record<string, any>;
|
|
764
|
+
rules?: import('element-plus').FormRules;
|
|
765
|
+
inline?: boolean;
|
|
766
|
+
inlineMessage?: boolean;
|
|
767
|
+
statusIcon?: boolean;
|
|
768
|
+
hideRequiredAsterisk?: boolean;
|
|
769
|
+
scrollToError?: boolean;
|
|
770
|
+
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
1987
771
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1988
772
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1989
773
|
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -1992,19 +776,19 @@ export declare const FcProForm: {
|
|
|
1992
776
|
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
1993
777
|
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
1994
778
|
setInitialValues: (initModel: Record<string, any>) => void;
|
|
779
|
+
$route: import('vue-router').TypesConfig extends Record<"$route", infer T> ? T : import('vue-router').RouteLocationNormalizedLoaded;
|
|
780
|
+
$router: import('vue-router').TypesConfig extends Record<"$router", infer T> ? T : import('vue-router').Router;
|
|
1995
781
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1996
|
-
$slots:
|
|
1997
|
-
default?: (props: {}) => any;
|
|
1998
|
-
};
|
|
782
|
+
$slots: any;
|
|
1999
783
|
}) | null;
|
|
2000
|
-
}
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
784
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
785
|
+
P: {};
|
|
786
|
+
B: {};
|
|
787
|
+
D: {};
|
|
788
|
+
C: {};
|
|
789
|
+
M: {};
|
|
790
|
+
Defaults: {};
|
|
791
|
+
}, Readonly<import('./ProForm.types').TProFormProps> & Readonly<{}>, {
|
|
2008
792
|
$: import('vue').ComponentInternalInstance;
|
|
2009
793
|
$data: {};
|
|
2010
794
|
$props: Partial<{
|
|
@@ -2156,7 +940,7 @@ export declare const FcProForm: {
|
|
|
2156
940
|
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
2157
941
|
size?: import('element-plus').ComponentSize;
|
|
2158
942
|
disabled?: boolean;
|
|
2159
|
-
model
|
|
943
|
+
model: any;
|
|
2160
944
|
rules?: import('element-plus').FormRules;
|
|
2161
945
|
inline?: boolean;
|
|
2162
946
|
inlineMessage?: boolean;
|
|
@@ -2174,23 +958,65 @@ export declare const FcProForm: {
|
|
|
2174
958
|
setInitialValues: (initModel: Record<string, any>) => void;
|
|
2175
959
|
$route: import('vue-router').TypesConfig extends Record<"$route", infer T> ? T : import('vue-router').RouteLocationNormalizedLoaded;
|
|
2176
960
|
$router: import('vue-router').TypesConfig extends Record<"$router", infer T> ? T : import('vue-router').Router;
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
961
|
+
setValues: (data: Record<string, any>) => void;
|
|
962
|
+
}, {}, {}, {}, {
|
|
963
|
+
rules: import('element-plus').FormRules;
|
|
964
|
+
labelPosition: "top" | "left" | "right";
|
|
965
|
+
labelWidth: string | number;
|
|
966
|
+
inline: boolean;
|
|
967
|
+
fields: Array<import('./ProForm.types').TProFormField>;
|
|
968
|
+
columns: number | "auto-fill" | "auto-fit";
|
|
969
|
+
}>;
|
|
970
|
+
__isFragment?: never;
|
|
971
|
+
__isTeleport?: never;
|
|
972
|
+
__isSuspense?: never;
|
|
973
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./ProForm.types').TProFormProps> & Readonly<{}>, {
|
|
974
|
+
$: import('vue').ComponentInternalInstance;
|
|
975
|
+
$data: {};
|
|
976
|
+
$props: Partial<{
|
|
977
|
+
labelWidth: string | number;
|
|
978
|
+
labelPosition: "left" | "right" | "top";
|
|
979
|
+
requireAsteriskPosition: "left" | "right";
|
|
980
|
+
labelSuffix: string;
|
|
981
|
+
showMessage: boolean;
|
|
982
|
+
validateOnRuleChange: boolean;
|
|
983
|
+
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
984
|
+
}> & Omit<{
|
|
985
|
+
readonly labelPosition: "left" | "right" | "top";
|
|
986
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
987
|
+
readonly labelWidth: string | number;
|
|
988
|
+
readonly labelSuffix: string;
|
|
989
|
+
readonly showMessage: boolean;
|
|
990
|
+
readonly validateOnRuleChange: boolean;
|
|
991
|
+
readonly scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
992
|
+
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
993
|
+
readonly disabled?: boolean | undefined;
|
|
994
|
+
readonly model?: Record<string, any> | undefined;
|
|
995
|
+
readonly rules?: import('element-plus').FormRules | undefined;
|
|
996
|
+
readonly inline?: boolean | undefined;
|
|
997
|
+
readonly inlineMessage?: boolean | undefined;
|
|
998
|
+
readonly statusIcon?: boolean | undefined;
|
|
999
|
+
readonly hideRequiredAsterisk?: boolean | undefined;
|
|
1000
|
+
readonly scrollToError?: boolean | undefined;
|
|
1001
|
+
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
1002
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions">;
|
|
1003
|
+
$attrs: {
|
|
1004
|
+
[x: string]: unknown;
|
|
1005
|
+
};
|
|
1006
|
+
$refs: {
|
|
1007
|
+
[x: string]: unknown;
|
|
1008
|
+
};
|
|
1009
|
+
$slots: Readonly<{
|
|
1010
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
1011
|
+
}> & {
|
|
1012
|
+
default?: (props: {}) => any;
|
|
1013
|
+
};
|
|
1014
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
1015
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
1016
|
+
$host: Element | null;
|
|
1017
|
+
$emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
1018
|
+
$el: any;
|
|
1019
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
2194
1020
|
size: {
|
|
2195
1021
|
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
2196
1022
|
};
|
|
@@ -2267,10 +1093,26 @@ export declare const FcProForm: {
|
|
|
2267
1093
|
showMessage: boolean;
|
|
2268
1094
|
validateOnRuleChange: boolean;
|
|
2269
1095
|
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
2270
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions
|
|
1096
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1097
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1098
|
+
created?: (() => void) | (() => void)[];
|
|
1099
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1100
|
+
mounted?: (() => void) | (() => void)[];
|
|
1101
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1102
|
+
updated?: (() => void) | (() => void)[];
|
|
1103
|
+
activated?: (() => void) | (() => void)[];
|
|
1104
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1105
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1106
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1107
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1108
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1109
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1110
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1111
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1112
|
+
};
|
|
2271
1113
|
$forceUpdate: () => void;
|
|
2272
1114
|
$nextTick: typeof import('vue').nextTick;
|
|
2273
|
-
$watch
|
|
1115
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
2274
1116
|
labelWidth: string | number;
|
|
2275
1117
|
labelPosition: "left" | "right" | "top";
|
|
2276
1118
|
requireAsteriskPosition: "left" | "right";
|
|
@@ -2278,15 +1120,15 @@ export declare const FcProForm: {
|
|
|
2278
1120
|
showMessage: boolean;
|
|
2279
1121
|
validateOnRuleChange: boolean;
|
|
2280
1122
|
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
2281
|
-
size?: import('element-plus').ComponentSize
|
|
2282
|
-
disabled?: boolean
|
|
1123
|
+
size?: import('element-plus').ComponentSize;
|
|
1124
|
+
disabled?: boolean;
|
|
2283
1125
|
model: any;
|
|
2284
|
-
rules?: import('element-plus').FormRules
|
|
2285
|
-
inline?: boolean
|
|
2286
|
-
inlineMessage?: boolean
|
|
2287
|
-
statusIcon?: boolean
|
|
2288
|
-
hideRequiredAsterisk?: boolean
|
|
2289
|
-
scrollToError?: boolean
|
|
1126
|
+
rules?: import('element-plus').FormRules;
|
|
1127
|
+
inline?: boolean;
|
|
1128
|
+
inlineMessage?: boolean;
|
|
1129
|
+
statusIcon?: boolean;
|
|
1130
|
+
hideRequiredAsterisk?: boolean;
|
|
1131
|
+
scrollToError?: boolean;
|
|
2290
1132
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
2291
1133
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
2292
1134
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
@@ -2300,9 +1142,12 @@ export declare const FcProForm: {
|
|
|
2300
1142
|
$router: import('vue-router').TypesConfig extends Record<"$router", infer T> ? T : import('vue-router').Router;
|
|
2301
1143
|
setValues: (data: Record<string, any>) => void;
|
|
2302
1144
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
1145
|
+
rules: import('element-plus').FormRules;
|
|
2303
1146
|
labelPosition: "top" | "left" | "right";
|
|
1147
|
+
labelWidth: string | number;
|
|
2304
1148
|
inline: boolean;
|
|
2305
1149
|
fields: Array<import('./ProForm.types').TProFormField>;
|
|
1150
|
+
columns: number | "auto-fill" | "auto-fit";
|
|
2306
1151
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
2307
1152
|
export default FcProForm;
|
|
2308
1153
|
export * from './ProForm.types';
|