vuetify 3.7.12 → 3.7.14

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 (272) hide show
  1. package/dist/json/attributes.json +2442 -2430
  2. package/dist/json/importMap-labs.json +8 -8
  3. package/dist/json/importMap.json +146 -146
  4. package/dist/json/tags.json +4 -1
  5. package/dist/json/web-types.json +4796 -4506
  6. package/dist/vuetify-labs.css +2781 -2771
  7. package/dist/vuetify-labs.d.ts +427 -163
  8. package/dist/vuetify-labs.esm.js +224 -143
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +223 -142
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +4465 -4469
  13. package/dist/vuetify.d.ts +173 -152
  14. package/dist/vuetify.esm.js +103 -85
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +102 -84
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +1082 -1077
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/blueprints/index.d.mts +1 -1
  22. package/lib/blueprints/md1.d.mts +1 -1
  23. package/lib/blueprints/md2.d.mts +1 -1
  24. package/lib/blueprints/md3.d.mts +1 -1
  25. package/lib/components/VAlert/VAlert.mjs +1 -1
  26. package/lib/components/VAlert/index.d.mts +1 -1
  27. package/lib/components/VAppBar/VAppBar.mjs +1 -1
  28. package/lib/components/VAppBar/VAppBarNavIcon.mjs +1 -1
  29. package/lib/components/VAppBar/VAppBarTitle.mjs +1 -1
  30. package/lib/components/VAppBar/index.d.mts +5 -5
  31. package/lib/components/VAutocomplete/VAutocomplete.mjs +1 -1
  32. package/lib/components/VAutocomplete/index.d.mts +4 -4
  33. package/lib/components/VAvatar/index.d.mts +1 -1
  34. package/lib/components/VBadge/VBadge.mjs +1 -1
  35. package/lib/components/VBadge/index.d.mts +1 -1
  36. package/lib/components/VBanner/VBanner.mjs +1 -1
  37. package/lib/components/VBanner/index.d.mts +1 -1
  38. package/lib/components/VBottomNavigation/VBottomNavigation.css +1 -0
  39. package/lib/components/VBottomNavigation/VBottomNavigation.sass +1 -0
  40. package/lib/components/VBottomNavigation/index.d.mts +1 -1
  41. package/lib/components/VBottomSheet/VBottomSheet.mjs +1 -1
  42. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +1 -1
  43. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +1 -1
  44. package/lib/components/VBreadcrumbs/index.d.mts +5 -5
  45. package/lib/components/VBtn/VBtn.mjs +1 -1
  46. package/lib/components/VBtn/index.d.mts +5 -5
  47. package/lib/components/VBtnGroup/VBtnGroup.mjs +1 -1
  48. package/lib/components/VBtnToggle/VBtnToggle.mjs +1 -1
  49. package/lib/components/VBtnToggle/index.d.mts +1 -1
  50. package/lib/components/VCard/VCard.mjs +1 -1
  51. package/lib/components/VCard/VCardItem.mjs +1 -1
  52. package/lib/components/VCard/VCardSubtitle.mjs +1 -1
  53. package/lib/components/VCard/VCardText.mjs +1 -1
  54. package/lib/components/VCard/index.d.mts +5 -5
  55. package/lib/components/VCarousel/VCarousel.mjs +1 -1
  56. package/lib/components/VCarousel/VCarouselItem.mjs +1 -1
  57. package/lib/components/VCarousel/index.d.mts +1 -1
  58. package/lib/components/VCheckbox/VCheckbox.mjs +1 -1
  59. package/lib/components/VCheckbox/VCheckboxBtn.mjs +1 -1
  60. package/lib/components/VCheckbox/index.d.mts +1 -1
  61. package/lib/components/VChip/VChip.mjs +1 -1
  62. package/lib/components/VChip/index.d.mts +5 -5
  63. package/lib/components/VChipGroup/VChipGroup.mjs +1 -1
  64. package/lib/components/VChipGroup/index.d.mts +1 -1
  65. package/lib/components/VColorPicker/VColorPicker.mjs +1 -1
  66. package/lib/components/VColorPicker/index.d.mts +10 -10
  67. package/lib/components/VCombobox/VCombobox.mjs +1 -1
  68. package/lib/components/VCombobox/index.d.mts +4 -4
  69. package/lib/components/VConfirmEdit/VConfirmEdit.mjs +1 -1
  70. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs +5 -5
  71. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs.map +1 -1
  72. package/lib/components/VConfirmEdit/index.d.mts +1 -1
  73. package/lib/components/VCounter/VCounter.mjs +1 -1
  74. package/lib/components/VDataIterator/index.d.mts +1 -1
  75. package/lib/components/VDataTable/VDataTable.mjs +1 -1
  76. package/lib/components/VDataTable/VDataTableFooter.mjs +1 -1
  77. package/lib/components/VDataTable/VDataTableGroupHeaderRow.mjs +1 -1
  78. package/lib/components/VDataTable/VDataTableHeaders.mjs +1 -1
  79. package/lib/components/VDataTable/VDataTableRow.mjs +1 -1
  80. package/lib/components/VDataTable/VDataTableRows.mjs +1 -1
  81. package/lib/components/VDataTable/VDataTableServer.mjs +1 -1
  82. package/lib/components/VDataTable/VDataTableVirtual.mjs +1 -1
  83. package/lib/components/VDataTable/composables/sort.mjs +12 -8
  84. package/lib/components/VDataTable/composables/sort.mjs.map +1 -1
  85. package/lib/components/VDataTable/index.d.mts +1 -1
  86. package/lib/components/VDatePicker/VDatePicker.mjs +20 -11
  87. package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
  88. package/lib/components/VDatePicker/VDatePickerControls.mjs +1 -1
  89. package/lib/components/VDatePicker/VDatePickerControls.mjs.map +1 -1
  90. package/lib/components/VDatePicker/VDatePickerMonth.mjs +1 -1
  91. package/lib/components/VDatePicker/VDatePickerMonths.mjs +1 -1
  92. package/lib/components/VDatePicker/VDatePickerYears.mjs +1 -1
  93. package/lib/components/VDatePicker/index.d.mts +28 -16
  94. package/lib/components/VDialog/VDialog.mjs +1 -1
  95. package/lib/components/VDialog/__test__/VDialog.spec.cy.mjs +1 -1
  96. package/lib/components/VDialog/index.d.mts +3 -3
  97. package/lib/components/VEmptyState/VEmptyState.mjs +1 -1
  98. package/lib/components/VEmptyState/index.d.mts +1 -1
  99. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +1 -1
  100. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +1 -1
  101. package/lib/components/VExpansionPanel/index.d.mts +1 -1
  102. package/lib/components/VFab/VFab.mjs +1 -1
  103. package/lib/components/VFab/index.d.mts +5 -5
  104. package/lib/components/VField/VField.mjs +1 -1
  105. package/lib/components/VField/VFieldLabel.mjs +1 -1
  106. package/lib/components/VField/index.d.mts +1 -1
  107. package/lib/components/VFileInput/VFileInput.css +0 -1
  108. package/lib/components/VFileInput/VFileInput.mjs +13 -4
  109. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  110. package/lib/components/VFileInput/VFileInput.sass +0 -1
  111. package/lib/components/VFileInput/index.d.mts +4 -4
  112. package/lib/components/VFooter/VFooter.mjs +1 -1
  113. package/lib/components/VGrid/VContainer.mjs +1 -1
  114. package/lib/components/VIcon/index.d.mts +1 -1
  115. package/lib/components/VImg/VImg.mjs +1 -1
  116. package/lib/components/VInfiniteScroll/VInfiniteScroll.mjs +1 -1
  117. package/lib/components/VInput/VInput.mjs +3 -3
  118. package/lib/components/VInput/VInput.mjs.map +1 -1
  119. package/lib/components/VInput/index.d.mts +1 -1
  120. package/lib/components/VItemGroup/index.d.mts +1 -1
  121. package/lib/components/VLazy/VLazy.mjs +1 -1
  122. package/lib/components/VList/VList.mjs +2 -2
  123. package/lib/components/VList/VList.mjs.map +1 -1
  124. package/lib/components/VList/VListChildren.mjs +1 -1
  125. package/lib/components/VList/VListGroup.mjs +1 -1
  126. package/lib/components/VList/VListItem.mjs +3 -2
  127. package/lib/components/VList/VListItem.mjs.map +1 -1
  128. package/lib/components/VList/VListItemAction.mjs +1 -1
  129. package/lib/components/VList/VListItemMedia.mjs +1 -1
  130. package/lib/components/VList/VListItemSubtitle.mjs +1 -1
  131. package/lib/components/VList/index.d.mts +17 -5
  132. package/lib/components/VMenu/VMenu.mjs +1 -1
  133. package/lib/components/VMenu/index.d.mts +3 -3
  134. package/lib/components/VNavigationDrawer/VNavigationDrawer.css +0 -4
  135. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +3 -6
  136. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
  137. package/lib/components/VNavigationDrawer/VNavigationDrawer.sass +0 -5
  138. package/lib/components/VOtpInput/VOtpInput.mjs +3 -3
  139. package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
  140. package/lib/components/VOverlay/VOverlay.mjs +1 -1
  141. package/lib/components/VPagination/VPagination.mjs +1 -1
  142. package/lib/components/VPagination/index.d.mts +1 -1
  143. package/lib/components/VParallax/VParallax.mjs +1 -1
  144. package/lib/components/VRadio/VRadio.mjs +1 -1
  145. package/lib/components/VRadio/index.d.mts +1 -1
  146. package/lib/components/VRadioGroup/VRadioGroup.mjs +1 -1
  147. package/lib/components/VRadioGroup/index.d.mts +1 -1
  148. package/lib/components/VRangeSlider/VRangeSlider.mjs +1 -1
  149. package/lib/components/VRating/VRating.mjs +1 -1
  150. package/lib/components/VRating/index.d.mts +1 -1
  151. package/lib/components/VSelect/VSelect.mjs +1 -1
  152. package/lib/components/VSelect/index.d.mts +4 -4
  153. package/lib/components/VSelectionControl/VSelectionControl.mjs +1 -1
  154. package/lib/components/VSelectionControl/index.d.mts +1 -1
  155. package/lib/components/VSelectionControlGroup/index.d.mts +1 -1
  156. package/lib/components/VSheet/VSheet.mjs +1 -1
  157. package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +1 -1
  158. package/lib/components/VSlideGroup/index.d.mts +1 -1
  159. package/lib/components/VSlider/VSlider.mjs +1 -1
  160. package/lib/components/VSlider/VSliderThumb.mjs +1 -1
  161. package/lib/components/VSnackbar/VSnackbar.mjs +1 -1
  162. package/lib/components/VSnackbar/index.d.mts +3 -3
  163. package/lib/components/VSparkline/VBarline.mjs +1 -2
  164. package/lib/components/VSparkline/VBarline.mjs.map +1 -1
  165. package/lib/components/VSparkline/VSparkline.mjs +1 -1
  166. package/lib/components/VSparkline/VTrendline.mjs +1 -2
  167. package/lib/components/VSparkline/VTrendline.mjs.map +1 -1
  168. package/lib/components/VSpeedDial/VSpeedDial.mjs +1 -1
  169. package/lib/components/VStepper/VStepper.mjs +3 -3
  170. package/lib/components/VStepper/VStepper.mjs.map +1 -1
  171. package/lib/components/VStepper/VStepperItem.mjs +1 -1
  172. package/lib/components/VStepper/VStepperWindow.mjs +1 -1
  173. package/lib/components/VStepper/VStepperWindowItem.mjs +1 -1
  174. package/lib/components/VStepper/index.d.mts +1 -1
  175. package/lib/components/VSwitch/VSwitch.mjs +1 -1
  176. package/lib/components/VSwitch/index.d.mts +1 -1
  177. package/lib/components/VSystemBar/VSystemBar.mjs +1 -1
  178. package/lib/components/VTabs/VTab.mjs +1 -1
  179. package/lib/components/VTabs/VTabs.mjs +1 -1
  180. package/lib/components/VTabs/VTabs.mjs.map +1 -1
  181. package/lib/components/VTabs/VTabsWindow.mjs +1 -1
  182. package/lib/components/VTabs/VTabsWindowItem.mjs +1 -1
  183. package/lib/components/VTabs/index.d.mts +21 -21
  184. package/lib/components/VTextField/VTextField.mjs +1 -1
  185. package/lib/components/VTextField/index.d.mts +7 -7
  186. package/lib/components/VTextarea/VTextarea.mjs +1 -1
  187. package/lib/components/VTextarea/index.d.mts +4 -4
  188. package/lib/components/VTimeline/VTimeline.mjs +3 -3
  189. package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
  190. package/lib/components/VTimeline/VTimelineDivider.mjs +1 -1
  191. package/lib/components/VTimeline/VTimelineItem.mjs +1 -1
  192. package/lib/components/VTimeline/index.d.mts +1 -1
  193. package/lib/components/VToolbar/VToolbar.mjs +1 -1
  194. package/lib/components/VTooltip/VTooltip.mjs +1 -1
  195. package/lib/components/VTooltip/index.d.mts +3 -3
  196. package/lib/components/VValidation/index.d.mts +1 -1
  197. package/lib/components/VVirtualScroll/VVirtualScroll.mjs +1 -1
  198. package/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +1 -1
  199. package/lib/components/VVirtualScroll/index.d.mts +1 -1
  200. package/lib/components/VWindow/VWindow.mjs +1 -1
  201. package/lib/components/VWindow/VWindowItem.mjs +1 -1
  202. package/lib/components/VWindow/index.d.mts +1 -1
  203. package/lib/components/index.d.mts +127 -106
  204. package/lib/components/transitions/dialog-transition.mjs +1 -2
  205. package/lib/components/transitions/dialog-transition.mjs.map +1 -1
  206. package/lib/composables/calendar.mjs +4 -1
  207. package/lib/composables/calendar.mjs.map +1 -1
  208. package/lib/composables/date/adapters/vuetify.mjs +9 -21
  209. package/lib/composables/date/adapters/vuetify.mjs.map +1 -1
  210. package/lib/composables/density.mjs +1 -1
  211. package/lib/composables/density.mjs.map +1 -1
  212. package/lib/composables/icons.mjs +1 -1
  213. package/lib/composables/list-items.mjs +2 -3
  214. package/lib/composables/list-items.mjs.map +1 -1
  215. package/lib/composables/nested/nested.mjs +16 -1
  216. package/lib/composables/nested/nested.mjs.map +1 -1
  217. package/lib/composables/variant.mjs +1 -1
  218. package/lib/entry-bundler.mjs +1 -1
  219. package/lib/framework.mjs +1 -1
  220. package/lib/iconsets/fa-svg.d.mts +1 -1
  221. package/lib/iconsets/fa.d.mts +1 -1
  222. package/lib/iconsets/fa4.d.mts +1 -1
  223. package/lib/iconsets/md.d.mts +1 -1
  224. package/lib/iconsets/mdi-svg.d.mts +1 -1
  225. package/lib/iconsets/mdi.d.mts +1 -1
  226. package/lib/index.d.mts +47 -47
  227. package/lib/labs/VCalendar/VCalendar.mjs +1 -1
  228. package/lib/labs/VCalendar/VCalendarDay.mjs +1 -1
  229. package/lib/labs/VCalendar/index.d.mts +8 -2
  230. package/lib/labs/VDateInput/VDateInput.mjs +4 -3
  231. package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
  232. package/lib/labs/VDateInput/index.d.mts +256 -3
  233. package/lib/labs/VFileUpload/VFileUpload.mjs +3 -3
  234. package/lib/labs/VFileUpload/VFileUpload.mjs.map +1 -1
  235. package/lib/labs/VFileUpload/VFileUploadItem.mjs +1 -1
  236. package/lib/labs/VFileUpload/index.d.mts +5 -5
  237. package/lib/labs/VNumberInput/VNumberInput.css +10 -2
  238. package/lib/labs/VNumberInput/VNumberInput.mjs +94 -36
  239. package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
  240. package/lib/labs/VNumberInput/VNumberInput.sass +12 -2
  241. package/lib/labs/VNumberInput/index.d.mts +59 -32
  242. package/lib/labs/VPicker/VPicker.mjs +1 -1
  243. package/lib/labs/VSnackbarQueue/VSnackbarQueue.mjs +1 -1
  244. package/lib/labs/VSnackbarQueue/index.d.mts +3 -3
  245. package/lib/labs/VStepperVertical/VStepperVertical.mjs +1 -1
  246. package/lib/labs/VStepperVertical/VStepperVerticalActions.mjs +1 -1
  247. package/lib/labs/VStepperVertical/VStepperVerticalItem.mjs +1 -1
  248. package/lib/labs/VStepperVertical/index.d.mts +1 -1
  249. package/lib/labs/VTimePicker/VTimePicker.mjs +1 -1
  250. package/lib/labs/VTimePicker/VTimePickerControls.mjs +1 -1
  251. package/lib/labs/VTimePicker/VTimePickerControls.sass +16 -16
  252. package/lib/labs/VTimePicker/_variables.scss +12 -12
  253. package/lib/labs/VTreeview/VTreeview.mjs +7 -3
  254. package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
  255. package/lib/labs/VTreeview/VTreeviewChildren.mjs +6 -9
  256. package/lib/labs/VTreeview/VTreeviewChildren.mjs.map +1 -1
  257. package/lib/labs/VTreeview/VTreeviewGroup.mjs +1 -1
  258. package/lib/labs/VTreeview/VTreeviewItem.css +15 -9
  259. package/lib/labs/VTreeview/VTreeviewItem.mjs +14 -14
  260. package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
  261. package/lib/labs/VTreeview/VTreeviewItem.sass +16 -10
  262. package/lib/labs/VTreeview/_variables.scss +2 -5
  263. package/lib/labs/VTreeview/index.d.mts +14 -20
  264. package/lib/labs/components.d.mts +365 -122
  265. package/lib/locale/adapters/vue-i18n.mjs +0 -1
  266. package/lib/locale/adapters/vue-i18n.mjs.map +1 -1
  267. package/lib/locale/ja.mjs +19 -19
  268. package/lib/locale/ja.mjs.map +1 -1
  269. package/lib/styles/tools/_functions.sass +1 -1
  270. package/lib/util/helpers.mjs +3 -9
  271. package/lib/util/helpers.mjs.map +1 -1
  272. package/package.json +17 -16
