@vunk/form 2.14.0 → 2.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/api-tables-select/index.d.ts +4 -0
- package/components/api-tables-select/src/ctx.d.ts +374 -0
- package/components/api-tables-select/src/index.vue.d.ts +1335 -0
- package/components/api-tables-select/src/types.d.ts +19 -0
- package/components/button/index.d.ts +4 -0
- package/components/button/src/ctx.d.ts +185 -0
- package/components/button/src/index.vue.d.ts +813 -0
- package/components/button/src/types.d.ts +13 -0
- package/components/card-input-collection/index.d.ts +4 -0
- package/components/card-input-collection/src/ctx.d.ts +114 -0
- package/components/card-input-collection/src/index.vue.d.ts +1029 -0
- package/components/card-input-collection/src/types.d.ts +10 -0
- package/components/cascader/index.d.ts +6 -0
- package/components/cascader/src/ctx.d.ts +285 -0
- package/components/cascader/src/index.vue.d.ts +627 -0
- package/components/cascader/src/types.d.ts +19 -0
- package/components/cascader/src/use.d.ts +5 -0
- package/components/checkbox/index.d.ts +5 -0
- package/components/checkbox/src/ctx.d.ts +146 -0
- package/components/checkbox/src/index.vue.d.ts +1353 -0
- package/components/checkbox/src/types.d.ts +8 -0
- package/components/color-picker/index.d.ts +4 -0
- package/components/color-picker/src/ctx.d.ts +164 -0
- package/components/color-picker/src/index.vue.d.ts +366 -0
- package/components/color-picker/src/types.d.ts +7 -0
- package/components/date-picker/index.d.ts +5 -0
- package/components/date-picker/src/ctx.d.ts +321 -0
- package/components/date-picker/src/index.vue.d.ts +1423 -0
- package/components/date-picker/src/types.d.ts +20 -0
- package/components/date-picker-range/index.d.ts +4 -0
- package/components/date-picker-range/src/ctx.d.ts +329 -0
- package/components/date-picker-range/src/index.vue.d.ts +720 -0
- package/components/date-picker-range/src/types.d.ts +12 -0
- package/components/dialog-input-collection/index.d.ts +4 -0
- package/components/dialog-input-collection/src/ctx.d.ts +140 -0
- package/components/dialog-input-collection/src/dialog-form.vue.d.ts +1782 -0
- package/components/dialog-input-collection/src/index.vue.d.ts +3100 -0
- package/components/dialog-input-collection/src/layout.vue.d.ts +85 -0
- package/components/dialog-input-collection/src/types.d.ts +28 -0
- package/components/download-plus/index.d.ts +4 -0
- package/components/download-plus/src/api.d.ts +13 -0
- package/components/download-plus/src/const.d.ts +9 -0
- package/components/download-plus/src/ctx.d.ts +124 -0
- package/components/download-plus/src/index.vue.d.ts +1453 -0
- package/components/download-plus/src/types.d.ts +17 -0
- package/components/editable-text/index.d.ts +4 -0
- package/components/editable-text/src/ctx.d.ts +127 -0
- package/components/editable-text/src/index.vue.d.ts +3385 -0
- package/components/editable-text/src/types.d.ts +1 -0
- package/components/esri-input-geojson/index.d.ts +6 -0
- package/components/esri-input-geojson/src/append.vue.d.ts +1179 -0
- package/components/esri-input-geojson/src/const.d.ts +12 -0
- package/components/esri-input-geojson/src/ctx.d.ts +344 -0
- package/components/esri-input-geojson/src/default-view.vue.d.ts +133 -0
- package/components/esri-input-geojson/src/index.vue.d.ts +1471 -0
- package/components/esri-input-geojson/src/types.d.ts +22 -0
- package/components/esri-input-geojson/src/viewer.vue.d.ts +427 -0
- package/components/fieldset/index.d.ts +4 -0
- package/components/fieldset/src/ctx.d.ts +12 -0
- package/components/fieldset/src/index.vue.d.ts +23 -0
- package/components/fieldset/src/types.d.ts +1 -0
- package/components/fieldset/src/use.d.ts +5 -0
- package/components/form/index.d.ts +5 -0
- package/components/form/src/ctx.d.ts +139 -0
- package/components/form/src/index.vue.d.ts +1182 -0
- package/components/form/src/types.d.ts +25 -0
- package/components/form/src/utils.d.ts +15 -0
- package/components/form-item/index.d.ts +5 -0
- package/components/form-item/src/core.vue.d.ts +1847 -0
- package/components/form-item/src/ctx.d.ts +102 -0
- package/components/form-item/src/index.vue.d.ts +211 -0
- package/components/form-item/src/types.d.ts +10 -0
- package/components/form-item-renderer/index.d.ts +4 -0
- package/components/form-item-renderer/src/core.vue.d.ts +38 -0
- package/components/form-item-renderer/src/ctx.d.ts +16 -0
- package/components/form-item-renderer/src/index.vue.d.ts +93 -0
- package/components/form-item-renderer/src/types.d.ts +5 -0
- package/components/form-item-renderer/src/utils.d.ts +5 -0
- package/components/form-item-renderer-template/index.d.ts +4 -0
- package/components/form-item-renderer-template/src/ctx.d.ts +7 -0
- package/components/form-item-renderer-template/src/index.vue.d.ts +16 -0
- package/components/form-item-renderer-template/src/types.d.ts +55 -0
- package/components/forms-provider/index.d.ts +6 -0
- package/components/forms-provider/src/core.d.ts +6 -0
- package/components/forms-provider/src/index.vue.d.ts +2 -0
- package/components/forms-provider/src/segment.vue.d.ts +9 -0
- package/components/forms-provider/src/types.d.ts +10 -0
- package/components/forms-provider/src/view.vue.d.ts +7 -0
- package/components/information/index.d.ts +4 -0
- package/components/information/src/ctx.d.ts +13 -0
- package/components/information/src/index.vue.d.ts +23 -0
- package/components/information/src/types.d.ts +3 -0
- package/components/information-collection/index.d.ts +4 -0
- package/components/information-collection/src/ctx.d.ts +142 -0
- package/components/information-collection/src/index.vue.d.ts +293 -0
- package/components/information-collection/src/types.d.ts +6 -0
- package/components/information-renderer/index.d.ts +73 -0
- package/components/information-tag/index.d.ts +4 -0
- package/components/information-tag/src/ctx.d.ts +64 -0
- package/components/information-tag/src/index.vue.d.ts +134 -0
- package/components/information-tag/src/types.d.ts +1 -0
- package/components/information-templates-default/index.d.ts +4 -0
- package/components/information-templates-default/src/ctx.d.ts +2 -0
- package/components/information-templates-default/src/index.vue.d.ts +2 -0
- package/components/information-templates-default/src/types.d.ts +1 -0
- package/components/input/index.d.ts +5 -0
- package/components/input/src/ctx.d.ts +273 -0
- package/components/input/src/index.vue.d.ts +1234 -0
- package/components/input/src/types.d.ts +13 -0
- package/components/input-array/index.d.ts +5 -0
- package/components/input-array/src/ctx.d.ts +129 -0
- package/components/input-array/src/form-template.vue.d.ts +867 -0
- package/components/input-array/src/index.vue.d.ts +855 -0
- package/components/input-array/src/types.d.ts +7 -0
- package/components/input-collection/index.d.ts +4 -0
- package/components/input-collection/src/ctx.d.ts +132 -0
- package/components/input-collection/src/index.vue.d.ts +1127 -0
- package/components/input-collection/src/types.d.ts +29 -0
- package/components/input-link/index.d.ts +4 -0
- package/components/input-link/src/ctx.d.ts +277 -0
- package/components/input-link/src/index.vue.d.ts +587 -0
- package/components/input-link/src/types.d.ts +7 -0
- package/components/input-number/index.d.ts +4 -0
- package/components/input-number/src/ctx.d.ts +211 -0
- package/components/input-number/src/index.vue.d.ts +852 -0
- package/components/input-number/src/types.d.ts +12 -0
- package/components/input-tag/index.d.ts +5 -0
- package/components/input-tag/src/ctx.d.ts +227 -0
- package/components/input-tag/src/index.vue.d.ts +947 -0
- package/components/input-tag/src/types.d.ts +22 -0
- package/components/monaco-editor/index.d.ts +4 -0
- package/components/monaco-editor/src/ctx.d.ts +110 -0
- package/components/monaco-editor/src/index.vue.d.ts +294 -0
- package/components/monaco-editor/src/types.d.ts +7 -0
- package/components/radio/index.d.ts +4 -0
- package/components/radio/src/ctx.d.ts +157 -0
- package/components/radio/src/index.vue.d.ts +1302 -0
- package/components/radio/src/types.d.ts +8 -0
- package/components/renderer-data/index.d.ts +4 -0
- package/components/renderer-data/src/ctx.d.ts +12 -0
- package/components/renderer-data/src/index.vue.d.ts +20 -0
- package/components/renderer-data/src/types.d.ts +1 -0
- package/components/select/index.d.ts +5 -0
- package/components/select/src/ctx.d.ts +220 -0
- package/components/select/src/index.vue.d.ts +1034 -0
- package/components/select/src/types.d.ts +11 -0
- package/components/slider/index.d.ts +4 -0
- package/components/slider/src/ctx.d.ts +248 -0
- package/components/slider/src/index.vue.d.ts +579 -0
- package/components/slider/src/types.d.ts +7 -0
- package/components/switch/index.d.ts +4 -0
- package/components/switch/src/ctx.d.ts +203 -0
- package/components/switch/src/index.vue.d.ts +886 -0
- package/components/switch/src/types.d.ts +8 -0
- package/components/tables-select/index.d.ts +5 -0
- package/components/tables-select/src/ctx.d.ts +420 -0
- package/components/tables-select/src/index.vue.d.ts +5411 -0
- package/components/tables-select/src/types.d.ts +9 -0
- package/components/template-instances-provider/index.d.ts +3 -0
- package/components/template-instances-provider/src/index.vue.d.ts +6 -0
- package/components/templates-default/index.d.ts +4 -0
- package/components/templates-default/src/ctx.d.ts +19 -0
- package/components/templates-default/src/index.vue.d.ts +187 -0
- package/components/templates-default/src/types.d.ts +55 -0
- package/components/templates-element-plus/index.d.ts +4 -0
- package/components/templates-element-plus/src/ctx.d.ts +9 -0
- package/components/templates-element-plus/src/index.vue.d.ts +301 -0
- package/components/templates-element-plus/src/types.d.ts +13 -0
- package/components/templates-esri/index.d.ts +4 -0
- package/components/templates-esri/src/ctx.d.ts +11 -0
- package/components/templates-esri/src/index.vue.d.ts +43 -0
- package/components/templates-esri/src/types.d.ts +2 -0
- package/components/templates-layout/index.d.ts +4 -0
- package/components/templates-layout/src/ctx.d.ts +9 -0
- package/components/templates-layout/src/index.vue.d.ts +446 -0
- package/components/templates-layout/src/types.d.ts +32 -0
- package/components/templates-variant/index.d.ts +4 -0
- package/components/templates-variant/src/ctx.d.ts +11 -0
- package/components/templates-variant/src/index.vue.d.ts +43 -0
- package/components/templates-variant/src/types.d.ts +2 -0
- package/components/upload/index.d.ts +5 -0
- package/components/upload/src/ctx.d.ts +289 -0
- package/components/upload/src/file.vue.d.ts +492 -0
- package/components/upload/src/index.vue.d.ts +1926 -0
- package/components/upload/src/types.d.ts +13 -0
- package/components/upload-plus/index.d.ts +6 -0
- package/components/upload-plus/src/api.d.ts +38 -0
- package/components/upload-plus/src/const.d.ts +9 -0
- package/components/upload-plus/src/ctx.d.ts +143 -0
- package/components/upload-plus/src/index.vue.d.ts +1770 -0
- package/components/upload-plus/src/types.d.ts +32 -0
- package/components/van-cascader/index.d.ts +4 -0
- package/components/van-cascader/src/ctx.d.ts +272 -0
- package/components/van-cascader/src/index.vue.d.ts +2093 -0
- package/components/van-cascader/src/types.d.ts +1 -0
- package/components/var-datetime-picker/index.d.ts +4 -0
- package/components/var-datetime-picker/src/const.d.ts +10 -0
- package/components/var-datetime-picker/src/ctx.d.ts +107 -0
- package/components/var-datetime-picker/src/index.vue.d.ts +1485 -0
- package/components/var-datetime-picker/src/types.d.ts +22 -0
- package/components/vditor/index.d.ts +4 -0
- package/components/vditor/src/ctx.d.ts +117 -0
- package/components/vditor/src/index.vue.d.ts +409 -0
- package/components/vditor/src/types.d.ts +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1782 @@
|
|
|
1
|
+
import type { AnyFunc } from '@vunk/shared';
|
|
2
|
+
import { type PropType } from 'vue';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
title: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: ObjectConstructor;
|
|
10
|
+
default: () => {};
|
|
11
|
+
};
|
|
12
|
+
openReset: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
visible: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
formItems: {
|
|
21
|
+
type: ArrayConstructor;
|
|
22
|
+
default: () => any[];
|
|
23
|
+
};
|
|
24
|
+
dialogFormProps: {
|
|
25
|
+
type: ObjectConstructor;
|
|
26
|
+
default: () => {};
|
|
27
|
+
};
|
|
28
|
+
validateCatch: {
|
|
29
|
+
type: PropType<AnyFunc>;
|
|
30
|
+
default: (err: any, init?: {
|
|
31
|
+
prefix?: string;
|
|
32
|
+
suffix?: string;
|
|
33
|
+
}) => void;
|
|
34
|
+
};
|
|
35
|
+
}>, {
|
|
36
|
+
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
title: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
modelValue: {
|
|
42
|
+
type: ObjectConstructor;
|
|
43
|
+
default: () => {};
|
|
44
|
+
};
|
|
45
|
+
openReset: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
visible: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
formItems: {
|
|
54
|
+
type: ArrayConstructor;
|
|
55
|
+
default: () => any[];
|
|
56
|
+
};
|
|
57
|
+
dialogFormProps: {
|
|
58
|
+
type: ObjectConstructor;
|
|
59
|
+
default: () => {};
|
|
60
|
+
};
|
|
61
|
+
validateCatch: {
|
|
62
|
+
type: PropType<AnyFunc>;
|
|
63
|
+
default: (err: any, init?: {
|
|
64
|
+
prefix?: string;
|
|
65
|
+
suffix?: string;
|
|
66
|
+
}) => void;
|
|
67
|
+
};
|
|
68
|
+
}>> & Readonly<{
|
|
69
|
+
"onUpdate:visible"?: (...args: any[]) => any;
|
|
70
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
71
|
+
onChange?: (...args: any[]) => any;
|
|
72
|
+
}> & {}>;
|
|
73
|
+
emit: (event: "update:modelValue" | "change" | "update:visible", ...args: any[]) => void;
|
|
74
|
+
formData: import("vue").Ref<Record<string, any>, Record<string, any>>;
|
|
75
|
+
formDef: {
|
|
76
|
+
_ref: import("vue").ShallowRef<{
|
|
77
|
+
$: import("vue").ComponentInternalInstance;
|
|
78
|
+
$data: {};
|
|
79
|
+
$props: Partial<{
|
|
80
|
+
readonly disabled: boolean;
|
|
81
|
+
readonly inline: boolean;
|
|
82
|
+
readonly labelWidth: string | number;
|
|
83
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
84
|
+
readonly inlineMessage: boolean;
|
|
85
|
+
readonly showMessage: boolean;
|
|
86
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
87
|
+
readonly labelSuffix: string;
|
|
88
|
+
readonly validateOnRuleChange: boolean;
|
|
89
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
90
|
+
readonly statusIcon: boolean;
|
|
91
|
+
readonly hideRequiredAsterisk: boolean;
|
|
92
|
+
readonly scrollToError: boolean;
|
|
93
|
+
}> & Omit<{
|
|
94
|
+
readonly inline: boolean;
|
|
95
|
+
readonly labelWidth: string | number;
|
|
96
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
97
|
+
readonly inlineMessage: boolean;
|
|
98
|
+
readonly showMessage: boolean;
|
|
99
|
+
readonly disabled: boolean;
|
|
100
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
101
|
+
readonly labelSuffix: string;
|
|
102
|
+
readonly statusIcon: boolean;
|
|
103
|
+
readonly validateOnRuleChange: boolean;
|
|
104
|
+
readonly hideRequiredAsterisk: boolean;
|
|
105
|
+
readonly scrollToError: boolean;
|
|
106
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
107
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
108
|
+
readonly rules?: Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>;
|
|
109
|
+
readonly model?: Record<string, any>;
|
|
110
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
111
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "disabled" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
|
|
112
|
+
$attrs: {
|
|
113
|
+
[x: string]: unknown;
|
|
114
|
+
};
|
|
115
|
+
$refs: {
|
|
116
|
+
[x: string]: unknown;
|
|
117
|
+
};
|
|
118
|
+
$slots: Readonly<{
|
|
119
|
+
[name: string]: import("vue").Slot<any>;
|
|
120
|
+
}>;
|
|
121
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
122
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
123
|
+
$host: Element | null;
|
|
124
|
+
$emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
125
|
+
$el: any;
|
|
126
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
127
|
+
readonly model: ObjectConstructor;
|
|
128
|
+
readonly rules: {
|
|
129
|
+
readonly type: PropType<Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>>;
|
|
130
|
+
readonly required: false;
|
|
131
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
132
|
+
__epPropKey: true;
|
|
133
|
+
};
|
|
134
|
+
readonly labelPosition: {
|
|
135
|
+
readonly type: PropType<"top" | "left" | "right">;
|
|
136
|
+
readonly required: false;
|
|
137
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
138
|
+
__epPropKey: true;
|
|
139
|
+
} & {
|
|
140
|
+
readonly default: "right";
|
|
141
|
+
};
|
|
142
|
+
readonly requireAsteriskPosition: {
|
|
143
|
+
readonly type: PropType<"left" | "right">;
|
|
144
|
+
readonly required: false;
|
|
145
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
146
|
+
__epPropKey: true;
|
|
147
|
+
} & {
|
|
148
|
+
readonly default: "left";
|
|
149
|
+
};
|
|
150
|
+
readonly labelWidth: {
|
|
151
|
+
readonly type: PropType<string | number>;
|
|
152
|
+
readonly required: false;
|
|
153
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
154
|
+
__epPropKey: true;
|
|
155
|
+
} & {
|
|
156
|
+
readonly default: "";
|
|
157
|
+
};
|
|
158
|
+
readonly labelSuffix: {
|
|
159
|
+
readonly type: PropType<string>;
|
|
160
|
+
readonly required: false;
|
|
161
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
162
|
+
__epPropKey: true;
|
|
163
|
+
} & {
|
|
164
|
+
readonly default: "";
|
|
165
|
+
};
|
|
166
|
+
readonly inline: BooleanConstructor;
|
|
167
|
+
readonly inlineMessage: BooleanConstructor;
|
|
168
|
+
readonly statusIcon: BooleanConstructor;
|
|
169
|
+
readonly showMessage: {
|
|
170
|
+
readonly type: PropType<boolean>;
|
|
171
|
+
readonly required: false;
|
|
172
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
173
|
+
__epPropKey: true;
|
|
174
|
+
} & {
|
|
175
|
+
readonly default: true;
|
|
176
|
+
};
|
|
177
|
+
readonly validateOnRuleChange: {
|
|
178
|
+
readonly type: PropType<boolean>;
|
|
179
|
+
readonly required: false;
|
|
180
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
181
|
+
__epPropKey: true;
|
|
182
|
+
} & {
|
|
183
|
+
readonly default: true;
|
|
184
|
+
};
|
|
185
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
186
|
+
readonly scrollToError: BooleanConstructor;
|
|
187
|
+
readonly scrollIntoViewOptions: {
|
|
188
|
+
readonly type: PropType<boolean | Record<string, any>>;
|
|
189
|
+
readonly required: false;
|
|
190
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
191
|
+
__epPropKey: true;
|
|
192
|
+
} & {
|
|
193
|
+
readonly default: true;
|
|
194
|
+
};
|
|
195
|
+
readonly size: {
|
|
196
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
197
|
+
readonly required: false;
|
|
198
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
199
|
+
__epPropKey: true;
|
|
200
|
+
};
|
|
201
|
+
readonly disabled: BooleanConstructor;
|
|
202
|
+
}>> & {
|
|
203
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
204
|
+
}, {
|
|
205
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
206
|
+
validateField: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[], callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
207
|
+
resetFields: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
208
|
+
clearValidate: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
209
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
210
|
+
getField: (prop: import("element-plus").FormItemProp) => import("element-plus").FormItemContext | undefined;
|
|
211
|
+
fields: import("vue").Reactive<import("element-plus").FormItemContext[]>;
|
|
212
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
213
|
+
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
214
|
+
}, string, {
|
|
215
|
+
readonly disabled: boolean;
|
|
216
|
+
readonly inline: boolean;
|
|
217
|
+
readonly labelWidth: string | number;
|
|
218
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
219
|
+
readonly inlineMessage: boolean;
|
|
220
|
+
readonly showMessage: boolean;
|
|
221
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
222
|
+
readonly labelSuffix: string;
|
|
223
|
+
readonly validateOnRuleChange: boolean;
|
|
224
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
225
|
+
readonly statusIcon: boolean;
|
|
226
|
+
readonly hideRequiredAsterisk: boolean;
|
|
227
|
+
readonly scrollToError: boolean;
|
|
228
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
229
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
230
|
+
created?: (() => void) | (() => void)[];
|
|
231
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
232
|
+
mounted?: (() => void) | (() => void)[];
|
|
233
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
234
|
+
updated?: (() => void) | (() => void)[];
|
|
235
|
+
activated?: (() => void) | (() => void)[];
|
|
236
|
+
deactivated?: (() => void) | (() => void)[];
|
|
237
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
238
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
239
|
+
destroyed?: (() => void) | (() => void)[];
|
|
240
|
+
unmounted?: (() => void) | (() => void)[];
|
|
241
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
242
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
243
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
244
|
+
};
|
|
245
|
+
$forceUpdate: () => void;
|
|
246
|
+
$nextTick: typeof import("vue").nextTick;
|
|
247
|
+
$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;
|
|
248
|
+
} & Readonly<{
|
|
249
|
+
readonly disabled: boolean;
|
|
250
|
+
readonly inline: boolean;
|
|
251
|
+
readonly labelWidth: string | number;
|
|
252
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
253
|
+
readonly inlineMessage: boolean;
|
|
254
|
+
readonly showMessage: boolean;
|
|
255
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
256
|
+
readonly labelSuffix: string;
|
|
257
|
+
readonly validateOnRuleChange: boolean;
|
|
258
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
259
|
+
readonly statusIcon: boolean;
|
|
260
|
+
readonly hideRequiredAsterisk: boolean;
|
|
261
|
+
readonly scrollToError: boolean;
|
|
262
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
263
|
+
readonly model: ObjectConstructor;
|
|
264
|
+
readonly rules: {
|
|
265
|
+
readonly type: PropType<Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>>;
|
|
266
|
+
readonly required: false;
|
|
267
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
268
|
+
__epPropKey: true;
|
|
269
|
+
};
|
|
270
|
+
readonly labelPosition: {
|
|
271
|
+
readonly type: PropType<"top" | "left" | "right">;
|
|
272
|
+
readonly required: false;
|
|
273
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
274
|
+
__epPropKey: true;
|
|
275
|
+
} & {
|
|
276
|
+
readonly default: "right";
|
|
277
|
+
};
|
|
278
|
+
readonly requireAsteriskPosition: {
|
|
279
|
+
readonly type: PropType<"left" | "right">;
|
|
280
|
+
readonly required: false;
|
|
281
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
282
|
+
__epPropKey: true;
|
|
283
|
+
} & {
|
|
284
|
+
readonly default: "left";
|
|
285
|
+
};
|
|
286
|
+
readonly labelWidth: {
|
|
287
|
+
readonly type: PropType<string | number>;
|
|
288
|
+
readonly required: false;
|
|
289
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
290
|
+
__epPropKey: true;
|
|
291
|
+
} & {
|
|
292
|
+
readonly default: "";
|
|
293
|
+
};
|
|
294
|
+
readonly labelSuffix: {
|
|
295
|
+
readonly type: PropType<string>;
|
|
296
|
+
readonly required: false;
|
|
297
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
298
|
+
__epPropKey: true;
|
|
299
|
+
} & {
|
|
300
|
+
readonly default: "";
|
|
301
|
+
};
|
|
302
|
+
readonly inline: BooleanConstructor;
|
|
303
|
+
readonly inlineMessage: BooleanConstructor;
|
|
304
|
+
readonly statusIcon: BooleanConstructor;
|
|
305
|
+
readonly showMessage: {
|
|
306
|
+
readonly type: PropType<boolean>;
|
|
307
|
+
readonly required: false;
|
|
308
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
309
|
+
__epPropKey: true;
|
|
310
|
+
} & {
|
|
311
|
+
readonly default: true;
|
|
312
|
+
};
|
|
313
|
+
readonly validateOnRuleChange: {
|
|
314
|
+
readonly type: PropType<boolean>;
|
|
315
|
+
readonly required: false;
|
|
316
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
317
|
+
__epPropKey: true;
|
|
318
|
+
} & {
|
|
319
|
+
readonly default: true;
|
|
320
|
+
};
|
|
321
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
322
|
+
readonly scrollToError: BooleanConstructor;
|
|
323
|
+
readonly scrollIntoViewOptions: {
|
|
324
|
+
readonly type: PropType<boolean | Record<string, any>>;
|
|
325
|
+
readonly required: false;
|
|
326
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
327
|
+
__epPropKey: true;
|
|
328
|
+
} & {
|
|
329
|
+
readonly default: true;
|
|
330
|
+
};
|
|
331
|
+
readonly size: {
|
|
332
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
333
|
+
readonly required: false;
|
|
334
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
335
|
+
__epPropKey: true;
|
|
336
|
+
};
|
|
337
|
+
readonly disabled: BooleanConstructor;
|
|
338
|
+
}>> & {
|
|
339
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
340
|
+
}, "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "disabled" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField"> & import("vue").ShallowUnwrapRef<{
|
|
341
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
342
|
+
validateField: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[], callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
343
|
+
resetFields: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
344
|
+
clearValidate: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
345
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
346
|
+
getField: (prop: import("element-plus").FormItemProp) => import("element-plus").FormItemContext | undefined;
|
|
347
|
+
fields: import("vue").Reactive<import("element-plus").FormItemContext[]>;
|
|
348
|
+
}> & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
|
|
349
|
+
$slots: {
|
|
350
|
+
default?(_: {}): any;
|
|
351
|
+
};
|
|
352
|
+
}, {
|
|
353
|
+
$: import("vue").ComponentInternalInstance;
|
|
354
|
+
$data: {};
|
|
355
|
+
$props: Partial<{
|
|
356
|
+
readonly disabled: boolean;
|
|
357
|
+
readonly inline: boolean;
|
|
358
|
+
readonly labelWidth: string | number;
|
|
359
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
360
|
+
readonly inlineMessage: boolean;
|
|
361
|
+
readonly showMessage: boolean;
|
|
362
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
363
|
+
readonly labelSuffix: string;
|
|
364
|
+
readonly validateOnRuleChange: boolean;
|
|
365
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
366
|
+
readonly statusIcon: boolean;
|
|
367
|
+
readonly hideRequiredAsterisk: boolean;
|
|
368
|
+
readonly scrollToError: boolean;
|
|
369
|
+
}> & Omit<{
|
|
370
|
+
readonly inline: boolean;
|
|
371
|
+
readonly labelWidth: string | number;
|
|
372
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
373
|
+
readonly inlineMessage: boolean;
|
|
374
|
+
readonly showMessage: boolean;
|
|
375
|
+
readonly disabled: boolean;
|
|
376
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
377
|
+
readonly labelSuffix: string;
|
|
378
|
+
readonly statusIcon: boolean;
|
|
379
|
+
readonly validateOnRuleChange: boolean;
|
|
380
|
+
readonly hideRequiredAsterisk: boolean;
|
|
381
|
+
readonly scrollToError: boolean;
|
|
382
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
383
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
384
|
+
readonly rules?: Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>;
|
|
385
|
+
readonly model?: Record<string, any>;
|
|
386
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
387
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "disabled" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
|
|
388
|
+
$attrs: {
|
|
389
|
+
[x: string]: unknown;
|
|
390
|
+
};
|
|
391
|
+
$refs: {
|
|
392
|
+
[x: string]: unknown;
|
|
393
|
+
};
|
|
394
|
+
$slots: Readonly<{
|
|
395
|
+
[name: string]: import("vue").Slot<any>;
|
|
396
|
+
}>;
|
|
397
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
398
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
399
|
+
$host: Element | null;
|
|
400
|
+
$emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
401
|
+
$el: any;
|
|
402
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
403
|
+
readonly model: ObjectConstructor;
|
|
404
|
+
readonly rules: {
|
|
405
|
+
readonly type: PropType<Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>>;
|
|
406
|
+
readonly required: false;
|
|
407
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
408
|
+
__epPropKey: true;
|
|
409
|
+
};
|
|
410
|
+
readonly labelPosition: {
|
|
411
|
+
readonly type: PropType<"top" | "left" | "right">;
|
|
412
|
+
readonly required: false;
|
|
413
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
414
|
+
__epPropKey: true;
|
|
415
|
+
} & {
|
|
416
|
+
readonly default: "right";
|
|
417
|
+
};
|
|
418
|
+
readonly requireAsteriskPosition: {
|
|
419
|
+
readonly type: PropType<"left" | "right">;
|
|
420
|
+
readonly required: false;
|
|
421
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
422
|
+
__epPropKey: true;
|
|
423
|
+
} & {
|
|
424
|
+
readonly default: "left";
|
|
425
|
+
};
|
|
426
|
+
readonly labelWidth: {
|
|
427
|
+
readonly type: PropType<string | number>;
|
|
428
|
+
readonly required: false;
|
|
429
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
430
|
+
__epPropKey: true;
|
|
431
|
+
} & {
|
|
432
|
+
readonly default: "";
|
|
433
|
+
};
|
|
434
|
+
readonly labelSuffix: {
|
|
435
|
+
readonly type: PropType<string>;
|
|
436
|
+
readonly required: false;
|
|
437
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
438
|
+
__epPropKey: true;
|
|
439
|
+
} & {
|
|
440
|
+
readonly default: "";
|
|
441
|
+
};
|
|
442
|
+
readonly inline: BooleanConstructor;
|
|
443
|
+
readonly inlineMessage: BooleanConstructor;
|
|
444
|
+
readonly statusIcon: BooleanConstructor;
|
|
445
|
+
readonly showMessage: {
|
|
446
|
+
readonly type: PropType<boolean>;
|
|
447
|
+
readonly required: false;
|
|
448
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
449
|
+
__epPropKey: true;
|
|
450
|
+
} & {
|
|
451
|
+
readonly default: true;
|
|
452
|
+
};
|
|
453
|
+
readonly validateOnRuleChange: {
|
|
454
|
+
readonly type: PropType<boolean>;
|
|
455
|
+
readonly required: false;
|
|
456
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
457
|
+
__epPropKey: true;
|
|
458
|
+
} & {
|
|
459
|
+
readonly default: true;
|
|
460
|
+
};
|
|
461
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
462
|
+
readonly scrollToError: BooleanConstructor;
|
|
463
|
+
readonly scrollIntoViewOptions: {
|
|
464
|
+
readonly type: PropType<boolean | Record<string, any>>;
|
|
465
|
+
readonly required: false;
|
|
466
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
467
|
+
__epPropKey: true;
|
|
468
|
+
} & {
|
|
469
|
+
readonly default: true;
|
|
470
|
+
};
|
|
471
|
+
readonly size: {
|
|
472
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
473
|
+
readonly required: false;
|
|
474
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
475
|
+
__epPropKey: true;
|
|
476
|
+
};
|
|
477
|
+
readonly disabled: BooleanConstructor;
|
|
478
|
+
}>> & {
|
|
479
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
480
|
+
}, {
|
|
481
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
482
|
+
validateField: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[], callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
483
|
+
resetFields: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
484
|
+
clearValidate: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
485
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
486
|
+
getField: (prop: import("element-plus").FormItemProp) => import("element-plus").FormItemContext | undefined;
|
|
487
|
+
fields: import("vue").Reactive<import("element-plus").FormItemContext[]>;
|
|
488
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
489
|
+
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
490
|
+
}, string, {
|
|
491
|
+
readonly disabled: boolean;
|
|
492
|
+
readonly inline: boolean;
|
|
493
|
+
readonly labelWidth: string | number;
|
|
494
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
495
|
+
readonly inlineMessage: boolean;
|
|
496
|
+
readonly showMessage: boolean;
|
|
497
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
498
|
+
readonly labelSuffix: string;
|
|
499
|
+
readonly validateOnRuleChange: boolean;
|
|
500
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
501
|
+
readonly statusIcon: boolean;
|
|
502
|
+
readonly hideRequiredAsterisk: boolean;
|
|
503
|
+
readonly scrollToError: boolean;
|
|
504
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
505
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
506
|
+
created?: (() => void) | (() => void)[];
|
|
507
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
508
|
+
mounted?: (() => void) | (() => void)[];
|
|
509
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
510
|
+
updated?: (() => void) | (() => void)[];
|
|
511
|
+
activated?: (() => void) | (() => void)[];
|
|
512
|
+
deactivated?: (() => void) | (() => void)[];
|
|
513
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
514
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
515
|
+
destroyed?: (() => void) | (() => void)[];
|
|
516
|
+
unmounted?: (() => void) | (() => void)[];
|
|
517
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
518
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
519
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
520
|
+
};
|
|
521
|
+
$forceUpdate: () => void;
|
|
522
|
+
$nextTick: typeof import("vue").nextTick;
|
|
523
|
+
$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;
|
|
524
|
+
} & Readonly<{
|
|
525
|
+
readonly disabled: boolean;
|
|
526
|
+
readonly inline: boolean;
|
|
527
|
+
readonly labelWidth: string | number;
|
|
528
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
529
|
+
readonly inlineMessage: boolean;
|
|
530
|
+
readonly showMessage: boolean;
|
|
531
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
532
|
+
readonly labelSuffix: string;
|
|
533
|
+
readonly validateOnRuleChange: boolean;
|
|
534
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
535
|
+
readonly statusIcon: boolean;
|
|
536
|
+
readonly hideRequiredAsterisk: boolean;
|
|
537
|
+
readonly scrollToError: boolean;
|
|
538
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
539
|
+
readonly model: ObjectConstructor;
|
|
540
|
+
readonly rules: {
|
|
541
|
+
readonly type: PropType<Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>>;
|
|
542
|
+
readonly required: false;
|
|
543
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
544
|
+
__epPropKey: true;
|
|
545
|
+
};
|
|
546
|
+
readonly labelPosition: {
|
|
547
|
+
readonly type: PropType<"top" | "left" | "right">;
|
|
548
|
+
readonly required: false;
|
|
549
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
550
|
+
__epPropKey: true;
|
|
551
|
+
} & {
|
|
552
|
+
readonly default: "right";
|
|
553
|
+
};
|
|
554
|
+
readonly requireAsteriskPosition: {
|
|
555
|
+
readonly type: PropType<"left" | "right">;
|
|
556
|
+
readonly required: false;
|
|
557
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
558
|
+
__epPropKey: true;
|
|
559
|
+
} & {
|
|
560
|
+
readonly default: "left";
|
|
561
|
+
};
|
|
562
|
+
readonly labelWidth: {
|
|
563
|
+
readonly type: PropType<string | number>;
|
|
564
|
+
readonly required: false;
|
|
565
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
566
|
+
__epPropKey: true;
|
|
567
|
+
} & {
|
|
568
|
+
readonly default: "";
|
|
569
|
+
};
|
|
570
|
+
readonly labelSuffix: {
|
|
571
|
+
readonly type: PropType<string>;
|
|
572
|
+
readonly required: false;
|
|
573
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
574
|
+
__epPropKey: true;
|
|
575
|
+
} & {
|
|
576
|
+
readonly default: "";
|
|
577
|
+
};
|
|
578
|
+
readonly inline: BooleanConstructor;
|
|
579
|
+
readonly inlineMessage: BooleanConstructor;
|
|
580
|
+
readonly statusIcon: BooleanConstructor;
|
|
581
|
+
readonly showMessage: {
|
|
582
|
+
readonly type: PropType<boolean>;
|
|
583
|
+
readonly required: false;
|
|
584
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
585
|
+
__epPropKey: true;
|
|
586
|
+
} & {
|
|
587
|
+
readonly default: true;
|
|
588
|
+
};
|
|
589
|
+
readonly validateOnRuleChange: {
|
|
590
|
+
readonly type: PropType<boolean>;
|
|
591
|
+
readonly required: false;
|
|
592
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
593
|
+
__epPropKey: true;
|
|
594
|
+
} & {
|
|
595
|
+
readonly default: true;
|
|
596
|
+
};
|
|
597
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
598
|
+
readonly scrollToError: BooleanConstructor;
|
|
599
|
+
readonly scrollIntoViewOptions: {
|
|
600
|
+
readonly type: PropType<boolean | Record<string, any>>;
|
|
601
|
+
readonly required: false;
|
|
602
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
603
|
+
__epPropKey: true;
|
|
604
|
+
} & {
|
|
605
|
+
readonly default: true;
|
|
606
|
+
};
|
|
607
|
+
readonly size: {
|
|
608
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
609
|
+
readonly required: false;
|
|
610
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
611
|
+
__epPropKey: true;
|
|
612
|
+
};
|
|
613
|
+
readonly disabled: BooleanConstructor;
|
|
614
|
+
}>> & {
|
|
615
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
616
|
+
}, "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "disabled" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField"> & import("vue").ShallowUnwrapRef<{
|
|
617
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
618
|
+
validateField: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[], callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
619
|
+
resetFields: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
620
|
+
clearValidate: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
621
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
622
|
+
getField: (prop: import("element-plus").FormItemProp) => import("element-plus").FormItemContext | undefined;
|
|
623
|
+
fields: import("vue").Reactive<import("element-plus").FormItemContext[]>;
|
|
624
|
+
}> & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
|
|
625
|
+
$slots: {
|
|
626
|
+
default?(_: {}): any;
|
|
627
|
+
};
|
|
628
|
+
}>;
|
|
629
|
+
readonly value: {
|
|
630
|
+
$: import("vue").ComponentInternalInstance;
|
|
631
|
+
$data: {};
|
|
632
|
+
$props: Partial<{
|
|
633
|
+
readonly disabled: boolean;
|
|
634
|
+
readonly inline: boolean;
|
|
635
|
+
readonly labelWidth: string | number;
|
|
636
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
637
|
+
readonly inlineMessage: boolean;
|
|
638
|
+
readonly showMessage: boolean;
|
|
639
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
640
|
+
readonly labelSuffix: string;
|
|
641
|
+
readonly validateOnRuleChange: boolean;
|
|
642
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
643
|
+
readonly statusIcon: boolean;
|
|
644
|
+
readonly hideRequiredAsterisk: boolean;
|
|
645
|
+
readonly scrollToError: boolean;
|
|
646
|
+
}> & Omit<{
|
|
647
|
+
readonly inline: boolean;
|
|
648
|
+
readonly labelWidth: string | number;
|
|
649
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
650
|
+
readonly inlineMessage: boolean;
|
|
651
|
+
readonly showMessage: boolean;
|
|
652
|
+
readonly disabled: boolean;
|
|
653
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
654
|
+
readonly labelSuffix: string;
|
|
655
|
+
readonly statusIcon: boolean;
|
|
656
|
+
readonly validateOnRuleChange: boolean;
|
|
657
|
+
readonly hideRequiredAsterisk: boolean;
|
|
658
|
+
readonly scrollToError: boolean;
|
|
659
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
660
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
661
|
+
readonly rules?: Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>;
|
|
662
|
+
readonly model?: Record<string, any>;
|
|
663
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
664
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "disabled" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
|
|
665
|
+
$attrs: {
|
|
666
|
+
[x: string]: unknown;
|
|
667
|
+
};
|
|
668
|
+
$refs: {
|
|
669
|
+
[x: string]: unknown;
|
|
670
|
+
};
|
|
671
|
+
$slots: Readonly<{
|
|
672
|
+
[name: string]: import("vue").Slot<any>;
|
|
673
|
+
}>;
|
|
674
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
675
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
676
|
+
$host: Element | null;
|
|
677
|
+
$emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
678
|
+
$el: any;
|
|
679
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
680
|
+
readonly model: ObjectConstructor;
|
|
681
|
+
readonly rules: {
|
|
682
|
+
readonly type: PropType<Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>>;
|
|
683
|
+
readonly required: false;
|
|
684
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
685
|
+
__epPropKey: true;
|
|
686
|
+
};
|
|
687
|
+
readonly labelPosition: {
|
|
688
|
+
readonly type: PropType<"top" | "left" | "right">;
|
|
689
|
+
readonly required: false;
|
|
690
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
691
|
+
__epPropKey: true;
|
|
692
|
+
} & {
|
|
693
|
+
readonly default: "right";
|
|
694
|
+
};
|
|
695
|
+
readonly requireAsteriskPosition: {
|
|
696
|
+
readonly type: PropType<"left" | "right">;
|
|
697
|
+
readonly required: false;
|
|
698
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
699
|
+
__epPropKey: true;
|
|
700
|
+
} & {
|
|
701
|
+
readonly default: "left";
|
|
702
|
+
};
|
|
703
|
+
readonly labelWidth: {
|
|
704
|
+
readonly type: PropType<string | number>;
|
|
705
|
+
readonly required: false;
|
|
706
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
707
|
+
__epPropKey: true;
|
|
708
|
+
} & {
|
|
709
|
+
readonly default: "";
|
|
710
|
+
};
|
|
711
|
+
readonly labelSuffix: {
|
|
712
|
+
readonly type: PropType<string>;
|
|
713
|
+
readonly required: false;
|
|
714
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
715
|
+
__epPropKey: true;
|
|
716
|
+
} & {
|
|
717
|
+
readonly default: "";
|
|
718
|
+
};
|
|
719
|
+
readonly inline: BooleanConstructor;
|
|
720
|
+
readonly inlineMessage: BooleanConstructor;
|
|
721
|
+
readonly statusIcon: BooleanConstructor;
|
|
722
|
+
readonly showMessage: {
|
|
723
|
+
readonly type: PropType<boolean>;
|
|
724
|
+
readonly required: false;
|
|
725
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
726
|
+
__epPropKey: true;
|
|
727
|
+
} & {
|
|
728
|
+
readonly default: true;
|
|
729
|
+
};
|
|
730
|
+
readonly validateOnRuleChange: {
|
|
731
|
+
readonly type: PropType<boolean>;
|
|
732
|
+
readonly required: false;
|
|
733
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
734
|
+
__epPropKey: true;
|
|
735
|
+
} & {
|
|
736
|
+
readonly default: true;
|
|
737
|
+
};
|
|
738
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
739
|
+
readonly scrollToError: BooleanConstructor;
|
|
740
|
+
readonly scrollIntoViewOptions: {
|
|
741
|
+
readonly type: PropType<boolean | Record<string, any>>;
|
|
742
|
+
readonly required: false;
|
|
743
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
744
|
+
__epPropKey: true;
|
|
745
|
+
} & {
|
|
746
|
+
readonly default: true;
|
|
747
|
+
};
|
|
748
|
+
readonly size: {
|
|
749
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
750
|
+
readonly required: false;
|
|
751
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
752
|
+
__epPropKey: true;
|
|
753
|
+
};
|
|
754
|
+
readonly disabled: BooleanConstructor;
|
|
755
|
+
}>> & {
|
|
756
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
757
|
+
}, {
|
|
758
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
759
|
+
validateField: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[], callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
760
|
+
resetFields: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
761
|
+
clearValidate: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
762
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
763
|
+
getField: (prop: import("element-plus").FormItemProp) => import("element-plus").FormItemContext | undefined;
|
|
764
|
+
fields: import("vue").Reactive<import("element-plus").FormItemContext[]>;
|
|
765
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
766
|
+
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
767
|
+
}, string, {
|
|
768
|
+
readonly disabled: boolean;
|
|
769
|
+
readonly inline: boolean;
|
|
770
|
+
readonly labelWidth: string | number;
|
|
771
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
772
|
+
readonly inlineMessage: boolean;
|
|
773
|
+
readonly showMessage: boolean;
|
|
774
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
775
|
+
readonly labelSuffix: string;
|
|
776
|
+
readonly validateOnRuleChange: boolean;
|
|
777
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
778
|
+
readonly statusIcon: boolean;
|
|
779
|
+
readonly hideRequiredAsterisk: boolean;
|
|
780
|
+
readonly scrollToError: boolean;
|
|
781
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
782
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
783
|
+
created?: (() => void) | (() => void)[];
|
|
784
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
785
|
+
mounted?: (() => void) | (() => void)[];
|
|
786
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
787
|
+
updated?: (() => void) | (() => void)[];
|
|
788
|
+
activated?: (() => void) | (() => void)[];
|
|
789
|
+
deactivated?: (() => void) | (() => void)[];
|
|
790
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
791
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
792
|
+
destroyed?: (() => void) | (() => void)[];
|
|
793
|
+
unmounted?: (() => void) | (() => void)[];
|
|
794
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
795
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
796
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
797
|
+
};
|
|
798
|
+
$forceUpdate: () => void;
|
|
799
|
+
$nextTick: typeof import("vue").nextTick;
|
|
800
|
+
$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;
|
|
801
|
+
} & Readonly<{
|
|
802
|
+
readonly disabled: boolean;
|
|
803
|
+
readonly inline: boolean;
|
|
804
|
+
readonly labelWidth: string | number;
|
|
805
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
806
|
+
readonly inlineMessage: boolean;
|
|
807
|
+
readonly showMessage: boolean;
|
|
808
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
809
|
+
readonly labelSuffix: string;
|
|
810
|
+
readonly validateOnRuleChange: boolean;
|
|
811
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
812
|
+
readonly statusIcon: boolean;
|
|
813
|
+
readonly hideRequiredAsterisk: boolean;
|
|
814
|
+
readonly scrollToError: boolean;
|
|
815
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
816
|
+
readonly model: ObjectConstructor;
|
|
817
|
+
readonly rules: {
|
|
818
|
+
readonly type: PropType<Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>>;
|
|
819
|
+
readonly required: false;
|
|
820
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
821
|
+
__epPropKey: true;
|
|
822
|
+
};
|
|
823
|
+
readonly labelPosition: {
|
|
824
|
+
readonly type: PropType<"top" | "left" | "right">;
|
|
825
|
+
readonly required: false;
|
|
826
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
827
|
+
__epPropKey: true;
|
|
828
|
+
} & {
|
|
829
|
+
readonly default: "right";
|
|
830
|
+
};
|
|
831
|
+
readonly requireAsteriskPosition: {
|
|
832
|
+
readonly type: PropType<"left" | "right">;
|
|
833
|
+
readonly required: false;
|
|
834
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
835
|
+
__epPropKey: true;
|
|
836
|
+
} & {
|
|
837
|
+
readonly default: "left";
|
|
838
|
+
};
|
|
839
|
+
readonly labelWidth: {
|
|
840
|
+
readonly type: PropType<string | number>;
|
|
841
|
+
readonly required: false;
|
|
842
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
843
|
+
__epPropKey: true;
|
|
844
|
+
} & {
|
|
845
|
+
readonly default: "";
|
|
846
|
+
};
|
|
847
|
+
readonly labelSuffix: {
|
|
848
|
+
readonly type: PropType<string>;
|
|
849
|
+
readonly required: false;
|
|
850
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
851
|
+
__epPropKey: true;
|
|
852
|
+
} & {
|
|
853
|
+
readonly default: "";
|
|
854
|
+
};
|
|
855
|
+
readonly inline: BooleanConstructor;
|
|
856
|
+
readonly inlineMessage: BooleanConstructor;
|
|
857
|
+
readonly statusIcon: BooleanConstructor;
|
|
858
|
+
readonly showMessage: {
|
|
859
|
+
readonly type: PropType<boolean>;
|
|
860
|
+
readonly required: false;
|
|
861
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
862
|
+
__epPropKey: true;
|
|
863
|
+
} & {
|
|
864
|
+
readonly default: true;
|
|
865
|
+
};
|
|
866
|
+
readonly validateOnRuleChange: {
|
|
867
|
+
readonly type: PropType<boolean>;
|
|
868
|
+
readonly required: false;
|
|
869
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
870
|
+
__epPropKey: true;
|
|
871
|
+
} & {
|
|
872
|
+
readonly default: true;
|
|
873
|
+
};
|
|
874
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
875
|
+
readonly scrollToError: BooleanConstructor;
|
|
876
|
+
readonly scrollIntoViewOptions: {
|
|
877
|
+
readonly type: PropType<boolean | Record<string, any>>;
|
|
878
|
+
readonly required: false;
|
|
879
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
880
|
+
__epPropKey: true;
|
|
881
|
+
} & {
|
|
882
|
+
readonly default: true;
|
|
883
|
+
};
|
|
884
|
+
readonly size: {
|
|
885
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
886
|
+
readonly required: false;
|
|
887
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
888
|
+
__epPropKey: true;
|
|
889
|
+
};
|
|
890
|
+
readonly disabled: BooleanConstructor;
|
|
891
|
+
}>> & {
|
|
892
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
893
|
+
}, "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "disabled" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField"> & import("vue").ShallowUnwrapRef<{
|
|
894
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
895
|
+
validateField: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[], callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
896
|
+
resetFields: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
897
|
+
clearValidate: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
898
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
899
|
+
getField: (prop: import("element-plus").FormItemProp) => import("element-plus").FormItemContext | undefined;
|
|
900
|
+
fields: import("vue").Reactive<import("element-plus").FormItemContext[]>;
|
|
901
|
+
}> & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
|
|
902
|
+
$slots: {
|
|
903
|
+
default?(_: {}): any;
|
|
904
|
+
};
|
|
905
|
+
};
|
|
906
|
+
promise: Promise<{
|
|
907
|
+
$: import("vue").ComponentInternalInstance;
|
|
908
|
+
$data: {};
|
|
909
|
+
$props: Partial<{
|
|
910
|
+
readonly disabled: boolean;
|
|
911
|
+
readonly inline: boolean;
|
|
912
|
+
readonly labelWidth: string | number;
|
|
913
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
914
|
+
readonly inlineMessage: boolean;
|
|
915
|
+
readonly showMessage: boolean;
|
|
916
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
917
|
+
readonly labelSuffix: string;
|
|
918
|
+
readonly validateOnRuleChange: boolean;
|
|
919
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
920
|
+
readonly statusIcon: boolean;
|
|
921
|
+
readonly hideRequiredAsterisk: boolean;
|
|
922
|
+
readonly scrollToError: boolean;
|
|
923
|
+
}> & Omit<{
|
|
924
|
+
readonly inline: boolean;
|
|
925
|
+
readonly labelWidth: string | number;
|
|
926
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
927
|
+
readonly inlineMessage: boolean;
|
|
928
|
+
readonly showMessage: boolean;
|
|
929
|
+
readonly disabled: boolean;
|
|
930
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
931
|
+
readonly labelSuffix: string;
|
|
932
|
+
readonly statusIcon: boolean;
|
|
933
|
+
readonly validateOnRuleChange: boolean;
|
|
934
|
+
readonly hideRequiredAsterisk: boolean;
|
|
935
|
+
readonly scrollToError: boolean;
|
|
936
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
937
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
938
|
+
readonly rules?: Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>;
|
|
939
|
+
readonly model?: Record<string, any>;
|
|
940
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
941
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "disabled" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
|
|
942
|
+
$attrs: {
|
|
943
|
+
[x: string]: unknown;
|
|
944
|
+
};
|
|
945
|
+
$refs: {
|
|
946
|
+
[x: string]: unknown;
|
|
947
|
+
};
|
|
948
|
+
$slots: Readonly<{
|
|
949
|
+
[name: string]: import("vue").Slot<any>;
|
|
950
|
+
}>;
|
|
951
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
952
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
953
|
+
$host: Element | null;
|
|
954
|
+
$emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
955
|
+
$el: any;
|
|
956
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
957
|
+
readonly model: ObjectConstructor;
|
|
958
|
+
readonly rules: {
|
|
959
|
+
readonly type: PropType<Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>>;
|
|
960
|
+
readonly required: false;
|
|
961
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
962
|
+
__epPropKey: true;
|
|
963
|
+
};
|
|
964
|
+
readonly labelPosition: {
|
|
965
|
+
readonly type: PropType<"top" | "left" | "right">;
|
|
966
|
+
readonly required: false;
|
|
967
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
968
|
+
__epPropKey: true;
|
|
969
|
+
} & {
|
|
970
|
+
readonly default: "right";
|
|
971
|
+
};
|
|
972
|
+
readonly requireAsteriskPosition: {
|
|
973
|
+
readonly type: PropType<"left" | "right">;
|
|
974
|
+
readonly required: false;
|
|
975
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
976
|
+
__epPropKey: true;
|
|
977
|
+
} & {
|
|
978
|
+
readonly default: "left";
|
|
979
|
+
};
|
|
980
|
+
readonly labelWidth: {
|
|
981
|
+
readonly type: PropType<string | number>;
|
|
982
|
+
readonly required: false;
|
|
983
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
984
|
+
__epPropKey: true;
|
|
985
|
+
} & {
|
|
986
|
+
readonly default: "";
|
|
987
|
+
};
|
|
988
|
+
readonly labelSuffix: {
|
|
989
|
+
readonly type: PropType<string>;
|
|
990
|
+
readonly required: false;
|
|
991
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
992
|
+
__epPropKey: true;
|
|
993
|
+
} & {
|
|
994
|
+
readonly default: "";
|
|
995
|
+
};
|
|
996
|
+
readonly inline: BooleanConstructor;
|
|
997
|
+
readonly inlineMessage: BooleanConstructor;
|
|
998
|
+
readonly statusIcon: BooleanConstructor;
|
|
999
|
+
readonly showMessage: {
|
|
1000
|
+
readonly type: PropType<boolean>;
|
|
1001
|
+
readonly required: false;
|
|
1002
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1003
|
+
__epPropKey: true;
|
|
1004
|
+
} & {
|
|
1005
|
+
readonly default: true;
|
|
1006
|
+
};
|
|
1007
|
+
readonly validateOnRuleChange: {
|
|
1008
|
+
readonly type: PropType<boolean>;
|
|
1009
|
+
readonly required: false;
|
|
1010
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1011
|
+
__epPropKey: true;
|
|
1012
|
+
} & {
|
|
1013
|
+
readonly default: true;
|
|
1014
|
+
};
|
|
1015
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
1016
|
+
readonly scrollToError: BooleanConstructor;
|
|
1017
|
+
readonly scrollIntoViewOptions: {
|
|
1018
|
+
readonly type: PropType<boolean | Record<string, any>>;
|
|
1019
|
+
readonly required: false;
|
|
1020
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1021
|
+
__epPropKey: true;
|
|
1022
|
+
} & {
|
|
1023
|
+
readonly default: true;
|
|
1024
|
+
};
|
|
1025
|
+
readonly size: {
|
|
1026
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
1027
|
+
readonly required: false;
|
|
1028
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1029
|
+
__epPropKey: true;
|
|
1030
|
+
};
|
|
1031
|
+
readonly disabled: BooleanConstructor;
|
|
1032
|
+
}>> & {
|
|
1033
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1034
|
+
}, {
|
|
1035
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
1036
|
+
validateField: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[], callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
1037
|
+
resetFields: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
1038
|
+
clearValidate: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
1039
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
1040
|
+
getField: (prop: import("element-plus").FormItemProp) => import("element-plus").FormItemContext | undefined;
|
|
1041
|
+
fields: import("vue").Reactive<import("element-plus").FormItemContext[]>;
|
|
1042
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1043
|
+
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
1044
|
+
}, string, {
|
|
1045
|
+
readonly disabled: boolean;
|
|
1046
|
+
readonly inline: boolean;
|
|
1047
|
+
readonly labelWidth: string | number;
|
|
1048
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
1049
|
+
readonly inlineMessage: boolean;
|
|
1050
|
+
readonly showMessage: boolean;
|
|
1051
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
1052
|
+
readonly labelSuffix: string;
|
|
1053
|
+
readonly validateOnRuleChange: boolean;
|
|
1054
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
1055
|
+
readonly statusIcon: boolean;
|
|
1056
|
+
readonly hideRequiredAsterisk: boolean;
|
|
1057
|
+
readonly scrollToError: boolean;
|
|
1058
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
1059
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1060
|
+
created?: (() => void) | (() => void)[];
|
|
1061
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1062
|
+
mounted?: (() => void) | (() => void)[];
|
|
1063
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1064
|
+
updated?: (() => void) | (() => void)[];
|
|
1065
|
+
activated?: (() => void) | (() => void)[];
|
|
1066
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1067
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1068
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1069
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1070
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1071
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
1072
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
1073
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1074
|
+
};
|
|
1075
|
+
$forceUpdate: () => void;
|
|
1076
|
+
$nextTick: typeof import("vue").nextTick;
|
|
1077
|
+
$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;
|
|
1078
|
+
} & Readonly<{
|
|
1079
|
+
readonly disabled: boolean;
|
|
1080
|
+
readonly inline: boolean;
|
|
1081
|
+
readonly labelWidth: string | number;
|
|
1082
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
1083
|
+
readonly inlineMessage: boolean;
|
|
1084
|
+
readonly showMessage: boolean;
|
|
1085
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
1086
|
+
readonly labelSuffix: string;
|
|
1087
|
+
readonly validateOnRuleChange: boolean;
|
|
1088
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
1089
|
+
readonly statusIcon: boolean;
|
|
1090
|
+
readonly hideRequiredAsterisk: boolean;
|
|
1091
|
+
readonly scrollToError: boolean;
|
|
1092
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
1093
|
+
readonly model: ObjectConstructor;
|
|
1094
|
+
readonly rules: {
|
|
1095
|
+
readonly type: PropType<Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>>;
|
|
1096
|
+
readonly required: false;
|
|
1097
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1098
|
+
__epPropKey: true;
|
|
1099
|
+
};
|
|
1100
|
+
readonly labelPosition: {
|
|
1101
|
+
readonly type: PropType<"top" | "left" | "right">;
|
|
1102
|
+
readonly required: false;
|
|
1103
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1104
|
+
__epPropKey: true;
|
|
1105
|
+
} & {
|
|
1106
|
+
readonly default: "right";
|
|
1107
|
+
};
|
|
1108
|
+
readonly requireAsteriskPosition: {
|
|
1109
|
+
readonly type: PropType<"left" | "right">;
|
|
1110
|
+
readonly required: false;
|
|
1111
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1112
|
+
__epPropKey: true;
|
|
1113
|
+
} & {
|
|
1114
|
+
readonly default: "left";
|
|
1115
|
+
};
|
|
1116
|
+
readonly labelWidth: {
|
|
1117
|
+
readonly type: PropType<string | number>;
|
|
1118
|
+
readonly required: false;
|
|
1119
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1120
|
+
__epPropKey: true;
|
|
1121
|
+
} & {
|
|
1122
|
+
readonly default: "";
|
|
1123
|
+
};
|
|
1124
|
+
readonly labelSuffix: {
|
|
1125
|
+
readonly type: PropType<string>;
|
|
1126
|
+
readonly required: false;
|
|
1127
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1128
|
+
__epPropKey: true;
|
|
1129
|
+
} & {
|
|
1130
|
+
readonly default: "";
|
|
1131
|
+
};
|
|
1132
|
+
readonly inline: BooleanConstructor;
|
|
1133
|
+
readonly inlineMessage: BooleanConstructor;
|
|
1134
|
+
readonly statusIcon: BooleanConstructor;
|
|
1135
|
+
readonly showMessage: {
|
|
1136
|
+
readonly type: PropType<boolean>;
|
|
1137
|
+
readonly required: false;
|
|
1138
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1139
|
+
__epPropKey: true;
|
|
1140
|
+
} & {
|
|
1141
|
+
readonly default: true;
|
|
1142
|
+
};
|
|
1143
|
+
readonly validateOnRuleChange: {
|
|
1144
|
+
readonly type: PropType<boolean>;
|
|
1145
|
+
readonly required: false;
|
|
1146
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1147
|
+
__epPropKey: true;
|
|
1148
|
+
} & {
|
|
1149
|
+
readonly default: true;
|
|
1150
|
+
};
|
|
1151
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
1152
|
+
readonly scrollToError: BooleanConstructor;
|
|
1153
|
+
readonly scrollIntoViewOptions: {
|
|
1154
|
+
readonly type: PropType<boolean | Record<string, any>>;
|
|
1155
|
+
readonly required: false;
|
|
1156
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1157
|
+
__epPropKey: true;
|
|
1158
|
+
} & {
|
|
1159
|
+
readonly default: true;
|
|
1160
|
+
};
|
|
1161
|
+
readonly size: {
|
|
1162
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
1163
|
+
readonly required: false;
|
|
1164
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1165
|
+
__epPropKey: true;
|
|
1166
|
+
};
|
|
1167
|
+
readonly disabled: BooleanConstructor;
|
|
1168
|
+
}>> & {
|
|
1169
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1170
|
+
}, "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "disabled" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField"> & import("vue").ShallowUnwrapRef<{
|
|
1171
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
1172
|
+
validateField: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[], callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
1173
|
+
resetFields: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
1174
|
+
clearValidate: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
1175
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
1176
|
+
getField: (prop: import("element-plus").FormItemProp) => import("element-plus").FormItemContext | undefined;
|
|
1177
|
+
fields: import("vue").Reactive<import("element-plus").FormItemContext[]>;
|
|
1178
|
+
}> & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
|
|
1179
|
+
$slots: {
|
|
1180
|
+
default?(_: {}): any;
|
|
1181
|
+
};
|
|
1182
|
+
}>;
|
|
1183
|
+
resolve: import("@vunk/core").AnyFunc;
|
|
1184
|
+
reject: (reason?: any) => void;
|
|
1185
|
+
};
|
|
1186
|
+
handleSubmit: () => void;
|
|
1187
|
+
readonly setData: (obj: any, e: import("@vunk/core").SetDataEvent) => void;
|
|
1188
|
+
readonly VkfForm: {
|
|
1189
|
+
new (...args: any[]): any;
|
|
1190
|
+
__isFragment?: never;
|
|
1191
|
+
__isTeleport?: never;
|
|
1192
|
+
__isSuspense?: never;
|
|
1193
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
1194
|
+
[x: string]: any;
|
|
1195
|
+
[x: symbol]: any;
|
|
1196
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
1197
|
+
install(app: import("vue").App): void;
|
|
1198
|
+
};
|
|
1199
|
+
readonly ElDialog: {
|
|
1200
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
1201
|
+
readonly appendToBody: BooleanConstructor;
|
|
1202
|
+
readonly appendTo: {
|
|
1203
|
+
readonly type: PropType<string | HTMLElement>;
|
|
1204
|
+
readonly required: false;
|
|
1205
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1206
|
+
__epPropKey: true;
|
|
1207
|
+
} & {
|
|
1208
|
+
readonly default: "body";
|
|
1209
|
+
};
|
|
1210
|
+
readonly beforeClose: {
|
|
1211
|
+
readonly type: PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
1212
|
+
readonly required: false;
|
|
1213
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1214
|
+
__epPropKey: true;
|
|
1215
|
+
};
|
|
1216
|
+
readonly destroyOnClose: BooleanConstructor;
|
|
1217
|
+
readonly closeOnClickModal: {
|
|
1218
|
+
readonly type: PropType<boolean>;
|
|
1219
|
+
readonly required: false;
|
|
1220
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1221
|
+
__epPropKey: true;
|
|
1222
|
+
} & {
|
|
1223
|
+
readonly default: true;
|
|
1224
|
+
};
|
|
1225
|
+
readonly closeOnPressEscape: {
|
|
1226
|
+
readonly type: PropType<boolean>;
|
|
1227
|
+
readonly required: false;
|
|
1228
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1229
|
+
__epPropKey: true;
|
|
1230
|
+
} & {
|
|
1231
|
+
readonly default: true;
|
|
1232
|
+
};
|
|
1233
|
+
readonly lockScroll: {
|
|
1234
|
+
readonly type: PropType<boolean>;
|
|
1235
|
+
readonly required: false;
|
|
1236
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1237
|
+
__epPropKey: true;
|
|
1238
|
+
} & {
|
|
1239
|
+
readonly default: true;
|
|
1240
|
+
};
|
|
1241
|
+
readonly modal: {
|
|
1242
|
+
readonly type: PropType<boolean>;
|
|
1243
|
+
readonly required: false;
|
|
1244
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1245
|
+
__epPropKey: true;
|
|
1246
|
+
} & {
|
|
1247
|
+
readonly default: true;
|
|
1248
|
+
};
|
|
1249
|
+
readonly openDelay: {
|
|
1250
|
+
readonly type: PropType<number>;
|
|
1251
|
+
readonly required: false;
|
|
1252
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1253
|
+
__epPropKey: true;
|
|
1254
|
+
} & {
|
|
1255
|
+
readonly default: 0;
|
|
1256
|
+
};
|
|
1257
|
+
readonly closeDelay: {
|
|
1258
|
+
readonly type: PropType<number>;
|
|
1259
|
+
readonly required: false;
|
|
1260
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1261
|
+
__epPropKey: true;
|
|
1262
|
+
} & {
|
|
1263
|
+
readonly default: 0;
|
|
1264
|
+
};
|
|
1265
|
+
readonly top: {
|
|
1266
|
+
readonly type: PropType<string>;
|
|
1267
|
+
readonly required: false;
|
|
1268
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1269
|
+
__epPropKey: true;
|
|
1270
|
+
};
|
|
1271
|
+
readonly modelValue: BooleanConstructor;
|
|
1272
|
+
readonly modalClass: StringConstructor;
|
|
1273
|
+
readonly headerClass: StringConstructor;
|
|
1274
|
+
readonly bodyClass: StringConstructor;
|
|
1275
|
+
readonly footerClass: StringConstructor;
|
|
1276
|
+
readonly width: {
|
|
1277
|
+
readonly type: PropType<string | number>;
|
|
1278
|
+
readonly required: false;
|
|
1279
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1280
|
+
__epPropKey: true;
|
|
1281
|
+
};
|
|
1282
|
+
readonly zIndex: {
|
|
1283
|
+
readonly type: PropType<number>;
|
|
1284
|
+
readonly required: false;
|
|
1285
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1286
|
+
__epPropKey: true;
|
|
1287
|
+
};
|
|
1288
|
+
readonly trapFocus: BooleanConstructor;
|
|
1289
|
+
readonly headerAriaLevel: {
|
|
1290
|
+
readonly type: PropType<string>;
|
|
1291
|
+
readonly required: false;
|
|
1292
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1293
|
+
__epPropKey: true;
|
|
1294
|
+
} & {
|
|
1295
|
+
readonly default: "2";
|
|
1296
|
+
};
|
|
1297
|
+
readonly center: BooleanConstructor;
|
|
1298
|
+
readonly alignCenter: BooleanConstructor;
|
|
1299
|
+
readonly closeIcon: {
|
|
1300
|
+
readonly type: PropType<unknown>;
|
|
1301
|
+
readonly required: false;
|
|
1302
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1303
|
+
__epPropKey: true;
|
|
1304
|
+
};
|
|
1305
|
+
readonly draggable: BooleanConstructor;
|
|
1306
|
+
readonly overflow: BooleanConstructor;
|
|
1307
|
+
readonly fullscreen: BooleanConstructor;
|
|
1308
|
+
readonly showClose: {
|
|
1309
|
+
readonly type: PropType<boolean>;
|
|
1310
|
+
readonly required: false;
|
|
1311
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1312
|
+
__epPropKey: true;
|
|
1313
|
+
} & {
|
|
1314
|
+
readonly default: true;
|
|
1315
|
+
};
|
|
1316
|
+
readonly title: {
|
|
1317
|
+
readonly type: PropType<string>;
|
|
1318
|
+
readonly required: false;
|
|
1319
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1320
|
+
__epPropKey: true;
|
|
1321
|
+
} & {
|
|
1322
|
+
readonly default: "";
|
|
1323
|
+
};
|
|
1324
|
+
readonly ariaLevel: {
|
|
1325
|
+
readonly type: PropType<string>;
|
|
1326
|
+
readonly required: false;
|
|
1327
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1328
|
+
__epPropKey: true;
|
|
1329
|
+
} & {
|
|
1330
|
+
readonly default: "2";
|
|
1331
|
+
};
|
|
1332
|
+
}>> & {
|
|
1333
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1334
|
+
onOpen?: (() => any) | undefined;
|
|
1335
|
+
onClose?: (() => any) | undefined;
|
|
1336
|
+
onOpened?: (() => any) | undefined;
|
|
1337
|
+
onClosed?: (() => any) | undefined;
|
|
1338
|
+
onOpenAutoFocus?: (() => any) | undefined;
|
|
1339
|
+
onCloseAutoFocus?: (() => any) | undefined;
|
|
1340
|
+
}, {
|
|
1341
|
+
visible: import("vue").Ref<boolean>;
|
|
1342
|
+
dialogContentRef: import("vue").Ref<any>;
|
|
1343
|
+
resetPosition: () => void;
|
|
1344
|
+
handleClose: () => void;
|
|
1345
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1346
|
+
open: () => void;
|
|
1347
|
+
"update:modelValue": (value: boolean) => void;
|
|
1348
|
+
close: () => void;
|
|
1349
|
+
opened: () => void;
|
|
1350
|
+
closed: () => void;
|
|
1351
|
+
openAutoFocus: () => void;
|
|
1352
|
+
closeAutoFocus: () => void;
|
|
1353
|
+
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
1354
|
+
readonly title: string;
|
|
1355
|
+
readonly center: boolean;
|
|
1356
|
+
readonly overflow: boolean;
|
|
1357
|
+
readonly modelValue: boolean;
|
|
1358
|
+
readonly ariaLevel: string;
|
|
1359
|
+
readonly appendTo: string | HTMLElement;
|
|
1360
|
+
readonly showClose: boolean;
|
|
1361
|
+
readonly alignCenter: boolean;
|
|
1362
|
+
readonly draggable: boolean;
|
|
1363
|
+
readonly fullscreen: boolean;
|
|
1364
|
+
readonly closeOnClickModal: boolean;
|
|
1365
|
+
readonly closeOnPressEscape: boolean;
|
|
1366
|
+
readonly lockScroll: boolean;
|
|
1367
|
+
readonly modal: boolean;
|
|
1368
|
+
readonly openDelay: number;
|
|
1369
|
+
readonly closeDelay: number;
|
|
1370
|
+
readonly headerAriaLevel: string;
|
|
1371
|
+
readonly appendToBody: boolean;
|
|
1372
|
+
readonly destroyOnClose: boolean;
|
|
1373
|
+
readonly trapFocus: boolean;
|
|
1374
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1375
|
+
P: {};
|
|
1376
|
+
B: {};
|
|
1377
|
+
D: {};
|
|
1378
|
+
C: {};
|
|
1379
|
+
M: {};
|
|
1380
|
+
Defaults: {};
|
|
1381
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
1382
|
+
readonly appendToBody: BooleanConstructor;
|
|
1383
|
+
readonly appendTo: {
|
|
1384
|
+
readonly type: PropType<string | HTMLElement>;
|
|
1385
|
+
readonly required: false;
|
|
1386
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1387
|
+
__epPropKey: true;
|
|
1388
|
+
} & {
|
|
1389
|
+
readonly default: "body";
|
|
1390
|
+
};
|
|
1391
|
+
readonly beforeClose: {
|
|
1392
|
+
readonly type: PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
1393
|
+
readonly required: false;
|
|
1394
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1395
|
+
__epPropKey: true;
|
|
1396
|
+
};
|
|
1397
|
+
readonly destroyOnClose: BooleanConstructor;
|
|
1398
|
+
readonly closeOnClickModal: {
|
|
1399
|
+
readonly type: PropType<boolean>;
|
|
1400
|
+
readonly required: false;
|
|
1401
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1402
|
+
__epPropKey: true;
|
|
1403
|
+
} & {
|
|
1404
|
+
readonly default: true;
|
|
1405
|
+
};
|
|
1406
|
+
readonly closeOnPressEscape: {
|
|
1407
|
+
readonly type: PropType<boolean>;
|
|
1408
|
+
readonly required: false;
|
|
1409
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1410
|
+
__epPropKey: true;
|
|
1411
|
+
} & {
|
|
1412
|
+
readonly default: true;
|
|
1413
|
+
};
|
|
1414
|
+
readonly lockScroll: {
|
|
1415
|
+
readonly type: PropType<boolean>;
|
|
1416
|
+
readonly required: false;
|
|
1417
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1418
|
+
__epPropKey: true;
|
|
1419
|
+
} & {
|
|
1420
|
+
readonly default: true;
|
|
1421
|
+
};
|
|
1422
|
+
readonly modal: {
|
|
1423
|
+
readonly type: PropType<boolean>;
|
|
1424
|
+
readonly required: false;
|
|
1425
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1426
|
+
__epPropKey: true;
|
|
1427
|
+
} & {
|
|
1428
|
+
readonly default: true;
|
|
1429
|
+
};
|
|
1430
|
+
readonly openDelay: {
|
|
1431
|
+
readonly type: PropType<number>;
|
|
1432
|
+
readonly required: false;
|
|
1433
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1434
|
+
__epPropKey: true;
|
|
1435
|
+
} & {
|
|
1436
|
+
readonly default: 0;
|
|
1437
|
+
};
|
|
1438
|
+
readonly closeDelay: {
|
|
1439
|
+
readonly type: PropType<number>;
|
|
1440
|
+
readonly required: false;
|
|
1441
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1442
|
+
__epPropKey: true;
|
|
1443
|
+
} & {
|
|
1444
|
+
readonly default: 0;
|
|
1445
|
+
};
|
|
1446
|
+
readonly top: {
|
|
1447
|
+
readonly type: PropType<string>;
|
|
1448
|
+
readonly required: false;
|
|
1449
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1450
|
+
__epPropKey: true;
|
|
1451
|
+
};
|
|
1452
|
+
readonly modelValue: BooleanConstructor;
|
|
1453
|
+
readonly modalClass: StringConstructor;
|
|
1454
|
+
readonly headerClass: StringConstructor;
|
|
1455
|
+
readonly bodyClass: StringConstructor;
|
|
1456
|
+
readonly footerClass: StringConstructor;
|
|
1457
|
+
readonly width: {
|
|
1458
|
+
readonly type: PropType<string | number>;
|
|
1459
|
+
readonly required: false;
|
|
1460
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1461
|
+
__epPropKey: true;
|
|
1462
|
+
};
|
|
1463
|
+
readonly zIndex: {
|
|
1464
|
+
readonly type: PropType<number>;
|
|
1465
|
+
readonly required: false;
|
|
1466
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1467
|
+
__epPropKey: true;
|
|
1468
|
+
};
|
|
1469
|
+
readonly trapFocus: BooleanConstructor;
|
|
1470
|
+
readonly headerAriaLevel: {
|
|
1471
|
+
readonly type: PropType<string>;
|
|
1472
|
+
readonly required: false;
|
|
1473
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1474
|
+
__epPropKey: true;
|
|
1475
|
+
} & {
|
|
1476
|
+
readonly default: "2";
|
|
1477
|
+
};
|
|
1478
|
+
readonly center: BooleanConstructor;
|
|
1479
|
+
readonly alignCenter: BooleanConstructor;
|
|
1480
|
+
readonly closeIcon: {
|
|
1481
|
+
readonly type: PropType<unknown>;
|
|
1482
|
+
readonly required: false;
|
|
1483
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1484
|
+
__epPropKey: true;
|
|
1485
|
+
};
|
|
1486
|
+
readonly draggable: BooleanConstructor;
|
|
1487
|
+
readonly overflow: BooleanConstructor;
|
|
1488
|
+
readonly fullscreen: BooleanConstructor;
|
|
1489
|
+
readonly showClose: {
|
|
1490
|
+
readonly type: PropType<boolean>;
|
|
1491
|
+
readonly required: false;
|
|
1492
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1493
|
+
__epPropKey: true;
|
|
1494
|
+
} & {
|
|
1495
|
+
readonly default: true;
|
|
1496
|
+
};
|
|
1497
|
+
readonly title: {
|
|
1498
|
+
readonly type: PropType<string>;
|
|
1499
|
+
readonly required: false;
|
|
1500
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1501
|
+
__epPropKey: true;
|
|
1502
|
+
} & {
|
|
1503
|
+
readonly default: "";
|
|
1504
|
+
};
|
|
1505
|
+
readonly ariaLevel: {
|
|
1506
|
+
readonly type: PropType<string>;
|
|
1507
|
+
readonly required: false;
|
|
1508
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1509
|
+
__epPropKey: true;
|
|
1510
|
+
} & {
|
|
1511
|
+
readonly default: "2";
|
|
1512
|
+
};
|
|
1513
|
+
}>> & {
|
|
1514
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1515
|
+
onOpen?: (() => any) | undefined;
|
|
1516
|
+
onClose?: (() => any) | undefined;
|
|
1517
|
+
onOpened?: (() => any) | undefined;
|
|
1518
|
+
onClosed?: (() => any) | undefined;
|
|
1519
|
+
onOpenAutoFocus?: (() => any) | undefined;
|
|
1520
|
+
onCloseAutoFocus?: (() => any) | undefined;
|
|
1521
|
+
}, {
|
|
1522
|
+
visible: import("vue").Ref<boolean>;
|
|
1523
|
+
dialogContentRef: import("vue").Ref<any>;
|
|
1524
|
+
resetPosition: () => void;
|
|
1525
|
+
handleClose: () => void;
|
|
1526
|
+
}, {}, {}, {}, {
|
|
1527
|
+
readonly title: string;
|
|
1528
|
+
readonly center: boolean;
|
|
1529
|
+
readonly overflow: boolean;
|
|
1530
|
+
readonly modelValue: boolean;
|
|
1531
|
+
readonly ariaLevel: string;
|
|
1532
|
+
readonly appendTo: string | HTMLElement;
|
|
1533
|
+
readonly showClose: boolean;
|
|
1534
|
+
readonly alignCenter: boolean;
|
|
1535
|
+
readonly draggable: boolean;
|
|
1536
|
+
readonly fullscreen: boolean;
|
|
1537
|
+
readonly closeOnClickModal: boolean;
|
|
1538
|
+
readonly closeOnPressEscape: boolean;
|
|
1539
|
+
readonly lockScroll: boolean;
|
|
1540
|
+
readonly modal: boolean;
|
|
1541
|
+
readonly openDelay: number;
|
|
1542
|
+
readonly closeDelay: number;
|
|
1543
|
+
readonly headerAriaLevel: string;
|
|
1544
|
+
readonly appendToBody: boolean;
|
|
1545
|
+
readonly destroyOnClose: boolean;
|
|
1546
|
+
readonly trapFocus: boolean;
|
|
1547
|
+
}>;
|
|
1548
|
+
__isFragment?: never;
|
|
1549
|
+
__isTeleport?: never;
|
|
1550
|
+
__isSuspense?: never;
|
|
1551
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
1552
|
+
readonly appendToBody: BooleanConstructor;
|
|
1553
|
+
readonly appendTo: {
|
|
1554
|
+
readonly type: PropType<string | HTMLElement>;
|
|
1555
|
+
readonly required: false;
|
|
1556
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1557
|
+
__epPropKey: true;
|
|
1558
|
+
} & {
|
|
1559
|
+
readonly default: "body";
|
|
1560
|
+
};
|
|
1561
|
+
readonly beforeClose: {
|
|
1562
|
+
readonly type: PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
1563
|
+
readonly required: false;
|
|
1564
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1565
|
+
__epPropKey: true;
|
|
1566
|
+
};
|
|
1567
|
+
readonly destroyOnClose: BooleanConstructor;
|
|
1568
|
+
readonly closeOnClickModal: {
|
|
1569
|
+
readonly type: PropType<boolean>;
|
|
1570
|
+
readonly required: false;
|
|
1571
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1572
|
+
__epPropKey: true;
|
|
1573
|
+
} & {
|
|
1574
|
+
readonly default: true;
|
|
1575
|
+
};
|
|
1576
|
+
readonly closeOnPressEscape: {
|
|
1577
|
+
readonly type: PropType<boolean>;
|
|
1578
|
+
readonly required: false;
|
|
1579
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1580
|
+
__epPropKey: true;
|
|
1581
|
+
} & {
|
|
1582
|
+
readonly default: true;
|
|
1583
|
+
};
|
|
1584
|
+
readonly lockScroll: {
|
|
1585
|
+
readonly type: PropType<boolean>;
|
|
1586
|
+
readonly required: false;
|
|
1587
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1588
|
+
__epPropKey: true;
|
|
1589
|
+
} & {
|
|
1590
|
+
readonly default: true;
|
|
1591
|
+
};
|
|
1592
|
+
readonly modal: {
|
|
1593
|
+
readonly type: PropType<boolean>;
|
|
1594
|
+
readonly required: false;
|
|
1595
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1596
|
+
__epPropKey: true;
|
|
1597
|
+
} & {
|
|
1598
|
+
readonly default: true;
|
|
1599
|
+
};
|
|
1600
|
+
readonly openDelay: {
|
|
1601
|
+
readonly type: PropType<number>;
|
|
1602
|
+
readonly required: false;
|
|
1603
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1604
|
+
__epPropKey: true;
|
|
1605
|
+
} & {
|
|
1606
|
+
readonly default: 0;
|
|
1607
|
+
};
|
|
1608
|
+
readonly closeDelay: {
|
|
1609
|
+
readonly type: PropType<number>;
|
|
1610
|
+
readonly required: false;
|
|
1611
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1612
|
+
__epPropKey: true;
|
|
1613
|
+
} & {
|
|
1614
|
+
readonly default: 0;
|
|
1615
|
+
};
|
|
1616
|
+
readonly top: {
|
|
1617
|
+
readonly type: PropType<string>;
|
|
1618
|
+
readonly required: false;
|
|
1619
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1620
|
+
__epPropKey: true;
|
|
1621
|
+
};
|
|
1622
|
+
readonly modelValue: BooleanConstructor;
|
|
1623
|
+
readonly modalClass: StringConstructor;
|
|
1624
|
+
readonly headerClass: StringConstructor;
|
|
1625
|
+
readonly bodyClass: StringConstructor;
|
|
1626
|
+
readonly footerClass: StringConstructor;
|
|
1627
|
+
readonly width: {
|
|
1628
|
+
readonly type: PropType<string | number>;
|
|
1629
|
+
readonly required: false;
|
|
1630
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1631
|
+
__epPropKey: true;
|
|
1632
|
+
};
|
|
1633
|
+
readonly zIndex: {
|
|
1634
|
+
readonly type: PropType<number>;
|
|
1635
|
+
readonly required: false;
|
|
1636
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1637
|
+
__epPropKey: true;
|
|
1638
|
+
};
|
|
1639
|
+
readonly trapFocus: BooleanConstructor;
|
|
1640
|
+
readonly headerAriaLevel: {
|
|
1641
|
+
readonly type: PropType<string>;
|
|
1642
|
+
readonly required: false;
|
|
1643
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1644
|
+
__epPropKey: true;
|
|
1645
|
+
} & {
|
|
1646
|
+
readonly default: "2";
|
|
1647
|
+
};
|
|
1648
|
+
readonly center: BooleanConstructor;
|
|
1649
|
+
readonly alignCenter: BooleanConstructor;
|
|
1650
|
+
readonly closeIcon: {
|
|
1651
|
+
readonly type: PropType<unknown>;
|
|
1652
|
+
readonly required: false;
|
|
1653
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1654
|
+
__epPropKey: true;
|
|
1655
|
+
};
|
|
1656
|
+
readonly draggable: BooleanConstructor;
|
|
1657
|
+
readonly overflow: BooleanConstructor;
|
|
1658
|
+
readonly fullscreen: BooleanConstructor;
|
|
1659
|
+
readonly showClose: {
|
|
1660
|
+
readonly type: PropType<boolean>;
|
|
1661
|
+
readonly required: false;
|
|
1662
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1663
|
+
__epPropKey: true;
|
|
1664
|
+
} & {
|
|
1665
|
+
readonly default: true;
|
|
1666
|
+
};
|
|
1667
|
+
readonly title: {
|
|
1668
|
+
readonly type: PropType<string>;
|
|
1669
|
+
readonly required: false;
|
|
1670
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1671
|
+
__epPropKey: true;
|
|
1672
|
+
} & {
|
|
1673
|
+
readonly default: "";
|
|
1674
|
+
};
|
|
1675
|
+
readonly ariaLevel: {
|
|
1676
|
+
readonly type: PropType<string>;
|
|
1677
|
+
readonly required: false;
|
|
1678
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1679
|
+
__epPropKey: true;
|
|
1680
|
+
} & {
|
|
1681
|
+
readonly default: "2";
|
|
1682
|
+
};
|
|
1683
|
+
}>> & {
|
|
1684
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1685
|
+
onOpen?: (() => any) | undefined;
|
|
1686
|
+
onClose?: (() => any) | undefined;
|
|
1687
|
+
onOpened?: (() => any) | undefined;
|
|
1688
|
+
onClosed?: (() => any) | undefined;
|
|
1689
|
+
onOpenAutoFocus?: (() => any) | undefined;
|
|
1690
|
+
onCloseAutoFocus?: (() => any) | undefined;
|
|
1691
|
+
}, {
|
|
1692
|
+
visible: import("vue").Ref<boolean>;
|
|
1693
|
+
dialogContentRef: import("vue").Ref<any>;
|
|
1694
|
+
resetPosition: () => void;
|
|
1695
|
+
handleClose: () => void;
|
|
1696
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1697
|
+
open: () => void;
|
|
1698
|
+
"update:modelValue": (value: boolean) => void;
|
|
1699
|
+
close: () => void;
|
|
1700
|
+
opened: () => void;
|
|
1701
|
+
closed: () => void;
|
|
1702
|
+
openAutoFocus: () => void;
|
|
1703
|
+
closeAutoFocus: () => void;
|
|
1704
|
+
}, string, {
|
|
1705
|
+
readonly title: string;
|
|
1706
|
+
readonly center: boolean;
|
|
1707
|
+
readonly overflow: boolean;
|
|
1708
|
+
readonly modelValue: boolean;
|
|
1709
|
+
readonly ariaLevel: string;
|
|
1710
|
+
readonly appendTo: string | HTMLElement;
|
|
1711
|
+
readonly showClose: boolean;
|
|
1712
|
+
readonly alignCenter: boolean;
|
|
1713
|
+
readonly draggable: boolean;
|
|
1714
|
+
readonly fullscreen: boolean;
|
|
1715
|
+
readonly closeOnClickModal: boolean;
|
|
1716
|
+
readonly closeOnPressEscape: boolean;
|
|
1717
|
+
readonly lockScroll: boolean;
|
|
1718
|
+
readonly modal: boolean;
|
|
1719
|
+
readonly openDelay: number;
|
|
1720
|
+
readonly closeDelay: number;
|
|
1721
|
+
readonly headerAriaLevel: string;
|
|
1722
|
+
readonly appendToBody: boolean;
|
|
1723
|
+
readonly destroyOnClose: boolean;
|
|
1724
|
+
readonly trapFocus: boolean;
|
|
1725
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1726
|
+
$slots: {
|
|
1727
|
+
header?(_: {
|
|
1728
|
+
close: () => void;
|
|
1729
|
+
titleId: string;
|
|
1730
|
+
titleClass: string;
|
|
1731
|
+
}): any;
|
|
1732
|
+
title?(_: {}): any;
|
|
1733
|
+
default?(_: {}): any;
|
|
1734
|
+
footer?(_: {}): any;
|
|
1735
|
+
};
|
|
1736
|
+
}) & import("vue").Plugin;
|
|
1737
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "update:visible")[], "update:modelValue" | "change" | "update:visible", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1738
|
+
title: {
|
|
1739
|
+
type: StringConstructor;
|
|
1740
|
+
default: string;
|
|
1741
|
+
};
|
|
1742
|
+
modelValue: {
|
|
1743
|
+
type: ObjectConstructor;
|
|
1744
|
+
default: () => {};
|
|
1745
|
+
};
|
|
1746
|
+
openReset: {
|
|
1747
|
+
type: BooleanConstructor;
|
|
1748
|
+
default: boolean;
|
|
1749
|
+
};
|
|
1750
|
+
visible: {
|
|
1751
|
+
type: BooleanConstructor;
|
|
1752
|
+
default: boolean;
|
|
1753
|
+
};
|
|
1754
|
+
formItems: {
|
|
1755
|
+
type: ArrayConstructor;
|
|
1756
|
+
default: () => any[];
|
|
1757
|
+
};
|
|
1758
|
+
dialogFormProps: {
|
|
1759
|
+
type: ObjectConstructor;
|
|
1760
|
+
default: () => {};
|
|
1761
|
+
};
|
|
1762
|
+
validateCatch: {
|
|
1763
|
+
type: PropType<AnyFunc>;
|
|
1764
|
+
default: (err: any, init?: {
|
|
1765
|
+
prefix?: string;
|
|
1766
|
+
suffix?: string;
|
|
1767
|
+
}) => void;
|
|
1768
|
+
};
|
|
1769
|
+
}>> & Readonly<{
|
|
1770
|
+
"onUpdate:visible"?: (...args: any[]) => any;
|
|
1771
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
1772
|
+
onChange?: (...args: any[]) => any;
|
|
1773
|
+
}>, {
|
|
1774
|
+
visible: boolean;
|
|
1775
|
+
modelValue: Record<string, any>;
|
|
1776
|
+
formItems: unknown[];
|
|
1777
|
+
dialogFormProps: Record<string, any>;
|
|
1778
|
+
validateCatch: AnyFunc;
|
|
1779
|
+
title: string;
|
|
1780
|
+
openReset: boolean;
|
|
1781
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1782
|
+
export default _default;
|