@vuetify/nightly 3.6.0-alpha.2-dev.2024-04-30 → 3.6.1-dev.2024-05-01

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 (115) hide show
  1. package/CHANGELOG.md +2 -102
  2. package/dist/_component-variables-labs.sass +0 -2
  3. package/dist/_component-variables.sass +2 -0
  4. package/dist/json/importMap-labs.json +28 -48
  5. package/dist/json/importMap.json +152 -132
  6. package/dist/json/web-types.json +1 -1
  7. package/dist/vuetify-labs.css +2517 -2517
  8. package/dist/vuetify-labs.d.ts +4811 -4811
  9. package/dist/vuetify-labs.esm.js +10062 -10058
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +10062 -10058
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.css +978 -801
  14. package/dist/vuetify.d.ts +2858 -560
  15. package/dist/vuetify.esm.js +1724 -893
  16. package/dist/vuetify.esm.js.map +1 -1
  17. package/dist/vuetify.js +1724 -893
  18. package/dist/vuetify.js.map +1 -1
  19. package/dist/vuetify.min.css +2 -2
  20. package/dist/vuetify.min.js +616 -561
  21. package/dist/vuetify.min.js.map +1 -1
  22. package/lib/{labs → components}/VConfirmEdit/VConfirmEdit.mjs +1 -1
  23. package/lib/components/VConfirmEdit/VConfirmEdit.mjs.map +1 -0
  24. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.cy.mjs.map +1 -0
  25. package/lib/components/VConfirmEdit/index.mjs.map +1 -0
  26. package/lib/components/VDatePicker/VDatePicker.mjs +4 -4
  27. package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
  28. package/lib/{labs → components}/VEmptyState/VEmptyState.mjs +4 -4
  29. package/lib/components/VEmptyState/VEmptyState.mjs.map +1 -0
  30. package/lib/components/VEmptyState/index.mjs.map +1 -0
  31. package/lib/{labs → components}/VFab/VFab.mjs +1 -1
  32. package/lib/components/VFab/VFab.mjs.map +1 -0
  33. package/lib/components/VFab/index.mjs.map +1 -0
  34. package/lib/components/VSnackbar/VSnackbar.mjs +12 -5
  35. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  36. package/lib/components/VSparkline/VBarline.mjs.map +1 -0
  37. package/lib/components/VSparkline/VSparkline.mjs +44 -320
  38. package/lib/components/VSparkline/VSparkline.mjs.map +1 -1
  39. package/lib/components/VSparkline/VTrendline.mjs.map +1 -0
  40. package/lib/components/VSparkline/index.mjs +1 -3
  41. package/lib/components/VSparkline/index.mjs.map +1 -1
  42. package/lib/components/VSparkline/util/line.mjs.map +1 -0
  43. package/lib/components/VSparkline/util/path.mjs.map +1 -0
  44. package/lib/components/VSpeedDial/VSpeedDial.mjs +68 -85
  45. package/lib/components/VSpeedDial/VSpeedDial.mjs.map +1 -1
  46. package/lib/components/VSpeedDial/VSpeedDial.sass +20 -72
  47. package/lib/components/VSpeedDial/index.mjs +1 -3
  48. package/lib/components/VSpeedDial/index.mjs.map +1 -1
  49. package/lib/components/index.d.mts +2840 -547
  50. package/lib/components/index.mjs +6 -2
  51. package/lib/components/index.mjs.map +1 -1
  52. package/lib/composables/directiveComponent.mjs +1 -1
  53. package/lib/composables/directiveComponent.mjs.map +1 -1
  54. package/lib/entry-bundler.mjs +1 -1
  55. package/lib/entry-bundler.mjs.map +1 -1
  56. package/lib/framework.mjs +1 -1
  57. package/lib/framework.mjs.map +1 -1
  58. package/lib/index.d.mts +53 -53
  59. package/lib/labs/VDateInput/VDateInput.mjs +2 -2
  60. package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
  61. package/lib/labs/VDateInput/index.d.mts +14 -14
  62. package/lib/labs/components.d.mts +1628 -3945
  63. package/lib/labs/components.mjs +0 -5
  64. package/lib/labs/components.mjs.map +1 -1
  65. package/lib/locale/ko.mjs +8 -8
  66. package/lib/locale/ko.mjs.map +1 -1
  67. package/package.json +1 -1
  68. package/lib/components/VSparkline/helpers/core.mjs +0 -49
  69. package/lib/components/VSparkline/helpers/core.mjs.map +0 -1
  70. package/lib/components/VSparkline/helpers/math.mjs +0 -34
  71. package/lib/components/VSparkline/helpers/math.mjs.map +0 -1
  72. package/lib/components/VSparkline/helpers/path.mjs +0 -27
  73. package/lib/components/VSparkline/helpers/path.mjs.map +0 -1
  74. package/lib/components/VSpeedDial/_variables.scss +0 -5
  75. package/lib/labs/VConfirmEdit/VConfirmEdit.mjs.map +0 -1
  76. package/lib/labs/VConfirmEdit/__test__/VConfirmEdit.spec.cy.mjs.map +0 -1
  77. package/lib/labs/VConfirmEdit/index.mjs.map +0 -1
  78. package/lib/labs/VEmptyState/VEmptyState.mjs.map +0 -1
  79. package/lib/labs/VEmptyState/index.mjs.map +0 -1
  80. package/lib/labs/VFab/VFab.mjs.map +0 -1
  81. package/lib/labs/VFab/index.mjs.map +0 -1
  82. package/lib/labs/VSparkline/VBarline.mjs.map +0 -1
  83. package/lib/labs/VSparkline/VSparkline.mjs +0 -49
  84. package/lib/labs/VSparkline/VSparkline.mjs.map +0 -1
  85. package/lib/labs/VSparkline/VTrendline.mjs.map +0 -1
  86. package/lib/labs/VSparkline/index.mjs +0 -2
  87. package/lib/labs/VSparkline/index.mjs.map +0 -1
  88. package/lib/labs/VSparkline/util/line.mjs.map +0 -1
  89. package/lib/labs/VSparkline/util/path.mjs.map +0 -1
  90. package/lib/labs/VSpeedDial/VSpeedDial.mjs +0 -77
  91. package/lib/labs/VSpeedDial/VSpeedDial.mjs.map +0 -1
  92. package/lib/labs/VSpeedDial/VSpeedDial.sass +0 -27
  93. package/lib/labs/VSpeedDial/index.mjs +0 -2
  94. package/lib/labs/VSpeedDial/index.mjs.map +0 -1
  95. /package/lib/{labs → components}/VConfirmEdit/__test__/VConfirmEdit.spec.cy.mjs +0 -0
  96. /package/lib/{labs → components}/VConfirmEdit/index.d.mts +0 -0
  97. /package/lib/{labs → components}/VConfirmEdit/index.mjs +0 -0
  98. /package/lib/{labs → components}/VEmptyState/VEmptyState.css +0 -0
  99. /package/lib/{labs → components}/VEmptyState/VEmptyState.sass +0 -0
  100. /package/lib/{labs → components}/VEmptyState/_variables.scss +0 -0
  101. /package/lib/{labs → components}/VEmptyState/index.d.mts +0 -0
  102. /package/lib/{labs → components}/VEmptyState/index.mjs +0 -0
  103. /package/lib/{labs → components}/VFab/VFab.css +0 -0
  104. /package/lib/{labs → components}/VFab/VFab.sass +0 -0
  105. /package/lib/{labs → components}/VFab/_mixins.scss +0 -0
  106. /package/lib/{labs → components}/VFab/_variables.scss +0 -0
  107. /package/lib/{labs → components}/VFab/index.d.mts +0 -0
  108. /package/lib/{labs → components}/VFab/index.mjs +0 -0
  109. /package/lib/{labs → components}/VSparkline/VBarline.mjs +0 -0
  110. /package/lib/{labs → components}/VSparkline/VTrendline.mjs +0 -0
  111. /package/lib/{labs → components}/VSparkline/index.d.mts +0 -0
  112. /package/lib/{labs → components}/VSparkline/util/line.mjs +0 -0
  113. /package/lib/{labs → components}/VSparkline/util/path.mjs +0 -0
  114. /package/lib/{labs → components}/VSpeedDial/VSpeedDial.css +0 -0
  115. /package/lib/{labs → components}/VSpeedDial/index.d.mts +0 -0
@@ -19,6 +19,7 @@ export * from "./VChipGroup/index.mjs";
19
19
  export * from "./VCode/index.mjs";
20
20
  export * from "./VColorPicker/index.mjs"; // export * from './VContent'
21
21
  export * from "./VCombobox/index.mjs";
22
+ export * from "./VConfirmEdit/index.mjs";
22
23
  export * from "./VCounter/index.mjs";
23
24
  export * from "./VDataIterator/index.mjs";
24
25
  export * from "./VDataTable/index.mjs";