package/dist/vuetify.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.12
2
+ * Vuetify v3.7.14
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -159,10 +159,9 @@
159
159
  // Array of keys
160
160
  function pick(obj, paths) {
161
161
  const found = {};
162
- const keys = new Set(Object.keys(obj));
163
- for (const path of paths) {
164
- if (keys.has(path)) {
165
- found[path] = obj[path];
162
+ for (const key of paths) {
163
+ if (Object.hasOwn(obj, key)) {
164
+ found[key] = obj[key];
166
165
  }
167
166
  }
168
167
  return found;
@@ -176,7 +175,7 @@
176
175
  const found = Object.create(null);
177
176
  const rest = Object.create(null);
178
177
  for (const key in obj) {
179
- if (paths.some(path => path instanceof RegExp ? path.test(key) : path === key) && !exclude?.some(path => path === key)) {
178
+ if (paths.some(path => path instanceof RegExp ? path.test(key) : path === key) && true) {
180
179
  found[key] = obj[key];
181
180
  } else {
182
181
  rest[key] = obj[key];
@@ -191,11 +190,6 @@
191
190
  exclude.forEach(prop => delete clone[prop]);
192
191
  return clone;
193
192
  }
194
- function only(obj, include) {
195
- const clone = {};
196
- include.forEach(prop => clone[prop] = obj[prop]);
197
- return clone;
198
- }
199
193
  const onRE = /^on[^a-z]/;
200
194
  const isOn = key => onRE.test(key);
201
195
  const bubblingEvents = ['onAfterscriptexecute', 'onAnimationcancel', 'onAnimationend', 'onAnimationiteration', 'onAnimationstart', 'onAuxclick', 'onBeforeinput', 'onBeforescriptexecute', 'onChange', 'onClick', 'onCompositionend', 'onCompositionstart', 'onCompositionupdate', 'onContextmenu', 'onCopy', 'onCut', 'onDblclick', 'onFocusin', 'onFocusout', 'onFullscreenchange', 'onFullscreenerror', 'onGesturechange', 'onGestureend', 'onGesturestart', 'onGotpointercapture', 'onInput', 'onKeydown', 'onKeypress', 'onKeyup', 'onLostpointercapture', 'onMousedown', 'onMousemove', 'onMouseout', 'onMouseover', 'onMouseup', 'onMousewheel', 'onPaste', 'onPointercancel', 'onPointerdown', 'onPointerenter', 'onPointerleave', 'onPointermove', 'onPointerout', 'onPointerover', 'onPointerup', 'onReset', 'onSelect', 'onSubmit', 'onTouchcancel', 'onTouchend', 'onTouchmove', 'onTouchstart', 'onTransitioncancel', 'onTransitionend', 'onTransitionrun', 'onTransitionstart', 'onWheel'];
@@ -804,7 +798,7 @@
804
798
  // WoB should always return negative value.
805
799
 
806
800
  const SAPC = (Ybg ** revBG - Ytxt ** revTXT) * scaleWoB;
807
- outputContrast = SAPC > -loClip ? 0.0 : SAPC > -loConThresh ? SAPC - SAPC * loConFactor * loConOffset : SAPC + loConOffset;
801
+ outputContrast = SAPC > -1e-3 ? 0.0 : SAPC > -0.078 ? SAPC - SAPC * loConFactor * loConOffset : SAPC + loConOffset;
808
802
  }
809
803
  return outputContrast * 100;
810
804
  }
@@ -844,7 +838,7 @@
844
838
  // Types
845
839
 
846
840
  // For converting XYZ to sRGB
847
- const srgbForwardMatrix = [[3.2406, -1.5372, -0.4986], [-0.9689, 1.8758, 0.0415], [0.0557, -0.2040, 1.0570]];
841
+ const srgbForwardMatrix = [[3.2406, -1.5372, -0.4986], [-0.9689, 1.8758, 0.0415], [0.0557, -0.204, 1.0570]];
848
842
 
849
843
  // Forward gamma adjust
850
844
  const srgbForwardTransform = C => C <= 0.0031308 ? C * 12.92 : 1.055 * C ** (1 / 2.4) - 0.055;
@@ -1263,7 +1257,7 @@
1263
1257
  function getCurrentInstance(name, message) {
1264
1258
  const vm = vue.getCurrentInstance();
1265
1259
  if (!vm) {
1266
- throw new Error(`[Vuetify] ${name} ${message || 'must be called from inside a setup function'}`);
1260
+ throw new Error(`[Vuetify] ${name} ${'must be called from inside a setup function'}`);
1267
1261
  }
1268
1262
  return vm;
1269
1263
  }
@@ -3263,6 +3257,8 @@
3263
3257
  }
3264
3258
  }
3265
3259
 
3260
+ // Utilities
3261
+
3266
3262
  // Types
3267
3263
 
3268
3264
  const makeVDialogTransitionProps = propsFactory({
@@ -4457,7 +4453,7 @@
4457
4453
 
4458
4454
  const allowedDensities = [null, 'default', 'comfortable', 'compact'];
4459
4455
 
4460
- // typeof allowedDensities[number] evalutes to any
4456
+ // typeof allowedDensities[number] evaluates to any
4461
4457
  // when generating api types for whatever reason.
4462
4458
 
4463
4459
  // Composables
@@ -4957,7 +4953,6 @@
4957
4953
  const isIntersecting = vue.shallowRef(false);
4958
4954
  if (SUPPORTS_INTERSECTION) {
4959
4955
  const observer = new IntersectionObserver(entries => {
4960
- callback?.(entries, observer);
4961
4956
  isIntersecting.value = !!entries.find(entry => entry.isIntersecting);
4962
4957
  }, options);
4963
4958
  vue.onBeforeUnmount(() => {
@@ -7129,7 +7124,7 @@
7129
7124
  'onClick:append': EventProp(),
7130
7125
  ...makeComponentProps(),
7131
7126
  ...makeDensityProps(),
7132
- ...only(makeDimensionProps(), ['maxWidth', 'minWidth', 'width']),
7127
+ ...pick(makeDimensionProps(), ['maxWidth', 'minWidth', 'width']),
7133
7128
  ...makeThemeProps(),
7134
7129
  ...makeValidationProps()
7135
7130
  }, 'VInput');
@@ -8957,7 +8952,22 @@
8957
8952
  parents: parents.value,
8958
8953
  event
8959
8954
  });
8960
- newActivated && (activated.value = newActivated);
8955
+ if (newActivated.size !== activated.value.size) {
8956
+ activated.value = newActivated;
8957
+ } else {
8958
+ for (const value of newActivated) {
8959
+ if (!activated.value.has(value)) {
8960
+ activated.value = newActivated;
8961
+ return;
8962
+ }
8963
+ }
8964
+ for (const value of activated.value) {
8965
+ if (!newActivated.has(value)) {
8966
+ activated.value = newActivated;
8967
+ return;
8968
+ }
8969
+ }
8970
+ }
8961
8971
  },
8962
8972
  children,
8963
8973
  parents,
@@ -9404,7 +9414,8 @@
9404
9414
  list,
9405
9415
  select,
9406
9416
  root,
9407
- id: uid
9417
+ id: uid,
9418
+ link
9408
9419
  };
