@vuetify/nightly 3.6.14-master.2024-08-12 → 3.6.14-master.2024-08-13

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.
Files changed (135) hide show
  1. package/dist/json/attributes.json +7 -7
  2. package/dist/json/importMap-labs.json +30 -30
  3. package/dist/json/importMap.json +138 -138
  4. package/dist/json/web-types.json +8 -8
  5. package/dist/vuetify-labs.css +2728 -2728
  6. package/dist/vuetify-labs.d.ts +33444 -40135
  7. package/dist/vuetify-labs.esm.js +16 -8
  8. package/dist/vuetify-labs.esm.js.map +1 -1
  9. package/dist/vuetify-labs.js +16 -8
  10. package/dist/vuetify-labs.min.css +2 -2
  11. package/dist/vuetify.css +556 -556
  12. package/dist/vuetify.d.ts +32672 -39038
  13. package/dist/vuetify.esm.js +16 -8
  14. package/dist/vuetify.esm.js.map +1 -1
  15. package/dist/vuetify.js +16 -8
  16. package/dist/vuetify.js.map +1 -1
  17. package/dist/vuetify.min.css +2 -2
  18. package/dist/vuetify.min.js +22 -22
  19. package/dist/vuetify.min.js.map +1 -1
  20. package/lib/components/VAlert/index.d.mts +50 -73
  21. package/lib/components/VApp/index.d.mts +9 -11
  22. package/lib/components/VAppBar/index.d.mts +92 -128
  23. package/lib/components/VAutocomplete/index.d.mts +4771 -3230
  24. package/lib/components/VAvatar/index.d.mts +23 -22
  25. package/lib/components/VBadge/index.d.mts +53 -59
  26. package/lib/components/VBanner/index.d.mts +44 -66
  27. package/lib/components/VBottomNavigation/index.d.mts +25 -32
  28. package/lib/components/VBottomSheet/index.d.mts +125 -135
  29. package/lib/components/VBreadcrumbs/index.d.mts +35 -78
  30. package/lib/components/VBtn/index.d.mts +49 -53
  31. package/lib/components/VBtnGroup/index.d.mts +14 -13
  32. package/lib/components/VBtnToggle/index.d.mts +21 -23
  33. package/lib/components/VCard/index.d.mts +104 -168
  34. package/lib/components/VCarousel/index.d.mts +59 -96
  35. package/lib/components/VCheckbox/index.d.mts +132 -155
  36. package/lib/components/VChip/index.d.mts +47 -59
  37. package/lib/components/VChipGroup/index.d.mts +39 -41
  38. package/lib/components/VCode/index.d.mts +9 -11
  39. package/lib/components/VColorPicker/index.d.mts +58 -133
  40. package/lib/components/VCombobox/index.d.mts +4785 -3244
  41. package/lib/components/VConfirmEdit/index.d.mts +11 -19
  42. package/lib/components/VCounter/index.d.mts +40 -42
  43. package/lib/components/VDataIterator/index.d.mts +171 -185
  44. package/lib/components/VDataTable/index.d.mts +480 -1204
  45. package/lib/components/VDatePicker/index.d.mts +120 -158
  46. package/lib/components/VDefaultsProvider/index.d.mts +5 -9
  47. package/lib/components/VDialog/index.d.mts +243 -277
  48. package/lib/components/VDivider/index.d.mts +9 -11
  49. package/lib/components/VEmptyState/index.d.mts +30 -52
  50. package/lib/components/VExpansionPanel/index.d.mts +60 -85
  51. package/lib/components/VFab/index.d.mts +81 -73
  52. package/lib/components/VField/index.d.mts +35 -62
  53. package/lib/components/VFileInput/VFileInput.mjs +1 -1
  54. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  55. package/lib/components/VFileInput/index.d.mts +172 -259
  56. package/lib/components/VFooter/index.d.mts +9 -11
  57. package/lib/components/VForm/index.d.mts +105 -77
  58. package/lib/components/VGrid/index.d.mts +41 -52
  59. package/lib/components/VHover/index.d.mts +5 -9
  60. package/lib/components/VIcon/index.d.mts +23 -29
  61. package/lib/components/VImg/index.d.mts +28 -42
  62. package/lib/components/VInfiniteScroll/index.d.mts +17 -37
  63. package/lib/components/VInput/index.d.mts +48 -50
  64. package/lib/components/VItemGroup/index.d.mts +21 -30
  65. package/lib/components/VKbd/index.d.mts +9 -11
  66. package/lib/components/VLabel/index.d.mts +9 -11
  67. package/lib/components/VLayout/index.d.mts +18 -24
  68. package/lib/components/VLazy/index.d.mts +42 -44
  69. package/lib/components/VList/index.d.mts +210 -329
  70. package/lib/components/VLocaleProvider/index.d.mts +9 -11
  71. package/lib/components/VMain/index.d.mts +9 -11
  72. package/lib/components/VMenu/index.d.mts +272 -306
  73. package/lib/components/VMessages/index.d.mts +49 -51
  74. package/lib/components/VNavigationDrawer/index.d.mts +27 -40
  75. package/lib/components/VOtpInput/index.d.mts +22 -28
  76. package/lib/components/VOverlay/VOverlay.mjs +4 -3
  77. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  78. package/lib/components/VOverlay/index.d.mts +53 -63
  79. package/lib/components/VPagination/index.d.mts +31 -46
  80. package/lib/components/VParallax/index.d.mts +15 -29
  81. package/lib/components/VProgressCircular/index.d.mts +9 -11
  82. package/lib/components/VProgressLinear/index.d.mts +22 -24
  83. package/lib/components/VRadio/index.d.mts +49 -52
  84. package/lib/components/VRadioGroup/index.d.mts +66 -66
  85. package/lib/components/VRangeSlider/index.d.mts +58 -69
  86. package/lib/components/VRating/index.d.mts +13 -19
  87. package/lib/components/VResponsive/index.d.mts +11 -17
  88. package/lib/components/VSelect/index.d.mts +4762 -3221
  89. package/lib/components/VSelectionControl/index.d.mts +38 -44
  90. package/lib/components/VSelectionControlGroup/index.d.mts +34 -34
  91. package/lib/components/VSheet/index.d.mts +15 -17
  92. package/lib/components/VSkeletonLoader/index.d.mts +41 -11
  93. package/lib/components/VSlideGroup/index.d.mts +112 -129
  94. package/lib/components/VSlider/index.d.mts +58 -69
  95. package/lib/components/VSnackbar/VSnackbar.mjs +5 -1
  96. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  97. package/lib/components/VSnackbar/index.d.mts +231 -270
  98. package/lib/components/VSparkline/index.d.mts +11 -19
  99. package/lib/components/VSpeedDial/VSpeedDial.mjs +1 -1
  100. package/lib/components/VSpeedDial/VSpeedDial.mjs.map +1 -1
  101. package/lib/components/VSpeedDial/index.d.mts +179 -189
  102. package/lib/components/VStepper/index.d.mts +105 -180
  103. package/lib/components/VSwitch/index.d.mts +78 -98
  104. package/lib/components/VSystemBar/index.d.mts +13 -15
  105. package/lib/components/VTable/index.d.mts +15 -29
  106. package/lib/components/VTabs/index.d.mts +213 -297
  107. package/lib/components/VTextField/index.d.mts +253 -408
  108. package/lib/components/VTextarea/index.d.mts +157 -236
  109. package/lib/components/VThemeProvider/index.d.mts +9 -11
  110. package/lib/components/VTimeline/index.d.mts +29 -43
  111. package/lib/components/VToolbar/index.d.mts +49 -80
  112. package/lib/components/VTooltip/index.d.mts +282 -316
  113. package/lib/components/VValidation/index.d.mts +16 -23
  114. package/lib/components/VVirtualScroll/index.d.mts +14 -23
  115. package/lib/components/VWindow/index.d.mts +29 -50
  116. package/lib/components/index.d.mts +31169 -37524
  117. package/lib/components/transitions/index.d.mts +84 -148
  118. package/lib/composables/location.mjs.map +1 -1
  119. package/lib/directives/click-outside/index.mjs +3 -0
  120. package/lib/directives/click-outside/index.mjs.map +1 -1
  121. package/lib/entry-bundler.mjs +1 -1
  122. package/lib/framework.mjs +1 -1
  123. package/lib/index.d.mts +58 -58
  124. package/lib/labs/VCalendar/index.d.mts +146 -166
  125. package/lib/labs/VDateInput/index.d.mts +83 -62
  126. package/lib/labs/VNumberInput/index.d.mts +61 -88
  127. package/lib/labs/VPicker/index.d.mts +28 -46
  128. package/lib/labs/VPullToRefresh/index.d.mts +7 -15
  129. package/lib/labs/VSnackbarQueue/index.d.mts +311 -369
  130. package/lib/labs/VStepperVertical/index.d.mts +109 -184
  131. package/lib/labs/VTimePicker/index.d.mts +35 -53
  132. package/lib/labs/VTreeview/index.d.mts +200 -277
  133. package/lib/labs/components.d.mts +905 -1231
  134. package/lib/util/propsFactory.mjs.map +1 -1
  135. package/package.json +3 -3