@@ -26,7 +27,9 @@ export * from "./VDatePicker/index.mjs";
26
27
  export * from "./VDefaultsProvider/index.mjs";
27
28
  export * from "./VDialog/index.mjs";
28
29
  export * from "./VDivider/index.mjs";
30
+ export * from "./VEmptyState/index.mjs";
29
31
  export * from "./VExpansionPanel/index.mjs";
32
+ export * from "./VFab/index.mjs";
30
33
  export * from "./VField/index.mjs";
31
34
  export * from "./VFileInput/index.mjs";
32
35
  export * from "./VFooter/index.mjs";
@@ -67,8 +70,9 @@ export * from "./VSheet/index.mjs";
67
70
  export * from "./VSkeletonLoader/index.mjs";
68
71
  export * from "./VSlideGroup/index.mjs";
69
72
  export * from "./VSlider/index.mjs";
70
- export * from "./VSnackbar/index.mjs"; // export * from './VSparkline'
71
- // export * from './VSpeedDial'
73
+ export * from "./VSnackbar/index.mjs";
74
+ export * from "./VSparkline/index.mjs";
75
+ export * from "./VSpeedDial/index.mjs";
72
76
  export * from "./VStepper/index.mjs";
73
77
  export * from "./VSwitch/index.mjs";
74
78
  export * from "./VSystemBar/index.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../../src/components/index.ts"],"sourcesContent":["export * from './VApp'\nexport * from './VAppBar'\nexport * from './VAlert'\nexport * from './VAutocomplete'\nexport * from './VAvatar'\nexport * from './VBadge'\nexport * from './VBanner'\nexport * from './VBottomNavigation'\nexport * from './VBottomSheet'\nexport * from './VBreadcrumbs'\nexport * from './VBtn'\nexport * from './VBtnGroup'\nexport * from './VBtnToggle'\n// export * from './VCalendar'\nexport * from './VCard'\nexport * from './VCarousel'\nexport * from './VCheckbox'\nexport * from './VChip'\nexport * from './VChipGroup'\nexport * from './VCode'\nexport * from './VColorPicker'\n// export * from './VContent'\nexport * from './VCombobox'\nexport * from './VCounter'\nexport * from './VDataIterator'\nexport * from './VDataTable'\nexport * from './VDatePicker'\nexport * from './VDefaultsProvider'\nexport * from './VDialog'\nexport * from './VDivider'\nexport * from './VExpansionPanel'\nexport * from './VField'\nexport * from './VFileInput'\nexport * from './VFooter'\nexport * from './VForm'\nexport * from './VGrid'\nexport * from './VHover'\nexport * from './VIcon'\nexport * from './VImg'\nexport * from './VInfiniteScroll'\nexport * from './VInput'\nexport * from './VItemGroup'\nexport * from './VKbd'\nexport * from './VLabel'\nexport * from './VLayout'\nexport * from './VLazy'\nexport * from './VList'\nexport * from './VLocaleProvider'\nexport * from './VMain'\nexport * from './VMenu'\nexport * from './VMessages'\nexport * from './VNavigationDrawer'\nexport * from './VNoSsr'\nexport * from './VOtpInput'\n// export * from './VOverflowBtn'\nexport * from './VOverlay'\nexport * from './VPagination'\nexport * from './VParallax'\nexport * from './VProgressCircular'\nexport * from './VProgressLinear'\nexport * from './VRadio'\nexport * from './VRadioGroup'\nexport * from './VRangeSlider'\nexport * from './VRating'\nexport * from './VResponsive'\nexport * from './VSelect'\nexport * from './VSelectionControl'\nexport * from './VSelectionControlGroup'\nexport * from './VSheet'\nexport * from './VSkeletonLoader'\nexport * from './VSlideGroup'\nexport * from './VSlider'\nexport * from './VSnackbar'\n// export * from './VSparkline'\n// export * from './VSpeedDial'\nexport * from './VStepper'\nexport * from './VSwitch'\nexport * from './VSystemBar'\nexport * from './VTabs'\nexport * from './VTable'\nexport * from './VTextarea'\nexport * from './VTextField'\nexport * from './VThemeProvider'\nexport * from './VTimeline'\n// export * from './VTimePicker'\nexport * from './VToolbar'\nexport * from './VTooltip'\n// export * from './VTreeview'\nexport * from './VValidation'\nexport * from './VVirtualScroll'\nexport * from './VWindow'\nexport * from './transitions'\n"],"mappings":";;;;;;;;;;;;wCAaA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0CAQA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uCAiCA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uCAmBA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uCAUA;AAAA;AAAA,sCAGA;AAAA;AAAA;AAAA;AAAA","ignoreList":[]}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../src/components/index.ts"],"sourcesContent":["export * from './VApp'\nexport * from './VAppBar'\nexport * from './VAlert'\nexport * from './VAutocomplete'\nexport * from './VAvatar'\nexport * from './VBadge'\nexport * from './VBanner'\nexport * from './VBottomNavigation'\nexport * from './VBottomSheet'\nexport * from './VBreadcrumbs'\nexport * from './VBtn'\nexport * from './VBtnGroup'\nexport * from './VBtnToggle'\n// export * from './VCalendar'\nexport * from './VCard'\nexport * from './VCarousel'\nexport * from './VCheckbox'\nexport * from './VChip'\nexport * from './VChipGroup'\nexport * from './VCode'\nexport * from './VColorPicker'\n// export * from './VContent'\nexport * from './VCombobox'\nexport * from './VConfirmEdit'\nexport * from './VCounter'\nexport * from './VDataIterator'\nexport * from './VDataTable'\nexport * from './VDatePicker'\nexport * from './VDefaultsProvider'\nexport * from './VDialog'\nexport * from './VDivider'\nexport * from './VEmptyState'\nexport * from './VExpansionPanel'\nexport * from './VFab'\nexport * from './VField'\nexport * from './VFileInput'\nexport * from './VFooter'\nexport * from './VForm'\nexport * from './VGrid'\nexport * from './VHover'\nexport * from './VIcon'\nexport * from './VImg'\nexport * from './VInfiniteScroll'\nexport * from './VInput'\nexport * from './VItemGroup'\nexport * from './VKbd'\nexport * from './VLabel'\nexport * from './VLayout'\nexport * from './VLazy'\nexport * from './VList'\nexport * from './VLocaleProvider'\nexport * from './VMain'\nexport * from './VMenu'\nexport * from './VMessages'\nexport * from './VNavigationDrawer'\nexport * from './VNoSsr'\nexport * from './VOtpInput'\n// export * from './VOverflowBtn'\nexport * from './VOverlay'\nexport * from './VPagination'\nexport * from './VParallax'\nexport * from './VProgressCircular'\nexport * from './VProgressLinear'\nexport * from './VRadio'\nexport * from './VRadioGroup'\nexport * from './VRangeSlider'\nexport * from './VRating'\nexport * from './VResponsive'\nexport * from './VSelect'\nexport * from './VSelectionControl'\nexport * from './VSelectionControlGroup'\nexport * from './VSheet'\nexport * from './VSkeletonLoader'\nexport * from './VSlideGroup'\nexport * from './VSlider'\nexport * from './VSnackbar'\nexport * from './VSparkline'\nexport * from './VSpeedDial'\nexport * from './VStepper'\nexport * from './VSwitch'\nexport * from './VSystemBar'\nexport * from './VTabs'\nexport * from './VTable'\nexport * from './VTextarea'\nexport * from './VTextField'\nexport * from './VThemeProvider'\nexport * from './VTimeline'\n// export * from './VTimePicker'\nexport * from './VToolbar'\nexport * from './VTooltip'\n// export * from './VTreeview'\nexport * from './VValidation'\nexport * from './VVirtualScroll'\nexport * from './VWindow'\nexport * from './transitions'\n"],"mappings":";;;;;;;;;;;;wCAaA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0CAQA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uCAoCA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uCA8BA;AAAA;AAAA,sCAGA;AAAA;AAAA;AAAA;AAAA","ignoreList":[]}
