@vuetify/nightly 3.0.0-alpha.3 → 3.0.0-beta.10

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 (1295) hide show
  1. package/CHANGELOG.md +2 -110
  2. package/_settings.scss +2 -0
  3. package/_styles.scss +1 -0
  4. package/_tools.scss +1 -0
  5. package/dist/_component-variables.sass +61 -0
  6. package/dist/json/attributes.json +5594 -0
  7. package/dist/json/importMap.json +541 -0
  8. package/dist/json/tags.json +1943 -0
  9. package/dist/json/web-types.json +18992 -0
  10. package/dist/vuetify.css +14443 -11685
  11. package/dist/vuetify.d.ts +15310 -0
  12. package/dist/vuetify.esm.js +18770 -0
  13. package/dist/vuetify.esm.js.map +1 -0
  14. package/dist/vuetify.js +18102 -9395
  15. package/dist/vuetify.js.map +1 -1
  16. package/dist/vuetify.min.css +6 -3
  17. package/dist/vuetify.min.js +1510 -5252
  18. package/dist/vuetify.min.js.map +1 -1
  19. package/lib/blueprints/index.mjs +4 -0
  20. package/lib/blueprints/index.mjs.map +1 -0
  21. package/lib/blueprints/md1.mjs +63 -0
  22. package/lib/blueprints/md1.mjs.map +1 -0
  23. package/lib/blueprints/md2.mjs +60 -0
  24. package/lib/blueprints/md2.mjs.map +1 -0
  25. package/lib/blueprints/md3.mjs +74 -0
  26. package/lib/blueprints/md3.mjs.map +1 -0
  27. package/lib/components/VAlert/VAlert.css +210 -0
  28. package/lib/components/VAlert/VAlert.mjs +174 -208
  29. package/lib/components/VAlert/VAlert.mjs.map +1 -1
  30. package/lib/components/VAlert/VAlert.sass +102 -160
  31. package/lib/components/VAlert/VAlertTitle.mjs +4 -0
  32. package/lib/components/VAlert/VAlertTitle.mjs.map +1 -0
  33. package/lib/components/VAlert/_variables.scss +50 -14
  34. package/lib/components/VAlert/index.mjs +2 -3
  35. package/lib/components/VAlert/index.mjs.map +1 -1
  36. package/lib/components/VApp/VApp.css +15 -0
  37. package/lib/components/VApp/VApp.mjs +37 -24
  38. package/lib/components/VApp/VApp.mjs.map +1 -1
  39. package/lib/components/VApp/VApp.sass +10 -23
  40. package/lib/components/VApp/index.mjs +1 -1
  41. package/lib/components/VApp/index.mjs.map +1 -1
  42. package/lib/components/VApp/variables.scss +6 -0
  43. package/lib/components/VAppBar/VAppBar.css +10 -0
  44. package/lib/components/VAppBar/VAppBar.mjs +64 -227
  45. package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
  46. package/lib/components/VAppBar/VAppBar.sass +7 -54
  47. package/lib/components/VAppBar/VAppBarNavIcon.mjs +21 -25
  48. package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
  49. package/lib/components/VAppBar/VAppBarTitle.mjs +16 -60
  50. package/lib/components/VAppBar/VAppBarTitle.mjs.map +1 -1
  51. package/lib/components/VAppBar/_variables.scss +41 -4
  52. package/lib/components/VAppBar/index.mjs +3 -11
  53. package/lib/components/VAppBar/index.mjs.map +1 -1
  54. package/lib/components/VAutocomplete/VAutocomplete.css +67 -0
  55. package/lib/components/VAutocomplete/VAutocomplete.mjs +263 -356
  56. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  57. package/lib/components/VAutocomplete/VAutocomplete.sass +77 -33
  58. package/lib/components/VAutocomplete/_variables.scss +8 -4
  59. package/lib/components/VAutocomplete/index.mjs +1 -3
  60. package/lib/components/VAutocomplete/index.mjs.map +1 -1
  61. package/lib/components/VAvatar/VAvatar.css +46 -0
  62. package/lib/components/VAvatar/VAvatar.mjs +51 -28
  63. package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
  64. package/lib/components/VAvatar/VAvatar.sass +12 -13
  65. package/lib/components/VAvatar/_mixins.scss +31 -0
  66. package/lib/components/VAvatar/_variables.scss +19 -8
  67. package/lib/components/VAvatar/index.mjs +1 -1
  68. package/lib/components/VAvatar/index.mjs.map +1 -1
  69. package/lib/components/VBadge/VBadge.css +71 -0
  70. package/lib/components/VBadge/VBadge.mjs +52 -65
  71. package/lib/components/VBadge/VBadge.mjs.map +1 -1
  72. package/lib/components/VBadge/VBadge.sass +5 -8
  73. package/lib/components/VBadge/_variables.scss +13 -6
  74. package/lib/components/VBadge/index.mjs +1 -1
  75. package/lib/components/VBadge/index.mjs.map +1 -1
  76. package/lib/components/VBanner/VBanner.css +157 -0
  77. package/lib/components/VBanner/VBanner.mjs +89 -48
  78. package/lib/components/VBanner/VBanner.mjs.map +1 -1
  79. package/lib/components/VBanner/VBanner.sass +77 -121
  80. package/lib/components/VBanner/VBannerActions.mjs +35 -0
  81. package/lib/components/VBanner/VBannerActions.mjs.map +1 -0
  82. package/lib/components/VBanner/VBannerText.mjs +3 -0
  83. package/lib/components/VBanner/VBannerText.mjs.map +1 -0
  84. package/lib/components/VBanner/_variables.scss +37 -45
  85. package/lib/components/VBanner/index.mjs +3 -1
  86. package/lib/components/VBanner/index.mjs.map +1 -1
  87. package/lib/components/VBottomNavigation/VBottomNavigation.css +54 -0
  88. package/lib/components/VBottomNavigation/VBottomNavigation.mjs +105 -111
  89. package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
  90. package/lib/components/VBottomNavigation/VBottomNavigation.sass +48 -82
  91. package/lib/components/VBottomNavigation/_variables.scss +41 -6
  92. package/lib/components/VBottomNavigation/index.mjs +1 -3
  93. package/lib/components/VBottomNavigation/index.mjs.map +1 -1
  94. package/lib/components/VBottomSheet/VBottomSheet.mjs +1 -1
  95. package/lib/components/VBottomSheet/VBottomSheet.mjs.map +1 -1
  96. package/lib/components/VBottomSheet/index.mjs.map +1 -1
  97. package/lib/components/VBreadcrumbs/VBreadcrumbs.css +55 -0
  98. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +93 -51
  99. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
  100. package/lib/components/VBreadcrumbs/VBreadcrumbs.sass +30 -30
  101. package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs +2 -5
  102. package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs.map +1 -1
  103. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +53 -35
  104. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
  105. package/lib/components/VBreadcrumbs/_variables.scss +16 -7
  106. package/lib/components/VBreadcrumbs/index.mjs +3 -11
  107. package/lib/components/VBreadcrumbs/index.mjs.map +1 -1
  108. package/lib/components/VBtn/VBtn.css +408 -0
  109. package/lib/components/VBtn/VBtn.mjs +158 -70
  110. package/lib/components/VBtn/VBtn.mjs.map +1 -1
  111. package/lib/components/VBtn/VBtn.sass +199 -42
  112. package/lib/components/VBtn/_mixins.scss +31 -7
  113. package/lib/components/VBtn/_variables.scss +73 -30
  114. package/lib/components/VBtn/index.mjs +1 -1
  115. package/lib/components/VBtn/index.mjs.map +1 -1
  116. package/lib/components/VBtnGroup/VBtnGroup.css +58 -0
  117. package/lib/components/VBtnGroup/VBtnGroup.mjs +67 -0
  118. package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -0
  119. package/lib/components/VBtnGroup/VBtnGroup.sass +51 -0
  120. package/lib/components/VBtnGroup/_variables.scss +27 -0
  121. package/lib/components/VBtnGroup/index.mjs +2 -0
  122. package/lib/components/VBtnGroup/index.mjs.map +1 -0
  123. package/lib/components/VBtnToggle/VBtnToggle.css +3 -0
  124. package/lib/components/VBtnToggle/VBtnToggle.mjs +45 -39
  125. package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
  126. package/lib/components/VBtnToggle/VBtnToggle.sass +4 -95
  127. package/lib/components/VBtnToggle/_variables.scss +4 -10
  128. package/lib/components/VBtnToggle/index.mjs +1 -3
  129. package/lib/components/VBtnToggle/index.mjs.map +1 -1
  130. package/lib/components/VCalendar/VCalendar.mjs +15 -6
  131. package/lib/components/VCalendar/VCalendar.mjs.map +1 -1
  132. package/lib/components/VCalendar/VCalendarCategory.mjs +5 -4
  133. package/lib/components/VCalendar/VCalendarCategory.mjs.map +1 -1
  134. package/lib/components/VCalendar/VCalendarCategory.sass +67 -0
  135. package/lib/components/VCalendar/VCalendarDaily.mjs +1 -1
  136. package/lib/components/VCalendar/VCalendarDaily.mjs.map +1 -1
  137. package/lib/components/VCalendar/VCalendarMonthly.mjs +1 -1
  138. package/lib/components/VCalendar/VCalendarMonthly.mjs.map +1 -1
  139. package/lib/components/VCalendar/VCalendarWeekly.mjs +1 -1
  140. package/lib/components/VCalendar/VCalendarWeekly.mjs.map +1 -1
  141. package/lib/components/VCalendar/_variables.scss +4 -0
  142. package/lib/components/VCalendar/index.mjs.map +1 -1
  143. package/lib/components/VCalendar/mixins/calendar-base.mjs +5 -4
  144. package/lib/components/VCalendar/mixins/calendar-base.mjs.map +1 -1
  145. package/lib/components/VCalendar/mixins/calendar-with-events.mjs +42 -39
  146. package/lib/components/VCalendar/mixins/calendar-with-events.mjs.map +1 -1
  147. package/lib/components/VCalendar/mixins/calendar-with-events.sass +7 -1
  148. package/lib/components/VCalendar/mixins/calendar-with-intervals.mjs +2 -1
  149. package/lib/components/VCalendar/mixins/calendar-with-intervals.mjs.map +1 -1
  150. package/lib/components/VCalendar/mixins/mouse.mjs +20 -1
  151. package/lib/components/VCalendar/mixins/mouse.mjs.map +1 -1
  152. package/lib/components/VCalendar/mixins/times.mjs.map +1 -1
  153. package/lib/components/VCalendar/modes/column.mjs.map +1 -1
  154. package/lib/components/VCalendar/modes/common.mjs +7 -3
  155. package/lib/components/VCalendar/modes/common.mjs.map +1 -1
  156. package/lib/components/VCalendar/modes/index.mjs.map +1 -1
  157. package/lib/components/VCalendar/modes/stack.mjs +2 -1
  158. package/lib/components/VCalendar/modes/stack.mjs.map +1 -1
  159. package/lib/components/VCalendar/util/events.mjs +8 -3
  160. package/lib/components/VCalendar/util/events.mjs.map +1 -1
  161. package/lib/components/VCalendar/util/parser.mjs +1 -3
  162. package/lib/components/VCalendar/util/parser.mjs.map +1 -1
  163. package/lib/components/VCalendar/util/props.mjs.map +1 -1
  164. package/lib/components/VCalendar/util/timestamp.mjs +24 -12
  165. package/lib/components/VCalendar/util/timestamp.mjs.map +1 -1
  166. package/lib/components/VCard/VCard.css +287 -0
  167. package/lib/components/VCard/VCard.mjs +159 -65
  168. package/lib/components/VCard/VCard.mjs.map +1 -1
  169. package/lib/components/VCard/VCard.sass +158 -118
  170. package/lib/components/VCard/VCardActions.mjs +29 -0
  171. package/lib/components/VCard/VCardActions.mjs.map +1 -0
  172. package/lib/components/VCard/VCardItem.mjs +88 -0
  173. package/lib/components/VCard/VCardItem.mjs.map +1 -0
  174. package/lib/components/VCard/VCardSubtitle.mjs +3 -0
  175. package/lib/components/VCard/VCardSubtitle.mjs.map +1 -0
  176. package/lib/components/VCard/VCardText.mjs +3 -0
  177. package/lib/components/VCard/VCardText.mjs.map +1 -0
  178. package/lib/components/VCard/VCardTitle.mjs +3 -0
  179. package/lib/components/VCard/VCardTitle.mjs.map +1 -0
  180. package/lib/components/VCard/_mixins.scss +13 -0
  181. package/lib/components/VCard/_variables.scss +122 -26
  182. package/lib/components/VCard/index.mjs +6 -16
  183. package/lib/components/VCard/index.mjs.map +1 -1
  184. package/lib/components/VCarousel/VCarousel.css +63 -0
  185. package/lib/components/VCarousel/VCarousel.mjs +102 -186
  186. package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
  187. package/lib/components/VCarousel/VCarousel.sass +6 -2
  188. package/lib/components/VCarousel/VCarouselItem.mjs +22 -42
  189. package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
  190. package/lib/components/VCarousel/_variables.scss +2 -3
  191. package/lib/components/VCarousel/index.mjs +2 -9
  192. package/lib/components/VCarousel/index.mjs.map +1 -1
  193. package/lib/components/VCheckbox/VCheckbox.css +3 -0
  194. package/lib/components/VCheckbox/VCheckbox.mjs +44 -103
  195. package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
  196. package/lib/components/VCheckbox/VCheckbox.sass +7 -8
  197. package/lib/components/VCheckbox/VCheckboxBtn.mjs +67 -0
  198. package/lib/components/VCheckbox/VCheckboxBtn.mjs.map +1 -0
  199. package/lib/components/VCheckbox/_variables.scss +2 -4
  200. package/lib/components/VCheckbox/index.mjs +2 -9
  201. package/lib/components/VCheckbox/index.mjs.map +1 -1
  202. package/lib/components/VChip/VChip.css +352 -0
  203. package/lib/components/VChip/VChip.mjs +193 -143
  204. package/lib/components/VChip/VChip.mjs.map +1 -1
  205. package/lib/components/VChip/VChip.sass +44 -175
  206. package/lib/components/VChip/_mixins.scss +85 -0
  207. package/lib/components/VChip/_variables.scss +44 -49
  208. package/lib/components/VChip/index.mjs +1 -3
  209. package/lib/components/VChip/index.mjs.map +1 -1
  210. package/lib/components/VChipGroup/VChipGroup.css +18 -0
  211. package/lib/components/VChipGroup/VChipGroup.mjs +67 -38
  212. package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
  213. package/lib/components/VChipGroup/VChipGroup.sass +12 -18
  214. package/lib/components/VChipGroup/_variables.scss +3 -5
  215. package/lib/components/VChipGroup/index.mjs +1 -3
  216. package/lib/components/VChipGroup/index.mjs.map +1 -1
  217. package/lib/components/VCode/VCode.css +7 -0
  218. package/lib/components/VCode/VCode.sass +8 -0
  219. package/lib/components/VCode/_variables.scss +5 -0
  220. package/lib/components/VCode/index.mjs +4 -0
  221. package/lib/components/VCode/index.mjs.map +1 -0
  222. package/lib/components/VColorPicker/VColorPicker.css +21 -0
  223. package/lib/components/VColorPicker/VColorPicker.mjs +106 -134
  224. package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
  225. package/lib/components/VColorPicker/VColorPicker.sass +9 -17
  226. package/lib/components/VColorPicker/VColorPickerCanvas.css +21 -0
  227. package/lib/components/VColorPicker/VColorPickerCanvas.mjs +140 -121
  228. package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
  229. package/lib/components/VColorPicker/VColorPickerCanvas.sass +4 -3
  230. package/lib/components/VColorPicker/VColorPickerEdit.css +31 -0
  231. package/lib/components/VColorPicker/VColorPickerEdit.mjs +75 -134
  232. package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
  233. package/lib/components/VColorPicker/VColorPickerEdit.sass +8 -6
  234. package/lib/components/VColorPicker/VColorPickerPreview.css +67 -0
  235. package/lib/components/VColorPicker/VColorPickerPreview.mjs +61 -86
  236. package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
  237. package/lib/components/VColorPicker/VColorPickerPreview.sass +41 -39
  238. package/lib/components/VColorPicker/VColorPickerSwatches.css +35 -0
  239. package/lib/components/VColorPicker/VColorPickerSwatches.mjs +36 -55
  240. package/lib/components/VColorPicker/VColorPickerSwatches.mjs.map +1 -1
  241. package/lib/components/VColorPicker/VColorPickerSwatches.sass +5 -4
  242. package/lib/components/VColorPicker/_variables.scss +18 -15
  243. package/lib/components/VColorPicker/index.mjs +1 -5
  244. package/lib/components/VColorPicker/index.mjs.map +1 -1
  245. package/lib/components/VColorPicker/util/index.mjs +139 -97
  246. package/lib/components/VColorPicker/util/index.mjs.map +1 -1
  247. package/lib/components/VCombobox/VCombobox.css +76 -0
  248. package/lib/components/VCombobox/VCombobox.mjs +349 -202
  249. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  250. package/lib/components/VCombobox/VCombobox.sass +99 -0
  251. package/lib/components/VCombobox/_variables.scss +9 -0
  252. package/lib/components/VCombobox/index.mjs +1 -3
  253. package/lib/components/VCombobox/index.mjs.map +1 -1
  254. package/lib/components/VCounter/VCounter.css +6 -0
  255. package/lib/components/VCounter/VCounter.mjs +35 -26
  256. package/lib/components/VCounter/VCounter.mjs.map +1 -1
  257. package/lib/components/VCounter/VCounter.sass +5 -8
  258. package/lib/components/VCounter/_variables.scss +4 -2
  259. package/lib/components/VCounter/index.mjs +1 -3
  260. package/lib/components/VCounter/index.mjs.map +1 -1
  261. package/lib/components/VData/VData.mjs +8 -3
  262. package/lib/components/VData/VData.mjs.map +1 -1
  263. package/lib/components/VData/index.mjs.map +1 -1
  264. package/lib/components/VDataIterator/VDataFooter.mjs +1 -1
  265. package/lib/components/VDataIterator/VDataFooter.mjs.map +1 -1
  266. package/lib/components/VDataIterator/VDataIterator.mjs +20 -8
  267. package/lib/components/VDataIterator/VDataIterator.mjs.map +1 -1
  268. package/lib/components/VDataIterator/_variables.scss +2 -2
  269. package/lib/components/VDataIterator/index.mjs.map +1 -1
  270. package/lib/components/VDataTable/MobileRow.mjs +6 -5
  271. package/lib/components/VDataTable/MobileRow.mjs.map +1 -1
  272. package/lib/components/VDataTable/Row.mjs +20 -12
  273. package/lib/components/VDataTable/Row.mjs.map +1 -1
  274. package/lib/components/VDataTable/RowGroup.mjs +5 -4
  275. package/lib/components/VDataTable/RowGroup.mjs.map +1 -1
  276. package/lib/components/VDataTable/VDataTable.mjs +22 -21
  277. package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
  278. package/lib/components/VDataTable/VDataTable.sass +5 -0
  279. package/lib/components/VDataTable/VDataTableHeader.mjs +7 -6
  280. package/lib/components/VDataTable/VDataTableHeader.mjs.map +1 -1
  281. package/lib/components/VDataTable/VDataTableHeaderDesktop.mjs +3 -3
  282. package/lib/components/VDataTable/VDataTableHeaderDesktop.mjs.map +1 -1
  283. package/lib/components/VDataTable/VDataTableHeaderMobile.mjs +2 -2
  284. package/lib/components/VDataTable/VDataTableHeaderMobile.mjs.map +1 -1
  285. package/lib/components/VDataTable/VEditDialog.mjs +7 -6
  286. package/lib/components/VDataTable/VEditDialog.mjs.map +1 -1
  287. package/lib/components/VDataTable/VVirtualTable.mjs +2 -2
  288. package/lib/components/VDataTable/VVirtualTable.mjs.map +1 -1
  289. package/lib/components/VDataTable/_variables.scss +2 -2
  290. package/lib/components/VDataTable/index.mjs.map +1 -1
  291. package/lib/components/VDataTable/mixins/header.mjs +1 -3
  292. package/lib/components/VDataTable/mixins/header.mjs.map +1 -1
  293. package/lib/components/VDatePicker/VDatePicker.mjs +13 -13
  294. package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
  295. package/lib/components/VDatePicker/VDatePickerDateTable.mjs +5 -5
  296. package/lib/components/VDatePicker/VDatePickerDateTable.mjs.map +1 -1
  297. package/lib/components/VDatePicker/VDatePickerHeader.mjs +5 -5
  298. package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +1 -1
  299. package/lib/components/VDatePicker/VDatePickerMonthTable.mjs +2 -2
  300. package/lib/components/VDatePicker/VDatePickerMonthTable.mjs.map +1 -1
  301. package/lib/components/VDatePicker/VDatePickerTitle.mjs +2 -2
  302. package/lib/components/VDatePicker/VDatePickerTitle.mjs.map +1 -1
  303. package/lib/components/VDatePicker/VDatePickerYears.mjs +4 -4
  304. package/lib/components/VDatePicker/VDatePickerYears.mjs.map +1 -1
  305. package/lib/components/VDatePicker/index.mjs.map +1 -1
  306. package/lib/components/VDatePicker/mixins/date-picker-table.mjs +20 -9
  307. package/lib/components/VDatePicker/mixins/date-picker-table.mjs.map +1 -1
  308. package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs +7 -5
  309. package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs.map +1 -1
  310. package/lib/components/VDatePicker/util/eventHelpers.mjs +1 -0
  311. package/lib/components/VDatePicker/util/eventHelpers.mjs.map +1 -1
  312. package/lib/components/VDatePicker/util/index.mjs.map +1 -1
  313. package/lib/components/VDatePicker/util/isDateAllowed.mjs.map +1 -1
  314. package/lib/components/VDatePicker/util/monthChange.mjs +3 -3
  315. package/lib/components/VDatePicker/util/monthChange.mjs.map +1 -1
  316. package/lib/components/VDatePicker/util/pad.mjs +4 -1
  317. package/lib/components/VDatePicker/util/pad.mjs.map +1 -1
  318. package/lib/components/VDatePicker/util/sanitizeDateString.mjs +1 -1
  319. package/lib/components/VDatePicker/util/sanitizeDateString.mjs.map +1 -1
  320. package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +38 -0
  321. package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs.map +1 -0
  322. package/lib/components/VDefaultsProvider/index.mjs +2 -0
  323. package/lib/components/VDefaultsProvider/index.mjs.map +1 -0
  324. package/lib/components/VDialog/VDialog.css +74 -0
  325. package/lib/components/VDialog/VDialog.mjs +98 -280
  326. package/lib/components/VDialog/VDialog.mjs.map +1 -1
  327. package/lib/components/VDialog/VDialog.sass +50 -82
  328. package/lib/components/VDialog/_variables.scss +10 -10
  329. package/lib/components/VDialog/index.mjs +1 -3
  330. package/lib/components/VDialog/index.mjs.map +1 -1
  331. package/lib/components/VDivider/VDivider.css +30 -0
  332. package/lib/components/VDivider/VDivider.mjs +32 -25
  333. package/lib/components/VDivider/VDivider.mjs.map +1 -1
  334. package/lib/components/VDivider/VDivider.sass +4 -9
  335. package/lib/components/VDivider/_variables.scss +12 -12
  336. package/lib/components/VDivider/index.mjs +1 -1
  337. package/lib/components/VDivider/index.mjs.map +1 -1
  338. package/lib/components/VExpansionPanel/VExpansionPanel.css +192 -0
  339. package/lib/components/VExpansionPanel/VExpansionPanel.mjs +91 -82
  340. package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
  341. package/lib/components/VExpansionPanel/VExpansionPanel.sass +91 -129
  342. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +42 -0
  343. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -0
  344. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +80 -0
  345. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -0
  346. package/lib/components/VExpansionPanel/VExpansionPanels.mjs +45 -59
  347. package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
  348. package/lib/components/VExpansionPanel/_variables.scss +21 -10
  349. package/lib/components/VExpansionPanel/index.mjs +4 -13
  350. package/lib/components/VExpansionPanel/index.mjs.map +1 -1
  351. package/lib/components/VField/VField.css +429 -0
  352. package/lib/components/VField/VField.mjs +265 -0
  353. package/lib/components/VField/VField.mjs.map +1 -0
  354. package/lib/components/VField/VField.sass +404 -0
  355. package/lib/components/VField/VFieldLabel.mjs +26 -0
  356. package/lib/components/VField/VFieldLabel.mjs.map +1 -0
  357. package/lib/components/VField/_variables.scss +45 -0
  358. package/lib/components/VField/index.mjs +3 -0
  359. package/lib/components/VField/index.mjs.map +1 -0
  360. package/lib/components/VFileInput/VFileInput.css +8 -0
  361. package/lib/components/VFileInput/VFileInput.mjs +188 -231
  362. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  363. package/lib/components/VFileInput/VFileInput.sass +4 -53
  364. package/lib/components/VFileInput/_variables.scss +2 -6
  365. package/lib/components/VFileInput/index.mjs +1 -3
  366. package/lib/components/VFileInput/index.mjs.map +1 -1
  367. package/lib/components/VFooter/VFooter.css +20 -0
  368. package/lib/components/VFooter/VFooter.mjs +56 -32
  369. package/lib/components/VFooter/VFooter.mjs.map +1 -1
  370. package/lib/components/VFooter/VFooter.sass +9 -7
  371. package/lib/components/VFooter/_variables.scss +15 -4
  372. package/lib/components/VFooter/index.mjs +1 -1
  373. package/lib/components/VFooter/index.mjs.map +1 -1
  374. package/lib/components/VForm/VForm.mjs +55 -122
  375. package/lib/components/VForm/VForm.mjs.map +1 -1
  376. package/lib/components/VForm/index.mjs +1 -3
  377. package/lib/components/VForm/index.mjs.map +1 -1
  378. package/lib/components/VGrid/VCol.mjs +25 -19
  379. package/lib/components/VGrid/VCol.mjs.map +1 -1
  380. package/lib/components/VGrid/VContainer.mjs +12 -13
  381. package/lib/components/VGrid/VContainer.mjs.map +1 -1
  382. package/lib/components/VGrid/VGrid.css +1002 -0
  383. package/lib/components/VGrid/VGrid.sass +9 -8
  384. package/lib/components/VGrid/VRow.mjs +30 -20
  385. package/lib/components/VGrid/VRow.mjs.map +1 -1
  386. package/lib/components/VGrid/VSpacer.mjs +1 -1
  387. package/lib/components/VGrid/VSpacer.mjs.map +1 -1
  388. package/lib/components/VGrid/_mixins.sass +26 -21
  389. package/lib/components/VGrid/index.mjs +4 -4
  390. package/lib/components/VGrid/index.mjs.map +1 -1
  391. package/lib/components/VHover/VHover.mjs +31 -61
  392. package/lib/components/VHover/VHover.mjs.map +1 -1
  393. package/lib/components/VHover/index.mjs +1 -3
  394. package/lib/components/VHover/index.mjs.map +1 -1
  395. package/lib/components/VIcon/VIcon.css +47 -0
  396. package/lib/components/VIcon/VIcon.mjs +46 -41
  397. package/lib/components/VIcon/VIcon.mjs.map +1 -1
  398. package/lib/components/VIcon/VIcon.sass +16 -53
  399. package/lib/components/VIcon/_variables.scss +16 -23
  400. package/lib/components/VIcon/index.mjs +1 -1
  401. package/lib/components/VIcon/index.mjs.map +1 -1
  402. package/lib/components/VImg/VImg.css +34 -0
  403. package/lib/components/VImg/VImg.mjs +122 -71
  404. package/lib/components/VImg/VImg.mjs.map +1 -1
  405. package/lib/components/VImg/VImg.sass +13 -8
  406. package/lib/components/VImg/_variables.scss +1 -0
  407. package/lib/components/VImg/index.mjs +1 -1
  408. package/lib/components/VImg/index.mjs.map +1 -1
  409. package/lib/components/VInput/InputIcon.mjs +33 -0
  410. package/lib/components/VInput/InputIcon.mjs.map +1 -0
  411. package/lib/components/VInput/VInput.css +113 -0
  412. package/lib/components/VInput/VInput.mjs +115 -282
  413. package/lib/components/VInput/VInput.mjs.map +1 -1
  414. package/lib/components/VInput/VInput.sass +77 -117
  415. package/lib/components/VInput/_variables.scss +20 -13
  416. package/lib/components/VInput/index.mjs +1 -3
  417. package/lib/components/VInput/index.mjs.map +1 -1
  418. package/lib/components/VItemGroup/VItem.mjs +32 -58
  419. package/lib/components/VItemGroup/VItem.mjs.map +1 -1
  420. package/lib/components/VItemGroup/VItemGroup.css +6 -0
  421. package/lib/components/VItemGroup/VItemGroup.mjs +45 -215
  422. package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
  423. package/lib/components/VItemGroup/VItemGroup.sass +2 -2
  424. package/lib/components/VItemGroup/_variables.scss +3 -2
  425. package/lib/components/VItemGroup/index.mjs +2 -9
  426. package/lib/components/VItemGroup/index.mjs.map +1 -1
  427. package/lib/components/VKbd/VKbd.css +9 -0
  428. package/lib/components/VKbd/VKbd.sass +12 -0
  429. package/lib/components/VKbd/_variables.scss +6 -0
  430. package/lib/components/VKbd/index.mjs +4 -0
  431. package/lib/components/VKbd/index.mjs.map +1 -0
  432. package/lib/components/VLabel/VLabel.css +12 -0
  433. package/lib/components/VLabel/VLabel.mjs +20 -57
  434. package/lib/components/VLabel/VLabel.mjs.map +1 -1
  435. package/lib/components/VLabel/VLabel.sass +12 -11
  436. package/lib/components/VLabel/_variables.scss +8 -4
  437. package/lib/components/VLabel/index.mjs +1 -3
  438. package/lib/components/VLabel/index.mjs.map +1 -1
  439. package/lib/components/VLayout/VLayout.css +9 -0
  440. package/lib/components/VLayout/VLayout.mjs +20 -15
  441. package/lib/components/VLayout/VLayout.mjs.map +1 -1
  442. package/lib/components/VLayout/VLayout.sass +5 -5
  443. package/lib/components/VLayout/VLayoutItem.css +8 -0
  444. package/lib/components/VLayout/VLayoutItem.mjs +36 -17
  445. package/lib/components/VLayout/VLayoutItem.mjs.map +1 -1
  446. package/lib/components/VLayout/VLayoutItem.sass +8 -0
  447. package/lib/components/VLayout/index.mjs +2 -2
  448. package/lib/components/VLayout/index.mjs.map +1 -1
  449. package/lib/components/VLazy/VLazy.mjs +42 -50
  450. package/lib/components/VLazy/VLazy.mjs.map +1 -1
  451. package/lib/components/VLazy/index.mjs +1 -3
  452. package/lib/components/VLazy/index.mjs.map +1 -1
  453. package/lib/components/VList/VList.css +104 -0
  454. package/lib/components/VList/VList.mjs +155 -74
  455. package/lib/components/VList/VList.mjs.map +1 -1
  456. package/lib/components/VList/VList.sass +90 -94
  457. package/lib/components/VList/VListChildren.mjs +109 -0
  458. package/lib/components/VList/VListChildren.mjs.map +1 -0
  459. package/lib/components/VList/VListGroup.mjs +107 -172
  460. package/lib/components/VList/VListGroup.mjs.map +1 -1
  461. package/lib/components/VList/VListImg.mjs +3 -0
  462. package/lib/components/VList/VListImg.mjs.map +1 -0
  463. package/lib/components/VList/VListItem.css +376 -0
  464. package/lib/components/VList/VListItem.mjs +223 -142
  465. package/lib/components/VList/VListItem.mjs.map +1 -1
  466. package/lib/components/VList/VListItem.sass +204 -226
  467. package/lib/components/VList/VListItemAction.mjs +22 -19
  468. package/lib/components/VList/VListItemAction.mjs.map +1 -1
  469. package/lib/components/VList/VListItemMedia.mjs +30 -0
  470. package/lib/components/VList/VListItemMedia.mjs.map +1 -0
  471. package/lib/components/VList/VListItemSubtitle.mjs +3 -0
  472. package/lib/components/VList/VListItemSubtitle.mjs.map +1 -0
  473. package/lib/components/VList/VListItemTitle.mjs +3 -0
  474. package/lib/components/VList/VListItemTitle.mjs.map +1 -0
  475. package/lib/components/VList/VListSubheader.mjs +48 -0
  476. package/lib/components/VList/VListSubheader.mjs.map +1 -0
  477. package/lib/components/VList/_variables.scss +160 -57
  478. package/lib/components/VList/index.mjs +9 -28
  479. package/lib/components/VList/index.mjs.map +1 -1
  480. package/lib/components/VList/list.mjs +31 -0
  481. package/lib/components/VList/list.mjs.map +1 -0
  482. package/lib/components/VLocaleProvider/VLocaleProvider.css +3 -0
  483. package/lib/components/VLocaleProvider/VLocaleProvider.mjs +21 -10
  484. package/lib/components/VLocaleProvider/VLocaleProvider.mjs.map +1 -1
  485. package/lib/components/VLocaleProvider/VLocaleProvider.sass +2 -0
  486. package/lib/components/VLocaleProvider/index.mjs +1 -1
  487. package/lib/components/VLocaleProvider/index.mjs.map +1 -1
  488. package/lib/components/VMain/VMain.css +29 -0
  489. package/lib/components/VMain/VMain.mjs +30 -20
  490. package/lib/components/VMain/VMain.mjs.map +1 -1
  491. package/lib/components/VMain/VMain.sass +18 -11
  492. package/lib/components/VMain/_variables.scss +4 -2
  493. package/lib/components/VMain/index.mjs +1 -1
  494. package/lib/components/VMain/index.mjs.map +1 -1
  495. package/lib/components/VMenu/VMenu.css +14 -0
  496. package/lib/components/VMenu/VMenu.mjs +82 -447
  497. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  498. package/lib/components/VMenu/VMenu.sass +16 -71
  499. package/lib/components/VMenu/_variables.scss +3 -3
  500. package/lib/components/VMenu/index.mjs +1 -3
  501. package/lib/components/VMenu/index.mjs.map +1 -1
  502. package/lib/components/VMenu/shared.mjs +2 -0
  503. package/lib/components/VMenu/shared.mjs.map +1 -0
  504. package/lib/components/VMessages/VMessages.css +16 -0
  505. package/lib/components/VMessages/VMessages.mjs +43 -40
  506. package/lib/components/VMessages/VMessages.mjs.map +1 -1
  507. package/lib/components/VMessages/VMessages.sass +4 -10
  508. package/lib/components/VMessages/_variables.scss +3 -2
  509. package/lib/components/VMessages/index.mjs +1 -3
  510. package/lib/components/VMessages/index.mjs.map +1 -1
  511. package/lib/components/VNavigationDrawer/VNavigationDrawer.css +88 -0
  512. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +166 -58
  513. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
  514. package/lib/components/VNavigationDrawer/VNavigationDrawer.sass +40 -33
  515. package/lib/components/VNavigationDrawer/_variables.scss +20 -11
  516. package/lib/components/VNavigationDrawer/index.mjs +1 -1
  517. package/lib/components/VNavigationDrawer/index.mjs.map +1 -1
  518. package/lib/components/VNavigationDrawer/sticky.mjs +70 -0
  519. package/lib/components/VNavigationDrawer/sticky.mjs.map +1 -0
  520. package/lib/components/VNavigationDrawer/touch.mjs +142 -0
  521. package/lib/components/VNavigationDrawer/touch.mjs.map +1 -0
  522. package/lib/components/VNoSsr/VNoSsr.mjs +23 -0
  523. package/lib/components/VNoSsr/VNoSsr.mjs.map +1 -0
  524. package/lib/components/VNoSsr/index.mjs +2 -0
  525. package/lib/components/VNoSsr/index.mjs.map +1 -0
  526. package/lib/components/VOtpInput/VOtpInput.mjs +345 -0
  527. package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -0
  528. package/lib/components/VOtpInput/VOtpInput.sass +37 -0
  529. package/lib/components/VOtpInput/_variables.scss +4 -0
  530. package/lib/components/VOtpInput/index.mjs +4 -0
  531. package/lib/components/VOtpInput/index.mjs.map +1 -0
  532. package/lib/components/VOverflowBtn/VOverflowBtn.mjs +1 -1
  533. package/lib/components/VOverflowBtn/VOverflowBtn.mjs.map +1 -1
  534. package/lib/components/VOverflowBtn/index.mjs.map +1 -1
  535. package/lib/components/VOverlay/VOverlay.css +62 -0
  536. package/lib/components/VOverlay/VOverlay.mjs +250 -62
  537. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  538. package/lib/components/VOverlay/VOverlay.sass +37 -19
  539. package/lib/components/VOverlay/_variables.scss +3 -3
  540. package/lib/components/VOverlay/index.mjs +1 -3
  541. package/lib/components/VOverlay/index.mjs.map +1 -1
  542. package/lib/components/VOverlay/locationStrategies.mjs +404 -0
  543. package/lib/components/VOverlay/locationStrategies.mjs.map +1 -0
  544. package/lib/components/VOverlay/requestNewFrame.mjs +28 -0
  545. package/lib/components/VOverlay/requestNewFrame.mjs.map +1 -0
  546. package/lib/components/VOverlay/scrollStrategies.mjs +134 -0
  547. package/lib/components/VOverlay/scrollStrategies.mjs.map +1 -0
  548. package/lib/components/VOverlay/useActivator.mjs +248 -0
  549. package/lib/components/VOverlay/useActivator.mjs.map +1 -0
  550. package/lib/components/VOverlay/util/point.mjs +56 -0
  551. package/lib/components/VOverlay/util/point.mjs.map +1 -0
  552. package/lib/components/VPagination/VPagination.css +9 -0
  553. package/lib/components/VPagination/VPagination.mjs +282 -179
  554. package/lib/components/VPagination/VPagination.mjs.map +1 -1
  555. package/lib/components/VPagination/VPagination.sass +10 -77
  556. package/lib/components/VPagination/_variables.scss +1 -15
  557. package/lib/components/VPagination/index.mjs +1 -3
  558. package/lib/components/VPagination/index.mjs.map +1 -1
  559. package/lib/components/VParallax/VParallax.css +7 -0
  560. package/lib/components/VParallax/VParallax.mjs +71 -77
  561. package/lib/components/VParallax/VParallax.mjs.map +1 -1
  562. package/lib/components/VParallax/VParallax.sass +1 -32
  563. package/lib/components/VParallax/index.mjs +1 -3
  564. package/lib/components/VParallax/index.mjs.map +1 -1
  565. package/lib/components/VPicker/VPicker.mjs +5 -5
  566. package/lib/components/VPicker/VPicker.mjs.map +1 -1
  567. package/lib/components/VPicker/index.mjs.map +1 -1
  568. package/lib/components/VProgressCircular/VProgressCircular.css +101 -0
  569. package/lib/components/VProgressCircular/VProgressCircular.mjs +111 -141
  570. package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
  571. package/lib/components/VProgressCircular/VProgressCircular.sass +56 -36
  572. package/lib/components/VProgressCircular/_variables.scss +14 -5
  573. package/lib/components/VProgressCircular/index.mjs +1 -3
  574. package/lib/components/VProgressCircular/index.mjs.map +1 -1
  575. package/lib/components/VProgressLinear/VProgressLinear.css +212 -0
  576. package/lib/components/VProgressLinear/VProgressLinear.mjs +140 -226
  577. package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
  578. package/lib/components/VProgressLinear/VProgressLinear.sass +82 -157
  579. package/lib/components/VProgressLinear/_variables.scss +12 -3
  580. package/lib/components/VProgressLinear/index.mjs +1 -3
  581. package/lib/components/VProgressLinear/index.mjs.map +1 -1
  582. package/lib/components/VRadio/VRadio.mjs +26 -0
  583. package/lib/components/VRadio/VRadio.mjs.map +1 -0
  584. package/lib/components/VRadio/index.mjs +2 -0
  585. package/lib/components/VRadio/index.mjs.map +1 -0
  586. package/lib/components/VRadioGroup/VRadioGroup.css +10 -0
  587. package/lib/components/VRadioGroup/VRadioGroup.mjs +87 -68
  588. package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
  589. package/lib/components/VRadioGroup/VRadioGroup.sass +8 -36
  590. package/lib/components/VRadioGroup/_variables.scss +3 -4
  591. package/lib/components/VRadioGroup/index.mjs +1 -9
  592. package/lib/components/VRadioGroup/index.mjs.map +1 -1
  593. package/lib/components/VRangeSlider/VRangeSlider.mjs +193 -206
  594. package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
  595. package/lib/components/VRangeSlider/index.mjs +1 -3
  596. package/lib/components/VRangeSlider/index.mjs.map +1 -1
  597. package/lib/components/VRating/VRating.css +58 -0
  598. package/lib/components/VRating/VRating.mjs +200 -179
  599. package/lib/components/VRating/VRating.mjs.map +1 -1
  600. package/lib/components/VRating/VRating.sass +52 -18
  601. package/lib/components/VRating/_variables.scss +9 -4
  602. package/lib/components/VRating/index.mjs +1 -3
  603. package/lib/components/VRating/index.mjs.map +1 -1
  604. package/lib/components/VResponsive/VResponsive.css +23 -0
  605. package/lib/components/VResponsive/VResponsive.mjs +28 -22
  606. package/lib/components/VResponsive/VResponsive.mjs.map +1 -1
  607. package/lib/components/VResponsive/VResponsive.sass +5 -7
  608. package/lib/components/VResponsive/index.mjs +1 -1
  609. package/lib/components/VResponsive/index.mjs.map +1 -1
  610. package/lib/components/VSelect/VSelect.css +50 -0
  611. package/lib/components/VSelect/VSelect.mjs +221 -778
  612. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  613. package/lib/components/VSelect/VSelect.sass +60 -152
  614. package/lib/components/VSelect/_variables.scss +8 -21
  615. package/lib/components/VSelect/index.mjs +1 -3
  616. package/lib/components/VSelect/index.mjs.map +1 -1
  617. package/lib/components/VSelectionControl/VSelectionControl.css +98 -0
  618. package/lib/components/VSelectionControl/VSelectionControl.mjs +216 -0
  619. package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -0
  620. package/lib/components/VSelectionControl/VSelectionControl.sass +96 -0
  621. package/lib/components/VSelectionControl/_variables.scss +10 -0
  622. package/lib/components/VSelectionControl/index.mjs +2 -0
  623. package/lib/components/VSelectionControl/index.mjs.map +1 -0
  624. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +3 -0
  625. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +65 -0
  626. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -0
  627. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.sass +4 -0
  628. package/lib/components/VSelectionControlGroup/_variables.scss +1 -0
  629. package/lib/components/VSelectionControlGroup/index.mjs +2 -0
  630. package/lib/components/VSelectionControlGroup/index.mjs.map +1 -0
  631. package/lib/components/VSheet/VSheet.css +23 -0
  632. package/lib/components/VSheet/VSheet.mjs +26 -22
  633. package/lib/components/VSheet/VSheet.mjs.map +1 -1
  634. package/lib/components/VSheet/VSheet.sass +10 -7
  635. package/lib/components/VSheet/_variables.scss +17 -5
  636. package/lib/components/VSheet/index.mjs +1 -1
  637. package/lib/components/VSheet/index.mjs.map +1 -1
  638. package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +8 -8
  639. package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
  640. package/lib/components/VSkeletonLoader/index.mjs.map +1 -1
  641. package/lib/components/VSlideGroup/VSlideGroup.css +42 -0
  642. package/lib/components/VSlideGroup/VSlideGroup.mjs +304 -355
  643. package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
  644. package/lib/components/VSlideGroup/VSlideGroup.sass +20 -25
  645. package/lib/components/VSlideGroup/VSlideGroupItem.mjs +33 -0
  646. package/lib/components/VSlideGroup/VSlideGroupItem.mjs.map +1 -0
  647. package/lib/components/VSlideGroup/_variables.scss +0 -2
  648. package/lib/components/VSlideGroup/helpers.mjs +43 -0
  649. package/lib/components/VSlideGroup/helpers.mjs.map +1 -0
  650. package/lib/components/VSlideGroup/index.mjs +2 -9
  651. package/lib/components/VSlideGroup/index.mjs.map +1 -1
  652. package/lib/components/VSlider/VSlider.css +53 -0
  653. package/lib/components/VSlider/VSlider.mjs +111 -538
  654. package/lib/components/VSlider/VSlider.mjs.map +1 -1
  655. package/lib/components/VSlider/VSlider.sass +37 -275
  656. package/lib/components/VSlider/VSliderThumb.css +146 -0
  657. package/lib/components/VSlider/VSliderThumb.mjs +166 -0
  658. package/lib/components/VSlider/VSliderThumb.mjs.map +1 -0
  659. package/lib/components/VSlider/VSliderThumb.sass +148 -0
  660. package/lib/components/VSlider/VSliderTrack.css +150 -0
  661. package/lib/components/VSlider/VSliderTrack.mjs +123 -0
  662. package/lib/components/VSlider/VSliderTrack.mjs.map +1 -0
  663. package/lib/components/VSlider/VSliderTrack.sass +157 -0
  664. package/lib/components/VSlider/_variables.scss +23 -14
  665. package/lib/components/VSlider/index.mjs +1 -3
  666. package/lib/components/VSlider/index.mjs.map +1 -1
  667. package/lib/components/VSlider/slider.mjs +290 -0
  668. package/lib/components/VSlider/slider.mjs.map +1 -0
  669. package/lib/components/VSnackbar/VSnackbar.css +118 -0
  670. package/lib/components/VSnackbar/VSnackbar.mjs +113 -173
  671. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  672. package/lib/components/VSnackbar/VSnackbar.sass +37 -92
  673. package/lib/components/VSnackbar/_variables.scss +21 -26
  674. package/lib/components/VSnackbar/index.mjs +1 -3
  675. package/lib/components/VSnackbar/index.mjs.map +1 -1
  676. package/lib/components/VSparkline/VSparkline.mjs +13 -13
  677. package/lib/components/VSparkline/VSparkline.mjs.map +1 -1
  678. package/lib/components/VSparkline/helpers/core.mjs.map +1 -1
  679. package/lib/components/VSparkline/helpers/math.mjs.map +1 -1
  680. package/lib/components/VSparkline/helpers/path.mjs +7 -5
  681. package/lib/components/VSparkline/helpers/path.mjs.map +1 -1
  682. package/lib/components/VSparkline/index.mjs.map +1 -1
  683. package/lib/components/VSpeedDial/VSpeedDial.mjs +4 -4
  684. package/lib/components/VSpeedDial/VSpeedDial.mjs.map +1 -1
  685. package/lib/components/VSpeedDial/index.mjs.map +1 -1
  686. package/lib/components/VStepper/VStepper.mjs +2 -2
  687. package/lib/components/VStepper/VStepper.mjs.map +1 -1
  688. package/lib/components/VStepper/VStepper.sass +5 -1
  689. package/lib/components/VStepper/VStepperContent.mjs.map +1 -1
  690. package/lib/components/VStepper/VStepperStep.mjs +1 -1
  691. package/lib/components/VStepper/VStepperStep.mjs.map +1 -1
  692. package/lib/components/VStepper/_variables.scss +6 -5
  693. package/lib/components/VStepper/index.mjs.map +1 -1
  694. package/lib/components/VSwitch/VSwitch.css +76 -0
  695. package/lib/components/VSwitch/VSwitch.mjs +105 -107
  696. package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
  697. package/lib/components/VSwitch/VSwitch.sass +77 -130
  698. package/lib/components/VSwitch/_variables.scss +11 -23
  699. package/lib/components/VSwitch/index.mjs +1 -3
  700. package/lib/components/VSwitch/index.mjs.map +1 -1
  701. package/lib/components/VSystemBar/VSystemBar.css +35 -0
  702. package/lib/components/VSystemBar/VSystemBar.mjs +41 -38
  703. package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
  704. package/lib/components/VSystemBar/VSystemBar.sass +13 -26
  705. package/lib/components/VSystemBar/_variables.scss +29 -18
  706. package/lib/components/VSystemBar/index.mjs +1 -1
  707. package/lib/components/VSystemBar/index.mjs.map +1 -1
  708. package/lib/components/VTable/VTable.css +144 -0
  709. package/lib/components/VTable/VTable.mjs +55 -0
  710. package/lib/components/VTable/VTable.mjs.map +1 -0
  711. package/lib/components/VTable/VTable.sass +156 -0
  712. package/lib/components/VTable/_mixins.scss +25 -0
  713. package/lib/components/VTable/_variables.scss +23 -0
  714. package/lib/components/VTable/index.mjs +2 -0
  715. package/lib/components/VTable/index.mjs.map +1 -0
  716. package/lib/components/VTabs/VTab.css +32 -0
  717. package/lib/components/VTabs/VTab.mjs +110 -69
  718. package/lib/components/VTabs/VTab.mjs.map +1 -1
  719. package/lib/components/VTabs/VTab.sass +33 -0
  720. package/lib/components/VTabs/VTabs.css +70 -0
  721. package/lib/components/VTabs/VTabs.mjs +86 -280
  722. package/lib/components/VTabs/VTabs.mjs.map +1 -1
  723. package/lib/components/VTabs/VTabs.sass +39 -203
  724. package/lib/components/VTabs/_variables.scss +12 -18
  725. package/lib/components/VTabs/index.mjs +2 -15
  726. package/lib/components/VTabs/index.mjs.map +1 -1
  727. package/lib/components/VTabs/shared.mjs +2 -0
  728. package/lib/components/VTabs/shared.mjs.map +1 -0
  729. package/lib/components/VTextField/VTextField.css +71 -0
  730. package/lib/components/VTextField/VTextField.mjs +171 -483
  731. package/lib/components/VTextField/VTextField.mjs.map +1 -1
  732. package/lib/components/VTextField/VTextField.sass +56 -493
  733. package/lib/components/VTextField/_variables.scss +10 -50
  734. package/lib/components/VTextField/index.mjs +1 -3
  735. package/lib/components/VTextField/index.mjs.map +1 -1
  736. package/lib/components/VTextarea/VTextarea.css +41 -0
  737. package/lib/components/VTextarea/VTextarea.mjs +225 -69
  738. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  739. package/lib/components/VTextarea/VTextarea.sass +41 -76
  740. package/lib/components/VTextarea/_variables.scss +2 -4
  741. package/lib/components/VTextarea/index.mjs +1 -3
  742. package/lib/components/VTextarea/index.mjs.map +1 -1
  743. package/lib/components/VThemeProvider/VThemeProvider.css +4 -0
  744. package/lib/components/VThemeProvider/VThemeProvider.mjs +23 -18
  745. package/lib/components/VThemeProvider/VThemeProvider.mjs.map +1 -1
  746. package/lib/components/VThemeProvider/index.mjs +1 -1
  747. package/lib/components/VThemeProvider/index.mjs.map +1 -1
  748. package/lib/components/VTimePicker/SelectingTimes.mjs.map +1 -1
  749. package/lib/components/VTimePicker/VTimePicker.mjs +4 -4
  750. package/lib/components/VTimePicker/VTimePicker.mjs.map +1 -1
  751. package/lib/components/VTimePicker/VTimePickerClock.mjs +9 -9
  752. package/lib/components/VTimePicker/VTimePickerClock.mjs.map +1 -1
  753. package/lib/components/VTimePicker/VTimePickerTitle.mjs +2 -2
  754. package/lib/components/VTimePicker/VTimePickerTitle.mjs.map +1 -1
  755. package/lib/components/VTimePicker/index.mjs.map +1 -1
  756. package/lib/components/VTimeline/VTimeline.css +431 -0
  757. package/lib/components/VTimeline/VTimeline.mjs +88 -34
  758. package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
  759. package/lib/components/VTimeline/VTimeline.sass +385 -118
  760. package/lib/components/VTimeline/VTimelineDivider.mjs +83 -0
  761. package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -0
  762. package/lib/components/VTimeline/VTimelineItem.mjs +71 -91
  763. package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
  764. package/lib/components/VTimeline/_mixins.sass +31 -32
  765. package/lib/components/VTimeline/_variables.scss +32 -14
  766. package/lib/components/VTimeline/index.mjs +2 -9
  767. package/lib/components/VTimeline/index.mjs.map +1 -1
  768. package/lib/components/VToolbar/VToolbar.css +130 -0
  769. package/lib/components/VToolbar/VToolbar.mjs +139 -141
  770. package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
  771. package/lib/components/VToolbar/VToolbar.sass +73 -123
  772. package/lib/components/VToolbar/VToolbarItems.mjs +36 -0
  773. package/lib/components/VToolbar/VToolbarItems.mjs.map +1 -0
  774. package/lib/components/VToolbar/VToolbarTitle.mjs +34 -0
  775. package/lib/components/VToolbar/VToolbarTitle.mjs.map +1 -0
  776. package/lib/components/VToolbar/_variables.scss +66 -16
  777. package/lib/components/VToolbar/index.mjs +3 -14
  778. package/lib/components/VToolbar/index.mjs.map +1 -1
  779. package/lib/components/VTooltip/VTooltip.css +22 -0
  780. package/lib/components/VTooltip/VTooltip.mjs +81 -200
  781. package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
  782. package/lib/components/VTooltip/VTooltip.sass +7 -15
  783. package/lib/components/VTooltip/_variables.scss +7 -6
  784. package/lib/components/VTooltip/index.mjs +1 -3
  785. package/lib/components/VTooltip/index.mjs.map +1 -1
  786. package/lib/components/VTreeview/VTreeview.mjs +16 -9
  787. package/lib/components/VTreeview/VTreeview.mjs.map +1 -1
  788. package/lib/components/VTreeview/VTreeviewNode.mjs +4 -2
  789. package/lib/components/VTreeview/VTreeviewNode.mjs.map +1 -1
  790. package/lib/components/VTreeview/_mixins.sass +3 -3
  791. package/lib/components/VTreeview/index.mjs.map +1 -1
  792. package/lib/components/VTreeview/util/filterTreeItems.mjs.map +1 -1
  793. package/lib/components/VValidation/VValidation.mjs +26 -0
  794. package/lib/components/VValidation/VValidation.mjs.map +1 -0
  795. package/lib/components/VValidation/index.mjs +2 -0
  796. package/lib/components/VValidation/index.mjs.map +1 -0
  797. package/lib/components/VVirtualScroll/VVirtualScroll.mjs +1 -1
  798. package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
  799. package/lib/components/VVirtualScroll/index.mjs.map +1 -1
  800. package/lib/components/VWindow/VWindow.css +70 -0
  801. package/lib/components/VWindow/VWindow.mjs +155 -236
  802. package/lib/components/VWindow/VWindow.mjs.map +1 -1
  803. package/lib/components/VWindow/VWindow.sass +27 -51
  804. package/lib/components/VWindow/VWindowItem.mjs +84 -100
  805. package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
  806. package/lib/components/VWindow/_variables.scss +3 -3
  807. package/lib/components/VWindow/index.mjs +2 -9
  808. package/lib/components/VWindow/index.mjs.map +1 -1
  809. package/lib/components/index.d.ts +14748 -0
  810. package/lib/components/index.mjs +75 -65
  811. package/lib/components/index.mjs.map +1 -1
  812. package/lib/components/transitions/createTransition.mjs +61 -16
  813. package/lib/components/transitions/createTransition.mjs.map +1 -1
  814. package/lib/components/transitions/dialog-transition.mjs +163 -0
  815. package/lib/components/transitions/dialog-transition.mjs.map +1 -0
  816. package/lib/components/transitions/expand-transition.mjs +6 -4
  817. package/lib/components/transitions/expand-transition.mjs.map +1 -1
  818. package/lib/components/transitions/index.mjs +1 -6
  819. package/lib/components/transitions/index.mjs.map +1 -1
  820. package/lib/composables/border.mjs +10 -9
  821. package/lib/composables/border.mjs.map +1 -1
  822. package/lib/composables/color.mjs +19 -26
  823. package/lib/composables/color.mjs.map +1 -1
  824. package/lib/composables/defaults.mjs +42 -0
  825. package/lib/composables/defaults.mjs.map +1 -0
  826. package/lib/composables/delay.mjs +1 -3
  827. package/lib/composables/delay.mjs.map +1 -1
  828. package/lib/composables/density.mjs +5 -4
  829. package/lib/composables/density.mjs.map +1 -1
  830. package/lib/composables/dimensions.mjs.map +1 -1
  831. package/lib/composables/display.mjs +17 -14
  832. package/lib/composables/display.mjs.map +1 -1
  833. package/lib/composables/elevation.mjs +4 -3
  834. package/lib/composables/elevation.mjs.map +1 -1
  835. package/lib/composables/filter.mjs +105 -0
  836. package/lib/composables/filter.mjs.map +1 -0
  837. package/lib/composables/focus.mjs +35 -0
  838. package/lib/composables/focus.mjs.map +1 -0
  839. package/lib/composables/form.mjs +136 -0
  840. package/lib/composables/form.mjs.map +1 -0
  841. package/lib/composables/forwardRefs.mjs +72 -0
  842. package/lib/composables/forwardRefs.mjs.map +1 -0
  843. package/lib/composables/group.mjs +131 -45
  844. package/lib/composables/group.mjs.map +1 -1
  845. package/lib/composables/hydration.mjs +12 -0
  846. package/lib/composables/hydration.mjs.map +1 -0
  847. package/lib/composables/icons.mjs +38 -32
  848. package/lib/composables/icons.mjs.map +1 -1
  849. package/lib/composables/index.mjs +10 -0
  850. package/lib/composables/index.mjs.map +1 -0
  851. package/lib/composables/intersectionObserver.mjs +33 -0
  852. package/lib/composables/intersectionObserver.mjs.map +1 -0
  853. package/lib/composables/items.mjs +84 -0
  854. package/lib/composables/items.mjs.map +1 -0
  855. package/lib/composables/layout.mjs +158 -71
  856. package/lib/composables/layout.mjs.map +1 -1
  857. package/lib/composables/lazy.mjs +23 -0
  858. package/lib/composables/lazy.mjs.map +1 -0
  859. package/lib/composables/loader.mjs +39 -0
  860. package/lib/composables/loader.mjs.map +1 -0
  861. package/lib/composables/locale.mjs +41 -40
  862. package/lib/composables/locale.mjs.map +1 -1
  863. package/lib/composables/location.mjs +66 -0
  864. package/lib/composables/location.mjs.map +1 -0
  865. package/lib/composables/mutationObserver.mjs +41 -0
  866. package/lib/composables/mutationObserver.mjs.map +1 -0
  867. package/lib/composables/nested/nested.mjs +206 -0
  868. package/lib/composables/nested/nested.mjs.map +1 -0
  869. package/lib/composables/nested/openStrategies.mjs +76 -0
  870. package/lib/composables/nested/openStrategies.mjs.map +1 -0
  871. package/lib/composables/nested/selectStrategies.mjs +198 -0
  872. package/lib/composables/nested/selectStrategies.mjs.map +1 -0
  873. package/lib/composables/position.mjs +6 -26
  874. package/lib/composables/position.mjs.map +1 -1
  875. package/lib/composables/proxiedModel.mjs +14 -8
  876. package/lib/composables/proxiedModel.mjs.map +1 -1
  877. package/lib/composables/refs.mjs +16 -0
  878. package/lib/composables/refs.mjs.map +1 -0
  879. package/lib/composables/resizeObserver.mjs +35 -0
  880. package/lib/composables/resizeObserver.mjs.map +1 -0
  881. package/lib/composables/rounded.mjs +10 -8
  882. package/lib/composables/rounded.mjs.map +1 -1
  883. package/lib/composables/router.mjs +84 -0
  884. package/lib/composables/router.mjs.map +1 -0
  885. package/lib/composables/rtl.mjs +7 -9
  886. package/lib/composables/rtl.mjs.map +1 -1
  887. package/lib/composables/scopeId.mjs +11 -0
  888. package/lib/composables/scopeId.mjs.map +1 -0
  889. package/lib/composables/scroll.mjs +4 -5
  890. package/lib/composables/scroll.mjs.map +1 -1
  891. package/lib/composables/selectLink.mjs +19 -0
  892. package/lib/composables/selectLink.mjs.map +1 -0
  893. package/lib/composables/size.mjs +20 -15
  894. package/lib/composables/size.mjs.map +1 -1
  895. package/lib/composables/ssrBoot.mjs +3 -2
  896. package/lib/composables/ssrBoot.mjs.map +1 -1
  897. package/lib/composables/stack.mjs +47 -0
  898. package/lib/composables/stack.mjs.map +1 -0
  899. package/lib/composables/tag.mjs.map +1 -1
  900. package/lib/composables/teleport.mjs +30 -0
  901. package/lib/composables/teleport.mjs.map +1 -0
  902. package/lib/composables/theme.mjs +194 -136
  903. package/lib/composables/theme.mjs.map +1 -1
  904. package/lib/composables/toggleScope.mjs +18 -0
  905. package/lib/composables/toggleScope.mjs.map +1 -0
  906. package/lib/composables/touch.mjs +127 -0
  907. package/lib/composables/touch.mjs.map +1 -0
  908. package/lib/composables/transition.mjs +20 -0
  909. package/lib/composables/transition.mjs.map +1 -1
  910. package/lib/composables/validation.mjs +130 -0
  911. package/lib/composables/validation.mjs.map +1 -0
  912. package/lib/composables/variant.mjs +52 -0
  913. package/lib/composables/variant.mjs.map +1 -0
  914. package/lib/directives/click-outside/index.mjs +23 -11
  915. package/lib/directives/click-outside/index.mjs.map +1 -1
  916. package/lib/directives/color/index.mjs +1 -1
  917. package/lib/directives/color/index.mjs.map +1 -1
  918. package/lib/directives/index.d.ts +58 -0
  919. package/lib/directives/index.mjs +2 -2
  920. package/lib/directives/index.mjs.map +1 -1
  921. package/lib/directives/intersect/index.mjs +26 -19
  922. package/lib/directives/intersect/index.mjs.map +1 -1
  923. package/lib/directives/mutate/index.mjs +32 -35
  924. package/lib/directives/mutate/index.mjs.map +1 -1
  925. package/lib/directives/resize/index.mjs +10 -7
  926. package/lib/directives/resize/index.mjs.map +1 -1
  927. package/lib/directives/ripple/VRipple.css +34 -0
  928. package/lib/directives/ripple/VRipple.sass +1 -1
  929. package/lib/directives/ripple/_variables.scss +4 -4
  930. package/lib/directives/ripple/index.mjs +36 -23
  931. package/lib/directives/ripple/index.mjs.map +1 -1
  932. package/lib/directives/scroll/index.mjs +10 -9
  933. package/lib/directives/scroll/index.mjs.map +1 -1
  934. package/lib/directives/touch/index.mjs +20 -10
  935. package/lib/directives/touch/index.mjs.map +1 -1
  936. package/lib/entry-bundler.mjs +9 -6
  937. package/lib/entry-bundler.mjs.map +1 -1
  938. package/lib/framework.mjs +80 -49
  939. package/lib/framework.mjs.map +1 -1
  940. package/lib/iconsets/fa-svg.d.ts +55 -0
  941. package/lib/iconsets/fa-svg.mjs.map +1 -1
  942. package/lib/iconsets/fa.d.ts +55 -0
  943. package/lib/iconsets/fa.mjs +1 -0
  944. package/lib/iconsets/fa.mjs.map +1 -1
  945. package/lib/iconsets/fa4.d.ts +55 -0
  946. package/lib/iconsets/fa4.mjs +2 -1
  947. package/lib/iconsets/fa4.mjs.map +1 -1
  948. package/lib/iconsets/md.d.ts +55 -0
  949. package/lib/iconsets/md.mjs +2 -1
  950. package/lib/iconsets/md.mjs.map +1 -1
  951. package/lib/iconsets/mdi-svg.d.ts +55 -0
  952. package/lib/iconsets/mdi-svg.mjs +1 -1
  953. package/lib/iconsets/mdi-svg.mjs.map +1 -1
  954. package/lib/iconsets/mdi.d.ts +55 -0
  955. package/lib/iconsets/mdi.mjs +4 -3
  956. package/lib/iconsets/mdi.mjs.map +1 -1
  957. package/lib/index.d.ts +453 -0
  958. package/lib/locale/adapters/vue-i18n.mjs +62 -0
  959. package/lib/locale/adapters/vue-i18n.mjs.map +1 -0
  960. package/lib/locale/adapters/vue-intl.mjs +65 -0
  961. package/lib/locale/adapters/vue-intl.mjs.map +1 -0
  962. package/lib/locale/af.mjs +10 -3
  963. package/lib/locale/af.mjs.map +1 -1
  964. package/lib/locale/ar.mjs +10 -3
  965. package/lib/locale/ar.mjs.map +1 -1
  966. package/lib/locale/az.mjs +10 -3
  967. package/lib/locale/az.mjs.map +1 -1
  968. package/lib/locale/bg.mjs +10 -3
  969. package/lib/locale/bg.mjs.map +1 -1
  970. package/lib/locale/ca.mjs +17 -10
  971. package/lib/locale/ca.mjs.map +1 -1
  972. package/lib/locale/ckb.mjs +10 -3
  973. package/lib/locale/ckb.mjs.map +1 -1
  974. package/lib/locale/cs.mjs +11 -4
  975. package/lib/locale/cs.mjs.map +1 -1
  976. package/lib/locale/da.mjs +77 -0
  977. package/lib/locale/da.mjs.map +1 -0
  978. package/lib/locale/de.mjs +10 -3
  979. package/lib/locale/de.mjs.map +1 -1
  980. package/lib/locale/el.mjs +10 -3
  981. package/lib/locale/el.mjs.map +1 -1
  982. package/lib/locale/en.mjs +10 -3
  983. package/lib/locale/en.mjs.map +1 -1
  984. package/lib/locale/es.mjs +11 -4
  985. package/lib/locale/es.mjs.map +1 -1
  986. package/lib/locale/et.mjs +10 -3
  987. package/lib/locale/et.mjs.map +1 -1
  988. package/lib/locale/fa.mjs +10 -3
  989. package/lib/locale/fa.mjs.map +1 -1
  990. package/lib/locale/fi.mjs +10 -3
  991. package/lib/locale/fi.mjs.map +1 -1
  992. package/lib/locale/fr.mjs +12 -5
  993. package/lib/locale/fr.mjs.map +1 -1
  994. package/lib/locale/he.mjs +10 -3
  995. package/lib/locale/he.mjs.map +1 -1
  996. package/lib/locale/hr.mjs +10 -3
  997. package/lib/locale/hr.mjs.map +1 -1
  998. package/lib/locale/hu.mjs +10 -3
  999. package/lib/locale/hu.mjs.map +1 -1
  1000. package/lib/locale/id.mjs +10 -3
  1001. package/lib/locale/id.mjs.map +1 -1
  1002. package/lib/locale/index.d.ts +3321 -0
  1003. package/lib/locale/index.mjs +1 -0
  1004. package/lib/locale/index.mjs.map +1 -1
  1005. package/lib/locale/it.mjs +13 -6
  1006. package/lib/locale/it.mjs.map +1 -1
  1007. package/lib/locale/ja.mjs +10 -3
  1008. package/lib/locale/ja.mjs.map +1 -1
  1009. package/lib/locale/ko.mjs +10 -3
  1010. package/lib/locale/ko.mjs.map +1 -1
  1011. package/lib/locale/lt.mjs +10 -3
  1012. package/lib/locale/lt.mjs.map +1 -1
  1013. package/lib/locale/lv.mjs +10 -3
  1014. package/lib/locale/lv.mjs.map +1 -1
  1015. package/lib/locale/nl.mjs +10 -3
  1016. package/lib/locale/nl.mjs.map +1 -1
  1017. package/lib/locale/no.mjs +10 -3
  1018. package/lib/locale/no.mjs.map +1 -1
  1019. package/lib/locale/pl.mjs +10 -3
  1020. package/lib/locale/pl.mjs.map +1 -1
  1021. package/lib/locale/pt.mjs +10 -3
  1022. package/lib/locale/pt.mjs.map +1 -1
  1023. package/lib/locale/ro.mjs +10 -3
  1024. package/lib/locale/ro.mjs.map +1 -1
  1025. package/lib/locale/ru.mjs +10 -3
  1026. package/lib/locale/ru.mjs.map +1 -1
  1027. package/lib/locale/sk.mjs +10 -3
  1028. package/lib/locale/sk.mjs.map +1 -1
  1029. package/lib/locale/sl.mjs +10 -3
  1030. package/lib/locale/sl.mjs.map +1 -1
  1031. package/lib/locale/sr-Cyrl.mjs +10 -3
  1032. package/lib/locale/sr-Cyrl.mjs.map +1 -1
  1033. package/lib/locale/sr-Latn.mjs +10 -3
  1034. package/lib/locale/sr-Latn.mjs.map +1 -1
  1035. package/lib/locale/sv.mjs +10 -3
  1036. package/lib/locale/sv.mjs.map +1 -1
  1037. package/lib/locale/th.mjs +10 -3
  1038. package/lib/locale/th.mjs.map +1 -1
  1039. package/lib/locale/tr.mjs +10 -3
  1040. package/lib/locale/tr.mjs.map +1 -1
  1041. package/lib/locale/uk.mjs +10 -3
  1042. package/lib/locale/uk.mjs.map +1 -1
  1043. package/lib/locale/vi.mjs +10 -3
  1044. package/lib/locale/vi.mjs.map +1 -1
  1045. package/lib/locale/zh-Hans.mjs +10 -3
  1046. package/lib/locale/zh-Hans.mjs.map +1 -1
  1047. package/lib/locale/zh-Hant.mjs +10 -3
  1048. package/lib/locale/zh-Hant.mjs.map +1 -1
  1049. package/lib/services/goto/easing-patterns.mjs +0 -3
  1050. package/lib/services/goto/easing-patterns.mjs.map +1 -1
  1051. package/lib/services/goto/index.mjs +17 -17
  1052. package/lib/services/goto/index.mjs.map +1 -1
  1053. package/lib/services/goto/util.mjs +2 -2
  1054. package/lib/services/goto/util.mjs.map +1 -1
  1055. package/lib/styles/elements/_blockquote.sass +6 -4
  1056. package/lib/styles/elements/_global.sass +12 -8
  1057. package/lib/styles/elements/_index.sass +2 -6
  1058. package/lib/styles/generic/_colors.scss +43 -15
  1059. package/lib/styles/generic/_elevation.scss +3 -3
  1060. package/lib/styles/generic/_index.scss +6 -6
  1061. package/lib/styles/generic/_reset.scss +236 -226
  1062. package/lib/styles/generic/_transitions.scss +25 -73
  1063. package/lib/styles/main.css +18370 -0
  1064. package/lib/styles/main.sass +4 -5
  1065. package/lib/styles/settings/_colors.scss +431 -7
  1066. package/lib/styles/settings/_elevations.scss +4 -4
  1067. package/lib/styles/settings/_index.sass +4 -10
  1068. package/lib/styles/settings/_utilities.scss +525 -463
  1069. package/lib/styles/settings/_variables.scss +59 -64
  1070. package/lib/styles/tools/_absolute.sass +8 -0
  1071. package/lib/styles/tools/_border.sass +6 -1
  1072. package/lib/styles/tools/_density.sass +5 -9
  1073. package/lib/styles/tools/_display.sass +11 -0
  1074. package/lib/styles/tools/_elevation.sass +4 -2
  1075. package/lib/styles/tools/_functions.sass +32 -24
  1076. package/lib/styles/tools/_index.sass +17 -22
  1077. package/lib/styles/tools/_radius.sass +5 -2
  1078. package/lib/styles/tools/_rtl.sass +2 -0
  1079. package/lib/styles/tools/_sheet.sass +7 -4
  1080. package/lib/styles/tools/_states.sass +27 -10
  1081. package/lib/styles/tools/_theme.sass +3 -5
  1082. package/lib/styles/tools/_typography.sass +6 -0
  1083. package/lib/styles/tools/_utilities.sass +27 -24
  1084. package/lib/styles/tools/_variant.sass +52 -0
  1085. package/lib/styles/utilities/_display.sass +7 -6
  1086. package/lib/styles/utilities/_index.sass +24 -22
  1087. package/lib/util/anchor.mjs +56 -0
  1088. package/lib/util/anchor.mjs.map +1 -0
  1089. package/lib/util/animation.mjs +59 -0
  1090. package/lib/util/animation.mjs.map +1 -0
  1091. package/lib/util/box.mjs +44 -0
  1092. package/lib/util/box.mjs.map +1 -0
  1093. package/lib/util/color/APCA.mjs +85 -0
  1094. package/lib/util/color/APCA.mjs.map +1 -0
  1095. package/lib/util/color/transformCIELAB.mjs.map +1 -1
  1096. package/lib/util/color/transformSRGB.mjs.map +1 -1
  1097. package/lib/util/colorUtils.mjs +12 -9
  1098. package/lib/util/colorUtils.mjs.map +1 -1
  1099. package/lib/util/colors.mjs +1 -1
  1100. package/lib/util/colors.mjs.map +1 -1
  1101. package/lib/util/console.mjs +8 -7
  1102. package/lib/util/console.mjs.map +1 -1
  1103. package/lib/util/createSimpleFunctional.mjs +19 -12
  1104. package/lib/util/createSimpleFunctional.mjs.map +1 -1
  1105. package/lib/util/dateTimeUtils.mjs +3 -1
  1106. package/lib/util/dateTimeUtils.mjs.map +1 -1
  1107. package/lib/util/defineComponent.mjs +87 -0
  1108. package/lib/util/defineComponent.mjs.map +1 -0
  1109. package/lib/util/dom.mjs.map +1 -1
  1110. package/lib/util/easing.mjs +5 -0
  1111. package/lib/util/easing.mjs.map +1 -0
  1112. package/lib/util/getCurrentInstance.mjs +38 -0
  1113. package/lib/util/getCurrentInstance.mjs.map +1 -0
  1114. package/lib/util/getScrollParent.mjs +26 -0
  1115. package/lib/util/getScrollParent.mjs.map +1 -0
  1116. package/lib/util/globals.mjs +1 -3
  1117. package/lib/util/globals.mjs.map +1 -1
  1118. package/lib/util/helpers.mjs +235 -47
  1119. package/lib/util/helpers.mjs.map +1 -1
  1120. package/lib/util/index.mjs +7 -2
  1121. package/lib/util/index.mjs.map +1 -1
  1122. package/lib/util/injectSelf.mjs +12 -0
  1123. package/lib/util/injectSelf.mjs.map +1 -0
  1124. package/lib/util/isFixedPosition.mjs +12 -0
  1125. package/lib/util/isFixedPosition.mjs.map +1 -0
  1126. package/lib/util/propsFactory.mjs.map +1 -1
  1127. package/lib/util/useRender.mjs +4 -2
  1128. package/lib/util/useRender.mjs.map +1 -1
  1129. package/package.json +120 -42
  1130. package/dist/vuetify.css.map +0 -1
  1131. package/lib/components/VApp/_index.scss +0 -1
  1132. package/lib/components/VAvatar/_index.scss +0 -2
  1133. package/lib/components/VBadge/_index.scss +0 -2
  1134. package/lib/components/VBanner/_index.scss +0 -2
  1135. package/lib/components/VBtn/_index.scss +0 -3
  1136. package/lib/components/VCheckbox/VSimpleCheckbox.mjs +0 -92
  1137. package/lib/components/VCheckbox/VSimpleCheckbox.mjs.map +0 -1
  1138. package/lib/components/VCheckbox/VSimpleCheckbox.sass +0 -16
  1139. package/lib/components/VDataTable/VSimpleTable.mjs +0 -48
  1140. package/lib/components/VDataTable/VSimpleTable.mjs.map +0 -1
  1141. package/lib/components/VDataTable/VSimpleTable.sass +0 -179
  1142. package/lib/components/VDivider/_index.scss +0 -2
  1143. package/lib/components/VExpansionPanel/VExpansionPanelContent.mjs +0 -47
  1144. package/lib/components/VExpansionPanel/VExpansionPanelContent.mjs.map +0 -1
  1145. package/lib/components/VExpansionPanel/VExpansionPanelHeader.mjs +0 -112
  1146. package/lib/components/VExpansionPanel/VExpansionPanelHeader.mjs.map +0 -1
  1147. package/lib/components/VFooter/_index.scss +0 -2
  1148. package/lib/components/VGrid/_index.scss +0 -2
  1149. package/lib/components/VIcon/_index.scss +0 -2
  1150. package/lib/components/VImg/_index.scss +0 -2
  1151. package/lib/components/VLayout/_index.scss +0 -1
  1152. package/lib/components/VList/VListGroup.sass +0 -111
  1153. package/lib/components/VList/VListItemAvatar.mjs +0 -36
  1154. package/lib/components/VList/VListItemAvatar.mjs.map +0 -1
  1155. package/lib/components/VList/VListItemGroup.mjs +0 -41
  1156. package/lib/components/VList/VListItemGroup.mjs.map +0 -1
  1157. package/lib/components/VList/VListItemGroup.sass +0 -5
  1158. package/lib/components/VList/VListItemIcon.mjs +0 -21
  1159. package/lib/components/VList/VListItemIcon.mjs.map +0 -1
  1160. package/lib/components/VList/_mixins.sass +0 -18
  1161. package/lib/components/VMain/_index.scss +0 -2
  1162. package/lib/components/VNavigationDrawer/_index.scss +0 -2
  1163. package/lib/components/VParallax/_variables.scss +0 -4
  1164. package/lib/components/VRadioGroup/VRadio.mjs +0 -179
  1165. package/lib/components/VRadioGroup/VRadio.mjs.map +0 -1
  1166. package/lib/components/VRadioGroup/VRadio.sass +0 -25
  1167. package/lib/components/VRangeSlider/VRangeSlider.sass +0 -19
  1168. package/lib/components/VResponsive/_index.scss +0 -1
  1169. package/lib/components/VSelect/VSelectList.mjs +0 -251
  1170. package/lib/components/VSelect/VSelectList.mjs.map +0 -1
  1171. package/lib/components/VSheet/_index.scss +0 -2
  1172. package/lib/components/VSlideGroup/VSlideItem.mjs +0 -14
  1173. package/lib/components/VSlideGroup/VSlideItem.mjs.map +0 -1
  1174. package/lib/components/VSubheader/VSubheader.mjs +0 -31
  1175. package/lib/components/VSubheader/VSubheader.mjs.map +0 -1
  1176. package/lib/components/VSubheader/VSubheader.sass +0 -15
  1177. package/lib/components/VSubheader/_variables.scss +0 -6
  1178. package/lib/components/VSubheader/index.mjs +0 -4
  1179. package/lib/components/VSubheader/index.mjs.map +0 -1
  1180. package/lib/components/VSystemBar/_index.scss +0 -2
  1181. package/lib/components/VTabs/VTabItem.mjs +0 -23
  1182. package/lib/components/VTabs/VTabItem.mjs.map +0 -1
  1183. package/lib/components/VTabs/VTabsBar.mjs +0 -86
  1184. package/lib/components/VTabs/VTabsBar.mjs.map +0 -1
  1185. package/lib/components/VTabs/VTabsItems.mjs +0 -37
  1186. package/lib/components/VTabs/VTabsItems.mjs.map +0 -1
  1187. package/lib/components/VTabs/VTabsSlider.mjs +0 -20
  1188. package/lib/components/VTabs/VTabsSlider.mjs.map +0 -1
  1189. package/lib/components/VTextField/_mixins.sass +0 -18
  1190. package/lib/components/VToolbar/_index.scss +0 -2
  1191. package/lib/entry.mjs +0 -4
  1192. package/lib/entry.mjs.map +0 -1
  1193. package/lib/globals.d.mjs +0 -2
  1194. package/lib/globals.d.mjs.map +0 -1
  1195. package/lib/mixins/activatable/index.mjs +0 -196
  1196. package/lib/mixins/activatable/index.mjs.map +0 -1
  1197. package/lib/mixins/applicationable/index.mjs +0 -72
  1198. package/lib/mixins/applicationable/index.mjs.map +0 -1
  1199. package/lib/mixins/binds-attrs/index.mjs +0 -42
  1200. package/lib/mixins/binds-attrs/index.mjs.map +0 -1
  1201. package/lib/mixins/bootable/index.mjs +0 -54
  1202. package/lib/mixins/bootable/index.mjs.map +0 -1
  1203. package/lib/mixins/button-group/index.mjs +0 -28
  1204. package/lib/mixins/button-group/index.mjs.map +0 -1
  1205. package/lib/mixins/colorable/index.mjs +0 -78
  1206. package/lib/mixins/colorable/index.mjs.map +0 -1
  1207. package/lib/mixins/comparable/index.mjs +0 -15
  1208. package/lib/mixins/comparable/index.mjs.map +0 -1
  1209. package/lib/mixins/dependent/index.mjs +0 -73
  1210. package/lib/mixins/dependent/index.mjs.map +0 -1
  1211. package/lib/mixins/detachable/index.mjs +0 -128
  1212. package/lib/mixins/detachable/index.mjs.map +0 -1
  1213. package/lib/mixins/elevatable/index.mjs +0 -26
  1214. package/lib/mixins/elevatable/index.mjs.map +0 -1
  1215. package/lib/mixins/filterable/index.mjs +0 -16
  1216. package/lib/mixins/filterable/index.mjs.map +0 -1
  1217. package/lib/mixins/intersectable/index.mjs +0 -53
  1218. package/lib/mixins/intersectable/index.mjs.map +0 -1
  1219. package/lib/mixins/loadable/index.mjs +0 -45
  1220. package/lib/mixins/loadable/index.mjs.map +0 -1
  1221. package/lib/mixins/localable/index.mjs +0 -17
  1222. package/lib/mixins/localable/index.mjs.map +0 -1
  1223. package/lib/mixins/menuable/index.mjs +0 -361
  1224. package/lib/mixins/menuable/index.mjs.map +0 -1
  1225. package/lib/mixins/mobile/index.mjs +0 -50
  1226. package/lib/mixins/mobile/index.mjs.map +0 -1
  1227. package/lib/mixins/overlayable/index.mjs +0 -201
  1228. package/lib/mixins/overlayable/index.mjs.map +0 -1
  1229. package/lib/mixins/picker/index.mjs +0 -75
  1230. package/lib/mixins/picker/index.mjs.map +0 -1
  1231. package/lib/mixins/picker-button/index.mjs +0 -35
  1232. package/lib/mixins/picker-button/index.mjs.map +0 -1
  1233. package/lib/mixins/proxyable/index.mjs +0 -50
  1234. package/lib/mixins/proxyable/index.mjs.map +0 -1
  1235. package/lib/mixins/returnable/index.mjs +0 -36
  1236. package/lib/mixins/returnable/index.mjs.map +0 -1
  1237. package/lib/mixins/rippleable/index.mjs +0 -35
  1238. package/lib/mixins/rippleable/index.mjs.map +0 -1
  1239. package/lib/mixins/roundable/index.mjs +0 -37
  1240. package/lib/mixins/roundable/index.mjs.map +0 -1
  1241. package/lib/mixins/routable/index.mjs +0 -146
  1242. package/lib/mixins/routable/index.mjs.map +0 -1
  1243. package/lib/mixins/selectable/index.mjs +0 -167
  1244. package/lib/mixins/selectable/index.mjs.map +0 -1
  1245. package/lib/mixins/stackable/index.mjs +0 -55
  1246. package/lib/mixins/stackable/index.mjs.map +0 -1
  1247. package/lib/mixins/themeable/index.mjs +0 -111
  1248. package/lib/mixins/themeable/index.mjs.map +0 -1
  1249. package/lib/mixins/toggleable/index.mjs +0 -40
  1250. package/lib/mixins/toggleable/index.mjs.map +0 -1
  1251. package/lib/mixins/transitionable/index.mjs +0 -13
  1252. package/lib/mixins/transitionable/index.mjs.map +0 -1
  1253. package/lib/mixins/translatable/index.mjs +0 -59
  1254. package/lib/mixins/translatable/index.mjs.map +0 -1
  1255. package/lib/mixins/validatable/index.mjs +0 -263
  1256. package/lib/mixins/validatable/index.mjs.map +0 -1
  1257. package/lib/presets/default/index.mjs +0 -71
  1258. package/lib/presets/default/index.mjs.map +0 -1
  1259. package/lib/services/application/index.mjs +0 -44
  1260. package/lib/services/application/index.mjs.map +0 -1
  1261. package/lib/services/breakpoint/index.mjs +0 -151
  1262. package/lib/services/breakpoint/index.mjs.map +0 -1
  1263. package/lib/services/index.mjs +0 -10
  1264. package/lib/services/index.mjs.map +0 -1
  1265. package/lib/services/lang/index.mjs +0 -69
  1266. package/lib/services/lang/index.mjs.map +0 -1
  1267. package/lib/services/service/index.mjs +0 -8
  1268. package/lib/services/service/index.mjs.map +0 -1
  1269. package/lib/styles/components/_index.sass +0 -1
  1270. package/lib/styles/components/_selection-controls.sass +0 -119
  1271. package/lib/styles/elements/_code.sass +0 -23
  1272. package/lib/styles/elements/_headings.sass +0 -8
  1273. package/lib/styles/elements/_lists.sass +0 -3
  1274. package/lib/styles/elements/_typography.sass +0 -88
  1275. package/lib/styles/settings/_dark.scss +0 -145
  1276. package/lib/styles/settings/_light.scss +0 -126
  1277. package/lib/styles/settings/_theme.scss +0 -1
  1278. package/lib/styles/styles.sass +0 -2
  1279. package/lib/styles/utilities/_text.sass +0 -8
  1280. package/lib/util/makeProps.mjs +0 -52
  1281. package/lib/util/makeProps.mjs.map +0 -1
  1282. package/lib/util/useDirective.mjs +0 -7
  1283. package/lib/util/useDirective.mjs.map +0 -1
  1284. package/types/.npmignore +0 -2
  1285. package/types/alacarte.d.ts +0 -49
  1286. package/types/colors.d.ts +0 -107
  1287. package/types/index.d.ts +0 -300
  1288. package/types/lib.d.ts +0 -380
  1289. package/types/services/application.d.ts +0 -27
  1290. package/types/services/breakpoint.d.ts +0 -45
  1291. package/types/services/goto.d.ts +0 -31
  1292. package/types/services/icons.d.ts +0 -71
  1293. package/types/services/index.d.ts +0 -16
  1294. package/types/services/lang.d.ts +0 -19
  1295. package/types/services/theme.d.ts +0 -83
