vuetify 3.7.0 → 3.7.2

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 (191) hide show
  1. package/dist/json/attributes.json +172 -172
  2. package/dist/json/importMap-labs.json +8 -8
  3. package/dist/json/importMap.json +160 -160
  4. package/dist/json/web-types.json +230 -219
  5. package/dist/vuetify-labs.css +1941 -1926
  6. package/dist/vuetify-labs.d.ts +4266 -2397
  7. package/dist/vuetify-labs.esm.js +107 -111
  8. package/dist/vuetify-labs.esm.js.map +1 -1
  9. package/dist/vuetify-labs.js +107 -111
  10. package/dist/vuetify-labs.min.css +2 -2
  11. package/dist/vuetify.css +1521 -1506
  12. package/dist/vuetify.d.ts +1282 -901
  13. package/dist/vuetify.esm.js +79 -54
  14. package/dist/vuetify.esm.js.map +1 -1
  15. package/dist/vuetify.js +79 -54
  16. package/dist/vuetify.js.map +1 -1
  17. package/dist/vuetify.min.css +2 -2
  18. package/dist/vuetify.min.js +1087 -1086
  19. package/dist/vuetify.min.js.map +1 -1
  20. package/lib/blueprints/index.d.mts +4 -1
  21. package/lib/blueprints/md1.d.mts +4 -1
  22. package/lib/blueprints/md2.d.mts +4 -1
  23. package/lib/blueprints/md3.d.mts +4 -1
  24. package/lib/components/VAlert/index.d.mts +14 -11
  25. package/lib/components/VAppBar/index.d.mts +22 -19
  26. package/lib/components/VAutocomplete/index.d.mts +158 -110
  27. package/lib/components/VAvatar/VAvatar.css +1 -1
  28. package/lib/components/VAvatar/_variables.scss +1 -1
  29. package/lib/components/VAvatar/index.d.mts +8 -5
  30. package/lib/components/VBadge/index.d.mts +8 -5
  31. package/lib/components/VBanner/index.d.mts +18 -15
  32. package/lib/components/VBottomNavigation/index.d.mts +4 -4
  33. package/lib/components/VBottomSheet/index.d.mts +11 -11
  34. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +3 -5
  35. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
  36. package/lib/components/VBreadcrumbs/index.d.mts +8 -5
  37. package/lib/components/VBtn/VBtn.mjs +3 -4
  38. package/lib/components/VBtn/VBtn.mjs.map +1 -1
  39. package/lib/components/VBtn/index.d.mts +18 -15
  40. package/lib/components/VBtnGroup/index.d.mts +4 -4
  41. package/lib/components/VBtnToggle/index.d.mts +4 -4
  42. package/lib/components/VCard/VCard.mjs +3 -4
  43. package/lib/components/VCard/VCard.mjs.map +1 -1
  44. package/lib/components/VCard/index.d.mts +18 -15
  45. package/lib/components/VCarousel/index.d.mts +17 -14
  46. package/lib/components/VCheckbox/index.d.mts +8 -5
  47. package/lib/components/VChip/VChip.mjs +2 -3
  48. package/lib/components/VChip/VChip.mjs.map +1 -1
  49. package/lib/components/VChip/index.d.mts +12 -9
  50. package/lib/components/VChipGroup/index.d.mts +8 -5
  51. package/lib/components/VColorPicker/index.d.mts +22 -22
  52. package/lib/components/VCombobox/index.d.mts +158 -110
  53. package/lib/components/VDataTable/index.d.mts +18 -15
  54. package/lib/components/VDatePicker/index.d.mts +16 -13
  55. package/lib/components/VDialog/VDialog.css +4 -1
  56. package/lib/components/VDialog/VDialog.mjs +3 -2
  57. package/lib/components/VDialog/VDialog.mjs.map +1 -1
  58. package/lib/components/VDialog/VDialog.sass +2 -1
  59. package/lib/components/VDialog/index.d.mts +89 -50
  60. package/lib/components/VEmptyState/index.d.mts +12 -9
  61. package/lib/components/VExpansionPanel/index.d.mts +8 -5
  62. package/lib/components/VFab/index.d.mts +22 -19
  63. package/lib/components/VField/index.d.mts +4 -1
  64. package/lib/components/VFileInput/index.d.mts +34 -7
  65. package/lib/components/VFooter/index.d.mts +4 -4
  66. package/lib/components/VForm/index.d.mts +96 -3
  67. package/lib/components/VIcon/index.d.mts +8 -5
  68. package/lib/components/VInfiniteScroll/VInfiniteScroll.css +13 -1
  69. package/lib/components/VInfiniteScroll/VInfiniteScroll.mjs +6 -8
  70. package/lib/components/VInfiniteScroll/VInfiniteScroll.mjs.map +1 -1
  71. package/lib/components/VInfiniteScroll/VInfiniteScroll.sass +10 -1
  72. package/lib/components/VInput/index.d.mts +6 -3
  73. package/lib/components/VItemGroup/index.d.mts +4 -4
  74. package/lib/components/VLabel/index.d.mts +4 -4
  75. package/lib/components/VList/VList.mjs +4 -2
  76. package/lib/components/VList/VList.mjs.map +1 -1
  77. package/lib/components/VList/VListItem.mjs +8 -6
  78. package/lib/components/VList/VListItem.mjs.map +1 -1
  79. package/lib/components/VList/index.d.mts +84 -24
  80. package/lib/components/VMenu/index.d.mts +92 -50
  81. package/lib/components/VMessages/index.d.mts +8 -8
  82. package/lib/components/VNavigationDrawer/index.d.mts +18 -18
  83. package/lib/components/VOtpInput/index.d.mts +4 -4
  84. package/lib/components/VOverlay/index.d.mts +11 -11
  85. package/lib/components/VPagination/index.d.mts +8 -5
  86. package/lib/components/VProgressCircular/index.d.mts +4 -4
  87. package/lib/components/VRadio/index.d.mts +4 -1
  88. package/lib/components/VRadioGroup/index.d.mts +6 -3
  89. package/lib/components/VRangeSlider/index.d.mts +12 -9
  90. package/lib/components/VRating/index.d.mts +4 -1
  91. package/lib/components/VSelect/index.d.mts +158 -110
  92. package/lib/components/VSelectionControl/index.d.mts +4 -1
  93. package/lib/components/VSelectionControlGroup/index.d.mts +4 -1
  94. package/lib/components/VSheet/index.d.mts +10 -10
  95. package/lib/components/VSkeletonLoader/index.d.mts +4 -4
  96. package/lib/components/VSlideGroup/index.d.mts +4 -1
  97. package/lib/components/VSlider/index.d.mts +12 -9
  98. package/lib/components/VSnackbar/index.d.mts +95 -62
  99. package/lib/components/VSpeedDial/index.d.mts +11 -11
  100. package/lib/components/VStepper/index.d.mts +12 -12
  101. package/lib/components/VSwitch/index.d.mts +6 -3
  102. package/lib/components/VSystemBar/index.d.mts +4 -4
  103. package/lib/components/VTabs/index.d.mts +69 -54
  104. package/lib/components/VTextField/index.d.mts +47 -14
  105. package/lib/components/VTextarea/index.d.mts +38 -11
  106. package/lib/components/VTimeline/index.d.mts +8 -5
  107. package/lib/components/VToolbar/index.d.mts +4 -4
  108. package/lib/components/VTooltip/index.d.mts +78 -45
  109. package/lib/components/VWindow/index.d.mts +10 -7
  110. package/lib/components/index.d.mts +1204 -814
  111. package/lib/components/index.mjs +1 -1
  112. package/lib/components/index.mjs.map +1 -1
  113. package/lib/composables/directiveComponent.mjs +1 -1
  114. package/lib/composables/directiveComponent.mjs.map +1 -1
  115. package/lib/composables/forwardRefs.mjs +2 -0
  116. package/lib/composables/forwardRefs.mjs.map +1 -1
  117. package/lib/composables/icons.mjs.map +1 -1
  118. package/lib/composables/index.mjs.map +1 -1
  119. package/lib/composables/nested/nested.mjs +18 -6
  120. package/lib/composables/nested/nested.mjs.map +1 -1
  121. package/lib/composables/nested/openStrategies.mjs +2 -4
  122. package/lib/composables/nested/openStrategies.mjs.map +1 -1
  123. package/lib/composables/router.mjs +19 -9
  124. package/lib/composables/router.mjs.map +1 -1
  125. package/lib/directives/tooltip/index.mjs +1 -1
  126. package/lib/directives/tooltip/index.mjs.map +1 -1
  127. package/lib/entry-bundler.mjs +1 -1
  128. package/lib/framework.mjs +1 -1
  129. package/lib/iconsets/fa-svg.d.mts +4 -1
  130. package/lib/iconsets/fa.d.mts +4 -1
  131. package/lib/iconsets/fa4.d.mts +4 -1
  132. package/lib/iconsets/md.d.mts +4 -1
  133. package/lib/iconsets/mdi-svg.d.mts +4 -1
  134. package/lib/iconsets/mdi.d.mts +4 -1
  135. package/lib/index.d.mts +82 -88
  136. package/lib/labs/VDateInput/index.d.mts +16 -13
  137. package/lib/labs/VNumberInput/VNumberInput.mjs +7 -1
  138. package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
  139. package/lib/labs/VNumberInput/index.d.mts +2212 -730
  140. package/lib/labs/VPicker/index.d.mts +10 -10
  141. package/lib/labs/VSnackbarQueue/index.d.mts +128 -95
  142. package/lib/labs/VStepperVertical/index.d.mts +10 -7
  143. package/lib/labs/VTimePicker/VTimePicker.mjs +1 -1
  144. package/lib/labs/VTimePicker/VTimePicker.mjs.map +1 -1
  145. package/lib/labs/VTimePicker/VTimePickerControls.mjs +2 -2
  146. package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
  147. package/lib/labs/VTimePicker/index.d.mts +26 -26
  148. package/lib/labs/VTimePicker/util.mjs +5 -0
  149. package/lib/labs/VTimePicker/util.mjs.map +1 -0
  150. package/lib/labs/VTreeview/VTreeview.mjs +3 -12
  151. package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
  152. package/lib/labs/VTreeview/VTreeviewChildren.mjs +1 -1
  153. package/lib/labs/VTreeview/VTreeviewChildren.mjs.map +1 -1
  154. package/lib/labs/VTreeview/VTreeviewItem.mjs +9 -20
  155. package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
  156. package/lib/labs/VTreeview/index.d.mts +44 -41
  157. package/lib/labs/components.d.mts +2515 -1000
  158. package/lib/util/helpers.mjs +7 -3
  159. package/lib/util/helpers.mjs.map +1 -1
  160. package/package.json +7 -13
  161. package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs +0 -21
  162. package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs.map +0 -1
  163. package/lib/components/VDatePicker/util/eventHelpers.mjs +0 -22
  164. package/lib/components/VDatePicker/util/eventHelpers.mjs.map +0 -1
  165. package/lib/components/VDatePicker/util/index.mjs +0 -9
  166. package/lib/components/VDatePicker/util/index.mjs.map +0 -1
  167. package/lib/components/VDatePicker/util/isDateAllowed.mjs +0 -7
  168. package/lib/components/VDatePicker/util/isDateAllowed.mjs.map +0 -1
  169. package/lib/components/VDatePicker/util/monthChange.mjs +0 -18
  170. package/lib/components/VDatePicker/util/monthChange.mjs.map +0 -1
  171. package/lib/components/VDatePicker/util/pad.mjs +0 -21
  172. package/lib/components/VDatePicker/util/pad.mjs.map +0 -1
  173. package/lib/components/VDatePicker/util/sanitizeDateString.mjs +0 -12
  174. package/lib/components/VDatePicker/util/sanitizeDateString.mjs.map +0 -1
  175. package/lib/components/VTreeview/VTreeview.mjs +0 -350
  176. package/lib/components/VTreeview/VTreeview.mjs.map +0 -1
  177. package/lib/components/VTreeview/VTreeview.sass +0 -128
  178. package/lib/components/VTreeview/VTreeviewNode.mjs +0 -321
  179. package/lib/components/VTreeview/VTreeviewNode.mjs.map +0 -1
  180. package/lib/components/VTreeview/_mixins.sass +0 -18
  181. package/lib/components/VTreeview/_variables.scss +0 -10
  182. package/lib/components/VTreeview/index.mjs +0 -10
  183. package/lib/components/VTreeview/index.mjs.map +0 -1
  184. package/lib/components/VTreeview/util/filterTreeItems.mjs +0 -25
  185. package/lib/components/VTreeview/util/filterTreeItems.mjs.map +0 -1
  186. package/lib/services/goto/easing-patterns.mjs +0 -27
  187. package/lib/services/goto/easing-patterns.mjs.map +0 -1
  188. package/lib/services/goto/index.mjs +0 -73
  189. package/lib/services/goto/index.mjs.map +0 -1
  190. package/lib/services/goto/util.mjs +0 -39
  191. package/lib/services/goto/util.mjs.map +0 -1
