vuetify 3.0.0-beta.9 → 3.0.1

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 (959) hide show
  1. package/_settings.scss +2 -0
  2. package/_styles.scss +1 -0
  3. package/_tools.scss +1 -0
  4. package/dist/json/attributes.json +3767 -2527
  5. package/dist/json/importMap.json +14 -18
  6. package/dist/json/tags.json +475 -56
  7. package/dist/json/web-types.json +14481 -10795
  8. package/dist/vuetify.css +1565 -2316
  9. package/dist/vuetify.d.ts +17610 -6982
  10. package/dist/vuetify.esm.js +5675 -6283
  11. package/dist/vuetify.esm.js.map +1 -1
  12. package/dist/vuetify.js +5664 -6273
  13. package/dist/vuetify.js.map +1 -1
  14. package/dist/vuetify.min.css +3 -3
  15. package/dist/vuetify.min.js +1266 -1272
  16. package/dist/vuetify.min.js.map +1 -1
  17. package/lib/blueprints/index.d.ts +163 -0
  18. package/lib/blueprints/index.mjs.map +1 -1
  19. package/lib/blueprints/md1.d.ts +159 -0
  20. package/lib/blueprints/md1.mjs +3 -1
  21. package/lib/blueprints/md1.mjs.map +1 -1
  22. package/lib/blueprints/md2.d.ts +159 -0
  23. package/lib/blueprints/md2.mjs +3 -1
  24. package/lib/blueprints/md2.mjs.map +1 -1
  25. package/lib/blueprints/md3.d.ts +159 -0
  26. package/lib/blueprints/md3.mjs +2 -2
  27. package/lib/blueprints/md3.mjs.map +1 -1
  28. package/lib/components/VAlert/VAlert.css +2 -3
  29. package/lib/components/VAlert/VAlert.mjs +10 -23
  30. package/lib/components/VAlert/VAlert.mjs.map +1 -1
  31. package/lib/components/VAlert/VAlertTitle.mjs.map +1 -1
  32. package/lib/components/VAlert/index.d.ts +187 -0
  33. package/lib/components/VAlert/index.mjs.map +1 -1
  34. package/lib/components/VApp/VApp.css +0 -11
  35. package/lib/components/VApp/VApp.mjs +5 -7
  36. package/lib/components/VApp/VApp.mjs.map +1 -1
  37. package/lib/components/VApp/VApp.sass +0 -9
  38. package/lib/components/VApp/index.d.ts +85 -0
  39. package/lib/components/VApp/index.mjs.map +1 -1
  40. package/lib/components/VAppBar/VAppBar.css +4 -1
  41. package/lib/components/VAppBar/VAppBar.mjs +7 -11
  42. package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
  43. package/lib/components/VAppBar/VAppBar.sass +3 -0
  44. package/lib/components/VAppBar/VAppBarNavIcon.mjs +0 -4
  45. package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
  46. package/lib/components/VAppBar/VAppBarTitle.mjs +2 -4
  47. package/lib/components/VAppBar/VAppBarTitle.mjs.map +1 -1
  48. package/lib/components/VAppBar/index.d.ts +160 -0
  49. package/lib/components/VAppBar/index.mjs.map +1 -1
  50. package/lib/components/VAutocomplete/VAutocomplete.css +19 -2
  51. package/lib/components/VAutocomplete/VAutocomplete.mjs +61 -50
  52. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  53. package/lib/components/VAutocomplete/VAutocomplete.sass +11 -1
  54. package/lib/components/VAutocomplete/_variables.scss +1 -0
  55. package/lib/components/VAutocomplete/index.d.ts +1754 -0
  56. package/lib/components/VAutocomplete/index.mjs.map +1 -1
  57. package/lib/components/VAvatar/VAvatar.css +45 -2
  58. package/lib/components/VAvatar/VAvatar.mjs +19 -19
  59. package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
  60. package/lib/components/VAvatar/VAvatar.sass +6 -1
  61. package/lib/components/VAvatar/_variables.scss +9 -4
  62. package/lib/components/VAvatar/index.d.ts +82 -0
  63. package/lib/components/VAvatar/index.mjs.map +1 -1
  64. package/lib/components/VBadge/VBadge.mjs +3 -9
  65. package/lib/components/VBadge/VBadge.mjs.map +1 -1
  66. package/lib/components/VBadge/index.d.ts +123 -0
  67. package/lib/components/VBadge/index.mjs.map +1 -1
  68. package/lib/components/VBanner/VBanner.css +1 -1
  69. package/lib/components/VBanner/VBanner.mjs +5 -7
  70. package/lib/components/VBanner/VBanner.mjs.map +1 -1
  71. package/lib/components/VBanner/VBannerActions.mjs +0 -4
  72. package/lib/components/VBanner/VBannerActions.mjs.map +1 -1
  73. package/lib/components/VBanner/VBannerText.mjs.map +1 -1
  74. package/lib/components/VBanner/index.d.ts +126 -0
  75. package/lib/components/VBanner/index.mjs.map +1 -1
  76. package/lib/components/VBottomNavigation/VBottomNavigation.css +1 -1
  77. package/lib/components/VBottomNavigation/VBottomNavigation.mjs +3 -6
  78. package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
  79. package/lib/components/VBottomNavigation/index.d.ts +145 -0
  80. package/lib/components/VBottomNavigation/index.mjs.map +1 -1
  81. package/lib/components/VBottomSheet/VBottomSheet.mjs +5 -5
  82. package/lib/components/VBottomSheet/VBottomSheet.mjs.map +1 -1
  83. package/lib/components/VBottomSheet/index.mjs.map +1 -1
  84. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +8 -12
  85. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
  86. package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs.map +1 -1
  87. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +4 -9
  88. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
  89. package/lib/components/VBreadcrumbs/index.d.ts +313 -0
  90. package/lib/components/VBreadcrumbs/index.mjs.map +1 -1
  91. package/lib/components/VBtn/VBtn.css +14 -10
  92. package/lib/components/VBtn/VBtn.mjs +22 -20
  93. package/lib/components/VBtn/VBtn.mjs.map +1 -1
  94. package/lib/components/VBtn/index.d.ts +213 -0
  95. package/lib/components/VBtn/index.mjs.map +1 -1
  96. package/lib/components/VBtnGroup/VBtnGroup.css +1 -1
  97. package/lib/components/VBtnGroup/VBtnGroup.mjs +2 -4
  98. package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -1
  99. package/lib/components/VBtnGroup/index.d.ts +68 -0
  100. package/lib/components/VBtnGroup/index.mjs.map +1 -1
  101. package/lib/components/VBtnToggle/VBtnToggle.mjs +3 -10
  102. package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
  103. package/lib/components/VBtnToggle/index.d.ts +170 -0
  104. package/lib/components/VBtnToggle/index.mjs.map +1 -1
  105. package/lib/components/VCalendar/VCalendar.mjs +6 -67
  106. package/lib/components/VCalendar/VCalendar.mjs.map +1 -1
  107. package/lib/components/VCalendar/VCalendarCategory.mjs +7 -18
  108. package/lib/components/VCalendar/VCalendarCategory.mjs.map +1 -1
  109. package/lib/components/VCalendar/VCalendarDaily.mjs +3 -34
  110. package/lib/components/VCalendar/VCalendarDaily.mjs.map +1 -1
  111. package/lib/components/VCalendar/VCalendarMonthly.mjs +3 -7
  112. package/lib/components/VCalendar/VCalendarMonthly.mjs.map +1 -1
  113. package/lib/components/VCalendar/VCalendarWeekly.mjs +3 -32
  114. package/lib/components/VCalendar/VCalendarWeekly.mjs.map +1 -1
  115. package/lib/components/VCalendar/index.mjs.map +1 -1
  116. package/lib/components/VCalendar/mixins/calendar-base.mjs +1 -19
  117. package/lib/components/VCalendar/mixins/calendar-base.mjs.map +1 -1
  118. package/lib/components/VCalendar/mixins/calendar-with-events.mjs +16 -84
  119. package/lib/components/VCalendar/mixins/calendar-with-events.mjs.map +1 -1
  120. package/lib/components/VCalendar/mixins/calendar-with-intervals.mjs +0 -30
  121. package/lib/components/VCalendar/mixins/calendar-with-intervals.mjs.map +1 -1
  122. package/lib/components/VCalendar/mixins/mouse.mjs +7 -17
  123. package/lib/components/VCalendar/mixins/mouse.mjs.map +1 -1
  124. package/lib/components/VCalendar/mixins/times.mjs +1 -9
  125. package/lib/components/VCalendar/mixins/times.mjs.map +1 -1
  126. package/lib/components/VCalendar/modes/column.mjs +0 -3
  127. package/lib/components/VCalendar/modes/column.mjs.map +1 -1
  128. package/lib/components/VCalendar/modes/common.mjs +0 -14
  129. package/lib/components/VCalendar/modes/common.mjs.map +1 -1
  130. package/lib/components/VCalendar/modes/index.mjs +0 -1
  131. package/lib/components/VCalendar/modes/index.mjs.map +1 -1
  132. package/lib/components/VCalendar/modes/stack.mjs +3 -45
  133. package/lib/components/VCalendar/modes/stack.mjs.map +1 -1
  134. package/lib/components/VCalendar/util/events.mjs +0 -1
  135. package/lib/components/VCalendar/util/events.mjs.map +1 -1
  136. package/lib/components/VCalendar/util/parser.mjs +3 -4
  137. package/lib/components/VCalendar/util/parser.mjs.map +1 -1
  138. package/lib/components/VCalendar/util/props.mjs +0 -13
  139. package/lib/components/VCalendar/util/props.mjs.map +1 -1
  140. package/lib/components/VCalendar/util/timestamp.mjs +2 -64
  141. package/lib/components/VCalendar/util/timestamp.mjs.map +1 -1
  142. package/lib/components/VCard/VCard.css +13 -9
  143. package/lib/components/VCard/VCard.mjs +6 -11
  144. package/lib/components/VCard/VCard.mjs.map +1 -1
  145. package/lib/components/VCard/VCardActions.mjs +0 -4
  146. package/lib/components/VCard/VCardActions.mjs.map +1 -1
  147. package/lib/components/VCard/VCardItem.mjs +5 -10
  148. package/lib/components/VCard/VCardItem.mjs.map +1 -1
  149. package/lib/components/VCard/VCardSubtitle.mjs.map +1 -1
  150. package/lib/components/VCard/VCardText.mjs.map +1 -1
  151. package/lib/components/VCard/VCardTitle.mjs.map +1 -1
  152. package/lib/components/VCard/index.d.ts +238 -0
  153. package/lib/components/VCard/index.mjs.map +1 -1
  154. package/lib/components/VCarousel/VCarousel.mjs +8 -12
  155. package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
  156. package/lib/components/VCarousel/VCarouselItem.mjs +0 -3
  157. package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
  158. package/lib/components/VCarousel/index.d.ts +81 -0
  159. package/lib/components/VCarousel/index.mjs.map +1 -1
  160. package/lib/components/VCheckbox/VCheckbox.mjs +22 -9
  161. package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
  162. package/lib/components/VCheckbox/VCheckboxBtn.mjs +7 -15
  163. package/lib/components/VCheckbox/VCheckboxBtn.mjs.map +1 -1
  164. package/lib/components/VCheckbox/index.d.ts +302 -0
  165. package/lib/components/VCheckbox/index.mjs.map +1 -1
  166. package/lib/components/VChip/VChip.css +27 -3
  167. package/lib/components/VChip/VChip.mjs +5 -14
  168. package/lib/components/VChip/VChip.mjs.map +1 -1
  169. package/lib/components/VChip/VChip.sass +1 -0
  170. package/lib/components/VChip/index.d.ts +196 -0
  171. package/lib/components/VChip/index.mjs.map +1 -1
  172. package/lib/components/VChipGroup/VChipGroup.mjs +5 -6
  173. package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
  174. package/lib/components/VChipGroup/index.d.ts +89 -0
  175. package/lib/components/VChipGroup/index.mjs.map +1 -1
  176. package/lib/components/VCode/VCode.css +5 -3
  177. package/lib/components/VCode/VCode.sass +3 -1
  178. package/lib/components/VCode/_variables.scss +5 -3
  179. package/lib/components/VCode/index.d.ts +20 -0
  180. package/lib/components/VCode/index.mjs.map +1 -1
  181. package/lib/components/VColorPicker/VColorPicker.css +3 -3
  182. package/lib/components/VColorPicker/VColorPicker.mjs +54 -61
  183. package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
  184. package/lib/components/VColorPicker/VColorPickerCanvas.mjs +10 -25
  185. package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
  186. package/lib/components/VColorPicker/VColorPickerEdit.mjs +6 -10
  187. package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
  188. package/lib/components/VColorPicker/VColorPickerPreview.mjs +14 -24
  189. package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
  190. package/lib/components/VColorPicker/VColorPickerSwatches.mjs +2 -6
  191. package/lib/components/VColorPicker/VColorPickerSwatches.mjs.map +1 -1
  192. package/lib/components/VColorPicker/index.d.ts +116 -0
  193. package/lib/components/VColorPicker/index.mjs.map +1 -1
  194. package/lib/components/VColorPicker/util/index.mjs +25 -29
  195. package/lib/components/VColorPicker/util/index.mjs.map +1 -1
  196. package/lib/components/VCombobox/VCombobox.css +14 -1
  197. package/lib/components/VCombobox/VCombobox.mjs +67 -65
  198. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  199. package/lib/components/VCombobox/VCombobox.sass +5 -0
  200. package/lib/components/VCombobox/_variables.scss +1 -0
  201. package/lib/components/VCombobox/index.d.ts +1775 -0
  202. package/lib/components/VCombobox/index.mjs.map +1 -1
  203. package/lib/components/VCounter/VCounter.mjs +2 -5
  204. package/lib/components/VCounter/VCounter.mjs.map +1 -1
  205. package/lib/components/VCounter/index.d.ts +224 -0
  206. package/lib/components/VCounter/index.mjs.map +1 -1
  207. package/lib/components/VData/VData.mjs +9 -67
  208. package/lib/components/VData/VData.mjs.map +1 -1
  209. package/lib/components/VData/index.mjs.map +1 -1
  210. package/lib/components/VDataIterator/VDataFooter.mjs +6 -25
  211. package/lib/components/VDataIterator/VDataFooter.mjs.map +1 -1
  212. package/lib/components/VDataIterator/VDataIterator.mjs +12 -51
  213. package/lib/components/VDataIterator/VDataIterator.mjs.map +1 -1
  214. package/lib/components/VDataIterator/index.mjs.map +1 -1
  215. package/lib/components/VDataTable/MobileRow.mjs +3 -8
  216. package/lib/components/VDataTable/MobileRow.mjs.map +1 -1
  217. package/lib/components/VDataTable/Row.mjs +1 -8
  218. package/lib/components/VDataTable/Row.mjs.map +1 -1
  219. package/lib/components/VDataTable/RowGroup.mjs +1 -7
  220. package/lib/components/VDataTable/RowGroup.mjs.map +1 -1
  221. package/lib/components/VDataTable/VDataTable.mjs +53 -105
  222. package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
  223. package/lib/components/VDataTable/VDataTableHeader.mjs +6 -10
  224. package/lib/components/VDataTable/VDataTableHeader.mjs.map +1 -1
  225. package/lib/components/VDataTable/VDataTableHeaderDesktop.mjs +0 -18
  226. package/lib/components/VDataTable/VDataTableHeaderDesktop.mjs.map +1 -1
  227. package/lib/components/VDataTable/VDataTableHeaderMobile.mjs +0 -9
  228. package/lib/components/VDataTable/VDataTableHeaderMobile.mjs.map +1 -1
  229. package/lib/components/VDataTable/VEditDialog.mjs +3 -17
  230. package/lib/components/VDataTable/VEditDialog.mjs.map +1 -1
  231. package/lib/components/VDataTable/VVirtualTable.mjs +3 -28
  232. package/lib/components/VDataTable/VVirtualTable.mjs.map +1 -1
  233. package/lib/components/VDataTable/index.mjs +0 -1
  234. package/lib/components/VDataTable/index.mjs.map +1 -1
  235. package/lib/components/VDataTable/mixins/header.mjs +1 -8
  236. package/lib/components/VDataTable/mixins/header.mjs.map +1 -1
  237. package/lib/components/VDatePicker/VDatePicker.mjs +2 -69
  238. package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
  239. package/lib/components/VDatePicker/VDatePickerDateTable.mjs +1 -29
  240. package/lib/components/VDatePicker/VDatePickerDateTable.mjs.map +1 -1
  241. package/lib/components/VDatePicker/VDatePickerHeader.mjs +4 -17
  242. package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +1 -1
  243. package/lib/components/VDatePicker/VDatePickerMonthTable.mjs +1 -12
  244. package/lib/components/VDatePicker/VDatePickerMonthTable.mjs.map +1 -1
  245. package/lib/components/VDatePicker/VDatePickerTitle.mjs +4 -15
  246. package/lib/components/VDatePicker/VDatePickerTitle.mjs.map +1 -1
  247. package/lib/components/VDatePicker/VDatePickerYears.mjs +4 -18
  248. package/lib/components/VDatePicker/VDatePickerYears.mjs.map +1 -1
  249. package/lib/components/VDatePicker/index.mjs.map +1 -1
  250. package/lib/components/VDatePicker/mixins/date-picker-table.mjs +6 -33
  251. package/lib/components/VDatePicker/mixins/date-picker-table.mjs.map +1 -1
  252. package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs +0 -5
  253. package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs.map +1 -1
  254. package/lib/components/VDatePicker/util/eventHelpers.mjs +2 -3
  255. package/lib/components/VDatePicker/util/eventHelpers.mjs.map +1 -1
  256. package/lib/components/VDatePicker/util/index.mjs +0 -1
  257. package/lib/components/VDatePicker/util/index.mjs.map +1 -1
  258. package/lib/components/VDatePicker/util/isDateAllowed.mjs +1 -1
  259. package/lib/components/VDatePicker/util/isDateAllowed.mjs.map +1 -1
  260. package/lib/components/VDatePicker/util/monthChange.mjs +0 -3
  261. package/lib/components/VDatePicker/util/monthChange.mjs.map +1 -1
  262. package/lib/components/VDatePicker/util/pad.mjs +1 -6
  263. package/lib/components/VDatePicker/util/pad.mjs.map +1 -1
  264. package/lib/components/VDatePicker/util/sanitizeDateString.mjs.map +1 -1
  265. package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +2 -4
  266. package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs.map +1 -1
  267. package/lib/components/VDefaultsProvider/index.d.ts +27 -0
  268. package/lib/components/VDefaultsProvider/index.mjs.map +1 -1
  269. package/lib/components/VDialog/VDialog.css +4 -1
  270. package/lib/components/VDialog/VDialog.mjs +49 -59
  271. package/lib/components/VDialog/VDialog.mjs.map +1 -1
  272. package/lib/components/VDialog/VDialog.sass +3 -0
  273. package/lib/components/VDialog/index.d.ts +1795 -0
  274. package/lib/components/VDialog/index.mjs.map +1 -1
  275. package/lib/components/VDivider/VDivider.mjs +2 -8
  276. package/lib/components/VDivider/VDivider.mjs.map +1 -1
  277. package/lib/components/VDivider/index.d.ts +23 -0
  278. package/lib/components/VDivider/index.mjs.map +1 -1
  279. package/lib/components/VExpansionPanel/VExpansionPanel.css +11 -6
  280. package/lib/components/VExpansionPanel/VExpansionPanel.mjs +0 -5
  281. package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
  282. package/lib/components/VExpansionPanel/VExpansionPanel.sass +2 -2
  283. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +2 -6
  284. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -1
  285. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +3 -8
  286. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
  287. package/lib/components/VExpansionPanel/VExpansionPanels.mjs +2 -5
  288. package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
  289. package/lib/components/VExpansionPanel/index.d.ts +206 -0
  290. package/lib/components/VExpansionPanel/index.mjs.map +1 -1
  291. package/lib/components/VField/VField.css +29 -26
  292. package/lib/components/VField/VField.mjs +36 -35
  293. package/lib/components/VField/VField.mjs.map +1 -1
  294. package/lib/components/VField/VField.sass +23 -22
  295. package/lib/components/VField/VFieldLabel.mjs +0 -3
  296. package/lib/components/VField/VFieldLabel.mjs.map +1 -1
  297. package/lib/components/VField/index.d.ts +306 -0
  298. package/lib/components/VField/index.mjs.map +1 -1
  299. package/lib/components/VFileInput/VFileInput.css +16 -0
  300. package/lib/components/VFileInput/VFileInput.mjs +41 -60
  301. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  302. package/lib/components/VFileInput/VFileInput.sass +10 -0
  303. package/lib/components/VFileInput/_variables.scss +2 -0
  304. package/lib/components/VFileInput/index.d.ts +477 -0
  305. package/lib/components/VFileInput/index.mjs.map +1 -1
  306. package/lib/components/VFooter/VFooter.css +8 -1
  307. package/lib/components/VFooter/VFooter.mjs +2 -4
  308. package/lib/components/VFooter/VFooter.mjs.map +1 -1
  309. package/lib/components/VFooter/VFooter.sass +1 -1
  310. package/lib/components/VFooter/_variables.scss +11 -0
  311. package/lib/components/VFooter/index.d.ts +77 -0
  312. package/lib/components/VFooter/index.mjs.map +1 -1
  313. package/lib/components/VForm/VForm.mjs +2 -13
  314. package/lib/components/VForm/VForm.mjs.map +1 -1
  315. package/lib/components/VForm/index.d.ts +81 -0
  316. package/lib/components/VForm/index.mjs.map +1 -1
  317. package/lib/components/VGrid/VCol.mjs +8 -23
  318. package/lib/components/VGrid/VCol.mjs.map +1 -1
  319. package/lib/components/VGrid/VContainer.mjs +2 -4
  320. package/lib/components/VGrid/VContainer.mjs.map +1 -1
  321. package/lib/components/VGrid/VRow.mjs +6 -24
  322. package/lib/components/VGrid/VRow.mjs.map +1 -1
  323. package/lib/components/VGrid/VSpacer.mjs.map +1 -1
  324. package/lib/components/VGrid/index.d.ts +156 -0
  325. package/lib/components/VGrid/index.mjs.map +1 -1
  326. package/lib/components/VHover/VHover.mjs +0 -4
  327. package/lib/components/VHover/VHover.mjs.map +1 -1
  328. package/lib/components/VHover/index.d.ts +31 -0
  329. package/lib/components/VHover/index.mjs.map +1 -1
  330. package/lib/components/VIcon/VIcon.mjs +4 -9
  331. package/lib/components/VIcon/VIcon.mjs.map +1 -1
  332. package/lib/components/VIcon/index.d.ts +125 -0
  333. package/lib/components/VIcon/index.mjs.map +1 -1
  334. package/lib/components/VImg/VImg.mjs +36 -60
  335. package/lib/components/VImg/VImg.mjs.map +1 -1
  336. package/lib/components/VImg/index.d.ts +93 -0
  337. package/lib/components/VImg/index.mjs.map +1 -1
  338. package/lib/components/VInput/InputIcon.mjs +31 -0
  339. package/lib/components/VInput/InputIcon.mjs.map +1 -0
  340. package/lib/components/VInput/VInput.mjs +20 -20
  341. package/lib/components/VInput/VInput.mjs.map +1 -1
  342. package/lib/components/VInput/index.d.ts +320 -0
  343. package/lib/components/VInput/index.mjs.map +1 -1
  344. package/lib/components/VItemGroup/VItem.mjs +0 -5
  345. package/lib/components/VItemGroup/VItem.mjs.map +1 -1
  346. package/lib/components/VItemGroup/VItemGroup.mjs +4 -6
  347. package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
  348. package/lib/components/VItemGroup/index.d.ts +204 -0
  349. package/lib/components/VItemGroup/index.mjs.map +1 -1
  350. package/lib/components/VKbd/VKbd.css +3 -3
  351. package/lib/components/VKbd/VKbd.sass +2 -2
  352. package/lib/components/VKbd/index.d.ts +20 -0
  353. package/lib/components/VKbd/index.mjs.map +1 -1
  354. package/lib/components/VLabel/VLabel.css +4 -1
  355. package/lib/components/VLabel/VLabel.mjs +6 -6
  356. package/lib/components/VLabel/VLabel.mjs.map +1 -1
  357. package/lib/components/VLabel/VLabel.sass +3 -1
  358. package/lib/components/VLabel/index.d.ts +16 -0
  359. package/lib/components/VLabel/index.mjs.map +1 -1
  360. package/lib/components/VLayout/VLayout.mjs +2 -5
  361. package/lib/components/VLayout/VLayout.mjs.map +1 -1
  362. package/lib/components/VLayout/VLayoutItem.mjs +2 -6
  363. package/lib/components/VLayout/VLayoutItem.mjs.map +1 -1
  364. package/lib/components/VLayout/index.d.ts +78 -0
  365. package/lib/components/VLayout/index.mjs.map +1 -1
  366. package/lib/components/VLazy/VLazy.mjs +0 -8
  367. package/lib/components/VLazy/VLazy.mjs.map +1 -1
  368. package/lib/components/VLazy/index.d.ts +86 -0
  369. package/lib/components/VLazy/index.mjs.map +1 -1
  370. package/lib/components/VList/VList.css +1 -1
  371. package/lib/components/VList/VList.mjs +76 -24
  372. package/lib/components/VList/VList.mjs.map +1 -1
  373. package/lib/components/VList/VListChildren.mjs +22 -31
  374. package/lib/components/VList/VListChildren.mjs.map +1 -1
  375. package/lib/components/VList/VListGroup.mjs +11 -17
  376. package/lib/components/VList/VListGroup.mjs.map +1 -1
  377. package/lib/components/VList/VListImg.mjs.map +1 -1
  378. package/lib/components/VList/VListItem.css +12 -8
  379. package/lib/components/VList/VListItem.mjs +45 -43
  380. package/lib/components/VList/VListItem.mjs.map +1 -1
  381. package/lib/components/VList/VListItem.sass +2 -2
  382. package/lib/components/VList/VListItemAction.mjs +0 -3
  383. package/lib/components/VList/VListItemAction.mjs.map +1 -1
  384. package/lib/components/VList/VListItemMedia.mjs +0 -3
  385. package/lib/components/VList/VListItemMedia.mjs.map +1 -1
  386. package/lib/components/VList/VListItemSubtitle.mjs.map +1 -1
  387. package/lib/components/VList/VListItemTitle.mjs.map +1 -1
  388. package/lib/components/VList/VListSubheader.mjs +2 -6
  389. package/lib/components/VList/VListSubheader.mjs.map +1 -1
  390. package/lib/components/VList/index.d.ts +1253 -0
  391. package/lib/components/VList/index.mjs.map +1 -1
  392. package/lib/components/VList/list.mjs +5 -2
  393. package/lib/components/VList/list.mjs.map +1 -1
  394. package/lib/components/VLocaleProvider/VLocaleProvider.mjs +4 -9
  395. package/lib/components/VLocaleProvider/VLocaleProvider.mjs.map +1 -1
  396. package/lib/components/VLocaleProvider/index.d.ts +24 -0
  397. package/lib/components/VLocaleProvider/index.mjs.map +1 -1
  398. package/lib/components/VMain/VMain.css +0 -7
  399. package/lib/components/VMain/VMain.mjs +2 -5
  400. package/lib/components/VMain/VMain.mjs.map +1 -1
  401. package/lib/components/VMain/VMain.sass +0 -8
  402. package/lib/components/VMain/index.d.ts +27 -0
  403. package/lib/components/VMain/index.mjs.map +1 -1
  404. package/lib/components/VMenu/VMenu.css +1 -1
  405. package/lib/components/VMenu/VMenu.mjs +45 -43
  406. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  407. package/lib/components/VMenu/index.d.ts +1823 -0
  408. package/lib/components/VMenu/index.mjs.map +1 -1
  409. package/lib/components/VMenu/shared.mjs.map +1 -1
  410. package/lib/components/VMessages/VMessages.mjs +2 -6
  411. package/lib/components/VMessages/VMessages.mjs.map +1 -1
  412. package/lib/components/VMessages/index.d.ts +235 -0
  413. package/lib/components/VMessages/index.mjs.map +1 -1
  414. package/lib/components/VNavigationDrawer/VNavigationDrawer.css +2 -2
  415. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +6 -11
  416. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
  417. package/lib/components/VNavigationDrawer/VNavigationDrawer.sass +1 -1
  418. package/lib/components/VNavigationDrawer/_variables.scss +1 -0
  419. package/lib/components/VNavigationDrawer/index.d.ts +148 -0
  420. package/lib/components/VNavigationDrawer/index.mjs.map +1 -1
  421. package/lib/components/VNavigationDrawer/sticky.mjs +1 -7
  422. package/lib/components/VNavigationDrawer/sticky.mjs.map +1 -1
  423. package/lib/components/VNavigationDrawer/touch.mjs +2 -15
  424. package/lib/components/VNavigationDrawer/touch.mjs.map +1 -1
  425. package/lib/components/VNoSsr/VNoSsr.mjs +1 -7
  426. package/lib/components/VNoSsr/VNoSsr.mjs.map +1 -1
  427. package/lib/components/VNoSsr/index.d.ts +8 -0
  428. package/lib/components/VNoSsr/index.mjs.map +1 -1
  429. package/lib/components/VOtpInput/VOtpInput.mjs +7 -58
  430. package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
  431. package/lib/components/VOtpInput/index.mjs.map +1 -1
  432. package/lib/components/VOverflowBtn/VOverflowBtn.mjs +7 -19
  433. package/lib/components/VOverflowBtn/VOverflowBtn.mjs.map +1 -1
  434. package/lib/components/VOverflowBtn/index.mjs.map +1 -1
  435. package/lib/components/VOverlay/VOverlay.mjs +50 -54
  436. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  437. package/lib/components/VOverlay/index.d.ts +551 -0
  438. package/lib/components/VOverlay/index.mjs.map +1 -1
  439. package/lib/components/VOverlay/locationStrategies.mjs +39 -65
  440. package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
  441. package/lib/components/VOverlay/requestNewFrame.mjs +1 -2
  442. package/lib/components/VOverlay/requestNewFrame.mjs.map +1 -1
  443. package/lib/components/VOverlay/scrollStrategies.mjs +10 -29
  444. package/lib/components/VOverlay/scrollStrategies.mjs.map +1 -1
  445. package/lib/components/VOverlay/useActivator.mjs +29 -29
  446. package/lib/components/VOverlay/useActivator.mjs.map +1 -1
  447. package/lib/components/VOverlay/util/point.mjs +3 -4
  448. package/lib/components/VOverlay/util/point.mjs.map +1 -1
  449. package/lib/components/VPagination/VPagination.mjs +20 -30
  450. package/lib/components/VPagination/VPagination.mjs.map +1 -1
  451. package/lib/components/VPagination/index.d.ts +249 -0
  452. package/lib/components/VPagination/index.mjs.map +1 -1
  453. package/lib/components/VParallax/VParallax.mjs +32 -24
  454. package/lib/components/VParallax/VParallax.mjs.map +1 -1
  455. package/lib/components/VParallax/index.d.ts +18 -0
  456. package/lib/components/VParallax/index.mjs.map +1 -1
  457. package/lib/components/VPicker/VPicker.mjs +3 -12
  458. package/lib/components/VPicker/VPicker.mjs.map +1 -1
  459. package/lib/components/VPicker/index.mjs.map +1 -1
  460. package/lib/components/VProgressCircular/VProgressCircular.mjs +2 -5
  461. package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
  462. package/lib/components/VProgressCircular/index.d.ts +69 -0
  463. package/lib/components/VProgressCircular/index.mjs.map +1 -1
  464. package/lib/components/VProgressLinear/VProgressLinear.mjs +5 -8
  465. package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
  466. package/lib/components/VProgressLinear/index.d.ts +102 -0
  467. package/lib/components/VProgressLinear/index.mjs.map +1 -1
  468. package/lib/components/VRadio/VRadio.mjs +2 -4
  469. package/lib/components/VRadio/VRadio.mjs.map +1 -1
  470. package/lib/components/VRadio/index.d.ts +105 -0
  471. package/lib/components/VRadio/index.mjs.map +1 -1
  472. package/lib/components/VRadioGroup/VRadioGroup.css +2 -3
  473. package/lib/components/VRadioGroup/VRadioGroup.mjs +17 -21
  474. package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
  475. package/lib/components/VRadioGroup/VRadioGroup.sass +2 -2
  476. package/lib/components/VRadioGroup/_variables.scss +0 -1
  477. package/lib/components/VRadioGroup/index.d.ts +179 -0
  478. package/lib/components/VRadioGroup/index.mjs.map +1 -1
  479. package/lib/components/VRangeSlider/VRangeSlider.mjs +24 -27
  480. package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
  481. package/lib/components/VRangeSlider/index.d.ts +246 -0
  482. package/lib/components/VRangeSlider/index.mjs.map +1 -1
  483. package/lib/components/VRating/VRating.mjs +6 -30
  484. package/lib/components/VRating/VRating.mjs.map +1 -1
  485. package/lib/components/VRating/index.d.ts +348 -0
  486. package/lib/components/VRating/index.mjs.map +1 -1
  487. package/lib/components/VResponsive/VResponsive.mjs +2 -5
  488. package/lib/components/VResponsive/VResponsive.mjs.map +1 -1
  489. package/lib/components/VResponsive/index.d.ts +24 -0
  490. package/lib/components/VResponsive/index.mjs.map +1 -1
  491. package/lib/components/VSelect/VSelect.css +21 -2
  492. package/lib/components/VSelect/VSelect.mjs +66 -43
  493. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  494. package/lib/components/VSelect/VSelect.sass +16 -1
  495. package/lib/components/VSelect/_variables.scss +1 -0
  496. package/lib/components/VSelect/index.d.ts +1718 -0
  497. package/lib/components/VSelect/index.mjs.map +1 -1
  498. package/lib/components/VSelectionControl/VSelectionControl.mjs +17 -62
  499. package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
  500. package/lib/components/VSelectionControl/index.d.ts +259 -0
  501. package/lib/components/VSelectionControl/index.mjs.map +1 -1
  502. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +6 -0
  503. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +59 -29
  504. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
  505. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.sass +6 -0
  506. package/lib/components/VSelectionControlGroup/index.d.ts +96 -0
  507. package/lib/components/VSelectionControlGroup/index.mjs.map +1 -1
  508. package/lib/components/VSheet/VSheet.css +1 -1
  509. package/lib/components/VSheet/VSheet.mjs +2 -4
  510. package/lib/components/VSheet/VSheet.mjs.map +1 -1
  511. package/lib/components/VSheet/index.d.ts +69 -0
  512. package/lib/components/VSheet/index.mjs.map +1 -1
  513. package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +19 -32
  514. package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
  515. package/lib/components/VSkeletonLoader/index.mjs.map +1 -1
  516. package/lib/components/VSlideGroup/VSlideGroup.mjs +56 -78
  517. package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
  518. package/lib/components/VSlideGroup/VSlideGroupItem.mjs +5 -9
  519. package/lib/components/VSlideGroup/VSlideGroupItem.mjs.map +1 -1
  520. package/lib/components/VSlideGroup/helpers.mjs +4 -17
  521. package/lib/components/VSlideGroup/helpers.mjs.map +1 -1
  522. package/lib/components/VSlideGroup/index.d.ts +434 -0
  523. package/lib/components/VSlideGroup/index.mjs.map +1 -1
  524. package/lib/components/VSlider/VSlider.css +7 -2
  525. package/lib/components/VSlider/VSlider.mjs +19 -12
  526. package/lib/components/VSlider/VSlider.mjs.map +1 -1
  527. package/lib/components/VSlider/VSlider.sass +6 -2
  528. package/lib/components/VSlider/VSliderThumb.css +10 -6
  529. package/lib/components/VSlider/VSliderThumb.mjs +7 -18
  530. package/lib/components/VSlider/VSliderThumb.mjs.map +1 -1
  531. package/lib/components/VSlider/VSliderThumb.sass +11 -8
  532. package/lib/components/VSlider/VSliderTrack.css +20 -20
  533. package/lib/components/VSlider/VSliderTrack.mjs +16 -14
  534. package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
  535. package/lib/components/VSlider/VSliderTrack.sass +14 -14
  536. package/lib/components/VSlider/_variables.scss +2 -2
  537. package/lib/components/VSlider/index.d.ts +243 -0
  538. package/lib/components/VSlider/index.mjs.map +1 -1
  539. package/lib/components/VSlider/slider.mjs +15 -46
  540. package/lib/components/VSlider/slider.mjs.map +1 -1
  541. package/lib/components/VSnackbar/VSnackbar.css +2 -3
  542. package/lib/components/VSnackbar/VSnackbar.mjs +51 -60
  543. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  544. package/lib/components/VSnackbar/index.d.ts +1696 -0
  545. package/lib/components/VSnackbar/index.mjs.map +1 -1
  546. package/lib/components/VSparkline/VSparkline.mjs +5 -40
  547. package/lib/components/VSparkline/VSparkline.mjs.map +1 -1
  548. package/lib/components/VSparkline/helpers/core.mjs +1 -1
  549. package/lib/components/VSparkline/helpers/core.mjs.map +1 -1
  550. package/lib/components/VSparkline/helpers/math.mjs +2 -3
  551. package/lib/components/VSparkline/helpers/math.mjs.map +1 -1
  552. package/lib/components/VSparkline/helpers/path.mjs +0 -4
  553. package/lib/components/VSparkline/helpers/path.mjs.map +1 -1
  554. package/lib/components/VSparkline/index.mjs.map +1 -1
  555. package/lib/components/VSpeedDial/VSpeedDial.mjs +3 -12
  556. package/lib/components/VSpeedDial/VSpeedDial.mjs.map +1 -1
  557. package/lib/components/VSpeedDial/index.mjs.map +1 -1
  558. package/lib/components/VStepper/VStepper.mjs +5 -24
  559. package/lib/components/VStepper/VStepper.mjs.map +1 -1
  560. package/lib/components/VStepper/VStepperContent.mjs +4 -25
  561. package/lib/components/VStepper/VStepperContent.mjs.map +1 -1
  562. package/lib/components/VStepper/VStepperStep.mjs +0 -24
  563. package/lib/components/VStepper/VStepperStep.mjs.map +1 -1
  564. package/lib/components/VStepper/index.mjs.map +1 -1
  565. package/lib/components/VSwitch/VSwitch.css +2 -2
  566. package/lib/components/VSwitch/VSwitch.mjs +26 -17
  567. package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
  568. package/lib/components/VSwitch/index.d.ts +186 -0
  569. package/lib/components/VSwitch/index.mjs.map +1 -1
  570. package/lib/components/VSystemBar/VSystemBar.css +1 -1
  571. package/lib/components/VSystemBar/VSystemBar.mjs +3 -9
  572. package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
  573. package/lib/components/VSystemBar/index.d.ts +62 -0
  574. package/lib/components/VSystemBar/index.mjs.map +1 -1
  575. package/lib/components/VTable/VTable.css +12 -12
  576. package/lib/components/VTable/VTable.mjs +5 -6
  577. package/lib/components/VTable/VTable.mjs.map +1 -1
  578. package/lib/components/VTable/VTable.sass +29 -18
  579. package/lib/components/VTable/index.d.ts +44 -0
  580. package/lib/components/VTable/index.mjs.map +1 -1
  581. package/lib/components/VTabs/VTab.css +3 -1
  582. package/lib/components/VTabs/VTab.mjs +5 -12
  583. package/lib/components/VTabs/VTab.mjs.map +1 -1
  584. package/lib/components/VTabs/VTab.sass +3 -1
  585. package/lib/components/VTabs/VTabs.css +7 -7
  586. package/lib/components/VTabs/VTabs.mjs +18 -21
  587. package/lib/components/VTabs/VTabs.mjs.map +1 -1
  588. package/lib/components/VTabs/VTabs.sass +5 -5
  589. package/lib/components/VTabs/_variables.scss +1 -1
  590. package/lib/components/VTabs/index.d.ts +187 -0
  591. package/lib/components/VTabs/index.mjs.map +1 -1
  592. package/lib/components/VTabs/shared.mjs.map +1 -1
  593. package/lib/components/VTextField/VTextField.css +2 -3
  594. package/lib/components/VTextField/VTextField.mjs +54 -56
  595. package/lib/components/VTextField/VTextField.mjs.map +1 -1
  596. package/lib/components/VTextField/VTextField.sass +2 -4
  597. package/lib/components/VTextField/index.d.ts +1807 -0
  598. package/lib/components/VTextField/index.mjs.map +1 -1
  599. package/lib/components/VTextarea/VTextarea.css +5 -3
  600. package/lib/components/VTextarea/VTextarea.mjs +26 -33
  601. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  602. package/lib/components/VTextarea/VTextarea.sass +5 -4
  603. package/lib/components/VTextarea/index.d.ts +461 -0
  604. package/lib/components/VTextarea/index.mjs.map +1 -1
  605. package/lib/components/VThemeProvider/VThemeProvider.mjs +2 -5
  606. package/lib/components/VThemeProvider/VThemeProvider.mjs.map +1 -1
  607. package/lib/components/VThemeProvider/index.d.ts +25 -0
  608. package/lib/components/VThemeProvider/index.mjs.map +1 -1
  609. package/lib/components/VTimePicker/SelectingTimes.mjs +0 -3
  610. package/lib/components/VTimePicker/SelectingTimes.mjs.map +1 -1
  611. package/lib/components/VTimePicker/VTimePicker.mjs +3 -53
  612. package/lib/components/VTimePicker/VTimePicker.mjs.map +1 -1
  613. package/lib/components/VTimePicker/VTimePickerClock.mjs +6 -42
  614. package/lib/components/VTimePicker/VTimePickerClock.mjs.map +1 -1
  615. package/lib/components/VTimePicker/VTimePickerTitle.mjs +4 -13
  616. package/lib/components/VTimePicker/VTimePickerTitle.mjs.map +1 -1
  617. package/lib/components/VTimePicker/index.mjs.map +1 -1
  618. package/lib/components/VTimeline/VTimeline.css +77 -41
  619. package/lib/components/VTimeline/VTimeline.mjs +8 -10
  620. package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
  621. package/lib/components/VTimeline/VTimeline.sass +95 -64
  622. package/lib/components/VTimeline/VTimelineDivider.mjs +2 -7
  623. package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -1
  624. package/lib/components/VTimeline/VTimelineItem.mjs +2 -8
  625. package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
  626. package/lib/components/VTimeline/_mixins.sass +10 -0
  627. package/lib/components/VTimeline/_variables.scss +4 -3
  628. package/lib/components/VTimeline/index.d.ts +158 -0
  629. package/lib/components/VTimeline/index.mjs.map +1 -1
  630. package/lib/components/VToolbar/VToolbar.css +3 -4
  631. package/lib/components/VToolbar/VToolbar.mjs +3 -11
  632. package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
  633. package/lib/components/VToolbar/VToolbar.sass +0 -1
  634. package/lib/components/VToolbar/VToolbarItems.mjs +0 -4
  635. package/lib/components/VToolbar/VToolbarItems.mjs.map +1 -1
  636. package/lib/components/VToolbar/VToolbarTitle.mjs +0 -5
  637. package/lib/components/VToolbar/VToolbarTitle.mjs.map +1 -1
  638. package/lib/components/VToolbar/_variables.scss +1 -1
  639. package/lib/components/VToolbar/index.d.ts +377 -0
  640. package/lib/components/VToolbar/index.mjs.map +1 -1
  641. package/lib/components/VTooltip/VTooltip.mjs +46 -57
  642. package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
  643. package/lib/components/VTooltip/index.d.ts +1789 -0
  644. package/lib/components/VTooltip/index.mjs.map +1 -1
  645. package/lib/components/VTreeview/VTreeview.mjs +18 -75
  646. package/lib/components/VTreeview/VTreeview.mjs.map +1 -1
  647. package/lib/components/VTreeview/VTreeviewNode.mjs +2 -32
  648. package/lib/components/VTreeview/VTreeviewNode.mjs.map +1 -1
  649. package/lib/components/VTreeview/index.mjs.map +1 -1
  650. package/lib/components/VTreeview/util/filterTreeItems.mjs +0 -6
  651. package/lib/components/VTreeview/util/filterTreeItems.mjs.map +1 -1
  652. package/lib/components/VValidation/VValidation.mjs +2 -5
  653. package/lib/components/VValidation/VValidation.mjs.map +1 -1
  654. package/lib/components/VValidation/index.d.ts +67 -0
  655. package/lib/components/VValidation/index.mjs.map +1 -1
  656. package/lib/components/VVirtualScroll/VVirtualScroll.mjs +3 -18
  657. package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
  658. package/lib/components/VVirtualScroll/index.mjs.map +1 -1
  659. package/lib/components/VWindow/VWindow.mjs +6 -22
  660. package/lib/components/VWindow/VWindow.mjs.map +1 -1
  661. package/lib/components/VWindow/VWindowItem.mjs +8 -21
  662. package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
  663. package/lib/components/VWindow/index.d.ts +378 -0
  664. package/lib/components/VWindow/index.mjs.map +1 -1
  665. package/lib/components/index.d.ts +15918 -5527
  666. package/lib/components/index.mjs +0 -11
  667. package/lib/components/index.mjs.map +1 -1
  668. package/lib/components/transitions/createTransition.mjs +0 -10
  669. package/lib/components/transitions/createTransition.mjs.map +1 -1
  670. package/lib/components/transitions/dialog-transition.mjs +8 -23
  671. package/lib/components/transitions/dialog-transition.mjs.map +1 -1
  672. package/lib/components/transitions/expand-transition.mjs +2 -11
  673. package/lib/components/transitions/expand-transition.mjs.map +1 -1
  674. package/lib/components/transitions/index.d.ts +470 -0
  675. package/lib/components/transitions/index.mjs +5 -4
  676. package/lib/components/transitions/index.mjs.map +1 -1
  677. package/lib/composables/border.mjs +0 -3
  678. package/lib/composables/border.mjs.map +1 -1
  679. package/lib/composables/color.mjs +0 -4
  680. package/lib/composables/color.mjs.map +1 -1
  681. package/lib/composables/defaults.mjs +1 -6
  682. package/lib/composables/defaults.mjs.map +1 -1
  683. package/lib/composables/delay.mjs +1 -6
  684. package/lib/composables/delay.mjs.map +1 -1
  685. package/lib/composables/density.mjs +4 -1
  686. package/lib/composables/density.mjs.map +1 -1
  687. package/lib/composables/dimensions.mjs +0 -1
  688. package/lib/composables/dimensions.mjs.map +1 -1
  689. package/lib/composables/display.mjs +8 -21
  690. package/lib/composables/display.mjs.map +1 -1
  691. package/lib/composables/elevation.mjs +2 -4
  692. package/lib/composables/elevation.mjs.map +1 -1
  693. package/lib/composables/filter.mjs +11 -20
  694. package/lib/composables/filter.mjs.map +1 -1
  695. package/lib/composables/focus.mjs +0 -5
  696. package/lib/composables/focus.mjs.map +1 -1
  697. package/lib/composables/form.mjs +8 -16
  698. package/lib/composables/form.mjs.map +1 -1
  699. package/lib/composables/forwardRefs.mjs +9 -16
  700. package/lib/composables/forwardRefs.mjs.map +1 -1
  701. package/lib/composables/group.mjs +11 -38
  702. package/lib/composables/group.mjs.map +1 -1
  703. package/lib/composables/hydration.mjs +8 -5
  704. package/lib/composables/hydration.mjs.map +1 -1
  705. package/lib/composables/icons.mjs +11 -21
  706. package/lib/composables/icons.mjs.map +1 -1
  707. package/lib/composables/index.mjs +1 -2
  708. package/lib/composables/index.mjs.map +1 -1
  709. package/lib/composables/intersectionObserver.mjs +0 -3
  710. package/lib/composables/intersectionObserver.mjs.map +1 -1
  711. package/lib/composables/items.mjs +5 -17
  712. package/lib/composables/items.mjs.map +1 -1
  713. package/lib/composables/layout.mjs +31 -37
  714. package/lib/composables/layout.mjs.map +1 -1
  715. package/lib/composables/lazy.mjs +2 -3
  716. package/lib/composables/lazy.mjs.map +1 -1
  717. package/lib/composables/loader.mjs +0 -3
  718. package/lib/composables/loader.mjs.map +1 -1
  719. package/lib/composables/locale.mjs +48 -127
  720. package/lib/composables/locale.mjs.map +1 -1
  721. package/lib/composables/location.mjs +1 -8
  722. package/lib/composables/location.mjs.map +1 -1
  723. package/lib/composables/mutationObserver.mjs +7 -7
  724. package/lib/composables/mutationObserver.mjs.map +1 -1
  725. package/lib/composables/nested/nested.mjs +21 -38
  726. package/lib/composables/nested/nested.mjs.map +1 -1
  727. package/lib/composables/nested/openStrategies.mjs +0 -9
  728. package/lib/composables/nested/openStrategies.mjs.map +1 -1
  729. package/lib/composables/nested/selectStrategies.mjs +6 -21
  730. package/lib/composables/nested/selectStrategies.mjs.map +1 -1
  731. package/lib/composables/position.mjs +1 -4
  732. package/lib/composables/position.mjs.map +1 -1
  733. package/lib/composables/proxiedModel.mjs +28 -16
  734. package/lib/composables/proxiedModel.mjs.map +1 -1
  735. package/lib/composables/refs.mjs +0 -2
  736. package/lib/composables/refs.mjs.map +1 -1
  737. package/lib/composables/resizeObserver.mjs +0 -3
  738. package/lib/composables/resizeObserver.mjs.map +1 -1
  739. package/lib/composables/rounded.mjs +0 -3
  740. package/lib/composables/rounded.mjs.map +1 -1
  741. package/lib/composables/router.mjs +14 -14
  742. package/lib/composables/router.mjs.map +1 -1
  743. package/lib/composables/scopeId.mjs.map +1 -1
  744. package/lib/composables/scroll.mjs +4 -12
  745. package/lib/composables/scroll.mjs.map +1 -1
  746. package/lib/composables/selectLink.mjs +7 -6
  747. package/lib/composables/selectLink.mjs.map +1 -1
  748. package/lib/composables/size.mjs +0 -3
  749. package/lib/composables/size.mjs.map +1 -1
  750. package/lib/composables/ssrBoot.mjs +2 -1
  751. package/lib/composables/ssrBoot.mjs.map +1 -1
  752. package/lib/composables/stack.mjs +0 -6
  753. package/lib/composables/stack.mjs.map +1 -1
  754. package/lib/composables/tag.mjs +0 -1
  755. package/lib/composables/tag.mjs.map +1 -1
  756. package/lib/composables/teleport.mjs +0 -4
  757. package/lib/composables/teleport.mjs.map +1 -1
  758. package/lib/composables/theme.mjs +65 -81
  759. package/lib/composables/theme.mjs.map +1 -1
  760. package/lib/composables/toggleScope.mjs +0 -1
  761. package/lib/composables/toggleScope.mjs.map +1 -1
  762. package/lib/composables/touch.mjs +6 -31
  763. package/lib/composables/touch.mjs.map +1 -1
  764. package/lib/composables/transition.mjs +0 -4
  765. package/lib/composables/transition.mjs.map +1 -1
  766. package/lib/composables/validation.mjs +29 -27
  767. package/lib/composables/validation.mjs.map +1 -1
  768. package/lib/composables/variant.mjs +0 -2
  769. package/lib/composables/variant.mjs.map +1 -1
  770. package/lib/directives/click-outside/index.mjs +10 -22
  771. package/lib/directives/click-outside/index.mjs.map +1 -1
  772. package/lib/directives/color/index.mjs +0 -11
  773. package/lib/directives/color/index.mjs.map +1 -1
  774. package/lib/directives/index.d.ts +104 -13
  775. package/lib/directives/index.mjs +0 -1
  776. package/lib/directives/index.mjs.map +1 -1
  777. package/lib/directives/intersect/index.mjs +3 -10
  778. package/lib/directives/intersect/index.mjs.map +1 -1
  779. package/lib/directives/mutate/index.mjs +5 -11
  780. package/lib/directives/mutate/index.mjs.map +1 -1
  781. package/lib/directives/resize/index.mjs +0 -5
  782. package/lib/directives/resize/index.mjs.map +1 -1
  783. package/lib/directives/ripple/index.mjs +12 -66
  784. package/lib/directives/ripple/index.mjs.map +1 -1
  785. package/lib/directives/scroll/index.mjs +1 -7
  786. package/lib/directives/scroll/index.mjs.map +1 -1
  787. package/lib/directives/touch/index.mjs +3 -18
  788. package/lib/directives/touch/index.mjs.map +1 -1
  789. package/lib/entry-bundler.mjs +2 -1
  790. package/lib/entry-bundler.mjs.map +1 -1
  791. package/lib/framework.mjs +66 -61
  792. package/lib/framework.mjs.map +1 -1
  793. package/lib/iconsets/fa-svg.mjs +0 -1
  794. package/lib/iconsets/fa-svg.mjs.map +1 -1
  795. package/lib/iconsets/fa.mjs +0 -1
  796. package/lib/iconsets/fa.mjs.map +1 -1
  797. package/lib/iconsets/fa4.mjs +4 -3
  798. package/lib/iconsets/fa4.mjs.map +1 -1
  799. package/lib/iconsets/md.mjs +4 -3
  800. package/lib/iconsets/md.mjs.map +1 -1
  801. package/lib/iconsets/mdi-svg.mjs +1 -1
  802. package/lib/iconsets/mdi-svg.mjs.map +1 -1
  803. package/lib/iconsets/mdi.mjs +4 -3
  804. package/lib/iconsets/mdi.mjs.map +1 -1
  805. package/lib/index.d.ts +106 -107
  806. package/lib/locale/adapters/vue-i18n.d.ts +29 -0
  807. package/lib/locale/adapters/vue-i18n.mjs +59 -54
  808. package/lib/locale/adapters/vue-i18n.mjs.map +1 -1
  809. package/lib/locale/adapters/vuetify.d.ts +24 -0
  810. package/lib/locale/adapters/vuetify.mjs +97 -0
  811. package/lib/locale/adapters/vuetify.mjs.map +1 -0
  812. package/lib/locale/af.mjs +5 -0
  813. package/lib/locale/af.mjs.map +1 -1
  814. package/lib/locale/ar.mjs +5 -0
  815. package/lib/locale/ar.mjs.map +1 -1
  816. package/lib/locale/az.mjs +5 -0
  817. package/lib/locale/az.mjs.map +1 -1
  818. package/lib/locale/bg.mjs +5 -0
  819. package/lib/locale/bg.mjs.map +1 -1
  820. package/lib/locale/ca.mjs +5 -0
  821. package/lib/locale/ca.mjs.map +1 -1
  822. package/lib/locale/ckb.mjs +5 -0
  823. package/lib/locale/ckb.mjs.map +1 -1
  824. package/lib/locale/cs.mjs +5 -0
  825. package/lib/locale/cs.mjs.map +1 -1
  826. package/lib/locale/da.mjs +5 -0
  827. package/lib/locale/da.mjs.map +1 -1
  828. package/lib/locale/de.mjs +5 -0
  829. package/lib/locale/de.mjs.map +1 -1
  830. package/lib/locale/el.mjs +5 -0
  831. package/lib/locale/el.mjs.map +1 -1
  832. package/lib/locale/en.mjs +5 -0
  833. package/lib/locale/en.mjs.map +1 -1
  834. package/lib/locale/es.mjs +5 -0
  835. package/lib/locale/es.mjs.map +1 -1
  836. package/lib/locale/et.mjs +5 -0
  837. package/lib/locale/et.mjs.map +1 -1
  838. package/lib/locale/fa.mjs +5 -0
  839. package/lib/locale/fa.mjs.map +1 -1
  840. package/lib/locale/fi.mjs +5 -0
  841. package/lib/locale/fi.mjs.map +1 -1
  842. package/lib/locale/fr.mjs +5 -0
  843. package/lib/locale/fr.mjs.map +1 -1
  844. package/lib/locale/he.mjs +5 -0
  845. package/lib/locale/he.mjs.map +1 -1
  846. package/lib/locale/hr.mjs +5 -0
  847. package/lib/locale/hr.mjs.map +1 -1
  848. package/lib/locale/hu.mjs +5 -0
  849. package/lib/locale/hu.mjs.map +1 -1
  850. package/lib/locale/id.mjs +5 -0
  851. package/lib/locale/id.mjs.map +1 -1
  852. package/lib/locale/index.d.ts +212 -2
  853. package/lib/locale/index.mjs +1 -1
  854. package/lib/locale/index.mjs.map +1 -1
  855. package/lib/locale/it.mjs +5 -0
  856. package/lib/locale/it.mjs.map +1 -1
  857. package/lib/locale/ja.mjs +5 -0
  858. package/lib/locale/ja.mjs.map +1 -1
  859. package/lib/locale/ko.mjs +5 -0
  860. package/lib/locale/ko.mjs.map +1 -1
  861. package/lib/locale/lt.mjs +5 -0
  862. package/lib/locale/lt.mjs.map +1 -1
  863. package/lib/locale/lv.mjs +5 -0
  864. package/lib/locale/lv.mjs.map +1 -1
  865. package/lib/locale/nl.mjs +5 -0
  866. package/lib/locale/nl.mjs.map +1 -1
  867. package/lib/locale/no.mjs +5 -0
  868. package/lib/locale/no.mjs.map +1 -1
  869. package/lib/locale/pl.mjs +9 -4
  870. package/lib/locale/pl.mjs.map +1 -1
  871. package/lib/locale/pt.mjs +5 -0
  872. package/lib/locale/pt.mjs.map +1 -1
  873. package/lib/locale/ro.mjs +5 -0
  874. package/lib/locale/ro.mjs.map +1 -1
  875. package/lib/locale/ru.mjs +5 -0
  876. package/lib/locale/ru.mjs.map +1 -1
  877. package/lib/locale/sk.mjs +5 -0
  878. package/lib/locale/sk.mjs.map +1 -1
  879. package/lib/locale/sl.mjs +5 -0
  880. package/lib/locale/sl.mjs.map +1 -1
  881. package/lib/locale/sr-Cyrl.mjs +5 -0
  882. package/lib/locale/sr-Cyrl.mjs.map +1 -1
  883. package/lib/locale/sr-Latn.mjs +5 -0
  884. package/lib/locale/sr-Latn.mjs.map +1 -1
  885. package/lib/locale/sv.mjs +5 -0
  886. package/lib/locale/sv.mjs.map +1 -1
  887. package/lib/locale/th.mjs +5 -0
  888. package/lib/locale/th.mjs.map +1 -1
  889. package/lib/locale/tr.mjs +5 -0
  890. package/lib/locale/tr.mjs.map +1 -1
  891. package/lib/locale/uk.mjs +5 -0
  892. package/lib/locale/uk.mjs.map +1 -1
  893. package/lib/locale/vi.mjs +5 -0
  894. package/lib/locale/vi.mjs.map +1 -1
  895. package/lib/locale/zh-Hans.mjs +5 -0
  896. package/lib/locale/zh-Hans.mjs.map +1 -1
  897. package/lib/locale/zh-Hant.mjs +5 -0
  898. package/lib/locale/zh-Hant.mjs.map +1 -1
  899. package/lib/services/goto/easing-patterns.mjs +24 -24
  900. package/lib/services/goto/easing-patterns.mjs.map +1 -1
  901. package/lib/services/goto/index.mjs +11 -15
  902. package/lib/services/goto/index.mjs.map +1 -1
  903. package/lib/services/goto/util.mjs +1 -8
  904. package/lib/services/goto/util.mjs.map +1 -1
  905. package/lib/styles/main.css +105 -101
  906. package/lib/styles/settings/_colors.scss +84 -84
  907. package/lib/styles/settings/_elevations.scss +3 -3
  908. package/lib/styles/settings/_utilities.scss +11 -4
  909. package/lib/styles/tools/_states.sass +8 -3
  910. package/lib/styles/tools/_variant.sass +0 -1
  911. package/lib/util/anchor.mjs +0 -3
  912. package/lib/util/anchor.mjs.map +1 -1
  913. package/lib/util/animation.mjs +14 -4
  914. package/lib/util/animation.mjs.map +1 -1
  915. package/lib/util/box.mjs +0 -5
  916. package/lib/util/box.mjs.map +1 -1
  917. package/lib/util/color/APCA.mjs +23 -21
  918. package/lib/util/color/APCA.mjs.map +1 -1
  919. package/lib/util/color/transformCIELAB.mjs +0 -2
  920. package/lib/util/color/transformCIELAB.mjs.map +1 -1
  921. package/lib/util/color/transformSRGB.mjs +14 -12
  922. package/lib/util/color/transformSRGB.mjs.map +1 -1
  923. package/lib/util/colorUtils.mjs +8 -25
  924. package/lib/util/colorUtils.mjs.map +1 -1
  925. package/lib/util/colors.mjs.map +1 -1
  926. package/lib/util/console.mjs +5 -14
  927. package/lib/util/console.mjs.map +1 -1
  928. package/lib/util/createSimpleFunctional.mjs +1 -4
  929. package/lib/util/createSimpleFunctional.mjs.map +1 -1
  930. package/lib/util/dateTimeUtils.mjs +0 -10
  931. package/lib/util/dateTimeUtils.mjs.map +1 -1
  932. package/lib/util/defineComponent.mjs +13 -37
  933. package/lib/util/defineComponent.mjs.map +1 -1
  934. package/lib/util/dom.mjs +4 -4
  935. package/lib/util/dom.mjs.map +1 -1
  936. package/lib/util/easing.mjs +0 -1
  937. package/lib/util/easing.mjs.map +1 -1
  938. package/lib/util/getCurrentInstance.mjs +3 -10
  939. package/lib/util/getCurrentInstance.mjs.map +1 -1
  940. package/lib/util/getScrollParent.mjs +3 -4
  941. package/lib/util/getScrollParent.mjs.map +1 -1
  942. package/lib/util/globals.mjs +1 -1
  943. package/lib/util/globals.mjs.map +1 -1
  944. package/lib/util/helpers.mjs +55 -86
  945. package/lib/util/helpers.mjs.map +1 -1
  946. package/lib/util/injectSelf.mjs +0 -1
  947. package/lib/util/injectSelf.mjs.map +1 -1
  948. package/lib/util/isFixedPosition.mjs +0 -2
  949. package/lib/util/isFixedPosition.mjs.map +1 -1
  950. package/lib/util/propsFactory.mjs +4 -5
  951. package/lib/util/propsFactory.mjs.map +1 -1
  952. package/lib/util/useRender.mjs +0 -1
  953. package/lib/util/useRender.mjs.map +1 -1
  954. package/package.json +17 -19
  955. package/lib/composables/rtl.mjs +0 -44
  956. package/lib/composables/rtl.mjs.map +0 -1
  957. package/lib/locale/adapters/vue-intl.mjs +0 -67
  958. package/lib/locale/adapters/vue-intl.mjs.map +0 -1
  959. package/lib/styles.scss +0 -4