@@ -1,5 +1,7 @@
1
1
  import * as vue from 'vue';
2
- import { ComponentPropsOptions, ExtractPropTypes, VNodeChild, VNode, JSXComponent, PropType, ComputedRef, Ref } from 'vue';
2
+ import { ComponentPropsOptions, ExtractPropTypes, VNodeChild, VNode, PropType, JSXComponent, ComputedRef, Ref, DirectiveBinding } from 'vue';
3
+
4
+ type ClassValue = any;
3
5
 
4
6
  type SlotsToProps<U extends RawSlots, T = MakeInternalSlots<U>> = {
5
7
  $children?: (VNodeChild | (T extends {
@@ -31,11 +33,29 @@ interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions
31
33
  }
32
34
 
33
35
  declare function deepEqual(a: any, b: any): boolean;
36
+ type EventProp<T extends any[] = any[], F = (...args: T) => void> = F;
37
+ declare const EventProp: <T extends any[] = any[]>() => PropType<EventProp<T>>;
34
38
 
35
39
  type Density = null | 'default' | 'comfortable' | 'compact';
36
40
 
37
41
  type ValidationResult = string | boolean;
38
42
  type ValidationRule = ValidationResult | PromiseLike<ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike<ValidationResult>);
43
+ type ValidateOnValue = 'blur' | 'input' | 'submit';
44
+ interface ValidationProps {
45
+ disabled: boolean | null;
46
+ error: boolean;
47
+ errorMessages: string | readonly string[] | null;
48
+ focused: boolean;
49
+ maxErrors: string | number;
50
+ name: string | undefined;
51
+ label: string | undefined;
52
+ readonly: boolean | null;
53
+ rules: readonly ValidationRule[];
54
+ modelValue: any;
55
+ 'onUpdate:modelValue': EventProp | undefined;
56
+ validateOn?: ValidateOnValue | `${ValidateOnValue} lazy` | `lazy ${ValidateOnValue}` | 'lazy';
57
+ validationValue: any;
58
+ }
39
59
 
40
60
  type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
41
61
  declare const IconValue: PropType<IconValue>;
@@ -65,6 +85,17 @@ type VInputSlots = {
65
85
  message: VMessageSlot;
66
86
  };
67
87
 
88
+ interface RippleDirectiveBinding extends Omit<DirectiveBinding, 'modifiers' | 'value'> {
89
+ value?: boolean | {
90
+ class: string;
91
+ };
92
+ modifiers: {
93
+ center?: boolean;
94
+ circle?: boolean;
95
+ stop?: boolean;
96
+ };
97
+ }
98
+
68
99
  type VRadioGroupSlots = Omit<VInputSlots, 'default'> & {
69
100
  default: never;
70
101
  label: {
@@ -98,9 +129,9 @@ declare const VRadioGroup: {
98
129
  hideSpinButtons: boolean;
99
130
  persistentHint: boolean;
100
131
  } & {
132
+ name?: string | undefined;
101
133
  id?: string | undefined;
102
134
  width?: string | number | undefined;
103
- name?: string | undefined;
104
135
  color?: string | undefined;
105
136
  maxWidth?: string | number | undefined;
106
137
  minWidth?: string | number | undefined;
@@ -118,8 +149,8 @@ declare const VRadioGroup: {
118
149
  hint?: string | undefined;
119
150
  hideDetails?: boolean | "auto" | undefined;
120
151
  } & {}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
121
- 'update:modelValue': (value: any) => boolean;
122
- }, "$children" | "v-slot:default" | "v-slots" | "modelValue" | "v-slot:append" | "v-slot:prepend" | "update:modelValue" | "v-slot:label" | "v-slot:message" | "v-slot:details">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
152
+ 'update:modelValue': (value: any) => true;
153
+ }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "v-slot:prepend" | "v-slot:append" | "update:modelValue" | "v-slot:label" | "v-slot:message" | "v-slot:details">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
123
154
  type: string;
124
155
  inline: boolean;
125
156
  error: boolean;
@@ -144,9 +175,9 @@ declare const VRadioGroup: {
144
175
  hideSpinButtons: boolean;
145
176
  persistentHint: boolean;
146
177
  } & {
178
+ name?: string | undefined;
147
179
  id?: string | undefined;
148
180
  width?: string | number | undefined;
149
- name?: string | undefined;
150
181
  color?: string | undefined;
151
182
  maxWidth?: string | number | undefined;
152
183
  minWidth?: string | number | undefined;
@@ -188,27 +219,15 @@ declare const VRadioGroup: {
188
219
  hideSpinButtons: boolean;
189
220
  persistentHint: boolean;
190
221
  }, true, {}, vue.SlotsType<Partial<{
191
- message: (arg: VMessageSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
192
- [key: string]: any;
193
- }>[];
194
- details: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
195
- [key: string]: any;
196
- }>[];
197
- append: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
198
- [key: string]: any;
199
- }>[];
200
- prepend: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
201
- [key: string]: any;
202
- }>[];
203
- default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
204
- [key: string]: any;
205
- }>[];
222
+ message: (arg: VMessageSlot) => vue.VNode[];
223
+ details: (arg: VInputSlot) => vue.VNode[];
224
+ append: (arg: VInputSlot) => vue.VNode[];
225
+ prepend: (arg: VInputSlot) => vue.VNode[];
226
+ default: () => vue.VNode[];
206
227
  label: (arg: {
207
228
  label: string | undefined;
208
229
  props: Record<string, any>;
209
- }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
210
- [key: string]: any;
211
- }>[];
230
+ }) => vue.VNode[];
212
231
  }>>, {
213
232
  P: {};
214
233
  B: {};
@@ -241,9 +260,9 @@ declare const VRadioGroup: {
241
260
  hideSpinButtons: boolean;
242
261
  persistentHint: boolean;
243
262
  } & {
263
+ name?: string | undefined;
244
264
  id?: string | undefined;
245
265
  width?: string | number | undefined;
246
- name?: string | undefined;
247
266
  color?: string | undefined;
248
267
  maxWidth?: string | number | undefined;
249
268
  minWidth?: string | number | undefined;
@@ -285,9 +304,9 @@ declare const VRadioGroup: {
285
304
  hideSpinButtons: boolean;
286
305
  persistentHint: boolean;
287
306
  }>;
288
- __isFragment?: undefined;
289
- __isTeleport?: undefined;
290
- __isSuspense?: undefined;
307
+ __isFragment?: never;
308
+ __isTeleport?: never;
309
+ __isSuspense?: never;
291
310
  } & vue.ComponentOptionsBase<{
292
311
  type: string;
293
312
  inline: boolean;
@@ -313,9 +332,9 @@ declare const VRadioGroup: {
313
332
  hideSpinButtons: boolean;
314
333
  persistentHint: boolean;
315
334
  } & {
335
+ name?: string | undefined;
316
336
  id?: string | undefined;
317
337
  width?: string | number | undefined;
318
- name?: string | undefined;
319
338
  color?: string | undefined;
320
339
  maxWidth?: string | number | undefined;
321
340
  minWidth?: string | number | undefined;
@@ -333,8 +352,8 @@ declare const VRadioGroup: {
333
352
  hint?: string | undefined;
334
353
  hideDetails?: boolean | "auto" | undefined;
335
354
  } & {}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
336
- 'update:modelValue': (value: any) => boolean;
337
- }, "$children" | "v-slot:default" | "v-slots" | "modelValue" | "v-slot:append" | "v-slot:prepend" | "update:modelValue" | "v-slot:label" | "v-slot:message" | "v-slot:details">, string, {
355
+ 'update:modelValue': (value: any) => true;
356
+ }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "v-slot:prepend" | "v-slot:append" | "update:modelValue" | "v-slot:label" | "v-slot:message" | "v-slot:details">, string, {
338
357
  type: string;
339
358
  inline: boolean;
340
359
  error: boolean;
@@ -359,34 +378,19 @@ declare const VRadioGroup: {
359
378
  hideSpinButtons: boolean;
360
379
  persistentHint: boolean;
361
380
  }, {}, string, vue.SlotsType<Partial<{
362
- message: (arg: VMessageSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
363
- [key: string]: any;
364
- }>[];
365
- details: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
366
- [key: string]: any;
367
- }>[];
368
- append: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
369
- [key: string]: any;
370
- }>[];
371
- prepend: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
372
- [key: string]: any;
373
- }>[];
374
- default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
375
- [key: string]: any;
376
- }>[];
381
+ message: (arg: VMessageSlot) => vue.VNode[];
382
+ details: (arg: VInputSlot) => vue.VNode[];
383
+ append: (arg: VInputSlot) => vue.VNode[];
384
+ prepend: (arg: VInputSlot) => vue.VNode[];
385
+ default: () => vue.VNode[];
377
386
  label: (arg: {
378
387
  label: string | undefined;
379
388
  props: Record<string, any>;
380
- }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
381
- [key: string]: any;
382
- }>[];
389
+ }) => vue.VNode[];
383
390
  }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new <T>(props: {
384
- modelValue?: T | null | undefined;
385
- 'onUpdate:modelValue'?: ((value: T | null) => void) | undefined;
386
- }, slots: VRadioGroupSlots) => GenericProps<{
387
- modelValue?: T | null | undefined;
388
- 'onUpdate:modelValue'?: ((value: T | null) => void) | undefined;
389
- }, VRadioGroupSlots>) & FilterPropsOptions<{
391
+ modelValue?: T | null;
392
+ "onUpdate:modelValue"?: (value: T | null) => void;
393
+ }, slots: VRadioGroupSlots) => GenericProps<typeof props, typeof slots>) & FilterPropsOptions<{
390
394
  trueIcon: {
391
395
  type: vue.PropType<IconValue>;
392
396
  default: string;
@@ -399,10 +403,10 @@ declare const VRadioGroup: {
399
403
  type: StringConstructor;
400
404
  default: string;
401
405
  };
406
+ name: StringConstructor;
402
407
  inline: BooleanConstructor;
403
408
  error: BooleanConstructor;
404
409
  id: StringConstructor;
405
- name: StringConstructor;
406
410
  color: StringConstructor;
407
411
  style: {
408
412
  type: vue.PropType<vue.StyleValue>;
@@ -416,7 +420,7 @@ declare const VRadioGroup: {
416
420
  type: vue.PropType<boolean | null>;
417
421
  default: null;
418
422
  };
419
- class: vue.PropType<any>;
423
+ class: vue.PropType<ClassValue>;
420
424
  theme: StringConstructor;
421
425
  modelValue: null;
422
426
  density: {
@@ -425,9 +429,7 @@ declare const VRadioGroup: {
425
429
  validator: (v: any) => boolean;
426
430
  };
427
431
  ripple: {
428
- type: vue.PropType<boolean | {
429
- class: string;
430
- } | undefined>;
432
+ type: vue.PropType<RippleDirectiveBinding["value"]>;
431
433
  default: boolean;
432
434
  };
433
435
  defaultsTarget: StringConstructor;
@@ -450,7 +452,7 @@ declare const VRadioGroup: {
450
452
  type: vue.PropType<readonly ValidationRule[]>;
451
453
  default: () => never[];
452
454
  };
453
- validateOn: vue.PropType<"lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined>;
455
+ validateOn: vue.PropType<ValidationProps["validateOn"]>;
454
456
  validationValue: null;
455
457
  width: (StringConstructor | NumberConstructor)[];
456
458
  maxWidth: (StringConstructor | NumberConstructor)[];
@@ -493,10 +495,10 @@ declare const VRadioGroup: {
493
495
  type: StringConstructor;
494
496
  default: string;
495
497
  };
498
+ name: StringConstructor;
496
499
  inline: BooleanConstructor;
497
500
  error: BooleanConstructor;
498
501
  id: StringConstructor;
499
- name: StringConstructor;
500
502
  color: StringConstructor;
501
503
  style: {
502
504
  type: vue.PropType<vue.StyleValue>;
@@ -510,7 +512,7 @@ declare const VRadioGroup: {
510
512
  type: vue.PropType<boolean | null>;
511
513
  default: null;
512
514
  };
513
- class: vue.PropType<any>;
515
+ class: vue.PropType<ClassValue>;
514
516
  theme: StringConstructor;
515
517
  modelValue: null;
516
518
  density: {
@@ -519,9 +521,7 @@ declare const VRadioGroup: {
519
521
  validator: (v: any) => boolean;
520
522
  };
521
523
  ripple: {
522
- type: vue.PropType<boolean | {
523
- class: string;
524
- } | undefined>;
524
+ type: vue.PropType<RippleDirectiveBinding["value"]>;
525
525
  default: boolean;
526
526
  };
527
527
  defaultsTarget: StringConstructor;
@@ -544,7 +544,7 @@ declare const VRadioGroup: {
544
544
  type: vue.PropType<readonly ValidationRule[]>;
545
545
  default: () => never[];
546
546
  };
547
- validateOn: vue.PropType<"lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined>;
547
+ validateOn: vue.PropType<ValidationProps["validateOn"]>;
548
548
  validationValue: null;
549
549
  width: (StringConstructor | NumberConstructor)[];
550
550
  maxWidth: (StringConstructor | NumberConstructor)[];
@@ -1,10 +1,15 @@
1
1
  import * as vue from 'vue';
2
- import { ComponentPropsOptions, ExtractPropTypes, JSXComponent, PropType, ComputedRef, Ref } from 'vue';
2
+ import { ComponentPropsOptions, ExtractPropTypes, PropType, JSXComponent, 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>>;
6
6
  }
7
7
 
8
+ type ClassValue = any;
9
+
10
+ type EventProp<T extends any[] = any[], F = (...args: T) => void> = F;
11
+ declare const EventProp: <T extends any[] = any[]>() => PropType<EventProp<T>>;
12
+
8
13
  type Tick = {
9
14
  value: number;
10
15
  position: number;
@@ -19,6 +24,22 @@ type Density = null | 'default' | 'comfortable' | 'compact';
19
24
 
20
25
  type ValidationResult = string | boolean;
21
26
  type ValidationRule = ValidationResult | PromiseLike<ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike<ValidationResult>);
27
+ type ValidateOnValue = 'blur' | 'input' | 'submit';
28
+ interface ValidationProps {
29
+ disabled: boolean | null;
30
+ error: boolean;
31
+ errorMessages: string | readonly string[] | null;
32
+ focused: boolean;
33
+ maxErrors: string | number;
34
+ name: string | undefined;
35
+ label: string | undefined;
36
+ readonly: boolean | null;
37
+ rules: readonly ValidationRule[];
38
+ modelValue: any;
39
+ 'onUpdate:modelValue': EventProp | undefined;
40
+ validateOn?: ValidateOnValue | `${ValidateOnValue} lazy` | `lazy ${ValidateOnValue}` | 'lazy';
41
+ validationValue: any;
42
+ }
22
43
 
23
44
  type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
24
45
  declare const IconValue: PropType<IconValue>;
@@ -49,7 +70,7 @@ declare const VRangeSlider: {
49
70
  disabled: boolean | null;
50
71
  readonly: boolean | null;
51
72
  step: string | number;
52
- elevation: NonNullable<string | number>;
73
+ elevation: string | number;
53
74
  messages: string | readonly string[];
54
75
  focused: boolean;
55
76
  errorMessages: string | readonly string[] | null;
@@ -67,9 +88,9 @@ declare const VRangeSlider: {
67
88
  trackSize: string | number;
68
89
  thumbSize: string | number;
69
90
  } & {
91
+ name?: string | undefined;
70
92
  id?: string | undefined;
71
93
  width?: string | number | undefined;
72
- name?: string | undefined;
73
94
  color?: string | undefined;
74
95
  maxWidth?: string | number | undefined;
75
96
  minWidth?: string | number | undefined;
@@ -157,7 +178,7 @@ declare const VRangeSlider: {
157
178
  disabled: boolean | null;
158
179
  readonly: boolean | null;
159
180
  step: string | number;
160
- elevation: NonNullable<string | number>;
181
+ elevation: string | number;
161
182
  messages: string | readonly string[];
162
183
  focused: boolean;
163
184
  errorMessages: string | readonly string[] | null;
@@ -175,9 +196,9 @@ declare const VRangeSlider: {
175
196
  trackSize: string | number;
176
197
  thumbSize: string | number;
177
198
  } & {
199
+ name?: string | undefined;
178
200
  id?: string | undefined;
179
201
  width?: string | number | undefined;
180
- name?: string | undefined;
181
202
  color?: string | undefined;
182
203
  maxWidth?: string | number | undefined;
183
204
  minWidth?: string | number | undefined;
@@ -260,7 +281,7 @@ declare const VRangeSlider: {
260
281
  disabled: boolean | null;
261
282
  readonly: boolean | null;
262
283
  step: string | number;
263
- elevation: NonNullable<string | number>;
284
+ elevation: string | number;
264
285
  messages: string | readonly string[];
265
286
  focused: boolean;
266
287
  errorMessages: string | readonly string[] | null;
@@ -280,35 +301,19 @@ declare const VRangeSlider: {
280
301
  thumbLabel: boolean | "always" | undefined;
281
302
  thumbSize: string | number;
282
303
  }, true, {}, vue.SlotsType<Partial<{
283
- default: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
284
- [key: string]: any;
285
- }>[];
286
- prepend: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
287
- [key: string]: any;
288
- }>[];
289
- append: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
290
- [key: string]: any;
291
- }>[];
292
- details: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
293
- [key: string]: any;
294
- }>[];
295
- message: (arg: VMessageSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
296
- [key: string]: any;
297
- }>[];
304
+ default: (arg: VInputSlot) => vue.VNode[];
305
+ prepend: (arg: VInputSlot) => vue.VNode[];
306
+ append: (arg: VInputSlot) => vue.VNode[];
307
+ details: (arg: VInputSlot) => vue.VNode[];
308
+ message: (arg: VMessageSlot) => vue.VNode[];
298
309
  'thumb-label': (arg: {
299
310
  modelValue: number;
300
- }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
301
- [key: string]: any;
302
- }>[];
311
+ }) => vue.VNode[];
303
312
  'tick-label': (arg: {
304
313
  tick: Tick;
305
314
  index: number;
306
- }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
307
- [key: string]: any;
308
- }>[];
309
- label: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
310
- [key: string]: any;
311
- }>[];
315
+ }) => vue.VNode[];
316
+ label: (arg: VInputSlot) => vue.VNode[];
312
317
  }>>, {
313
318
  P: {};
314
319
  B: {};
@@ -327,7 +332,7 @@ declare const VRangeSlider: {
327
332
  disabled: boolean | null;
328
333
  readonly: boolean | null;
329
334
  step: string | number;
330
- elevation: NonNullable<string | number>;
335
+ elevation: string | number;
331
336
  messages: string | readonly string[];
332
337
  focused: boolean;
333
338
  errorMessages: string | readonly string[] | null;
@@ -345,9 +350,9 @@ declare const VRangeSlider: {
345
350
  trackSize: string | number;
346
351
  thumbSize: string | number;
347
352
  } & {
353
+ name?: string | undefined;
348
354
  id?: string | undefined;
349
355
  width?: string | number | undefined;
350
- name?: string | undefined;
351
356
  color?: string | undefined;
352
357
  maxWidth?: string | number | undefined;
353
358
  minWidth?: string | number | undefined;
@@ -430,7 +435,7 @@ declare const VRangeSlider: {
430
435
  disabled: boolean | null;
431
436
  readonly: boolean | null;
432
437
  step: string | number;
433
- elevation: NonNullable<string | number>;
438
+ elevation: string | number;
434
439
  messages: string | readonly string[];
435
440
  focused: boolean;
436
441
  errorMessages: string | readonly string[] | null;
@@ -450,9 +455,9 @@ declare const VRangeSlider: {
450
455
  thumbLabel: boolean | "always" | undefined;
451
456
  thumbSize: string | number;
452
457
  }>;
453
- __isFragment?: undefined;
454
- __isTeleport?: undefined;
455
- __isSuspense?: undefined;
458
+ __isFragment?: never;
459
+ __isTeleport?: never;
460
+ __isSuspense?: never;
456
461
  } & vue.ComponentOptionsBase<{
457
462
  reverse: boolean;
458
463
  max: string | number;
@@ -464,7 +469,7 @@ declare const VRangeSlider: {
464
469
  disabled: boolean | null;
465
470
  readonly: boolean | null;
466
471
  step: string | number;
467
- elevation: NonNullable<string | number>;
472
+ elevation: string | number;
468
473
  messages: string | readonly string[];
469
474
  focused: boolean;
470
475
  errorMessages: string | readonly string[] | null;
@@ -482,9 +487,9 @@ declare const VRangeSlider: {
482
487
  trackSize: string | number;
483
488
  thumbSize: string | number;
484
489
  } & {
490
+ name?: string | undefined;
485
491
  id?: string | undefined;
486
492
  width?: string | number | undefined;
487
- name?: string | undefined;
488
493
  color?: string | undefined;
489
494
  maxWidth?: string | number | undefined;
490
495
  minWidth?: string | number | undefined;
@@ -572,7 +577,7 @@ declare const VRangeSlider: {
572
577
  disabled: boolean | null;
573
578
  readonly: boolean | null;
574
579
  step: string | number;
575
- elevation: NonNullable<string | number>;
580
+ elevation: string | number;
576
581
  messages: string | readonly string[];
577
582
  focused: boolean;
578
583
  errorMessages: string | readonly string[] | null;
@@ -592,35 +597,19 @@ declare const VRangeSlider: {
592
597
  thumbLabel: boolean | "always" | undefined;
593
598
  thumbSize: string | number;
594
599
  }, {}, string, vue.SlotsType<Partial<{
595
- default: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
596
- [key: string]: any;
597
- }>[];
598
- prepend: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
599
- [key: string]: any;
600
- }>[];
601
- append: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
602
- [key: string]: any;
603
- }>[];
604
- details: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
605
- [key: string]: any;
606
- }>[];
607
- message: (arg: VMessageSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
608
- [key: string]: any;
609
- }>[];
600
+ default: (arg: VInputSlot) => vue.VNode[];
601
+ prepend: (arg: VInputSlot) => vue.VNode[];
602
+ append: (arg: VInputSlot) => vue.VNode[];
603
+ details: (arg: VInputSlot) => vue.VNode[];
604
+ message: (arg: VMessageSlot) => vue.VNode[];
610
605
  'thumb-label': (arg: {
611
606
  modelValue: number;
612
- }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
613
- [key: string]: any;
614
- }>[];
607
+ }) => vue.VNode[];
615
608
  'tick-label': (arg: {
616
609
  tick: Tick;
617
610
  index: number;
618
- }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
619
- [key: string]: any;
620
- }>[];
621
- label: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
622
- [key: string]: any;
623
- }>[];
611
+ }) => vue.VNode[];
612
+ label: (arg: VInputSlot) => vue.VNode[];
624
613
  }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