@@ -1,5 +1,8 @@
1
- import { JSXComponent, PropType } from 'vue';
1
+ import { PropType, ComponentPublicInstance, FunctionalComponent } from 'vue';
2
2
 
3
+ type JSXComponent<Props = any> = {
4
+ new (): ComponentPublicInstance<Props>;
5
+ } | FunctionalComponent<Props>;
3
6
  type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
4
7
  declare const IconValue: PropType<IconValue>;
5
8
  interface IconAliases {
@@ -1,5 +1,8 @@
1
- import { JSXComponent, PropType } from 'vue';
1
+ import { PropType, ComponentPublicInstance, FunctionalComponent } from 'vue';
2
2
 
3
+ type JSXComponent<Props = any> = {
4
+ new (): ComponentPublicInstance<Props>;
5
+ } | FunctionalComponent<Props>;
3
6
  type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
4
7
  declare const IconValue: PropType<IconValue>;
5
8
  interface IconAliases {
@@ -1,5 +1,8 @@
1
- import { JSXComponent, PropType } from 'vue';
1
+ import { PropType, ComponentPublicInstance, FunctionalComponent } from 'vue';
2
2
 
3
+ type JSXComponent<Props = any> = {
4
+ new (): ComponentPublicInstance<Props>;
5
+ } | FunctionalComponent<Props>;
3
6
  type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
4
7
  declare const IconValue: PropType<IconValue>;
5
8
  interface IconAliases {
@@ -1,5 +1,8 @@
1
- import { JSXComponent, PropType } from 'vue';
1
+ import { PropType, ComponentPublicInstance, FunctionalComponent } from 'vue';
2
2
 
3
+ type JSXComponent<Props = any> = {
4
+ new (): ComponentPublicInstance<Props>;
5
+ } | FunctionalComponent<Props>;
3
6
  type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
4
7
  declare const IconValue: PropType<IconValue>;
5
8
  interface IconAliases {
@@ -1,5 +1,8 @@
1
- import { JSXComponent, PropType } from 'vue';
1
+ import { PropType, ComponentPublicInstance, FunctionalComponent } from 'vue';
2
2
 
3
+ type JSXComponent<Props = any> = {
4
+ new (): ComponentPublicInstance<Props>;
5
+ } | FunctionalComponent<Props>;
3
6
  type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
4
7
  declare const IconValue: PropType<IconValue>;
5
8
  interface IconAliases {
@@ -1,5 +1,8 @@
1
- import { JSXComponent, PropType } from 'vue';
1
+ import { PropType, ComponentPublicInstance, FunctionalComponent } from 'vue';
2
2
 
3
+ type JSXComponent<Props = any> = {
4
+ new (): ComponentPublicInstance<Props>;
5
+ } | FunctionalComponent<Props>;
3
6
  type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
4
7
  declare const IconValue: PropType<IconValue>;
5
8
  interface IconAliases {
package/lib/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as vue from 'vue';
2
- import { Ref, ComponentPublicInstance, DeepReadonly, JSXComponent, PropType, CSSProperties, App } from 'vue';
2
+ import { Ref, ComponentPublicInstance, DeepReadonly, FunctionalComponent, PropType, CSSProperties, App } from 'vue';
3
3
 
4
4
  interface LocaleMessages {
5
5
  [key: string]: LocaleMessages | string;
@@ -175,6 +175,9 @@ interface ThemeInstance {
175
175
  }
176
176
  declare function useTheme(): ThemeInstance;
177
177
 
178
+ type JSXComponent<Props = any> = {
179
+ new (): ComponentPublicInstance<Props>;
180
+ } | FunctionalComponent<Props>;
178
181
  type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
179
182
  declare const IconValue: PropType<IconValue>;
180
183
  interface IconAliases {
@@ -446,14 +449,14 @@ declare namespace createVuetify {
446
449
  }
447
450
  declare const version: string;
448
451
 
449
- export { type Blueprint, type DateInstance, DateModule, type DateOptions, type DefaultsInstance, type DisplayBreakpoint, type DisplayInstance, type DisplayThresholds, type GoToInstance, type IconAliases, type IconOptions, type IconProps, type IconSet, type LocaleInstance, type LocaleMessages, type LocaleOptions, type RtlInstance, type RtlOptions, type SubmitEventPromise, type ThemeDefinition, type ThemeInstance, type VuetifyOptions, createVuetify, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
452
+ export { type Blueprint, type DateInstance, DateModule, type DateOptions, type DefaultsInstance, type DisplayBreakpoint, type DisplayInstance, type DisplayThresholds, type GoToInstance, type IconAliases, type IconOptions, type IconProps, type IconSet, type JSXComponent, type LocaleInstance, type LocaleMessages, type LocaleOptions, type RtlInstance, type RtlOptions, type SubmitEventPromise, type ThemeDefinition, type ThemeInstance, type VuetifyOptions, createVuetify, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
450
453
 
451
454
  /* eslint-disable local-rules/sort-imports */
452
455
 
453
456
  import 'vue/jsx'
454
- import type { FunctionalComponent, UnwrapNestedRefs, VNodeChild } from 'vue'
455
-
457
+ import type { UnwrapNestedRefs, VNodeChild } from 'vue'
456
458
 
459
+ // These already exist in scope in the final bundle
457
460
 
458
461
  declare global {
459
462
  namespace JSX {
@@ -462,49 +465,62 @@ declare global {
462
465
  }
463
466
  }
464
467
  }
465
- interface _GlobalComponents {
468
+
469
+ declare module 'vue' {
470
+ interface Vuetify {
471
+ defaults: DefaultsInstance
472
+ display: UnwrapNestedRefs<DisplayInstance>
473
+ theme: UnwrapNestedRefs<ThemeInstance>
474
+ icons: IconOptions
475
+ locale: UnwrapNestedRefs<LocaleInstance & RtlInstance>
476
+ date: DateInstance
477
+ }
478
+
479
+ export interface ComponentCustomProperties {
480
+ $vuetify: Vuetify
481
+ }
482
+ export interface HTMLAttributes {
483
+ $children?: VNodeChild
484
+ }
485
+ export interface SVGAttributes {
486
+ $children?: VNodeChild
487
+ }
488
+ export interface GlobalComponents {
466
489
  VAppBar: typeof import('vuetify/components')['VAppBar']
467
490
  VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
468
491
  VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
469
- VApp: typeof import('vuetify/components')['VApp']
492
+ VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
470
493
  VAlert: typeof import('vuetify/components')['VAlert']
471
494
  VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
472
495
  VAvatar: typeof import('vuetify/components')['VAvatar']
496
+ VApp: typeof import('vuetify/components')['VApp']
473
497
  VBanner: typeof import('vuetify/components')['VBanner']
474
498
  VBannerActions: typeof import('vuetify/components')['VBannerActions']
475
499
  VBannerText: typeof import('vuetify/components')['VBannerText']
476
- VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
477
500
  VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
478
- VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
479
- VBadge: typeof import('vuetify/components')['VBadge']
480
- VBtn: typeof import('vuetify/components')['VBtn']
481
501
  VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
482
502
  VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
483
503
  VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
484
- VCarousel: typeof import('vuetify/components')['VCarousel']
485
- VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
486
- VChip: typeof import('vuetify/components')['VChip']
487
- VCode: typeof import('vuetify/components')['VCode']
504
+ VBadge: typeof import('vuetify/components')['VBadge']
505
+ VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
506
+ VBtn: typeof import('vuetify/components')['VBtn']
507
+ VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
488
508
  VCard: typeof import('vuetify/components')['VCard']
489
509
  VCardActions: typeof import('vuetify/components')['VCardActions']
490
510
  VCardItem: typeof import('vuetify/components')['VCardItem']
491
511
  VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
492
512
  VCardText: typeof import('vuetify/components')['VCardText']
493
513
  VCardTitle: typeof import('vuetify/components')['VCardTitle']
494
- VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
514
+ VCarousel: typeof import('vuetify/components')['VCarousel']
515
+ VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
516
+ VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
495
517
  VCheckbox: typeof import('vuetify/components')['VCheckbox']
496
518
  VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
497
- VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
498
519
  VChipGroup: typeof import('vuetify/components')['VChipGroup']
499
- VColorPicker: typeof import('vuetify/components')['VColorPicker']
500
- VCounter: typeof import('vuetify/components')['VCounter']
501
520
  VCombobox: typeof import('vuetify/components')['VCombobox']
502
- VDatePicker: typeof import('vuetify/components')['VDatePicker']
503
- VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
504
- VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
505
- VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
506
- VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
507
- VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
521
+ VChip: typeof import('vuetify/components')['VChip']
522
+ VColorPicker: typeof import('vuetify/components')['VColorPicker']
523
+ VCode: typeof import('vuetify/components')['VCode']
508
524
  VDataTable: typeof import('vuetify/components')['VDataTable']
509
525
  VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
510
526
  VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
@@ -512,31 +528,37 @@ interface _GlobalComponents {
512
528
  VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
513
529
  VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
514
530
  VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
531
+ VCounter: typeof import('vuetify/components')['VCounter']
515
532
  VDialog: typeof import('vuetify/components')['VDialog']
533
+ VDatePicker: typeof import('vuetify/components')['VDatePicker']
534
+ VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
535
+ VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
536
+ VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
537
+ VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
538
+ VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
516
539
  VDivider: typeof import('vuetify/components')['VDivider']
517
- VFab: typeof import('vuetify/components')['VFab']
518
540
  VEmptyState: typeof import('vuetify/components')['VEmptyState']
519
- VFileInput: typeof import('vuetify/components')['VFileInput']
520
541
  VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
521
542
  VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
522
543
  VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
523
544
  VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
524
545
  VField: typeof import('vuetify/components')['VField']
525
546
  VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
547
+ VFooter: typeof import('vuetify/components')['VFooter']
548
+ VFab: typeof import('vuetify/components')['VFab']
549
+ VFileInput: typeof import('vuetify/components')['VFileInput']
526
550
  VIcon: typeof import('vuetify/components')['VIcon']
527
551
  VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
528
552
  VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
529
553
  VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
530
554
  VClassIcon: typeof import('vuetify/components')['VClassIcon']
531
- VFooter: typeof import('vuetify/components')['VFooter']
532
- VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
533
555
  VInput: typeof import('vuetify/components')['VInput']
534
- VKbd: typeof import('vuetify/components')['VKbd']
535
- VItemGroup: typeof import('vuetify/components')['VItemGroup']
536
- VItem: typeof import('vuetify/components')['VItem']
537
556
  VImg: typeof import('vuetify/components')['VImg']
557
+ VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
538
558
  VLabel: typeof import('vuetify/components')['VLabel']
539
- VMenu: typeof import('vuetify/components')['VMenu']
559
+ VItemGroup: typeof import('vuetify/components')['VItemGroup']
560
+ VItem: typeof import('vuetify/components')['VItem']
561
+ VKbd: typeof import('vuetify/components')['VKbd']
540
562
  VMain: typeof import('vuetify/components')['VMain']
541
563
  VList: typeof import('vuetify/components')['VList']
542
564
  VListGroup: typeof import('vuetify/components')['VListGroup']
@@ -547,52 +569,57 @@ interface _GlobalComponents {
547
569
  VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
548
570
  VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
549
571
  VListSubheader: typeof import('vuetify/components')['VListSubheader']
550
- VOtpInput: typeof import('vuetify/components')['VOtpInput']
551
- VOverlay: typeof import('vuetify/components')['VOverlay']
572
+ VMenu: typeof import('vuetify/components')['VMenu']
552
573
  VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
574
+ VOverlay: typeof import('vuetify/components')['VOverlay']
553
575
  VMessages: typeof import('vuetify/components')['VMessages']
576
+ VOtpInput: typeof import('vuetify/components')['VOtpInput']
554
577
  VPagination: typeof import('vuetify/components')['VPagination']
555
- VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
556
- VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
557
578
  VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
558
- VSelect: typeof import('vuetify/components')['VSelect']
579
+ VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
559
580
  VRating: typeof import('vuetify/components')['VRating']
581
+ VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
560
582
  VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
561
- VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
562
- VSheet: typeof import('vuetify/components')['VSheet']
583
+ VSelect: typeof import('vuetify/components')['VSelect']
563
584
  VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
585
+ VSheet: typeof import('vuetify/components')['VSheet']
586
+ VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
587
+ VSlider: typeof import('vuetify/components')['VSlider']
588
+ VSnackbar: typeof import('vuetify/components')['VSnackbar']
564
589
  VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
565
590
  VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
591
+ VSwitch: typeof import('vuetify/components')['VSwitch']
592
+ VSystemBar: typeof import('vuetify/components')['VSystemBar']
566
593
  VStepper: typeof import('vuetify/components')['VStepper']
567
594
  VStepperActions: typeof import('vuetify/components')['VStepperActions']
568
595
  VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
569
596
  VStepperItem: typeof import('vuetify/components')['VStepperItem']
570
597
  VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
571
598
  VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
572
- VSnackbar: typeof import('vuetify/components')['VSnackbar']
573
- VSlider: typeof import('vuetify/components')['VSlider']
574
- VSystemBar: typeof import('vuetify/components')['VSystemBar']
575
599
  VTextarea: typeof import('vuetify/components')['VTextarea']
576
600
  VTable: typeof import('vuetify/components')['VTable']
577
- VTextField: typeof import('vuetify/components')['VTextField']
578
- VSwitch: typeof import('vuetify/components')['VSwitch']
601
+ VToolbar: typeof import('vuetify/components')['VToolbar']
602
+ VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
603
+ VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
604
+ VTimeline: typeof import('vuetify/components')['VTimeline']
605
+ VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
579
606
  VTab: typeof import('vuetify/components')['VTab']
580
607
  VTabs: typeof import('vuetify/components')['VTabs']
581
608
  VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
582
609
  VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
583
- VTimeline: typeof import('vuetify/components')['VTimeline']
584
- VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
585
- VToolbar: typeof import('vuetify/components')['VToolbar']
586
- VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
587
- VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
610
+ VTooltip: typeof import('vuetify/components')['VTooltip']
611
+ VTextField: typeof import('vuetify/components')['VTextField']
588
612
  VWindow: typeof import('vuetify/components')['VWindow']
589
613
  VWindowItem: typeof import('vuetify/components')['VWindowItem']
590
- VTooltip: typeof import('vuetify/components')['VTooltip']
591
614
  VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
592
615
  VDataIterator: typeof import('vuetify/components')['VDataIterator']
593
616
  VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
594
- VHover: typeof import('vuetify/components')['VHover']
595
617
  VForm: typeof import('vuetify/components')['VForm']
618
+ VContainer: typeof import('vuetify/components')['VContainer']
619
+ VCol: typeof import('vuetify/components')['VCol']
620
+ VRow: typeof import('vuetify/components')['VRow']
621
+ VSpacer: typeof import('vuetify/components')['VSpacer']
622
+ VHover: typeof import('vuetify/components')['VHover']
596
623
  VLayout: typeof import('vuetify/components')['VLayout']
597
624
  VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
598
625
  VLazy: typeof import('vuetify/components')['VLazy']
@@ -602,13 +629,10 @@ interface _GlobalComponents {
602
629
  VRadio: typeof import('vuetify/components')['VRadio']
603
630
  VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
604
631
  VResponsive: typeof import('vuetify/components')['VResponsive']
605
- VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
606
632
  VSparkline: typeof import('vuetify/components')['VSparkline']
633
+ VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
607
634
  VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
608
- VContainer: typeof import('vuetify/components')['VContainer']
609
- VCol: typeof import('vuetify/components')['VCol']
610
- VRow: typeof import('vuetify/components')['VRow']
611
- VSpacer: typeof import('vuetify/components')['VSpacer']
635
+ VValidation: typeof import('vuetify/components')['VValidation']
612
636
  VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
613
637
  VFabTransition: typeof import('vuetify/components')['VFabTransition']
614
638
  VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
@@ -626,10 +650,7 @@ interface _GlobalComponents {
626
650
  VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
627
651
  VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
628
652
  VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
629
- VValidation: typeof import('vuetify/components')['VValidation']
630
653
  VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
631
- VPicker: typeof import('vuetify/labs/components')['VPicker']
632
- VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
633
654
  VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
634
655
  VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
635
656
  VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
@@ -639,6 +660,8 @@ interface _GlobalComponents {
639
660
  VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
640
661
  VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
641
662
  VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
663
+ VPicker: typeof import('vuetify/labs/components')['VPicker']
664
+ VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
642
665
  VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
643
666
  VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
644
667
  VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
@@ -648,34 +671,5 @@ interface _GlobalComponents {
648
671
  VDateInput: typeof import('vuetify/labs/components')['VDateInput']
649
672
  VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
650
673
  VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
651
- }
652
- declare module 'vue' {
653
- export type JSXComponent<Props = any> = { new (): ComponentPublicInstance<Props> } | FunctionalComponent<Props>
654
- export interface GlobalComponents extends _GlobalComponents {}
655
- }
656
-
657
- declare module '@vue/runtime-dom' {
658
- export interface HTMLAttributes {
659
- $children?: VNodeChild
660
- }
661
- export interface SVGAttributes {
662
- $children?: VNodeChild
663
- }
664
- export interface GlobalComponents extends _GlobalComponents {}
665
- }
666
-
667
- declare module '@vue/runtime-core' {
668
- interface Vuetify {
669
- defaults: DefaultsInstance
670
- display: UnwrapNestedRefs<DisplayInstance>
671
- theme: UnwrapNestedRefs<ThemeInstance>
672
- icons: IconOptions
673
- locale: UnwrapNestedRefs<LocaleInstance & RtlInstance>
674
- date: DateInstance
675
- }
676
-
677
- export interface ComponentCustomProperties {
678
- $vuetify: Vuetify
679
674
  }
680
- export interface GlobalComponents extends _GlobalComponents {}
681
675
  }
@@ -1,5 +1,5 @@
1
1
  import * as vue from 'vue';
2
- import { ComponentPropsOptions, ExtractPropTypes, PropType, JSXComponent } from 'vue';
2
+ import { ComponentPropsOptions, ExtractPropTypes, PropType, ComponentPublicInstance, FunctionalComponent } from 'vue';
3
3
 
4
4
  type ClassValue = any;
5
5
 
@@ -38,6 +38,9 @@ interface ValidationProps {
38
38
  validationValue: any;
39
39
  }
40
40
 
41
+ type JSXComponent<Props = any> = {
42
+ new (): ComponentPublicInstance<Props>;
43
+ } | FunctionalComponent<Props>;
41
44
  type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
42
45
  declare const IconValue: PropType<IconValue>;
43
46
 
@@ -105,7 +108,7 @@ declare const VDateInput: {
105
108
  maxWidth?: string | number | undefined;
106
109
  minHeight?: string | number | undefined;
107
110
  minWidth?: string | number | undefined;
108
- position?: "fixed" | "absolute" | "static" | "sticky" | "relative" | undefined;
111
+ position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
109
112
  loading?: string | boolean | undefined;
110
113
  label?: string | undefined;
111
114
  text?: string | undefined;
@@ -115,8 +118,8 @@ declare const VDateInput: {
115
118
  month?: string | number | undefined;
116
119
  year?: number | undefined;
117
120
  class?: any;
118
- elevation?: string | number | undefined;
119
121
  theme?: string | undefined;
122
+ elevation?: string | number | undefined;
120
123
  counter?: string | number | boolean | undefined;
121
124
  'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
122
125
  modelValue?: any;
@@ -218,7 +221,7 @@ declare const VDateInput: {
218
221
  maxWidth?: string | number | undefined;
219
222
  minHeight?: string | number | undefined;
220
223
  minWidth?: string | number | undefined;
221
- position?: "fixed" | "absolute" | "static" | "sticky" | "relative" | undefined;
224
+ position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
222
225
  loading?: string | boolean | undefined;
223
226
  label?: string | undefined;
224
227
  text?: string | undefined;
@@ -228,8 +231,8 @@ declare const VDateInput: {
228
231
  month?: string | number | undefined;
229
232
  year?: number | undefined;
230
233
  class?: any;
231
- elevation?: string | number | undefined;
232
234
  theme?: string | undefined;
235
+ elevation?: string | number | undefined;
233
236
  counter?: string | number | boolean | undefined;
234
237
  'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
235
238
  modelValue?: any;
@@ -389,7 +392,7 @@ declare const VDateInput: {
389
392
  maxWidth?: string | number | undefined;
390
393
  minHeight?: string | number | undefined;
391
394
  minWidth?: string | number | undefined;
392
- position?: "fixed" | "absolute" | "static" | "sticky" | "relative" | undefined;
395
+ position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
393
396
  loading?: string | boolean | undefined;
394
397
  label?: string | undefined;
395
398
  text?: string | undefined;
@@ -399,8 +402,8 @@ declare const VDateInput: {
399
402
  month?: string | number | undefined;
400
403
  year?: number | undefined;
401
404
  class?: any;
402
- elevation?: string | number | undefined;
403
405
  theme?: string | undefined;
406
+ elevation?: string | number | undefined;
404
407
  counter?: string | number | boolean | undefined;
405
408
  'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
406
409
  modelValue?: any;
@@ -555,7 +558,7 @@ declare const VDateInput: {
555
558
  maxWidth?: string | number | undefined;
556
559
  minHeight?: string | number | undefined;
557
560
  minWidth?: string | number | undefined;
558
- position?: "fixed" | "absolute" | "static" | "sticky" | "relative" | undefined;
561
+ position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
559
562
  loading?: string | boolean | undefined;
560
563
  label?: string | undefined;
561
564
  text?: string | undefined;
@@ -565,8 +568,8 @@ declare const VDateInput: {
565
568
  month?: string | number | undefined;
566
569
  year?: number | undefined;
567
570
  class?: any;
568
- elevation?: string | number | undefined;
569
571
  theme?: string | undefined;
572
+ elevation?: string | number | undefined;
570
573
  counter?: string | number | boolean | undefined;
571
574
  'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
572
575
  modelValue?: any;
@@ -671,7 +674,7 @@ declare const VDateInput: {
671
674
  minHeight: (StringConstructor | NumberConstructor)[];
672
675
  minWidth: (StringConstructor | NumberConstructor)[];
673
676
  position: {
674
- type: vue.PropType<"fixed" | "absolute" | "static" | "sticky" | "relative">;
677
+ type: vue.PropType<"fixed" | "absolute" | "relative" | "static" | "sticky">;
675
678
  validator: (v: any) => boolean;
676
679
  };
677
680
  transition: {
@@ -696,6 +699,7 @@ declare const VDateInput: {
696
699
  month: (StringConstructor | NumberConstructor)[];
697
700
  year: NumberConstructor;
698
701
  class: vue.PropType<ClassValue>;
702
+ theme: StringConstructor;
699
703
  tag: {
700
704
  type: StringConstructor;
701
705
  default: string;
@@ -705,7 +709,6 @@ declare const VDateInput: {
705
709
  type: (StringConstructor | NumberConstructor)[];
706
710
  validator(v: any): boolean;
707
711
  };
708
- theme: StringConstructor;
709
712
  modelValue: null;
710
713
  rounded: {
711
714
  type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
@@ -887,7 +890,7 @@ declare const VDateInput: {
887
890
  minHeight: (StringConstructor | NumberConstructor)[];
888
891
  minWidth: (StringConstructor | NumberConstructor)[];
889
892
  position: {
890
- type: vue.PropType<"fixed" | "absolute" | "static" | "sticky" | "relative">;
893
+ type: vue.PropType<"fixed" | "absolute" | "relative" | "static" | "sticky">;
891
894
  validator: (v: any) => boolean;
892
895
  };
893
896
  transition: {
@@ -912,6 +915,7 @@ declare const VDateInput: {
912
915
  month: (StringConstructor | NumberConstructor)[];
913
916
  year: NumberConstructor;
914
917
  class: vue.PropType<ClassValue>;
918
+ theme: StringConstructor;
915
919
  tag: {
916
920
  type: StringConstructor;
917
921
  default: string;
@@ -921,7 +925,6 @@ declare const VDateInput: {
921
925
  type: (StringConstructor | NumberConstructor)[];
922
926
  validator(v: any): boolean;
923
927
  };
924
- theme: StringConstructor;
925
928
  modelValue: null;
926
929
  rounded: {
927
930
  type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
@@ -53,7 +53,13 @@ export const VNumberInput = genericComponent()({
53
53
  const model = computed({
54
54
  get: () => _model.value,
55
55
  set(val) {
56
- if (typeof val !== 'string') _model.value = val;
56
+ if (val === null) {
57
+ _model.value = null;
58
+ return;
59
+ }
60
+ if (!isNaN(+val) && +val <= props.max && +val >= props.min) {
61
+ _model.value = +val;
62
+ }
57
63
  }
58
64
  });
59
65
  const vTextFieldRef = ref();