9409
9420
  }
9410
9421
  });
@@ -9672,7 +9683,6 @@
9672
9683
  function transformIn(value) {
9673
9684
  // Cache unrefed values outside the loop,
9674
9685
  // proxy getters can be slow when you call them a billion times
9675
- const _value = vue.toRaw(value);
9676
9686
  const _items = itemsMap.value;
9677
9687
  const _allItems = items.value;
9678
9688
  const _keylessItems = keylessItems.value;
@@ -9682,7 +9692,7 @@
9682
9692
  const valueComparator = props.valueComparator || deepEqual;
9683
9693
  const _props = pick(props, ['itemTitle', 'itemValue', 'itemChildren', 'itemProps', 'returnObject', 'valueComparator']);
9684
9694
  const returnValue = [];
9685
- main: for (const v of _value) {
9695
+ main: for (const v of value) {
9686
9696
  // When the model value is null, return an InternalItem
9687
9697
  // based on null only if null is one of the items
9688
9698
  if (!_hasNullItem && v === null) continue;
@@ -9928,7 +9938,7 @@
9928
9938
  'v-list--slim': props.slim
9929
9939
  }, themeClasses.value, backgroundColorClasses.value, borderClasses.value, densityClasses.value, elevationClasses.value, lineClasses.value, roundedClasses.value, props.class],
9930
9940
  "style": [backgroundColorStyles.value, dimensionStyles.value, props.style],
9931
- "tabindex": props.disabled || isFocused.value ? -1 : 0,
9941
+ "tabindex": props.disabled ? -1 : 0,
9932
9942
  "role": "listbox",
9933
9943
  "aria-activedescendant": undefined,
9934
9944
  "onFocusin": onFocusin,
@@ -17940,16 +17950,13 @@
17940
17950
  case 'fullTime':
17941
17951
  options = {
17942
17952
  hour: 'numeric',
17943
- minute: 'numeric',
17944
- second: 'numeric',
17945
- hour12: true
17953
+ minute: 'numeric'
17946
17954
  };
17947
17955
  break;
17948
17956
  case 'fullTime12h':
17949
17957
  options = {
17950
17958
  hour: 'numeric',
17951
17959
  minute: 'numeric',
17952
- second: 'numeric',
17953
17960
  hour12: true
17954
17961
  };
17955
17962
  break;
@@ -17957,40 +17964,35 @@
17957
17964
  options = {
17958
17965
  hour: 'numeric',
17959
17966
  minute: 'numeric',
17960
- second: 'numeric',
17961
17967
  hour12: false
17962
17968
  };
17963
17969
  break;
17964
17970
  case 'fullDateTime':
17965
17971
  options = {
17966
17972
  year: 'numeric',
17967
- month: 'long',
17973
+ month: 'short',
17968
17974
  day: 'numeric',
17969
17975
  hour: 'numeric',
17970
- minute: 'numeric',
17971
- second: 'numeric',
17972
- hour12: true
17976
+ minute: 'numeric'
17973
17977
  };
17974
17978
  break;
17975
17979
  case 'fullDateTime12h':
17976
17980
  options = {
17977
17981
  year: 'numeric',
17978
- month: 'long',
17982
+ month: 'short',
17979
17983
  day: 'numeric',
17980
17984
  hour: 'numeric',
17981
17985
  minute: 'numeric',
17982
- second: 'numeric',
17983
17986
  hour12: true
17984
17987
  };
17985
17988
  break;
17986
17989
  case 'fullDateTime24h':
17987
17990
  options = {
17988
17991
  year: 'numeric',
17989
- month: 'long',
17992
+ month: 'short',
17990
17993
  day: 'numeric',
17991
17994
  hour: 'numeric',
17992
17995
  minute: 'numeric',
17993
- second: 'numeric',
17994
17996
  hour12: false
17995
17997
  };
17996
17998
  break;
@@ -18007,11 +18009,9 @@
18007
18009
  month: '2-digit',
18008
18010
  day: '2-digit',
18009
18011
  hour: 'numeric',
18010
- minute: 'numeric',
18011
- second: 'numeric',
18012
- hour12: false
18012
+ minute: 'numeric'
18013
18013
  };
