@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.
Files changed (88) hide show
  1. package/components/api-tables-select/index.cjs +37 -36
  2. package/components/api-tables-select/index.mjs +37 -36
  3. package/components/api-tables-select/src/ctx.d.ts +48 -13
  4. package/components/api-tables-select/src/index.vue.d.ts +568 -80
  5. package/components/button/src/ctx.d.ts +101 -17
  6. package/components/button/src/index.vue.d.ts +437 -101
  7. package/components/card-input-collection/index.cjs +67 -70
  8. package/components/card-input-collection/index.mjs +68 -71
  9. package/components/card-input-collection/src/ctx.d.ts +43 -8
  10. package/components/card-input-collection/src/index.vue.d.ts +718 -226
  11. package/components/cascader/src/ctx.d.ts +192 -46
  12. package/components/cascader/src/index.vue.d.ts +393 -118
  13. package/components/checkbox/index.cjs +2 -3
  14. package/components/checkbox/index.mjs +2 -3
  15. package/components/checkbox/src/ctx.d.ts +65 -13
  16. package/components/checkbox/src/index.vue.d.ts +339 -115
  17. package/components/color-picker/src/ctx.d.ts +76 -13
  18. package/components/color-picker/src/index.vue.d.ts +160 -34
  19. package/components/date-picker/src/ctx.d.ts +185 -36
  20. package/components/date-picker/src/index.vue.d.ts +974 -202
  21. package/components/date-picker-range/src/ctx.d.ts +168 -35
  22. package/components/date-picker-range/src/index.vue.d.ts +347 -82
  23. package/components/download-plus/index.cjs +4 -4
  24. package/components/download-plus/index.mjs +4 -4
  25. package/components/download-plus/src/ctx.d.ts +43 -8
  26. package/components/download-plus/src/index.vue.d.ts +618 -165
  27. package/components/editable-text/index.cjs +29 -15
  28. package/components/editable-text/index.mjs +29 -15
  29. package/components/editable-text/src/ctx.d.ts +51 -8
  30. package/components/editable-text/src/index.vue.d.ts +2827 -251
  31. package/components/esri-input-geojson/src/append.vue.d.ts +769 -418
  32. package/components/esri-input-geojson/src/ctx.d.ts +133 -32
  33. package/components/esri-input-geojson/src/index.vue.d.ts +262 -92
  34. package/components/esri-input-geojson/src/viewer.vue.d.ts +1 -1
  35. package/components/form/src/ctx.d.ts +59 -11
  36. package/components/form/src/index.vue.d.ts +3456 -186
  37. package/components/form-item/src/ctx.d.ts +45 -10
  38. package/components/form-item/src/index.vue.d.ts +484 -141
  39. package/components/information-collection/src/ctx.d.ts +45 -10
  40. package/components/information-collection/src/index.vue.d.ts +96 -26
  41. package/components/information-tag/src/ctx.d.ts +17 -3
  42. package/components/information-tag/src/index.vue.d.ts +38 -10
  43. package/components/input/src/ctx.d.ts +138 -33
  44. package/components/input/src/index.vue.d.ts +528 -152
  45. package/components/input-collection/index.cjs +105 -74
  46. package/components/input-collection/index.mjs +107 -76
  47. package/components/input-collection/src/ctx.d.ts +43 -8
  48. package/components/input-collection/src/index.vue.d.ts +756 -793
  49. package/components/input-link/src/ctx.d.ts +103 -25
  50. package/components/input-link/src/index.vue.d.ts +219 -63
  51. package/components/input-number/src/ctx.d.ts +123 -21
  52. package/components/input-number/src/index.vue.d.ts +468 -93
  53. package/components/input-tag/src/ctx.d.ts +141 -25
  54. package/components/input-tag/src/index.vue.d.ts +566 -126
  55. package/components/monaco-editor/src/ctx.d.ts +43 -8
  56. package/components/monaco-editor/src/index.vue.d.ts +91 -21
  57. package/components/radio/index.cjs +2 -3
  58. package/components/radio/index.mjs +2 -3
  59. package/components/radio/src/ctx.d.ts +84 -14
  60. package/components/radio/src/index.vue.d.ts +812 -168
  61. package/components/select/src/ctx.d.ts +63 -13
  62. package/components/select/src/index.vue.d.ts +549 -108
  63. package/components/slider/src/ctx.d.ts +170 -54
  64. package/components/slider/src/index.vue.d.ts +362 -137
  65. package/components/switch/src/ctx.d.ts +105 -21
  66. package/components/switch/src/index.vue.d.ts +453 -117
  67. package/components/tables-select/src/ctx.d.ts +72 -9
  68. package/components/tables-select/src/index.vue.d.ts +386 -82
  69. package/components/templates-element-plus/src/index.vue.d.ts +187 -40
  70. package/components/templates-layout/src/index.vue.d.ts +337 -64
  71. package/components/upload/index.cjs +2 -2
  72. package/components/upload/index.mjs +2 -2
  73. package/components/upload/src/ctx.d.ts +183 -89
  74. package/components/upload/src/file.vue.d.ts +269 -83
  75. package/components/upload/src/index.vue.d.ts +1246 -632
  76. package/components/upload-plus/index.cjs +79 -86
  77. package/components/upload-plus/index.mjs +79 -86
  78. package/components/upload-plus/src/ctx.d.ts +43 -8
  79. package/components/upload-plus/src/index.vue.d.ts +1008 -283
  80. package/components/van-cascader/src/ctx.d.ts +181 -44
  81. package/components/van-cascader/src/index.vue.d.ts +1532 -324
  82. package/components/var-datetime-picker/src/ctx.d.ts +43 -8
  83. package/components/var-datetime-picker/src/index.vue.d.ts +932 -190
  84. package/components/vditor/src/ctx.d.ts +43 -8
  85. package/components/vditor/src/index.vue.d.ts +91 -21
  86. package/package.json +1 -1
  87. package/shared/element-plus/ctx.d.ts +111 -30
  88. 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: import("vue").PropType<(uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => import("element-plus/es/utils").Awaitable<boolean>>;
42
- readonly required: false;
43
- readonly validator: ((val: unknown) => boolean) | undefined;
44
- __epPropKey: true;
45
- };
46
- onRemove: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
47
- (): (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
48
- new (): any;
49
- readonly prototype: any;
50
- } | ((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
51
- (): (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
52
- new (): any;
53
- readonly prototype: any;
54
- })[], unknown, unknown, () => void, boolean>;
55
- onChange: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
56
- (): (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
57
- new (): any;
58
- readonly prototype: any;
59
- } | ((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
60
- (): (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
61
- new (): any;
62
- readonly prototype: any;
63
- })[], unknown, unknown, () => void, boolean>;
64
- onPreview: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
65
- (): (uploadFile: UploadFile) => void;
66
- new (): any;
67
- readonly prototype: any;
68
- } | ((new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
69
- (): (uploadFile: UploadFile) => void;
70
- new (): any;
71
- readonly prototype: any;
72
- })[], unknown, unknown, () => void, boolean>;
73
- onSuccess: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
74
- (): (response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
75
- new (): any;
76
- readonly prototype: any;
77
- } | ((new (...args: any[]) => (response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
78
- (): (response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
79
- new (): any;
80
- readonly prototype: any;
81
- })[], unknown, unknown, () => void, boolean>;
82
- onProgress: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
83
- (): (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
84
- new (): any;
85
- readonly prototype: any;
86
- } | ((new (...args: any[]) => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
87
- (): (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
88
- new (): any;
89
- readonly prototype: any;
90
- })[], unknown, unknown, () => void, boolean>;
91
- onError: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
92
- (): (error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
93
- new (): any;
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: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown>>;
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: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;
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: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;
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: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;
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: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
120
- accept: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
121
- fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]) | ((new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;
122
- autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
123
- listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "picture" | "text" | "picture-card", unknown, "text", boolean>;
124
- httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
125
- (): import("element-plus").UploadRequestHandler;
126
- new (): any;
127
- readonly prototype: any;
128
- } | ((new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
129
- (): import("element-plus").UploadRequestHandler;
130
- new (): any;
131
- readonly prototype: any;
132
- })[], unknown, unknown, import("element-plus").UploadRequestHandler, boolean>;
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: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
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: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
171
- labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "top" | "left" | "right", unknown, "", boolean>;
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: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
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: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown>>;
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: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
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: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
193
- showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
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<"beforeUpload", keyof T2> | Extract<"beforeRemove", keyof T2> | Extract<"onRemove", keyof T2> | Extract<"onChange", 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<"onDownload", keyof T2> | Extract<"preview", keyof T2> | Extract<"tip", 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" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "formItemTip" | "formItemTipClass" | "labelTip" | "information" | "label" | "labelWidth" | "labelPosition" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "disabled" | "name" | "data" | "multiple" | "beforeUpload" | "beforeRemove" | "onRemove" | "onChange" | "onPreview" | "onSuccess" | "onProgress" | "onError" | "onExceed" | "crossorigin" | "action" | "headers" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "limit" | "onDownload" | "preview" | "tip" | "exceedable" | "confirmExceed", keyof T2>, KE> : Extract<"required" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "formItemTip" | "formItemTipClass" | "labelTip" | "information" | "label" | "labelWidth" | "labelPosition" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "disabled" | "name" | "data" | "multiple" | "beforeUpload" | "beforeRemove" | "onRemove" | "onChange" | "onPreview" | "onSuccess" | "onProgress" | "onError" | "onExceed" | "crossorigin" | "action" | "headers" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "limit" | "onDownload" | "preview" | "tip" | "exceedable" | "confirmExceed", keyof T2>]: { [k in Extract<"required" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "formItemTip" | "formItemTipClass" | "labelTip" | "information" | "label" | "labelWidth" | "labelPosition" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "disabled" | "name" | "data" | "multiple" | "beforeUpload" | "beforeRemove" | "onRemove" | "onChange" | "onPreview" | "onSuccess" | "onProgress" | "onError" | "onExceed" | "crossorigin" | "action" | "headers" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "limit" | "onDownload" | "preview" | "tip" | "exceedable" | "confirmExceed", keyof T2>]: T2[k]; }[P]; }>;
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 ("remove" | "update:fileList")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"remove" | "update:fileList", KE> : "remove" | "update:fileList"]: { [k in "remove" | "update:fileList"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
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]; };