@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
@@ -10,39 +10,24 @@ declare const VToolbar: {
10
10
  new (...args: any[]): {
11
11
  $: vue.ComponentInternalInstance;
12
12
  $data: {};
13
- $props: Partial<{
14
- flat: boolean;
15
- absolute: boolean;
16
- height: string | number;
17
- style: vue.StyleValue;
18
- tag: string;
19
- collapse: boolean;
20
- rounded: string | number | boolean;
21
- density: Density;
22
- extended: boolean;
23
- extensionHeight: string | number;
24
- floating: boolean;
25
- }> & Omit<{
26
- flat: boolean;
27
- absolute: boolean;
28
- height: string | number;
29
- style: vue.StyleValue;
30
- tag: string;
31
- collapse: boolean;
32
- density: Density;
33
- extended: boolean;
34
- extensionHeight: string | number;
35
- floating: boolean;
36
- } & {
13
+ $props: {
14
+ flat?: boolean | undefined;
15
+ absolute?: boolean | undefined;
16
+ height?: string | number | undefined;
17
+ style?: vue.StyleValue | undefined;
18
+ tag?: string | undefined;
19
+ collapse?: boolean | undefined;
20
+ rounded?: string | number | boolean | undefined;
21
+ density?: Density | undefined;
22
+ extended?: boolean | undefined;
23
+ extensionHeight?: string | number | undefined;
24
+ floating?: boolean | undefined;
25
+ key?: string | number | symbol | undefined;
37
26
  border?: string | number | boolean | undefined;
38
27
  color?: string | undefined;
39
28
  title?: string | undefined;
40
29
  image?: string | undefined;
41
30
  class?: any;
42
- elevation?: string | number | undefined;
43
- theme?: string | undefined;
44
- rounded?: string | number | boolean | undefined;
45
- } & {
46
31
  $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
47
32
  default?: (() => vue.VNodeChild) | undefined;
48
33
  image?: (() => vue.VNodeChild) | undefined;
@@ -51,6 +36,12 @@ declare const VToolbar: {
51
36
  title?: (() => vue.VNodeChild) | undefined;
52
37
  extension?: (() => vue.VNodeChild) | undefined;
53
38
  };
39
+ elevation?: string | number | undefined;
40
+ ref?: vue.VNodeRef | undefined;
41
+ ref_for?: boolean | undefined;
42
+ ref_key?: string | undefined;
43
+ theme?: string | undefined;
44
+ "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
54
45
  'v-slots'?: {
55
46
  default?: false | (() => vue.VNodeChild) | undefined;
56
47
  image?: false | (() => vue.VNodeChild) | undefined;
@@ -59,14 +50,50 @@ declare const VToolbar: {
59
50
  title?: false | (() => vue.VNodeChild) | undefined;
60
51
  extension?: false | (() => vue.VNodeChild) | undefined;
61
52
  } | undefined;
62
- } & {
63
- "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
53
+ onVnodeBeforeMount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
54
+ [key: string]: any;
55
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
56
+ [key: string]: any;
57
+ }>) => void)[] | undefined;
58
+ onVnodeMounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
59
+ [key: string]: any;
60
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
61
+ [key: string]: any;
62
+ }>) => void)[] | undefined;
63
+ onVnodeBeforeUpdate?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
64
+ [key: string]: any;
65
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
66
+ [key: string]: any;
67
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
68
+ [key: string]: any;
69
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
70
+ [key: string]: any;
71
+ }>) => void)[] | undefined;
72
+ onVnodeUpdated?: ((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
+ onVnodeBeforeUnmount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
82
+ [key: string]: any;
83
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
84
+ [key: string]: any;
85
+ }>) => void)[] | undefined;
86
+ onVnodeUnmounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
87
+ [key: string]: any;
88
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
89
+ [key: string]: any;
90
+ }>) => void)[] | undefined;
91
+ "v-slot:title"?: false | (() => vue.VNodeChild) | undefined;
64
92
  "v-slot:image"?: false | (() => vue.VNodeChild) | undefined;
