vuetify 3.3.3 → 3.3.5

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 (309) hide show
  1. package/dist/_component-variables-labs.sass +2 -0
  2. package/dist/json/attributes.json +448 -12
  3. package/dist/json/importMap-labs.json +32 -0
  4. package/dist/json/importMap.json +12 -12
  5. package/dist/json/tags.json +149 -0
  6. package/dist/json/web-types.json +1599 -21
  7. package/dist/vuetify-labs.css +468 -192
  8. package/dist/vuetify-labs.d.ts +5132 -217
  9. package/dist/vuetify-labs.esm.js +1911 -995
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +1911 -995
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.css +180 -173
  14. package/dist/vuetify.d.ts +58 -43
  15. package/dist/vuetify.esm.js +149 -109
  16. package/dist/vuetify.esm.js.map +1 -1
  17. package/dist/vuetify.js +149 -109
  18. package/dist/vuetify.js.map +1 -1
  19. package/dist/vuetify.min.css +2 -2
  20. package/dist/vuetify.min.js +159 -160
  21. package/dist/vuetify.min.js.map +1 -1
  22. package/lib/blueprints/index.d.mts +32 -25
  23. package/lib/blueprints/md1.d.mts +32 -25
  24. package/lib/blueprints/md2.d.mts +32 -25
  25. package/lib/blueprints/md3.d.mts +32 -25
  26. package/lib/components/VAppBar/VAppBar.mjs +3 -10
  27. package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
  28. package/lib/components/VAutocomplete/VAutocomplete.css +4 -22
  29. package/lib/components/VAutocomplete/VAutocomplete.mjs +1 -1
  30. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  31. package/lib/components/VAutocomplete/VAutocomplete.sass +6 -17
  32. package/lib/components/VBreadcrumbs/index.d.mts +7 -7
  33. package/lib/components/VBtn/VBtn.css +11 -11
  34. package/lib/components/VBtn/VBtn.sass +1 -1
  35. package/lib/components/VBtn/_mixins.scss +1 -1
  36. package/lib/components/VChip/VChip.css +67 -67
  37. package/lib/components/VChip/_variables.scss +1 -1
  38. package/lib/components/VCombobox/VCombobox.css +4 -22
  39. package/lib/components/VCombobox/VCombobox.sass +6 -17
  40. package/lib/components/VCombobox/_variables.scss +3 -3
  41. package/lib/components/VCounter/index.d.mts +8 -8
  42. package/lib/components/VField/VField.css +71 -8
  43. package/lib/components/VField/VField.sass +9 -5
  44. package/lib/components/VField/_mixins.sass +7 -0
  45. package/lib/components/VFileInput/VFileInput.css +2 -17
  46. package/lib/components/VFileInput/VFileInput.mjs +0 -2
  47. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  48. package/lib/components/VFileInput/VFileInput.sass +2 -11
  49. package/lib/components/VFileInput/_variables.scss +3 -3
  50. package/lib/components/VInput/VInput.css +14 -1
  51. package/lib/components/VInput/VInput.sass +6 -0
  52. package/lib/components/VInput/_variables.scss +5 -1
  53. package/lib/components/VList/VListItem.mjs +1 -1
  54. package/lib/components/VList/VListItem.mjs.map +1 -1
  55. package/lib/components/VSelect/VSelect.css +2 -20
  56. package/lib/components/VSelect/VSelect.mjs +1 -1
  57. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  58. package/lib/components/VSelect/VSelect.sass +2 -12
  59. package/lib/components/VSelect/_variables.scss +3 -3
  60. package/lib/components/VTabs/VTab.mjs +2 -2
  61. package/lib/components/VTabs/VTab.mjs.map +1 -1
  62. package/lib/components/VTimePicker/VTimePickerTitle.mjs +1 -1
  63. package/lib/components/index.d.mts +15 -15
  64. package/lib/components/index.mjs +1 -2
  65. package/lib/components/index.mjs.map +1 -1
  66. package/lib/composables/icons.mjs.map +1 -1
  67. package/lib/composables/list-items.mjs +5 -2
  68. package/lib/composables/list-items.mjs.map +1 -1
  69. package/lib/composables/nested/nested.mjs +1 -1
  70. package/lib/composables/nested/nested.mjs.map +1 -1
  71. package/lib/composables/virtual.mjs +7 -5
  72. package/lib/composables/virtual.mjs.map +1 -1
  73. package/lib/entry-bundler.mjs +1 -1
  74. package/lib/framework.mjs +1 -1
  75. package/lib/iconsets/fa-svg.d.mts +1 -0
  76. package/lib/iconsets/fa.d.mts +1 -0
  77. package/lib/iconsets/fa.mjs +2 -1
  78. package/lib/iconsets/fa.mjs.map +1 -1
  79. package/lib/iconsets/fa4.d.mts +1 -0
  80. package/lib/iconsets/fa4.mjs +2 -1
  81. package/lib/iconsets/fa4.mjs.map +1 -1
  82. package/lib/iconsets/md.d.mts +1 -0
  83. package/lib/iconsets/md.mjs +2 -1
  84. package/lib/iconsets/md.mjs.map +1 -1
  85. package/lib/iconsets/mdi-svg.d.mts +1 -0
  86. package/lib/iconsets/mdi-svg.mjs +2 -1
  87. package/lib/iconsets/mdi-svg.mjs.map +1 -1
  88. package/lib/iconsets/mdi.d.mts +1 -0
  89. package/lib/iconsets/mdi.mjs +2 -1
  90. package/lib/iconsets/mdi.mjs.map +1 -1
  91. package/lib/index.d.mts +43 -28
  92. package/lib/labs/VDataTable/VDataTableVirtual.mjs +16 -12
  93. package/lib/labs/VDataTable/VDataTableVirtual.mjs.map +1 -1
  94. package/lib/labs/VDataTable/composables/headers.mjs +2 -5
  95. package/lib/labs/VDataTable/composables/headers.mjs.map +1 -1
  96. package/lib/labs/VDateInput/VDateInput.mjs +127 -0
  97. package/lib/labs/VDateInput/VDateInput.mjs.map +1 -0
  98. package/lib/labs/VDateInput/VDateInput.sass +11 -0
  99. package/lib/labs/VDateInput/VDateRangeInput.mjs +223 -0
  100. package/lib/labs/VDateInput/VDateRangeInput.mjs.map +1 -0
  101. package/lib/labs/VDateInput/VDateRangeInput.sass +10 -0
  102. package/lib/labs/VDateInput/composables.mjs +59 -0
  103. package/lib/labs/VDateInput/composables.mjs.map +1 -0
  104. package/lib/labs/VDateInput/index.d.mts +1352 -0
  105. package/lib/labs/VDateInput/index.mjs +3 -0
  106. package/lib/labs/VDateInput/index.mjs.map +1 -0
  107. package/lib/labs/VDatePicker/VDateCard.css +33 -0
  108. package/lib/labs/VDatePicker/VDateCard.mjs +112 -0
  109. package/lib/labs/VDatePicker/VDateCard.mjs.map +1 -0
  110. package/lib/labs/VDatePicker/VDateCard.sass +32 -0
  111. package/lib/labs/VDatePicker/VDatePicker.css +21 -0
  112. package/lib/labs/VDatePicker/VDatePicker.mjs +174 -0
  113. package/lib/labs/VDatePicker/VDatePicker.mjs.map +1 -0
  114. package/lib/labs/VDatePicker/VDatePicker.sass +21 -0
  115. package/lib/labs/VDatePicker/VDatePickerControls.css +17 -0
  116. package/lib/labs/VDatePicker/VDatePickerControls.mjs +80 -0
  117. package/lib/labs/VDatePicker/VDatePickerControls.mjs.map +1 -0
  118. package/lib/labs/VDatePicker/VDatePickerControls.sass +15 -0
  119. package/lib/labs/VDatePicker/VDatePickerHeader.css +54 -0
  120. package/lib/labs/VDatePicker/VDatePickerHeader.mjs +75 -0
  121. package/lib/labs/VDatePicker/VDatePickerHeader.mjs.map +1 -0
  122. package/lib/labs/VDatePicker/VDatePickerHeader.sass +51 -0
  123. package/lib/labs/VDatePicker/VDatePickerInput.sass +17 -0
  124. package/lib/labs/VDatePicker/VDatePickerMonth.css +76 -0
  125. package/lib/labs/VDatePicker/VDatePickerMonth.mjs +286 -0
  126. package/lib/labs/VDatePicker/VDatePickerMonth.mjs.map +1 -0
  127. package/lib/labs/VDatePicker/VDatePickerMonth.sass +68 -0
  128. package/lib/{components → labs}/VDatePicker/VDatePickerTitle.mjs +1 -1
  129. package/lib/labs/VDatePicker/VDatePickerTitle.mjs.map +1 -0
  130. package/lib/{components → labs}/VDatePicker/VDatePickerTitle.sass +1 -1
  131. package/lib/labs/VDatePicker/VDatePickerYears.css +18 -0
  132. package/lib/labs/VDatePicker/VDatePickerYears.mjs +64 -0
  133. package/lib/labs/VDatePicker/VDatePickerYears.mjs.map +1 -0
  134. package/lib/labs/VDatePicker/VDatePickerYears.sass +16 -0
  135. package/lib/{components → labs}/VDatePicker/_variables.scss +0 -5
  136. package/lib/labs/VDatePicker/composables.mjs +33 -0
  137. package/lib/labs/VDatePicker/composables.mjs.map +1 -0
  138. package/lib/labs/VDatePicker/index.d.mts +4384 -0
  139. package/lib/labs/VDatePicker/index.mjs +7 -0
  140. package/lib/labs/VDatePicker/index.mjs.map +1 -0
  141. package/lib/labs/VDatePicker/util/createNativeLocaleFormatter.mjs.map +1 -0
  142. package/lib/labs/VDatePicker/util/eventHelpers.mjs.map +1 -0
  143. package/lib/labs/VDatePicker/util/index.mjs.map +1 -0
  144. package/lib/labs/VDatePicker/util/isDateAllowed.mjs.map +1 -0
  145. package/lib/labs/VDatePicker/util/monthChange.mjs.map +1 -0
  146. package/lib/labs/VDatePicker/util/pad.mjs.map +1 -0
  147. package/lib/labs/VDatePicker/util/sanitizeDateString.mjs.map +1 -0
  148. package/lib/labs/VDatePicker/utils.mjs +69 -0
  149. package/lib/labs/VDatePicker/utils.mjs.map +1 -0
  150. package/lib/labs/VDateRangePicker/VDateRangeCard.mjs +87 -0
  151. package/lib/labs/VDateRangePicker/VDateRangeCard.mjs.map +1 -0
  152. package/lib/labs/VDateRangePicker/VDateRangeCard.sass +33 -0
  153. package/lib/labs/VDateRangePicker/VDateRangePicker.mjs +131 -0
  154. package/lib/labs/VDateRangePicker/VDateRangePicker.mjs.map +1 -0
  155. package/lib/labs/VDateRangePicker/VDateRangePicker.sass +21 -0
  156. package/lib/labs/VDateRangePicker/VDateRangePickerHeader.mjs +103 -0
  157. package/lib/labs/VDateRangePicker/VDateRangePickerHeader.mjs.map +1 -0
  158. package/lib/labs/VDateRangePicker/VDateRangePickerHeader.sass +39 -0
  159. package/lib/labs/VDateRangePicker/VDateRangePickerMonth.mjs +61 -0
  160. package/lib/labs/VDateRangePicker/VDateRangePickerMonth.mjs.map +1 -0
  161. package/lib/labs/VDateRangePicker/VDateRangePickerMonth.sass +12 -0
  162. package/lib/labs/VDateRangePicker/index.d.mts +1065 -0
  163. package/lib/labs/VDateRangePicker/index.mjs +3 -0
  164. package/lib/labs/VDateRangePicker/index.mjs.map +1 -0
  165. package/lib/labs/VPicker/VPicker.css +57 -0
  166. package/lib/labs/VPicker/VPicker.mjs +47 -0
  167. package/lib/labs/VPicker/VPicker.mjs.map +1 -0
  168. package/lib/labs/VPicker/VPicker.sass +53 -0
  169. package/lib/labs/VPicker/VPickerTitle.mjs +4 -0
  170. package/lib/labs/VPicker/VPickerTitle.mjs.map +1 -0
  171. package/lib/{components → labs}/VPicker/_variables.scss +2 -2
  172. package/lib/labs/VPicker/index.d.mts +541 -0
  173. package/lib/labs/VPicker/index.mjs +3 -0
  174. package/lib/labs/VPicker/index.mjs.map +1 -0
  175. package/lib/labs/components.d.mts +5090 -198
  176. package/lib/labs/components.mjs +2 -0
  177. package/lib/labs/components.mjs.map +1 -1
  178. package/lib/labs/date/DateAdapter.mjs.map +1 -1
  179. package/lib/labs/date/adapters/vuetify.d.mts +28 -25
  180. package/lib/labs/date/adapters/vuetify.mjs +65 -75
  181. package/lib/labs/date/adapters/vuetify.mjs.map +1 -1
  182. package/lib/labs/date/date.mjs +82 -11
  183. package/lib/labs/date/date.mjs.map +1 -1
  184. package/lib/labs/date/index.d.mts +31 -30
  185. package/lib/locale/af.mjs +14 -5
  186. package/lib/locale/af.mjs.map +1 -1
  187. package/lib/locale/ar.mjs +14 -5
  188. package/lib/locale/ar.mjs.map +1 -1
  189. package/lib/locale/az.mjs +14 -5
  190. package/lib/locale/az.mjs.map +1 -1
  191. package/lib/locale/bg.mjs +14 -5
  192. package/lib/locale/bg.mjs.map +1 -1
  193. package/lib/locale/ca.mjs +14 -5
  194. package/lib/locale/ca.mjs.map +1 -1
  195. package/lib/locale/ckb.mjs +14 -5
  196. package/lib/locale/ckb.mjs.map +1 -1
  197. package/lib/locale/cs.mjs +14 -5
  198. package/lib/locale/cs.mjs.map +1 -1
  199. package/lib/locale/da.mjs +14 -5
  200. package/lib/locale/da.mjs.map +1 -1
  201. package/lib/locale/de.mjs +14 -5
  202. package/lib/locale/de.mjs.map +1 -1
  203. package/lib/locale/el.mjs +14 -5
  204. package/lib/locale/el.mjs.map +1 -1
  205. package/lib/locale/en.mjs +14 -5
  206. package/lib/locale/en.mjs.map +1 -1
  207. package/lib/locale/es.mjs +14 -5
  208. package/lib/locale/es.mjs.map +1 -1
  209. package/lib/locale/et.mjs +14 -5
  210. package/lib/locale/et.mjs.map +1 -1
  211. package/lib/locale/fa.mjs +14 -5
  212. package/lib/locale/fa.mjs.map +1 -1
  213. package/lib/locale/fi.mjs +14 -5
  214. package/lib/locale/fi.mjs.map +1 -1
  215. package/lib/locale/fr.mjs +14 -5
  216. package/lib/locale/fr.mjs.map +1 -1
  217. package/lib/locale/he.mjs +14 -5
  218. package/lib/locale/he.mjs.map +1 -1
  219. package/lib/locale/hr.mjs +14 -5
  220. package/lib/locale/hr.mjs.map +1 -1
  221. package/lib/locale/hu.mjs +14 -5
  222. package/lib/locale/hu.mjs.map +1 -1
  223. package/lib/locale/id.mjs +14 -5
  224. package/lib/locale/id.mjs.map +1 -1
  225. package/lib/locale/index.d.mts +588 -210
  226. package/lib/locale/it.mjs +14 -5
  227. package/lib/locale/it.mjs.map +1 -1
  228. package/lib/locale/ja.mjs +14 -5
  229. package/lib/locale/ja.mjs.map +1 -1
  230. package/lib/locale/ko.mjs +14 -5
  231. package/lib/locale/ko.mjs.map +1 -1
  232. package/lib/locale/lt.mjs +14 -5
  233. package/lib/locale/lt.mjs.map +1 -1
  234. package/lib/locale/lv.mjs +14 -5
  235. package/lib/locale/lv.mjs.map +1 -1
  236. package/lib/locale/nl.mjs +14 -5
  237. package/lib/locale/nl.mjs.map +1 -1
  238. package/lib/locale/no.mjs +14 -5
  239. package/lib/locale/no.mjs.map +1 -1
  240. package/lib/locale/pl.mjs +14 -5
  241. package/lib/locale/pl.mjs.map +1 -1
  242. package/lib/locale/pt.mjs +14 -5
  243. package/lib/locale/pt.mjs.map +1 -1
  244. package/lib/locale/ro.mjs +14 -5
  245. package/lib/locale/ro.mjs.map +1 -1
  246. package/lib/locale/ru.mjs +14 -5
  247. package/lib/locale/ru.mjs.map +1 -1
  248. package/lib/locale/sk.mjs +14 -5
  249. package/lib/locale/sk.mjs.map +1 -1
  250. package/lib/locale/sl.mjs +14 -5
  251. package/lib/locale/sl.mjs.map +1 -1
  252. package/lib/locale/sr-Cyrl.mjs +14 -5
  253. package/lib/locale/sr-Cyrl.mjs.map +1 -1
  254. package/lib/locale/sr-Latn.mjs +14 -5
  255. package/lib/locale/sr-Latn.mjs.map +1 -1
  256. package/lib/locale/sv.mjs +14 -5
  257. package/lib/locale/sv.mjs.map +1 -1
  258. package/lib/locale/th.mjs +14 -5
  259. package/lib/locale/th.mjs.map +1 -1
  260. package/lib/locale/tr.mjs +14 -5
  261. package/lib/locale/tr.mjs.map +1 -1
  262. package/lib/locale/uk.mjs +14 -5
  263. package/lib/locale/uk.mjs.map +1 -1
  264. package/lib/locale/vi.mjs +14 -5
  265. package/lib/locale/vi.mjs.map +1 -1
  266. package/lib/locale/zh-Hans.mjs +14 -5
  267. package/lib/locale/zh-Hans.mjs.map +1 -1
  268. package/lib/locale/zh-Hant.mjs +14 -5
  269. package/lib/locale/zh-Hant.mjs.map +1 -1
  270. package/lib/util/dateTimeUtils.mjs +68 -0
  271. package/lib/util/dateTimeUtils.mjs.map +1 -1
  272. package/package.json +5 -2
  273. package/lib/components/VDatePicker/VDatePicker.mjs +0 -475
  274. package/lib/components/VDatePicker/VDatePicker.mjs.map +0 -1
  275. package/lib/components/VDatePicker/VDatePickerDateTable.mjs +0 -120
  276. package/lib/components/VDatePicker/VDatePickerDateTable.mjs.map +0 -1
  277. package/lib/components/VDatePicker/VDatePickerHeader.mjs +0 -136
  278. package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +0 -1
  279. package/lib/components/VDatePicker/VDatePickerHeader.sass +0 -46
  280. package/lib/components/VDatePicker/VDatePickerMonthTable.mjs +0 -48
  281. package/lib/components/VDatePicker/VDatePickerMonthTable.mjs.map +0 -1
  282. package/lib/components/VDatePicker/VDatePickerTable.sass +0 -84
  283. package/lib/components/VDatePicker/VDatePickerTitle.mjs.map +0 -1
  284. package/lib/components/VDatePicker/VDatePickerYears.mjs +0 -84
  285. package/lib/components/VDatePicker/VDatePickerYears.mjs.map +0 -1
  286. package/lib/components/VDatePicker/VDatePickerYears.sass +0 -30
  287. package/lib/components/VDatePicker/index.mjs +0 -18
  288. package/lib/components/VDatePicker/index.mjs.map +0 -1
  289. package/lib/components/VDatePicker/mixins/date-picker-table.mjs +0 -210
  290. package/lib/components/VDatePicker/mixins/date-picker-table.mjs.map +0 -1
  291. package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs.map +0 -1
  292. package/lib/components/VDatePicker/util/eventHelpers.mjs.map +0 -1
  293. package/lib/components/VDatePicker/util/index.mjs.map +0 -1
  294. package/lib/components/VDatePicker/util/isDateAllowed.mjs.map +0 -1
  295. package/lib/components/VDatePicker/util/monthChange.mjs.map +0 -1
  296. package/lib/components/VDatePicker/util/pad.mjs.map +0 -1
  297. package/lib/components/VDatePicker/util/sanitizeDateString.mjs.map +0 -1
  298. package/lib/components/VPicker/VPicker.mjs +0 -86
  299. package/lib/components/VPicker/VPicker.mjs.map +0 -1
  300. package/lib/components/VPicker/VPicker.sass +0 -94
  301. package/lib/components/VPicker/index.mjs +0 -4
  302. package/lib/components/VPicker/index.mjs.map +0 -1
  303. /package/lib/{components → labs}/VDatePicker/util/createNativeLocaleFormatter.mjs +0 -0
  304. /package/lib/{components → labs}/VDatePicker/util/eventHelpers.mjs +0 -0
  305. /package/lib/{components → labs}/VDatePicker/util/index.mjs +0 -0
  306. /package/lib/{components → labs}/VDatePicker/util/isDateAllowed.mjs +0 -0
  307. /package/lib/{components → labs}/VDatePicker/util/monthChange.mjs +0 -0
  308. /package/lib/{components → labs}/VDatePicker/util/pad.mjs +0 -0
  309. /package/lib/{components → labs}/VDatePicker/util/sanitizeDateString.mjs +0 -0