@@ -15,7 +15,7 @@ export function useDirectiveComponent(component, props) {
15
15
  function mountComponent(component, props) {
16
16
  return function (el, binding, vnode) {
17
17
  const _props = typeof props === 'function' ? props(binding) : props;
18
- const text = binding.value?.text ?? binding.value;
18
+ const text = binding.value?.text ?? binding.value ?? _props?.text;
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
@@ -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\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,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,S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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","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,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,OAAO,CAACI,KAAK,GAAG,CAAC,CAAC;;IAE1D;IACA,MAAMC,QAAQ,GAAGA,CAAA,KAAMF,IAAI,IAAIJ,EAAE,CAACO,SAAS;;IAE3C;IACA;IACA,MAAMC,QAAQ,GAAG,CAACN,KAAK,CAACO,GAAG,KAAKR,OAAO,CAACS,QAAQ,CAAEC,CAAC,GAC/CC,mBAAmB,CAACV,KAAK,EA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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":[]}
@@ -16,7 +16,7 @@ export const createVuetify = function () {
16
16
  ...options
17
17
  });
18
18
  };
19
- export const version = "3.6.0-alpha.2-dev.2024-04-30";
19
+ export const version = "3.6.1-dev.2024-05-01";
20
20
  createVuetify.version = version;
21
21
  export { blueprints, components, directives };
22
22
  export * from "./composables/index.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"entry-bundler.mjs","names":["blueprints","components","directives","createVuetify","_createVuetify","options","arguments","length","undefined","version"],"sources":["../src/entry-bundler.ts"],"sourcesContent":["/* eslint-disable local-rules/sort-imports */\n\n// Styles\nimport './styles/main.sass'\n\n// Components\nimport * as blueprints from './blueprints'\nimport * as components from './components'\nimport * as directives from './directives'\nimport { createVuetify as _createVuetify } from './framework'\n\n// Types\nimport type { VuetifyOptions } from './framework'\n\nexport const createVuetify = (options: VuetifyOptions = {}) => {\n return _createVuetify({ components, directives, ...options })\n}\n\nexport const version = __VUETIFY_VERSION__\ncreateVuetify.version = version\n\nexport {\n blueprints,\n components,\n directives,\n}\nexport * from './composables'\n"],"mappings":"AAAA;;AAEA;AACA;;AAEA;AAAA,OACO,KAAKA,UAAU;AAAA,OACf,KAAKC,UAAU;AAAA,OACf,KAAKC,UAAU;AAAA,SACbC,aAAa,IAAIC,cAAc,2BAExC;AAGA,OAAO,MAAMD,aAAa,GAAG,SAAAA,CAAA,EAAkC;EAAA,IAAjCE,OAAuB,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EACxD,OAAOF,cAAc,CAAC;IAAEH,UAAU;IAAEC,UAAU;IAAE,GAAGG;EAAQ,CAAC,CAAC;AAC/D,CAAC;AAED,OAAO,MAAMI,OAAO,iCAAsB;AAC1CN,aAAa,CAACM,OAAO,GAAGA,OAAO;AAE/B,SACET,UAAU,EACVC,UAAU,EACVC,UAAU;AACX","ignoreList":[]}
1
+ {"version":3,"file":"entry-bundler.mjs","names":["blueprints","components","directives","createVuetify","_createVuetify","options","arguments","length","undefined","version"],"sources":["../src/entry-bundler.ts"],"sourcesContent":["/* eslint-disable local-rules/sort-imports */\n\n// Styles\nimport './styles/main.sass'\n\n// Components\nimport * as blueprints from './blueprints'\nimport * as components from './components'\nimport * as directives from './directives'\nimport { createVuetify as _createVuetify } from './framework'\n\n// Types\nimport type { VuetifyOptions } from './framework'\n\nexport const createVuetify = (options: VuetifyOptions = {}) => {\n return _createVuetify({ components, directives, ...options })\n}\n\nexport const version = __VUETIFY_VERSION__\ncreateVuetify.version = version\n\nexport {\n blueprints,\n components,\n directives,\n}\nexport * from './composables'\n"],"mappings":"AAAA;;AAEA;AACA;;AAEA;AAAA,OACO,KAAKA,UAAU;AAAA,OACf,KAAKC,UAAU;AAAA,OACf,KAAKC,UAAU;AAAA,SACbC,aAAa,IAAIC,cAAc,2BAExC;AAGA,OAAO,MAAMD,aAAa,GAAG,SAAAA,CAAA,EAAkC;EAAA,IAAjCE,OAAuB,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EACxD,OAAOF,cAAc,CAAC;IAAEH,UAAU;IAAEC,UAAU;IAAE,GAAGG;EAAQ,CAAC,CAAC;AAC/D,CAAC;AAED,OAAO,MAAMI,OAAO,yBAAsB;AAC1CN,aAAa,CAACM,OAAO,GAAGA,OAAO;AAE/B,SACET,UAAU,EACVC,UAAU,EACVC,UAAU;AACX","ignoreList":[]}
package/lib/framework.mjs CHANGED
@@ -97,7 +97,7 @@ export function createVuetify() {
97
97
  goTo
98
98
  };
99
99
  }
100
- export const version = "3.6.0-alpha.2-dev.2024-04-30";
100
+ export const version = "3.6.1-dev.2024-05-01";
101
101
  createVuetify.version = version;
102
102
 
103
103
  // Vue's inject() can only be used in setup