65
- "v-slot:prepend"?: false | (() => vue.VNodeChild) | undefined;
66
93
  "v-slot:append"?: false | (() => vue.VNodeChild) | undefined;
67
- "v-slot:title"?: false | (() => vue.VNodeChild) | undefined;
94
+ "v-slot:prepend"?: false | (() => vue.VNodeChild) | undefined;
68
95
  "v-slot:extension"?: false | (() => vue.VNodeChild) | undefined;
69
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "flat" | "absolute" | "height" | "style" | "tag" | "collapse" | "rounded" | "density" | "extended" | "extensionHeight" | "floating">;
96
+ };
70
97
  $attrs: {
71
98
  [x: string]: unknown;
72
99
  };
@@ -74,10 +101,27 @@ declare const VToolbar: {
74
101
  [x: string]: unknown;
75
102
  };
76
103
  $slots: Readonly<{
77
- [name: string]: vue.Slot | undefined;
104
+ default?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
105
+ [key: string]: any;
106
+ }>[]) | undefined;
107
+ image?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
108
+ [key: string]: any;
109
+ }>[]) | undefined;
110
+ prepend?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
111
+ [key: string]: any;
112
+ }>[]) | undefined;
113
+ append?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
114
+ [key: string]: any;
115
+ }>[]) | undefined;
116
+ title?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
117
+ [key: string]: any;
118
+ }>[]) | undefined;
119
+ extension?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
120
+ [key: string]: any;
121
+ }>[]) | undefined;
78
122
  }>;
79
- $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
80
- $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
123
+ $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
124
+ $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
81
125
  $emit: (event: string, ...args: any[]) => void;
82
126
  $el: any;
83
127
  $options: vue.ComponentOptionsBase<{
@@ -139,7 +183,26 @@ declare const VToolbar: {
139
183
  extended: boolean;
140
184
  extensionHeight: string | number;
141
185
  floating: boolean;
142
- }, {}, string> & {
186
+ }, {}, string, vue.SlotsType<Partial<{
187
+ default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
188
+ [key: string]: any;
189
+ }>[];
190
+ image: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
191
+ [key: string]: any;
192
+ }>[];
193
+ prepend: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
194
+ [key: string]: any;
195
+ }>[];
196
+ append: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
197
+ [key: string]: any;
198
+ }>[];
199
+ title: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
200
+ [key: string]: any;
201
+ }>[];
202
+ extension: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
203
+ [key: string]: any;
204
+ }>[];
205
+ }>>> & {
143
206
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
144
207
  created?: ((() => void) | (() => void)[]) | undefined;
145
208
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -154,7 +217,7 @@ declare const VToolbar: {
154
217
  unmounted?: ((() => void) | (() => void)[]) | undefined;
155
218
  renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
156
219
  renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
157
- 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;
220
+ 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;
158
221
  };
159
222
  $forceUpdate: () => void;
160
223
  $nextTick: typeof vue.nextTick;
@@ -269,7 +332,26 @@ declare const VToolbar: {
269
332
  extended: boolean;
270
333
  extensionHeight: string | number;
271
334
  floating: boolean;
272
- }, {}, string> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
335
+ }, {}, string, vue.SlotsType<Partial<{
336
+ default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
337
+ [key: string]: any;
338
+ }>[];
339
+ image: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
340
+ [key: string]: any;
341
+ }>[];
342
+ prepend: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
343
+ [key: string]: any;
344
+ }>[];
345
+ append: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
346
+ [key: string]: any;
347
+ }>[];
348
+ title: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
349
+ [key: string]: any;
350
+ }>[];
351
+ extension: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
352
+ [key: string]: any;
353
+ }>[];
354
+ }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
273
355
  theme: StringConstructor;
