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.d.ts CHANGED
@@ -259,6 +259,7 @@ interface IconAliases {
259
259
  file: IconValue;
260
260
  plus: IconValue;
261
261
  minus: IconValue;
262
+ calendar: IconValue;
262
263
  }
263
264
  interface IconProps {
264
265
  tag: string;
@@ -831,36 +832,42 @@ declare const VClassIcon: {
831
832
  }>>;
832
833
  type VClassIcon = InstanceType<typeof VClassIcon>;
833
834
 
834
- interface DateAdapter<Date> {
835
- date(value?: any): Date | null;
836
- format(date: Date, formatString: string): string;
837
- startOfMonth(date: Date): Date;
838
- endOfMonth(date: Date): Date;
839
- startOfYear(date: Date): Date;
840
- endOfYear(date: Date): Date;
841
- isAfter(date: Date, comparing: Date): boolean;
842
- isEqual(date: Date, comparing: Date): boolean;
843
- isSameDay(date: Date, comparing: Date): boolean;
844
- isSameMonth(date: Date, comparing: Date): boolean;
835
+ interface DateAdapter<T> {
836
+ date(value?: any): T | null;
837
+ format(date: T, formatString: string): string;
838
+ toJsDate(value: T): Date;
839
+ startOfMonth(date: T): T;
840
+ endOfMonth(date: T): T;
841
+ startOfYear(date: T): T;
842
+ endOfYear(date: T): T;
843
+ isBefore(date: T, comparing: T): boolean;
844
+ isAfter(date: T, comparing: T): boolean;
845
+ isEqual(date: T, comparing: T): boolean;
846
+ isSameDay(date: T, comparing: T): boolean;
847
+ isSameMonth(date: T, comparing: T): boolean;
845
848
  isValid(date: any): boolean;
846
- isWithinRange(date: Date, range: [Date, Date]): boolean;
847
- addDays(date: Date, amount: number): Date;
848
- addMonths(date: Date, amount: number): Date;
849
- getYear(date: Date): number;
850
- setYear(date: Date, year: number): Date;
851
- getDiff(date: Date, comparing: Date | string, unit?: string): number;
852
- getWeek(date: Date): number;
853
- getWeekArray(date: Date): (Date | null)[][];
849
+ isWithinRange(date: T, range: [T, T]): boolean;
850
+ addDays(date: T, amount: number): T;
851
+ addMonths(date: T, amount: number): T;
852
+ getYear(date: T): number;
853
+ setYear(date: T, year: number): T;
854
+ getDiff(date: T, comparing: T | string, unit?: string): number;
855
+ getWeekArray(date: T): T[][];
854
856
  getWeekdays(): string[];
855
- getMonth(date: Date): number;
857
+ getMonth(date: T): number;
856
858
  }
857
859
 
858
- interface DateInstance extends DateAdapter<Date> {
859
- locale: string;
860
+ interface DateInstance<T> extends DateAdapter<T> {
861
+ locale?: any;
860
862
  }
861
- type DateOptions = {
862
- adapter: (new (locale: string) => DateInstance) | DateInstance;
863
+ type InternalDateOptions<T = any> = {
864
+ adapter: (new (options: {
865
+ locale: any;
866
+ }) => DateInstance<T>) | DateInstance<T>;
867
+ formats?: Record<string, string>;
868
+ locale: Record<string, any>;
863
869
  };
870
+ type DateOptions<T = any> = Partial<InternalDateOptions<T>>;
864
871
 
865
872
  type Position = 'top' | 'left' | 'right' | 'bottom';
866
873
  interface Layer {
@@ -8649,9 +8656,9 @@ declare const VBreadcrumbs: {
8649
8656
  style?: vue.StyleValue | undefined;
8650
8657
  disabled?: boolean | undefined;
8651
8658
  tag?: string | undefined;
8659
+ divider?: string | undefined;
8652
8660
  rounded?: string | number | boolean | undefined;
8653
8661
  density?: Density | undefined;
8654
- divider?: string | undefined;
8655
8662
  key?: string | number | symbol | undefined;
8656
8663
  color?: string | undefined;
8657
8664
  class?: any;
@@ -8735,8 +8742,8 @@ declare const VBreadcrumbs: {
8735
8742
  style: vue.StyleValue;
8736
8743
  disabled: boolean;
8737
8744
  tag: string;
8738
- density: Density;
8739
8745
  divider: string;
8746
+ density: Density;
8740
8747
  } & {
8741
8748
  color?: string | undefined;
8742
8749
  class?: any;
@@ -8749,9 +8756,9 @@ declare const VBreadcrumbs: {
8749
8756
  style: vue.StyleValue;
8750
8757
  disabled: boolean;
8751
8758
  tag: string;
8759
+ divider: string;
8752
8760
  rounded: string | number | boolean;
8753
8761
  density: Density;
8754
- divider: string;
8755
8762
  }, {}, string, vue.SlotsType<Partial<{
8756
8763
  prepend: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
8757
8764
  [key: string]: any;
@@ -8795,8 +8802,8 @@ declare const VBreadcrumbs: {
8795
8802
  style: vue.StyleValue;
8796
8803
  disabled: boolean;
8797
8804
  tag: string;
8798
- density: Density;
8799
8805
  divider: string;
8806
+ density: Density;
8800
8807
  } & {
8801
8808
  color?: string | undefined;
8802
8809
  class?: any;
@@ -8813,8 +8820,8 @@ declare const VBreadcrumbs: {
8813
8820
  style: vue.StyleValue;
8814
8821
  disabled: boolean;
8815
8822
  tag: string;
8816
- density: Density;
8817
8823
  divider: string;
8824
+ density: Density;
8818
8825
  } & {
8819
8826
  color?: string | undefined;
8820
8827
  class?: any;
@@ -8827,9 +8834,9 @@ declare const VBreadcrumbs: {
8827
8834
  style: vue.StyleValue;
8828
8835
  disabled: boolean;
8829
8836
  tag: string;
8837
+ divider: string;
8830
8838
  rounded: string | number | boolean;
8831
8839
  density: Density;
8832
- divider: string;
8833
8840
  }, {}, string, vue.SlotsType<Partial<{
8834
8841
  prepend: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
8835
8842
  [key: string]: any;
@@ -9215,6 +9222,7 @@ declare const VBreadcrumbsDivider: {
9215
9222
  ref_for?: boolean | undefined;
9216
9223
  ref_key?: string | undefined;
9217
9224
  "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
9225
+ divider?: string | number | undefined;
9218
9226
  'v-slots'?: {
9219
9227
  default?: false | (() => vue.VNodeChild) | undefined;
9220
9228
  } | undefined;
@@ -9256,7 +9264,6 @@ declare const VBreadcrumbsDivider: {
9256
9264
  }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
9257
9265
  [key: string]: any;
9258
9266
  }>) => void)[] | undefined;
9259
- divider?: string | number | undefined;
9260
9267
  };
9261
9268
  $attrs: {
9262
9269
  [x: string]: unknown;
@@ -19660,9 +19667,9 @@ declare const VCounter: {
19660
19667
  max?: string | number | undefined;
19661
19668
  key?: string | number | symbol | undefined;
19662
19669
  class?: any;
19663
- $children?: vue.VNodeChild | {
19670
+ $children?: vue.VNodeChild | ((arg: VCounterSlot) => vue.VNodeChild) | {
19664
19671
  default?: ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
19665
- } | ((arg: VCounterSlot) => vue.VNodeChild);
19672
+ };
19666
19673
  ref?: vue.VNodeRef | undefined;
19667
19674
  ref_for?: boolean | undefined;
19668
19675
  ref_key?: string | undefined;
@@ -19737,9 +19744,9 @@ declare const VCounter: {
19737
19744
  max?: string | number | undefined;
19738
19745
  class?: any;
19739
19746
  } & {
19740
- $children?: vue.VNodeChild | {
19747
+ $children?: vue.VNodeChild | ((arg: VCounterSlot) => vue.VNodeChild) | {
19741
19748
  default?: ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
19742
- } | ((arg: VCounterSlot) => vue.VNodeChild);
19749
+ };
19743
19750
  'v-slots'?: {
19744
19751
  default?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
19745
19752
  } | undefined;
@@ -19791,9 +19798,9 @@ declare const VCounter: {
19791
19798
  max?: string | number | undefined;
19792
19799
  class?: any;
19793
19800
  } & {
19794
- $children?: vue.VNodeChild | {
19801
+ $children?: vue.VNodeChild | ((arg: VCounterSlot) => vue.VNodeChild) | {
19795
19802
  default?: ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
19796
- } | ((arg: VCounterSlot) => vue.VNodeChild);
19803
+ };
19797
19804
  'v-slots'?: {
19798
19805
  default?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
19799
19806
  } | undefined;
@@ -19816,9 +19823,9 @@ declare const VCounter: {
19816
19823
  max?: string | number | undefined;
19817
19824
  class?: any;
19818
19825
  } & {
19819
- $children?: vue.VNodeChild | {
19826
+ $children?: vue.VNodeChild | ((arg: VCounterSlot) => vue.VNodeChild) | {
19820
19827
  default?: ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
19821
- } | ((arg: VCounterSlot) => vue.VNodeChild);
19828
+ };
19822
19829
  'v-slots'?: {
19823
19830
  default?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
19824
19831
  } | undefined;
@@ -59930,7 +59937,7 @@ declare const createVuetify: {
59930
59937
  n: (value: number) => string;
59931
59938
  provide: (props: LocaleOptions) => LocaleInstance;
59932
59939
  };
59933
- date: DateOptions;
59940
+ date: Record<string, any>;
59934
59941
  };
59935
59942
  version: string;
59936
59943
  };
@@ -59981,9 +59988,6 @@ declare module '@vue/runtime-core' {
59981
59988
 
59982
59989
  export interface GlobalComponents {
59983
59990
  VApp: typeof import('vuetify/components')['VApp']
59984
- VAppBar: typeof import('vuetify/components')['VAppBar']
59985
- VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
59986
- VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
59987
59991
  VAlert: typeof import('vuetify/components')['VAlert']
59988
59992
  VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
59989
59993
  VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
@@ -60078,6 +60082,9 @@ declare module '@vue/runtime-core' {
60078
60082
  VTooltip: typeof import('vuetify/components')['VTooltip']
60079
60083
  VWindow: typeof import('vuetify/components')['VWindow']
60080
60084
  VWindowItem: typeof import('vuetify/components')['VWindowItem']
60085
+ VAppBar: typeof import('vuetify/components')['VAppBar']
60086
+ VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
60087
+ VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
60081
60088
  VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
60082
60089
  VForm: typeof import('vuetify/components')['VForm']
60083
60090
  VContainer: typeof import('vuetify/components')['VContainer']
@@ -60120,7 +60127,15 @@ declare module '@vue/runtime-core' {
60120
60127
  VDataTableRow: typeof import('vuetify/labs/components')['VDataTableRow']
60121
60128
  VDataTableVirtual: typeof import('vuetify/labs/components')['VDataTableVirtual']
60122
60129
  VDataTableServer: typeof import('vuetify/labs/components')['VDataTableServer']
60130
+ VDateCard: typeof import('vuetify/labs/components')['VDateCard']
60131
+ VDatePicker: typeof import('vuetify/labs/components')['VDatePicker']
60132
+ VDatePickerControls: typeof import('vuetify/labs/components')['VDatePickerControls']
60133
+ VDatePickerHeader: typeof import('vuetify/labs/components')['VDatePickerHeader']
60134
+ VDatePickerMonth: typeof import('vuetify/labs/components')['VDatePickerMonth']
60135
+ VDatePickerYears: typeof import('vuetify/labs/components')['VDatePickerYears']
60123
60136
  VInfiniteScroll: typeof import('vuetify/labs/components')['VInfiniteScroll']
60137
+ VPicker: typeof import('vuetify/labs/components')['VPicker']
60138
+ VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
60124
60139
  VSkeletonLoader: typeof import('vuetify/labs/components')['VSkeletonLoader']
60125
60140
  VDataIterator: typeof import('vuetify/labs/components')['VDataIterator']
60126
60141
  }
@@ -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
  */
@@ -1639,12 +1639,21 @@ var en = {
1639
1639
  lastPage: 'Last page',
1640
1640
  pageText: '{0}-{1} of {2}'
1641
1641
  },
1642
+ dateRangeInput: {
1643
+ divider: 'to'
1644
+ },
1642
1645
  datePicker: {
1643
- itemsSelected: '{0} selected',
1644
- nextMonthAriaLabel: 'Next month',
1645
- nextYearAriaLabel: 'Next year',
1646
- prevMonthAriaLabel: 'Previous month',
1647
- prevYearAriaLabel: 'Previous year'
1646
+ ok: 'OK',
1647
+ cancel: 'Cancel',
1648
+ range: {
1649
+ title: 'Select dates',
1650
+ header: 'Enter dates'
1651
+ },
1652
+ title: 'Select date',
1653
+ header: 'Enter date',
1654
+ input: {
1655
+ placeholder: 'Enter date'
1656
+ }
1648
1657
  },
1649
1658
  noDataText: 'No data available',
1650
1659
  carousel: {
@@ -3627,7 +3636,7 @@ const VAppBar = genericComponent()({
3627
3636
  const extensionHeight = vToolbarRef.value?.extensionHeight ?? 0;
3628
3637
  return height + extensionHeight;
3629
3638
  });
3630
- function setActive() {
3639
+ watchEffect(() => {
3631
3640
  if (scrollBehavior.value.hide) {
3632
3641
  if (scrollBehavior.value.inverted) {
3633
3642
  isActive.value = currentScroll.value > scrollThreshold.value;
@@ -3637,12 +3646,6 @@ const VAppBar = genericComponent()({
3637
3646
  } else {
3638
3647
  isActive.value = true;
3639
3648
  }
3640
- }
3641
- useToggleScope(() => !!props.scrollBehavior, () => {
3642
- watch(currentScroll, setActive, {
3643
- immediate: true
3644
- });
3645
- watch(scrollBehavior, setActive);
3646
3649
  });
3647
3650
  const {
3648
3651
  ssrBootStyles
@@ -4097,7 +4100,8 @@ const aliases = {
4097
4100
  unfold: 'mdi-unfold-more-horizontal',
4098
4101
  file: 'mdi-paperclip',
4099
4102
  plus: 'mdi-plus',
4100
- minus: 'mdi-minus'
4103
+ minus: 'mdi-minus',
4104
+ calendar: 'mdi-calendar'
4101
4105
  };
4102
4106
  const mdi = {
4103
4107
  // Not using mergeProps here, functional components merge props by default (?)
@@ -7307,7 +7311,7 @@ const useNested = props => {
7307
7311
  const useNestedItem = (id, isGroup) => {
7308
7312
  const parent = inject$1(VNestedSymbol, emptyNested);
7309
7313
  const uidSymbol = Symbol(getUid());
7310
- const computedId = computed(() => id.value ?? uidSymbol);
7314
+ const computedId = computed(() => id.value !== undefined ? id.value : uidSymbol);
7311
7315
  const item = {
7312
7316
  ...parent,
7313
7317
  id: computedId,
@@ -7507,7 +7511,7 @@ const VListItem = genericComponent()({
7507
7511
  emit
7508
7512
  } = _ref;
7509
7513
  const link = useLink(props, attrs);
7510
- const id = computed(() => props.value ?? link.href.value);
7514
+ const id = computed(() => props.value === undefined ? link.href.value : props.value);
7511
7515
  const {
7512
7516
  select,
7513
7517
  isSelected,
@@ -7904,10 +7908,13 @@ function useItems(props) {
7904
7908
  }
7905
7909
  function useTransformItems(items, transform) {
7906
7910
  function transformIn(value) {
7907
- return value.map(v => {
7911
+ return value
7912
+ // When the model value is null, returns an InternalItem based on null
7913
+ // only if null is one of the items
7914
+ .filter(v => v !== null || items.value.some(item => item.value === null)).map(v => {
7908
7915
  const existingItem = items.value.find(item => deepEqual(v, item.value));
7909
7916
  // Nullish existingItem means value is a custom input value from combobox
7910
- // In this case, use transformItem to create an { value: unknown } based on value
7917
+ // In this case, use transformItem to create an InternalItem based on value
7911
7918
  return existingItem ?? transform(v);
7912
7919
  });
7913
7920
  }
@@ -10437,7 +10444,7 @@ const VSelect = genericComponent()({
10437
10444
  transformIn,
10438
10445
  transformOut
10439
10446
  } = useItems(props);
10440
- const model = useProxiedModel(props, 'modelValue', [], v => transformIn(wrapInArray(v)), v => {
10447
+ const model = useProxiedModel(props, 'modelValue', [], v => transformIn(v === null ? [null] : wrapInArray(v)), v => {
10441
10448
  const transformed = transformOut(v);
10442
10449
  return props.multiple ? transformed : transformed[0] ?? null;
10443
10450
  });
@@ -10862,7 +10869,7 @@ const VAutocomplete = genericComponent()({
10862
10869
  textColorStyles
10863
10870
  } = useTextColor(color);
10864
10871
  const search = useProxiedModel(props, 'search', '');
10865
- const model = useProxiedModel(props, 'modelValue', [], v => transformIn(wrapInArray(v)), v => {
10872
+ const model = useProxiedModel(props, 'modelValue', [], v => transformIn(v === null ? [null] : wrapInArray(v)), v => {
10866
10873
  const transformed = transformOut(v);
10867
10874
  return props.multiple ? transformed : transformed[0] ?? null;
10868
10875
  });
@@ -15189,8 +15196,6 @@ const VFileInput = genericComponent()({
15189
15196
  "modelValue": model.value,
15190
15197
  "onUpdate:modelValue": $event => model.value = $event,
15191
15198
  "class": ['v-file-input', {
15192
- 'v-file-input--chips': !!props.chips,
15193
- 'v-file-input--selection-slot': !!slots.selection,
15194
15199
  'v-text-field--plain-underlined': isPlainOrUnderlined.value
15195
15200
  }, props.class],
15196
15201
  "style": props.style,
@@ -18187,8 +18192,8 @@ const VTab = genericComponent()({
18187
18192
  const initialScale = prevBox[widthHeight] / nextBox[widthHeight];
18188
18193
  const sigma = 1.5;
18189
18194
  animate(nextEl, {
18190
- backgroundColor: [color, ''],
18191
- transform: [`translate${XY}(${delta}px) scale${XY}(${initialScale})`, `translate${XY}(${delta / sigma}px) scale${XY}(${(scale - 1) / sigma + 1})`, ''],
18195
+ backgroundColor: [color, 'currentcolor'],
18196
+ transform: [`translate${XY}(${delta}px) scale${XY}(${initialScale})`, `translate${XY}(${delta / sigma}px) scale${XY}(${(scale - 1) / sigma + 1})`, 'none'],
18192
18197
  transformOrigin: Array(3).fill(origin)
18193
18198
  }, {
18194
18199
  duration: 225,
@@ -19095,12 +19100,14 @@ function useVirtual(props, items, offset) {
19095
19100
  const direction = scrollTop < lastScrollTop ? UP : DOWN;
19096
19101
  const midPointIndex = calculateMidPointIndex(scrollTop + height / 2);
19097
19102
  const buffer = Math.round(visibleItems.value / 3);
19098
- if (direction === UP && midPointIndex <= first.value + buffer * 2 - 1) {
19099
- first.value = clamp(midPointIndex - buffer, 0, items.value.length);
19100
- } else if (direction === DOWN && midPointIndex >= first.value + buffer * 2 - 1) {
19101
- first.value = clamp(midPointIndex - buffer, 0, items.value.length - visibleItems.value);
19103
+ const firstIndex = midPointIndex - buffer;
19104
+ const lastIndex = first.value + buffer * 2 - 1;
19105
+ if (direction === UP && midPointIndex <= lastIndex) {
19106
+ first.value = clamp(firstIndex, 0, items.value.length);
19107
+ } else if (direction === DOWN && midPointIndex >= lastIndex) {
19108
+ first.value = clamp(firstIndex, 0, items.value.length - visibleItems.value);
19102
19109
  }
19103
- lastScrollTop = containerRef.value.scrollTop;
19110
+ lastScrollTop = scrollTop;
19104
19111
  }
19105
19112
  function scrollToIndex(index) {
19106
19113
  if (!containerRef.value) return;
@@ -19473,47 +19480,6 @@ var directives = /*#__PURE__*/Object.freeze({
19473
19480
 
19474
19481
  // Types
19475
19482
 
19476
- function getWeekArray(date) {
19477
- let currentWeek = [];
19478
- const weeks = [];
19479
- const firstDayOfMonth = startOfMonth(date);
19480
- const lastDayOfMonth = endOfMonth(date);
19481
- for (let i = 0; i < firstDayOfMonth.getDay(); i++) {
19482
- currentWeek.push(null);
19483
- }
19484
- for (let i = 1; i <= lastDayOfMonth.getDate(); i++) {
19485
- const day = new Date(date.getFullYear(), date.getMonth(), i);
19486
-
19487
- // Add the day to the current week
19488
- currentWeek.push(day);
19489
-
19490
- // If the current week has 7 days, add it to the weeks array and start a new week
19491
- if (currentWeek.length === 7) {
19492
- weeks.push(currentWeek);
19493
- currentWeek = [];
19494
- }
19495
- }
19496
- for (let i = currentWeek.length; i < 7; i++) {
19497
- currentWeek.push(null);
19498
- }
19499
- weeks.push(currentWeek);
19500
- return weeks;
19501
- }
19502
- function startOfMonth(date) {
19503
- return new Date(date.getFullYear(), date.getMonth(), 1);
19504
- }
19505
- function endOfMonth(date) {
19506
- return new Date(date.getFullYear(), date.getMonth() + 1, 0);
19507
- }
19508
- function date(value) {
19509
- if (value == null) return null;
19510
- if (value instanceof Date) return value;
19511
- if (typeof value === 'string') {
19512
- const parsed = Date.parse(value);
19513
- if (!isNaN(parsed)) return new Date(parsed);
19514
- }
19515
- return null;
19516
- }
19517
19483
  const firstDay = {
19518
19484
  '001': 1,
19519
19485
  AD: 1,
@@ -19527,7 +19493,7 @@ const firstDay = {
19527
19493
  AR: 1,
19528
19494
  AS: 0,
19529
19495
  AT: 1,
19530
- AU: 0,
19496
+ AU: 1,
19531
19497
  AX: 1,
19532
19498
  AZ: 1,
19533
19499
  BA: 1,
@@ -19547,7 +19513,7 @@ const firstDay = {
19547
19513
  CH: 1,
19548
19514
  CL: 1,
19549
19515
  CM: 1,
19550
- CN: 0,
19516
+ CN: 1,
19551
19517
  CO: 0,
19552
19518
  CR: 1,
19553
19519
  CY: 1,
@@ -19667,6 +19633,53 @@ const firstDay = {
19667
19633
  ZA: 0,
19668
19634
  ZW: 0
19669
19635
  };
19636
+ function getWeekArray(date, locale) {
19637
+ const weeks = [];
19638
+ let currentWeek = [];
19639
+ const firstDayOfMonth = startOfMonth(date);
19640
+ const lastDayOfMonth = endOfMonth(date);
19641
+ const firstDayWeekIndex = firstDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()];
19642
+ const lastDayWeekIndex = lastDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()];
19643
+ for (let i = 0; i < firstDayWeekIndex; i++) {
19644
+ const adjacentDay = new Date(firstDayOfMonth);
19645
+ adjacentDay.setDate(adjacentDay.getDate() - (firstDayWeekIndex - i));
19646
+ currentWeek.push(adjacentDay);
19647
+ }
19648
+ for (let i = 1; i <= lastDayOfMonth.getDate(); i++) {
19649
+ const day = new Date(date.getFullYear(), date.getMonth(), i);
19650
+
19651
+ // Add the day to the current week
19652
+ currentWeek.push(day);
19653
+
19654
+ // If the current week has 7 days, add it to the weeks array and start a new week
19655
+ if (currentWeek.length === 7) {
19656
+ weeks.push(currentWeek);
19657
+ currentWeek = [];
19658
+ }
19659
+ }
19660
+ for (let i = 1; i < 7 - lastDayWeekIndex; i++) {
19661
+ const adjacentDay = new Date(lastDayOfMonth);
19662
+ adjacentDay.setDate(adjacentDay.getDate() + i);
19663
+ currentWeek.push(adjacentDay);
19664
+ }
19665
+ weeks.push(currentWeek);
19666
+ return weeks;
19667
+ }
19668
+ function startOfMonth(date) {
19669
+ return new Date(date.getFullYear(), date.getMonth(), 1);
19670
+ }
19671
+ function endOfMonth(date) {
19672
+ return new Date(date.getFullYear(), date.getMonth() + 1, 0);
19673
+ }
19674
+ function date(value) {
19675
+ if (value == null) return new Date();
19676
+ if (value instanceof Date) return value;
19677
+ if (typeof value === 'string') {
19678
+ const parsed = Date.parse(value);
19679
+ if (!isNaN(parsed)) return new Date(parsed);
19680
+ }
19681
+ return null;
19682
+ }
19670
19683
  const sundayJanuarySecond2000 = new Date(2000, 0, 2);
19671
19684
  function getWeekdays(locale) {
19672
19685
  const daysFromSunday = firstDay[locale.slice(-2).toUpperCase()];
@@ -19674,7 +19687,7 @@ function getWeekdays(locale) {
19674
19687
  const weekday = new Date(sundayJanuarySecond2000);
19675
19688
  weekday.setDate(sundayJanuarySecond2000.getDate() + daysFromSunday + i);
19676
19689
  return new Intl.DateTimeFormat(locale, {
19677
- weekday: 'long'
19690
+ weekday: 'short'
19678
19691
  }).format(weekday);
19679
19692
  });
19680
19693
  }
@@ -19694,8 +19707,7 @@ function format(value, formatString, locale) {
19694
19707
  options = {
19695
19708
  weekday: 'short',
19696
19709
  day: 'numeric',
19697
- month: 'short',
19698
- year: 'numeric'
19710
+ month: 'short'
19699
19711
  };
19700
19712
  break;
19701
19713
  case 'keyboardDate':
@@ -19713,6 +19725,11 @@ function format(value, formatString, locale) {
19713
19725
  year: 'numeric'
19714
19726
  };
19715
19727
  break;
19728
+ case 'dayOfMonth':
19729
+ options = {
19730
+ day: 'numeric'
19731
+ };
19732
+ break;
19716
19733
  default:
19717
19734
  options = {
19718
19735
  timeZone: 'UTC',
@@ -19743,28 +19760,6 @@ function startOfYear(date) {
19743
19760
  function endOfYear(date) {
19744
19761
  return new Date(date.getFullYear(), 11, 31);
19745
19762
  }
19746
- function getMondayOfFirstWeekOfYear(year) {
19747
- return new Date(year, 0, 1);
19748
- }
19749
-
19750
- // https://stackoverflow.com/questions/274861/how-do-i-calculate-the-week-number-given-a-date/275024#275024
19751
- function getWeek(date) {
19752
- let year = date.getFullYear();
19753
- let d1w1 = getMondayOfFirstWeekOfYear(year);
19754
- if (date < d1w1) {
19755
- year = year - 1;
19756
- d1w1 = getMondayOfFirstWeekOfYear(year);
19757
- } else {
19758
- const tv = getMondayOfFirstWeekOfYear(year + 1);
19759
- if (date >= tv) {
19760
- year = year + 1;
19761
- d1w1 = tv;
19762
- }
19763
- }
19764
- const diffTime = Math.abs(date.getTime() - d1w1.getTime());
19765
- const diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24));
19766
- return Math.floor(diffDays / 7) + 1;
19767
- }
19768
19763
  function isWithinRange(date, range) {
19769
19764
  return isAfter(date, range[0]) && isBefore(date, range[1]);
19770
19765
  }
@@ -19801,13 +19796,15 @@ function setYear(date, year) {
19801
19796
  return d;
19802
19797
  }
19803
19798
  class VuetifyDateAdapter {
19804
- constructor() {
19805
- let locale = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'en';
19806
- this.locale = locale;
19799
+ constructor(options) {
19800
+ this.locale = options.locale;
19807
19801
  }
19808
19802
  date(value) {
19809
19803
  return date(value);
19810
19804
  }
19805
+ toJsDate(date) {
19806
+ return date;
19807
+ }
19811
19808
  addDays(date, amount) {
19812
19809
  return addDays(date, amount);
19813
19810
  }
@@ -19815,7 +19812,7 @@ class VuetifyDateAdapter {
19815
19812
  return addMonths(date, amount);
19816
19813
  }
19817
19814
  getWeekArray(date) {
19818
- return getWeekArray(date);
19815
+ return getWeekArray(date, this.locale);
19819
19816
  }
19820
19817
  startOfMonth(date) {
19821
19818
  return startOfMonth(date);
@@ -19838,6 +19835,9 @@ class VuetifyDateAdapter {
19838
19835
  isAfter(date, comparing) {
19839
19836
  return isAfter(date, comparing);
19840
19837
  }
19838
+ isBefore(date, comparing) {
19839
+ return !isAfter(date, comparing) && !isEqual(date, comparing);
19840
+ }
19841
19841
  isSameDay(date, comparing) {
19842
19842
  return isSameDay(date, comparing);
19843
19843
  }
@@ -19850,9 +19850,6 @@ class VuetifyDateAdapter {
19850
19850
  getDiff(date, comparing, unit) {
19851
19851
  return getDiff(date, comparing, unit);
19852
19852
  }
19853
- getWeek(date) {
19854
- return getWeek(date);
19855
- }
19856
19853
  getWeekdays() {
19857
19854
  return getWeekdays(this.locale);
19858
19855
  }
@@ -19876,9 +19873,52 @@ class VuetifyDateAdapter {
19876
19873
 
19877
19874
  const DateAdapterSymbol = Symbol.for('vuetify:date-adapter');
19878
19875
  function createDate(options) {
19879
- return options ?? {
19880
- adapter: VuetifyDateAdapter
19881
- };
19876
+ return mergeDeep({
19877
+ adapter: VuetifyDateAdapter,
19878
+ locale: {
19879
+ af: 'af-ZA',
19880
+ // ar: '', # not the same value for all variants
19881
+ bg: 'bg-BG',
19882
+ ca: 'ca-ES',
19883
+ ckb: '',
19884
+ cs: '',
19885
+ de: 'de-DE',
19886
+ el: 'el-GR',
19887
+ en: 'en-US',
19888
+ // es: '', # not the same value for all variants
19889
+ et: 'et-EE',
19890
+ fa: 'fa-IR',
19891
+ fi: 'fi-FI',
19892
+ // fr: '', #not the same value for all variants
19893
+ hr: 'hr-HR',
19894
+ hu: 'hu-HU',
19895
+ he: 'he-IL',
19896
+ id: 'id-ID',
19897
+ it: 'it-IT',
19898
+ ja: 'ja-JP',
19899
+ ko: 'ko-KR',
19900
+ lv: 'lv-LV',
19901
+ lt: 'lt-LT',
19902
+ nl: 'nl-NL',
19903
+ no: 'nn-NO',
19904
+ pl: 'pl-PL',
19905
+ pt: 'pt-PT',
19906
+ ro: 'ro-RO',
19907
+ ru: 'ru-RU',
19908
+ sk: 'sk-SK',
19909
+ sl: 'sl-SI',
19910
+ srCyrl: 'sr-SP',
19911
+ srLatn: 'sr-SP',
19912
+ sv: 'sv-SE',
19913
+ th: 'th-TH',
19914
+ tr: 'tr-TR',
19915
+ az: 'az-AZ',
19916
+ uk: 'uk-UA',
19917
+ vi: 'vi-VN',
19918
+ zhHans: 'zh-CN',
19919
+ zhHant: 'zh-TW'
19920
+ }
19921
+ }, options);
19882
19922
  }
19883
19923
 
19884
19924
  // Composables
@@ -19966,7 +20006,7 @@ function createVuetify$1() {
19966
20006
  date
19967
20007
  };
19968
20008
  }
19969
- const version$1 = "3.3.3";
20009
+ const version$1 = "3.3.5";
19970
20010
  createVuetify$1.version = version$1;
19971
20011
 
19972
20012
  // Vue's inject() can only be used in setup
@@ -19991,7 +20031,7 @@ const createVuetify = function () {
19991
20031
  ...options
19992
20032
  });
19993
20033
  };
19994
- const version = "3.3.3";
20034
+ const version = "3.3.5";
19995
20035
  createVuetify.version = version;
19996
20036
 
19997
20037
  export { components, createVuetify, directives, useDefaults, useDisplay, useLayout, useLocale, useRtl, useTheme, version };