625
614
  strict: BooleanConstructor;
626
615
  modelValue: {
@@ -635,7 +624,7 @@ declare const VRangeSlider: {
635
624
  type: (StringConstructor | NumberConstructor)[];
636
625
  validator(v: any): boolean;
637
626
  }, "type" | "default"> & {
638
- type: PropType<NonNullable<string | number>>;
627
+ type: PropType<string | number>;
639
628
  default: NonNullable<string | number>;
640
629
  };
641
630
  rounded: {
@@ -715,7 +704,7 @@ declare const VRangeSlider: {
715
704
  type: PropType<readonly ValidationRule[]>;
716
705
  default: () => never[];
717
706
  };
718
- validateOn: PropType<"lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined>;
707
+ validateOn: PropType<ValidationProps["validateOn"]>;
719
708
  validationValue: null;
720
709
  theme: StringConstructor;
721
710
  width: (StringConstructor | NumberConstructor)[];
@@ -726,7 +715,7 @@ declare const VRangeSlider: {
726
715
  default: string;
727
716
  validator: (v: any) => boolean;
728
717
  };
729
- class: PropType<any>;
718
+ class: PropType<ClassValue>;
730
719
  style: {
731
720
  type: PropType<vue.StyleValue>;
732
721
  default: null;
@@ -762,7 +751,7 @@ declare const VRangeSlider: {
762
751
  type: (StringConstructor | NumberConstructor)[];
763
752
  validator(v: any): boolean;
764
753
  }, "type" | "default"> & {
765
- type: PropType<NonNullable<string | number>>;
754
+ type: PropType<string | number>;
766
755
  default: NonNullable<string | number>;
767
756
  };
768
757
  rounded: {
@@ -842,7 +831,7 @@ declare const VRangeSlider: {
842
831
  type: PropType<readonly ValidationRule[]>;
843
832
  default: () => never[];
844
833
  };
845
- validateOn: PropType<"lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined>;
834
+ validateOn: PropType<ValidationProps["validateOn"]>;
846
835
  validationValue: null;
847
836
  theme: StringConstructor;
848
837
  width: (StringConstructor | NumberConstructor)[];
@@ -853,7 +842,7 @@ declare const VRangeSlider: {
853
842
  default: string;
854
843
  validator: (v: any) => boolean;
855
844
  };
856
- class: PropType<any>;
845
+ class: PropType<ClassValue>;
857
846
  style: {
858
847
  type: PropType<vue.StyleValue>;
859
848
  default: null;
@@ -5,6 +5,8 @@ interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions
5
5
  filterProps<T extends Partial<Props>, U extends Exclude<keyof Props, Exclude<keyof Props, keyof T>>>(props: T): Partial<Pick<T, U>>;
6
6
  }
7
7
 
8
+ type ClassValue = any;
9
+
8
10
  type Density = null | 'default' | 'comfortable' | 'compact';
9
11
 
10
12
  type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
@@ -65,7 +67,7 @@ declare const VRating: {
65
67
  } & {
66
68
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
67
69
  }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
68
- 'update:modelValue': (value: number | string) => boolean;
70
+ 'update:modelValue': (value: number | string) => true;
69
71
  }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
70
72
  length: string | number;
71
73
  style: vue.StyleValue;
@@ -122,12 +124,8 @@ declare const VRating: {
122
124
  halfIncrements: boolean;
123
125
  itemLabelPosition: string;
124
126
  }, true, {}, vue.SlotsType<Partial<{
125
- item: (arg: VRatingItemSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
126
- [key: string]: any;
127
- }>[];
128
- 'item-label': (arg: VRatingItemLabelSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
129
- [key: string]: any;
130
- }>[];
127
+ item: (arg: VRatingItemSlot) => vue.VNode[];
128
+ 'item-label': (arg: VRatingItemLabelSlot) => vue.VNode[];
131
129
  }>>, {
132
130
  P: {};
133
131
  B: {};
@@ -191,9 +189,9 @@ declare const VRating: {
191
189
  halfIncrements: boolean;
192
190
  itemLabelPosition: string;
193
191
  }>;
194
- __isFragment?: undefined;
195
- __isTeleport?: undefined;
196
- __isSuspense?: undefined;
192
+ __isFragment?: never;
193
+ __isTeleport?: never;
194
+ __isSuspense?: never;
197
195
  } & vue.ComponentOptionsBase<{
198
196
  length: string | number;
199
197
  style: vue.StyleValue;
@@ -233,7 +231,7 @@ declare const VRating: {
233
231
  } & {
234
232
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
235
233
  }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
236
- 'update:modelValue': (value: number | string) => boolean;
234
+ 'update:modelValue': (value: number | string) => true;
237
235
  }, string, {
238
236
  length: string | number;
239
237
  style: vue.StyleValue;
@@ -252,12 +250,8 @@ declare const VRating: {
252
250
  halfIncrements: boolean;
253
251
  itemLabelPosition: string;
254
252
  }, {}, string, vue.SlotsType<Partial<{
255
- item: (arg: VRatingItemSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
256
- [key: string]: any;
257
- }>[];
258
- 'item-label': (arg: VRatingItemLabelSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
259
- [key: string]: any;
260
- }>[];
253
+ item: (arg: VRatingItemSlot) => vue.VNode[];
254
+ 'item-label': (arg: VRatingItemLabelSlot) => vue.VNode[];
261
255
  }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
262
256
  theme: StringConstructor;
263
257
  tag: {
@@ -273,7 +267,7 @@ declare const VRating: {
273
267
  default: string;
274
268
  validator: (v: any) => boolean;
275
269
  };
276
- class: vue.PropType<any>;
270
+ class: vue.PropType<ClassValue>;
277
271
  style: {
278
272
  type: vue.PropType<vue.StyleValue>;
279
273
  default: null;
@@ -328,7 +322,7 @@ declare const VRating: {
328
322
  default: string;
329
323
  validator: (v: any) => boolean;
330
324
  };
331
- class: vue.PropType<any>;
325
+ class: vue.PropType<ClassValue>;
332
326
  style: {
333
327
  type: vue.PropType<vue.StyleValue>;
334
328
  default: null;