@vtj/ui 0.9.25 → 0.9.27
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/dist/index.mjs +210 -210
- package/dist/index.umd.js +8 -8
- package/package.json +3 -3
- package/types/components/attachment/Attachment.d.ts +1 -394
- package/types/components/container/Container.d.ts +1 -3
- package/types/components/dialog/Dialog.d.ts +3 -814
- package/types/components/dialog-form/DialogForm.d.ts +4 -2265
- package/types/components/dialog-grid/DialogGrid.d.ts +5 -3012
- package/types/components/field/Field.d.ts +1 -163
- package/types/components/form/Form.d.ts +1 -186
- package/types/components/grid/Grid.d.ts +1 -14
- package/types/components/grid/renderers/components/DateEdit.d.ts +2 -256
- package/types/components/grid/renderers/components/GridEdit.d.ts +2 -410
- package/types/components/grid/renderers/components/PickerEdit.d.ts +2 -1916
- package/types/components/grid-editor/GridEditor.d.ts +2 -375
- package/types/components/list/List.d.ts +1 -3
- package/types/components/mask/Mask.d.ts +3 -534
- package/types/components/mask/components/Tabs.d.ts +2 -255
- package/types/components/panel/Panel.d.ts +1 -254
- package/types/components/picker/Dialog.d.ts +2 -1291
- package/types/components/picker/Picker.d.ts +2 -1720
- package/types/components/query-form/QueryForm.d.ts +6 -925
- package/types/version.d.ts +2 -2
@@ -1,8 +1,6 @@
|
|
1
|
-
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties,
|
2
|
-
import { ElTooltipProps
|
1
|
+
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, Ref, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, PublicProps } from 'vue';
|
2
|
+
import { ElTooltipProps } from 'element-plus';
|
3
3
|
import { FormModel } from '../form';
|
4
|
-
import { EpPropMergeType, EpPropFinalized } from 'element-plus/es/utils/index.mjs';
|
5
|
-
import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
|
6
4
|
import { OnCleanup } from '@vue/reactivity';
|
7
5
|
import { QueryFormItems } from './types';
|
8
6
|
declare function __VLS_template(): {
|
@@ -30,8 +28,8 @@ declare function __VLS_template(): {
|
|
30
28
|
readonly enterSubmit: boolean;
|
31
29
|
readonly tooltipMessage?: boolean | Partial< ElTooltipProps> | undefined;
|
32
30
|
readonly model?: Record<string, any> | undefined;
|
33
|
-
readonly inlineColumns?: number | undefined;
|
34
31
|
readonly submitMethod?: ((model: FormModel) => Promise<any>) | undefined;
|
32
|
+
readonly inlineColumns?: number | undefined;
|
35
33
|
readonly onReset?: (() => any) | undefined;
|
36
34
|
readonly onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
37
35
|
readonly onChange?: ((model: Record<string, any>) => any) | undefined;
|
@@ -41,191 +39,6 @@ declare function __VLS_template(): {
|
|
41
39
|
};
|
42
40
|
$refs: {
|
43
41
|
[x: string]: unknown;
|
44
|
-
} & {
|
45
|
-
formRef: ({
|
46
|
-
$: ComponentInternalInstance;
|
47
|
-
$data: {};
|
48
|
-
$props: Partial<{
|
49
|
-
readonly disabled: boolean;
|
50
|
-
readonly inline: boolean;
|
51
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
52
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
53
|
-
readonly inlineMessage: boolean;
|
54
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
55
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
56
|
-
readonly labelSuffix: string;
|
57
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
58
|
-
readonly statusIcon: boolean;
|
59
|
-
readonly hideRequiredAsterisk: boolean;
|
60
|
-
readonly scrollToError: boolean;
|
61
|
-
}> & Omit<{
|
62
|
-
readonly disabled: boolean;
|
63
|
-
readonly inline: boolean;
|
64
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
65
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
66
|
-
readonly inlineMessage: boolean;
|
67
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
68
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
69
|
-
readonly labelSuffix: string;
|
70
|
-
readonly statusIcon: boolean;
|
71
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
72
|
-
readonly hideRequiredAsterisk: boolean;
|
73
|
-
readonly scrollToError: boolean;
|
74
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown> | undefined;
|
75
|
-
readonly rules?: Partial<Record<string, Arrayable<FormItemRule>>> | undefined;
|
76
|
-
readonly model?: Record<string, any> | undefined;
|
77
|
-
readonly scrollIntoViewOptions?: EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown> | undefined;
|
78
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
79
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
80
|
-
$attrs: {
|
81
|
-
[x: string]: unknown;
|
82
|
-
};
|
83
|
-
$refs: {
|
84
|
-
[x: string]: unknown;
|
85
|
-
};
|
86
|
-
$slots: Readonly<{
|
87
|
-
[name: string]: Slot<any> | undefined;
|
88
|
-
}>;
|
89
|
-
$root: ComponentPublicInstance | null;
|
90
|
-
$parent: ComponentPublicInstance | null;
|
91
|
-
$host: Element | null;
|
92
|
-
$emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
93
|
-
$el: any;
|
94
|
-
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
95
|
-
readonly model: ObjectConstructor;
|
96
|
-
readonly rules: {
|
97
|
-
readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
98
|
-
readonly required: false;
|
99
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
100
|
-
__epPropKey: true;
|
101
|
-
};
|
102
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
103
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
104
|
-
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
105
|
-
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
106
|
-
readonly inline: BooleanConstructor;
|
107
|
-
readonly inlineMessage: BooleanConstructor;
|
108
|
-
readonly statusIcon: BooleanConstructor;
|
109
|
-
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
110
|
-
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
111
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
112
|
-
readonly scrollToError: BooleanConstructor;
|
113
|
-
readonly scrollIntoViewOptions: {
|
114
|
-
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
115
|
-
readonly required: false;
|
116
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
117
|
-
__epPropKey: true;
|
118
|
-
};
|
119
|
-
readonly size: {
|
120
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
121
|
-
readonly required: false;
|
122
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
123
|
-
__epPropKey: true;
|
124
|
-
};
|
125
|
-
readonly disabled: BooleanConstructor;
|
126
|
-
}>> & {
|
127
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
128
|
-
}, {
|
129
|
-
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
130
|
-
validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
|
131
|
-
resetFields: (props?: Arrayable<FormItemProp>) => void;
|
132
|
-
clearValidate: (props?: Arrayable<FormItemProp>) => void;
|
133
|
-
scrollToField: (prop: FormItemProp) => void;
|
134
|
-
fields: FormItemContext[];
|
135
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
136
|
-
validate: (prop: FormItemProp, isValid: boolean, message: string) => void;
|
137
|
-
}, string, {
|
138
|
-
readonly disabled: boolean;
|
139
|
-
readonly inline: boolean;
|
140
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
141
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
142
|
-
readonly inlineMessage: boolean;
|
143
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
144
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
145
|
-
readonly labelSuffix: string;
|
146
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
147
|
-
readonly statusIcon: boolean;
|
148
|
-
readonly hideRequiredAsterisk: boolean;
|
149
|
-
readonly scrollToError: boolean;
|
150
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
151
|
-
beforeCreate?: (() => void) | (() => void)[];
|
152
|
-
created?: (() => void) | (() => void)[];
|
153
|
-
beforeMount?: (() => void) | (() => void)[];
|
154
|
-
mounted?: (() => void) | (() => void)[];
|
155
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
156
|
-
updated?: (() => void) | (() => void)[];
|
157
|
-
activated?: (() => void) | (() => void)[];
|
158
|
-
deactivated?: (() => void) | (() => void)[];
|
159
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
160
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
161
|
-
destroyed?: (() => void) | (() => void)[];
|
162
|
-
unmounted?: (() => void) | (() => void)[];
|
163
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
164
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
165
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
166
|
-
};
|
167
|
-
$forceUpdate: () => void;
|
168
|
-
$nextTick: nextTick;
|
169
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
170
|
-
} & Readonly<{
|
171
|
-
readonly disabled: boolean;
|
172
|
-
readonly inline: boolean;
|
173
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
174
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
175
|
-
readonly inlineMessage: boolean;
|
176
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
177
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
178
|
-
readonly labelSuffix: string;
|
179
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
180
|
-
readonly statusIcon: boolean;
|
181
|
-
readonly hideRequiredAsterisk: boolean;
|
182
|
-
readonly scrollToError: boolean;
|
183
|
-
}> & Omit<Readonly< ExtractPropTypes<{
|
184
|
-
readonly model: ObjectConstructor;
|
185
|
-
readonly rules: {
|
186
|
-
readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
187
|
-
readonly required: false;
|
188
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
189
|
-
__epPropKey: true;
|
190
|
-
};
|
191
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
192
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
193
|
-
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
194
|
-
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
195
|
-
readonly inline: BooleanConstructor;
|
196
|
-
readonly inlineMessage: BooleanConstructor;
|
197
|
-
readonly statusIcon: BooleanConstructor;
|
198
|
-
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
199
|
-
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
200
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
201
|
-
readonly scrollToError: BooleanConstructor;
|
202
|
-
readonly scrollIntoViewOptions: {
|
203
|
-
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
204
|
-
readonly required: false;
|
205
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
206
|
-
__epPropKey: true;
|
207
|
-
};
|
208
|
-
readonly size: {
|
209
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
210
|
-
readonly required: false;
|
211
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
212
|
-
__epPropKey: true;
|
213
|
-
};
|
214
|
-
readonly disabled: BooleanConstructor;
|
215
|
-
}>> & {
|
216
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
217
|
-
}, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
|
218
|
-
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
219
|
-
validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
|
220
|
-
resetFields: (props?: Arrayable<FormItemProp>) => void;
|
221
|
-
clearValidate: (props?: Arrayable<FormItemProp>) => void;
|
222
|
-
scrollToField: (prop: FormItemProp) => void;
|
223
|
-
fields: FormItemContext[];
|
224
|
-
}> & {} & ComponentCustomProperties & {} & {
|
225
|
-
$slots: {
|
226
|
-
default?(_: {}): any;
|
227
|
-
};
|
228
|
-
}) | null;
|
229
42
|
};
|
230
43
|
$slots: Readonly<{
|
231
44
|
[name: string]: Slot<any> | undefined;
|
@@ -415,8 +228,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
415
228
|
readonly enterSubmit: boolean;
|
416
229
|
readonly tooltipMessage?: boolean | Partial< ElTooltipProps> | undefined;
|
417
230
|
readonly model?: Record<string, any> | undefined;
|
418
|
-
readonly inlineColumns?: number | undefined;
|
419
231
|
readonly submitMethod?: ((model: FormModel) => Promise<any>) | undefined;
|
232
|
+
readonly inlineColumns?: number | undefined;
|
420
233
|
readonly onReset?: (() => any) | undefined;
|
421
234
|
readonly onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
422
235
|
readonly onChange?: ((model: Record<string, any>) => any) | undefined;
|
@@ -426,191 +239,6 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
426
239
|
};
|
427
240
|
$refs: {
|
428
241
|
[x: string]: unknown;
|
429
|
-
} & {
|
430
|
-
formRef: ({
|
431
|
-
$: ComponentInternalInstance;
|
432
|
-
$data: {};
|
433
|
-
$props: Partial<{
|
434
|
-
readonly disabled: boolean;
|
435
|
-
readonly inline: boolean;
|
436
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
437
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
438
|
-
readonly inlineMessage: boolean;
|
439
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
440
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
441
|
-
readonly labelSuffix: string;
|
442
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
443
|
-
readonly statusIcon: boolean;
|
444
|
-
readonly hideRequiredAsterisk: boolean;
|
445
|
-
readonly scrollToError: boolean;
|
446
|
-
}> & Omit<{
|
447
|
-
readonly disabled: boolean;
|
448
|
-
readonly inline: boolean;
|
449
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
450
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
451
|
-
readonly inlineMessage: boolean;
|
452
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
453
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
454
|
-
readonly labelSuffix: string;
|
455
|
-
readonly statusIcon: boolean;
|
456
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
457
|
-
readonly hideRequiredAsterisk: boolean;
|
458
|
-
readonly scrollToError: boolean;
|
459
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown> | undefined;
|
460
|
-
readonly rules?: Partial<Record<string, Arrayable<FormItemRule>>> | undefined;
|
461
|
-
readonly model?: Record<string, any> | undefined;
|
462
|
-
readonly scrollIntoViewOptions?: EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown> | undefined;
|
463
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
464
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
465
|
-
$attrs: {
|
466
|
-
[x: string]: unknown;
|
467
|
-
};
|
468
|
-
$refs: {
|
469
|
-
[x: string]: unknown;
|
470
|
-
};
|
471
|
-
$slots: Readonly<{
|
472
|
-
[name: string]: Slot<any> | undefined;
|
473
|
-
}>;
|
474
|
-
$root: ComponentPublicInstance | null;
|
475
|
-
$parent: ComponentPublicInstance | null;
|
476
|
-
$host: Element | null;
|
477
|
-
$emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
478
|
-
$el: any;
|
479
|
-
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
480
|
-
readonly model: ObjectConstructor;
|
481
|
-
readonly rules: {
|
482
|
-
readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
483
|
-
readonly required: false;
|
484
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
485
|
-
__epPropKey: true;
|
486
|
-
};
|
487
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
488
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
489
|
-
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
490
|
-
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
491
|
-
readonly inline: BooleanConstructor;
|
492
|
-
readonly inlineMessage: BooleanConstructor;
|
493
|
-
readonly statusIcon: BooleanConstructor;
|
494
|
-
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
495
|
-
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
496
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
497
|
-
readonly scrollToError: BooleanConstructor;
|
498
|
-
readonly scrollIntoViewOptions: {
|
499
|
-
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
500
|
-
readonly required: false;
|
501
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
502
|
-
__epPropKey: true;
|
503
|
-
};
|
504
|
-
readonly size: {
|
505
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
506
|
-
readonly required: false;
|
507
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
508
|
-
__epPropKey: true;
|
509
|
-
};
|
510
|
-
readonly disabled: BooleanConstructor;
|
511
|
-
}>> & {
|
512
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
513
|
-
}, {
|
514
|
-
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
515
|
-
validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
|
516
|
-
resetFields: (props?: Arrayable<FormItemProp>) => void;
|
517
|
-
clearValidate: (props?: Arrayable<FormItemProp>) => void;
|
518
|
-
scrollToField: (prop: FormItemProp) => void;
|
519
|
-
fields: FormItemContext[];
|
520
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
521
|
-
validate: (prop: FormItemProp, isValid: boolean, message: string) => void;
|
522
|
-
}, string, {
|
523
|
-
readonly disabled: boolean;
|
524
|
-
readonly inline: boolean;
|
525
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
526
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
527
|
-
readonly inlineMessage: boolean;
|
528
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
529
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
530
|
-
readonly labelSuffix: string;
|
531
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
532
|
-
readonly statusIcon: boolean;
|
533
|
-
readonly hideRequiredAsterisk: boolean;
|
534
|
-
readonly scrollToError: boolean;
|
535
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
536
|
-
beforeCreate?: (() => void) | (() => void)[];
|
537
|
-
created?: (() => void) | (() => void)[];
|
538
|
-
beforeMount?: (() => void) | (() => void)[];
|
539
|
-
mounted?: (() => void) | (() => void)[];
|
540
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
541
|
-
updated?: (() => void) | (() => void)[];
|
542
|
-
activated?: (() => void) | (() => void)[];
|
543
|
-
deactivated?: (() => void) | (() => void)[];
|
544
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
545
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
546
|
-
destroyed?: (() => void) | (() => void)[];
|
547
|
-
unmounted?: (() => void) | (() => void)[];
|
548
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
549
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
550
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
551
|
-
};
|
552
|
-
$forceUpdate: () => void;
|
553
|
-
$nextTick: nextTick;
|
554
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
555
|
-
} & Readonly<{
|
556
|
-
readonly disabled: boolean;
|
557
|
-
readonly inline: boolean;
|
558
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
559
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
560
|
-
readonly inlineMessage: boolean;
|
561
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
562
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
563
|
-
readonly labelSuffix: string;
|
564
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
565
|
-
readonly statusIcon: boolean;
|
566
|
-
readonly hideRequiredAsterisk: boolean;
|
567
|
-
readonly scrollToError: boolean;
|
568
|
-
}> & Omit<Readonly< ExtractPropTypes<{
|
569
|
-
readonly model: ObjectConstructor;
|
570
|
-
readonly rules: {
|
571
|
-
readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
572
|
-
readonly required: false;
|
573
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
574
|
-
__epPropKey: true;
|
575
|
-
};
|
576
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
577
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
578
|
-
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
579
|
-
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
580
|
-
readonly inline: BooleanConstructor;
|
581
|
-
readonly inlineMessage: BooleanConstructor;
|
582
|
-
readonly statusIcon: BooleanConstructor;
|
583
|
-
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
584
|
-
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
585
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
586
|
-
readonly scrollToError: BooleanConstructor;
|
587
|
-
readonly scrollIntoViewOptions: {
|
588
|
-
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
589
|
-
readonly required: false;
|
590
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
591
|
-
__epPropKey: true;
|
592
|
-
};
|
593
|
-
readonly size: {
|
594
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
595
|
-
readonly required: false;
|
596
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
597
|
-
__epPropKey: true;
|
598
|
-
};
|
599
|
-
readonly disabled: BooleanConstructor;
|
600
|
-
}>> & {
|
601
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
602
|
-
}, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
|
603
|
-
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
604
|
-
validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
|
605
|
-
resetFields: (props?: Arrayable<FormItemProp>) => void;
|
606
|
-
clearValidate: (props?: Arrayable<FormItemProp>) => void;
|
607
|
-
scrollToField: (prop: FormItemProp) => void;
|
608
|
-
fields: FormItemContext[];
|
609
|
-
}> & {} & ComponentCustomProperties & {} & {
|
610
|
-
$slots: {
|
611
|
-
default?(_: {}): any;
|
612
|
-
};
|
613
|
-
}) | null;
|
614
242
|
};
|
615
243
|
$slots: Readonly<{
|
616
244
|
[name: string]: Slot<any> | undefined;
|
@@ -775,8 +403,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
775
403
|
readonly enterSubmit: boolean;
|
776
404
|
readonly tooltipMessage?: boolean | Partial< ElTooltipProps> | undefined;
|
777
405
|
readonly model?: Record<string, any> | undefined;
|
778
|
-
readonly inlineColumns?: number | undefined;
|
779
406
|
readonly submitMethod?: ((model: FormModel) => Promise<any>) | undefined;
|
407
|
+
readonly inlineColumns?: number | undefined;
|
780
408
|
readonly onReset?: (() => any) | undefined;
|
781
409
|
readonly onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
782
410
|
readonly onChange?: ((model: Record<string, any>) => any) | undefined;
|
@@ -786,191 +414,6 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
786
414
|
};
|
787
415
|
$refs: {
|
788
416
|
[x: string]: unknown;
|
789
|
-
} & {
|
790
|
-
formRef: ({
|
791
|
-
$: ComponentInternalInstance;
|
792
|
-
$data: {};
|
793
|
-
$props: Partial<{
|
794
|
-
readonly disabled: boolean;
|
795
|
-
readonly inline: boolean;
|
796
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
797
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
798
|
-
readonly inlineMessage: boolean;
|
799
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
800
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
801
|
-
readonly labelSuffix: string;
|
802
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
803
|
-
readonly statusIcon: boolean;
|
804
|
-
readonly hideRequiredAsterisk: boolean;
|
805
|
-
readonly scrollToError: boolean;
|
806
|
-
}> & Omit<{
|
807
|
-
readonly disabled: boolean;
|
808
|
-
readonly inline: boolean;
|
809
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
810
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
811
|
-
readonly inlineMessage: boolean;
|
812
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
813
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
814
|
-
readonly labelSuffix: string;
|
815
|
-
readonly statusIcon: boolean;
|
816
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
817
|
-
readonly hideRequiredAsterisk: boolean;
|
818
|
-
readonly scrollToError: boolean;
|
819
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown> | undefined;
|
820
|
-
readonly rules?: Partial<Record<string, Arrayable<FormItemRule>>> | undefined;
|
821
|
-
readonly model?: Record<string, any> | undefined;
|
822
|
-
readonly scrollIntoViewOptions?: EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown> | undefined;
|
823
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
824
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
825
|
-
$attrs: {
|
826
|
-
[x: string]: unknown;
|
827
|
-
};
|
828
|
-
$refs: {
|
829
|
-
[x: string]: unknown;
|
830
|
-
};
|
831
|
-
$slots: Readonly<{
|
832
|
-
[name: string]: Slot<any> | undefined;
|
833
|
-
}>;
|
834
|
-
$root: ComponentPublicInstance | null;
|
835
|
-
$parent: ComponentPublicInstance | null;
|
836
|
-
$host: Element | null;
|
837
|
-
$emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
838
|
-
$el: any;
|
839
|
-
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
840
|
-
readonly model: ObjectConstructor;
|
841
|
-
readonly rules: {
|
842
|
-
readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
843
|
-
readonly required: false;
|
844
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
845
|
-
__epPropKey: true;
|
846
|
-
};
|
847
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
848
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
849
|
-
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
850
|
-
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
851
|
-
readonly inline: BooleanConstructor;
|
852
|
-
readonly inlineMessage: BooleanConstructor;
|
853
|
-
readonly statusIcon: BooleanConstructor;
|
854
|
-
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
855
|
-
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
856
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
857
|
-
readonly scrollToError: BooleanConstructor;
|
858
|
-
readonly scrollIntoViewOptions: {
|
859
|
-
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
860
|
-
readonly required: false;
|
861
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
862
|
-
__epPropKey: true;
|
863
|
-
};
|
864
|
-
readonly size: {
|
865
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
866
|
-
readonly required: false;
|
867
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
868
|
-
__epPropKey: true;
|
869
|
-
};
|
870
|
-
readonly disabled: BooleanConstructor;
|
871
|
-
}>> & {
|
872
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
873
|
-
}, {
|
874
|
-
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
875
|
-
validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
|
876
|
-
resetFields: (props?: Arrayable<FormItemProp>) => void;
|
877
|
-
clearValidate: (props?: Arrayable<FormItemProp>) => void;
|
878
|
-
scrollToField: (prop: FormItemProp) => void;
|
879
|
-
fields: FormItemContext[];
|
880
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
881
|
-
validate: (prop: FormItemProp, isValid: boolean, message: string) => void;
|
882
|
-
}, string, {
|
883
|
-
readonly disabled: boolean;
|
884
|
-
readonly inline: boolean;
|
885
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
886
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
887
|
-
readonly inlineMessage: boolean;
|
888
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
889
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
890
|
-
readonly labelSuffix: string;
|
891
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
892
|
-
readonly statusIcon: boolean;
|
893
|
-
readonly hideRequiredAsterisk: boolean;
|
894
|
-
readonly scrollToError: boolean;
|
895
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
896
|
-
beforeCreate?: (() => void) | (() => void)[];
|
897
|
-
created?: (() => void) | (() => void)[];
|
898
|
-
beforeMount?: (() => void) | (() => void)[];
|
899
|
-
mounted?: (() => void) | (() => void)[];
|
900
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
901
|
-
updated?: (() => void) | (() => void)[];
|
902
|
-
activated?: (() => void) | (() => void)[];
|
903
|
-
deactivated?: (() => void) | (() => void)[];
|
904
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
905
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
906
|
-
destroyed?: (() => void) | (() => void)[];
|
907
|
-
unmounted?: (() => void) | (() => void)[];
|
908
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
909
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
910
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
911
|
-
};
|
912
|
-
$forceUpdate: () => void;
|
913
|
-
$nextTick: nextTick;
|
914
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
915
|
-
} & Readonly<{
|
916
|
-
readonly disabled: boolean;
|
917
|
-
readonly inline: boolean;
|
918
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
919
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
920
|
-
readonly inlineMessage: boolean;
|
921
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
922
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
923
|
-
readonly labelSuffix: string;
|
924
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
925
|
-
readonly statusIcon: boolean;
|
926
|
-
readonly hideRequiredAsterisk: boolean;
|
927
|
-
readonly scrollToError: boolean;
|
928
|
-
}> & Omit<Readonly< ExtractPropTypes<{
|
929
|
-
readonly model: ObjectConstructor;
|
930
|
-
readonly rules: {
|
931
|
-
readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
932
|
-
readonly required: false;
|
933
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
934
|
-
__epPropKey: true;
|
935
|
-
};
|
936
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
937
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
938
|
-
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
939
|
-
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
940
|
-
readonly inline: BooleanConstructor;
|
941
|
-
readonly inlineMessage: BooleanConstructor;
|
942
|
-
readonly statusIcon: BooleanConstructor;
|
943
|
-
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
944
|
-
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
945
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
946
|
-
readonly scrollToError: BooleanConstructor;
|
947
|
-
readonly scrollIntoViewOptions: {
|
948
|
-
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
949
|
-
readonly required: false;
|
950
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
951
|
-
__epPropKey: true;
|
952
|
-
};
|
953
|
-
readonly size: {
|
954
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
955
|
-
readonly required: false;
|
956
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
957
|
-
__epPropKey: true;
|
958
|
-
};
|
959
|
-
readonly disabled: BooleanConstructor;
|
960
|
-
}>> & {
|
961
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
962
|
-
}, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
|
963
|
-
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
964
|
-
validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
|
965
|
-
resetFields: (props?: Arrayable<FormItemProp>) => void;
|
966
|
-
clearValidate: (props?: Arrayable<FormItemProp>) => void;
|
967
|
-
scrollToField: (prop: FormItemProp) => void;
|
968
|
-
fields: FormItemContext[];
|
969
|
-
}> & {} & ComponentCustomProperties & {} & {
|
970
|
-
$slots: {
|
971
|
-
default?(_: {}): any;
|
972
|
-
};
|
973
|
-
}) | null;
|
974
417
|
};
|
975
418
|
$slots: Readonly<{
|
976
419
|
[name: string]: Slot<any> | undefined;
|
@@ -1141,369 +584,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
1141
584
|
disabled: boolean;
|
1142
585
|
collapsible: boolean;
|
1143
586
|
inlineColumns: number;
|
1144
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
1145
|
-
formRef: ({
|
1146
|
-
$: ComponentInternalInstance;
|
1147
|
-
$data: {};
|
1148
|
-
$props: Partial<{
|
1149
|
-
footer: boolean;
|
1150
|
-
inline: boolean;
|
1151
|
-
tooltipMessage: boolean | Partial< ElTooltipProps>;
|
1152
|
-
model: Record<string, any>;
|
1153
|
-
submitText: string | null;
|
1154
|
-
resetText: string | null;
|
1155
|
-
enterSubmit: boolean;
|
1156
|
-
}> & Omit<{
|
1157
|
-
readonly footer: boolean;
|
1158
|
-
readonly inline: boolean;
|
1159
|
-
readonly submitText: string | null;
|
1160
|
-
readonly resetText: string | null;
|
1161
|
-
readonly enterSubmit: boolean;
|
1162
|
-
readonly tooltipMessage?: boolean | Partial< ElTooltipProps> | undefined;
|
1163
|
-
readonly model?: Record<string, any> | undefined;
|
1164
|
-
readonly inlineColumns?: number | undefined;
|
1165
|
-
readonly submitMethod?: ((model: FormModel) => Promise<any>) | undefined;
|
1166
|
-
readonly onReset?: (() => any) | undefined;
|
1167
|
-
readonly onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
1168
|
-
readonly onChange?: ((model: Record<string, any>) => any) | undefined;
|
1169
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText" | "enterSubmit">;
|
1170
|
-
$attrs: {
|
1171
|
-
[x: string]: unknown;
|
1172
|
-
};
|
1173
|
-
$refs: {
|
1174
|
-
[x: string]: unknown;
|
1175
|
-
} & {
|
1176
|
-
formRef: ({
|
1177
|
-
$: ComponentInternalInstance;
|
1178
|
-
$data: {};
|
1179
|
-
$props: Partial<{
|
1180
|
-
readonly disabled: boolean;
|
1181
|
-
readonly inline: boolean;
|
1182
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
1183
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
1184
|
-
readonly inlineMessage: boolean;
|
1185
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
1186
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
1187
|
-
readonly labelSuffix: string;
|
1188
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
1189
|
-
readonly statusIcon: boolean;
|
1190
|
-
readonly hideRequiredAsterisk: boolean;
|
1191
|
-
readonly scrollToError: boolean;
|
1192
|
-
}> & Omit<{
|
1193
|
-
readonly disabled: boolean;
|
1194
|
-
readonly inline: boolean;
|
1195
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
1196
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
1197
|
-
readonly inlineMessage: boolean;
|
1198
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
1199
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
1200
|
-
readonly labelSuffix: string;
|
1201
|
-
readonly statusIcon: boolean;
|
1202
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
1203
|
-
readonly hideRequiredAsterisk: boolean;
|
1204
|
-
readonly scrollToError: boolean;
|
1205
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown> | undefined;
|
1206
|
-
readonly rules?: Partial<Record<string, Arrayable<FormItemRule>>> | undefined;
|
1207
|
-
readonly model?: Record<string, any> | undefined;
|
1208
|
-
readonly scrollIntoViewOptions?: EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown> | undefined;
|
1209
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
1210
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
1211
|
-
$attrs: {
|
1212
|
-
[x: string]: unknown;
|
1213
|
-
};
|
1214
|
-
$refs: {
|
1215
|
-
[x: string]: unknown;
|
1216
|
-
};
|
1217
|
-
$slots: Readonly<{
|
1218
|
-
[name: string]: Slot<any> | undefined;
|
1219
|
-
}>;
|
1220
|
-
$root: ComponentPublicInstance | null;
|
1221
|
-
$parent: ComponentPublicInstance | null;
|
1222
|
-
$host: Element | null;
|
1223
|
-
$emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
1224
|
-
$el: any;
|
1225
|
-
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
1226
|
-
readonly model: ObjectConstructor;
|
1227
|
-
readonly rules: {
|
1228
|
-
readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
1229
|
-
readonly required: false;
|
1230
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
1231
|
-
__epPropKey: true;
|
1232
|
-
};
|
1233
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
1234
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
1235
|
-
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
1236
|
-
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
1237
|
-
readonly inline: BooleanConstructor;
|
1238
|
-
readonly inlineMessage: BooleanConstructor;
|
1239
|
-
readonly statusIcon: BooleanConstructor;
|
1240
|
-
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
1241
|
-
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
1242
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
1243
|
-
readonly scrollToError: BooleanConstructor;
|
1244
|
-
readonly scrollIntoViewOptions: {
|
1245
|
-
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
1246
|
-
readonly required: false;
|
1247
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
1248
|
-
__epPropKey: true;
|
1249
|
-
};
|
1250
|
-
readonly size: {
|
1251
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
1252
|
-
readonly required: false;
|
1253
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
1254
|
-
__epPropKey: true;
|
1255
|
-
};
|
1256
|
-
readonly disabled: BooleanConstructor;
|
1257
|
-
}>> & {
|
1258
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
1259
|
-
}, {
|
1260
|
-
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
1261
|
-
validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
|
1262
|
-
resetFields: (props?: Arrayable<FormItemProp>) => void;
|
1263
|
-
clearValidate: (props?: Arrayable<FormItemProp>) => void;
|
1264
|
-
scrollToField: (prop: FormItemProp) => void;
|
1265
|
-
fields: FormItemContext[];
|
1266
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
1267
|
-
validate: (prop: FormItemProp, isValid: boolean, message: string) => void;
|
1268
|
-
}, string, {
|
1269
|
-
readonly disabled: boolean;
|
1270
|
-
readonly inline: boolean;
|
1271
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
1272
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
1273
|
-
readonly inlineMessage: boolean;
|
1274
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
1275
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
1276
|
-
readonly labelSuffix: string;
|
1277
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
1278
|
-
readonly statusIcon: boolean;
|
1279
|
-
readonly hideRequiredAsterisk: boolean;
|
1280
|
-
readonly scrollToError: boolean;
|
1281
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
1282
|
-
beforeCreate?: (() => void) | (() => void)[];
|
1283
|
-
created?: (() => void) | (() => void)[];
|
1284
|
-
beforeMount?: (() => void) | (() => void)[];
|
1285
|
-
mounted?: (() => void) | (() => void)[];
|
1286
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
1287
|
-
updated?: (() => void) | (() => void)[];
|
1288
|
-
activated?: (() => void) | (() => void)[];
|
1289
|
-
deactivated?: (() => void) | (() => void)[];
|
1290
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
1291
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
1292
|
-
destroyed?: (() => void) | (() => void)[];
|
1293
|
-
unmounted?: (() => void) | (() => void)[];
|
1294
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
1295
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
1296
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
1297
|
-
};
|
1298
|
-
$forceUpdate: () => void;
|
1299
|
-
$nextTick: nextTick;
|
1300
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
1301
|
-
} & Readonly<{
|
1302
|
-
readonly disabled: boolean;
|
1303
|
-
readonly inline: boolean;
|
1304
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
1305
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
1306
|
-
readonly inlineMessage: boolean;
|
1307
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
1308
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
1309
|
-
readonly labelSuffix: string;
|
1310
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
1311
|
-
readonly statusIcon: boolean;
|
1312
|
-
readonly hideRequiredAsterisk: boolean;
|
1313
|
-
readonly scrollToError: boolean;
|
1314
|
-
}> & Omit<Readonly< ExtractPropTypes<{
|
1315
|
-
readonly model: ObjectConstructor;
|
1316
|
-
readonly rules: {
|
1317
|
-
readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
1318
|
-
readonly required: false;
|
1319
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
1320
|
-
__epPropKey: true;
|
1321
|
-
};
|
1322
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
1323
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
1324
|
-
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
1325
|
-
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
1326
|
-
readonly inline: BooleanConstructor;
|
1327
|
-
readonly inlineMessage: BooleanConstructor;
|
1328
|
-
readonly statusIcon: BooleanConstructor;
|
1329
|
-
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
1330
|
-
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
1331
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
1332
|
-
readonly scrollToError: BooleanConstructor;
|
1333
|
-
readonly scrollIntoViewOptions: {
|
1334
|
-
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
1335
|
-
readonly required: false;
|
1336
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
1337
|
-
__epPropKey: true;
|
1338
|
-
};
|
1339
|
-
readonly size: {
|
1340
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
1341
|
-
readonly required: false;
|
1342
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
1343
|
-
__epPropKey: true;
|
1344
|
-
};
|
1345
|
-
readonly disabled: BooleanConstructor;
|
1346
|
-
}>> & {
|
1347
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
1348
|
-
}, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
|
1349
|
-
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
1350
|
-
validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
|
1351
|
-
resetFields: (props?: Arrayable<FormItemProp>) => void;
|
1352
|
-
clearValidate: (props?: Arrayable<FormItemProp>) => void;
|
1353
|
-
scrollToField: (prop: FormItemProp) => void;
|
1354
|
-
fields: FormItemContext[];
|
1355
|
-
}> & {} & ComponentCustomProperties & {} & {
|
1356
|
-
$slots: {
|
1357
|
-
default?(_: {}): any;
|
1358
|
-
};
|
1359
|
-
}) | null;
|
1360
|
-
};
|
1361
|
-
$slots: Readonly<{
|
1362
|
-
[name: string]: Slot<any> | undefined;
|
1363
|
-
}>;
|
1364
|
-
$root: ComponentPublicInstance | null;
|
1365
|
-
$parent: ComponentPublicInstance | null;
|
1366
|
-
$host: Element | null;
|
1367
|
-
$emit: ((event: "reset") => void) & ((event: "submit", model: Record<string, any>) => void) & ((event: "change", model: Record<string, any>) => void);
|
1368
|
-
$el: any;
|
1369
|
-
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
1370
|
-
model: {
|
1371
|
-
type: PropType<Record<string, any>>;
|
1372
|
-
default(): any;
|
1373
|
-
};
|
1374
|
-
inline: {
|
1375
|
-
type: BooleanConstructor;
|
1376
|
-
};
|
1377
|
-
inlineColumns: {
|
1378
|
-
type: NumberConstructor;
|
1379
|
-
};
|
1380
|
-
footer: {
|
1381
|
-
type: BooleanConstructor;
|
1382
|
-
default: boolean;
|
1383
|
-
};
|
1384
|
-
submitText: {
|
1385
|
-
type: PropType<string | null>;
|
1386
|
-
default: string;
|
1387
|
-
};
|
1388
|
-
resetText: {
|
1389
|
-
type: PropType<string | null>;
|
1390
|
-
default: string;
|
1391
|
-
};
|
1392
|
-
submitMethod: {
|
1393
|
-
type: PropType<(model: FormModel) => Promise<any>>;
|
1394
|
-
};
|
1395
|
-
tooltipMessage: {
|
1396
|
-
type: PropType<boolean | Partial< ElTooltipProps>>;
|
1397
|
-
default: undefined;
|
1398
|
-
};
|
1399
|
-
enterSubmit: {
|
1400
|
-
type: BooleanConstructor;
|
1401
|
-
default: boolean;
|
1402
|
-
};
|
1403
|
-
}>> & Readonly<{
|
1404
|
-
onReset?: (() => any) | undefined;
|
1405
|
-
onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
1406
|
-
onChange?: ((model: Record<string, any>) => any) | undefined;
|
1407
|
-
}>, {
|
1408
|
-
formRef: Ref<any, any>;
|
1409
|
-
model: FormModel;
|
1410
|
-
submit: () => Promise<void>;
|
1411
|
-
reset: (fields?: string[] | string) => void;
|
1412
|
-
validate: () => Promise<any>;
|
1413
|
-
clearValidate: () => void;
|
1414
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
1415
|
-
reset: () => any;
|
1416
|
-
submit: (model: Record<string, any>) => any;
|
1417
|
-
change: (model: Record<string, any>) => any;
|
1418
|
-
}, string, {
|
1419
|
-
footer: boolean;
|
1420
|
-
inline: boolean;
|
1421
|
-
tooltipMessage: boolean | Partial< ElTooltipProps>;
|
1422
|
-
model: Record<string, any>;
|
1423
|
-
submitText: string | null;
|
1424
|
-
resetText: string | null;
|
1425
|
-
enterSubmit: boolean;
|
1426
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
1427
|
-
beforeCreate?: (() => void) | (() => void)[];
|
1428
|
-
created?: (() => void) | (() => void)[];
|
1429
|
-
beforeMount?: (() => void) | (() => void)[];
|
1430
|
-
mounted?: (() => void) | (() => void)[];
|
1431
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
1432
|
-
updated?: (() => void) | (() => void)[];
|
1433
|
-
activated?: (() => void) | (() => void)[];
|
1434
|
-
deactivated?: (() => void) | (() => void)[];
|
1435
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
1436
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
1437
|
-
destroyed?: (() => void) | (() => void)[];
|
1438
|
-
unmounted?: (() => void) | (() => void)[];
|
1439
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
1440
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
1441
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
1442
|
-
};
|
1443
|
-
$forceUpdate: () => void;
|
1444
|
-
$nextTick: nextTick;
|
1445
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
1446
|
-
} & Readonly<{
|
1447
|
-
footer: boolean;
|
1448
|
-
inline: boolean;
|
1449
|
-
tooltipMessage: boolean | Partial< ElTooltipProps>;
|
1450
|
-
model: Record<string, any>;
|
1451
|
-
submitText: string | null;
|
1452
|
-
resetText: string | null;
|
1453
|
-
enterSubmit: boolean;
|
1454
|
-
}> & Omit<Readonly< ExtractPropTypes<{
|
1455
|
-
model: {
|
1456
|
-
type: PropType<Record<string, any>>;
|
1457
|
-
default(): any;
|
1458
|
-
};
|
1459
|
-
inline: {
|
1460
|
-
type: BooleanConstructor;
|
1461
|
-
};
|
1462
|
-
inlineColumns: {
|
1463
|
-
type: NumberConstructor;
|
1464
|
-
};
|
1465
|
-
footer: {
|
1466
|
-
type: BooleanConstructor;
|
1467
|
-
default: boolean;
|
1468
|
-
};
|
1469
|
-
submitText: {
|
1470
|
-
type: PropType<string | null>;
|
1471
|
-
default: string;
|
1472
|
-
};
|
1473
|
-
resetText: {
|
1474
|
-
type: PropType<string | null>;
|
1475
|
-
default: string;
|
1476
|
-
};
|
1477
|
-
submitMethod: {
|
1478
|
-
type: PropType<(model: FormModel) => Promise<any>>;
|
1479
|
-
};
|
1480
|
-
tooltipMessage: {
|
1481
|
-
type: PropType<boolean | Partial< ElTooltipProps>>;
|
1482
|
-
default: undefined;
|
1483
|
-
};
|
1484
|
-
enterSubmit: {
|
1485
|
-
type: BooleanConstructor;
|
1486
|
-
default: boolean;
|
1487
|
-
};
|
1488
|
-
}>> & Readonly<{
|
1489
|
-
onReset?: (() => any) | undefined;
|
1490
|
-
onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
1491
|
-
onChange?: ((model: Record<string, any>) => any) | undefined;
|
1492
|
-
}>, "reset" | "submit" | "clearValidate" | "validate" | "formRef" | ("footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText" | "enterSubmit")> & ShallowUnwrapRef<{
|
1493
|
-
formRef: Ref<any, any>;
|
1494
|
-
model: FormModel;
|
1495
|
-
submit: () => Promise<void>;
|
1496
|
-
reset: (fields?: string[] | string) => void;
|
1497
|
-
validate: () => Promise<any>;
|
1498
|
-
clearValidate: () => void;
|
1499
|
-
}> & {} & ComponentCustomProperties & {} & {
|
1500
|
-
$slots: {
|
1501
|
-
default?(_: {}): any;
|
1502
|
-
footer?(_: {}): any;
|
1503
|
-
action?(_: {}): any;
|
1504
|
-
};
|
1505
|
-
}) | null;
|
1506
|
-
}, any>;
|
587
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
1507
588
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
1508
589
|
export default _default;
|
1509
590
|
type __VLS_WithTemplateSlots<T, S> = T & {
|