package/dist/vuetify.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.3.3
2
+ * Vuetify v3.3.5
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -1643,12 +1643,21 @@
1643
1643
  lastPage: 'Last page',
1644
1644
  pageText: '{0}-{1} of {2}'
1645
1645
  },
1646
+ dateRangeInput: {
1647
+ divider: 'to'
1648
+ },
1646
1649
  datePicker: {
1647
- itemsSelected: '{0} selected',
1648
- nextMonthAriaLabel: 'Next month',
1649
- nextYearAriaLabel: 'Next year',
1650
- prevMonthAriaLabel: 'Previous month',
1651
- prevYearAriaLabel: 'Previous year'
1650
+ ok: 'OK',
1651
+ cancel: 'Cancel',
1652
+ range: {
1653
+ title: 'Select dates',
1654
+ header: 'Enter dates'
1655
+ },
1656
+ title: 'Select date',
1657
+ header: 'Enter date',
1658
+ input: {
1659
+ placeholder: 'Enter date'
1660
+ }
1652
1661
  },
1653
1662
  noDataText: 'No data available',
1654
1663
  carousel: {
@@ -3631,7 +3640,7 @@
3631
3640
  const extensionHeight = vToolbarRef.value?.extensionHeight ?? 0;
3632
3641
  return height + extensionHeight;
3633
3642
  });
