@vuetify/nightly 4.0.0-dev-20230511.0 → 4.0.0-dev-20230512.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 (398) hide show
  1. package/CHANGELOG.md +6 -14
  2. package/dist/json/attributes.json +564 -256
  3. package/dist/json/importMap-labs.json +4 -4
  4. package/dist/json/tags.json +80 -2
  5. package/dist/json/web-types.json +2399 -606
  6. package/dist/vuetify-labs.css +45 -42
  7. package/dist/vuetify-labs.d.ts +26350 -24518
  8. package/dist/vuetify-labs.esm.js +2485 -2382
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +2485 -2382
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +11 -8
  13. package/dist/vuetify.d.ts +23046 -23682
  14. package/dist/vuetify.esm.js +1865 -1748
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +1865 -1748
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +658 -658
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/blueprints/index.d.mts +1 -3
  22. package/lib/blueprints/md1.d.mts +1 -3
  23. package/lib/blueprints/md2.d.mts +1 -3
  24. package/lib/blueprints/md3.d.mts +1 -3
  25. package/lib/components/VAlert/VAlert.mjs +48 -48
  26. package/lib/components/VAlert/VAlert.mjs.map +1 -1
  27. package/lib/components/VAlert/index.d.mts +228 -71
  28. package/lib/components/VApp/VApp.mjs +9 -8
  29. package/lib/components/VApp/VApp.mjs.map +1 -1
  30. package/lib/components/VApp/index.d.mts +65 -19
  31. package/lib/components/VAppBar/VAppBar.mjs +23 -22
  32. package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
  33. package/lib/components/VAppBar/VAppBarNavIcon.mjs +9 -7
  34. package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
  35. package/lib/components/VAppBar/VAppBarTitle.mjs +1 -2
  36. package/lib/components/VAppBar/VAppBarTitle.mjs.map +1 -1
  37. package/lib/components/VAppBar/index.d.mts +314 -123
  38. package/lib/components/VAutocomplete/VAutocomplete.css +0 -4
  39. package/lib/components/VAutocomplete/VAutocomplete.mjs +36 -39
  40. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  41. package/lib/components/VAutocomplete/VAutocomplete.sass +0 -5
  42. package/lib/components/VAutocomplete/index.d.mts +1264 -2467
  43. package/lib/components/VAvatar/index.d.mts +70 -30
  44. package/lib/components/VBadge/VBadge.mjs +33 -32
  45. package/lib/components/VBadge/VBadge.mjs.map +1 -1
  46. package/lib/components/VBadge/index.d.mts +86 -42
  47. package/lib/components/VBanner/VBanner.mjs +21 -20
  48. package/lib/components/VBanner/VBanner.mjs.map +1 -1
  49. package/lib/components/VBanner/VBannerActions.mjs +7 -6
  50. package/lib/components/VBanner/VBannerActions.mjs.map +1 -1
  51. package/lib/components/VBanner/index.d.mts +227 -65
  52. package/lib/components/VBottomNavigation/VBottomNavigation.mjs +35 -34
  53. package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
  54. package/lib/components/VBottomNavigation/index.d.mts +78 -45
  55. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +24 -23
  56. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
  57. package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs +6 -5
  58. package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs.map +1 -1
  59. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +15 -14
  60. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
  61. package/lib/components/VBreadcrumbs/index.d.mts +311 -208
  62. package/lib/components/VBtn/index.d.mts +112 -53
  63. package/lib/components/VBtnGroup/index.d.mts +69 -27
  64. package/lib/components/VBtnToggle/VBtnToggle.mjs +6 -5
  65. package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
  66. package/lib/components/VBtnToggle/index.d.mts +73 -35
  67. package/lib/components/VCard/VCard.mjs +38 -37
  68. package/lib/components/VCard/VCard.mjs.map +1 -1
  69. package/lib/components/VCard/VCardItem.mjs +12 -11
  70. package/lib/components/VCard/VCardItem.mjs.map +1 -1
  71. package/lib/components/VCard/index.d.mts +764 -368
  72. package/lib/components/VCarousel/VCarousel.mjs +28 -27
  73. package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
  74. package/lib/components/VCarousel/VCarouselItem.mjs +18 -16
  75. package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
  76. package/lib/components/VCarousel/index.d.mts +600 -103
  77. package/lib/components/VCheckbox/VCheckbox.mjs +6 -5
  78. package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
  79. package/lib/components/VCheckbox/index.d.mts +304 -125
  80. package/lib/components/VChip/VChip.css +7 -0
  81. package/lib/components/VChip/VChip.mjs +60 -57
  82. package/lib/components/VChip/VChip.mjs.map +1 -1
  83. package/lib/components/VChip/VChip.sass +9 -0
  84. package/lib/components/VChip/index.d.mts +318 -90
  85. package/lib/components/VChipGroup/VChipGroup.mjs +19 -18
  86. package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
  87. package/lib/components/VChipGroup/index.d.mts +204 -53
  88. package/lib/components/VCode/index.d.mts +63 -17
  89. package/lib/components/VColorPicker/VColorPicker.mjs +44 -39
  90. package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
  91. package/lib/components/VColorPicker/VColorPickerCanvas.mjs +26 -25
  92. package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
  93. package/lib/components/VColorPicker/VColorPickerEdit.mjs +17 -16
  94. package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
  95. package/lib/components/VColorPicker/VColorPickerPreview.mjs +10 -9
  96. package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
  97. package/lib/components/VColorPicker/VColorPickerSwatches.mjs +12 -11
  98. package/lib/components/VColorPicker/VColorPickerSwatches.mjs.map +1 -1
  99. package/lib/components/VColorPicker/index.d.mts +74 -85
  100. package/lib/components/VColorPicker/util/index.mjs +2 -2
  101. package/lib/components/VColorPicker/util/index.mjs.map +1 -1
  102. package/lib/components/VCombobox/VCombobox.mjs +39 -42
  103. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  104. package/lib/components/VCombobox/index.d.mts +1264 -2488
  105. package/lib/components/VCounter/VCounter.mjs +16 -15
  106. package/lib/components/VCounter/VCounter.mjs.map +1 -1
  107. package/lib/components/VCounter/index.d.mts +113 -1817
  108. package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +9 -8
  109. package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs.map +1 -1
  110. package/lib/components/VDefaultsProvider/index.d.mts +67 -20
  111. package/lib/components/VDialog/VDialog.mjs +18 -17
  112. package/lib/components/VDialog/VDialog.mjs.map +1 -1
  113. package/lib/components/VDialog/index.d.mts +551 -1401
  114. package/lib/components/VDivider/VDivider.mjs +11 -10
  115. package/lib/components/VDivider/VDivider.mjs.map +1 -1
  116. package/lib/components/VDivider/index.d.mts +66 -21
  117. package/lib/components/VExpansionPanel/VExpansionPanel.mjs +15 -15
  118. package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
  119. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +6 -5
  120. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -1
  121. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +3 -5
  122. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
  123. package/lib/components/VExpansionPanel/VExpansionPanels.mjs +15 -14
  124. package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
  125. package/lib/components/VExpansionPanel/index.d.mts +317 -125
  126. package/lib/components/VField/VField.mjs +7 -2
  127. package/lib/components/VField/VField.mjs.map +1 -1
  128. package/lib/components/VField/VFieldLabel.mjs +6 -5
  129. package/lib/components/VField/VFieldLabel.mjs.map +1 -1
  130. package/lib/components/VField/index.d.mts +310 -230
  131. package/lib/components/VFileInput/VFileInput.mjs +35 -34
  132. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  133. package/lib/components/VFileInput/index.d.mts +760 -320
  134. package/lib/components/VFooter/VFooter.mjs +21 -20
  135. package/lib/components/VFooter/VFooter.mjs.map +1 -1
  136. package/lib/components/VFooter/index.d.mts +70 -29
  137. package/lib/components/VForm/VForm.mjs +6 -5
  138. package/lib/components/VForm/VForm.mjs.map +1 -1
  139. package/lib/components/VForm/index.d.mts +568 -52
  140. package/lib/components/VGrid/VCol.mjs +26 -25
  141. package/lib/components/VGrid/VCol.mjs.map +1 -1
  142. package/lib/components/VGrid/VContainer.mjs +16 -11
  143. package/lib/components/VGrid/VContainer.mjs.map +1 -1
  144. package/lib/components/VGrid/VRow.mjs +26 -25
  145. package/lib/components/VGrid/VRow.mjs.map +1 -1
  146. package/lib/components/VGrid/index.d.mts +274 -100
  147. package/lib/components/VHover/VHover.mjs +10 -9
  148. package/lib/components/VHover/VHover.mjs.map +1 -1
  149. package/lib/components/VHover/index.d.mts +93 -37
  150. package/lib/components/VIcon/VIcon.mjs +28 -29
  151. package/lib/components/VIcon/VIcon.mjs.map +1 -1
  152. package/lib/components/VIcon/index.d.mts +292 -81
  153. package/lib/components/VImg/VImg.mjs +34 -33
  154. package/lib/components/VImg/VImg.mjs.map +1 -1
  155. package/lib/components/VImg/index.d.mts +118 -53
  156. package/lib/components/VInput/VInput.mjs +1 -1
  157. package/lib/components/VInput/VInput.mjs.map +1 -1
  158. package/lib/components/VInput/index.d.mts +137 -50
  159. package/lib/components/VItemGroup/VItem.mjs +1 -1
  160. package/lib/components/VItemGroup/VItem.mjs.map +1 -1
  161. package/lib/components/VItemGroup/VItemGroup.mjs +10 -9
  162. package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
  163. package/lib/components/VItemGroup/index.d.mts +414 -111
  164. package/lib/components/VKbd/index.d.mts +63 -17
  165. package/lib/components/VLabel/VLabel.mjs +8 -7
  166. package/lib/components/VLabel/VLabel.mjs.map +1 -1
  167. package/lib/components/VLabel/index.d.mts +64 -18
  168. package/lib/components/VLayout/VLayout.mjs +6 -5
  169. package/lib/components/VLayout/VLayout.mjs.map +1 -1
  170. package/lib/components/VLayout/VLayoutItem.mjs +15 -14
  171. package/lib/components/VLayout/VLayoutItem.mjs.map +1 -1
  172. package/lib/components/VLayout/index.d.mts +131 -42
  173. package/lib/components/VLazy/VLazy.mjs +21 -20
  174. package/lib/components/VLazy/VLazy.mjs.map +1 -1
  175. package/lib/components/VLazy/index.d.mts +67 -27
  176. package/lib/components/VList/VList.mjs +37 -36
  177. package/lib/components/VList/VList.mjs.map +1 -1
  178. package/lib/components/VList/VListChildren.mjs +9 -12
  179. package/lib/components/VList/VListChildren.mjs.map +1 -1
  180. package/lib/components/VList/VListGroup.mjs +2 -4
  181. package/lib/components/VList/VListGroup.mjs.map +1 -1
  182. package/lib/components/VList/VListItem.mjs +44 -43
  183. package/lib/components/VList/VListItem.mjs.map +1 -1
  184. package/lib/components/VList/VListItemAction.mjs +8 -7
  185. package/lib/components/VList/VListItemAction.mjs.map +1 -1
  186. package/lib/components/VList/VListItemMedia.mjs +8 -7
  187. package/lib/components/VList/VListItemMedia.mjs.map +1 -1
  188. package/lib/components/VList/VListSubheader.mjs +10 -9
  189. package/lib/components/VList/VListSubheader.mjs.map +1 -1
  190. package/lib/components/VList/index.d.mts +1069 -617
  191. package/lib/components/VList/list.mjs +4 -4
  192. package/lib/components/VList/list.mjs.map +1 -1
  193. package/lib/components/VLocaleProvider/VLocaleProvider.mjs +12 -11
  194. package/lib/components/VLocaleProvider/VLocaleProvider.mjs.map +1 -1
  195. package/lib/components/VLocaleProvider/index.d.mts +65 -19
  196. package/lib/components/VMain/VMain.mjs +9 -8
  197. package/lib/components/VMain/VMain.mjs.map +1 -1
  198. package/lib/components/VMain/index.d.mts +64 -19
  199. package/lib/components/VMenu/VMenu.mjs +21 -20
  200. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  201. package/lib/components/VMenu/index.d.mts +479 -1327
  202. package/lib/components/VMessages/VMessages.mjs +18 -17
  203. package/lib/components/VMessages/VMessages.mjs.map +1 -1
  204. package/lib/components/VMessages/index.d.mts +88 -1799
  205. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +50 -49
  206. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
  207. package/lib/components/VNavigationDrawer/index.d.mts +115 -60
  208. package/lib/components/VNavigationDrawer/sticky.mjs +14 -7
  209. package/lib/components/VNavigationDrawer/sticky.mjs.map +1 -1
  210. package/lib/components/VNavigationDrawer/touch.mjs +4 -4
  211. package/lib/components/VNavigationDrawer/touch.mjs.map +1 -1
  212. package/lib/components/VOverlay/index.d.mts +120 -75
  213. package/lib/components/VOverlay/locationStrategies.mjs +5 -3
  214. package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
  215. package/lib/components/VPagination/VPagination.mjs +84 -83
  216. package/lib/components/VPagination/VPagination.mjs.map +1 -1
  217. package/lib/components/VPagination/index.d.mts +203 -130
  218. package/lib/components/VParallax/VParallax.mjs +9 -8
  219. package/lib/components/VParallax/VParallax.mjs.map +1 -1
  220. package/lib/components/VParallax/index.d.mts +91 -18
  221. package/lib/components/VProgressCircular/VProgressCircular.mjs +25 -24
  222. package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
  223. package/lib/components/VProgressCircular/index.d.mts +125 -45
  224. package/lib/components/VProgressLinear/VProgressLinear.mjs +44 -42
  225. package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
  226. package/lib/components/VProgressLinear/index.d.mts +97 -57
  227. package/lib/components/VRadio/VRadio.mjs +8 -7
  228. package/lib/components/VRadio/VRadio.mjs.map +1 -1
  229. package/lib/components/VRadio/index.d.mts +121 -51
  230. package/lib/components/VRadioGroup/VRadioGroup.mjs +22 -21
  231. package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
  232. package/lib/components/VRadioGroup/index.d.mts +189 -76
  233. package/lib/components/VRangeSlider/VRangeSlider.mjs +18 -13
  234. package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
  235. package/lib/components/VRangeSlider/index.d.mts +192 -80
  236. package/lib/components/VRating/VRating.mjs +49 -45
  237. package/lib/components/VRating/VRating.mjs.map +1 -1
  238. package/lib/components/VRating/index.d.mts +94 -54
  239. package/lib/components/VResponsive/index.d.mts +73 -18
  240. package/lib/components/VSelect/VSelect.mjs +22 -21
  241. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  242. package/lib/components/VSelect/index.d.mts +1192 -3713
  243. package/lib/components/VSelectionControl/VSelectionControl.mjs +3 -3
  244. package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
  245. package/lib/components/VSelectionControl/index.d.mts +212 -194
  246. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +10 -10
  247. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
  248. package/lib/components/VSelectionControlGroup/index.d.mts +100 -63
  249. package/lib/components/VSheet/VSheet.mjs +1 -3
  250. package/lib/components/VSheet/VSheet.mjs.map +1 -1
  251. package/lib/components/VSheet/index.d.mts +66 -21
  252. package/lib/components/VSlideGroup/VSlideGroup.mjs +7 -7
  253. package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
  254. package/lib/components/VSlideGroup/VSlideGroupItem.mjs +1 -3
  255. package/lib/components/VSlideGroup/VSlideGroupItem.mjs.map +1 -1
  256. package/lib/components/VSlideGroup/index.d.mts +181 -64
  257. package/lib/components/VSlider/VSlider.mjs +18 -13
  258. package/lib/components/VSlider/VSlider.mjs.map +1 -1
  259. package/lib/components/VSlider/VSliderThumb.mjs +26 -25
  260. package/lib/components/VSlider/VSliderThumb.mjs.map +1 -1
  261. package/lib/components/VSlider/VSliderTrack.mjs +13 -12
  262. package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
  263. package/lib/components/VSlider/index.d.mts +194 -81
  264. package/lib/components/VSlider/slider.mjs +3 -3
  265. package/lib/components/VSlider/slider.mjs.map +1 -1
  266. package/lib/components/VSnackbar/VSnackbar.mjs +20 -19
  267. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  268. package/lib/components/VSnackbar/index.d.mts +444 -297
  269. package/lib/components/VSwitch/VSwitch.css +3 -3
  270. package/lib/components/VSwitch/VSwitch.mjs +13 -12
  271. package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
  272. package/lib/components/VSwitch/VSwitch.sass +4 -3
  273. package/lib/components/VSwitch/index.d.mts +206 -86
  274. package/lib/components/VSystemBar/VSystemBar.mjs +15 -14
  275. package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
  276. package/lib/components/VSystemBar/index.d.mts +69 -27
  277. package/lib/components/VTable/VTable.mjs +12 -11
  278. package/lib/components/VTable/VTable.mjs.map +1 -1
  279. package/lib/components/VTable/index.d.mts +95 -26
  280. package/lib/components/VTabs/VTab.mjs +19 -19
  281. package/lib/components/VTabs/VTab.mjs.map +1 -1
  282. package/lib/components/VTabs/VTabs.mjs +28 -27
  283. package/lib/components/VTabs/VTabs.mjs.map +1 -1
  284. package/lib/components/VTabs/index.d.mts +175 -115
  285. package/lib/components/VTextField/VTextField.mjs +1 -1
  286. package/lib/components/VTextField/VTextField.mjs.map +1 -1
  287. package/lib/components/VTextField/index.d.mts +1254 -770
  288. package/lib/components/VTextarea/VTextarea.mjs +32 -28
  289. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  290. package/lib/components/VTextarea/index.d.mts +683 -313
  291. package/lib/components/VThemeProvider/VThemeProvider.mjs +8 -7
  292. package/lib/components/VThemeProvider/VThemeProvider.mjs.map +1 -1
  293. package/lib/components/VThemeProvider/index.d.mts +65 -20
  294. package/lib/components/VTimeline/VTimeline.mjs +46 -41
  295. package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
  296. package/lib/components/VTimeline/VTimelineDivider.mjs +14 -13
  297. package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -1
  298. package/lib/components/VTimeline/VTimelineItem.mjs +23 -22
  299. package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
  300. package/lib/components/VTimeline/index.d.mts +163 -62
  301. package/lib/components/VToolbar/VToolbar.mjs +8 -4
  302. package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
  303. package/lib/components/VToolbar/VToolbarItems.mjs +8 -7
  304. package/lib/components/VToolbar/VToolbarItems.mjs.map +1 -1
  305. package/lib/components/VToolbar/index.d.mts +265 -82
  306. package/lib/components/VTooltip/VTooltip.mjs +20 -19
  307. package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
  308. package/lib/components/VTooltip/index.d.mts +442 -297
  309. package/lib/components/VValidation/VValidation.mjs +1 -3
  310. package/lib/components/VValidation/VValidation.mjs.map +1 -1
  311. package/lib/components/VValidation/index.d.mts +358 -50
  312. package/lib/components/VVirtualScroll/VVirtualScroll.mjs +14 -13
  313. package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
  314. package/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +6 -5
  315. package/lib/components/VVirtualScroll/VVirtualScrollItem.mjs.map +1 -1
  316. package/lib/components/VVirtualScroll/index.d.mts +110 -82
  317. package/lib/components/VWindow/VWindow.mjs +3 -3
  318. package/lib/components/VWindow/VWindow.mjs.map +1 -1
  319. package/lib/components/VWindow/VWindowItem.mjs +18 -17
  320. package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
  321. package/lib/components/VWindow/index.d.mts +204 -75
  322. package/lib/components/index.d.mts +23230 -23871
  323. package/lib/components/transitions/createTransition.mjs +16 -15
  324. package/lib/components/transitions/createTransition.mjs.map +1 -1
  325. package/lib/components/transitions/dialog-transition.mjs +5 -4
  326. package/lib/components/transitions/dialog-transition.mjs.map +1 -1
  327. package/lib/components/transitions/index.d.mts +1207 -472
  328. package/lib/composables/display.mjs +3 -3
  329. package/lib/composables/display.mjs.map +1 -1
  330. package/lib/composables/form.mjs +4 -4
  331. package/lib/composables/form.mjs.map +1 -1
  332. package/lib/composables/forwardRefs.mjs.map +1 -1
  333. package/lib/composables/group.mjs +13 -13
  334. package/lib/composables/group.mjs.map +1 -1
  335. package/lib/composables/hydration.mjs +6 -6
  336. package/lib/composables/hydration.mjs.map +1 -1
  337. package/lib/composables/icons.mjs +2 -2
  338. package/lib/composables/icons.mjs.map +1 -1
  339. package/lib/composables/intersectionObserver.mjs +2 -2
  340. package/lib/composables/intersectionObserver.mjs.map +1 -1
  341. package/lib/composables/layout.mjs +3 -3
  342. package/lib/composables/layout.mjs.map +1 -1
  343. package/lib/composables/lazy.mjs +2 -2
  344. package/lib/composables/lazy.mjs.map +1 -1
  345. package/lib/composables/nested/nested.mjs +5 -4
  346. package/lib/composables/nested/nested.mjs.map +1 -1
  347. package/lib/composables/scroll.mjs +6 -6
  348. package/lib/composables/scroll.mjs.map +1 -1
  349. package/lib/composables/ssrBoot.mjs +2 -2
  350. package/lib/composables/ssrBoot.mjs.map +1 -1
  351. package/lib/composables/stack.mjs +5 -4
  352. package/lib/composables/stack.mjs.map +1 -1
  353. package/lib/composables/theme.mjs +3 -3
  354. package/lib/composables/theme.mjs.map +1 -1
  355. package/lib/composables/transition.mjs +5 -2
  356. package/lib/composables/transition.mjs.map +1 -1
  357. package/lib/composables/validation.mjs +3 -3
  358. package/lib/composables/validation.mjs.map +1 -1
  359. package/lib/directives/click-outside/index.mjs +1 -1
  360. package/lib/directives/click-outside/index.mjs.map +1 -1
  361. package/lib/entry-bundler.mjs +1 -1
  362. package/lib/framework.mjs +1 -1
  363. package/lib/index.d.mts +10 -5
  364. package/lib/labs/VDataTable/VDataTable.mjs +54 -66
  365. package/lib/labs/VDataTable/VDataTable.mjs.map +1 -1
  366. package/lib/labs/VDataTable/VDataTableFooter.mjs +64 -63
  367. package/lib/labs/VDataTable/VDataTableFooter.mjs.map +1 -1
  368. package/lib/labs/VDataTable/VDataTableGroupHeaderRow.mjs +8 -7
  369. package/lib/labs/VDataTable/VDataTableGroupHeaderRow.mjs.map +1 -1
  370. package/lib/labs/VDataTable/VDataTableHeaders.mjs +17 -16
  371. package/lib/labs/VDataTable/VDataTableHeaders.mjs.map +1 -1
  372. package/lib/labs/VDataTable/VDataTableRow.mjs +7 -6
  373. package/lib/labs/VDataTable/VDataTableRow.mjs.map +1 -1
  374. package/lib/labs/VDataTable/VDataTableRows.mjs +20 -19
  375. package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
  376. package/lib/labs/VDataTable/VDataTableServer.mjs +54 -59
  377. package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
  378. package/lib/labs/VDataTable/VDataTableVirtual.mjs +72 -80
  379. package/lib/labs/VDataTable/VDataTableVirtual.mjs.map +1 -1
  380. package/lib/labs/VDataTable/composables/virtual.mjs +3 -3
  381. package/lib/labs/VDataTable/composables/virtual.mjs.map +1 -1
  382. package/lib/labs/VDataTable/index.d.mts +2974 -631
  383. package/lib/labs/VInfiniteScroll/VInfiniteScroll.mjs +54 -48
  384. package/lib/labs/VInfiniteScroll/VInfiniteScroll.mjs.map +1 -1
  385. package/lib/labs/VInfiniteScroll/index.d.mts +143 -52
  386. package/lib/labs/VSkeletonLoader/VSkeletonLoader.mjs +18 -17
  387. package/lib/labs/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
  388. package/lib/labs/VSkeletonLoader/index.d.mts +77 -31
  389. package/lib/labs/components.d.mts +3188 -708
  390. package/lib/labs/date/date.mjs +7 -7
  391. package/lib/labs/date/date.mjs.map +1 -1
  392. package/lib/labs/date/index.d.mts +1 -3
  393. package/lib/locale/adapters/vuetify.mjs +8 -5
  394. package/lib/locale/adapters/vuetify.mjs.map +1 -1
  395. package/lib/util/defineComponent.mjs.map +1 -1
  396. package/lib/util/propsFactory.mjs +2 -0
  397. package/lib/util/propsFactory.mjs.map +1 -1
  398. package/package.json +3 -3