274
356
  tag: Omit<{
275
357
  type: StringConstructor;
@@ -364,28 +446,64 @@ declare const VToolbarTitle: {
364
446
  new (...args: any[]): {
365
447
  $: vue.ComponentInternalInstance;
366
448
  $data: {};
367
- $props: Partial<{
368
- style: vue.StyleValue;
369
- tag: string;
370
- }> & Omit<{
371
- style: vue.StyleValue;
372
- tag: string;
373
- } & {
449
+ $props: {
450
+ style?: vue.StyleValue | undefined;
451
+ tag?: string | undefined;
452
+ key?: string | number | symbol | undefined;
374
453
  text?: string | undefined;
375
454
  class?: any;
376
- } & {
377
455
  $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
378
456
  default?: (() => vue.VNodeChild) | undefined;
379
457
  text?: (() => vue.VNodeChild) | undefined;
380
458
  };
459
+ ref?: vue.VNodeRef | undefined;
460
+ ref_for?: boolean | undefined;
461
+ ref_key?: string | undefined;
462
+ "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
381
463
  'v-slots'?: {
382
464
  default?: false | (() => vue.VNodeChild) | undefined;
383
465
  text?: false | (() => vue.VNodeChild) | undefined;
384
466
  } | undefined;
385
- } & {
386
- "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
467
+ onVnodeBeforeMount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
468
+ [key: string]: any;
469
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
470
+ [key: string]: any;
471
+ }>) => void)[] | undefined;
472
+ onVnodeMounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
473
+ [key: string]: any;
474
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
475
+ [key: string]: any;
476
+ }>) => void)[] | undefined;
477
+ onVnodeBeforeUpdate?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
478
+ [key: string]: any;
479
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
480
+ [key: string]: any;
481
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
482
+ [key: string]: any;
483
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
484
+ [key: string]: any;
485
+ }>) => void)[] | undefined;
486
+ onVnodeUpdated?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
487
+ [key: string]: any;
488
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
489
+ [key: string]: any;
490
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
491
+ [key: string]: any;
492
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
493
+ [key: string]: any;
494
+ }>) => void)[] | undefined;
495
+ onVnodeBeforeUnmount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
496
+ [key: string]: any;
497
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
498
+ [key: string]: any;
499
+ }>) => void)[] | undefined;
500
+ onVnodeUnmounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
501
+ [key: string]: any;
502
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
503
+ [key: string]: any;
504
+ }>) => void)[] | undefined;
387
505
  "v-slot:text"?: false | (() => vue.VNodeChild) | undefined;
388
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "style" | "tag">;
506
+ };
389
507
  $attrs: {
390
508
  [x: string]: unknown;
391
509
  };
@@ -393,10 +511,15 @@ declare const VToolbarTitle: {
393
511
  [x: string]: unknown;
394
512
  };
395
513
  $slots: Readonly<{
396
- [name: string]: vue.Slot | undefined;
514
+ default?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
515
+ [key: string]: any;
516
+ }>[]) | undefined;
517
+ text?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
518
+ [key: string]: any;
519
+ }>[]) | undefined;
397
520
  }>;
398
- $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
399
- $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
521
+ $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
522
+ $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
400
523
  $emit: (event: string, ...args: any[]) => void;
401
524
  $el: any;