@@ -1 +1 @@
1
- {"version":3,"file":"VCalendarWeekly.mjs","names":["VBtn","CalendarBase","getSlot","weekNumber","props","createDayList","getDayIdentifier","createNativeLocaleFormatter","extend","name","weeks","computed","staticClass","classes","themeClasses","parsedMinWeeks","parseInt","minWeeks","days","minDays","parsedWeekdays","length","start","getStartOfWeek","parsedStart","end","getEndOfWeek","parsedEnd","times","today","weekdaySkips","Number","MAX_SAFE_INTEGER","todayWeek","monthFormatter","monthFormat","longOptions","timeZone","month","shortOptions","currentLocale","_tms","short","methods","isOutside","day","dayIdentifier","genHead","$createElement","genHeadDays","header","map","genHeadDay","showWeek","unshift","index","outside","color","present","undefined","setTextColor","key","date","class","getRelativeClasses","weekdayFormatter","shortWeekdays","genWeeks","weekDays","i","push","genWeek","slice","getWeekNumber","week","weekNodes","genDay","genWeekNumber","determineDay","year","localeFirstDayOfYear","String","on","getDefaultMouseEventHandlers","_e","genDayLabel","genDayLabelButton","hasMonth","showMonthOnFirst","fab","depressed","small","getMouseEventHandlers","event","stop","prevent","result","shortMonths","dayFormatter","genDayMonth","render","h","dragstart","e","preventDefault","hideHeader"],"sources":["../../../src/components/VCalendar/VCalendarWeekly.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\n// Styles\nimport './VCalendarWeekly.sass'\n\n// Types\nimport { VNode } from 'vue'\n\n// Components\nimport VBtn from '../VBtn'\n\n// Mixins\nimport CalendarBase from './mixins/calendar-base'\n\n// Util\nimport { getSlot } from '../../util/helpers'\nimport { weekNumber } from '../../util/dateTimeUtils'\nimport props from './util/props'\nimport {\n createDayList,\n getDayIdentifier,\n createNativeLocaleFormatter,\n} from './util/timestamp'\nimport { CalendarTimestamp, CalendarFormatter } from 'vuetify/types'\n\n/* @vue/component */\nexport default CalendarBase.extend({\n name: 'v-calendar-weekly',\n\n props: props.weeks,\n\n computed: {\n staticClass (): string {\n return 'v-calendar-weekly'\n },\n classes (): object {\n return this.themeClasses\n },\n parsedMinWeeks (): number {\n return parseInt(this.minWeeks)\n },\n days (): CalendarTimestamp[] {\n const minDays = this.parsedMinWeeks * this.parsedWeekdays.length\n const start = this.getStartOfWeek(this.parsedStart)\n const end = this.getEndOfWeek(this.parsedEnd)\n\n return createDayList(\n start,\n end,\n this.times.today,\n this.weekdaySkips,\n Number.MAX_SAFE_INTEGER,\n minDays\n )\n },\n todayWeek (): CalendarTimestamp[] {\n const today = this.times.today\n const start = this.getStartOfWeek(today)\n const end = this.getEndOfWeek(today)\n\n return createDayList(\n start,\n end,\n today,\n this.weekdaySkips,\n this.parsedWeekdays.length,\n this.parsedWeekdays.length\n )\n },\n monthFormatter (): CalendarFormatter {\n if (this.monthFormat) {\n return this.monthFormat as CalendarFormatter\n }\n\n const longOptions = { timeZone: 'UTC', month: 'long' }\n const shortOptions = { timeZone: 'UTC', month: 'short' }\n\n return createNativeLocaleFormatter(\n this.currentLocale,\n (_tms, short) => short ? shortOptions : longOptions\n )\n },\n },\n\n methods: {\n isOutside (day: CalendarTimestamp): boolean {\n const dayIdentifier = getDayIdentifier(day)\n\n return dayIdentifier < getDayIdentifier(this.parsedStart) ||\n dayIdentifier > getDayIdentifier(this.parsedEnd)\n },\n genHead (): VNode {\n return this.$createElement('div', {\n staticClass: 'v-calendar-weekly__head',\n }, this.genHeadDays())\n },\n genHeadDays (): VNode[] {\n const header = this.todayWeek.map(this.genHeadDay)\n\n if (this.showWeek) {\n header.unshift(this.$createElement('div', {\n staticClass: 'v-calendar-weekly__head-weeknumber',\n }))\n }\n\n return header\n },\n genHeadDay (day: CalendarTimestamp, index: number): VNode {\n const outside = this.isOutside(this.days[index])\n const color = day.present ? this.color : undefined\n\n return this.$createElement('div', this.setTextColor(color, {\n key: day.date,\n staticClass: 'v-calendar-weekly__head-weekday',\n class: this.getRelativeClasses(day, outside),\n }), this.weekdayFormatter(day, this.shortWeekdays))\n },\n genWeeks (): VNode[] {\n const days = this.days\n const weekDays = this.parsedWeekdays.length\n const weeks: VNode[] = []\n\n for (let i = 0; i < days.length; i += weekDays) {\n weeks.push(this.genWeek(days.slice(i, i + weekDays), this.getWeekNumber(days[i])))\n }\n\n return weeks\n },\n genWeek (week: CalendarTimestamp[], weekNumber: number): VNode {\n const weekNodes = week.map((day, index) => this.genDay(day, index, week))\n\n if (this.showWeek) {\n weekNodes.unshift(this.genWeekNumber(weekNumber))\n }\n\n return this.$createElement('div', {\n key: week[0].date,\n staticClass: 'v-calendar-weekly__week',\n }, weekNodes)\n },\n getWeekNumber (determineDay: CalendarTimestamp) {\n return weekNumber(\n determineDay.year,\n determineDay.month - 1,\n determineDay.day,\n this.parsedWeekdays[0],\n parseInt(this.localeFirstDayOfYear)\n )\n },\n genWeekNumber (weekNumber: number) {\n return this.$createElement('div', {\n staticClass: 'v-calendar-weekly__weeknumber',\n }, [\n this.$createElement('small', String(weekNumber)),\n ])\n },\n genDay (day: CalendarTimestamp, index: number, week: CalendarTimestamp[]): VNode {\n const outside = this.isOutside(day)\n\n return this.$createElement('div', {\n key: day.date,\n staticClass: 'v-calendar-weekly__day',\n class: this.getRelativeClasses(day, outside),\n on: this.getDefaultMouseEventHandlers(':day', _e => day),\n }, [\n this.genDayLabel(day),\n ...(getSlot(this, 'day', () => ({ outside, index, week, ...day })) || []),\n ])\n },\n genDayLabel (day: CalendarTimestamp): VNode {\n return this.$createElement('div', {\n staticClass: 'v-calendar-weekly__day-label',\n }, getSlot(this, 'day-label', day) || [this.genDayLabelButton(day)])\n },\n genDayLabelButton (day: CalendarTimestamp): VNode {\n const color = day.present ? this.color : 'transparent'\n const hasMonth = day.day === 1 && this.showMonthOnFirst\n\n return this.$createElement(VBtn, {\n props: {\n color,\n fab: true,\n depressed: true,\n small: true,\n },\n on: this.getMouseEventHandlers({\n 'click:date': { event: 'click', stop: true },\n 'contextmenu:date': { event: 'contextmenu', stop: true, prevent: true, result: false },\n }, _e => day),\n }, hasMonth\n ? this.monthFormatter(day, this.shortMonths) + ' ' + this.dayFormatter(day, false)\n : this.dayFormatter(day, false)\n )\n },\n genDayMonth (day: CalendarTimestamp): VNode | string {\n const color = day.present ? this.color : undefined\n\n return this.$createElement('div', this.setTextColor(color, {\n staticClass: 'v-calendar-weekly__day-month',\n }), getSlot(this, 'day-month', day) || this.monthFormatter(day, this.shortMonths))\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: this.staticClass,\n class: this.classes,\n on: {\n dragstart: (e: MouseEvent) => {\n e.preventDefault()\n },\n },\n }, [\n !this.hideHeader ? this.genHead() : '',\n ...this.genWeeks(),\n ])\n },\n})\n"],"mappings":"AAAA;;AACA;AAEA;AACA,+B,CAEA;;AAGA;OACOA,I,2BAEP;;OACOC,Y,oCAEP;;SACSC,O;SACAC,U;OACFC,K;SAELC,a,EACAC,gB,EACAC,2B;;AAIF;AACA,eAAeN,YAAY,CAACO,MAAb,CAAoB;EACjCC,IAAI,EAAE,mBAD2B;EAGjCL,KAAK,EAAEA,KAAK,CAACM,KAHoB;EAKjCC,QAAQ,EAAE;IACRC,WAAW,GAAY;MACrB,OAAO,mBAAP;IACD,CAHO;;IAIRC,OAAO,GAAY;MAC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;EAiLjCG,MAAM,CAAEC,CAAF,EAAY;IAChB,OAAOA,CAAC,CAAC,KAAD,EAAQ;MACdzF,WAAW,EAAE,KAAKA,WADJ;MAEdmD,KAAK,EAAE,KAAKlD,OAFE;MAGdqE,EAAE,EAAE;QACFoB,SAAS,EAAGC,CAAD,IAAmB;UAC5BA,CAAC,CAACC,cAAF;QACD;MAHC;IAHU,CAAR,EAQL,CACD,CAAC,KAAKC,UAAN,GAAmB,KAAK1D,OAAL,EAAnB,GAAoC,EADnC,EAED,GAAG,KAAKoB,QAAL,EAFF,CARK,CAAR;EAYD;;AA9LgC,CAApB,CAAf"}
1
+ {"version":3,"file":"VCalendarWeekly.mjs","names":["VBtn","CalendarBase","getSlot","weekNumber","props","createDayList","getDayIdentifier","createNativeLocaleFormatter","extend","name","weeks","computed","staticClass","classes","themeClasses","parsedMinWeeks","parseInt","minWeeks","days","minDays","parsedWeekdays","length","start","getStartOfWeek","parsedStart","end","getEndOfWeek","parsedEnd","times","today","weekdaySkips","Number","MAX_SAFE_INTEGER","todayWeek","monthFormatter","monthFormat","longOptions","timeZone","month","shortOptions","currentLocale","_tms","short","methods","isOutside","day","dayIdentifier","genHead","$createElement","genHeadDays","header","map","genHeadDay","showWeek","unshift","index","outside","color","present","undefined","setTextColor","key","date","class","getRelativeClasses","weekdayFormatter","shortWeekdays","genWeeks","weekDays","i","push","genWeek","slice","getWeekNumber","week","weekNodes","genDay","genWeekNumber","determineDay","year","localeFirstDayOfYear","String","on","getDefaultMouseEventHandlers","_e","genDayLabel","genDayLabelButton","hasMonth","showMonthOnFirst","fab","depressed","small","getMouseEventHandlers","event","stop","prevent","result","shortMonths","dayFormatter","genDayMonth","render","h","dragstart","e","preventDefault","hideHeader"],"sources":["../../../src/components/VCalendar/VCalendarWeekly.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\n// Styles\nimport './VCalendarWeekly.sass'\n\n// Types\nimport { VNode } from 'vue'\n\n// Components\nimport VBtn from '../VBtn'\n\n// Mixins\nimport CalendarBase from './mixins/calendar-base'\n\n// Util\nimport { getSlot } from '../../util/helpers'\nimport { weekNumber } from '../../util/dateTimeUtils'\nimport props from './util/props'\nimport {\n createDayList,\n getDayIdentifier,\n createNativeLocaleFormatter,\n} from './util/timestamp'\nimport { CalendarTimestamp, CalendarFormatter } from 'vuetify/types'\n\n/* @vue/component */\nexport default CalendarBase.extend({\n name: 'v-calendar-weekly',\n\n props: props.weeks,\n\n computed: {\n staticClass (): string {\n return 'v-calendar-weekly'\n },\n classes (): object {\n return this.themeClasses\n },\n parsedMinWeeks (): number {\n return parseInt(this.minWeeks)\n },\n days (): CalendarTimestamp[] {\n const minDays = this.parsedMinWeeks * this.parsedWeekdays.length\n const start = this.getStartOfWeek(this.parsedStart)\n const end = this.getEndOfWeek(this.parsedEnd)\n\n return createDayList(\n start,\n end,\n this.times.today,\n this.weekdaySkips,\n Number.MAX_SAFE_INTEGER,\n minDays\n )\n },\n todayWeek (): CalendarTimestamp[] {\n const today = this.times.today\n const start = this.getStartOfWeek(today)\n const end = this.getEndOfWeek(today)\n\n return createDayList(\n start,\n end,\n today,\n this.weekdaySkips,\n this.parsedWeekdays.length,\n this.parsedWeekdays.length\n )\n },\n monthFormatter (): CalendarFormatter {\n if (this.monthFormat) {\n return this.monthFormat as CalendarFormatter\n }\n\n const longOptions = { timeZone: 'UTC', month: 'long' }\n const shortOptions = { timeZone: 'UTC', month: 'short' }\n\n return createNativeLocaleFormatter(\n this.currentLocale,\n (_tms, short) => short ? shortOptions : longOptions\n )\n },\n },\n\n methods: {\n isOutside (day: CalendarTimestamp): boolean {\n const dayIdentifier = getDayIdentifier(day)\n\n return dayIdentifier < getDayIdentifier(this.parsedStart) ||\n dayIdentifier > getDayIdentifier(this.parsedEnd)\n },\n genHead (): VNode {\n return this.$createElement('div', {\n staticClass: 'v-calendar-weekly__head',\n }, this.genHeadDays())\n },\n genHeadDays (): VNode[] {\n const header = this.todayWeek.map(this.genHeadDay)\n\n if (this.showWeek) {\n header.unshift(this.$createElement('div', {\n staticClass: 'v-calendar-weekly__head-weeknumber',\n }))\n }\n\n return header\n },\n genHeadDay (day: CalendarTimestamp, index: number): VNode {\n const outside = this.isOutside(this.days[index])\n const color = day.present ? this.color : undefined\n\n return this.$createElement('div', this.setTextColor(color, {\n key: day.date,\n staticClass: 'v-calendar-weekly__head-weekday',\n class: this.getRelativeClasses(day, outside),\n }), this.weekdayFormatter(day, this.shortWeekdays))\n },\n genWeeks (): VNode[] {\n const days = this.days\n const weekDays = this.parsedWeekdays.length\n const weeks: VNode[] = []\n\n for (let i = 0; i < days.length; i += weekDays) {\n weeks.push(this.genWeek(days.slice(i, i + weekDays), this.getWeekNumber(days[i])))\n }\n\n return weeks\n },\n genWeek (week: CalendarTimestamp[], weekNumber: number): VNode {\n const weekNodes = week.map((day, index) => this.genDay(day, index, week))\n\n if (this.showWeek) {\n weekNodes.unshift(this.genWeekNumber(weekNumber))\n }\n\n return this.$createElement('div', {\n key: week[0].date,\n staticClass: 'v-calendar-weekly__week',\n }, weekNodes)\n },\n getWeekNumber (determineDay: CalendarTimestamp) {\n return weekNumber(\n determineDay.year,\n determineDay.month - 1,\n determineDay.day,\n this.parsedWeekdays[0],\n parseInt(this.localeFirstDayOfYear)\n )\n },\n genWeekNumber (weekNumber: number) {\n return this.$createElement('div', {\n staticClass: 'v-calendar-weekly__weeknumber',\n }, [\n this.$createElement('small', String(weekNumber)),\n ])\n },\n genDay (day: CalendarTimestamp, index: number, week: CalendarTimestamp[]): VNode {\n const outside = this.isOutside(day)\n\n return this.$createElement('div', {\n key: day.date,\n staticClass: 'v-calendar-weekly__day',\n class: this.getRelativeClasses(day, outside),\n on: this.getDefaultMouseEventHandlers(':day', _e => day),\n }, [\n this.genDayLabel(day),\n ...(getSlot(this, 'day', () => ({ outside, index, week, ...day })) || []),\n ])\n },\n genDayLabel (day: CalendarTimestamp): VNode {\n return this.$createElement('div', {\n staticClass: 'v-calendar-weekly__day-label',\n }, getSlot(this, 'day-label', day) || [this.genDayLabelButton(day)])\n },\n genDayLabelButton (day: CalendarTimestamp): VNode {\n const color = day.present ? this.color : 'transparent'\n const hasMonth = day.day === 1 && this.showMonthOnFirst\n\n return this.$createElement(VBtn, {\n props: {\n color,\n fab: true,\n depressed: true,\n small: true,\n },\n on: this.getMouseEventHandlers({\n 'click:date': { event: 'click', stop: true },\n 'contextmenu:date': { event: 'contextmenu', stop: true, prevent: true, result: false },\n }, _e => day),\n }, hasMonth\n ? this.monthFormatter(day, this.shortMonths) + ' ' + this.dayFormatter(day, false)\n : this.dayFormatter(day, false)\n )\n },\n genDayMonth (day: CalendarTimestamp): VNode | string {\n const color = day.present ? this.color : undefined\n\n return this.$createElement('div', this.setTextColor(color, {\n staticClass: 'v-calendar-weekly__day-month',\n }), getSlot(this, 'day-month', day) || this.monthFormatter(day, this.shortMonths))\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: this.staticClass,\n class: this.classes,\n on: {\n dragstart: (e: MouseEvent) => {\n e.preventDefault()\n },\n },\n }, [\n !this.hideHeader ? this.genHead() : '',\n ...this.genWeeks(),\n ])\n },\n})\n"],"mappings":"AAAA;AACA;;AAEA;AACA;;AAEA;AAGA;AAAA,OACOA,IAAI,2BAEX;AAAA,OACOC,YAAY,oCAEnB;AAAA,SACSC,OAAO;AAAA,SACPC,UAAU;AAAA,OACZC,KAAK;AAAA,SAEVC,aAAa,EACbC,gBAAgB,EAChBC,2BAA2B;AAI7B;AACA,eAAeN,YAAY,CAACO,MAAM,CAAC;EACjCC,IAAI,EAAE,mBAAmB;EAEzBL,KAAK,EAAEA,KAAK,CAACM,KAAK;EAElBC,QAAQ,EAAE;IACRC,WAAW,GAAY;MACrB,OAAO,mBAAmB;IAC5B,CAAC;IACDC,OAAO,GAAY;MACjB,OAAO,IAAI,CAACC,YAAY;IAC1B,CAAC;IACDC,cAAc,GAAY;MACxB,OAAOC,QAAQ,CAAC,IAAI,CAACC,QAAQ,CAAC;IAChC,CAAC;IACDC,IAAI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E,IAAI,CAACA,WAAW;MAC7BmD,KAAK,EAAE,IAAI,CAAClD,OAAO;MACnBqE,EAAE,EAAE;QACFoB,SAAS,EAAGC,CAAa,IAAK;UAC5BA,CAAC,CAACC,cAAc,EAAE;QACpB;MACF;IACF,CAAC,EAAE,CACD,CAAC,IAAI,CAACC,UAAU,GAAG,IAAI,CAAC1D,OAAO,EAAE,GAAG,EAAE,EACtC,GAAG,IAAI,CAACoB,QAAQ,EAAE,CACnB,CAAC;EACJ;AACF,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":["VCalendar","VCalendarDaily","VCalendarWeekly","VCalendarMonthly","VCalendarCategory","$_vuetify_subcomponents"],"sources":["../../../src/components/VCalendar/index.ts"],"sourcesContent":["import VCalendar from './VCalendar'\nimport VCalendarDaily from './VCalendarDaily'\nimport VCalendarWeekly from './VCalendarWeekly'\nimport VCalendarMonthly from './VCalendarMonthly'\nimport VCalendarCategory from './VCalendarCategory'\n\nexport { VCalendar, VCalendarCategory, VCalendarDaily, VCalendarWeekly, VCalendarMonthly }\n\nexport default {\n $_vuetify_subcomponents: {\n VCalendar,\n VCalendarCategory,\n VCalendarDaily,\n VCalendarWeekly,\n VCalendarMonthly,\n },\n}\n"],"mappings":"OAAOA,S;OACAC,c;OACAC,e;OACAC,gB;OACAC,iB;AAEP,SAASJ,SAAT,EAAoBI,iBAApB,EAAuCH,cAAvC,EAAuDC,eAAvD,EAAwEC,gBAAxE;AAEA,eAAe;EACbE,uBAAuB,EAAE;IACvBL,SADuB;IAEvBI,iBAFuB;IAGvBH,cAHuB;IAIvBC,eAJuB;IAKvBC;EALuB;AADZ,CAAf"}
1
+ {"version":3,"file":"index.mjs","names":["VCalendar","VCalendarDaily","VCalendarWeekly","VCalendarMonthly","VCalendarCategory","$_vuetify_subcomponents"],"sources":["../../../src/components/VCalendar/index.ts"],"sourcesContent":["import VCalendar from './VCalendar'\nimport VCalendarDaily from './VCalendarDaily'\nimport VCalendarWeekly from './VCalendarWeekly'\nimport VCalendarMonthly from './VCalendarMonthly'\nimport VCalendarCategory from './VCalendarCategory'\n\nexport { VCalendar, VCalendarCategory, VCalendarDaily, VCalendarWeekly, VCalendarMonthly }\n\nexport default {\n $_vuetify_subcomponents: {\n VCalendar,\n VCalendarCategory,\n VCalendarDaily,\n VCalendarWeekly,\n VCalendarMonthly,\n },\n}\n"],"mappings":"OAAOA,SAAS;AAAA,OACTC,cAAc;AAAA,OACdC,eAAe;AAAA,OACfC,gBAAgB;AAAA,OAChBC,iBAAiB;AAExB,SAASJ,SAAS,EAAEI,iBAAiB,EAAEH,cAAc,EAAEC,eAAe,EAAEC,gBAAgB;AAExF,eAAe;EACbE,uBAAuB,EAAE;IACvBL,SAAS;IACTI,iBAAiB;IACjBH,cAAc;IACdC,eAAe;IACfC;EACF;AACF,CAAC"}
@@ -1,5 +1,4 @@
1
1
  // @ts-nocheck
