@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
|
@@ -15,7 +15,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
15
15
|
type: import("vue").PropType<any>;
|
|
16
16
|
required: boolean;
|
|
17
17
|
};
|
|
18
|
-
required:
|
|
18
|
+
required: {
|
|
19
|
+
readonly type: import("vue").PropType<boolean>;
|
|
20
|
+
readonly required: false;
|
|
21
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
22
|
+
__epPropKey: true;
|
|
23
|
+
} & {
|
|
24
|
+
readonly default: undefined;
|
|
25
|
+
};
|
|
19
26
|
formItemSize: {
|
|
20
27
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
21
28
|
default: "default" | "small" | "large";
|
|
@@ -46,34 +53,69 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
46
53
|
default: boolean;
|
|
47
54
|
};
|
|
48
55
|
label: StringConstructor;
|
|
49
|
-
labelWidth:
|
|
50
|
-
|
|
56
|
+
labelWidth: {
|
|
57
|
+
readonly type: import("vue").PropType<string | number>;
|
|
58
|
+
readonly required: false;
|
|
59
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
60
|
+
__epPropKey: true;
|
|
61
|
+
} & {
|
|
62
|
+
readonly default: "";
|
|
63
|
+
};
|
|
64
|
+
labelPosition: {
|
|
65
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
66
|
+
readonly required: false;
|
|
67
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
68
|
+
__epPropKey: true;
|
|
69
|
+
} & {
|
|
70
|
+
readonly default: "";
|
|
71
|
+
};
|
|
51
72
|
prop: {
|
|
52
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
73
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
53
74
|
readonly required: false;
|
|
54
75
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
76
|
__epPropKey: true;
|
|
56
77
|
};
|
|
57
78
|
rules: {
|
|
58
|
-
readonly type: import("vue").PropType<
|
|
79
|
+
readonly type: import("vue").PropType<unknown>;
|
|
59
80
|
readonly required: false;
|
|
60
81
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
61
82
|
__epPropKey: true;
|
|
62
83
|
};
|
|
63
84
|
error: StringConstructor;
|
|
64
85
|
validateStatus: {
|
|
65
|
-
readonly type: import("vue").PropType<
|
|
86
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
66
87
|
readonly required: false;
|
|
67
88
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
68
89
|
__epPropKey: true;
|
|
69
90
|
};
|
|
70
91
|
for: StringConstructor;
|
|
71
|
-
inlineMessage:
|
|
72
|
-
|
|
92
|
+
inlineMessage: {
|
|
93
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
94
|
+
readonly required: false;
|
|
95
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
96
|
+
__epPropKey: true;
|
|
97
|
+
} & {
|
|
98
|
+
readonly default: "";
|
|
99
|
+
};
|
|
100
|
+
showMessage: {
|
|
101
|
+
readonly type: import("vue").PropType<boolean>;
|
|
102
|
+
readonly required: false;
|
|
103
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
|
+
__epPropKey: true;
|
|
105
|
+
} & {
|
|
106
|
+
readonly default: true;
|
|
107
|
+
};
|
|
73
108
|
emptyValues: ArrayConstructor;
|
|
74
|
-
valueOnClear:
|
|
109
|
+
valueOnClear: {
|
|
110
|
+
readonly type: import("vue").PropType<string | number | boolean | Function>;
|
|
111
|
+
readonly required: false;
|
|
112
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
113
|
+
__epPropKey: true;
|
|
114
|
+
} & {
|
|
115
|
+
readonly default: undefined;
|
|
116
|
+
};
|
|
75
117
|
size: {
|
|
76
|
-
readonly type: import("vue").PropType<
|
|
118
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
77
119
|
readonly required: false;
|
|
78
120
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
79
121
|
__epPropKey: true;
|
|
@@ -82,85 +124,181 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
82
124
|
disabled: BooleanConstructor;
|
|
83
125
|
clearable: BooleanConstructor;
|
|
84
126
|
filterable: BooleanConstructor;
|
|
85
|
-
filterMethod:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
readonly
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
127
|
+
filterMethod: {
|
|
128
|
+
readonly type: import("vue").PropType<(node: import("element-plus").CascaderNode, keyword: string) => boolean>;
|
|
129
|
+
readonly required: false;
|
|
130
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
131
|
+
__epPropKey: true;
|
|
132
|
+
} & {
|
|
133
|
+
readonly default: (node: import("element-plus").CascaderNode, keyword: string) => boolean;
|
|
134
|
+
};
|
|
135
|
+
separator: {
|
|
136
|
+
readonly type: import("vue").PropType<string>;
|
|
137
|
+
readonly required: false;
|
|
138
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
139
|
+
__epPropKey: true;
|
|
140
|
+
} & {
|
|
141
|
+
readonly default: string;
|
|
142
|
+
};
|
|
143
|
+
showAllLevels: {
|
|
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: boolean;
|
|
150
|
+
};
|
|
96
151
|
collapseTags: BooleanConstructor;
|
|
97
|
-
maxCollapseTags:
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
readonly
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
readonly
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
152
|
+
maxCollapseTags: {
|
|
153
|
+
readonly type: import("vue").PropType<number>;
|
|
154
|
+
readonly required: false;
|
|
155
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
156
|
+
__epPropKey: true;
|
|
157
|
+
} & {
|
|
158
|
+
readonly default: number;
|
|
159
|
+
};
|
|
160
|
+
collapseTagsTooltip: {
|
|
161
|
+
readonly type: import("vue").PropType<boolean>;
|
|
162
|
+
readonly required: false;
|
|
163
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
164
|
+
__epPropKey: true;
|
|
165
|
+
} & {
|
|
166
|
+
readonly default: boolean;
|
|
167
|
+
};
|
|
168
|
+
maxCollapseTagsTooltipHeight: {
|
|
169
|
+
readonly type: import("vue").PropType<string | number>;
|
|
170
|
+
readonly required: false;
|
|
171
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
172
|
+
__epPropKey: true;
|
|
173
|
+
};
|
|
174
|
+
debounce: {
|
|
175
|
+
readonly type: import("vue").PropType<number>;
|
|
176
|
+
readonly required: false;
|
|
177
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
178
|
+
__epPropKey: true;
|
|
179
|
+
} & {
|
|
180
|
+
readonly default: number;
|
|
181
|
+
};
|
|
182
|
+
beforeFilter: {
|
|
183
|
+
readonly type: import("vue").PropType<(value: string) => boolean | Promise<any>>;
|
|
184
|
+
readonly required: false;
|
|
185
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
186
|
+
__epPropKey: true;
|
|
187
|
+
} & {
|
|
188
|
+
readonly default: () => true;
|
|
189
|
+
};
|
|
190
|
+
placement: {
|
|
191
|
+
readonly type: import("vue").PropType<import("element-plus").Placement>;
|
|
192
|
+
readonly required: false;
|
|
193
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
194
|
+
__epPropKey: true;
|
|
195
|
+
} & {
|
|
196
|
+
readonly default: string;
|
|
197
|
+
};
|
|
198
|
+
fallbackPlacements: {
|
|
199
|
+
readonly type: import("vue").PropType<import("element-plus").Placement[]>;
|
|
200
|
+
readonly required: false;
|
|
201
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
202
|
+
__epPropKey: true;
|
|
203
|
+
} & {
|
|
204
|
+
readonly default: string[];
|
|
205
|
+
};
|
|
206
|
+
popperClass: {
|
|
207
|
+
readonly type: import("vue").PropType<string>;
|
|
208
|
+
readonly required: false;
|
|
209
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
210
|
+
__epPropKey: true;
|
|
211
|
+
} & {
|
|
212
|
+
readonly default: string;
|
|
213
|
+
};
|
|
214
|
+
teleported: {
|
|
215
|
+
readonly type: import("vue").PropType<boolean>;
|
|
216
|
+
readonly required: false;
|
|
217
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
218
|
+
__epPropKey: true;
|
|
219
|
+
} & {
|
|
220
|
+
readonly default: true;
|
|
221
|
+
};
|
|
113
222
|
tagType: {
|
|
114
223
|
default: string;
|
|
115
|
-
type: import("vue").PropType<
|
|
224
|
+
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
116
225
|
required: false;
|
|
117
226
|
validator: ((val: unknown) => boolean) | undefined;
|
|
118
227
|
__epPropKey: true;
|
|
119
228
|
};
|
|
120
229
|
tagEffect: {
|
|
121
230
|
default: string;
|
|
122
|
-
type: import("vue").PropType<
|
|
231
|
+
type: import("vue").PropType<"dark" | "light" | "plain">;
|
|
123
232
|
required: false;
|
|
124
233
|
validator: ((val: unknown) => boolean) | undefined;
|
|
125
234
|
__epPropKey: true;
|
|
126
235
|
};
|
|
127
|
-
validateEvent:
|
|
128
|
-
|
|
236
|
+
validateEvent: {
|
|
237
|
+
readonly type: import("vue").PropType<boolean>;
|
|
238
|
+
readonly required: false;
|
|
239
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
240
|
+
__epPropKey: true;
|
|
241
|
+
} & {
|
|
242
|
+
readonly default: boolean;
|
|
243
|
+
};
|
|
244
|
+
persistent: {
|
|
245
|
+
readonly type: import("vue").PropType<boolean>;
|
|
246
|
+
readonly required: false;
|
|
247
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
248
|
+
__epPropKey: true;
|
|
249
|
+
} & {
|
|
250
|
+
readonly default: boolean;
|
|
251
|
+
};
|
|
129
252
|
modelValue: {
|
|
130
|
-
readonly type: import("vue").PropType<
|
|
253
|
+
readonly type: import("vue").PropType<(string | number)[] | (string | number) | ((string | number)[] | (string | number))[]>;
|
|
131
254
|
readonly required: false;
|
|
132
255
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
133
256
|
__epPropKey: true;
|
|
134
257
|
};
|
|
135
|
-
options:
|
|
136
|
-
|
|
258
|
+
options: {
|
|
259
|
+
readonly type: import("vue").PropType<import("element-plus").CascaderOption[]>;
|
|
260
|
+
readonly required: false;
|
|
261
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
262
|
+
__epPropKey: true;
|
|
263
|
+
} & {
|
|
264
|
+
readonly default: () => import("element-plus").CascaderOption[];
|
|
265
|
+
};
|
|
266
|
+
props: {
|
|
267
|
+
readonly type: import("vue").PropType<import("element-plus").CascaderProps>;
|
|
268
|
+
readonly required: false;
|
|
269
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
270
|
+
__epPropKey: true;
|
|
271
|
+
} & {
|
|
272
|
+
readonly default: () => import("element-plus").CascaderProps;
|
|
273
|
+
};
|
|
137
274
|
}>, {
|
|
138
275
|
coreBindProps: import("vue").ComputedRef<{
|
|
139
|
-
size:
|
|
276
|
+
size: "" | "default" | "small" | "large";
|
|
140
277
|
disabled: boolean;
|
|
141
|
-
persistent:
|
|
142
|
-
teleported:
|
|
278
|
+
persistent: boolean;
|
|
279
|
+
teleported: boolean;
|
|
143
280
|
popperClass: string;
|
|
144
281
|
fallbackPlacements: import("element-plus").Placement[];
|
|
145
|
-
placement: import("element-plus
|
|
282
|
+
placement: import("element-plus").Placement;
|
|
146
283
|
props: import("element-plus").CascaderProps;
|
|
147
|
-
modelValue:
|
|
284
|
+
modelValue: (string | number)[] | (string | number) | ((string | number)[] | (string | number))[];
|
|
148
285
|
clearable: boolean;
|
|
149
286
|
placeholder: string;
|
|
150
287
|
filterMethod: (node: import("element-plus").CascaderNode, keyword: string) => boolean;
|
|
151
|
-
|
|
152
|
-
valueOnClear: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown>;
|
|
288
|
+
validateEvent: boolean;
|
|
153
289
|
filterable: boolean;
|
|
154
|
-
separator: string;
|
|
155
|
-
showAllLevels: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
156
290
|
collapseTags: boolean;
|
|
291
|
+
collapseTagsTooltip: boolean;
|
|
292
|
+
tagType: "success" | "primary" | "warning" | "info" | "danger";
|
|
293
|
+
emptyValues: unknown[];
|
|
294
|
+
valueOnClear: string | number | boolean | Function;
|
|
295
|
+
separator: string;
|
|
296
|
+
showAllLevels: boolean;
|
|
157
297
|
maxCollapseTags: number;
|
|
158
|
-
|
|
298
|
+
maxCollapseTagsTooltipHeight: string | number;
|
|
159
299
|
debounce: number;
|
|
160
300
|
beforeFilter: (value: string) => boolean | Promise<any>;
|
|
161
|
-
|
|
162
|
-
tagEffect: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "dark" | "light" | "plain", unknown>;
|
|
163
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
301
|
+
tagEffect: "dark" | "light" | "plain";
|
|
164
302
|
}>;
|
|
165
303
|
coreOnEmits: {};
|
|
166
304
|
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
@@ -192,7 +330,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
192
330
|
type: import("vue").PropType<any>;
|
|
193
331
|
required: boolean;
|
|
194
332
|
};
|
|
195
|
-
required:
|
|
333
|
+
required: {
|
|
334
|
+
readonly type: import("vue").PropType<boolean>;
|
|
335
|
+
readonly required: false;
|
|
336
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
337
|
+
__epPropKey: true;
|
|
338
|
+
} & {
|
|
339
|
+
readonly default: undefined;
|
|
340
|
+
};
|
|
196
341
|
formItemSize: {
|
|
197
342
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
198
343
|
default: "default" | "small" | "large";
|
|
@@ -223,34 +368,69 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
223
368
|
default: boolean;
|
|
224
369
|
};
|
|
225
370
|
label: StringConstructor;
|
|
226
|
-
labelWidth:
|
|
227
|
-
|
|
371
|
+
labelWidth: {
|
|
372
|
+
readonly type: import("vue").PropType<string | number>;
|
|
373
|
+
readonly required: false;
|
|
374
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
375
|
+
__epPropKey: true;
|
|
376
|
+
} & {
|
|
377
|
+
readonly default: "";
|
|
378
|
+
};
|
|
379
|
+
labelPosition: {
|
|
380
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
381
|
+
readonly required: false;
|
|
382
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
383
|
+
__epPropKey: true;
|
|
384
|
+
} & {
|
|
385
|
+
readonly default: "";
|
|
386
|
+
};
|
|
228
387
|
prop: {
|
|
229
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
388
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
230
389
|
readonly required: false;
|
|
231
390
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
232
391
|
__epPropKey: true;
|
|
233
392
|
};
|
|
234
393
|
rules: {
|
|
235
|
-
readonly type: import("vue").PropType<
|
|
394
|
+
readonly type: import("vue").PropType<unknown>;
|
|
236
395
|
readonly required: false;
|
|
237
396
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
238
397
|
__epPropKey: true;
|
|
239
398
|
};
|
|
240
399
|
error: StringConstructor;
|
|
241
400
|
validateStatus: {
|
|
242
|
-
readonly type: import("vue").PropType<
|
|
401
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
243
402
|
readonly required: false;
|
|
244
403
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
245
404
|
__epPropKey: true;
|
|
246
405
|
};
|
|
247
406
|
for: StringConstructor;
|
|
248
|
-
inlineMessage:
|
|
249
|
-
|
|
407
|
+
inlineMessage: {
|
|
408
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
409
|
+
readonly required: false;
|
|
410
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
411
|
+
__epPropKey: true;
|
|
412
|
+
} & {
|
|
413
|
+
readonly default: "";
|
|
414
|
+
};
|
|
415
|
+
showMessage: {
|
|
416
|
+
readonly type: import("vue").PropType<boolean>;
|
|
417
|
+
readonly required: false;
|
|
418
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
419
|
+
__epPropKey: true;
|
|
420
|
+
} & {
|
|
421
|
+
readonly default: true;
|
|
422
|
+
};
|
|
250
423
|
emptyValues: ArrayConstructor;
|
|
251
|
-
valueOnClear:
|
|
424
|
+
valueOnClear: {
|
|
425
|
+
readonly type: import("vue").PropType<string | number | boolean | Function>;
|
|
426
|
+
readonly required: false;
|
|
427
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
428
|
+
__epPropKey: true;
|
|
429
|
+
} & {
|
|
430
|
+
readonly default: undefined;
|
|
431
|
+
};
|
|
252
432
|
size: {
|
|
253
|
-
readonly type: import("vue").PropType<
|
|
433
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
254
434
|
readonly required: false;
|
|
255
435
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
256
436
|
__epPropKey: true;
|
|
@@ -259,69 +439,164 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
259
439
|
disabled: BooleanConstructor;
|
|
260
440
|
clearable: BooleanConstructor;
|
|
261
441
|
filterable: BooleanConstructor;
|
|
262
|
-
filterMethod:
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
readonly
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
442
|
+
filterMethod: {
|
|
443
|
+
readonly type: import("vue").PropType<(node: import("element-plus").CascaderNode, keyword: string) => boolean>;
|
|
444
|
+
readonly required: false;
|
|
445
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
446
|
+
__epPropKey: true;
|
|
447
|
+
} & {
|
|
448
|
+
readonly default: (node: import("element-plus").CascaderNode, keyword: string) => boolean;
|
|
449
|
+
};
|
|
450
|
+
separator: {
|
|
451
|
+
readonly type: import("vue").PropType<string>;
|
|
452
|
+
readonly required: false;
|
|
453
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
454
|
+
__epPropKey: true;
|
|
455
|
+
} & {
|
|
456
|
+
readonly default: string;
|
|
457
|
+
};
|
|
458
|
+
showAllLevels: {
|
|
459
|
+
readonly type: import("vue").PropType<boolean>;
|
|
460
|
+
readonly required: false;
|
|
461
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
462
|
+
__epPropKey: true;
|
|
463
|
+
} & {
|
|
464
|
+
readonly default: boolean;
|
|
465
|
+
};
|
|
273
466
|
collapseTags: BooleanConstructor;
|
|
274
|
-
maxCollapseTags:
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
readonly
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
readonly
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
467
|
+
maxCollapseTags: {
|
|
468
|
+
readonly type: import("vue").PropType<number>;
|
|
469
|
+
readonly required: false;
|
|
470
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
471
|
+
__epPropKey: true;
|
|
472
|
+
} & {
|
|
473
|
+
readonly default: number;
|
|
474
|
+
};
|
|
475
|
+
collapseTagsTooltip: {
|
|
476
|
+
readonly type: import("vue").PropType<boolean>;
|
|
477
|
+
readonly required: false;
|
|
478
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
479
|
+
__epPropKey: true;
|
|
480
|
+
} & {
|
|
481
|
+
readonly default: boolean;
|
|
482
|
+
};
|
|
483
|
+
maxCollapseTagsTooltipHeight: {
|
|
484
|
+
readonly type: import("vue").PropType<string | number>;
|
|
485
|
+
readonly required: false;
|
|
486
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
487
|
+
__epPropKey: true;
|
|
488
|
+
};
|
|
489
|
+
debounce: {
|
|
490
|
+
readonly type: import("vue").PropType<number>;
|
|
491
|
+
readonly required: false;
|
|
492
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
493
|
+
__epPropKey: true;
|
|
494
|
+
} & {
|
|
495
|
+
readonly default: number;
|
|
496
|
+
};
|
|
497
|
+
beforeFilter: {
|
|
498
|
+
readonly type: import("vue").PropType<(value: string) => boolean | Promise<any>>;
|
|
499
|
+
readonly required: false;
|
|
500
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
501
|
+
__epPropKey: true;
|
|
502
|
+
} & {
|
|
503
|
+
readonly default: () => true;
|
|
504
|
+
};
|
|
505
|
+
placement: {
|
|
506
|
+
readonly type: import("vue").PropType<import("element-plus").Placement>;
|
|
507
|
+
readonly required: false;
|
|
508
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
509
|
+
__epPropKey: true;
|
|
510
|
+
} & {
|
|
511
|
+
readonly default: string;
|
|
512
|
+
};
|
|
513
|
+
fallbackPlacements: {
|
|
514
|
+
readonly type: import("vue").PropType<import("element-plus").Placement[]>;
|
|
515
|
+
readonly required: false;
|
|
516
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
517
|
+
__epPropKey: true;
|
|
518
|
+
} & {
|
|
519
|
+
readonly default: string[];
|
|
520
|
+
};
|
|
521
|
+
popperClass: {
|
|
522
|
+
readonly type: import("vue").PropType<string>;
|
|
523
|
+
readonly required: false;
|
|
524
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
525
|
+
__epPropKey: true;
|
|
526
|
+
} & {
|
|
527
|
+
readonly default: string;
|
|
528
|
+
};
|
|
529
|
+
teleported: {
|
|
530
|
+
readonly type: import("vue").PropType<boolean>;
|
|
531
|
+
readonly required: false;
|
|
532
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
533
|
+
__epPropKey: true;
|
|
534
|
+
} & {
|
|
535
|
+
readonly default: true;
|
|
536
|
+
};
|
|
290
537
|
tagType: {
|
|
291
538
|
default: string;
|
|
292
|
-
type: import("vue").PropType<
|
|
539
|
+
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
293
540
|
required: false;
|
|
294
541
|
validator: ((val: unknown) => boolean) | undefined;
|
|
295
542
|
__epPropKey: true;
|
|
296
543
|
};
|
|
297
544
|
tagEffect: {
|
|
298
545
|
default: string;
|
|
299
|
-
type: import("vue").PropType<
|
|
546
|
+
type: import("vue").PropType<"dark" | "light" | "plain">;
|
|
300
547
|
required: false;
|
|
301
548
|
validator: ((val: unknown) => boolean) | undefined;
|
|
302
549
|
__epPropKey: true;
|
|
303
550
|
};
|
|
304
|
-
validateEvent:
|
|
305
|
-
|
|
551
|
+
validateEvent: {
|
|
552
|
+
readonly type: import("vue").PropType<boolean>;
|
|
553
|
+
readonly required: false;
|
|
554
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
555
|
+
__epPropKey: true;
|
|
556
|
+
} & {
|
|
557
|
+
readonly default: boolean;
|
|
558
|
+
};
|
|
559
|
+
persistent: {
|
|
560
|
+
readonly type: import("vue").PropType<boolean>;
|
|
561
|
+
readonly required: false;
|
|
562
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
563
|
+
__epPropKey: true;
|
|
564
|
+
} & {
|
|
565
|
+
readonly default: boolean;
|
|
566
|
+
};
|
|
306
567
|
modelValue: {
|
|
307
|
-
readonly type: import("vue").PropType<
|
|
568
|
+
readonly type: import("vue").PropType<(string | number)[] | (string | number) | ((string | number)[] | (string | number))[]>;
|
|
308
569
|
readonly required: false;
|
|
309
570
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
310
571
|
__epPropKey: true;
|
|
311
572
|
};
|
|
312
|
-
options:
|
|
313
|
-
|
|
573
|
+
options: {
|
|
574
|
+
readonly type: import("vue").PropType<import("element-plus").CascaderOption[]>;
|
|
575
|
+
readonly required: false;
|
|
576
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
577
|
+
__epPropKey: true;
|
|
578
|
+
} & {
|
|
579
|
+
readonly default: () => import("element-plus").CascaderOption[];
|
|
580
|
+
};
|
|
581
|
+
props: {
|
|
582
|
+
readonly type: import("vue").PropType<import("element-plus").CascaderProps>;
|
|
583
|
+
readonly required: false;
|
|
584
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
585
|
+
__epPropKey: true;
|
|
586
|
+
} & {
|
|
587
|
+
readonly default: () => import("element-plus").CascaderProps;
|
|
588
|
+
};
|
|
314
589
|
}>> & Readonly<{
|
|
315
|
-
onClear?: () => any;
|
|
316
590
|
onFocus?: (evt: FocusEvent) => any;
|
|
591
|
+
onClear?: () => any;
|
|
317
592
|
"onUpdate:modelValue"?: (_: import("element-plus").CascaderValue) => any;
|
|
318
593
|
onChange?: (_: import("element-plus").CascaderValue) => any;
|
|
319
594
|
onBlur?: (evt: FocusEvent) => any;
|
|
320
595
|
onVisibleChange?: (val: boolean) => any;
|
|
321
596
|
onExpandChange?: (val: import("element-plus").CascaderValue) => any;
|
|
322
|
-
onRemoveTag?: (val:
|
|
597
|
+
onRemoveTag?: (val: (string | number)[] | (string | number)) => any;
|
|
323
598
|
}>, {
|
|
324
|
-
required:
|
|
599
|
+
required: boolean;
|
|
325
600
|
formItemSize: "default" | "small" | "large";
|
|
326
601
|
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
327
602
|
inline: boolean;
|
|
@@ -330,32 +605,32 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
330
605
|
formItemTipClass: any;
|
|
331
606
|
labelTip: string;
|
|
332
607
|
information: boolean;
|
|
333
|
-
labelWidth:
|
|
334
|
-
labelPosition:
|
|
335
|
-
inlineMessage:
|
|
336
|
-
showMessage:
|
|
608
|
+
labelWidth: string | number;
|
|
609
|
+
labelPosition: "" | "top" | "left" | "right";
|
|
610
|
+
inlineMessage: string | boolean;
|
|
611
|
+
showMessage: boolean;
|
|
337
612
|
disabled: boolean;
|
|
338
|
-
persistent:
|
|
339
|
-
teleported:
|
|
613
|
+
persistent: boolean;
|
|
614
|
+
teleported: boolean;
|
|
340
615
|
popperClass: string;
|
|
341
616
|
fallbackPlacements: import("element-plus").Placement[];
|
|
342
|
-
placement: import("element-plus
|
|
617
|
+
placement: import("element-plus").Placement;
|
|
343
618
|
props: import("element-plus").CascaderProps;
|
|
344
619
|
clearable: boolean;
|
|
345
620
|
filterMethod: (node: import("element-plus").CascaderNode, keyword: string) => boolean;
|
|
346
621
|
options: import("element-plus").CascaderOption[];
|
|
347
|
-
|
|
622
|
+
validateEvent: boolean;
|
|
348
623
|
filterable: boolean;
|
|
349
|
-
separator: string;
|
|
350
|
-
showAllLevels: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
351
624
|
collapseTags: boolean;
|
|
625
|
+
collapseTagsTooltip: boolean;
|
|
626
|
+
tagType: "success" | "primary" | "warning" | "info" | "danger";
|
|
627
|
+
valueOnClear: string | number | boolean | Function;
|
|
628
|
+
separator: string;
|
|
629
|
+
showAllLevels: boolean;
|
|
352
630
|
maxCollapseTags: number;
|
|
353
|
-
collapseTagsTooltip: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
354
631
|
debounce: number;
|
|
355
632
|
beforeFilter: (value: string) => boolean | Promise<any>;
|
|
356
|
-
|
|
357
|
-
tagEffect: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "dark" | "light" | "plain", unknown>;
|
|
358
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
633
|
+
tagEffect: "dark" | "light" | "plain";
|
|
359
634
|
optionsUrl: string;
|
|
360
635
|
cascaderSlots: import("@vunk/shared").NormalObject;
|
|
361
636
|
}, {}, {
|