402
525
  $options: vue.ComponentOptionsBase<{
@@ -420,7 +543,14 @@ declare const VToolbarTitle: {
420
543
  }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
421
544
  style: vue.StyleValue;
422
545
  tag: string;
423
- }, {}, string> & {
546
+ }, {}, string, vue.SlotsType<Partial<{
547
+ default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
548
+ [key: string]: any;
549
+ }>[];
550
+ text: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
551
+ [key: string]: any;
552
+ }>[];
553
+ }>>> & {
424
554
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
425
555
  created?: ((() => void) | (() => void)[]) | undefined;
426
556
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -435,7 +565,7 @@ declare const VToolbarTitle: {
435
565
  unmounted?: ((() => void) | (() => void)[]) | undefined;
436
566
  renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
437
567
  renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
438
- 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;
568
+ 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;
439
569
  };
440
570
  $forceUpdate: () => void;
441
571
  $nextTick: typeof vue.nextTick;
@@ -483,7 +613,14 @@ declare const VToolbarTitle: {
483
613
  }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
484
614
  style: vue.StyleValue;
485
615
  tag: string;
486
- }, {}, string> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
616
+ }, {}, string, vue.SlotsType<Partial<{
617
+ default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
618
+ [key: string]: any;
619
+ }>[];
620
+ text: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
621
+ [key: string]: any;
622
+ }>[];
623
+ }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
487
624
  tag: {
488
625
  type: StringConstructor;
489
626
  default: string;
@@ -512,25 +649,61 @@ declare const VToolbarItems: {
512
649
  new (...args: any[]): {
513
650
  $: vue.ComponentInternalInstance;
514
651
  $data: {};
515
- $props: Partial<{
516
- style: vue.StyleValue;
517
- variant: string;
518
- }> & Omit<{
519
- style: vue.StyleValue;
520
- variant: string;
521
- } & {
652
+ $props: {
653
+ style?: vue.StyleValue | undefined;
654
+ variant?: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain"> | undefined;
655
+ key?: string | number | symbol | undefined;
522
656
  color?: string | undefined;
523
657
  class?: any;
524
- } & {
525
658
  $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
526
659
  default?: (() => vue.VNodeChild) | undefined;
527
660
  };
661
+ ref?: vue.VNodeRef | undefined;
662
+ ref_for?: boolean | undefined;
663
+ ref_key?: string | undefined;
664
+ "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
528
665
  'v-slots'?: {
529
666
  default?: false | (() => vue.VNodeChild) | undefined;
530
667
  } | undefined;
531
- } & {
532
- "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
533
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "style" | "variant">;
668
+ onVnodeBeforeMount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
669
+ [key: string]: any;
670
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
671
+ [key: string]: any;
672
+ }>) => void)[] | undefined;
673
+ onVnodeMounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
674
+ [key: string]: any;
675
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
676
+ [key: string]: any;
677
+ }>) => void)[] | undefined;
678
+ onVnodeBeforeUpdate?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
679
+ [key: string]: any;
680
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
681
+ [key: string]: any;
682
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
683
+ [key: string]: any;
684
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
685
+ [key: string]: any;
686
+ }>) => void)[] | undefined;
687
+ onVnodeUpdated?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
688
+ [key: string]: any;
689
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
690
+ [key: string]: any;
691
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
692
+ [key: string]: any;
693
+ }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
694
+ [key: string]: any;
695
+ }>) => void)[] | undefined;
696
+ onVnodeBeforeUnmount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
697
+ [key: string]: any;
698
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
699
+ [key: string]: any;
700
+ }>) => void)[] | undefined;
701
+ onVnodeUnmounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
702
+ [key: string]: any;
703
+ }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
704
+ [key: string]: any;
705
+ }>) => void)[] | undefined;
706
+ };
534
707
  $attrs: {
535
708
  [x: string]: unknown;
536
709
  };
@@ -538,15 +711,17 @@ declare const VToolbarItems: {
538
711
  [x: string]: unknown;
539
712
  };
540
713
  $slots: Readonly<{
541
- [name: string]: vue.Slot | undefined;
714
+ default?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
715
+ [key: string]: any;
716
+ }>[]) | undefined;
542
717
  }>;
543
- $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
544
- $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
718
+ $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
719
+ $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
545
720
  $emit: (event: string, ...args: any[]) => void;
546
721
  $el: any;