@@ -1,6 +1,8 @@
1
1
  import * as vue from 'vue';
2
2
  import { ComponentPropsOptions, ExtractPropTypes, JSXComponent, PropType } from 'vue';
3
3
 
4
+ type Density = null | 'default' | 'comfortable' | 'compact';
5
+
4
6
  declare const block: readonly ["top", "bottom"];
5
7
  declare const inline: readonly ["start", "end", "left", "right"];
6
8
  type Tblock = typeof block[number];
@@ -11,8 +13,6 @@ interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions
11
13
  filterProps<T extends Partial<Props>, U extends Exclude<keyof Props, Exclude<keyof Props, keyof T>>>(props: T): [yes: Partial<Pick<T, U>>, no: Omit<T, U>];
12
14
  }
13
15
 
14
- type Density = null | 'default' | 'comfortable' | 'compact';
15
-
16
16
  type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
17
17
  declare const IconValue: PropType<IconValue>;
18
18
 
@@ -20,20 +20,14 @@ declare const VBanner: {
20
20
  new (...args: any[]): {
21
21
  $: vue.ComponentInternalInstance;
22
22
  $data: {};
23
- $props: Partial<{
24
- style: vue.StyleValue;
25
- tag: string;
26
- sticky: boolean;
27
- rounded: string | number | boolean;
28
- density: Density;
29
- stacked: boolean;
30
- }> & Omit<{
31
- style: vue.StyleValue;
32
- tag: string;
33
- sticky: boolean;
34
- density: Density;
35
- stacked: boolean;
36
- } & {
23
+ $props: {
24
+ style?: vue.StyleValue | undefined;
25
+ tag?: string | undefined;
26
+ sticky?: boolean | undefined;
27
+ rounded?: string | number | boolean | undefined;
28
+ density?: Density | undefined;
29
+ stacked?: boolean | undefined;
30
+ key?: string | number | symbol | undefined;
37
31
  location?: Anchor | undefined;
38
32
  height?: string | number | undefined;
39
33
  width?: string | number | undefined;
@@ -47,30 +41,68 @@ declare const VBanner: {
47
41
  text?: string | undefined;
48
42
  class?: any;
49
43
  icon?: IconValue | undefined;
50
- elevation?: string | number | undefined;
51
- theme?: string | undefined;
52
- rounded?: string | number | boolean | undefined;
53
- lines?: "one" | "two" | "three" | undefined;
54
- avatar?: string | undefined;
55
- } & {
56
44
  $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
57
45
  default?: (() => vue.VNodeChild) | undefined;
58
46
  prepend?: (() => vue.VNodeChild) | undefined;
59
47
  text?: (() => vue.VNodeChild) | undefined;
60
48
  actions?: (() => vue.VNodeChild) | undefined;
61
49
  };
50
+ elevation?: string | number | undefined;
51
+ ref?: vue.VNodeRef | undefined;
52
+ ref_for?: boolean | undefined;
53
+ ref_key?: string | undefined;
54
+ theme?: string | undefined;
55
+ "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
62
56
  'v-slots'?: {
63
57
  default?: false | (() => vue.VNodeChild) | undefined;
64
58
  prepend?: false | (() => vue.VNodeChild) | undefined;
65
59
  text?: false | (() => vue.VNodeChild) | undefined;
66
60
  actions?: false | (() => vue.VNodeChild) | undefined;
67
61
  } | undefined;
68
- } & {
69
- "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
70
- "v-slot:prepend"?: false | (() => vue.VNodeChild) | undefined;
62
+ onVnodeBeforeMount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
63
+ [key: string]: any;
64
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
65
+ [key: string]: any;
66
+ }>) => void)[] | undefined;
67
+ onVnodeMounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
68
+ [key: string]: any;
69
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
70
+ [key: string]: any;
71
+ }>) => void)[] | undefined;
72
+ onVnodeBeforeUpdate?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
73
+ [key: string]: any;
74
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
75
+ [key: string]: any;
76
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
77
+ [key: string]: any;
78
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
79
+ [key: string]: any;
80
+ }>) => void)[] | undefined;
81
+ onVnodeUpdated?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
82
+ [key: string]: any;
83
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
84
+ [key: string]: any;
85
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
86
+ [key: string]: any;
87
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
88
+ [key: string]: any;
89
+ }>) => void)[] | undefined;
90
+ onVnodeBeforeUnmount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
91
+ [key: string]: any;
92
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
93
+ [key: string]: any;
94
+ }>) => void)[] | undefined;
95
+ onVnodeUnmounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
96
+ [key: string]: any;
97
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
98
+ [key: string]: any;
99
+ }>) => void)[] | undefined;
71
100
  "v-slot:text"?: false | (() => vue.VNodeChild) | undefined;
