amelia-booking-ui 0.0.544 → 0.0.545
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/dist/amelia-booking-ui.css +1 -1
- package/dist/amelia-booking-ui.es.js +22840 -18543
- package/dist/types/components/form/AmForm.vue.d.ts +290 -210
- package/dist/types/components/popover/AmPopover.vue.d.ts +486 -830
- package/package.json +1 -1
|
@@ -9,38 +9,32 @@ declare function __VLS_template(): {
|
|
|
9
9
|
$: import('vue').ComponentInternalInstance;
|
|
10
10
|
$data: {};
|
|
11
11
|
$props: Partial<{
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
readonly labelSuffix: string;
|
|
20
|
-
readonly validateOnRuleChange: import('element-plus/es/utils').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
21
|
-
readonly scrollIntoViewOptions: import('element-plus/es/utils').EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
22
|
-
readonly statusIcon: boolean;
|
|
23
|
-
readonly hideRequiredAsterisk: boolean;
|
|
24
|
-
readonly scrollToError: boolean;
|
|
12
|
+
labelWidth: string | number;
|
|
13
|
+
labelPosition: "left" | "right" | "top";
|
|
14
|
+
showMessage: boolean;
|
|
15
|
+
requireAsteriskPosition: "left" | "right";
|
|
16
|
+
labelSuffix: string;
|
|
17
|
+
validateOnRuleChange: boolean;
|
|
18
|
+
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
25
19
|
}> & Omit<{
|
|
26
|
-
readonly
|
|
27
|
-
readonly
|
|
28
|
-
readonly
|
|
29
|
-
readonly requireAsteriskPosition: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
30
|
-
readonly labelWidth: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
20
|
+
readonly labelPosition: "left" | "right" | "top";
|
|
21
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
22
|
+
readonly labelWidth: string | number;
|
|
31
23
|
readonly labelSuffix: string;
|
|
32
|
-
readonly
|
|
33
|
-
readonly
|
|
34
|
-
readonly
|
|
35
|
-
readonly
|
|
36
|
-
readonly
|
|
37
|
-
readonly
|
|
38
|
-
readonly scrollIntoViewOptions: true;
|
|
39
|
-
readonly size?: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>;
|
|
24
|
+
readonly showMessage: boolean;
|
|
25
|
+
readonly validateOnRuleChange: boolean;
|
|
26
|
+
readonly scrollIntoViewOptions: boolean;
|
|
27
|
+
readonly size?: import('element-plus').ComponentSize;
|
|
28
|
+
readonly disabled?: boolean;
|
|
29
|
+
readonly inline?: boolean;
|
|
40
30
|
readonly model?: Record<string, any>;
|
|
41
|
-
readonly rules?:
|
|
31
|
+
readonly rules?: import('element-plus').FormRules;
|
|
32
|
+
readonly inlineMessage?: boolean;
|
|
33
|
+
readonly statusIcon?: boolean;
|
|
34
|
+
readonly hideRequiredAsterisk?: boolean;
|
|
35
|
+
readonly scrollToError?: boolean;
|
|
42
36
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
43
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "
|
|
37
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions">;
|
|
44
38
|
$attrs: {
|
|
45
39
|
[x: string]: unknown;
|
|
46
40
|
};
|
|
@@ -56,32 +50,61 @@ declare function __VLS_template(): {
|
|
|
56
50
|
$emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
57
51
|
$el: any;
|
|
58
52
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
53
|
+
size: {
|
|
54
|
+
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
55
|
+
};
|
|
56
|
+
disabled: {
|
|
57
|
+
type: import('vue').PropType<boolean>;
|
|
58
|
+
};
|
|
59
|
+
labelPosition: {
|
|
60
|
+
type: import('vue').PropType<"top" | "left" | "right">;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
inline: {
|
|
64
|
+
type: import('vue').PropType<boolean>;
|
|
65
|
+
};
|
|
66
|
+
model: {
|
|
67
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
68
|
+
};
|
|
69
|
+
rules: {
|
|
70
|
+
type: import('vue').PropType<Partial<Record<string, import('element-plus/es/utils').Arrayable<import('element-plus').FormItemRule>>>>;
|
|
71
|
+
};
|
|
72
|
+
requireAsteriskPosition: {
|
|
73
|
+
type: import('vue').PropType<"left" | "right">;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
labelWidth: {
|
|
77
|
+
type: import('vue').PropType<string | number>;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
labelSuffix: {
|
|
81
|
+
type: import('vue').PropType<string>;
|
|
82
|
+
default: string;
|
|
65
83
|
};
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
84
|
+
inlineMessage: {
|
|
85
|
+
type: import('vue').PropType<boolean>;
|
|
86
|
+
};
|
|
87
|
+
statusIcon: {
|
|
88
|
+
type: import('vue').PropType<boolean>;
|
|
89
|
+
};
|
|
90
|
+
showMessage: {
|
|
91
|
+
type: import('vue').PropType<boolean>;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
validateOnRuleChange: {
|
|
95
|
+
type: import('vue').PropType<boolean>;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
hideRequiredAsterisk: {
|
|
99
|
+
type: import('vue').PropType<boolean>;
|
|
100
|
+
};
|
|
101
|
+
scrollToError: {
|
|
102
|
+
type: import('vue').PropType<boolean>;
|
|
103
|
+
};
|
|
104
|
+
scrollIntoViewOptions: {
|
|
105
|
+
type: import('vue').PropType<boolean | ScrollIntoViewOptions>;
|
|
106
|
+
default: boolean;
|
|
83
107
|
};
|
|
84
|
-
readonly disabled: BooleanConstructor;
|
|
85
108
|
}>> & {
|
|
86
109
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
87
110
|
}, {
|
|
@@ -96,19 +119,13 @@ declare function __VLS_template(): {
|
|
|
96
119
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
97
120
|
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
98
121
|
}, string, {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
readonly labelSuffix: string;
|
|
107
|
-
readonly validateOnRuleChange: import('element-plus/es/utils').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
108
|
-
readonly scrollIntoViewOptions: import('element-plus/es/utils').EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
109
|
-
readonly statusIcon: boolean;
|
|
110
|
-
readonly hideRequiredAsterisk: boolean;
|
|
111
|
-
readonly scrollToError: boolean;
|
|
122
|
+
labelWidth: string | number;
|
|
123
|
+
labelPosition: "left" | "right" | "top";
|
|
124
|
+
showMessage: boolean;
|
|
125
|
+
requireAsteriskPosition: "left" | "right";
|
|
126
|
+
labelSuffix: string;
|
|
127
|
+
validateOnRuleChange: boolean;
|
|
128
|
+
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
112
129
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
113
130
|
beforeCreate?: (() => void) | (() => void)[];
|
|
114
131
|
created?: (() => void) | (() => void)[];
|
|
@@ -130,49 +147,72 @@ declare function __VLS_template(): {
|
|
|
130
147
|
$nextTick: typeof import('vue').nextTick;
|
|
131
148
|
$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;
|
|
132
149
|
} & Readonly<{
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
readonly labelSuffix: string;
|
|
141
|
-
readonly validateOnRuleChange: import('element-plus/es/utils').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
142
|
-
readonly scrollIntoViewOptions: import('element-plus/es/utils').EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
143
|
-
readonly statusIcon: boolean;
|
|
144
|
-
readonly hideRequiredAsterisk: boolean;
|
|
145
|
-
readonly scrollToError: boolean;
|
|
150
|
+
labelWidth: string | number;
|
|
151
|
+
labelPosition: "left" | "right" | "top";
|
|
152
|
+
showMessage: boolean;
|
|
153
|
+
requireAsteriskPosition: "left" | "right";
|
|
154
|
+
labelSuffix: string;
|
|
155
|
+
validateOnRuleChange: boolean;
|
|
156
|
+
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
146
157
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
158
|
+
size: {
|
|
159
|
+
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
160
|
+
};
|
|
161
|
+
disabled: {
|
|
162
|
+
type: import('vue').PropType<boolean>;
|
|
163
|
+
};
|
|
164
|
+
labelPosition: {
|
|
165
|
+
type: import('vue').PropType<"top" | "left" | "right">;
|
|
166
|
+
default: string;
|
|
167
|
+
};
|
|
168
|
+
inline: {
|
|
169
|
+
type: import('vue').PropType<boolean>;
|
|
170
|
+
};
|
|
171
|
+
model: {
|
|
172
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
173
|
+
};
|
|
174
|
+
rules: {
|
|
175
|
+
type: import('vue').PropType<Partial<Record<string, import('element-plus/es/utils').Arrayable<import('element-plus').FormItemRule>>>>;
|
|
176
|
+
};
|
|
177
|
+
requireAsteriskPosition: {
|
|
178
|
+
type: import('vue').PropType<"left" | "right">;
|
|
179
|
+
default: string;
|
|
180
|
+
};
|
|
181
|
+
labelWidth: {
|
|
182
|
+
type: import('vue').PropType<string | number>;
|
|
183
|
+
default: string;
|
|
184
|
+
};
|
|
185
|
+
labelSuffix: {
|
|
186
|
+
type: import('vue').PropType<string>;
|
|
187
|
+
default: string;
|
|
188
|
+
};
|
|
189
|
+
inlineMessage: {
|
|
190
|
+
type: import('vue').PropType<boolean>;
|
|
191
|
+
};
|
|
192
|
+
statusIcon: {
|
|
193
|
+
type: import('vue').PropType<boolean>;
|
|
194
|
+
};
|
|
195
|
+
showMessage: {
|
|
196
|
+
type: import('vue').PropType<boolean>;
|
|
197
|
+
default: boolean;
|
|
198
|
+
};
|
|
199
|
+
validateOnRuleChange: {
|
|
200
|
+
type: import('vue').PropType<boolean>;
|
|
201
|
+
default: boolean;
|
|
202
|
+
};
|
|
203
|
+
hideRequiredAsterisk: {
|
|
204
|
+
type: import('vue').PropType<boolean>;
|
|
205
|
+
};
|
|
206
|
+
scrollToError: {
|
|
207
|
+
type: import('vue').PropType<boolean>;
|
|
208
|
+
};
|
|
209
|
+
scrollIntoViewOptions: {
|
|
210
|
+
type: import('vue').PropType<boolean | ScrollIntoViewOptions>;
|
|
211
|
+
default: boolean;
|
|
212
|
+
};
|
|
173
213
|
}>> & {
|
|
174
214
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
175
|
-
}, "
|
|
215
|
+
}, "labelPosition" | "validate" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
176
216
|
validate: (callback?: FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
177
217
|
validateField: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>, callback?: FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
178
218
|
resetFields: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -201,38 +241,32 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
201
241
|
$: import('vue').ComponentInternalInstance;
|
|
202
242
|
$data: {};
|
|
203
243
|
$props: Partial<{
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
readonly labelSuffix: string;
|
|
212
|
-
readonly validateOnRuleChange: import('element-plus/es/utils').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
213
|
-
readonly scrollIntoViewOptions: import('element-plus/es/utils').EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
214
|
-
readonly statusIcon: boolean;
|
|
215
|
-
readonly hideRequiredAsterisk: boolean;
|
|
216
|
-
readonly scrollToError: boolean;
|
|
244
|
+
labelWidth: string | number;
|
|
245
|
+
labelPosition: "left" | "right" | "top";
|
|
246
|
+
showMessage: boolean;
|
|
247
|
+
requireAsteriskPosition: "left" | "right";
|
|
248
|
+
labelSuffix: string;
|
|
249
|
+
validateOnRuleChange: boolean;
|
|
250
|
+
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
217
251
|
}> & Omit<{
|
|
218
|
-
readonly
|
|
219
|
-
readonly
|
|
220
|
-
readonly
|
|
221
|
-
readonly requireAsteriskPosition: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
222
|
-
readonly labelWidth: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
252
|
+
readonly labelPosition: "left" | "right" | "top";
|
|
253
|
+
readonly requireAsteriskPosition: "left" | "right";
|
|
254
|
+
readonly labelWidth: string | number;
|
|
223
255
|
readonly labelSuffix: string;
|
|
224
|
-
readonly
|
|
225
|
-
readonly
|
|
226
|
-
readonly
|
|
227
|
-
readonly
|
|
228
|
-
readonly
|
|
229
|
-
readonly
|
|
230
|
-
readonly scrollIntoViewOptions: true;
|
|
231
|
-
readonly size?: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>;
|
|
256
|
+
readonly showMessage: boolean;
|
|
257
|
+
readonly validateOnRuleChange: boolean;
|
|
258
|
+
readonly scrollIntoViewOptions: boolean;
|
|
259
|
+
readonly size?: import('element-plus').ComponentSize;
|
|
260
|
+
readonly disabled?: boolean;
|
|
261
|
+
readonly inline?: boolean;
|
|
232
262
|
readonly model?: Record<string, any>;
|
|
233
|
-
readonly rules?:
|
|
263
|
+
readonly rules?: import('element-plus').FormRules;
|
|
264
|
+
readonly inlineMessage?: boolean;
|
|
265
|
+
readonly statusIcon?: boolean;
|
|
266
|
+
readonly hideRequiredAsterisk?: boolean;
|
|
267
|
+
readonly scrollToError?: boolean;
|
|
234
268
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
235
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "
|
|
269
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions">;
|
|
236
270
|
$attrs: {
|
|
237
271
|
[x: string]: unknown;
|
|
238
272
|
};
|
|
@@ -248,32 +282,61 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
248
282
|
$emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
249
283
|
$el: any;
|
|
250
284
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
285
|
+
size: {
|
|
286
|
+
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
287
|
+
};
|
|
288
|
+
disabled: {
|
|
289
|
+
type: import('vue').PropType<boolean>;
|
|
290
|
+
};
|
|
291
|
+
labelPosition: {
|
|
292
|
+
type: import('vue').PropType<"top" | "left" | "right">;
|
|
293
|
+
default: string;
|
|
294
|
+
};
|
|
295
|
+
inline: {
|
|
296
|
+
type: import('vue').PropType<boolean>;
|
|
297
|
+
};
|
|
298
|
+
model: {
|
|
299
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
300
|
+
};
|
|
301
|
+
rules: {
|
|
302
|
+
type: import('vue').PropType<Partial<Record<string, import('element-plus/es/utils').Arrayable<import('element-plus').FormItemRule>>>>;
|
|
303
|
+
};
|
|
304
|
+
requireAsteriskPosition: {
|
|
305
|
+
type: import('vue').PropType<"left" | "right">;
|
|
306
|
+
default: string;
|
|
307
|
+
};
|
|
308
|
+
labelWidth: {
|
|
309
|
+
type: import('vue').PropType<string | number>;
|
|
310
|
+
default: string;
|
|
311
|
+
};
|
|
312
|
+
labelSuffix: {
|
|
313
|
+
type: import('vue').PropType<string>;
|
|
314
|
+
default: string;
|
|
315
|
+
};
|
|
316
|
+
inlineMessage: {
|
|
317
|
+
type: import('vue').PropType<boolean>;
|
|
318
|
+
};
|
|
319
|
+
statusIcon: {
|
|
320
|
+
type: import('vue').PropType<boolean>;
|
|
321
|
+
};
|
|
322
|
+
showMessage: {
|
|
323
|
+
type: import('vue').PropType<boolean>;
|
|
324
|
+
default: boolean;
|
|
325
|
+
};
|
|
326
|
+
validateOnRuleChange: {
|
|
327
|
+
type: import('vue').PropType<boolean>;
|
|
328
|
+
default: boolean;
|
|
329
|
+
};
|
|
330
|
+
hideRequiredAsterisk: {
|
|
331
|
+
type: import('vue').PropType<boolean>;
|
|
332
|
+
};
|
|
333
|
+
scrollToError: {
|
|
334
|
+
type: import('vue').PropType<boolean>;
|
|
335
|
+
};
|
|
336
|
+
scrollIntoViewOptions: {
|
|
337
|
+
type: import('vue').PropType<boolean | ScrollIntoViewOptions>;
|
|
338
|
+
default: boolean;
|
|
339
|
+
};
|
|
277
340
|
}>> & {
|
|
278
341
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
279
342
|
}, {
|
|
@@ -288,19 +351,13 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
288
351
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
289
352
|
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
290
353
|
}, string, {
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
readonly labelSuffix: string;
|
|
299
|
-
readonly validateOnRuleChange: import('element-plus/es/utils').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
300
|
-
readonly scrollIntoViewOptions: import('element-plus/es/utils').EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
301
|
-
readonly statusIcon: boolean;
|
|
302
|
-
readonly hideRequiredAsterisk: boolean;
|
|
303
|
-
readonly scrollToError: boolean;
|
|
354
|
+
labelWidth: string | number;
|
|
355
|
+
labelPosition: "left" | "right" | "top";
|
|
356
|
+
showMessage: boolean;
|
|
357
|
+
requireAsteriskPosition: "left" | "right";
|
|
358
|
+
labelSuffix: string;
|
|
359
|
+
validateOnRuleChange: boolean;
|
|
360
|
+
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
304
361
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
305
362
|
beforeCreate?: (() => void) | (() => void)[];
|
|
306
363
|
created?: (() => void) | (() => void)[];
|
|
@@ -322,49 +379,72 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
322
379
|
$nextTick: typeof import('vue').nextTick;
|
|
323
380
|
$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;
|
|
324
381
|
} & Readonly<{
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
readonly labelSuffix: string;
|
|
333
|
-
readonly validateOnRuleChange: import('element-plus/es/utils').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
334
|
-
readonly scrollIntoViewOptions: import('element-plus/es/utils').EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
335
|
-
readonly statusIcon: boolean;
|
|
336
|
-
readonly hideRequiredAsterisk: boolean;
|
|
337
|
-
readonly scrollToError: boolean;
|
|
382
|
+
labelWidth: string | number;
|
|
383
|
+
labelPosition: "left" | "right" | "top";
|
|
384
|
+
showMessage: boolean;
|
|
385
|
+
requireAsteriskPosition: "left" | "right";
|
|
386
|
+
labelSuffix: string;
|
|
387
|
+
validateOnRuleChange: boolean;
|
|
388
|
+
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
338
389
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
390
|
+
size: {
|
|
391
|
+
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
392
|
+
};
|
|
393
|
+
disabled: {
|
|
394
|
+
type: import('vue').PropType<boolean>;
|
|
395
|
+
};
|
|
396
|
+
labelPosition: {
|
|
397
|
+
type: import('vue').PropType<"top" | "left" | "right">;
|
|
398
|
+
default: string;
|
|
399
|
+
};
|
|
400
|
+
inline: {
|
|
401
|
+
type: import('vue').PropType<boolean>;
|
|
402
|
+
};
|
|
403
|
+
model: {
|
|
404
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
405
|
+
};
|
|
406
|
+
rules: {
|
|
407
|
+
type: import('vue').PropType<Partial<Record<string, import('element-plus/es/utils').Arrayable<import('element-plus').FormItemRule>>>>;
|
|
408
|
+
};
|
|
409
|
+
requireAsteriskPosition: {
|
|
410
|
+
type: import('vue').PropType<"left" | "right">;
|
|
411
|
+
default: string;
|
|
412
|
+
};
|
|
413
|
+
labelWidth: {
|
|
414
|
+
type: import('vue').PropType<string | number>;
|
|
415
|
+
default: string;
|
|
416
|
+
};
|
|
417
|
+
labelSuffix: {
|
|
418
|
+
type: import('vue').PropType<string>;
|
|
419
|
+
default: string;
|
|
420
|
+
};
|
|
421
|
+
inlineMessage: {
|
|
422
|
+
type: import('vue').PropType<boolean>;
|
|
423
|
+
};
|
|
424
|
+
statusIcon: {
|
|
425
|
+
type: import('vue').PropType<boolean>;
|
|
426
|
+
};
|
|
427
|
+
showMessage: {
|
|
428
|
+
type: import('vue').PropType<boolean>;
|
|
429
|
+
default: boolean;
|
|
430
|
+
};
|
|
431
|
+
validateOnRuleChange: {
|
|
432
|
+
type: import('vue').PropType<boolean>;
|
|
433
|
+
default: boolean;
|
|
434
|
+
};
|
|
435
|
+
hideRequiredAsterisk: {
|
|
436
|
+
type: import('vue').PropType<boolean>;
|
|
437
|
+
};
|
|
438
|
+
scrollToError: {
|
|
439
|
+
type: import('vue').PropType<boolean>;
|
|
345
440
|
};
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
readonly labelSuffix: import('element-plus/es/utils').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
350
|
-
readonly inline: BooleanConstructor;
|
|
351
|
-
readonly inlineMessage: BooleanConstructor;
|
|
352
|
-
readonly statusIcon: BooleanConstructor;
|
|
353
|
-
readonly showMessage: import('element-plus/es/utils').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
354
|
-
readonly validateOnRuleChange: import('element-plus/es/utils').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
355
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
356
|
-
readonly scrollToError: BooleanConstructor;
|
|
357
|
-
readonly scrollIntoViewOptions: import('element-plus/es/utils').EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown, true, boolean>;
|
|
358
|
-
readonly size: {
|
|
359
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
360
|
-
readonly required: false;
|
|
361
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
362
|
-
__epPropKey: true;
|
|
441
|
+
scrollIntoViewOptions: {
|
|
442
|
+
type: import('vue').PropType<boolean | ScrollIntoViewOptions>;
|
|
443
|
+
default: boolean;
|
|
363
444
|
};
|
|
364
|
-
readonly disabled: BooleanConstructor;
|
|
365
445
|
}>> & {
|
|
366
446
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
367
|
-
}, "
|
|
447
|
+
}, "labelPosition" | "validate" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
368
448
|
validate: (callback?: FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
369
449
|
validateField: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>, callback?: FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
370
450
|
resetFields: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>) => void;
|