vuetify 3.1.3 → 3.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (520) hide show
  1. package/LICENSE.md +1 -1
  2. package/dist/json/attributes.json +3104 -3068
  3. package/dist/json/importMap-labs.json +4 -0
  4. package/dist/json/importMap.json +38 -38
  5. package/dist/json/tags.json +18 -4
  6. package/dist/json/web-types.json +9059 -6289
  7. package/dist/vuetify-labs.css +374 -3262
  8. package/dist/vuetify-labs.d.ts +14446 -22245
  9. package/dist/vuetify-labs.esm.js +1661 -1922
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +1660 -1921
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.css +162 -3058
  14. package/dist/vuetify.d.ts +13666 -21503
  15. package/dist/vuetify.esm.js +1435 -1706
  16. package/dist/vuetify.esm.js.map +1 -1
  17. package/dist/vuetify.js +1434 -1705
  18. package/dist/vuetify.js.map +1 -1
  19. package/dist/vuetify.min.css +2 -2
  20. package/dist/vuetify.min.js +1084 -1305
  21. package/dist/vuetify.min.js.map +1 -1
  22. package/lib/blueprints/index.d.ts +9 -9
  23. package/lib/blueprints/md1.d.ts +9 -9
  24. package/lib/blueprints/md2.d.ts +9 -9
  25. package/lib/blueprints/md3.d.ts +9 -9
  26. package/lib/blueprints/md3.mjs.map +1 -1
  27. package/lib/components/VAlert/VAlert.mjs +5 -6
  28. package/lib/components/VAlert/VAlert.mjs.map +1 -1
  29. package/lib/components/VAlert/index.d.ts +135 -157
  30. package/lib/components/VApp/VApp.mjs +9 -12
  31. package/lib/components/VApp/VApp.mjs.map +1 -1
  32. package/lib/components/VApp/index.d.ts +27 -13
  33. package/lib/components/VAppBar/VAppBar.mjs +9 -5
  34. package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
  35. package/lib/components/VAppBar/VAppBarNavIcon.mjs +2 -2
  36. package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
  37. package/lib/components/VAppBar/VAppBarTitle.mjs +5 -6
  38. package/lib/components/VAppBar/VAppBarTitle.mjs.map +1 -1
  39. package/lib/components/VAppBar/index.d.ts +173 -342
  40. package/lib/components/VAutocomplete/VAutocomplete.mjs +100 -104
  41. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  42. package/lib/components/VAutocomplete/index.d.ts +494 -636
  43. package/lib/components/VAvatar/VAvatar.mjs +19 -22
  44. package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
  45. package/lib/components/VAvatar/index.d.ts +46 -66
  46. package/lib/components/VBadge/VBadge.mjs +7 -5
  47. package/lib/components/VBadge/VBadge.mjs.map +1 -1
  48. package/lib/components/VBadge/index.d.ts +74 -100
  49. package/lib/components/VBanner/VBanner.mjs +3 -4
  50. package/lib/components/VBanner/VBanner.mjs.map +1 -1
  51. package/lib/components/VBanner/VBannerActions.mjs +5 -8
  52. package/lib/components/VBanner/VBannerActions.mjs.map +1 -1
  53. package/lib/components/VBanner/index.d.ts +134 -98
  54. package/lib/components/VBottomNavigation/VBottomNavigation.css +2 -1
  55. package/lib/components/VBottomNavigation/VBottomNavigation.mjs +8 -4
  56. package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
  57. package/lib/components/VBottomNavigation/VBottomNavigation.sass +2 -1
  58. package/lib/components/VBottomNavigation/_variables.scss +1 -1
  59. package/lib/components/VBottomNavigation/index.d.ts +67 -131
  60. package/lib/components/VBottomSheet/VBottomSheet.mjs +1 -4
  61. package/lib/components/VBottomSheet/VBottomSheet.mjs.map +1 -1
  62. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +9 -16
  63. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
  64. package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs +5 -8
  65. package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs.map +1 -1
  66. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +4 -8
  67. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
  68. package/lib/components/VBreadcrumbs/index.d.ts +87 -61
  69. package/lib/components/VBtn/VBtn.css +7 -7
  70. package/lib/components/VBtn/VBtn.mjs +14 -17
  71. package/lib/components/VBtn/VBtn.mjs.map +1 -1
  72. package/lib/components/VBtn/index.d.ts +118 -179
  73. package/lib/components/VBtnGroup/VBtnGroup.mjs +19 -12
  74. package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -1
  75. package/lib/components/VBtnGroup/index.d.ts +42 -56
  76. package/lib/components/VBtnToggle/VBtnToggle.mjs +10 -7
  77. package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
  78. package/lib/components/VBtnToggle/index.d.ts +65 -131
  79. package/lib/components/VCalendar/VCalendar.mjs +3 -0
  80. package/lib/components/VCalendar/VCalendar.mjs.map +1 -1
  81. package/lib/components/VCalendar/VCalendarCategory.sass +9 -3
  82. package/lib/components/VCalendar/VCalendarDaily.mjs +20 -8
  83. package/lib/components/VCalendar/VCalendarDaily.mjs.map +1 -1
  84. package/lib/components/VCalendar/VCalendarWeekly.mjs +25 -5
  85. package/lib/components/VCalendar/VCalendarWeekly.mjs.map +1 -1
  86. package/lib/components/VCalendar/mixins/calendar-with-events.mjs +20 -16
  87. package/lib/components/VCalendar/mixins/calendar-with-events.mjs.map +1 -1
  88. package/lib/components/VCalendar/mixins/mouse.mjs +15 -30
  89. package/lib/components/VCalendar/mixins/mouse.mjs.map +1 -1
  90. package/lib/components/VCard/VCard.css +7 -7
  91. package/lib/components/VCard/VCard.mjs +5 -6
  92. package/lib/components/VCard/VCard.mjs.map +1 -1
  93. package/lib/components/VCard/VCardActions.mjs +5 -8
  94. package/lib/components/VCard/VCardActions.mjs.map +1 -1
  95. package/lib/components/VCard/VCardItem.mjs +7 -8
  96. package/lib/components/VCard/VCardItem.mjs.map +1 -1
  97. package/lib/components/VCard/index.d.ts +286 -186
  98. package/lib/components/VCarousel/VCarousel.mjs +2 -2
  99. package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
  100. package/lib/components/VCarousel/VCarouselItem.mjs +2 -2
  101. package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
  102. package/lib/components/VCarousel/index.d.ts +238 -61
  103. package/lib/components/VCheckbox/VCheckbox.mjs +2 -2
  104. package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
  105. package/lib/components/VCheckbox/VCheckboxBtn.mjs +2 -2
  106. package/lib/components/VCheckbox/VCheckboxBtn.mjs.map +1 -1
  107. package/lib/components/VCheckbox/index.d.ts +277 -254
  108. package/lib/components/VChip/VChip.css +7 -7
  109. package/lib/components/VChip/VChip.mjs +21 -15
  110. package/lib/components/VChip/VChip.mjs.map +1 -1
  111. package/lib/components/VChip/index.d.ts +118 -168
  112. package/lib/components/VChipGroup/VChipGroup.css +1 -0
  113. package/lib/components/VChipGroup/VChipGroup.mjs +15 -18
  114. package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
  115. package/lib/components/VChipGroup/VChipGroup.sass +1 -0
  116. package/lib/components/VChipGroup/index.d.ts +49 -68
  117. package/lib/components/VCode/index.d.ts +21 -9
  118. package/lib/components/VColorPicker/VColorPickerCanvas.mjs +4 -9
  119. package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
  120. package/lib/components/VColorPicker/VColorPickerEdit.mjs +12 -16
  121. package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
  122. package/lib/components/VColorPicker/VColorPickerPreview.mjs +43 -46
  123. package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
  124. package/lib/components/VColorPicker/index.d.ts +1 -1
  125. package/lib/components/VColorPicker/util/index.mjs +1 -2
  126. package/lib/components/VColorPicker/util/index.mjs.map +1 -1
  127. package/lib/components/VCombobox/VCombobox.mjs +104 -113
  128. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  129. package/lib/components/VCombobox/index.d.ts +496 -638
  130. package/lib/components/VCounter/VCounter.mjs +2 -2
  131. package/lib/components/VCounter/VCounter.mjs.map +1 -1
  132. package/lib/components/VCounter/index.d.ts +139 -197
  133. package/lib/components/VData/VData.mjs +2 -4
  134. package/lib/components/VData/VData.mjs.map +1 -1
  135. package/lib/components/VDatePicker/VDatePicker.mjs +7 -5
  136. package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
  137. package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +4 -9
  138. package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs.map +1 -1
  139. package/lib/components/VDefaultsProvider/index.d.ts +33 -14
  140. package/lib/components/VDialog/VDialog.mjs +6 -9
  141. package/lib/components/VDialog/VDialog.mjs.map +1 -1
  142. package/lib/components/VDialog/index.d.ts +430 -1610
  143. package/lib/components/VDivider/VDivider.mjs +2 -2
  144. package/lib/components/VDivider/VDivider.mjs.map +1 -1
  145. package/lib/components/VDivider/index.d.ts +35 -15
  146. package/lib/components/VExpansionPanel/VExpansionPanel.css +7 -7
  147. package/lib/components/VExpansionPanel/VExpansionPanel.mjs +4 -5
  148. package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
  149. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +11 -14
  150. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -1
  151. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +19 -22
  152. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
  153. package/lib/components/VExpansionPanel/VExpansionPanels.mjs +2 -2
  154. package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
  155. package/lib/components/VExpansionPanel/index.d.ts +180 -158
  156. package/lib/components/VField/VField.css +2 -2
  157. package/lib/components/VField/VField.mjs +3 -6
  158. package/lib/components/VField/VField.mjs.map +1 -1
  159. package/lib/components/VField/VField.sass +2 -2
  160. package/lib/components/VField/VFieldLabel.mjs +2 -2
  161. package/lib/components/VField/VFieldLabel.mjs.map +1 -1
  162. package/lib/components/VField/index.d.ts +46 -34
  163. package/lib/components/VFileInput/VFileInput.mjs +16 -18
  164. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  165. package/lib/components/VFileInput/index.d.ts +330 -355
  166. package/lib/components/VFooter/VFooter.mjs +2 -2
  167. package/lib/components/VFooter/VFooter.mjs.map +1 -1
  168. package/lib/components/VFooter/index.d.ts +45 -65
  169. package/lib/components/VForm/VForm.mjs +10 -14
  170. package/lib/components/VForm/VForm.mjs.map +1 -1
  171. package/lib/components/VForm/index.d.ts +29 -23
  172. package/lib/components/VGrid/VCol.mjs +5 -8
  173. package/lib/components/VGrid/VCol.mjs.map +1 -1
  174. package/lib/components/VGrid/VContainer.mjs +2 -2
  175. package/lib/components/VGrid/VContainer.mjs.map +1 -1
  176. package/lib/components/VGrid/VGrid.css +0 -125
  177. package/lib/components/VGrid/VRow.mjs +5 -8
  178. package/lib/components/VGrid/VRow.mjs.map +1 -1
  179. package/lib/components/VGrid/index.d.ts +112 -121
  180. package/lib/components/VHover/VHover.mjs +9 -12
  181. package/lib/components/VHover/VHover.mjs.map +1 -1
  182. package/lib/components/VHover/index.d.ts +53 -15
  183. package/lib/components/VIcon/VIcon.mjs +22 -26
  184. package/lib/components/VIcon/VIcon.mjs.map +1 -1
  185. package/lib/components/VIcon/index.d.ts +68 -56
  186. package/lib/components/VImg/VImg.mjs +7 -11
  187. package/lib/components/VImg/VImg.mjs.map +1 -1
  188. package/lib/components/VImg/index.d.ts +67 -58
  189. package/lib/components/VInput/VInput.mjs +5 -6
  190. package/lib/components/VInput/VInput.mjs.map +1 -1
  191. package/lib/components/VInput/index.d.ts +94 -283
  192. package/lib/components/VItemGroup/VItem.mjs +8 -11
  193. package/lib/components/VItemGroup/VItem.mjs.map +1 -1
  194. package/lib/components/VItemGroup/VItemGroup.mjs +13 -16
  195. package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
  196. package/lib/components/VItemGroup/index.d.ts +76 -149
  197. package/lib/components/VKbd/index.d.ts +21 -9
  198. package/lib/components/VLabel/VLabel.mjs +7 -10
  199. package/lib/components/VLabel/VLabel.mjs.map +1 -1
  200. package/lib/components/VLabel/index.d.ts +29 -9
  201. package/lib/components/VLayout/VLayout.mjs +9 -12
  202. package/lib/components/VLayout/VLayout.mjs.map +1 -1
  203. package/lib/components/VLayout/VLayoutItem.mjs +6 -9
  204. package/lib/components/VLayout/VLayoutItem.mjs.map +1 -1
  205. package/lib/components/VLayout/index.d.ts +60 -43
  206. package/lib/components/VLazy/VLazy.mjs +12 -15
  207. package/lib/components/VLazy/VLazy.mjs.map +1 -1
  208. package/lib/components/VLazy/index.d.ts +48 -71
  209. package/lib/components/VList/VList.mjs +4 -8
  210. package/lib/components/VList/VList.mjs.map +1 -1
  211. package/lib/components/VList/VListChildren.mjs +59 -77
  212. package/lib/components/VList/VListChildren.mjs.map +1 -1
  213. package/lib/components/VList/VListGroup.mjs +33 -39
  214. package/lib/components/VList/VListGroup.mjs.map +1 -1
  215. package/lib/components/VList/VListItem.css +9 -9
  216. package/lib/components/VList/VListItem.mjs +10 -18
  217. package/lib/components/VList/VListItem.mjs.map +1 -1
  218. package/lib/components/VList/VListItem.sass +0 -2
  219. package/lib/components/VList/VListItemAction.mjs +2 -2
  220. package/lib/components/VList/VListItemAction.mjs.map +1 -1
  221. package/lib/components/VList/VListItemMedia.mjs +2 -2
  222. package/lib/components/VList/VListItemMedia.mjs.map +1 -1
  223. package/lib/components/VList/VListSubheader.mjs +3 -4
  224. package/lib/components/VList/VListSubheader.mjs.map +1 -1
  225. package/lib/components/VList/index.d.ts +418 -686
  226. package/lib/components/VList/list.mjs +1 -1
  227. package/lib/components/VList/list.mjs.map +1 -1
  228. package/lib/components/VLocaleProvider/VLocaleProvider.mjs +5 -8
  229. package/lib/components/VLocaleProvider/VLocaleProvider.mjs.map +1 -1
  230. package/lib/components/VLocaleProvider/index.d.ts +28 -16
  231. package/lib/components/VMain/VMain.mjs +12 -15
  232. package/lib/components/VMain/VMain.mjs.map +1 -1
  233. package/lib/components/VMain/index.d.ts +23 -17
  234. package/lib/components/VMenu/VMenu.mjs +10 -10
  235. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  236. package/lib/components/VMenu/index.d.ts +428 -1641
  237. package/lib/components/VMessages/VMessages.mjs +2 -2
  238. package/lib/components/VMessages/VMessages.mjs.map +1 -1
  239. package/lib/components/VMessages/index.d.ts +144 -204
  240. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +6 -7
  241. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
  242. package/lib/components/VNavigationDrawer/index.d.ts +92 -124
  243. package/lib/components/VNoSsr/VNoSsr.mjs +1 -4
  244. package/lib/components/VNoSsr/VNoSsr.mjs.map +1 -1
  245. package/lib/components/VNoSsr/index.d.ts +20 -4
  246. package/lib/components/VOtpInput/VOtpInput.mjs +25 -50
  247. package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
  248. package/lib/components/VOverflowBtn/VOverflowBtn.mjs +3 -0
  249. package/lib/components/VOverflowBtn/VOverflowBtn.mjs.map +1 -1
  250. package/lib/components/VOverlay/VOverlay.mjs +44 -47
  251. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  252. package/lib/components/VOverlay/index.d.ts +150 -468
  253. package/lib/components/VOverlay/locationStrategies.mjs +3 -6
  254. package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
  255. package/lib/components/VOverlay/scrollStrategies.mjs +7 -12
  256. package/lib/components/VOverlay/scrollStrategies.mjs.map +1 -1
  257. package/lib/components/VOverlay/useActivator.mjs +4 -7
  258. package/lib/components/VOverlay/useActivator.mjs.map +1 -1
  259. package/lib/components/VPagination/VPagination.mjs +4 -5
  260. package/lib/components/VPagination/VPagination.mjs.map +1 -1
  261. package/lib/components/VPagination/index.d.ts +107 -207
  262. package/lib/components/VParallax/VParallax.mjs +12 -15
  263. package/lib/components/VParallax/VParallax.mjs.map +1 -1
  264. package/lib/components/VParallax/index.d.ts +39 -9
  265. package/lib/components/VProgressCircular/VProgressCircular.mjs +2 -2
  266. package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
  267. package/lib/components/VProgressCircular/index.d.ts +41 -58
  268. package/lib/components/VProgressLinear/VProgressLinear.mjs +2 -2
  269. package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
  270. package/lib/components/VProgressLinear/index.d.ts +91 -95
  271. package/lib/components/VRadio/VRadio.mjs +2 -2
  272. package/lib/components/VRadio/VRadio.mjs.map +1 -1
  273. package/lib/components/VRadio/index.d.ts +108 -85
  274. package/lib/components/VRadioGroup/VRadioGroup.mjs +2 -2
  275. package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
  276. package/lib/components/VRadioGroup/index.d.ts +164 -147
  277. package/lib/components/VRangeSlider/VRangeSlider.mjs +21 -31
  278. package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
  279. package/lib/components/VRangeSlider/index.d.ts +154 -210
  280. package/lib/components/VRating/VRating.mjs +28 -34
  281. package/lib/components/VRating/VRating.mjs.map +1 -1
  282. package/lib/components/VRating/index.d.ts +77 -311
  283. package/lib/components/VResponsive/VResponsive.mjs +11 -14
  284. package/lib/components/VResponsive/VResponsive.mjs.map +1 -1
  285. package/lib/components/VResponsive/index.d.ts +44 -20
  286. package/lib/components/VSelect/VSelect.mjs +100 -102
  287. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  288. package/lib/components/VSelect/index.d.ts +729 -673
  289. package/lib/components/VSelectionControl/VSelectionControl.css +2 -2
  290. package/lib/components/VSelectionControl/VSelectionControl.mjs +3 -4
  291. package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
  292. package/lib/components/VSelectionControl/index.d.ts +31 -19
  293. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +8 -11
  294. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
  295. package/lib/components/VSelectionControlGroup/index.d.ts +58 -70
  296. package/lib/components/VSheet/VSheet.mjs +2 -2
  297. package/lib/components/VSheet/VSheet.mjs.map +1 -1
  298. package/lib/components/VSheet/index.d.ts +52 -56
  299. package/lib/components/VSkeletonLoader/VSkeletonLoader.sass +1 -1
  300. package/lib/components/VSlideGroup/VSlideGroup.mjs +51 -60
  301. package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
  302. package/lib/components/VSlideGroup/VSlideGroupItem.mjs +6 -9
  303. package/lib/components/VSlideGroup/VSlideGroupItem.mjs.map +1 -1
  304. package/lib/components/VSlideGroup/index.d.ts +144 -366
  305. package/lib/components/VSlider/VSlider.mjs +8 -14
  306. package/lib/components/VSlider/VSlider.mjs.map +1 -1
  307. package/lib/components/VSlider/VSliderThumb.css +0 -1
  308. package/lib/components/VSlider/VSliderThumb.mjs +4 -5
  309. package/lib/components/VSlider/VSliderThumb.mjs.map +1 -1
  310. package/lib/components/VSlider/VSliderTrack.mjs +4 -5
  311. package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
  312. package/lib/components/VSlider/index.d.ts +151 -207
  313. package/lib/components/VSlider/slider.mjs +3 -6
  314. package/lib/components/VSlider/slider.mjs.map +1 -1
  315. package/lib/components/VSnackbar/VSnackbar.mjs +1 -1
  316. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  317. package/lib/components/VSnackbar/index.d.ts +358 -1519
  318. package/lib/components/VStepper/VStepper.sass +6 -6
  319. package/lib/components/VStepper/VStepperStep.mjs +12 -2
  320. package/lib/components/VStepper/VStepperStep.mjs.map +1 -1
  321. package/lib/components/VSwitch/VSwitch.mjs +3 -4
  322. package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
  323. package/lib/components/VSwitch/index.d.ts +180 -151
  324. package/lib/components/VSystemBar/VSystemBar.mjs +8 -4
  325. package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
  326. package/lib/components/VSystemBar/index.d.ts +43 -51
  327. package/lib/components/VTable/VTable.mjs +19 -22
  328. package/lib/components/VTable/VTable.mjs.map +1 -1
  329. package/lib/components/VTable/index.d.ts +54 -30
  330. package/lib/components/VTabs/VTab.mjs +3 -4
  331. package/lib/components/VTabs/VTab.mjs.map +1 -1
  332. package/lib/components/VTabs/VTabs.mjs +2 -2
  333. package/lib/components/VTabs/VTabs.mjs.map +1 -1
  334. package/lib/components/VTabs/index.d.ts +122 -150
  335. package/lib/components/VTextField/VTextField.mjs +16 -19
  336. package/lib/components/VTextField/VTextField.mjs.map +1 -1
  337. package/lib/components/VTextField/index.d.ts +331 -1489
  338. package/lib/components/VTextarea/VTextarea.mjs +17 -19
  339. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  340. package/lib/components/VTextarea/index.d.ts +320 -334
  341. package/lib/components/VThemeProvider/VThemeProvider.mjs +4 -5
  342. package/lib/components/VThemeProvider/VThemeProvider.mjs.map +1 -1
  343. package/lib/components/VThemeProvider/index.d.ts +27 -13
  344. package/lib/components/VTimePicker/VTimePicker.mjs.map +1 -1
  345. package/lib/components/VTimeline/VTimeline.mjs +2 -2
  346. package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
  347. package/lib/components/VTimeline/VTimelineDivider.mjs +20 -23
  348. package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -1
  349. package/lib/components/VTimeline/VTimelineItem.mjs +33 -34
  350. package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
  351. package/lib/components/VTimeline/_mixins.sass +1 -1
  352. package/lib/components/VTimeline/index.d.ts +123 -135
  353. package/lib/components/VToolbar/VToolbar.css +1 -0
  354. package/lib/components/VToolbar/VToolbar.mjs +7 -9
  355. package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
  356. package/lib/components/VToolbar/VToolbar.sass +1 -0
  357. package/lib/components/VToolbar/VToolbarItems.mjs +5 -8
  358. package/lib/components/VToolbar/VToolbarItems.mjs.map +1 -1
  359. package/lib/components/VToolbar/VToolbarTitle.mjs +7 -7
  360. package/lib/components/VToolbar/VToolbarTitle.mjs.map +1 -1
  361. package/lib/components/VToolbar/index.d.ts +146 -351
  362. package/lib/components/VTooltip/VTooltip.mjs +1 -2
  363. package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
  364. package/lib/components/VTooltip/index.d.ts +361 -1619
  365. package/lib/components/VTreeview/VTreeview.mjs +1 -1
  366. package/lib/components/VTreeview/VTreeview.mjs.map +1 -1
  367. package/lib/components/VValidation/VValidation.mjs +3 -6
  368. package/lib/components/VValidation/VValidation.mjs.map +1 -1
  369. package/lib/components/VValidation/index.d.ts +48 -46
  370. package/lib/components/VWindow/VWindow.mjs +19 -22
  371. package/lib/components/VWindow/VWindow.mjs.map +1 -1
  372. package/lib/components/VWindow/VWindowItem.mjs +10 -14
  373. package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
  374. package/lib/components/VWindow/index.d.ts +152 -284
  375. package/lib/components/index.d.ts +13667 -21504
  376. package/lib/components/transitions/createTransition.mjs +4 -4
  377. package/lib/components/transitions/createTransition.mjs.map +1 -1
  378. package/lib/components/transitions/dialog-transition.mjs +8 -8
  379. package/lib/components/transitions/dialog-transition.mjs.map +1 -1
  380. package/lib/components/transitions/index.d.ts +477 -342
  381. package/lib/composables/defaults.mjs +6 -4
  382. package/lib/composables/defaults.mjs.map +1 -1
  383. package/lib/composables/delay.mjs +1 -1
  384. package/lib/composables/delay.mjs.map +1 -1
  385. package/lib/composables/filter.mjs +11 -12
  386. package/lib/composables/filter.mjs.map +1 -1
  387. package/lib/composables/group.mjs +2 -2
  388. package/lib/composables/group.mjs.map +1 -1
  389. package/lib/composables/icons.mjs +4 -6
  390. package/lib/composables/icons.mjs.map +1 -1
  391. package/lib/composables/intersectionObserver.mjs +1 -1
  392. package/lib/composables/intersectionObserver.mjs.map +1 -1
  393. package/lib/composables/layout.mjs +2 -5
  394. package/lib/composables/layout.mjs.map +1 -1
  395. package/lib/composables/loader.mjs +2 -3
  396. package/lib/composables/loader.mjs.map +1 -1
  397. package/lib/composables/locale.mjs +2 -2
  398. package/lib/composables/locale.mjs.map +1 -1
  399. package/lib/composables/mutationObserver.mjs +8 -8
  400. package/lib/composables/mutationObserver.mjs.map +1 -1
  401. package/lib/composables/nested/nested.mjs +2 -1
  402. package/lib/composables/nested/nested.mjs.map +1 -1
  403. package/lib/composables/nested/selectStrategies.mjs +1 -1
  404. package/lib/composables/nested/selectStrategies.mjs.map +1 -1
  405. package/lib/composables/proxiedModel.mjs +9 -10
  406. package/lib/composables/proxiedModel.mjs.map +1 -1
  407. package/lib/composables/resizeObserver.mjs +1 -1
  408. package/lib/composables/resizeObserver.mjs.map +1 -1
  409. package/lib/composables/router.mjs +12 -21
  410. package/lib/composables/router.mjs.map +1 -1
  411. package/lib/composables/scroll.mjs +2 -4
  412. package/lib/composables/scroll.mjs.map +1 -1
  413. package/lib/composables/selectLink.mjs +1 -4
  414. package/lib/composables/selectLink.mjs.map +1 -1
  415. package/lib/composables/stack.mjs +6 -8
  416. package/lib/composables/stack.mjs.map +1 -1
  417. package/lib/composables/teleport.mjs +1 -1
  418. package/lib/composables/teleport.mjs.map +1 -1
  419. package/lib/composables/theme.mjs +2 -3
  420. package/lib/composables/theme.mjs.map +1 -1
  421. package/lib/composables/toggleScope.mjs +3 -6
  422. package/lib/composables/toggleScope.mjs.map +1 -1
  423. package/lib/composables/touch.mjs +1 -2
  424. package/lib/composables/touch.mjs.map +1 -1
  425. package/lib/composables/validation.mjs +7 -7
  426. package/lib/composables/validation.mjs.map +1 -1
  427. package/lib/directives/click-outside/index.mjs +2 -3
  428. package/lib/directives/click-outside/index.mjs.map +1 -1
  429. package/lib/directives/index.d.ts +1 -1
  430. package/lib/directives/intersect/index.mjs +2 -4
  431. package/lib/directives/intersect/index.mjs.map +1 -1
  432. package/lib/directives/mutate/index.mjs +7 -8
  433. package/lib/directives/mutate/index.mjs.map +1 -1
  434. package/lib/directives/resize/index.mjs +3 -5
  435. package/lib/directives/resize/index.mjs.map +1 -1
  436. package/lib/directives/ripple/VRipple.css +3 -0
  437. package/lib/directives/ripple/VRipple.sass +3 -0
  438. package/lib/directives/ripple/_variables.scss +1 -1
  439. package/lib/directives/ripple/index.mjs +8 -18
  440. package/lib/directives/ripple/index.mjs.map +1 -1
  441. package/lib/directives/scroll/index.mjs +1 -2
  442. package/lib/directives/scroll/index.mjs.map +1 -1
  443. package/lib/directives/touch/index.mjs +9 -14
  444. package/lib/directives/touch/index.mjs.map +1 -1
  445. package/lib/entry-bundler.mjs +1 -1
  446. package/lib/framework.mjs +2 -3
  447. package/lib/framework.mjs.map +1 -1
  448. package/lib/iconsets/fa-svg.d.ts +2 -2
  449. package/lib/iconsets/fa.d.ts +2 -2
  450. package/lib/iconsets/fa4.d.ts +2 -2
  451. package/lib/iconsets/md.d.ts +2 -2
  452. package/lib/iconsets/mdi-svg.d.ts +2 -2
  453. package/lib/iconsets/mdi.d.ts +2 -2
  454. package/lib/index.d.ts +20 -20
  455. package/lib/labs/VDataTable/VDataTable.mjs +12 -19
  456. package/lib/labs/VDataTable/VDataTable.mjs.map +1 -1
  457. package/lib/labs/VDataTable/VDataTableColumn.mjs +1 -2
  458. package/lib/labs/VDataTable/VDataTableColumn.mjs.map +1 -1
  459. package/lib/labs/VDataTable/VDataTableFooter.css +9 -0
  460. package/lib/labs/VDataTable/VDataTableFooter.mjs +80 -45
  461. package/lib/labs/VDataTable/VDataTableFooter.mjs.map +1 -1
  462. package/lib/labs/VDataTable/VDataTableFooter.sass +7 -0
  463. package/lib/labs/VDataTable/VDataTableGroupHeaderRow.mjs +6 -8
  464. package/lib/labs/VDataTable/VDataTableGroupHeaderRow.mjs.map +1 -1
  465. package/lib/labs/VDataTable/VDataTableHeaders.mjs +3 -4
  466. package/lib/labs/VDataTable/VDataTableHeaders.mjs.map +1 -1
  467. package/lib/labs/VDataTable/VDataTableRow.mjs +2 -4
  468. package/lib/labs/VDataTable/VDataTableRow.mjs.map +1 -1
  469. package/lib/labs/VDataTable/VDataTableRows.mjs +45 -49
  470. package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
  471. package/lib/labs/VDataTable/VDataTableServer.mjs +17 -26
  472. package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
  473. package/lib/labs/VDataTable/VDataTableVirtual.mjs +2 -5
  474. package/lib/labs/VDataTable/VDataTableVirtual.mjs.map +1 -1
  475. package/lib/labs/VDataTable/composables/headers.mjs +3 -4
  476. package/lib/labs/VDataTable/composables/headers.mjs.map +1 -1
  477. package/lib/labs/VDataTable/composables/options.mjs +0 -6
  478. package/lib/labs/VDataTable/composables/options.mjs.map +1 -1
  479. package/lib/labs/VDataTable/composables/paginate.mjs +2 -7
  480. package/lib/labs/VDataTable/composables/paginate.mjs.map +1 -1
  481. package/lib/labs/VDataTable/composables/sort.mjs +1 -1
  482. package/lib/labs/VDataTable/composables/sort.mjs.map +1 -1
  483. package/lib/labs/VDataTable/index.d.ts +593 -526
  484. package/lib/labs/VDataTable/index.mjs +1 -0
  485. package/lib/labs/VDataTable/index.mjs.map +1 -1
  486. package/lib/labs/VVirtualScroll/VVirtualScroll.css +0 -1
  487. package/lib/labs/VVirtualScroll/VVirtualScroll.mjs +48 -34
  488. package/lib/labs/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
  489. package/lib/labs/VVirtualScroll/VVirtualScroll.sass +0 -1
  490. package/lib/labs/VVirtualScroll/VVirtualScrollItem.mjs +22 -16
  491. package/lib/labs/VVirtualScroll/VVirtualScrollItem.mjs.map +1 -1
  492. package/lib/labs/VVirtualScroll/index.d.ts +26 -57
  493. package/lib/labs/components.d.ts +619 -583
  494. package/lib/locale/adapters/vue-i18n.d.ts +1 -1
  495. package/lib/locale/adapters/vuetify.mjs +3 -3
  496. package/lib/locale/adapters/vuetify.mjs.map +1 -1
  497. package/lib/locale/ar.mjs +20 -20
  498. package/lib/locale/ar.mjs.map +1 -1
  499. package/lib/locale/es.mjs +3 -3
  500. package/lib/locale/es.mjs.map +1 -1
  501. package/lib/locale/fi.mjs +5 -5
  502. package/lib/locale/fi.mjs.map +1 -1
  503. package/lib/locale/it.mjs +6 -6
  504. package/lib/locale/it.mjs.map +1 -1
  505. package/lib/locale/sv.mjs +7 -7
  506. package/lib/locale/sv.mjs.map +1 -1
  507. package/lib/styles/main.css +40 -2816
  508. package/lib/styles/settings/_variables.scss +6 -6
  509. package/lib/styles/tools/_states.sass +3 -3
  510. package/lib/util/console.mjs +1 -1
  511. package/lib/util/console.mjs.map +1 -1
  512. package/lib/util/createSimpleFunctional.mjs +5 -8
  513. package/lib/util/createSimpleFunctional.mjs.map +1 -1
  514. package/lib/util/defineComponent.mjs +6 -8
  515. package/lib/util/defineComponent.mjs.map +1 -1
  516. package/lib/util/getCurrentInstance.mjs +1 -1
  517. package/lib/util/getCurrentInstance.mjs.map +1 -1
  518. package/lib/util/helpers.mjs +2 -21
  519. package/lib/util/helpers.mjs.map +1 -1
  520. package/package.json +19 -19
