@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: NumberConstructor;
|
|
18
18
|
default: any;
|
|
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";
|
|
@@ -52,75 +59,132 @@ export declare const props: {
|
|
|
52
59
|
default: boolean;
|
|
53
60
|
};
|
|
54
61
|
label: StringConstructor;
|
|
55
|
-
labelWidth:
|
|
56
|
-
|
|
62
|
+
labelWidth: {
|
|
63
|
+
readonly type: PropType<string | number>;
|
|
64
|
+
readonly required: false;
|
|
65
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
66
|
+
__epPropKey: true;
|
|
67
|
+
} & {
|
|
68
|
+
readonly default: "";
|
|
69
|
+
};
|
|
70
|
+
labelPosition: {
|
|
71
|
+
readonly type: PropType<"" | "top" | "left" | "right">;
|
|
72
|
+
readonly required: false;
|
|
73
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
74
|
+
__epPropKey: true;
|
|
75
|
+
} & {
|
|
76
|
+
readonly default: "";
|
|
77
|
+
};
|
|
57
78
|
prop: {
|
|
58
|
-
readonly type:
|
|
79
|
+
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
59
80
|
readonly required: false;
|
|
60
81
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
61
82
|
__epPropKey: true;
|
|
62
83
|
};
|
|
63
84
|
rules: {
|
|
64
|
-
readonly type:
|
|
85
|
+
readonly type: PropType<unknown>;
|
|
65
86
|
readonly required: false;
|
|
66
87
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
67
88
|
__epPropKey: true;
|
|
68
89
|
};
|
|
69
90
|
error: StringConstructor;
|
|
70
91
|
validateStatus: {
|
|
71
|
-
readonly type:
|
|
92
|
+
readonly type: PropType<"" | "error" | "success" | "validating">;
|
|
72
93
|
readonly required: false;
|
|
73
94
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
74
95
|
__epPropKey: true;
|
|
75
96
|
};
|
|
76
97
|
for: StringConstructor;
|
|
77
|
-
inlineMessage:
|
|
78
|
-
|
|
98
|
+
inlineMessage: {
|
|
99
|
+
readonly type: PropType<string | boolean>;
|
|
100
|
+
readonly required: false;
|
|
101
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
102
|
+
__epPropKey: true;
|
|
103
|
+
} & {
|
|
104
|
+
readonly default: "";
|
|
105
|
+
};
|
|
106
|
+
showMessage: {
|
|
107
|
+
readonly type: PropType<boolean>;
|
|
108
|
+
readonly required: false;
|
|
109
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
110
|
+
__epPropKey: true;
|
|
111
|
+
} & {
|
|
112
|
+
readonly default: true;
|
|
113
|
+
};
|
|
79
114
|
ariaLabel: StringConstructor;
|
|
80
|
-
id:
|
|
115
|
+
id: {
|
|
116
|
+
readonly type: PropType<string>;
|
|
117
|
+
readonly required: false;
|
|
118
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
119
|
+
__epPropKey: true;
|
|
120
|
+
} & {
|
|
121
|
+
readonly default: undefined;
|
|
122
|
+
};
|
|
81
123
|
size: {
|
|
82
|
-
readonly type:
|
|
124
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
83
125
|
readonly required: false;
|
|
84
126
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
85
127
|
__epPropKey: true;
|
|
86
128
|
};
|
|
87
129
|
disabled: BooleanConstructor;
|
|
88
|
-
modelValue:
|
|
89
|
-
|
|
130
|
+
modelValue: {
|
|
131
|
+
readonly type: PropType<string | number>;
|
|
132
|
+
readonly required: false;
|
|
133
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
134
|
+
__epPropKey: true;
|
|
135
|
+
} & {
|
|
136
|
+
readonly default: "";
|
|
137
|
+
};
|
|
138
|
+
type: {
|
|
139
|
+
readonly type: PropType<string>;
|
|
140
|
+
readonly required: false;
|
|
141
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
142
|
+
__epPropKey: true;
|
|
143
|
+
} & {
|
|
144
|
+
readonly default: "text";
|
|
145
|
+
};
|
|
90
146
|
resize: {
|
|
91
|
-
readonly type:
|
|
147
|
+
readonly type: PropType<"none" | "horizontal" | "vertical" | "both">;
|
|
148
|
+
readonly required: false;
|
|
149
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
150
|
+
__epPropKey: true;
|
|
151
|
+
};
|
|
152
|
+
autosize: {
|
|
153
|
+
readonly type: PropType<unknown>;
|
|
92
154
|
readonly required: false;
|
|
93
155
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
94
156
|
__epPropKey: true;
|
|
157
|
+
} & {
|
|
158
|
+
readonly default: false;
|
|
159
|
+
};
|
|
160
|
+
autocomplete: {
|
|
161
|
+
readonly type: PropType<string>;
|
|
162
|
+
readonly required: false;
|
|
163
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
164
|
+
__epPropKey: true;
|
|
165
|
+
} & {
|
|
166
|
+
readonly default: "off";
|
|
95
167
|
};
|
|
96
|
-
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
97
|
-
minRows?: number;
|
|
98
|
-
maxRows?: number;
|
|
99
|
-
}) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => boolean | {
|
|
100
|
-
minRows?: number;
|
|
101
|
-
maxRows?: number;
|
|
102
|
-
}) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
103
|
-
autocomplete: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
104
168
|
formatter: {
|
|
105
|
-
readonly type:
|
|
169
|
+
readonly type: PropType<Function>;
|
|
106
170
|
readonly required: false;
|
|
107
171
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
108
172
|
__epPropKey: true;
|
|
109
173
|
};
|
|
110
174
|
parser: {
|
|
111
|
-
readonly type:
|
|
175
|
+
readonly type: PropType<Function>;
|
|
112
176
|
readonly required: false;
|
|
113
177
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
114
178
|
__epPropKey: true;
|
|
115
179
|
};
|
|
116
180
|
placeholder: {
|
|
117
|
-
readonly type:
|
|
181
|
+
readonly type: PropType<string>;
|
|
118
182
|
readonly required: false;
|
|
119
183
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
120
184
|
__epPropKey: true;
|
|
121
185
|
};
|
|
122
186
|
form: {
|
|
123
|
-
readonly type:
|
|
187
|
+
readonly type: PropType<string>;
|
|
124
188
|
readonly required: false;
|
|
125
189
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
126
190
|
__epPropKey: true;
|
|
@@ -129,24 +193,52 @@ export declare const props: {
|
|
|
129
193
|
showPassword: BooleanConstructor;
|
|
130
194
|
showWordLimit: BooleanConstructor;
|
|
131
195
|
suffixIcon: {
|
|
132
|
-
readonly type:
|
|
196
|
+
readonly type: PropType<unknown>;
|
|
133
197
|
readonly required: false;
|
|
134
198
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
135
199
|
__epPropKey: true;
|
|
136
200
|
};
|
|
137
201
|
prefixIcon: {
|
|
138
|
-
readonly type:
|
|
202
|
+
readonly type: PropType<unknown>;
|
|
203
|
+
readonly required: false;
|
|
204
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
205
|
+
__epPropKey: true;
|
|
206
|
+
};
|
|
207
|
+
containerRole: {
|
|
208
|
+
readonly type: PropType<string>;
|
|
209
|
+
readonly required: false;
|
|
210
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
211
|
+
__epPropKey: true;
|
|
212
|
+
} & {
|
|
213
|
+
readonly default: undefined;
|
|
214
|
+
};
|
|
215
|
+
tabindex: {
|
|
216
|
+
readonly type: PropType<string | number>;
|
|
217
|
+
readonly required: false;
|
|
218
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
219
|
+
__epPropKey: true;
|
|
220
|
+
} & {
|
|
221
|
+
readonly default: 0;
|
|
222
|
+
};
|
|
223
|
+
validateEvent: {
|
|
224
|
+
readonly type: PropType<boolean>;
|
|
225
|
+
readonly required: false;
|
|
226
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
227
|
+
__epPropKey: true;
|
|
228
|
+
} & {
|
|
229
|
+
readonly default: true;
|
|
230
|
+
};
|
|
231
|
+
inputStyle: {
|
|
232
|
+
readonly type: PropType<import("vue").StyleValue>;
|
|
139
233
|
readonly required: false;
|
|
140
234
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
141
235
|
__epPropKey: true;
|
|
236
|
+
} & {
|
|
237
|
+
readonly default: () => {};
|
|
142
238
|
};
|
|
143
|
-
containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
144
|
-
tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
145
|
-
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
146
|
-
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
147
239
|
autofocus: BooleanConstructor;
|
|
148
240
|
};
|
|
149
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"
|
|
241
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | 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<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"formatter", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"parser", keyof T2> | Extract<"form", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, 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<"id", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"autofocus", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> : Extract<"type", keyof T2> | 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<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"formatter", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"parser", keyof T2> | Extract<"form", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2>]: { [k in Extract<"type", keyof T2> | 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<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"formatter", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"parser", keyof T2> | Extract<"form", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2>]: T2[k]; }[P]; }>;
|
|
150
242
|
export declare const emits: {
|
|
151
243
|
"update:modelValue": (value: string) => boolean;
|
|
152
244
|
input: (value: string) => boolean;
|
|
@@ -161,4 +253,17 @@ export declare const emits: {
|
|
|
161
253
|
compositionupdate: (evt: CompositionEvent) => boolean;
|
|
162
254
|
compositionend: (evt: CompositionEvent) => boolean;
|
|
163
255
|
};
|
|
164
|
-
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("
|
|
256
|
+
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("focus" | "clear" | "update:modelValue" | "change" | "input" | "blur" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"focus", KE> | Exclude<"clear", KE> | Exclude<"update:modelValue", KE> | Exclude<"change", KE> | Exclude<"input", KE> | Exclude<"blur", KE> | Exclude<"mouseleave", KE> | Exclude<"mouseenter", KE> | Exclude<"keydown", KE> | Exclude<"compositionstart", KE> | Exclude<"compositionupdate", KE> | Exclude<"compositionend", KE> : "focus" | "clear" | "update:modelValue" | "change" | "input" | "blur" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend"]: {
|
|
257
|
+
"update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
258
|
+
input: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
259
|
+
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
260
|
+
focus: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
261
|
+
blur: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
262
|
+
clear: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
263
|
+
mouseleave: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
264
|
+
mouseenter: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
265
|
+
keydown: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
266
|
+
compositionstart: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
267
|
+
compositionupdate: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
268
|
+
compositionend: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
269
|
+
}[P]; };
|