@vunk/form 2.14.0 → 2.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/api-tables-select/index.d.ts +4 -0
- package/components/api-tables-select/src/ctx.d.ts +374 -0
- package/components/api-tables-select/src/index.vue.d.ts +1335 -0
- package/components/api-tables-select/src/types.d.ts +19 -0
- package/components/button/index.d.ts +4 -0
- package/components/button/src/ctx.d.ts +185 -0
- package/components/button/src/index.vue.d.ts +813 -0
- package/components/button/src/types.d.ts +13 -0
- package/components/card-input-collection/index.d.ts +4 -0
- package/components/card-input-collection/src/ctx.d.ts +114 -0
- package/components/card-input-collection/src/index.vue.d.ts +1029 -0
- package/components/card-input-collection/src/types.d.ts +10 -0
- package/components/cascader/index.d.ts +6 -0
- package/components/cascader/src/ctx.d.ts +285 -0
- package/components/cascader/src/index.vue.d.ts +627 -0
- package/components/cascader/src/types.d.ts +19 -0
- package/components/cascader/src/use.d.ts +5 -0
- package/components/checkbox/index.d.ts +5 -0
- package/components/checkbox/src/ctx.d.ts +146 -0
- package/components/checkbox/src/index.vue.d.ts +1353 -0
- package/components/checkbox/src/types.d.ts +8 -0
- package/components/color-picker/index.d.ts +4 -0
- package/components/color-picker/src/ctx.d.ts +164 -0
- package/components/color-picker/src/index.vue.d.ts +366 -0
- package/components/color-picker/src/types.d.ts +7 -0
- package/components/date-picker/index.d.ts +5 -0
- package/components/date-picker/src/ctx.d.ts +321 -0
- package/components/date-picker/src/index.vue.d.ts +1423 -0
- package/components/date-picker/src/types.d.ts +20 -0
- package/components/date-picker-range/index.d.ts +4 -0
- package/components/date-picker-range/src/ctx.d.ts +329 -0
- package/components/date-picker-range/src/index.vue.d.ts +720 -0
- package/components/date-picker-range/src/types.d.ts +12 -0
- package/components/dialog-input-collection/index.d.ts +4 -0
- package/components/dialog-input-collection/src/ctx.d.ts +140 -0
- package/components/dialog-input-collection/src/dialog-form.vue.d.ts +1782 -0
- package/components/dialog-input-collection/src/index.vue.d.ts +3100 -0
- package/components/dialog-input-collection/src/layout.vue.d.ts +85 -0
- package/components/dialog-input-collection/src/types.d.ts +28 -0
- package/components/download-plus/index.d.ts +4 -0
- package/components/download-plus/src/api.d.ts +13 -0
- package/components/download-plus/src/const.d.ts +9 -0
- package/components/download-plus/src/ctx.d.ts +124 -0
- package/components/download-plus/src/index.vue.d.ts +1453 -0
- package/components/download-plus/src/types.d.ts +17 -0
- package/components/editable-text/index.d.ts +4 -0
- package/components/editable-text/src/ctx.d.ts +127 -0
- package/components/editable-text/src/index.vue.d.ts +3385 -0
- package/components/editable-text/src/types.d.ts +1 -0
- package/components/esri-input-geojson/index.d.ts +6 -0
- package/components/esri-input-geojson/src/append.vue.d.ts +1179 -0
- package/components/esri-input-geojson/src/const.d.ts +12 -0
- package/components/esri-input-geojson/src/ctx.d.ts +344 -0
- package/components/esri-input-geojson/src/default-view.vue.d.ts +133 -0
- package/components/esri-input-geojson/src/index.vue.d.ts +1471 -0
- package/components/esri-input-geojson/src/types.d.ts +22 -0
- package/components/esri-input-geojson/src/viewer.vue.d.ts +427 -0
- package/components/fieldset/index.d.ts +4 -0
- package/components/fieldset/src/ctx.d.ts +12 -0
- package/components/fieldset/src/index.vue.d.ts +23 -0
- package/components/fieldset/src/types.d.ts +1 -0
- package/components/fieldset/src/use.d.ts +5 -0
- package/components/form/index.d.ts +5 -0
- package/components/form/src/ctx.d.ts +139 -0
- package/components/form/src/index.vue.d.ts +1182 -0
- package/components/form/src/types.d.ts +25 -0
- package/components/form/src/utils.d.ts +15 -0
- package/components/form-item/index.d.ts +5 -0
- package/components/form-item/src/core.vue.d.ts +1847 -0
- package/components/form-item/src/ctx.d.ts +102 -0
- package/components/form-item/src/index.vue.d.ts +211 -0
- package/components/form-item/src/types.d.ts +10 -0
- package/components/form-item-renderer/index.d.ts +4 -0
- package/components/form-item-renderer/src/core.vue.d.ts +38 -0
- package/components/form-item-renderer/src/ctx.d.ts +16 -0
- package/components/form-item-renderer/src/index.vue.d.ts +93 -0
- package/components/form-item-renderer/src/types.d.ts +5 -0
- package/components/form-item-renderer/src/utils.d.ts +5 -0
- package/components/form-item-renderer-template/index.d.ts +4 -0
- package/components/form-item-renderer-template/src/ctx.d.ts +7 -0
- package/components/form-item-renderer-template/src/index.vue.d.ts +16 -0
- package/components/form-item-renderer-template/src/types.d.ts +55 -0
- package/components/forms-provider/index.d.ts +6 -0
- package/components/forms-provider/src/core.d.ts +6 -0
- package/components/forms-provider/src/index.vue.d.ts +2 -0
- package/components/forms-provider/src/segment.vue.d.ts +9 -0
- package/components/forms-provider/src/types.d.ts +10 -0
- package/components/forms-provider/src/view.vue.d.ts +7 -0
- package/components/information/index.d.ts +4 -0
- package/components/information/src/ctx.d.ts +13 -0
- package/components/information/src/index.vue.d.ts +23 -0
- package/components/information/src/types.d.ts +3 -0
- package/components/information-collection/index.d.ts +4 -0
- package/components/information-collection/src/ctx.d.ts +142 -0
- package/components/information-collection/src/index.vue.d.ts +293 -0
- package/components/information-collection/src/types.d.ts +6 -0
- package/components/information-renderer/index.d.ts +73 -0
- package/components/information-tag/index.d.ts +4 -0
- package/components/information-tag/src/ctx.d.ts +64 -0
- package/components/information-tag/src/index.vue.d.ts +134 -0
- package/components/information-tag/src/types.d.ts +1 -0
- package/components/information-templates-default/index.d.ts +4 -0
- package/components/information-templates-default/src/ctx.d.ts +2 -0
- package/components/information-templates-default/src/index.vue.d.ts +2 -0
- package/components/information-templates-default/src/types.d.ts +1 -0
- package/components/input/index.d.ts +5 -0
- package/components/input/src/ctx.d.ts +273 -0
- package/components/input/src/index.vue.d.ts +1234 -0
- package/components/input/src/types.d.ts +13 -0
- package/components/input-array/index.d.ts +5 -0
- package/components/input-array/src/ctx.d.ts +129 -0
- package/components/input-array/src/form-template.vue.d.ts +867 -0
- package/components/input-array/src/index.vue.d.ts +855 -0
- package/components/input-array/src/types.d.ts +7 -0
- package/components/input-collection/index.d.ts +4 -0
- package/components/input-collection/src/ctx.d.ts +132 -0
- package/components/input-collection/src/index.vue.d.ts +1127 -0
- package/components/input-collection/src/types.d.ts +29 -0
- package/components/input-link/index.d.ts +4 -0
- package/components/input-link/src/ctx.d.ts +277 -0
- package/components/input-link/src/index.vue.d.ts +587 -0
- package/components/input-link/src/types.d.ts +7 -0
- package/components/input-number/index.d.ts +4 -0
- package/components/input-number/src/ctx.d.ts +211 -0
- package/components/input-number/src/index.vue.d.ts +852 -0
- package/components/input-number/src/types.d.ts +12 -0
- package/components/input-tag/index.d.ts +5 -0
- package/components/input-tag/src/ctx.d.ts +227 -0
- package/components/input-tag/src/index.vue.d.ts +947 -0
- package/components/input-tag/src/types.d.ts +22 -0
- package/components/monaco-editor/index.d.ts +4 -0
- package/components/monaco-editor/src/ctx.d.ts +110 -0
- package/components/monaco-editor/src/index.vue.d.ts +294 -0
- package/components/monaco-editor/src/types.d.ts +7 -0
- package/components/radio/index.d.ts +4 -0
- package/components/radio/src/ctx.d.ts +157 -0
- package/components/radio/src/index.vue.d.ts +1302 -0
- package/components/radio/src/types.d.ts +8 -0
- package/components/renderer-data/index.d.ts +4 -0
- package/components/renderer-data/src/ctx.d.ts +12 -0
- package/components/renderer-data/src/index.vue.d.ts +20 -0
- package/components/renderer-data/src/types.d.ts +1 -0
- package/components/select/index.d.ts +5 -0
- package/components/select/src/ctx.d.ts +220 -0
- package/components/select/src/index.vue.d.ts +1034 -0
- package/components/select/src/types.d.ts +11 -0
- package/components/slider/index.d.ts +4 -0
- package/components/slider/src/ctx.d.ts +248 -0
- package/components/slider/src/index.vue.d.ts +579 -0
- package/components/slider/src/types.d.ts +7 -0
- package/components/switch/index.d.ts +4 -0
- package/components/switch/src/ctx.d.ts +203 -0
- package/components/switch/src/index.vue.d.ts +886 -0
- package/components/switch/src/types.d.ts +8 -0
- package/components/tables-select/index.d.ts +5 -0
- package/components/tables-select/src/ctx.d.ts +420 -0
- package/components/tables-select/src/index.vue.d.ts +5411 -0
- package/components/tables-select/src/types.d.ts +9 -0
- package/components/template-instances-provider/index.d.ts +3 -0
- package/components/template-instances-provider/src/index.vue.d.ts +6 -0
- package/components/templates-default/index.d.ts +4 -0
- package/components/templates-default/src/ctx.d.ts +19 -0
- package/components/templates-default/src/index.vue.d.ts +187 -0
- package/components/templates-default/src/types.d.ts +55 -0
- package/components/templates-element-plus/index.d.ts +4 -0
- package/components/templates-element-plus/src/ctx.d.ts +9 -0
- package/components/templates-element-plus/src/index.vue.d.ts +301 -0
- package/components/templates-element-plus/src/types.d.ts +13 -0
- package/components/templates-esri/index.d.ts +4 -0
- package/components/templates-esri/src/ctx.d.ts +11 -0
- package/components/templates-esri/src/index.vue.d.ts +43 -0
- package/components/templates-esri/src/types.d.ts +2 -0
- package/components/templates-layout/index.d.ts +4 -0
- package/components/templates-layout/src/ctx.d.ts +9 -0
- package/components/templates-layout/src/index.vue.d.ts +446 -0
- package/components/templates-layout/src/types.d.ts +32 -0
- package/components/templates-variant/index.d.ts +4 -0
- package/components/templates-variant/src/ctx.d.ts +11 -0
- package/components/templates-variant/src/index.vue.d.ts +43 -0
- package/components/templates-variant/src/types.d.ts +2 -0
- package/components/upload/index.d.ts +5 -0
- package/components/upload/src/ctx.d.ts +289 -0
- package/components/upload/src/file.vue.d.ts +492 -0
- package/components/upload/src/index.vue.d.ts +1926 -0
- package/components/upload/src/types.d.ts +13 -0
- package/components/upload-plus/index.d.ts +6 -0
- package/components/upload-plus/src/api.d.ts +38 -0
- package/components/upload-plus/src/const.d.ts +9 -0
- package/components/upload-plus/src/ctx.d.ts +143 -0
- package/components/upload-plus/src/index.vue.d.ts +1770 -0
- package/components/upload-plus/src/types.d.ts +32 -0
- package/components/van-cascader/index.d.ts +4 -0
- package/components/van-cascader/src/ctx.d.ts +272 -0
- package/components/van-cascader/src/index.vue.d.ts +2093 -0
- package/components/van-cascader/src/types.d.ts +1 -0
- package/components/var-datetime-picker/index.d.ts +4 -0
- package/components/var-datetime-picker/src/const.d.ts +10 -0
- package/components/var-datetime-picker/src/ctx.d.ts +107 -0
- package/components/var-datetime-picker/src/index.vue.d.ts +1485 -0
- package/components/var-datetime-picker/src/types.d.ts +22 -0
- package/components/vditor/index.d.ts +4 -0
- package/components/vditor/src/ctx.d.ts +117 -0
- package/components/vditor/src/index.vue.d.ts +409 -0
- package/components/vditor/src/types.d.ts +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,3100 @@
|
|
|
1
|
+
import type { SetDataEvent } from '@vunk/core';
|
|
2
|
+
import type { __VkTableColumns } from '@vunk/plus/components/table-columns';
|
|
3
|
+
import type { NormalObject } from '@vunk/shared';
|
|
4
|
+
import { CRUD } from '@vunk/shared/enum';
|
|
5
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
columns: {
|
|
7
|
+
type: import("vue").PropType<any[]>;
|
|
8
|
+
default: () => any[];
|
|
9
|
+
};
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: import("vue").PropType<NormalObject[]>;
|
|
12
|
+
default: () => any[];
|
|
13
|
+
};
|
|
14
|
+
readonly: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: any;
|
|
17
|
+
};
|
|
18
|
+
splicable: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
labelActions: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
defaultItemValue: {
|
|
27
|
+
type: import("vue").PropType<NormalObject>;
|
|
28
|
+
default: () => {};
|
|
29
|
+
};
|
|
30
|
+
dialogFormProps: {
|
|
31
|
+
type: ObjectConstructor;
|
|
32
|
+
default: () => {};
|
|
33
|
+
};
|
|
34
|
+
validateCatch: {
|
|
35
|
+
type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
|
|
36
|
+
};
|
|
37
|
+
modules: {
|
|
38
|
+
type: import("vue").PropType<import("./types").Modules[]>;
|
|
39
|
+
default: () => string[];
|
|
40
|
+
};
|
|
41
|
+
required: {
|
|
42
|
+
readonly type: import("vue").PropType<boolean>;
|
|
43
|
+
readonly required: false;
|
|
44
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
45
|
+
__epPropKey: true;
|
|
46
|
+
} & {
|
|
47
|
+
readonly default: undefined;
|
|
48
|
+
};
|
|
49
|
+
formItemSize: {
|
|
50
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
51
|
+
default: "default" | "small" | "large";
|
|
52
|
+
};
|
|
53
|
+
formItemSlots: {
|
|
54
|
+
type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
55
|
+
default: any;
|
|
56
|
+
};
|
|
57
|
+
elRef: {
|
|
58
|
+
type: import("vue").PropType<any>;
|
|
59
|
+
required: boolean;
|
|
60
|
+
};
|
|
61
|
+
inline: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
formItemTip: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: any;
|
|
68
|
+
};
|
|
69
|
+
formItemTipClass: any;
|
|
70
|
+
labelTip: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: any;
|
|
73
|
+
};
|
|
74
|
+
information: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
prop: any;
|
|
79
|
+
label: StringConstructor;
|
|
80
|
+
labelWidth: {
|
|
81
|
+
readonly type: import("vue").PropType<string | number>;
|
|
82
|
+
readonly required: false;
|
|
83
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
84
|
+
__epPropKey: true;
|
|
85
|
+
} & {
|
|
86
|
+
readonly default: "";
|
|
87
|
+
};
|
|
88
|
+
labelPosition: {
|
|
89
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
90
|
+
readonly required: false;
|
|
91
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
92
|
+
__epPropKey: true;
|
|
93
|
+
} & {
|
|
94
|
+
readonly default: "";
|
|
95
|
+
};
|
|
96
|
+
rules: {
|
|
97
|
+
readonly type: import("vue").PropType<unknown>;
|
|
98
|
+
readonly required: false;
|
|
99
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
100
|
+
__epPropKey: true;
|
|
101
|
+
};
|
|
102
|
+
error: StringConstructor;
|
|
103
|
+
validateStatus: {
|
|
104
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
105
|
+
readonly required: false;
|
|
106
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
107
|
+
__epPropKey: true;
|
|
108
|
+
};
|
|
109
|
+
for: StringConstructor;
|
|
110
|
+
inlineMessage: {
|
|
111
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
112
|
+
readonly required: false;
|
|
113
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
114
|
+
__epPropKey: true;
|
|
115
|
+
} & {
|
|
116
|
+
readonly default: "";
|
|
117
|
+
};
|
|
118
|
+
showMessage: {
|
|
119
|
+
readonly type: import("vue").PropType<boolean>;
|
|
120
|
+
readonly required: false;
|
|
121
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
122
|
+
__epPropKey: true;
|
|
123
|
+
} & {
|
|
124
|
+
readonly default: true;
|
|
125
|
+
};
|
|
126
|
+
}>, {
|
|
127
|
+
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
128
|
+
columns: {
|
|
129
|
+
type: import("vue").PropType<any[]>;
|
|
130
|
+
default: () => any[];
|
|
131
|
+
};
|
|
132
|
+
modelValue: {
|
|
133
|
+
type: import("vue").PropType<NormalObject[]>;
|
|
134
|
+
default: () => any[];
|
|
135
|
+
};
|
|
136
|
+
readonly: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
default: any;
|
|
139
|
+
};
|
|
140
|
+
splicable: {
|
|
141
|
+
type: BooleanConstructor;
|
|
142
|
+
default: boolean;
|
|
143
|
+
};
|
|
144
|
+
labelActions: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
148
|
+
defaultItemValue: {
|
|
149
|
+
type: import("vue").PropType<NormalObject>;
|
|
150
|
+
default: () => {};
|
|
151
|
+
};
|
|
152
|
+
dialogFormProps: {
|
|
153
|
+
type: ObjectConstructor;
|
|
154
|
+
default: () => {};
|
|
155
|
+
};
|
|
156
|
+
validateCatch: {
|
|
157
|
+
type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
|
|
158
|
+
};
|
|
159
|
+
modules: {
|
|
160
|
+
type: import("vue").PropType<import("./types").Modules[]>;
|
|
161
|
+
default: () => string[];
|
|
162
|
+
};
|
|
163
|
+
required: {
|
|
164
|
+
readonly type: import("vue").PropType<boolean>;
|
|
165
|
+
readonly required: false;
|
|
166
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
167
|
+
__epPropKey: true;
|
|
168
|
+
} & {
|
|
169
|
+
readonly default: undefined;
|
|
170
|
+
};
|
|
171
|
+
formItemSize: {
|
|
172
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
173
|
+
default: "default" | "small" | "large";
|
|
174
|
+
};
|
|
175
|
+
formItemSlots: {
|
|
176
|
+
type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
177
|
+
default: any;
|
|
178
|
+
};
|
|
179
|
+
elRef: {
|
|
180
|
+
type: import("vue").PropType<any>;
|
|
181
|
+
required: boolean;
|
|
182
|
+
};
|
|
183
|
+
inline: {
|
|
184
|
+
type: BooleanConstructor;
|
|
185
|
+
default: boolean;
|
|
186
|
+
};
|
|
187
|
+
formItemTip: {
|
|
188
|
+
type: StringConstructor;
|
|
189
|
+
default: any;
|
|
190
|
+
};
|
|
191
|
+
formItemTipClass: any;
|
|
192
|
+
labelTip: {
|
|
193
|
+
type: StringConstructor;
|
|
194
|
+
default: any;
|
|
195
|
+
};
|
|
196
|
+
information: {
|
|
197
|
+
type: BooleanConstructor;
|
|
198
|
+
default: boolean;
|
|
199
|
+
};
|
|
200
|
+
prop: any;
|
|
201
|
+
label: StringConstructor;
|
|
202
|
+
labelWidth: {
|
|
203
|
+
readonly type: import("vue").PropType<string | number>;
|
|
204
|
+
readonly required: false;
|
|
205
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
206
|
+
__epPropKey: true;
|
|
207
|
+
} & {
|
|
208
|
+
readonly default: "";
|
|
209
|
+
};
|
|
210
|
+
labelPosition: {
|
|
211
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
212
|
+
readonly required: false;
|
|
213
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
214
|
+
__epPropKey: true;
|
|
215
|
+
} & {
|
|
216
|
+
readonly default: "";
|
|
217
|
+
};
|
|
218
|
+
rules: {
|
|
219
|
+
readonly type: import("vue").PropType<unknown>;
|
|
220
|
+
readonly required: false;
|
|
221
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
222
|
+
__epPropKey: true;
|
|
223
|
+
};
|
|
224
|
+
error: StringConstructor;
|
|
225
|
+
validateStatus: {
|
|
226
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
227
|
+
readonly required: false;
|
|
228
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
229
|
+
__epPropKey: true;
|
|
230
|
+
};
|
|
231
|
+
for: StringConstructor;
|
|
232
|
+
inlineMessage: {
|
|
233
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
234
|
+
readonly required: false;
|
|
235
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
236
|
+
__epPropKey: true;
|
|
237
|
+
} & {
|
|
238
|
+
readonly default: "";
|
|
239
|
+
};
|
|
240
|
+
showMessage: {
|
|
241
|
+
readonly type: import("vue").PropType<boolean>;
|
|
242
|
+
readonly required: false;
|
|
243
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
244
|
+
__epPropKey: true;
|
|
245
|
+
} & {
|
|
246
|
+
readonly default: true;
|
|
247
|
+
};
|
|
248
|
+
}>> & Readonly<{
|
|
249
|
+
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
250
|
+
}> & {}>;
|
|
251
|
+
emit: ((event: "update:modelValue", ...args: unknown[]) => void) & ((event: "update:modelValue", ...args: any) => void) & ((event: "update:modelValue", ...args: any[]) => void);
|
|
252
|
+
ElTable: never;
|
|
253
|
+
hasColAdd: import("vue").ComputedRef<boolean>;
|
|
254
|
+
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
255
|
+
readonly: import("vue").ComputedRef<boolean>;
|
|
256
|
+
formData: import("vue").ComputedRef<NormalObject | NormalObject[]>;
|
|
257
|
+
fullColumns: import("vue").ComputedRef<__VkTableColumns.Source<import("@vunk/core").NormalObject>[]>;
|
|
258
|
+
buttonsColumn: import("vue").ComputedRef<__VkTableColumns.Source<import("@vunk/core").NormalObject>>;
|
|
259
|
+
allColumns: import("vue").ComputedRef<__VkTableColumns.Source<import("@vunk/core").NormalObject>[]>;
|
|
260
|
+
cuState: {
|
|
261
|
+
type: CRUD;
|
|
262
|
+
index: number;
|
|
263
|
+
data: {};
|
|
264
|
+
dialogVisible: boolean;
|
|
265
|
+
};
|
|
266
|
+
cuFormItems: import("vue").ComputedRef<{
|
|
267
|
+
label: any;
|
|
268
|
+
readonly: boolean;
|
|
269
|
+
prop: any;
|
|
270
|
+
templateType: any;
|
|
271
|
+
templateProps: any;
|
|
272
|
+
}[]>;
|
|
273
|
+
handleMinus: (index: number) => void;
|
|
274
|
+
handlePlus: (index: number) => void;
|
|
275
|
+
handleEdit: (index: number) => void;
|
|
276
|
+
handleDialogFormChange: (data: NormalObject) => void;
|
|
277
|
+
handleFormSetData: (e: SetDataEvent) => void;
|
|
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>;
|
|
280
|
+
readonly VkfFormItem: {
|
|
281
|
+
new (...args: any[]): any;
|
|
282
|
+
__isFragment?: never;
|
|
283
|
+
__isTeleport?: never;
|
|
284
|
+
__isSuspense?: never;
|
|
285
|
+
} & 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, {
|
|
286
|
+
[x: string]: any;
|
|
287
|
+
[x: symbol]: any;
|
|
288
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
289
|
+
install(app: import("vue").App): void;
|
|
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>;
|
|
411
|
+
readonly VkTableColumns: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
412
|
+
source: {
|
|
413
|
+
type: import("vue").PropType<__VkTableColumns.Source<any>[]>;
|
|
414
|
+
default: () => never[];
|
|
415
|
+
};
|
|
416
|
+
type: {
|
|
417
|
+
type: StringConstructor;
|
|
418
|
+
default: string;
|
|
419
|
+
};
|
|
420
|
+
label: StringConstructor;
|
|
421
|
+
className: StringConstructor;
|
|
422
|
+
labelClassName: StringConstructor;
|
|
423
|
+
property: StringConstructor;
|
|
424
|
+
prop: StringConstructor;
|
|
425
|
+
width: {
|
|
426
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
427
|
+
default: string;
|
|
428
|
+
};
|
|
429
|
+
minWidth: {
|
|
430
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
431
|
+
default: string;
|
|
432
|
+
};
|
|
433
|
+
renderHeader: import("vue").PropType<(data: {
|
|
434
|
+
column: import("element-plus").TableColumnCtx<any>;
|
|
435
|
+
$index: number;
|
|
436
|
+
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
437
|
+
[key: string]: any;
|
|
438
|
+
}>>;
|
|
439
|
+
sortable: {
|
|
440
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
441
|
+
default: boolean;
|
|
442
|
+
};
|
|
443
|
+
sortMethod: import("vue").PropType<(a: any, b: any) => number>;
|
|
444
|
+
sortBy: import("vue").PropType<string | string[] | ((row: any, index: number) => string)>;
|
|
445
|
+
resizable: {
|
|
446
|
+
type: BooleanConstructor;
|
|
447
|
+
default: boolean;
|
|
448
|
+
};
|
|
449
|
+
columnKey: StringConstructor;
|
|
450
|
+
align: StringConstructor;
|
|
451
|
+
headerAlign: StringConstructor;
|
|
452
|
+
showTooltipWhenOverflow: BooleanConstructor;
|
|
453
|
+
showOverflowTooltip: BooleanConstructor;
|
|
454
|
+
fixed: (StringConstructor | BooleanConstructor)[];
|
|
455
|
+
formatter: import("vue").PropType<(row: any, column: import("element-plus").TableColumnCtx<any>, cellValue: any, index: number) => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
456
|
+
[key: string]: any;
|
|
457
|
+
}>>;
|
|
458
|
+
selectable: import("vue").PropType<(row: any, index: number) => boolean>;
|
|
459
|
+
reserveSelection: BooleanConstructor;
|
|
460
|
+
filterMethod: import("vue").PropType<import("element-plus/es/components/table/src/table-column/defaults").FilterMethods<any>>;
|
|
461
|
+
filteredValue: import("vue").PropType<string[]>;
|
|
462
|
+
filters: import("vue").PropType<import("element-plus/es/components/table/src/table-column/defaults").Filters>;
|
|
463
|
+
filterPlacement: StringConstructor;
|
|
464
|
+
filterMultiple: {
|
|
465
|
+
type: BooleanConstructor;
|
|
466
|
+
default: boolean;
|
|
467
|
+
};
|
|
468
|
+
index: import("vue").PropType<number | ((index: number) => number)>;
|
|
469
|
+
sortOrders: {
|
|
470
|
+
type: import("vue").PropType<("ascending" | "descending" | null)[]>;
|
|
471
|
+
default: () => (string | null)[];
|
|
472
|
+
validator: (val: ("ascending" | "descending" | null)[]) => boolean;
|
|
473
|
+
};
|
|
474
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
475
|
+
[key: string]: any;
|
|
476
|
+
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
477
|
+
source: {
|
|
478
|
+
type: import("vue").PropType<__VkTableColumns.Source<any>[]>;
|
|
479
|
+
default: () => never[];
|
|
480
|
+
};
|
|
481
|
+
type: {
|
|
482
|
+
type: StringConstructor;
|
|
483
|
+
default: string;
|
|
484
|
+
};
|
|
485
|
+
label: StringConstructor;
|
|
486
|
+
className: StringConstructor;
|
|
487
|
+
labelClassName: StringConstructor;
|
|
488
|
+
property: StringConstructor;
|
|
489
|
+
prop: StringConstructor;
|
|
490
|
+
width: {
|
|
491
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
492
|
+
default: string;
|
|
493
|
+
};
|
|
494
|
+
minWidth: {
|
|
495
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
496
|
+
default: string;
|
|
497
|
+
};
|
|
498
|
+
renderHeader: import("vue").PropType<(data: {
|
|
499
|
+
column: import("element-plus").TableColumnCtx<any>;
|
|
500
|
+
$index: number;
|
|
501
|
+
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
502
|
+
[key: string]: any;
|
|
503
|
+
}>>;
|
|
504
|
+
sortable: {
|
|
505
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
506
|
+
default: boolean;
|
|
507
|
+
};
|
|
508
|
+
sortMethod: import("vue").PropType<(a: any, b: any) => number>;
|
|
509
|
+
sortBy: import("vue").PropType<string | string[] | ((row: any, index: number) => string)>;
|
|
510
|
+
resizable: {
|
|
511
|
+
type: BooleanConstructor;
|
|
512
|
+
default: boolean;
|
|
513
|
+
};
|
|
514
|
+
columnKey: StringConstructor;
|
|
515
|
+
align: StringConstructor;
|
|
516
|
+
headerAlign: StringConstructor;
|
|
517
|
+
showTooltipWhenOverflow: BooleanConstructor;
|
|
518
|
+
showOverflowTooltip: BooleanConstructor;
|
|
519
|
+
fixed: (StringConstructor | BooleanConstructor)[];
|
|
520
|
+
formatter: import("vue").PropType<(row: any, column: import("element-plus").TableColumnCtx<any>, cellValue: any, index: number) => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
521
|
+
[key: string]: any;
|
|
522
|
+
}>>;
|
|
523
|
+
selectable: import("vue").PropType<(row: any, index: number) => boolean>;
|
|
524
|
+
reserveSelection: BooleanConstructor;
|
|
525
|
+
filterMethod: import("vue").PropType<import("element-plus/es/components/table/src/table-column/defaults").FilterMethods<any>>;
|
|
526
|
+
filteredValue: import("vue").PropType<string[]>;
|
|
527
|
+
filters: import("vue").PropType<import("element-plus/es/components/table/src/table-column/defaults").Filters>;
|
|
528
|
+
filterPlacement: StringConstructor;
|
|
529
|
+
filterMultiple: {
|
|
530
|
+
type: BooleanConstructor;
|
|
531
|
+
default: boolean;
|
|
532
|
+
};
|
|
533
|
+
index: import("vue").PropType<number | ((index: number) => number)>;
|
|
534
|
+
sortOrders: {
|
|
535
|
+
type: import("vue").PropType<("ascending" | "descending" | null)[]>;
|
|
536
|
+
default: () => (string | null)[];
|
|
537
|
+
validator: (val: ("ascending" | "descending" | null)[]) => boolean;
|
|
538
|
+
};
|
|
539
|
+
}>> & Readonly<{}>, {
|
|
540
|
+
type: string;
|
|
541
|
+
source: __VkTableColumns.Source<any>[];
|
|
542
|
+
width: string | number;
|
|
543
|
+
sortOrders: ("ascending" | "descending" | null)[];
|
|
544
|
+
minWidth: string | number;
|
|
545
|
+
sortable: string | boolean;
|
|
546
|
+
resizable: boolean;
|
|
547
|
+
showOverflowTooltip: boolean;
|
|
548
|
+
reserveSelection: boolean;
|
|
549
|
+
filterMultiple: boolean;
|
|
550
|
+
showTooltipWhenOverflow: boolean;
|
|
551
|
+
}, {}, {
|
|
552
|
+
ElTableColumn: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
553
|
+
type: {
|
|
554
|
+
type: StringConstructor;
|
|
555
|
+
default: string;
|
|
556
|
+
};
|
|
557
|
+
label: StringConstructor;
|
|
558
|
+
className: StringConstructor;
|
|
559
|
+
labelClassName: StringConstructor;
|
|
560
|
+
property: StringConstructor;
|
|
561
|
+
prop: StringConstructor;
|
|
562
|
+
width: {
|
|
563
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
564
|
+
default: string;
|
|
565
|
+
};
|
|
566
|
+
minWidth: {
|
|
567
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
568
|
+
default: string;
|
|
569
|
+
};
|
|
570
|
+
renderHeader: import("vue").PropType<(data: {
|
|
571
|
+
column: import("element-plus").TableColumnCtx<any>;
|
|
572
|
+
$index: number;
|
|
573
|
+
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
574
|
+
[key: string]: any;
|
|
575
|
+
}>>;
|
|
576
|
+
sortable: {
|
|
577
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
578
|
+
default: boolean;
|
|
579
|
+
};
|
|
580
|
+
sortMethod: import("vue").PropType<(a: any, b: any) => number>;
|
|
581
|
+
sortBy: import("vue").PropType<string | string[] | ((row: any, index: number) => string)>;
|
|
582
|
+
resizable: {
|
|
583
|
+
type: BooleanConstructor;
|
|
584
|
+
default: boolean;
|
|
585
|
+
};
|
|
586
|
+
columnKey: StringConstructor;
|
|
587
|
+
align: StringConstructor;
|
|
588
|
+
headerAlign: StringConstructor;
|
|
589
|
+
showOverflowTooltip: {
|
|
590
|
+
type: import("vue").PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "placement" | "appendTo" | "offset" | "popperClass" | "showArrow" | "transition" | "effect" | "enterable" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
591
|
+
default: undefined;
|
|
592
|
+
};
|
|
593
|
+
tooltipFormatter: import("vue").PropType<import("element-plus/es/components/table/src/util").TableOverflowTooltipFormatter<any> | undefined>;
|
|
594
|
+
fixed: (StringConstructor | BooleanConstructor)[];
|
|
595
|
+
formatter: import("vue").PropType<(row: any, column: import("element-plus").TableColumnCtx<any>, cellValue: any, index: number) => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
596
|
+
[key: string]: any;
|
|
597
|
+
}>>;
|
|
598
|
+
selectable: import("vue").PropType<(row: any, index: number) => boolean>;
|
|
599
|
+
reserveSelection: BooleanConstructor;
|
|
600
|
+
filterMethod: import("vue").PropType<import("element-plus/es/components/table/src/table-column/defaults").FilterMethods<any>>;
|
|
601
|
+
filteredValue: import("vue").PropType<string[]>;
|
|
602
|
+
filters: import("vue").PropType<import("element-plus/es/components/table/src/table-column/defaults").Filters>;
|
|
603
|
+
filterPlacement: StringConstructor;
|
|
604
|
+
filterMultiple: {
|
|
605
|
+
type: BooleanConstructor;
|
|
606
|
+
default: boolean;
|
|
607
|
+
};
|
|
608
|
+
filterClassName: StringConstructor;
|
|
609
|
+
index: import("vue").PropType<number | ((index: number) => number)>;
|
|
610
|
+
sortOrders: {
|
|
611
|
+
type: import("vue").PropType<("ascending" | "descending" | null)[]>;
|
|
612
|
+
default: () => (string | null)[];
|
|
613
|
+
validator: (val: ("ascending" | "descending" | null)[]) => boolean;
|
|
614
|
+
};
|
|
615
|
+
}, void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
616
|
+
type: {
|
|
617
|
+
type: StringConstructor;
|
|
618
|
+
default: string;
|
|
619
|
+
};
|
|
620
|
+
label: StringConstructor;
|
|
621
|
+
className: StringConstructor;
|
|
622
|
+
labelClassName: StringConstructor;
|
|
623
|
+
property: StringConstructor;
|
|
624
|
+
prop: StringConstructor;
|
|
625
|
+
width: {
|
|
626
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
627
|
+
default: string;
|
|
628
|
+
};
|
|
629
|
+
minWidth: {
|
|
630
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
631
|
+
default: string;
|
|
632
|
+
};
|
|
633
|
+
renderHeader: import("vue").PropType<(data: {
|
|
634
|
+
column: import("element-plus").TableColumnCtx<any>;
|
|
635
|
+
$index: number;
|
|
636
|
+
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
637
|
+
[key: string]: any;
|
|
638
|
+
}>>;
|
|
639
|
+
sortable: {
|
|
640
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
641
|
+
default: boolean;
|
|
642
|
+
};
|
|
643
|
+
sortMethod: import("vue").PropType<(a: any, b: any) => number>;
|
|
644
|
+
sortBy: import("vue").PropType<string | string[] | ((row: any, index: number) => string)>;
|
|
645
|
+
resizable: {
|
|
646
|
+
type: BooleanConstructor;
|
|
647
|
+
default: boolean;
|
|
648
|
+
};
|
|
649
|
+
columnKey: StringConstructor;
|
|
650
|
+
align: StringConstructor;
|
|
651
|
+
headerAlign: StringConstructor;
|
|
652
|
+
showOverflowTooltip: {
|
|
653
|
+
type: import("vue").PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "placement" | "appendTo" | "offset" | "popperClass" | "showArrow" | "transition" | "effect" | "enterable" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
654
|
+
default: undefined;
|
|
655
|
+
};
|
|
656
|
+
tooltipFormatter: import("vue").PropType<import("element-plus/es/components/table/src/util").TableOverflowTooltipFormatter<any> | undefined>;
|
|
657
|
+
fixed: (StringConstructor | BooleanConstructor)[];
|
|
658
|
+
formatter: import("vue").PropType<(row: any, column: import("element-plus").TableColumnCtx<any>, cellValue: any, index: number) => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
659
|
+
[key: string]: any;
|
|
660
|
+
}>>;
|
|
661
|
+
selectable: import("vue").PropType<(row: any, index: number) => boolean>;
|
|
662
|
+
reserveSelection: BooleanConstructor;
|
|
663
|
+
filterMethod: import("vue").PropType<import("element-plus/es/components/table/src/table-column/defaults").FilterMethods<any>>;
|
|
664
|
+
filteredValue: import("vue").PropType<string[]>;
|
|
665
|
+
filters: import("vue").PropType<import("element-plus/es/components/table/src/table-column/defaults").Filters>;
|
|
666
|
+
filterPlacement: StringConstructor;
|
|
667
|
+
filterMultiple: {
|
|
668
|
+
type: BooleanConstructor;
|
|
669
|
+
default: boolean;
|
|
670
|
+
};
|
|
671
|
+
filterClassName: StringConstructor;
|
|
672
|
+
index: import("vue").PropType<number | ((index: number) => number)>;
|
|
673
|
+
sortOrders: {
|
|
674
|
+
type: import("vue").PropType<("ascending" | "descending" | null)[]>;
|
|
675
|
+
default: () => (string | null)[];
|
|
676
|
+
validator: (val: ("ascending" | "descending" | null)[]) => boolean;
|
|
677
|
+
};
|
|
678
|
+
}>>, {
|
|
679
|
+
width: string | number;
|
|
680
|
+
minWidth: string | number;
|
|
681
|
+
type: string;
|
|
682
|
+
showOverflowTooltip: boolean | Partial<Pick<import("element-plus").ElTooltipProps, "placement" | "appendTo" | "offset" | "popperClass" | "showArrow" | "transition" | "effect" | "enterable" | "popperOptions" | "showAfter" | "hideAfter">> | undefined;
|
|
683
|
+
sortOrders: ("ascending" | "descending" | null)[];
|
|
684
|
+
sortable: string | boolean;
|
|
685
|
+
resizable: boolean;
|
|
686
|
+
reserveSelection: boolean;
|
|
687
|
+
filterMultiple: boolean;
|
|
688
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
689
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
690
|
+
readonly CRUD: typeof CRUD;
|
|
691
|
+
readonly ElButton: ({
|
|
692
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
693
|
+
readonly size: {
|
|
694
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
695
|
+
readonly required: false;
|
|
696
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
697
|
+
__epPropKey: true;
|
|
698
|
+
};
|
|
699
|
+
readonly disabled: BooleanConstructor;
|
|
700
|
+
readonly type: {
|
|
701
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
702
|
+
readonly required: false;
|
|
703
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
704
|
+
__epPropKey: true;
|
|
705
|
+
} & {
|
|
706
|
+
readonly default: "";
|
|
707
|
+
};
|
|
708
|
+
readonly icon: {
|
|
709
|
+
readonly type: import("vue").PropType<unknown>;
|
|
710
|
+
readonly required: false;
|
|
711
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
712
|
+
__epPropKey: true;
|
|
713
|
+
};
|
|
714
|
+
readonly nativeType: {
|
|
715
|
+
readonly type: import("vue").PropType<"button" | "reset" | "submit">;
|
|
716
|
+
readonly required: false;
|
|
717
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
718
|
+
__epPropKey: true;
|
|
719
|
+
} & {
|
|
720
|
+
readonly default: "button";
|
|
721
|
+
};
|
|
722
|
+
readonly loading: BooleanConstructor;
|
|
723
|
+
readonly loadingIcon: {
|
|
724
|
+
readonly type: import("vue").PropType<unknown>;
|
|
725
|
+
readonly required: false;
|
|
726
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
727
|
+
__epPropKey: true;
|
|
728
|
+
} & {
|
|
729
|
+
readonly default: () => any;
|
|
730
|
+
};
|
|
731
|
+
readonly plain: {
|
|
732
|
+
readonly type: import("vue").PropType<boolean>;
|
|
733
|
+
readonly required: false;
|
|
734
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
735
|
+
__epPropKey: true;
|
|
736
|
+
} & {
|
|
737
|
+
readonly default: undefined;
|
|
738
|
+
};
|
|
739
|
+
readonly text: BooleanConstructor;
|
|
740
|
+
readonly link: BooleanConstructor;
|
|
741
|
+
readonly bg: BooleanConstructor;
|
|
742
|
+
readonly autofocus: BooleanConstructor;
|
|
743
|
+
readonly round: {
|
|
744
|
+
readonly type: import("vue").PropType<boolean>;
|
|
745
|
+
readonly required: false;
|
|
746
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
747
|
+
__epPropKey: true;
|
|
748
|
+
} & {
|
|
749
|
+
readonly default: undefined;
|
|
750
|
+
};
|
|
751
|
+
readonly circle: BooleanConstructor;
|
|
752
|
+
readonly color: StringConstructor;
|
|
753
|
+
readonly dark: BooleanConstructor;
|
|
754
|
+
readonly autoInsertSpace: {
|
|
755
|
+
readonly type: import("vue").PropType<boolean>;
|
|
756
|
+
readonly required: false;
|
|
757
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
758
|
+
__epPropKey: true;
|
|
759
|
+
} & {
|
|
760
|
+
readonly default: undefined;
|
|
761
|
+
};
|
|
762
|
+
readonly tag: {
|
|
763
|
+
readonly type: import("vue").PropType<unknown>;
|
|
764
|
+
readonly required: false;
|
|
765
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
766
|
+
__epPropKey: true;
|
|
767
|
+
} & {
|
|
768
|
+
readonly default: "button";
|
|
769
|
+
};
|
|
770
|
+
}>> & {
|
|
771
|
+
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
772
|
+
}, {
|
|
773
|
+
ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
774
|
+
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
775
|
+
type: import("vue").ComputedRef<string>;
|
|
776
|
+
disabled: import("vue").ComputedRef<boolean>;
|
|
777
|
+
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
778
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
779
|
+
click: (evt: MouseEvent) => void;
|
|
780
|
+
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
781
|
+
readonly link: boolean;
|
|
782
|
+
readonly circle: boolean;
|
|
783
|
+
readonly text: boolean;
|
|
784
|
+
readonly disabled: boolean;
|
|
785
|
+
readonly round: boolean;
|
|
786
|
+
readonly dark: boolean;
|
|
787
|
+
readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
|
|
788
|
+
readonly bg: boolean;
|
|
789
|
+
readonly loading: boolean;
|
|
790
|
+
readonly autofocus: boolean;
|
|
791
|
+
readonly tag: unknown;
|
|
792
|
+
readonly plain: boolean;
|
|
793
|
+
readonly nativeType: "button" | "reset" | "submit";
|
|
794
|
+
readonly loadingIcon: unknown;
|
|
795
|
+
readonly autoInsertSpace: boolean;
|
|
796
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
797
|
+
P: {};
|
|
798
|
+
B: {};
|
|
799
|
+
D: {};
|
|
800
|
+
C: {};
|
|
801
|
+
M: {};
|
|
802
|
+
Defaults: {};
|
|
803
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
804
|
+
readonly size: {
|
|
805
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
806
|
+
readonly required: false;
|
|
807
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
808
|
+
__epPropKey: true;
|
|
809
|
+
};
|
|
810
|
+
readonly disabled: BooleanConstructor;
|
|
811
|
+
readonly type: {
|
|
812
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
813
|
+
readonly required: false;
|
|
814
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
815
|
+
__epPropKey: true;
|
|
816
|
+
} & {
|
|
817
|
+
readonly default: "";
|
|
818
|
+
};
|
|
819
|
+
readonly icon: {
|
|
820
|
+
readonly type: import("vue").PropType<unknown>;
|
|
821
|
+
readonly required: false;
|
|
822
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
823
|
+
__epPropKey: true;
|
|
824
|
+
};
|
|
825
|
+
readonly nativeType: {
|
|
826
|
+
readonly type: import("vue").PropType<"button" | "reset" | "submit">;
|
|
827
|
+
readonly required: false;
|
|
828
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
829
|
+
__epPropKey: true;
|
|
830
|
+
} & {
|
|
831
|
+
readonly default: "button";
|
|
832
|
+
};
|
|
833
|
+
readonly loading: BooleanConstructor;
|
|
834
|
+
readonly loadingIcon: {
|
|
835
|
+
readonly type: import("vue").PropType<unknown>;
|
|
836
|
+
readonly required: false;
|
|
837
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
838
|
+
__epPropKey: true;
|
|
839
|
+
} & {
|
|
840
|
+
readonly default: () => any;
|
|
841
|
+
};
|
|
842
|
+
readonly plain: {
|
|
843
|
+
readonly type: import("vue").PropType<boolean>;
|
|
844
|
+
readonly required: false;
|
|
845
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
846
|
+
__epPropKey: true;
|
|
847
|
+
} & {
|
|
848
|
+
readonly default: undefined;
|
|
849
|
+
};
|
|
850
|
+
readonly text: BooleanConstructor;
|
|
851
|
+
readonly link: BooleanConstructor;
|
|
852
|
+
readonly bg: BooleanConstructor;
|
|
853
|
+
readonly autofocus: BooleanConstructor;
|
|
854
|
+
readonly round: {
|
|
855
|
+
readonly type: import("vue").PropType<boolean>;
|
|
856
|
+
readonly required: false;
|
|
857
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
858
|
+
__epPropKey: true;
|
|
859
|
+
} & {
|
|
860
|
+
readonly default: undefined;
|
|
861
|
+
};
|
|
862
|
+
readonly circle: BooleanConstructor;
|
|
863
|
+
readonly color: StringConstructor;
|
|
864
|
+
readonly dark: BooleanConstructor;
|
|
865
|
+
readonly autoInsertSpace: {
|
|
866
|
+
readonly type: import("vue").PropType<boolean>;
|
|
867
|
+
readonly required: false;
|
|
868
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
869
|
+
__epPropKey: true;
|
|
870
|
+
} & {
|
|
871
|
+
readonly default: undefined;
|
|
872
|
+
};
|
|
873
|
+
readonly tag: {
|
|
874
|
+
readonly type: import("vue").PropType<unknown>;
|
|
875
|
+
readonly required: false;
|
|
876
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
877
|
+
__epPropKey: true;
|
|
878
|
+
} & {
|
|
879
|
+
readonly default: "button";
|
|
880
|
+
};
|
|
881
|
+
}>> & {
|
|
882
|
+
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
883
|
+
}, {
|
|
884
|
+
ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
885
|
+
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
886
|
+
type: import("vue").ComputedRef<string>;
|
|
887
|
+
disabled: import("vue").ComputedRef<boolean>;
|
|
888
|
+
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
889
|
+
}, {}, {}, {}, {
|
|
890
|
+
readonly link: boolean;
|
|
891
|
+
readonly circle: boolean;
|
|
892
|
+
readonly text: boolean;
|
|
893
|
+
readonly disabled: boolean;
|
|
894
|
+
readonly round: boolean;
|
|
895
|
+
readonly dark: boolean;
|
|
896
|
+
readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
|
|
897
|
+
readonly bg: boolean;
|
|
898
|
+
readonly loading: boolean;
|
|
899
|
+
readonly autofocus: boolean;
|
|
900
|
+
readonly tag: unknown;
|
|
901
|
+
readonly plain: boolean;
|
|
902
|
+
readonly nativeType: "button" | "reset" | "submit";
|
|
903
|
+
readonly loadingIcon: unknown;
|
|
904
|
+
readonly autoInsertSpace: boolean;
|
|
905
|
+
}>;
|
|
906
|
+
__isFragment?: never;
|
|
907
|
+
__isTeleport?: never;
|
|
908
|
+
__isSuspense?: never;
|
|
909
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
910
|
+
readonly size: {
|
|
911
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
912
|
+
readonly required: false;
|
|
913
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
914
|
+
__epPropKey: true;
|
|
915
|
+
};
|
|
916
|
+
readonly disabled: BooleanConstructor;
|
|
917
|
+
readonly type: {
|
|
918
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
919
|
+
readonly required: false;
|
|
920
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
921
|
+
__epPropKey: true;
|
|
922
|
+
} & {
|
|
923
|
+
readonly default: "";
|
|
924
|
+
};
|
|
925
|
+
readonly icon: {
|
|
926
|
+
readonly type: import("vue").PropType<unknown>;
|
|
927
|
+
readonly required: false;
|
|
928
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
929
|
+
__epPropKey: true;
|
|
930
|
+
};
|
|
931
|
+
readonly nativeType: {
|
|
932
|
+
readonly type: import("vue").PropType<"button" | "reset" | "submit">;
|
|
933
|
+
readonly required: false;
|
|
934
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
935
|
+
__epPropKey: true;
|
|
936
|
+
} & {
|
|
937
|
+
readonly default: "button";
|
|
938
|
+
};
|
|
939
|
+
readonly loading: BooleanConstructor;
|
|
940
|
+
readonly loadingIcon: {
|
|
941
|
+
readonly type: import("vue").PropType<unknown>;
|
|
942
|
+
readonly required: false;
|
|
943
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
944
|
+
__epPropKey: true;
|
|
945
|
+
} & {
|
|
946
|
+
readonly default: () => any;
|
|
947
|
+
};
|
|
948
|
+
readonly plain: {
|
|
949
|
+
readonly type: import("vue").PropType<boolean>;
|
|
950
|
+
readonly required: false;
|
|
951
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
952
|
+
__epPropKey: true;
|
|
953
|
+
} & {
|
|
954
|
+
readonly default: undefined;
|
|
955
|
+
};
|
|
956
|
+
readonly text: BooleanConstructor;
|
|
957
|
+
readonly link: BooleanConstructor;
|
|
958
|
+
readonly bg: BooleanConstructor;
|
|
959
|
+
readonly autofocus: BooleanConstructor;
|
|
960
|
+
readonly round: {
|
|
961
|
+
readonly type: import("vue").PropType<boolean>;
|
|
962
|
+
readonly required: false;
|
|
963
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
964
|
+
__epPropKey: true;
|
|
965
|
+
} & {
|
|
966
|
+
readonly default: undefined;
|
|
967
|
+
};
|
|
968
|
+
readonly circle: BooleanConstructor;
|
|
969
|
+
readonly color: StringConstructor;
|
|
970
|
+
readonly dark: BooleanConstructor;
|
|
971
|
+
readonly autoInsertSpace: {
|
|
972
|
+
readonly type: import("vue").PropType<boolean>;
|
|
973
|
+
readonly required: false;
|
|
974
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
975
|
+
__epPropKey: true;
|
|
976
|
+
} & {
|
|
977
|
+
readonly default: undefined;
|
|
978
|
+
};
|
|
979
|
+
readonly tag: {
|
|
980
|
+
readonly type: import("vue").PropType<unknown>;
|
|
981
|
+
readonly required: false;
|
|
982
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
983
|
+
__epPropKey: true;
|
|
984
|
+
} & {
|
|
985
|
+
readonly default: "button";
|
|
986
|
+
};
|
|
987
|
+
}>> & {
|
|
988
|
+
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
989
|
+
}, {
|
|
990
|
+
ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
991
|
+
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
992
|
+
type: import("vue").ComputedRef<string>;
|
|
993
|
+
disabled: import("vue").ComputedRef<boolean>;
|
|
994
|
+
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
995
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
996
|
+
click: (evt: MouseEvent) => void;
|
|
997
|
+
}, string, {
|
|
998
|
+
readonly link: boolean;
|
|
999
|
+
readonly circle: boolean;
|
|
1000
|
+
readonly text: boolean;
|
|
1001
|
+
readonly disabled: boolean;
|
|
1002
|
+
readonly round: boolean;
|
|
1003
|
+
readonly dark: boolean;
|
|
1004
|
+
readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
|
|
1005
|
+
readonly bg: boolean;
|
|
1006
|
+
readonly loading: boolean;
|
|
1007
|
+
readonly autofocus: boolean;
|
|
1008
|
+
readonly tag: unknown;
|
|
1009
|
+
readonly plain: boolean;
|
|
1010
|
+
readonly nativeType: "button" | "reset" | "submit";
|
|
1011
|
+
readonly loadingIcon: unknown;
|
|
1012
|
+
readonly autoInsertSpace: boolean;
|
|
1013
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1014
|
+
$slots: {
|
|
1015
|
+
loading?(_: {}): any;
|
|
1016
|
+
icon?(_: {}): any;
|
|
1017
|
+
default?(_: {}): any;
|
|
1018
|
+
};
|
|
1019
|
+
}) & import("vue").Plugin) & {
|
|
1020
|
+
ButtonGroup: {
|
|
1021
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
1022
|
+
readonly size: {
|
|
1023
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
1024
|
+
readonly required: false;
|
|
1025
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1026
|
+
__epPropKey: true;
|
|
1027
|
+
};
|
|
1028
|
+
readonly type: {
|
|
1029
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
1030
|
+
readonly required: false;
|
|
1031
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1032
|
+
__epPropKey: true;
|
|
1033
|
+
} & {
|
|
1034
|
+
readonly default: "";
|
|
1035
|
+
};
|
|
1036
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
1037
|
+
readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
|
|
1038
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1039
|
+
P: {};
|
|
1040
|
+
B: {};
|
|
1041
|
+
D: {};
|
|
1042
|
+
C: {};
|
|
1043
|
+
M: {};
|
|
1044
|
+
Defaults: {};
|
|
1045
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
1046
|
+
readonly size: {
|
|
1047
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
1048
|
+
readonly required: false;
|
|
1049
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1050
|
+
__epPropKey: true;
|
|
1051
|
+
};
|
|
1052
|
+
readonly type: {
|
|
1053
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
1054
|
+
readonly required: false;
|
|
1055
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1056
|
+
__epPropKey: true;
|
|
1057
|
+
} & {
|
|
1058
|
+
readonly default: "";
|
|
1059
|
+
};
|
|
1060
|
+
}>>, {}, {}, {}, {}, {
|
|
1061
|
+
readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
|
|
1062
|
+
}>;
|
|
1063
|
+
__isFragment?: never;
|
|
1064
|
+
__isTeleport?: never;
|
|
1065
|
+
__isSuspense?: never;
|
|
1066
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
1067
|
+
readonly size: {
|
|
1068
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
1069
|
+
readonly required: false;
|
|
1070
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1071
|
+
__epPropKey: true;
|
|
1072
|
+
};
|
|
1073
|
+
readonly type: {
|
|
1074
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
1075
|
+
readonly required: false;
|
|
1076
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1077
|
+
__epPropKey: true;
|
|
1078
|
+
} & {
|
|
1079
|
+
readonly default: "";
|
|
1080
|
+
};
|
|
1081
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
1082
|
+
readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
|
|
1083
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1084
|
+
$slots: {
|
|
1085
|
+
default?(_: {}): any;
|
|
1086
|
+
};
|
|
1087
|
+
});
|
|
1088
|
+
};
|
|
1089
|
+
DialogForm: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1090
|
+
title: {
|
|
1091
|
+
type: StringConstructor;
|
|
1092
|
+
default: string;
|
|
1093
|
+
};
|
|
1094
|
+
modelValue: {
|
|
1095
|
+
type: ObjectConstructor;
|
|
1096
|
+
default: () => {};
|
|
1097
|
+
};
|
|
1098
|
+
openReset: {
|
|
1099
|
+
type: BooleanConstructor;
|
|
1100
|
+
default: boolean;
|
|
1101
|
+
};
|
|
1102
|
+
visible: {
|
|
1103
|
+
type: BooleanConstructor;
|
|
1104
|
+
default: boolean;
|
|
1105
|
+
};
|
|
1106
|
+
formItems: {
|
|
1107
|
+
type: ArrayConstructor;
|
|
1108
|
+
default: () => any[];
|
|
1109
|
+
};
|
|
1110
|
+
dialogFormProps: {
|
|
1111
|
+
type: ObjectConstructor;
|
|
1112
|
+
default: () => {};
|
|
1113
|
+
};
|
|
1114
|
+
validateCatch: {
|
|
1115
|
+
type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
|
|
1116
|
+
default: (err: any, init?: {
|
|
1117
|
+
prefix?: string;
|
|
1118
|
+
suffix?: string;
|
|
1119
|
+
}) => void;
|
|
1120
|
+
};
|
|
1121
|
+
}>, {
|
|
1122
|
+
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1123
|
+
title: {
|
|
1124
|
+
type: StringConstructor;
|
|
1125
|
+
default: string;
|
|
1126
|
+
};
|
|
1127
|
+
modelValue: {
|
|
1128
|
+
type: ObjectConstructor;
|
|
1129
|
+
default: () => {};
|
|
1130
|
+
};
|
|
1131
|
+
openReset: {
|
|
1132
|
+
type: BooleanConstructor;
|
|
1133
|
+
default: boolean;
|
|
1134
|
+
};
|
|
1135
|
+
visible: {
|
|
1136
|
+
type: BooleanConstructor;
|
|
1137
|
+
default: boolean;
|
|
1138
|
+
};
|
|
1139
|
+
formItems: {
|
|
1140
|
+
type: ArrayConstructor;
|
|
1141
|
+
default: () => any[];
|
|
1142
|
+
};
|
|
1143
|
+
dialogFormProps: {
|
|
1144
|
+
type: ObjectConstructor;
|
|
1145
|
+
default: () => {};
|
|
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
|
+
};
|
|
1154
|
+
}>> & Readonly<{
|
|
1155
|
+
"onUpdate:visible"?: (...args: any[]) => any;
|
|
1156
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
1157
|
+
onChange?: (...args: any[]) => any;
|
|
1158
|
+
}> & {}>;
|
|
1159
|
+
emit: (event: "update:modelValue" | "change" | "update:visible", ...args: any[]) => void;
|
|
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
|
+
};
|
|
2272
|
+
handleSubmit: () => void;
|
|
2273
|
+
readonly setData: (obj: any, e: SetDataEvent) => void;
|
|
2274
|
+
readonly VkfForm: {
|
|
2275
|
+
new (...args: any[]): any;
|
|
2276
|
+
__isFragment?: never;
|
|
2277
|
+
__isTeleport?: never;
|
|
2278
|
+
__isSuspense?: never;
|
|
2279
|
+
} & 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, {
|
|
2280
|
+
[x: string]: any;
|
|
2281
|
+
[x: symbol]: any;
|
|
2282
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
2283
|
+
install(app: import("vue").App): void;
|
|
2284
|
+
};
|
|
2285
|
+
readonly ElDialog: {
|
|
2286
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
2287
|
+
readonly appendToBody: BooleanConstructor;
|
|
2288
|
+
readonly appendTo: {
|
|
2289
|
+
readonly type: import("vue").PropType<string | HTMLElement>;
|
|
2290
|
+
readonly required: false;
|
|
2291
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2292
|
+
__epPropKey: true;
|
|
2293
|
+
} & {
|
|
2294
|
+
readonly default: "body";
|
|
2295
|
+
};
|
|
2296
|
+
readonly beforeClose: {
|
|
2297
|
+
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
2298
|
+
readonly required: false;
|
|
2299
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2300
|
+
__epPropKey: true;
|
|
2301
|
+
};
|
|
2302
|
+
readonly destroyOnClose: BooleanConstructor;
|
|
2303
|
+
readonly closeOnClickModal: {
|
|
2304
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2305
|
+
readonly required: false;
|
|
2306
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2307
|
+
__epPropKey: true;
|
|
2308
|
+
} & {
|
|
2309
|
+
readonly default: true;
|
|
2310
|
+
};
|
|
2311
|
+
readonly closeOnPressEscape: {
|
|
2312
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2313
|
+
readonly required: false;
|
|
2314
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2315
|
+
__epPropKey: true;
|
|
2316
|
+
} & {
|
|
2317
|
+
readonly default: true;
|
|
2318
|
+
};
|
|
2319
|
+
readonly lockScroll: {
|
|
2320
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2321
|
+
readonly required: false;
|
|
2322
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2323
|
+
__epPropKey: true;
|
|
2324
|
+
} & {
|
|
2325
|
+
readonly default: true;
|
|
2326
|
+
};
|
|
2327
|
+
readonly modal: {
|
|
2328
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2329
|
+
readonly required: false;
|
|
2330
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2331
|
+
__epPropKey: true;
|
|
2332
|
+
} & {
|
|
2333
|
+
readonly default: true;
|
|
2334
|
+
};
|
|
2335
|
+
readonly openDelay: {
|
|
2336
|
+
readonly type: import("vue").PropType<number>;
|
|
2337
|
+
readonly required: false;
|
|
2338
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2339
|
+
__epPropKey: true;
|
|
2340
|
+
} & {
|
|
2341
|
+
readonly default: 0;
|
|
2342
|
+
};
|
|
2343
|
+
readonly closeDelay: {
|
|
2344
|
+
readonly type: import("vue").PropType<number>;
|
|
2345
|
+
readonly required: false;
|
|
2346
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2347
|
+
__epPropKey: true;
|
|
2348
|
+
} & {
|
|
2349
|
+
readonly default: 0;
|
|
2350
|
+
};
|
|
2351
|
+
readonly top: {
|
|
2352
|
+
readonly type: import("vue").PropType<string>;
|
|
2353
|
+
readonly required: false;
|
|
2354
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2355
|
+
__epPropKey: true;
|
|
2356
|
+
};
|
|
2357
|
+
readonly modelValue: BooleanConstructor;
|
|
2358
|
+
readonly modalClass: StringConstructor;
|
|
2359
|
+
readonly headerClass: StringConstructor;
|
|
2360
|
+
readonly bodyClass: StringConstructor;
|
|
2361
|
+
readonly footerClass: StringConstructor;
|
|
2362
|
+
readonly width: {
|
|
2363
|
+
readonly type: import("vue").PropType<string | number>;
|
|
2364
|
+
readonly required: false;
|
|
2365
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2366
|
+
__epPropKey: true;
|
|
2367
|
+
};
|
|
2368
|
+
readonly zIndex: {
|
|
2369
|
+
readonly type: import("vue").PropType<number>;
|
|
2370
|
+
readonly required: false;
|
|
2371
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2372
|
+
__epPropKey: true;
|
|
2373
|
+
};
|
|
2374
|
+
readonly trapFocus: BooleanConstructor;
|
|
2375
|
+
readonly headerAriaLevel: {
|
|
2376
|
+
readonly type: import("vue").PropType<string>;
|
|
2377
|
+
readonly required: false;
|
|
2378
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2379
|
+
__epPropKey: true;
|
|
2380
|
+
} & {
|
|
2381
|
+
readonly default: "2";
|
|
2382
|
+
};
|
|
2383
|
+
readonly center: BooleanConstructor;
|
|
2384
|
+
readonly alignCenter: BooleanConstructor;
|
|
2385
|
+
readonly closeIcon: {
|
|
2386
|
+
readonly type: import("vue").PropType<unknown>;
|
|
2387
|
+
readonly required: false;
|
|
2388
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2389
|
+
__epPropKey: true;
|
|
2390
|
+
};
|
|
2391
|
+
readonly draggable: BooleanConstructor;
|
|
2392
|
+
readonly overflow: BooleanConstructor;
|
|
2393
|
+
readonly fullscreen: BooleanConstructor;
|
|
2394
|
+
readonly showClose: {
|
|
2395
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2396
|
+
readonly required: false;
|
|
2397
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2398
|
+
__epPropKey: true;
|
|
2399
|
+
} & {
|
|
2400
|
+
readonly default: true;
|
|
2401
|
+
};
|
|
2402
|
+
readonly title: {
|
|
2403
|
+
readonly type: import("vue").PropType<string>;
|
|
2404
|
+
readonly required: false;
|
|
2405
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2406
|
+
__epPropKey: true;
|
|
2407
|
+
} & {
|
|
2408
|
+
readonly default: "";
|
|
2409
|
+
};
|
|
2410
|
+
readonly ariaLevel: {
|
|
2411
|
+
readonly type: import("vue").PropType<string>;
|
|
2412
|
+
readonly required: false;
|
|
2413
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2414
|
+
__epPropKey: true;
|
|
2415
|
+
} & {
|
|
2416
|
+
readonly default: "2";
|
|
2417
|
+
};
|
|
2418
|
+
}>> & {
|
|
2419
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2420
|
+
onOpen?: (() => any) | undefined;
|
|
2421
|
+
onClose?: (() => any) | undefined;
|
|
2422
|
+
onOpened?: (() => any) | undefined;
|
|
2423
|
+
onClosed?: (() => any) | undefined;
|
|
2424
|
+
onOpenAutoFocus?: (() => any) | undefined;
|
|
2425
|
+
onCloseAutoFocus?: (() => any) | undefined;
|
|
2426
|
+
}, {
|
|
2427
|
+
visible: import("vue").Ref<boolean>;
|
|
2428
|
+
dialogContentRef: import("vue").Ref<any>;
|
|
2429
|
+
resetPosition: () => void;
|
|
2430
|
+
handleClose: () => void;
|
|
2431
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2432
|
+
open: () => void;
|
|
2433
|
+
"update:modelValue": (value: boolean) => void;
|
|
2434
|
+
close: () => void;
|
|
2435
|
+
opened: () => void;
|
|
2436
|
+
closed: () => void;
|
|
2437
|
+
openAutoFocus: () => void;
|
|
2438
|
+
closeAutoFocus: () => void;
|
|
2439
|
+
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
2440
|
+
readonly title: string;
|
|
2441
|
+
readonly center: boolean;
|
|
2442
|
+
readonly overflow: boolean;
|
|
2443
|
+
readonly modelValue: boolean;
|
|
2444
|
+
readonly ariaLevel: string;
|
|
2445
|
+
readonly appendTo: string | HTMLElement;
|
|
2446
|
+
readonly showClose: boolean;
|
|
2447
|
+
readonly alignCenter: boolean;
|
|
2448
|
+
readonly draggable: boolean;
|
|
2449
|
+
readonly fullscreen: boolean;
|
|
2450
|
+
readonly closeOnClickModal: boolean;
|
|
2451
|
+
readonly closeOnPressEscape: boolean;
|
|
2452
|
+
readonly lockScroll: boolean;
|
|
2453
|
+
readonly modal: boolean;
|
|
2454
|
+
readonly openDelay: number;
|
|
2455
|
+
readonly closeDelay: number;
|
|
2456
|
+
readonly headerAriaLevel: string;
|
|
2457
|
+
readonly appendToBody: boolean;
|
|
2458
|
+
readonly destroyOnClose: boolean;
|
|
2459
|
+
readonly trapFocus: boolean;
|
|
2460
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
2461
|
+
P: {};
|
|
2462
|
+
B: {};
|
|
2463
|
+
D: {};
|
|
2464
|
+
C: {};
|
|
2465
|
+
M: {};
|
|
2466
|
+
Defaults: {};
|
|
2467
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
2468
|
+
readonly appendToBody: BooleanConstructor;
|
|
2469
|
+
readonly appendTo: {
|
|
2470
|
+
readonly type: import("vue").PropType<string | HTMLElement>;
|
|
2471
|
+
readonly required: false;
|
|
2472
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2473
|
+
__epPropKey: true;
|
|
2474
|
+
} & {
|
|
2475
|
+
readonly default: "body";
|
|
2476
|
+
};
|
|
2477
|
+
readonly beforeClose: {
|
|
2478
|
+
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
2479
|
+
readonly required: false;
|
|
2480
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2481
|
+
__epPropKey: true;
|
|
2482
|
+
};
|
|
2483
|
+
readonly destroyOnClose: BooleanConstructor;
|
|
2484
|
+
readonly closeOnClickModal: {
|
|
2485
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2486
|
+
readonly required: false;
|
|
2487
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2488
|
+
__epPropKey: true;
|
|
2489
|
+
} & {
|
|
2490
|
+
readonly default: true;
|
|
2491
|
+
};
|
|
2492
|
+
readonly closeOnPressEscape: {
|
|
2493
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2494
|
+
readonly required: false;
|
|
2495
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2496
|
+
__epPropKey: true;
|
|
2497
|
+
} & {
|
|
2498
|
+
readonly default: true;
|
|
2499
|
+
};
|
|
2500
|
+
readonly lockScroll: {
|
|
2501
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2502
|
+
readonly required: false;
|
|
2503
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2504
|
+
__epPropKey: true;
|
|
2505
|
+
} & {
|
|
2506
|
+
readonly default: true;
|
|
2507
|
+
};
|
|
2508
|
+
readonly modal: {
|
|
2509
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2510
|
+
readonly required: false;
|
|
2511
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2512
|
+
__epPropKey: true;
|
|
2513
|
+
} & {
|
|
2514
|
+
readonly default: true;
|
|
2515
|
+
};
|
|
2516
|
+
readonly openDelay: {
|
|
2517
|
+
readonly type: import("vue").PropType<number>;
|
|
2518
|
+
readonly required: false;
|
|
2519
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2520
|
+
__epPropKey: true;
|
|
2521
|
+
} & {
|
|
2522
|
+
readonly default: 0;
|
|
2523
|
+
};
|
|
2524
|
+
readonly closeDelay: {
|
|
2525
|
+
readonly type: import("vue").PropType<number>;
|
|
2526
|
+
readonly required: false;
|
|
2527
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2528
|
+
__epPropKey: true;
|
|
2529
|
+
} & {
|
|
2530
|
+
readonly default: 0;
|
|
2531
|
+
};
|
|
2532
|
+
readonly top: {
|
|
2533
|
+
readonly type: import("vue").PropType<string>;
|
|
2534
|
+
readonly required: false;
|
|
2535
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2536
|
+
__epPropKey: true;
|
|
2537
|
+
};
|
|
2538
|
+
readonly modelValue: BooleanConstructor;
|
|
2539
|
+
readonly modalClass: StringConstructor;
|
|
2540
|
+
readonly headerClass: StringConstructor;
|
|
2541
|
+
readonly bodyClass: StringConstructor;
|
|
2542
|
+
readonly footerClass: StringConstructor;
|
|
2543
|
+
readonly width: {
|
|
2544
|
+
readonly type: import("vue").PropType<string | number>;
|
|
2545
|
+
readonly required: false;
|
|
2546
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2547
|
+
__epPropKey: true;
|
|
2548
|
+
};
|
|
2549
|
+
readonly zIndex: {
|
|
2550
|
+
readonly type: import("vue").PropType<number>;
|
|
2551
|
+
readonly required: false;
|
|
2552
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2553
|
+
__epPropKey: true;
|
|
2554
|
+
};
|
|
2555
|
+
readonly trapFocus: BooleanConstructor;
|
|
2556
|
+
readonly headerAriaLevel: {
|
|
2557
|
+
readonly type: import("vue").PropType<string>;
|
|
2558
|
+
readonly required: false;
|
|
2559
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2560
|
+
__epPropKey: true;
|
|
2561
|
+
} & {
|
|
2562
|
+
readonly default: "2";
|
|
2563
|
+
};
|
|
2564
|
+
readonly center: BooleanConstructor;
|
|
2565
|
+
readonly alignCenter: BooleanConstructor;
|
|
2566
|
+
readonly closeIcon: {
|
|
2567
|
+
readonly type: import("vue").PropType<unknown>;
|
|
2568
|
+
readonly required: false;
|
|
2569
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2570
|
+
__epPropKey: true;
|
|
2571
|
+
};
|
|
2572
|
+
readonly draggable: BooleanConstructor;
|
|
2573
|
+
readonly overflow: BooleanConstructor;
|
|
2574
|
+
readonly fullscreen: BooleanConstructor;
|
|
2575
|
+
readonly showClose: {
|
|
2576
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2577
|
+
readonly required: false;
|
|
2578
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2579
|
+
__epPropKey: true;
|
|
2580
|
+
} & {
|
|
2581
|
+
readonly default: true;
|
|
2582
|
+
};
|
|
2583
|
+
readonly title: {
|
|
2584
|
+
readonly type: import("vue").PropType<string>;
|
|
2585
|
+
readonly required: false;
|
|
2586
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2587
|
+
__epPropKey: true;
|
|
2588
|
+
} & {
|
|
2589
|
+
readonly default: "";
|
|
2590
|
+
};
|
|
2591
|
+
readonly ariaLevel: {
|
|
2592
|
+
readonly type: import("vue").PropType<string>;
|
|
2593
|
+
readonly required: false;
|
|
2594
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2595
|
+
__epPropKey: true;
|
|
2596
|
+
} & {
|
|
2597
|
+
readonly default: "2";
|
|
2598
|
+
};
|
|
2599
|
+
}>> & {
|
|
2600
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2601
|
+
onOpen?: (() => any) | undefined;
|
|
2602
|
+
onClose?: (() => any) | undefined;
|
|
2603
|
+
onOpened?: (() => any) | undefined;
|
|
2604
|
+
onClosed?: (() => any) | undefined;
|
|
2605
|
+
onOpenAutoFocus?: (() => any) | undefined;
|
|
2606
|
+
onCloseAutoFocus?: (() => any) | undefined;
|
|
2607
|
+
}, {
|
|
2608
|
+
visible: import("vue").Ref<boolean>;
|
|
2609
|
+
dialogContentRef: import("vue").Ref<any>;
|
|
2610
|
+
resetPosition: () => void;
|
|
2611
|
+
handleClose: () => void;
|
|
2612
|
+
}, {}, {}, {}, {
|
|
2613
|
+
readonly title: string;
|
|
2614
|
+
readonly center: boolean;
|
|
2615
|
+
readonly overflow: boolean;
|
|
2616
|
+
readonly modelValue: boolean;
|
|
2617
|
+
readonly ariaLevel: string;
|
|
2618
|
+
readonly appendTo: string | HTMLElement;
|
|
2619
|
+
readonly showClose: boolean;
|
|
2620
|
+
readonly alignCenter: boolean;
|
|
2621
|
+
readonly draggable: boolean;
|
|
2622
|
+
readonly fullscreen: boolean;
|
|
2623
|
+
readonly closeOnClickModal: boolean;
|
|
2624
|
+
readonly closeOnPressEscape: boolean;
|
|
2625
|
+
readonly lockScroll: boolean;
|
|
2626
|
+
readonly modal: boolean;
|
|
2627
|
+
readonly openDelay: number;
|
|
2628
|
+
readonly closeDelay: number;
|
|
2629
|
+
readonly headerAriaLevel: string;
|
|
2630
|
+
readonly appendToBody: boolean;
|
|
2631
|
+
readonly destroyOnClose: boolean;
|
|
2632
|
+
readonly trapFocus: boolean;
|
|
2633
|
+
}>;
|
|
2634
|
+
__isFragment?: never;
|
|
2635
|
+
__isTeleport?: never;
|
|
2636
|
+
__isSuspense?: never;
|
|
2637
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
2638
|
+
readonly appendToBody: BooleanConstructor;
|
|
2639
|
+
readonly appendTo: {
|
|
2640
|
+
readonly type: import("vue").PropType<string | HTMLElement>;
|
|
2641
|
+
readonly required: false;
|
|
2642
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2643
|
+
__epPropKey: true;
|
|
2644
|
+
} & {
|
|
2645
|
+
readonly default: "body";
|
|
2646
|
+
};
|
|
2647
|
+
readonly beforeClose: {
|
|
2648
|
+
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
2649
|
+
readonly required: false;
|
|
2650
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2651
|
+
__epPropKey: true;
|
|
2652
|
+
};
|
|
2653
|
+
readonly destroyOnClose: BooleanConstructor;
|
|
2654
|
+
readonly closeOnClickModal: {
|
|
2655
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2656
|
+
readonly required: false;
|
|
2657
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2658
|
+
__epPropKey: true;
|
|
2659
|
+
} & {
|
|
2660
|
+
readonly default: true;
|
|
2661
|
+
};
|
|
2662
|
+
readonly closeOnPressEscape: {
|
|
2663
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2664
|
+
readonly required: false;
|
|
2665
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2666
|
+
__epPropKey: true;
|
|
2667
|
+
} & {
|
|
2668
|
+
readonly default: true;
|
|
2669
|
+
};
|
|
2670
|
+
readonly lockScroll: {
|
|
2671
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2672
|
+
readonly required: false;
|
|
2673
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2674
|
+
__epPropKey: true;
|
|
2675
|
+
} & {
|
|
2676
|
+
readonly default: true;
|
|
2677
|
+
};
|
|
2678
|
+
readonly modal: {
|
|
2679
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2680
|
+
readonly required: false;
|
|
2681
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2682
|
+
__epPropKey: true;
|
|
2683
|
+
} & {
|
|
2684
|
+
readonly default: true;
|
|
2685
|
+
};
|
|
2686
|
+
readonly openDelay: {
|
|
2687
|
+
readonly type: import("vue").PropType<number>;
|
|
2688
|
+
readonly required: false;
|
|
2689
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2690
|
+
__epPropKey: true;
|
|
2691
|
+
} & {
|
|
2692
|
+
readonly default: 0;
|
|
2693
|
+
};
|
|
2694
|
+
readonly closeDelay: {
|
|
2695
|
+
readonly type: import("vue").PropType<number>;
|
|
2696
|
+
readonly required: false;
|
|
2697
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2698
|
+
__epPropKey: true;
|
|
2699
|
+
} & {
|
|
2700
|
+
readonly default: 0;
|
|
2701
|
+
};
|
|
2702
|
+
readonly top: {
|
|
2703
|
+
readonly type: import("vue").PropType<string>;
|
|
2704
|
+
readonly required: false;
|
|
2705
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2706
|
+
__epPropKey: true;
|
|
2707
|
+
};
|
|
2708
|
+
readonly modelValue: BooleanConstructor;
|
|
2709
|
+
readonly modalClass: StringConstructor;
|
|
2710
|
+
readonly headerClass: StringConstructor;
|
|
2711
|
+
readonly bodyClass: StringConstructor;
|
|
2712
|
+
readonly footerClass: StringConstructor;
|
|
2713
|
+
readonly width: {
|
|
2714
|
+
readonly type: import("vue").PropType<string | number>;
|
|
2715
|
+
readonly required: false;
|
|
2716
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2717
|
+
__epPropKey: true;
|
|
2718
|
+
};
|
|
2719
|
+
readonly zIndex: {
|
|
2720
|
+
readonly type: import("vue").PropType<number>;
|
|
2721
|
+
readonly required: false;
|
|
2722
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2723
|
+
__epPropKey: true;
|
|
2724
|
+
};
|
|
2725
|
+
readonly trapFocus: BooleanConstructor;
|
|
2726
|
+
readonly headerAriaLevel: {
|
|
2727
|
+
readonly type: import("vue").PropType<string>;
|
|
2728
|
+
readonly required: false;
|
|
2729
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2730
|
+
__epPropKey: true;
|
|
2731
|
+
} & {
|
|
2732
|
+
readonly default: "2";
|
|
2733
|
+
};
|
|
2734
|
+
readonly center: BooleanConstructor;
|
|
2735
|
+
readonly alignCenter: BooleanConstructor;
|
|
2736
|
+
readonly closeIcon: {
|
|
2737
|
+
readonly type: import("vue").PropType<unknown>;
|
|
2738
|
+
readonly required: false;
|
|
2739
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2740
|
+
__epPropKey: true;
|
|
2741
|
+
};
|
|
2742
|
+
readonly draggable: BooleanConstructor;
|
|
2743
|
+
readonly overflow: BooleanConstructor;
|
|
2744
|
+
readonly fullscreen: BooleanConstructor;
|
|
2745
|
+
readonly showClose: {
|
|
2746
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2747
|
+
readonly required: false;
|
|
2748
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2749
|
+
__epPropKey: true;
|
|
2750
|
+
} & {
|
|
2751
|
+
readonly default: true;
|
|
2752
|
+
};
|
|
2753
|
+
readonly title: {
|
|
2754
|
+
readonly type: import("vue").PropType<string>;
|
|
2755
|
+
readonly required: false;
|
|
2756
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2757
|
+
__epPropKey: true;
|
|
2758
|
+
} & {
|
|
2759
|
+
readonly default: "";
|
|
2760
|
+
};
|
|
2761
|
+
readonly ariaLevel: {
|
|
2762
|
+
readonly type: import("vue").PropType<string>;
|
|
2763
|
+
readonly required: false;
|
|
2764
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2765
|
+
__epPropKey: true;
|
|
2766
|
+
} & {
|
|
2767
|
+
readonly default: "2";
|
|
2768
|
+
};
|
|
2769
|
+
}>> & {
|
|
2770
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2771
|
+
onOpen?: (() => any) | undefined;
|
|
2772
|
+
onClose?: (() => any) | undefined;
|
|
2773
|
+
onOpened?: (() => any) | undefined;
|
|
2774
|
+
onClosed?: (() => any) | undefined;
|
|
2775
|
+
onOpenAutoFocus?: (() => any) | undefined;
|
|
2776
|
+
onCloseAutoFocus?: (() => any) | undefined;
|
|
2777
|
+
}, {
|
|
2778
|
+
visible: import("vue").Ref<boolean>;
|
|
2779
|
+
dialogContentRef: import("vue").Ref<any>;
|
|
2780
|
+
resetPosition: () => void;
|
|
2781
|
+
handleClose: () => void;
|
|
2782
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2783
|
+
open: () => void;
|
|
2784
|
+
"update:modelValue": (value: boolean) => void;
|
|
2785
|
+
close: () => void;
|
|
2786
|
+
opened: () => void;
|
|
2787
|
+
closed: () => void;
|
|
2788
|
+
openAutoFocus: () => void;
|
|
2789
|
+
closeAutoFocus: () => void;
|
|
2790
|
+
}, string, {
|
|
2791
|
+
readonly title: string;
|
|
2792
|
+
readonly center: boolean;
|
|
2793
|
+
readonly overflow: boolean;
|
|
2794
|
+
readonly modelValue: boolean;
|
|
2795
|
+
readonly ariaLevel: string;
|
|
2796
|
+
readonly appendTo: string | HTMLElement;
|
|
2797
|
+
readonly showClose: boolean;
|
|
2798
|
+
readonly alignCenter: boolean;
|
|
2799
|
+
readonly draggable: boolean;
|
|
2800
|
+
readonly fullscreen: boolean;
|
|
2801
|
+
readonly closeOnClickModal: boolean;
|
|
2802
|
+
readonly closeOnPressEscape: boolean;
|
|
2803
|
+
readonly lockScroll: boolean;
|
|
2804
|
+
readonly modal: boolean;
|
|
2805
|
+
readonly openDelay: number;
|
|
2806
|
+
readonly closeDelay: number;
|
|
2807
|
+
readonly headerAriaLevel: string;
|
|
2808
|
+
readonly appendToBody: boolean;
|
|
2809
|
+
readonly destroyOnClose: boolean;
|
|
2810
|
+
readonly trapFocus: boolean;
|
|
2811
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
2812
|
+
$slots: {
|
|
2813
|
+
header?(_: {
|
|
2814
|
+
close: () => void;
|
|
2815
|
+
titleId: string;
|
|
2816
|
+
titleClass: string;
|
|
2817
|
+
}): any;
|
|
2818
|
+
title?(_: {}): any;
|
|
2819
|
+
default?(_: {}): any;
|
|
2820
|
+
footer?(_: {}): any;
|
|
2821
|
+
};
|
|
2822
|
+
}) & import("vue").Plugin;
|
|
2823
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "update:visible")[], "update:modelValue" | "change" | "update:visible", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2824
|
+
title: {
|
|
2825
|
+
type: StringConstructor;
|
|
2826
|
+
default: string;
|
|
2827
|
+
};
|
|
2828
|
+
modelValue: {
|
|
2829
|
+
type: ObjectConstructor;
|
|
2830
|
+
default: () => {};
|
|
2831
|
+
};
|
|
2832
|
+
openReset: {
|
|
2833
|
+
type: BooleanConstructor;
|
|
2834
|
+
default: boolean;
|
|
2835
|
+
};
|
|
2836
|
+
visible: {
|
|
2837
|
+
type: BooleanConstructor;
|
|
2838
|
+
default: boolean;
|
|
2839
|
+
};
|
|
2840
|
+
formItems: {
|
|
2841
|
+
type: ArrayConstructor;
|
|
2842
|
+
default: () => any[];
|
|
2843
|
+
};
|
|
2844
|
+
dialogFormProps: {
|
|
2845
|
+
type: ObjectConstructor;
|
|
2846
|
+
default: () => {};
|
|
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
|
+
};
|
|
2855
|
+
}>> & Readonly<{
|
|
2856
|
+
"onUpdate:visible"?: (...args: any[]) => any;
|
|
2857
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
2858
|
+
onChange?: (...args: any[]) => any;
|
|
2859
|
+
}>, {
|
|
2860
|
+
visible: boolean;
|
|
2861
|
+
modelValue: Record<string, any>;
|
|
2862
|
+
formItems: unknown[];
|
|
2863
|
+
dialogFormProps: Record<string, any>;
|
|
2864
|
+
validateCatch: import("@vunk/shared").AnyFunc;
|
|
2865
|
+
title: string;
|
|
2866
|
+
openReset: boolean;
|
|
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>;
|
|
2952
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2953
|
+
'update:modelValue': any;
|
|
2954
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2955
|
+
columns: {
|
|
2956
|
+
type: import("vue").PropType<any[]>;
|
|
2957
|
+
default: () => any[];
|
|
2958
|
+
};
|
|
2959
|
+
modelValue: {
|
|
2960
|
+
type: import("vue").PropType<NormalObject[]>;
|
|
2961
|
+
default: () => any[];
|
|
2962
|
+
};
|
|
2963
|
+
readonly: {
|
|
2964
|
+
type: BooleanConstructor;
|
|
2965
|
+
default: any;
|
|
2966
|
+
};
|
|
2967
|
+
splicable: {
|
|
2968
|
+
type: BooleanConstructor;
|
|
2969
|
+
default: boolean;
|
|
2970
|
+
};
|
|
2971
|
+
labelActions: {
|
|
2972
|
+
type: BooleanConstructor;
|
|
2973
|
+
default: boolean;
|
|
2974
|
+
};
|
|
2975
|
+
defaultItemValue: {
|
|
2976
|
+
type: import("vue").PropType<NormalObject>;
|
|
2977
|
+
default: () => {};
|
|
2978
|
+
};
|
|
2979
|
+
dialogFormProps: {
|
|
2980
|
+
type: ObjectConstructor;
|
|
2981
|
+
default: () => {};
|
|
2982
|
+
};
|
|
2983
|
+
validateCatch: {
|
|
2984
|
+
type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
|
|
2985
|
+
};
|
|
2986
|
+
modules: {
|
|
2987
|
+
type: import("vue").PropType<import("./types").Modules[]>;
|
|
2988
|
+
default: () => string[];
|
|
2989
|
+
};
|
|
2990
|
+
required: {
|
|
2991
|
+
readonly type: import("vue").PropType<boolean>;
|
|
2992
|
+
readonly required: false;
|
|
2993
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2994
|
+
__epPropKey: true;
|
|
2995
|
+
} & {
|
|
2996
|
+
readonly default: undefined;
|
|
2997
|
+
};
|
|
2998
|
+
formItemSize: {
|
|
2999
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
3000
|
+
default: "default" | "small" | "large";
|
|
3001
|
+
};
|
|
3002
|
+
formItemSlots: {
|
|
3003
|
+
type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
3004
|
+
default: any;
|
|
3005
|
+
};
|
|
3006
|
+
elRef: {
|
|
3007
|
+
type: import("vue").PropType<any>;
|
|
3008
|
+
required: boolean;
|
|
3009
|
+
};
|
|
3010
|
+
inline: {
|
|
3011
|
+
type: BooleanConstructor;
|
|
3012
|
+
default: boolean;
|
|
3013
|
+
};
|
|
3014
|
+
formItemTip: {
|
|
3015
|
+
type: StringConstructor;
|
|
3016
|
+
default: any;
|
|
3017
|
+
};
|
|
3018
|
+
formItemTipClass: any;
|
|
3019
|
+
labelTip: {
|
|
3020
|
+
type: StringConstructor;
|
|
3021
|
+
default: any;
|
|
3022
|
+
};
|
|
3023
|
+
information: {
|
|
3024
|
+
type: BooleanConstructor;
|
|
3025
|
+
default: boolean;
|
|
3026
|
+
};
|
|
3027
|
+
prop: any;
|
|
3028
|
+
label: StringConstructor;
|
|
3029
|
+
labelWidth: {
|
|
3030
|
+
readonly type: import("vue").PropType<string | number>;
|
|
3031
|
+
readonly required: false;
|
|
3032
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3033
|
+
__epPropKey: true;
|
|
3034
|
+
} & {
|
|
3035
|
+
readonly default: "";
|
|
3036
|
+
};
|
|
3037
|
+
labelPosition: {
|
|
3038
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
3039
|
+
readonly required: false;
|
|
3040
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3041
|
+
__epPropKey: true;
|
|
3042
|
+
} & {
|
|
3043
|
+
readonly default: "";
|
|
3044
|
+
};
|
|
3045
|
+
rules: {
|
|
3046
|
+
readonly type: import("vue").PropType<unknown>;
|
|
3047
|
+
readonly required: false;
|
|
3048
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3049
|
+
__epPropKey: true;
|
|
3050
|
+
};
|
|
3051
|
+
error: StringConstructor;
|
|
3052
|
+
validateStatus: {
|
|
3053
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
3054
|
+
readonly required: false;
|
|
3055
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3056
|
+
__epPropKey: true;
|
|
3057
|
+
};
|
|
3058
|
+
for: StringConstructor;
|
|
3059
|
+
inlineMessage: {
|
|
3060
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
3061
|
+
readonly required: false;
|
|
3062
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3063
|
+
__epPropKey: true;
|
|
3064
|
+
} & {
|
|
3065
|
+
readonly default: "";
|
|
3066
|
+
};
|
|
3067
|
+
showMessage: {
|
|
3068
|
+
readonly type: import("vue").PropType<boolean>;
|
|
3069
|
+
readonly required: false;
|
|
3070
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3071
|
+
__epPropKey: true;
|
|
3072
|
+
} & {
|
|
3073
|
+
readonly default: true;
|
|
3074
|
+
};
|
|
3075
|
+
}>> & Readonly<{
|
|
3076
|
+
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
3077
|
+
}>, {
|
|
3078
|
+
required: boolean;
|
|
3079
|
+
formItemSize: "default" | "small" | "large";
|
|
3080
|
+
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
3081
|
+
inline: boolean;
|
|
3082
|
+
readonly: boolean;
|
|
3083
|
+
formItemTip: string;
|
|
3084
|
+
formItemTipClass: any;
|
|
3085
|
+
labelTip: string;
|
|
3086
|
+
information: boolean;
|
|
3087
|
+
prop: any;
|
|
3088
|
+
labelWidth: string | number;
|
|
3089
|
+
labelPosition: "" | "top" | "left" | "right";
|
|
3090
|
+
inlineMessage: string | boolean;
|
|
3091
|
+
showMessage: boolean;
|
|
3092
|
+
modelValue: NormalObject[];
|
|
3093
|
+
columns: any[];
|
|
3094
|
+
modules: "operations:add"[];
|
|
3095
|
+
labelActions: boolean;
|
|
3096
|
+
splicable: boolean;
|
|
3097
|
+
defaultItemValue: NormalObject;
|
|
3098
|
+
dialogFormProps: Record<string, any>;
|
|
3099
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3100
|
+
export default _default;
|