@@ -1 +1 @@
1
- {"version":3,"file":"framework.mjs","names":["createDate","DateAdapterSymbol","DateOptionsSymbol","createDefaults","DefaultsSymbol","createDisplay","DisplaySymbol","createGoTo","GoToSymbol","createIcons","IconSymbol","createLocale","LocaleSymbol","createTheme","ThemeSymbol","nextTick","reactive","defineComponent","getUid","IN_BROWSER","mergeDeep","createVuetify","vuetify","arguments","length","undefined","blueprint","rest","options","aliases","components","directives","defaults","display","ssr","theme","icons","locale","date","goTo","install","app","key","directive","component","name","aliasName","provide","instance","$nuxt","hook","update","mount","vm","reset","__VUE_OPTIONS_API__","mixin","computed","$vuetify","inject","call","version","$","provides","parent","vnode","appContext"],"sources":["../src/framework.ts"],"sourcesContent":["// Composables\nimport { createDate, DateAdapterSymbol, DateOptionsSymbol } from '@/composables/date/date'\nimport { createDefaults, DefaultsSymbol } from '@/composables/defaults'\nimport { createDisplay, DisplaySymbol } from '@/composables/display'\nimport { createGoTo, GoToSymbol } from '@/composables/goto'\nimport { createIcons, IconSymbol } from '@/composables/icons'\nimport { createLocale, LocaleSymbol } from '@/composables/locale'\nimport { createTheme, ThemeSymbol } from '@/composables/theme'\n\n// Utilities\nimport { nextTick, reactive } from 'vue'\nimport { defineComponent, getUid, IN_BROWSER, mergeDeep } from '@/util'\n\n// Types\nimport type { App, ComponentPublicInstance, InjectionKey } from 'vue'\nimport type { DateOptions } from '@/composables/date'\nimport type { DefaultsOptions } from '@/composables/defaults'\nimport type { DisplayOptions, SSROptions } from '@/composables/display'\nimport type { GoToOptions } from '@/composables/goto'\nimport type { IconOptions } from '@/composables/icons'\nimport type { LocaleOptions, RtlOptions } from '@/composables/locale'\nimport type { ThemeOptions } from '@/composables/theme'\nexport * from './composables'\nexport type { DateOptions, DateInstance, DateModule } from '@/composables/date'\n\nexport interface VuetifyOptions {\n aliases?: Record<string, any>\n blueprint?: Blueprint\n components?: Record<string, any>\n date?: DateOptions\n directives?: Record<string, any>\n defaults?: DefaultsOptions\n display?: DisplayOptions\n goTo?: GoToOptions\n theme?: ThemeOptions\n icons?: IconOptions\n locale?: LocaleOptions & RtlOptions\n ssr?: SSROptions\n}\n\nexport interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {}\n\nexport function createVuetify (vuetify: VuetifyOptions = {}) {\n const { blueprint, ...rest } = vuetify\n const options: VuetifyOptions = mergeDeep(blueprint, rest)\n const {\n aliases = {},\n components = {},\n directives = {},\n } = options\n\n const defaults = createDefaults(options.defaults)\n const display = createDisplay(options.display, options.ssr)\n const theme = createTheme(options.theme)\n const icons = createIcons(options.icons)\n const locale = createLocale(options.locale)\n const date = createDate(options.date, locale)\n const goTo = createGoTo(options.goTo, locale)\n\n const install = (app: App) => {\n for (const key in directives) {\n app.directive(key, directives[key])\n }\n\n for (const key in components) {\n app.component(key, components[key])\n }\n\n for (const key in aliases) {\n app.component(key, defineComponent({\n ...aliases[key],\n name: key,\n aliasName: aliases[key].name,\n }))\n }\n\n theme.install(app)\n\n app.provide(DefaultsSymbol, defaults)\n app.provide(DisplaySymbol, display)\n app.provide(ThemeSymbol, theme)\n app.provide(IconSymbol, icons)\n app.provide(LocaleSymbol, locale)\n app.provide(DateOptionsSymbol, date.options)\n app.provide(DateAdapterSymbol, date.instance)\n app.provide(GoToSymbol, goTo)\n\n if (IN_BROWSER && options.ssr) {\n if (app.$nuxt) {\n app.$nuxt.hook('app:suspense:resolve', () => {\n display.update()\n })\n } else {\n const { mount } = app\n app.mount = (...args) => {\n const vm = mount(...args)\n nextTick(() => display.update())\n app.mount = mount\n return vm\n }\n }\n }\n\n getUid.reset()\n\n if (typeof __VUE_OPTIONS_API__ !== 'boolean' || __VUE_OPTIONS_API__) {\n app.mixin({\n computed: {\n $vuetify () {\n return reactive({\n defaults: inject.call(this, DefaultsSymbol),\n display: inject.call(this, DisplaySymbol),\n theme: inject.call(this, ThemeSymbol),\n icons: inject.call(this, IconSymbol),\n locale: inject.call(this, LocaleSymbol),\n date: inject.call(this, DateAdapterSymbol),\n })\n },\n },\n })\n }\n }\n\n return {\n install,\n defaults,\n display,\n theme,\n icons,\n locale,\n date,\n goTo,\n }\n}\n\nexport const version = __VUETIFY_VERSION__\ncreateVuetify.version = version\n\n// Vue's inject() can only be used in setup\nfunction inject (this: ComponentPublicInstance, key: InjectionKey<any> | string) {\n const vm = this.$\n\n const provides = vm.parent?.provides ?? vm.vnode.appContext?.provides\n\n if (provides && (key as any) in provides) {\n return provides[(key as string)]\n }\n}\n"],"mappings":"AAAA;AAAA,SACSA,UAAU,EAAEC,iBAAiB,EAAEC,iBAAiB;AAAA,SAChDC,cAAc,EAAEC,cAAc;AAAA,SAC9BC,aAAa,EAAEC,aAAa;AAAA,SAC5BC,UAAU,EAAEC,UAAU;AAAA,SACtBC,WAAW,EAAEC,UAAU;AAAA,SACvBC,YAAY,EAAEC,YAAY;AAAA,SAC1BC,WAAW,EAAEC,WAAW,mCAEjC;AACA,SAASC,QAAQ,EAAEC,QAAQ,QAAQ,KAAK;AAAA,SAC/BC,eAAe,EAAEC,MAAM,EAAEC,UAAU,EAAEC,SAAS,4BAEvD;AAAA;AA6BA,OAAO,SAASC,aAAaA,CAAA,EAAgC;EAAA,IAA9BC,OAAuB,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;E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,mBAAmB,EAAE;MACnEd,GAAG,CAACe,KAAK,CAAC;QACRC,QAAQ,EAAE;UACRC,QAAQA,CAAA,EAAI;YACV,OAAO1C,QAAQ,CAAC;cACdgB,QAAQ,EAAE2B,MAAM,CAACC,IAAI,CAAC,IAAI,EAAExD,cAAc,CAAC;cAC3C6B,OAAO,EAAE0B,MAAM,CAACC,IAAI,CAAC,IAAI,EAAEtD,aAAa,CAAC;cACzC6B,KAAK,EAAEwB,MAAM,CAACC,IAAI,CAAC,IAAI,EAAE9C,WAAW,CAAC;cACrCsB,KAAK,EAAEuB,MAAM,CAACC,IAAI,CAAC,IAAI,EAAElD,UAAU,CAAC;cACpC2B,MAAM,EAAEsB,MAAM,CAACC,IAAI,CAAC,IAAI,EAAEhD,YAAY,CAAC;cACvC0B,IAAI,EAAEqB,MAAM,CAACC,IAAI,CAAC,IAAI,EAAE3D,iBAAiB;YAC3C,CAAC,CAAC;UACJ;QACF;MACF,CAAC,CAAC;IACJ;EACF,CAAC;EAED,OAAO;IACLuC,OAAO;IACPR,QAAQ;IACRC,OAAO;IACPE,KAAK;IACLC,KAAK;IACLC,MAAM;IACNC,IAAI;IACJC;EACF,CAAC;AACH;AAEA,OAAO,MAAMsB,OAAO,iCAAsB;AAC1CxC,aAAa,CAACwC,OAAO,GAAGA,OAAO;;AAE/B;AACA,SAASF,MAAMA,CAAiCjB,GAA+B,EAAE;EAC/E,MAAMW,EAAE,GAAG,IAAI,CAACS,CAAC;EAEjB,MAAMC,QAAQ,GAAGV,EAAE,CAACW,MAAM,EAAED,QAAQ,IAAIV,EAAE,CAACY,KAAK,CAACC,UAAU,EAAEH,QAAQ;EAErE,IAAIA,QAAQ,IAAKrB,GAAG,IAAYqB,QAAQ,EAAE;IACxC,OAAOA,QAAQ,CAAErB,GAAG,CAAY;EAClC;AACF","ignoreList":[]}
1
+ {"version":3,"file":"framework.mjs","names":["createDate","DateAdapterSymbol","DateOptionsSymbol","createDefaults","DefaultsSymbol","createDisplay","DisplaySymbol","createGoTo","GoToSymbol","createIcons","IconSymbol","createLocale","LocaleSymbol","createTheme","ThemeSymbol","nextTick","reactive","defineComponent","getUid","IN_BROWSER","mergeDeep","createVuetify","vuetify","arguments","length","undefined","blueprint","rest","options","aliases","components","directives","defaults","display","ssr","theme","icons","locale","date","goTo","install","app","key","directive","component","name","aliasName","provide","instance","$nuxt","hook","update","mount","vm","reset","__VUE_OPTIONS_API__","mixin","computed","$vuetify","inject","call","version","$","provides","parent","vnode","appContext"],"sources":["../src/framework.ts"],"sourcesContent":["// Composables\nimport { createDate, DateAdapterSymbol, DateOptionsSymbol } from '@/composables/date/date'\nimport { createDefaults, DefaultsSymbol } from '@/composables/defaults'\nimport { createDisplay, DisplaySymbol } from '@/composables/display'\nimport { createGoTo, GoToSymbol } from '@/composables/goto'\nimport { createIcons, IconSymbol } from '@/composables/icons'\nimport { createLocale, LocaleSymbol } from '@/composables/locale'\nimport { createTheme, ThemeSymbol } from '@/composables/theme'\n\n// Utilities\nimport { nextTick, reactive } from 'vue'\nimport { defineComponent, getUid, IN_BROWSER, mergeDeep } from '@/util'\n\n// Types\nimport type { App, ComponentPublicInstance, InjectionKey } from 'vue'\nimport type { DateOptions } from '@/composables/date'\nimport type { DefaultsOptions } from '@/composables/defaults'\nimport type { DisplayOptions, SSROptions } from '@/composables/display'\nimport type { GoToOptions } from '@/composables/goto'\nimport type { IconOptions } from '@/composables/icons'\nimport type { LocaleOptions, RtlOptions } from '@/composables/locale'\nimport type { ThemeOptions } from '@/composables/theme'\nexport * from './composables'\nexport type { DateOptions, DateInstance, DateModule } from '@/composables/date'\n\nexport interface VuetifyOptions {\n aliases?: Record<string, any>\n blueprint?: Blueprint\n components?: Record<string, any>\n date?: DateOptions\n directives?: Record<string, any>\n defaults?: DefaultsOptions\n display?: DisplayOptions\n goTo?: GoToOptions\n theme?: ThemeOptions\n icons?: IconOptions\n locale?: LocaleOptions & RtlOptions\n ssr?: SSROptions\n}\n\nexport interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {}\n\nexport function createVuetify (vuetify: VuetifyOptions = {}) {\n const { blueprint, ...rest } = vuetify\n const options: VuetifyOptions = mergeDeep(blueprint, rest)\n const {\n aliases = {},\n components = {},\n directives = {},\n } = options\n\n const defaults = createDefaults(options.defaults)\n const display = createDisplay(options.display, options.ssr)\n const theme = createTheme(options.theme)\n const icons = createIcons(options.icons)\n const locale = createLocale(options.locale)\n const date = createDate(options.date, locale)\n const goTo = createGoTo(options.goTo, locale)\n\n const install = (app: App) => {\n for (const key in directives) {\n app.directive(key, directives[key])\n }\n\n for (const key in components) {\n app.component(key, components[key])\n }\n\n for (const key in aliases) {\n app.component(key, defineComponent({\n ...aliases[key],\n name: key,\n aliasName: aliases[key].name,\n }))\n }\n\n theme.install(app)\n\n app.provide(DefaultsSymbol, defaults)\n app.provide(DisplaySymbol, display)\n app.provide(ThemeSymbol, theme)\n app.provide(IconSymbol, icons)\n app.provide(LocaleSymbol, locale)\n app.provide(DateOptionsSymbol, date.options)\n app.provide(DateAdapterSymbol, date.instance)\n app.provide(GoToSymbol, goTo)\n\n if (IN_BROWSER && options.ssr) {\n if (app.$nuxt) {\n app.$nuxt.hook('app:suspense:resolve', () => {\n display.update()\n })\n } else {\n const { mount } = app\n app.mount = (...args) => {\n const vm = mount(...args)\n nextTick(() => display.update())\n app.mount = mount\n return vm\n }\n }\n }\n\n getUid.reset()\n\n if (typeof __VUE_OPTIONS_API__ !== 'boolean' || __VUE_OPTIONS_API__) {\n app.mixin({\n computed: {\n $vuetify () {\n return reactive({\n defaults: inject.call(this, DefaultsSymbol),\n display: inject.call(this, DisplaySymbol),\n theme: inject.call(this, ThemeSymbol),\n icons: inject.call(this, IconSymbol),\n locale: inject.call(this, LocaleSymbol),\n date: inject.call(this, DateAdapterSymbol),\n })\n },\n },\n })\n }\n }\n\n return {\n install,\n defaults,\n display,\n theme,\n icons,\n locale,\n date,\n goTo,\n }\n}\n\nexport const version = __VUETIFY_VERSION__\ncreateVuetify.version = version\n\n// Vue's inject() can only be used in setup\nfunction inject (this: ComponentPublicInstance, key: InjectionKey<any> | string) {\n const vm = this.$\n\n const provides = vm.parent?.provides ?? vm.vnode.appContext?.provides\n\n if (provides && (key as any) in provides) {\n return provides[(key as string)]\n }\n}\n"],"mappings":"AAAA;AAAA,SACSA,UAAU,EAAEC,iBAAiB,EAAEC,iBAAiB;AAAA,SAChDC,cAAc,EAAEC,cAAc;AAAA,SAC9BC,aAAa,EAAEC,aAAa;AAAA,SAC5BC,UAAU,EAAEC,UAAU;AAAA,SACtBC,WAAW,EAAEC,UAAU;AAAA,SACvBC,YAAY,EAAEC,YAAY;AAAA,SAC1BC,WAAW,EAAEC,WAAW,mCAEjC;AACA,SAASC,QAAQ,EAAEC,QAAQ,QAAQ,KAAK;AAAA,SAC/BC,eAAe,EAAEC,MAAM,EAAEC,UAAU,EAAEC,SAAS,4BAEvD;AAAA;AA6BA,OAAO,SAASC,aAAaA,CAAA,EAAgC;EAAA,IAA9BC,OAAuB,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EACzD,MAAM;IAAEG,SAAS;IAAE,GAAGC;EAAK,CAAC,GAAGL,OAAO;EACtC,MAAMM,OAAuB,GAAGR,SAAS,CAACM,SAAS,EAAEC,IAAI,CAAC;EAC1D,MAAM;IACJE,OAAO,GAAG,CAAC,CAAC;IACZC,UAAU,GAAG,CAAC,CAAC;IACfC,UAAU,GAAG,CAAC;EAChB,CAAC,GAAGH,OAAO;EAEX,MAAMI,QAAQ,GAAG7B,cAAc,CAACyB,OAAO,CAACI,QAAQ,CAAC;EACjD,MAAMC,OAAO,GAAG5B,aAAa,CAACuB,OAAO,CAACK,OAAO,EAAEL,OAAO,CAACM,GAAG,CAAC;EAC3D,MAAMC,KAAK,GAAGtB,WAAW,CAACe,OAAO,CAACO,KAAK,CAAC;EACxC,MAAMC,KAAK,GAAG3B,WAAW,CAACmB,OAAO,CAACQ,KAAK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AAI,EAAE3D,iBAAiB;YAC3C,CAAC,CAAC;UACJ;QACF;MACF,CAAC,CAAC;IACJ;EACF,CAAC;EAED,OAAO;IACLuC,OAAO;IACPR,QAAQ;IACRC,OAAO;IACPE,KAAK;IACLC,KAAK;IACLC,MAAM;IACNC,IAAI;IACJC;EACF,CAAC;AACH;AAEA,OAAO,MAAMsB,OAAO,yBAAsB;AAC1CxC,aAAa,CAACwC,OAAO,GAAGA,OAAO;;AAE/B;AACA,SAASF,MAAMA,CAAiCjB,GAA+B,EAAE;EAC/E,MAAMW,EAAE,GAAG,IAAI,CAACS,CAAC;EAEjB,MAAMC,QAAQ,GAAGV,EAAE,CAACW,MAAM,EAAED,QAAQ,IAAIV,EAAE,CAACY,KAAK,CAACC,UAAU,EAAEH,QAAQ;EAErE,IAAIA,QAAQ,IAAKrB,GAAG,IAAYqB,QAAQ,EAAE;IACxC,OAAOA,QAAQ,CAAErB,GAAG,CAAY;EAClC;AACF","ignoreList":[]}
package/lib/index.d.mts CHANGED
@@ -493,49 +493,42 @@ declare module '@vue/runtime-core' {
493
493
  }
