@jnrs/vue-core 1.2.47 → 1.2.49

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/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # 发版日志
2
2
 
3
+ ## [1.2.49] - 2026-08-26 【latest】
4
+
5
+ ### Fixed
6
+
7
+ - `JnTable` 修复 element-plus 2.14.5 升级后的类型错误:`InstanceType<typeof ElTable>` 因 ElTable 泛型化不再满足 InstanceType 约束,改用官方导出的 `TableInstance` 类型
8
+
9
+ ### Chore
10
+
11
+ - element-plus 升级至 `^2.14.5`(peerDependency)
12
+
13
+ ## [1.2.48] - 2026-08-21 【latest】
14
+
15
+ ### Features
16
+
17
+ - `useMenuStore.asyncSetMenus` 路由生成使用完整菜单「隐藏项仍可访问」,侧边栏展示过滤 `meta.hidden` 的菜单项(`filterVisibleMenus` 递归过滤)
18
+
19
+ ### Chore
20
+
21
+ - `createVueRouter` 的 `handleRouter` JSDoc 注释修正
22
+
3
23
  ## [1.2.47] - 2026-08-15 【latest】
4
24
 
5
25
  ### Features
@@ -73,55 +73,35 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
73
73
  uploadRef: ({
74
74
  $: import('vue').ComponentInternalInstance;
75
75
  $data: {};
76
- $props: Partial<{
77
- data: import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData> | ((rawFile: import('element-plus/es/components/upload/src/upload.mjs').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>);
78
- disabled: boolean;
79
- name: string;
80
- onProgress: import('element-plus').UploadHooks["onProgress"];
81
- onChange: import('element-plus').UploadHooks["onChange"];
82
- onError: import('element-plus').UploadHooks["onError"];
83
- method: string;
84
- action: string;
85
- accept: string;
86
- beforeUpload: import('element-plus').UploadHooks["beforeUpload"];
87
- onRemove: import('element-plus').UploadHooks["onRemove"];
88
- onPreview: import('element-plus').UploadHooks["onPreview"];
89
- onSuccess: import('element-plus').UploadHooks["onSuccess"];
90
- onExceed: import('element-plus').UploadHooks["onExceed"];
91
- showFileList: boolean;
92
- fileList: import('element-plus').UploadUserFile[];
93
- autoUpload: boolean;
94
- listType: import('element-plus').ListType;
95
- httpRequest: import('element-plus').UploadRequestHandler;
96
- }> & Omit<{
97
- readonly name: string;
98
- readonly onChange: import('element-plus').UploadHooks["onChange"];
99
- readonly data: import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData> | ((rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>);
100
- readonly onError: import('element-plus').UploadHooks["onError"];
101
- readonly onProgress: import('element-plus').UploadHooks["onProgress"];
102
- readonly fileList: import('element-plus').UploadUserFile[];
103
- readonly showFileList: boolean;
104
- readonly accept: string;
105
- readonly beforeUpload: import('element-plus').UploadHooks["beforeUpload"];
106
- readonly onRemove: import('element-plus').UploadHooks["onRemove"];
107
- readonly onPreview: import('element-plus').UploadHooks["onPreview"];
108
- readonly onSuccess: import('element-plus').UploadHooks["onSuccess"];
109
- readonly onExceed: import('element-plus').UploadHooks["onExceed"];
110
- readonly action: string;
111
- readonly method: string;
112
- readonly autoUpload: boolean;
113
- readonly listType: import('element-plus').ListType;
114
- readonly httpRequest: import('element-plus').UploadRequestHandler;
115
- readonly disabled?: boolean | undefined;
116
- readonly crossorigin?: import('element-plus').Crossorigin | undefined;
117
- readonly drag?: boolean | undefined;
118
- readonly limit?: number | undefined;
76
+ $props: {
77
+ readonly beforeUpload?: import('element-plus').UploadHooks["beforeUpload"] | undefined;
119
78
  readonly beforeRemove?: import('element-plus').UploadHooks["beforeRemove"] | undefined;
79
+ readonly onRemove?: import('element-plus').UploadHooks["onRemove"] | undefined;
80
+ readonly onChange?: import('element-plus').UploadHooks["onChange"] | undefined;
81
+ readonly onPreview?: import('element-plus').UploadHooks["onPreview"] | undefined;
82
+ readonly onSuccess?: import('element-plus').UploadHooks["onSuccess"] | undefined;
83
+ readonly onProgress?: import('element-plus').UploadHooks["onProgress"] | undefined;
84
+ readonly onError?: import('element-plus').UploadHooks["onError"] | undefined;
85
+ readonly onExceed?: import('element-plus').UploadHooks["onExceed"] | undefined;
86
+ readonly crossorigin?: import('element-plus').Crossorigin | undefined;
87
+ readonly action?: string | undefined;
120
88
  readonly headers?: (Headers | Record<string, any>) | undefined;
89
+ readonly method?: string | undefined;
90
+ readonly data?: (import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData> | ((rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | undefined;
121
91
  readonly multiple?: boolean | undefined;
92
+ readonly name?: string | undefined;
93
+ readonly drag?: boolean | undefined;
122
94
  readonly withCredentials?: boolean | undefined;
95
+ readonly showFileList?: boolean | undefined;
96
+ readonly accept?: string | undefined;
97
+ readonly fileList?: import('element-plus').UploadUserFile[] | undefined;
98
+ readonly autoUpload?: boolean | undefined;
99
+ readonly listType?: import('element-plus').ListType | undefined;
100
+ readonly httpRequest?: import('element-plus').UploadRequestHandler | undefined;
101
+ readonly disabled?: boolean | undefined;
102
+ readonly limit?: number | undefined;
123
103
  readonly directory?: boolean | undefined;
124
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "name" | "disabled" | "onChange" | "data" | "onError" | "onProgress" | "fileList" | "showFileList" | "accept" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "autoUpload" | "listType" | "httpRequest">;
104
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
125
105
  $attrs: {
126
106
  [x: string]: unknown;
127
107
  };
@@ -136,131 +116,28 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
136
116
  $host: Element | null;
137
117
  $emit: (event: string, ...args: any[]) => void;
138
118
  $el: any;
139
- $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
140
- name: {
141
- type: import('vue').PropType<string>;
142
- default: "file";
143
- };
144
- disabled: {
145
- type: import('vue').PropType<boolean>;
146
- default: undefined;
147
- };
148
- onChange: {
149
- type: import('vue').PropType<(uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
150
- default: () => void;
151
- };
152
- data: {
153
- type: import('vue').PropType<import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)>;
154
- default: () => import('element-plus/es/utils/typescript.mjs').Mutable<{}>;
155
- };
156
- onError: {
157
- type: import('vue').PropType<(error: Error, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
158
- default: () => void;
159
- };
160
- onProgress: {
161
- type: import('vue').PropType<(evt: import('element-plus').UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
162
- default: () => void;
163
- };
164
- crossorigin: {
165
- type: import('vue').PropType<import('element-plus').Crossorigin>;
166
- };
167
- fileList: {
168
- type: import('vue').PropType<import('element-plus').UploadUserFile[]>;
169
- default: () => never[];
170
- };
171
- drag: {
172
- type: import('vue').PropType<boolean>;
173
- };
174
- showFileList: {
175
- type: import('vue').PropType<boolean>;
176
- default: true;
177
- };
178
- accept: {
179
- type: import('vue').PropType<string>;
180
- default: "";
181
- };
182
- limit: {
183
- type: import('vue').PropType<number>;
184
- };
185
- beforeUpload: {
186
- type: import('vue').PropType<(rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>>;
187
- default: () => void;
188
- };
189
- beforeRemove: {
190
- type: import('vue').PropType<(uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => import('element-plus/es/utils/typescript.mjs').Awaitable<boolean>>;
191
- };
192
- onRemove: {
193
- type: import('vue').PropType<(uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
194
- default: () => void;
195
- };
196
- onPreview: {
197
- type: import('vue').PropType<(uploadFile: UploadFile) => void>;
198
- default: () => void;
199
- };
200
- onSuccess: {
201
- type: import('vue').PropType<(response: any, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
202
- default: () => void;
203
- };
204
- onExceed: {
205
- type: import('vue').PropType<(files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void>;
206
- default: () => void;
207
- };
208
- action: {
209
- type: import('vue').PropType<string>;
210
- default: "#";
211
- };
212
- headers: {
213
- type: import('vue').PropType<Record<string, any> | Headers>;
214
- };
215
- method: {
216
- type: import('vue').PropType<string>;
217
- default: "post";
218
- };
219
- multiple: {
220
- type: import('vue').PropType<boolean>;
221
- };
222
- withCredentials: {
223
- type: import('vue').PropType<boolean>;
224
- };
225
- autoUpload: {
226
- type: import('vue').PropType<boolean>;
227
- default: true;
228
- };
229
- listType: {
230
- type: import('vue').PropType<import('element-plus').ListType>;
231
- default: "text";
232
- };
233
- httpRequest: {
234
- type: import('vue').PropType<import('element-plus').UploadRequestHandler>;
235
- default: import('element-plus').UploadRequestHandler;
236
- };
237
- directory: {
238
- type: import('vue').PropType<boolean>;
239
- };
240
- }>>, {
241
- abort: (file?: import('element-plus/es/components/upload/src/upload.mjs').UploadFile) => void;
119
+ $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').UploadProps> & Readonly<{}>, {
120
+ abort: (file?: UploadFile) => void;
242
121
  submit: () => void;
243
- clearFiles: (states? /**
244
- * 上传的文件字段名,默认为 'file'
245
- */: import('element-plus').UploadStatus[]) => void;
246
- handleStart: (rawFile: import('element-plus/es/components/upload/src/upload.mjs').UploadRawFile) => void;
247
- handleRemove: (file: import('element-plus/es/components/upload/src/upload.mjs').UploadFile | import('element-plus/es/components/upload/src/upload.mjs').UploadRawFile) => void;
248
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
249
- data: import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData> | ((rawFile: import('element-plus/es/components/upload/src/upload.mjs').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>);
250
- disabled: boolean;
122
+ clearFiles: (states?: import('element-plus').UploadStatus[]) => void;
123
+ handleStart: (rawFile: UploadRawFile) => void;
124
+ handleRemove: (file: UploadFile | UploadRawFile) => void;
125
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
251
126
  name: string;
252
- onProgress: import('element-plus').UploadHooks["onProgress"];
253
127
  onChange: import('element-plus').UploadHooks["onChange"];
128
+ disabled: boolean;
254
129
  onError: import('element-plus').UploadHooks["onError"];
255
- method: string;
256
- action: string;
257
- accept: string;
130
+ onProgress: import('element-plus').UploadHooks["onProgress"];
131
+ data: import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData> | ((rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>);
258
132
  beforeUpload: import('element-plus').UploadHooks["beforeUpload"];
259
133
  onRemove: import('element-plus').UploadHooks["onRemove"];
260
134
  onPreview: import('element-plus').UploadHooks["onPreview"];
261
135
  onSuccess: import('element-plus').UploadHooks["onSuccess"];
262
136
  onExceed: import('element-plus').UploadHooks["onExceed"];
137
+ action: string;
138
+ method: string;
263
139
  showFileList: boolean;
140
+ accept: string;
264
141
  fileList: import('element-plus').UploadUserFile[];
265
142
  autoUpload: boolean;
266
143
  listType: import('element-plus').ListType;
@@ -286,138 +163,35 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
286
163
  $nextTick: typeof nextTick;
287
164
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
288
165
  } & Readonly<{
289
- data: import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData> | ((rawFile: import('element-plus/es/components/upload/src/upload.mjs').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>);
290
- disabled: boolean;
291
166
  name: string;
292
- onProgress: import('element-plus').UploadHooks["onProgress"];
293
167
  onChange: import('element-plus').UploadHooks["onChange"];
168
+ disabled: boolean;
294
169
  onError: import('element-plus').UploadHooks["onError"];
295
- method: string;
296
- action: string;
297
- accept: string;
170
+ onProgress: import('element-plus').UploadHooks["onProgress"];
171
+ data: import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData> | ((rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>);
298
172
  beforeUpload: import('element-plus').UploadHooks["beforeUpload"];
299
173
  onRemove: import('element-plus').UploadHooks["onRemove"];
300
174
  onPreview: import('element-plus').UploadHooks["onPreview"];
301
175
  onSuccess: import('element-plus').UploadHooks["onSuccess"];
302
176
  onExceed: import('element-plus').UploadHooks["onExceed"];
177
+ action: string;
178
+ method: string;
303
179
  showFileList: boolean;
180
+ accept: string;
304
181
  fileList: import('element-plus').UploadUserFile[];
305
182
  autoUpload: boolean;
306
183
  listType: import('element-plus').ListType;
307
184
  httpRequest: import('element-plus').UploadRequestHandler;
308
- }> & Omit<Readonly<import('vue').ExtractPropTypes<{
309
- name: {
310
- type: import('vue').PropType<string>;
311
- default: "file";
312
- };
313
- disabled: {
314
- type: import('vue').PropType<boolean>;
315
- default: undefined;
316
- };
317
- onChange: {
318
- type: import('vue').PropType<(uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
319
- default: () => void;
320
- };
321
- data: {
322
- type: import('vue').PropType<import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)>;
323
- default: () => import('element-plus/es/utils/typescript.mjs').Mutable<{}>;
324
- };
325
- onError: {
326
- type: import('vue').PropType<(error: Error, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
327
- default: () => void;
328
- };
329
- onProgress: {
330
- type: import('vue').PropType<(evt: import('element-plus').UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
331
- default: () => void;
332
- };
333
- crossorigin: {
334
- type: import('vue').PropType<import('element-plus').Crossorigin>;
335
- };
336
- fileList: {
337
- type: import('vue').PropType<import('element-plus').UploadUserFile[]>;
338
- default: () => never[];
339
- };
340
- drag: {
341
- type: import('vue').PropType<boolean>;
342
- };
343
- showFileList: {
344
- type: import('vue').PropType<boolean>;
345
- default: true;
346
- };
347
- accept: {
348
- type: import('vue').PropType<string>;
349
- default: "";
350
- };
351
- limit: {
352
- type: import('vue').PropType<number>;
353
- };
354
- beforeUpload: {
355
- type: import('vue').PropType<(rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>>;
356
- default: () => void;
357
- };
358
- beforeRemove: {
359
- type: import('vue').PropType<(uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => import('element-plus/es/utils/typescript.mjs').Awaitable<boolean>>;
360
- };
361
- onRemove: {
362
- type: import('vue').PropType<(uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
363
- default: () => void;
364
- };
365
- onPreview: {
366
- type: import('vue').PropType<(uploadFile: UploadFile) => void>;
367
- default: () => void;
368
- };
369
- onSuccess: {
370
- type: import('vue').PropType<(response: any, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
371
- default: () => void;
372
- };
373
- onExceed: {
374
- type: import('vue').PropType<(files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void>;
375
- default: () => void;
376
- };
377
- action: {
378
- type: import('vue').PropType<string>;
379
- default: "#";
380
- };
381
- headers: {
382
- type: import('vue').PropType<Record<string, any> | Headers>;
383
- };
384
- method: {
385
- type: import('vue').PropType<string>;
386
- default: "post";
387
- };
388
- multiple: {
389
- type: import('vue').PropType<boolean>;
390
- };
391
- withCredentials: {
392
- type: import('vue').PropType<boolean>;
393
- };
394
- autoUpload: {
395
- type: import('vue').PropType<boolean>;
396
- default: true;
397
- };
398
- listType: {
399
- type: import('vue').PropType<import('element-plus').ListType>;
400
- default: "text";
401
- };
402
- httpRequest: {
403
- type: import('vue').PropType<import('element-plus').UploadRequestHandler>;
404
- default: import('element-plus').UploadRequestHandler;
405
- };
406
- directory: {
407
- type: import('vue').PropType<boolean>;
408
- };
409
- }>>, "name" | "disabled" | "onChange" | "data" | "onError" | "onProgress" | "fileList" | "showFileList" | "accept" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "autoUpload" | "listType" | "httpRequest" | "abort" | "submit" | "clearFiles" | "handleStart" | "handleRemove"> & import('vue').ShallowUnwrapRef<{
410
- abort: (file?: import('element-plus/es/components/upload/src/upload.mjs').UploadFile) => void;
185
+ }> & Omit<Readonly<import('element-plus').UploadProps> & Readonly<{}>, "name" | "disabled" | "onChange" | "data" | "onError" | "onProgress" | "fileList" | "submit" | "showFileList" | "accept" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "autoUpload" | "listType" | "httpRequest" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> & import('vue').ShallowUnwrapRef<{
186
+ abort: (file?: UploadFile) => void;
411
187
  submit: () => void;
412
- clearFiles: (states? /**
413
- * 上传的文件字段名,默认为 'file'
414
- */: import('element-plus').UploadStatus[]) => void;
415
- handleStart: (rawFile: import('element-plus/es/components/upload/src/upload.mjs').UploadRawFile) => void;
416
- handleRemove: (file: import('element-plus/es/components/upload/src/upload.mjs').UploadFile | import('element-plus/es/components/upload/src/upload.mjs').UploadRawFile) => void;
188
+ clearFiles: (states?: import('element-plus').UploadStatus[]) => void;
189
+ handleStart: (rawFile: UploadRawFile) => void;
190
+ handleRemove: (file: UploadFile | UploadRawFile) => void;
417
191
  }> & {} & import('vue').ComponentCustomProperties & {} & {
418
192
  $slots: {
419
193
  file?: (props: {
420
- file: import('element-plus/es/components/upload/src/upload.mjs').UploadFile;
194
+ file: UploadFile;
421
195
  index: number;
422
196
  }) => any;
423
197
  } & {
@@ -434,7 +208,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
434
208
  tip?: (props: {}) => any;
435
209
  } & {
436
210
  file?: (props: {
437
- file: import('element-plus/es/components/upload/src/upload.mjs').UploadFile;
211
+ file: UploadFile;
438
212
  index: number;
439
213
  }) => any;
440
214
  };
@@ -165,33 +165,25 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
165
165
  ruleFormRef: ({
166
166
  $: import('vue').ComponentInternalInstance;
167
167
  $data: {};
168
- $props: Partial<{
169
- labelWidth: string | number;
170
- labelPosition: "left" | "right" | "top";
171
- showMessage: boolean;
172
- requireAsteriskPosition: "left" | "right";
173
- labelSuffix: string;
174
- validateOnRuleChange: boolean;
175
- scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
176
- }> & Omit<{
177
- readonly labelPosition: "left" | "right" | "top";
178
- readonly requireAsteriskPosition: "left" | "right";
179
- readonly labelWidth: string | number;
180
- readonly labelSuffix: string;
181
- readonly showMessage: boolean;
182
- readonly validateOnRuleChange: boolean;
183
- readonly scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
184
- readonly size?: import('element-plus').ComponentSize | undefined;
185
- readonly disabled?: boolean | undefined;
168
+ $props: {
186
169
  readonly model?: Record<string, any> | undefined;
187
170
  readonly rules?: import('element-plus').FormRules | undefined;
171
+ readonly labelPosition?: "left" | "right" | "top" | undefined;
172
+ readonly requireAsteriskPosition?: "left" | "right" | undefined;
173
+ readonly labelWidth?: string | number | undefined;
174
+ readonly labelSuffix?: string | undefined;
188
175
  readonly inline?: boolean | undefined;
189
176
  readonly inlineMessage?: boolean | undefined;
190
177
  readonly statusIcon?: boolean | undefined;
178
+ readonly showMessage?: boolean | undefined;
179
+ readonly validateOnRuleChange?: boolean | undefined;
191
180
  readonly hideRequiredAsterisk?: boolean | undefined;
192
181
  readonly scrollToError?: boolean | undefined;
193
- onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
194
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions">;
182
+ readonly scrollIntoViewOptions?: (ScrollIntoViewOptions | boolean) | undefined;
183
+ readonly size?: import('element-plus').ComponentSize | undefined;
184
+ readonly disabled?: boolean | undefined;
185
+ readonly onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
186
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
195
187
  $attrs: {
196
188
  [x: string]: unknown;
197
189
  };
@@ -206,65 +198,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
206
198
  $host: Element | null;
207
199
  $emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
208
200
  $el: any;
209
- $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
210
- size: {
211
- type: import('vue').PropType<"" | "large" | "default" | "small">;
212
- };
213
- disabled: {
214
- type: import('vue').PropType<boolean>;
215
- };
216
- model: {
217
- type: import('vue').PropType<Record<string, any>>;
218
- };
219
- rules: {
220
- type: import('vue').PropType<Partial<Record<string, Record<string, any> | import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>>;
221
- };
222
- labelPosition: {
223
- type: import('vue').PropType<"top" | "left" | "right">;
224
- default: string;
225
- };
226
- requireAsteriskPosition: {
227
- type: import('vue').PropType<"left" | "right">;
228
- default: string;
229
- };
230
- labelWidth: {
231
- type: import('vue').PropType<string | number>;
232
- default: string;
233
- };
234
- labelSuffix: {
235
- type: import('vue').PropType<string>;
236
- default: string;
237
- };
238
- inline: {
239
- type: import('vue').PropType<boolean>;
240
- };
241
- inlineMessage: {
242
- type: import('vue').PropType<boolean>;
243
- };
244
- statusIcon: {
245
- type: import('vue').PropType<boolean>;
246
- };
247
- showMessage: {
248
- type: import('vue').PropType<boolean>;
249
- default: boolean;
250
- };
251
- validateOnRuleChange: {
252
- type: import('vue').PropType<boolean>;
253
- default: boolean;
254
- };
255
- hideRequiredAsterisk: {
256
- type: import('vue').PropType<boolean>;
257
- };
258
- scrollToError: {
259
- type: import('vue').PropType<boolean>;
260
- };
261
- scrollIntoViewOptions: {
262
- type: import('vue').PropType<boolean | ScrollIntoViewOptions>;
263
- default: boolean;
264
- };
265
- }>> & {
201
+ $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').FormProps> & Readonly<{
266
202
  onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
267
- }, {
203
+ }>, {
268
204
  validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
269
205
  validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
270
206
  resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
@@ -273,14 +209,14 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
273
209
  getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
274
210
  fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
275
211
  setInitialValues: (initModel: Record<string, any>) => void;
276
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
212
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
277
213
  validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
278
214
  }, string, {
279
215
  labelWidth: string | number;
280
216
  labelPosition: "left" | "right" | "top";
281
- showMessage: boolean;
282
217
  requireAsteriskPosition: "left" | "right";
283
218
  labelSuffix: string;
219
+ showMessage: boolean;
284
220
  validateOnRuleChange: boolean;
285
221
  scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
286
222
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
@@ -306,70 +242,14 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
306
242
  } & Readonly<{
307
243
  labelWidth: string | number;
308
244
  labelPosition: "left" | "right" | "top";
309
- showMessage: boolean;
310
245
  requireAsteriskPosition: "left" | "right";
311
246
  labelSuffix: string;
247
+ showMessage: boolean;
312
248
  validateOnRuleChange: boolean;
313
249
  scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
314
- }> & Omit<Readonly<import('vue').ExtractPropTypes<{
315
- size: {
316
- type: import('vue').PropType<"" | "large" | "default" | "small">;
317
- };
318
- disabled: {
319
- type: import('vue').PropType<boolean>;
320
- };
321
- model: {
322
- type: import('vue').PropType<Record<string, any>>;
323
- };
324
- rules: {
325
- type: import('vue').PropType<Partial<Record<string, Record<string, any> | import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>>;
326
- };
327
- labelPosition: {
328
- type: import('vue').PropType<"top" | "left" | "right">;
329
- default: string;
330
- };
331
- requireAsteriskPosition: {
332
- type: import('vue').PropType<"left" | "right">;
333
- default: string;
334
- };
335
- labelWidth: {
336
- type: import('vue').PropType<string | number>;
337
- default: string;
338
- };
339
- labelSuffix: {
340
- type: import('vue').PropType<string>;
341
- default: string;
342
- };
343
- inline: {
344
- type: import('vue').PropType<boolean>;
345
- };
346
- inlineMessage: {
347
- type: import('vue').PropType<boolean>;
348
- };
349
- statusIcon: {
350
- type: import('vue').PropType<boolean>;
351
- };
352
- showMessage: {
353
- type: import('vue').PropType<boolean>;
354
- default: boolean;
355
- };
356
- validateOnRuleChange: {
357
- type: import('vue').PropType<boolean>;
358
- default: boolean;
359
- };
360
- hideRequiredAsterisk: {
361
- type: import('vue').PropType<boolean>;
362
- };
363
- scrollToError: {
364
- type: import('vue').PropType<boolean>;
365
- };
366
- scrollIntoViewOptions: {
367
- type: import('vue').PropType<boolean | ScrollIntoViewOptions>;
368
- default: boolean;
369
- };
370
- }>> & {
250
+ }> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
371
251
  onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
372
- }, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
252
+ }>, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
373
253
  validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
374
254
  validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
375
255
  resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;