@vunk/form 2.10.0 → 2.10.3
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.cjs +37 -36
- package/components/api-tables-select/index.mjs +37 -36
- package/components/api-tables-select/src/ctx.d.ts +48 -13
- package/components/api-tables-select/src/index.vue.d.ts +568 -80
- package/components/button/src/ctx.d.ts +101 -17
- package/components/button/src/index.vue.d.ts +437 -101
- package/components/card-input-collection/index.cjs +67 -70
- package/components/card-input-collection/index.mjs +68 -71
- package/components/card-input-collection/src/ctx.d.ts +43 -8
- package/components/card-input-collection/src/index.vue.d.ts +718 -226
- package/components/cascader/src/ctx.d.ts +192 -46
- package/components/cascader/src/index.vue.d.ts +393 -118
- package/components/checkbox/index.cjs +2 -3
- package/components/checkbox/index.mjs +2 -3
- package/components/checkbox/src/ctx.d.ts +65 -13
- package/components/checkbox/src/index.vue.d.ts +339 -115
- package/components/color-picker/src/ctx.d.ts +76 -13
- package/components/color-picker/src/index.vue.d.ts +160 -34
- package/components/date-picker/src/ctx.d.ts +185 -36
- package/components/date-picker/src/index.vue.d.ts +974 -202
- package/components/date-picker-range/src/ctx.d.ts +168 -35
- package/components/date-picker-range/src/index.vue.d.ts +347 -82
- package/components/download-plus/index.cjs +4 -4
- package/components/download-plus/index.mjs +4 -4
- package/components/download-plus/src/ctx.d.ts +43 -8
- package/components/download-plus/src/index.vue.d.ts +618 -165
- package/components/editable-text/index.cjs +29 -15
- package/components/editable-text/index.mjs +29 -15
- package/components/editable-text/src/ctx.d.ts +51 -8
- package/components/editable-text/src/index.vue.d.ts +2827 -251
- package/components/esri-input-geojson/src/append.vue.d.ts +769 -418
- package/components/esri-input-geojson/src/ctx.d.ts +133 -32
- package/components/esri-input-geojson/src/index.vue.d.ts +262 -92
- package/components/esri-input-geojson/src/viewer.vue.d.ts +1 -1
- package/components/form/src/ctx.d.ts +59 -11
- package/components/form/src/index.vue.d.ts +3456 -186
- package/components/form-item/src/ctx.d.ts +45 -10
- package/components/form-item/src/index.vue.d.ts +484 -141
- package/components/information-collection/src/ctx.d.ts +45 -10
- package/components/information-collection/src/index.vue.d.ts +96 -26
- package/components/information-tag/src/ctx.d.ts +17 -3
- package/components/information-tag/src/index.vue.d.ts +38 -10
- package/components/input/src/ctx.d.ts +138 -33
- package/components/input/src/index.vue.d.ts +528 -152
- package/components/input-collection/index.cjs +105 -74
- package/components/input-collection/index.mjs +107 -76
- package/components/input-collection/src/ctx.d.ts +43 -8
- package/components/input-collection/src/index.vue.d.ts +756 -793
- package/components/input-link/src/ctx.d.ts +103 -25
- package/components/input-link/src/index.vue.d.ts +219 -63
- package/components/input-number/src/ctx.d.ts +123 -21
- package/components/input-number/src/index.vue.d.ts +468 -93
- package/components/input-tag/src/ctx.d.ts +141 -25
- package/components/input-tag/src/index.vue.d.ts +566 -126
- package/components/monaco-editor/src/ctx.d.ts +43 -8
- package/components/monaco-editor/src/index.vue.d.ts +91 -21
- package/components/radio/index.cjs +2 -3
- package/components/radio/index.mjs +2 -3
- package/components/radio/src/ctx.d.ts +84 -14
- package/components/radio/src/index.vue.d.ts +812 -168
- package/components/select/src/ctx.d.ts +63 -13
- package/components/select/src/index.vue.d.ts +549 -108
- package/components/slider/src/ctx.d.ts +170 -54
- package/components/slider/src/index.vue.d.ts +362 -137
- package/components/switch/src/ctx.d.ts +105 -21
- package/components/switch/src/index.vue.d.ts +453 -117
- package/components/tables-select/src/ctx.d.ts +72 -9
- package/components/tables-select/src/index.vue.d.ts +386 -82
- package/components/templates-element-plus/src/index.vue.d.ts +187 -40
- package/components/templates-layout/src/index.vue.d.ts +337 -64
- package/components/upload/index.cjs +2 -2
- package/components/upload/index.mjs +2 -2
- package/components/upload/src/ctx.d.ts +183 -89
- package/components/upload/src/file.vue.d.ts +269 -83
- package/components/upload/src/index.vue.d.ts +1246 -632
- package/components/upload-plus/index.cjs +79 -86
- package/components/upload-plus/index.mjs +79 -86
- package/components/upload-plus/src/ctx.d.ts +43 -8
- package/components/upload-plus/src/index.vue.d.ts +1008 -283
- package/components/van-cascader/src/ctx.d.ts +181 -44
- package/components/van-cascader/src/index.vue.d.ts +1532 -324
- package/components/var-datetime-picker/src/ctx.d.ts +43 -8
- package/components/var-datetime-picker/src/index.vue.d.ts +932 -190
- package/components/vditor/src/ctx.d.ts +43 -8
- package/components/vditor/src/index.vue.d.ts +91 -21
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +111 -30
- package/shared/element-plus/instances.d.ts +140 -28
|
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
name: StringConstructor;
|
|
21
21
|
id: StringConstructor;
|
|
22
22
|
modelValue: {
|
|
23
|
-
type: (
|
|
23
|
+
type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
|
|
24
24
|
default: any;
|
|
25
25
|
};
|
|
26
26
|
autocomplete: {
|
|
@@ -72,7 +72,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
72
72
|
type: BooleanConstructor;
|
|
73
73
|
default: boolean;
|
|
74
74
|
};
|
|
75
|
-
teleported:
|
|
75
|
+
teleported: {
|
|
76
|
+
readonly type: import("vue").PropType<boolean>;
|
|
77
|
+
readonly required: false;
|
|
78
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
79
|
+
__epPropKey: true;
|
|
80
|
+
} & {
|
|
81
|
+
readonly default: true;
|
|
82
|
+
};
|
|
76
83
|
persistent: {
|
|
77
84
|
type: BooleanConstructor;
|
|
78
85
|
default: boolean;
|
|
@@ -91,12 +98,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
91
98
|
};
|
|
92
99
|
tagType: {
|
|
93
100
|
default: string;
|
|
94
|
-
type: import("vue").PropType<
|
|
101
|
+
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
95
102
|
required: false;
|
|
96
103
|
validator: ((val: unknown) => boolean) | undefined;
|
|
97
104
|
__epPropKey: true;
|
|
98
105
|
};
|
|
99
|
-
required:
|
|
106
|
+
required: {
|
|
107
|
+
readonly type: import("vue").PropType<boolean>;
|
|
108
|
+
readonly required: false;
|
|
109
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
110
|
+
__epPropKey: true;
|
|
111
|
+
} & {
|
|
112
|
+
readonly default: undefined;
|
|
113
|
+
};
|
|
100
114
|
formItemSize: {
|
|
101
115
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
102
116
|
default: "default" | "small" | "large";
|
|
@@ -131,37 +145,65 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
131
145
|
default: boolean;
|
|
132
146
|
};
|
|
133
147
|
label: StringConstructor;
|
|
134
|
-
labelWidth:
|
|
135
|
-
|
|
148
|
+
labelWidth: {
|
|
149
|
+
readonly type: import("vue").PropType<string | number>;
|
|
150
|
+
readonly required: false;
|
|
151
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
152
|
+
__epPropKey: true;
|
|
153
|
+
} & {
|
|
154
|
+
readonly default: "";
|
|
155
|
+
};
|
|
156
|
+
labelPosition: {
|
|
157
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
158
|
+
readonly required: false;
|
|
159
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
160
|
+
__epPropKey: true;
|
|
161
|
+
} & {
|
|
162
|
+
readonly default: "";
|
|
163
|
+
};
|
|
136
164
|
prop: {
|
|
137
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
165
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
138
166
|
readonly required: false;
|
|
139
167
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
140
168
|
__epPropKey: true;
|
|
141
169
|
};
|
|
142
170
|
rules: {
|
|
143
|
-
readonly type: import("vue").PropType<
|
|
171
|
+
readonly type: import("vue").PropType<unknown>;
|
|
144
172
|
readonly required: false;
|
|
145
173
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
146
174
|
__epPropKey: true;
|
|
147
175
|
};
|
|
148
176
|
error: StringConstructor;
|
|
149
177
|
validateStatus: {
|
|
150
|
-
readonly type: import("vue").PropType<
|
|
178
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
151
179
|
readonly required: false;
|
|
152
180
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
153
181
|
__epPropKey: true;
|
|
154
182
|
};
|
|
155
183
|
for: StringConstructor;
|
|
156
|
-
inlineMessage:
|
|
157
|
-
|
|
184
|
+
inlineMessage: {
|
|
185
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
186
|
+
readonly required: false;
|
|
187
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
188
|
+
__epPropKey: true;
|
|
189
|
+
} & {
|
|
190
|
+
readonly default: "";
|
|
191
|
+
};
|
|
192
|
+
showMessage: {
|
|
193
|
+
readonly type: import("vue").PropType<boolean>;
|
|
194
|
+
readonly required: false;
|
|
195
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
196
|
+
__epPropKey: true;
|
|
197
|
+
} & {
|
|
198
|
+
readonly default: true;
|
|
199
|
+
};
|
|
158
200
|
}>, {
|
|
159
201
|
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
160
202
|
selectBindProps: import("vue").ComputedRef<{
|
|
161
203
|
size: "" | "default" | "small" | "large";
|
|
162
204
|
id: string;
|
|
163
205
|
persistent: boolean;
|
|
164
|
-
teleported:
|
|
206
|
+
teleported: boolean;
|
|
165
207
|
effect: string;
|
|
166
208
|
popperClass: string;
|
|
167
209
|
name: string;
|
|
@@ -170,14 +212,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
170
212
|
placeholder: string;
|
|
171
213
|
filterMethod: Function;
|
|
172
214
|
loading: boolean;
|
|
173
|
-
filterable: boolean;
|
|
174
|
-
collapseTags: boolean;
|
|
175
|
-
collapseTagsTooltip: boolean;
|
|
176
|
-
tagType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
177
|
-
clearIcon: 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>;
|
|
178
215
|
autocomplete: string;
|
|
179
216
|
suffixIcon: 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>;
|
|
180
217
|
automaticDropdown: boolean;
|
|
218
|
+
filterable: boolean;
|
|
181
219
|
allowCreate: boolean;
|
|
182
220
|
remote: boolean;
|
|
183
221
|
loadingText: string;
|
|
@@ -188,25 +226,156 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
188
226
|
defaultFirstOption: boolean;
|
|
189
227
|
reserveKeyword: boolean;
|
|
190
228
|
valueKey: string;
|
|
229
|
+
collapseTags: boolean;
|
|
230
|
+
collapseTagsTooltip: boolean;
|
|
231
|
+
clearIcon: 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>;
|
|
191
232
|
fitInputWidth: boolean;
|
|
233
|
+
tagType: "success" | "primary" | "warning" | "info" | "danger";
|
|
192
234
|
}>;
|
|
193
235
|
selectOnEmits: {
|
|
194
|
-
clear: (...e: any[]) => void;
|
|
195
236
|
focus: (...e: any[]) => void;
|
|
237
|
+
clear: (...e: any[]) => void;
|
|
196
238
|
change: (...e: any[]) => void;
|
|
197
239
|
blur: (...e: any[]) => void;
|
|
198
|
-
"visible-change": (...e: any[]) => void;
|
|
199
240
|
"remove-tag": (...e: any[]) => void;
|
|
241
|
+
"visible-change": (...e: any[]) => void;
|
|
200
242
|
};
|
|
201
|
-
selectOptions: import("vue").ComputedRef<(import("@vunk/core").VueComponentPropsType<
|
|
243
|
+
selectOptions: import("vue").ComputedRef<(import("@vunk/core").VueComponentPropsType<{
|
|
244
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
245
|
+
value: {
|
|
246
|
+
readonly type: import("vue").PropType<string | number | boolean | Record<string, any>>;
|
|
247
|
+
readonly required: true;
|
|
248
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
249
|
+
__epPropKey: true;
|
|
250
|
+
};
|
|
251
|
+
label: {
|
|
252
|
+
readonly type: import("vue").PropType<string | number>;
|
|
253
|
+
readonly required: false;
|
|
254
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
255
|
+
__epPropKey: true;
|
|
256
|
+
};
|
|
257
|
+
created: BooleanConstructor;
|
|
258
|
+
disabled: BooleanConstructor;
|
|
259
|
+
}>>, {
|
|
260
|
+
ns: {
|
|
261
|
+
namespace: import("vue").ComputedRef<string>;
|
|
262
|
+
b: (blockSuffix?: string) => string;
|
|
263
|
+
e: (element?: string) => string;
|
|
264
|
+
m: (modifier?: string) => string;
|
|
265
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
266
|
+
em: (element?: string, modifier?: string) => string;
|
|
267
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
268
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
269
|
+
is: {
|
|
270
|
+
(name: string, state: boolean | undefined): string;
|
|
271
|
+
(name: string): string;
|
|
272
|
+
};
|
|
273
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
274
|
+
cssVarName: (name: string) => string;
|
|
275
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
276
|
+
cssVarBlockName: (name: string) => string;
|
|
277
|
+
};
|
|
278
|
+
id: import("vue").Ref<string>;
|
|
279
|
+
containerKls: import("vue").ComputedRef<string[]>;
|
|
280
|
+
currentLabel: import("vue").ComputedRef<boolean | (string | number)>;
|
|
281
|
+
itemSelected: import("vue").ComputedRef<boolean>;
|
|
282
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
|
283
|
+
select: import("element-plus").SelectContext;
|
|
284
|
+
visible: import("vue").Ref<boolean>;
|
|
285
|
+
hover: import("vue").Ref<boolean>;
|
|
286
|
+
states: {
|
|
287
|
+
index: number;
|
|
288
|
+
groupDisabled: boolean;
|
|
289
|
+
visible: boolean;
|
|
290
|
+
hover: boolean;
|
|
291
|
+
};
|
|
292
|
+
hoverItem: () => void;
|
|
293
|
+
updateOption: (query: string) => void;
|
|
294
|
+
selectOptionClick: () => void;
|
|
295
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
296
|
+
disabled: boolean;
|
|
297
|
+
created: boolean;
|
|
298
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
299
|
+
P: {};
|
|
300
|
+
B: {};
|
|
301
|
+
D: {};
|
|
302
|
+
C: {};
|
|
303
|
+
M: {};
|
|
304
|
+
Defaults: {};
|
|
305
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
306
|
+
value: {
|
|
307
|
+
readonly type: import("vue").PropType<string | number | boolean | Record<string, any>>;
|
|
308
|
+
readonly required: true;
|
|
309
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
310
|
+
__epPropKey: true;
|
|
311
|
+
};
|
|
312
|
+
label: {
|
|
313
|
+
readonly type: import("vue").PropType<string | number>;
|
|
314
|
+
readonly required: false;
|
|
315
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
316
|
+
__epPropKey: true;
|
|
317
|
+
};
|
|
318
|
+
created: BooleanConstructor;
|
|
319
|
+
disabled: BooleanConstructor;
|
|
320
|
+
}>>, {
|
|
321
|
+
ns: {
|
|
322
|
+
namespace: import("vue").ComputedRef<string>;
|
|
323
|
+
b: (blockSuffix?: string) => string;
|
|
324
|
+
e: (element?: string) => string;
|
|
325
|
+
m: (modifier?: string) => string;
|
|
326
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
327
|
+
em: (element?: string, modifier?: string) => string;
|
|
328
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
329
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
330
|
+
is: {
|
|
331
|
+
(name: string, state: boolean | undefined): string;
|
|
332
|
+
(name: string): string;
|
|
333
|
+
};
|
|
334
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
335
|
+
cssVarName: (name: string) => string;
|
|
336
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
337
|
+
cssVarBlockName: (name: string) => string;
|
|
338
|
+
};
|
|
339
|
+
id: import("vue").Ref<string>;
|
|
340
|
+
containerKls: import("vue").ComputedRef<string[]>;
|
|
341
|
+
currentLabel: import("vue").ComputedRef<boolean | (string | number)>;
|
|
342
|
+
itemSelected: import("vue").ComputedRef<boolean>;
|
|
343
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
|
344
|
+
select: import("element-plus").SelectContext;
|
|
345
|
+
visible: import("vue").Ref<boolean>;
|
|
346
|
+
hover: import("vue").Ref<boolean>;
|
|
347
|
+
states: {
|
|
348
|
+
index: number;
|
|
349
|
+
groupDisabled: boolean;
|
|
350
|
+
visible: boolean;
|
|
351
|
+
hover: boolean;
|
|
352
|
+
};
|
|
353
|
+
hoverItem: () => void;
|
|
354
|
+
updateOption: (query: string) => void;
|
|
355
|
+
selectOptionClick: () => void;
|
|
356
|
+
}, {}, {}, {}, {
|
|
357
|
+
disabled: boolean;
|
|
358
|
+
created: boolean;
|
|
359
|
+
}>;
|
|
360
|
+
__isFragment?: never;
|
|
361
|
+
__isTeleport?: never;
|
|
362
|
+
__isSuspense?: never;
|
|
363
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
202
364
|
value: {
|
|
203
|
-
|
|
204
|
-
|
|
365
|
+
readonly type: import("vue").PropType<string | number | boolean | Record<string, any>>;
|
|
366
|
+
readonly required: true;
|
|
367
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
368
|
+
__epPropKey: true;
|
|
369
|
+
};
|
|
370
|
+
label: {
|
|
371
|
+
readonly type: import("vue").PropType<string | number>;
|
|
372
|
+
readonly required: false;
|
|
373
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
374
|
+
__epPropKey: true;
|
|
205
375
|
};
|
|
206
|
-
label: (NumberConstructor | StringConstructor)[];
|
|
207
376
|
created: BooleanConstructor;
|
|
208
377
|
disabled: BooleanConstructor;
|
|
209
|
-
}
|
|
378
|
+
}>>, {
|
|
210
379
|
ns: {
|
|
211
380
|
namespace: import("vue").ComputedRef<string>;
|
|
212
381
|
b: (blockSuffix?: string) => string;
|
|
@@ -227,33 +396,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
227
396
|
};
|
|
228
397
|
id: import("vue").Ref<string>;
|
|
229
398
|
containerKls: import("vue").ComputedRef<string[]>;
|
|
230
|
-
currentLabel: import("vue").ComputedRef<
|
|
399
|
+
currentLabel: import("vue").ComputedRef<boolean | (string | number)>;
|
|
231
400
|
itemSelected: import("vue").ComputedRef<boolean>;
|
|
232
|
-
isDisabled: import("vue").ComputedRef<
|
|
233
|
-
select: import("element-plus").SelectContext
|
|
234
|
-
hoverItem: () => void;
|
|
235
|
-
updateOption: (query: string) => void;
|
|
401
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
|
402
|
+
select: import("element-plus").SelectContext;
|
|
236
403
|
visible: import("vue").Ref<boolean>;
|
|
237
404
|
hover: import("vue").Ref<boolean>;
|
|
238
|
-
selectOptionClick: () => void;
|
|
239
405
|
states: {
|
|
240
406
|
index: number;
|
|
241
407
|
groupDisabled: boolean;
|
|
242
408
|
visible: boolean;
|
|
243
409
|
hover: boolean;
|
|
244
410
|
};
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
};
|
|
250
|
-
label: (NumberConstructor | StringConstructor)[];
|
|
251
|
-
created: BooleanConstructor;
|
|
252
|
-
disabled: BooleanConstructor;
|
|
253
|
-
}>>, {
|
|
411
|
+
hoverItem: () => void;
|
|
412
|
+
updateOption: (query: string) => void;
|
|
413
|
+
selectOptionClick: () => void;
|
|
414
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
254
415
|
disabled: boolean;
|
|
255
416
|
created: boolean;
|
|
256
|
-
}, {},
|
|
417
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin> & {
|
|
257
418
|
key: any;
|
|
258
419
|
})[]>;
|
|
259
420
|
reshow: import("vue").Ref<boolean, boolean>;
|
|
@@ -288,7 +449,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
288
449
|
name: StringConstructor;
|
|
289
450
|
id: StringConstructor;
|
|
290
451
|
modelValue: {
|
|
291
|
-
type: (
|
|
452
|
+
type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
|
|
292
453
|
default: any;
|
|
293
454
|
};
|
|
294
455
|
autocomplete: {
|
|
@@ -340,7 +501,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
340
501
|
type: BooleanConstructor;
|
|
341
502
|
default: boolean;
|
|
342
503
|
};
|
|
343
|
-
teleported:
|
|
504
|
+
teleported: {
|
|
505
|
+
readonly type: import("vue").PropType<boolean>;
|
|
506
|
+
readonly required: false;
|
|
507
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
508
|
+
__epPropKey: true;
|
|
509
|
+
} & {
|
|
510
|
+
readonly default: true;
|
|
511
|
+
};
|
|
344
512
|
persistent: {
|
|
345
513
|
type: BooleanConstructor;
|
|
346
514
|
default: boolean;
|
|
@@ -359,12 +527,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
359
527
|
};
|
|
360
528
|
tagType: {
|
|
361
529
|
default: string;
|
|
362
|
-
type: import("vue").PropType<
|
|
530
|
+
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
363
531
|
required: false;
|
|
364
532
|
validator: ((val: unknown) => boolean) | undefined;
|
|
365
533
|
__epPropKey: true;
|
|
366
534
|
};
|
|
367
|
-
required:
|
|
535
|
+
required: {
|
|
536
|
+
readonly type: import("vue").PropType<boolean>;
|
|
537
|
+
readonly required: false;
|
|
538
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
539
|
+
__epPropKey: true;
|
|
540
|
+
} & {
|
|
541
|
+
readonly default: undefined;
|
|
542
|
+
};
|
|
368
543
|
formItemSize: {
|
|
369
544
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
370
545
|
default: "default" | "small" | "large";
|
|
@@ -399,40 +574,68 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
399
574
|
default: boolean;
|
|
400
575
|
};
|
|
401
576
|
label: StringConstructor;
|
|
402
|
-
labelWidth:
|
|
403
|
-
|
|
577
|
+
labelWidth: {
|
|
578
|
+
readonly type: import("vue").PropType<string | number>;
|
|
579
|
+
readonly required: false;
|
|
580
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
581
|
+
__epPropKey: true;
|
|
582
|
+
} & {
|
|
583
|
+
readonly default: "";
|
|
584
|
+
};
|
|
585
|
+
labelPosition: {
|
|
586
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
587
|
+
readonly required: false;
|
|
588
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
589
|
+
__epPropKey: true;
|
|
590
|
+
} & {
|
|
591
|
+
readonly default: "";
|
|
592
|
+
};
|
|
404
593
|
prop: {
|
|
405
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
594
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
406
595
|
readonly required: false;
|
|
407
596
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
408
597
|
__epPropKey: true;
|
|
409
598
|
};
|
|
410
599
|
rules: {
|
|
411
|
-
readonly type: import("vue").PropType<
|
|
600
|
+
readonly type: import("vue").PropType<unknown>;
|
|
412
601
|
readonly required: false;
|
|
413
602
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
414
603
|
__epPropKey: true;
|
|
415
604
|
};
|
|
416
605
|
error: StringConstructor;
|
|
417
606
|
validateStatus: {
|
|
418
|
-
readonly type: import("vue").PropType<
|
|
607
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
419
608
|
readonly required: false;
|
|
420
609
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
421
610
|
__epPropKey: true;
|
|
422
611
|
};
|
|
423
612
|
for: StringConstructor;
|
|
424
|
-
inlineMessage:
|
|
425
|
-
|
|
613
|
+
inlineMessage: {
|
|
614
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
615
|
+
readonly required: false;
|
|
616
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
617
|
+
__epPropKey: true;
|
|
618
|
+
} & {
|
|
619
|
+
readonly default: "";
|
|
620
|
+
};
|
|
621
|
+
showMessage: {
|
|
622
|
+
readonly type: import("vue").PropType<boolean>;
|
|
623
|
+
readonly required: false;
|
|
624
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
625
|
+
__epPropKey: true;
|
|
626
|
+
} & {
|
|
627
|
+
readonly default: true;
|
|
628
|
+
};
|
|
426
629
|
}>> & Readonly<{
|
|
427
|
-
onClear?: (...args: any[] | unknown[]) => any;
|
|
428
630
|
onFocus?: (...args: any[] | unknown[]) => any;
|
|
631
|
+
onClear?: (...args: any[] | unknown[]) => any;
|
|
429
632
|
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
430
633
|
onChange?: (...args: any[] | unknown[]) => any;
|
|
431
634
|
onBlur?: (...args: any[] | unknown[]) => any;
|
|
432
|
-
"onVisible-change"?: (...args: any[] | unknown[]) => any;
|
|
433
635
|
"onRemove-tag"?: (...args: any[] | unknown[]) => any;
|
|
636
|
+
"onVisible-change"?: (...args: any[] | unknown[]) => any;
|
|
434
637
|
}>, {
|
|
435
|
-
required:
|
|
638
|
+
required: boolean;
|
|
436
639
|
formItemSize: "default" | "small" | "large";
|
|
437
640
|
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
438
641
|
inline: boolean;
|
|
@@ -441,13 +644,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
441
644
|
formItemTipClass: any;
|
|
442
645
|
labelTip: string;
|
|
443
646
|
information: boolean;
|
|
444
|
-
labelWidth:
|
|
445
|
-
labelPosition:
|
|
446
|
-
inlineMessage:
|
|
447
|
-
showMessage:
|
|
647
|
+
labelWidth: string | number;
|
|
648
|
+
labelPosition: "" | "top" | "left" | "right";
|
|
649
|
+
inlineMessage: string | boolean;
|
|
650
|
+
showMessage: boolean;
|
|
448
651
|
disabled: boolean;
|
|
449
652
|
persistent: boolean;
|
|
450
|
-
teleported:
|
|
653
|
+
teleported: boolean;
|
|
451
654
|
effect: string;
|
|
452
655
|
popperClass: string;
|
|
453
656
|
modelValue: string | number | boolean | unknown[] | Record<string, any>;
|
|
@@ -455,15 +658,142 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
455
658
|
multiple: boolean;
|
|
456
659
|
stringify: boolean;
|
|
457
660
|
loading: boolean;
|
|
458
|
-
options: import("@vunk/core").VueComponentPropsType<
|
|
661
|
+
options: import("@vunk/core").VueComponentPropsType<{
|
|
662
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
663
|
+
value: {
|
|
664
|
+
readonly type: import("vue").PropType<string | number | boolean | Record<string, any>>;
|
|
665
|
+
readonly required: true;
|
|
666
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
667
|
+
__epPropKey: true;
|
|
668
|
+
};
|
|
669
|
+
label: {
|
|
670
|
+
readonly type: import("vue").PropType<string | number>;
|
|
671
|
+
readonly required: false;
|
|
672
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
673
|
+
__epPropKey: true;
|
|
674
|
+
};
|
|
675
|
+
created: BooleanConstructor;
|
|
676
|
+
disabled: BooleanConstructor;
|
|
677
|
+
}>>, {
|
|
678
|
+
ns: {
|
|
679
|
+
namespace: import("vue").ComputedRef<string>;
|
|
680
|
+
b: (blockSuffix?: string) => string;
|
|
681
|
+
e: (element?: string) => string;
|
|
682
|
+
m: (modifier?: string) => string;
|
|
683
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
684
|
+
em: (element?: string, modifier?: string) => string;
|
|
685
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
686
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
687
|
+
is: {
|
|
688
|
+
(name: string, state: boolean | undefined): string;
|
|
689
|
+
(name: string): string;
|
|
690
|
+
};
|
|
691
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
692
|
+
cssVarName: (name: string) => string;
|
|
693
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
694
|
+
cssVarBlockName: (name: string) => string;
|
|
695
|
+
};
|
|
696
|
+
id: import("vue").Ref<string>;
|
|
697
|
+
containerKls: import("vue").ComputedRef<string[]>;
|
|
698
|
+
currentLabel: import("vue").ComputedRef<boolean | (string | number)>;
|
|
699
|
+
itemSelected: import("vue").ComputedRef<boolean>;
|
|
700
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
|
701
|
+
select: import("element-plus").SelectContext;
|
|
702
|
+
visible: import("vue").Ref<boolean>;
|
|
703
|
+
hover: import("vue").Ref<boolean>;
|
|
704
|
+
states: {
|
|
705
|
+
index: number;
|
|
706
|
+
groupDisabled: boolean;
|
|
707
|
+
visible: boolean;
|
|
708
|
+
hover: boolean;
|
|
709
|
+
};
|
|
710
|
+
hoverItem: () => void;
|
|
711
|
+
updateOption: (query: string) => void;
|
|
712
|
+
selectOptionClick: () => void;
|
|
713
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
714
|
+
disabled: boolean;
|
|
715
|
+
created: boolean;
|
|
716
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
717
|
+
P: {};
|
|
718
|
+
B: {};
|
|
719
|
+
D: {};
|
|
720
|
+
C: {};
|
|
721
|
+
M: {};
|
|
722
|
+
Defaults: {};
|
|
723
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
724
|
+
value: {
|
|
725
|
+
readonly type: import("vue").PropType<string | number | boolean | Record<string, any>>;
|
|
726
|
+
readonly required: true;
|
|
727
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
728
|
+
__epPropKey: true;
|
|
729
|
+
};
|
|
730
|
+
label: {
|
|
731
|
+
readonly type: import("vue").PropType<string | number>;
|
|
732
|
+
readonly required: false;
|
|
733
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
734
|
+
__epPropKey: true;
|
|
735
|
+
};
|
|
736
|
+
created: BooleanConstructor;
|
|
737
|
+
disabled: BooleanConstructor;
|
|
738
|
+
}>>, {
|
|
739
|
+
ns: {
|
|
740
|
+
namespace: import("vue").ComputedRef<string>;
|
|
741
|
+
b: (blockSuffix?: string) => string;
|
|
742
|
+
e: (element?: string) => string;
|
|
743
|
+
m: (modifier?: string) => string;
|
|
744
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
745
|
+
em: (element?: string, modifier?: string) => string;
|
|
746
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
747
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
748
|
+
is: {
|
|
749
|
+
(name: string, state: boolean | undefined): string;
|
|
750
|
+
(name: string): string;
|
|
751
|
+
};
|
|
752
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
753
|
+
cssVarName: (name: string) => string;
|
|
754
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
755
|
+
cssVarBlockName: (name: string) => string;
|
|
756
|
+
};
|
|
757
|
+
id: import("vue").Ref<string>;
|
|
758
|
+
containerKls: import("vue").ComputedRef<string[]>;
|
|
759
|
+
currentLabel: import("vue").ComputedRef<boolean | (string | number)>;
|
|
760
|
+
itemSelected: import("vue").ComputedRef<boolean>;
|
|
761
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
|
762
|
+
select: import("element-plus").SelectContext;
|
|
763
|
+
visible: import("vue").Ref<boolean>;
|
|
764
|
+
hover: import("vue").Ref<boolean>;
|
|
765
|
+
states: {
|
|
766
|
+
index: number;
|
|
767
|
+
groupDisabled: boolean;
|
|
768
|
+
visible: boolean;
|
|
769
|
+
hover: boolean;
|
|
770
|
+
};
|
|
771
|
+
hoverItem: () => void;
|
|
772
|
+
updateOption: (query: string) => void;
|
|
773
|
+
selectOptionClick: () => void;
|
|
774
|
+
}, {}, {}, {}, {
|
|
775
|
+
disabled: boolean;
|
|
776
|
+
created: boolean;
|
|
777
|
+
}>;
|
|
778
|
+
__isFragment?: never;
|
|
779
|
+
__isTeleport?: never;
|
|
780
|
+
__isSuspense?: never;
|
|
781
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
459
782
|
value: {
|
|
460
|
-
|
|
461
|
-
|
|
783
|
+
readonly type: import("vue").PropType<string | number | boolean | Record<string, any>>;
|
|
784
|
+
readonly required: true;
|
|
785
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
786
|
+
__epPropKey: true;
|
|
787
|
+
};
|
|
788
|
+
label: {
|
|
789
|
+
readonly type: import("vue").PropType<string | number>;
|
|
790
|
+
readonly required: false;
|
|
791
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
792
|
+
__epPropKey: true;
|
|
462
793
|
};
|
|
463
|
-
label: (NumberConstructor | StringConstructor)[];
|
|
464
794
|
created: BooleanConstructor;
|
|
465
795
|
disabled: BooleanConstructor;
|
|
466
|
-
}
|
|
796
|
+
}>>, {
|
|
467
797
|
ns: {
|
|
468
798
|
namespace: import("vue").ComputedRef<string>;
|
|
469
799
|
b: (blockSuffix?: string) => string;
|
|
@@ -484,51 +814,43 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
484
814
|
};
|
|
485
815
|
id: import("vue").Ref<string>;
|
|
486
816
|
containerKls: import("vue").ComputedRef<string[]>;
|
|
487
|
-
currentLabel: import("vue").ComputedRef<
|
|
817
|
+
currentLabel: import("vue").ComputedRef<boolean | (string | number)>;
|
|
488
818
|
itemSelected: import("vue").ComputedRef<boolean>;
|
|
489
|
-
isDisabled: import("vue").ComputedRef<
|
|
490
|
-
select: import("element-plus").SelectContext
|
|
491
|
-
hoverItem: () => void;
|
|
492
|
-
updateOption: (query: string) => void;
|
|
819
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
|
820
|
+
select: import("element-plus").SelectContext;
|
|
493
821
|
visible: import("vue").Ref<boolean>;
|
|
494
822
|
hover: import("vue").Ref<boolean>;
|
|
495
|
-
selectOptionClick: () => void;
|
|
496
823
|
states: {
|
|
497
824
|
index: number;
|
|
498
825
|
groupDisabled: boolean;
|
|
499
826
|
visible: boolean;
|
|
500
827
|
hover: boolean;
|
|
501
828
|
};
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
};
|
|
507
|
-
label: (NumberConstructor | StringConstructor)[];
|
|
508
|
-
created: BooleanConstructor;
|
|
509
|
-
disabled: BooleanConstructor;
|
|
510
|
-
}>>, {
|
|
829
|
+
hoverItem: () => void;
|
|
830
|
+
updateOption: (query: string) => void;
|
|
831
|
+
selectOptionClick: () => void;
|
|
832
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
511
833
|
disabled: boolean;
|
|
512
834
|
created: boolean;
|
|
513
|
-
}, {},
|
|
514
|
-
filterable: boolean;
|
|
515
|
-
collapseTags: boolean;
|
|
516
|
-
collapseTagsTooltip: boolean;
|
|
517
|
-
tagType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
518
|
-
optionsUrl: string;
|
|
519
|
-
defaultModelValue: any;
|
|
520
|
-
clearIcon: 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>;
|
|
835
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin>[];
|
|
521
836
|
autocomplete: string;
|
|
522
837
|
suffixIcon: 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>;
|
|
523
838
|
automaticDropdown: boolean;
|
|
839
|
+
filterable: boolean;
|
|
524
840
|
allowCreate: boolean;
|
|
525
841
|
remote: boolean;
|
|
526
842
|
multipleLimit: number;
|
|
527
843
|
defaultFirstOption: boolean;
|
|
528
844
|
reserveKeyword: boolean;
|
|
529
845
|
valueKey: string;
|
|
846
|
+
collapseTags: boolean;
|
|
847
|
+
collapseTagsTooltip: boolean;
|
|
848
|
+
clearIcon: 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>;
|
|
530
849
|
fitInputWidth: boolean;
|
|
850
|
+
tagType: "success" | "primary" | "warning" | "info" | "danger";
|
|
531
851
|
selectSlots: import("./types").SelectSlots;
|
|
852
|
+
optionsUrl: string;
|
|
853
|
+
defaultModelValue: any;
|
|
532
854
|
}, {}, {
|
|
533
855
|
VkfFormItem: {
|
|
534
856
|
new (...args: any[]): any;
|
|
@@ -542,15 +864,142 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
542
864
|
install(app: import("vue").App): void;
|
|
543
865
|
};
|
|
544
866
|
ElSelect: never;
|
|
545
|
-
ElOption:
|
|
867
|
+
ElOption: {
|
|
868
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
869
|
+
value: {
|
|
870
|
+
readonly type: import("vue").PropType<string | number | boolean | Record<string, any>>;
|
|
871
|
+
readonly required: true;
|
|
872
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
873
|
+
__epPropKey: true;
|
|
874
|
+
};
|
|
875
|
+
label: {
|
|
876
|
+
readonly type: import("vue").PropType<string | number>;
|
|
877
|
+
readonly required: false;
|
|
878
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
879
|
+
__epPropKey: true;
|
|
880
|
+
};
|
|
881
|
+
created: BooleanConstructor;
|
|
882
|
+
disabled: BooleanConstructor;
|
|
883
|
+
}>>, {
|
|
884
|
+
ns: {
|
|
885
|
+
namespace: import("vue").ComputedRef<string>;
|
|
886
|
+
b: (blockSuffix?: string) => string;
|
|
887
|
+
e: (element?: string) => string;
|
|
888
|
+
m: (modifier?: string) => string;
|
|
889
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
890
|
+
em: (element?: string, modifier?: string) => string;
|
|
891
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
892
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
893
|
+
is: {
|
|
894
|
+
(name: string, state: boolean | undefined): string;
|
|
895
|
+
(name: string): string;
|
|
896
|
+
};
|
|
897
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
898
|
+
cssVarName: (name: string) => string;
|
|
899
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
900
|
+
cssVarBlockName: (name: string) => string;
|
|
901
|
+
};
|
|
902
|
+
id: import("vue").Ref<string>;
|
|
903
|
+
containerKls: import("vue").ComputedRef<string[]>;
|
|
904
|
+
currentLabel: import("vue").ComputedRef<boolean | (string | number)>;
|
|
905
|
+
itemSelected: import("vue").ComputedRef<boolean>;
|
|
906
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
|
907
|
+
select: import("element-plus").SelectContext;
|
|
908
|
+
visible: import("vue").Ref<boolean>;
|
|
909
|
+
hover: import("vue").Ref<boolean>;
|
|
910
|
+
states: {
|
|
911
|
+
index: number;
|
|
912
|
+
groupDisabled: boolean;
|
|
913
|
+
visible: boolean;
|
|
914
|
+
hover: boolean;
|
|
915
|
+
};
|
|
916
|
+
hoverItem: () => void;
|
|
917
|
+
updateOption: (query: string) => void;
|
|
918
|
+
selectOptionClick: () => void;
|
|
919
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
920
|
+
disabled: boolean;
|
|
921
|
+
created: boolean;
|
|
922
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
923
|
+
P: {};
|
|
924
|
+
B: {};
|
|
925
|
+
D: {};
|
|
926
|
+
C: {};
|
|
927
|
+
M: {};
|
|
928
|
+
Defaults: {};
|
|
929
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
930
|
+
value: {
|
|
931
|
+
readonly type: import("vue").PropType<string | number | boolean | Record<string, any>>;
|
|
932
|
+
readonly required: true;
|
|
933
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
934
|
+
__epPropKey: true;
|
|
935
|
+
};
|
|
936
|
+
label: {
|
|
937
|
+
readonly type: import("vue").PropType<string | number>;
|
|
938
|
+
readonly required: false;
|
|
939
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
940
|
+
__epPropKey: true;
|
|
941
|
+
};
|
|
942
|
+
created: BooleanConstructor;
|
|
943
|
+
disabled: BooleanConstructor;
|
|
944
|
+
}>>, {
|
|
945
|
+
ns: {
|
|
946
|
+
namespace: import("vue").ComputedRef<string>;
|
|
947
|
+
b: (blockSuffix?: string) => string;
|
|
948
|
+
e: (element?: string) => string;
|
|
949
|
+
m: (modifier?: string) => string;
|
|
950
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
951
|
+
em: (element?: string, modifier?: string) => string;
|
|
952
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
953
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
954
|
+
is: {
|
|
955
|
+
(name: string, state: boolean | undefined): string;
|
|
956
|
+
(name: string): string;
|
|
957
|
+
};
|
|
958
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
959
|
+
cssVarName: (name: string) => string;
|
|
960
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
961
|
+
cssVarBlockName: (name: string) => string;
|
|
962
|
+
};
|
|
963
|
+
id: import("vue").Ref<string>;
|
|
964
|
+
containerKls: import("vue").ComputedRef<string[]>;
|
|
965
|
+
currentLabel: import("vue").ComputedRef<boolean | (string | number)>;
|
|
966
|
+
itemSelected: import("vue").ComputedRef<boolean>;
|
|
967
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
|
968
|
+
select: import("element-plus").SelectContext;
|
|
969
|
+
visible: import("vue").Ref<boolean>;
|
|
970
|
+
hover: import("vue").Ref<boolean>;
|
|
971
|
+
states: {
|
|
972
|
+
index: number;
|
|
973
|
+
groupDisabled: boolean;
|
|
974
|
+
visible: boolean;
|
|
975
|
+
hover: boolean;
|
|
976
|
+
};
|
|
977
|
+
hoverItem: () => void;
|
|
978
|
+
updateOption: (query: string) => void;
|
|
979
|
+
selectOptionClick: () => void;
|
|
980
|
+
}, {}, {}, {}, {
|
|
981
|
+
disabled: boolean;
|
|
982
|
+
created: boolean;
|
|
983
|
+
}>;
|
|
984
|
+
__isFragment?: never;
|
|
985
|
+
__isTeleport?: never;
|
|
986
|
+
__isSuspense?: never;
|
|
987
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
546
988
|
value: {
|
|
547
|
-
|
|
548
|
-
|
|
989
|
+
readonly type: import("vue").PropType<string | number | boolean | Record<string, any>>;
|
|
990
|
+
readonly required: true;
|
|
991
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
992
|
+
__epPropKey: true;
|
|
993
|
+
};
|
|
994
|
+
label: {
|
|
995
|
+
readonly type: import("vue").PropType<string | number>;
|
|
996
|
+
readonly required: false;
|
|
997
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
998
|
+
__epPropKey: true;
|
|
549
999
|
};
|
|
550
|
-
label: (NumberConstructor | StringConstructor)[];
|
|
551
1000
|
created: BooleanConstructor;
|
|
552
1001
|
disabled: BooleanConstructor;
|
|
553
|
-
}
|
|
1002
|
+
}>>, {
|
|
554
1003
|
ns: {
|
|
555
1004
|
namespace: import("vue").ComputedRef<string>;
|
|
556
1005
|
b: (blockSuffix?: string) => string;
|
|
@@ -571,32 +1020,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
571
1020
|
};
|
|
572
1021
|
id: import("vue").Ref<string>;
|
|
573
1022
|
containerKls: import("vue").ComputedRef<string[]>;
|
|
574
|
-
currentLabel: import("vue").ComputedRef<
|
|
1023
|
+
currentLabel: import("vue").ComputedRef<boolean | (string | number)>;
|
|
575
1024
|
itemSelected: import("vue").ComputedRef<boolean>;
|
|
576
|
-
isDisabled: import("vue").ComputedRef<
|
|
577
|
-
select: import("element-plus").SelectContext
|
|
578
|
-
hoverItem: () => void;
|
|
579
|
-
updateOption: (query: string) => void;
|
|
1025
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
|
1026
|
+
select: import("element-plus").SelectContext;
|
|
580
1027
|
visible: import("vue").Ref<boolean>;
|
|
581
1028
|
hover: import("vue").Ref<boolean>;
|
|
582
|
-
selectOptionClick: () => void;
|
|
583
1029
|
states: {
|
|
584
1030
|
index: number;
|
|
585
1031
|
groupDisabled: boolean;
|
|
586
1032
|
visible: boolean;
|
|
587
1033
|
hover: boolean;
|
|
588
1034
|
};
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
};
|
|
594
|
-
label: (NumberConstructor | StringConstructor)[];
|
|
595
|
-
created: BooleanConstructor;
|
|
596
|
-
disabled: BooleanConstructor;
|
|
597
|
-
}>>, {
|
|
1035
|
+
hoverItem: () => void;
|
|
1036
|
+
updateOption: (query: string) => void;
|
|
1037
|
+
selectOptionClick: () => void;
|
|
1038
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
598
1039
|
disabled: boolean;
|
|
599
1040
|
created: boolean;
|
|
600
|
-
}, {},
|
|
1041
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
|
|
601
1042
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
602
1043
|
export default _default;
|