18014
- break;
18014
+ return new Intl.DateTimeFormat(locale, options).format(newDate).replace(/, /g, ' ');
18015
18015
  case 'keyboardDateTime12h':
18016
18016
  options = {
18017
18017
  year: 'numeric',
@@ -18019,10 +18019,9 @@
18019
18019
  day: '2-digit',
18020
18020
  hour: 'numeric',
18021
18021
  minute: 'numeric',
18022
- second: 'numeric',
18023
18022
  hour12: true
18024
18023
  };
18025
- break;
18024
+ return new Intl.DateTimeFormat(locale, options).format(newDate).replace(/, /g, ' ');
18026
18025
  case 'keyboardDateTime24h':
18027
18026
  options = {
18028
18027
  year: 'numeric',
@@ -18030,10 +18029,9 @@
18030
18029
  day: '2-digit',
18031
18030
  hour: 'numeric',
18032
18031
  minute: 'numeric',
18033
- second: 'numeric',
18034
18032
  hour12: false
18035
18033
  };
18036
- break;
18034
+ return new Intl.DateTimeFormat(locale, options).format(newDate).replace(/, /g, ' ');
18037
18035
  default:
18038
18036
  options = customFormat ?? {
18039
18037
  timeZone: 'UTC',
@@ -18602,13 +18600,7 @@
18602
18600
  return [...new Set(arr)];
18603
18601
  }