3634
- function setActive() {
3643
+ vue.watchEffect(() => {
3635
3644
  if (scrollBehavior.value.hide) {
3636
3645
  if (scrollBehavior.value.inverted) {
3637
3646
  isActive.value = currentScroll.value > scrollThreshold.value;
@@ -3641,12 +3650,6 @@
3641
3650
  } else {
3642
3651
  isActive.value = true;
3643
3652
  }
3644
- }
3645
- useToggleScope(() => !!props.scrollBehavior, () => {
3646
- vue.watch(currentScroll, setActive, {
3647
- immediate: true
3648
- });
3649
- vue.watch(scrollBehavior, setActive);
3650
3653
  });
3651
3654
  const {
3652
3655
  ssrBootStyles
@@ -4101,7 +4104,8 @@
4101
4104
  unfold: 'mdi-unfold-more-horizontal',
4102
4105
  file: 'mdi-paperclip',
4103
4106
  plus: 'mdi-plus',
4104
- minus: 'mdi-minus'
4107
+ minus: 'mdi-minus',
4108
+ calendar: 'mdi-calendar'
4105
4109
  };
4106
4110
  const mdi = {
4107
4111
  // Not using mergeProps here, functional components merge props by default (?)
@@ -7311,7 +7315,7 @@
7311
7315
  const useNestedItem = (id, isGroup) => {
7312
7316
  const parent = vue.inject(VNestedSymbol, emptyNested);
7313
7317
  const uidSymbol = Symbol(getUid());
7314
- const computedId = vue.computed(() => id.value ?? uidSymbol);
7318
+ const computedId = vue.computed(() => id.value !== undefined ? id.value : uidSymbol);
7315
7319
  const item = {
7316
7320
  ...parent,
7317
7321
  id: computedId,
@@ -7511,7 +7515,7 @@
7511
7515
  emit
7512
7516
  } = _ref;
7513
7517
  const link = useLink(props, attrs);
7514
- const id = vue.computed(() => props.value ?? link.href.value);
7518
+ const id = vue.computed(() => props.value === undefined ? link.href.value : props.value);
7515
7519
  const {
7516
7520
  select,
7517
7521
  isSelected,
@@ -7908,10 +7912,13 @@
7908
7912
  }
7909
7913
  function useTransformItems(items, transform) {
7910
7914
  function transformIn(value) {
7911
- return value.map(v => {
7915
+ return value
7916
+ // When the model value is null, returns an InternalItem based on null
7917
+ // only if null is one of the items
7918
+ .filter(v => v !== null || items.value.some(item => item.value === null)).map(v => {
7912
7919
  const existingItem = items.value.find(item => deepEqual(v, item.value));
7913
7920
  // Nullish existingItem means value is a custom input value from combobox
7914
- // In this case, use transformItem to create an { value: unknown } based on value
7921
+ // In this case, use transformItem to create an InternalItem based on value
7915
7922
  return existingItem ?? transform(v);
7916
7923
  });
7917
7924
  }
@@ -10441,7 +10448,7 @@
10441
10448
  transformIn,
10442
10449
  transformOut
10443
10450
  } = useItems(props);
10444
- const model = useProxiedModel(props, 'modelValue', [], v => transformIn(wrapInArray(v)), v => {
10451
+ const model = useProxiedModel(props, 'modelValue', [], v => transformIn(v === null ? [null] : wrapInArray(v)), v => {
10445
10452
  const transformed = transformOut(v);
10446
10453
  return props.multiple ? transformed : transformed[0] ?? null;
10447
10454
  });
@@ -10866,7 +10873,7 @@
10866
10873
  textColorStyles
10867
10874
  } = useTextColor(color);
10868
10875
  const search = useProxiedModel(props, 'search', '');
10869
- const model = useProxiedModel(props, 'modelValue', [], v => transformIn(wrapInArray(v)), v => {
10876
+ const model = useProxiedModel(props, 'modelValue', [], v => transformIn(v === null ? [null] : wrapInArray(v)), v => {
10870
10877
  const transformed = transformOut(v);
10871
10878
  return props.multiple ? transformed : transformed[0] ?? null;
10872
10879
  });
@@ -15193,8 +15200,6 @@
15193
15200
  "modelValue": model.value,
15194
15201
  "onUpdate:modelValue": $event => model.value = $event,
15195
15202
  "class": ['v-file-input', {
15196
- 'v-file-input--chips': !!props.chips,
15197
- 'v-file-input--selection-slot': !!slots.selection,
15198
15203
  'v-text-field--plain-underlined': isPlainOrUnderlined.value
15199
15204
  }, props.class],
15200
15205
  "style": props.style,
@@ -18191,8 +18196,8 @@
18191
18196
  const initialScale = prevBox[widthHeight] / nextBox[widthHeight];
18192
18197
  const sigma = 1.5;
18193
18198
  animate(nextEl, {
18194
- backgroundColor: [color, ''],
18195
- transform: [`translate${XY}(${delta}px) scale${XY}(${initialScale})`, `translate${XY}(${delta / sigma}px) scale${XY}(${(scale - 1) / sigma + 1})`, ''],
18199
+ backgroundColor: [color, 'currentcolor'],
18200
+ transform: [`translate${XY}(${delta}px) scale${XY}(${initialScale})`, `translate${XY}(${delta / sigma}px) scale${XY}(${(scale - 1) / sigma + 1})`, 'none'],
18196
18201
  transformOrigin: Array(3).fill(origin)
18197
18202
  }, {
18198
18203
  duration: 225,
@@ -19099,12 +19104,14 @@
19099
19104
  const direction = scrollTop < lastScrollTop ? UP : DOWN;
19100
19105
  const midPointIndex = calculateMidPointIndex(scrollTop + height / 2);
19101
19106
  const buffer = Math.round(visibleItems.value / 3);
19102
- if (direction === UP && midPointIndex <= first.value + buffer * 2 - 1) {
19103
- first.value = clamp(midPointIndex - buffer, 0, items.value.length);
19104
- } else if (direction === DOWN && midPointIndex >= first.value + buffer * 2 - 1) {
19105
- first.value = clamp(midPointIndex - buffer, 0, items.value.length - visibleItems.value);
19107
+ const firstIndex = midPointIndex - buffer;
19108
+ const lastIndex = first.value + buffer * 2 - 1;
19109
+ if (direction === UP && midPointIndex <= lastIndex) {
19110
+ first.value = clamp(firstIndex, 0, items.value.length);
19111
+ } else if (direction === DOWN && midPointIndex >= lastIndex) {
19112
+ first.value = clamp(firstIndex, 0, items.value.length - visibleItems.value);
19106
19113
  }
19107
- lastScrollTop = containerRef.value.scrollTop;
19114
+ lastScrollTop = scrollTop;
19108
19115
  }
19109
19116
  function scrollToIndex(index) {
19110
19117
  if (!containerRef.value) return;
@@ -19477,47 +19484,6 @@
19477
19484
 
19478
19485
  // Types
19479
19486
 
19480
- function getWeekArray(date) {
19481
- let currentWeek = [];
19482
- const weeks = [];
19483
- const firstDayOfMonth = startOfMonth(date);
19484
- const lastDayOfMonth = endOfMonth(date);
19485
- for (let i = 0; i < firstDayOfMonth.getDay(); i++) {
19486
- currentWeek.push(null);
19487
- }
19488
- for (let i = 1; i <= lastDayOfMonth.getDate(); i++) {
19489
- const day = new Date(date.getFullYear(), date.getMonth(), i);
19490
-
19491
- // Add the day to the current week
19492
- currentWeek.push(day);
19493
-
19494
- // If the current week has 7 days, add it to the weeks array and start a new week
19495
- if (currentWeek.length === 7) {
19496
- weeks.push(currentWeek);
19497
- currentWeek = [];
19498
- }
19499
- }
19500
- for (let i = currentWeek.length; i < 7; i++) {
19501
- currentWeek.push(null);
19502
- }
19503
- weeks.push(currentWeek);
19504
- return weeks;
19505
- }
19506
- function startOfMonth(date) {
19507
- return new Date(date.getFullYear(), date.getMonth(), 1);
19508
- }
19509
- function endOfMonth(date) {
19510
- return new Date(date.getFullYear(), date.getMonth() + 1, 0);
19511
- }
19512
- function date(value) {
19513
- if (value == null) return null;
19514
- if (value instanceof Date) return value;
19515
- if (typeof value === 'string') {
19516
- const parsed = Date.parse(value);
19517
- if (!isNaN(parsed)) return new Date(parsed);
19518
- }
19519
- return null;
19520
- }
19521
19487
  const firstDay = {
19522
19488
  '001': 1,
19523
19489
  AD: 1,
@@ -19531,7 +19497,7 @@
19531
19497
  AR: 1,
19532
19498
  AS: 0,
19533
19499
  AT: 1,
19534
- AU: 0,
19500
+ AU: 1,
19535
19501
  AX: 1,
19536
19502
  AZ: 1,
19537
19503
  BA: 1,
@@ -19551,7 +19517,7 @@
19551
19517
  CH: 1,
19552
19518
  CL: 1,
19553
19519
  CM: 1,
19554
- CN: 0,
19520
+ CN: 1,
19555
19521
  CO: 0,
19556
19522
  CR: 1,
19557
19523
  CY: 1,
@@ -19671,6 +19637,53 @@
19671
19637
  ZA: 0,
19672
19638
  ZW: 0
19673
19639
  };
19640
+ function getWeekArray(date, locale) {
19641
+ const weeks = [];
19642
+ let currentWeek = [];
19643
+ const firstDayOfMonth = startOfMonth(date);
19644
+ const lastDayOfMonth = endOfMonth(date);
19645
+ const firstDayWeekIndex = firstDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()];
19646
+ const lastDayWeekIndex = lastDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()];
19647
+ for (let i = 0; i < firstDayWeekIndex; i++) {
19648
+ const adjacentDay = new Date(firstDayOfMonth);
19649
+ adjacentDay.setDate(adjacentDay.getDate() - (firstDayWeekIndex - i));
19650
+ currentWeek.push(adjacentDay);
19651
+ }
19652
+ for (let i = 1; i <= lastDayOfMonth.getDate(); i++) {
19653
+ const day = new Date(date.getFullYear(), date.getMonth(), i);
19654
+
19655
+ // Add the day to the current week
19656
+ currentWeek.push(day);
19657
+
19658
+ // If the current week has 7 days, add it to the weeks array and start a new week
19659
+ if (currentWeek.length === 7) {
19660
+ weeks.push(currentWeek);
19661
+ currentWeek = [];
19662
+ }
19663
+ }
19664
+ for (let i = 1; i < 7 - lastDayWeekIndex; i++) {
19665
+ const adjacentDay = new Date(lastDayOfMonth);
19666
+ adjacentDay.setDate(adjacentDay.getDate() + i);
19667
+ currentWeek.push(adjacentDay);
19668
+ }
19669
+ weeks.push(currentWeek);
19670
+ return weeks;
19671
+ }
19672
+ function startOfMonth(date) {
19673
+ return new Date(date.getFullYear(), date.getMonth(), 1);
19674
+ }
19675
+ function endOfMonth(date) {
19676
+ return new Date(date.getFullYear(), date.getMonth() + 1, 0);
19677
+ }
19678
+ function date(value) {
19679
+ if (value == null) return new Date();
19680
+ if (value instanceof Date) return value;
19681
+ if (typeof value === 'string') {
19682
+ const parsed = Date.parse(value);
19683
+ if (!isNaN(parsed)) return new Date(parsed);
19684
+ }
19685
+ return null;
19686
+ }
19674
19687
  const sundayJanuarySecond2000 = new Date(2000, 0, 2);
19675
19688
  function getWeekdays(locale) {
19676
19689
  const daysFromSunday = firstDay[locale.slice(-2).toUpperCase()];
@@ -19678,7 +19691,7 @@
19678
19691
  const weekday = new Date(sundayJanuarySecond2000);
19679
19692
  weekday.setDate(sundayJanuarySecond2000.getDate() + daysFromSunday + i);
19680
19693
  return new Intl.DateTimeFormat(locale, {
19681
- weekday: 'long'
19694
+ weekday: 'short'
19682
19695
  }).format(weekday);
19683
19696
  });
19684
19697
  }
@@ -19698,8 +19711,7 @@
19698
19711
  options = {
19699
19712
  weekday: 'short',
19700
19713
  day: 'numeric',
19701
- month: 'short',
19702
- year: 'numeric'
19714
+ month: 'short'
19703
19715
  };
19704
19716
  break;
19705
19717
  case 'keyboardDate':
@@ -19717,6 +19729,11 @@
19717
19729
  year: 'numeric'
19718
19730
  };
19719
19731
  break;
19732
+ case 'dayOfMonth':
19733
+ options = {
19734
+ day: 'numeric'
19735
+ };
19736
+ break;
19720
19737
  default:
19721
19738
  options = {
19722
19739
  timeZone: 'UTC',
@@ -19747,28 +19764,6 @@
19747
19764
  function endOfYear(date) {
19748
19765
  return new Date(date.getFullYear(), 11, 31);
19749
19766
  }
19750
- function getMondayOfFirstWeekOfYear(year) {
19751
- return new Date(year, 0, 1);
19752
- }
19753
-
19754
- // https://stackoverflow.com/questions/274861/how-do-i-calculate-the-week-number-given-a-date/275024#275024
19755
- function getWeek(date) {
19756
- let year = date.getFullYear();
19757
- let d1w1 = getMondayOfFirstWeekOfYear(year);
19758
- if (date < d1w1) {
19759
- year = year - 1;
19760
- d1w1 = getMondayOfFirstWeekOfYear(year);
19761
- } else {
19762
- const tv = getMondayOfFirstWeekOfYear(year + 1);
19763
- if (date >= tv) {
19764
- year = year + 1;
19765
- d1w1 = tv;
19766
- }
19767
- }
19768
- const diffTime = Math.abs(date.getTime() - d1w1.getTime());
19769
- const diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24));
19770
- return Math.floor(diffDays / 7) + 1;
19771
- }
19772
19767
  function isWithinRange(date, range) {
19773
19768
  return isAfter(date, range[0]) && isBefore(date, range[1]);
19774
19769
  }
@@ -19805,13 +19800,15 @@
19805
19800
  return d;
19806
19801
  }
19807
19802
  class VuetifyDateAdapter {
19808
- constructor() {
19809
- let locale = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'en';
19810
- this.locale = locale;
19803
+ constructor(options) {
19804
+ this.locale = options.locale;
19811
19805
  }
19812
19806
  date(value) {
19813
19807
  return date(value);
19814
19808
  }
19809
+ toJsDate(date) {
19810
+ return date;
19811
+ }
19815
19812
  addDays(date, amount) {
19816
19813
  return addDays(date, amount);
19817
19814
  }
@@ -19819,7 +19816,7 @@
19819
19816
  return addMonths(date, amount);
19820
19817
  }
19821
19818
  getWeekArray(date) {
19822
- return getWeekArray(date);
19819
+ return getWeekArray(date, this.locale);
19823
19820
  }
19824
19821
  startOfMonth(date) {
19825
19822
  return startOfMonth(date);
@@ -19842,6 +19839,9 @@
19842
19839
  isAfter(date, comparing) {
19843
19840
  return isAfter(date, comparing);
19844
19841
  }
19842
+ isBefore(date, comparing) {
19843
+ return !isAfter(date, comparing) && !isEqual(date, comparing);
19844
+ }
19845
19845
  isSameDay(date, comparing) {
19846
19846
  return isSameDay(date, comparing);
19847
19847
  }
@@ -19854,9 +19854,6 @@
19854
19854
  getDiff(date, comparing, unit) {
19855
19855
  return getDiff(date, comparing, unit);
19856
19856
  }
19857
- getWeek(date) {
19858
- return getWeek(date);
19859
- }
19860
19857
  getWeekdays() {
19861
19858
  return getWeekdays(this.locale);
19862
19859
  }
@@ -19880,9 +19877,52 @@
19880
19877
 
19881
19878
  const DateAdapterSymbol = Symbol.for('vuetify:date-adapter');
19882
19879
  function createDate(options) {
19883
- return options ?? {
19884
- adapter: VuetifyDateAdapter
19885
- };
19880
+ return mergeDeep({
19881
+ adapter: VuetifyDateAdapter,
19882
+ locale: {
19883
+ af: 'af-ZA',
19884
+ // ar: '', # not the same value for all variants
19885
+ bg: 'bg-BG',
19886
+ ca: 'ca-ES',
19887
+ ckb: '',
19888
+ cs: '',
19889
+ de: 'de-DE',
19890
+ el: 'el-GR',
19891
+ en: 'en-US',
19892
+ // es: '', # not the same value for all variants
19893
+ et: 'et-EE',
19894
+ fa: 'fa-IR',
19895
+ fi: 'fi-FI',
19896
+ // fr: '', #not the same value for all variants
19897
+ hr: 'hr-HR',
19898
+ hu: 'hu-HU',
19899
+ he: 'he-IL',
19900
+ id: 'id-ID',
19901
+ it: 'it-IT',
19902
+ ja: 'ja-JP',
19903
+ ko: 'ko-KR',
19904
+ lv: 'lv-LV',
19905
+ lt: 'lt-LT',
19906
+ nl: 'nl-NL',
19907
+ no: 'nn-NO',
19908
+ pl: 'pl-PL',
19909
+ pt: 'pt-PT',
19910
+ ro: 'ro-RO',
19911
+ ru: 'ru-RU',
19912
+ sk: 'sk-SK',
19913
+ sl: 'sl-SI',
19914
+ srCyrl: 'sr-SP',
19915
+ srLatn: 'sr-SP',
19916
+ sv: 'sv-SE',
19917
+ th: 'th-TH',
19918
+ tr: 'tr-TR',
19919
+ az: 'az-AZ',
19920
+ uk: 'uk-UA',
19921
+ vi: 'vi-VN',
19922
+ zhHans: 'zh-CN',
19923
+ zhHant: 'zh-TW'
19924
+ }
19925
+ }, options);
19886
19926
  }
19887
19927
 
19888
19928
  // Composables
@@ -19970,7 +20010,7 @@
19970
20010
  date
19971
20011
  };
19972
20012
  }
19973
- const version$1 = "3.3.3";
20013
+ const version$1 = "3.3.5";
19974
20014
  createVuetify$1.version = version$1;
19975
20015
 
19976
20016
  // Vue's inject() can only be used in setup
@@ -19995,7 +20035,7 @@
19995
20035
  ...options
19996
20036
  });
19997
20037
  };
19998
- const version = "3.3.3";
20038
+ const version = "3.3.5";
19999
20039
  createVuetify.version = version;
20000
20040
 
20001
20041
  exports.components = components;