494
494
 
495
495
  export interface GlobalComponents {
496
+ VApp: typeof import('vuetify/components')['VApp']
496
497
  VAppBar: typeof import('vuetify/components')['VAppBar']
497
498
  VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
498
499
  VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
499
500
  VAlert: typeof import('vuetify/components')['VAlert']
500
501
  VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
501
- VApp: typeof import('vuetify/components')['VApp']
502
502
  VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
503
+ VAvatar: typeof import('vuetify/components')['VAvatar']
503
504
  VBanner: typeof import('vuetify/components')['VBanner']
504
505
  VBannerActions: typeof import('vuetify/components')['VBannerActions']
505
506
  VBannerText: typeof import('vuetify/components')['VBannerText']
506
- VAvatar: typeof import('vuetify/components')['VAvatar']
507
507
  VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
508
- VBadge: typeof import('vuetify/components')['VBadge']
508
+ VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
509
509
  VBtn: typeof import('vuetify/components')['VBtn']
510
510
  VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
511
511
  VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
512
512
  VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
513
- VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
514
- VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
515
- VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
513
+ VBadge: typeof import('vuetify/components')['VBadge']
514
+ VCheckbox: typeof import('vuetify/components')['VCheckbox']
515
+ VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
516
516
  VCard: typeof import('vuetify/components')['VCard']
517
517
  VCardActions: typeof import('vuetify/components')['VCardActions']
518
518
  VCardItem: typeof import('vuetify/components')['VCardItem']
519
519
  VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
520
520
  VCardText: typeof import('vuetify/components')['VCardText']
521
521
  VCardTitle: typeof import('vuetify/components')['VCardTitle']
522
+ VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
523
+ VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
524
+ VColorPicker: typeof import('vuetify/components')['VColorPicker']
522
525
  VCarousel: typeof import('vuetify/components')['VCarousel']
523
526
  VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
524
527
  VChipGroup: typeof import('vuetify/components')['VChipGroup']
525
- VCheckbox: typeof import('vuetify/components')['VCheckbox']
526
- VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
527
- VChip: typeof import('vuetify/components')['VChip']
528
528
  VCode: typeof import('vuetify/components')['VCode']
529
- VColorPicker: typeof import('vuetify/components')['VColorPicker']
530
- VDatePicker: typeof import('vuetify/components')['VDatePicker']
531
- VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
532
- VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
533
- VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
534
- VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
535
- VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
529
+ VChip: typeof import('vuetify/components')['VChip']
536
530
  VCombobox: typeof import('vuetify/components')['VCombobox']
537
531
  VCounter: typeof import('vuetify/components')['VCounter']
538
- VDialog: typeof import('vuetify/components')['VDialog']
539
532
  VDataTable: typeof import('vuetify/components')['VDataTable']
540
533
  VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
541
534
  VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
@@ -543,15 +536,24 @@ declare module '@vue/runtime-core' {
543
536
  VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
544
537
  VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
545
538
  VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
546
- VDivider: typeof import('vuetify/components')['VDivider']
547
- VFooter: typeof import('vuetify/components')['VFooter']
539
+ VDatePicker: typeof import('vuetify/components')['VDatePicker']
540
+ VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
541
+ VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
542
+ VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
543
+ VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
544
+ VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
545
+ VDialog: typeof import('vuetify/components')['VDialog']
548
546
  VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
549
547
  VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
550
548
  VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
551
549
  VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
550
+ VDivider: typeof import('vuetify/components')['VDivider']
552
551
  VField: typeof import('vuetify/components')['VField']
553
552
  VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
553
+ VFooter: typeof import('vuetify/components')['VFooter']
554
+ VFab: typeof import('vuetify/components')['VFab']
554
555
  VFileInput: typeof import('vuetify/components')['VFileInput']
556
+ VEmptyState: typeof import('vuetify/components')['VEmptyState']
555
557
  VImg: typeof import('vuetify/components')['VImg']
556
558
  VIcon: typeof import('vuetify/components')['VIcon']
557
559
  VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
@@ -559,9 +561,11 @@ declare module '@vue/runtime-core' {
559
561
  VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
560
562
  VClassIcon: typeof import('vuetify/components')['VClassIcon']
561
563
  VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
564
+ VInput: typeof import('vuetify/components')['VInput']
562
565
  VItemGroup: typeof import('vuetify/components')['VItemGroup']
563
566
  VItem: typeof import('vuetify/components')['VItem']
564
- VInput: typeof import('vuetify/components')['VInput']
567
+ VMain: typeof import('vuetify/components')['VMain']
568
+ VKbd: typeof import('vuetify/components')['VKbd']
565
569
  VList: typeof import('vuetify/components')['VList']
566
570
  VListGroup: typeof import('vuetify/components')['VListGroup']
567
571
  VListImg: typeof import('vuetify/components')['VListImg']
@@ -572,68 +576,71 @@ declare module '@vue/runtime-core' {
572
576
  VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
573
577
  VListSubheader: typeof import('vuetify/components')['VListSubheader']
574
578
  VLabel: typeof import('vuetify/components')['VLabel']
575
- VKbd: typeof import('vuetify/components')['VKbd']
576
- VMain: typeof import('vuetify/components')['VMain']
577
579
  VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
578
580
  VMenu: typeof import('vuetify/components')['VMenu']
579
581
  VMessages: typeof import('vuetify/components')['VMessages']
580
- VOverlay: typeof import('vuetify/components')['VOverlay']
581
582
  VOtpInput: typeof import('vuetify/components')['VOtpInput']
583
+ VOverlay: typeof import('vuetify/components')['VOverlay']
582
584
  VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
583
585
  VPagination: typeof import('vuetify/components')['VPagination']
584
586
  VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
585
- VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
586
587
  VRating: typeof import('vuetify/components')['VRating']
588
+ VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
589
+ VSelect: typeof import('vuetify/components')['VSelect']
587
590
  VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
588
591
  VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
589
- VSelect: typeof import('vuetify/components')['VSelect']
590
- VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
591
- VSheet: typeof import('vuetify/components')['VSheet']
592
592
  VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
593
593
  VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
594
- VSlider: typeof import('vuetify/components')['VSlider']
594
+ VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
595
595
  VSnackbar: typeof import('vuetify/components')['VSnackbar']
596
+ VSheet: typeof import('vuetify/components')['VSheet']
597
+ VSystemBar: typeof import('vuetify/components')['VSystemBar']
596
598
  VStepper: typeof import('vuetify/components')['VStepper']
597
599
  VStepperActions: typeof import('vuetify/components')['VStepperActions']
598
600
  VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
599
601
  VStepperItem: typeof import('vuetify/components')['VStepperItem']
600
602
  VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
601
603
  VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
602
- VSystemBar: typeof import('vuetify/components')['VSystemBar']
603
- VTable: typeof import('vuetify/components')['VTable']
604
604
  VSwitch: typeof import('vuetify/components')['VSwitch']
605
+ VSlider: typeof import('vuetify/components')['VSlider']
605
606
  VTab: typeof import('vuetify/components')['VTab']
606
607
  VTabs: typeof import('vuetify/components')['VTabs']
607
608
  VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
608
609
  VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
610
+ VTable: typeof import('vuetify/components')['VTable']
609
611
  VTextField: typeof import('vuetify/components')['VTextField']
610
612
  VTextarea: typeof import('vuetify/components')['VTextarea']
613
+ VTimeline: typeof import('vuetify/components')['VTimeline']
614
+ VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
611
615
  VTooltip: typeof import('vuetify/components')['VTooltip']
616
+ VWindow: typeof import('vuetify/components')['VWindow']
617
+ VWindowItem: typeof import('vuetify/components')['VWindowItem']
612
618
  VToolbar: typeof import('vuetify/components')['VToolbar']
613
619
  VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
614
620
  VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
615
- VWindow: typeof import('vuetify/components')['VWindow']
616
- VWindowItem: typeof import('vuetify/components')['VWindowItem']
617
- VTimeline: typeof import('vuetify/components')['VTimeline']
618
- VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
619
621
  VDataIterator: typeof import('vuetify/components')['VDataIterator']
622
+ VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
620
623
  VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
624
+ VForm: typeof import('vuetify/components')['VForm']
625
+ VHover: typeof import('vuetify/components')['VHover']
621
626
  VContainer: typeof import('vuetify/components')['VContainer']
622
627
  VCol: typeof import('vuetify/components')['VCol']
623
628
  VRow: typeof import('vuetify/components')['VRow']
624
629
  VSpacer: typeof import('vuetify/components')['VSpacer']
625
- VForm: typeof import('vuetify/components')['VForm']
626
- VHover: typeof import('vuetify/components')['VHover']
630
+ VLazy: typeof import('vuetify/components')['VLazy']
627
631
  VLayout: typeof import('vuetify/components')['VLayout']
628
632
  VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
629
633
  VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
630
- VLazy: typeof import('vuetify/components')['VLazy']
631
634
  VNoSsr: typeof import('vuetify/components')['VNoSsr']
632
635
  VParallax: typeof import('vuetify/components')['VParallax']
633
636
  VRadio: typeof import('vuetify/components')['VRadio']
634
637
  VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
635
638
  VResponsive: typeof import('vuetify/components')['VResponsive']
639
+ VSparkline: typeof import('vuetify/components')['VSparkline']
640
+ VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
636
641
  VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
642
+ VValidation: typeof import('vuetify/components')['VValidation']
643
+ VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
637
644
  VFabTransition: typeof import('vuetify/components')['VFabTransition']
638
645
  VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
639
646
  VDialogTopTransition: typeof import('vuetify/components')['VDialogTopTransition']
@@ -650,30 +657,23 @@ declare module '@vue/runtime-core' {
650
657
  VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
651
658
  VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
652
659
  VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
653
- VValidation: typeof import('vuetify/components')['VValidation']
654
- VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
655
- VCalendar: typeof import('vuetify/labs/components')['VCalendar']
656
- VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
657
- VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
658
- VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
659
- VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
660
- VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
661
- VEmptyState: typeof import('vuetify/labs/components')['VEmptyState']
662
660
  VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
663
661
  VPicker: typeof import('vuetify/labs/components')['VPicker']
664
662
  VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
665
- VFab: typeof import('vuetify/labs/components')['VFab']
666
- VTreeview: typeof import('vuetify/labs/components')['VTreeview']
667
- VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
668
- VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
669
663
  VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
670
664
  VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
671
665
  VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
666
+ VTreeview: typeof import('vuetify/labs/components')['VTreeview']
667
+ VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
668
+ VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
669
+ VCalendar: typeof import('vuetify/labs/components')['VCalendar']
670
+ VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
671
+ VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
672
+ VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
673
+ VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
674
+ VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
672
675
  VDateInput: typeof import('vuetify/labs/components')['VDateInput']
673
- VConfirmEdit: typeof import('vuetify/labs/components')['VConfirmEdit']
674
676
  VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
675
- VSpeedDial: typeof import('vuetify/labs/components')['VSpeedDial']
676
677
  VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
677
- VSparkline: typeof import('vuetify/labs/components')['VSparkline']
678
678
  }
679
679
  }
@@ -1,9 +1,9 @@
1
1
  import { createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
2
2
  // Components
3
+ import { makeVConfirmEditProps, VConfirmEdit } from "../../components/VConfirmEdit/VConfirmEdit.mjs";
3
4
  import { makeVDatePickerProps, VDatePicker } from "../../components/VDatePicker/VDatePicker.mjs";
4
5
  import { VMenu } from "../../components/VMenu/VMenu.mjs";
5
- import { makeVTextFieldProps, VTextField } from "../../components/VTextField/VTextField.mjs";
6
- import { makeVConfirmEditProps, VConfirmEdit } from "../VConfirmEdit/VConfirmEdit.mjs"; // Composables
6
+ import { makeVTextFieldProps, VTextField } from "../../components/VTextField/VTextField.mjs"; // Composables
7
7
  import { useDate } from "../../composables/date/index.mjs";
8
8
  import { makeFocusProps, useFocus } from "../../composables/focus.mjs";
9
9
  import { useLocale } from "../../composables/locale.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"VDateInput.mjs","names":["makeVDatePickerProps","VDatePicker","VMenu","makeVTextFieldProps","VTextField","makeVConfirmEditProps","VConfirmEdit","useDate","makeFocusProps","useFocus","useLocale","useProxiedModel","computed","shallowRef","genericComponent","omit","propsFactory","useRender","wrapInArray","makeVDateInputProps","hideActions","Boolean","placeholder","prependIcon","weeksInMonth","hideHeader","VDateInput","name","props","emits","val","setup","_ref","slots","t","adapter","isFocused","focus","blur","model","multiple","menu","display","value","length","start","end","isValid","format","onKeydown","e","key","target","date","onClick","preventDefault","stopPropagation","onSave","confirmEditProps","filterProps","datePickerProps","textFieldProps","_createVNode","_mergeProps","default","$event","_ref2","actions","proxyModel","undefined"],"sources":["../../../src/labs/VDateInput/VDateInput.tsx"],"sourcesContent":["// Components\nimport { makeVDatePickerProps, VDatePicker } from '@/components/VDatePicker/VDatePicker'\nimport { VMenu } from '@/components/VMenu/VMenu'\nimport { makeVTextFieldProps, VTextField } from '@/components/VTextField/VTextField'\nimport { makeVConfirmEditProps, VConfirmEdit } from '@/labs/VConfirmEdit/VConfirmEdit'\n\n// Composables\nimport { useDate } from '@/composables/date'\nimport { makeFocusProps, useFocus } from '@/composables/focus'\nimport { useLocale } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, shallowRef } from 'vue'\nimport { genericComponent, omit, propsFactory, useRender, wrapInArray } from '@/util'\n\n// Types\nexport interface VDateInputSlots {\n default: never\n}\n\nexport const makeVDateInputProps = propsFactory({\n hideActions: Boolean,\n\n ...makeFocusProps(),\n ...makeVConfirmEditProps(),\n ...makeVTextFieldProps({\n placeholder: 'mm/dd/yyyy',\n prependIcon: '$calendar',\n }),\n ...omit(makeVDatePickerProps({\n weeksInMonth: 'dynamic' as const,\n hideHeader: true,\n }), ['active']),\n}, 'VDateInput')\n\nexport const VDateInput = genericComponent()({\n name: 'VDateInput',\n\n props: makeVDateInputProps(),\n\n emits: {\n 'update:modelValue': (val: string) => true,\n },\n\n setup (props, { slots }) {\n const { t } = useLocale()\n const adapter = useDate()\n const { isFocused, focus, blur } = useFocus(props)\n const model = useProxiedModel(props, 'modelValue', props.multiple ? [] : null)\n const menu = shallowRef(false)\n\n const display = computed(() => {\n const value = wrapInArray(model.value)\n\n if (!value.length) return null\n\n if (props.multiple === true) {\n return t('$vuetify.datePicker.itemsSelected', value.length)\n }\n\n if (props.multiple === 'range') {\n const start = value[0]\n const end = value[value.length - 1]\n\n return adapter.isValid(start) && adapter.isValid(end)\n ? `${adapter.format(start, 'keyboardDate')} - ${adapter.format(end, 'keyboardDate')}`\n : ''\n }\n\n return adapter.isValid(model.value) ? adapter.format(model.value, 'keyboardDate') : ''\n })\n\n function onKeydown (e: KeyboardEvent) {\n if (e.key !== 'Enter') return\n\n if (!menu.value || !isFocused.value) {\n menu.value = true\n\n return\n }\n\n const target = e.target as HTMLInputElement\n\n model.value = adapter.date(target.value)\n }\n\n function onClick (e: MouseEvent) {\n e.preventDefault()\n e.stopPropagation()\n\n menu.value = true\n }\n\n function onSave () {\n menu.value = false\n }\n\n useRender(() => {\n const confirmEditProps = VConfirmEdit.filterProps(props)\n const datePickerProps = VDatePicker.filterProps(omit(props, ['active']))\n const textFieldProps = VTextField.filterProps(props)\n\n return (\n <VTextField\n { ...textFieldProps }\n modelValue={ display.value }\n onKeydown={ onKeydown }\n focused={ menu.value || isFocused.value }\n onFocus={ focus }\n onBlur={ blur }\n onClick:control={ onClick }\n onClick:prepend={ onClick }\n >\n <VMenu\n v-model={ menu.value }\n activator=\"parent\"\n min-width=\"0\"\n closeOnContentClick={ false }\n openOnClick={ false }\n >\n <VConfirmEdit\n { ...confirmEditProps }\n v-model={ model.value }\n onSave={ onSave }\n >\n {{\n default: ({ actions, model: proxyModel }) => {\n return (\n <VDatePicker\n { ...datePickerProps }\n modelValue={ props.hideActions ? model.value : proxyModel.value }\n onUpdate:modelValue={ val => {\n if (!props.hideActions) {\n proxyModel.value = val\n } else {\n model.value = val\n\n if (!props.multiple) menu.value = false\n }\n }}\n onMousedown={ (e: MouseEvent) => e.preventDefault() }\n >\n {{\n actions: !props.hideActions ? () => actions : undefined,\n }}\n </VDatePicker>\n )\n },\n }}\n </VConfirmEdit>\n </VMenu>\n\n { slots.default?.() }\n </VTextField>\n )\n })\n },\n})\n\nexport type VDateInput = InstanceType<typeof VDateInput>\n"],"mappings":";AAAA;AAAA,SACSA,oBAAoB,EAAEC,WAAW;AAAA,SACjCC,KAAK;AAAA,SACLC,mBAAmB,EAAEC,UAAU;AAAA,SAC/BC,qBAAqB,EAAEC,YAAY,4CAE5C;AAAA,SACSC,OAAO;AAAA,SACPC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,SAAS;AAAA,SACTC,eAAe,8CAExB;AACA,SAASC,QAAQ,EAAEC,UAAU,QAAQ,KAAK;AAAA,SACjCC,gBAAgB,EAAEC,IAAI,EAAEC,YAAY,EAAEC,SAAS,EAAEC,WAAW,gCAErE;AAKA,OAAO,MAAMC,mBAAmB,GAAGH,YAAY,CAAC;EAC9CI,WAAW,EAAEC,OAAO;EAEpB,GAAGb,cAAc,CAAC,CAAC;EACnB,GAAGH,qBAAqB,CAAC,CAAC;EAC1B,GAAGF,mBAAmB,CAAC;IACrBmB,WAAW,EAAE,YAAY;IACzBC,WAAW,EAAE;EACf,CAAC,CAAC;EACF,GAAGR,IAAI,CAACf,oBAAoB,CAAC;IAC3BwB,YAAY,EAAE,SAAkB;IAChCC,UAAU,EAAE;EACd,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC;AAChB,CAAC,EAAE,YAAY,CAAC;AAEhB,OAAO,MAAMC,UAAU,G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,OAAO,GAAG,CAAC;MAAA;IAGzB,CAAC,CAAC;EACJ;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"VDateInput.mjs","names":["makeVConfirmEditProps","VConfirmEdit","makeVDatePickerProps","VDatePicker","VMenu","makeVTextFieldProps","VTextField","useDate","makeFocusProps","useFocus","useLocale","useProxiedModel","computed","shallowRef","genericComponent","omit","propsFactory","useRender","wrapInArray","makeVDateInputProps","hideActions","Boolean","placeholder","prependIcon","weeksInMonth","hideHeader","VDateInput","name","props","emits","val","setup","_ref","slots","t","adapter","isFocused","focus","blur","model","multiple","menu","display","value","length","start","end","isValid","format","onKeydown","e","key","target","date","onClick","preventDefault","stopPropagation","onSave","confirmEditProps","filterProps","datePickerProps","textFieldProps","_createVNode","_mergeProps","default","$event","_ref2","actions","proxyModel","undefined"],"sources":["../../../src/labs/VDateInput/VDateInput.tsx"],"sourcesContent":["// Components\nimport { makeVConfirmEditProps, VConfirmEdit } from '@/components/VConfirmEdit/VConfirmEdit'\nimport { makeVDatePickerProps, VDatePicker } from '@/components/VDatePicker/VDatePicker'\nimport { VMenu } from '@/components/VMenu/VMenu'\nimport { makeVTextFieldProps, VTextField } from '@/components/VTextField/VTextField'\n\n// Composables\nimport { useDate } from '@/composables/date'\nimport { makeFocusProps, useFocus } from '@/composables/focus'\nimport { useLocale } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, shallowRef } from 'vue'\nimport { genericComponent, omit, propsFactory, useRender, wrapInArray } from '@/util'\n\n// Types\nexport interface VDateInputSlots {\n default: never\n}\n\nexport const makeVDateInputProps = propsFactory({\n hideActions: Boolean,\n\n ...makeFocusProps(),\n ...makeVConfirmEditProps(),\n ...makeVTextFieldProps({\n placeholder: 'mm/dd/yyyy',\n prependIcon: '$calendar',\n }),\n ...omit(makeVDatePickerProps({\n weeksInMonth: 'dynamic' as const,\n hideHeader: true,\n }), ['active']),\n}, 'VDateInput')\n\nexport const VDateInput = genericComponent()({\n name: 'VDateInput',\n\n props: makeVDateInputProps(),\n\n emits: {\n 'update:modelValue': (val: string) => true,\n },\n\n setup (props, { slots }) {\n const { t } = useLocale()\n const adapter = useDate()\n const { isFocused, focus, blur } = useFocus(props)\n const model = useProxiedModel(props, 'modelValue', props.multiple ? [] : null)\n const menu = shallowRef(false)\n\n const display = computed(() => {\n const value = wrapInArray(model.value)\n\n if (!value.length) return null\n\n if (props.multiple === true) {\n return t('$vuetify.datePicker.itemsSelected', value.length)\n }\n\n if (props.multiple === 'range') {\n const start = value[0]\n const end = value[value.length - 1]\n\n return adapter.isValid(start) && adapter.isValid(end)\n ? `${adapter.format(start, 'keyboardDate')} - ${adapter.format(end, 'keyboardDate')}`\n : ''\n }\n\n return adapter.isValid(model.value) ? adapter.format(model.value, 'keyboardDate') : ''\n })\n\n function onKeydown (e: KeyboardEvent) {\n if (e.key !== 'Enter') return\n\n if (!menu.value || !isFocused.value) {\n menu.value = true\n\n return\n }\n\n const target = e.target as HTMLInputElement\n\n model.value = adapter.date(target.value)\n }\n\n function onClick (e: MouseEvent) {\n e.preventDefault()\n e.stopPropagation()\n\n menu.value = true\n }\n\n function onSave () {\n menu.value = false\n }\n\n useRender(() => {\n const confirmEditProps = VConfirmEdit.filterProps(props)\n const datePickerProps = VDatePicker.filterProps(omit(props, ['active']))\n const textFieldProps = VTextField.filterProps(props)\n\n return (\n <VTextField\n { ...textFieldProps }\n modelValue={ display.value }\n onKeydown={ onKeydown }\n focused={ menu.value || isFocused.value }\n onFocus={ focus }\n onBlur={ blur }\n onClick:control={ onClick }\n onClick:prepend={ onClick }\n >\n <VMenu\n v-model={ menu.value }\n activator=\"parent\"\n min-width=\"0\"\n closeOnContentClick={ false }\n openOnClick={ false }\n >\n <VConfirmEdit\n { ...confirmEditProps }\n v-model={ model.value }\n onSave={ onSave }\n >\n {{\n default: ({ actions, model: proxyModel }) => {\n return (\n <VDatePicker\n { ...datePickerProps }\n modelValue={ props.hideActions ? model.value : proxyModel.value }\n onUpdate:modelValue={ val => {\n if (!props.hideActions) {\n proxyModel.value = val\n } else {\n model.value = val\n\n if (!props.multiple) menu.value = false\n }\n }}\n onMousedown={ (e: MouseEvent) => e.preventDefault() }\n >\n {{\n actions: !props.hideActions ? () => actions : undefined,\n }}\n </VDatePicker>\n )\n },\n }}\n </VConfirmEdit>\n </VMenu>\n\n { slots.default?.() }\n </VTextField>\n )\n })\n },\n})\n\nexport type VDateInput = InstanceType<typeof VDateInput>\n"],"mappings":";AAAA;AAAA,SACSA,qBAAqB,EAAEC,YAAY;AAAA,SACnCC,oBAAoB,EAAEC,WAAW;AAAA,SACjCC,KAAK;AAAA,SACLC,mBAAmB,EAAEC,UAAU,sDAExC;AAAA,SACSC,OAAO;AAAA,SACPC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,SAAS;AAAA,SACTC,eAAe,8CAExB;AACA,SAASC,QAAQ,EAAEC,UAAU,QAAQ,KAAK;AAAA,SACjCC,gBAAgB,EAAEC,IAAI,EAAEC,YAAY,EAAEC,SAAS,EAAEC,WAAW,gCAErE;AAKA,OAAO,MAAMC,mBAAmB,GAAGH,YAAY,CAAC;EAC9CI,WAAW,EAAEC,OAAO;EAEpB,GAAGb,cAAc,CAAC,CAAC;EACnB,GAAGR,qBAAqB,CAAC,CAAC;EAC1B,GAAGK,mBAAmB,CAAC;IACrBiB,WAAW,EAAE,YAAY;IACzBC,WAAW,EAAE;EACf,CAAC,CAAC;EACF,GAAGR,IAAI,CAACb,oBAAoB,CAAC;IAC3BsB,YAAY,EAAE,SAAkB;IAChCC,UAAU,EAAE;EACd,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC;AAChB,CAAC,EAAE,YAAY,CAAC;AAEhB,OAAO,MAAMC,UAAU,GAAGZ,gBAAgB,CAAC,CAAC,CAAC;EAC3Ca,IAAI,EAAE,YAAY;EAElBC,KAAK,EAAET,mBAAmB,CAAC,CAAC;EAE5BU,KAAK,EAAE;IACL,mBAAmB,EAAGC,GAAW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ounter: boolean;
59
59
  reverseTransition: string;
60
+ cancelText: string;
61
+ okText: string;
60
62
  modeIcon: string;
61
63
  viewMode: "month" | "year" | "months";
62
64
  showAdjacentMonths: boolean;
@@ -67,8 +69,6 @@ declare const VDateInput: {
67
69
  landscape: boolean;
68
70
  hideHeader: boolean;
69
71
  hideActions: boolean;
70
- cancelText: string;
71
- okText: string;
72
72
  } & {
73
73
  class?: any;
74
74
  id?: string | undefined;
@@ -169,6 +169,8 @@ declare const VDateInput: {
169
169
  persistentPlaceholder: boolean;
170
170
  persistentCounter: boolean;
171
171
  reverseTransition: string;
172
+ cancelText: string;
173
+ okText: string;
172
174
  modeIcon: string;
173
175
  viewMode: "month" | "year" | "months";
174
176
  showAdjacentMonths: boolean;
@@ -179,8 +181,6 @@ declare const VDateInput: {
179
181
  landscape: boolean;
180
182
  hideHeader: boolean;
181
183
  hideActions: boolean;
182
- cancelText: string;
183
- okText: string;
184
184
  } & {
185
185
  class?: any;
186
186
  id?: string | undefined;
@@ -281,6 +281,8 @@ declare const VDateInput: {
281
281
  persistentPlaceholder: boolean;
282
282
  persistentCounter: boolean;
283
283
  reverseTransition: string;
284
+ cancelText: string;
285
+ okText: string;
284
286
  modeIcon: string;
285
287
  viewMode: "month" | "year" | "months";
286
288
  showAdjacentMonths: boolean;
@@ -291,8 +293,6 @@ declare const VDateInput: {
291
293
  landscape: boolean;
292
294
  hideHeader: boolean;
293
295
  hideActions: boolean;
294
- cancelText: string;
295
- okText: string;
296
296
  }, true, {}, vue.SlotsType<Partial<{
297
297
  default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
298
298
  [key: string]: any;
@@ -341,6 +341,8 @@ declare const VDateInput: {
341
341
  persistentPlaceholder: boolean;
342
342
  persistentCounter: boolean;
343
343
  reverseTransition: string;
344
+ cancelText: string;
345
+ okText: string;
344
346
  modeIcon: string;
345
347
  viewMode: "month" | "year" | "months";
346
348
  showAdjacentMonths: boolean;
@@ -351,8 +353,6 @@ declare const VDateInput: {
351
353
  landscape: boolean;
352
354
  hideHeader: boolean;
353
355
  hideActions: boolean;
354
- cancelText: string;
355
- okText: string;
356
356
  } & {
357
357
  class?: any;
358
358
  id?: string | undefined;
@@ -453,6 +453,8 @@ declare const VDateInput: {
453
453
  persistentPlaceholder: boolean;
454
454
  persistentCounter: boolean;
455
455
  reverseTransition: string;
456
+ cancelText: string;
457
+ okText: string;
456
458
  modeIcon: string;
457
459
  viewMode: "month" | "year" | "months";
458
460
  showAdjacentMonths: boolean;
@@ -463,8 +465,6 @@ declare const VDateInput: {
463
465
  landscape: boolean;
464
466
  hideHeader: boolean;
465
467
  hideActions: boolean;
466
- cancelText: string;
467
- okText: string;
468
468
  }>;
469
469
  __isFragment?: undefined;
470
470
  __isTeleport?: undefined;
@@ -506,6 +506,8 @@ declare const VDateInput: {
506
506
  persistentPlaceholder: boolean;
507
507
  persistentCounter: boolean;
508
508
  reverseTransition: string;
509
+ cancelText: string;
510
+ okText: string;
509
511
  modeIcon: string;
510
512
  viewMode: "month" | "year" | "months";
511
513
  showAdjacentMonths: boolean;
@@ -516,8 +518,6 @@ declare const VDateInput: {
516
518
  landscape: boolean;
517
519
  hideHeader: boolean;
518
520
  hideActions: boolean;
519
- cancelText: string;
520
- okText: string;
521
521
  } & {
522
522
  class?: any;
523
523
  id?: string | undefined;
@@ -620,6 +620,8 @@ declare const VDateInput: {
620
620
  persistentPlaceholder: boolean;
621
621
  persistentCounter: boolean;
622
622
  reverseTransition: string;
623
+ cancelText: string;
624
+ okText: string;
623
625
  modeIcon: string;
624
626
  viewMode: "month" | "year" | "months";
625
627
  showAdjacentMonths: boolean;
@@ -630,8 +632,6 @@ declare const VDateInput: {
630
632
  landscape: boolean;
631
633
  hideHeader: boolean;
632
634
  hideActions: boolean;
633
- cancelText: string;
634
- okText: string;
635
635
  }, {}, string, vue.SlotsType<Partial<{
636
636
  default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
637
637
  [key: string]: any;