@vunk/form 2.10.0 → 2.10.3
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.cjs +37 -36
- package/components/api-tables-select/index.mjs +37 -36
- package/components/api-tables-select/src/ctx.d.ts +48 -13
- package/components/api-tables-select/src/index.vue.d.ts +568 -80
- package/components/button/src/ctx.d.ts +101 -17
- package/components/button/src/index.vue.d.ts +437 -101
- package/components/card-input-collection/index.cjs +67 -70
- package/components/card-input-collection/index.mjs +68 -71
- package/components/card-input-collection/src/ctx.d.ts +43 -8
- package/components/card-input-collection/src/index.vue.d.ts +718 -226
- package/components/cascader/src/ctx.d.ts +192 -46
- package/components/cascader/src/index.vue.d.ts +393 -118
- package/components/checkbox/index.cjs +2 -3
- package/components/checkbox/index.mjs +2 -3
- package/components/checkbox/src/ctx.d.ts +65 -13
- package/components/checkbox/src/index.vue.d.ts +339 -115
- package/components/color-picker/src/ctx.d.ts +76 -13
- package/components/color-picker/src/index.vue.d.ts +160 -34
- package/components/date-picker/src/ctx.d.ts +185 -36
- package/components/date-picker/src/index.vue.d.ts +974 -202
- package/components/date-picker-range/src/ctx.d.ts +168 -35
- package/components/date-picker-range/src/index.vue.d.ts +347 -82
- package/components/download-plus/index.cjs +4 -4
- package/components/download-plus/index.mjs +4 -4
- package/components/download-plus/src/ctx.d.ts +43 -8
- package/components/download-plus/src/index.vue.d.ts +618 -165
- package/components/editable-text/index.cjs +29 -15
- package/components/editable-text/index.mjs +29 -15
- package/components/editable-text/src/ctx.d.ts +51 -8
- package/components/editable-text/src/index.vue.d.ts +2827 -251
- package/components/esri-input-geojson/src/append.vue.d.ts +769 -418
- package/components/esri-input-geojson/src/ctx.d.ts +133 -32
- package/components/esri-input-geojson/src/index.vue.d.ts +262 -92
- package/components/esri-input-geojson/src/viewer.vue.d.ts +1 -1
- package/components/form/src/ctx.d.ts +59 -11
- package/components/form/src/index.vue.d.ts +3456 -186
- package/components/form-item/src/ctx.d.ts +45 -10
- package/components/form-item/src/index.vue.d.ts +484 -141
- package/components/information-collection/src/ctx.d.ts +45 -10
- package/components/information-collection/src/index.vue.d.ts +96 -26
- package/components/information-tag/src/ctx.d.ts +17 -3
- package/components/information-tag/src/index.vue.d.ts +38 -10
- package/components/input/src/ctx.d.ts +138 -33
- package/components/input/src/index.vue.d.ts +528 -152
- package/components/input-collection/index.cjs +105 -74
- package/components/input-collection/index.mjs +107 -76
- package/components/input-collection/src/ctx.d.ts +43 -8
- package/components/input-collection/src/index.vue.d.ts +756 -793
- package/components/input-link/src/ctx.d.ts +103 -25
- package/components/input-link/src/index.vue.d.ts +219 -63
- package/components/input-number/src/ctx.d.ts +123 -21
- package/components/input-number/src/index.vue.d.ts +468 -93
- package/components/input-tag/src/ctx.d.ts +141 -25
- package/components/input-tag/src/index.vue.d.ts +566 -126
- package/components/monaco-editor/src/ctx.d.ts +43 -8
- package/components/monaco-editor/src/index.vue.d.ts +91 -21
- package/components/radio/index.cjs +2 -3
- package/components/radio/index.mjs +2 -3
- package/components/radio/src/ctx.d.ts +84 -14
- package/components/radio/src/index.vue.d.ts +812 -168
- package/components/select/src/ctx.d.ts +63 -13
- package/components/select/src/index.vue.d.ts +549 -108
- package/components/slider/src/ctx.d.ts +170 -54
- package/components/slider/src/index.vue.d.ts +362 -137
- package/components/switch/src/ctx.d.ts +105 -21
- package/components/switch/src/index.vue.d.ts +453 -117
- package/components/tables-select/src/ctx.d.ts +72 -9
- package/components/tables-select/src/index.vue.d.ts +386 -82
- package/components/templates-element-plus/src/index.vue.d.ts +187 -40
- package/components/templates-layout/src/index.vue.d.ts +337 -64
- package/components/upload/index.cjs +2 -2
- package/components/upload/index.mjs +2 -2
- package/components/upload/src/ctx.d.ts +183 -89
- package/components/upload/src/file.vue.d.ts +269 -83
- package/components/upload/src/index.vue.d.ts +1246 -632
- package/components/upload-plus/index.cjs +79 -86
- package/components/upload-plus/index.mjs +79 -86
- package/components/upload-plus/src/ctx.d.ts +43 -8
- package/components/upload-plus/src/index.vue.d.ts +1008 -283
- package/components/van-cascader/src/ctx.d.ts +181 -44
- package/components/van-cascader/src/index.vue.d.ts +1532 -324
- package/components/var-datetime-picker/src/ctx.d.ts +43 -8
- package/components/var-datetime-picker/src/index.vue.d.ts +932 -190
- package/components/vditor/src/ctx.d.ts +43 -8
- package/components/vditor/src/index.vue.d.ts +91 -21
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +111 -30
- package/shared/element-plus/instances.d.ts +140 -28
|
@@ -19,7 +19,14 @@ export declare const props: {
|
|
|
19
19
|
type: BooleanConstructor;
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
22
|
-
required:
|
|
22
|
+
required: {
|
|
23
|
+
readonly type: import("vue").PropType<boolean>;
|
|
24
|
+
readonly required: false;
|
|
25
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
26
|
+
__epPropKey: true;
|
|
27
|
+
} & {
|
|
28
|
+
readonly default: undefined;
|
|
29
|
+
};
|
|
23
30
|
formItemSize: {
|
|
24
31
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
25
32
|
default: "default" | "small" | "large";
|
|
@@ -50,30 +57,58 @@ export declare const props: {
|
|
|
50
57
|
default: boolean;
|
|
51
58
|
};
|
|
52
59
|
label: StringConstructor;
|
|
53
|
-
labelWidth:
|
|
54
|
-
|
|
60
|
+
labelWidth: {
|
|
61
|
+
readonly type: import("vue").PropType<string | number>;
|
|
62
|
+
readonly required: false;
|
|
63
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
64
|
+
__epPropKey: true;
|
|
65
|
+
} & {
|
|
66
|
+
readonly default: "";
|
|
67
|
+
};
|
|
68
|
+
labelPosition: {
|
|
69
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
70
|
+
readonly required: false;
|
|
71
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
72
|
+
__epPropKey: true;
|
|
73
|
+
} & {
|
|
74
|
+
readonly default: "";
|
|
75
|
+
};
|
|
55
76
|
prop: {
|
|
56
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
77
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
57
78
|
readonly required: false;
|
|
58
79
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
59
80
|
__epPropKey: true;
|
|
60
81
|
};
|
|
61
82
|
rules: {
|
|
62
|
-
readonly type: import("vue").PropType<
|
|
83
|
+
readonly type: import("vue").PropType<unknown>;
|
|
63
84
|
readonly required: false;
|
|
64
85
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
65
86
|
__epPropKey: true;
|
|
66
87
|
};
|
|
67
88
|
error: StringConstructor;
|
|
68
89
|
validateStatus: {
|
|
69
|
-
readonly type: import("vue").PropType<
|
|
90
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
70
91
|
readonly required: false;
|
|
71
92
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
72
93
|
__epPropKey: true;
|
|
73
94
|
};
|
|
74
95
|
for: StringConstructor;
|
|
75
|
-
inlineMessage:
|
|
76
|
-
|
|
96
|
+
inlineMessage: {
|
|
97
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
98
|
+
readonly required: false;
|
|
99
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
100
|
+
__epPropKey: true;
|
|
101
|
+
} & {
|
|
102
|
+
readonly default: "";
|
|
103
|
+
};
|
|
104
|
+
showMessage: {
|
|
105
|
+
readonly type: import("vue").PropType<boolean>;
|
|
106
|
+
readonly required: false;
|
|
107
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
108
|
+
__epPropKey: true;
|
|
109
|
+
} & {
|
|
110
|
+
readonly default: true;
|
|
111
|
+
};
|
|
77
112
|
};
|
|
78
113
|
export declare const emits: {
|
|
79
114
|
'update:modelValue': null;
|
|
@@ -19,7 +19,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
19
19
|
type: BooleanConstructor;
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
22
|
-
required:
|
|
22
|
+
required: {
|
|
23
|
+
readonly type: import("vue").PropType<boolean>;
|
|
24
|
+
readonly required: false;
|
|
25
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
26
|
+
__epPropKey: true;
|
|
27
|
+
} & {
|
|
28
|
+
readonly default: undefined;
|
|
29
|
+
};
|
|
23
30
|
formItemSize: {
|
|
24
31
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
25
32
|
default: "default" | "small" | "large";
|
|
@@ -50,30 +57,58 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
50
57
|
default: boolean;
|
|
51
58
|
};
|
|
52
59
|
label: StringConstructor;
|
|
53
|
-
labelWidth:
|
|
54
|
-
|
|
60
|
+
labelWidth: {
|
|
61
|
+
readonly type: import("vue").PropType<string | number>;
|
|
62
|
+
readonly required: false;
|
|
63
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
64
|
+
__epPropKey: true;
|
|
65
|
+
} & {
|
|
66
|
+
readonly default: "";
|
|
67
|
+
};
|
|
68
|
+
labelPosition: {
|
|
69
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
70
|
+
readonly required: false;
|
|
71
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
72
|
+
__epPropKey: true;
|
|
73
|
+
} & {
|
|
74
|
+
readonly default: "";
|
|
75
|
+
};
|
|
55
76
|
prop: {
|
|
56
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
77
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
57
78
|
readonly required: false;
|
|
58
79
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
59
80
|
__epPropKey: true;
|
|
60
81
|
};
|
|
61
82
|
rules: {
|
|
62
|
-
readonly type: import("vue").PropType<
|
|
83
|
+
readonly type: import("vue").PropType<unknown>;
|
|
63
84
|
readonly required: false;
|
|
64
85
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
65
86
|
__epPropKey: true;
|
|
66
87
|
};
|
|
67
88
|
error: StringConstructor;
|
|
68
89
|
validateStatus: {
|
|
69
|
-
readonly type: import("vue").PropType<
|
|
90
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
70
91
|
readonly required: false;
|
|
71
92
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
72
93
|
__epPropKey: true;
|
|
73
94
|
};
|
|
74
95
|
for: StringConstructor;
|
|
75
|
-
inlineMessage:
|
|
76
|
-
|
|
96
|
+
inlineMessage: {
|
|
97
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
98
|
+
readonly required: false;
|
|
99
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
100
|
+
__epPropKey: true;
|
|
101
|
+
} & {
|
|
102
|
+
readonly default: "";
|
|
103
|
+
};
|
|
104
|
+
showMessage: {
|
|
105
|
+
readonly type: import("vue").PropType<boolean>;
|
|
106
|
+
readonly required: false;
|
|
107
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
108
|
+
__epPropKey: true;
|
|
109
|
+
} & {
|
|
110
|
+
readonly default: true;
|
|
111
|
+
};
|
|
77
112
|
}>, {
|
|
78
113
|
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
79
114
|
readonly: import("vue").ComputedRef<boolean>;
|
|
@@ -105,7 +140,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
105
140
|
type: BooleanConstructor;
|
|
106
141
|
default: boolean;
|
|
107
142
|
};
|
|
108
|
-
required:
|
|
143
|
+
required: {
|
|
144
|
+
readonly type: import("vue").PropType<boolean>;
|
|
145
|
+
readonly required: false;
|
|
146
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
147
|
+
__epPropKey: true;
|
|
148
|
+
} & {
|
|
149
|
+
readonly default: undefined;
|
|
150
|
+
};
|
|
109
151
|
formItemSize: {
|
|
110
152
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
111
153
|
default: "default" | "small" | "large";
|
|
@@ -136,34 +178,62 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
136
178
|
default: boolean;
|
|
137
179
|
};
|
|
138
180
|
label: StringConstructor;
|
|
139
|
-
labelWidth:
|
|
140
|
-
|
|
181
|
+
labelWidth: {
|
|
182
|
+
readonly type: import("vue").PropType<string | number>;
|
|
183
|
+
readonly required: false;
|
|
184
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
185
|
+
__epPropKey: true;
|
|
186
|
+
} & {
|
|
187
|
+
readonly default: "";
|
|
188
|
+
};
|
|
189
|
+
labelPosition: {
|
|
190
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
191
|
+
readonly required: false;
|
|
192
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
193
|
+
__epPropKey: true;
|
|
194
|
+
} & {
|
|
195
|
+
readonly default: "";
|
|
196
|
+
};
|
|
141
197
|
prop: {
|
|
142
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
198
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
143
199
|
readonly required: false;
|
|
144
200
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
145
201
|
__epPropKey: true;
|
|
146
202
|
};
|
|
147
203
|
rules: {
|
|
148
|
-
readonly type: import("vue").PropType<
|
|
204
|
+
readonly type: import("vue").PropType<unknown>;
|
|
149
205
|
readonly required: false;
|
|
150
206
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
151
207
|
__epPropKey: true;
|
|
152
208
|
};
|
|
153
209
|
error: StringConstructor;
|
|
154
210
|
validateStatus: {
|
|
155
|
-
readonly type: import("vue").PropType<
|
|
211
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
156
212
|
readonly required: false;
|
|
157
213
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
158
214
|
__epPropKey: true;
|
|
159
215
|
};
|
|
160
216
|
for: StringConstructor;
|
|
161
|
-
inlineMessage:
|
|
162
|
-
|
|
217
|
+
inlineMessage: {
|
|
218
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
219
|
+
readonly required: false;
|
|
220
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
221
|
+
__epPropKey: true;
|
|
222
|
+
} & {
|
|
223
|
+
readonly default: "";
|
|
224
|
+
};
|
|
225
|
+
showMessage: {
|
|
226
|
+
readonly type: import("vue").PropType<boolean>;
|
|
227
|
+
readonly required: false;
|
|
228
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
229
|
+
__epPropKey: true;
|
|
230
|
+
} & {
|
|
231
|
+
readonly default: true;
|
|
232
|
+
};
|
|
163
233
|
}>> & Readonly<{
|
|
164
234
|
"onUpdate:modelValue"?: (...args: unknown[]) => any;
|
|
165
235
|
}>, {
|
|
166
|
-
required:
|
|
236
|
+
required: boolean;
|
|
167
237
|
formItemSize: "default" | "small" | "large";
|
|
168
238
|
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
169
239
|
inline: boolean;
|
|
@@ -172,10 +242,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
172
242
|
formItemTipClass: any;
|
|
173
243
|
labelTip: string;
|
|
174
244
|
information: boolean;
|
|
175
|
-
labelWidth:
|
|
176
|
-
labelPosition:
|
|
177
|
-
inlineMessage:
|
|
178
|
-
showMessage:
|
|
245
|
+
labelWidth: string | number;
|
|
246
|
+
labelPosition: "" | "top" | "left" | "right";
|
|
247
|
+
inlineMessage: string | boolean;
|
|
248
|
+
showMessage: boolean;
|
|
179
249
|
modelValue: string;
|
|
180
250
|
height: string;
|
|
181
251
|
defaultOptions: import("monaco-editor").editor.IStandaloneEditorConstructionOptions;
|
|
@@ -94,9 +94,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
94
94
|
return vue.openBlock(), vue.createBlock(
|
|
95
95
|
vue.resolveDynamicComponent(_ctx.type === "button" ? "ElRadioButton" : "ElRadio"),
|
|
96
96
|
vue.mergeProps({
|
|
97
|
-
key: item.value
|
|
98
|
-
|
|
99
|
-
}, _ctx.pickRadioProps(item)),
|
|
97
|
+
key: item.value
|
|
98
|
+
}, { ref_for: true }, _ctx.pickRadioProps(item)),
|
|
100
99
|
{
|
|
101
100
|
default: vue.withCtx(() => [
|
|
102
101
|
vue.createTextVNode(
|
|
@@ -90,9 +90,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
90
90
|
return openBlock(), createBlock(
|
|
91
91
|
resolveDynamicComponent(_ctx.type === "button" ? "ElRadioButton" : "ElRadio"),
|
|
92
92
|
mergeProps({
|
|
93
|
-
key: item.value
|
|
94
|
-
|
|
95
|
-
}, _ctx.pickRadioProps(item)),
|
|
93
|
+
key: item.value
|
|
94
|
+
}, { ref_for: true }, _ctx.pickRadioProps(item)),
|
|
96
95
|
{
|
|
97
96
|
default: withCtx(() => [
|
|
98
97
|
createTextVNode(
|
|
@@ -14,19 +14,61 @@ export declare const props: {
|
|
|
14
14
|
};
|
|
15
15
|
defaultModelValue: any;
|
|
16
16
|
ariaLabel: StringConstructor;
|
|
17
|
-
id:
|
|
17
|
+
id: {
|
|
18
|
+
readonly type: PropType<string>;
|
|
19
|
+
readonly required: false;
|
|
20
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
|
+
__epPropKey: true;
|
|
22
|
+
} & {
|
|
23
|
+
readonly default: undefined;
|
|
24
|
+
};
|
|
18
25
|
size: {
|
|
19
|
-
readonly type:
|
|
26
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
20
27
|
readonly required: false;
|
|
21
28
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
22
29
|
__epPropKey: true;
|
|
23
30
|
};
|
|
24
31
|
disabled: BooleanConstructor;
|
|
25
|
-
fill:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
32
|
+
fill: {
|
|
33
|
+
readonly type: PropType<string>;
|
|
34
|
+
readonly required: false;
|
|
35
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
|
+
__epPropKey: true;
|
|
37
|
+
} & {
|
|
38
|
+
readonly default: "";
|
|
39
|
+
};
|
|
40
|
+
textColor: {
|
|
41
|
+
readonly type: PropType<string>;
|
|
42
|
+
readonly required: false;
|
|
43
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
|
+
__epPropKey: true;
|
|
45
|
+
} & {
|
|
46
|
+
readonly default: "";
|
|
47
|
+
};
|
|
48
|
+
name: {
|
|
49
|
+
readonly type: PropType<string>;
|
|
50
|
+
readonly required: false;
|
|
51
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
52
|
+
__epPropKey: true;
|
|
53
|
+
} & {
|
|
54
|
+
readonly default: undefined;
|
|
55
|
+
};
|
|
56
|
+
validateEvent: {
|
|
57
|
+
readonly type: PropType<boolean>;
|
|
58
|
+
readonly required: false;
|
|
59
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
60
|
+
__epPropKey: true;
|
|
61
|
+
} & {
|
|
62
|
+
readonly default: true;
|
|
63
|
+
};
|
|
64
|
+
required: {
|
|
65
|
+
readonly type: PropType<boolean>;
|
|
66
|
+
readonly required: false;
|
|
67
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
68
|
+
__epPropKey: true;
|
|
69
|
+
} & {
|
|
70
|
+
readonly default: undefined;
|
|
71
|
+
};
|
|
30
72
|
formItemSize: {
|
|
31
73
|
type: PropType<"default" | "small" | "large">;
|
|
32
74
|
default: "default" | "small" | "large";
|
|
@@ -61,30 +103,58 @@ export declare const props: {
|
|
|
61
103
|
default: boolean;
|
|
62
104
|
};
|
|
63
105
|
label: StringConstructor;
|
|
64
|
-
labelWidth:
|
|
65
|
-
|
|
106
|
+
labelWidth: {
|
|
107
|
+
readonly type: PropType<string | number>;
|
|
108
|
+
readonly required: false;
|
|
109
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
110
|
+
__epPropKey: true;
|
|
111
|
+
} & {
|
|
112
|
+
readonly default: "";
|
|
113
|
+
};
|
|
114
|
+
labelPosition: {
|
|
115
|
+
readonly type: PropType<"" | "top" | "left" | "right">;
|
|
116
|
+
readonly required: false;
|
|
117
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
118
|
+
__epPropKey: true;
|
|
119
|
+
} & {
|
|
120
|
+
readonly default: "";
|
|
121
|
+
};
|
|
66
122
|
prop: {
|
|
67
|
-
readonly type:
|
|
123
|
+
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
68
124
|
readonly required: false;
|
|
69
125
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
70
126
|
__epPropKey: true;
|
|
71
127
|
};
|
|
72
128
|
rules: {
|
|
73
|
-
readonly type:
|
|
129
|
+
readonly type: PropType<unknown>;
|
|
74
130
|
readonly required: false;
|
|
75
131
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
76
132
|
__epPropKey: true;
|
|
77
133
|
};
|
|
78
134
|
error: StringConstructor;
|
|
79
135
|
validateStatus: {
|
|
80
|
-
readonly type:
|
|
136
|
+
readonly type: PropType<"" | "error" | "success" | "validating">;
|
|
81
137
|
readonly required: false;
|
|
82
138
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
83
139
|
__epPropKey: true;
|
|
84
140
|
};
|
|
85
141
|
for: StringConstructor;
|
|
86
|
-
inlineMessage:
|
|
87
|
-
|
|
142
|
+
inlineMessage: {
|
|
143
|
+
readonly type: PropType<string | boolean>;
|
|
144
|
+
readonly required: false;
|
|
145
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
146
|
+
__epPropKey: true;
|
|
147
|
+
} & {
|
|
148
|
+
readonly default: "";
|
|
149
|
+
};
|
|
150
|
+
showMessage: {
|
|
151
|
+
readonly type: PropType<boolean>;
|
|
152
|
+
readonly required: false;
|
|
153
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
154
|
+
__epPropKey: true;
|
|
155
|
+
} & {
|
|
156
|
+
readonly default: true;
|
|
157
|
+
};
|
|
88
158
|
};
|
|
89
159
|
export declare const emits: {
|
|
90
160
|
"update:modelValue": (val: string | number | boolean | undefined) => val is string | number | boolean;
|