@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
|
@@ -17,7 +17,14 @@ export declare const props: {
|
|
|
17
17
|
type: PropType<any>;
|
|
18
18
|
required: boolean;
|
|
19
19
|
};
|
|
20
|
-
required:
|
|
20
|
+
required: {
|
|
21
|
+
readonly type: PropType<boolean>;
|
|
22
|
+
readonly required: false;
|
|
23
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
24
|
+
__epPropKey: true;
|
|
25
|
+
} & {
|
|
26
|
+
readonly default: undefined;
|
|
27
|
+
};
|
|
21
28
|
formItemSize: {
|
|
22
29
|
type: PropType<"default" | "small" | "large">;
|
|
23
30
|
default: "default" | "small" | "large";
|
|
@@ -48,34 +55,69 @@ export declare const props: {
|
|
|
48
55
|
default: boolean;
|
|
49
56
|
};
|
|
50
57
|
label: StringConstructor;
|
|
51
|
-
labelWidth:
|
|
52
|
-
|
|
58
|
+
labelWidth: {
|
|
59
|
+
readonly type: PropType<string | number>;
|
|
60
|
+
readonly required: false;
|
|
61
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
62
|
+
__epPropKey: true;
|
|
63
|
+
} & {
|
|
64
|
+
readonly default: "";
|
|
65
|
+
};
|
|
66
|
+
labelPosition: {
|
|
67
|
+
readonly type: PropType<"" | "top" | "left" | "right">;
|
|
68
|
+
readonly required: false;
|
|
69
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
70
|
+
__epPropKey: true;
|
|
71
|
+
} & {
|
|
72
|
+
readonly default: "";
|
|
73
|
+
};
|
|
53
74
|
prop: {
|
|
54
|
-
readonly type:
|
|
75
|
+
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
55
76
|
readonly required: false;
|
|
56
77
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
57
78
|
__epPropKey: true;
|
|
58
79
|
};
|
|
59
80
|
rules: {
|
|
60
|
-
readonly type:
|
|
81
|
+
readonly type: PropType<unknown>;
|
|
61
82
|
readonly required: false;
|
|
62
83
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
63
84
|
__epPropKey: true;
|
|
64
85
|
};
|
|
65
86
|
error: StringConstructor;
|
|
66
87
|
validateStatus: {
|
|
67
|
-
readonly type:
|
|
88
|
+
readonly type: PropType<"" | "error" | "success" | "validating">;
|
|
68
89
|
readonly required: false;
|
|
69
90
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
70
91
|
__epPropKey: true;
|
|
71
92
|
};
|
|
72
93
|
for: StringConstructor;
|
|
73
|
-
inlineMessage:
|
|
74
|
-
|
|
94
|
+
inlineMessage: {
|
|
95
|
+
readonly type: PropType<string | boolean>;
|
|
96
|
+
readonly required: false;
|
|
97
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
98
|
+
__epPropKey: true;
|
|
99
|
+
} & {
|
|
100
|
+
readonly default: "";
|
|
101
|
+
};
|
|
102
|
+
showMessage: {
|
|
103
|
+
readonly type: PropType<boolean>;
|
|
104
|
+
readonly required: false;
|
|
105
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
106
|
+
__epPropKey: true;
|
|
107
|
+
} & {
|
|
108
|
+
readonly default: true;
|
|
109
|
+
};
|
|
75
110
|
emptyValues: ArrayConstructor;
|
|
76
|
-
valueOnClear:
|
|
111
|
+
valueOnClear: {
|
|
112
|
+
readonly type: PropType<string | number | boolean | Function>;
|
|
113
|
+
readonly required: false;
|
|
114
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
115
|
+
__epPropKey: true;
|
|
116
|
+
} & {
|
|
117
|
+
readonly default: undefined;
|
|
118
|
+
};
|
|
77
119
|
size: {
|
|
78
|
-
readonly type:
|
|
120
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
79
121
|
readonly required: false;
|
|
80
122
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
81
123
|
__epPropKey: true;
|
|
@@ -84,60 +126,155 @@ export declare const props: {
|
|
|
84
126
|
disabled: BooleanConstructor;
|
|
85
127
|
clearable: BooleanConstructor;
|
|
86
128
|
filterable: BooleanConstructor;
|
|
87
|
-
filterMethod:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
readonly
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
129
|
+
filterMethod: {
|
|
130
|
+
readonly type: PropType<(node: import("element-plus").CascaderNode, keyword: string) => boolean>;
|
|
131
|
+
readonly required: false;
|
|
132
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
133
|
+
__epPropKey: true;
|
|
134
|
+
} & {
|
|
135
|
+
readonly default: (node: import("element-plus").CascaderNode, keyword: string) => boolean;
|
|
136
|
+
};
|
|
137
|
+
separator: {
|
|
138
|
+
readonly type: PropType<string>;
|
|
139
|
+
readonly required: false;
|
|
140
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
141
|
+
__epPropKey: true;
|
|
142
|
+
} & {
|
|
143
|
+
readonly default: string;
|
|
144
|
+
};
|
|
145
|
+
showAllLevels: {
|
|
146
|
+
readonly type: PropType<boolean>;
|
|
147
|
+
readonly required: false;
|
|
148
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
149
|
+
__epPropKey: true;
|
|
150
|
+
} & {
|
|
151
|
+
readonly default: boolean;
|
|
152
|
+
};
|
|
98
153
|
collapseTags: BooleanConstructor;
|
|
99
|
-
maxCollapseTags:
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
readonly
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
readonly
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
154
|
+
maxCollapseTags: {
|
|
155
|
+
readonly type: PropType<number>;
|
|
156
|
+
readonly required: false;
|
|
157
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
158
|
+
__epPropKey: true;
|
|
159
|
+
} & {
|
|
160
|
+
readonly default: number;
|
|
161
|
+
};
|
|
162
|
+
collapseTagsTooltip: {
|
|
163
|
+
readonly type: PropType<boolean>;
|
|
164
|
+
readonly required: false;
|
|
165
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
166
|
+
__epPropKey: true;
|
|
167
|
+
} & {
|
|
168
|
+
readonly default: boolean;
|
|
169
|
+
};
|
|
170
|
+
maxCollapseTagsTooltipHeight: {
|
|
171
|
+
readonly type: PropType<string | number>;
|
|
172
|
+
readonly required: false;
|
|
173
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
174
|
+
__epPropKey: true;
|
|
175
|
+
};
|
|
176
|
+
debounce: {
|
|
177
|
+
readonly type: PropType<number>;
|
|
178
|
+
readonly required: false;
|
|
179
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
180
|
+
__epPropKey: true;
|
|
181
|
+
} & {
|
|
182
|
+
readonly default: number;
|
|
183
|
+
};
|
|
184
|
+
beforeFilter: {
|
|
185
|
+
readonly type: PropType<(value: string) => boolean | Promise<any>>;
|
|
186
|
+
readonly required: false;
|
|
187
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
188
|
+
__epPropKey: true;
|
|
189
|
+
} & {
|
|
190
|
+
readonly default: () => true;
|
|
191
|
+
};
|
|
192
|
+
placement: {
|
|
193
|
+
readonly type: PropType<import("element-plus").Placement>;
|
|
194
|
+
readonly required: false;
|
|
195
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
196
|
+
__epPropKey: true;
|
|
197
|
+
} & {
|
|
198
|
+
readonly default: string;
|
|
199
|
+
};
|
|
200
|
+
fallbackPlacements: {
|
|
201
|
+
readonly type: PropType<import("element-plus").Placement[]>;
|
|
202
|
+
readonly required: false;
|
|
203
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
204
|
+
__epPropKey: true;
|
|
205
|
+
} & {
|
|
206
|
+
readonly default: string[];
|
|
207
|
+
};
|
|
208
|
+
popperClass: {
|
|
209
|
+
readonly type: PropType<string>;
|
|
210
|
+
readonly required: false;
|
|
211
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
212
|
+
__epPropKey: true;
|
|
213
|
+
} & {
|
|
214
|
+
readonly default: string;
|
|
215
|
+
};
|
|
216
|
+
teleported: {
|
|
217
|
+
readonly type: PropType<boolean>;
|
|
218
|
+
readonly required: false;
|
|
219
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
220
|
+
__epPropKey: true;
|
|
221
|
+
} & {
|
|
222
|
+
readonly default: true;
|
|
223
|
+
};
|
|
115
224
|
tagType: {
|
|
116
225
|
default: string;
|
|
117
|
-
type:
|
|
226
|
+
type: PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
118
227
|
required: false;
|
|
119
228
|
validator: ((val: unknown) => boolean) | undefined;
|
|
120
229
|
__epPropKey: true;
|
|
121
230
|
};
|
|
122
231
|
tagEffect: {
|
|
123
232
|
default: string;
|
|
124
|
-
type:
|
|
233
|
+
type: PropType<"dark" | "light" | "plain">;
|
|
125
234
|
required: false;
|
|
126
235
|
validator: ((val: unknown) => boolean) | undefined;
|
|
127
236
|
__epPropKey: true;
|
|
128
237
|
};
|
|
129
|
-
validateEvent:
|
|
130
|
-
|
|
238
|
+
validateEvent: {
|
|
239
|
+
readonly type: PropType<boolean>;
|
|
240
|
+
readonly required: false;
|
|
241
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
242
|
+
__epPropKey: true;
|
|
243
|
+
} & {
|
|
244
|
+
readonly default: boolean;
|
|
245
|
+
};
|
|
246
|
+
persistent: {
|
|
247
|
+
readonly type: PropType<boolean>;
|
|
248
|
+
readonly required: false;
|
|
249
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
250
|
+
__epPropKey: true;
|
|
251
|
+
} & {
|
|
252
|
+
readonly default: boolean;
|
|
253
|
+
};
|
|
131
254
|
modelValue: {
|
|
132
|
-
readonly type:
|
|
255
|
+
readonly type: PropType<(string | number)[] | (string | number) | ((string | number)[] | (string | number))[]>;
|
|
256
|
+
readonly required: false;
|
|
257
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
258
|
+
__epPropKey: true;
|
|
259
|
+
};
|
|
260
|
+
options: {
|
|
261
|
+
readonly type: PropType<import("element-plus").CascaderOption[]>;
|
|
262
|
+
readonly required: false;
|
|
263
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
264
|
+
__epPropKey: true;
|
|
265
|
+
} & {
|
|
266
|
+
readonly default: () => import("element-plus").CascaderOption[];
|
|
267
|
+
};
|
|
268
|
+
props: {
|
|
269
|
+
readonly type: PropType<import("element-plus").CascaderProps>;
|
|
133
270
|
readonly required: false;
|
|
134
271
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
135
272
|
__epPropKey: true;
|
|
273
|
+
} & {
|
|
274
|
+
readonly default: () => import("element-plus").CascaderProps;
|
|
136
275
|
};
|
|
137
|
-
options: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").CascaderOption[]) | (() => import("element-plus").CascaderOption[]) | ((new (...args: any[]) => import("element-plus").CascaderOption[]) | (() => import("element-plus").CascaderOption[]))[], unknown, unknown, () => import("element-plus").CascaderOption[], boolean>;
|
|
138
|
-
props: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").CascaderProps) | (() => import("element-plus").CascaderProps) | ((new (...args: any[]) => import("element-plus").CascaderProps) | (() => import("element-plus").CascaderProps))[], unknown, unknown, () => import("element-plus").CascaderProps, boolean>;
|
|
139
276
|
};
|
|
140
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"
|
|
277
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"options", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"filterable", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagType", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"maxCollapseTagsTooltipHeight", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"cascaderSlots", keyof T2> | Extract<"cascaderRef", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"persistent", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"fallbackPlacements", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"props", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"options", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"filterable", keyof T2>, KE> | Exclude<Extract<"collapseTags", keyof T2>, KE> | Exclude<Extract<"collapseTagsTooltip", keyof T2>, KE> | Exclude<Extract<"tagType", keyof T2>, KE> | Exclude<Extract<"emptyValues", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"separator", keyof T2>, KE> | Exclude<Extract<"showAllLevels", keyof T2>, KE> | Exclude<Extract<"maxCollapseTags", keyof T2>, KE> | Exclude<Extract<"maxCollapseTagsTooltipHeight", keyof T2>, KE> | Exclude<Extract<"debounce", keyof T2>, KE> | Exclude<Extract<"beforeFilter", keyof T2>, KE> | Exclude<Extract<"tagEffect", keyof T2>, KE> | Exclude<Extract<"optionsUrl", keyof T2>, KE> | Exclude<Extract<"cascaderSlots", keyof T2>, KE> | Exclude<Extract<"cascaderRef", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"options", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"filterable", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagType", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"maxCollapseTagsTooltipHeight", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"cascaderSlots", keyof T2> | Extract<"cascaderRef", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"options", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"filterable", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagType", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"maxCollapseTagsTooltipHeight", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"cascaderSlots", keyof T2> | Extract<"cascaderRef", keyof T2>]: T2[k]; }[P]; }>;
|
|
141
278
|
export declare const emits: {
|
|
142
279
|
"update:modelValue": (_: import("element-plus").CascaderValue) => boolean;
|
|
143
280
|
change: (_: import("element-plus").CascaderValue) => boolean;
|
|
@@ -148,4 +285,13 @@ export declare const emits: {
|
|
|
148
285
|
expandChange: (val: import("element-plus").CascaderValue) => boolean;
|
|
149
286
|
removeTag: (val: import("element-plus").CascaderNode["valueByOption"]) => boolean;
|
|
150
287
|
};
|
|
151
|
-
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("
|
|
288
|
+
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("focus" | "clear" | "update:modelValue" | "change" | "blur" | "visibleChange" | "expandChange" | "removeTag")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"focus", KE> | Exclude<"clear", KE> | Exclude<"update:modelValue", KE> | Exclude<"change", KE> | Exclude<"blur", KE> | Exclude<"visibleChange", KE> | Exclude<"expandChange", KE> | Exclude<"removeTag", KE> : "focus" | "clear" | "update:modelValue" | "change" | "blur" | "visibleChange" | "expandChange" | "removeTag"]: {
|
|
289
|
+
"update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
290
|
+
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
291
|
+
focus: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
292
|
+
blur: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
293
|
+
clear: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
294
|
+
visibleChange: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
295
|
+
expandChange: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
296
|
+
removeTag: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
297
|
+
}[P]; };
|