@vuetify/nightly 3.0.0-alpha.8 → 3.0.0-beta.0

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 (1100) hide show
  1. package/CHANGELOG.md +2 -19
  2. package/dist/json/attributes.json +5230 -0
  3. package/dist/json/importMap.json +565 -0
  4. package/dist/json/tags.json +1871 -0
  5. package/dist/json/web-types.json +17917 -0
  6. package/dist/vuetify.css +8044 -6830
  7. package/dist/vuetify.d.ts +14879 -24
  8. package/dist/vuetify.esm.js +17091 -0
  9. package/dist/vuetify.esm.js.map +1 -0
  10. package/dist/vuetify.js +15613 -14297
  11. package/dist/vuetify.js.map +1 -1
  12. package/dist/vuetify.min.css +6 -4
  13. package/dist/vuetify.min.js +1395 -9104
  14. package/dist/vuetify.min.js.map +1 -1
  15. package/lib/components/VAlert/VAlert.css +193 -0
  16. package/lib/components/VAlert/VAlert.mjs +61 -72
  17. package/lib/components/VAlert/VAlert.mjs.map +1 -1
  18. package/lib/components/VAlert/VAlert.sass +64 -88
  19. package/lib/components/VAlert/VAlertTitle.mjs +3 -0
  20. package/lib/components/VAlert/VAlertTitle.mjs.map +1 -0
  21. package/lib/components/VAlert/_variables.scss +23 -34
  22. package/lib/components/VAlert/index.mjs +2 -1
  23. package/lib/components/VAlert/index.mjs.map +1 -1
  24. package/lib/components/VApp/VApp.css +28 -0
  25. package/lib/components/VApp/VApp.mjs +26 -17
  26. package/lib/components/VApp/VApp.mjs.map +1 -1
  27. package/lib/components/VApp/VApp.sass +1 -4
  28. package/lib/components/VApp/index.mjs +1 -1
  29. package/lib/components/VApp/index.mjs.map +1 -1
  30. package/lib/components/VAppBar/VAppBar.css +10 -0
  31. package/lib/components/VAppBar/VAppBar.mjs +42 -101
  32. package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
  33. package/lib/components/VAppBar/VAppBar.sass +7 -93
  34. package/lib/components/VAppBar/VAppBarNavIcon.mjs +9 -9
  35. package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
  36. package/lib/components/VAppBar/VAppBarTitle.mjs +11 -21
  37. package/lib/components/VAppBar/VAppBarTitle.mjs.map +1 -1
  38. package/lib/components/VAppBar/_variables.scss +12 -8
  39. package/lib/components/VAppBar/index.mjs +3 -3
  40. package/lib/components/VAppBar/index.mjs.map +1 -1
  41. package/lib/components/VAutocomplete/VAutocomplete.css +57 -0
  42. package/lib/components/VAutocomplete/VAutocomplete.mjs +229 -359
  43. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  44. package/lib/components/VAutocomplete/VAutocomplete.sass +69 -33
  45. package/lib/components/VAutocomplete/_variables.scss +7 -4
  46. package/lib/components/VAutocomplete/index.mjs +1 -3
  47. package/lib/components/VAutocomplete/index.mjs.map +1 -1
  48. package/lib/components/VAvatar/VAvatar.css +43 -0
  49. package/lib/components/VAvatar/VAvatar.mjs +20 -19
  50. package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
  51. package/lib/components/VAvatar/VAvatar.sass +7 -22
  52. package/lib/components/VAvatar/_mixins.scss +10 -4
  53. package/lib/components/VAvatar/_variables.scss +16 -5
  54. package/lib/components/VAvatar/index.mjs +1 -1
  55. package/lib/components/VAvatar/index.mjs.map +1 -1
  56. package/lib/components/VBadge/VBadge.css +74 -0
  57. package/lib/components/VBadge/VBadge.mjs +35 -25
  58. package/lib/components/VBadge/VBadge.mjs.map +1 -1
  59. package/lib/components/VBadge/VBadge.sass +5 -7
  60. package/lib/components/VBadge/_variables.scss +6 -5
  61. package/lib/components/VBadge/index.mjs +1 -1
  62. package/lib/components/VBadge/index.mjs.map +1 -1
  63. package/lib/components/VBanner/VBanner.css +133 -0
  64. package/lib/components/VBanner/VBanner.mjs +56 -49
  65. package/lib/components/VBanner/VBanner.mjs.map +1 -1
  66. package/lib/components/VBanner/VBanner.sass +18 -29
  67. package/lib/components/VBanner/VBannerActions.mjs +1 -1
  68. package/lib/components/VBanner/VBannerActions.mjs.map +1 -1
  69. package/lib/components/VBanner/VBannerText.mjs +1 -1
  70. package/lib/components/VBanner/VBannerText.mjs.map +1 -1
  71. package/lib/components/VBanner/_variables.scss +13 -13
  72. package/lib/components/VBanner/index.mjs +3 -5
  73. package/lib/components/VBanner/index.mjs.map +1 -1
  74. package/lib/components/VBottomNavigation/VBottomNavigation.css +61 -0
  75. package/lib/components/VBottomNavigation/VBottomNavigation.mjs +53 -34
  76. package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
  77. package/lib/components/VBottomNavigation/VBottomNavigation.sass +50 -12
  78. package/lib/components/VBottomNavigation/_variables.scss +25 -5
  79. package/lib/components/VBottomNavigation/index.mjs +1 -1
  80. package/lib/components/VBottomNavigation/index.mjs.map +1 -1
  81. package/lib/components/VBottomSheet/VBottomSheet.mjs +1 -1
  82. package/lib/components/VBottomSheet/VBottomSheet.mjs.map +1 -1
  83. package/lib/components/VBreadcrumbs/VBreadcrumbs.css +48 -0
  84. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +55 -50
  85. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
  86. package/lib/components/VBreadcrumbs/VBreadcrumbs.sass +5 -3
  87. package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs +1 -1
  88. package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs.map +1 -1
  89. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +32 -37
  90. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
  91. package/lib/components/VBreadcrumbs/_variables.scss +7 -4
  92. package/lib/components/VBreadcrumbs/index.mjs +3 -3
  93. package/lib/components/VBreadcrumbs/index.mjs.map +1 -1
  94. package/lib/components/VBreadcrumbs/shared.mjs +2 -0
  95. package/lib/components/VBreadcrumbs/shared.mjs.map +1 -0
  96. package/lib/components/VBtn/VBtn.css +300 -0
  97. package/lib/components/VBtn/VBtn.mjs +36 -30
  98. package/lib/components/VBtn/VBtn.mjs.map +1 -1
  99. package/lib/components/VBtn/VBtn.sass +50 -89
  100. package/lib/components/VBtn/_mixins.scss +14 -7
  101. package/lib/components/VBtn/_variables.scss +25 -45
  102. package/lib/components/VBtn/index.mjs +1 -1
  103. package/lib/components/VBtn/index.mjs.map +1 -1
  104. package/lib/components/VBtnGroup/VBtnGroup.css +49 -0
  105. package/lib/components/VBtnGroup/VBtnGroup.mjs +67 -0
  106. package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -0
  107. package/lib/components/VBtnGroup/VBtnGroup.sass +44 -0
  108. package/lib/components/VBtnGroup/_variables.scss +25 -0
  109. package/lib/components/VBtnGroup/index.mjs +2 -0
  110. package/lib/components/VBtnGroup/index.mjs.map +1 -0
  111. package/lib/components/VBtnToggle/VBtnToggle.css +3 -0
  112. package/lib/components/VBtnToggle/VBtnToggle.mjs +45 -39
  113. package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
  114. package/lib/components/VBtnToggle/VBtnToggle.sass +5 -95
  115. package/lib/components/VBtnToggle/_variables.scss +3 -10
  116. package/lib/components/VBtnToggle/index.mjs +1 -3
  117. package/lib/components/VBtnToggle/index.mjs.map +1 -1
  118. package/lib/components/VCalendar/VCalendar.mjs +8 -4
  119. package/lib/components/VCalendar/VCalendar.mjs.map +1 -1
  120. package/lib/components/VCalendar/VCalendarCategory.mjs +1 -1
  121. package/lib/components/VCalendar/VCalendarCategory.mjs.map +1 -1
  122. package/lib/components/VCalendar/VCalendarCategory.sass +67 -0
  123. package/lib/components/VCalendar/VCalendarDaily.mjs +1 -1
  124. package/lib/components/VCalendar/VCalendarDaily.mjs.map +1 -1
  125. package/lib/components/VCalendar/VCalendarMonthly.mjs +1 -1
  126. package/lib/components/VCalendar/VCalendarMonthly.mjs.map +1 -1
  127. package/lib/components/VCalendar/VCalendarWeekly.mjs +1 -1
  128. package/lib/components/VCalendar/VCalendarWeekly.mjs.map +1 -1
  129. package/lib/components/VCalendar/_variables.scss +4 -0
  130. package/lib/components/VCalendar/mixins/calendar-base.mjs +5 -4
  131. package/lib/components/VCalendar/mixins/calendar-base.mjs.map +1 -1
  132. package/lib/components/VCalendar/mixins/calendar-with-events.mjs +18 -12
  133. package/lib/components/VCalendar/mixins/calendar-with-events.mjs.map +1 -1
  134. package/lib/components/VCalendar/mixins/calendar-with-events.sass +7 -1
  135. package/lib/components/VCalendar/mixins/calendar-with-intervals.mjs +2 -1
  136. package/lib/components/VCalendar/mixins/calendar-with-intervals.mjs.map +1 -1
  137. package/lib/components/VCalendar/mixins/mouse.mjs +19 -0
  138. package/lib/components/VCalendar/mixins/mouse.mjs.map +1 -1
  139. package/lib/components/VCalendar/modes/common.mjs +7 -3
  140. package/lib/components/VCalendar/modes/common.mjs.map +1 -1
  141. package/lib/components/VCalendar/modes/stack.mjs +2 -1
  142. package/lib/components/VCalendar/modes/stack.mjs.map +1 -1
  143. package/lib/components/VCalendar/util/events.mjs +3 -1
  144. package/lib/components/VCalendar/util/events.mjs.map +1 -1
  145. package/lib/components/VCalendar/util/timestamp.mjs +19 -7
  146. package/lib/components/VCalendar/util/timestamp.mjs.map +1 -1
  147. package/lib/components/VCard/VCard.css +268 -0
  148. package/lib/components/VCard/VCard.mjs +73 -58
  149. package/lib/components/VCard/VCard.mjs.map +1 -1
  150. package/lib/components/VCard/VCard.sass +25 -42
  151. package/lib/components/VCard/VCardActions.mjs +29 -2
  152. package/lib/components/VCard/VCardActions.mjs.map +1 -1
  153. package/lib/components/VCard/VCardAvatar.mjs +1 -1
  154. package/lib/components/VCard/VCardAvatar.mjs.map +1 -1
  155. package/lib/components/VCard/VCardHeader.mjs +1 -1
  156. package/lib/components/VCard/VCardHeader.mjs.map +1 -1
  157. package/lib/components/VCard/VCardHeaderText.mjs +1 -1
  158. package/lib/components/VCard/VCardHeaderText.mjs.map +1 -1
  159. package/lib/components/VCard/VCardImg.mjs +1 -1
  160. package/lib/components/VCard/VCardImg.mjs.map +1 -1
  161. package/lib/components/VCard/VCardSubtitle.mjs +1 -1
  162. package/lib/components/VCard/VCardSubtitle.mjs.map +1 -1
  163. package/lib/components/VCard/VCardText.mjs +1 -1
  164. package/lib/components/VCard/VCardText.mjs.map +1 -1
  165. package/lib/components/VCard/VCardTitle.mjs +1 -1
  166. package/lib/components/VCard/VCardTitle.mjs.map +1 -1
  167. package/lib/components/VCard/_variables.scss +25 -25
  168. package/lib/components/VCard/index.mjs +9 -11
  169. package/lib/components/VCard/index.mjs.map +1 -1
  170. package/lib/components/VCarousel/VCarousel.css +63 -0
  171. package/lib/components/VCarousel/VCarousel.mjs +100 -179
  172. package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
  173. package/lib/components/VCarousel/VCarousel.sass +7 -2
  174. package/lib/components/VCarousel/VCarouselItem.mjs +23 -58
  175. package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
  176. package/lib/components/VCarousel/_variables.scss +1 -3
  177. package/lib/components/VCarousel/index.mjs +2 -9
  178. package/lib/components/VCarousel/index.mjs.map +1 -1
  179. package/lib/components/VCheckbox/VCheckbox.css +3 -0
  180. package/lib/components/VCheckbox/VCheckbox.mjs +56 -83
  181. package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
  182. package/lib/components/VCheckbox/VCheckbox.sass +8 -8
  183. package/lib/components/VCheckbox/_variables.scss +2 -4
  184. package/lib/components/VCheckbox/index.mjs +1 -9
  185. package/lib/components/VCheckbox/index.mjs.map +1 -1
  186. package/lib/components/VChip/VChip.css +273 -0
  187. package/lib/components/VChip/VChip.mjs +55 -34
  188. package/lib/components/VChip/VChip.mjs.map +1 -1
  189. package/lib/components/VChip/VChip.sass +24 -21
  190. package/lib/components/VChip/_mixins.scss +24 -15
  191. package/lib/components/VChip/_variables.scss +17 -21
  192. package/lib/components/VChip/index.mjs +1 -1
  193. package/lib/components/VChip/index.mjs.map +1 -1
  194. package/lib/components/VChipGroup/VChipGroup.css +18 -0
  195. package/lib/components/VChipGroup/VChipGroup.mjs +66 -38
  196. package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
  197. package/lib/components/VChipGroup/VChipGroup.sass +11 -17
  198. package/lib/components/VChipGroup/_variables.scss +3 -5
  199. package/lib/components/VChipGroup/index.mjs +1 -3
  200. package/lib/components/VChipGroup/index.mjs.map +1 -1
  201. package/lib/components/VCode/VCode.css +7 -0
  202. package/lib/components/VCode/VCode.sass +2 -2
  203. package/lib/components/VCode/index.mjs +1 -1
  204. package/lib/components/VColorPicker/VColorPicker.css +21 -0
  205. package/lib/components/VColorPicker/VColorPicker.mjs +103 -133
  206. package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
  207. package/lib/components/VColorPicker/VColorPicker.sass +10 -17
  208. package/lib/components/VColorPicker/VColorPickerCanvas.css +21 -0
  209. package/lib/components/VColorPicker/VColorPickerCanvas.mjs +139 -121
  210. package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
  211. package/lib/components/VColorPicker/VColorPickerCanvas.sass +5 -3
  212. package/lib/components/VColorPicker/VColorPickerEdit.css +31 -0
  213. package/lib/components/VColorPicker/VColorPickerEdit.mjs +74 -134
  214. package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
  215. package/lib/components/VColorPicker/VColorPickerEdit.sass +9 -6
  216. package/lib/components/VColorPicker/VColorPickerPreview.css +67 -0
  217. package/lib/components/VColorPicker/VColorPickerPreview.mjs +65 -83
  218. package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
  219. package/lib/components/VColorPicker/VColorPickerPreview.sass +42 -39
  220. package/lib/components/VColorPicker/VColorPickerSwatches.css +35 -0
  221. package/lib/components/VColorPicker/VColorPickerSwatches.mjs +34 -54
  222. package/lib/components/VColorPicker/VColorPickerSwatches.mjs.map +1 -1
  223. package/lib/components/VColorPicker/VColorPickerSwatches.sass +6 -4
  224. package/lib/components/VColorPicker/_variables.scss +5 -9
  225. package/lib/components/VColorPicker/index.mjs +1 -5
  226. package/lib/components/VColorPicker/index.mjs.map +1 -1
  227. package/lib/components/VColorPicker/util/index.mjs +141 -97
  228. package/lib/components/VColorPicker/util/index.mjs.map +1 -1
  229. package/lib/components/VCombobox/VCombobox.css +66 -0
  230. package/lib/components/VCombobox/VCombobox.mjs +319 -204
  231. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  232. package/lib/components/VCombobox/VCombobox.sass +91 -0
  233. package/lib/components/VCombobox/_variables.scss +8 -0
  234. package/lib/components/VCombobox/index.mjs +1 -3
  235. package/lib/components/VCombobox/index.mjs.map +1 -1
  236. package/lib/components/VCounter/VCounter.css +6 -0
  237. package/lib/components/VCounter/VCounter.mjs +36 -27
  238. package/lib/components/VCounter/VCounter.mjs.map +1 -1
  239. package/lib/components/VCounter/VCounter.sass +5 -7
  240. package/lib/components/VCounter/_variables.scss +3 -2
  241. package/lib/components/VCounter/index.mjs +1 -3
  242. package/lib/components/VCounter/index.mjs.map +1 -1
  243. package/lib/components/VDataIterator/VDataFooter.mjs +1 -1
  244. package/lib/components/VDataIterator/VDataFooter.mjs.map +1 -1
  245. package/lib/components/VDataIterator/VDataIterator.mjs +19 -7
  246. package/lib/components/VDataIterator/VDataIterator.mjs.map +1 -1
  247. package/lib/components/VDataTable/MobileRow.mjs +6 -5
  248. package/lib/components/VDataTable/MobileRow.mjs.map +1 -1
  249. package/lib/components/VDataTable/Row.mjs +19 -11
  250. package/lib/components/VDataTable/Row.mjs.map +1 -1
  251. package/lib/components/VDataTable/RowGroup.mjs +5 -4
  252. package/lib/components/VDataTable/RowGroup.mjs.map +1 -1
  253. package/lib/components/VDataTable/VDataTable.mjs +10 -5
  254. package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
  255. package/lib/components/VDataTable/VDataTable.sass +5 -0
  256. package/lib/components/VDataTable/VDataTableHeader.mjs +7 -6
  257. package/lib/components/VDataTable/VDataTableHeader.mjs.map +1 -1
  258. package/lib/components/VDataTable/VDataTableHeaderMobile.mjs +2 -2
  259. package/lib/components/VDataTable/VDataTableHeaderMobile.mjs.map +1 -1
  260. package/lib/components/VDataTable/VEditDialog.mjs +7 -6
  261. package/lib/components/VDataTable/VEditDialog.mjs.map +1 -1
  262. package/lib/components/VDataTable/VVirtualTable.mjs +1 -1
  263. package/lib/components/VDataTable/VVirtualTable.mjs.map +1 -1
  264. package/lib/components/VDatePicker/VDatePicker.mjs +2 -2
  265. package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
  266. package/lib/components/VDatePicker/VDatePickerHeader.mjs +4 -4
  267. package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +1 -1
  268. package/lib/components/VDatePicker/VDatePickerTitle.mjs +2 -2
  269. package/lib/components/VDatePicker/VDatePickerTitle.mjs.map +1 -1
  270. package/lib/components/VDatePicker/VDatePickerYears.mjs +3 -3
  271. package/lib/components/VDatePicker/VDatePickerYears.mjs.map +1 -1
  272. package/lib/components/VDatePicker/mixins/date-picker-table.mjs +6 -5
  273. package/lib/components/VDatePicker/mixins/date-picker-table.mjs.map +1 -1
  274. package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs +6 -4
  275. package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs.map +1 -1
  276. package/lib/components/VDatePicker/util/pad.mjs +4 -1
  277. package/lib/components/VDatePicker/util/pad.mjs.map +1 -1
  278. package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +26 -8
  279. package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs.map +1 -1
  280. package/lib/components/VDefaultsProvider/index.mjs +1 -1
  281. package/lib/components/VDefaultsProvider/index.mjs.map +1 -1
  282. package/lib/components/VDialog/VDialog.css +57 -0
  283. package/lib/components/VDialog/VDialog.mjs +46 -47
  284. package/lib/components/VDialog/VDialog.mjs.map +1 -1
  285. package/lib/components/VDialog/VDialog.sass +20 -2
  286. package/lib/components/VDialog/_variables.scss +9 -4
  287. package/lib/components/VDialog/index.mjs +1 -2
  288. package/lib/components/VDialog/index.mjs.map +1 -1
  289. package/lib/components/VDivider/VDivider.css +30 -0
  290. package/lib/components/VDivider/VDivider.mjs +21 -14
  291. package/lib/components/VDivider/VDivider.mjs.map +1 -1
  292. package/lib/components/VDivider/VDivider.sass +5 -9
  293. package/lib/components/VDivider/_variables.scss +4 -2
  294. package/lib/components/VDivider/index.mjs +1 -1
  295. package/lib/components/VDivider/index.mjs.map +1 -1
  296. package/lib/components/VExpansionPanel/VExpansionPanel.css +189 -0
  297. package/lib/components/VExpansionPanel/VExpansionPanel.mjs +83 -81
  298. package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
  299. package/lib/components/VExpansionPanel/VExpansionPanel.sass +91 -129
  300. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +42 -0
  301. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -0
  302. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +77 -0
  303. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -0
  304. package/lib/components/VExpansionPanel/VExpansionPanels.mjs +42 -60
  305. package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
  306. package/lib/components/VExpansionPanel/_variables.scss +13 -7
  307. package/lib/components/VExpansionPanel/index.mjs +4 -13
  308. package/lib/components/VExpansionPanel/index.mjs.map +1 -1
  309. package/lib/components/VField/VField.css +410 -0
  310. package/lib/components/VField/VField.mjs +249 -0
  311. package/lib/components/VField/VField.mjs.map +1 -0
  312. package/lib/components/VField/VField.sass +392 -0
  313. package/lib/components/VField/VFieldLabel.mjs +27 -0
  314. package/lib/components/VField/VFieldLabel.mjs.map +1 -0
  315. package/lib/components/VField/_variables.scss +44 -0
  316. package/lib/components/VField/index.mjs +3 -0
  317. package/lib/components/VField/index.mjs.map +1 -0
  318. package/lib/components/VFileInput/VFileInput.css +8 -0
  319. package/lib/components/VFileInput/VFileInput.mjs +180 -224
  320. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  321. package/lib/components/VFileInput/VFileInput.sass +3 -51
  322. package/lib/components/VFileInput/_variables.scss +2 -6
  323. package/lib/components/VFileInput/index.mjs +1 -3
  324. package/lib/components/VFileInput/index.mjs.map +1 -1
  325. package/lib/components/VFooter/VFooter.css +20 -0
  326. package/lib/components/VFooter/VFooter.mjs +25 -18
  327. package/lib/components/VFooter/VFooter.mjs.map +1 -1
  328. package/lib/components/VFooter/VFooter.sass +10 -8
  329. package/lib/components/VFooter/_variables.scss +7 -4
  330. package/lib/components/VFooter/index.mjs +1 -1
  331. package/lib/components/VFooter/index.mjs.map +1 -1
  332. package/lib/components/VForm/VForm.mjs +46 -127
  333. package/lib/components/VForm/VForm.mjs.map +1 -1
  334. package/lib/components/VForm/index.mjs +1 -3
  335. package/lib/components/VForm/index.mjs.map +1 -1
  336. package/lib/components/VGrid/VCol.mjs +10 -9
  337. package/lib/components/VGrid/VCol.mjs.map +1 -1
  338. package/lib/components/VGrid/VContainer.mjs +10 -10
  339. package/lib/components/VGrid/VContainer.mjs.map +1 -1
  340. package/lib/components/VGrid/VGrid.css +1002 -0
  341. package/lib/components/VGrid/VGrid.sass +9 -8
  342. package/lib/components/VGrid/VRow.mjs +10 -9
  343. package/lib/components/VGrid/VRow.mjs.map +1 -1
  344. package/lib/components/VGrid/VSpacer.mjs +1 -1
  345. package/lib/components/VGrid/VSpacer.mjs.map +1 -1
  346. package/lib/components/VGrid/_mixins.sass +26 -21
  347. package/lib/components/VGrid/index.mjs +4 -4
  348. package/lib/components/VGrid/index.mjs.map +1 -1
  349. package/lib/components/VHover/VHover.mjs +31 -61
  350. package/lib/components/VHover/VHover.mjs.map +1 -1
  351. package/lib/components/VHover/index.mjs +1 -3
  352. package/lib/components/VHover/index.mjs.map +1 -1
  353. package/lib/components/VIcon/VIcon.css +50 -0
  354. package/lib/components/VIcon/VIcon.mjs +20 -14
  355. package/lib/components/VIcon/VIcon.mjs.map +1 -1
  356. package/lib/components/VIcon/VIcon.sass +16 -42
  357. package/lib/components/VIcon/_variables.scss +14 -14
  358. package/lib/components/VIcon/index.mjs +1 -1
  359. package/lib/components/VIcon/index.mjs.map +1 -1
  360. package/lib/components/VImg/VImg.css +34 -0
  361. package/lib/components/VImg/VImg.mjs +62 -31
  362. package/lib/components/VImg/VImg.mjs.map +1 -1
  363. package/lib/components/VImg/VImg.sass +11 -16
  364. package/lib/components/VImg/index.mjs +1 -1
  365. package/lib/components/VImg/index.mjs.map +1 -1
  366. package/lib/components/VInput/VInput.css +110 -0
  367. package/lib/components/VInput/VInput.mjs +103 -280
  368. package/lib/components/VInput/VInput.mjs.map +1 -1
  369. package/lib/components/VInput/VInput.sass +77 -127
  370. package/lib/components/VInput/_variables.scss +17 -13
  371. package/lib/components/VInput/index.mjs +1 -3
  372. package/lib/components/VInput/index.mjs.map +1 -1
  373. package/lib/components/VItemGroup/VItem.mjs +8 -7
  374. package/lib/components/VItemGroup/VItem.mjs.map +1 -1
  375. package/lib/components/VItemGroup/VItemGroup.css +6 -0
  376. package/lib/components/VItemGroup/VItemGroup.mjs +12 -12
  377. package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
  378. package/lib/components/VItemGroup/VItemGroup.sass +2 -2
  379. package/lib/components/VItemGroup/_variables.scss +3 -1
  380. package/lib/components/VItemGroup/index.mjs +2 -2
  381. package/lib/components/VItemGroup/index.mjs.map +1 -1
  382. package/lib/components/VKbd/VKbd.css +9 -0
  383. package/lib/components/VKbd/VKbd.sass +4 -3
  384. package/lib/components/VKbd/index.mjs +1 -1
  385. package/lib/components/VLabel/VLabel.css +12 -0
  386. package/lib/components/VLabel/VLabel.mjs +18 -56
  387. package/lib/components/VLabel/VLabel.mjs.map +1 -1
  388. package/lib/components/VLabel/VLabel.sass +13 -11
  389. package/lib/components/VLabel/_variables.scss +7 -4
  390. package/lib/components/VLabel/index.mjs +1 -3
  391. package/lib/components/VLabel/index.mjs.map +1 -1
  392. package/lib/components/VLayout/VLayout.css +11 -0
  393. package/lib/components/VLayout/VLayout.mjs +15 -11
  394. package/lib/components/VLayout/VLayout.mjs.map +1 -1
  395. package/lib/components/VLayout/VLayout.sass +1 -4
  396. package/lib/components/VLayout/VLayoutItem.css +8 -0
  397. package/lib/components/VLayout/VLayoutItem.mjs +24 -15
  398. package/lib/components/VLayout/VLayoutItem.mjs.map +1 -1
  399. package/lib/components/VLayout/VLayoutItem.sass +3 -3
  400. package/lib/components/VLayout/index.mjs +2 -2
  401. package/lib/components/VLayout/index.mjs.map +1 -1
  402. package/lib/components/VLazy/VLazy.mjs +10 -10
  403. package/lib/components/VLazy/VLazy.mjs.map +1 -1
  404. package/lib/components/VLazy/index.mjs +1 -1
  405. package/lib/components/VLazy/index.mjs.map +1 -1
  406. package/lib/components/VList/VList.css +106 -0
  407. package/lib/components/VList/VList.mjs +80 -31
  408. package/lib/components/VList/VList.mjs.map +1 -1
  409. package/lib/components/VList/VList.sass +17 -16
  410. package/lib/components/VList/VListChildren.mjs +53 -0
  411. package/lib/components/VList/VListChildren.mjs.map +1 -0
  412. package/lib/components/VList/VListGroup.mjs +84 -0
  413. package/lib/components/VList/VListGroup.mjs.map +1 -0
  414. package/lib/components/VList/VListImg.mjs +1 -1
  415. package/lib/components/VList/VListImg.mjs.map +1 -1
  416. package/lib/components/VList/VListItem.css +273 -0
  417. package/lib/components/VList/VListItem.mjs +98 -41
  418. package/lib/components/VList/VListItem.mjs.map +1 -1
  419. package/lib/components/VList/VListItem.sass +46 -17
  420. package/lib/components/VList/VListItemAvatar.mjs +9 -9
  421. package/lib/components/VList/VListItemAvatar.mjs.map +1 -1
  422. package/lib/components/VList/VListItemHeader.mjs +1 -1
  423. package/lib/components/VList/VListItemHeader.mjs.map +1 -1
  424. package/lib/components/VList/VListItemMedia.mjs +9 -9
  425. package/lib/components/VList/VListItemMedia.mjs.map +1 -1
  426. package/lib/components/VList/VListItemSubtitle.mjs +1 -1
  427. package/lib/components/VList/VListItemSubtitle.mjs.map +1 -1
  428. package/lib/components/VList/VListItemTitle.mjs +1 -1
  429. package/lib/components/VList/VListItemTitle.mjs.map +1 -1
  430. package/lib/components/VList/VListSubheader.mjs +29 -20
  431. package/lib/components/VList/VListSubheader.mjs.map +1 -1
  432. package/lib/components/VList/_variables.scss +25 -19
  433. package/lib/components/VList/index.mjs +10 -9
  434. package/lib/components/VList/index.mjs.map +1 -1
  435. package/lib/components/VList/list.mjs +31 -0
  436. package/lib/components/VList/list.mjs.map +1 -0
  437. package/lib/components/VLocaleProvider/VLocaleProvider.css +3 -0
  438. package/lib/components/VLocaleProvider/VLocaleProvider.mjs +10 -10
  439. package/lib/components/VLocaleProvider/VLocaleProvider.mjs.map +1 -1
  440. package/lib/components/VLocaleProvider/index.mjs +1 -1
  441. package/lib/components/VLocaleProvider/index.mjs.map +1 -1
  442. package/lib/components/VMain/VMain.css +18 -0
  443. package/lib/components/VMain/VMain.mjs +12 -12
  444. package/lib/components/VMain/VMain.mjs.map +1 -1
  445. package/lib/components/VMain/VMain.sass +2 -1
  446. package/lib/components/VMain/_variables.scss +3 -1
  447. package/lib/components/VMain/index.mjs +1 -1
  448. package/lib/components/VMain/index.mjs.map +1 -1
  449. package/lib/components/VMenu/VMenu.css +24 -0
  450. package/lib/components/VMenu/VMenu.mjs +53 -451
  451. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  452. package/lib/components/VMenu/VMenu.sass +20 -71
  453. package/lib/components/VMenu/_variables.scss +3 -2
  454. package/lib/components/VMenu/index.mjs +1 -3
  455. package/lib/components/VMenu/index.mjs.map +1 -1
  456. package/lib/components/VMessages/VMessages.css +16 -0
  457. package/lib/components/VMessages/VMessages.mjs +42 -41
  458. package/lib/components/VMessages/VMessages.mjs.map +1 -1
  459. package/lib/components/VMessages/VMessages.sass +5 -10
  460. package/lib/components/VMessages/_variables.scss +3 -2
  461. package/lib/components/VMessages/index.mjs +1 -3
  462. package/lib/components/VMessages/index.mjs.map +1 -1
  463. package/lib/components/VNavigationDrawer/VNavigationDrawer.css +93 -0
  464. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +95 -30
  465. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
  466. package/lib/components/VNavigationDrawer/VNavigationDrawer.sass +36 -21
  467. package/lib/components/VNavigationDrawer/_variables.scss +9 -6
  468. package/lib/components/VNavigationDrawer/index.mjs +1 -1
  469. package/lib/components/VNavigationDrawer/index.mjs.map +1 -1
  470. package/lib/components/VNavigationDrawer/touch.mjs +139 -0
  471. package/lib/components/VNavigationDrawer/touch.mjs.map +1 -0
  472. package/lib/components/VNoSsr/VNoSsr.mjs +23 -0
  473. package/lib/components/VNoSsr/VNoSsr.mjs.map +1 -0
  474. package/lib/components/VNoSsr/index.mjs +2 -0
  475. package/lib/components/VNoSsr/index.mjs.map +1 -0
  476. package/lib/components/VOtpInput/VOtpInput.mjs +345 -0
  477. package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -0
  478. package/lib/components/VOtpInput/VOtpInput.sass +37 -0
  479. package/lib/components/VOtpInput/_variables.scss +4 -0
  480. package/lib/components/VOtpInput/index.mjs +4 -0
  481. package/lib/components/VOtpInput/index.mjs.map +1 -0
  482. package/lib/components/VOverflowBtn/VOverflowBtn.mjs +1 -1
  483. package/lib/components/VOverflowBtn/VOverflowBtn.mjs.map +1 -1
  484. package/lib/components/VOverlay/VOverlay.css +55 -0
  485. package/lib/components/VOverlay/VOverlay.mjs +120 -193
  486. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  487. package/lib/components/VOverlay/VOverlay.sass +21 -22
  488. package/lib/components/VOverlay/_variables.scss +0 -2
  489. package/lib/components/VOverlay/index.mjs +1 -2
  490. package/lib/components/VOverlay/index.mjs.map +1 -1
  491. package/lib/components/VOverlay/positionStrategies.mjs +203 -0
  492. package/lib/components/VOverlay/positionStrategies.mjs.map +1 -0
  493. package/lib/components/VOverlay/requestNewFrame.mjs +28 -0
  494. package/lib/components/VOverlay/requestNewFrame.mjs.map +1 -0
  495. package/lib/components/VOverlay/scrollStrategies.mjs +128 -0
  496. package/lib/components/VOverlay/scrollStrategies.mjs.map +1 -0
  497. package/lib/components/VOverlay/useActivator.mjs +205 -0
  498. package/lib/components/VOverlay/useActivator.mjs.map +1 -0
  499. package/lib/components/VOverlay/util/anchor.mjs +52 -0
  500. package/lib/components/VOverlay/util/anchor.mjs.map +1 -0
  501. package/lib/components/VOverlay/util/point.mjs +56 -0
  502. package/lib/components/VOverlay/util/point.mjs.map +1 -0
  503. package/lib/components/VPagination/VPagination.css +9 -0
  504. package/lib/components/VPagination/VPagination.mjs +48 -51
  505. package/lib/components/VPagination/VPagination.mjs.map +1 -1
  506. package/lib/components/VPagination/VPagination.sass +14 -8
  507. package/lib/components/VPagination/index.mjs +1 -1
  508. package/lib/components/VPagination/index.mjs.map +1 -1
  509. package/lib/components/VParallax/VParallax.css +7 -0
  510. package/lib/components/VParallax/VParallax.mjs +71 -77
  511. package/lib/components/VParallax/VParallax.mjs.map +1 -1
  512. package/lib/components/VParallax/VParallax.sass +1 -32
  513. package/lib/components/VParallax/index.mjs +1 -3
  514. package/lib/components/VParallax/index.mjs.map +1 -1
  515. package/lib/components/VPicker/VPicker.mjs +5 -5
  516. package/lib/components/VPicker/VPicker.mjs.map +1 -1
  517. package/lib/components/VProgressCircular/VProgressCircular.css +101 -0
  518. package/lib/components/VProgressCircular/VProgressCircular.mjs +30 -20
  519. package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
  520. package/lib/components/VProgressCircular/VProgressCircular.sass +6 -4
  521. package/lib/components/VProgressCircular/_variables.scss +1 -1
  522. package/lib/components/VProgressCircular/index.mjs +1 -1
  523. package/lib/components/VProgressCircular/index.mjs.map +1 -1
  524. package/lib/components/VProgressLinear/VProgressLinear.css +212 -0
  525. package/lib/components/VProgressLinear/VProgressLinear.mjs +138 -226
  526. package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
  527. package/lib/components/VProgressLinear/VProgressLinear.sass +83 -157
  528. package/lib/components/VProgressLinear/_variables.scss +11 -3
  529. package/lib/components/VProgressLinear/index.mjs +1 -3
  530. package/lib/components/VProgressLinear/index.mjs.map +1 -1
  531. package/lib/components/VRadio/VRadio.mjs +34 -0
  532. package/lib/components/VRadio/VRadio.mjs.map +1 -0
  533. package/lib/components/VRadio/index.mjs +2 -0
  534. package/lib/components/VRadio/index.mjs.map +1 -0
  535. package/lib/components/VRadioGroup/VRadioGroup.css +10 -0
  536. package/lib/components/VRadioGroup/VRadioGroup.mjs +66 -69
  537. package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
  538. package/lib/components/VRadioGroup/VRadioGroup.sass +7 -37
  539. package/lib/components/VRadioGroup/_variables.scss +3 -3
  540. package/lib/components/VRadioGroup/index.mjs +1 -9
  541. package/lib/components/VRadioGroup/index.mjs.map +1 -1
  542. package/lib/components/VRangeSlider/VRangeSlider.mjs +192 -207
  543. package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
  544. package/lib/components/VRangeSlider/index.mjs +1 -3
  545. package/lib/components/VRangeSlider/index.mjs.map +1 -1
  546. package/lib/components/VRating/VRating.css +58 -0
  547. package/lib/components/VRating/VRating.mjs +34 -28
  548. package/lib/components/VRating/VRating.mjs.map +1 -1
  549. package/lib/components/VRating/VRating.sass +5 -3
  550. package/lib/components/VRating/_variables.scss +3 -1
  551. package/lib/components/VRating/index.mjs +1 -1
  552. package/lib/components/VRating/index.mjs.map +1 -1
  553. package/lib/components/VResponsive/VResponsive.css +23 -0
  554. package/lib/components/VResponsive/VResponsive.mjs +12 -11
  555. package/lib/components/VResponsive/VResponsive.mjs.map +1 -1
  556. package/lib/components/VResponsive/VResponsive.sass +4 -7
  557. package/lib/components/VResponsive/index.mjs +1 -1
  558. package/lib/components/VResponsive/index.mjs.map +1 -1
  559. package/lib/components/VSelect/VSelect.css +34 -0
  560. package/lib/components/VSelect/VSelect.mjs +186 -777
  561. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  562. package/lib/components/VSelect/VSelect.sass +44 -153
  563. package/lib/components/VSelect/_variables.scss +7 -21
  564. package/lib/components/VSelect/index.mjs +1 -3
  565. package/lib/components/VSelect/index.mjs.map +1 -1
  566. package/lib/components/VSelectionControl/VSelectionControl.css +97 -0
  567. package/lib/components/VSelectionControl/VSelectionControl.mjs +209 -0
  568. package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -0
  569. package/lib/components/VSelectionControl/VSelectionControl.sass +96 -0
  570. package/lib/components/VSelectionControl/_variables.scss +9 -0
  571. package/lib/components/VSelectionControl/index.mjs +2 -0
  572. package/lib/components/VSelectionControl/index.mjs.map +1 -0
  573. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +3 -0
  574. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +64 -0
  575. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -0
  576. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.sass +9 -0
  577. package/lib/components/VSelectionControlGroup/_variables.scss +4 -0
  578. package/lib/components/VSelectionControlGroup/index.mjs +2 -0
  579. package/lib/components/VSelectionControlGroup/index.mjs.map +1 -0
  580. package/lib/components/VSheet/VSheet.css +23 -0
  581. package/lib/components/VSheet/VSheet.mjs +17 -19
  582. package/lib/components/VSheet/VSheet.mjs.map +1 -1
  583. package/lib/components/VSheet/VSheet.sass +11 -16
  584. package/lib/components/VSheet/_variables.scss +6 -7
  585. package/lib/components/VSheet/index.mjs +1 -1
  586. package/lib/components/VSheet/index.mjs.map +1 -1
  587. package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +7 -7
  588. package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
  589. package/lib/components/VSlideGroup/VSlideGroup.css +47 -0
  590. package/lib/components/VSlideGroup/VSlideGroup.mjs +276 -358
  591. package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
  592. package/lib/components/VSlideGroup/VSlideGroup.sass +21 -21
  593. package/lib/components/VSlideGroup/VSlideGroupItem.mjs +27 -0
  594. package/lib/components/VSlideGroup/VSlideGroupItem.mjs.map +1 -0
  595. package/lib/components/VSlideGroup/_variables.scss +4 -1
  596. package/lib/components/VSlideGroup/helpers.mjs +54 -0
  597. package/lib/components/VSlideGroup/helpers.mjs.map +1 -0
  598. package/lib/components/VSlideGroup/index.mjs +2 -9
  599. package/lib/components/VSlideGroup/index.mjs.map +1 -1
  600. package/lib/components/VSlider/VSlider.css +48 -0
  601. package/lib/components/VSlider/VSlider.mjs +113 -538
  602. package/lib/components/VSlider/VSlider.mjs.map +1 -1
  603. package/lib/components/VSlider/VSlider.sass +29 -271
  604. package/lib/components/VSlider/VSliderThumb.css +142 -0
  605. package/lib/components/VSlider/VSliderThumb.mjs +165 -0
  606. package/lib/components/VSlider/VSliderThumb.mjs.map +1 -0
  607. package/lib/components/VSlider/VSliderThumb.sass +147 -0
  608. package/lib/components/VSlider/VSliderTrack.css +150 -0
  609. package/lib/components/VSlider/VSliderTrack.mjs +121 -0
  610. package/lib/components/VSlider/VSliderTrack.mjs.map +1 -0
  611. package/lib/components/VSlider/VSliderTrack.sass +159 -0
  612. package/lib/components/VSlider/_variables.scss +19 -13
  613. package/lib/components/VSlider/index.mjs +1 -3
  614. package/lib/components/VSlider/index.mjs.map +1 -1
  615. package/lib/components/VSlider/slider.mjs +300 -0
  616. package/lib/components/VSlider/slider.mjs.map +1 -0
  617. package/lib/components/VSnackbar/VSnackbar.css +136 -0
  618. package/lib/components/VSnackbar/VSnackbar.mjs +89 -168
  619. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  620. package/lib/components/VSnackbar/VSnackbar.sass +34 -69
  621. package/lib/components/VSnackbar/_variables.scss +20 -21
  622. package/lib/components/VSnackbar/index.mjs +1 -3
  623. package/lib/components/VSnackbar/index.mjs.map +1 -1
  624. package/lib/components/VSparkline/VSparkline.mjs +1 -1
  625. package/lib/components/VSparkline/VSparkline.mjs.map +1 -1
  626. package/lib/components/VSparkline/helpers/path.mjs +3 -1
  627. package/lib/components/VSparkline/helpers/path.mjs.map +1 -1
  628. package/lib/components/VSpeedDial/VSpeedDial.mjs +2 -2
  629. package/lib/components/VSpeedDial/VSpeedDial.mjs.map +1 -1
  630. package/lib/components/VStepper/VStepper.mjs +2 -2
  631. package/lib/components/VStepper/VStepper.mjs.map +1 -1
  632. package/lib/components/VStepper/VStepper.sass +5 -1
  633. package/lib/components/VStepper/VStepperStep.mjs +1 -1
  634. package/lib/components/VStepper/_variables.scss +2 -1
  635. package/lib/components/VSwitch/VSwitch.css +69 -0
  636. package/lib/components/VSwitch/VSwitch.mjs +100 -111
  637. package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
  638. package/lib/components/VSwitch/VSwitch.sass +71 -129
  639. package/lib/components/VSwitch/_variables.scss +10 -23
  640. package/lib/components/VSwitch/index.mjs +1 -3
  641. package/lib/components/VSwitch/index.mjs.map +1 -1
  642. package/lib/components/VSystemBar/VSystemBar.css +40 -0
  643. package/lib/components/VSystemBar/VSystemBar.mjs +23 -24
  644. package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
  645. package/lib/components/VSystemBar/VSystemBar.sass +16 -23
  646. package/lib/components/VSystemBar/_variables.scss +30 -17
  647. package/lib/components/VSystemBar/index.mjs +1 -1
  648. package/lib/components/VSystemBar/index.mjs.map +1 -1
  649. package/lib/components/VTable/VTable.css +143 -0
  650. package/lib/components/VTable/VTable.mjs +54 -0
  651. package/lib/components/VTable/VTable.mjs.map +1 -0
  652. package/lib/components/VTable/VTable.sass +156 -0
  653. package/lib/components/VTable/_mixins.scss +25 -0
  654. package/lib/components/VTable/_variables.scss +21 -0
  655. package/lib/components/VTable/index.mjs +2 -0
  656. package/lib/components/VTable/index.mjs.map +1 -0
  657. package/lib/components/VTabs/VTab.css +29 -0
  658. package/lib/components/VTabs/VTab.mjs +114 -70
  659. package/lib/components/VTabs/VTab.mjs.map +1 -1
  660. package/lib/components/VTabs/VTab.sass +30 -0
  661. package/lib/components/VTabs/VTabs.css +67 -0
  662. package/lib/components/VTabs/VTabs.mjs +82 -278
  663. package/lib/components/VTabs/VTabs.mjs.map +1 -1
  664. package/lib/components/VTabs/VTabs.sass +37 -207
  665. package/lib/components/VTabs/_variables.scss +10 -18
  666. package/lib/components/VTabs/index.mjs +2 -15
  667. package/lib/components/VTabs/index.mjs.map +1 -1
  668. package/lib/components/VTextField/VTextField.css +70 -0
  669. package/lib/components/VTextField/VTextField.mjs +166 -484
  670. package/lib/components/VTextField/VTextField.mjs.map +1 -1
  671. package/lib/components/VTextField/VTextField.sass +56 -493
  672. package/lib/components/VTextField/_variables.scss +10 -50
  673. package/lib/components/VTextField/index.mjs +1 -3
  674. package/lib/components/VTextField/index.mjs.map +1 -1
  675. package/lib/components/VTextarea/VTextarea.css +34 -0
  676. package/lib/components/VTextarea/VTextarea.mjs +210 -74
  677. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  678. package/lib/components/VTextarea/VTextarea.sass +32 -76
  679. package/lib/components/VTextarea/_variables.scss +2 -4
  680. package/lib/components/VTextarea/index.mjs +1 -3
  681. package/lib/components/VTextarea/index.mjs.map +1 -1
  682. package/lib/components/VThemeProvider/VThemeProvider.css +4 -0
  683. package/lib/components/VThemeProvider/VThemeProvider.mjs +12 -12
  684. package/lib/components/VThemeProvider/VThemeProvider.mjs.map +1 -1
  685. package/lib/components/VThemeProvider/index.mjs +1 -1
  686. package/lib/components/VThemeProvider/index.mjs.map +1 -1
  687. package/lib/components/VTimePicker/VTimePicker.mjs +2 -2
  688. package/lib/components/VTimePicker/VTimePicker.mjs.map +1 -1
  689. package/lib/components/VTimePicker/VTimePickerClock.mjs +3 -3
  690. package/lib/components/VTimePicker/VTimePickerClock.mjs.map +1 -1
  691. package/lib/components/VTimePicker/VTimePickerTitle.mjs +2 -2
  692. package/lib/components/VTimePicker/VTimePickerTitle.mjs.map +1 -1
  693. package/lib/components/VTimeline/VTimeline.css +260 -0
  694. package/lib/components/VTimeline/VTimeline.mjs +18 -18
  695. package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
  696. package/lib/components/VTimeline/VTimeline.sass +11 -7
  697. package/lib/components/VTimeline/VTimelineDivider.mjs +9 -8
  698. package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -1
  699. package/lib/components/VTimeline/VTimelineItem.mjs +14 -15
  700. package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
  701. package/lib/components/VTimeline/_mixins.sass +8 -5
  702. package/lib/components/VTimeline/_variables.scss +3 -1
  703. package/lib/components/VTimeline/index.mjs +2 -2
  704. package/lib/components/VTimeline/index.mjs.map +1 -1
  705. package/lib/components/VTimeline/shared.mjs +2 -0
  706. package/lib/components/VTimeline/shared.mjs.map +1 -0
  707. package/lib/components/VToolbar/VToolbar.css +138 -0
  708. package/lib/components/VToolbar/VToolbar.mjs +138 -141
  709. package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
  710. package/lib/components/VToolbar/VToolbar.sass +74 -123
  711. package/lib/components/VToolbar/VToolbarItems.mjs +33 -0
  712. package/lib/components/VToolbar/VToolbarItems.mjs.map +1 -0
  713. package/lib/components/VToolbar/VToolbarTitle.mjs +34 -0
  714. package/lib/components/VToolbar/VToolbarTitle.mjs.map +1 -0
  715. package/lib/components/VToolbar/_variables.scss +53 -15
  716. package/lib/components/VToolbar/index.mjs +3 -14
  717. package/lib/components/VToolbar/index.mjs.map +1 -1
  718. package/lib/components/VTooltip/VTooltip.css +22 -0
  719. package/lib/components/VTooltip/VTooltip.mjs +73 -198
  720. package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
  721. package/lib/components/VTooltip/VTooltip.sass +8 -15
  722. package/lib/components/VTooltip/_variables.scss +6 -6
  723. package/lib/components/VTooltip/index.mjs +1 -3
  724. package/lib/components/VTooltip/index.mjs.map +1 -1
  725. package/lib/components/VTreeview/VTreeview.mjs +18 -9
  726. package/lib/components/VTreeview/VTreeview.mjs.map +1 -1
  727. package/lib/components/VTreeview/VTreeviewNode.mjs +4 -2
  728. package/lib/components/VTreeview/VTreeviewNode.mjs.map +1 -1
  729. package/lib/components/VTreeview/_mixins.sass +3 -3
  730. package/lib/components/VValidation/VValidation.mjs +26 -0
  731. package/lib/components/VValidation/VValidation.mjs.map +1 -0
  732. package/lib/components/VValidation/index.mjs +2 -0
  733. package/lib/components/VValidation/index.mjs.map +1 -0
  734. package/lib/components/VVirtualScroll/VVirtualScroll.mjs +1 -1
  735. package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
  736. package/lib/components/VWindow/VWindow.css +70 -0
  737. package/lib/components/VWindow/VWindow.mjs +166 -233
  738. package/lib/components/VWindow/VWindow.mjs.map +1 -1
  739. package/lib/components/VWindow/VWindow.sass +26 -50
  740. package/lib/components/VWindow/VWindowItem.mjs +72 -98
  741. package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
  742. package/lib/components/VWindow/_variables.scss +2 -3
  743. package/lib/components/VWindow/index.mjs +2 -9
  744. package/lib/components/VWindow/index.mjs.map +1 -1
  745. package/lib/components/index.d.ts +12766 -1769
  746. package/lib/components/index.mjs +64 -57
  747. package/lib/components/index.mjs.map +1 -1
  748. package/lib/components/transitions/createTransition.mjs +20 -20
  749. package/lib/components/transitions/createTransition.mjs.map +1 -1
  750. package/lib/components/transitions/dialog-transition.mjs +51 -23
  751. package/lib/components/transitions/dialog-transition.mjs.map +1 -1
  752. package/lib/components/transitions/expand-transition.mjs +3 -1
  753. package/lib/components/transitions/expand-transition.mjs.map +1 -1
  754. package/lib/components/transitions/index.mjs +1 -1
  755. package/lib/components/transitions/index.mjs.map +1 -1
  756. package/lib/composables/border.mjs +3 -2
  757. package/lib/composables/border.mjs.map +1 -1
  758. package/lib/composables/defaults.mjs +29 -5
  759. package/lib/composables/defaults.mjs.map +1 -1
  760. package/lib/composables/density.mjs +3 -2
  761. package/lib/composables/density.mjs.map +1 -1
  762. package/lib/composables/display.mjs +2 -1
  763. package/lib/composables/display.mjs.map +1 -1
  764. package/lib/composables/elevation.mjs +4 -3
  765. package/lib/composables/elevation.mjs.map +1 -1
  766. package/lib/composables/filter.mjs +87 -0
  767. package/lib/composables/filter.mjs.map +1 -0
  768. package/lib/composables/focus.mjs +35 -0
  769. package/lib/composables/focus.mjs.map +1 -0
  770. package/lib/composables/form.mjs +103 -0
  771. package/lib/composables/form.mjs.map +1 -0
  772. package/lib/composables/forwardRef.mjs +42 -0
  773. package/lib/composables/forwardRef.mjs.map +1 -0
  774. package/lib/composables/group.mjs +66 -34
  775. package/lib/composables/group.mjs.map +1 -1
  776. package/lib/composables/hydration.mjs +12 -0
  777. package/lib/composables/hydration.mjs.map +1 -0
  778. package/lib/composables/icons.mjs +17 -23
  779. package/lib/composables/icons.mjs.map +1 -1
  780. package/lib/composables/index.mjs +9 -0
  781. package/lib/composables/index.mjs.map +1 -0
  782. package/lib/composables/intersectionObserver.mjs +21 -16
  783. package/lib/composables/intersectionObserver.mjs.map +1 -1
  784. package/lib/composables/layout.mjs +126 -41
  785. package/lib/composables/layout.mjs.map +1 -1
  786. package/lib/composables/lazy.mjs +23 -0
  787. package/lib/composables/lazy.mjs.map +1 -0
  788. package/lib/composables/loader.mjs +39 -0
  789. package/lib/composables/loader.mjs.map +1 -0
  790. package/lib/composables/locale.mjs +10 -6
  791. package/lib/composables/locale.mjs.map +1 -1
  792. package/lib/composables/mutationObserver.mjs +43 -0
  793. package/lib/composables/mutationObserver.mjs.map +1 -0
  794. package/lib/composables/nested/nested.mjs +194 -0
  795. package/lib/composables/nested/nested.mjs.map +1 -0
  796. package/lib/composables/nested/openStrategies.mjs +49 -0
  797. package/lib/composables/nested/openStrategies.mjs.map +1 -0
  798. package/lib/composables/nested/selectStrategies.mjs +157 -0
  799. package/lib/composables/nested/selectStrategies.mjs.map +1 -0
  800. package/lib/composables/overlay.mjs +30 -0
  801. package/lib/composables/overlay.mjs.map +1 -0
  802. package/lib/composables/position.mjs +3 -2
  803. package/lib/composables/position.mjs.map +1 -1
  804. package/lib/composables/proxiedModel.mjs +10 -5
  805. package/lib/composables/proxiedModel.mjs.map +1 -1
  806. package/lib/composables/refs.mjs.map +1 -1
  807. package/lib/composables/resizeObserver.mjs +27 -21
  808. package/lib/composables/resizeObserver.mjs.map +1 -1
  809. package/lib/composables/rounded.mjs +9 -10
  810. package/lib/composables/rounded.mjs.map +1 -1
  811. package/lib/composables/router.mjs +7 -5
  812. package/lib/composables/router.mjs.map +1 -1
  813. package/lib/composables/scroll.mjs +2 -1
  814. package/lib/composables/scroll.mjs.map +1 -1
  815. package/lib/composables/size.mjs +3 -2
  816. package/lib/composables/size.mjs.map +1 -1
  817. package/lib/composables/stack.mjs +33 -0
  818. package/lib/composables/stack.mjs.map +1 -0
  819. package/lib/composables/teleport.mjs +4 -1
  820. package/lib/composables/teleport.mjs.map +1 -1
  821. package/lib/composables/theme.mjs +114 -63
  822. package/lib/composables/theme.mjs.map +1 -1
  823. package/lib/composables/touch.mjs +129 -0
  824. package/lib/composables/touch.mjs.map +1 -0
  825. package/lib/composables/transition.mjs +4 -3
  826. package/lib/composables/transition.mjs.map +1 -1
  827. package/lib/composables/validation.mjs +116 -0
  828. package/lib/composables/validation.mjs.map +1 -0
  829. package/lib/composables/variant.mjs +20 -9
  830. package/lib/composables/variant.mjs.map +1 -1
  831. package/lib/directives/click-outside/index.mjs +23 -11
  832. package/lib/directives/click-outside/index.mjs.map +1 -1
  833. package/lib/directives/index.d.ts +6 -4
  834. package/lib/directives/index.mjs +2 -2
  835. package/lib/directives/index.mjs.map +1 -1
  836. package/lib/directives/intersect/index.mjs +19 -12
  837. package/lib/directives/intersect/index.mjs.map +1 -1
  838. package/lib/directives/mutate/index.mjs +33 -34
  839. package/lib/directives/mutate/index.mjs.map +1 -1
  840. package/lib/directives/resize/index.mjs +8 -5
  841. package/lib/directives/resize/index.mjs.map +1 -1
  842. package/lib/directives/ripple/VRipple.css +34 -0
  843. package/lib/directives/ripple/VRipple.sass +2 -1
  844. package/lib/directives/ripple/_variables.scss +4 -4
  845. package/lib/directives/ripple/index.mjs +7 -4
  846. package/lib/directives/ripple/index.mjs.map +1 -1
  847. package/lib/directives/scroll/index.mjs +9 -6
  848. package/lib/directives/scroll/index.mjs.map +1 -1
  849. package/lib/directives/touch/index.mjs +8 -4
  850. package/lib/directives/touch/index.mjs.map +1 -1
  851. package/lib/entry-bundler.mjs +8 -4
  852. package/lib/entry-bundler.mjs.map +1 -1
  853. package/lib/framework.mjs +5 -2
  854. package/lib/framework.mjs.map +1 -1
  855. package/lib/iconsets/fa-svg.d.ts +54 -0
  856. package/lib/iconsets/fa.d.ts +54 -0
  857. package/lib/iconsets/fa.mjs +1 -0
  858. package/lib/iconsets/fa.mjs.map +1 -1
  859. package/lib/iconsets/fa4.d.ts +54 -0
  860. package/lib/iconsets/fa4.mjs +2 -1
  861. package/lib/iconsets/fa4.mjs.map +1 -1
  862. package/lib/iconsets/md.d.ts +54 -0
  863. package/lib/iconsets/md.mjs +2 -1
  864. package/lib/iconsets/md.mjs.map +1 -1
  865. package/lib/iconsets/mdi-svg.d.ts +54 -0
  866. package/lib/iconsets/mdi-svg.mjs +1 -1
  867. package/lib/iconsets/mdi-svg.mjs.map +1 -1
  868. package/lib/iconsets/mdi.d.ts +54 -0
  869. package/lib/iconsets/mdi.mjs +2 -1
  870. package/lib/iconsets/mdi.mjs.map +1 -1
  871. package/lib/index.d.ts +434 -0
  872. package/lib/locale/adapters/vue-i18n.mjs +64 -0
  873. package/lib/locale/adapters/vue-i18n.mjs.map +1 -0
  874. package/lib/locale/adapters/vue-intl.mjs +67 -0
  875. package/lib/locale/adapters/vue-intl.mjs.map +1 -0
  876. package/lib/locale/cs.mjs +3 -3
  877. package/lib/locale/cs.mjs.map +1 -1
  878. package/lib/locale/es.mjs +2 -2
  879. package/lib/locale/es.mjs.map +1 -1
  880. package/lib/locale/fr.mjs +1 -1
  881. package/lib/locale/fr.mjs.map +1 -1
  882. package/lib/locale/index.d.ts +3111 -0
  883. package/lib/presets/default/index.mjs +1 -1
  884. package/lib/presets/default/index.mjs.map +1 -1
  885. package/lib/services/goto/easing-patterns.mjs +0 -3
  886. package/lib/services/goto/easing-patterns.mjs.map +1 -1
  887. package/lib/services/goto/index.mjs +16 -18
  888. package/lib/services/goto/index.mjs.map +1 -1
  889. package/lib/styles/elements/_blockquote.sass +5 -3
  890. package/lib/styles/elements/_global.sass +5 -4
  891. package/lib/styles/elements/_index.sass +2 -2
  892. package/lib/styles/generic/_colors.scss +31 -10
  893. package/lib/styles/generic/_elevation.scss +2 -2
  894. package/lib/styles/generic/_index.scss +6 -6
  895. package/lib/styles/generic/_reset.scss +236 -232
  896. package/lib/styles/generic/_transitions.scss +8 -5
  897. package/lib/styles/main.css +18612 -0
  898. package/lib/styles/main.sass +4 -5
  899. package/lib/styles/settings/_colors.scss +431 -7
  900. package/lib/styles/settings/_elevations.scss +1 -1
  901. package/lib/styles/settings/_index.sass +4 -10
  902. package/lib/styles/settings/_utilities.scss +486 -472
  903. package/lib/styles/settings/_variables.scss +51 -52
  904. package/lib/styles/tools/_absolute.sass +8 -0
  905. package/lib/styles/tools/_density.sass +3 -1
  906. package/lib/styles/tools/_display.sass +11 -0
  907. package/lib/styles/tools/_elevation.sass +4 -2
  908. package/lib/styles/tools/_functions.sass +30 -25
  909. package/lib/styles/tools/_index.sass +17 -24
  910. package/lib/styles/tools/_radius.sass +5 -2
  911. package/lib/styles/tools/_sheet.sass +7 -4
  912. package/lib/styles/tools/_states.sass +13 -5
  913. package/lib/styles/tools/_utilities.sass +24 -20
  914. package/lib/styles/tools/_variant.sass +10 -2
  915. package/lib/styles/utilities/_display.sass +3 -1
  916. package/lib/styles/utilities/_index.sass +25 -22
  917. package/lib/styles/utilities/_text.sass +3 -1
  918. package/lib/styles.scss +4 -0
  919. package/lib/util/animation.mjs +43 -0
  920. package/lib/util/animation.mjs.map +1 -0
  921. package/lib/util/box.mjs +32 -0
  922. package/lib/util/box.mjs.map +1 -0
  923. package/lib/util/color/APCA.mjs +85 -0
  924. package/lib/util/color/APCA.mjs.map +1 -0
  925. package/lib/util/colorUtils.mjs +3 -0
  926. package/lib/util/colorUtils.mjs.map +1 -1
  927. package/lib/util/console.mjs +2 -1
  928. package/lib/util/console.mjs.map +1 -1
  929. package/lib/util/createSimpleFunctional.mjs +11 -8
  930. package/lib/util/createSimpleFunctional.mjs.map +1 -1
  931. package/lib/util/dateTimeUtils.mjs +3 -1
  932. package/lib/util/dateTimeUtils.mjs.map +1 -1
  933. package/lib/util/defineComponent.mjs +61 -0
  934. package/lib/util/defineComponent.mjs.map +1 -0
  935. package/lib/util/getCurrentInstance.mjs +19 -0
  936. package/lib/util/getCurrentInstance.mjs.map +1 -0
  937. package/lib/util/getScrollParent.mjs +1 -2
  938. package/lib/util/getScrollParent.mjs.map +1 -1
  939. package/lib/util/globals.mjs +1 -0
  940. package/lib/util/globals.mjs.map +1 -1
  941. package/lib/util/helpers.mjs +171 -31
  942. package/lib/util/helpers.mjs.map +1 -1
  943. package/lib/util/index.mjs +4 -1
  944. package/lib/util/isFixedPosition.mjs +12 -0
  945. package/lib/util/isFixedPosition.mjs.map +1 -0
  946. package/lib/util/propsFactory.mjs.map +1 -1
  947. package/lib/util/useRender.mjs +4 -2
  948. package/lib/util/useRender.mjs.map +1 -1
  949. package/package.json +102 -52
  950. package/dist/vuetify.css.map +0 -1
  951. package/dist/vuetify.min.css.map +0 -1
  952. package/lib/components/VAlert/_index.scss +0 -2
  953. package/lib/components/VApp/_index.scss +0 -1
  954. package/lib/components/VAppBar/VAppBarTitle.sass +0 -10
  955. package/lib/components/VAppBar/_index.scss +0 -2
  956. package/lib/components/VAvatar/_index.scss +0 -3
  957. package/lib/components/VBadge/_index.scss +0 -2
  958. package/lib/components/VBanner/VBannerAvatar.mjs +0 -29
  959. package/lib/components/VBanner/VBannerAvatar.mjs.map +0 -1
  960. package/lib/components/VBanner/VBannerContent.mjs +0 -3
  961. package/lib/components/VBanner/VBannerContent.mjs.map +0 -1
  962. package/lib/components/VBanner/_index.scss +0 -2
  963. package/lib/components/VBottomNavigation/_index.scss +0 -2
  964. package/lib/components/VBreadcrumbs/_index.scss +0 -2
  965. package/lib/components/VBtn/_index.scss +0 -3
  966. package/lib/components/VCard/VCardMedia.mjs +0 -3
  967. package/lib/components/VCard/VCardMedia.mjs.map +0 -1
  968. package/lib/components/VCard/_index.scss +0 -3
  969. package/lib/components/VCheckbox/VSimpleCheckbox.mjs +0 -92
  970. package/lib/components/VCheckbox/VSimpleCheckbox.mjs.map +0 -1
  971. package/lib/components/VCheckbox/VSimpleCheckbox.sass +0 -16
  972. package/lib/components/VChip/_index.scss +0 -3
  973. package/lib/components/VCode/_index.scss +0 -2
  974. package/lib/components/VDataTable/VSimpleTable.mjs +0 -48
  975. package/lib/components/VDataTable/VSimpleTable.mjs.map +0 -1
  976. package/lib/components/VDataTable/VSimpleTable.sass +0 -179
  977. package/lib/components/VDialog/_index.scss +0 -2
  978. package/lib/components/VDivider/_index.scss +0 -2
  979. package/lib/components/VExpansionPanel/VExpansionPanelContent.mjs +0 -61
  980. package/lib/components/VExpansionPanel/VExpansionPanelContent.mjs.map +0 -1
  981. package/lib/components/VExpansionPanel/VExpansionPanelHeader.mjs +0 -112
  982. package/lib/components/VExpansionPanel/VExpansionPanelHeader.mjs.map +0 -1
  983. package/lib/components/VFooter/_index.scss +0 -2
  984. package/lib/components/VGrid/_index.scss +0 -2
  985. package/lib/components/VIcon/_index.scss +0 -2
  986. package/lib/components/VImg/_index.scss +0 -2
  987. package/lib/components/VItemGroup/_index.scss +0 -2
  988. package/lib/components/VKbd/_index.scss +0 -2
  989. package/lib/components/VLayout/_index.scss +0 -1
  990. package/lib/components/VList/_index.scss +0 -3
  991. package/lib/components/VList/_mixins.scss +0 -0
  992. package/lib/components/VMain/_index.scss +0 -2
  993. package/lib/components/VNavigationDrawer/_index.scss +0 -2
  994. package/lib/components/VOverlay/_index.scss +0 -2
  995. package/lib/components/VPagination/_index.scss +0 -2
  996. package/lib/components/VParallax/_variables.scss +0 -4
  997. package/lib/components/VProgressCircular/_index.scss +0 -2
  998. package/lib/components/VRadioGroup/VRadio.mjs +0 -179
  999. package/lib/components/VRadioGroup/VRadio.mjs.map +0 -1
  1000. package/lib/components/VRadioGroup/VRadio.sass +0 -25
  1001. package/lib/components/VRangeSlider/VRangeSlider.sass +0 -19
  1002. package/lib/components/VRating/_index.scss +0 -2
  1003. package/lib/components/VResponsive/_index.scss +0 -1
  1004. package/lib/components/VSelect/VSelectList.mjs +0 -251
  1005. package/lib/components/VSelect/VSelectList.mjs.map +0 -1
  1006. package/lib/components/VSheet/_index.scss +0 -2
  1007. package/lib/components/VSlideGroup/VSlideItem.mjs +0 -14
  1008. package/lib/components/VSlideGroup/VSlideItem.mjs.map +0 -1
  1009. package/lib/components/VSystemBar/_index.scss +0 -2
  1010. package/lib/components/VTabs/VTabItem.mjs +0 -23
  1011. package/lib/components/VTabs/VTabItem.mjs.map +0 -1
  1012. package/lib/components/VTabs/VTabsBar.mjs +0 -86
  1013. package/lib/components/VTabs/VTabsBar.mjs.map +0 -1
  1014. package/lib/components/VTabs/VTabsItems.mjs +0 -37
  1015. package/lib/components/VTabs/VTabsItems.mjs.map +0 -1
  1016. package/lib/components/VTabs/VTabsSlider.mjs +0 -20
  1017. package/lib/components/VTabs/VTabsSlider.mjs.map +0 -1
  1018. package/lib/components/VTextField/_mixins.sass +0 -18
  1019. package/lib/components/VTimeline/_index.scss +0 -3
  1020. package/lib/components/VToolbar/_index.scss +0 -2
  1021. package/lib/entry.d.ts +0 -3647
  1022. package/lib/entry.mjs +0 -4
  1023. package/lib/entry.mjs.map +0 -1
  1024. package/lib/framework.d.ts +0 -158
  1025. package/lib/globals.d.mjs +0 -2
  1026. package/lib/globals.d.mjs.map +0 -1
  1027. package/lib/mixins/activatable/index.mjs +0 -199
  1028. package/lib/mixins/activatable/index.mjs.map +0 -1
  1029. package/lib/mixins/applicationable/index.mjs +0 -72
  1030. package/lib/mixins/applicationable/index.mjs.map +0 -1
  1031. package/lib/mixins/binds-attrs/index.mjs +0 -42
  1032. package/lib/mixins/binds-attrs/index.mjs.map +0 -1
  1033. package/lib/mixins/bootable/index.mjs +0 -54
  1034. package/lib/mixins/bootable/index.mjs.map +0 -1
  1035. package/lib/mixins/button-group/index.mjs +0 -28
  1036. package/lib/mixins/button-group/index.mjs.map +0 -1
  1037. package/lib/mixins/colorable/index.mjs +0 -78
  1038. package/lib/mixins/colorable/index.mjs.map +0 -1
  1039. package/lib/mixins/comparable/index.mjs +0 -15
  1040. package/lib/mixins/comparable/index.mjs.map +0 -1
  1041. package/lib/mixins/dependent/index.mjs +0 -73
  1042. package/lib/mixins/dependent/index.mjs.map +0 -1
  1043. package/lib/mixins/elevatable/index.mjs +0 -26
  1044. package/lib/mixins/elevatable/index.mjs.map +0 -1
  1045. package/lib/mixins/filterable/index.mjs +0 -16
  1046. package/lib/mixins/filterable/index.mjs.map +0 -1
  1047. package/lib/mixins/loadable/index.mjs +0 -45
  1048. package/lib/mixins/loadable/index.mjs.map +0 -1
  1049. package/lib/mixins/localable/index.mjs +0 -17
  1050. package/lib/mixins/localable/index.mjs.map +0 -1
  1051. package/lib/mixins/menuable/index.mjs +0 -388
  1052. package/lib/mixins/menuable/index.mjs.map +0 -1
  1053. package/lib/mixins/mobile/index.mjs +0 -50
  1054. package/lib/mixins/mobile/index.mjs.map +0 -1
  1055. package/lib/mixins/overlayable/index.mjs +0 -201
  1056. package/lib/mixins/overlayable/index.mjs.map +0 -1
  1057. package/lib/mixins/picker/index.mjs +0 -75
  1058. package/lib/mixins/picker/index.mjs.map +0 -1
  1059. package/lib/mixins/picker-button/index.mjs +0 -35
  1060. package/lib/mixins/picker-button/index.mjs.map +0 -1
  1061. package/lib/mixins/proxyable/index.mjs +0 -50
  1062. package/lib/mixins/proxyable/index.mjs.map +0 -1
  1063. package/lib/mixins/returnable/index.mjs +0 -36
  1064. package/lib/mixins/returnable/index.mjs.map +0 -1
  1065. package/lib/mixins/rippleable/index.mjs +0 -35
  1066. package/lib/mixins/rippleable/index.mjs.map +0 -1
  1067. package/lib/mixins/roundable/index.mjs +0 -37
  1068. package/lib/mixins/roundable/index.mjs.map +0 -1
  1069. package/lib/mixins/routable/index.mjs +0 -146
  1070. package/lib/mixins/routable/index.mjs.map +0 -1
  1071. package/lib/mixins/selectable/index.mjs +0 -167
  1072. package/lib/mixins/selectable/index.mjs.map +0 -1
  1073. package/lib/mixins/stackable/index.mjs +0 -55
  1074. package/lib/mixins/stackable/index.mjs.map +0 -1
  1075. package/lib/mixins/themeable/index.mjs +0 -111
  1076. package/lib/mixins/themeable/index.mjs.map +0 -1
  1077. package/lib/mixins/toggleable/index.mjs +0 -40
  1078. package/lib/mixins/toggleable/index.mjs.map +0 -1
  1079. package/lib/mixins/translatable/index.mjs +0 -59
  1080. package/lib/mixins/translatable/index.mjs.map +0 -1
  1081. package/lib/mixins/validatable/index.mjs +0 -263
  1082. package/lib/mixins/validatable/index.mjs.map +0 -1
  1083. package/lib/services/application/index.mjs +0 -58
  1084. package/lib/services/application/index.mjs.map +0 -1
  1085. package/lib/services/breakpoint/index.mjs +0 -175
  1086. package/lib/services/breakpoint/index.mjs.map +0 -1
  1087. package/lib/services/index.mjs +0 -10
  1088. package/lib/services/index.mjs.map +0 -1
  1089. package/lib/services/lang/index.mjs +0 -73
  1090. package/lib/services/lang/index.mjs.map +0 -1
  1091. package/lib/services/service/index.mjs +0 -13
  1092. package/lib/services/service/index.mjs.map +0 -1
  1093. package/lib/styles/components/_index.sass +0 -1
  1094. package/lib/styles/components/_selection-controls.sass +0 -119
  1095. package/lib/styles/settings/_dark.scss +0 -137
  1096. package/lib/styles/settings/_light.scss +0 -118
  1097. package/lib/styles/settings/_theme.scss +0 -1
  1098. package/lib/styles/styles.sass +0 -2
  1099. package/lib/util/makeProps.mjs +0 -53
  1100. package/lib/util/makeProps.mjs.map +0 -1