@@ -1,10 +1,10 @@
1
1
  // @ts-nocheck
2
2
 
3
3
  /* eslint-disable */
4
- import "./VDatePickerYears.sass"; // Mixins
4
+ import "./VDatePickerYears.css"; // Mixins
5
5
 
6
- import Colorable from "../../mixins/colorable/index.mjs";
7
- import Localable from "../../mixins/localable/index.mjs"; // Utils
6
+ import Colorable from "../../mixins/colorable.mjs";
7
+ import Localable from "../../mixins/localable.mjs"; // Utils
8
8
 
9
9
  import { createItemTypeNativeListeners, createNativeLocaleFormatter } from "./util/index.mjs";
10
10
  import { mergeListeners } from "../../util/mergeData.mjs";
@@ -58,7 +58,7 @@ export default mixins(Colorable, Localable
58
58
 
59
59
  methods: {
60
60
  genYearItem(year) {
61
- const formatted = this.formatter("".concat(year));
61
+ const formatted = this.formatter(`${year}`);
62
62
  const active = parseInt(this.value, 10) === year;
63
63
  const color = active && (this.color || 'primary');
64
64
  return this.$createElement('li', this.setTextColor(color, {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/VDatePicker/VDatePickerYears.ts"],"names":["Colorable","Localable","createItemTypeNativeListeners","createNativeLocaleFormatter","mergeListeners","mixins","extend","name","props","format","Function","min","Number","String","max","readonly","Boolean","value","data","defaultColor","computed","formatter","currentLocale","year","timeZone","length","mounted","setTimeout","activeItem","$el","getElementsByClassName","scrollTop","offsetTop","offsetHeight","scrollHeight","methods","genYearItem","formatted","active","parseInt","color","$createElement","setTextColor","key","class","on","click","$emit","genYearItems","children","selectedYear","Date","getFullYear","maxYear","minYear","Math","push","render","staticClass","ref"],"mappings":"AAAA;;AACA;AAEA,iC,CAEA;;OACOA,S;OACAC,S,0CAEP;;SAEEC,6B,EACAC,2B;SAEOC,c;OACFC,M,+BAEP;;AAQA,eAAeA,MAAM,CAQnBL,SARmB,EASnBC;AACF;AAVqB,CAAN,CAWbK,MAXa,CAWN;AACPC,EAAAA,IAAI,EAAE,qBADC;AAGPC,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAEC,QADH;AAELC,IAAAA,GAAG,EAAE,CAACC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AtE,CAAhB;;AAEA,WAAK,IAAI3B,IAAI,GAAG8B,OAAhB,EAAyB9B,IAAI,IAAI+B,OAAjC,EAA0C/B,IAAI,EAA9C,EAAkD;AAChD0B,QAAAA,QAAQ,CAACO,IAAT,CAAc,KAAKpB,WAAL,CAAiBb,IAAjB,CAAd;AACD;;AAED,aAAO0B,QAAP;AACD;;AA1BM,GAtCF;;AAmEPQ,EAAAA,MAAM,GAAW;AACf,WAAO,KAAKhB,cAAL,CAAoB,IAApB,EAA0B;AAC/BiB,MAAAA,WAAW,EAAE,qBADkB;AAE/BC,MAAAA,GAAG,EAAE;AAF0B,KAA1B,EAGJ,KAAKX,YAAL,EAHI,CAAP;AAID;;AAxEM,CAXM,CAAf","sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\nimport './VDatePickerYears.sass'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport Localable from '../../mixins/localable'\n\n// Utils\nimport {\n createItemTypeNativeListeners,\n createNativeLocaleFormatter,\n} from './util'\nimport { mergeListeners } from '../../util/mergeData'\nimport mixins, { ExtractVue } from '../../util/mixins'\n\n// Types\nimport Vue, { VNode, PropType } from 'vue'\nimport { DatePickerFormatter } from 'vuetify/types'\n\ninterface options extends Vue {\n $el: HTMLElement\n}\n\nexport default mixins<options &\n/* eslint-disable indent */\n ExtractVue<[\n typeof Colorable,\n typeof Localable\n ]>\n/* eslint-enable indent */\n>(\n Colorable,\n Localable\n/* @vue/component */\n).extend({\n name: 'v-date-picker-years',\n\n props: {\n format: Function as PropType<DatePickerFormatter | undefined>,\n min: [Number, String],\n max: [Number, String],\n readonly: Boolean,\n value: [Number, String],\n },\n\n data () {\n return {\n defaultColor: 'primary',\n }\n },\n\n computed: {\n formatter (): DatePickerFormatter {\n return this.format || createNativeLocaleFormatter(this.currentLocale, { year: 'numeric', timeZone: 'UTC' }, { length: 4 })\n },\n },\n\n mounted () {\n setTimeout(() => {\n const activeItem = this.$el.getElementsByClassName('active')[0]\n if (activeItem) {\n this.$el.scrollTop = activeItem.offsetTop - this.$el.offsetHeight / 2 + activeItem.offsetHeight / 2\n } else if (this.min && !this.max) {\n this.$el.scrollTop = this.$el.scrollHeight\n } else if (!this.min && this.max) {\n this.$el.scrollTop = 0\n } else {\n this.$el.scrollTop = this.$el.scrollHeight / 2 - this.$el.offsetHeight / 2\n }\n })\n },\n\n methods: {\n genYearItem (year: number): VNode {\n const formatted = this.formatter(`${year}`)\n const active = parseInt(this.value, 10) === year\n const color = active && (this.color || 'primary')\n\n return this.$createElement('li', this.setTextColor(color, {\n key: year,\n class: { active },\n on: mergeListeners({\n click: () => this.$emit('input', year),\n }, createItemTypeNativeListeners(this, ':year', year)),\n }), formatted)\n },\n\n genYearItems (): VNode[] {\n const children = []\n const selectedYear = this.value ? parseInt(this.value, 10) : new Date().getFullYear()\n const maxYear = this.max ? parseInt(this.max, 10) : (selectedYear + 100)\n const minYear = Math.min(maxYear, this.min ? parseInt(this.min, 10) : (selectedYear - 100))\n\n for (let year = maxYear; year >= minYear; year--) {\n children.push(this.genYearItem(year))\n }\n\n return children\n },\n },\n\n render (): VNode {\n return this.$createElement('ul', {\n staticClass: 'v-date-picker-years',\n ref: 'years',\n }, this.genYearItems())\n },\n})\n"],"file":"VDatePickerYears.mjs"}
1
+ {"version":3,"file":"VDatePickerYears.mjs","names":["Colorable","Localable","createItemTypeNativeListeners","createNativeLocaleFormatter","mergeListeners","mixins","extend","name","props","format","Function","min","Number","String","max","readonly","Boolean","value","data","defaultColor","computed","formatter","currentLocale","year","timeZone","length","mounted","setTimeout","activeItem","$el","getElementsByClassName","scrollTop","offsetTop","offsetHeight","scrollHeight","methods","genYearItem","formatted","active","parseInt","color","$createElement","setTextColor","key","class","on","click","$emit","genYearItems","children","selectedYear","Date","getFullYear","maxYear","minYear","Math","push","render","staticClass","ref"],"sources":["../../../src/components/VDatePicker/VDatePickerYears.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\nimport './VDatePickerYears.sass'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport Localable from '../../mixins/localable'\n\n// Utils\nimport {\n createItemTypeNativeListeners,\n createNativeLocaleFormatter,\n} from './util'\nimport { mergeListeners } from '../../util/mergeData'\nimport mixins, { ExtractVue } from '../../util/mixins'\n\n// Types\nimport Vue, { VNode, PropType } from 'vue'\nimport { DatePickerFormatter } from 'vuetify/types'\n\ninterface options extends Vue {\n $el: HTMLElement\n}\n\nexport default mixins<options &\n/* eslint-disable indent */\n ExtractVue<[\n typeof Colorable,\n typeof Localable\n ]>\n/* eslint-enable indent */\n>(\n Colorable,\n Localable\n/* @vue/component */\n).extend({\n name: 'v-date-picker-years',\n\n props: {\n format: Function as PropType<DatePickerFormatter | undefined>,\n min: [Number, String],\n max: [Number, String],\n readonly: Boolean,\n value: [Number, String],\n },\n\n data () {\n return {\n defaultColor: 'primary',\n }\n },\n\n computed: {\n formatter (): DatePickerFormatter {\n return this.format || createNativeLocaleFormatter(this.currentLocale, { year: 'numeric', timeZone: 'UTC' }, { length: 4 })\n },\n },\n\n mounted () {\n setTimeout(() => {\n const activeItem = this.$el.getElementsByClassName('active')[0]\n if (activeItem) {\n this.$el.scrollTop = activeItem.offsetTop - this.$el.offsetHeight / 2 + activeItem.offsetHeight / 2\n } else if (this.min && !this.max) {\n this.$el.scrollTop = this.$el.scrollHeight\n } else if (!this.min && this.max) {\n this.$el.scrollTop = 0\n } else {\n this.$el.scrollTop = this.$el.scrollHeight / 2 - this.$el.offsetHeight / 2\n }\n })\n },\n\n methods: {\n genYearItem (year: number): VNode {\n const formatted = this.formatter(`${year}`)\n const active = parseInt(this.value, 10) === year\n const color = active && (this.color || 'primary')\n\n return this.$createElement('li', this.setTextColor(color, {\n key: year,\n class: { active },\n on: mergeListeners({\n click: () => this.$emit('input', year),\n }, createItemTypeNativeListeners(this, ':year', year)),\n }), formatted)\n },\n\n genYearItems (): VNode[] {\n const children = []\n const selectedYear = this.value ? parseInt(this.value, 10) : new Date().getFullYear()\n const maxYear = this.max ? parseInt(this.max, 10) : (selectedYear + 100)\n const minYear = Math.min(maxYear, this.min ? parseInt(this.min, 10) : (selectedYear - 100))\n\n for (let year = maxYear; year >= minYear; year--) {\n children.push(this.genYearItem(year))\n }\n\n return children\n },\n },\n\n render (): VNode {\n return this.$createElement('ul', {\n staticClass: 'v-date-picker-years',\n ref: 'years',\n }, this.genYearItems())\n },\n})\n"],"mappings":"AAAA;;AACA;AAEA,gC,CAEA;;OACOA,S;OACAC,S,oCAEP;;SAEEC,6B,EACAC,2B;SAEOC,c;OACFC,M,+BAEP;;AAQA,eAAeA,MAAM,CAQnBL,SARmB,EASnBC;AACF;AAVqB,CAAN,CAWbK,MAXa,CAWN;EACPC,IAAI,EAAE,qBADC;EAGPC,KAAK,EAAE;IACLC,MAAM,EAAEC,QADH;IAELC,GAAG,EAAE,CAACC,MAAD,EAASC,MAAT,CAFA;IAGLC,GAAG,EAAE,CAACF,MAAD,EAASC,MAAT,CAHA;IAILE,QAAQ,EAAEC,OAJL;IAKLC,KAAK,EAAE,CAACL,MAAD,EAASC,MAAT;EALF,CAHA;;EAWPK,IAAI,GAAI;IACN,OAAO;MACLC,YAAY,EAAE;IADT,CAAP;EAGD,CAfM;;EAiBPC,QAAQ,EAAE;IACRC,SAAS,GAAyB;MAChC,OAAO,KAAKZ,MAAL,IAAeN,2BAA2B,CAAC,KAAKmB,aAAN,EAAqB;QAAEC,IAAI,EAAE,SAAR;QAAmBC,QAAQ,EAAE;MAA7B,CAArB,EAA2D;QAAEC,MAAM,EAAE;MAAV,CAA3D,CAAjD;IACD;;EAHO,CAjBH;;EAuBPC,OAAO,GAAI;IACTC,UAAU,CAAC,MAAM;MACf,MAAMC,UAAU,GAAG,KAAKC,GAAL,CAASC,sBAAT,CAAgC,QAAhC,EAA0C,CAA1C,CAAnB;;MACA,IAAIF,UAAJ,EAAgB;QACd,KAAKC,GAAL,CAASE,SAAT,GAAqBH,UAAU,CAACI,SAAX,GAAuB,KAAKH,GAAL,CAASI,YAAT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,KAAL,GAAasB,QAAQ,CAAC,KAAKtB,KAAN,EAAa,EAAb,CAArB,GAAwC,IAAIkC,IAAJ,GAAWC,WAAX,EAA7D;MACA,MAAMC,OAAO,GAAG,KAAKvC,GAAL,GAAWyB,QAAQ,CAAC,KAAKzB,GAAN,EAAW,EAAX,CAAnB,GAAqCoC,YAAY,GAAG,GAApE;MACA,MAAMI,OAAO,GAAGC,IAAI,CAAC5C,GAAL,CAAS0C,OAAT,EAAkB,KAAK1C,GAAL,GAAW4B,QAAQ,CAAC,KAAK5B,GAAN,EAAW,EAAX,CAAnB,GAAqCuC,YAAY,GAAG,GAAtE,CAAhB;;MAEA,KAAK,IAAI3B,IAAI,GAAG8B,OAAhB,EAAyB9B,IAAI,IAAI+B,OAAjC,EAA0C/B,IAAI,EAA9C,EAAkD;QAChD0B,QAAQ,CAACO,IAAT,CAAc,KAAKpB,WAAL,CAAiBb,IAAjB,CAAd;MACD;;MAED,OAAO0B,QAAP;IACD;;EA1BM,CAtCF;;EAmEPQ,MAAM,GAAW;IACf,OAAO,KAAKhB,cAAL,CAAoB,IAApB,EAA0B;MAC/BiB,WAAW,EAAE,qBADkB;MAE/BC,GAAG,EAAE;IAF0B,CAA1B,EAGJ,KAAKX,YAAL,EAHI,CAAP;EAID;;AAxEM,CAXM,CAAf"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/VDatePicker/index.ts"],"names":["VDatePicker","VDatePickerTitle","VDatePickerHeader","VDatePickerDateTable","VDatePickerMonthTable","VDatePickerYears","$_vuetify_subcomponents"],"mappings":"OAAOA,W;OACAC,gB;OACAC,iB;OACAC,oB;OACAC,qB;OACAC,gB;AAEP,SACEL,WADF,EAEEC,gBAFF,EAGEC,iBAHF,EAIEC,oBAJF,EAKEC,qBALF,EAMEC,gBANF;AASA,eAAe;AACbC,EAAAA,uBAAuB,EAAE;AACvBN,IAAAA,WADuB;AAEvBC,IAAAA,gBAFuB;AAGvBC,IAAAA,iBAHuB;AAIvBC,IAAAA,oBAJuB;AAKvBC,IAAAA,qBALuB;AAMvBC,IAAAA;AANuB;AADZ,CAAf","sourcesContent":["import VDatePicker from './VDatePicker'\nimport VDatePickerTitle from './VDatePickerTitle'\nimport VDatePickerHeader from './VDatePickerHeader'\nimport VDatePickerDateTable from './VDatePickerDateTable'\nimport VDatePickerMonthTable from './VDatePickerMonthTable'\nimport VDatePickerYears from './VDatePickerYears'\n\nexport {\n VDatePicker,\n VDatePickerTitle,\n VDatePickerHeader,\n VDatePickerDateTable,\n VDatePickerMonthTable,\n VDatePickerYears,\n}\n\nexport default {\n $_vuetify_subcomponents: {\n VDatePicker,\n VDatePickerTitle,\n VDatePickerHeader,\n VDatePickerDateTable,\n VDatePickerMonthTable,\n VDatePickerYears,\n },\n}\n"],"file":"index.mjs"}
1
+ {"version":3,"file":"index.mjs","names":["VDatePicker","VDatePickerTitle","VDatePickerHeader","VDatePickerDateTable","VDatePickerMonthTable","VDatePickerYears","$_vuetify_subcomponents"],"sources":["../../../src/components/VDatePicker/index.ts"],"sourcesContent":["import VDatePicker from './VDatePicker'\nimport VDatePickerTitle from './VDatePickerTitle'\nimport VDatePickerHeader from './VDatePickerHeader'\nimport VDatePickerDateTable from './VDatePickerDateTable'\nimport VDatePickerMonthTable from './VDatePickerMonthTable'\nimport VDatePickerYears from './VDatePickerYears'\n\nexport {\n VDatePicker,\n VDatePickerTitle,\n VDatePickerHeader,\n VDatePickerDateTable,\n VDatePickerMonthTable,\n VDatePickerYears,\n}\n\nexport default {\n $_vuetify_subcomponents: {\n VDatePicker,\n VDatePickerTitle,\n VDatePickerHeader,\n VDatePickerDateTable,\n VDatePickerMonthTable,\n VDatePickerYears,\n },\n}\n"],"mappings":"OAAOA,W;OACAC,gB;OACAC,iB;OACAC,oB;OACAC,qB;OACAC,gB;AAEP,SACEL,WADF,EAEEC,gBAFF,EAGEC,iBAHF,EAIEC,oBAJF,EAKEC,qBALF,EAMEC,gBANF;AASA,eAAe;EACbC,uBAAuB,EAAE;IACvBN,WADuB;IAEvBC,gBAFuB;IAGvBC,iBAHuB;IAIvBC,oBAJuB;IAKvBC,qBALuB;IAMvBC;EANuB;AADZ,CAAf"}
@@ -1,13 +1,13 @@
1
1
  // @ts-nocheck
2
2
 
3
3
  /* eslint-disable */
4
- import "../VDatePickerTable.sass"; // Directives
4
+ import "../VDatePickerTable.css"; // Directives
5
5
 
6
6
  import Touch from "../../../directives/touch/index.mjs"; // Mixins
7
7
 
8
- import Colorable from "../../../mixins/colorable/index.mjs";
9
- import Localable from "../../../mixins/localable/index.mjs";
10
- import Themeable from "../../../mixins/themeable/index.mjs"; // Utils
8
+ import Colorable from "../../../mixins/colorable.mjs";
9
+ import Localable from "../../../mixins/localable.mjs";
10
+ import Themeable from "../../../mixins/themeable.mjs"; // Utils
11
11
 
12
12
  import { createItemTypeNativeListeners, sanitizeDateString } from "../util/index.mjs";
13
13
  import isDateAllowed from "../util/isDateAllowed.mjs";
@@ -75,7 +75,7 @@ export default mixins(Colorable, Localable, Themeable
75
75
  },
76
76
 
77
77
  methods: {
78
- genButtonClasses(isAllowed, isFloating, isSelected, isCurrent) {
78
+ genButtonClasses(isAllowed, isFloating, isSelected, isCurrent, isFirst, isLast) {
79
79
  return {
80
80
  'v-size--default': !isFloating,
81
81
  'v-date-picker-table__current': isCurrent,
@@ -85,6 +85,8 @@ export default mixins(Colorable, Localable, Themeable
85
85
  'v-btn--rounded': isFloating,
86
86
  'v-btn--disabled': !isAllowed || this.disabled,
87
87
  'v-btn--outlined': isCurrent && !isSelected,
88
+ 'v-date-picker--first-in-range': isFirst,
89
+ 'v-date-picker--last-in-range': isLast,
88
90
  ...this.themeClasses
89
91
  };
90
92
  },
@@ -95,18 +97,27 @@ export default mixins(Colorable, Localable, Themeable
95
97
  click: () => {
96
98
  if (isAllowed && !this.readonly) this.$emit('input', value);
97
99
  }
98
- }, createItemTypeNativeListeners(this, ":".concat(mouseEventType), value));
100
+ }, createItemTypeNativeListeners(this, `:${mouseEventType}`, value));
99
101
  },
100
102
 
101
- genButton(value, isFloating, mouseEventType, formatter, isOtherMonth = false) {
103
+ genButton(value, isFloating, mouseEventType, formatter) {
104
+ let isOtherMonth = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
102
105
  const isAllowed = isDateAllowed(value, this.min, this.max, this.allowedDates);
103
106
  const isSelected = this.isSelected(value) && isAllowed;
104
107
  const isCurrent = value === this.current;
105
108
  const setColor = isSelected ? this.setBackgroundColor : this.setTextColor;
106
109
  const color = (isSelected || isCurrent) && (this.color || 'accent');
110
+ let isFirst = false;
111
+ let isLast = false;
112
+
113
+ if (this.range && !!this.value && Array.isArray(this.value)) {
114
+ isFirst = value === this.value[0];
115
+ isLast = value === this.value[this.value.length - 1];
116
+ }
117
+
107
118
  return this.$createElement('button', setColor(color, {
108
119
  staticClass: 'v-btn',
109
- class: this.genButtonClasses(isAllowed && !isOtherMonth, isFloating, isSelected, isCurrent),
120
+ class: this.genButtonClasses(isAllowed && !isOtherMonth, isFloating, isSelected, isCurrent, isFirst, isLast),
110
121
  attrs: {
111
122
  type: 'button'
112
123
  },
@@ -163,7 +174,7 @@ export default mixins(Colorable, Localable, Themeable
163
174
  const tableDate = calculateTableDate(value); // tableDate is 'YYYY-MM' for DateTable and 'YYYY' for MonthTable
164
175
 
165
176
  const sanitizeType = tableDate.split('-').length === 1 ? 'year' : 'month';
166
- return value === 0 || value < 0 && (this.min ? tableDate >= sanitizeDateString(this.min, sanitizeType) : true) || value > 0 && (this.max ? tableDate <= sanitizeDateString(this.max, sanitizeType) : true);
177
+ return value < 0 && (this.min ? tableDate >= sanitizeDateString(this.min, sanitizeType) : true) || value > 0 && (this.max ? tableDate <= sanitizeDateString(this.max, sanitizeType) : true);
167
178
  },
168
179
 
169
180
  wheel(e, calculateTableDate) {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/VDatePicker/mixins/date-picker-table.ts"],"names":["Touch","Colorable","Localable","Themeable","createItemTypeNativeListeners","sanitizeDateString","isDateAllowed","mergeListeners","mixins","throttle","extend","directives","props","allowedDates","Function","current","String","disabled","Boolean","format","events","type","Array","Object","default","eventColor","min","max","range","readonly","scrollable","tableDate","required","value","data","isReversing","wheelThrottle","computed","computedTransition","$vuetify","rtl","displayedMonth","Number","split","displayedYear","watch","newVal","oldVal","mounted","wheel","methods","genButtonClasses","isAllowed","isFloating","isSelected","isCurrent","themeClasses","genButtonEvents","mouseEventType","undefined","click","$emit","genButton","formatter","isOtherMonth","setColor","setBackgroundColor","setTextColor","color","$createElement","staticClass","class","attrs","domProps","on","genEvents","getEventColors","date","arrayize","v","isArray","eventData","eventColors","includes","filter","length","map","isValidScroll","calculateTableDate","sanitizeType","e","deltaY","touch","genTable","children","transition","name","key","touchDirective","left","offsetX","right","preventDefault","from","to","sort","indexOf"],"mappings":"AAAA;;AACA;AAEA,kC,CAEA;;OACOA,K,6CAEP;;OACOC,S;OACAC,S;OACAC,S,6CAEP;;SACSC,6B,EAA+BC,kB;OACjCC,a;SACEC,c;OACFC,M;SACEC,Q,qCAET;;AAiBA,eAAeD,MAAM,CACnBP,SADmB,EAEnBC,SAFmB,EAGnBC;AACF;AAJqB,CAAN,CAKbO,MALa,CAKN;AACPC,EAAAA,UAAU,EAAE;AAAEX,IAAAA;AAAF,GADL;AAGPY,EAAAA,KAAK,EAAE;AACLC,IAAAA,YAAY,EAAEC,QADT;AAELC,IAAAA,OAAO,EAAEC,MAFJ;AAGLC,IAAAA,QAAQ,EAAEC,OAHL;AAILC,IAAAA,MAAM,EAAEL,QAJH;AAKLM,IAAAA,MAAM,EAAE;AACNC,MAAAA,IAAI,EAAE,CAACC,KAAD,EAAQR,QAAR,EAAkBS,MAAlB,CADA;AAENC,MAAAA,OAAO,EAAE,MAAM;AAFT,KALH;AASLC,IAAAA,UAAU,EAAE;AACVJ,MAAAA,IAAI,EAAE,CAACC,KAAD,EAAQR,QAAR,EAAkBS,MAAlB,EAA0BP,MAA1B,CADI;AAEVQ,MAAAA,OAAO,EAAE,MAAM;AAFL,K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AA0B;AAClC,UAAIX,KAAK,CAAC0D,OAAN,CAAc,KAAK/C,KAAnB,CAAJ,EAA+B;AAC7B,YAAI,KAAKL,KAAL,IAAc,KAAKK,KAAL,CAAWoD,MAAX,KAAsB,CAAxC,EAA2C;AACzC,gBAAM,CAACkB,IAAD,EAAOC,EAAP,IAAa,CAAC,GAAG,KAAKvE,KAAT,EAAgBwE,IAAhB,EAAnB;AACA,iBAAOF,IAAI,IAAItE,KAAR,IAAiBA,KAAK,IAAIuE,EAAjC;AACD,SAHD,MAGO;AACL,iBAAO,KAAKvE,KAAL,CAAWyE,OAAX,CAAmBzE,KAAnB,MAA8B,CAAC,CAAtC;AACD;AACF;;AAED,aAAOA,KAAK,KAAK,KAAKA,KAAtB;AACD;;AA5IM;AAvDF,CALM,CAAf","sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\nimport '../VDatePickerTable.sass'\n\n// Directives\nimport Touch from '../../../directives/touch'\n\n// Mixins\nimport Colorable from '../../../mixins/colorable'\nimport Localable from '../../../mixins/localable'\nimport Themeable from '../../../mixins/themeable'\n\n// Utils\nimport { createItemTypeNativeListeners, sanitizeDateString } from '../util'\nimport isDateAllowed from '../util/isDateAllowed'\nimport { mergeListeners } from '../../../util/mergeData'\nimport mixins from '../../../util/mixins'\nimport { throttle } from '../../../util/helpers'\n\n// Types\nimport {\n PropType,\n VNodeChildren,\n} from 'vue'\nimport { PropValidator } from 'vue/types/options'\nimport {\n DatePickerAllowedDatesFunction,\n DatePickerEventColors,\n DatePickerEventColorValue,\n DatePickerEvents,\n DatePickerFormatter,\n TouchWrapper,\n} from 'vuetify/types'\n\ntype CalculateTableDateFunction = (v: number) => string\n\nexport default mixins(\n Colorable,\n Localable,\n Themeable\n/* @vue/component */\n).extend({\n directives: { Touch },\n\n props: {\n allowedDates: Function as PropType<DatePickerAllowedDatesFunction | undefined>,\n current: String,\n disabled: Boolean,\n format: Function as PropType<DatePickerFormatter | undefined>,\n events: {\n type: [Array, Function, Object],\n default: () => null,\n } as PropValidator<DatePickerEvents | null>,\n eventColor: {\n type: [Array, Function, Object, String],\n default: () => 'warning',\n } as PropValidator<DatePickerEventColors>,\n min: String,\n max: String,\n range: Boolean,\n readonly: Boolean,\n scrollable: Boolean,\n tableDate: {\n type: String,\n required: true,\n },\n value: [String, Array] as PropType<string | string[]>,\n },\n\n data: () => ({\n isReversing: false,\n wheelThrottle: null as any,\n }),\n\n computed: {\n computedTransition (): string {\n return (this.isReversing === !this.$vuetify.rtl) ? 'tab-reverse-transition' : 'tab-transition'\n },\n displayedMonth (): number {\n return Number(this.tableDate.split('-')[1]) - 1\n },\n displayedYear (): number {\n return Number(this.tableDate.split('-')[0])\n },\n },\n\n watch: {\n tableDate (newVal: string, oldVal: string) {\n this.isReversing = newVal < oldVal\n },\n },\n\n mounted () {\n this.wheelThrottle = throttle(this.wheel, 250)\n },\n\n methods: {\n genButtonClasses (isAllowed: boolean, isFloating: boolean, isSelected: boolean, isCurrent: boolean) {\n return {\n 'v-size--default': !isFloating,\n 'v-date-picker-table__current': isCurrent,\n 'v-btn--active': isSelected,\n 'v-btn--flat': !isAllowed || this.disabled,\n 'v-btn--text': isSelected === isCurrent,\n 'v-btn--rounded': isFloating,\n 'v-btn--disabled': !isAllowed || this.disabled,\n 'v-btn--outlined': isCurrent && !isSelected,\n ...this.themeClasses,\n }\n },\n genButtonEvents (value: string, isAllowed: boolean, mouseEventType: string) {\n if (this.disabled) return undefined\n\n return mergeListeners({\n click: () => {\n if (isAllowed && !this.readonly) this.$emit('input', value)\n },\n }, createItemTypeNativeListeners(this, `:${mouseEventType}`, value))\n },\n genButton (value: string, isFloating: boolean, mouseEventType: string, formatter: DatePickerFormatter, isOtherMonth = false) {\n const isAllowed = isDateAllowed(value, this.min, this.max, this.allowedDates)\n const isSelected = this.isSelected(value) && isAllowed\n const isCurrent = value === this.current\n const setColor = isSelected ? this.setBackgroundColor : this.setTextColor\n const color = (isSelected || isCurrent) && (this.color || 'accent')\n\n return this.$createElement('button', setColor(color, {\n staticClass: 'v-btn',\n class: this.genButtonClasses(isAllowed && !isOtherMonth, isFloating, isSelected, isCurrent),\n attrs: {\n type: 'button',\n },\n domProps: {\n disabled: this.disabled || !isAllowed || isOtherMonth,\n },\n on: this.genButtonEvents(value, isAllowed, mouseEventType),\n }), [\n this.$createElement('div', {\n staticClass: 'v-btn__content',\n }, [formatter(value)]),\n this.genEvents(value),\n ])\n },\n getEventColors (date: string) {\n const arrayize = (v: string | string[]) => Array.isArray(v) ? v : [v]\n let eventData: boolean | DatePickerEventColorValue\n let eventColors: string[] = []\n\n if (Array.isArray(this.events)) {\n eventData = this.events.includes(date)\n } else if (this.events instanceof Function) {\n eventData = this.events(date) || false\n } else if (this.events) {\n eventData = this.events[date] || false\n } else {\n eventData = false\n }\n\n if (!eventData) {\n return []\n } else if (eventData !== true) {\n eventColors = arrayize(eventData)\n } else if (typeof this.eventColor === 'string') {\n eventColors = [this.eventColor]\n } else if (typeof this.eventColor === 'function') {\n eventColors = arrayize(this.eventColor(date))\n } else if (Array.isArray(this.eventColor)) {\n eventColors = this.eventColor\n } else {\n eventColors = arrayize(this.eventColor[date])\n }\n\n return eventColors.filter(v => v)\n },\n genEvents (date: string) {\n const eventColors = this.getEventColors(date)\n\n return eventColors.length ? this.$createElement('div', {\n staticClass: 'v-date-picker-table__events',\n }, eventColors.map(color => this.$createElement('div', this.setBackgroundColor(color)))) : null\n },\n isValidScroll (value: number, calculateTableDate: CalculateTableDateFunction) {\n const tableDate = calculateTableDate(value)\n // tableDate is 'YYYY-MM' for DateTable and 'YYYY' for MonthTable\n const sanitizeType = tableDate.split('-').length === 1 ? 'year' : 'month'\n return (value === 0) ||\n (value < 0 && (this.min ? tableDate >= sanitizeDateString(this.min, sanitizeType) : true)) ||\n (value > 0 && (this.max ? tableDate <= sanitizeDateString(this.max, sanitizeType) : true))\n },\n wheel (e: WheelEvent, calculateTableDate: CalculateTableDateFunction) {\n this.$emit('update:table-date', calculateTableDate(e.deltaY))\n },\n touch (value: number, calculateTableDate: CalculateTableDateFunction) {\n this.$emit('update:table-date', calculateTableDate(value))\n },\n genTable (staticClass: string, children: VNodeChildren, calculateTableDate: CalculateTableDateFunction) {\n const transition = this.$createElement('transition', {\n props: { name: this.computedTransition },\n }, [this.$createElement('table', { key: this.tableDate }, children)])\n\n const touchDirective = {\n name: 'touch',\n value: {\n left: (e: TouchWrapper) => (e.offsetX < -15) &&\n (this.isValidScroll(1, calculateTableDate) && this.touch(1, calculateTableDate)),\n right: (e: TouchWrapper) => (e.offsetX > 15) &&\n (this.isValidScroll(-1, calculateTableDate) && this.touch(-1, calculateTableDate)),\n },\n }\n\n return this.$createElement('div', {\n staticClass,\n class: {\n 'v-date-picker-table--disabled': this.disabled,\n ...this.themeClasses,\n },\n on: (!this.disabled && this.scrollable) ? {\n wheel: (e: WheelEvent) => {\n e.preventDefault()\n if (this.isValidScroll(e.deltaY, calculateTableDate)) { this.wheelThrottle(e, calculateTableDate) }\n },\n } : undefined,\n directives: [touchDirective],\n }, [transition])\n },\n isSelected (value: string): boolean {\n if (Array.isArray(this.value)) {\n if (this.range && this.value.length === 2) {\n const [from, to] = [...this.value].sort()\n return from <= value && value <= to\n } else {\n return this.value.indexOf(value) !== -1\n }\n }\n\n return value === this.value\n },\n },\n})\n"],"file":"date-picker-table.mjs"}
1
+ {"version":3,"file":"date-picker-table.mjs","names":["Touch","Colorable","Localable","Themeable","createItemTypeNativeListeners","sanitizeDateString","isDateAllowed","mergeListeners","mixins","throttle","extend","directives","props","allowedDates","Function","current","String","disabled","Boolean","format","events","type","Array","Object","default","eventColor","min","max","range","readonly","scrollable","tableDate","required","value","data","isReversing","wheelThrottle","computed","computedTransition","$vuetify","rtl","displayedMonth","Number","split","displayedYear","watch","newVal","oldVal","mounted","wheel","methods","genButtonClasses","isAllowed","isFloating","isSelected","isCurrent","isFirst","isLast","themeClasses","genButtonEvents","mouseEventType","undefined","click","$emit","genButton","formatter","isOtherMonth","setColor","setBackgroundColor","setTextColor","color","isArray","length","$createElement","staticClass","class","attrs","domProps","on","genEvents","getEventColors","date","arrayize","v","eventData","eventColors","includes","filter","map","isValidScroll","calculateTableDate","sanitizeType","e","deltaY","touch","genTable","children","transition","name","key","touchDirective","left","offsetX","right","preventDefault","from","to","sort","indexOf"],"sources":["../../../../src/components/VDatePicker/mixins/date-picker-table.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\nimport '../VDatePickerTable.sass'\n\n// Directives\nimport Touch from '../../../directives/touch'\n\n// Mixins\nimport Colorable from '../../../mixins/colorable'\nimport Localable from '../../../mixins/localable'\nimport Themeable from '../../../mixins/themeable'\n\n// Utils\nimport { createItemTypeNativeListeners, sanitizeDateString } from '../util'\nimport isDateAllowed from '../util/isDateAllowed'\nimport { mergeListeners } from '../../../util/mergeData'\nimport mixins from '../../../util/mixins'\nimport { throttle } from '../../../util/helpers'\n\n// Types\nimport {\n PropType,\n VNodeChildren,\n} from 'vue'\nimport { PropValidator } from 'vue/types/options'\nimport {\n DatePickerAllowedDatesFunction,\n DatePickerEventColors,\n DatePickerEventColorValue,\n DatePickerEvents,\n DatePickerFormatter,\n TouchWrapper,\n} from 'vuetify/types'\n\ntype CalculateTableDateFunction = (v: number) => string\n\nexport default mixins(\n Colorable,\n Localable,\n Themeable\n/* @vue/component */\n).extend({\n directives: { Touch },\n\n props: {\n allowedDates: Function as PropType<DatePickerAllowedDatesFunction | undefined>,\n current: String,\n disabled: Boolean,\n format: Function as PropType<DatePickerFormatter | undefined>,\n events: {\n type: [Array, Function, Object],\n default: () => null,\n } as PropValidator<DatePickerEvents | null>,\n eventColor: {\n type: [Array, Function, Object, String],\n default: () => 'warning',\n } as PropValidator<DatePickerEventColors>,\n min: String,\n max: String,\n range: Boolean,\n readonly: Boolean,\n scrollable: Boolean,\n tableDate: {\n type: String,\n required: true,\n },\n value: [String, Array] as PropType<string | string[]>,\n },\n\n data: () => ({\n isReversing: false,\n wheelThrottle: null as any,\n }),\n\n computed: {\n computedTransition (): string {\n return (this.isReversing === !this.$vuetify.rtl) ? 'tab-reverse-transition' : 'tab-transition'\n },\n displayedMonth (): number {\n return Number(this.tableDate.split('-')[1]) - 1\n },\n displayedYear (): number {\n return Number(this.tableDate.split('-')[0])\n },\n },\n\n watch: {\n tableDate (newVal: string, oldVal: string) {\n this.isReversing = newVal < oldVal\n },\n },\n\n mounted () {\n this.wheelThrottle = throttle(this.wheel, 250)\n },\n\n methods: {\n genButtonClasses (\n isAllowed: boolean,\n isFloating: boolean,\n isSelected: boolean,\n isCurrent: boolean,\n isFirst: boolean,\n isLast: boolean,\n ) {\n return {\n 'v-size--default': !isFloating,\n 'v-date-picker-table__current': isCurrent,\n 'v-btn--active': isSelected,\n 'v-btn--flat': !isAllowed || this.disabled,\n 'v-btn--text': isSelected === isCurrent,\n 'v-btn--rounded': isFloating,\n 'v-btn--disabled': !isAllowed || this.disabled,\n 'v-btn--outlined': isCurrent && !isSelected,\n 'v-date-picker--first-in-range': isFirst,\n 'v-date-picker--last-in-range': isLast,\n ...this.themeClasses,\n }\n },\n genButtonEvents (value: string, isAllowed: boolean, mouseEventType: string) {\n if (this.disabled) return undefined\n\n return mergeListeners({\n click: () => {\n if (isAllowed && !this.readonly) this.$emit('input', value)\n },\n }, createItemTypeNativeListeners(this, `:${mouseEventType}`, value))\n },\n genButton (value: string, isFloating: boolean, mouseEventType: string, formatter: DatePickerFormatter, isOtherMonth = false) {\n const isAllowed = isDateAllowed(value, this.min, this.max, this.allowedDates)\n const isSelected = this.isSelected(value) && isAllowed\n const isCurrent = value === this.current\n const setColor = isSelected ? this.setBackgroundColor : this.setTextColor\n const color = (isSelected || isCurrent) && (this.color || 'accent')\n let isFirst = false\n let isLast = false\n if (this.range && !!this.value && Array.isArray(this.value)) {\n isFirst = value === this.value[0]\n isLast = value === this.value[this.value.length - 1]\n }\n\n return this.$createElement('button', setColor(color, {\n staticClass: 'v-btn',\n class: this.genButtonClasses(\n isAllowed && !isOtherMonth,\n isFloating,\n isSelected,\n isCurrent,\n isFirst,\n isLast,\n ),\n attrs: {\n type: 'button',\n },\n domProps: {\n disabled: this.disabled || !isAllowed || isOtherMonth,\n },\n on: this.genButtonEvents(value, isAllowed, mouseEventType),\n }), [\n this.$createElement('div', {\n staticClass: 'v-btn__content',\n }, [formatter(value)]),\n this.genEvents(value),\n ])\n },\n getEventColors (date: string) {\n const arrayize = (v: string | string[]) => Array.isArray(v) ? v : [v]\n let eventData: boolean | DatePickerEventColorValue\n let eventColors: string[] = []\n\n if (Array.isArray(this.events)) {\n eventData = this.events.includes(date)\n } else if (this.events instanceof Function) {\n eventData = this.events(date) || false\n } else if (this.events) {\n eventData = this.events[date] || false\n } else {\n eventData = false\n }\n\n if (!eventData) {\n return []\n } else if (eventData !== true) {\n eventColors = arrayize(eventData)\n } else if (typeof this.eventColor === 'string') {\n eventColors = [this.eventColor]\n } else if (typeof this.eventColor === 'function') {\n eventColors = arrayize(this.eventColor(date))\n } else if (Array.isArray(this.eventColor)) {\n eventColors = this.eventColor\n } else {\n eventColors = arrayize(this.eventColor[date])\n }\n\n return eventColors.filter(v => v)\n },\n genEvents (date: string) {\n const eventColors = this.getEventColors(date)\n\n return eventColors.length ? this.$createElement('div', {\n staticClass: 'v-date-picker-table__events',\n }, eventColors.map(color => this.$createElement('div', this.setBackgroundColor(color)))) : null\n },\n isValidScroll (value: number, calculateTableDate: CalculateTableDateFunction) {\n const tableDate = calculateTableDate(value)\n // tableDate is 'YYYY-MM' for DateTable and 'YYYY' for MonthTable\n const sanitizeType = tableDate.split('-').length === 1 ? 'year' : 'month'\n return (value < 0 && (this.min ? tableDate >= sanitizeDateString(this.min, sanitizeType) : true)) ||\n (value > 0 && (this.max ? tableDate <= sanitizeDateString(this.max, sanitizeType) : true))\n },\n wheel (e: WheelEvent, calculateTableDate: CalculateTableDateFunction) {\n this.$emit('update:table-date', calculateTableDate(e.deltaY))\n },\n touch (value: number, calculateTableDate: CalculateTableDateFunction) {\n this.$emit('update:table-date', calculateTableDate(value))\n },\n genTable (staticClass: string, children: VNodeChildren, calculateTableDate: CalculateTableDateFunction) {\n const transition = this.$createElement('transition', {\n props: { name: this.computedTransition },\n }, [this.$createElement('table', { key: this.tableDate }, children)])\n\n const touchDirective = {\n name: 'touch',\n value: {\n left: (e: TouchWrapper) => (e.offsetX < -15) &&\n (this.isValidScroll(1, calculateTableDate) && this.touch(1, calculateTableDate)),\n right: (e: TouchWrapper) => (e.offsetX > 15) &&\n (this.isValidScroll(-1, calculateTableDate) && this.touch(-1, calculateTableDate)),\n },\n }\n\n return this.$createElement('div', {\n staticClass,\n class: {\n 'v-date-picker-table--disabled': this.disabled,\n ...this.themeClasses,\n },\n on: (!this.disabled && this.scrollable) ? {\n wheel: (e: WheelEvent) => {\n e.preventDefault()\n if (this.isValidScroll(e.deltaY, calculateTableDate)) { this.wheelThrottle(e, calculateTableDate) }\n },\n } : undefined,\n directives: [touchDirective],\n }, [transition])\n },\n isSelected (value: string): boolean {\n if (Array.isArray(this.value)) {\n if (this.range && this.value.length === 2) {\n const [from, to] = [...this.value].sort()\n return from <= value && value <= to\n } else {\n return this.value.indexOf(value) !== -1\n }\n }\n\n return value === this.value\n },\n },\n})\n"],"mappings":"AAAA;;AACA;AAEA,iC,CAEA;;OACOA,K,6CAEP;;OACOC,S;OACAC,S;OACAC,S,uCAEP;;SACSC,6B,EAA+BC,kB;OACjCC,a;SACEC,c;OACFC,M;SACEC,Q,qCAET;;AAiBA,eAAeD,MAAM,CACnBP,SADmB,EAEnBC,SAFmB,EAGnBC;AACF;AAJqB,CAAN,CAKbO,MALa,CAKN;EACPC,UAAU,EAAE;IAAEX;EAAF,CADL;EAGPY,KAAK,EAAE;IACLC,YAAY,EAAEC,QADT;IAELC,OAAO,EAAEC,MAFJ;IAGLC,QAAQ,EAAEC,OAHL;IAILC,MAAM,EAAEL,QAJH;IAKLM,MAAM,EAAE;MACNC,IAAI,EAAE,CAACC,KAAD,EAAQR,QAAR,EAAkBS,MAAlB,CADA;MAENC,OAAO,EAAE,MAAM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U,EAAE,CAACyF,cAAD;MAZoB,CAA3B,EAaJ,CAACH,UAAD,CAbI,CAAP;IAcD,CArJM;;IAsJP3C,UAAU,CAAErB,KAAF,EAA0B;MAClC,IAAIX,KAAK,CAACiD,OAAN,CAAc,KAAKtC,KAAnB,CAAJ,EAA+B;QAC7B,IAAI,KAAKL,KAAL,IAAc,KAAKK,KAAL,CAAWuC,MAAX,KAAsB,CAAxC,EAA2C;UACzC,MAAM,CAACiC,IAAD,EAAOC,EAAP,IAAa,CAAC,GAAG,KAAKzE,KAAT,EAAgB0E,IAAhB,EAAnB;UACA,OAAOF,IAAI,IAAIxE,KAAR,IAAiBA,KAAK,IAAIyE,EAAjC;QACD,CAHD,MAGO;UACL,OAAO,KAAKzE,KAAL,CAAW2E,OAAX,CAAmB3E,KAAnB,MAA8B,CAAC,CAAtC;QACD;MACF;;MAED,OAAOA,KAAK,KAAK,KAAKA,KAAtB;IACD;;EAjKM;AAvDF,CALM,CAAf"}
@@ -3,10 +3,12 @@
3
3
  /* eslint-disable */
4
4
  import pad from "./pad.mjs";
5
5
 
6
- function createNativeLocaleFormatter(locale, options, substrOptions = {
7
- start: 0,
8
- length: 0
9
- }) {
6
+ function createNativeLocaleFormatter(locale, options) {
7
+ let substrOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {
8
+ start: 0,
9
+ length: 0
10
+ };
11
+
10
12
  const makeIsoString = dateString => {
11
13
  const [year, month, date] = dateString.trim().split(' ')[0].split('-');
12
14
  return [pad(year, 4), pad(month || 1), pad(date || 1)].join('-');
@@ -14,7 +16,7 @@ function createNativeLocaleFormatter(locale, options, substrOptions = {
14
16
 
15
17
  try {
16
18
  const intlFormatter = new Intl.DateTimeFormat(locale || undefined, options);
17
- return dateString => intlFormatter.format(new Date("".concat(makeIsoString(dateString), "T00:00:00+00:00")));
19
+ return dateString => intlFormatter.format(new Date(`${makeIsoString(dateString)}T00:00:00+00:00`));
18
20
  } catch (e) {
19
21
  return substrOptions.start || substrOptions.length ? dateString => makeIsoString(dateString).substr(substrOptions.start || 0, substrOptions.length) : undefined;
20
22
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/VDatePicker/util/createNativeLocaleFormatter.ts"],"names":["pad","createNativeLocaleFormatter","locale","options","substrOptions","start","length","makeIsoString","dateString","year","month","date","trim","split","join","intlFormatter","Intl","DateTimeFormat","undefined","format","Date","e","substr"],"mappings":"AAAA;;AACA;OAEOA,G;;AAmBP,SAASC,2BAAT,CACEC,MADF,EAEEC,OAFF,EAGEC,aAA4B,GAAG;AAAEC,EAAAA,KAAK,EAAE,CAAT;AAAYC,EAAAA,MAAM,EAAE;AAApB,CAHjC,EAImC;AACjC,QAAMC,aAAa,GAAIC,UAAD,IAAwB;AAC5C,UAAM,CAACC,IAAD,EAAOC,KAAP,EAAcC,IAAd,IAAsBH,UAAU,CAACI,IAAX,GAAkBC,KAAlB,CAAwB,GAAxB,EAA6B,CAA7B,EAAgCA,KAAhC,CAAsC,GAAtC,CAA5B;AACA,WAAO,CAACb,GAAG,CAACS,IAAD,EAAO,CAAP,CAAJ,EAAeT,GAAG,CAACU,KAAK,IAAI,CAAV,CAAlB,EAAgCV,GAAG,CAACW,IAAI,IAAI,CAAT,CAAnC,EAAgDG,IAAhD,CAAqD,GAArD,CAAP;AACD,GAHD;;AAKA,MAAI;AACF,UAAMC,aAAa,GAAG,IAAIC,IAAI,CAACC,cAAT,CAAwBf,MAAM,IAAIgB,SAAlC,EAA6Cf,OAA7C,CAAtB;AACA,WAAQK,UAAD,IAAwBO,aAAa,CAACI,MAAd,CAAqB,IAAIC,IAAJ,WAAYb,aAAa,CAACC,UAAD,CAAzB,qBAArB,CAA/B;AACD,GAHD,CAGE,OAAOa,CAAP,EAAU;AACV,WAAQjB,aAAa,CAACC,KAAd,IAAuBD,aAAa,CAACE,MAAtC,GACFE,UAAD,IAAwBD,aAAa,CAACC,UAAD,CAAb,CAA0Bc,MAA1B,CAAiClB,aAAa,CAACC,KAAd,IAAuB,CAAxD,EAA2DD,aAAa,CAACE,MAAzE,CADrB,GAEHY,SAFJ;AAGD;AACF;;AAED,eAAejB,2BAAf","sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\nimport pad from './pad'\nimport { DatePickerFormatter } from 'vuetify/types'\n\ninterface SubstrOptions {\n start?: number\n length: number\n}\n\nfunction createNativeLocaleFormatter (\n local: string | undefined,\n options: Intl.DateTimeFormatOptions\n): DatePickerFormatter | undefined\n\nfunction createNativeLocaleFormatter (\n local: string | undefined,\n options: Intl.DateTimeFormatOptions,\n substrOptions: SubstrOptions\n): DatePickerFormatter\n\nfunction createNativeLocaleFormatter (\n locale: string | undefined,\n options: Intl.DateTimeFormatOptions,\n substrOptions: SubstrOptions = { start: 0, length: 0 }\n): DatePickerFormatter | undefined {\n const makeIsoString = (dateString: string) => {\n const [year, month, date] = dateString.trim().split(' ')[0].split('-')\n return [pad(year, 4), pad(month || 1), pad(date || 1)].join('-')\n }\n\n try {\n const intlFormatter = new Intl.DateTimeFormat(locale || undefined, options)\n return (dateString: string) => intlFormatter.format(new Date(`${makeIsoString(dateString)}T00:00:00+00:00`))\n } catch (e) {\n return (substrOptions.start || substrOptions.length)\n ? (dateString: string) => makeIsoString(dateString).substr(substrOptions.start || 0, substrOptions.length)\n : undefined\n }\n}\n\nexport default createNativeLocaleFormatter\n"],"file":"createNativeLocaleFormatter.mjs"}
1
+ {"version":3,"file":"createNativeLocaleFormatter.mjs","names":["pad","createNativeLocaleFormatter","locale","options","substrOptions","start","length","makeIsoString","dateString","year","month","date","trim","split","join","intlFormatter","Intl","DateTimeFormat","undefined","format","Date","e","substr"],"sources":["../../../../src/components/VDatePicker/util/createNativeLocaleFormatter.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\nimport pad from './pad'\nimport { DatePickerFormatter } from 'vuetify/types'\n\ninterface SubstrOptions {\n start?: number\n length: number\n}\n\nfunction createNativeLocaleFormatter (\n local: string | undefined,\n options: Intl.DateTimeFormatOptions\n): DatePickerFormatter | undefined\n\nfunction createNativeLocaleFormatter (\n local: string | undefined,\n options: Intl.DateTimeFormatOptions,\n substrOptions: SubstrOptions\n): DatePickerFormatter\n\nfunction createNativeLocaleFormatter (\n locale: string | undefined,\n options: Intl.DateTimeFormatOptions,\n substrOptions: SubstrOptions = { start: 0, length: 0 }\n): DatePickerFormatter | undefined {\n const makeIsoString = (dateString: string) => {\n const [year, month, date] = dateString.trim().split(' ')[0].split('-')\n return [pad(year, 4), pad(month || 1), pad(date || 1)].join('-')\n }\n\n try {\n const intlFormatter = new Intl.DateTimeFormat(locale || undefined, options)\n return (dateString: string) => intlFormatter.format(new Date(`${makeIsoString(dateString)}T00:00:00+00:00`))\n } catch (e) {\n return (substrOptions.start || substrOptions.length)\n ? (dateString: string) => makeIsoString(dateString).substr(substrOptions.start || 0, substrOptions.length)\n : undefined\n }\n}\n\nexport default createNativeLocaleFormatter\n"],"mappings":"AAAA;;AACA;OAEOA,G;;AAmBP,SAASC,2BAAT,CACEC,MADF,EAEEC,OAFF,EAImC;EAAA,IADjCC,aACiC,uEADF;IAAEC,KAAK,EAAE,CAAT;IAAYC,MAAM,EAAE;EAApB,CACE;;EACjC,MAAMC,aAAa,GAAIC,UAAD,IAAwB;IAC5C,MAAM,CAACC,IAAD,EAAOC,KAAP,EAAcC,IAAd,IAAsBH,UAAU,CAACI,IAAX,GAAkBC,KAAlB,CAAwB,GAAxB,EAA6B,CAA7B,EAAgCA,KAAhC,CAAsC,GAAtC,CAA5B;IACA,OAAO,CAACb,GAAG,CAACS,IAAD,EAAO,CAAP,CAAJ,EAAeT,GAAG,CAACU,KAAK,IAAI,CAAV,CAAlB,EAAgCV,GAAG,CAACW,IAAI,IAAI,CAAT,CAAnC,EAAgDG,IAAhD,CAAqD,GAArD,CAAP;EACD,CAHD;;EAKA,IAAI;IACF,MAAMC,aAAa,GAAG,IAAIC,IAAI,CAACC,cAAT,CAAwBf,MAAM,IAAIgB,SAAlC,EAA6Cf,OAA7C,CAAtB;IACA,OAAQK,UAAD,IAAwBO,aAAa,CAACI,MAAd,CAAqB,IAAIC,IAAJ,CAAU,GAAEb,aAAa,CAACC,UAAD,CAAa,iBAAtC,CAArB,CAA/B;EACD,CAHD,CAGE,OAAOa,CAAP,EAAU;IACV,OAAQjB,aAAa,CAACC,KAAd,IAAuBD,aAAa,CAACE,MAAtC,GACFE,UAAD,IAAwBD,aAAa,CAACC,UAAD,CAAb,CAA0Bc,MAA1B,CAAiClB,aAAa,CAACC,KAAd,IAAuB,CAAxD,EAA2DD,aAAa,CAACE,MAAzE,CADrB,GAEHY,SAFJ;EAGD;AACF;;AAED,eAAejB,2BAAf"}
@@ -1,6 +1,7 @@
1
1
  // @ts-nocheck
2
2
 
3
3
  /* eslint-disable */
4
+ // import Vue from 'vue'
4
5
  export function createItemTypeNativeListeners(instance, itemTypeSuffix, value) {
5
6
  return Object.keys(instance.$listeners).reduce((on, eventName) => {
6
7
  if (eventName.endsWith(itemTypeSuffix)) {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/VDatePicker/util/eventHelpers.ts"],"names":["createItemTypeNativeListeners","instance","itemTypeSuffix","value","Object","keys","$listeners","reduce","on","eventName","endsWith","slice","length","event","$emit","createItemTypeListeners"],"mappings":"AAAA;;AACA;AAIA,OAAO,SAASA,6BAAT,CAAwCC,QAAxC,EAAuDC,cAAvD,EAA+EC,KAA/E,EAA2F;AAChG,SAAOC,MAAM,CAACC,IAAP,CAAYJ,QAAQ,CAACK,UAArB,EAAiCC,MAAjC,CAAwC,CAACC,EAAD,EAAKC,SAAL,KAAmB;AAChE,QAAIA,SAAS,CAACC,QAAV,CAAmBR,cAAnB,CAAJ,EAAwC;AACtCM,MAAAA,EAAE,CAACC,SAAS,CAACE,KAAV,CAAgB,CAAhB,EAAmB,CAACT,cAAc,CAACU,MAAnC,CAAD,CAAF,GAAkDC,KAAD,IAAkBZ,QAAQ,CAACa,KAAT,CAAeL,SAAf,EAA0BN,KAA1B,EAAiCU,KAAjC,CAAnE;AACD;;AAED,WAAOL,EAAP;AACD,GANM,EAMJ,EANI,CAAP;AAOD;AAED,OAAO,SAASO,uBAAT,CAAkCd,QAAlC,EAAiDC,cAAjD,EAAyE;AAC9E,SAAOE,MAAM,CAACC,IAAP,CAAYJ,QAAQ,CAACK,UAArB,EAAiCC,MAAjC,CAAwC,CAACC,EAAD,EAAKC,SAAL,KAAmB;AAChE,QAAIA,SAAS,CAACC,QAAV,CAAmBR,cAAnB,CAAJ,EAAwC;AACtCM,MAAAA,EAAE,CAACC,SAAD,CAAF,GAAgBR,QAAQ,CAACK,UAAT,CAAoBG,SAApB,CAAhB;AACD;;AAED,WAAOD,EAAP;AACD,GANM,EAMJ,EANI,CAAP;AAOD","sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\nimport Vue from 'vue'\n\nexport function createItemTypeNativeListeners (instance: Vue, itemTypeSuffix: string, value: any) {\n return Object.keys(instance.$listeners).reduce((on, eventName) => {\n if (eventName.endsWith(itemTypeSuffix)) {\n on[eventName.slice(0, -itemTypeSuffix.length)] = (event: Event) => instance.$emit(eventName, value, event)\n }\n\n return on\n }, {} as typeof instance.$listeners)\n}\n\nexport function createItemTypeListeners (instance: Vue, itemTypeSuffix: string) {\n return Object.keys(instance.$listeners).reduce((on, eventName) => {\n if (eventName.endsWith(itemTypeSuffix)) {\n on[eventName] = instance.$listeners[eventName]\n }\n\n return on\n }, {} as typeof instance.$listeners)\n}\n"],"file":"eventHelpers.mjs"}
1
+ {"version":3,"file":"eventHelpers.mjs","names":["createItemTypeNativeListeners","instance","itemTypeSuffix","value","Object","keys","$listeners","reduce","on","eventName","endsWith","slice","length","event","$emit","createItemTypeListeners"],"sources":["../../../../src/components/VDatePicker/util/eventHelpers.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\n// import Vue from 'vue'\n\nexport function createItemTypeNativeListeners (instance: /*Vue*/any, itemTypeSuffix: string, value: any) {\n return Object.keys(instance.$listeners).reduce((on, eventName) => {\n if (eventName.endsWith(itemTypeSuffix)) {\n on[eventName.slice(0, -itemTypeSuffix.length)] = (event: Event) => instance.$emit(eventName, value, event)\n }\n\n return on\n }, {} as typeof instance.$listeners)\n}\n\nexport function createItemTypeListeners (instance: /*Vue*/any, itemTypeSuffix: string) {\n return Object.keys(instance.$listeners).reduce((on, eventName) => {\n if (eventName.endsWith(itemTypeSuffix)) {\n on[eventName] = instance.$listeners[eventName]\n }\n\n return on\n }, {} as typeof instance.$listeners)\n}\n"],"mappings":"AAAA;;AACA;AAEA;AAEA,OAAO,SAASA,6BAAT,CAAwCC,QAAxC,EAA8DC,cAA9D,EAAsFC,KAAtF,EAAkG;EACvG,OAAOC,MAAM,CAACC,IAAP,CAAYJ,QAAQ,CAACK,UAArB,EAAiCC,MAAjC,CAAwC,CAACC,EAAD,EAAKC,SAAL,KAAmB;IAChE,IAAIA,SAAS,CAACC,QAAV,CAAmBR,cAAnB,CAAJ,EAAwC;MACtCM,EAAE,CAACC,SAAS,CAACE,KAAV,CAAgB,CAAhB,EAAmB,CAACT,cAAc,CAACU,MAAnC,CAAD,CAAF,GAAkDC,KAAD,IAAkBZ,QAAQ,CAACa,KAAT,CAAeL,SAAf,EAA0BN,KAA1B,EAAiCU,KAAjC,CAAnE;IACD;;IAED,OAAOL,EAAP;EACD,CANM,EAMJ,EANI,CAAP;AAOD;AAED,OAAO,SAASO,uBAAT,CAAkCd,QAAlC,EAAwDC,cAAxD,EAAgF;EACrF,OAAOE,MAAM,CAACC,IAAP,CAAYJ,QAAQ,CAACK,UAArB,EAAiCC,MAAjC,CAAwC,CAACC,EAAD,EAAKC,SAAL,KAAmB;IAChE,IAAIA,SAAS,CAACC,QAAV,CAAmBR,cAAnB,CAAJ,EAAwC;MACtCM,EAAE,CAACC,SAAD,CAAF,GAAgBR,QAAQ,CAACK,UAAT,CAAoBG,SAApB,CAAhB;IACD;;IAED,OAAOD,EAAP;EACD,CANM,EAMJ,EANI,CAAP;AAOD"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/VDatePicker/util/index.ts"],"names":["createItemTypeListeners","createItemTypeNativeListeners","createNativeLocaleFormatter","monthChange","sanitizeDateString","pad"],"mappings":"AAAA;;AACA;SAGEA,uB,EACAC,6B;OAEKC,2B;OACAC,W;OACAC,kB;OACAC,G;AAEP,SACEL,uBADF,EAEEC,6BAFF,EAGEC,2BAHF,EAIEC,WAJF,EAKEC,kBALF,EAMEC,GANF","sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\nimport {\n createItemTypeListeners,\n createItemTypeNativeListeners,\n} from './eventHelpers'\nimport createNativeLocaleFormatter from './createNativeLocaleFormatter'\nimport monthChange from './monthChange'\nimport sanitizeDateString from './sanitizeDateString'\nimport pad from './pad'\n\nexport {\n createItemTypeListeners,\n createItemTypeNativeListeners,\n createNativeLocaleFormatter,\n monthChange,\n sanitizeDateString,\n pad,\n}\n"],"file":"index.mjs"}
1
+ {"version":3,"file":"index.mjs","names":["createItemTypeListeners","createItemTypeNativeListeners","createNativeLocaleFormatter","monthChange","sanitizeDateString","pad"],"sources":["../../../../src/components/VDatePicker/util/index.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\nimport {\n createItemTypeListeners,\n createItemTypeNativeListeners,\n} from './eventHelpers'\nimport createNativeLocaleFormatter from './createNativeLocaleFormatter'\nimport monthChange from './monthChange'\nimport sanitizeDateString from './sanitizeDateString'\nimport pad from './pad'\n\nexport {\n createItemTypeListeners,\n createItemTypeNativeListeners,\n createNativeLocaleFormatter,\n monthChange,\n sanitizeDateString,\n pad,\n}\n"],"mappings":"AAAA;;AACA;SAGEA,uB,EACAC,6B;OAEKC,2B;OACAC,W;OACAC,kB;OACAC,G;AAEP,SACEL,uBADF,EAEEC,6BAFF,EAGEC,2BAHF,EAIEC,WAJF,EAKEC,kBALF,EAMEC,GANF"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/VDatePicker/util/isDateAllowed.ts"],"names":["isDateAllowed","date","min","max","allowedFn","substr"],"mappings":"AAAA;;AACA;AAIA,eAAe,SAASA,aAAT,CAAwBC,IAAxB,EAAsCC,GAAtC,EAAmDC,GAAnD,EAAgEC,SAAhE,EAAuH;AACpI,SAAO,CAAC,CAACA,SAAD,IAAcA,SAAS,CAACH,IAAD,CAAxB,MACJ,CAACC,GAAD,IAAQD,IAAI,IAAIC,GAAG,CAACG,MAAJ,CAAW,CAAX,EAAc,EAAd,CADZ,MAEJ,CAACF,GAAD,IAAQF,IAAI,IAAIE,GAFZ,CAAP;AAGD","sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\nimport { DatePickerAllowedDatesFunction } from 'vuetify/types'\n\nexport default function isDateAllowed (date: string, min: string, max: string, allowedFn: DatePickerAllowedDatesFunction | undefined) {\n return (!allowedFn || allowedFn(date)) &&\n (!min || date >= min.substr(0, 10)) &&\n (!max || date <= max)\n}\n"],"file":"isDateAllowed.mjs"}
1
+ {"version":3,"file":"isDateAllowed.mjs","names":["isDateAllowed","date","min","max","allowedFn","substr"],"sources":["../../../../src/components/VDatePicker/util/isDateAllowed.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\nimport { DatePickerAllowedDatesFunction } from 'vuetify/types'\n\nexport default function isDateAllowed (date: string, min: string, max: string, allowedFn: DatePickerAllowedDatesFunction | undefined) {\n return (!allowedFn || allowedFn(date)) &&\n (!min || date >= min.substr(0, 10)) &&\n (!max || date <= max)\n}\n"],"mappings":"AAAA;;AACA;AAIA,eAAe,SAASA,aAAT,CAAwBC,IAAxB,EAAsCC,GAAtC,EAAmDC,GAAnD,EAAgEC,SAAhE,EAAuH;EACpI,OAAO,CAAC,CAACA,SAAD,IAAcA,SAAS,CAACH,IAAD,CAAxB,MACJ,CAACC,GAAD,IAAQD,IAAI,IAAIC,GAAG,CAACG,MAAJ,CAAW,CAAX,EAAc,EAAd,CADZ,MAEJ,CAACF,GAAD,IAAQF,IAAI,IAAIE,GAFZ,CAAP;AAGD"}
@@ -11,11 +11,11 @@ export default ((value, sign) => {
11
11
  const [year, month] = value.split('-').map(Number);
12
12
 
13
13
  if (month + sign === 0) {
14
- return "".concat(year - 1, "-12");
14
+ return `${year - 1}-12`;
15
15
  } else if (month + sign === 13) {
16
- return "".concat(year + 1, "-01");
16
+ return `${year + 1}-01`;
17
17
  } else {
18
- return "".concat(year, "-").concat(pad(month + sign));
18
+ return `${year}-${pad(month + sign)}`;
19
19
  }
20
20
  });
21
21
  //# sourceMappingURL=monthChange.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/VDatePicker/util/monthChange.ts"],"names":["pad","value","sign","year","month","split","map","Number"],"mappings":"AAAA;;AACA;OAEOA,G;AAEP;AACA;AACA;AACA;;AACA,gBAAe,CAACC,KAAD,EAAgBC,IAAhB,KAAiC;AAC9C,QAAM,CAACC,IAAD,EAAOC,KAAP,IAAgBH,KAAK,CAACI,KAAN,CAAY,GAAZ,EAAiBC,GAAjB,CAAqBC,MAArB,CAAtB;;AAEA,MAAIH,KAAK,GAAGF,IAAR,KAAiB,CAArB,EAAwB;AACtB,qBAAUC,IAAI,GAAG,CAAjB;AACD,GAFD,MAEO,IAAIC,KAAK,GAAGF,IAAR,KAAiB,EAArB,EAAyB;AAC9B,qBAAUC,IAAI,GAAG,CAAjB;AACD,GAFM,MAEA;AACL,qBAAUA,IAAV,cAAkBH,GAAG,CAACI,KAAK,GAAGF,IAAT,CAArB;AACD;AACF,CAVD","sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\nimport pad from './pad'\n\n/**\n * @param {String} value YYYY-MM format\n * @param {Number} sign -1 or +1\n */\nexport default (value: string, sign: number) => {\n const [year, month] = value.split('-').map(Number)\n\n if (month + sign === 0) {\n return `${year - 1}-12`\n } else if (month + sign === 13) {\n return `${year + 1}-01`\n } else {\n return `${year}-${pad(month + sign)}`\n }\n}\n"],"file":"monthChange.mjs"}
1
+ {"version":3,"file":"monthChange.mjs","names":["pad","value","sign","year","month","split","map","Number"],"sources":["../../../../src/components/VDatePicker/util/monthChange.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\nimport pad from './pad'\n\n/**\n * @param {String} value YYYY-MM format\n * @param {Number} sign -1 or +1\n */\nexport default (value: string, sign: number) => {\n const [year, month] = value.split('-').map(Number)\n\n if (month + sign === 0) {\n return `${year - 1}-12`\n } else if (month + sign === 13) {\n return `${year + 1}-01`\n } else {\n return `${year}-${pad(month + sign)}`\n }\n}\n"],"mappings":"AAAA;;AACA;OAEOA,G;AAEP;AACA;AACA;AACA;;AACA,gBAAe,CAACC,KAAD,EAAgBC,IAAhB,KAAiC;EAC9C,MAAM,CAACC,IAAD,EAAOC,KAAP,IAAgBH,KAAK,CAACI,KAAN,CAAY,GAAZ,EAAiBC,GAAjB,CAAqBC,MAArB,CAAtB;;EAEA,IAAIH,KAAK,GAAGF,IAAR,KAAiB,CAArB,EAAwB;IACtB,OAAQ,GAAEC,IAAI,GAAG,CAAE,KAAnB;EACD,CAFD,MAEO,IAAIC,KAAK,GAAGF,IAAR,KAAiB,EAArB,EAAyB;IAC9B,OAAQ,GAAEC,IAAI,GAAG,CAAE,KAAnB;EACD,CAFM,MAEA;IACL,OAAQ,GAAEA,IAAK,IAAGH,GAAG,CAACI,KAAK,GAAGF,IAAT,CAAe,EAApC;EACD;AACF,CAVD"}
@@ -19,5 +19,8 @@ const padStart = (string, targetLength, padString) => {
19
19
  return padString.slice(0, targetLength) + String(string);
20
20
  };
21
21
 
22
- export default ((n, length = 2) => padStart(n, length, '0'));
22
+ export default (function (n) {
23
+ let length = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
24
+ return padStart(n, length, '0');
25
+ });
23
26
  //# sourceMappingURL=pad.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/VDatePicker/util/pad.ts"],"names":["padStart","string","targetLength","padString","String","length","repeat","slice","n"],"mappings":"AAAA;;AACA;AAEA,MAAMA,QAAQ,GAAG,CAACC,MAAD,EAA0BC,YAA1B,EAAgDC,SAAhD,KAAsE;AACrFD,EAAAA,YAAY,GAAGA,YAAY,IAAI,CAA/B;AACAD,EAAAA,MAAM,GAAGG,MAAM,CAACH,MAAD,CAAf;AACAE,EAAAA,SAAS,GAAGC,MAAM,CAACD,SAAD,CAAlB;;AACA,MAAIF,MAAM,CAACI,MAAP,GAAgBH,YAApB,EAAkC;AAChC,WAAOE,MAAM,CAACH,MAAD,CAAb;AACD;;AAEDC,EAAAA,YAAY,GAAGA,YAAY,GAAGD,MAAM,CAACI,MAArC;;AACA,MAAIH,YAAY,GAAGC,SAAS,CAACE,MAA7B,EAAqC;AACnCF,IAAAA,SAAS,IAAIA,SAAS,CAACG,MAAV,CAAiBJ,YAAY,GAAGC,SAAS,CAACE,MAA1C,CAAb;AACD;;AACD,SAAOF,SAAS,CAACI,KAAV,CAAgB,CAAhB,EAAmBL,YAAnB,IAAmCE,MAAM,CAACH,MAAD,CAAhD;AACD,CAbD;;AAeA,gBAAe,CAACO,CAAD,EAAqBH,MAAM,GAAG,CAA9B,KAAoCL,QAAQ,CAACQ,CAAD,EAAIH,MAAJ,EAAY,GAAZ,CAA3D","sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\nconst padStart = (string: number | string, targetLength: number, padString: string) => {\n targetLength = targetLength >> 0\n string = String(string)\n padString = String(padString)\n if (string.length > targetLength) {\n return String(string)\n }\n\n targetLength = targetLength - string.length\n if (targetLength > padString.length) {\n padString += padString.repeat(targetLength / padString.length)\n }\n return padString.slice(0, targetLength) + String(string)\n}\n\nexport default (n: string | number, length = 2) => padStart(n, length, '0')\n"],"file":"pad.mjs"}
1
+ {"version":3,"file":"pad.mjs","names":["padStart","string","targetLength","padString","String","length","repeat","slice","n"],"sources":["../../../../src/components/VDatePicker/util/pad.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\nconst padStart = (string: number | string, targetLength: number, padString: string) => {\n targetLength = targetLength >> 0\n string = String(string)\n padString = String(padString)\n if (string.length > targetLength) {\n return String(string)\n }\n\n targetLength = targetLength - string.length\n if (targetLength > padString.length) {\n padString += padString.repeat(targetLength / padString.length)\n }\n return padString.slice(0, targetLength) + String(string)\n}\n\nexport default (n: string | number, length = 2) => padStart(n, length, '0')\n"],"mappings":"AAAA;;AACA;AAEA,MAAMA,QAAQ,GAAG,CAACC,MAAD,EAA0BC,YAA1B,EAAgDC,SAAhD,KAAsE;EACrFD,YAAY,GAAGA,YAAY,IAAI,CAA/B;EACAD,MAAM,GAAGG,MAAM,CAACH,MAAD,CAAf;EACAE,SAAS,GAAGC,MAAM,CAACD,SAAD,CAAlB;;EACA,IAAIF,MAAM,CAACI,MAAP,GAAgBH,YAApB,EAAkC;IAChC,OAAOE,MAAM,CAACH,MAAD,CAAb;EACD;;EAEDC,YAAY,GAAGA,YAAY,GAAGD,MAAM,CAACI,MAArC;;EACA,IAAIH,YAAY,GAAGC,SAAS,CAACE,MAA7B,EAAqC;IACnCF,SAAS,IAAIA,SAAS,CAACG,MAAV,CAAiBJ,YAAY,GAAGC,SAAS,CAACE,MAA1C,CAAb;EACD;;EACD,OAAOF,SAAS,CAACI,KAAV,CAAgB,CAAhB,EAAmBL,YAAnB,IAAmCE,MAAM,CAACH,MAAD,CAAhD;AACD,CAbD;;AAeA,gBAAe,UAACO,CAAD;EAAA,IAAqBH,MAArB,uEAA8B,CAA9B;EAAA,OAAoCL,QAAQ,CAACQ,CAAD,EAAIH,MAAJ,EAAY,GAAZ,CAA5C;AAAA,CAAf"}
@@ -3,7 +3,7 @@
3
3
  import pad from "./pad.mjs";
4
4
  export default ((dateString, type) => {
5
5
  const [year, month = 1, date = 1] = dateString.split('-');
6
- return "".concat(year, "-").concat(pad(month), "-").concat(pad(date)).substr(0, {
6
+ return `${year}-${pad(month)}-${pad(date)}`.substr(0, {
7
7
  date: 10,
8
8
  month: 7,
9
9
  year: 4
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/VDatePicker/util/sanitizeDateString.ts"],"names":["pad","dateString","type","year","month","date","split","substr"],"mappings":"AAAA;AACA;OACOA,G;AAEP,gBAAe,CAACC,UAAD,EAAqBC,IAArB,KAAiE;AAC9E,QAAM,CAACC,IAAD,EAAOC,KAAK,GAAG,CAAf,EAAkBC,IAAI,GAAG,CAAzB,IAA8BJ,UAAU,CAACK,KAAX,CAAiB,GAAjB,CAApC;AACA,SAAO,UAAGH,IAAH,cAAWH,GAAG,CAACI,KAAD,CAAd,cAAyBJ,GAAG,CAACK,IAAD,CAA5B,EAAqCE,MAArC,CAA4C,CAA5C,EAA+C;AAAEF,IAAAA,IAAI,EAAE,EAAR;AAAYD,IAAAA,KAAK,EAAE,CAAnB;AAAsBD,IAAAA,IAAI,EAAE;AAA5B,IAAgCD,IAAhC,CAA/C,CAAP;AACD,CAHD","sourcesContent":["// Adds leading zero to month/day if necessary, returns 'YYYY' if type = 'year',\n// 'YYYY-MM' if 'month' and 'YYYY-MM-DD' if 'date'\nimport pad from './pad'\n\nexport default (dateString: string, type: 'date' | 'month' | 'year'): string => {\n const [year, month = 1, date = 1] = dateString.split('-')\n return `${year}-${pad(month)}-${pad(date)}`.substr(0, { date: 10, month: 7, year: 4 }[type])\n}\n"],"file":"sanitizeDateString.mjs"}
1
+ {"version":3,"file":"sanitizeDateString.mjs","names":["pad","dateString","type","year","month","date","split","substr"],"sources":["../../../../src/components/VDatePicker/util/sanitizeDateString.ts"],"sourcesContent":["// Adds leading zero to month/day if necessary, returns 'YYYY' if type = 'year',\n// 'YYYY-MM' if 'month' and 'YYYY-MM-DD' if 'date'\nimport pad from './pad'\n\nexport default (dateString: string, type: 'date' | 'month' | 'year'): string => {\n const [year, month = 1, date = 1] = dateString.split('-')\n return `${year}-${pad(month)}-${pad(date)}`.substr(0, { date: 10, month: 7, year: 4 }[type])\n}\n"],"mappings":"AAAA;AACA;OACOA,G;AAEP,gBAAe,CAACC,UAAD,EAAqBC,IAArB,KAAiE;EAC9E,MAAM,CAACC,IAAD,EAAOC,KAAK,GAAG,CAAf,EAAkBC,IAAI,GAAG,CAAzB,IAA8BJ,UAAU,CAACK,KAAX,CAAiB,GAAjB,CAApC;EACA,OAAQ,GAAEH,IAAK,IAAGH,GAAG,CAACI,KAAD,CAAQ,IAAGJ,GAAG,CAACK,IAAD,CAAO,EAAnC,CAAqCE,MAArC,CAA4C,CAA5C,EAA+C;IAAEF,IAAI,EAAE,EAAR;IAAYD,KAAK,EAAE,CAAnB;IAAsBD,IAAI,EAAE;EAA5B,EAAgCD,IAAhC,CAA/C,CAAP;AACD,CAHD"}
@@ -0,0 +1,38 @@
1
+ // Composables
2
+ import { provideDefaults } from "../../composables/defaults.mjs"; // Utilities
3
+
4
+ import { defineComponent, toRefs } from 'vue'; // Types
5
+
6
+ export const VDefaultsProvider = defineComponent({
7
+ name: 'VDefaultsProvider',
8
+ props: {
9
+ defaults: Object,
10
+ reset: [Number, String],
11
+ root: Boolean,
12
+ scoped: Boolean
13
+ },
14
+
15
+ setup(props, _ref) {
16
+ let {
17
+ slots
18
+ } = _ref;
19
+ const {
20
+ defaults,
21
+ reset,
22
+ root,
23
+ scoped
24
+ } = toRefs(props);
25
+ provideDefaults(defaults, {
26
+ reset,
27
+ root,
28
+ scoped
29
+ });
30
+ return () => {
31
+ var _slots$default;
32
+
33
+ return (_slots$default = slots.default) == null ? void 0 : _slots$default.call(slots);
34
+ };
35
+ }
36
+
37
+ });
38
+ //# sourceMappingURL=VDefaultsProvider.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VDefaultsProvider.mjs","names":["provideDefaults","defineComponent","toRefs","VDefaultsProvider","name","props","defaults","Object","reset","Number","String","root","Boolean","scoped","setup","slots","default"],"sources":["../../../src/components/VDefaultsProvider/VDefaultsProvider.tsx"],"sourcesContent":["// Composables\nimport { provideDefaults } from '@/composables/defaults'\n\n// Utilities\nimport { defineComponent, toRefs } from 'vue'\n\n// Types\nimport type { DefaultsOptions } from '@/composables/defaults'\nimport type { PropType } from 'vue'\n\nexport const VDefaultsProvider = defineComponent({\n name: 'VDefaultsProvider',\n\n props: {\n defaults: Object as PropType<DefaultsOptions>,\n reset: [Number, String],\n root: Boolean,\n scoped: Boolean,\n },\n\n setup (props, { slots }) {\n const { defaults, reset, root, scoped } = toRefs(props)\n\n provideDefaults(defaults, {\n reset,\n root,\n scoped,\n })\n\n return () => slots.default?.()\n },\n})\n"],"mappings":"AAAA;SACSA,e,0CAET;;AACA,SAASC,eAAT,EAA0BC,MAA1B,QAAwC,KAAxC,C,CAEA;;AAIA,OAAO,MAAMC,iBAAiB,GAAGF,eAAe,CAAC;EAC/CG,IAAI,EAAE,mBADyC;EAG/CC,KAAK,EAAE;IACLC,QAAQ,EAAEC,MADL;IAELC,KAAK,EAAE,CAACC,MAAD,EAASC,MAAT,CAFF;IAGLC,IAAI,EAAEC,OAHD;IAILC,MAAM,EAAED;EAJH,CAHwC;;EAU/CE,KAAK,CAAET,KAAF,QAAoB;IAAA,IAAX;MAAEU;IAAF,CAAW;IACvB,MAAM;MAAET,QAAF;MAAYE,KAAZ;MAAmBG,IAAnB;MAAyBE;IAAzB,IAAoCX,MAAM,CAACG,KAAD,CAAhD;IAEAL,eAAe,CAACM,QAAD,EAAW;MACxBE,KADwB;MAExBG,IAFwB;MAGxBE;IAHwB,CAAX,CAAf;IAMA,OAAO;MAAA;;MAAA,yBAAME,KAAK,CAACC,OAAZ,qBAAM,oBAAAD,KAAK,CAAX;IAAA,CAAP;EACD;;AApB8C,CAAD,CAAzC"}
@@ -0,0 +1,2 @@
1
+ export { VDefaultsProvider } from "./VDefaultsProvider.mjs";
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":["VDefaultsProvider"],"sources":["../../../src/components/VDefaultsProvider/index.ts"],"sourcesContent":["export { VDefaultsProvider } from './VDefaultsProvider'\n"],"mappings":"SAASA,iB"}
@@ -0,0 +1,74 @@
1
+ .v-dialog {
2
+ align-items: center;
3
+ justify-content: center;
4
+ margin: auto;
5
+ }
6
+ .v-dialog .v-overlay__content {
7
+ max-height: calc(100% - 48px);
8
+ margin: 24px;
9
+ display: flex;
10
+ flex-direction: column;
11
+ }
12
+ .v-dialog .v-overlay__content > .v-card,
13
+ .v-dialog .v-overlay__content > .v-sheet {
14
+ --v-scrollbar-offset: 0px;
15
+ border-radius: 4px;
16
+ overflow-y: auto;
17
+ box-shadow: 0px 11px 15px -7px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 24px 38px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 9px 46px 8px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12));
18
+ }
19
+ .v-dialog .v-overlay__content > .v-card {
20
+ display: flex;
21
+ flex-direction: column;
22
+ }
23
+ .v-dialog .v-overlay__content > .v-card > .v-card-item {
24
+ padding: 14px 24px 0;
25
+ }
26
+ .v-dialog .v-overlay__content > .v-card > .v-card-item + .v-card-text {
27
+ padding-top: 10px;
28
+ }
29
+ .v-dialog .v-overlay__content > .v-card > .v-card-text {
30
+ font-size: inherit;
31
+ letter-spacing: 0.03125em;
32
+ line-height: inherit;
33
+ padding: 16px 24px 10px;
34
+ }
35
+
36
+ .v-dialog--fullscreen {
37
+ --v-scrollbar-offset: 0px;
38
+ }
39
+ .v-dialog--fullscreen .v-overlay__content {
40
+ border-radius: 0;
41
+ margin: 0;
42
+ padding: 0;
43
+ width: 100%;
44
+ height: 100%;
45
+ max-width: 100%;
46
+ max-height: 100%;
47
+ overflow-y: auto;
48
+ top: 0;
49
+ left: 0;
50
+ }
51
+ .v-dialog--fullscreen .v-overlay__content > .v-card,
52
+ .v-dialog--fullscreen .v-overlay__content > .v-sheet {
53
+ min-height: 100%;
54
+ min-width: 100%;
55
+ border-radius: 0;
56
+ }
57
+
58
+ .v-dialog--scrollable .v-overlay__content,
59
+ .v-dialog--scrollable .v-overlay__content > form {
60
+ display: flex;
61
+ }
62
+ .v-dialog--scrollable .v-overlay__content > .v-card,
63
+ .v-dialog--scrollable .v-overlay__content > form > .v-card {
64
+ display: flex;
65
+ flex: 1 1 100%;
66
+ flex-direction: column;
67
+ max-height: 100%;
68
+ max-width: 100%;
69
+ }
70
+ .v-dialog--scrollable .v-overlay__content > .v-card > .v-card-text,
71
+ .v-dialog--scrollable .v-overlay__content > form > .v-card > .v-card-text {
72
+ backface-visibility: hidden;
73
+ overflow-y: auto;
74
+ }