547
722
  $options: vue.ComponentOptionsBase<{
548
723
  style: vue.StyleValue;
549
- variant: string;
724
+ variant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
550
725
  } & {
551
726
  color?: string | undefined;
552
727
  class?: any;
@@ -561,8 +736,12 @@ declare const VToolbarItems: {
561
736
  "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
562
737
  }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
563
738
  style: vue.StyleValue;
564
- variant: string;
565
- }, {}, string> & {
739
+ variant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
740
+ }, {}, string, vue.SlotsType<Partial<{
741
+ default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
742
+ [key: string]: any;
743
+ }>[];
744
+ }>>> & {
566
745
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
567
746
  created?: ((() => void) | (() => void)[]) | undefined;
568
747
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -577,14 +756,14 @@ declare const VToolbarItems: {
577
756
  unmounted?: ((() => void) | (() => void)[]) | undefined;
578
757
  renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
579
758
  renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
580
- 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;
759
+ 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;
581
760
  };
582
761
  $forceUpdate: () => void;
583
762
  $nextTick: typeof vue.nextTick;
584
763
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: vue.WatchOptions<boolean> | undefined): vue.WatchStopHandle;
585
764
  } & {
586
765
  style: vue.StyleValue;
587
- variant: string;
766
+ variant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
588
767
  } & {
589
768
  color?: string | undefined;
590
769
  class?: any;
@@ -603,7 +782,7 @@ declare const VToolbarItems: {
603
782
  __isSuspense?: undefined;
604
783
  } & vue.ComponentOptionsBase<{
605
784
  style: vue.StyleValue;
606
- variant: string;
785
+ variant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
607
786
  } & {
608
787
  color?: string | undefined;
609
788
  class?: any;
@@ -618,16 +797,20 @@ declare const VToolbarItems: {
618
797
  "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
619
798
  }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
620
799
  style: vue.StyleValue;
621
- variant: string;
622
- }, {}, string> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
800
+ variant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
801
+ }, {}, string, vue.SlotsType<Partial<{
802
+ default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
803
+ [key: string]: any;
804
+ }>[];
805
+ }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
623
806
  color: StringConstructor;
624
807
  variant: Omit<{
625
808
  type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
626
809
  default: string;
627
810
  validator: (v: any) => boolean;
628
811
  }, "type" | "default"> & {
629
- type: vue.PropType<string>;
630
- default: string;
812
+ type: vue.PropType<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>;
813
+ default: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
631
814
  };
632
815
  class: vue.PropType<any>;