101
+ "v-slot:prepend"?: false | (() => vue.VNodeChild) | undefined;
102
+ lines?: "one" | "two" | "three" | undefined;
103
+ avatar?: string | undefined;
72
104
  "v-slot:actions"?: false | (() => vue.VNodeChild) | undefined;
73
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "style" | "tag" | "sticky" | "rounded" | "density" | "stacked">;
105
+ };
74
106
  $attrs: {
75
107
  [x: string]: unknown;
76
108
  };
@@ -78,10 +110,21 @@ declare const VBanner: {
78
110
  [x: string]: unknown;
79
111
  };
80
112
  $slots: Readonly<{
81
- [name: string]: vue.Slot | undefined;
113
+ default?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
114
+ [key: string]: any;
115
+ }>[]) | undefined;
116
+ prepend?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
117
+ [key: string]: any;
118
+ }>[]) | undefined;
119
+ text?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
120
+ [key: string]: any;
121
+ }>[]) | undefined;
122
+ actions?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
123
+ [key: string]: any;
124
+ }>[]) | undefined;
82
125
  }>;
83
- $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
84
- $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
126
+ $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
127
+ $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
85
128
  $emit: (event: string, ...args: any[]) => void;
86
129
  $el: any;
87
130
  $options: vue.ComponentOptionsBase<{
@@ -134,7 +177,20 @@ declare const VBanner: {
134
177
  rounded: string | number | boolean;
135
178
  density: Density;
136
179
  stacked: boolean;
137
- }, {}, string> & {
180
+ }, {}, string, vue.SlotsType<Partial<{
181
+ default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
182
+ [key: string]: any;
183
+ }>[];
184
+ prepend: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
185
+ [key: string]: any;
186
+ }>[];
187
+ text: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
188
+ [key: string]: any;
189
+ }>[];
190
+ actions: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
191
+ [key: string]: any;
192
+ }>[];
193
+ }>>> & {
138
194
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
139
195
  created?: ((() => void) | (() => void)[]) | undefined;
140
196
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -149,7 +205,7 @@ declare const VBanner: {
149
205
  unmounted?: ((() => void) | (() => void)[]) | undefined;
150
206
  renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
151
207
  renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
152
- errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
208
+ errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
153
209
  };
154
210
  $forceUpdate: () => void;
155
211
  $nextTick: typeof vue.nextTick;
@@ -251,7 +307,20 @@ declare const VBanner: {
251
307
  rounded: string | number | boolean;
252
308
  density: Density;
253
309
  stacked: boolean;
254
- }, {}, string> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
310
+ }, {}, string, vue.SlotsType<Partial<{
311
+ default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
312
+ [key: string]: any;
313
+ }>[];
314
+ prepend: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
315
+ [key: string]: any;
316
+ }>[];
317
+ text: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
318
+ [key: string]: any;
319
+ }>[];
320
+ actions: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
321
+ [key: string]: any;
322
+ }>[];
323
+ }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
255
324
  theme: StringConstructor;
