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