@@ -12,8 +12,8 @@ import { makeThemeProps, provideTheme } from "../../composables/theme.mjs";
12
12
  import { useBackgroundColor } from "../../composables/color.mjs";
13
13
  import { useResizeObserver } from "../../composables/resizeObserver.mjs"; // Utilities
14
14
  import { computed, ref, toRef } from 'vue';
15
- import { defineComponent, useRender } from "../../util/index.mjs";
16
- export const VFooter = defineComponent({
15
+ import { genericComponent, useRender } from "../../util/index.mjs";
16
+ export const VFooter = genericComponent()({
17
17
  name: 'VFooter',
18
18
  props: {
19
19
  app: Boolean,
@@ -1 +1 @@
1
- {"version":3,"file":"VFooter.mjs","names":["makeBorderProps","useBorder","makeElevationProps","useElevation","makeLayoutItemProps","useLayoutItem","makeRoundedProps","useRounded","makeTagProps","makeThemeProps","provideTheme","useBackgroundColor","useResizeObserver","computed","ref","toRef","defineComponent","useRender","VFooter","name","props","app","Boolean","color","String","height","type","Number","default","tag","setup","slots","themeClasses","backgroundColorClasses","backgroundColorStyles","borderClasses","elevationClasses","roundedClasses","autoHeight","resizeRef","entries","length","value","target","clientHeight","parseInt","layoutItemStyles","id","order","position","layoutSize","elementSize","undefined","active","absolute"],"sources":["../../../src/components/VFooter/VFooter.tsx"],"sourcesContent":["// Styles\nimport './VFooter.sass'\n\n// Composables\nimport { makeBorderProps, useBorder } from '@/composables/border'\nimport { makeElevationProps, useElevation } from '@/composables/elevation'\nimport { makeLayoutItemProps, useLayoutItem } from '@/composables/layout'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { useBackgroundColor } from '@/composables/color'\nimport { useResizeObserver } from '@/composables/resizeObserver'\n\n// Utilities\nimport { computed, ref, toRef } from 'vue'\nimport { defineComponent, useRender } from '@/util'\n\nexport const VFooter = defineComponent({\n name: 'VFooter',\n\n props: {\n app: Boolean,\n color: String,\n height: {\n type: [Number, String],\n default: 'auto',\n },\n\n ...makeBorderProps(),\n ...makeElevationProps(),\n ...makeLayoutItemProps(),\n ...makeRoundedProps(),\n ...makeTagProps({ tag: 'footer' }),\n ...makeThemeProps(),\n },\n\n setup (props, { slots }) {\n const { themeClasses } = provideTheme(props)\n const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(toRef(props, 'color'))\n const { borderClasses } = useBorder(props)\n const { elevationClasses } = useElevation(props)\n const { roundedClasses } = useRounded(props)\n\n const autoHeight = ref(32)\n const { resizeRef } = useResizeObserver(entries => {\n if (!entries.length) return\n autoHeight.value = entries[0].target.clientHeight\n })\n const height = computed(() => props.height === 'auto' ? autoHeight.value : parseInt(props.height, 10))\n const { layoutItemStyles } = useLayoutItem({\n id: props.name,\n order: computed(() => parseInt(props.order, 10)),\n position: computed(() => 'bottom'),\n layoutSize: height,\n elementSize: computed(() => props.height === 'auto' ? undefined : height.value),\n active: computed(() => props.app),\n absolute: toRef(props, 'absolute'),\n })\n\n useRender(() => (\n <props.tag\n ref={ resizeRef }\n class={[\n 'v-footer',\n themeClasses.value,\n backgroundColorClasses.value,\n borderClasses.value,\n elevationClasses.value,\n roundedClasses.value,\n ]}\n style={[\n backgroundColorStyles.value,\n props.app ? layoutItemStyles.value : undefined,\n ]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,cAAc,CAACK,KAAK,CACrB;MAAA,SACM,CACLR,qBAAqB,CAACQ,KAAK,EAC3BtB,KAAK,CAACC,GAAG,GAAGyB,gBAAgB,CAACJ,KAAK,GAAGU,SAAS;IAC/C,GACSrB,KAAK,CAElB,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}
1
+ {"version":3,"file":"VFooter.mjs","names":["makeBorderProps","useBorder","makeElevationProps","useElevation","makeLayoutItemProps","useLayoutItem","makeRoundedProps","useRounded","makeTagProps","makeThemeProps","provideTheme","useBackgroundColor","useResizeObserver","computed","ref","toRef","genericComponent","useRender","VFooter","name","props","app","Boolean","color","String","height","type","Number","default","tag","setup","slots","themeClasses","backgroundColorClasses","backgroundColorStyles","borderClasses","elevationClasses","roundedClasses","autoHeight","resizeRef","entries","length","value","target","clientHeight","parseInt","layoutItemStyles","id","order","position","layoutSize","elementSize","undefined","active","absolute"],"sources":["../../../src/components/VFooter/VFooter.tsx"],"sourcesContent":["// Styles\nimport './VFooter.sass'\n\n// Composables\nimport { makeBorderProps, useBorder } from '@/composables/border'\nimport { makeElevationProps, useElevation } from '@/composables/elevation'\nimport { makeLayoutItemProps, useLayoutItem } from '@/composables/layout'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { useBackgroundColor } from '@/composables/color'\nimport { useResizeObserver } from '@/composables/resizeObserver'\n\n// Utilities\nimport { computed, ref, toRef } from 'vue'\nimport { genericComponent, useRender } from '@/util'\n\nexport const VFooter = genericComponent()({\n name: 'VFooter',\n\n props: {\n app: Boolean,\n color: String,\n height: {\n type: [Number, String],\n default: 'auto',\n },\n\n ...makeBorderProps(),\n ...makeElevationProps(),\n ...makeLayoutItemProps(),\n ...makeRoundedProps(),\n ...makeTagProps({ tag: 'footer' }),\n ...makeThemeProps(),\n },\n\n setup (props, { slots }) {\n const { themeClasses } = provideTheme(props)\n const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(toRef(props, 'color'))\n const { borderClasses } = useBorder(props)\n const { elevationClasses } = useElevation(props)\n const { roundedClasses } = useRounded(props)\n\n const autoHeight = ref(32)\n const { resizeRef } = useResizeObserver(entries => {\n if (!entries.length) return\n autoHeight.value = entries[0].target.clientHeight\n })\n const height = computed(() => props.height === 'auto' ? autoHeight.value : parseInt(props.height, 10))\n const { layoutItemStyles } = useLayoutItem({\n id: props.name,\n order: computed(() => parseInt(props.order, 10)),\n position: computed(() => 'bottom'),\n layoutSize: height,\n elementSize: computed(() => props.height === 'auto' ? undefined : height.value),\n active: computed(() => props.app),\n absolute: toRef(props, 'absolute'),\n })\n\n useRender(() => (\n <props.tag\n ref={ resizeRef }\n class={[\n 'v-footer',\n themeClasses.value,\n backgroundColorClasses.value,\n borderClasses.value,\n elevationClasses.value,\n roundedClasses.value,\n ]}\n style={[\n backgroundColorStyles.value,\n props.app ? layoutItemStyles.value : undefined,\n ]}\n v-slots={ slots }\n />\n ))\n\n return {}\n },\n})\n\nexport type VFooter = InstanceType<typeof VFooter>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,eAAe,EAAEC,SAAS;AAAA,SAC1BC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,mBAAmB,EAAEC,aAAa;AAAA,SAClCC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,YAAY;AAAA,SACZC,cAAc,EAAEC,YAAY;AAAA,SAC5BC,kBAAkB;AAAA,SAClBC,iBAAiB,gDAE1B;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,KAAK,QAAQ,KAAK;AAAA,SACjCC,gBAAgB,EAAEC,SAAS;AAEpC,OAAO,MAAMC,OAAO,GAAGF,gBAAgB,EAAE,CAAC;EACxCG,IAAI,EAAE,SAAS;EAEfC,KAAK,EAAE;IACLC,GAAG,EAAEC,OAAO;IACZC,KAAK,EAAEC,MAAM;IACbC,MAAM,EAAE;MACNC,IAAI,EAAE,CAACC,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d6B,KAAK,EAAEnC,QAAQ,CAAC,MAAMgC,QAAQ,CAACzB,KAAK,CAAC4B,KAAK,EAAE,EAAE,CAAC,CAAC;MAChDC,QAAQ,EAAEpC,QAAQ,CAAC,MAAM,QAAQ,CAAC;MAClCqC,UAAU,EAAEzB,MAAM;MAClB0B,WAAW,EAAEtC,QAAQ,CAAC,MAAMO,KAAK,CAACK,MAAM,KAAK,MAAM,GAAG2B,SAAS,GAAG3B,MAAM,CAACiB,KAAK,CAAC;MAC/EW,MAAM,EAAExC,QAAQ,CAAC,MAAMO,KAAK,CAACC,GAAG,CAAC;MACjCiC,QAAQ,EAAEvC,KAAK,CAACK,KAAK,EAAE,UAAU;IACnC,CAAC,CAAC;IAEFH,SAAS,CAAC;MAAA,OAEAsB,SAAS;MAAA,SACR,CACL,UAAU,EACVP,YAAY,CAACU,KAAK,EAClBT,sBAAsB,CAACS,KAAK,EAC5BP,aAAa,CAACO,KAAK,EACnBN,gBAAgB,CAACM,KAAK,EACtBL,cAAc,CAACK,KAAK,CACrB;MAAA,SACM,CACLR,qBAAqB,CAACQ,KAAK,EAC3BtB,KAAK,CAACC,GAAG,GAAGyB,gBAAgB,CAACJ,KAAK,GAAGU,SAAS;IAC/C,GACSrB,KAAK,CAElB,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}
@@ -1,70 +1,50 @@
1
1
  import * as vue from 'vue';
2
2
 
3
3
  declare const VFooter: vue.DefineComponent<{
4
- theme: StringConstructor;
5
- tag: Omit<{
6
- type: StringConstructor;
7
- default: string;
8
- }, "type" | "default"> & {
9
- type: vue.PropType<string>;
10
- default: string;
11
- };
12
- rounded: {
13
- type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
14
- default: undefined;
15
- };
16
- name: {
17
- type: StringConstructor;
18
- };
19
- order: {
20
- type: (StringConstructor | NumberConstructor)[];
21
- default: number;
22
- };
23
- absolute: BooleanConstructor;
24
- elevation: {
25
- type: (StringConstructor | NumberConstructor)[];
26
- validator(v: any): boolean;
27
- };
28
- border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
29
- app: BooleanConstructor;
30
- color: StringConstructor;
31
- height: {
32
- type: (StringConstructor | NumberConstructor)[];
33
- default: string;
34
- };
35
- }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
36
- theme: StringConstructor;
37
- tag: Omit<{
38
- type: StringConstructor;
39
- default: string;
40
- }, "type" | "default"> & {
41
- type: vue.PropType<string>;
42
- default: string;
43
- };
44
- rounded: {
45
- type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
46
- default: undefined;
47
- };
48
- name: {
49
- type: StringConstructor;
50
- };
51
- order: {
52
- type: (StringConstructor | NumberConstructor)[];
53
- default: number;
54
- };
55
- absolute: BooleanConstructor;
56
- elevation: {
57
- type: (StringConstructor | NumberConstructor)[];
58
- validator(v: any): boolean;
59
- };
60
- border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
61
- app: BooleanConstructor;
62
- color: StringConstructor;
63
- height: {
64
- type: (StringConstructor | NumberConstructor)[];
65
- default: string;
66
- };
67
- }>>, {
4
+ absolute: boolean;
5
+ height: string | number;
6
+ order: string | number;
7
+ tag: string;
8
+ app: boolean;
9
+ } & {
10
+ name?: string | undefined;
11
+ border?: string | number | boolean | undefined;
12
+ color?: string | undefined;
13
+ elevation?: string | number | undefined;
14
+ theme?: string | undefined;
15
+ rounded?: string | number | boolean | undefined;
16
+ } & {
17
+ $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
18
+ default?: (() => vue.VNodeChild) | undefined;
19
+ };
20
+ 'v-slots'?: {
21
+ default?: false | (() => vue.VNodeChild) | undefined;
22
+ } | undefined;
23
+ } & {
24
+ "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
25
+ }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, {
26
+ absolute: boolean;
27
+ height: string | number;
28
+ order: string | number;
29
+ tag: string;
30
+ app: boolean;
31
+ } & {
32
+ name?: string | undefined;
33
+ border?: string | number | boolean | undefined;
34
+ color?: string | undefined;
35
+ elevation?: string | number | undefined;
36
+ theme?: string | undefined;
37
+ rounded?: string | number | boolean | undefined;
38
+ } & {
39
+ $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
40
+ default?: (() => vue.VNodeChild) | undefined;
41
+ };
42
+ 'v-slots'?: {
43
+ default?: false | (() => vue.VNodeChild) | undefined;
44
+ } | undefined;
45
+ } & {
46
+ "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
47
+ }, {
68
48
  absolute: boolean;
69
49
  height: string | number;
70
50
  order: string | number;
@@ -72,6 +52,6 @@ declare const VFooter: vue.DefineComponent<{
72
52
  rounded: string | number | boolean;
73
53
  app: boolean;
74
54
  }>;
75
- declare type VFooter = InstanceType<typeof VFooter>;
55
+ type VFooter = InstanceType<typeof VFooter>;
76
56
 
77
57
  export { VFooter };
@@ -3,8 +3,8 @@ import { createVNode as _createVNode } from "vue";
3
3
  import { createForm, makeFormProps } from "../../composables/form.mjs";
4
4
  import { forwardRefs } from "../../composables/forwardRefs.mjs"; // Utilities
5
5
  import { ref } from 'vue';
6
- import { defineComponent, useRender } from "../../util/index.mjs"; // Types
7
- export const VForm = defineComponent({
6
+ import { genericComponent, useRender } from "../../util/index.mjs"; // Types
7
+ export const VForm = genericComponent()({
8
8
  name: 'VForm',
9
9
  props: {
10
10
  ...makeFormProps()
@@ -37,23 +37,19 @@ export const VForm = defineComponent({
37
37
  valid
38
38
  } = _ref2;
39
39
  if (valid) {
40
- var _formRef$value;
41
- (_formRef$value = formRef.value) == null ? void 0 : _formRef$value.submit();
40
+ formRef.value?.submit();
42
41
  }
43
42
  });
44
43
  }
45
44
  e.preventDefault();
46
45
  }
47
- useRender(() => {
48
- var _slots$default;
49
- return _createVNode("form", {
50
- "ref": formRef,
51
- "class": "v-form",
52
- "novalidate": true,
53
- "onReset": onReset,
54
- "onSubmit": onSubmit
55
- }, [(_slots$default = slots.default) == null ? void 0 : _slots$default.call(slots, form)]);
56
- });
46
+ useRender(() => _createVNode("form", {
47
+ "ref": formRef,
48
+ "class": "v-form",
49
+ "novalidate": true,
50
+ "onReset": onReset,
51
+ "onSubmit": onSubmit
52
+ }, [slots.default?.(form)]));
57
53
  return forwardRefs(form, formRef);
58
54
  }
59
55
  });
@@ -1 +1 @@
1
- {"version":3,"file":"VForm.mjs","names":["createForm","makeFormProps","forwardRefs","ref","defineComponent","useRender","VForm","name","props","emits","val","submit","e","setup","slots","emit","form","formRef","onReset","preventDefault","reset","onSubmit","_e","ready","validate","then","bind","catch","finally","defaultPrevented","valid","value","default"],"sources":["../../../src/components/VForm/VForm.tsx"],"sourcesContent":["// Composables\nimport { createForm, makeFormProps } from '@/composables/form'\nimport { forwardRefs } from '@/composables/forwardRefs'\n\n// Utilities\nimport { ref } from 'vue'\nimport { defineComponent, useRender } from '@/util'\n\n// Types\nimport type { SubmitEventPromise } from '@/composables/form'\n\nexport const VForm = defineComponent({\n name: 'VForm',\n\n props: {\n ...makeFormProps(),\n },\n\n emits: {\n 'update:modelValue': (val: boolean | null) => true,\n submit: (e: SubmitEventPromise) => true,\n },\n\n setup (props, { slots, emit }) {\n const form = createForm(props)\n const formRef = ref<HTMLFormElement>()\n\n function onReset (e: Event) {\n e.preventDefault()\n form.reset()\n }\n\n function onSubmit (_e: Event) {\n const e = _e as SubmitEventPromise\n\n const ready = form.validate()\n e.then = ready.then.bind(ready)\n e.catch = ready.catch.bind(ready)\n e.finally = ready.finally.bind(ready)\n\n emit('submit', e)\n\n if (!e.defaultPrevented) {\n ready.then(({ valid }) => {\n if (valid) {\n formRef.value?.submit()\n }\n })\n }\n\n e.preventDefault()\n }\n\n useRender(() => ((\n <form\n ref={ formRef }\n class=\"v-form\"\n novalidate\n onReset={ onReset }\n onSubmit={ onSubmit }\n >\n { slots.default?.(form) }\n </form>\n )))\n\n return forwardRefs(form, formRef)\n },\n})\n\nexport type VForm = InstanceType<typeof VForm>\n"],"mappings":";AAAA;AAAA,SACSA,UAAU,EAAEC,aAAa;AAAA,SACzBC,WAAW,6CAEpB;AACA,SAASC,GAAG,QAAQ,KAAK;AAAA,SAChBC,eAAe,EAAEC,SAAS,gCAEnC;AAGA,OAAO,MAAMC,KAAK,GAAGF,eAAe,CAAC;EACnCG,IAAI,EAAE,OAAO;EAEbC,KAAK,EAAE;IACL,GAAGP,aAAa;EAClB,CAAC;EAEDQ,KAAK,EAAE;IACL,mBAAmB,EAAGC,GAAmB,IAAK,IAAI;IAClDC,MAAM,EAAGC,CAAqB,IAAK;EACrC,CAAC;EAEDC,KAAK,CAAEL,KAAK,QAAmB;IAAA,IAAjB;MAAEM,KAAK;MAAEC;IAAK,CAAC;IAC3B,MAAMC,IAAI,GAAGhB,UAAU,CAACQ,KAAK,CAAC;IAC9B,MAAMS,OAAO,GAAGd,GAAG,EAAmB;IAEtC,SAASe,OAAO,CAAEN,CAAQ,EAAE;MAC1BA,CAAC,CAACO,cAAc,EAAE;MAClBH,IAAI,CAACI,KAAK,EAAE;IACd;IAEA,SAASC,QAAQ,CAAEC,EAAS,EAAE;MAC5B,MAAMV,CAAC,GAAGU,EAAwB;MAElC,MAAMC,KAAK,GAAGP,IAAI,CAACQ,QAAQ,EAAE;MAC7BZ,CAAC,CAACa,IAAI,GAAGF,KAAK,CAACE,IAAI,CAACC,IAAI,CAACH,KAAK,CAAC;MAC/BX,CAAC,CAACe,KAAK,GAAGJ,KAAK,CAACI,KAAK,CAACD,IAAI,CAACH,KAAK,CAAC;MACjCX,CAAC,CAACgB,OAAO,GAAGL,KAAK,CAACK,OAAO,CAACF,IAAI,CAACH,KAAK,CAAC;MAErCR,IAAI,CAAC,QAAQ,EAAEH,CAAC,CAAC;MAEjB,IAAI,CAACA,CAAC,CAACiB,gBAAgB,EAAE;QACvBN,KAAK,CAACE,IAAI,CAAC,SAAe;UAAA,IAAd;YAAEK;UAAM,CAAC;UACnB,IAAIA,KAAK,EAAE;YAAA;YACT,kBAAAb,OAAO,CAACc,KAAK,qBAAb,eAAepB,MAAM,EAAE;UACzB;QACF,CAAC,CAAC;MACJ;MAEAC,CAAC,CAACO,cAAc,EAAE;IACpB;IAEAd,SAAS,CAAC;MAAA;MAAA;QAAA,OAEAY,OAAO;QAAA,SACP,QAAQ;QAAA;QAAA,WAEJC,OAAO;QAAA,YACNG;MAAQ,sBAEjBP,KAAK,CAACkB,OAAO,qBAAb,oBAAAlB,KAAK,EAAWE,IAAI,CAAC;IAAA,CAEzB,CAAC;IAEH,OAAOd,WAAW,CAACc,IAAI,EAAEC,OAAO,CAAC;EACnC;AACF,CAAC,CAAC"}
1
+ {"version":3,"file":"VForm.mjs","names":["createForm","makeFormProps","forwardRefs","ref","genericComponent","useRender","VForm","name","props","emits","val","submit","e","setup","slots","emit","form","formRef","onReset","preventDefault","reset","onSubmit","_e","ready","validate","then","bind","catch","finally","defaultPrevented","valid","value","default"],"sources":["../../../src/components/VForm/VForm.tsx"],"sourcesContent":["// Composables\nimport { createForm, makeFormProps } from '@/composables/form'\nimport { forwardRefs } from '@/composables/forwardRefs'\n\n// Utilities\nimport { ref } from 'vue'\nimport { genericComponent, useRender } from '@/util'\n\n// Types\nimport type { SubmitEventPromise } from '@/composables/form'\n\nexport const VForm = genericComponent()({\n name: 'VForm',\n\n props: {\n ...makeFormProps(),\n },\n\n emits: {\n 'update:modelValue': (val: boolean | null) => true,\n submit: (e: SubmitEventPromise) => true,\n },\n\n setup (props, { slots, emit }) {\n const form = createForm(props)\n const formRef = ref<HTMLFormElement>()\n\n function onReset (e: Event) {\n e.preventDefault()\n form.reset()\n }\n\n function onSubmit (_e: Event) {\n const e = _e as SubmitEventPromise\n\n const ready = form.validate()\n e.then = ready.then.bind(ready)\n e.catch = ready.catch.bind(ready)\n e.finally = ready.finally.bind(ready)\n\n emit('submit', e)\n\n if (!e.defaultPrevented) {\n ready.then(({ valid }) => {\n if (valid) {\n formRef.value?.submit()\n }\n })\n }\n\n e.preventDefault()\n }\n\n useRender(() => ((\n <form\n ref={ formRef }\n class=\"v-form\"\n novalidate\n onReset={ onReset }\n onSubmit={ onSubmit }\n >\n { slots.default?.(form) }\n </form>\n )))\n\n return forwardRefs(form, formRef)\n },\n})\n\nexport type VForm = InstanceType<typeof VForm>\n"],"mappings":";AAAA;AAAA,SACSA,UAAU,EAAEC,aAAa;AAAA,SACzBC,WAAW,6CAEpB;AACA,SAASC,GAAG,QAAQ,KAAK;AAAA,SAChBC,gBAAgB,EAAEC,SAAS,gCAEpC;AAGA,OAAO,MAAMC,KAAK,GAAGF,gBAAgB,EAAE,CAAC;EACtCG,IAAI,EAAE,OAAO;EAEbC,KAAK,EAAE;IACL,GAAGP,aAAa;EAClB,CAAC;EAEDQ,KAAK,EAAE;IACL,mBAAmB,EAAGC,GAAmB,IAAK,IAAI;IAClDC,MAAM,EAAGC,CAAqB,IAAK;EACrC,CAAC;EAEDC,KAAK,CAAEL,KAAK,QAAmB;IAAA,IAAjB;MAAEM,KAAK;MAAEC;IAAK,CAAC;IAC3B,MAAMC,IAAI,GAAGhB,UAAU,CAACQ,KAAK,CAAC;IAC9B,MAAMS,OAAO,GAAGd,GAAG,EAAmB;IAEtC,SAASe,OAAO,CAAEN,CAAQ,EAAE;MAC1BA,CAAC,CAACO,cAAc,EAAE;MAClBH,IAAI,CAACI,KAAK,EAAE;IACd;IAEA,SAASC,QAAQ,CAAEC,EAAS,EAAE;MAC5B,MAAMV,CAAC,GAAGU,EAAwB;MAElC,MAAMC,KAAK,GAAGP,IAAI,CAACQ,QAAQ,EAAE;MAC7BZ,CAAC,CAACa,IAAI,GAAGF,KAAK,CAACE,IAAI,CAACC,IAAI,CAACH,KAAK,CAAC;MAC/BX,CAAC,CAACe,KAAK,GAAGJ,KAAK,CAACI,KAAK,CAACD,IAAI,CAACH,KAAK,CAAC;MACjCX,CAAC,CAACgB,OAAO,GAAGL,KAAK,CAACK,OAAO,CAACF,IAAI,CAACH,KAAK,CAAC;MAErCR,IAAI,CAAC,QAAQ,EAAEH,CAAC,CAAC;MAEjB,IAAI,CAACA,CAAC,CAACiB,gBAAgB,EAAE;QACvBN,KAAK,CAACE,IAAI,CAAC,SAAe;UAAA,IAAd;YAAEK;UAAM,CAAC;UACnB,IAAIA,KAAK,EAAE;YACTb,OAAO,CAACc,KAAK,EAAEpB,MAAM,EAAE;UACzB;QACF,CAAC,CAAC;MACJ;MAEAC,CAAC,CAACO,cAAc,EAAE;IACpB;IAEAd,SAAS,CAAC;MAAA,OAEAY,OAAO;MAAA,SACP,QAAQ;MAAA;MAAA,WAEJC,OAAO;MAAA,YACNG;IAAQ,IAEjBP,KAAK,CAACkB,OAAO,GAAGhB,IAAI,CAAC,EAEzB,CAAC;IAEH,OAAOd,WAAW,CAACc,IAAI,EAAEC,OAAO,CAAC;EACnC;AACF,CAAC,CAAC"}
@@ -12,17 +12,20 @@ interface SubmitEventPromise extends SubmitEvent, Promise<FormValidationResult>
12
12
  }
13
13
 
14
14
  declare const VForm: vue.DefineComponent<{
15
- disabled: BooleanConstructor;
16
- fastFail: BooleanConstructor;
17
- readonly: BooleanConstructor;
18
- modelValue: {
19
- type: vue.PropType<boolean | null>;
20
- default: null;
21
- };
22
- validateOn: {
23
- type: vue.PropType<"input" | "blur" | "submit" | undefined>;
24
- default: string;
15
+ disabled: boolean;
16
+ readonly: boolean;
17
+ modelValue: boolean | null;
18
+ validateOn: "input" | "blur" | "submit" | undefined;
19
+ fastFail: boolean;
20
+ } & {} & {
21
+ $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
22
+ default?: (() => vue.VNodeChild) | undefined;
25
23
  };
24
+ 'v-slots'?: {
25
+ default?: false | (() => vue.VNodeChild) | undefined;
26
+ } | undefined;
27
+ } & {
28
+ "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
26
29
  }, {
27
30
  errors: vue.Ref<{
28
31
  id: string | number;
@@ -51,19 +54,22 @@ declare const VForm: vue.DefineComponent<{
51
54
  }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
52
55
  'update:modelValue': (val: boolean | null) => true;
53
56
  submit: (e: SubmitEventPromise) => true;
54
- }, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
55
- disabled: BooleanConstructor;
56
- fastFail: BooleanConstructor;
57
- readonly: BooleanConstructor;
58
- modelValue: {
59
- type: vue.PropType<boolean | null>;
60
- default: null;
61
- };
62
- validateOn: {
63
- type: vue.PropType<"input" | "blur" | "submit" | undefined>;
64
- default: string;
57
+ }, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, {
58
+ disabled: boolean;
59
+ readonly: boolean;
60
+ modelValue: boolean | null;
61
+ validateOn: "input" | "blur" | "submit" | undefined;
62
+ fastFail: boolean;
63
+ } & {} & {
64
+ $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
65
+ default?: (() => vue.VNodeChild) | undefined;
65
66
  };
66
- }>> & {
67
+ 'v-slots'?: {
68
+ default?: false | (() => vue.VNodeChild) | undefined;
69
+ } | undefined;
70
+ } & {
71
+ "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
72
+ } & {
67
73
  onSubmit?: ((e: SubmitEventPromise) => any) | undefined;
68
74
  "onUpdate:modelValue"?: ((val: boolean | null) => any) | undefined;
69
75
  }, {
@@ -73,6 +79,6 @@ declare const VForm: vue.DefineComponent<{
73
79
  validateOn: "input" | "blur" | "submit" | undefined;
74
80
  fastFail: boolean;
75
81
  }>;
76
- declare type VForm = InstanceType<typeof VForm>;
82
+ type VForm = InstanceType<typeof VForm>;
77
83
 
78
84
  export { VForm };
@@ -4,7 +4,7 @@ import "./VGrid.css";
4
4
  // Composables
5
5
  import { makeTagProps } from "../../composables/tag.mjs"; // Utilities
6
6
  import { capitalize, computed, h } from 'vue';
7
- import { defineComponent } from "../../util/index.mjs"; // Types
7
+ import { genericComponent } from "../../util/index.mjs"; // Types
8
8
  const breakpoints = ['sm', 'md', 'lg', 'xl', 'xxl']; // no xs
9
9
 
10
10
  const breakpointProps = (() => {
@@ -63,7 +63,7 @@ function breakpointClass(type, prop, val) {
63
63
  return className.toLowerCase();
64
64
  }
65
65
  const ALIGN_SELF_VALUES = ['auto', 'start', 'end', 'center', 'baseline', 'stretch'];
66
- export const VCol = defineComponent({
66
+ export const VCol = genericComponent()({
67
67
  name: 'VCol',
68
68
  props: {
69
69
  cols: {
@@ -115,12 +115,9 @@ export const VCol = defineComponent({
115
115
  });
116
116
  return classList;
117
117
  });
118
- return () => {
119
- var _slots$default;
120
- return h(props.tag, {
121
- class: classes.value
122
- }, (_slots$default = slots.default) == null ? void 0 : _slots$default.call(slots));
123
- };
118
+ return () => h(props.tag, {
119
+ class: classes.value
120
+ }, slots.default?.());
124
121
  }
125
122
  });
126
123
  //# sourceMappingURL=VCol.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"VCol.mjs","names":["makeTagProps","capitalize","computed","h","defineComponent","breakpoints","breakpointProps","reduce","props","val","type","Boolean","String","Number","default","offsetProps","orderProps","propMap","col","Object","keys","offset","order","breakpointClass","prop","className","undefined","breakpoint","replace","toLowerCase","ALIGN_SELF_VALUES","VCol","name","cols","alignSelf","validator","str","includes","setup","slots","classes","classList","forEach","value","push","hasColClasses","some","startsWith","tag","class"],"sources":["../../../src/components/VGrid/VCol.ts"],"sourcesContent":["// Styles\nimport './VGrid.sass'\n\n// Composables\nimport { makeTagProps } from '@/composables/tag'\n\n// Utilities\nimport { capitalize, computed, h } from 'vue'\nimport { defineComponent } from '@/util'\n\n// Types\nimport type { Prop, PropType } from 'vue'\n\nconst breakpoints = ['sm', 'md', 'lg', 'xl', 'xxl'] as const // no xs\n\nconst breakpointProps = (() => {\n return breakpoints.reduce((props, val) => {\n props[val] = {\n type: [Boolean, String, Number],\n default: false,\n }\n return props\n }, {} as Record<string, Prop<boolean | string | number, false>>)\n})()\n\nconst offsetProps = (() => {\n return breakpoints.reduce((props, val) => {\n props['offset' + capitalize(val)] = {\n type: [String, Number],\n default: null,\n }\n return props\n }, {} as Record<string, Prop<string | number, null>>)\n})()\n\nconst orderProps = (() => {\n return breakpoints.reduce((props, val) => {\n props['order' + capitalize(val)] = {\n type: [String, Number],\n default: null,\n }\n return props\n }, {} as Record<string, Prop<string | number, null>>)\n})()\n\nconst propMap = {\n col: Object.keys(breakpointProps),\n offset: Object.keys(offsetProps),\n order: Object.keys(orderProps),\n}\n\nfunction breakpointClass (type: keyof typeof propMap, prop: string, val: boolean | string | number) {\n let className: string = type\n if (val == null || val === false) {\n return undefined\n }\n if (prop) {\n const breakpoint = prop.replace(type, '')\n className += `-${breakpoint}`\n }\n if (type === 'col') {\n className = 'v-' + className\n }\n // Handling the boolean style prop when accepting [Boolean, String, Number]\n // means Vue will not convert <v-col sm></v-col> to sm: true for us.\n // Since the default is false, an empty string indicates the prop's presence.\n if (type === 'col' && (val === '' || val === true)) {\n // .v-col-md\n return className.toLowerCase()\n }\n // .order-md-6\n className += `-${val}`\n return className.toLowerCase()\n}\n\nconst ALIGN_SELF_VALUES = ['auto', 'start', 'end', 'center', 'baseline', 'stretch'] as const\n\nexport const VCol = defineComponent({\n name: 'VCol',\n\n props: {\n cols: {\n type: [Boolean, String, Number],\n default: false,\n },\n ...breakpointProps,\n offset: {\n type: [String, Number],\n default: null,\n },\n ...offsetProps,\n order: {\n type: [String, Number],\n default: null,\n },\n ...orderProps,\n alignSelf: {\n type: String as PropType<typeof ALIGN_SELF_VALUES[number]>,\n default: null,\n validator: (str: any) => ALIGN_SELF_VALUES.includes(str),\n },\n\n ...makeTagProps(),\n },\n\n setup (props, { slots }) {\n const classes = computed(() => {\n const classList: any[] = []\n\n // Loop through `col`, `offset`, `order` breakpoint props\n let type: keyof typeof propMap\n for (type in propMap) {\n propMap[type].forEach(prop => {\n const value: string | number | boolean = (props as any)[prop]\n const className = breakpointClass(type, prop, value)\n if (className) classList!.push(className)\n })\n }\n\n const hasColClasses = classList.some(className => className.startsWith('v-col-'))\n\n classList.push({\n // Default to .v-col if no other col-{bp}-* classes generated nor `cols` specified.\n 'v-col': !hasColClasses || !props.cols,\n [`v-col-${props.cols}`]: props.cols,\n [`offset-${props.offset}`]: props.offset,\n [`order-${props.order}`]: props.order,\n [`align-self-${props.alignSelf}`]: props.alignSelf,\n })\n\n return classList\n })\n\n return () => h(props.tag, {\n class: classes.value,\n }, slots.default?.())\n },\n})\n\nexport type VCol = InstanceType<typeof VCol>\n"],"mappings":"AAAA;AACA;;AAEA;AAAA,SACSA,YAAY,qCAErB;AACA,SAASC,UAAU,EAAEC,QAAQ,EAAEC,CAAC,QAAQ,KAAK;AAAA,SACpCC,eAAe,gCAExB;AAGA,MAAMC,WAAW,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAU,EAAC;;AAE7D,MAAMC,eAAe,GAAG,CAAC,MAAM;EAC7B,OAAOD,WAAW,CAACE,MAAM,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAK;IACxCD,KAAK,CAACC,GAAG,CAAC,GAAG;MACXC,IAAI,EAAE,CAACC,OAAO,EAAEC,MAAM,EAAEC,MAAM,CAAC;MAC/BC,OAAO,EAAE;IACX,CAAC;IACD,OAAON,KAAK;EACd,CAAC,EAAE,CAAC,CAAC,CAA2D;AAClE,CAAC,GAAG;AAEJ,MAAMO,WAAW,GAAG,CAAC,MAAM;EACzB,OAAOV,WAAW,CAACE,MAAM,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAK;IACxCD,KAAK,CAAC,QAAQ,GAAGP,UAAU,CAACQ,GAAG,CAAC,CAAC,GAAG;MAClCC,IAAI,EAAE,CAACE,MAAM,EAAEC,MAAM,CAAC;MACtBC,OAAO,EAAE;IACX,CAAC;IACD,OAAON,KAAK;EACd,CAAC,EAAE,CAAC,CAAC,CAAgD;AACvD,CAAC,GAAG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AAMoB,aAAa,GAAGJ,SAAS,CAACK,IAAI,CAACrB,SAAS,IAAIA,SAAS,CAACsB,UAAU,CAAC,QAAQ,CAAC,CAAC;MAEjFN,SAAS,CAACG,IAAI,CAAC;QACb;QACA,OAAO,EAAE,CAACC,aAAa,IAAI,CAACrC,KAAK,CAACyB,IAAI;QACtC,CAAE,SAAQzB,KAAK,CAACyB,IAAK,EAAC,GAAGzB,KAAK,CAACyB,IAAI;QACnC,CAAE,UAASzB,KAAK,CAACa,MAAO,EAAC,GAAGb,KAAK,CAACa,MAAM;QACxC,CAAE,SAAQb,KAAK,CAACc,KAAM,EAAC,GAAGd,KAAK,CAACc,KAAK;QACrC,CAAE,cAAad,KAAK,CAAC0B,SAAU,EAAC,GAAG1B,KAAK,CAAC0B;MAC3C,CAAC,CAAC;MAEF,OAAOO,SAAS;IAClB,CAAC,CAAC;IAEF,OAAO;MAAA;MAAA,OAAMtC,CAAC,CAACK,KAAK,CAACwC,GAAG,EAAE;QACxBC,KAAK,EAAET,OAAO,CAACG;MACjB,CAAC,oBAAEJ,KAAK,CAACzB,OAAO,qBAAb,oBAAAyB,KAAK,CAAY,CAAC;IAAA;EACvB;AACF,CAAC,CAAC"}
1
+ {"version":3,"file":"VCol.mjs","names":["makeTagProps","capitalize","computed","h","genericComponent","breakpoints","breakpointProps","reduce","props","val","type","Boolean","String","Number","default","offsetProps","orderProps","propMap","col","Object","keys","offset","order","breakpointClass","prop","className","undefined","breakpoint","replace","toLowerCase","ALIGN_SELF_VALUES","VCol","name","cols","alignSelf","validator","str","includes","setup","slots","classes","classList","forEach","value","push","hasColClasses","some","startsWith","tag","class"],"sources":["../../../src/components/VGrid/VCol.ts"],"sourcesContent":["// Styles\nimport './VGrid.sass'\n\n// Composables\nimport { makeTagProps } from '@/composables/tag'\n\n// Utilities\nimport { capitalize, computed, h } from 'vue'\nimport { genericComponent } from '@/util'\n\n// Types\nimport type { Prop, PropType } from 'vue'\n\nconst breakpoints = ['sm', 'md', 'lg', 'xl', 'xxl'] as const // no xs\n\nconst breakpointProps = (() => {\n return breakpoints.reduce((props, val) => {\n props[val] = {\n type: [Boolean, String, Number],\n default: false,\n }\n return props\n }, {} as Record<string, Prop<boolean | string | number, false>>)\n})()\n\nconst offsetProps = (() => {\n return breakpoints.reduce((props, val) => {\n props['offset' + capitalize(val)] = {\n type: [String, Number],\n default: null,\n }\n return props\n }, {} as Record<string, Prop<string | number, null>>)\n})()\n\nconst orderProps = (() => {\n return breakpoints.reduce((props, val) => {\n props['order' + capitalize(val)] = {\n type: [String, Number],\n default: null,\n }\n return props\n }, {} as Record<string, Prop<string | number, null>>)\n})()\n\nconst propMap = {\n col: Object.keys(breakpointProps),\n offset: Object.keys(offsetProps),\n order: Object.keys(orderProps),\n}\n\nfunction breakpointClass (type: keyof typeof propMap, prop: string, val: boolean | string | number) {\n let className: string = type\n if (val == null || val === false) {\n return undefined\n }\n if (prop) {\n const breakpoint = prop.replace(type, '')\n className += `-${breakpoint}`\n }\n if (type === 'col') {\n className = 'v-' + className\n }\n // Handling the boolean style prop when accepting [Boolean, String, Number]\n // means Vue will not convert <v-col sm></v-col> to sm: true for us.\n // Since the default is false, an empty string indicates the prop's presence.\n if (type === 'col' && (val === '' || val === true)) {\n // .v-col-md\n return className.toLowerCase()\n }\n // .order-md-6\n className += `-${val}`\n return className.toLowerCase()\n}\n\nconst ALIGN_SELF_VALUES = ['auto', 'start', 'end', 'center', 'baseline', 'stretch'] as const\n\nexport const VCol = genericComponent()({\n name: 'VCol',\n\n props: {\n cols: {\n type: [Boolean, String, Number],\n default: false,\n },\n ...breakpointProps,\n offset: {\n type: [String, Number],\n default: null,\n },\n ...offsetProps,\n order: {\n type: [String, Number],\n default: null,\n },\n ...orderProps,\n alignSelf: {\n type: String as PropType<typeof ALIGN_SELF_VALUES[number]>,\n default: null,\n validator: (str: any) => ALIGN_SELF_VALUES.includes(str),\n },\n\n ...makeTagProps(),\n },\n\n setup (props, { slots }) {\n const classes = computed(() => {\n const classList: any[] = []\n\n // Loop through `col`, `offset`, `order` breakpoint props\n let type: keyof typeof propMap\n for (type in propMap) {\n propMap[type].forEach(prop => {\n const value: string | number | boolean = (props as any)[prop]\n const className = breakpointClass(type, prop, value)\n if (className) classList!.push(className)\n })\n }\n\n const hasColClasses = classList.some(className => className.startsWith('v-col-'))\n\n classList.push({\n // Default to .v-col if no other col-{bp}-* classes generated nor `cols` specified.\n 'v-col': !hasColClasses || !props.cols,\n [`v-col-${props.cols}`]: props.cols,\n [`offset-${props.offset}`]: props.offset,\n [`order-${props.order}`]: props.order,\n [`align-self-${props.alignSelf}`]: props.alignSelf,\n })\n\n return classList\n })\n\n return () => h(props.tag, {\n class: classes.value,\n }, slots.default?.())\n },\n})\n\nexport type VCol = InstanceType<typeof VCol>\n"],"mappings":"AAAA;AACA;;AAEA;AAAA,SACSA,YAAY,qCAErB;AACA,SAASC,UAAU,EAAEC,QAAQ,EAAEC,CAAC,QAAQ,KAAK;AAAA,SACpCC,gBAAgB,gCAEzB;AAGA,MAAMC,WAAW,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAU,EAAC;;AAE7D,MAAMC,eAAe,GAAG,CAAC,MAAM;EAC7B,OAAOD,WAAW,CAACE,MAAM,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAK;IACxCD,KAAK,CAACC,GAAG,CAAC,GAAG;MACXC,IAAI,EAAE,CAACC,OAAO,EAAEC,MAAM,EAAEC,MAAM,CAAC;MAC/BC,OAAO,EAAE;IACX,CAAC;IACD,OAAON,KAAK;EACd,CAAC,EAAE,CAAC,CAAC,CAA2D;AAClE,CAAC,GAAG;AAEJ,MAAMO,WAAW,GAAG,CAAC,MAAM;EACzB,OAAOV,WAAW,CAACE,MAAM,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAK;IACxCD,KAAK,CAAC,QAAQ,GAAGP,UAAU,CAACQ,GAAG,CAAC,CAAC,GAAG;MAClCC,IAAI,EAAE,CAACE,M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AAEc,IAAI,EAAEmB,KAAK,CAAC;UACpD,IAAIlB,SAAS,EAAEgB,SAAS,CAAEG,IAAI,CAACnB,SAAS,CAAC;QAC3C,CAAC,CAAC;MACJ;MAEA,MAAMoB,aAAa,GAAGJ,SAAS,CAACK,IAAI,CAACrB,SAAS,IAAIA,SAAS,CAACsB,UAAU,CAAC,QAAQ,CAAC,CAAC;MAEjFN,SAAS,CAACG,IAAI,CAAC;QACb;QACA,OAAO,EAAE,CAACC,aAAa,IAAI,CAACrC,KAAK,CAACyB,IAAI;QACtC,CAAE,SAAQzB,KAAK,CAACyB,IAAK,EAAC,GAAGzB,KAAK,CAACyB,IAAI;QACnC,CAAE,UAASzB,KAAK,CAACa,MAAO,EAAC,GAAGb,KAAK,CAACa,MAAM;QACxC,CAAE,SAAQb,KAAK,CAACc,KAAM,EAAC,GAAGd,KAAK,CAACc,KAAK;QACrC,CAAE,cAAad,KAAK,CAAC0B,SAAU,EAAC,GAAG1B,KAAK,CAAC0B;MAC3C,CAAC,CAAC;MAEF,OAAOO,SAAS;IAClB,CAAC,CAAC;IAEF,OAAO,MAAMtC,CAAC,CAACK,KAAK,CAACwC,GAAG,EAAE;MACxBC,KAAK,EAAET,OAAO,CAACG;IACjB,CAAC,EAAEJ,KAAK,CAACzB,OAAO,IAAI,CAAC;EACvB;AACF,CAAC,CAAC"}
@@ -4,8 +4,8 @@ import "./VGrid.css";
4
4
 
5
5
  // Composables
6
6
  import { makeTagProps } from "../../composables/tag.mjs"; // Utilities
7
- import { defineComponent, useRender } from "../../util/index.mjs";
8
- export const VContainer = defineComponent({
7
+ import { genericComponent, useRender } from "../../util/index.mjs";
8
+ export const VContainer = genericComponent()({
9
9
  name: 'VContainer',
10
10
  props: {
11
11
  fluid: {
@@ -1 +1 @@
1
- {"version":3,"file":"VContainer.mjs","names":["makeTagProps","defineComponent","useRender","VContainer","name","props","fluid","type","Boolean","default","setup","slots"],"sources":["../../../src/components/VGrid/VContainer.tsx"],"sourcesContent":["// Styles\nimport './VGrid.sass'\n\n// Composables\nimport { makeTagProps } from '@/composables/tag'\n\n// Utilities\nimport { defineComponent, useRender } from '@/util'\n\nexport const VContainer = defineComponent({\n name: 'VContainer',\n\n props: {\n fluid: {\n type: Boolean,\n default: false,\n },\n\n ...makeTagProps(),\n },\n\n setup (props, { slots }) {\n useRender(() => (\n <props.tag\n class={[\n 'v-container',\n { 'v-container--fluid': props.fluid },\n ]}\n v-slots={ slots }\n />\n ))\n\n return {}\n },\n})\n\nexport type VContainer = InstanceType<typeof VContainer>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,YAAY,qCAErB;AAAA,SACSC,eAAe,EAAEC,SAAS;AAEnC,OAAO,MAAMC,UAAU,GAAGF,eAAe,CAAC;EACxCG,IAAI,EAAE,YAAY;EAElBC,KAAK,EAAE;IACLC,KAAK,EAAE;MACLC,IAAI,EAAEC,OAAO;MACbC,OAAO,EAAE;IACX,CAAC;IAED,GAAGT,YAAY;EACjB,CAAC;EAEDU,KAAK,CAAEL,KAAK,QAAa;IAAA,IAAX;MAAEM;IAAM,CAAC;IACrBT,SAAS,CAAC;MAAA,SAEC,CACL,aAAa,EACb;QAAE,oBAAoB,EAAEG,KAAK,CAACC;MAAM,CAAC;IACtC,GACSK,KAAK,CAElB,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}
1
+ {"version":3,"file":"VContainer.mjs","names":["makeTagProps","genericComponent","useRender","VContainer","name","props","fluid","type","Boolean","default","setup","slots"],"sources":["../../../src/components/VGrid/VContainer.tsx"],"sourcesContent":["// Styles\nimport './VGrid.sass'\n\n// Composables\nimport { makeTagProps } from '@/composables/tag'\n\n// Utilities\nimport { genericComponent, useRender } from '@/util'\n\nexport const VContainer = genericComponent()({\n name: 'VContainer',\n\n props: {\n fluid: {\n type: Boolean,\n default: false,\n },\n\n ...makeTagProps(),\n },\n\n setup (props, { slots }) {\n useRender(() => (\n <props.tag\n class={[\n 'v-container',\n { 'v-container--fluid': props.fluid },\n ]}\n v-slots={ slots }\n />\n ))\n\n return {}\n },\n})\n\nexport type VContainer = InstanceType<typeof VContainer>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,YAAY,qCAErB;AAAA,SACSC,gBAAgB,EAAEC,SAAS;AAEpC,OAAO,MAAMC,UAAU,GAAGF,gBAAgB,EAAE,CAAC;EAC3CG,IAAI,EAAE,YAAY;EAElBC,KAAK,EAAE;IACLC,KAAK,EAAE;MACLC,IAAI,EAAEC,OAAO;MACbC,OAAO,EAAE;IACX,CAAC;IAED,GAAGT,YAAY;EACjB,CAAC;EAEDU,KAAK,CAAEL,KAAK,QAAa;IAAA,IAAX;MAAEM;IAAM,CAAC;IACrBT,SAAS,CAAC;MAAA,SAEC,CACL,aAAa,EACb;QAAE,oBAAoB,EAAEG,KAAK,CAACC;MAAM,CAAC;IACtC,GACSK,KAAK,CAElB,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}