256
325
  tag: {
257
326
  type: StringConstructor;
@@ -344,24 +413,61 @@ declare const VBannerActions: {
344
413
  new (...args: any[]): {
345
414
  $: vue.ComponentInternalInstance;
346
415
  $data: {};
347
- $props: Partial<{
348
- style: vue.StyleValue;
349
- }> & Omit<{
350
- style: vue.StyleValue;
351
- } & {
416
+ $props: {
417
+ style?: vue.StyleValue | undefined;
418
+ key?: string | number | symbol | undefined;
352
419
  color?: string | undefined;
353
420
  class?: any;
354
- density?: string | undefined;
355
- } & {
356
421
  $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
357
422
  default?: (() => vue.VNodeChild) | undefined;
358
423
  };
424
+ ref?: vue.VNodeRef | undefined;
425
+ ref_for?: boolean | undefined;
426
+ ref_key?: string | undefined;
427
+ "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
359
428
  'v-slots'?: {
360
429
  default?: false | (() => vue.VNodeChild) | undefined;
361
430
  } | undefined;
362
- } & {
363
- "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
364
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "style">;
431
+ onVnodeBeforeMount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
432
+ [key: string]: any;
433
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
434
+ [key: string]: any;
435
+ }>) => void)[] | undefined;
436
+ onVnodeMounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
437
+ [key: string]: any;
438
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
439
+ [key: string]: any;
440
+ }>) => void)[] | undefined;
441
+ onVnodeBeforeUpdate?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
442
+ [key: string]: any;
443
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
444
+ [key: string]: any;
445
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
446
+ [key: string]: any;
447
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
448
+ [key: string]: any;
449
+ }>) => void)[] | undefined;
450
+ onVnodeUpdated?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
451
+ [key: string]: any;
452
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
453
+ [key: string]: any;
454
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
455
+ [key: string]: any;
456
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
457
+ [key: string]: any;
458
+ }>) => void)[] | undefined;
459
+ onVnodeBeforeUnmount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
460
+ [key: string]: any;
461
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
462
+ [key: string]: any;
463
+ }>) => void)[] | undefined;
464
+ onVnodeUnmounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
465
+ [key: string]: any;
466
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
467
+ [key: string]: any;
468
+ }>) => void)[] | undefined;
469
+ density?: string | undefined;
470
+ };
365
471
  $attrs: {
366
472
  [x: string]: unknown;
367
473
  };
