@vuetify/nightly 3.6.3-master.2024-05-06 → 3.6.3-master.2024-05-07
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/CHANGELOG.md +8 -2
- package/dist/json/attributes.json +148 -8
- package/dist/json/importMap-labs.json +4 -4
- package/dist/json/importMap.json +112 -112
- package/dist/json/tags.json +36 -1
- package/dist/json/web-types.json +433 -23
- package/dist/vuetify-labs.css +1744 -1744
- package/dist/vuetify-labs.d.ts +631 -317
- package/dist/vuetify-labs.esm.js +65 -89
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +65 -89
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +4507 -4507
- package/dist/vuetify.d.ts +273 -315
- package/dist/vuetify.esm.js +12 -14
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +12 -14
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +11 -11
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +18 -18
- package/lib/components/VBottomSheet/index.d.mts +9 -15
- package/lib/components/VCarousel/index.d.mts +6 -6
- package/lib/components/VCombobox/index.d.mts +18 -18
- package/lib/components/VDialog/index.d.mts +27 -33
- package/lib/components/VFileInput/VFileInput.mjs +1 -1
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/index.d.mts +9 -9
- package/lib/components/VImg/index.d.mts +6 -6
- package/lib/components/VList/VListItem.mjs +3 -2
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/index.d.mts +6 -6
- package/lib/components/VMenu/index.d.mts +27 -33
- package/lib/components/VOverlay/VOverlay.mjs +2 -5
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/index.d.mts +9 -15
- package/lib/components/VResponsive/VResponsive.mjs +1 -1
- package/lib/components/VResponsive/VResponsive.mjs.map +1 -1
- package/lib/components/VResponsive/index.d.mts +6 -6
- package/lib/components/VSelect/index.d.mts +18 -18
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.mts +41 -47
- package/lib/components/VSpeedDial/index.d.mts +9 -15
- package/lib/components/VTooltip/index.d.mts +27 -33
- package/lib/components/index.d.mts +236 -278
- package/lib/composables/component.mjs +1 -1
- package/lib/composables/component.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +37 -37
- package/lib/labs/VNumberInput/VNumberInput.mjs +57 -81
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/index.d.mts +402 -34
- package/lib/labs/VSnackbarQueue/index.d.mts +41 -47
- package/lib/labs/VTreeview/index.d.mts +6 -6
- package/lib/labs/components.d.mts +442 -86
- package/package.json +2 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as vue from 'vue';
|
2
|
-
import { ComponentPropsOptions, ExtractPropTypes, ComputedRef, Ref
|
2
|
+
import { ComponentPropsOptions, ExtractPropTypes, JSXComponent, PropType, ComputedRef, Ref } from 'vue';
|
3
3
|
|
4
4
|
interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions>, Props = ExtractPropTypes<PropsOptions>> {
|
5
5
|
filterProps<T extends Partial<Props>, U extends Exclude<keyof Props, Exclude<keyof Props, keyof T>>>(props: T): Partial<Pick<T, U>>;
|
@@ -14,8 +14,20 @@ type VMessageSlot = {
|
|
14
14
|
message: string;
|
15
15
|
};
|
16
16
|
|
17
|
+
type VCounterSlot = {
|
18
|
+
counter: string;
|
19
|
+
max: string | number | undefined;
|
20
|
+
value: string | number | undefined;
|
21
|
+
};
|
22
|
+
|
17
23
|
type Density = null | 'default' | 'comfortable' | 'compact';
|
18
24
|
|
25
|
+
type ValidationResult = string | boolean;
|
26
|
+
type ValidationRule = ValidationResult | PromiseLike<ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike<ValidationResult>);
|
27
|
+
|
28
|
+
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
29
|
+
declare const IconValue: PropType<IconValue>;
|
30
|
+
|
19
31
|
interface VInputSlot {
|
20
32
|
id: ComputedRef<string>;
|
21
33
|
messagesId: ComputedRef<string>;
|
@@ -45,33 +57,73 @@ type ControlVariant = 'default' | 'stacked' | 'split';
|
|
45
57
|
declare const VNumberInput: {
|
46
58
|
new (...args: any[]): vue.CreateComponentPublicInstance<{
|
47
59
|
reverse: boolean;
|
60
|
+
flat: boolean;
|
48
61
|
style: vue.StyleValue;
|
62
|
+
type: string;
|
63
|
+
active: boolean;
|
49
64
|
error: boolean;
|
50
65
|
disabled: boolean;
|
66
|
+
messages: string | readonly string[];
|
51
67
|
focused: boolean;
|
68
|
+
errorMessages: string | readonly string[] | null;
|
69
|
+
maxErrors: string | number;
|
52
70
|
readonly: boolean | null;
|
71
|
+
rules: readonly ValidationRule[];
|
53
72
|
variant: "underlined" | "filled" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
54
73
|
inset: boolean;
|
74
|
+
tile: boolean;
|
55
75
|
density: Density;
|
76
|
+
direction: "horizontal" | "vertical";
|
56
77
|
max: number;
|
78
|
+
clearIcon: IconValue;
|
79
|
+
hideSpinButtons: boolean;
|
57
80
|
persistentHint: boolean;
|
81
|
+
autofocus: boolean;
|
82
|
+
clearable: boolean;
|
83
|
+
dirty: boolean;
|
84
|
+
persistentClear: boolean;
|
85
|
+
singleLine: boolean;
|
86
|
+
persistentPlaceholder: boolean;
|
87
|
+
persistentCounter: boolean;
|
58
88
|
min: number;
|
59
89
|
step: number;
|
60
90
|
hideInput: boolean;
|
61
91
|
controlVariant: ControlVariant;
|
62
92
|
} & {
|
63
93
|
class?: any;
|
94
|
+
id?: string | undefined;
|
64
95
|
label?: string | undefined;
|
96
|
+
width?: string | number | undefined;
|
65
97
|
theme?: string | undefined;
|
66
98
|
color?: string | undefined;
|
99
|
+
name?: string | undefined;
|
100
|
+
prefix?: string | undefined;
|
67
101
|
loading?: string | boolean | undefined;
|
102
|
+
placeholder?: string | undefined;
|
103
|
+
counter?: string | number | boolean | undefined;
|
68
104
|
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
69
|
-
modelValue?:
|
105
|
+
modelValue?: any;
|
106
|
+
validateOn?: ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | "lazy" | undefined;
|
107
|
+
validationValue?: any;
|
70
108
|
rounded?: string | number | boolean | undefined;
|
109
|
+
maxWidth?: string | number | undefined;
|
110
|
+
minWidth?: string | number | undefined;
|
111
|
+
role?: string | undefined;
|
71
112
|
baseColor?: string | undefined;
|
72
113
|
bgColor?: string | undefined;
|
114
|
+
prependIcon?: IconValue | undefined;
|
115
|
+
appendIcon?: IconValue | undefined;
|
116
|
+
'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
|
117
|
+
'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined;
|
118
|
+
'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
|
119
|
+
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
120
|
+
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
121
|
+
centerAffix?: boolean | undefined;
|
73
122
|
hint?: string | undefined;
|
74
123
|
hideDetails?: boolean | "auto" | undefined;
|
124
|
+
suffix?: string | undefined;
|
125
|
+
counterValue?: number | ((value: any) => number) | undefined;
|
126
|
+
modelModifiers?: Record<string, boolean> | undefined;
|
75
127
|
} & {
|
76
128
|
$children?: {} | vue.VNodeChild | {
|
77
129
|
clear?: ((arg: DefaultInputSlot & {
|
@@ -82,6 +134,7 @@ declare const VNumberInput: {
|
|
82
134
|
label: string | undefined;
|
83
135
|
props: Record<string, any>;
|
84
136
|
}) => vue.VNodeChild) | undefined;
|
137
|
+
counter?: ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
85
138
|
message?: ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
86
139
|
prepend?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
87
140
|
append?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
@@ -100,6 +153,7 @@ declare const VNumberInput: {
|
|
100
153
|
label: string | undefined;
|
101
154
|
props: Record<string, any>;
|
102
155
|
}) => vue.VNodeChild) | undefined;
|
156
|
+
counter?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
103
157
|
message?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
104
158
|
prepend?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
105
159
|
append?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
@@ -118,6 +172,7 @@ declare const VNumberInput: {
|
|
118
172
|
label: string | undefined;
|
119
173
|
props: Record<string, any>;
|
120
174
|
}) => vue.VNodeChild) | undefined;
|
175
|
+
"v-slot:counter"?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
121
176
|
"v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
122
177
|
"v-slot:prepend"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
123
178
|
"v-slot:append"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
@@ -132,33 +187,73 @@ declare const VNumberInput: {
|
|
132
187
|
'update:modelValue': (val: number) => true;
|
133
188
|
}, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
134
189
|
reverse: boolean;
|
190
|
+
flat: boolean;
|
135
191
|
style: vue.StyleValue;
|
192
|
+
type: string;
|
193
|
+
active: boolean;
|
136
194
|
error: boolean;
|
137
195
|
disabled: boolean;
|
196
|
+
messages: string | readonly string[];
|
138
197
|
focused: boolean;
|
198
|
+
errorMessages: string | readonly string[] | null;
|
199
|
+
maxErrors: string | number;
|
139
200
|
readonly: boolean | null;
|
201
|
+
rules: readonly ValidationRule[];
|
140
202
|
variant: "underlined" | "filled" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
141
203
|
inset: boolean;
|
204
|
+
tile: boolean;
|
142
205
|
density: Density;
|
206
|
+
direction: "horizontal" | "vertical";
|
143
207
|
max: number;
|
208
|
+
clearIcon: IconValue;
|
209
|
+
hideSpinButtons: boolean;
|
144
210
|
persistentHint: boolean;
|
211
|
+
autofocus: boolean;
|
212
|
+
clearable: boolean;
|
213
|
+
dirty: boolean;
|
214
|
+
persistentClear: boolean;
|
215
|
+
singleLine: boolean;
|
216
|
+
persistentPlaceholder: boolean;
|
217
|
+
persistentCounter: boolean;
|
145
218
|
min: number;
|
146
219
|
step: number;
|
147
220
|
hideInput: boolean;
|
148
221
|
controlVariant: ControlVariant;
|
149
222
|
} & {
|
150
223
|
class?: any;
|
224
|
+
id?: string | undefined;
|
151
225
|
label?: string | undefined;
|
226
|
+
width?: string | number | undefined;
|
152
227
|
theme?: string | undefined;
|
153
228
|
color?: string | undefined;
|
229
|
+
name?: string | undefined;
|
230
|
+
prefix?: string | undefined;
|
154
231
|
loading?: string | boolean | undefined;
|
232
|
+
placeholder?: string | undefined;
|
233
|
+
counter?: string | number | boolean | undefined;
|
155
234
|
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
156
|
-
modelValue?:
|
235
|
+
modelValue?: any;
|
236
|
+
validateOn?: ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | "lazy" | undefined;
|
237
|
+
validationValue?: any;
|
157
238
|
rounded?: string | number | boolean | undefined;
|
239
|
+
maxWidth?: string | number | undefined;
|
240
|
+
minWidth?: string | number | undefined;
|
241
|
+
role?: string | undefined;
|
158
242
|
baseColor?: string | undefined;
|
159
243
|
bgColor?: string | undefined;
|
244
|
+
prependIcon?: IconValue | undefined;
|
245
|
+
appendIcon?: IconValue | undefined;
|
246
|
+
'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
|
247
|
+
'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined;
|
248
|
+
'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
|
249
|
+
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
250
|
+
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
251
|
+
centerAffix?: boolean | undefined;
|
160
252
|
hint?: string | undefined;
|
161
253
|
hideDetails?: boolean | "auto" | undefined;
|
254
|
+
suffix?: string | undefined;
|
255
|
+
counterValue?: number | ((value: any) => number) | undefined;
|
256
|
+
modelModifiers?: Record<string, boolean> | undefined;
|
162
257
|
} & {
|
163
258
|
$children?: {} | vue.VNodeChild | {
|
164
259
|
clear?: ((arg: DefaultInputSlot & {
|
@@ -169,6 +264,7 @@ declare const VNumberInput: {
|
|
169
264
|
label: string | undefined;
|
170
265
|
props: Record<string, any>;
|
171
266
|
}) => vue.VNodeChild) | undefined;
|
267
|
+
counter?: ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
172
268
|
message?: ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
173
269
|
prepend?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
174
270
|
append?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
@@ -187,6 +283,7 @@ declare const VNumberInput: {
|
|
187
283
|
label: string | undefined;
|
188
284
|
props: Record<string, any>;
|
189
285
|
}) => vue.VNodeChild) | undefined;
|
286
|
+
counter?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
190
287
|
message?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
191
288
|
prepend?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
192
289
|
append?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
@@ -205,6 +302,7 @@ declare const VNumberInput: {
|
|
205
302
|
label: string | undefined;
|
206
303
|
props: Record<string, any>;
|
207
304
|
}) => vue.VNodeChild) | undefined;
|
305
|
+
"v-slot:counter"?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
208
306
|
"v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
209
307
|
"v-slot:prepend"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
210
308
|
"v-slot:append"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
@@ -217,18 +315,36 @@ declare const VNumberInput: {
|
|
217
315
|
"onUpdate:modelValue"?: ((val: number) => any) | undefined;
|
218
316
|
}, {
|
219
317
|
reverse: boolean;
|
318
|
+
flat: boolean;
|
220
319
|
style: vue.StyleValue;
|
320
|
+
type: string;
|
321
|
+
active: boolean;
|
221
322
|
error: boolean;
|
222
323
|
disabled: boolean;
|
324
|
+
messages: string | readonly string[];
|
223
325
|
focused: boolean;
|
326
|
+
errorMessages: string | readonly string[] | null;
|
327
|
+
maxErrors: string | number;
|
224
328
|
readonly: boolean | null;
|
225
|
-
|
329
|
+
rules: readonly ValidationRule[];
|
226
330
|
rounded: string | number | boolean;
|
227
331
|
variant: "underlined" | "filled" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
228
332
|
inset: boolean;
|
333
|
+
tile: boolean;
|
229
334
|
density: Density;
|
335
|
+
direction: "horizontal" | "vertical";
|
230
336
|
max: number;
|
337
|
+
clearIcon: IconValue;
|
338
|
+
centerAffix: boolean;
|
339
|
+
hideSpinButtons: boolean;
|
231
340
|
persistentHint: boolean;
|
341
|
+
autofocus: boolean;
|
342
|
+
clearable: boolean;
|
343
|
+
dirty: boolean;
|
344
|
+
persistentClear: boolean;
|
345
|
+
singleLine: boolean;
|
346
|
+
persistentPlaceholder: boolean;
|
347
|
+
persistentCounter: boolean;
|
232
348
|
min: number;
|
233
349
|
step: number;
|
234
350
|
hideInput: boolean;
|
@@ -248,6 +364,9 @@ declare const VNumberInput: {
|
|
248
364
|
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
249
365
|
[key: string]: any;
|
250
366
|
}>[];
|
367
|
+
counter: (arg: VCounterSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
368
|
+
[key: string]: any;
|
369
|
+
}>[];
|
251
370
|
message: (arg: VMessageSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
252
371
|
[key: string]: any;
|
253
372
|
}>[];
|
@@ -281,33 +400,73 @@ declare const VNumberInput: {
|
|
281
400
|
Defaults: {};
|
282
401
|
}, {
|
283
402
|
reverse: boolean;
|
403
|
+
flat: boolean;
|
284
404
|
style: vue.StyleValue;
|
405
|
+
type: string;
|
406
|
+
active: boolean;
|
285
407
|
error: boolean;
|
286
408
|
disabled: boolean;
|
409
|
+
messages: string | readonly string[];
|
287
410
|
focused: boolean;
|
411
|
+
errorMessages: string | readonly string[] | null;
|
412
|
+
maxErrors: string | number;
|
288
413
|
readonly: boolean | null;
|
414
|
+
rules: readonly ValidationRule[];
|
289
415
|
variant: "underlined" | "filled" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
290
416
|
inset: boolean;
|
417
|
+
tile: boolean;
|
291
418
|
density: Density;
|
419
|
+
direction: "horizontal" | "vertical";
|
292
420
|
max: number;
|
421
|
+
clearIcon: IconValue;
|
422
|
+
hideSpinButtons: boolean;
|
293
423
|
persistentHint: boolean;
|
424
|
+
autofocus: boolean;
|
425
|
+
clearable: boolean;
|
426
|
+
dirty: boolean;
|
427
|
+
persistentClear: boolean;
|
428
|
+
singleLine: boolean;
|
429
|
+
persistentPlaceholder: boolean;
|
430
|
+
persistentCounter: boolean;
|
294
431
|
min: number;
|
295
432
|
step: number;
|
296
433
|
hideInput: boolean;
|
297
434
|
controlVariant: ControlVariant;
|
298
435
|
} & {
|
299
436
|
class?: any;
|
437
|
+
id?: string | undefined;
|
300
438
|
label?: string | undefined;
|
439
|
+
width?: string | number | undefined;
|
301
440
|
theme?: string | undefined;
|
302
441
|
color?: string | undefined;
|
442
|
+
name?: string | undefined;
|
443
|
+
prefix?: string | undefined;
|
303
444
|
loading?: string | boolean | undefined;
|
445
|
+
placeholder?: string | undefined;
|
446
|
+
counter?: string | number | boolean | undefined;
|
304
447
|
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
305
|
-
modelValue?:
|
448
|
+
modelValue?: any;
|
449
|
+
validateOn?: ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | "lazy" | undefined;
|
450
|
+
validationValue?: any;
|
306
451
|
rounded?: string | number | boolean | undefined;
|
452
|
+
maxWidth?: string | number | undefined;
|
453
|
+
minWidth?: string | number | undefined;
|
454
|
+
role?: string | undefined;
|
307
455
|
baseColor?: string | undefined;
|
308
456
|
bgColor?: string | undefined;
|
457
|
+
prependIcon?: IconValue | undefined;
|
458
|
+
appendIcon?: IconValue | undefined;
|
459
|
+
'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
|
460
|
+
'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined;
|
461
|
+
'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
|
462
|
+
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
463
|
+
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
464
|
+
centerAffix?: boolean | undefined;
|
309
465
|
hint?: string | undefined;
|
310
466
|
hideDetails?: boolean | "auto" | undefined;
|
467
|
+
suffix?: string | undefined;
|
468
|
+
counterValue?: number | ((value: any) => number) | undefined;
|
469
|
+
modelModifiers?: Record<string, boolean> | undefined;
|
311
470
|
} & {
|
312
471
|
$children?: {} | vue.VNodeChild | {
|
313
472
|
clear?: ((arg: DefaultInputSlot & {
|
@@ -318,6 +477,7 @@ declare const VNumberInput: {
|
|
318
477
|
label: string | undefined;
|
319
478
|
props: Record<string, any>;
|
320
479
|
}) => vue.VNodeChild) | undefined;
|
480
|
+
counter?: ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
321
481
|
message?: ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
322
482
|
prepend?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
323
483
|
append?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
@@ -336,6 +496,7 @@ declare const VNumberInput: {
|
|
336
496
|
label: string | undefined;
|
337
497
|
props: Record<string, any>;
|
338
498
|
}) => vue.VNodeChild) | undefined;
|
499
|
+
counter?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
339
500
|
message?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
340
501
|
prepend?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
341
502
|
append?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
@@ -354,6 +515,7 @@ declare const VNumberInput: {
|
|
354
515
|
label: string | undefined;
|
355
516
|
props: Record<string, any>;
|
356
517
|
}) => vue.VNodeChild) | undefined;
|
518
|
+
"v-slot:counter"?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
357
519
|
"v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
358
520
|
"v-slot:prepend"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
359
521
|
"v-slot:append"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
@@ -366,18 +528,36 @@ declare const VNumberInput: {
|
|
366
528
|
"onUpdate:modelValue"?: ((val: number) => any) | undefined;
|
367
529
|
}, {}, {}, {}, {}, {
|
368
530
|
reverse: boolean;
|
531
|
+
flat: boolean;
|
369
532
|
style: vue.StyleValue;
|
533
|
+
type: string;
|
534
|
+
active: boolean;
|
370
535
|
error: boolean;
|
371
536
|
disabled: boolean;
|
537
|
+
messages: string | readonly string[];
|
372
538
|
focused: boolean;
|
539
|
+
errorMessages: string | readonly string[] | null;
|
540
|
+
maxErrors: string | number;
|
373
541
|
readonly: boolean | null;
|
374
|
-
|
542
|
+
rules: readonly ValidationRule[];
|
375
543
|
rounded: string | number | boolean;
|
376
544
|
variant: "underlined" | "filled" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
377
545
|
inset: boolean;
|
546
|
+
tile: boolean;
|
378
547
|
density: Density;
|
548
|
+
direction: "horizontal" | "vertical";
|
379
549
|
max: number;
|
550
|
+
clearIcon: IconValue;
|
551
|
+
centerAffix: boolean;
|
552
|
+
hideSpinButtons: boolean;
|
380
553
|
persistentHint: boolean;
|
554
|
+
autofocus: boolean;
|
555
|
+
clearable: boolean;
|
556
|
+
dirty: boolean;
|
557
|
+
persistentClear: boolean;
|
558
|
+
singleLine: boolean;
|
559
|
+
persistentPlaceholder: boolean;
|
560
|
+
persistentCounter: boolean;
|
381
561
|
min: number;
|
382
562
|
step: number;
|
383
563
|
hideInput: boolean;
|
@@ -388,33 +568,73 @@ declare const VNumberInput: {
|
|
388
568
|
__isSuspense?: undefined;
|
389
569
|
} & vue.ComponentOptionsBase<{
|
390
570
|
reverse: boolean;
|
571
|
+
flat: boolean;
|
391
572
|
style: vue.StyleValue;
|
573
|
+
type: string;
|
574
|
+
active: boolean;
|
392
575
|
error: boolean;
|
393
576
|
disabled: boolean;
|
577
|
+
messages: string | readonly string[];
|
394
578
|
focused: boolean;
|
579
|
+
errorMessages: string | readonly string[] | null;
|
580
|
+
maxErrors: string | number;
|
395
581
|
readonly: boolean | null;
|
582
|
+
rules: readonly ValidationRule[];
|
396
583
|
variant: "underlined" | "filled" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
397
584
|
inset: boolean;
|
585
|
+
tile: boolean;
|
398
586
|
density: Density;
|
587
|
+
direction: "horizontal" | "vertical";
|
399
588
|
max: number;
|
589
|
+
clearIcon: IconValue;
|
590
|
+
hideSpinButtons: boolean;
|
400
591
|
persistentHint: boolean;
|
592
|
+
autofocus: boolean;
|
593
|
+
clearable: boolean;
|
594
|
+
dirty: boolean;
|
595
|
+
persistentClear: boolean;
|
596
|
+
singleLine: boolean;
|
597
|
+
persistentPlaceholder: boolean;
|
598
|
+
persistentCounter: boolean;
|
401
599
|
min: number;
|
402
600
|
step: number;
|
403
601
|
hideInput: boolean;
|
404
602
|
controlVariant: ControlVariant;
|
405
603
|
} & {
|
406
604
|
class?: any;
|
605
|
+
id?: string | undefined;
|
407
606
|
label?: string | undefined;
|
607
|
+
width?: string | number | undefined;
|
408
608
|
theme?: string | undefined;
|
409
609
|
color?: string | undefined;
|
610
|
+
name?: string | undefined;
|
611
|
+
prefix?: string | undefined;
|
410
612
|
loading?: string | boolean | undefined;
|
613
|
+
placeholder?: string | undefined;
|
614
|
+
counter?: string | number | boolean | undefined;
|
411
615
|
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
412
|
-
modelValue?:
|
616
|
+
modelValue?: any;
|
617
|
+
validateOn?: ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | "lazy" | undefined;
|
618
|
+
validationValue?: any;
|
413
619
|
rounded?: string | number | boolean | undefined;
|
620
|
+
maxWidth?: string | number | undefined;
|
621
|
+
minWidth?: string | number | undefined;
|
622
|
+
role?: string | undefined;
|
414
623
|
baseColor?: string | undefined;
|
415
624
|
bgColor?: string | undefined;
|
625
|
+
prependIcon?: IconValue | undefined;
|
626
|
+
appendIcon?: IconValue | undefined;
|
627
|
+
'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
|
628
|
+
'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined;
|
629
|
+
'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
|
630
|
+
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
631
|
+
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
632
|
+
centerAffix?: boolean | undefined;
|
416
633
|
hint?: string | undefined;
|
417
634
|
hideDetails?: boolean | "auto" | undefined;
|
635
|
+
suffix?: string | undefined;
|
636
|
+
counterValue?: number | ((value: any) => number) | undefined;
|
637
|
+
modelModifiers?: Record<string, boolean> | undefined;
|
418
638
|
} & {
|
419
639
|
$children?: {} | vue.VNodeChild | {
|
420
640
|
clear?: ((arg: DefaultInputSlot & {
|
@@ -425,6 +645,7 @@ declare const VNumberInput: {
|
|
425
645
|
label: string | undefined;
|
426
646
|
props: Record<string, any>;
|
427
647
|
}) => vue.VNodeChild) | undefined;
|
648
|
+
counter?: ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
428
649
|
message?: ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
429
650
|
prepend?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
430
651
|
append?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
@@ -443,6 +664,7 @@ declare const VNumberInput: {
|
|
443
664
|
label: string | undefined;
|
444
665
|
props: Record<string, any>;
|
445
666
|
}) => vue.VNodeChild) | undefined;
|
667
|
+
counter?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
446
668
|
message?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
447
669
|
prepend?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
448
670
|
append?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
@@ -461,6 +683,7 @@ declare const VNumberInput: {
|
|
461
683
|
label: string | undefined;
|
462
684
|
props: Record<string, any>;
|
463
685
|
}) => vue.VNodeChild) | undefined;
|
686
|
+
"v-slot:counter"?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
464
687
|
"v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
465
688
|
"v-slot:prepend"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
466
689
|
"v-slot:append"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
@@ -475,18 +698,36 @@ declare const VNumberInput: {
|
|
475
698
|
'update:modelValue': (val: number) => true;
|
476
699
|
}, string, {
|
477
700
|
reverse: boolean;
|
701
|
+
flat: boolean;
|
478
702
|
style: vue.StyleValue;
|
703
|
+
type: string;
|
704
|
+
active: boolean;
|
479
705
|
error: boolean;
|
480
706
|
disabled: boolean;
|
707
|
+
messages: string | readonly string[];
|
481
708
|
focused: boolean;
|
709
|
+
errorMessages: string | readonly string[] | null;
|
710
|
+
maxErrors: string | number;
|
482
711
|
readonly: boolean | null;
|
483
|
-
|
712
|
+
rules: readonly ValidationRule[];
|
484
713
|
rounded: string | number | boolean;
|
485
714
|
variant: "underlined" | "filled" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
486
715
|
inset: boolean;
|
716
|
+
tile: boolean;
|
487
717
|
density: Density;
|
718
|
+
direction: "horizontal" | "vertical";
|
488
719
|
max: number;
|
720
|
+
clearIcon: IconValue;
|
721
|
+
centerAffix: boolean;
|
722
|
+
hideSpinButtons: boolean;
|
489
723
|
persistentHint: boolean;
|
724
|
+
autofocus: boolean;
|
725
|
+
clearable: boolean;
|
726
|
+
dirty: boolean;
|
727
|
+
persistentClear: boolean;
|
728
|
+
singleLine: boolean;
|
729
|
+
persistentPlaceholder: boolean;
|
730
|
+
persistentCounter: boolean;
|
490
731
|
min: number;
|
491
732
|
step: number;
|
492
733
|
hideInput: boolean;
|
@@ -506,6 +747,9 @@ declare const VNumberInput: {
|
|
506
747
|
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
507
748
|
[key: string]: any;
|
508
749
|
}>[];
|
750
|
+
counter: (arg: VCounterSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
751
|
+
[key: string]: any;
|
752
|
+
}>[];
|
509
753
|
message: (arg: VMessageSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
510
754
|
[key: string]: any;
|
511
755
|
}>[];
|
@@ -531,26 +775,58 @@ declare const VNumberInput: {
|
|
531
775
|
[key: string]: any;
|
532
776
|
}>[];
|
533
777
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
534
|
-
modelValue: {
|
535
|
-
type: NumberConstructor;
|
536
|
-
default: undefined;
|
537
|
-
};
|
538
|
-
focused: BooleanConstructor;
|
539
|
-
'onUpdate:focused': PropType<(args_0: boolean) => void>;
|
540
778
|
reverse: BooleanConstructor;
|
779
|
+
flat: BooleanConstructor;
|
541
780
|
class: PropType<any>;
|
542
781
|
style: {
|
543
782
|
type: PropType<vue.StyleValue>;
|
544
783
|
default: null;
|
545
784
|
};
|
785
|
+
id: StringConstructor;
|
786
|
+
label: StringConstructor;
|
787
|
+
type: {
|
788
|
+
type: StringConstructor;
|
789
|
+
default: string;
|
790
|
+
};
|
791
|
+
width: (StringConstructor | NumberConstructor)[];
|
792
|
+
active: BooleanConstructor;
|
546
793
|
error: BooleanConstructor;
|
547
794
|
theme: StringConstructor;
|
548
795
|
color: StringConstructor;
|
796
|
+
name: StringConstructor;
|
797
|
+
prefix: StringConstructor;
|
549
798
|
disabled: {
|
550
799
|
type: BooleanConstructor;
|
551
800
|
default: null;
|
552
801
|
};
|
553
802
|
loading: (StringConstructor | BooleanConstructor)[];
|
803
|
+
messages: {
|
804
|
+
type: PropType<string | readonly string[]>;
|
805
|
+
default: () => never[];
|
806
|
+
};
|
807
|
+
placeholder: StringConstructor;
|
808
|
+
counter: (StringConstructor | NumberConstructor | BooleanConstructor)[];
|
809
|
+
focused: BooleanConstructor;
|
810
|
+
'onUpdate:focused': PropType<(args_0: boolean) => void>;
|
811
|
+
errorMessages: {
|
812
|
+
type: PropType<string | readonly string[] | null>;
|
813
|
+
default: () => never[];
|
814
|
+
};
|
815
|
+
maxErrors: {
|
816
|
+
type: (StringConstructor | NumberConstructor)[];
|
817
|
+
default: number;
|
818
|
+
};
|
819
|
+
readonly: {
|
820
|
+
type: PropType<boolean | null>;
|
821
|
+
default: null;
|
822
|
+
};
|
823
|
+
rules: {
|
824
|
+
type: PropType<readonly ValidationRule[]>;
|
825
|
+
default: () => never[];
|
826
|
+
};
|
827
|
+
modelValue: null;
|
828
|
+
validateOn: PropType<("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | "lazy" | undefined>;
|
829
|
+
validationValue: null;
|
554
830
|
rounded: {
|
555
831
|
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
|
556
832
|
default: undefined;
|
@@ -560,21 +836,51 @@ declare const VNumberInput: {
|
|
560
836
|
default: string;
|
561
837
|
validator: (v: any) => boolean;
|
562
838
|
};
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
type: PropType<boolean | null>;
|
568
|
-
default: null;
|
569
|
-
};
|
839
|
+
maxWidth: (StringConstructor | NumberConstructor)[];
|
840
|
+
minWidth: (StringConstructor | NumberConstructor)[];
|
841
|
+
tile: BooleanConstructor;
|
842
|
+
role: StringConstructor;
|
570
843
|
density: {
|
571
844
|
type: PropType<Density>;
|
572
845
|
default: string;
|
573
846
|
validator: (v: any) => boolean;
|
574
847
|
};
|
848
|
+
direction: {
|
849
|
+
type: PropType<"horizontal" | "vertical">;
|
850
|
+
default: string;
|
851
|
+
validator: (v: any) => boolean;
|
852
|
+
};
|
853
|
+
baseColor: StringConstructor;
|
854
|
+
bgColor: StringConstructor;
|
855
|
+
prependIcon: PropType<IconValue>;
|
856
|
+
appendIcon: PropType<IconValue>;
|
857
|
+
clearIcon: {
|
858
|
+
type: PropType<IconValue>;
|
859
|
+
default: string;
|
860
|
+
};
|
861
|
+
'onClick:clear': PropType<(args_0: MouseEvent) => void>;
|
862
|
+
'onClick:prepend': PropType<(args_0: MouseEvent) => void>;
|
863
|
+
'onClick:append': PropType<(args_0: MouseEvent) => void>;
|
864
|
+
'onClick:appendInner': PropType<(args_0: MouseEvent) => void>;
|
865
|
+
'onClick:prependInner': PropType<(args_0: MouseEvent) => void>;
|
866
|
+
centerAffix: {
|
867
|
+
type: BooleanConstructor;
|
868
|
+
default: undefined;
|
869
|
+
};
|
870
|
+
hideSpinButtons: BooleanConstructor;
|
575
871
|
hint: StringConstructor;
|
576
872
|
persistentHint: BooleanConstructor;
|
577
873
|
hideDetails: PropType<boolean | "auto">;
|
874
|
+
autofocus: BooleanConstructor;
|
875
|
+
clearable: BooleanConstructor;
|
876
|
+
dirty: BooleanConstructor;
|
877
|
+
persistentClear: BooleanConstructor;
|
878
|
+
singleLine: BooleanConstructor;
|
879
|
+
persistentPlaceholder: BooleanConstructor;
|
880
|
+
persistentCounter: BooleanConstructor;
|
881
|
+
suffix: StringConstructor;
|
882
|
+
counterValue: PropType<number | ((value: any) => number)>;
|
883
|
+
modelModifiers: PropType<Record<string, boolean>>;
|
578
884
|
controlVariant: {
|
579
885
|
type: PropType<ControlVariant>;
|
580
886
|
default: string;
|
@@ -594,26 +900,58 @@ declare const VNumberInput: {
|
|
594
900
|
default: number;
|
595
901
|
};
|
596
902
|
}, vue.ExtractPropTypes<{
|
597
|
-
modelValue: {
|
598
|
-
type: NumberConstructor;
|
599
|
-
default: undefined;
|
600
|
-
};
|
601
|
-
focused: BooleanConstructor;
|
602
|
-
'onUpdate:focused': PropType<(args_0: boolean) => void>;
|
603
903
|
reverse: BooleanConstructor;
|
904
|
+
flat: BooleanConstructor;
|
604
905
|
class: PropType<any>;
|
605
906
|
style: {
|
606
907
|
type: PropType<vue.StyleValue>;
|
607
908
|
default: null;
|
608
909
|
};
|
910
|
+
id: StringConstructor;
|
911
|
+
label: StringConstructor;
|
912
|
+
type: {
|
913
|
+
type: StringConstructor;
|
914
|
+
default: string;
|
915
|
+
};
|
916
|
+
width: (StringConstructor | NumberConstructor)[];
|
917
|
+
active: BooleanConstructor;
|
609
918
|
error: BooleanConstructor;
|
610
919
|
theme: StringConstructor;
|
611
920
|
color: StringConstructor;
|
921
|
+
name: StringConstructor;
|
922
|
+
prefix: StringConstructor;
|
612
923
|
disabled: {
|
613
924
|
type: BooleanConstructor;
|
614
925
|
default: null;
|
615
926
|
};
|
616
927
|
loading: (StringConstructor | BooleanConstructor)[];
|
928
|
+
messages: {
|
929
|
+
type: PropType<string | readonly string[]>;
|
930
|
+
default: () => never[];
|
931
|
+
};
|
932
|
+
placeholder: StringConstructor;
|
933
|
+
counter: (StringConstructor | NumberConstructor | BooleanConstructor)[];
|
934
|
+
focused: BooleanConstructor;
|
935
|
+
'onUpdate:focused': PropType<(args_0: boolean) => void>;
|
936
|
+
errorMessages: {
|
937
|
+
type: PropType<string | readonly string[] | null>;
|
938
|
+
default: () => never[];
|
939
|
+
};
|
940
|
+
maxErrors: {
|
941
|
+
type: (StringConstructor | NumberConstructor)[];
|
942
|
+
default: number;
|
943
|
+
};
|
944
|
+
readonly: {
|
945
|
+
type: PropType<boolean | null>;
|
946
|
+
default: null;
|
947
|
+
};
|
948
|
+
rules: {
|
949
|
+
type: PropType<readonly ValidationRule[]>;
|
950
|
+
default: () => never[];
|
951
|
+
};
|
952
|
+
modelValue: null;
|
953
|
+
validateOn: PropType<("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | "lazy" | undefined>;
|
954
|
+
validationValue: null;
|
617
955
|
rounded: {
|
618
956
|
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
|
619
957
|
default: undefined;
|
@@ -623,21 +961,51 @@ declare const VNumberInput: {
|
|
623
961
|
default: string;
|
624
962
|
validator: (v: any) => boolean;
|
625
963
|
};
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
type: PropType<boolean | null>;
|
631
|
-
default: null;
|
632
|
-
};
|
964
|
+
maxWidth: (StringConstructor | NumberConstructor)[];
|
965
|
+
minWidth: (StringConstructor | NumberConstructor)[];
|
966
|
+
tile: BooleanConstructor;
|
967
|
+
role: StringConstructor;
|
633
968
|
density: {
|
634
969
|
type: PropType<Density>;
|
635
970
|
default: string;
|
636
971
|
validator: (v: any) => boolean;
|
637
972
|
};
|
973
|
+
direction: {
|
974
|
+
type: PropType<"horizontal" | "vertical">;
|
975
|
+
default: string;
|
976
|
+
validator: (v: any) => boolean;
|
977
|
+
};
|
978
|
+
baseColor: StringConstructor;
|
979
|
+
bgColor: StringConstructor;
|
980
|
+
prependIcon: PropType<IconValue>;
|
981
|
+
appendIcon: PropType<IconValue>;
|
982
|
+
clearIcon: {
|
983
|
+
type: PropType<IconValue>;
|
984
|
+
default: string;
|
985
|
+
};
|
986
|
+
'onClick:clear': PropType<(args_0: MouseEvent) => void>;
|
987
|
+
'onClick:prepend': PropType<(args_0: MouseEvent) => void>;
|
988
|
+
'onClick:append': PropType<(args_0: MouseEvent) => void>;
|
989
|
+
'onClick:appendInner': PropType<(args_0: MouseEvent) => void>;
|
990
|
+
'onClick:prependInner': PropType<(args_0: MouseEvent) => void>;
|
991
|
+
centerAffix: {
|
992
|
+
type: BooleanConstructor;
|
993
|
+
default: undefined;
|
994
|
+
};
|
995
|
+
hideSpinButtons: BooleanConstructor;
|
638
996
|
hint: StringConstructor;
|
639
997
|
persistentHint: BooleanConstructor;
|
640
998
|
hideDetails: PropType<boolean | "auto">;
|
999
|
+
autofocus: BooleanConstructor;
|
1000
|
+
clearable: BooleanConstructor;
|
1001
|
+
dirty: BooleanConstructor;
|
1002
|
+
persistentClear: BooleanConstructor;
|
1003
|
+
singleLine: BooleanConstructor;
|
1004
|
+
persistentPlaceholder: BooleanConstructor;
|
1005
|
+
persistentCounter: BooleanConstructor;
|
1006
|
+
suffix: StringConstructor;
|
1007
|
+
counterValue: PropType<number | ((value: any) => number)>;
|
1008
|
+
modelModifiers: PropType<Record<string, boolean>>;
|
641
1009
|
controlVariant: {
|
642
1010
|
type: PropType<ControlVariant>;
|
643
1011
|
default: string;
|