18604
18602
  return dive({
18605
- type: 'group',
18606
- items,
18607
- id: 'dummy',
18608
- key: 'dummy',
18609
- value: 'dummy',
18610
- depth: 0
18611
- });
18603
+ items});
18612
18604
  }
18613
18605
 
18614
18606
  // onBeforeMount(() => {
@@ -19052,15 +19044,19 @@
19052
19044
  })) ?? [];
19053
19045
  const item = newSortBy.find(x => x.key === column.key);
19054
19046
  if (!item) {
19055
- if (multiSort.value) newSortBy = [...newSortBy, {
19056
- key: column.key,
19057
- order: 'asc'
19058
- }];else newSortBy = [{
19059
- key: column.key,
19060
- order: 'asc'
19061
- }];
19047
+ if (multiSort.value) {
19048
+ newSortBy.push({
19049
+ key: column.key,
19050
+ order: 'asc'
19051
+ });
19052
+ } else {
19053
+ newSortBy = [{
19054
+ key: column.key,
19055
+ order: 'asc'
19056
+ }];
19057
+ }
19062
19058
  } else if (item.order === 'desc') {
19063
- if (mustSort.value) {
19059
+ if (mustSort.value && newSortBy.length === 1) {
19064
19060
  item.order = 'asc';
19065
19061
  } else {
19066
19062
  newSortBy = newSortBy.filter(x => x.key !== column.key);
@@ -21685,7 +21681,7 @@
21685
21681
  },
21686
21682
  disabled: {
21687
21683
  type: [Boolean, String, Array],
21688
- default: false
21684
+ default: null
21689
21685
  },
21690
21686
  nextIcon: {
21691
21687
  type: IconValue,
@@ -21867,7 +21863,10 @@
21867
21863
  // Composables
21868
21864
  const makeCalendarProps = propsFactory({
21869
21865
  allowedDates: [Array, Function],
21870
- disabled: Boolean,
21866
+ disabled: {
21867
+ type: Boolean,
21868
+ default: null
21869
+ },
21871
21870
  displayValue: null,
21872
21871
  modelValue: Array,
21873
21872
  month: [Number, String],
@@ -22471,9 +22470,26 @@
22471
22470
  const model = useProxiedModel(props, 'modelValue', undefined, v => wrapInArray(v), v => props.multiple ? v : v[0]);
22472
22471
  const viewMode = useProxiedModel(props, 'viewMode');
22473
22472
  // const inputMode = useProxiedModel(props, 'inputMode')
22473
+
22474
+ const minDate = vue.computed(() => {
22475
+ const date = adapter.date(props.min);
22476
+ return props.min && adapter.isValid(date) ? date : null;
22477
+ });
22478
+ const maxDate = vue.computed(() => {
22479
+ const date = adapter.date(props.max);
22480
+ return props.max && adapter.isValid(date) ? date : null;
22481
+ });
22474
22482
  const internal = vue.computed(() => {
22475
- const value = adapter.date(model.value?.[0]);
22476
- return value && adapter.isValid(value) ? value : adapter.date();
22483
+ const today = adapter.date();
22484
+ let value = today;
22485
+ if (model.value?.[0]) {
22486
+ value = adapter.date(model.value[0]);
22487
+ } else if (minDate.value && adapter.isBefore(today, minDate.value)) {
22488
+ value = minDate.value;
22489
+ } else if (maxDate.value && adapter.isAfter(today, maxDate.value)) {
22490
+ value = maxDate.value;
22491
+ }
22492
+ return value && adapter.isValid(value) ? value : today;
22477
22493
  });
22478
22494
  const month = vue.ref(Number(props.month ?? adapter.getMonth(adapter.startOfMonth(internal.value))));
22479
22495
  const year = vue.ref(Number(props.year ?? adapter.getYear(adapter.startOfYear(adapter.setMonth(internal.value, month.value)))));
@@ -22493,14 +22509,6 @@
22493
22509
  });
22494
22510
  // const headerIcon = computed(() => props.inputMode === 'calendar' ? props.keyboardIcon : props.calendarIcon)
22495
22511
  const headerTransition = vue.computed(() => `date-picker-header${isReversing.value ? '-reverse' : ''}-transition`);
22496
- const minDate = vue.computed(() => {
22497
- const date = adapter.date(props.min);
22498
- return props.min && adapter.isValid(date) ? date : null;
22499
- });
22500
- const maxDate = vue.computed(() => {
22501
- const date = adapter.date(props.max);
22502
- return props.max && adapter.isValid(date) ? date : null;
22503
- });
22504
22512
  const disabled = vue.computed(() => {
22505
22513
  if (props.disabled) return true;
22506
22514
  const targets = [];
@@ -23279,6 +23287,14 @@
23279
23287
  callEvent(props['onClick:clear'], e);
23280
23288
  });
23281
23289
  }
23290
+ function onDragover(e) {
23291
+ e.preventDefault();
23292
+ }
23293
+ function onDrop(e) {
23294
+ e.preventDefault();
23295
+ if (!e.dataTransfer) return;
23296
+ model.value = [...(e.dataTransfer.files ?? [])];
23297
+ }
23282
23298
  vue.watch(model, newValue => {
23283
23299
  const hasModelReset = !Array.isArray(newValue) || !newValue.length;
23284
23300
  if (hasModelReset && inputRef.value) {
@@ -23296,8 +23312,7 @@
23296
23312
  const fieldProps = filterFieldProps(props);
23297
23313
  return vue.createVNode(VInput, vue.mergeProps({
23298
23314
  "ref": vInputRef,
23299
- "modelValue": model.value,
23300
- "onUpdate:modelValue": $event => model.value = $event,
23315
+ "modelValue": props.multiple ? model.value : model.value[0],
23301
23316
  "class": ['v-file-input', {
23302
23317
  'v-file-input--chips': !!props.chips,
23303
23318
  'v-file-input--hide': props.hideInput,
@@ -23332,7 +23347,9 @@
23332
23347
  "dirty": isDirty.value || props.dirty,
23333
23348
  "disabled": isDisabled.value,
23334
23349
  "focused": isFocused.value,
23335
- "error": isValid.value === false
23350
+ "error": isValid.value === false,
23351
+ "onDragover": onDragover,
23352
+ "onDrop": onDrop
23336
23353
  }), {
23337
23354
  ...slots,
23338
23355
  default: _ref4 => {
@@ -24136,7 +24153,7 @@
24136
24153
  /** @see https://android.googlesource.com/platform/frameworks/native/+/master/libs/input/VelocityTracker.cpp */
24137
24154
  function kineticEnergyToVelocity(work) {
24138
24155
  const sqrt2 = 1.41421356237;
24139
- return (work < 0 ? -1.0 : 1.0) * Math.sqrt(Math.abs(work)) * sqrt2;
24156
+ return (work < 0 ? -1 : 1.0) * Math.sqrt(Math.abs(work)) * sqrt2;
24140
24157
  }
24141
24158
 
24142
24159
  /**
@@ -24518,7 +24535,6 @@
24518
24535
  const size = isTemporary.value ? 0 : props.rail && props.expandOnHover ? Number(props.railWidth) : width.value;
24519
24536
  return isDragging.value ? size * dragProgress.value : size;
24520
24537
  });
24521
- const elementSize = vue.computed(() => ['top', 'bottom'].includes(props.location) ? 0 : width.value);
24522
24538
  const {
24523
24539
  layoutItemStyles,
24524
24540
  layoutItemScrimStyles
@@ -24527,7 +24543,7 @@
24527
24543
  order: vue.computed(() => parseInt(props.order, 10)),
24528
24544
  position: location,
24529
24545
  layoutSize,
24530
- elementSize,
24546
+ elementSize: width,
24531
24547
  active: vue.computed(() => isActive.value || isDragging.value),
24532
24548
  disableTransitions: vue.computed(() => isDragging.value),
24533
24549
  absolute: vue.computed(() =>
@@ -24573,9 +24589,7 @@
24573
24589
  'v-navigation-drawer--active': isActive.value,
24574
24590
  'v-navigation-drawer--sticky': isSticky.value
24575
24591
  }, themeClasses.value, backgroundColorClasses.value, borderClasses.value, displayClasses.value, elevationClasses.value, roundedClasses.value, props.class],
24576
- "style": [backgroundColorStyles.value, layoutItemStyles.value, ssrBootStyles.value, stickyStyles.value, props.style, ['top', 'bottom'].includes(location.value) ? {
24577
- height: 'auto'
24578
- } : {}]
24592
+ "style": [backgroundColorStyles.value, layoutItemStyles.value, ssrBootStyles.value, stickyStyles.value, props.style]
24579
24593
  }, scopeId, attrs), {
24580
24594
  default: () => [hasImage && vue.createVNode("div", {
24581
24595
  "key": "image",
@@ -24662,7 +24676,7 @@
24662
24676
  },
24663
24677
  ...makeDimensionProps(),
24664
24678
  ...makeFocusProps(),
24665
- ...only(makeVFieldProps({
24679
+ ...pick(makeVFieldProps({
24666
24680
  variant: 'outlined'
24667
24681
  }), ['baseColor', 'bgColor', 'class', 'color', 'disabled', 'error', 'loading', 'rounded', 'style', 'theme', 'variant'])
24668
24682
  }, 'VOtpInput');
@@ -25895,6 +25909,8 @@
25895
25909
  }
25896
25910
  }, 'Line');
25897
25911
 
25912
+ // Utilities
25913
+
25898
25914
  // Types
25899
25915
 
25900
25916
  const makeVBarlineProps = propsFactory({
@@ -26092,6 +26108,8 @@
26092
26108
  };
26093
26109
  }
26094
26110
 
26111
+ // Utilities
26112
+
26095
26113
  // Types
26096
26114
 
26097
26115
  const makeVTrendlineProps = propsFactory({
@@ -26646,7 +26664,7 @@
26646
26664
  selectedClass: 'v-stepper-item--selected'
26647
26665
  }),
26648
26666
  ...makeVSheetProps(),
26649
- ...only(makeVStepperActionsProps(), ['prevText', 'nextText'])
26667
+ ...pick(makeVStepperActionsProps(), ['prevText', 'nextText'])
26650
26668
  }, 'VStepper');
26651
26669
  const VStepper = genericComponent()({
26652
26670
  name: 'VStepper',
@@ -27728,7 +27746,7 @@
27728
27746
  type: String,
27729
27747
  validator: v => ['start', 'end', 'both'].includes(v)
27730
27748
  },
27731
- ...only(makeVTimelineItemProps({
27749
+ ...pick(makeVTimelineItemProps({
27732
27750
  lineInset: 0
27733
27751
  }), ['dotColor', 'fillDot', 'hideOpposite', 'iconColor', 'lineInset', 'size']),
27734
27752
  ...makeComponentProps(),
@@ -28400,7 +28418,7 @@
28400
28418
  goTo
28401
28419
  };
28402
28420
  }
28403
- const version$1 = "3.7.12";
28421
+ const version$1 = "3.7.14";
28404
28422
  createVuetify$1.version = version$1;
28405
28423
 
28406
28424
  // Vue's inject() can only be used in setup
@@ -28425,7 +28443,7 @@
28425
28443
  ...options
28426
28444
  });
28427
28445
  };
28428
- const version = "3.7.12";
28446
+ const version = "3.7.14";
28429
28447
  createVuetify.version = version;
28430
28448
 
28431
28449
  exports.blueprints = index;