@vuetify/nightly 3.7.1-master.2024-09-02 → 3.7.1-master.2024-09-04

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 (134) hide show
  1. package/dist/json/importMap-labs.json +14 -14
  2. package/dist/json/importMap.json +118 -118
  3. package/dist/json/web-types.json +1 -1
  4. package/dist/vuetify-labs.css +4238 -4235
  5. package/dist/vuetify-labs.d.ts +999 -999
  6. package/dist/vuetify-labs.esm.js +42 -55
  7. package/dist/vuetify-labs.esm.js.map +1 -1
  8. package/dist/vuetify-labs.js +42 -55
  9. package/dist/vuetify-labs.min.css +2 -2
  10. package/dist/vuetify.css +731 -728
  11. package/dist/vuetify.d.ts +851 -851
  12. package/dist/vuetify.esm.js +34 -31
  13. package/dist/vuetify.esm.js.map +1 -1
  14. package/dist/vuetify.js +34 -31
  15. package/dist/vuetify.js.map +1 -1
  16. package/dist/vuetify.min.css +2 -2
  17. package/dist/vuetify.min.js +267 -267
  18. package/dist/vuetify.min.js.map +1 -1
  19. package/lib/components/VAlert/index.d.mts +10 -10
  20. package/lib/components/VAppBar/index.d.mts +18 -18
  21. package/lib/components/VAutocomplete/index.d.mts +109 -109
  22. package/lib/components/VAvatar/index.d.mts +4 -4
  23. package/lib/components/VBadge/index.d.mts +4 -4
  24. package/lib/components/VBanner/index.d.mts +14 -14
  25. package/lib/components/VBottomNavigation/index.d.mts +4 -4
  26. package/lib/components/VBottomSheet/index.d.mts +11 -11
  27. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +3 -5
  28. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
  29. package/lib/components/VBreadcrumbs/index.d.mts +4 -4
  30. package/lib/components/VBtn/VBtn.mjs +3 -4
  31. package/lib/components/VBtn/VBtn.mjs.map +1 -1
  32. package/lib/components/VBtn/index.d.mts +14 -14
  33. package/lib/components/VBtnGroup/index.d.mts +4 -4
  34. package/lib/components/VBtnToggle/index.d.mts +4 -4
  35. package/lib/components/VCard/VCard.mjs +3 -4
  36. package/lib/components/VCard/VCard.mjs.map +1 -1
  37. package/lib/components/VCard/index.d.mts +14 -14
  38. package/lib/components/VCarousel/index.d.mts +13 -13
  39. package/lib/components/VCheckbox/index.d.mts +4 -4
  40. package/lib/components/VChip/VChip.mjs +2 -3
  41. package/lib/components/VChip/VChip.mjs.map +1 -1
  42. package/lib/components/VChip/index.d.mts +8 -8
  43. package/lib/components/VChipGroup/index.d.mts +4 -4
  44. package/lib/components/VColorPicker/index.d.mts +22 -22
  45. package/lib/components/VCombobox/index.d.mts +109 -109
  46. package/lib/components/VDataTable/index.d.mts +14 -14
  47. package/lib/components/VDatePicker/index.d.mts +12 -12
  48. package/lib/components/VDialog/VDialog.css +4 -1
  49. package/lib/components/VDialog/VDialog.mjs +1 -2
  50. package/lib/components/VDialog/VDialog.mjs.map +1 -1
  51. package/lib/components/VDialog/VDialog.sass +2 -1
  52. package/lib/components/VDialog/index.d.mts +50 -50
  53. package/lib/components/VEmptyState/index.d.mts +8 -8
  54. package/lib/components/VExpansionPanel/index.d.mts +4 -4
  55. package/lib/components/VFab/index.d.mts +18 -18
  56. package/lib/components/VFileInput/index.d.mts +6 -6
  57. package/lib/components/VFooter/index.d.mts +4 -4
  58. package/lib/components/VIcon/index.d.mts +4 -4
  59. package/lib/components/VInput/index.d.mts +2 -2
  60. package/lib/components/VItemGroup/index.d.mts +4 -4
  61. package/lib/components/VLabel/index.d.mts +4 -4
  62. package/lib/components/VList/VListItem.mjs +3 -4
  63. package/lib/components/VList/VListItem.mjs.map +1 -1
  64. package/lib/components/VList/index.d.mts +23 -23
  65. package/lib/components/VMenu/index.d.mts +50 -50
  66. package/lib/components/VMessages/index.d.mts +8 -8
  67. package/lib/components/VNavigationDrawer/index.d.mts +18 -18
  68. package/lib/components/VOtpInput/index.d.mts +4 -4
  69. package/lib/components/VOverlay/index.d.mts +11 -11
  70. package/lib/components/VPagination/index.d.mts +4 -4
  71. package/lib/components/VProgressCircular/index.d.mts +4 -4
  72. package/lib/components/VRadioGroup/index.d.mts +2 -2
  73. package/lib/components/VRangeSlider/index.d.mts +8 -8
  74. package/lib/components/VSelect/index.d.mts +109 -109
  75. package/lib/components/VSheet/index.d.mts +10 -10
  76. package/lib/components/VSkeletonLoader/index.d.mts +4 -4
  77. package/lib/components/VSlider/index.d.mts +8 -8
  78. package/lib/components/VSnackbar/index.d.mts +62 -62
  79. package/lib/components/VSpeedDial/index.d.mts +11 -11
  80. package/lib/components/VStepper/index.d.mts +12 -12
  81. package/lib/components/VSwitch/index.d.mts +2 -2
  82. package/lib/components/VSystemBar/index.d.mts +4 -4
  83. package/lib/components/VTabs/index.d.mts +53 -53
  84. package/lib/components/VTextField/index.d.mts +13 -13
  85. package/lib/components/VTextarea/index.d.mts +10 -10
  86. package/lib/components/VTimeline/index.d.mts +4 -4
  87. package/lib/components/VToolbar/index.d.mts +4 -4
  88. package/lib/components/VTooltip/index.d.mts +45 -45
  89. package/lib/components/VWindow/index.d.mts +6 -6
  90. package/lib/components/index.d.mts +810 -810
  91. package/lib/composables/directiveComponent.mjs +1 -1
  92. package/lib/composables/directiveComponent.mjs.map +1 -1
  93. package/lib/composables/router.mjs +19 -9
  94. package/lib/composables/router.mjs.map +1 -1
  95. package/lib/directives/tooltip/index.mjs +1 -1
  96. package/lib/directives/tooltip/index.mjs.map +1 -1
  97. package/lib/entry-bundler.mjs +1 -1
  98. package/lib/framework.mjs +1 -1
  99. package/lib/index.d.mts +41 -41
  100. package/lib/labs/VDateInput/index.d.mts +12 -12
  101. package/lib/labs/VNumberInput/index.d.mts +67 -67
  102. package/lib/labs/VPicker/index.d.mts +10 -10
  103. package/lib/labs/VSnackbarQueue/index.d.mts +95 -95
  104. package/lib/labs/VStepperVertical/index.d.mts +6 -6
  105. package/lib/labs/VTimePicker/VTimePicker.mjs +1 -1
  106. package/lib/labs/VTimePicker/VTimePicker.mjs.map +1 -1
  107. package/lib/labs/VTimePicker/VTimePickerControls.mjs +2 -2
  108. package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
  109. package/lib/labs/VTimePicker/index.d.mts +26 -26
  110. package/lib/labs/VTimePicker/util.mjs +5 -0
  111. package/lib/labs/VTimePicker/util.mjs.map +1 -0
  112. package/lib/labs/VTreeview/index.d.mts +40 -40
  113. package/lib/labs/components.d.mts +256 -256
  114. package/package.json +6 -8
  115. package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs +0 -21
  116. package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs.map +0 -1
  117. package/lib/components/VDatePicker/util/eventHelpers.mjs +0 -22
  118. package/lib/components/VDatePicker/util/eventHelpers.mjs.map +0 -1
  119. package/lib/components/VDatePicker/util/index.mjs +0 -9
  120. package/lib/components/VDatePicker/util/index.mjs.map +0 -1
  121. package/lib/components/VDatePicker/util/isDateAllowed.mjs +0 -7
  122. package/lib/components/VDatePicker/util/isDateAllowed.mjs.map +0 -1
  123. package/lib/components/VDatePicker/util/monthChange.mjs +0 -18
  124. package/lib/components/VDatePicker/util/monthChange.mjs.map +0 -1
  125. package/lib/components/VDatePicker/util/pad.mjs +0 -21
  126. package/lib/components/VDatePicker/util/pad.mjs.map +0 -1
  127. package/lib/components/VDatePicker/util/sanitizeDateString.mjs +0 -12
  128. package/lib/components/VDatePicker/util/sanitizeDateString.mjs.map +0 -1
  129. package/lib/services/goto/easing-patterns.mjs +0 -27
  130. package/lib/services/goto/easing-patterns.mjs.map +0 -1
  131. package/lib/services/goto/index.mjs +0 -73
  132. package/lib/services/goto/index.mjs.map +0 -1
  133. package/lib/services/goto/util.mjs +0 -39
  134. package/lib/services/goto/util.mjs.map +0 -1