@@ -369,10 +475,12 @@ declare const VBannerActions: {
369
475
  [x: string]: unknown;
370
476
  };
371
477
  $slots: Readonly<{
372
- [name: string]: vue.Slot | undefined;
478
+ default?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
479
+ [key: string]: any;
480
+ }>[]) | undefined;
373
481
  }>;
374
- $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
375
- $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
482
+ $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
483
+ $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
376
484
  $emit: (event: string, ...args: any[]) => void;
377
485
  $el: any;
378
486
  $options: vue.ComponentOptionsBase<{
@@ -392,7 +500,11 @@ declare const VBannerActions: {
392
500
  "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
393
501
  }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
394
502
  style: vue.StyleValue;
395
- }, {}, string> & {
503
+ }, {}, string, vue.SlotsType<Partial<{
504
+ default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
505
+ [key: string]: any;
506
+ }>[];
507
+ }>>> & {
396
508
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
397
509
  created?: ((() => void) | (() => void)[]) | undefined;
398
510
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -407,7 +519,7 @@ declare const VBannerActions: {
407
519
  unmounted?: ((() => void) | (() => void)[]) | undefined;
408
520
  renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
409
521
  renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
410
- errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
522
+ errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
411
523
  };
412
524
  $forceUpdate: () => void;
413
525
  $nextTick: typeof vue.nextTick;
@@ -448,7 +560,11 @@ declare const VBannerActions: {
448
560
  "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
449
561
  }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
450
562
  style: vue.StyleValue;
451
- }, {}, string> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
563
+ }, {}, string, vue.SlotsType<Partial<{
564
+ default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
565
+ [key: string]: any;
566
+ }>[];
567
+ }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
452
568
  class: vue.PropType<any>;