@@ -1,807 +1,216 @@
1
- // @ts-nocheck
2
-
3
- /* eslint-disable */
1
+ import { createTextVNode as _createTextVNode, createVNode as _createVNode, Fragment as _Fragment } from "vue";
4
2
  // Styles
5
- import "../VTextField/VTextField.sass";
6
- import "./VSelect.sass"; // Components
7
-
8
- import VChip from "../VChip/index.mjs";
9
- import VMenu from "../VMenu/index.mjs";
10
- import VSelectList from "./VSelectList.mjs"; // Extensions
11
-
12
- import VInput from "../VInput/index.mjs";
13
- import VTextField from "../VTextField/VTextField.mjs"; // Mixins
14
-
15
- import Comparable from "../../mixins/comparable/index.mjs";
16
- import Dependent from "../../mixins/dependent/index.mjs";
17
- import Filterable from "../../mixins/filterable/index.mjs"; // Directives
18
-
19
- import ClickOutside from "../../directives/click-outside/index.mjs"; // Utilities
20
-
21
- import mergeData from "../../util/mergeData.mjs";
22
- import { getPropertyFromItem, getObjectValueByPath, keyCodes } from "../../util/helpers.mjs";
23
- import { consoleError } from "../../util/console.mjs"; // Types
24
-
25
- import mixins from "../../util/mixins.mjs";
26
- export const defaultMenuProps = {
27
- closeOnClick: false,
28
- closeOnContentClick: false,
29
- disableKeys: true,
30
- openOnClick: false,
31
- maxHeight: 304
32
- }; // Types
33
-
34
- const baseMixins = mixins(VTextField, Comparable, Dependent, Filterable);
35
-
36
- /* @vue/component */
37
- export default baseMixins.extend().extend({
38
- name: 'v-select',
39
- directives: {
40
- ClickOutside
3
+ import "./VSelect.css"; // Components
4
+
5
+ import { VChip } from "../VChip/index.mjs";
6
+ import { VDefaultsProvider } from "../VDefaultsProvider/index.mjs";
7
+ import { VList, VListItem } from "../VList/index.mjs";
8
+ import { VMenu } from "../VMenu/index.mjs";
9
+ import { VTextField } from "../VTextField/index.mjs"; // Composables
10
+
11
+ import { makeTransitionProps } from "../../composables/transition.mjs";
12
+ import { useForwardRef } from "../../composables/forwardRef.mjs";
13
+ import { useLocale } from "../../composables/locale.mjs";
14
+ import { useProxiedModel } from "../../composables/proxiedModel.mjs"; // Utility
15
+
16
+ import { computed, ref, watch } from 'vue';
17
+ import { genericComponent, propsFactory, useRender, wrapInArray } from "../../util/index.mjs"; // Types
18
+
19
+ export function genItem(item) {
20
+ var _ref;
21
+
22
+ return {
23
+ title: String((_ref = typeof item === 'object' ? item.title : item) != null ? _ref : ''),
24
+ value: typeof item === 'object' ? item.value : item
25
+ };
26
+ }
27
+ export const makeSelectProps = propsFactory({
28
+ chips: Boolean,
29
+ closableChips: Boolean,
30
+ eager: Boolean,
31
+ hideNoData: Boolean,
32
+ hideSelected: Boolean,
33
+ items: {
34
+ type: Array,
35
+ default: () => []
41
36
  },
42
- props: {
43
- appendIcon: {
44
- type: String,
45
- default: '$dropdown'
46
- },
47
- attach: {
48
- type: null,
49
- default: false
50
- },
51
- cacheItems: Boolean,
52
- chips: Boolean,
53
- clearable: Boolean,
54
- deletableChips: Boolean,
55
- disableLookup: Boolean,
56
- eager: Boolean,
57
- hideSelected: Boolean,
58
- items: {
59
- type: Array,
60
- default: () => []
61
- },
62
- itemColor: {
63
- type: String,
64
- default: 'primary'
65
- },
66
- itemDisabled: {
67
- type: [String, Array, Function],
68
- default: 'disabled'
69
- },
70
- itemText: {
71
- type: [String, Array, Function],
72
- default: 'text'
73
- },
74
- itemValue: {
75
- type: [String, Array, Function],
76
- default: 'value'
77
- },
78
- menuProps: {
79
- type: [String, Array, Object],
80
- default: () => defaultMenuProps
81
- },
82
- multiple: Boolean,
83
- openOnClear: Boolean,
84
- returnObject: Boolean,
85
- smallChips: Boolean
37
+ menuIcon: {
38
+ type: String,
39
+ default: '$dropdown'
86
40
  },
87
-
88
- data() {
89
- return {
90
- cachedItems: this.cacheItems ? this.items : [],
91
- menuIsBooted: false,
92
- isMenuActive: false,
93
- lastItem: 20,
94
- // As long as a value is defined, show it
95
- // Otherwise, check if multiple
96
- // to determine which default to provide
97
- lazyValue: this.value !== undefined ? this.value : this.multiple ? [] : undefined,
98
- selectedIndex: -1,
99
- selectedItems: [],
100
- keyboardLookupPrefix: '',
101
- keyboardLookupLastTime: 0
102
- };
41
+ modelValue: {
42
+ type: [Number, String, Array],
43
+ default: () => []
103
44
  },
104
-
105
- computed: {
106
- /* All items that the select has */
107
- allItems() {
108
- return this.filterDuplicates(this.cachedItems.concat(this.items));
109
- },
110
-
111
- classes() {
112
- return { ...VTextField.options.computed.classes.call(this),
113
- 'v-select': true,
114
- 'v-select--chips': this.hasChips,
115
- 'v-select--chips--small': this.smallChips,
116
- 'v-select--is-menu-active': this.isMenuActive,
117
- 'v-select--is-multi': this.multiple
118
- };
119
- },
120
-
121
- /* Used by other components to overwrite */
122
- computedItems() {
123
- return this.allItems;
124
- },
125
-
126
- computedOwns() {
127
- return `list-${this._uid}`;
128
- },
129
-
130
- computedCounterValue() {
131
- const value = this.multiple ? this.selectedItems : (this.getText(this.selectedItems[0]) || '').toString();
132
-
133
- if (typeof this.counterValue === 'function') {
134
- return this.counterValue(value);
135
- }
136
-
137
- return value.length;
138
- },
139
-
140
- directives() {
141
- return this.isFocused ? [{
142
- name: 'click-outside',
143
- value: {
144
- handler: this.blur,
145
- closeConditional: this.closeConditional,
146
- include: () => this.getOpenDependentElements()
147
- }
148
- }] : undefined;
149
- },
150
-
151
- dynamicHeight() {
152
- return 'auto';
153
- },
154
-
155
- hasChips() {
156
- return this.chips || this.smallChips;
157
- },
158
-
159
- hasSlot() {
160
- return Boolean(this.hasChips || this.$scopedSlots.selection);
161
- },
162
-
163
- isDirty() {
164
- return this.selectedItems.length > 0;
165
- },
166
-
167
- listData() {
168
- const scopeId = this.$vnode && this.$vnode.context.$options._scopeId;
169
- const attrs = scopeId ? {
170
- [scopeId]: true
171
- } : {};
172
- return {
173
- attrs: { ...attrs,
174
- id: this.computedOwns
175
- },
176
- props: {
177
- action: this.multiple,
178
- color: this.itemColor,
179
- dense: this.dense,
180
- hideSelected: this.hideSelected,
181
- items: this.virtualizedItems,
182
- itemDisabled: this.itemDisabled,
183
- itemText: this.itemText,
184
- itemValue: this.itemValue,
185
- noDataText: this.$vuetify.lang.t(this.noDataText),
186
- selectedItems: this.selectedItems
187
- },
188
- on: {
189
- select: this.selectItem
190
- },
191
- scopedSlots: {
192
- item: this.$scopedSlots.item
193
- }
194
- };
195
- },
196
-
197
- staticList() {
198
- if (this.$slots['no-data'] || this.$slots['prepend-item'] || this.$slots['append-item']) {
199
- consoleError('assert: staticList should not be called if slots are used');
200
- }
201
-
202
- return this.$createElement(VSelectList, this.listData);
203
- },
204
-
205
- virtualizedItems() {
206
- return this.$_menuProps.auto ? this.computedItems : this.computedItems.slice(0, this.lastItem);
207
- },
208
-
209
- menuCanShow: () => true,
210
-
211
- $_menuProps() {
212
- let normalisedProps = typeof this.menuProps === 'string' ? this.menuProps.split(',') : this.menuProps;
213
-
214
- if (Array.isArray(normalisedProps)) {
215
- normalisedProps = normalisedProps.reduce((acc, p) => {
216
- acc[p.trim()] = true;
217
- return acc;
218
- }, {});
219
- }
220
-
221
- return { ...defaultMenuProps,
222
- eager: this.eager,
223
- value: this.menuCanShow && this.isMenuActive,
224
- nudgeBottom: normalisedProps.offsetY ? 1 : 0,
225
- // convert to int
226
- ...normalisedProps
227
- };
228
- }
229
-
45
+ multiple: Boolean,
46
+ noDataText: {
47
+ type: String,
48
+ default: '$vuetify.noDataText'
230
49
  },
231
- watch: {
232
- internalValue(val) {
233
- this.initialValue = val;
234
- this.setSelectedItems();
235
- },
236
-
237
- isMenuActive(val) {
238
- window.setTimeout(() => this.onMenuActiveChange(val));
239
- },
240
-
241
- items: {
242
- immediate: true,
243
-
244
- handler(val) {
245
- if (this.cacheItems) {
246
- // Breaks vue-test-utils if
247
- // this isn't calculated
248
- // on the next tick
249
- this.$nextTick(() => {
250
- this.cachedItems = this.filterDuplicates(this.cachedItems.concat(val));
251
- });
252
- }
253
-
254
- this.setSelectedItems();
255
- }
256
-
257
- }
50
+ openOnClear: Boolean
51
+ }, 'select');
52
+ export const VSelect = genericComponent()({
53
+ name: 'VSelect',
54
+ props: { ...makeSelectProps(),
55
+ ...makeTransitionProps({
56
+ transition: 'scale-transition'
57
+ })
58
+ },
59
+ emits: {
60
+ 'update:modelValue': val => true
258
61
  },
259
- methods: {
260
- /** @public */
261
- blur(e) {
262
- VTextField.options.methods.blur.call(this, e);
263
- this.isMenuActive = false;
264
- this.isFocused = false;
265
- this.selectedIndex = -1;
266
- this.setMenuIndex(-1);
267
- },
268
-
269
- /** @public */
270
- activateMenu() {
271
- if (!this.isInteractive || this.isMenuActive) return;
272
- this.isMenuActive = true;
273
- },
274
-
275
- clearableCallback() {
276
- this.setValue(this.multiple ? [] : null);
277
- this.setMenuIndex(-1);
278
- this.$nextTick(() => this.$refs.input && this.$refs.input.focus());
279
- if (this.openOnClear) this.isMenuActive = true;
280
- },
281
-
282
- closeConditional(e) {
283
- if (!this.isMenuActive) return true;
284
- return !this._isDestroyed && ( // Click originates from outside the menu content
285
- // Multiple selects don't close when an item is clicked
286
- !this.getContent() || !this.getContent().contains(e.target)) && // Click originates from outside the element
287
- this.$el && !this.$el.contains(e.target) && e.target !== this.$el;
288
- },
289
-
290
- filterDuplicates(arr) {
291
- const uniqueValues = new Map();
292
-
293
- for (let index = 0; index < arr.length; ++index) {
294
- const item = arr[index]; // Do not deduplicate headers or dividers (#12517)
295
62
 
296
- if (item.header || item.divider) {
297
- uniqueValues.set(item, item);
298
- continue;
63
+ setup(props, _ref2) {
64
+ let {
65
+ slots
66
+ } = _ref2;
67
+ const {
68
+ t
69
+ } = useLocale();
70
+ const vTextFieldRef = ref();
71
+ const activator = ref();
72
+ const menu = ref(false);
73
+ const items = computed(() => props.items.map(genItem));
74
+ const model = useProxiedModel(props, 'modelValue', [], v => wrapInArray(v), v => props.multiple ? v : v[0]);
75
+ const selections = computed(() => {
76
+ const array = [];
77
+ let index = 0;
78
+
79
+ for (const unwrapped of model.value) {
80
+ const item = genItem(unwrapped);
81
+ const found = array.find(selection => selection.value === item.value);
82
+
83
+ if (found == null) {
84
+ array.push({ ...item,
85
+ index
86
+ });
87
+ index++;
299
88
  }
300
-
301
- const val = this.getValue(item); // TODO: comparator
302
-
303
- !uniqueValues.has(val) && uniqueValues.set(val, item);
304
89
  }
305
90
 
306
- return Array.from(uniqueValues.values());
307
- },
308
-
309
- findExistingIndex(item) {
310
- const itemValue = this.getValue(item);
311
- return (this.internalValue || []).findIndex(i => this.valueComparator(this.getValue(i), itemValue));
312
- },
313
-
314
- getContent() {
315
- return this.$refs.menu && this.$refs.menu.$refs.content;
316
- },
317
-
318
- genChipSelection(item, index) {
319
- const isDisabled = this.isDisabled || this.getDisabled(item);
320
- const isInteractive = !isDisabled && this.isInteractive;
321
- return this.$createElement(VChip, {
322
- staticClass: 'v-chip--select',
323
- attrs: {
324
- tabindex: -1
325
- },
326
- props: {
327
- close: this.deletableChips && isInteractive,
328
- disabled: isDisabled,
329
- inputValue: index === this.selectedIndex,
330
- small: this.smallChips
331
- },
332
- on: {
333
- click: e => {
334
- if (!isInteractive) return;
335
- e.stopPropagation();
336
- this.selectedIndex = index;
337
- },
338
- 'click:close': () => this.onChipInput(item)
339
- },
340
- key: JSON.stringify(this.getValue(item))
341
- }, this.getText(item));
342
- },
343
-
344
- genCommaSelection(item, index, last) {
345
- const color = index === this.selectedIndex && this.computedColor;
346
- const isDisabled = this.isDisabled || this.getDisabled(item);
347
- return this.$createElement('div', this.setTextColor(color, {
348
- staticClass: 'v-select__selection v-select__selection--comma',
349
- class: {
350
- 'v-select__selection--disabled': isDisabled
351
- },
352
- key: JSON.stringify(this.getValue(item))
353
- }), `${this.getText(item)}${last ? '' : ', '}`);
354
- },
91
+ return array;
92
+ });
93
+ const selected = computed(() => selections.value.map(selection => selection.value));
355
94
 
356
- genDefaultSlot() {
357
- const selections = this.genSelections();
358
- const input = this.genInput(); // If the return is an empty array
359
- // push the input
95
+ function onClear(e) {
96
+ model.value = [];
360
97
 
361
- if (Array.isArray(selections)) {
362
- selections.push(input); // Otherwise push it into children
363
- } else {
364
- selections.children = selections.children || [];
365
- selections.children.push(input);
98
+ if (props.openOnClear) {
99
+ menu.value = true;
366
100
  }
101
+ }
367
102
 
368
- return [this.genFieldset(), this.$createElement('div', {
369
- staticClass: 'v-select__slot',
370
- directives: this.directives
371
- }, [this.genLabel(), this.prefix ? this.genAffix('prefix') : null, selections, this.suffix ? this.genAffix('suffix') : null, this.genClearIcon(), this.genIconSlot(), this.genHiddenInput()]), this.genMenu(), this.genProgress()];
372
- },
373
-
374
- genIcon(type, cb, extraData) {
375
- const icon = VInput.options.methods.genIcon.call(this, type, cb, extraData);
103
+ function onClickControl() {
104
+ if (props.hideNoData && !items.value.length) return;
105
+ menu.value = true;
106
+ }
376
107
 
377
- if (type === 'append') {
378
- // Don't allow the dropdown icon to be focused
379
- icon.children[0].data = mergeData(icon.children[0].data, {
380
- attrs: {
381
- tabindex: icon.children[0].componentOptions.listeners && '-1',
382
- 'aria-hidden': 'true',
383
- 'aria-label': undefined
384
- }
385
- });
108
+ function onKeydown(e) {
109
+ if (['Enter', 'ArrowDown', ' '].includes(e.key)) {
110
+ menu.value = true;
386
111
  }
387
112
 
388
- return icon;
389
- },
390
-
391
- genInput() {
392
- const input = VTextField.options.methods.genInput.call(this);
393
- delete input.data.attrs.name;
394
- input.data = mergeData(input.data, {
395
- domProps: {
396
- value: null
397
- },
398
- attrs: {
399
- readonly: true,
400
- type: 'text',
401
- 'aria-readonly': String(this.isReadonly),
402
- 'aria-activedescendant': getObjectValueByPath(this.$refs.menu, 'activeTile.id'),
403
- autocomplete: getObjectValueByPath(input.data, 'attrs.autocomplete', 'off'),
404
- placeholder: !this.isDirty && (this.isFocused || !this.hasLabel) ? this.placeholder : undefined
405
- },
406
- on: {
407
- keypress: this.onKeyPress
408
- }
409
- });
410
- return input;
411
- },
412
-
413
- genHiddenInput() {
414
- return this.$createElement('input', {
415
- domProps: {
416
- value: this.lazyValue
417
- },
418
- attrs: {
419
- type: 'hidden',
420
- name: this.attrs$.name
421
- }
422
- });
423
- },
424
-
425
- genInputSlot() {
426
- const render = VTextField.options.methods.genInputSlot.call(this);
427
- render.data.attrs = { ...render.data.attrs,
428
- role: 'button',
429
- 'aria-haspopup': 'listbox',
430
- 'aria-expanded': String(this.isMenuActive),
431
- 'aria-owns': this.computedOwns
432
- };
433
- return render;
434
- },
435
-
436
- genList() {
437
- // If there's no slots, we can use a cached VNode to improve performance
438
- if (this.$slots['no-data'] || this.$slots['prepend-item'] || this.$slots['append-item']) {
439
- return this.genListWithSlot();
440
- } else {
441
- return this.staticList;
113
+ if (['Escape', 'Tab'].includes(e.key)) {
114
+ menu.value = false;
442
115
  }
443
- },
444
-
445
- genListWithSlot() {
446
- const slots = ['prepend-item', 'no-data', 'append-item'].filter(slotName => this.$slots[slotName]).map(slotName => this.$createElement('template', {
447
- slot: slotName
448
- }, this.$slots[slotName])); // Requires destructuring due to Vue
449
- // modifying the `on` property when passed
450
- // as a referenced object
451
-
452
- return this.$createElement(VSelectList, { ...this.listData
453
- }, slots);
454
- },
116
+ }
455
117
 
456
- genMenu() {
457
- const props = this.$_menuProps;
458
- props.activator = this.$refs['input-slot']; // Attach to root el so that
459
- // menu covers prepend/append icons
118
+ function select(item) {
119
+ if (props.multiple) {
120
+ const index = selections.value.findIndex(selection => selection.value === item.value);
460
121
 
461
- if ( // TODO: make this a computed property or helper or something
462
- this.attach === '' || // If used as a boolean prop (<v-menu attach>)
463
- this.attach === true || // If bound to a boolean (<v-menu :attach="true">)
464
- this.attach === 'attach' // If bound as boolean prop in pug (v-menu(attach))
465
- ) {
466
- props.attach = this.$el;
122
+ if (index === -1) {
123
+ model.value.push(item.value);
467
124
  } else {
468
- props.attach = this.attach;
469
- }
470
-
471
- return this.$createElement(VMenu, {
472
- attrs: {
473
- role: undefined
474
- },
475
- props,
476
- on: {
477
- input: val => {
478
- this.isMenuActive = val;
479
- this.isFocused = val;
480
- },
481
- scroll: this.onScroll
482
- },
483
- ref: 'menu'
484
- }, [this.genList()]);
485
- },
486
-
487
- genSelections() {
488
- let length = this.selectedItems.length;
489
- const children = new Array(length);
490
- let genSelection;
491
-
492
- if (this.$scopedSlots.selection) {
493
- genSelection = this.genSlotSelection;
494
- } else if (this.hasChips) {
495
- genSelection = this.genChipSelection;
496
- } else {
497
- genSelection = this.genCommaSelection;
498
- }
499
-
500
- while (length--) {
501
- children[length] = genSelection(this.selectedItems[length], length, length === children.length - 1);
502
- }
503
-
504
- return this.$createElement('div', {
505
- staticClass: 'v-select__selections'
506
- }, children);
507
- },
508
-
509
- genSlotSelection(item, index) {
510
- return this.$scopedSlots.selection({
511
- attrs: {
512
- class: 'v-chip--select'
513
- },
514
- parent: this,
515
- item,
516
- index,
517
- select: e => {
518
- e.stopPropagation();
519
- this.selectedIndex = index;
520
- },
521
- selected: index === this.selectedIndex,
522
- disabled: !this.isInteractive
523
- });
524
- },
525
-
526
- getMenuIndex() {
527
- return this.$refs.menu ? this.$refs.menu.listIndex : -1;
528
- },
529
-
530
- getDisabled(item) {
531
- return getPropertyFromItem(item, this.itemDisabled, false);
532
- },
533
-
534
- getText(item) {
535
- return getPropertyFromItem(item, this.itemText, item);
536
- },
537
-
538
- getValue(item) {
539
- return getPropertyFromItem(item, this.itemValue, this.getText(item));
540
- },
541
-
542
- onBlur(e) {
543
- e && this.$emit('blur', e);
544
- },
545
-
546
- onChipInput(item) {
547
- if (this.multiple) this.selectItem(item);else this.setValue(null); // If all items have been deleted,
548
- // open `v-menu`
549
-
550
- if (this.selectedItems.length === 0) {
551
- this.isMenuActive = true;
552
- } else {
553
- this.isMenuActive = false;
554
- }
555
-
556
- this.selectedIndex = -1;
557
- },
558
-
559
- onClick(e) {
560
- if (!this.isInteractive) return;
561
-
562
- if (!this.isAppendInner(e.target)) {
563
- this.isMenuActive = true;
564
- }
565
-
566
- if (!this.isFocused) {
567
- this.isFocused = true;
568
- this.$emit('focus');
569
- }
570
-
571
- this.$emit('click', e);
572
- },
573
-
574
- onEscDown(e) {
575
- e.preventDefault();
576
-
577
- if (this.isMenuActive) {
578
- e.stopPropagation();
579
- this.isMenuActive = false;
580
- }
581
- },
582
-
583
- onKeyPress(e) {
584
- if (this.multiple || !this.isInteractive || this.disableLookup) return;
585
- const KEYBOARD_LOOKUP_THRESHOLD = 1000; // milliseconds
586
-
587
- const now = performance.now();
588
-
589
- if (now - this.keyboardLookupLastTime > KEYBOARD_LOOKUP_THRESHOLD) {
590
- this.keyboardLookupPrefix = '';
591
- }
592
-
593
- this.keyboardLookupPrefix += e.key.toLowerCase();
594
- this.keyboardLookupLastTime = now;
595
- const index = this.allItems.findIndex(item => {
596
- const text = (this.getText(item) || '').toString();
597
- return text.toLowerCase().startsWith(this.keyboardLookupPrefix);
598
- });
599
- const item = this.allItems[index];
600
-
601
- if (index !== -1) {
602
- this.lastItem = Math.max(this.lastItem, index + 5);
603
- this.setValue(this.returnObject ? item : this.getValue(item));
604
- this.$nextTick(() => this.$refs.menu.getTiles());
605
- setTimeout(() => this.setMenuIndex(index));
606
- }
607
- },
608
-
609
- onKeyDown(e) {
610
- if (this.isReadonly && e.keyCode !== keyCodes.tab) return;
611
- const keyCode = e.keyCode;
612
- const menu = this.$refs.menu; // If enter, space, open menu
613
-
614
- if ([keyCodes.enter, keyCodes.space].includes(keyCode)) this.activateMenu();
615
- this.$emit('keydown', e);
616
- if (!menu) return; // If menu is active, allow default
617
- // listIndex change from menu
618
-
619
- if (this.isMenuActive && keyCode !== keyCodes.tab) {
620
- this.$nextTick(() => {
621
- menu.changeListIndex(e);
622
- this.$emit('update:list-index', menu.listIndex);
623
- });
624
- } // If menu is not active, up/down/home/end can do
625
- // one of 2 things. If multiple, opens the
626
- // menu, if not, will cycle through all
627
- // available options
628
-
629
-
630
- if (!this.isMenuActive && [keyCodes.up, keyCodes.down, keyCodes.home, keyCodes.end].includes(keyCode)) return this.onUpDown(e); // If escape deactivate the menu
631
-
632
- if (keyCode === keyCodes.esc) return this.onEscDown(e); // If tab - select item or close menu
633
-
634
- if (keyCode === keyCodes.tab) return this.onTabDown(e); // If space preventDefault
635
-
636
- if (keyCode === keyCodes.space) return this.onSpaceDown(e);
637
- },
638
-
639
- onMenuActiveChange(val) {
640
- // If menu is closing and mulitple
641
- // or menuIndex is already set
642
- // skip menu index recalculation
643
- if (this.multiple && !val || this.getMenuIndex() > -1) return;
644
- const menu = this.$refs.menu;
645
- if (!menu || !this.isDirty) return; // When menu opens, set index of first active item
646
-
647
- for (let i = 0; i < menu.tiles.length; i++) {
648
- if (menu.tiles[i].getAttribute('aria-selected') === 'true') {
649
- this.setMenuIndex(i);
650
- break;
125
+ model.value = selected.value.filter(selection => selection !== item.value);
651
126
  }
652
- }
653
- },
654
-
655
- onMouseUp(e) {
656
- // eslint-disable-next-line sonarjs/no-collapsible-if
657
- if (this.hasMouseDown && e.which !== 3 && this.isInteractive) {
658
- // If append inner is present
659
- // and the target is itself
660
- // or inside, toggle menu
661
- if (this.isAppendInner(e.target)) {
662
- this.$nextTick(() => this.isMenuActive = !this.isMenuActive);
663
- }
664
- }
665
-
666
- VTextField.options.methods.onMouseUp.call(this, e);
667
- },
668
-
669
- onScroll() {
670
- if (!this.isMenuActive) {
671
- requestAnimationFrame(() => this.getContent().scrollTop = 0);
672
127
  } else {
673
- if (this.lastItem > this.computedItems.length) return;
674
- const showMoreItems = this.getContent().scrollHeight - (this.getContent().scrollTop + this.getContent().clientHeight) < 200;
675
-
676
- if (showMoreItems) {
677
- this.lastItem += 20;
678
- }
128
+ model.value = [item.value];
129
+ menu.value = false;
679
130
  }
680
- },
681
-
682
- onSpaceDown(e) {
683
- e.preventDefault();
684
- },
685
-
686
- onTabDown(e) {
687
- const menu = this.$refs.menu;
688
- if (!menu) return;
689
- const activeTile = menu.activeTile; // An item that is selected by
690
- // menu-index should toggled
691
-
692
- if (!this.multiple && activeTile && this.isMenuActive) {
693
- e.preventDefault();
694
- e.stopPropagation();
695
- activeTile.click();
696
- } else {
697
- // If we make it here,
698
- // the user has no selected indexes
699
- // and is probably tabbing out
700
- this.blur(e);
701
- }
702
- },
703
-
704
- onUpDown(e) {
705
- const menu = this.$refs.menu;
706
- if (!menu) return;
707
- e.preventDefault(); // Multiple selects do not cycle their value
708
- // when pressing up or down, instead activate
709
- // the menu
710
-
711
- if (this.multiple) return this.activateMenu();
712
- const keyCode = e.keyCode; // Cycle through available values to achieve
713
- // select native behavior
714
-
715
- menu.isBooted = true;
716
- window.requestAnimationFrame(() => {
717
- menu.getTiles();
718
- if (!menu.hasClickableTiles) return this.activateMenu();
719
-
720
- switch (keyCode) {
721
- case keyCodes.up:
722
- menu.prevTile();
723
- break;
724
-
725
- case keyCodes.down:
726
- menu.nextTile();
727
- break;
728
-
729
- case keyCodes.home:
730
- menu.firstTile();
731
- break;
131
+ }
732
132
 
733
- case keyCodes.end:
734
- menu.lastTile();
735
- break;
736
- }
133
+ watch(() => vTextFieldRef.value, val => {
134
+ activator.value = val.$el.querySelector('.v-input__control');
135
+ });
136
+ useRender(() => {
137
+ const hasChips = !!(props.chips || slots.chip);
138
+ return _createVNode(VTextField, {
139
+ "ref": vTextFieldRef,
140
+ "class": ['v-select', {
141
+ 'v-select--active-menu': menu.value,
142
+ 'v-select--chips': !!props.chips,
143
+ [`v-select--${props.multiple ? 'multiple' : 'single'}`]: true
144
+ }],
145
+ "appendInnerIcon": props.menuIcon,
146
+ "readonly": true,
147
+ "onClick:clear": onClear,
148
+ "onClick:input": onClickControl,
149
+ "onClick:control": onClickControl,
150
+ "onBlur": () => menu.value = false,
151
+ "modelValue": model.value.join(', '),
152
+ "onKeydown": onKeydown
153
+ }, { ...slots,
154
+ default: () => _createVNode(_Fragment, null, [activator.value && _createVNode(VMenu, {
155
+ "modelValue": menu.value,
156
+ "onUpdate:modelValue": $event => menu.value = $event,
157
+ "activator": activator.value,
158
+ "contentClass": "v-select__content",
159
+ "eager": props.eager,
160
+ "openOnClick": false,
161
+ "transition": props.transition
162
+ }, {
163
+ default: () => [_createVNode(VList, {
164
+ "selected": selected.value,
165
+ "selectStrategy": props.multiple ? 'independent' : 'single-independent'
166
+ }, {
167
+ default: () => [!items.value.length && !props.hideNoData && _createVNode(VListItem, {
168
+ "title": t(props.noDataText)
169
+ }, null), items.value.map(item => _createVNode(VListItem, {
170
+ "title": item.title,
171
+ "value": item.value,
172
+ "onMousedown": e => e.preventDefault(),
173
+ "onClick": () => select(item)
174
+ }, null))]
175
+ })]
176
+ }), selections.value.map((selection, index) => {
177
+ function onChipClose(e) {
178
+ e.stopPropagation();
179
+ e.preventDefault();
180
+ select(selection);
181
+ }
737
182
 
738
- this.selectItem(this.allItems[this.getMenuIndex()]);
183
+ const slotProps = {
184
+ 'onClick:close': onChipClose,
185
+ modelValue: true
186
+ };
187
+ return _createVNode("div", {
188
+ "class": "v-select__selection"
189
+ }, [hasChips && _createVNode(VDefaultsProvider, {
190
+ "defaults": {
191
+ VChip: {
192
+ closable: props.closableChips,
193
+ size: 'small',
194
+ text: selection.title
195
+ }
196
+ }
197
+ }, {
198
+ default: () => [slots.chip ? slots.chip({
199
+ props: slotProps,
200
+ selection
201
+ }) : _createVNode(VChip, slotProps, null)]
202
+ }), !hasChips && (slots.selection ? slots.selection({
203
+ selection
204
+ }) : _createVNode("span", {
205
+ "class": "v-select__selection-text"
206
+ }, [selection.title, props.multiple && index < selections.value.length - 1 && _createVNode("span", {
207
+ "class": "v-select__selection-comma"
208
+ }, [_createTextVNode(",")])]))]);
209
+ })])
739
210
  });
740
- },
741
-
742
- selectItem(item) {
743
- if (!this.multiple) {
744
- this.setValue(this.returnObject ? item : this.getValue(item));
745
- this.isMenuActive = false;
746
- } else {
747
- const internalValue = (this.internalValue || []).slice();
748
- const i = this.findExistingIndex(item);
749
- i !== -1 ? internalValue.splice(i, 1) : internalValue.push(item);
750
- this.setValue(internalValue.map(i => {
751
- return this.returnObject ? i : this.getValue(i);
752
- })); // When selecting multiple
753
- // adjust menu after each
754
- // selection
755
-
756
- this.$nextTick(() => {
757
- this.$refs.menu && this.$refs.menu.updateDimensions();
758
- }); // We only need to reset list index for multiple
759
- // to keep highlight when an item is toggled
760
- // on and off
761
-
762
- if (!this.multiple) return;
763
- const listIndex = this.getMenuIndex();
764
- this.setMenuIndex(-1); // There is no item to re-highlight
765
- // when selections are hidden
766
-
767
- if (this.hideSelected) return;
768
- this.$nextTick(() => this.setMenuIndex(listIndex));
769
- }
770
- },
771
-
772
- setMenuIndex(index) {
773
- this.$refs.menu && (this.$refs.menu.listIndex = index);
774
- },
775
-
776
- setSelectedItems() {
777
- const selectedItems = [];
778
- const values = !this.multiple || !Array.isArray(this.internalValue) ? [this.internalValue] : this.internalValue;
779
-
780
- for (const value of values) {
781
- const index = this.allItems.findIndex(v => this.valueComparator(this.getValue(v), this.getValue(value)));
782
-
783
- if (index > -1) {
784
- selectedItems.push(this.allItems[index]);
785
- }
786
- }
787
-
788
- this.selectedItems = selectedItems;
789
- },
790
-
791
- setValue(value) {
792
- if (!this.valueComparator(value, this.internalValue)) {
793
- this.internalValue = value;
794
- this.$emit('change', value);
795
- }
796
- },
797
-
798
- isAppendInner(target) {
799
- // return true if append inner is present
800
- // and the target is itself or inside
801
- const appendInner = this.$refs['append-inner'];
802
- return appendInner && (appendInner === target || appendInner.contains(target));
803
- }
804
-
211
+ });
212
+ return useForwardRef({}, vTextFieldRef);
805
213
  }
214
+
806
215
  });
807
216
  //# sourceMappingURL=VSelect.mjs.map