@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
|
@@ -38,101 +38,164 @@ export declare const props: {
|
|
|
38
38
|
default: boolean;
|
|
39
39
|
};
|
|
40
40
|
beforeRemove: {
|
|
41
|
-
readonly type:
|
|
42
|
-
readonly required: false;
|
|
43
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
|
-
__epPropKey: true;
|
|
45
|
-
};
|
|
46
|
-
onRemove:
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
readonly
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
readonly
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
readonly
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
readonly
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
readonly
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
readonly prototype: any;
|
|
95
|
-
} | ((new (...args: any[]) => (error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
96
|
-
(): (error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
97
|
-
new (): any;
|
|
98
|
-
readonly prototype: any;
|
|
99
|
-
})[], unknown, unknown, () => void, boolean>;
|
|
41
|
+
readonly type: PropType<(uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => boolean | Promise<boolean>>;
|
|
42
|
+
readonly required: false;
|
|
43
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
|
+
__epPropKey: true;
|
|
45
|
+
};
|
|
46
|
+
onRemove: {
|
|
47
|
+
readonly type: PropType<(uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
48
|
+
readonly required: false;
|
|
49
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
50
|
+
__epPropKey: true;
|
|
51
|
+
} & {
|
|
52
|
+
readonly default: () => void;
|
|
53
|
+
};
|
|
54
|
+
onChange: {
|
|
55
|
+
readonly type: PropType<(uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
56
|
+
readonly required: false;
|
|
57
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
|
+
__epPropKey: true;
|
|
59
|
+
} & {
|
|
60
|
+
readonly default: () => void;
|
|
61
|
+
};
|
|
62
|
+
onPreview: {
|
|
63
|
+
readonly type: PropType<(uploadFile: UploadFile) => void>;
|
|
64
|
+
readonly required: false;
|
|
65
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
66
|
+
__epPropKey: true;
|
|
67
|
+
} & {
|
|
68
|
+
readonly default: () => void;
|
|
69
|
+
};
|
|
70
|
+
onSuccess: {
|
|
71
|
+
readonly type: PropType<(response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
72
|
+
readonly required: false;
|
|
73
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
74
|
+
__epPropKey: true;
|
|
75
|
+
} & {
|
|
76
|
+
readonly default: () => void;
|
|
77
|
+
};
|
|
78
|
+
onProgress: {
|
|
79
|
+
readonly type: PropType<(evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
80
|
+
readonly required: false;
|
|
81
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
82
|
+
__epPropKey: true;
|
|
83
|
+
} & {
|
|
84
|
+
readonly default: () => void;
|
|
85
|
+
};
|
|
86
|
+
onError: {
|
|
87
|
+
readonly type: PropType<(error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
88
|
+
readonly required: false;
|
|
89
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
90
|
+
__epPropKey: true;
|
|
91
|
+
} & {
|
|
92
|
+
readonly default: () => void;
|
|
93
|
+
};
|
|
100
94
|
crossorigin: {
|
|
101
|
-
readonly type:
|
|
95
|
+
readonly type: PropType<"" | "anonymous" | "use-credentials">;
|
|
102
96
|
readonly required: false;
|
|
103
97
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
98
|
__epPropKey: true;
|
|
105
99
|
};
|
|
106
|
-
action:
|
|
100
|
+
action: {
|
|
101
|
+
readonly type: PropType<string>;
|
|
102
|
+
readonly required: false;
|
|
103
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
|
+
__epPropKey: true;
|
|
105
|
+
} & {
|
|
106
|
+
readonly default: "#";
|
|
107
|
+
};
|
|
107
108
|
headers: {
|
|
108
|
-
readonly type:
|
|
109
|
+
readonly type: PropType<Record<string, any> | Headers>;
|
|
110
|
+
readonly required: false;
|
|
111
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
112
|
+
__epPropKey: true;
|
|
113
|
+
};
|
|
114
|
+
method: {
|
|
115
|
+
readonly type: PropType<string>;
|
|
109
116
|
readonly required: false;
|
|
110
117
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
111
118
|
__epPropKey: true;
|
|
119
|
+
} & {
|
|
120
|
+
readonly default: "post";
|
|
121
|
+
};
|
|
122
|
+
data: {
|
|
123
|
+
readonly type: PropType<unknown>;
|
|
124
|
+
readonly required: false;
|
|
125
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
126
|
+
__epPropKey: true;
|
|
127
|
+
} & {
|
|
128
|
+
readonly default: () => {};
|
|
112
129
|
};
|
|
113
|
-
method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
|
|
114
|
-
data: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | ((new (...args: any[]) => import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
115
130
|
multiple: BooleanConstructor;
|
|
116
|
-
name:
|
|
131
|
+
name: {
|
|
132
|
+
readonly type: PropType<string>;
|
|
133
|
+
readonly required: false;
|
|
134
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
135
|
+
__epPropKey: true;
|
|
136
|
+
} & {
|
|
137
|
+
readonly default: "file";
|
|
138
|
+
};
|
|
117
139
|
drag: BooleanConstructor;
|
|
118
140
|
withCredentials: BooleanConstructor;
|
|
119
|
-
showFileList:
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}
|
|
141
|
+
showFileList: {
|
|
142
|
+
readonly type: PropType<boolean>;
|
|
143
|
+
readonly required: false;
|
|
144
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
145
|
+
__epPropKey: true;
|
|
146
|
+
} & {
|
|
147
|
+
readonly default: true;
|
|
148
|
+
};
|
|
149
|
+
accept: {
|
|
150
|
+
readonly type: PropType<string>;
|
|
151
|
+
readonly required: false;
|
|
152
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
153
|
+
__epPropKey: true;
|
|
154
|
+
} & {
|
|
155
|
+
readonly default: "";
|
|
156
|
+
};
|
|
157
|
+
fileList: {
|
|
158
|
+
readonly type: PropType<import("element-plus").UploadUserFile[]>;
|
|
159
|
+
readonly required: false;
|
|
160
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
161
|
+
__epPropKey: true;
|
|
162
|
+
} & {
|
|
163
|
+
readonly default: () => [];
|
|
164
|
+
};
|
|
165
|
+
autoUpload: {
|
|
166
|
+
readonly type: PropType<boolean>;
|
|
167
|
+
readonly required: false;
|
|
168
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
169
|
+
__epPropKey: true;
|
|
170
|
+
} & {
|
|
171
|
+
readonly default: true;
|
|
172
|
+
};
|
|
173
|
+
listType: {
|
|
174
|
+
readonly type: PropType<"text" | "picture" | "picture-card">;
|
|
175
|
+
readonly required: false;
|
|
176
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
177
|
+
__epPropKey: true;
|
|
178
|
+
} & {
|
|
179
|
+
readonly default: "text";
|
|
180
|
+
};
|
|
181
|
+
httpRequest: {
|
|
182
|
+
readonly type: PropType<import("element-plus").UploadRequestHandler>;
|
|
183
|
+
readonly required: false;
|
|
184
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
185
|
+
__epPropKey: true;
|
|
186
|
+
} & {
|
|
187
|
+
readonly default: import("element-plus").UploadRequestHandler;
|
|
188
|
+
};
|
|
133
189
|
disabled: BooleanConstructor;
|
|
134
190
|
limit: NumberConstructor;
|
|
135
|
-
required:
|
|
191
|
+
required: {
|
|
192
|
+
readonly type: PropType<boolean>;
|
|
193
|
+
readonly required: false;
|
|
194
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
195
|
+
__epPropKey: true;
|
|
196
|
+
} & {
|
|
197
|
+
readonly default: undefined;
|
|
198
|
+
};
|
|
136
199
|
formItemSize: {
|
|
137
200
|
type: PropType<"default" | "small" | "large">;
|
|
138
201
|
default: "default" | "small" | "large";
|
|
@@ -167,34 +230,65 @@ export declare const props: {
|
|
|
167
230
|
default: boolean;
|
|
168
231
|
};
|
|
169
232
|
label: StringConstructor;
|
|
170
|
-
labelWidth:
|
|
171
|
-
|
|
233
|
+
labelWidth: {
|
|
234
|
+
readonly type: PropType<string | number>;
|
|
235
|
+
readonly required: false;
|
|
236
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
237
|
+
__epPropKey: true;
|
|
238
|
+
} & {
|
|
239
|
+
readonly default: "";
|
|
240
|
+
};
|
|
241
|
+
labelPosition: {
|
|
242
|
+
readonly type: PropType<"" | "top" | "left" | "right">;
|
|
243
|
+
readonly required: false;
|
|
244
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
245
|
+
__epPropKey: true;
|
|
246
|
+
} & {
|
|
247
|
+
readonly default: "";
|
|
248
|
+
};
|
|
172
249
|
prop: {
|
|
173
|
-
readonly type:
|
|
250
|
+
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
174
251
|
readonly required: false;
|
|
175
252
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
176
253
|
__epPropKey: true;
|
|
177
254
|
};
|
|
178
255
|
rules: {
|
|
179
|
-
readonly type:
|
|
256
|
+
readonly type: PropType<unknown>;
|
|
180
257
|
readonly required: false;
|
|
181
258
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
182
259
|
__epPropKey: true;
|
|
183
260
|
};
|
|
184
261
|
error: StringConstructor;
|
|
185
262
|
validateStatus: {
|
|
186
|
-
readonly type:
|
|
263
|
+
readonly type: PropType<"" | "error" | "success" | "validating">;
|
|
187
264
|
readonly required: false;
|
|
188
265
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
189
266
|
__epPropKey: true;
|
|
190
267
|
};
|
|
191
268
|
for: StringConstructor;
|
|
192
|
-
inlineMessage:
|
|
193
|
-
|
|
269
|
+
inlineMessage: {
|
|
270
|
+
readonly type: PropType<string | boolean>;
|
|
271
|
+
readonly required: false;
|
|
272
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
273
|
+
__epPropKey: true;
|
|
274
|
+
} & {
|
|
275
|
+
readonly default: "";
|
|
276
|
+
};
|
|
277
|
+
showMessage: {
|
|
278
|
+
readonly type: PropType<boolean>;
|
|
279
|
+
readonly required: false;
|
|
280
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
281
|
+
__epPropKey: true;
|
|
282
|
+
} & {
|
|
283
|
+
readonly default: true;
|
|
284
|
+
};
|
|
194
285
|
};
|
|
195
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", 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<"name", keyof T2> | Extract<"data", keyof T2> | Extract<"multiple", keyof T2> | Extract<"
|
|
286
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", 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<"name", keyof T2> | Extract<"data", keyof T2> | Extract<"multiple", keyof T2> | Extract<"onChange", keyof T2> | Extract<"beforeUpload", keyof T2> | Extract<"beforeRemove", keyof T2> | Extract<"onRemove", keyof T2> | Extract<"onPreview", keyof T2> | Extract<"onSuccess", keyof T2> | Extract<"onProgress", keyof T2> | Extract<"onError", keyof T2> | Extract<"onExceed", keyof T2> | Extract<"crossorigin", keyof T2> | Extract<"action", keyof T2> | Extract<"headers", keyof T2> | Extract<"method", keyof T2> | Extract<"drag", keyof T2> | Extract<"withCredentials", keyof T2> | Extract<"showFileList", keyof T2> | Extract<"accept", keyof T2> | Extract<"fileList", keyof T2> | Extract<"autoUpload", keyof T2> | Extract<"listType", keyof T2> | Extract<"httpRequest", keyof T2> | Extract<"limit", keyof T2> | Extract<"tip", keyof T2> | Extract<"preview", keyof T2> | Extract<"onDownload", keyof T2> | Extract<"exceedable", keyof T2> | Extract<"confirmExceed", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", 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<"name", keyof T2>, KE> | Exclude<Extract<"data", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"onChange", keyof T2>, KE> | Exclude<Extract<"beforeUpload", keyof T2>, KE> | Exclude<Extract<"beforeRemove", keyof T2>, KE> | Exclude<Extract<"onRemove", keyof T2>, KE> | Exclude<Extract<"onPreview", keyof T2>, KE> | Exclude<Extract<"onSuccess", keyof T2>, KE> | Exclude<Extract<"onProgress", keyof T2>, KE> | Exclude<Extract<"onError", keyof T2>, KE> | Exclude<Extract<"onExceed", keyof T2>, KE> | Exclude<Extract<"crossorigin", keyof T2>, KE> | Exclude<Extract<"action", keyof T2>, KE> | Exclude<Extract<"headers", keyof T2>, KE> | Exclude<Extract<"method", keyof T2>, KE> | Exclude<Extract<"drag", keyof T2>, KE> | Exclude<Extract<"withCredentials", keyof T2>, KE> | Exclude<Extract<"showFileList", keyof T2>, KE> | Exclude<Extract<"accept", keyof T2>, KE> | Exclude<Extract<"fileList", keyof T2>, KE> | Exclude<Extract<"autoUpload", keyof T2>, KE> | Exclude<Extract<"listType", keyof T2>, KE> | Exclude<Extract<"httpRequest", keyof T2>, KE> | Exclude<Extract<"limit", keyof T2>, KE> | Exclude<Extract<"tip", keyof T2>, KE> | Exclude<Extract<"preview", keyof T2>, KE> | Exclude<Extract<"onDownload", keyof T2>, KE> | Exclude<Extract<"exceedable", keyof T2>, KE> | Exclude<Extract<"confirmExceed", keyof T2>, KE> : Extract<"required", 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<"name", keyof T2> | Extract<"data", keyof T2> | Extract<"multiple", keyof T2> | Extract<"onChange", keyof T2> | Extract<"beforeUpload", keyof T2> | Extract<"beforeRemove", keyof T2> | Extract<"onRemove", keyof T2> | Extract<"onPreview", keyof T2> | Extract<"onSuccess", keyof T2> | Extract<"onProgress", keyof T2> | Extract<"onError", keyof T2> | Extract<"onExceed", keyof T2> | Extract<"crossorigin", keyof T2> | Extract<"action", keyof T2> | Extract<"headers", keyof T2> | Extract<"method", keyof T2> | Extract<"drag", keyof T2> | Extract<"withCredentials", keyof T2> | Extract<"showFileList", keyof T2> | Extract<"accept", keyof T2> | Extract<"fileList", keyof T2> | Extract<"autoUpload", keyof T2> | Extract<"listType", keyof T2> | Extract<"httpRequest", keyof T2> | Extract<"limit", keyof T2> | Extract<"tip", keyof T2> | Extract<"preview", keyof T2> | Extract<"onDownload", keyof T2> | Extract<"exceedable", keyof T2> | Extract<"confirmExceed", keyof T2>]: { [k in Extract<"required", 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<"name", keyof T2> | Extract<"data", keyof T2> | Extract<"multiple", keyof T2> | Extract<"onChange", keyof T2> | Extract<"beforeUpload", keyof T2> | Extract<"beforeRemove", keyof T2> | Extract<"onRemove", keyof T2> | Extract<"onPreview", keyof T2> | Extract<"onSuccess", keyof T2> | Extract<"onProgress", keyof T2> | Extract<"onError", keyof T2> | Extract<"onExceed", keyof T2> | Extract<"crossorigin", keyof T2> | Extract<"action", keyof T2> | Extract<"headers", keyof T2> | Extract<"method", keyof T2> | Extract<"drag", keyof T2> | Extract<"withCredentials", keyof T2> | Extract<"showFileList", keyof T2> | Extract<"accept", keyof T2> | Extract<"fileList", keyof T2> | Extract<"autoUpload", keyof T2> | Extract<"listType", keyof T2> | Extract<"httpRequest", keyof T2> | Extract<"limit", keyof T2> | Extract<"tip", keyof T2> | Extract<"preview", keyof T2> | Extract<"onDownload", keyof T2> | Extract<"exceedable", keyof T2> | Extract<"confirmExceed", keyof T2>]: T2[k]; }[P]; }>;
|
|
196
287
|
export declare const emits: {
|
|
197
288
|
'update:fileList': any;
|
|
198
289
|
remove: (e: UploadFile) => UploadFile;
|
|
199
290
|
};
|
|
200
|
-
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("
|
|
291
|
+
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:fileList" | "remove")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:fileList", KE> | Exclude<"remove", KE> : "update:fileList" | "remove"]: {
|
|
292
|
+
'update:fileList': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
293
|
+
remove: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
294
|
+
}[P]; };
|