633
816
  style: {
@@ -641,8 +824,8 @@ declare const VToolbarItems: {
641
824
  default: string;
642
825
  validator: (v: any) => boolean;
643
826
  }, "type" | "default"> & {
644
- type: vue.PropType<string>;
645
- default: string;
827
+ type: vue.PropType<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>;
828
+ default: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
646
829
  };
647
830
  class: vue.PropType<any>;
648
831
  style: {
@@ -8,28 +8,29 @@ import { useProxiedModel } from "../../composables/proxiedModel.mjs";
8
8
  import { useScopeId } from "../../composables/scopeId.mjs";
9
9
  import { forwardRefs } from "../../composables/forwardRefs.mjs"; // Utilities
10
10
  import { computed, mergeProps, ref } from 'vue';
11
- import { genericComponent, getUid, omit, useRender } from "../../util/index.mjs";
11
+ import { genericComponent, getUid, omit, propsFactory, useRender } from "../../util/index.mjs";
12
12
  import { makeVOverlayProps } from "../VOverlay/VOverlay.mjs"; // Types
13
+ export const makeVTooltipProps = propsFactory({
14
+ id: String,
15
+ text: String,
16
+ ...omit(makeVOverlayProps({
17
+ closeOnBack: false,
18
+ location: 'end',
19
+ locationStrategy: 'connected',
20
+ eager: true,
21
+ minWidth: 0,
22
+ offset: 10,
23
+ openOnClick: false,
24
+ openOnHover: true,
25
+ origin: 'auto',
26
+ scrim: false,
27
+ scrollStrategy: 'reposition',
28
+ transition: false
29
+ }), ['absolute', 'persistent'])
30
+ }, 'v-tooltip');
13
31
  export const VTooltip = genericComponent()({
14
32
  name: 'VTooltip',
15
- props: {
16
- id: String,
17
- text: String,
18
- ...omit(makeVOverlayProps({
19
- closeOnBack: false,
20
- location: 'end',
21
- locationStrategy: 'connected',
22
- eager: true,
23
- minWidth: 0,
24
- offset: 10,
25
- openOnClick: false,
26
- openOnHover: true,
27
- origin: 'auto',
28
- scrim: false,
29
- scrollStrategy: 'reposition',
30
- transition: false
31
- }), ['absolute', 'persistent'])
32
- },
33
+ props: makeVTooltipProps(),
33
34
  emits: {
34
35
  'update:modelValue': value => true
35
36
  },
@@ -1 +1 @@
1
- {"version":3,"file":"VTooltip.mjs","names":["VOverlay","useProxiedModel","useScopeId","forwardRefs","computed","mergeProps","ref","genericComponent","getUid","omit","useRender","makeVOverlayProps","VTooltip","name","props","id","String","text","closeOnBack","location","locationStrategy","eager","minWidth","offset","openOnClick","openOnHover","origin","scrim","scrollStrategy","transition","emits","value","setup","_ref","slots","isActive","scopeId","uid","overlay","split","length","activatorProps","overlayProps","filterProps","_createVNode","_mergeProps","class","style","$event","activator","default","_len","arguments","args","Array","_key"],"sources":["../../../src/components/VTooltip/VTooltip.tsx"],"sourcesContent":["// Styles\nimport './VTooltip.sass'\n\n// Components\nimport { VOverlay } from '@/components/VOverlay'\n\n// Composables\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { useScopeId } from '@/composables/scopeId'\nimport { forwardRefs } from '@/composables/forwardRefs'\n\n// Utilities\nimport { computed, mergeProps, ref } from 'vue'\nimport { genericComponent, getUid, omit, useRender } from '@/util'\nimport { makeVOverlayProps } from '@/components/VOverlay/VOverlay'\n\n// Types\nimport type { OverlaySlots } from '@/components/VOverlay/VOverlay'\nimport type { StrategyProps } from '@/components/VOverlay/locationStrategies'\n\nexport const VTooltip = genericComponent<OverlaySlots>()({\n name: 'VTooltip',\n\n props: {\n id: String,\n text: String,\n\n ...omit(makeVOverlayProps({\n closeOnBack: false,\n location: 'end' as const,\n locationStrategy: 'connected' as const,\n eager: true,\n minWidth: 0,\n offset: 10,\n openOnClick: false,\n openOnHover: true,\n origin: 'auto' as const,\n scrim: false,\n scrollStrategy: 'reposition' as const,\n transition: false,\n }), [\n 'absolute',\n 'persistent',\n ]),\n },\n\n emits: {\n 'update:modelValue': (value: boolean) => true,\n },\n\n setup (props, { slots }) {\n const isActive = useProxiedModel(props, 'modelValue')\n const { scopeId } = useScopeId()\n\n const uid = getUid()\n const id = computed(() => props.id || `v-tooltip-${uid}`)\n\n const overlay = ref<VOverlay>()\n\n const location = computed(() => {\n return props.location.split(' ').length > 1\n ? props.location\n : props.location + ' center' as StrategyProps['location']\n })\n\n const origin = computed(() => {\n return (\n props.origin === 'auto' ||\n props.origin === 'overlap' ||\n props.origin.split(' ').length > 1 ||\n props.location.split(' ').length > 1\n ) ? props.origin\n : props.origin + ' center' as StrategyProps['origin']\n })\n\n const transition = computed(() => {\n if (props.transition) return props.transition\n return isActive.value ? 'scale-transition' : 'fade-transition'\n })\n\n const activatorProps = computed(() =>\n mergeProps({\n 'aria-describedby': id.value,\n }, props.activatorProps)\n )\n\n useRender(() => {\n const [overlayProps] = VOverlay.filterProps(props)\n\n return (\n <VOverlay\n ref={ overlay }\n class={[\n 'v-tooltip',\n props.class,\n ]}\n style={ props.style }\n id={ id.value }\n { ...overlayProps }\n v-model={ isActive.value }\n transition={ transition.value }\n absolute\n location={ location.value }\n origin={ origin.value }\n persistent\n role=\"tooltip\"\n activatorProps={ activatorProps.value }\n _disableGlobalStack\n { ...scopeId }\n >\n {{\n activator: slots.activator,\n default: (...args) => slots.default?.(...args) ?? props.text,\n }}\n </VOverlay>\n )\n })\n\n return forwardRefs({}, overlay)\n },\n})\n\nexport type VTooltip = InstanceType<typeof VTooltip>\n"],"mappings":"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"}
1
+ {"version":3,"file":"VTooltip.mjs","names":["VOverlay","useProxiedModel","useScopeId","forwardRefs","computed","mergeProps","ref","genericComponent","getUid","omit","propsFactory","useRender","makeVOverlayProps","makeVTooltipProps","id","String","text","closeOnBack","location","locationStrategy","eager","minWidth","offset","openOnClick","openOnHover","origin","scrim","scrollStrategy","transition","VTooltip","name","props","emits","value","setup","_ref","slots","isActive","scopeId","uid","overlay","split","length","activatorProps","overlayProps","filterProps","_createVNode","_mergeProps","class","style","$event","activator","default","_len","arguments","args","Array","_key"],"sources":["../../../src/components/VTooltip/VTooltip.tsx"],"sourcesContent":["// Styles\nimport './VTooltip.sass'\n\n// Components\nimport { VOverlay } from '@/components/VOverlay'\n\n// Composables\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { useScopeId } from '@/composables/scopeId'\nimport { forwardRefs } from '@/composables/forwardRefs'\n\n// Utilities\nimport { computed, mergeProps, ref } from 'vue'\nimport { genericComponent, getUid, omit, propsFactory, useRender } from '@/util'\nimport { makeVOverlayProps } from '@/components/VOverlay/VOverlay'\n\n// Types\nimport type { OverlaySlots } from '@/components/VOverlay/VOverlay'\nimport type { StrategyProps } from '@/components/VOverlay/locationStrategies'\n\nexport const makeVTooltipProps = propsFactory({\n id: String,\n text: String,\n\n ...omit(makeVOverlayProps({\n closeOnBack: false,\n location: 'end' as const,\n locationStrategy: 'connected' as const,\n eager: true,\n minWidth: 0,\n offset: 10,\n openOnClick: false,\n openOnHover: true,\n origin: 'auto' as const,\n scrim: false,\n scrollStrategy: 'reposition' as const,\n transition: false,\n }), [\n 'absolute',\n 'persistent',\n ]),\n}, 'v-tooltip')\n\nexport const VTooltip = genericComponent<OverlaySlots>()({\n name: 'VTooltip',\n\n props: makeVTooltipProps(),\n\n emits: {\n 'update:modelValue': (value: boolean) => true,\n },\n\n setup (props, { slots }) {\n const isActive = useProxiedModel(props, 'modelValue')\n const { scopeId } = useScopeId()\n\n const uid = getUid()\n const id = computed(() => props.id || `v-tooltip-${uid}`)\n\n const overlay = ref<VOverlay>()\n\n const location = computed(() => {\n return props.location.split(' ').length > 1\n ? props.location\n : props.location + ' center' as StrategyProps['location']\n })\n\n const origin = computed(() => {\n return (\n props.origin === 'auto' ||\n props.origin === 'overlap' ||\n props.origin.split(' ').length > 1 ||\n props.location.split(' ').length > 1\n ) ? props.origin\n : props.origin + ' center' as StrategyProps['origin']\n })\n\n const transition = computed(() => {\n if (props.transition) return props.transition\n return isActive.value ? 'scale-transition' : 'fade-transition'\n })\n\n const activatorProps = computed(() =>\n mergeProps({\n 'aria-describedby': id.value,\n }, props.activatorProps)\n )\n\n useRender(() => {\n const [overlayProps] = VOverlay.filterProps(props)\n\n return (\n <VOverlay\n ref={ overlay }\n class={[\n 'v-tooltip',\n props.class,\n ]}\n style={ props.style }\n id={ id.value }\n { ...overlayProps }\n v-model={ isActive.value }\n transition={ transition.value }\n absolute\n location={ location.value }\n origin={ origin.value }\n persistent\n role=\"tooltip\"\n activatorProps={ activatorProps.value }\n _disableGlobalStack\n { ...scopeId }\n >\n {{\n activator: slots.activator,\n default: (...args) => slots.default?.(...args) ?? props.text,\n }}\n </VOverlay>\n )\n })\n\n return forwardRefs({}, overlay)\n },\n})\n\nexport type VTooltip = InstanceType<typeof VTooltip>\n"],"mappings":"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"}