453
569
  style: {
454
570
  type: vue.PropType<vue.StyleValue>;
@@ -471,24 +587,60 @@ declare const VBannerText: {
471
587
  new (...args: any[]): {
472
588
  $: vue.ComponentInternalInstance;
473
589
  $data: {};
474
- $props: Partial<{
475
- style: vue.StyleValue;
476
- tag: string;
477
- }> & Omit<{
478
- style: vue.StyleValue;
479
- tag: string;
480
- } & {
590
+ $props: {
591
+ style?: vue.StyleValue | undefined;
592
+ tag?: string | undefined;
593
+ key?: string | number | symbol | undefined;
481
594
  class?: any;
482
- } & {
483
595
  $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
484
596
  default?: (() => vue.VNodeChild) | undefined;
485
597
  };
598
+ ref?: vue.VNodeRef | undefined;
599
+ ref_for?: boolean | undefined;
600
+ ref_key?: string | undefined;
601
+ "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
486
602
  'v-slots'?: {
487
603
  default?: false | (() => vue.VNodeChild) | undefined;
488
604
  } | undefined;
489
- } & {
490
- "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
491
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "style" | "tag">;
605
+ onVnodeBeforeMount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
606
+ [key: string]: any;
607
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
608
+ [key: string]: any;
609
+ }>) => void)[] | undefined;
610
+ onVnodeMounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
611
+ [key: string]: any;
612
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
613
+ [key: string]: any;
614
+ }>) => void)[] | undefined;
615
+ onVnodeBeforeUpdate?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
616
+ [key: string]: any;
617
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
618
+ [key: string]: any;
619
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
620
+ [key: string]: any;
621
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
622
+ [key: string]: any;
623
+ }>) => void)[] | undefined;
624
+ onVnodeUpdated?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
625
+ [key: string]: any;
626
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
627
+ [key: string]: any;
628
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
629
+ [key: string]: any;
630
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
631
+ [key: string]: any;
632
+ }>) => void)[] | undefined;
633
+ onVnodeBeforeUnmount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
634
+ [key: string]: any;
635
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
636
+ [key: string]: any;
637
+ }>) => void)[] | undefined;
638
+ onVnodeUnmounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
639
+ [key: string]: any;
640
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
641
+ [key: string]: any;
642
+ }>) => void)[] | undefined;
643
+ };
492
644
  $attrs: {
493
645
  [x: string]: unknown;
494
646
  };
@@ -496,10 +648,12 @@ declare const VBannerText: {
496
648
  [x: string]: unknown;
497
649
  };
498
650
  $slots: Readonly<{
499
- [name: string]: vue.Slot | undefined;
651
+ default?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
652
+ [key: string]: any;
653
+ }>[]) | undefined;
500
654
  }>;
501
- $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
502
- $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
655
+ $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
656
+ $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
503
657
  $emit: (event: string, ...args: any[]) => void;
504
658
  $el: any;
505
659
  $options: vue.ComponentOptionsBase<{
@@ -521,7 +675,11 @@ declare const VBannerText: {
521
675
  }>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
522
676
  style: vue.StyleValue;
523
677
  tag: string;
524
- }, {}, string> & {
678
+ }, {}, string, vue.SlotsType<Partial<{
679
+ default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
680
+ [key: string]: any;
681
+ }>[];
682
+ }>>> & {
525
683
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
526
684
  created?: ((() => void) | (() => void)[]) | undefined;
527
685
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -536,7 +694,7 @@ declare const VBannerText: {
536
694
  unmounted?: ((() => void) | (() => void)[]) | undefined;
537
695
  renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
538
696
  renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
539
- errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
697
+ errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
540
698
  };
541
699
  $forceUpdate: () => void;
542
700
  $nextTick: typeof vue.nextTick;
@@ -580,7 +738,11 @@ declare const VBannerText: {
580
738
  }>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
581
739
  style: vue.StyleValue;
582
740
  tag: string;
583
- }, {}, string> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
741
+ }, {}, string, vue.SlotsType<Partial<{
742
+ default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
743
+ [key: string]: any;
744
+ }>[];
745
+ }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
584
746
  class: vue.PropType<any>;