2
-
3
2
  /* eslint-disable */
4
3
  // Mixins
5
4
  import mixins from "../../../util/mixins.mjs";
@@ -8,14 +7,11 @@ import Localable from "../../../mixins/localable.mjs";
8
7
  import Mouse from "./mouse.mjs";
9
8
  import Themeable from "../../../mixins/themeable.mjs";
10
9
  import Times from "./times.mjs"; // Directives
11
-
12
10
  import Resize from "../../../directives/resize/index.mjs"; // Util
13
-
14
11
  import props from "../util/props.mjs";
15
12
  import { parseTimestamp, getWeekdaySkips, createDayList, createNativeLocaleFormatter, getStartOfWeek, getEndOfWeek, getTimestampIdentifier } from "../util/timestamp.mjs";
16
13
  export default mixins(Colorable, Localable, Mouse, Themeable, Times
17
- /* @vue/component */
18
- ).extend({
14
+ /* @vue/component */).extend({
19
15
  name: 'calendar-base',
20
16
  directives: {
21
17
  Resize
@@ -25,48 +21,39 @@ export default mixins(Colorable, Localable, Mouse, Themeable, Times
25
21
  parsedWeekdays() {
26
22
  return Array.isArray(this.weekdays) ? this.weekdays : (this.weekdays || '').split(',').map(x => parseInt(x, 10));
27
23
  },
28
-
29
24
  weekdaySkips() {
30
25
  return getWeekdaySkips(this.parsedWeekdays);
31
26
  },
32
-
33
27
  weekdaySkipsReverse() {
34
28
  const reversed = this.weekdaySkips.slice();
35
29
  reversed.reverse();
36
30
  return reversed;
37
31
  },
38
-
39
32
  parsedStart() {
40
33
  return parseTimestamp(this.start, true);
41
34
  },
42
-
43
35
  parsedEnd() {
44
36
  const start = this.parsedStart;
45
37
  const end = this.end ? parseTimestamp(this.end) || start : start;
46
38
  return getTimestampIdentifier(end) < getTimestampIdentifier(start) ? start : end;
47
39
  },
48
-
49
40
  days() {
50
41
  return createDayList(this.parsedStart, this.parsedEnd, this.times.today, this.weekdaySkips);
51
42
  },
52
-
53
43
  dayFormatter() {
54
44
  if (this.dayFormat) {
55
45
  return this.dayFormat;
56
46
  }
57
-
58
47
  const options = {
59
48
  timeZone: 'UTC',
60
49
  day: 'numeric'
61
50
  };
62
51
  return createNativeLocaleFormatter(this.currentLocale, (_tms, _short) => options);
63
52
  },
64
-
65
53
  weekdayFormatter() {
66
54
  if (this.weekdayFormat) {
67
55
  return this.weekdayFormat;
68
56
  }
69
-
70
57
  const longOptions = {
71
58
  timeZone: 'UTC',
72
59
  weekday: 'long'
@@ -77,7 +64,6 @@ export default mixins(Colorable, Localable, Mouse, Themeable, Times
77
64
  };
78
65
  return createNativeLocaleFormatter(this.currentLocale, (_tms, short) => short ? shortOptions : longOptions);
79
66
  }
80
-
81
67
  },
82
68
  methods: {
83
69
  getRelativeClasses(timestamp) {
@@ -89,19 +75,15 @@ export default mixins(Colorable, Localable, Mouse, Themeable, Times
89
75
  'v-outside': outside
90
76
  };
91
77
  },
92
-
93
78
  getStartOfWeek(timestamp) {
94
79
  return getStartOfWeek(timestamp, this.parsedWeekdays, this.times.today);
95
80
  },
96
-
97
81
  getEndOfWeek(timestamp) {
98
82
  return getEndOfWeek(timestamp, this.parsedWeekdays, this.times.today);
99
83
  },
100
-
101
84
  getFormatter(options) {
102
85
  return createNativeLocaleFormatter(this.locale, (_tms, _short) => options);
103
86
  }
104
-
105
87
  }
106
88
  });
107
89
  //# sourceMappingURL=calendar-base.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-base.mjs","names":["mixins","Colorable","Localable","Mouse","Themeable","Times","Resize","props","parseTimestamp","getWeekdaySkips","createDayList","createNativeLocaleFormatter","getStartOfWeek","getEndOfWeek","getTimestampIdentifier","extend","name","directives","base","computed","parsedWeekdays","Array","isArray","weekdays","split","map","x","parseInt","weekdaySkips","weekdaySkipsReverse","reversed","slice","reverse","parsedStart","start","parsedEnd","end","days","times","today","dayFormatter","dayFormat","options","timeZone","day","currentLocale","_tms","_short","weekdayFormatter","weekdayFormat","longOptions","weekday","shortOptions","short","methods","getRelativeClasses","timestamp","outside","present","past","future","getFormatter","locale"],"sources":["../../../../src/components/VCalendar/mixins/calendar-base.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\n\n// Mixins\nimport mixins from '../../../util/mixins'\nimport Colorable from '../../../mixins/colorable'\nimport Localable from '../../../mixins/localable'\nimport Mouse from './mouse'\nimport Themeable from '../../../mixins/themeable'\nimport Times from './times'\n\n// Directives\nimport Resize from '../../../directives/resize'\n\n// Util\nimport props from '../util/props'\nimport {\n parseTimestamp,\n getWeekdaySkips,\n createDayList,\n createNativeLocaleFormatter,\n getStartOfWeek,\n getEndOfWeek,\n getTimestampIdentifier,\n} from '../util/timestamp'\nimport { CalendarTimestamp, CalendarFormatter } from 'vuetify/types'\n\nexport default mixins(\n Colorable,\n Localable,\n Mouse,\n Themeable,\n Times\n/* @vue/component */\n).extend({\n name: 'calendar-base',\n\n directives: {\n Resize,\n },\n\n props: props.base,\n\n computed: {\n parsedWeekdays (): number[] {\n return Array.isArray(this.weekdays)\n ? this.weekdays\n : (this.weekdays || '').split(',').map(x => parseInt(x, 10))\n },\n weekdaySkips (): number[] {\n return getWeekdaySkips(this.parsedWeekdays)\n },\n weekdaySkipsReverse (): number [] {\n const reversed = this.weekdaySkips.slice()\n reversed.reverse()\n return reversed\n },\n parsedStart (): CalendarTimestamp {\n return parseTimestamp(this.start, true)\n },\n parsedEnd (): CalendarTimestamp {\n const start = this.parsedStart\n const end: CalendarTimestamp = this.end ? parseTimestamp(this.end) || start : start\n\n return getTimestampIdentifier(end) < getTimestampIdentifier(start) ? start : end\n },\n days (): CalendarTimestamp[] {\n return createDayList(\n this.parsedStart,\n this.parsedEnd,\n this.times.today,\n this.weekdaySkips\n )\n },\n dayFormatter (): CalendarFormatter {\n if (this.dayFormat) {\n return this.dayFormat as CalendarFormatter\n }\n\n const options = { timeZone: 'UTC', day: 'numeric' }\n\n return createNativeLocaleFormatter(\n this.currentLocale,\n (_tms, _short) => options\n )\n },\n weekdayFormatter (): CalendarFormatter {\n if (this.weekdayFormat) {\n return this.weekdayFormat as CalendarFormatter\n }\n\n const longOptions = { timeZone: 'UTC', weekday: 'long' }\n const shortOptions = { timeZone: 'UTC', weekday: 'short' }\n\n return createNativeLocaleFormatter(\n this.currentLocale,\n (_tms, short) => short ? shortOptions : longOptions\n )\n },\n },\n\n methods: {\n getRelativeClasses (timestamp: CalendarTimestamp, outside = false): object {\n return {\n 'v-present': timestamp.present,\n 'v-past': timestamp.past,\n 'v-future': timestamp.future,\n 'v-outside': outside,\n }\n },\n getStartOfWeek (timestamp: CalendarTimestamp): CalendarTimestamp {\n return getStartOfWeek(timestamp, this.parsedWeekdays, this.times.today)\n },\n getEndOfWeek (timestamp: CalendarTimestamp): CalendarTimestamp {\n return getEndOfWeek(timestamp, this.parsedWeekdays, this.times.today)\n },\n getFormatter (options: object): CalendarFormatter {\n return createNativeLocaleFormatter(\n this.locale,\n (_tms, _short) => options\n )\n },\n },\n})\n"],"mappings":"AAAA;;AACA;AAGA;OACOA,M;OACAC,S;OACAC,S;OACAC,K;OACAC,S;OACAC,K,qBAEP;;OACOC,M,8CAEP;;OACOC,K;SAELC,c,EACAC,e,EACAC,a,EACAC,2B,EACAC,c,EACAC,Y,EACAC,sB;AAIF,eAAed,MAAM,CACnBC,SADmB,EAE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,EAAsC;MAChD,OAAO/B,2BAA2B,CAChC,KAAKmD,MAD2B,EAEhC,CAAChB,IAAD,EAAOC,MAAP,KAAkBL,OAFc,CAAlC;IAID;;EApBM;AAnEF,CAPM,CAAf"}
1
+ {"version":3,"file":"calendar-base.mjs","names":["mixins","Colorable","Localable","Mouse","Themeable","Times","Resize","props","parseTimestamp","getWeekdaySkips","createDayList","createNativeLocaleFormatter","getStartOfWeek","getEndOfWeek","getTimestampIdentifier","extend","name","directives","base","computed","parsedWeekdays","Array","isArray","weekdays","split","map","x","parseInt","weekdaySkips","weekdaySkipsReverse","reversed","slice","reverse","parsedStart","start","parsedEnd","end","days","times","today","dayFormatter","dayFormat","options","timeZone","day","currentLocale","_tms","_short","weekdayFormatter","weekdayFormat","longOptions","weekday","shortOptions","short","methods","getRelativeClasses","timestamp","outside","present","past","future","getFormatter","locale"],"sources":["../../../../src/components/VCalendar/mixins/calendar-base.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\n\n// Mixins\nimport mixins from '../../../util/mixins'\nimport Colorable from '../../../mixins/colorable'\nimport Localable from '../../../mixins/localable'\nimport Mouse from './mouse'\nimport Themeable from '../../../mixins/themeable'\nimport Times from './times'\n\n// Directives\nimport Resize from '../../../directives/resize'\n\n// Util\nimport props from '../util/props'\nimport {\n parseTimestamp,\n getWeekdaySkips,\n createDayList,\n createNativeLocaleFormatter,\n getStartOfWeek,\n getEndOfWeek,\n getTimestampIdentifier,\n} from '../util/timestamp'\nimport { CalendarTimestamp, CalendarFormatter } from 'vuetify/types'\n\nexport default mixins(\n Colorable,\n Localable,\n Mouse,\n Themeable,\n Times\n/* @vue/component */\n).extend({\n name: 'calendar-base',\n\n directives: {\n Resize,\n },\n\n props: props.base,\n\n computed: {\n parsedWeekdays (): number[] {\n return Array.isArray(this.weekdays)\n ? this.weekdays\n : (this.weekdays || '').split(',').map(x => parseInt(x, 10))\n },\n weekdaySkips (): number[] {\n return getWeekdaySkips(this.parsedWeekdays)\n },\n weekdaySkipsReverse (): number [] {\n const reversed = this.weekdaySkips.slice()\n reversed.reverse()\n return reversed\n },\n parsedStart (): CalendarTimestamp {\n return parseTimestamp(this.start, true)\n },\n parsedEnd (): CalendarTimestamp {\n const start = this.parsedStart\n const end: CalendarTimestamp = this.end ? parseTimestamp(this.end) || start : start\n\n return getTimestampIdentifier(end) < getTimestampIdentifier(start) ? start : end\n },\n days (): CalendarTimestamp[] {\n return createDayList(\n this.parsedStart,\n this.parsedEnd,\n this.times.today,\n this.weekdaySkips\n )\n },\n dayFormatter (): CalendarFormatter {\n if (this.dayFormat) {\n return this.dayFormat as CalendarFormatter\n }\n\n const options = { timeZone: 'UTC', day: 'numeric' }\n\n return createNativeLocaleFormatter(\n this.currentLocale,\n (_tms, _short) => options\n )\n },\n weekdayFormatter (): CalendarFormatter {\n if (this.weekdayFormat) {\n return this.weekdayFormat as CalendarFormatter\n }\n\n const longOptions = { timeZone: 'UTC', weekday: 'long' }\n const shortOptions = { timeZone: 'UTC', weekday: 'short' }\n\n return createNativeLocaleFormatter(\n this.currentLocale,\n (_tms, short) => short ? shortOptions : longOptions\n )\n },\n },\n\n methods: {\n getRelativeClasses (timestamp: CalendarTimestamp, outside = false): object {\n return {\n 'v-present': timestamp.present,\n 'v-past': timestamp.past,\n 'v-future': timestamp.future,\n 'v-outside': outside,\n }\n },\n getStartOfWeek (timestamp: CalendarTimestamp): CalendarTimestamp {\n return getStartOfWeek(timestamp, this.parsedWeekdays, this.times.today)\n },\n getEndOfWeek (timestamp: CalendarTimestamp): CalendarTimestamp {\n return getEndOfWeek(timestamp, this.parsedWeekdays, this.times.today)\n },\n getFormatter (options: object): CalendarFormatter {\n return createNativeLocaleFormatter(\n this.locale,\n (_tms, _short) => options\n )\n },\n },\n})\n"],"mappings":"AAAA;AACA;AAGA;AAAA,OACOA,MAAM;AAAA,OACNC,SAAS;AAAA,OACTC,SAAS;AAAA,OACTC,KAAK;AAAA,OACLC,SAAS;AAAA,OACTC,KAAK,qBAEZ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AACpC,cAAc,EAAE,IAAI,CAACkB,KAAK,CAACC,KAAK,CAAC;IACzE,CAAC;IACD1B,YAAY,CAAE2C,SAA4B,EAAqB;MAC7D,OAAO3C,YAAY,CAAC2C,SAAS,EAAE,IAAI,CAACpC,cAAc,EAAE,IAAI,CAACkB,KAAK,CAACC,KAAK,CAAC;IACvE,CAAC;IACDsB,YAAY,CAAEnB,OAAe,EAAqB;MAChD,OAAO/B,2BAA2B,CAChC,IAAI,CAACmD,MAAM,EACX,CAAChB,IAAI,EAAEC,MAAM,KAAKL,OAAO,CAC1B;IACH;EACF;AACF,CAAC,CAAC"}
@@ -1,16 +1,14 @@
1
1
  // @ts-nocheck
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // Styles
5
- import "./calendar-with-events.css"; // Types
5
+ import "./calendar-with-events.css";
6
6
 
7
+ // Types
7
8
  // Directives
8
9
  import ripple from "../../../directives/ripple/index.mjs"; // Mixins
9
-
10
10
  import CalendarBase from "./calendar-base.mjs"; // Helpers
11
-
12
11
  import { escapeHTML } from "../../../util/helpers.mjs"; // Util
13
-
14
12
  import props from "../util/props.mjs";
15
13
  import { CalendarEventOverlapModes } from "../modes/index.mjs";
16
14
  import { getDayIdentifier, diffMinutes } from "../util/timestamp.mjs";
@@ -18,14 +16,15 @@ import { parseEvent, isEventStart, isEventOn, isEventOverlapping, isEventHiddenO
18
16
  const WIDTH_FULL = 100;
19
17
  const WIDTH_START = 95;
20
18
  const MINUTES_IN_DAY = 1440;
21
- /* @vue/component */
22
19
 
20
+ /* @vue/component */
23
21
  export default CalendarBase.extend({
24
22
  name: 'calendar-with-events',
25
23
  directives: {
26
24
  ripple
27
25
  },
28
- props: { ...props.events,
26
+ props: {
27
+ ...props.events,
29
28
  ...props.calendar,
30
29
  ...props.category
31
30
  },
@@ -33,54 +32,42 @@ export default CalendarBase.extend({
33
32
  noEvents() {
34
33
  return this.events.length === 0;
35
34
  },
36
-
37
35
  parsedEvents() {
38
36
  return this.events.map(this.parseEvent);
39
37
  },
40
-
41
38
  parsedEventOverlapThreshold() {
42
39
  return parseInt(this.eventOverlapThreshold);
43
40
  },
44
-
45
41
  eventTimedFunction() {
46
42
  return typeof this.eventTimed === 'function' ? this.eventTimed : event => !!event[this.eventTimed];
47
43
  },
48
-
49
44
  eventCategoryFunction() {
50
45
  return typeof this.eventCategory === 'function' ? this.eventCategory : event => event[this.eventCategory];
51
46
  },
52
-
53
47
  eventTextColorFunction() {
54
48
  return typeof this.eventTextColor === 'function' ? this.eventTextColor : () => this.eventTextColor;
55
49
  },
56
-
57
50
  eventNameFunction() {
58
51
  return typeof this.eventName === 'function' ? this.eventName : (event, timedEvent) => escapeHTML(event.input[this.eventName] || '');
59
52
  },
60
-
61
53
  eventModeFunction() {
62
54
  return typeof this.eventOverlapMode === 'function' ? this.eventOverlapMode : CalendarEventOverlapModes[this.eventOverlapMode];
63
55
  },
64
-
65
56
  eventWeekdays() {
66
57
  return this.parsedWeekdays;
67
58
  },
68
-
69
59
  categoryMode() {
70
60
  return this.type === 'category';
71
61
  }
72
-
73
62
  },
74
63
  methods: {
75
64
  eventColorFunction(e) {
76
65
  return typeof this.eventColor === 'function' ? this.eventColor(e) : e.color || this.eventColor;
77
66
  },
78
-
79
67
  parseEvent(input) {
80
68
  let index = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
81
69
  return parseEvent(input, index, this.eventStart, this.eventEnd, this.eventTimedFunction(input), this.categoryMode ? this.eventCategoryFunction(input) : false);
82
70
  },
83
-
84
71
  formatTime(withTime, ampm) {
85
72
  const formatter = this.getFormatter({
86
73
  timeZone: 'UTC',
@@ -89,26 +76,21 @@ export default CalendarBase.extend({
89
76
  });
90
77
  return formatter(withTime, true);
91
78
  },
92
-
93
79
  updateEventVisibility() {
94
80
  if (this.noEvents || !this.eventMore) {
95
81
  return;
96
82
  }
97
-
98
83
  const eventHeight = this.eventHeight;
99
84
  const eventsMap = this.getEventsMap();
100
-
101
85
  for (const date in eventsMap) {
102
86
  const {
103
87
  parent,
104
88
  events,
105
89
  more
106
90
  } = eventsMap[date];
107
-
108
91
  if (!more) {
109
92
  break;
110
93
  }
111
-
112
94
  const parentBounds = parent.getBoundingClientRect();
113
95
  const last = events.length - 1;
114
96
  const eventsSorted = events.map(event => ({
@@ -116,17 +98,14 @@ export default CalendarBase.extend({
116
98
  bottom: event.getBoundingClientRect().bottom
117
99
  })).sort((a, b) => a.bottom - b.bottom);
118
100
  let hidden = 0;
119
-
120
101
  for (let i = 0; i <= last; i++) {
121
102
  const bottom = eventsSorted[i].bottom;
122
103
  const hide = i === last ? bottom > parentBounds.bottom : bottom + eventHeight > parentBounds.bottom;
123
-
124
104
  if (hide) {
125
105
  eventsSorted[i].event.style.display = 'none';
126
106
  hidden++;
127
107
  }
128
108
  }
129
-
130
109
  if (hidden) {
131
110
  more.style.display = '';
132
111
  more.innerHTML = this.$vuetify.lang.t(this.eventMoreText, hidden);
@@ -135,18 +114,14 @@ export default CalendarBase.extend({
135
114
  }
136
115
  }
137
116
  },
138
-
139
117
  getEventsMap() {
140
118
  const eventsMap = {};
141
119
  const elements = this.$refs.events;
142
-
143
120
  if (!elements || !elements.forEach) {
144
121
  return eventsMap;
145
122
  }
146
-
147
123
  elements.forEach(el => {
148
124
  const date = el.getAttribute('data-date');
149
-
150
125
  if (el.parentElement && date) {
151
126
  if (!(date in eventsMap)) {
152
127
  eventsMap[date] = {
@@ -155,7 +130,6 @@ export default CalendarBase.extend({
155
130
  events: []
156
131
  };
157
132
  }
158
-
159
133
  if (el.getAttribute('data-more')) {
160
134
  eventsMap[date].more = el;
161
135
  } else {
@@ -166,7 +140,6 @@ export default CalendarBase.extend({
166
140
  });
167
141
  return eventsMap;
168
142
  },
169
-
170
143
  genDayEvent(_ref, day) {
171
144
  let {
172
145
  event
@@ -178,11 +151,9 @@ export default CalendarBase.extend({
178
151
  const start = dayIdentifier === event.startIdentifier;
179
152
  let end = dayIdentifier === event.endIdentifier;
180
153
  let width = WIDTH_START;
181
-
182
154
  if (!this.categoryMode) {
183
155
  for (let i = day.index + 1; i < week.length; i++) {
184
156
  const weekdayIdentifier = getDayIdentifier(week[i]);
185
-
186
157
  if (event.endIdentifier >= weekdayIdentifier) {
187
158
  width += WIDTH_FULL;
188
159
  end = end || weekdayIdentifier === event.endIdentifier;
@@ -192,7 +163,6 @@ export default CalendarBase.extend({
192
163
  }
193
164
  }
194
165
  }
195
-
196
166
  const scope = {
197
167
  eventParsed: event,
198
168
  day,
@@ -219,18 +189,15 @@ export default CalendarBase.extend({
219
189
  refInFor: true
220
190
  });
221
191
  },
222
-
223
192
  genTimedEvent(_ref2, day) {
224
193
  let {
225
194
  event,
226
195
  left,
227
196
  width
228
197
  } = _ref2;
229
-
230
198
  if (day.timeDelta(event.end) < 0 || day.timeDelta(event.start) >= 1 || isEventHiddenOn(event, day)) {
231
199
  return false;
232
200
  }
233
-
234
201
  const dayIdentifier = getDayIdentifier(day);
235
202
  const start = event.startIdentifier >= dayIdentifier;
236
203
  const end = event.endIdentifier > dayIdentifier;
@@ -254,25 +221,18 @@ export default CalendarBase.extend({
254
221
  }
255
222
  });
256
223
  },
257
-
258
224
  genEvent(event, scopeInput, timedEvent, data) {
259
- var _this$eventRipple;
260
-
261
225
  const slot = this.$scopedSlots.event;
262
226
  const text = this.eventTextColorFunction(event.input);
263
227
  const background = this.eventColorFunction(event.input);
264
228
  const overlapsNoon = event.start.hour < 12 && event.end.hour >= 12;
265
229
  const singline = diffMinutes(event.start, event.end) <= this.parsedEventOverlapThreshold;
266
230
  const formatTime = this.formatTime;
267
-
268
231
  const timeSummary = () => formatTime(event.start, overlapsNoon) + ' - ' + formatTime(event.end, true);
269
-
270
232
  const eventSummary = () => {
271
233
  const name = this.eventNameFunction(event, timedEvent);
272
-
273
234
  if (event.start.hasTime) {
274
235
  const eventSummaryClass = 'v-event-summary';
275
-
276
236
  if (timedEvent) {
277
237
  const time = timeSummary();
278
238
  const delimiter = singline ? ', ' : '<br>';
@@ -282,11 +242,10 @@ export default CalendarBase.extend({
282
242
  return `<span class="${eventSummaryClass}"><strong>${time}</strong> ${name}</span>`;
283
243
  }
284
244
  }
285
-
286
245
  return name;
287
246
  };
288
-
289
- const scope = { ...scopeInput,
247
+ const scope = {
248
+ ...scopeInput,
290
249
  event: event.input,
291
250
  outside: scopeInput.day.outside,
292
251
  singline,
@@ -296,17 +255,17 @@ export default CalendarBase.extend({
296
255
  eventSummary
297
256
  };
298
257
  return this.$createElement('div', this.setTextColor(text, this.setBackgroundColor(background, {
299
- on: this.getDefaultMouseEventHandlers(':event', nativeEvent => ({ ...scope,
258
+ on: this.getDefaultMouseEventHandlers(':event', nativeEvent => ({
259
+ ...scope,
300
260
  nativeEvent
301
261
  })),
302
262
  directives: [{
303
263
  name: 'ripple',
304
- value: (_this$eventRipple = this.eventRipple) != null ? _this$eventRipple : true
264
+ value: this.eventRipple ?? true
305
265
  }],
306
266
  ...data
307
267
  })), slot ? slot(scope) : [this.genName(eventSummary)]);
308
268
  },
309
-
310
269
  genName(eventSummary) {
311
270
  return this.$createElement('div', {
312
271
  staticClass: 'pl-1',
@@ -315,7 +274,6 @@ export default CalendarBase.extend({
315
274
  }
316
275
  });
317
276
  },
318
-
319
277
  genPlaceholder(day) {
320
278
  const height = this.eventHeight + this.eventMarginBottom;
321
279
  return this.$createElement('div', {
@@ -329,10 +287,7 @@ export default CalendarBase.extend({
329
287
  refInFor: true
330
288
  });
331
289
  },
332
-
333
290
  genMore(day) {
334
- var _this$eventRipple2;
335
-
336
291
  const eventHeight = this.eventHeight;
337
292
  const eventMarginBottom = this.eventMarginBottom;
338
293
  return this.$createElement('div', {
@@ -346,7 +301,7 @@ export default CalendarBase.extend({
346
301
  },
347
302
  directives: [{
348
303
  name: 'ripple',
349
- value: (_this$eventRipple2 = this.eventRipple) != null ? _this$eventRipple2 : true
304
+ value: this.eventRipple ?? true
350
305
  }],
351
306
  on: {
352
307
  click: e => this.$emit('click:more', day, e)
@@ -360,100 +315,81 @@ export default CalendarBase.extend({
360
315
  refInFor: true
361
316
  });
362
317
  },
363
-
364
318
  getVisibleEvents() {
365
319
  const start = getDayIdentifier(this.days[0]);
366
320
  const end = getDayIdentifier(this.days[this.days.length - 1]);
367
321
  return this.parsedEvents.filter(event => isEventOverlapping(event, start, end));
368
322
  },
369
-
370
323
  isEventForCategory(event, category) {
371
324
  return !this.categoryMode || typeof category === 'object' && category.categoryName && category.categoryName === event.category || typeof event.category === 'string' && category === event.category || typeof event.category !== 'string' && category === null;
372
325
  },
373
-
374
326
  getEventsForDay(day) {
375
327
  const identifier = getDayIdentifier(day);
376
328
  const firstWeekday = this.eventWeekdays[0];
377
329
  return this.parsedEvents.filter(event => isEventStart(event, day, identifier, firstWeekday));
378
330
  },
379
-
380
331
  getEventsForDayAll(day) {
381
332
  const identifier = getDayIdentifier(day);
382
333
  const firstWeekday = this.eventWeekdays[0];
383
334
  return this.parsedEvents.filter(event => event.allDay && (this.categoryMode ? isEventOn(event, identifier) : isEventStart(event, day, identifier, firstWeekday)) && this.isEventForCategory(event, day.category));
384
335
  },
385
-
386
336
  getEventsForDayTimed(day) {
387
337
  const identifier = getDayIdentifier(day);
388
338
  return this.parsedEvents.filter(event => !event.allDay && isEventOn(event, identifier) && this.isEventForCategory(event, day.category));
389
339
  },
390
-
391
340
  getScopedSlots() {
392
341
  if (this.noEvents) {
393
- return { ...this.$scopedSlots
342
+ return {
343
+ ...this.$scopedSlots
394
344
  };
395
345
  }
396
-
397
346
  const mode = this.eventModeFunction(this.parsedEvents, this.eventWeekdays[0], this.parsedEventOverlapThreshold);
398
-
399
347
  const isNode = input => !!input;
400
-
401
348
  const getSlotChildren = (day, getter, mapper, timed) => {
402
349
  const events = getter(day);
403
350
  const visuals = mode(day, events, timed, this.categoryMode);
404
-
405
351
  if (timed) {
406
352
  return visuals.map(visual => mapper(visual, day)).filter(isNode);
407
353
  }
408
-
409
354
  const children = [];
410
355
  visuals.forEach((visual, index) => {
411
356
  while (children.length < visual.column) {
412
357
  children.push(this.genPlaceholder(day));
413
358
  }
414
-
415
359
  const mapped = mapper(visual, day);
416
-
417
360
  if (mapped) {
418
361
  children.push(mapped);
419
362
  }
420
363
  });
421
364
  return children;
422
365
  };
423
-
424
366
  const slots = this.$scopedSlots;
425
367
  const slotDay = slots.day;
426
368
  const slotDayHeader = slots['day-header'];
427
369
  const slotDayBody = slots['day-body'];
428
- return { ...slots,
370
+ return {
371
+ ...slots,
429
372
  day: day => {
430
373
  let children = getSlotChildren(day, this.getEventsForDay, this.genDayEvent, false);
431
-
432
374
  if (children && children.length > 0 && this.eventMore) {
433
375
  children.push(this.genMore(day));
434
376
  }
435
-
436
377
  if (slotDay) {
437
378
  const slot = slotDay(day);
438
-
439
379
  if (slot) {
440
380
  children = children ? children.concat(slot) : slot;
441
381
  }
442
382
  }
443
-
444
383
  return children;
445
384
  },
446
385
  'day-header': day => {
447
386
  let children = getSlotChildren(day, this.getEventsForDayAll, this.genDayEvent, false);
448
-
449
387
  if (slotDayHeader) {
450
388
  const slot = slotDayHeader(day);
451
-
452
389
  if (slot) {
453
390
  children = children ? children.concat(slot) : slot;
454
391
  }
455
392
  }
456
-
457
393
  return children;
458
394
  },
459
395
  'day-body': day => {
@@ -461,20 +397,16 @@ export default CalendarBase.extend({
461
397
  let children = [this.$createElement('div', {
462
398
  staticClass: 'v-event-timed-container'
463
399
  }, events)];
464
-
465
400
  if (slotDayBody) {
466
401
  const slot = slotDayBody(day);
467
-
468
402
  if (slot) {
469
403
  children = children.concat(slot);
470
404
  }
471
405
  }
472
-
473
406
  return children;
474
407
  }
475
408
  };
476
409
  }
477
-
478
410
  }
479
411
  });
480
412
  //# sourceMappingURL=calendar-with-events.mjs.map