@vunk/form 2.12.0 → 2.12.2
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/dialog-input-collection/index.cjs +129 -106
- package/components/dialog-input-collection/index.mjs +128 -105
- package/components/dialog-input-collection/src/ctx.d.ts +6 -3
- package/components/dialog-input-collection/src/dialog-form.vue.d.ts +1184 -49
- package/components/dialog-input-collection/src/index.vue.d.ts +1365 -223
- package/components/dialog-input-collection/src/layout.vue.d.ts +27 -27
- package/components/dialog-input-collection/src/types.d.ts +1 -1
- package/components/form-item-renderer/index.cjs +5 -3
- package/components/form-item-renderer/index.mjs +5 -3
- package/package.json +1 -1
|
@@ -31,6 +31,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
31
31
|
type: ObjectConstructor;
|
|
32
32
|
default: () => {};
|
|
33
33
|
};
|
|
34
|
+
validateCatch: {
|
|
35
|
+
type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
|
|
36
|
+
};
|
|
34
37
|
modules: {
|
|
35
38
|
type: import("vue").PropType<import("./types").Modules[]>;
|
|
36
39
|
default: () => string[];
|
|
@@ -126,7 +129,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
126
129
|
readonly default: true;
|
|
127
130
|
};
|
|
128
131
|
}>, {
|
|
129
|
-
ElTable: never;
|
|
130
132
|
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
131
133
|
columns: {
|
|
132
134
|
type: import("vue").PropType<any[]>;
|
|
@@ -156,6 +158,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
156
158
|
type: ObjectConstructor;
|
|
157
159
|
default: () => {};
|
|
158
160
|
};
|
|
161
|
+
validateCatch: {
|
|
162
|
+
type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
|
|
163
|
+
};
|
|
159
164
|
modules: {
|
|
160
165
|
type: import("vue").PropType<import("./types").Modules[]>;
|
|
161
166
|
default: () => string[];
|
|
@@ -254,6 +259,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
254
259
|
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
255
260
|
}> & {}>;
|
|
256
261
|
emit: ((event: "update:modelValue", ...args: unknown[]) => void) & ((event: "update:modelValue", ...args: any) => void) & ((event: "update:modelValue", ...args: any[]) => void);
|
|
262
|
+
ElTable: never;
|
|
257
263
|
hasColAdd: import("vue").ComputedRef<boolean>;
|
|
258
264
|
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
259
265
|
readonly: import("vue").ComputedRef<boolean>;
|
|
@@ -279,8 +285,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
279
285
|
handleEdit: (index: number) => void;
|
|
280
286
|
handleDialogFormChange: (data: NormalObject) => void;
|
|
281
287
|
handleFormSetData: (e: SetDataEvent) => void;
|
|
282
|
-
readonly Plus: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
283
288
|
readonly Edit: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
289
|
+
readonly Plus: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
284
290
|
readonly VkfFormItem: {
|
|
285
291
|
new (...args: any[]): any;
|
|
286
292
|
__isFragment?: never;
|
|
@@ -292,6 +298,126 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
292
298
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
293
299
|
install(app: import("vue").App): void;
|
|
294
300
|
};
|
|
301
|
+
readonly VkAvatar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
302
|
+
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
|
|
303
|
+
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
304
|
+
readonly icon: {
|
|
305
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
306
|
+
readonly required: false;
|
|
307
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
308
|
+
__epPropKey: true;
|
|
309
|
+
};
|
|
310
|
+
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
311
|
+
readonly alt: StringConstructor;
|
|
312
|
+
readonly srcSet: StringConstructor;
|
|
313
|
+
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => ObjectFitProperty) | ((new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
|
|
314
|
+
} & {
|
|
315
|
+
background: never;
|
|
316
|
+
color: never;
|
|
317
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
318
|
+
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
|
|
319
|
+
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
320
|
+
readonly icon: {
|
|
321
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
322
|
+
readonly required: false;
|
|
323
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
324
|
+
__epPropKey: true;
|
|
325
|
+
};
|
|
326
|
+
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
327
|
+
readonly alt: StringConstructor;
|
|
328
|
+
readonly srcSet: StringConstructor;
|
|
329
|
+
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => ObjectFitProperty) | ((new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
|
|
330
|
+
} & {
|
|
331
|
+
background: never;
|
|
332
|
+
color: never;
|
|
333
|
+
}>> & Readonly<{}>, {
|
|
334
|
+
readonly size: import("element-plus").ButtonType<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number>;
|
|
335
|
+
readonly shape: import("element-plus").ButtonType<StringConstructor, "circle" | "square", unknown>;
|
|
336
|
+
readonly src: string;
|
|
337
|
+
readonly fit: any;
|
|
338
|
+
}, {}, {
|
|
339
|
+
ElAvatar: import("element-plus/es/utils").SFCWithInstall<{
|
|
340
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
341
|
+
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
|
|
342
|
+
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
343
|
+
readonly icon: {
|
|
344
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
345
|
+
readonly required: false;
|
|
346
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
347
|
+
__epPropKey: true;
|
|
348
|
+
};
|
|
349
|
+
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
350
|
+
readonly alt: StringConstructor;
|
|
351
|
+
readonly srcSet: StringConstructor;
|
|
352
|
+
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => any) | ((new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => any))[], unknown, unknown, "cover", boolean>;
|
|
353
|
+
}>> & {
|
|
354
|
+
onError?: ((evt: Event) => any) | undefined;
|
|
355
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
356
|
+
error: (evt: Event) => void;
|
|
357
|
+
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
358
|
+
readonly size: import("element-plus").ButtonType<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number>;
|
|
359
|
+
readonly shape: import("element-plus").ButtonType<StringConstructor, "circle" | "square", unknown>;
|
|
360
|
+
readonly src: string;
|
|
361
|
+
readonly fit: any;
|
|
362
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
363
|
+
P: {};
|
|
364
|
+
B: {};
|
|
365
|
+
D: {};
|
|
366
|
+
C: {};
|
|
367
|
+
M: {};
|
|
368
|
+
Defaults: {};
|
|
369
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
370
|
+
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
|
|
371
|
+
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
372
|
+
readonly icon: {
|
|
373
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
374
|
+
readonly required: false;
|
|
375
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
376
|
+
__epPropKey: true;
|
|
377
|
+
};
|
|
378
|
+
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
379
|
+
readonly alt: StringConstructor;
|
|
380
|
+
readonly srcSet: StringConstructor;
|
|
381
|
+
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => any) | ((new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => any))[], unknown, unknown, "cover", boolean>;
|
|
382
|
+
}>> & {
|
|
383
|
+
onError?: ((evt: Event) => any) | undefined;
|
|
384
|
+
}, {}, {}, {}, {}, {
|
|
385
|
+
readonly size: import("element-plus").ButtonType<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number>;
|
|
386
|
+
readonly shape: import("element-plus").ButtonType<StringConstructor, "circle" | "square", unknown>;
|
|
387
|
+
readonly src: string;
|
|
388
|
+
readonly fit: any;
|
|
389
|
+
}>;
|
|
390
|
+
__isFragment?: undefined;
|
|
391
|
+
__isTeleport?: undefined;
|
|
392
|
+
__isSuspense?: undefined;
|
|
393
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
394
|
+
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
|
|
395
|
+
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
396
|
+
readonly icon: {
|
|
397
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
398
|
+
readonly required: false;
|
|
399
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
400
|
+
__epPropKey: true;
|
|
401
|
+
};
|
|
402
|
+
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
403
|
+
readonly alt: StringConstructor;
|
|
404
|
+
readonly srcSet: StringConstructor;
|
|
405
|
+
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => any) | ((new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => any))[], unknown, unknown, "cover", boolean>;
|
|
406
|
+
}>> & {
|
|
407
|
+
onError?: ((evt: Event) => any) | undefined;
|
|
408
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
409
|
+
error: (evt: Event) => void;
|
|
410
|
+
}, string, {
|
|
411
|
+
readonly size: import("element-plus").ButtonType<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number>;
|
|
412
|
+
readonly shape: import("element-plus").ButtonType<StringConstructor, "circle" | "square", unknown>;
|
|
413
|
+
readonly src: string;
|
|
414
|
+
readonly fit: any;
|
|
415
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
416
|
+
$slots: {
|
|
417
|
+
default?(_: {}): any;
|
|
418
|
+
};
|
|
419
|
+
})>;
|
|
420
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
295
421
|
readonly VkTableColumns: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
296
422
|
source: {
|
|
297
423
|
type: import("vue").PropType<__VkTableColumns.Source<any>[]>;
|
|
@@ -571,6 +697,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
571
697
|
filterMultiple: boolean;
|
|
572
698
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
573
699
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
700
|
+
readonly CRUD: typeof CRUD;
|
|
574
701
|
readonly ElButton: ({
|
|
575
702
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
576
703
|
readonly size: {
|
|
@@ -969,235 +1096,37 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
969
1096
|
};
|
|
970
1097
|
});
|
|
971
1098
|
};
|
|
972
|
-
|
|
973
|
-
|
|
1099
|
+
DialogForm: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1100
|
+
title: {
|
|
1101
|
+
type: StringConstructor;
|
|
1102
|
+
default: string;
|
|
1103
|
+
};
|
|
1104
|
+
modelValue: {
|
|
974
1105
|
type: ObjectConstructor;
|
|
975
1106
|
default: () => {};
|
|
976
1107
|
};
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
__isFragment?: never;
|
|
981
|
-
__isTeleport?: never;
|
|
982
|
-
__isSuspense?: never;
|
|
983
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
984
|
-
[x: string]: any;
|
|
985
|
-
[x: symbol]: any;
|
|
986
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
987
|
-
install(app: import("vue").App): void;
|
|
988
|
-
};
|
|
989
|
-
readonly VkfTemplateInstancesProvider: {
|
|
990
|
-
new (...args: any[]): any;
|
|
991
|
-
__isFragment?: never;
|
|
992
|
-
__isTeleport?: never;
|
|
993
|
-
__isSuspense?: never;
|
|
994
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
995
|
-
[x: string]: any;
|
|
996
|
-
[x: symbol]: any;
|
|
997
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
998
|
-
install(app: import("vue").App): void;
|
|
1108
|
+
openReset: {
|
|
1109
|
+
type: BooleanConstructor;
|
|
1110
|
+
default: boolean;
|
|
999
1111
|
};
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
[key: string]: any;
|
|
1004
|
-
}>[][]), {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1005
|
-
readonly VkfInformationData: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1006
|
-
data: {
|
|
1007
|
-
type: import("vue").PropType<import("packages/entry").NormalObject>;
|
|
1008
|
-
default: () => {};
|
|
1009
|
-
};
|
|
1010
|
-
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1011
|
-
[key: string]: any;
|
|
1012
|
-
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1013
|
-
setData: (e: import("packages/entry").SetDataEvent) => import("packages/entry").SetDataEvent;
|
|
1014
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1015
|
-
data: {
|
|
1016
|
-
type: import("vue").PropType<import("packages/entry").NormalObject>;
|
|
1017
|
-
default: () => {};
|
|
1018
|
-
};
|
|
1019
|
-
}>> & Readonly<{
|
|
1020
|
-
onSetData?: (e: import("packages/entry").SetDataEvent) => any;
|
|
1021
|
-
}>, {
|
|
1022
|
-
data: import("packages/entry").NormalObject;
|
|
1023
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1024
|
-
readonly VkfInformationTemplatesDefault: {
|
|
1025
|
-
new (...args: any[]): any;
|
|
1026
|
-
__isFragment?: never;
|
|
1027
|
-
__isTeleport?: never;
|
|
1028
|
-
__isSuspense?: never;
|
|
1029
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
1030
|
-
[x: string]: any;
|
|
1031
|
-
[x: symbol]: any;
|
|
1032
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
1033
|
-
install(app: import("vue").App): void;
|
|
1112
|
+
visible: {
|
|
1113
|
+
type: BooleanConstructor;
|
|
1114
|
+
default: boolean;
|
|
1034
1115
|
};
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
__isTeleport?: never;
|
|
1039
|
-
__isSuspense?: never;
|
|
1040
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
1041
|
-
[x: string]: any;
|
|
1042
|
-
[x: symbol]: any;
|
|
1043
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
1044
|
-
install(app: import("vue").App): void;
|
|
1116
|
+
formItems: {
|
|
1117
|
+
type: ArrayConstructor;
|
|
1118
|
+
default: () => any[];
|
|
1045
1119
|
};
|
|
1046
|
-
|
|
1047
|
-
data: {
|
|
1120
|
+
dialogFormProps: {
|
|
1048
1121
|
type: ObjectConstructor;
|
|
1049
1122
|
default: () => {};
|
|
1050
1123
|
};
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
readonly VkAvatar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1058
|
-
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
|
|
1059
|
-
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
1060
|
-
readonly icon: {
|
|
1061
|
-
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
1062
|
-
readonly required: false;
|
|
1063
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1064
|
-
__epPropKey: true;
|
|
1065
|
-
};
|
|
1066
|
-
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1067
|
-
readonly alt: StringConstructor;
|
|
1068
|
-
readonly srcSet: StringConstructor;
|
|
1069
|
-
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => ObjectFitProperty) | ((new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
|
|
1070
|
-
} & {
|
|
1071
|
-
background: never;
|
|
1072
|
-
color: never;
|
|
1073
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1074
|
-
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
|
|
1075
|
-
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
1076
|
-
readonly icon: {
|
|
1077
|
-
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
1078
|
-
readonly required: false;
|
|
1079
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1080
|
-
__epPropKey: true;
|
|
1081
|
-
};
|
|
1082
|
-
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1083
|
-
readonly alt: StringConstructor;
|
|
1084
|
-
readonly srcSet: StringConstructor;
|
|
1085
|
-
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => ObjectFitProperty) | ((new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
|
|
1086
|
-
} & {
|
|
1087
|
-
background: never;
|
|
1088
|
-
color: never;
|
|
1089
|
-
}>> & Readonly<{}>, {
|
|
1090
|
-
readonly size: import("element-plus").ButtonType<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number>;
|
|
1091
|
-
readonly shape: import("element-plus").ButtonType<StringConstructor, "circle" | "square", unknown>;
|
|
1092
|
-
readonly src: string;
|
|
1093
|
-
readonly fit: any;
|
|
1094
|
-
}, {}, {
|
|
1095
|
-
ElAvatar: import("element-plus/es/utils").SFCWithInstall<{
|
|
1096
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
1097
|
-
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
|
|
1098
|
-
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
1099
|
-
readonly icon: {
|
|
1100
|
-
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
1101
|
-
readonly required: false;
|
|
1102
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1103
|
-
__epPropKey: true;
|
|
1104
|
-
};
|
|
1105
|
-
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1106
|
-
readonly alt: StringConstructor;
|
|
1107
|
-
readonly srcSet: StringConstructor;
|
|
1108
|
-
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => any) | ((new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => any))[], unknown, unknown, "cover", boolean>;
|
|
1109
|
-
}>> & {
|
|
1110
|
-
onError?: ((evt: Event) => any) | undefined;
|
|
1111
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1112
|
-
error: (evt: Event) => void;
|
|
1113
|
-
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
1114
|
-
readonly size: import("element-plus").ButtonType<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number>;
|
|
1115
|
-
readonly shape: import("element-plus").ButtonType<StringConstructor, "circle" | "square", unknown>;
|
|
1116
|
-
readonly src: string;
|
|
1117
|
-
readonly fit: any;
|
|
1118
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1119
|
-
P: {};
|
|
1120
|
-
B: {};
|
|
1121
|
-
D: {};
|
|
1122
|
-
C: {};
|
|
1123
|
-
M: {};
|
|
1124
|
-
Defaults: {};
|
|
1125
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
1126
|
-
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
|
|
1127
|
-
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
1128
|
-
readonly icon: {
|
|
1129
|
-
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
1130
|
-
readonly required: false;
|
|
1131
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1132
|
-
__epPropKey: true;
|
|
1133
|
-
};
|
|
1134
|
-
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1135
|
-
readonly alt: StringConstructor;
|
|
1136
|
-
readonly srcSet: StringConstructor;
|
|
1137
|
-
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => any) | ((new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => any))[], unknown, unknown, "cover", boolean>;
|
|
1138
|
-
}>> & {
|
|
1139
|
-
onError?: ((evt: Event) => any) | undefined;
|
|
1140
|
-
}, {}, {}, {}, {}, {
|
|
1141
|
-
readonly size: import("element-plus").ButtonType<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number>;
|
|
1142
|
-
readonly shape: import("element-plus").ButtonType<StringConstructor, "circle" | "square", unknown>;
|
|
1143
|
-
readonly src: string;
|
|
1144
|
-
readonly fit: any;
|
|
1145
|
-
}>;
|
|
1146
|
-
__isFragment?: undefined;
|
|
1147
|
-
__isTeleport?: undefined;
|
|
1148
|
-
__isSuspense?: undefined;
|
|
1149
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
1150
|
-
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
|
|
1151
|
-
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
1152
|
-
readonly icon: {
|
|
1153
|
-
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
1154
|
-
readonly required: false;
|
|
1155
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1156
|
-
__epPropKey: true;
|
|
1157
|
-
};
|
|
1158
|
-
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1159
|
-
readonly alt: StringConstructor;
|
|
1160
|
-
readonly srcSet: StringConstructor;
|
|
1161
|
-
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => any) | ((new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => any))[], unknown, unknown, "cover", boolean>;
|
|
1162
|
-
}>> & {
|
|
1163
|
-
onError?: ((evt: Event) => any) | undefined;
|
|
1164
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1165
|
-
error: (evt: Event) => void;
|
|
1166
|
-
}, string, {
|
|
1167
|
-
readonly size: import("element-plus").ButtonType<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number>;
|
|
1168
|
-
readonly shape: import("element-plus").ButtonType<StringConstructor, "circle" | "square", unknown>;
|
|
1169
|
-
readonly src: string;
|
|
1170
|
-
readonly fit: any;
|
|
1171
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1172
|
-
$slots: {
|
|
1173
|
-
default?(_: {}): any;
|
|
1174
|
-
};
|
|
1175
|
-
})>;
|
|
1176
|
-
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1177
|
-
DialogForm: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1178
|
-
title: {
|
|
1179
|
-
type: StringConstructor;
|
|
1180
|
-
default: string;
|
|
1181
|
-
};
|
|
1182
|
-
modelValue: {
|
|
1183
|
-
type: ObjectConstructor;
|
|
1184
|
-
default: () => {};
|
|
1185
|
-
};
|
|
1186
|
-
openReset: {
|
|
1187
|
-
type: BooleanConstructor;
|
|
1188
|
-
default: boolean;
|
|
1189
|
-
};
|
|
1190
|
-
visible: {
|
|
1191
|
-
type: BooleanConstructor;
|
|
1192
|
-
default: boolean;
|
|
1193
|
-
};
|
|
1194
|
-
formItems: {
|
|
1195
|
-
type: ArrayConstructor;
|
|
1196
|
-
default: () => any[];
|
|
1197
|
-
};
|
|
1198
|
-
dialogFormProps: {
|
|
1199
|
-
type: ObjectConstructor;
|
|
1200
|
-
default: () => {};
|
|
1124
|
+
validateCatch: {
|
|
1125
|
+
type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
|
|
1126
|
+
default: (err: any, init?: {
|
|
1127
|
+
prefix?: string;
|
|
1128
|
+
suffix?: string;
|
|
1129
|
+
}) => void;
|
|
1201
1130
|
};
|
|
1202
1131
|
}>, {
|
|
1203
1132
|
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1225,6 +1154,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1225
1154
|
type: ObjectConstructor;
|
|
1226
1155
|
default: () => {};
|
|
1227
1156
|
};
|
|
1157
|
+
validateCatch: {
|
|
1158
|
+
type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
|
|
1159
|
+
default: (err: any, init?: {
|
|
1160
|
+
prefix?: string;
|
|
1161
|
+
suffix?: string;
|
|
1162
|
+
}) => void;
|
|
1163
|
+
};
|
|
1228
1164
|
}>> & Readonly<{
|
|
1229
1165
|
"onUpdate:visible"?: (...args: any[]) => any;
|
|
1230
1166
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
@@ -1232,7 +1168,1119 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1232
1168
|
}> & {}>;
|
|
1233
1169
|
emit: (event: "update:modelValue" | "change" | "update:visible", ...args: any[]) => void;
|
|
1234
1170
|
formData: import("vue").Ref<Record<string, any>, Record<string, any>>;
|
|
1171
|
+
formDef: {
|
|
1172
|
+
_ref: import("vue").ShallowRef<{
|
|
1173
|
+
$: import("vue").ComponentInternalInstance;
|
|
1174
|
+
$data: {};
|
|
1175
|
+
$props: Partial<{
|
|
1176
|
+
readonly disabled: boolean;
|
|
1177
|
+
readonly inline: boolean;
|
|
1178
|
+
readonly labelWidth: string | number;
|
|
1179
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
1180
|
+
readonly inlineMessage: boolean;
|
|
1181
|
+
readonly showMessage: boolean;
|
|
1182
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
1183
|
+
readonly labelSuffix: string;
|
|
1184
|
+
readonly validateOnRuleChange: boolean;
|
|
1185
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
1186
|
+
readonly statusIcon: boolean;
|
|
1187
|
+
readonly hideRequiredAsterisk: boolean;
|
|
1188
|
+
readonly scrollToError: boolean;
|
|
1189
|
+
}> & Omit<{
|
|
1190
|
+
readonly inline: boolean;
|
|
1191
|
+
readonly labelWidth: string | number;
|
|
1192
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
1193
|
+
readonly inlineMessage: boolean;
|
|
1194
|
+
readonly showMessage: boolean;
|
|
1195
|
+
readonly disabled: boolean;
|
|
1196
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
1197
|
+
readonly labelSuffix: string;
|
|
1198
|
+
readonly statusIcon: boolean;
|
|
1199
|
+
readonly validateOnRuleChange: boolean;
|
|
1200
|
+
readonly hideRequiredAsterisk: boolean;
|
|
1201
|
+
readonly scrollToError: boolean;
|
|
1202
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
1203
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
1204
|
+
readonly rules?: Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>;
|
|
1205
|
+
readonly model?: Record<string, any>;
|
|
1206
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1207
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "disabled" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
|
|
1208
|
+
$attrs: {
|
|
1209
|
+
[x: string]: unknown;
|
|
1210
|
+
};
|
|
1211
|
+
$refs: {
|
|
1212
|
+
[x: string]: unknown;
|
|
1213
|
+
};
|
|
1214
|
+
$slots: Readonly<{
|
|
1215
|
+
[name: string]: import("vue").Slot<any>;
|
|
1216
|
+
}>;
|
|
1217
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
1218
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
1219
|
+
$host: Element | null;
|
|
1220
|
+
$emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
1221
|
+
$el: any;
|
|
1222
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
1223
|
+
readonly model: ObjectConstructor;
|
|
1224
|
+
readonly rules: {
|
|
1225
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>>;
|
|
1226
|
+
readonly required: false;
|
|
1227
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1228
|
+
__epPropKey: true;
|
|
1229
|
+
};
|
|
1230
|
+
readonly labelPosition: {
|
|
1231
|
+
readonly type: import("vue").PropType<"top" | "left" | "right">;
|
|
1232
|
+
readonly required: false;
|
|
1233
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1234
|
+
__epPropKey: true;
|
|
1235
|
+
} & {
|
|
1236
|
+
readonly default: "right";
|
|
1237
|
+
};
|
|
1238
|
+
readonly requireAsteriskPosition: {
|
|
1239
|
+
readonly type: import("vue").PropType<"left" | "right">;
|
|
1240
|
+
readonly required: false;
|
|
1241
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1242
|
+
__epPropKey: true;
|
|
1243
|
+
} & {
|
|
1244
|
+
readonly default: "left";
|
|
1245
|
+
};
|
|
1246
|
+
readonly labelWidth: {
|
|
1247
|
+
readonly type: import("vue").PropType<string | number>;
|
|
1248
|
+
readonly required: false;
|
|
1249
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1250
|
+
__epPropKey: true;
|
|
1251
|
+
} & {
|
|
1252
|
+
readonly default: "";
|
|
1253
|
+
};
|
|
1254
|
+
readonly labelSuffix: {
|
|
1255
|
+
readonly type: import("vue").PropType<string>;
|
|
1256
|
+
readonly required: false;
|
|
1257
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1258
|
+
__epPropKey: true;
|
|
1259
|
+
} & {
|
|
1260
|
+
readonly default: "";
|
|
1261
|
+
};
|
|
1262
|
+
readonly inline: BooleanConstructor;
|
|
1263
|
+
readonly inlineMessage: BooleanConstructor;
|
|
1264
|
+
readonly statusIcon: BooleanConstructor;
|
|
1265
|
+
readonly showMessage: {
|
|
1266
|
+
readonly type: import("vue").PropType<boolean>;
|
|
1267
|
+
readonly required: false;
|
|
1268
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1269
|
+
__epPropKey: true;
|
|
1270
|
+
} & {
|
|
1271
|
+
readonly default: true;
|
|
1272
|
+
};
|
|
1273
|
+
readonly validateOnRuleChange: {
|
|
1274
|
+
readonly type: import("vue").PropType<boolean>;
|
|
1275
|
+
readonly required: false;
|
|
1276
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1277
|
+
__epPropKey: true;
|
|
1278
|
+
} & {
|
|
1279
|
+
readonly default: true;
|
|
1280
|
+
};
|
|
1281
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
1282
|
+
readonly scrollToError: BooleanConstructor;
|
|
1283
|
+
readonly scrollIntoViewOptions: {
|
|
1284
|
+
readonly type: import("vue").PropType<boolean | Record<string, any>>;
|
|
1285
|
+
readonly required: false;
|
|
1286
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1287
|
+
__epPropKey: true;
|
|
1288
|
+
} & {
|
|
1289
|
+
readonly default: true;
|
|
1290
|
+
};
|
|
1291
|
+
readonly size: {
|
|
1292
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
1293
|
+
readonly required: false;
|
|
1294
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1295
|
+
__epPropKey: true;
|
|
1296
|
+
};
|
|
1297
|
+
readonly disabled: BooleanConstructor;
|
|
1298
|
+
}>> & {
|
|
1299
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1300
|
+
}, {
|
|
1301
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
1302
|
+
validateField: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[], callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
1303
|
+
resetFields: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
1304
|
+
clearValidate: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
1305
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
1306
|
+
getField: (prop: import("element-plus").FormItemProp) => import("element-plus").FormItemContext | undefined;
|
|
1307
|
+
fields: import("vue").Reactive<import("element-plus").FormItemContext[]>;
|
|
1308
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1309
|
+
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
1310
|
+
}, string, {
|
|
1311
|
+
readonly disabled: boolean;
|
|
1312
|
+
readonly inline: boolean;
|
|
1313
|
+
readonly labelWidth: string | number;
|
|
1314
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
1315
|
+
readonly inlineMessage: boolean;
|
|
1316
|
+
readonly showMessage: boolean;
|
|
1317
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
1318
|
+
readonly labelSuffix: string;
|
|
1319
|
+
readonly validateOnRuleChange: boolean;
|
|
1320
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
1321
|
+
readonly statusIcon: boolean;
|
|
1322
|
+
readonly hideRequiredAsterisk: boolean;
|
|
1323
|
+
readonly scrollToError: boolean;
|
|
1324
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
1325
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1326
|
+
created?: (() => void) | (() => void)[];
|
|
1327
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1328
|
+
mounted?: (() => void) | (() => void)[];
|
|
1329
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1330
|
+
updated?: (() => void) | (() => void)[];
|
|
1331
|
+
activated?: (() => void) | (() => void)[];
|
|
1332
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1333
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1334
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1335
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1336
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1337
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
1338
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
1339
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1340
|
+
};
|
|
1341
|
+
$forceUpdate: () => void;
|
|
1342
|
+
$nextTick: typeof import("vue").nextTick;
|
|
1343
|
+
$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;
|
|
1344
|
+
} & Readonly<{
|
|
1345
|
+
readonly disabled: boolean;
|
|
1346
|
+
readonly inline: boolean;
|
|
1347
|
+
readonly labelWidth: string | number;
|
|
1348
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
1349
|
+
readonly inlineMessage: boolean;
|
|
1350
|
+
readonly showMessage: boolean;
|
|
1351
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
1352
|
+
readonly labelSuffix: string;
|
|
1353
|
+
readonly validateOnRuleChange: boolean;
|
|
1354
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
1355
|
+
readonly statusIcon: boolean;
|
|
1356
|
+
readonly hideRequiredAsterisk: boolean;
|
|
1357
|
+
readonly scrollToError: boolean;
|
|
1358
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
1359
|
+
readonly model: ObjectConstructor;
|
|
1360
|
+
readonly rules: {
|
|
1361
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>>;
|
|
1362
|
+
readonly required: false;
|
|
1363
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1364
|
+
__epPropKey: true;
|
|
1365
|
+
};
|
|
1366
|
+
readonly labelPosition: {
|
|
1367
|
+
readonly type: import("vue").PropType<"top" | "left" | "right">;
|
|
1368
|
+
readonly required: false;
|
|
1369
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1370
|
+
__epPropKey: true;
|
|
1371
|
+
} & {
|
|
1372
|
+
readonly default: "right";
|
|
1373
|
+
};
|
|
1374
|
+
readonly requireAsteriskPosition: {
|
|
1375
|
+
readonly type: import("vue").PropType<"left" | "right">;
|
|
1376
|
+
readonly required: false;
|
|
1377
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1378
|
+
__epPropKey: true;
|
|
1379
|
+
} & {
|
|
1380
|
+
readonly default: "left";
|
|
1381
|
+
};
|
|
1382
|
+
readonly labelWidth: {
|
|
1383
|
+
readonly type: import("vue").PropType<string | number>;
|
|
1384
|
+
readonly required: false;
|
|
1385
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1386
|
+
__epPropKey: true;
|
|
1387
|
+
} & {
|
|
1388
|
+
readonly default: "";
|
|
1389
|
+
};
|
|
1390
|
+
readonly labelSuffix: {
|
|
1391
|
+
readonly type: import("vue").PropType<string>;
|
|
1392
|
+
readonly required: false;
|
|
1393
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1394
|
+
__epPropKey: true;
|
|
1395
|
+
} & {
|
|
1396
|
+
readonly default: "";
|
|
1397
|
+
};
|
|
1398
|
+
readonly inline: BooleanConstructor;
|
|
1399
|
+
readonly inlineMessage: BooleanConstructor;
|
|
1400
|
+
readonly statusIcon: BooleanConstructor;
|
|
1401
|
+
readonly showMessage: {
|
|
1402
|
+
readonly type: import("vue").PropType<boolean>;
|
|
1403
|
+
readonly required: false;
|
|
1404
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1405
|
+
__epPropKey: true;
|
|
1406
|
+
} & {
|
|
1407
|
+
readonly default: true;
|
|
1408
|
+
};
|
|
1409
|
+
readonly validateOnRuleChange: {
|
|
1410
|
+
readonly type: import("vue").PropType<boolean>;
|
|
1411
|
+
readonly required: false;
|
|
1412
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1413
|
+
__epPropKey: true;
|
|
1414
|
+
} & {
|
|
1415
|
+
readonly default: true;
|
|
1416
|
+
};
|
|
1417
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
1418
|
+
readonly scrollToError: BooleanConstructor;
|
|
1419
|
+
readonly scrollIntoViewOptions: {
|
|
1420
|
+
readonly type: import("vue").PropType<boolean | Record<string, any>>;
|
|
1421
|
+
readonly required: false;
|
|
1422
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1423
|
+
__epPropKey: true;
|
|
1424
|
+
} & {
|
|
1425
|
+
readonly default: true;
|
|
1426
|
+
};
|
|
1427
|
+
readonly size: {
|
|
1428
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
1429
|
+
readonly required: false;
|
|
1430
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1431
|
+
__epPropKey: true;
|
|
1432
|
+
};
|
|
1433
|
+
readonly disabled: BooleanConstructor;
|
|
1434
|
+
}>> & {
|
|
1435
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1436
|
+
}, "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "disabled" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField"> & import("vue").ShallowUnwrapRef<{
|
|
1437
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
1438
|
+
validateField: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[], callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
1439
|
+
resetFields: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
1440
|
+
clearValidate: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
1441
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
1442
|
+
getField: (prop: import("element-plus").FormItemProp) => import("element-plus").FormItemContext | undefined;
|
|
1443
|
+
fields: import("vue").Reactive<import("element-plus").FormItemContext[]>;
|
|
1444
|
+
}> & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
|
|
1445
|
+
$slots: {
|
|
1446
|
+
default?(_: {}): any;
|
|
1447
|
+
};
|
|
1448
|
+
}, {
|
|
1449
|
+
$: import("vue").ComponentInternalInstance;
|
|
1450
|
+
$data: {};
|
|
1451
|
+
$props: Partial<{
|
|
1452
|
+
readonly disabled: boolean;
|
|
1453
|
+
readonly inline: boolean;
|
|
1454
|
+
readonly labelWidth: string | number;
|
|
1455
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
1456
|
+
readonly inlineMessage: boolean;
|
|
1457
|
+
readonly showMessage: boolean;
|
|
1458
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
1459
|
+
readonly labelSuffix: string;
|
|
1460
|
+
readonly validateOnRuleChange: boolean;
|
|
1461
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
1462
|
+
readonly statusIcon: boolean;
|
|
1463
|
+
readonly hideRequiredAsterisk: boolean;
|
|
1464
|
+
readonly scrollToError: boolean;
|
|
1465
|
+
}> & Omit<{
|
|
1466
|
+
readonly inline: boolean;
|
|
1467
|
+
readonly labelWidth: string | number;
|
|
1468
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
1469
|
+
readonly inlineMessage: boolean;
|
|
1470
|
+
readonly showMessage: boolean;
|
|
1471
|
+
readonly disabled: boolean;
|
|
1472
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
1473
|
+
readonly labelSuffix: string;
|
|
1474
|
+
readonly statusIcon: boolean;
|
|
1475
|
+
readonly validateOnRuleChange: boolean;
|
|
1476
|
+
readonly hideRequiredAsterisk: boolean;
|
|
1477
|
+
readonly scrollToError: boolean;
|
|
1478
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
1479
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
1480
|
+
readonly rules?: Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>;
|
|
1481
|
+
readonly model?: Record<string, any>;
|
|
1482
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1483
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "disabled" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
|
|
1484
|
+
$attrs: {
|
|
1485
|
+
[x: string]: unknown;
|
|
1486
|
+
};
|
|
1487
|
+
$refs: {
|
|
1488
|
+
[x: string]: unknown;
|
|
1489
|
+
};
|
|
1490
|
+
$slots: Readonly<{
|
|
1491
|
+
[name: string]: import("vue").Slot<any>;
|
|
1492
|
+
}>;
|
|
1493
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
1494
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
1495
|
+
$host: Element | null;
|
|
1496
|
+
$emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
1497
|
+
$el: any;
|
|
1498
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
1499
|
+
readonly model: ObjectConstructor;
|
|
1500
|
+
readonly rules: {
|
|
1501
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>>;
|
|
1502
|
+
readonly required: false;
|
|
1503
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1504
|
+
__epPropKey: true;
|
|
1505
|
+
};
|
|
1506
|
+
readonly labelPosition: {
|
|
1507
|
+
readonly type: import("vue").PropType<"top" | "left" | "right">;
|
|
1508
|
+
readonly required: false;
|
|
1509
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1510
|
+
__epPropKey: true;
|
|
1511
|
+
} & {
|
|
1512
|
+
readonly default: "right";
|
|
1513
|
+
};
|
|
1514
|
+
readonly requireAsteriskPosition: {
|
|
1515
|
+
readonly type: import("vue").PropType<"left" | "right">;
|
|
1516
|
+
readonly required: false;
|
|
1517
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1518
|
+
__epPropKey: true;
|
|
1519
|
+
} & {
|
|
1520
|
+
readonly default: "left";
|
|
1521
|
+
};
|
|
1522
|
+
readonly labelWidth: {
|
|
1523
|
+
readonly type: import("vue").PropType<string | number>;
|
|
1524
|
+
readonly required: false;
|
|
1525
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1526
|
+
__epPropKey: true;
|
|
1527
|
+
} & {
|
|
1528
|
+
readonly default: "";
|
|
1529
|
+
};
|
|
1530
|
+
readonly labelSuffix: {
|
|
1531
|
+
readonly type: import("vue").PropType<string>;
|
|
1532
|
+
readonly required: false;
|
|
1533
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1534
|
+
__epPropKey: true;
|
|
1535
|
+
} & {
|
|
1536
|
+
readonly default: "";
|
|
1537
|
+
};
|
|
1538
|
+
readonly inline: BooleanConstructor;
|
|
1539
|
+
readonly inlineMessage: BooleanConstructor;
|
|
1540
|
+
readonly statusIcon: BooleanConstructor;
|
|
1541
|
+
readonly showMessage: {
|
|
1542
|
+
readonly type: import("vue").PropType<boolean>;
|
|
1543
|
+
readonly required: false;
|
|
1544
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1545
|
+
__epPropKey: true;
|
|
1546
|
+
} & {
|
|
1547
|
+
readonly default: true;
|
|
1548
|
+
};
|
|
1549
|
+
readonly validateOnRuleChange: {
|
|
1550
|
+
readonly type: import("vue").PropType<boolean>;
|
|
1551
|
+
readonly required: false;
|
|
1552
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1553
|
+
__epPropKey: true;
|
|
1554
|
+
} & {
|
|
1555
|
+
readonly default: true;
|
|
1556
|
+
};
|
|
1557
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
1558
|
+
readonly scrollToError: BooleanConstructor;
|
|
1559
|
+
readonly scrollIntoViewOptions: {
|
|
1560
|
+
readonly type: import("vue").PropType<boolean | Record<string, any>>;
|
|
1561
|
+
readonly required: false;
|
|
1562
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1563
|
+
__epPropKey: true;
|
|
1564
|
+
} & {
|
|
1565
|
+
readonly default: true;
|
|
1566
|
+
};
|
|
1567
|
+
readonly size: {
|
|
1568
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
1569
|
+
readonly required: false;
|
|
1570
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1571
|
+
__epPropKey: true;
|
|
1572
|
+
};
|
|
1573
|
+
readonly disabled: BooleanConstructor;
|
|
1574
|
+
}>> & {
|
|
1575
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1576
|
+
}, {
|
|
1577
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
1578
|
+
validateField: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[], callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
1579
|
+
resetFields: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
1580
|
+
clearValidate: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
1581
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
1582
|
+
getField: (prop: import("element-plus").FormItemProp) => import("element-plus").FormItemContext | undefined;
|
|
1583
|
+
fields: import("vue").Reactive<import("element-plus").FormItemContext[]>;
|
|
1584
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1585
|
+
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
1586
|
+
}, string, {
|
|
1587
|
+
readonly disabled: boolean;
|
|
1588
|
+
readonly inline: boolean;
|
|
1589
|
+
readonly labelWidth: string | number;
|
|
1590
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
1591
|
+
readonly inlineMessage: boolean;
|
|
1592
|
+
readonly showMessage: boolean;
|
|
1593
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
1594
|
+
readonly labelSuffix: string;
|
|
1595
|
+
readonly validateOnRuleChange: boolean;
|
|
1596
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
1597
|
+
readonly statusIcon: boolean;
|
|
1598
|
+
readonly hideRequiredAsterisk: boolean;
|
|
1599
|
+
readonly scrollToError: boolean;
|
|
1600
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
1601
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1602
|
+
created?: (() => void) | (() => void)[];
|
|
1603
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1604
|
+
mounted?: (() => void) | (() => void)[];
|
|
1605
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1606
|
+
updated?: (() => void) | (() => void)[];
|
|
1607
|
+
activated?: (() => void) | (() => void)[];
|
|
1608
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1609
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1610
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1611
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1612
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1613
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
1614
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
1615
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1616
|
+
};
|
|
1617
|
+
$forceUpdate: () => void;
|
|
1618
|
+
$nextTick: typeof import("vue").nextTick;
|
|
1619
|
+
$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;
|
|
1620
|
+
} & Readonly<{
|
|
1621
|
+
readonly disabled: boolean;
|
|
1622
|
+
readonly inline: boolean;
|
|
1623
|
+
readonly labelWidth: string | number;
|
|
1624
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
1625
|
+
readonly inlineMessage: boolean;
|
|
1626
|
+
readonly showMessage: boolean;
|
|
1627
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
1628
|
+
readonly labelSuffix: string;
|
|
1629
|
+
readonly validateOnRuleChange: boolean;
|
|
1630
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
1631
|
+
readonly statusIcon: boolean;
|
|
1632
|
+
readonly hideRequiredAsterisk: boolean;
|
|
1633
|
+
readonly scrollToError: boolean;
|
|
1634
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
1635
|
+
readonly model: ObjectConstructor;
|
|
1636
|
+
readonly rules: {
|
|
1637
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>>;
|
|
1638
|
+
readonly required: false;
|
|
1639
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1640
|
+
__epPropKey: true;
|
|
1641
|
+
};
|
|
1642
|
+
readonly labelPosition: {
|
|
1643
|
+
readonly type: import("vue").PropType<"top" | "left" | "right">;
|
|
1644
|
+
readonly required: false;
|
|
1645
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1646
|
+
__epPropKey: true;
|
|
1647
|
+
} & {
|
|
1648
|
+
readonly default: "right";
|
|
1649
|
+
};
|
|
1650
|
+
readonly requireAsteriskPosition: {
|
|
1651
|
+
readonly type: import("vue").PropType<"left" | "right">;
|
|
1652
|
+
readonly required: false;
|
|
1653
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1654
|
+
__epPropKey: true;
|
|
1655
|
+
} & {
|
|
1656
|
+
readonly default: "left";
|
|
1657
|
+
};
|
|
1658
|
+
readonly labelWidth: {
|
|
1659
|
+
readonly type: import("vue").PropType<string | number>;
|
|
1660
|
+
readonly required: false;
|
|
1661
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1662
|
+
__epPropKey: true;
|
|
1663
|
+
} & {
|
|
1664
|
+
readonly default: "";
|
|
1665
|
+
};
|
|
1666
|
+
readonly labelSuffix: {
|
|
1667
|
+
readonly type: import("vue").PropType<string>;
|
|
1668
|
+
readonly required: false;
|
|
1669
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1670
|
+
__epPropKey: true;
|
|
1671
|
+
} & {
|
|
1672
|
+
readonly default: "";
|
|
1673
|
+
};
|
|
1674
|
+
readonly inline: BooleanConstructor;
|
|
1675
|
+
readonly inlineMessage: BooleanConstructor;
|
|
1676
|
+
readonly statusIcon: BooleanConstructor;
|
|
1677
|
+
readonly showMessage: {
|
|
1678
|
+
readonly type: import("vue").PropType<boolean>;
|
|
1679
|
+
readonly required: false;
|
|
1680
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1681
|
+
__epPropKey: true;
|
|
1682
|
+
} & {
|
|
1683
|
+
readonly default: true;
|
|
1684
|
+
};
|
|
1685
|
+
readonly validateOnRuleChange: {
|
|
1686
|
+
readonly type: import("vue").PropType<boolean>;
|
|
1687
|
+
readonly required: false;
|
|
1688
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1689
|
+
__epPropKey: true;
|
|
1690
|
+
} & {
|
|
1691
|
+
readonly default: true;
|
|
1692
|
+
};
|
|
1693
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
1694
|
+
readonly scrollToError: BooleanConstructor;
|
|
1695
|
+
readonly scrollIntoViewOptions: {
|
|
1696
|
+
readonly type: import("vue").PropType<boolean | Record<string, any>>;
|
|
1697
|
+
readonly required: false;
|
|
1698
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1699
|
+
__epPropKey: true;
|
|
1700
|
+
} & {
|
|
1701
|
+
readonly default: true;
|
|
1702
|
+
};
|
|
1703
|
+
readonly size: {
|
|
1704
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
1705
|
+
readonly required: false;
|
|
1706
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1707
|
+
__epPropKey: true;
|
|
1708
|
+
};
|
|
1709
|
+
readonly disabled: BooleanConstructor;
|
|
1710
|
+
}>> & {
|
|
1711
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1712
|
+
}, "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "disabled" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField"> & import("vue").ShallowUnwrapRef<{
|
|
1713
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
1714
|
+
validateField: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[], callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
1715
|
+
resetFields: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
1716
|
+
clearValidate: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
1717
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
1718
|
+
getField: (prop: import("element-plus").FormItemProp) => import("element-plus").FormItemContext | undefined;
|
|
1719
|
+
fields: import("vue").Reactive<import("element-plus").FormItemContext[]>;
|
|
1720
|
+
}> & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
|
|
1721
|
+
$slots: {
|
|
1722
|
+
default?(_: {}): any;
|
|
1723
|
+
};
|
|
1724
|
+
}>;
|
|
1725
|
+
readonly value: {
|
|
1726
|
+
$: import("vue").ComponentInternalInstance;
|
|
1727
|
+
$data: {};
|
|
1728
|
+
$props: Partial<{
|
|
1729
|
+
readonly disabled: boolean;
|
|
1730
|
+
readonly inline: boolean;
|
|
1731
|
+
readonly labelWidth: string | number;
|
|
1732
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
1733
|
+
readonly inlineMessage: boolean;
|
|
1734
|
+
readonly showMessage: boolean;
|
|
1735
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
1736
|
+
readonly labelSuffix: string;
|
|
1737
|
+
readonly validateOnRuleChange: boolean;
|
|
1738
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
1739
|
+
readonly statusIcon: boolean;
|
|
1740
|
+
readonly hideRequiredAsterisk: boolean;
|
|
1741
|
+
readonly scrollToError: boolean;
|
|
1742
|
+
}> & Omit<{
|
|
1743
|
+
readonly inline: boolean;
|
|
1744
|
+
readonly labelWidth: string | number;
|
|
1745
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
1746
|
+
readonly inlineMessage: boolean;
|
|
1747
|
+
readonly showMessage: boolean;
|
|
1748
|
+
readonly disabled: boolean;
|
|
1749
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
1750
|
+
readonly labelSuffix: string;
|
|
1751
|
+
readonly statusIcon: boolean;
|
|
1752
|
+
readonly validateOnRuleChange: boolean;
|
|
1753
|
+
readonly hideRequiredAsterisk: boolean;
|
|
1754
|
+
readonly scrollToError: boolean;
|
|
1755
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
1756
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
1757
|
+
readonly rules?: Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>;
|
|
1758
|
+
readonly model?: Record<string, any>;
|
|
1759
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1760
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "disabled" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
|
|
1761
|
+
$attrs: {
|
|
1762
|
+
[x: string]: unknown;
|
|
1763
|
+
};
|
|
1764
|
+
$refs: {
|
|
1765
|
+
[x: string]: unknown;
|
|
1766
|
+
};
|
|
1767
|
+
$slots: Readonly<{
|
|
1768
|
+
[name: string]: import("vue").Slot<any>;
|
|
1769
|
+
}>;
|
|
1770
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
1771
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
1772
|
+
$host: Element | null;
|
|
1773
|
+
$emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
1774
|
+
$el: any;
|
|
1775
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
1776
|
+
readonly model: ObjectConstructor;
|
|
1777
|
+
readonly rules: {
|
|
1778
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>>;
|
|
1779
|
+
readonly required: false;
|
|
1780
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1781
|
+
__epPropKey: true;
|
|
1782
|
+
};
|
|
1783
|
+
readonly labelPosition: {
|
|
1784
|
+
readonly type: import("vue").PropType<"top" | "left" | "right">;
|
|
1785
|
+
readonly required: false;
|
|
1786
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1787
|
+
__epPropKey: true;
|
|
1788
|
+
} & {
|
|
1789
|
+
readonly default: "right";
|
|
1790
|
+
};
|
|
1791
|
+
readonly requireAsteriskPosition: {
|
|
1792
|
+
readonly type: import("vue").PropType<"left" | "right">;
|
|
1793
|
+
readonly required: false;
|
|
1794
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1795
|
+
__epPropKey: true;
|
|
1796
|
+
} & {
|
|
1797
|
+
readonly default: "left";
|
|
1798
|
+
};
|
|
1799
|
+
readonly labelWidth: {
|
|
1800
|
+
readonly type: import("vue").PropType<string | number>;
|
|
1801
|
+
readonly required: false;
|
|
1802
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1803
|
+
__epPropKey: true;
|
|
1804
|
+
} & {
|
|
1805
|
+
readonly default: "";
|
|
1806
|
+
};
|
|
1807
|
+
readonly labelSuffix: {
|
|
1808
|
+
readonly type: import("vue").PropType<string>;
|
|
1809
|
+
readonly required: false;
|
|
1810
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1811
|
+
__epPropKey: true;
|
|
1812
|
+
} & {
|
|
1813
|
+
readonly default: "";
|
|
1814
|
+
};
|
|
1815
|
+
readonly inline: BooleanConstructor;
|
|
1816
|
+
readonly inlineMessage: BooleanConstructor;
|
|
1817
|
+
readonly statusIcon: BooleanConstructor;
|
|
1818
|
+
readonly showMessage: {
|
|
1819
|
+
readonly type: import("vue").PropType<boolean>;
|
|
1820
|
+
readonly required: false;
|
|
1821
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1822
|
+
__epPropKey: true;
|
|
1823
|
+
} & {
|
|
1824
|
+
readonly default: true;
|
|
1825
|
+
};
|
|
1826
|
+
readonly validateOnRuleChange: {
|
|
1827
|
+
readonly type: import("vue").PropType<boolean>;
|
|
1828
|
+
readonly required: false;
|
|
1829
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1830
|
+
__epPropKey: true;
|
|
1831
|
+
} & {
|
|
1832
|
+
readonly default: true;
|
|
1833
|
+
};
|
|
1834
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
1835
|
+
readonly scrollToError: BooleanConstructor;
|
|
1836
|
+
readonly scrollIntoViewOptions: {
|
|
1837
|
+
readonly type: import("vue").PropType<boolean | Record<string, any>>;
|
|
1838
|
+
readonly required: false;
|
|
1839
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1840
|
+
__epPropKey: true;
|
|
1841
|
+
} & {
|
|
1842
|
+
readonly default: true;
|
|
1843
|
+
};
|
|
1844
|
+
readonly size: {
|
|
1845
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
1846
|
+
readonly required: false;
|
|
1847
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1848
|
+
__epPropKey: true;
|
|
1849
|
+
};
|
|
1850
|
+
readonly disabled: BooleanConstructor;
|
|
1851
|
+
}>> & {
|
|
1852
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1853
|
+
}, {
|
|
1854
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
1855
|
+
validateField: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[], callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
1856
|
+
resetFields: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
1857
|
+
clearValidate: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
1858
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
1859
|
+
getField: (prop: import("element-plus").FormItemProp) => import("element-plus").FormItemContext | undefined;
|
|
1860
|
+
fields: import("vue").Reactive<import("element-plus").FormItemContext[]>;
|
|
1861
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1862
|
+
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
1863
|
+
}, string, {
|
|
1864
|
+
readonly disabled: boolean;
|
|
1865
|
+
readonly inline: boolean;
|
|
1866
|
+
readonly labelWidth: string | number;
|
|
1867
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
1868
|
+
readonly inlineMessage: boolean;
|
|
1869
|
+
readonly showMessage: boolean;
|
|
1870
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
1871
|
+
readonly labelSuffix: string;
|
|
1872
|
+
readonly validateOnRuleChange: boolean;
|
|
1873
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
1874
|
+
readonly statusIcon: boolean;
|
|
1875
|
+
readonly hideRequiredAsterisk: boolean;
|
|
1876
|
+
readonly scrollToError: boolean;
|
|
1877
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
1878
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1879
|
+
created?: (() => void) | (() => void)[];
|
|
1880
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1881
|
+
mounted?: (() => void) | (() => void)[];
|
|
1882
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1883
|
+
updated?: (() => void) | (() => void)[];
|
|
1884
|
+
activated?: (() => void) | (() => void)[];
|
|
1885
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1886
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1887
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1888
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1889
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1890
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
1891
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
1892
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1893
|
+
};
|
|
1894
|
+
$forceUpdate: () => void;
|
|
1895
|
+
$nextTick: typeof import("vue").nextTick;
|
|
1896
|
+
$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;
|
|
1897
|
+
} & Readonly<{
|
|
1898
|
+
readonly disabled: boolean;
|
|
1899
|
+
readonly inline: boolean;
|
|
1900
|
+
readonly labelWidth: string | number;
|
|
1901
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
1902
|
+
readonly inlineMessage: boolean;
|
|
1903
|
+
readonly showMessage: boolean;
|
|
1904
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
1905
|
+
readonly labelSuffix: string;
|
|
1906
|
+
readonly validateOnRuleChange: boolean;
|
|
1907
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
1908
|
+
readonly statusIcon: boolean;
|
|
1909
|
+
readonly hideRequiredAsterisk: boolean;
|
|
1910
|
+
readonly scrollToError: boolean;
|
|
1911
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
1912
|
+
readonly model: ObjectConstructor;
|
|
1913
|
+
readonly rules: {
|
|
1914
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>>;
|
|
1915
|
+
readonly required: false;
|
|
1916
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1917
|
+
__epPropKey: true;
|
|
1918
|
+
};
|
|
1919
|
+
readonly labelPosition: {
|
|
1920
|
+
readonly type: import("vue").PropType<"top" | "left" | "right">;
|
|
1921
|
+
readonly required: false;
|
|
1922
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1923
|
+
__epPropKey: true;
|
|
1924
|
+
} & {
|
|
1925
|
+
readonly default: "right";
|
|
1926
|
+
};
|
|
1927
|
+
readonly requireAsteriskPosition: {
|
|
1928
|
+
readonly type: import("vue").PropType<"left" | "right">;
|
|
1929
|
+
readonly required: false;
|
|
1930
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1931
|
+
__epPropKey: true;
|
|
1932
|
+
} & {
|
|
1933
|
+
readonly default: "left";
|
|
1934
|
+
};
|
|
1935
|
+
readonly labelWidth: {
|
|
1936
|
+
readonly type: import("vue").PropType<string | number>;
|
|
1937
|
+
readonly required: false;
|
|
1938
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1939
|
+
__epPropKey: true;
|
|
1940
|
+
} & {
|
|
1941
|
+
readonly default: "";
|
|
1942
|
+
};
|
|
1943
|
+
readonly labelSuffix: {
|
|
1944
|
+
readonly type: import("vue").PropType<string>;
|
|
1945
|
+
readonly required: false;
|
|
1946
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1947
|
+
__epPropKey: true;
|
|
1948
|
+
} & {
|
|
1949
|
+
readonly default: "";
|
|
1950
|
+
};
|
|
1951
|
+
readonly inline: BooleanConstructor;
|
|
1952
|
+
readonly inlineMessage: BooleanConstructor;
|
|
1953
|
+
readonly statusIcon: BooleanConstructor;
|
|
1954
|
+
readonly showMessage: {
|
|
1955
|
+
readonly type: import("vue").PropType<boolean>;
|
|
1956
|
+
readonly required: false;
|
|
1957
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1958
|
+
__epPropKey: true;
|
|
1959
|
+
} & {
|
|
1960
|
+
readonly default: true;
|
|
1961
|
+
};
|
|
1962
|
+
readonly validateOnRuleChange: {
|
|
1963
|
+
readonly type: import("vue").PropType<boolean>;
|
|
1964
|
+
readonly required: false;
|
|
1965
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1966
|
+
__epPropKey: true;
|
|
1967
|
+
} & {
|
|
1968
|
+
readonly default: true;
|
|
1969
|
+
};
|
|
1970
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
1971
|
+
readonly scrollToError: BooleanConstructor;
|
|
1972
|
+
readonly scrollIntoViewOptions: {
|
|
1973
|
+
readonly type: import("vue").PropType<boolean | Record<string, any>>;
|
|
1974
|
+
readonly required: false;
|
|
1975
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1976
|
+
__epPropKey: true;
|
|
1977
|
+
} & {
|
|
1978
|
+
readonly default: true;
|
|
1979
|
+
};
|
|
1980
|
+
readonly size: {
|
|
1981
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
1982
|
+
readonly required: false;
|
|
1983
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1984
|
+
__epPropKey: true;
|
|
1985
|
+
};
|
|
1986
|
+
readonly disabled: BooleanConstructor;
|
|
1987
|
+
}>> & {
|
|
1988
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1989
|
+
}, "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "disabled" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField"> & import("vue").ShallowUnwrapRef<{
|
|
1990
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
1991
|
+
validateField: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[], callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
1992
|
+
resetFields: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
1993
|
+
clearValidate: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
1994
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
1995
|
+
getField: (prop: import("element-plus").FormItemProp) => import("element-plus").FormItemContext | undefined;
|
|
1996
|
+
fields: import("vue").Reactive<import("element-plus").FormItemContext[]>;
|
|
1997
|
+
}> & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
|
|
1998
|
+
$slots: {
|
|
1999
|
+
default?(_: {}): any;
|
|
2000
|
+
};
|
|
2001
|
+
};
|
|
2002
|
+
promise: Promise<{
|
|
2003
|
+
$: import("vue").ComponentInternalInstance;
|
|
2004
|
+
$data: {};
|
|
2005
|
+
$props: Partial<{
|
|
2006
|
+
readonly disabled: boolean;
|
|
2007
|
+
readonly inline: boolean;
|
|
2008
|
+
readonly labelWidth: string | number;
|
|
2009
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
2010
|
+
readonly inlineMessage: boolean;
|
|
2011
|
+
readonly showMessage: boolean;
|
|
2012
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
2013
|
+
readonly labelSuffix: string;
|
|
2014
|
+
readonly validateOnRuleChange: boolean;
|
|
2015
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
2016
|
+
readonly statusIcon: boolean;
|
|
2017
|
+
readonly hideRequiredAsterisk: boolean;
|
|
2018
|
+
readonly scrollToError: boolean;
|
|
2019
|
+
}> & Omit<{
|
|
2020
|
+
readonly inline: boolean;
|
|
2021
|
+
readonly labelWidth: string | number;
|
|
2022
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
2023
|
+
readonly inlineMessage: boolean;
|
|
2024
|
+
readonly showMessage: boolean;
|
|
2025
|
+
readonly disabled: boolean;
|
|
2026
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
2027
|
+
readonly labelSuffix: string;
|
|
2028
|
+
readonly statusIcon: boolean;
|
|
2029
|
+
readonly validateOnRuleChange: boolean;
|
|
2030
|
+
readonly hideRequiredAsterisk: boolean;
|
|
2031
|
+
readonly scrollToError: boolean;
|
|
2032
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
2033
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
2034
|
+
readonly rules?: Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>;
|
|
2035
|
+
readonly model?: Record<string, any>;
|
|
2036
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
2037
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "disabled" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
|
|
2038
|
+
$attrs: {
|
|
2039
|
+
[x: string]: unknown;
|
|
2040
|
+
};
|
|
2041
|
+
$refs: {
|
|
2042
|
+
[x: string]: unknown;
|
|
2043
|
+
};
|
|
2044
|
+
$slots: Readonly<{
|
|
2045
|
+
[name: string]: import("vue").Slot<any>;
|
|
2046
|
+
}>;
|
|
2047
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
2048
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
2049
|
+
$host: Element | null;
|
|
2050
|
+
$emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
2051
|
+
$el: any;
|
|
2052
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
2053
|
+
readonly model: ObjectConstructor;
|
|
2054
|
+
readonly rules: {
|
|
2055
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>>;
|
|
2056
|
+
readonly required: false;
|
|
2057
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2058
|
+
__epPropKey: true;
|
|
2059
|
+
};
|
|
2060
|
+
readonly labelPosition: {
|
|
2061
|
+
readonly type: import("vue").PropType<"top" | "left" | "right">;
|
|
2062
|
+
readonly required: false;
|
|
2063
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2064
|
+
__epPropKey: true;
|
|
2065
|
+
} & {
|
|
2066
|
+
readonly default: "right";
|
|
2067
|
+
};
|
|
2068
|
+
readonly requireAsteriskPosition: {
|
|
2069
|
+
readonly type: import("vue").PropType<"left" | "right">;
|
|
2070
|
+
readonly required: false;
|
|
2071
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2072
|
+
__epPropKey: true;
|
|
2073
|
+
} & {
|
|
2074
|
+
readonly default: "left";
|
|
2075
|
+
};
|
|
2076
|
+
readonly labelWidth: {
|
|
2077
|
+
readonly type: import("vue").PropType<string | number>;
|
|
2078
|
+
readonly required: false;
|
|
2079
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2080
|
+
__epPropKey: true;
|
|
2081
|
+
} & {
|
|
2082
|
+
readonly default: "";
|
|
2083
|
+
};
|
|
2084
|
+
readonly labelSuffix: {
|
|
2085
|
+
readonly type: import("vue").PropType<string>;
|
|
2086
|
+
readonly required: false;
|
|
2087
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2088
|
+
__epPropKey: true;
|
|
2089
|
+
} & {
|
|
2090
|
+
readonly default: "";
|
|
2091
|
+
};
|
|
2092
|
+
readonly inline: BooleanConstructor;
|
|
2093
|
+
readonly inlineMessage: BooleanConstructor;
|
|
2094
|
+
readonly statusIcon: BooleanConstructor;
|
|
2095
|
+
readonly showMessage: {
|
|
2096
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2097
|
+
readonly required: false;
|
|
2098
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2099
|
+
__epPropKey: true;
|
|
2100
|
+
} & {
|
|
2101
|
+
readonly default: true;
|
|
2102
|
+
};
|
|
2103
|
+
readonly validateOnRuleChange: {
|
|
2104
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2105
|
+
readonly required: false;
|
|
2106
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2107
|
+
__epPropKey: true;
|
|
2108
|
+
} & {
|
|
2109
|
+
readonly default: true;
|
|
2110
|
+
};
|
|
2111
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
2112
|
+
readonly scrollToError: BooleanConstructor;
|
|
2113
|
+
readonly scrollIntoViewOptions: {
|
|
2114
|
+
readonly type: import("vue").PropType<boolean | Record<string, any>>;
|
|
2115
|
+
readonly required: false;
|
|
2116
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2117
|
+
__epPropKey: true;
|
|
2118
|
+
} & {
|
|
2119
|
+
readonly default: true;
|
|
2120
|
+
};
|
|
2121
|
+
readonly size: {
|
|
2122
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
2123
|
+
readonly required: false;
|
|
2124
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2125
|
+
__epPropKey: true;
|
|
2126
|
+
};
|
|
2127
|
+
readonly disabled: BooleanConstructor;
|
|
2128
|
+
}>> & {
|
|
2129
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
2130
|
+
}, {
|
|
2131
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
2132
|
+
validateField: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[], callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
2133
|
+
resetFields: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
2134
|
+
clearValidate: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
2135
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
2136
|
+
getField: (prop: import("element-plus").FormItemProp) => import("element-plus").FormItemContext | undefined;
|
|
2137
|
+
fields: import("vue").Reactive<import("element-plus").FormItemContext[]>;
|
|
2138
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2139
|
+
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
2140
|
+
}, string, {
|
|
2141
|
+
readonly disabled: boolean;
|
|
2142
|
+
readonly inline: boolean;
|
|
2143
|
+
readonly labelWidth: string | number;
|
|
2144
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
2145
|
+
readonly inlineMessage: boolean;
|
|
2146
|
+
readonly showMessage: boolean;
|
|
2147
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
2148
|
+
readonly labelSuffix: string;
|
|
2149
|
+
readonly validateOnRuleChange: boolean;
|
|
2150
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
2151
|
+
readonly statusIcon: boolean;
|
|
2152
|
+
readonly hideRequiredAsterisk: boolean;
|
|
2153
|
+
readonly scrollToError: boolean;
|
|
2154
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
2155
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
2156
|
+
created?: (() => void) | (() => void)[];
|
|
2157
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
2158
|
+
mounted?: (() => void) | (() => void)[];
|
|
2159
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
2160
|
+
updated?: (() => void) | (() => void)[];
|
|
2161
|
+
activated?: (() => void) | (() => void)[];
|
|
2162
|
+
deactivated?: (() => void) | (() => void)[];
|
|
2163
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
2164
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
2165
|
+
destroyed?: (() => void) | (() => void)[];
|
|
2166
|
+
unmounted?: (() => void) | (() => void)[];
|
|
2167
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
2168
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
2169
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2170
|
+
};
|
|
2171
|
+
$forceUpdate: () => void;
|
|
2172
|
+
$nextTick: typeof import("vue").nextTick;
|
|
2173
|
+
$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;
|
|
2174
|
+
} & Readonly<{
|
|
2175
|
+
readonly disabled: boolean;
|
|
2176
|
+
readonly inline: boolean;
|
|
2177
|
+
readonly labelWidth: string | number;
|
|
2178
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
2179
|
+
readonly inlineMessage: boolean;
|
|
2180
|
+
readonly showMessage: boolean;
|
|
2181
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
2182
|
+
readonly labelSuffix: string;
|
|
2183
|
+
readonly validateOnRuleChange: boolean;
|
|
2184
|
+
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
2185
|
+
readonly statusIcon: boolean;
|
|
2186
|
+
readonly hideRequiredAsterisk: boolean;
|
|
2187
|
+
readonly scrollToError: boolean;
|
|
2188
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
2189
|
+
readonly model: ObjectConstructor;
|
|
2190
|
+
readonly rules: {
|
|
2191
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>>;
|
|
2192
|
+
readonly required: false;
|
|
2193
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2194
|
+
__epPropKey: true;
|
|
2195
|
+
};
|
|
2196
|
+
readonly labelPosition: {
|
|
2197
|
+
readonly type: import("vue").PropType<"top" | "left" | "right">;
|
|
2198
|
+
readonly required: false;
|
|
2199
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2200
|
+
__epPropKey: true;
|
|
2201
|
+
} & {
|
|
2202
|
+
readonly default: "right";
|
|
2203
|
+
};
|
|
2204
|
+
readonly requireAsteriskPosition: {
|
|
2205
|
+
readonly type: import("vue").PropType<"left" | "right">;
|
|
2206
|
+
readonly required: false;
|
|
2207
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2208
|
+
__epPropKey: true;
|
|
2209
|
+
} & {
|
|
2210
|
+
readonly default: "left";
|
|
2211
|
+
};
|
|
2212
|
+
readonly labelWidth: {
|
|
2213
|
+
readonly type: import("vue").PropType<string | number>;
|
|
2214
|
+
readonly required: false;
|
|
2215
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2216
|
+
__epPropKey: true;
|
|
2217
|
+
} & {
|
|
2218
|
+
readonly default: "";
|
|
2219
|
+
};
|
|
2220
|
+
readonly labelSuffix: {
|
|
2221
|
+
readonly type: import("vue").PropType<string>;
|
|
2222
|
+
readonly required: false;
|
|
2223
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2224
|
+
__epPropKey: true;
|
|
2225
|
+
} & {
|
|
2226
|
+
readonly default: "";
|
|
2227
|
+
};
|
|
2228
|
+
readonly inline: BooleanConstructor;
|
|
2229
|
+
readonly inlineMessage: BooleanConstructor;
|
|
2230
|
+
readonly statusIcon: BooleanConstructor;
|
|
2231
|
+
readonly showMessage: {
|
|
2232
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2233
|
+
readonly required: false;
|
|
2234
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2235
|
+
__epPropKey: true;
|
|
2236
|
+
} & {
|
|
2237
|
+
readonly default: true;
|
|
2238
|
+
};
|
|
2239
|
+
readonly validateOnRuleChange: {
|
|
2240
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2241
|
+
readonly required: false;
|
|
2242
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2243
|
+
__epPropKey: true;
|
|
2244
|
+
} & {
|
|
2245
|
+
readonly default: true;
|
|
2246
|
+
};
|
|
2247
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
2248
|
+
readonly scrollToError: BooleanConstructor;
|
|
2249
|
+
readonly scrollIntoViewOptions: {
|
|
2250
|
+
readonly type: import("vue").PropType<boolean | Record<string, any>>;
|
|
2251
|
+
readonly required: false;
|
|
2252
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2253
|
+
__epPropKey: true;
|
|
2254
|
+
} & {
|
|
2255
|
+
readonly default: true;
|
|
2256
|
+
};
|
|
2257
|
+
readonly size: {
|
|
2258
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
2259
|
+
readonly required: false;
|
|
2260
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2261
|
+
__epPropKey: true;
|
|
2262
|
+
};
|
|
2263
|
+
readonly disabled: BooleanConstructor;
|
|
2264
|
+
}>> & {
|
|
2265
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
2266
|
+
}, "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "disabled" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField"> & import("vue").ShallowUnwrapRef<{
|
|
2267
|
+
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
2268
|
+
validateField: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[], callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
2269
|
+
resetFields: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
2270
|
+
clearValidate: (props?: import("element-plus").FormItemProp | import("element-plus").FormItemProp[]) => void;
|
|
2271
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
2272
|
+
getField: (prop: import("element-plus").FormItemProp) => import("element-plus").FormItemContext | undefined;
|
|
2273
|
+
fields: import("vue").Reactive<import("element-plus").FormItemContext[]>;
|
|
2274
|
+
}> & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
|
|
2275
|
+
$slots: {
|
|
2276
|
+
default?(_: {}): any;
|
|
2277
|
+
};
|
|
2278
|
+
}>;
|
|
2279
|
+
resolve: import("@vunk/core").AnyFunc;
|
|
2280
|
+
reject: (reason?: any) => void;
|
|
2281
|
+
};
|
|
1235
2282
|
handleSubmit: () => void;
|
|
2283
|
+
readonly setData: (obj: any, e: SetDataEvent) => void;
|
|
1236
2284
|
readonly VkfForm: {
|
|
1237
2285
|
new (...args: any[]): any;
|
|
1238
2286
|
__isFragment?: never;
|
|
@@ -1782,7 +2830,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1782
2830
|
footer?(_: {}): any;
|
|
1783
2831
|
};
|
|
1784
2832
|
}) & import("vue").Plugin;
|
|
1785
|
-
readonly setData: (obj: any, e: SetDataEvent) => void;
|
|
1786
2833
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "update:visible")[], "update:modelValue" | "change" | "update:visible", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1787
2834
|
title: {
|
|
1788
2835
|
type: StringConstructor;
|
|
@@ -1808,6 +2855,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1808
2855
|
type: ObjectConstructor;
|
|
1809
2856
|
default: () => {};
|
|
1810
2857
|
};
|
|
2858
|
+
validateCatch: {
|
|
2859
|
+
type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
|
|
2860
|
+
default: (err: any, init?: {
|
|
2861
|
+
prefix?: string;
|
|
2862
|
+
suffix?: string;
|
|
2863
|
+
}) => void;
|
|
2864
|
+
};
|
|
1811
2865
|
}>> & Readonly<{
|
|
1812
2866
|
"onUpdate:visible"?: (...args: any[]) => any;
|
|
1813
2867
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
@@ -1817,9 +2871,94 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1817
2871
|
modelValue: Record<string, any>;
|
|
1818
2872
|
formItems: unknown[];
|
|
1819
2873
|
dialogFormProps: Record<string, any>;
|
|
2874
|
+
validateCatch: import("@vunk/shared").AnyFunc;
|
|
1820
2875
|
title: string;
|
|
1821
2876
|
openReset: boolean;
|
|
1822
2877
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2878
|
+
TemplatesLayout: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2879
|
+
data: {
|
|
2880
|
+
type: ObjectConstructor;
|
|
2881
|
+
default: () => {};
|
|
2882
|
+
};
|
|
2883
|
+
}>, {
|
|
2884
|
+
readonly VkfInformationData: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2885
|
+
data: {
|
|
2886
|
+
type: import("vue").PropType<import("packages/entry").NormalObject>;
|
|
2887
|
+
default: () => {};
|
|
2888
|
+
};
|
|
2889
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2890
|
+
[key: string]: any;
|
|
2891
|
+
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2892
|
+
setData: (e: import("packages/entry").SetDataEvent) => import("packages/entry").SetDataEvent;
|
|
2893
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2894
|
+
data: {
|
|
2895
|
+
type: import("vue").PropType<import("packages/entry").NormalObject>;
|
|
2896
|
+
default: () => {};
|
|
2897
|
+
};
|
|
2898
|
+
}>> & Readonly<{
|
|
2899
|
+
onSetData?: (e: import("packages/entry").SetDataEvent) => any;
|
|
2900
|
+
}>, {
|
|
2901
|
+
data: import("packages/entry").NormalObject;
|
|
2902
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2903
|
+
readonly VkfInformationTemplates: import("vue").DefineComponent<{}, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2904
|
+
[key: string]: any;
|
|
2905
|
+
}>[]) | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2906
|
+
[key: string]: any;
|
|
2907
|
+
}>[][]), {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2908
|
+
readonly VkfInformationTemplatesDefault: {
|
|
2909
|
+
new (...args: any[]): any;
|
|
2910
|
+
__isFragment?: never;
|
|
2911
|
+
__isTeleport?: never;
|
|
2912
|
+
__isSuspense?: never;
|
|
2913
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
2914
|
+
[x: string]: any;
|
|
2915
|
+
[x: symbol]: any;
|
|
2916
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
2917
|
+
install(app: import("vue").App): void;
|
|
2918
|
+
};
|
|
2919
|
+
readonly VkfRendererData: {
|
|
2920
|
+
new (...args: any[]): any;
|
|
2921
|
+
__isFragment?: never;
|
|
2922
|
+
__isTeleport?: never;
|
|
2923
|
+
__isSuspense?: never;
|
|
2924
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
2925
|
+
[x: string]: any;
|
|
2926
|
+
[x: symbol]: any;
|
|
2927
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
2928
|
+
install(app: import("vue").App): void;
|
|
2929
|
+
};
|
|
2930
|
+
readonly VkfTemplateInstancesProvider: {
|
|
2931
|
+
new (...args: any[]): any;
|
|
2932
|
+
__isFragment?: never;
|
|
2933
|
+
__isTeleport?: never;
|
|
2934
|
+
__isSuspense?: never;
|
|
2935
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
2936
|
+
[x: string]: any;
|
|
2937
|
+
[x: symbol]: any;
|
|
2938
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
2939
|
+
install(app: import("vue").App): void;
|
|
2940
|
+
};
|
|
2941
|
+
readonly VkfTemplatesDefault: {
|
|
2942
|
+
new (...args: any[]): any;
|
|
2943
|
+
__isFragment?: never;
|
|
2944
|
+
__isTeleport?: never;
|
|
2945
|
+
__isSuspense?: never;
|
|
2946
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
2947
|
+
[x: string]: any;
|
|
2948
|
+
[x: symbol]: any;
|
|
2949
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
2950
|
+
install(app: import("vue").App): void;
|
|
2951
|
+
};
|
|
2952
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "setData"[], "setData", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2953
|
+
data: {
|
|
2954
|
+
type: ObjectConstructor;
|
|
2955
|
+
default: () => {};
|
|
2956
|
+
};
|
|
2957
|
+
}>> & Readonly<{
|
|
2958
|
+
onSetData?: (...args: any[]) => any;
|
|
2959
|
+
}>, {
|
|
2960
|
+
data: Record<string, any>;
|
|
2961
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1823
2962
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1824
2963
|
'update:modelValue': any;
|
|
1825
2964
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1851,6 +2990,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1851
2990
|
type: ObjectConstructor;
|
|
1852
2991
|
default: () => {};
|
|
1853
2992
|
};
|
|
2993
|
+
validateCatch: {
|
|
2994
|
+
type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
|
|
2995
|
+
};
|
|
1854
2996
|
modules: {
|
|
1855
2997
|
type: import("vue").PropType<import("./types").Modules[]>;
|
|
1856
2998
|
default: () => string[];
|