585
747
  style: {
586
748
  type: vue.PropType<vue.StyleValue>;
@@ -16,43 +16,44 @@ import { provideDefaults } from "../../composables/defaults.mjs";
16
16
  import { useBackgroundColor } from "../../composables/color.mjs";
17
17
  import { useSsrBoot } from "../../composables/ssrBoot.mjs"; // Utilities
18
18
  import { computed, toRef } from 'vue';
19
- import { convertToUnit, genericComponent, useRender } from "../../util/index.mjs"; // Types
19
+ import { convertToUnit, genericComponent, propsFactory, useRender } from "../../util/index.mjs"; // Types
20
20
  import { VBtnToggleSymbol } from "../VBtnToggle/VBtnToggle.mjs";
21
+ export const makeVBottomNavigationProps = propsFactory({
22
+ bgColor: String,
23
+ color: String,
24
+ grow: Boolean,
25
+ mode: {
26
+ type: String,
27
+ validator: v => !v || ['horizontal', 'shift'].includes(v)
28
+ },
29
+ height: {
30
+ type: [Number, String],
31
+ default: 56
32
+ },
33
+ active: {
34
+ type: Boolean,
35
+ default: true
36
+ },
37
+ ...makeBorderProps(),
38
+ ...makeComponentProps(),
39
+ ...makeDensityProps(),
40
+ ...makeElevationProps(),
41
+ ...makeRoundedProps(),
42
+ ...makeLayoutItemProps({
43
+ name: 'bottom-navigation'
44
+ }),
45
+ ...makeTagProps({
46
+ tag: 'header'
47
+ }),
48
+ ...makeGroupProps({
49
+ modelValue: true,
50
+ selectedClass: 'v-btn--selected'
51
+ }),
52
+ ...makeThemeProps()
53
+ }, 'v-bottom-navigation');
21
54
  export const VBottomNavigation = genericComponent()({
22
55
  name: 'VBottomNavigation',
23
- props: {
24
- bgColor: String,
25
- color: String,
26
- grow: Boolean,
27
- mode: {
28
- type: String,
29
- validator: v => !v || ['horizontal', 'shift'].includes(v)
30
- },
31
- height: {
32
- type: [Number, String],
33
- default: 56
34
- },
35
- active: {
36
- type: Boolean,
37
- default: true
38
- },
39
- ...makeBorderProps(),
40
- ...makeComponentProps(),
41
- ...makeDensityProps(),
42
- ...makeElevationProps(),
43
- ...makeRoundedProps(),
44
- ...makeLayoutItemProps({
45
- name: 'bottom-navigation'
46
- }),
47
- ...makeTagProps({
48
- tag: 'header'
49
- }),
50
- ...makeGroupProps({
51
- modelValue: true,
52
- selectedClass: 'v-btn--selected'
53
- }),
54
- ...makeThemeProps()
55
- },
56
+ props: makeVBottomNavigationProps(),
56
57
  emits: {
57
58
  'update:modelValue': value => true
58
59
  },
@@ -1 +1 @@
1
- {"version":3,"file":"VBottomNavigation.mjs","names":["makeBorderProps","useBorder","makeComponentProps","makeDensityProps","useDensity","makeElevationProps","useElevation","makeGroupProps","useGroup","makeLayoutItemProps","useLayoutItem","makeRoundedProps","useRounded","makeTagProps","makeThemeProps","useTheme","provideDefaults","useBackgroundColor","useSsrBoot","computed","toRef","convertToUnit","genericComponent","useRender","VBtnToggleSymbol","VBottomNavigation","name","props","bgColor","String","color","grow","Boolean","mode","type","validator","v","includes","height","Number","default","active","tag","modelValue","selectedClass","emits","value","setup","_ref","slots","themeClasses","borderClasses","backgroundColorClasses","backgroundColorStyles","densityClasses","elevationClasses","roundedClasses","ssrBootStyles","density","isActive","layoutItemStyles","id","order","parseInt","position","layoutSize","elementSize","absolute","VBtn","stacked","variant","scoped","_createVNode","class","transform","style"],"sources":["../../../src/components/VBottomNavigation/VBottomNavigation.tsx"],"sourcesContent":["// Styles\nimport './VBottomNavigation.sass'\n\n// Composables\nimport { makeBorderProps, useBorder } from '@/composables/border'\nimport { makeComponentProps } from '@/composables/component'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { makeElevationProps, useElevation } from '@/composables/elevation'\nimport { makeGroupProps, useGroup } from '@/composables/group'\nimport { makeLayoutItemProps, useLayoutItem } from '@/composables/layout'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, useTheme } from '@/composables/theme'\nimport { provideDefaults } from '@/composables/defaults'\nimport { useBackgroundColor } from '@/composables/color'\nimport { useSsrBoot } from '@/composables/ssrBoot'\n\n// Utilities\nimport { computed, toRef } from 'vue'\nimport { convertToUnit, genericComponent, useRender } from '@/util'\n\n// Types\nimport { VBtnToggleSymbol } from '@/components/VBtnToggle/VBtnToggle'\n\nexport const VBottomNavigation = genericComponent()({\n name: 'VBottomNavigation',\n\n props: {\n bgColor: String,\n color: String,\n grow: Boolean,\n mode: {\n type: String,\n validator: (v: any) => !v || ['horizontal', 'shift'].includes(v),\n },\n height: {\n type: [Number, String],\n default: 56,\n },\n active: {\n type: Boolean,\n default: true,\n },\n\n ...makeBorderProps(),\n ...makeComponentProps(),\n ...makeDensityProps(),\n ...makeElevationProps(),\n ...makeRoundedProps(),\n ...makeLayoutItemProps({ name: 'bottom-navigation' }),\n ...makeTagProps({ tag: 'header' }),\n ...makeGroupProps({\n modelValue: true,\n selectedClass: 'v-btn--selected',\n }),\n ...makeThemeProps(),\n },\n\n emits: {\n 'update:modelValue': (value: any) => true,\n },\n\n setup (props, { slots }) {\n const { themeClasses } = useTheme()\n const { borderClasses } = useBorder(props)\n const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(toRef(props, 'bgColor'))\n const { densityClasses } = useDensity(props)\n const { elevationClasses } = useElevation(props)\n const { roundedClasses } = useRounded(props)\n const { ssrBootStyles } = useSsrBoot()\n const height = computed(() => (\n Number(props.height) -\n (props.density === 'comfortable' ? 8 : 0) -\n (props.density === 'compact' ? 16 : 0)\n ))\n const isActive = toRef(props, 'active')\n const { layoutItemStyles } = useLayoutItem({\n id: props.name,\n order: computed(() => parseInt(props.order, 10)),\n position: computed(() => 'bottom'),\n layoutSize: computed(() => isActive.value ? height.value : 0),\n elementSize: height,\n active: isActive,\n absolute: toRef(props, 'absolute'),\n })\n\n useGroup(props, VBtnToggleSymbol)\n\n provideDefaults({\n VBtn: {\n color: toRef(props, 'color'),\n density: toRef(props, 'density'),\n stacked: computed(() => props.mode !== 'horizontal'),\n variant: 'text',\n },\n }, { scoped: true })\n\n useRender(() => {\n return (\n <props.tag\n class={[\n 'v-bottom-navigation',\n {\n 'v-bottom-navigation--active': isActive.value,\n 'v-bottom-navigation--grow': props.grow,\n 'v-bottom-navigation--shift': props.mode === 'shift',\n },\n themeClasses.value,\n backgroundColorClasses.value,\n borderClasses.value,\n densityClasses.value,\n elevationClasses.value,\n roundedClasses.value,\n props.class,\n ]}\n style={[\n backgroundColorStyles.value,\n layoutItemStyles.value,\n {\n height: convertToUnit(height.value),\n transform: `translateY(${convertToUnit(!isActive.value ? 100 : 0, '%')})`,\n },\n ssrBootStyles.value,\n props.style,\n ]}\n >\n { slots.default && (\n <div class=\"v-bottom-navigation__content\">\n { slots.default() }\n </div>\n )}\n </props.tag>\n )\n })\n\n return {}\n },\n})\n\nexport type VBottomNavigation = InstanceType<typeof VBottomNavigation>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,eAAe,EAAEC,SAAS;AAAA,SAC1BC,kBAAkB;AAAA,SAClBC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,mBAAmB,EAAEC,aAAa;AAAA,SAClCC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,YAAY;AAAA,SACZC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,eAAe;AAAA,SACfC,kBAAkB;AAAA,SAClBC,UAAU,yCAEnB;AACA,SAASC,QAAQ,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAC5BC,aAAa,EA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AC,CAAC"}
1
+ {"version":3,"file":"VBottomNavigation.mjs","names":["makeBorderProps","useBorder","makeComponentProps","makeDensityProps","useDensity","makeElevationProps","useElevation","makeGroupProps","useGroup","makeLayoutItemProps","useLayoutItem","makeRoundedProps","useRounded","makeTagProps","makeThemeProps","useTheme","provideDefaults","useBackgroundColor","useSsrBoot","computed","toRef","convertToUnit","genericComponent","propsFactory","useRender","VBtnToggleSymbol","makeVBottomNavigationProps","bgColor","String","color","grow","Boolean","mode","type","validator","v","includes","height","Number","default","active","name","tag","modelValue","selectedClass","VBottomNavigation","props","emits","value","setup","_ref","slots","themeClasses","borderClasses","backgroundColorClasses","backgroundColorStyles","densityClasses","elevationClasses","roundedClasses","ssrBootStyles","density","isActive","layoutItemStyles","id","order","parseInt","position","layoutSize","elementSize","absolute","VBtn","stacked","variant","scoped","_createVNode","class","transform","style"],"sources":["../../../src/components/VBottomNavigation/VBottomNavigation.tsx"],"sourcesContent":["// Styles\nimport './VBottomNavigation.sass'\n\n// Composables\nimport { makeBorderProps, useBorder } from '@/composables/border'\nimport { makeComponentProps } from '@/composables/component'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { makeElevationProps, useElevation } from '@/composables/elevation'\nimport { makeGroupProps, useGroup } from '@/composables/group'\nimport { makeLayoutItemProps, useLayoutItem } from '@/composables/layout'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, useTheme } from '@/composables/theme'\nimport { provideDefaults } from '@/composables/defaults'\nimport { useBackgroundColor } from '@/composables/color'\nimport { useSsrBoot } from '@/composables/ssrBoot'\n\n// Utilities\nimport { computed, toRef } from 'vue'\nimport { convertToUnit, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport { VBtnToggleSymbol } from '@/components/VBtnToggle/VBtnToggle'\n\nexport const makeVBottomNavigationProps = propsFactory({\n bgColor: String,\n color: String,\n grow: Boolean,\n mode: {\n type: String,\n validator: (v: any) => !v || ['horizontal', 'shift'].includes(v),\n },\n height: {\n type: [Number, String],\n default: 56,\n },\n active: {\n type: Boolean,\n default: true,\n },\n\n ...makeBorderProps(),\n ...makeComponentProps(),\n ...makeDensityProps(),\n ...makeElevationProps(),\n ...makeRoundedProps(),\n ...makeLayoutItemProps({ name: 'bottom-navigation' }),\n ...makeTagProps({ tag: 'header' }),\n ...makeGroupProps({\n modelValue: true,\n selectedClass: 'v-btn--selected',\n }),\n ...makeThemeProps(),\n}, 'v-bottom-navigation')\n\nexport const VBottomNavigation = genericComponent()({\n name: 'VBottomNavigation',\n\n props: makeVBottomNavigationProps(),\n\n emits: {\n 'update:modelValue': (value: any) => true,\n },\n\n setup (props, { slots }) {\n const { themeClasses } = useTheme()\n const { borderClasses } = useBorder(props)\n const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(toRef(props, 'bgColor'))\n const { densityClasses } = useDensity(props)\n const { elevationClasses } = useElevation(props)\n const { roundedClasses } = useRounded(props)\n const { ssrBootStyles } = useSsrBoot()\n const height = computed(() => (\n Number(props.height) -\n (props.density === 'comfortable' ? 8 : 0) -\n (props.density === 'compact' ? 16 : 0)\n ))\n const isActive = toRef(props, 'active')\n const { layoutItemStyles } = useLayoutItem({\n id: props.name,\n order: computed(() => parseInt(props.order, 10)),\n position: computed(() => 'bottom'),\n layoutSize: computed(() => isActive.value ? height.value : 0),\n elementSize: height,\n active: isActive,\n absolute: toRef(props, 'absolute'),\n })\n\n useGroup(props, VBtnToggleSymbol)\n\n provideDefaults({\n VBtn: {\n color: toRef(props, 'color'),\n density: toRef(props, 'density'),\n stacked: computed(() => props.mode !== 'horizontal'),\n variant: 'text',\n },\n }, { scoped: true })\n\n useRender(() => {\n return (\n <props.tag\n class={[\n 'v-bottom-navigation',\n {\n 'v-bottom-navigation--active': isActive.value,\n 'v-bottom-navigation--grow': props.grow,\n 'v-bottom-navigation--shift': props.mode === 'shift',\n },\n themeClasses.value,\n backgroundColorClasses.value,\n borderClasses.value,\n densityClasses.value,\n elevationClasses.value,\n roundedClasses.value,\n props.class,\n ]}\n style={[\n backgroundColorStyles.value,\n layoutItemStyles.value,\n {\n height: convertToUnit(height.value),\n transform: `translateY(${convertToUnit(!isActive.value ? 100 : 0, '%')})`,\n },\n ssrBootStyles.value,\n props.style,\n ]}\n >\n { slots.default && (\n <div class=\"v-bottom-navigation__content\">\n { slots.default() }\n </div>\n )}\n </props.tag>\n )\n })\n\n return {}\n },\n})\n\nexport type VBottomNavigation = InstanceType<typeof VBottomNavigation>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,eAAe,EAAEC,SAAS;AAAA,SAC1BC,kBAAkB;AAAA,SAClBC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,mBAAmB,EAAEC,aAAa;AAAA,SAClCC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,YAAY;AAAA,SACZC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,eAAe;AAAA,SACfC,kBAAkB;AAAA,SAClBC,UAAU,yCAEnB;AACA,SAASC,QAAQ,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAC5BC,aAAa,EAAEC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,gCAEjE;AAAA,SACSC,gBAAgB;AAEzB,OAAO,MAAMC,0BAA0B,GAAGH,YAAY,CAAC;EACrDI,OAAO,EAAEC,MAAM;EACfC,KAAK,EAAED,MAAM;EACbE,IAAI,EAAEC,OAAO;EACbC,IAAI,EAAE;IACJC,IAAI,EAAEL,MAAM;IACZM,SAAS,EAAGC,CAAM,IAAK,CAACA,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,CAACC,QAAQ,CAACD,CAAC;EACjE,CAAC;EACDE,MAAM,EAAE;IACNJ,IAAI,EAAE,CAACK,MAAM,EAAEV,MAAM,CAAC;IACtBW,OAAO,EAAE;EACX,CAAC;EACDC,MAAM,EAAE;IACN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