@@ -19,7 +19,7 @@ function mountComponent(component, props) {
19
19
  const value = isObject(binding.value) ? binding.value : {};
20
20
 
21
21
  // Get the children from the props or directive value, or the element's children
22
- const children = () => text ?? el.innerHTML;
22
+ const children = () => text ?? el.textContent;
23
23
 
24
24
  // If vnode.ctx is the same as the instance, then we're bound to a plain element
25
25
  // and need to find the nearest parent component instance to inherit provides from
@@ -1 +1 @@
1
- {"version":3,"file":"directiveComponent.mjs","names":["h","mergeProps","render","resolveComponent","isObject","useDirectiveComponent","component","props","concreteComponent","hook","mountComponent","mounted","updated","unmounted","el","binding","vnode","_props","text","value","children","innerHTML","provides","ctx","instance","$","findComponentParent","node","appContext","Object","assign","create","root","stack","Set","walk","child","add","result","suspense","ssContent","Array","isArray","subTree","delete","Error","from","reverse"],"sources":["../../src/composables/directiveComponent.ts"],"sourcesContent":["// Utilities\nimport { h, mergeProps, render, resolveComponent } from 'vue'\nimport { isObject } from '@/util'\n\n// Types\nimport type {\n Component,\n ComponentInternalInstance,\n ComponentPublicInstance,\n ConcreteComponent,\n DirectiveBinding,\n ObjectDirective,\n VNode,\n} from 'vue'\nimport type { ComponentInstance } from '@/util'\n\ntype ExcludeProps =\n | 'v-slots'\n | `v-slot:${string}`\n | `on${Uppercase<string>}${string}`\n | 'key'\n | 'ref'\n | 'ref_for'\n | 'ref_key'\n | '$children'\n\ndeclare const CustomDirectiveSymbol: unique symbol\ntype DirectiveHook<B extends DirectiveBinding> = (el: any, binding: B, vnode: VNode<any, any>, prevVNode: VNode<any, any>) => void\nexport interface CustomDirective<B extends DirectiveBinding = DirectiveBinding> {\n created?: DirectiveHook<B>\n beforeMount?: DirectiveHook<B>\n mounted?: DirectiveHook<B>\n beforeUpdate?: DirectiveHook<B>\n updated?: DirectiveHook<B>\n beforeUnmount?: DirectiveHook<B>\n unmounted?: DirectiveHook<B>\n [CustomDirectiveSymbol]: true\n}\n\nexport function useDirectiveComponent <\n Binding extends DirectiveBinding,\n> (component: string | Component, props?: (binding: Binding) => Record<string, any>): CustomDirective<Binding>\nexport function useDirectiveComponent <\n C extends Component,\n Props = Omit<ComponentInstance<C>['$props'], ExcludeProps>\n> (component: string | C, props?: Record<string, any>): ObjectDirective<any, Props>\nexport function useDirectiveComponent (\n component: string | Component,\n props?: Record<string, any> | ((binding: DirectiveBinding) => Record<string, any>)\n): ObjectDirective | CustomDirective {\n const concreteComponent = (typeof component === 'string'\n ? resolveComponent(component)\n : component) as ConcreteComponent\n\n const hook = mountComponent(concreteComponent, props)\n\n return {\n mounted: hook,\n updated: hook,\n unmounted (el: HTMLElement) {\n render(null, el)\n },\n }\n}\n\nfunction mountComponent (component: ConcreteComponent, props?: Record<string, any> | ((binding: DirectiveBinding) => Record<string, any>)) {\n return function (el: HTMLElement, binding: DirectiveBinding, vnode: VNode) {\n const _props = typeof props === 'function' ? props(binding) : props\n const text = binding.value?.text ?? binding.value ?? _props?.text\n const value = isObject(binding.value) ? binding.value : {}\n\n // Get the children from the props or directive value, or the element's children\n const children = () => text ?? el.innerHTML\n\n // If vnode.ctx is the same as the instance, then we're bound to a plain element\n // and need to find the nearest parent component instance to inherit provides from\n const provides = (vnode.ctx === binding.instance!.$\n ? findComponentParent(vnode, binding.instance!.$)?.provides\n : vnode.ctx?.provides) ?? binding.instance!.$.provides\n\n const node = h(component, mergeProps(_props, value), children)\n node.appContext = Object.assign(\n Object.create(null),\n (binding.instance as ComponentPublicInstance).$.appContext,\n { provides }\n )\n\n render(node, el)\n }\n}\n\nfunction findComponentParent (vnode: VNode, root: ComponentInternalInstance): ComponentInternalInstance | null {\n // Walk the tree from root until we find the child vnode\n const stack = new Set<VNode>()\n const walk = (children: VNode[]): boolean => {\n for (const child of children) {\n if (!child) continue\n\n if (child === vnode) {\n return true\n }\n\n stack.add(child)\n let result\n if (child.suspense) {\n result = walk([child.ssContent!])\n } else if (Array.isArray(child.children)) {\n result = walk(child.children as VNode[])\n } else if (child.component?.vnode) {\n result = walk([child.component?.subTree])\n }\n if (result) {\n return result\n }\n stack.delete(child)\n }\n\n return false\n }\n if (!walk([root.subTree])) {\n throw new Error('Could not find original vnode')\n }\n\n // Return the first component parent\n const result = Array.from(stack).reverse()\n for (const child of result) {\n if (child.component) {\n return child.component\n }\n }\n return root\n}\n"],"mappings":"AAAA;AACA,SAASA,CAAC,EAAEC,UAAU,EAA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,KAAK,CAAC;IACrB;IAEA,OAAO,KAAK;EACd,CAAC;EACD,IAAI,CAACD,IAAI,CAAC,CAACH,IAAI,CAACW,OAAO,CAAC,CAAC,EAAE;IACzB,MAAM,IAAIE,KAAK,CAAC,+BAA+B,CAAC;EAClD;;EAEA;EACA,MAAMP,MAAM,GAAGG,KAAK,CAACK,IAAI,CAACb,KAAK,CAAC,CAACc,OAAO,CAAC,CAAC;EAC1C,KAAK,MAAMX,KAAK,IAAIE,MAAM,EAAE;IAC1B,IAAIF,KAAK,CAAC9B,SAAS,EAAE;MACnB,OAAO8B,KAAK,CAAC9B,SAAS;IACxB;EACF;EACA,OAAO0B,IAAI;AACb","ignoreList":[]}
1
+ {"version":3,"file":"directiveComponent.mjs","names":["h","mergeProps","render","resolveComponent","isObject","useDirectiveComponent","component","props","concreteComponent","hook","mountComponent","mounted","updated","unmounted","el","binding","vnode","_props","text","value","children","textContent","provides","ctx","instance","$","findComponentParent","node","appContext","Object","assign","create","root","stack","Set","walk","child","add","result","suspense","ssContent","Array","isArray","subTree","delete","Error","from","reverse"],"sources":["../../src/composables/directiveComponent.ts"],"sourcesContent":["// Utilities\nimport { h, mergeProps, render, resolveComponent } from 'vue'\nimport { isObject } from '@/util'\n\n// Types\nimport type {\n Component,\n ComponentInternalInstance,\n ComponentPublicInstance,\n ConcreteComponent,\n DirectiveBinding,\n ObjectDirective,\n VNode,\n} from 'vue'\nimport type { ComponentInstance } from '@/util'\n\ntype ExcludeProps =\n | 'v-slots'\n | `v-slot:${string}`\n | `on${Uppercase<string>}${string}`\n | 'key'\n | 'ref'\n | 'ref_for'\n | 'ref_key'\n | '$children'\n\ndeclare const CustomDirectiveSymbol: unique symbol\ntype DirectiveHook<B extends DirectiveBinding> = (el: any, binding: B, vnode: VNode<any, any>, prevVNode: VNode<any, any>) => void\nexport interface CustomDirective<B extends DirectiveBinding = DirectiveBinding> {\n created?: DirectiveHook<B>\n beforeMount?: DirectiveHook<B>\n mounted?: DirectiveHook<B>\n beforeUpdate?: DirectiveHook<B>\n updated?: DirectiveHook<B>\n beforeUnmount?: DirectiveHook<B>\n unmounted?: DirectiveHook<B>\n [CustomDirectiveSymbol]: true\n}\n\nexport function useDirectiveComponent <\n Binding extends DirectiveBinding,\n> (component: string | Component, props?: (binding: Binding) => Record<string, any>): CustomDirective<Binding>\nexport function useDirectiveComponent <\n C extends Component,\n Props = Omit<ComponentInstance<C>['$props'], ExcludeProps>\n> (component: string | C, props?: Record<string, any>): ObjectDirective<any, Props>\nexport function useDirectiveComponent (\n component: string | Component,\n props?: Record<string, any> | ((binding: DirectiveBinding) => Record<string, any>)\n): ObjectDirective | CustomDirective {\n const concreteComponent = (typeof component === 'string'\n ? resolveComponent(component)\n : component) as ConcreteComponent\n\n const hook = mountComponent(concreteComponent, props)\n\n return {\n mounted: hook,\n updated: hook,\n unmounted (el: HTMLElement) {\n render(null, el)\n },\n }\n}\n\nfunction mountComponent (component: ConcreteComponent, props?: Record<string, any> | ((binding: DirectiveBinding) => Record<string, any>)) {\n return function (el: HTMLElement, binding: DirectiveBinding, vnode: VNode) {\n const _props = typeof props === 'function' ? props(binding) : props\n const text = binding.value?.text ?? binding.value ?? _props?.text\n const value = isObject(binding.value) ? binding.value : {}\n\n // Get the children from the props or directive value, or the element's children\n const children = () => text ?? el.textContent\n\n // If vnode.ctx is the same as the instance, then we're bound to a plain element\n // and need to find the nearest parent component instance to inherit provides from\n const provides = (vnode.ctx === binding.instance!.$\n ? findComponentParent(vnode, binding.instance!.$)?.provides\n : vnode.ctx?.provides) ?? binding.instance!.$.provides\n\n const node = h(component, mergeProps(_props, value), children)\n node.appContext = Object.assign(\n Object.create(null),\n (binding.instance as ComponentPublicInstance).$.appContext,\n { provides }\n )\n\n render(node, el)\n }\n}\n\nfunction findComponentParent (vnode: VNode, root: ComponentInternalInstance): ComponentInternalInstance | null {\n // Walk the tree from root until we find the child vnode\n const stack = new Set<VNode>()\n const walk = (children: VNode[]): boolean => {\n for (const child of children) {\n if (!child) continue\n\n if (child === vnode) {\n return true\n }\n\n stack.add(child)\n let result\n if (child.suspense) {\n result = walk([child.ssContent!])\n } else if (Array.isArray(child.children)) {\n result = walk(child.children as VNode[])\n } else if (child.component?.vnode) {\n result = walk([child.component?.subTree])\n }\n if (result) {\n return result\n }\n stack.delete(child)\n }\n\n return false\n }\n if (!walk([root.subTree])) {\n throw new Error('Could not find original vnode')\n }\n\n // Return the first component parent\n const result = Array.from(stack).reverse()\n for (const child of result) {\n if (child.component) {\n return child.component\n }\n }\n return root\n}\n"],"mappings":"AAAA;AACA,SAASA,CAAC,EAAEC,UAAU,EAAEC,MAAM,EAAEC,gBAAgB,QAAQ,KAAK;AAAA,SACpDC,QAAQ,6BAEjB;AA0CA,OAAO,SAASC,qBAAqBA,CACnCC,SAA6B,EAC7BC,KAAkF,EAC/C;EACnC,MAAMC,iBAAiB,GAAI,OAAOF,SAAS,KAAK,QAAQ,GACpDH,gBAAgB,CAACG,SAAS,CAAC,GAC3BA,SAA+B;EAEnC,MAAMG,IAAI,GAAGC,cAAc,CAACF,iBAAiB,EAAED,KAAK,CAAC;EAErD,OAAO;IACLI,OAAO,EAAEF,IAAI;IACbG,OAAO,EAAEH,IAAI;IACbI,SAASA,CAAEC,EAAe,EAAE;MAC1BZ,MAAM,CAAC,IAAI,EAAEY,EAAE,CAAC;IAClB;EACF,CAAC;AACH;AAEA,SAASJ,cAAcA,CAAEJ,SAA4B,EAAEC,KAAkF,EAAE;EACzI,OAAO,UAAUO,EAAe,EAAEC,OAAyB,EAAEC,KAAY,EAAE;IACzE,MAAMC,MAAM,GAAG,OAAOV,KAAK,KAAK,UAAU,GAAGA,KAAK,CAACQ,OAAO,CAAC,GAAGR,KAAK;IACnE,MAAMW,IAAI,GAAGH,OAAO,CAACI,KAAK,EAAED,IAAI,IAAIH,OAAO,CAACI,KAAK,IAAIF,MAAM,EAAEC,IAAI;IACjE,MAAMC,KAAK,GAAGf,QAAQ,CAACW,OAAO,CAACI,KAAK,CAAC,GAAGJ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nC,CAAC,MAAM,IAAIC,KAAK,CAACC,OAAO,CAACN,KAAK,CAAChB,QAAQ,CAAC,EAAE;QACxCkB,MAAM,GAAGH,IAAI,CAACC,KAAK,CAAChB,QAAmB,CAAC;MAC1C,CAAC,MAAM,IAAIgB,KAAK,CAAC9B,SAAS,EAAEU,KAAK,EAAE;QACjCsB,MAAM,GAAGH,IAAI,CAAC,CAACC,KAAK,CAAC9B,SAAS,EAAEqC,OAAO,CAAC,CAAC;MAC3C;MACA,IAAIL,MAAM,EAAE;QACV,OAAOA,MAAM;MACf;MACAL,KAAK,CAACW,MAAM,CAACR,KAAK,CAAC;IACrB;IAEA,OAAO,KAAK;EACd,CAAC;EACD,IAAI,CAACD,IAAI,CAAC,CAACH,IAAI,CAACW,OAAO,CAAC,CAAC,EAAE;IACzB,MAAM,IAAIE,KAAK,CAAC,+BAA+B,CAAC;EAClD;;EAEA;EACA,MAAMP,MAAM,GAAGG,KAAK,CAACK,IAAI,CAACb,KAAK,CAAC,CAACc,OAAO,CAAC,CAAC;EAC1C,KAAK,MAAMX,KAAK,IAAIE,MAAM,EAAE;IAC1B,IAAIF,KAAK,CAAC9B,SAAS,EAAE;MACnB,OAAO8B,KAAK,CAAC9B,SAAS;IACxB;EACF;EACA,OAAO0B,IAAI;AACb","ignoreList":[]}
@@ -1,5 +1,5 @@
1
1
  // Utilities
2
- import { computed, nextTick, onScopeDispose, resolveDynamicComponent, toRef } from 'vue';
2
+ import { computed, nextTick, onScopeDispose, reactive, resolveDynamicComponent, toRef } from 'vue';
3
3
  import { deepEqual, getCurrentInstance, hasEvent, IN_BROWSER, propsFactory } from "../util/index.mjs"; // Types
4
4
  export function useRoute() {
5
5
  const vm = getCurrentInstance('useRoute');
@@ -15,10 +15,14 @@ export function useLink(props, attrs) {
15
15
  return isLink?.value || hasEvent(attrs, 'click') || hasEvent(props, 'click');
16
16
  });
17
17
  if (typeof RouterLink === 'string' || !('useLink' in RouterLink)) {
18
+ const href = toRef(props, 'href');
18
19
  return {
19
20
  isLink,
20
21
  isClickable,
21
- href: toRef(props, 'href')
22
+ href,
23
+ linkProps: reactive({
24
+ href
25
+ })
22
26
  };
23
27
  }
24
28
  // vue-router useLink `to` prop needs to be reactive and useLink will crash if undefined
@@ -30,18 +34,24 @@ export function useLink(props, attrs) {
30
34
  // Actual link needs to be undefined when to prop is not used
31
35
  const link = computed(() => props.to ? routerLink : undefined);
32
36
  const route = useRoute();
37
+ const isActive = computed(() => {
38
+ if (!link.value) return false;
39
+ if (!props.exact) return link.value.isActive?.value ?? false;
40
+ if (!route.value) return link.value.isExactActive?.value ?? false;
41
+ return link.value.isExactActive?.value && deepEqual(link.value.route.value.query, route.value.query);
42
+ });
43
+ const href = computed(() => props.to ? link.value?.route.value.href : props.href);
33
44
  return {
34
45
  isLink,
35
46
  isClickable,
47
+ isActive,
36
48
  route: link.value?.route,
37
49
  navigate: link.value?.navigate,
38
- isActive: computed(() => {
39
- if (!link.value) return false;
40
- if (!props.exact) return link.value.isActive?.value ?? false;
41
- if (!route.value) return link.value.isExactActive?.value ?? false;
42
- return link.value.isExactActive?.value && deepEqual(link.value.route.value.query, route.value.query);
43
- }),
44
- href: computed(() => props.to ? link.value?.route.value.href : props.href)
50
+ href,
51
+ linkProps: reactive({
52
+ href,
53
+ 'aria-current': computed(() => isActive.value ? 'page' : undefined)
54
+ })
45
55
  };
46
56
  }
47
57
  export const makeRouterProps = propsFactory({
@@ -1 +1 @@
1
- {"version":3,"file":"router.mjs","names":["computed","nextTick","onScopeDispose","resolveDynamicComponent","toRef","deepEqual","getCurrentInstance","hasEvent","IN_BROWSER","propsFactory","useRoute","vm","proxy","$route","useRouter","$router","useLink","props","attrs","RouterLink","isLink","href","to","isClickable","value","linkProps","routerLink","link","undefined","route","navigate","isActive","exact","isExactActive","query","makeRouterProps","String","replace","Boolean","Object","inTransition","useBackButton","router","cb","popped","removeBefore","removeAfter","window","addEventListener","onPopstate","beforeEach","from","next","setTimeout","afterEach","removeEventListener","e","state","replaced"],"sources":["../../src/composables/router.tsx"],"sourcesContent":["// Utilities\nimport {\n computed,\n nextTick,\n onScopeDispose,\n resolveDynamicComponent,\n toRef,\n} from 'vue'\nimport { deepEqual, getCurrentInstance, hasEvent, IN_BROWSER, propsFactory } from '@/util'\n\n// Types\nimport type { ComputedRef, PropType, Ref, SetupContext } from 'vue'\nimport type {\n RouterLink as _RouterLink,\n useLink as _useLink,\n NavigationGuardNext,\n RouteLocationNormalizedLoaded,\n RouteLocationRaw,\n Router,\n UseLinkOptions,\n} from 'vue-router'\nimport type { EventProp } from '@/util'\n\nexport function useRoute (): Ref<RouteLocationNormalizedLoaded | undefined> {\n const vm = getCurrentInstance('useRoute')\n\n return computed(() => vm?.proxy?.$route)\n}\n\nexport function useRouter (): Router | undefined {\n return getCurrentInstance('useRouter')?.proxy?.$router\n}\n\nexport interface LinkProps {\n href: string | undefined\n replace: boolean | undefined\n to: RouteLocationRaw | undefined\n exact: boolean | undefined\n}\n\nexport interface LinkListeners {\n onClick?: EventProp | undefined\n onClickOnce?: EventProp | undefined\n}\n\nexport interface UseLink extends Omit<Partial<ReturnType<typeof _useLink>>, 'href'> {\n isLink: ComputedRef<boolean>\n isClickable: ComputedRef<boolean>\n href: Ref<string | undefined>\n}\n\nexport function useLink (props: LinkProps & LinkListeners, attrs: SetupContext['attrs']): UseLink {\n const RouterLink = resolveDynamicComponent('RouterLink') as typeof _RouterLink | string\n\n const isLink = computed(() => !!(props.href || props.to))\n const isClickable = computed(() => {\n return isLink?.value || hasEvent(attrs, 'click') || hasEvent(props, 'click')\n })\n\n if (typeof RouterLink === 'string' || !('useLink' in RouterLink)) {\n return {\n isLink,\n isClickable,\n href: toRef(props, 'href'),\n }\n }\n // vue-router useLink `to` prop needs to be reactive and useLink will crash if undefined\n const linkProps = computed(() => ({\n ...props,\n to: toRef(() => props.to || ''),\n }))\n\n const routerLink = RouterLink.useLink(linkProps.value as UseLinkOptions)\n // Actual link needs to be undefined when to prop is not used\n const link = computed(() => props.to ? routerLink : undefined)\n const route = useRoute()\n\n return {\n isLink,\n isClickable,\n route: link.value?.route,\n navigate: link.value?.navigate,\n isActive: computed(() => {\n if (!link.value) return false\n if (!props.exact) return link.value.isActive?.value ?? false\n if (!route.value) return link.value.isExactActive?.value ?? false\n\n return link.value.isExactActive?.value && deepEqual(link.value.route.value.query, route.value.query)\n }),\n href: computed(() => props.to ? link.value?.route.value.href : props.href),\n }\n}\n\nexport const makeRouterProps = propsFactory({\n href: String,\n replace: Boolean,\n to: [String, Object] as PropType<RouteLocationRaw>,\n exact: Boolean,\n}, 'router')\n\nlet inTransition = false\nexport function useBackButton (router: Router | undefined, cb: (next: NavigationGuardNext) => void) {\n let popped = false\n let removeBefore: (() => void) | undefined\n let removeAfter: (() => void) | undefined\n\n if (IN_BROWSER) {\n nextTick(() => {\n window.addEventListener('popstate', onPopstate)\n removeBefore = router?.beforeEach((to, from, next) => {\n if (!inTransition) {\n setTimeout(() => popped ? cb(next) : next())\n } else {\n popped ? cb(next) : next()\n }\n inTransition = true\n })\n removeAfter = router?.afterEach(() => {\n inTransition = false\n })\n })\n onScopeDispose(() => {\n window.removeEventListener('popstate', onPopstate)\n removeBefore?.()\n removeAfter?.()\n })\n }\n\n function onPopstate (e: PopStateEvent) {\n if (e.state?.replaced) return\n\n popped = true\n setTimeout(() => (popped = false))\n }\n}\n"],"mappings":"AAAA;AACA,SACEA,QAAQ,EACRC,QAAQ,EACRC,cAAc,EACdC,uBAAuB,EACvBC,KAAK,QACA,KAAK;AAAA,SACHC,SAAS,EAAEC,kBAAkB,EAAEC,QAAQ,EAAEC,UAAU,EAAEC,YAAY,6BAE1E;AAaA,OAAO,SAASC,QAAQA,CAAA,EAAoD;EAC1E,MAAMC,EAAE,GAAGL,kBAAkB,CAAC,UAAU,CAAC;EAEzC,OAAON,QAAQ,CAAC,MAAMW,EAAE,EAAEC,KAAK,EAAEC,MAAM,CAAC;AAC1C;AAEA,OAAO,SAASC,SAASA,CAAA,EAAwB;EAC/C,OAAOR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I,CAACZ,YAAY,EAAE;UACjBa,UAAU,CAAC,MAAMT,MAAM,GAAGD,EAAE,CAACS,IAAI,CAAC,GAAGA,IAAI,CAAC,CAAC,CAAC;QAC9C,CAAC,MAAM;UACLR,MAAM,GAAGD,EAAE,CAACS,IAAI,CAAC,GAAGA,IAAI,CAAC,CAAC;QAC5B;QACAZ,YAAY,GAAG,IAAI;MACrB,CAAC,CAAC;MACFM,WAAW,GAAGJ,MAAM,EAAEY,SAAS,CAAC,MAAM;QACpCd,YAAY,GAAG,KAAK;MACtB,CAAC,CAAC;IACJ,CAAC,CAAC;IACFtC,cAAc,CAAC,MAAM;MACnB6C,MAAM,CAACQ,mBAAmB,CAAC,UAAU,EAAEN,UAAU,CAAC;MAClDJ,YAAY,GAAG,CAAC;MAChBC,WAAW,GAAG,CAAC;IACjB,CAAC,CAAC;EACJ;EAEA,SAASG,UAAUA,CAAEO,CAAgB,EAAE;IACrC,IAAIA,CAAC,CAACC,KAAK,EAAEC,QAAQ,EAAE;IAEvBd,MAAM,GAAG,IAAI;IACbS,UAAU,CAAC,MAAOT,MAAM,GAAG,KAAM,CAAC;EACpC;AACF","ignoreList":[]}
1
+ {"version":3,"file":"router.mjs","names":["computed","nextTick","onScopeDispose","reactive","resolveDynamicComponent","toRef","deepEqual","getCurrentInstance","hasEvent","IN_BROWSER","propsFactory","useRoute","vm","proxy","$route","useRouter","$router","useLink","props","attrs","RouterLink","isLink","href","to","isClickable","value","linkProps","routerLink","link","undefined","route","isActive","exact","isExactActive","query","navigate","makeRouterProps","String","replace","Boolean","Object","inTransition","useBackButton","router","cb","popped","removeBefore","removeAfter","window","addEventListener","onPopstate","beforeEach","from","next","setTimeout","afterEach","removeEventListener","e","state","replaced"],"sources":["../../src/composables/router.tsx"],"sourcesContent":["// Utilities\nimport {\n computed,\n nextTick,\n onScopeDispose, reactive,\n resolveDynamicComponent,\n toRef,\n} from 'vue'\nimport { deepEqual, getCurrentInstance, hasEvent, IN_BROWSER, propsFactory } from '@/util'\n\n// Types\nimport type { ComputedRef, PropType, Ref, SetupContext } from 'vue'\nimport type {\n RouterLink as _RouterLink,\n useLink as _useLink,\n NavigationGuardNext,\n RouteLocationNormalizedLoaded,\n RouteLocationRaw,\n Router,\n UseLinkOptions,\n} from 'vue-router'\nimport type { EventProp } from '@/util'\n\nexport function useRoute (): Ref<RouteLocationNormalizedLoaded | undefined> {\n const vm = getCurrentInstance('useRoute')\n\n return computed(() => vm?.proxy?.$route)\n}\n\nexport function useRouter (): Router | undefined {\n return getCurrentInstance('useRouter')?.proxy?.$router\n}\n\nexport interface LinkProps {\n href: string | undefined\n replace: boolean | undefined\n to: RouteLocationRaw | undefined\n exact: boolean | undefined\n}\n\nexport interface LinkListeners {\n onClick?: EventProp | undefined\n onClickOnce?: EventProp | undefined\n}\n\nexport interface UseLink extends Omit<Partial<ReturnType<typeof _useLink>>, 'href'> {\n isLink: ComputedRef<boolean>\n isClickable: ComputedRef<boolean>\n href: Ref<string | undefined>\n linkProps: Record<string, string | undefined>\n}\n\nexport function useLink (props: LinkProps & LinkListeners, attrs: SetupContext['attrs']): UseLink {\n const RouterLink = resolveDynamicComponent('RouterLink') as typeof _RouterLink | string\n\n const isLink = computed(() => !!(props.href || props.to))\n const isClickable = computed(() => {\n return isLink?.value || hasEvent(attrs, 'click') || hasEvent(props, 'click')\n })\n\n if (typeof RouterLink === 'string' || !('useLink' in RouterLink)) {\n const href = toRef(props, 'href')\n return {\n isLink,\n isClickable,\n href,\n linkProps: reactive({ href }),\n }\n }\n // vue-router useLink `to` prop needs to be reactive and useLink will crash if undefined\n const linkProps = computed(() => ({\n ...props,\n to: toRef(() => props.to || ''),\n }))\n\n const routerLink = RouterLink.useLink(linkProps.value as UseLinkOptions)\n // Actual link needs to be undefined when to prop is not used\n const link = computed(() => props.to ? routerLink : undefined)\n const route = useRoute()\n const isActive = computed(() => {\n if (!link.value) return false\n if (!props.exact) return link.value.isActive?.value ?? false\n if (!route.value) return link.value.isExactActive?.value ?? false\n\n return link.value.isExactActive?.value && deepEqual(link.value.route.value.query, route.value.query)\n })\n const href = computed(() => props.to ? link.value?.route.value.href : props.href)\n\n return {\n isLink,\n isClickable,\n isActive,\n route: link.value?.route,\n navigate: link.value?.navigate,\n href,\n linkProps: reactive({\n href,\n 'aria-current': computed(() => isActive.value ? 'page' : undefined),\n }),\n }\n}\n\nexport const makeRouterProps = propsFactory({\n href: String,\n replace: Boolean,\n to: [String, Object] as PropType<RouteLocationRaw>,\n exact: Boolean,\n}, 'router')\n\nlet inTransition = false\nexport function useBackButton (router: Router | undefined, cb: (next: NavigationGuardNext) => void) {\n let popped = false\n let removeBefore: (() => void) | undefined\n let removeAfter: (() => void) | undefined\n\n if (IN_BROWSER) {\n nextTick(() => {\n window.addEventListener('popstate', onPopstate)\n removeBefore = router?.beforeEach((to, from, next) => {\n if (!inTransition) {\n setTimeout(() => popped ? cb(next) : next())\n } else {\n popped ? cb(next) : next()\n }\n inTransition = true\n })\n removeAfter = router?.afterEach(() => {\n inTransition = false\n })\n })\n onScopeDispose(() => {\n window.removeEventListener('popstate', onPopstate)\n removeBefore?.()\n removeAfter?.()\n })\n }\n\n function onPopstate (e: PopStateEvent) {\n if (e.state?.replaced) return\n\n popped = true\n setTimeout(() => (popped = false))\n }\n}\n"],"mappings":"AAAA;AACA,SACEA,QAAQ,EACRC,QAAQ,EACRC,cAAc,EAAEC,QAAQ,EACxBC,uBAAuB,EACvBC,KAAK,QACA,KAAK;AAAA,SACHC,SAAS,EAAEC,kBAAkB,EAAEC,QAAQ,EAAEC,UAAU,EAAEC,YAAY,6BAE1E;AAaA,OAAO,SAASC,QAAQA,CAAA,EAAoD;EAC1E,MAAMC,EAAE,GAAGL,kBAAkB,CAAC,UAAU,CAAC;EAEzC,OAAOP,QAAQ,CAAC,MAAMY,EAAE,EAAEC,KAAK,EAAEC,MAAM,CAAC;AAC1C;AAEA,OAAO,SAASC,SAASA,CAAA,EAAwB;EAC/C,OAAOR,kBAAkB,CAAC,WAAW,CAAC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AIC,YAAsC;EAC1C,IAAIC,WAAqC;EAEzC,IAAItC,UAAU,EAAE;IACdR,QAAQ,CAAC,MAAM;MACb+C,MAAM,CAACC,gBAAgB,CAAC,UAAU,EAAEC,UAAU,CAAC;MAC/CJ,YAAY,GAAGH,MAAM,EAAEQ,UAAU,CAAC,CAAC5B,EAAE,EAAE6B,IAAI,EAAEC,IAAI,KAAK;QACpD,IAAI,CAACZ,YAAY,EAAE;UACjBa,UAAU,CAAC,MAAMT,MAAM,GAAGD,EAAE,CAACS,IAAI,CAAC,GAAGA,IAAI,CAAC,CAAC,CAAC;QAC9C,CAAC,MAAM;UACLR,MAAM,GAAGD,EAAE,CAACS,IAAI,CAAC,GAAGA,IAAI,CAAC,CAAC;QAC5B;QACAZ,YAAY,GAAG,IAAI;MACrB,CAAC,CAAC;MACFM,WAAW,GAAGJ,MAAM,EAAEY,SAAS,CAAC,MAAM;QACpCd,YAAY,GAAG,KAAK;MACtB,CAAC,CAAC;IACJ,CAAC,CAAC;IACFvC,cAAc,CAAC,MAAM;MACnB8C,MAAM,CAACQ,mBAAmB,CAAC,UAAU,EAAEN,UAAU,CAAC;MAClDJ,YAAY,GAAG,CAAC;MAChBC,WAAW,GAAG,CAAC;IACjB,CAAC,CAAC;EACJ;EAEA,SAASG,UAAUA,CAAEO,CAAgB,EAAE;IACrC,IAAIA,CAAC,CAACC,KAAK,EAAEC,QAAQ,EAAE;IAEvBd,MAAM,GAAG,IAAI;IACbS,UAAU,CAAC,MAAOT,MAAM,GAAG,KAAM,CAAC;EACpC;AACF","ignoreList":[]}
@@ -4,7 +4,7 @@ import { useDirectiveComponent } from "../../composables/directiveComponent.mjs"
4
4
  export const Tooltip = useDirectiveComponent(VTooltip, binding => {
5
5
  return {
6
6
  activator: 'parent',
7
- location: binding.arg?.replace('-', ' ') ?? 'top',
7
+ location: binding.arg?.replace('-', ' '),
8
8
  text: typeof binding.value === 'boolean' ? undefined : binding.value
9
9
  };
10
10
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":["VTooltip","useDirectiveComponent","Tooltip","binding","activator","location","arg","replace","text","value","undefined"],"sources":["../../../src/directives/tooltip/index.ts"],"sourcesContent":["// Components\nimport { VTooltip } from '@/components/VTooltip'\n\n// Composables\nimport { useDirectiveComponent } from '@/composables/directiveComponent'\n\n// Types\nimport type { DirectiveBinding } from 'vue'\nimport type { Anchor } from '@/util'\n\nexport interface TooltipDirectiveBinding extends Omit<DirectiveBinding<string>, 'arg' | 'value'> {\n arg?: { [T in Anchor]: T extends `${infer A} ${infer B}` ? `${A}-${B}` : T }[Anchor]\n value: boolean | string | Record<string, any>\n}\n\nexport const Tooltip = useDirectiveComponent<TooltipDirectiveBinding>(VTooltip, binding => {\n return {\n activator: 'parent',\n location: binding.arg?.replace('-', ' ') ?? 'top',\n text: typeof binding.value === 'boolean' ? undefined : binding.value,\n }\n})\n\nexport default Tooltip\n"],"mappings":"AAAA;AAAA,SACSA,QAAQ,+CAEjB;AAAA,SACSC,qBAAqB,oDAE9B;AASA,OAAO,MAAMC,OAAO,GAAGD,qBAAqB,CAA0BD,QAAQ,EAAEG,OAAO,IAAI;EACzF,OAAO;IACLC,SAAS,EAAE,QAAQ;IACnBC,QAAQ,EAAEF,OAAO,CAACG,GAAG,EAAEC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,IAAI,KAAK;IACjDC,IAAI,EAAE,OAAOL,OAAO,CAACM,KAAK,KAAK,SAAS,GAAGC,SAAS,GAAGP,OAAO,CAACM;EACjE,CAAC;AACH,CAAC,CAAC;AAEF,eAAeP,OAAO","ignoreList":[]}
1
+ {"version":3,"file":"index.mjs","names":["VTooltip","useDirectiveComponent","Tooltip","binding","activator","location","arg","replace","text","value","undefined"],"sources":["../../../src/directives/tooltip/index.ts"],"sourcesContent":["// Components\nimport { VTooltip } from '@/components/VTooltip'\n\n// Composables\nimport { useDirectiveComponent } from '@/composables/directiveComponent'\n\n// Types\nimport type { DirectiveBinding } from 'vue'\nimport type { Anchor } from '@/util'\n\nexport interface TooltipDirectiveBinding extends Omit<DirectiveBinding<string>, 'arg' | 'value'> {\n arg?: { [T in Anchor]: T extends `${infer A} ${infer B}` ? `${A}-${B}` : T }[Anchor]\n value: boolean | string | Record<string, any>\n}\n\nexport const Tooltip = useDirectiveComponent<TooltipDirectiveBinding>(VTooltip, binding => {\n return {\n activator: 'parent',\n location: binding.arg?.replace('-', ' '),\n text: typeof binding.value === 'boolean' ? undefined : binding.value,\n }\n})\n\nexport default Tooltip\n"],"mappings":"AAAA;AAAA,SACSA,QAAQ,+CAEjB;AAAA,SACSC,qBAAqB,oDAE9B;AASA,OAAO,MAAMC,OAAO,GAAGD,qBAAqB,CAA0BD,QAAQ,EAAEG,OAAO,IAAI;EACzF,OAAO;IACLC,SAAS,EAAE,QAAQ;IACnBC,QAAQ,EAAEF,OAAO,CAACG,GAAG,EAAEC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC;IACxCC,IAAI,EAAE,OAAOL,OAAO,CAACM,KAAK,KAAK,SAAS,GAAGC,SAAS,GAAGP,OAAO,CAACM;EACjE,CAAC;AACH,CAAC,CAAC;AAEF,eAAeP,OAAO","ignoreList":[]}
@@ -16,7 +16,7 @@ export const createVuetify = function () {
16
16
  ...options
17
17
  });
18
18
  };
19
- export const version = "3.7.1-master.2024-09-02";
19
+ export const version = "3.7.1-master.2024-09-04";
20
20
  createVuetify.version = version;
21
21
  export { blueprints, components, directives };
22
22
  export * from "./composables/index.mjs";
package/lib/framework.mjs CHANGED
@@ -97,7 +97,7 @@ export function createVuetify() {
97
97
  goTo
98
98
  };
99
99
  }
100
- export const version = "3.7.1-master.2024-09-02";
100
+ export const version = "3.7.1-master.2024-09-04";
101
101
  createVuetify.version = version;
102
102
 
103
103
  // Vue's inject() can only be used in setup
package/lib/index.d.mts CHANGED
@@ -486,24 +486,27 @@ declare module 'vue' {
486
486
  $children?: VNodeChild
487
487
  }
488
488
  export interface GlobalComponents {
489
+ VApp: typeof import('vuetify/components')['VApp']
490
+ VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
489
491
  VAppBar: typeof import('vuetify/components')['VAppBar']
490
492
  VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
491
493
  VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
492
- VApp: typeof import('vuetify/components')['VApp']
493
494
  VAlert: typeof import('vuetify/components')['VAlert']
494
495
  VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
495
- VAvatar: typeof import('vuetify/components')['VAvatar']
496
496
  VBanner: typeof import('vuetify/components')['VBanner']
497
497
  VBannerActions: typeof import('vuetify/components')['VBannerActions']
498
498
  VBannerText: typeof import('vuetify/components')['VBannerText']
499
- VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
500
- VBadge: typeof import('vuetify/components')['VBadge']
501
- VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
499
+ VAvatar: typeof import('vuetify/components')['VAvatar']
502
500
  VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
501
+ VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
502
+ VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
503
503
  VBtn: typeof import('vuetify/components')['VBtn']
504
504
  VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
505
505
  VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
506
506
  VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
507
+ VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
508
+ VCarousel: typeof import('vuetify/components')['VCarousel']
509
+ VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
507
510
  VCheckbox: typeof import('vuetify/components')['VCheckbox']
508
511
  VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
509
512
  VCard: typeof import('vuetify/components')['VCard']
@@ -512,15 +515,11 @@ declare module 'vue' {
512
515
  VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
513
516
  VCardText: typeof import('vuetify/components')['VCardText']
514
517
  VCardTitle: typeof import('vuetify/components')['VCardTitle']
515
- VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
516
- VCode: typeof import('vuetify/components')['VCode']
517
- VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
518
- VChip: typeof import('vuetify/components')['VChip']
519
- VCarousel: typeof import('vuetify/components')['VCarousel']
520
- VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
518
+ VChipGroup: typeof import('vuetify/components')['VChipGroup']
521
519
  VCombobox: typeof import('vuetify/components')['VCombobox']
520
+ VChip: typeof import('vuetify/components')['VChip']
521
+ VCode: typeof import('vuetify/components')['VCode']
522
522
  VColorPicker: typeof import('vuetify/components')['VColorPicker']
523
- VChipGroup: typeof import('vuetify/components')['VChipGroup']
524
523
  VDataTable: typeof import('vuetify/components')['VDataTable']
525
524
  VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
526
525
  VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
@@ -528,33 +527,33 @@ declare module 'vue' {
528
527
  VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
529
528
  VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
530
529
  VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
531
- VEmptyState: typeof import('vuetify/components')['VEmptyState']
532
- VCounter: typeof import('vuetify/components')['VCounter']
533
- VDialog: typeof import('vuetify/components')['VDialog']
534
530
  VDatePicker: typeof import('vuetify/components')['VDatePicker']
535
531
  VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
536
532
  VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
537
533
  VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
538
534
  VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
539
535
  VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
536
+ VDialog: typeof import('vuetify/components')['VDialog']
537
+ VCounter: typeof import('vuetify/components')['VCounter']
538
+ VEmptyState: typeof import('vuetify/components')['VEmptyState']
540
539
  VDivider: typeof import('vuetify/components')['VDivider']
541
- VFab: typeof import('vuetify/components')['VFab']
542
540
  VField: typeof import('vuetify/components')['VField']
543
541
  VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
542
+ VFab: typeof import('vuetify/components')['VFab']
544
543
  VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
545
544
  VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
546
545
  VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
547
546
  VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
548
- VFooter: typeof import('vuetify/components')['VFooter']
549
547
  VFileInput: typeof import('vuetify/components')['VFileInput']
548
+ VFooter: typeof import('vuetify/components')['VFooter']
550
549
  VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
550
+ VImg: typeof import('vuetify/components')['VImg']
551
+ VInput: typeof import('vuetify/components')['VInput']
551
552
  VIcon: typeof import('vuetify/components')['VIcon']
552
553
  VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
553
554
  VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
554
555
  VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
555
556
  VClassIcon: typeof import('vuetify/components')['VClassIcon']
556
- VImg: typeof import('vuetify/components')['VImg']
557
- VInput: typeof import('vuetify/components')['VInput']
558
557
  VKbd: typeof import('vuetify/components')['VKbd']
559
558
  VList: typeof import('vuetify/components')['VList']
560
559
  VListGroup: typeof import('vuetify/components')['VListGroup']
@@ -568,49 +567,50 @@ declare module 'vue' {
568
567
  VLabel: typeof import('vuetify/components')['VLabel']
569
568
  VItemGroup: typeof import('vuetify/components')['VItemGroup']
570
569
  VItem: typeof import('vuetify/components')['VItem']
570
+ VMenu: typeof import('vuetify/components')['VMenu']
571
571
  VMain: typeof import('vuetify/components')['VMain']
572
+ VOverlay: typeof import('vuetify/components')['VOverlay']
572
573
  VMessages: typeof import('vuetify/components')['VMessages']
573
- VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
574
574
  VOtpInput: typeof import('vuetify/components')['VOtpInput']
575
- VMenu: typeof import('vuetify/components')['VMenu']
575
+ VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
576
576
  VPagination: typeof import('vuetify/components')['VPagination']
577
577
  VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
578
578
  VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
579
- VOverlay: typeof import('vuetify/components')['VOverlay']
579
+ VBadge: typeof import('vuetify/components')['VBadge']
580
580
  VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
581
581
  VSelect: typeof import('vuetify/components')['VSelect']
582
582
  VRating: typeof import('vuetify/components')['VRating']
583
- VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
584
- VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
583
+ VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
585
584
  VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
586
585
  VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
587
- VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
586
+ VSlider: typeof import('vuetify/components')['VSlider']
587
+ VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
588
588
  VSheet: typeof import('vuetify/components')['VSheet']
589
589
  VSnackbar: typeof import('vuetify/components')['VSnackbar']
590
- VSystemBar: typeof import('vuetify/components')['VSystemBar']
591
- VTable: typeof import('vuetify/components')['VTable']
592
- VTab: typeof import('vuetify/components')['VTab']
593
- VTabs: typeof import('vuetify/components')['VTabs']
594
- VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
595
- VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
596
- VSlider: typeof import('vuetify/components')['VSlider']
590
+ VSwitch: typeof import('vuetify/components')['VSwitch']
597
591
  VStepper: typeof import('vuetify/components')['VStepper']
598
592
  VStepperActions: typeof import('vuetify/components')['VStepperActions']
599
593
  VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
600
594
  VStepperItem: typeof import('vuetify/components')['VStepperItem']
601
595
  VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
602
596
  VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
603
- VSwitch: typeof import('vuetify/components')['VSwitch']
597
+ VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
598
+ VSystemBar: typeof import('vuetify/components')['VSystemBar']
599
+ VTab: typeof import('vuetify/components')['VTab']
600
+ VTabs: typeof import('vuetify/components')['VTabs']
601
+ VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
602
+ VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
603
+ VTable: typeof import('vuetify/components')['VTable']
604
604
  VTextField: typeof import('vuetify/components')['VTextField']
605
605
  VTimeline: typeof import('vuetify/components')['VTimeline']
606
606
  VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
607
+ VTextarea: typeof import('vuetify/components')['VTextarea']
607
608
  VToolbar: typeof import('vuetify/components')['VToolbar']
608
609
  VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
609
610
  VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
610
- VTooltip: typeof import('vuetify/components')['VTooltip']
611
611
  VWindow: typeof import('vuetify/components')['VWindow']
612
612
  VWindowItem: typeof import('vuetify/components')['VWindowItem']
613
- VTextarea: typeof import('vuetify/components')['VTextarea']
613
+ VTooltip: typeof import('vuetify/components')['VTooltip']
614
614
  VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
615
615
  VDataIterator: typeof import('vuetify/components')['VDataIterator']
616
616
  VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
@@ -632,8 +632,8 @@ declare module 'vue' {
632
632
  VSparkline: typeof import('vuetify/components')['VSparkline']
633
633
  VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
634
634
  VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
635
- VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
636
635
  VValidation: typeof import('vuetify/components')['VValidation']
636
+ VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
637
637
  VFabTransition: typeof import('vuetify/components')['VFabTransition']
638
638
  VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
639
639
  VDialogTopTransition: typeof import('vuetify/components')['VDialogTopTransition']
@@ -656,15 +656,15 @@ declare module 'vue' {
656
656
  VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
657
657
  VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
658
658
  VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
659
- VPicker: typeof import('vuetify/labs/components')['VPicker']
660
- VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
661
659
  VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
662
- VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
663
- VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
664
- VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
665
660
  VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
666
661
  VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
667
662
  VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
663
+ VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
664
+ VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
665
+ VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
666
+ VPicker: typeof import('vuetify/labs/components')['VPicker']
667
+ VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
668
668
  VTreeview: typeof import('vuetify/labs/components')['VTreeview']
669
669
  VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
670
670
  VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
@@ -108,7 +108,7 @@ declare const VDateInput: {
108
108
  maxWidth?: string | number | undefined;
109
109
  minHeight?: string | number | undefined;
110
110
  minWidth?: string | number | undefined;
111
- position?: "fixed" | "absolute" | "static" | "sticky" | "relative" | undefined;
111
+ position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
112
112
  loading?: string | boolean | undefined;
113
113
  label?: string | undefined;
114
114
  text?: string | undefined;
@@ -118,8 +118,8 @@ declare const VDateInput: {
118
118
  month?: string | number | undefined;
119
119
  year?: number | undefined;
120
120
  class?: any;
121
- elevation?: string | number | undefined;
122
121
  theme?: string | undefined;
122
+ elevation?: string | number | undefined;
123
123
  counter?: string | number | boolean | undefined;
124
124
  'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
125
125
  modelValue?: any;
@@ -221,7 +221,7 @@ declare const VDateInput: {
221
221
  maxWidth?: string | number | undefined;
222
222
  minHeight?: string | number | undefined;
223
223
  minWidth?: string | number | undefined;
224
- position?: "fixed" | "absolute" | "static" | "sticky" | "relative" | undefined;
224
+ position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
225
225
  loading?: string | boolean | undefined;
226
226
  label?: string | undefined;
227
227
  text?: string | undefined;
@@ -231,8 +231,8 @@ declare const VDateInput: {
231
231
  month?: string | number | undefined;
232
232
  year?: number | undefined;
233
233
  class?: any;
234
- elevation?: string | number | undefined;
235
234
  theme?: string | undefined;
235
+ elevation?: string | number | undefined;
236
236
  counter?: string | number | boolean | undefined;
237
237
  'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
238
238
  modelValue?: any;
@@ -392,7 +392,7 @@ declare const VDateInput: {
392
392
  maxWidth?: string | number | undefined;
393
393
  minHeight?: string | number | undefined;
394
394
  minWidth?: string | number | undefined;
395
- position?: "fixed" | "absolute" | "static" | "sticky" | "relative" | undefined;
395
+ position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
396
396
  loading?: string | boolean | undefined;
397
397
  label?: string | undefined;
398
398
  text?: string | undefined;
@@ -402,8 +402,8 @@ declare const VDateInput: {
402
402
  month?: string | number | undefined;
403
403
  year?: number | undefined;
404
404
  class?: any;
405
- elevation?: string | number | undefined;
406
405
  theme?: string | undefined;
406
+ elevation?: string | number | undefined;
407
407
  counter?: string | number | boolean | undefined;
408
408
  'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
409
409
  modelValue?: any;
@@ -558,7 +558,7 @@ declare const VDateInput: {
558
558
  maxWidth?: string | number | undefined;
559
559
  minHeight?: string | number | undefined;
560
560
  minWidth?: string | number | undefined;
561
- position?: "fixed" | "absolute" | "static" | "sticky" | "relative" | undefined;
561
+ position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
562
562
  loading?: string | boolean | undefined;
563
563
  label?: string | undefined;
564
564
  text?: string | undefined;
@@ -568,8 +568,8 @@ declare const VDateInput: {
568
568
  month?: string | number | undefined;
569
569
  year?: number | undefined;
570
570
  class?: any;
571
- elevation?: string | number | undefined;
572
571
  theme?: string | undefined;
572
+ elevation?: string | number | undefined;
573
573
  counter?: string | number | boolean | undefined;
574
574
  'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
575
575
  modelValue?: any;
@@ -674,7 +674,7 @@ declare const VDateInput: {
674
674
  minHeight: (StringConstructor | NumberConstructor)[];
675
675
  minWidth: (StringConstructor | NumberConstructor)[];
676
676
  position: {
677
- type: vue.PropType<"fixed" | "absolute" | "static" | "sticky" | "relative">;
677
+ type: vue.PropType<"fixed" | "absolute" | "relative" | "static" | "sticky">;
678
678
  validator: (v: any) => boolean;
679
679
  };
680
680
  transition: {
@@ -699,6 +699,7 @@ declare const VDateInput: {
699
699
  month: (StringConstructor | NumberConstructor)[];
700
700
  year: NumberConstructor;
701
701
  class: vue.PropType<ClassValue>;
702
+ theme: StringConstructor;
702
703
  tag: {
703
704
  type: StringConstructor;
704
705
  default: string;
@@ -708,7 +709,6 @@ declare const VDateInput: {
708
709
  type: (StringConstructor | NumberConstructor)[];
709
710
  validator(v: any): boolean;
710
711
  };
711
- theme: StringConstructor;
712
712
  modelValue: null;
713
713
  rounded: {
714
714
  type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
@@ -890,7 +890,7 @@ declare const VDateInput: {
890
890
  minHeight: (StringConstructor | NumberConstructor)[];
891
891
  minWidth: (StringConstructor | NumberConstructor)[];
892
892
  position: {
893
- type: vue.PropType<"fixed" | "absolute" | "static" | "sticky" | "relative">;
893
+ type: vue.PropType<"fixed" | "absolute" | "relative" | "static" | "sticky">;
894
894
  validator: (v: any) => boolean;
895
895
  };
896
896
  transition: {
@@ -915,6 +915,7 @@ declare const VDateInput: {
915
915
  month: (StringConstructor | NumberConstructor)[];
916
916
  year: NumberConstructor;
917
917
  class: vue.PropType<ClassValue>;
918
+ theme: StringConstructor;
918
919
  tag: {
919
920
  type: StringConstructor;
920
921
  default: string;
@@ -924,7 +925,6 @@ declare const VDateInput: {
924
925
  type: (StringConstructor | NumberConstructor)[];
925
926
  validator(v: any): boolean;
926
927
  };
927
- theme: StringConstructor;
928
928
  modelValue: null;
929
929
  rounded: {
930
930
  type: (StringConstructor | BooleanConstructor | NumberConstructor)[];