vuetify 3.2.2 → 3.2.3

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 (299) hide show
  1. package/dist/json/attributes.json +538 -242
  2. package/dist/json/importMap.json +8 -8
  3. package/dist/json/tags.json +77 -2
  4. package/dist/json/web-types.json +1284 -558
  5. package/dist/vuetify-labs.css +123 -119
  6. package/dist/vuetify-labs.d.ts +2222 -11380
  7. package/dist/vuetify-labs.esm.js +2230 -2144
  8. package/dist/vuetify-labs.esm.js.map +1 -1
  9. package/dist/vuetify-labs.js +2230 -2144
  10. package/dist/vuetify-labs.min.css +2 -2
  11. package/dist/vuetify.css +39 -35
  12. package/dist/vuetify.d.ts +1225 -11178
  13. package/dist/vuetify.esm.js +1691 -1591
  14. package/dist/vuetify.esm.js.map +1 -1
  15. package/dist/vuetify.js +1691 -1591
  16. package/dist/vuetify.js.map +1 -1
  17. package/dist/vuetify.min.css +2 -2
  18. package/dist/vuetify.min.js +597 -597
  19. package/dist/vuetify.min.js.map +1 -1
  20. package/lib/blueprints/index.d.ts +1 -3
  21. package/lib/blueprints/md1.d.ts +1 -3
  22. package/lib/blueprints/md2.d.ts +1 -3
  23. package/lib/blueprints/md3.d.ts +1 -3
  24. package/lib/components/VAlert/VAlert.mjs +47 -46
  25. package/lib/components/VAlert/VAlert.mjs.map +1 -1
  26. package/lib/components/VAlert/index.d.ts +2 -2
  27. package/lib/components/VApp/VApp.mjs +9 -8
  28. package/lib/components/VApp/VApp.mjs.map +1 -1
  29. package/lib/components/VAppBar/VAppBar.mjs +21 -20
  30. package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
  31. package/lib/components/VAppBar/VAppBarNavIcon.mjs +8 -5
  32. package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
  33. package/lib/components/VAppBar/index.d.ts +4 -4
  34. package/lib/components/VAutocomplete/VAutocomplete.css +0 -4
  35. package/lib/components/VAutocomplete/VAutocomplete.mjs +28 -33
  36. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  37. package/lib/components/VAutocomplete/VAutocomplete.sass +0 -5
  38. package/lib/components/VAutocomplete/index.d.ts +67 -1174
  39. package/lib/components/VBadge/VBadge.mjs +33 -32
  40. package/lib/components/VBadge/VBadge.mjs.map +1 -1
  41. package/lib/components/VBanner/VBanner.mjs +21 -20
  42. package/lib/components/VBanner/VBanner.mjs.map +1 -1
  43. package/lib/components/VBanner/VBannerActions.mjs +7 -6
  44. package/lib/components/VBanner/VBannerActions.mjs.map +1 -1
  45. package/lib/components/VBanner/index.d.ts +2 -2
  46. package/lib/components/VBottomNavigation/VBottomNavigation.mjs +35 -34
  47. package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
  48. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +24 -23
  49. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
  50. package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs +6 -5
  51. package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs.map +1 -1
  52. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +15 -14
  53. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
  54. package/lib/components/VBreadcrumbs/index.d.ts +1 -0
  55. package/lib/components/VBtnToggle/VBtnToggle.mjs +6 -5
  56. package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
  57. package/lib/components/VCard/VCard.mjs +38 -37
  58. package/lib/components/VCard/VCard.mjs.map +1 -1
  59. package/lib/components/VCard/VCardItem.mjs +12 -11
  60. package/lib/components/VCard/VCardItem.mjs.map +1 -1
  61. package/lib/components/VCard/index.d.ts +4 -4
  62. package/lib/components/VCarousel/VCarousel.mjs +28 -27
  63. package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
  64. package/lib/components/VCarousel/VCarouselItem.mjs +18 -16
  65. package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
  66. package/lib/components/VCarousel/index.d.ts +170 -20
  67. package/lib/components/VCheckbox/VCheckbox.mjs +6 -5
  68. package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
  69. package/lib/components/VCheckbox/index.d.ts +24 -12
  70. package/lib/components/VChip/VChip.css +8 -0
  71. package/lib/components/VChip/VChip.mjs +60 -57
  72. package/lib/components/VChip/VChip.mjs.map +1 -1
  73. package/lib/components/VChip/VChip.sass +10 -0
  74. package/lib/components/VChip/index.d.ts +8 -8
  75. package/lib/components/VChipGroup/VChipGroup.mjs +19 -18
  76. package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
  77. package/lib/components/VColorPicker/VColorPicker.mjs +44 -39
  78. package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
  79. package/lib/components/VColorPicker/VColorPickerCanvas.mjs +21 -20
  80. package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
  81. package/lib/components/VColorPicker/VColorPickerEdit.mjs +17 -16
  82. package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
  83. package/lib/components/VColorPicker/VColorPickerPreview.mjs +10 -9
  84. package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
  85. package/lib/components/VColorPicker/VColorPickerSwatches.mjs +12 -11
  86. package/lib/components/VColorPicker/VColorPickerSwatches.mjs.map +1 -1
  87. package/lib/components/VColorPicker/index.d.ts +4 -4
  88. package/lib/components/VColorPicker/util/index.mjs +2 -2
  89. package/lib/components/VColorPicker/util/index.mjs.map +1 -1
  90. package/lib/components/VCombobox/VCombobox.mjs +32 -36
  91. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  92. package/lib/components/VCombobox/index.d.ts +67 -1171
  93. package/lib/components/VCounter/VCounter.mjs +16 -15
  94. package/lib/components/VCounter/VCounter.mjs.map +1 -1
  95. package/lib/components/VCounter/index.d.ts +25 -1774
  96. package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +9 -8
  97. package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs.map +1 -1
  98. package/lib/components/VDialog/VDialog.mjs +18 -17
  99. package/lib/components/VDialog/VDialog.mjs.map +1 -1
  100. package/lib/components/VDialog/index.d.ts +130 -1120
  101. package/lib/components/VDivider/VDivider.mjs +11 -10
  102. package/lib/components/VDivider/VDivider.mjs.map +1 -1
  103. package/lib/components/VExpansionPanel/VExpansionPanel.mjs +15 -15
  104. package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
  105. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +6 -5
  106. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -1
  107. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +3 -5
  108. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
  109. package/lib/components/VExpansionPanel/VExpansionPanels.mjs +15 -14
  110. package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
  111. package/lib/components/VExpansionPanel/index.d.ts +15 -15
  112. package/lib/components/VField/VField.mjs +6 -2
  113. package/lib/components/VField/VField.mjs.map +1 -1
  114. package/lib/components/VField/VFieldLabel.mjs +6 -5
  115. package/lib/components/VField/VFieldLabel.mjs.map +1 -1
  116. package/lib/components/VFileInput/VFileInput.mjs +35 -34
  117. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  118. package/lib/components/VFileInput/index.d.ts +3 -3
  119. package/lib/components/VFooter/VFooter.mjs +19 -18
  120. package/lib/components/VFooter/VFooter.mjs.map +1 -1
  121. package/lib/components/VForm/VForm.mjs +6 -5
  122. package/lib/components/VForm/VForm.mjs.map +1 -1
  123. package/lib/components/VForm/index.d.ts +3 -3
  124. package/lib/components/VGrid/VCol.mjs +26 -25
  125. package/lib/components/VGrid/VCol.mjs.map +1 -1
  126. package/lib/components/VGrid/VContainer.mjs +16 -11
  127. package/lib/components/VGrid/VContainer.mjs.map +1 -1
  128. package/lib/components/VGrid/VRow.mjs +26 -25
  129. package/lib/components/VGrid/VRow.mjs.map +1 -1
  130. package/lib/components/VHover/VHover.mjs +10 -9
  131. package/lib/components/VHover/VHover.mjs.map +1 -1
  132. package/lib/components/VImg/VImg.mjs +29 -28
  133. package/lib/components/VImg/VImg.mjs.map +1 -1
  134. package/lib/components/VItemGroup/VItemGroup.mjs +10 -9
  135. package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
  136. package/lib/components/VLabel/VLabel.mjs +8 -7
  137. package/lib/components/VLabel/VLabel.mjs.map +1 -1
  138. package/lib/components/VLayout/VLayout.mjs +6 -5
  139. package/lib/components/VLayout/VLayout.mjs.map +1 -1
  140. package/lib/components/VLayout/VLayoutItem.mjs +15 -14
  141. package/lib/components/VLayout/VLayoutItem.mjs.map +1 -1
  142. package/lib/components/VLazy/VLazy.mjs +21 -20
  143. package/lib/components/VLazy/VLazy.mjs.map +1 -1
  144. package/lib/components/VList/VList.mjs +33 -32
  145. package/lib/components/VList/VList.mjs.map +1 -1
  146. package/lib/components/VList/VListChildren.mjs +5 -4
  147. package/lib/components/VList/VListChildren.mjs.map +1 -1
  148. package/lib/components/VList/VListGroup.mjs +2 -4
  149. package/lib/components/VList/VListGroup.mjs.map +1 -1
  150. package/lib/components/VList/VListItem.mjs +42 -41
  151. package/lib/components/VList/VListItem.mjs.map +1 -1
  152. package/lib/components/VList/VListItemAction.mjs +8 -7
  153. package/lib/components/VList/VListItemAction.mjs.map +1 -1
  154. package/lib/components/VList/VListItemMedia.mjs +8 -7
  155. package/lib/components/VList/VListItemMedia.mjs.map +1 -1
  156. package/lib/components/VList/VListSubheader.mjs +10 -9
  157. package/lib/components/VList/VListSubheader.mjs.map +1 -1
  158. package/lib/components/VList/index.d.ts +30 -30
  159. package/lib/components/VLocaleProvider/VLocaleProvider.mjs +12 -11
  160. package/lib/components/VLocaleProvider/VLocaleProvider.mjs.map +1 -1
  161. package/lib/components/VMain/VMain.mjs +9 -8
  162. package/lib/components/VMain/VMain.mjs.map +1 -1
  163. package/lib/components/VMenu/VMenu.mjs +18 -17
  164. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  165. package/lib/components/VMenu/index.d.ts +40 -1030
  166. package/lib/components/VMessages/VMessages.mjs +18 -17
  167. package/lib/components/VMessages/VMessages.mjs.map +1 -1
  168. package/lib/components/VMessages/index.d.ts +25 -1774
  169. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +48 -47
  170. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
  171. package/lib/components/VNavigationDrawer/sticky.mjs +9 -3
  172. package/lib/components/VNavigationDrawer/sticky.mjs.map +1 -1
  173. package/lib/components/VOverlay/locationStrategies.mjs +5 -3
  174. package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
  175. package/lib/components/VPagination/VPagination.mjs +82 -81
  176. package/lib/components/VPagination/VPagination.mjs.map +1 -1
  177. package/lib/components/VPagination/index.d.ts +8 -8
  178. package/lib/components/VParallax/VParallax.mjs +9 -8
  179. package/lib/components/VParallax/VParallax.mjs.map +1 -1
  180. package/lib/components/VProgressCircular/VProgressCircular.mjs +25 -24
  181. package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
  182. package/lib/components/VProgressLinear/VProgressLinear.mjs +44 -42
  183. package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
  184. package/lib/components/VProgressLinear/index.d.ts +8 -8
  185. package/lib/components/VRadio/VRadio.mjs +8 -7
  186. package/lib/components/VRadio/VRadio.mjs.map +1 -1
  187. package/lib/components/VRadio/index.d.ts +18 -12
  188. package/lib/components/VRadioGroup/VRadioGroup.mjs +22 -21
  189. package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
  190. package/lib/components/VRadioGroup/index.d.ts +16 -10
  191. package/lib/components/VRangeSlider/VRangeSlider.mjs +18 -13
  192. package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
  193. package/lib/components/VRating/VRating.mjs +44 -43
  194. package/lib/components/VRating/VRating.mjs.map +1 -1
  195. package/lib/components/VRating/index.d.ts +8 -8
  196. package/lib/components/VResponsive/VResponsive.mjs +8 -7
  197. package/lib/components/VResponsive/VResponsive.mjs.map +1 -1
  198. package/lib/components/VSelect/VSelect.mjs +20 -19
  199. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  200. package/lib/components/VSelect/index.d.ts +64 -2506
  201. package/lib/components/VSelectionControl/index.d.ts +42 -36
  202. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +10 -10
  203. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
  204. package/lib/components/VSelectionControlGroup/index.d.ts +28 -28
  205. package/lib/components/VSheet/VSheet.mjs +1 -3
  206. package/lib/components/VSheet/VSheet.mjs.map +1 -1
  207. package/lib/components/VSlideGroup/VSlideGroupItem.mjs +1 -3
  208. package/lib/components/VSlideGroup/VSlideGroupItem.mjs.map +1 -1
  209. package/lib/components/VSlider/VSlider.mjs +18 -13
  210. package/lib/components/VSlider/VSlider.mjs.map +1 -1
  211. package/lib/components/VSlider/VSliderThumb.mjs +26 -25
  212. package/lib/components/VSlider/VSliderThumb.mjs.map +1 -1
  213. package/lib/components/VSlider/VSliderTrack.mjs +13 -12
  214. package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
  215. package/lib/components/VSnackbar/VSnackbar.mjs +20 -19
  216. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  217. package/lib/components/VSwitch/VSwitch.mjs +13 -12
  218. package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
  219. package/lib/components/VSwitch/index.d.ts +18 -12
  220. package/lib/components/VSystemBar/VSystemBar.mjs +13 -12
  221. package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
  222. package/lib/components/VTable/VTable.mjs +12 -11
  223. package/lib/components/VTable/VTable.mjs.map +1 -1
  224. package/lib/components/VTabs/VTab.mjs +15 -14
  225. package/lib/components/VTabs/VTab.mjs.map +1 -1
  226. package/lib/components/VTabs/VTabs.mjs +28 -27
  227. package/lib/components/VTabs/VTabs.mjs.map +1 -1
  228. package/lib/components/VTabs/index.d.ts +12 -12
  229. package/lib/components/VTextField/index.d.ts +3 -3
  230. package/lib/components/VTextarea/VTextarea.mjs +26 -25
  231. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  232. package/lib/components/VTextarea/index.d.ts +3 -3
  233. package/lib/components/VThemeProvider/VThemeProvider.mjs +8 -7
  234. package/lib/components/VThemeProvider/VThemeProvider.mjs.map +1 -1
  235. package/lib/components/VTimeline/VTimeline.mjs +46 -41
  236. package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
  237. package/lib/components/VTimeline/VTimelineDivider.mjs +14 -13
  238. package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -1
  239. package/lib/components/VTimeline/VTimelineItem.mjs +21 -20
  240. package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
  241. package/lib/components/VToolbar/VToolbar.mjs +6 -2
  242. package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
  243. package/lib/components/VToolbar/VToolbarItems.mjs +8 -7
  244. package/lib/components/VToolbar/VToolbarItems.mjs.map +1 -1
  245. package/lib/components/VToolbar/index.d.ts +11 -11
  246. package/lib/components/VTooltip/VTooltip.mjs +20 -19
  247. package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
  248. package/lib/components/VValidation/VValidation.mjs +1 -3
  249. package/lib/components/VValidation/VValidation.mjs.map +1 -1
  250. package/lib/components/VVirtualScroll/VVirtualScroll.mjs +11 -10
  251. package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
  252. package/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +6 -5
  253. package/lib/components/VVirtualScroll/VVirtualScrollItem.mjs.map +1 -1
  254. package/lib/components/VWindow/VWindow.mjs.map +1 -1
  255. package/lib/components/VWindow/VWindowItem.mjs +15 -14
  256. package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
  257. package/lib/components/VWindow/index.d.ts +9 -9
  258. package/lib/components/index.d.ts +1301 -11252
  259. package/lib/components/transitions/createTransition.mjs +16 -15
  260. package/lib/components/transitions/createTransition.mjs.map +1 -1
  261. package/lib/components/transitions/dialog-transition.mjs +5 -4
  262. package/lib/components/transitions/dialog-transition.mjs.map +1 -1
  263. package/lib/components/transitions/index.d.ts +143 -143
  264. package/lib/composables/forwardRefs.mjs.map +1 -1
  265. package/lib/composables/theme.mjs +3 -3
  266. package/lib/composables/theme.mjs.map +1 -1
  267. package/lib/directives/click-outside/index.mjs +1 -1
  268. package/lib/directives/click-outside/index.mjs.map +1 -1
  269. package/lib/entry-bundler.mjs +1 -1
  270. package/lib/framework.mjs +1 -1
  271. package/lib/index.d.ts +3 -5
  272. package/lib/labs/VDataTable/VDataTable.mjs +53 -59
  273. package/lib/labs/VDataTable/VDataTable.mjs.map +1 -1
  274. package/lib/labs/VDataTable/VDataTableFooter.mjs +64 -63
  275. package/lib/labs/VDataTable/VDataTableFooter.mjs.map +1 -1
  276. package/lib/labs/VDataTable/VDataTableGroupHeaderRow.mjs +8 -7
  277. package/lib/labs/VDataTable/VDataTableGroupHeaderRow.mjs.map +1 -1
  278. package/lib/labs/VDataTable/VDataTableHeaders.mjs +16 -15
  279. package/lib/labs/VDataTable/VDataTableHeaders.mjs.map +1 -1
  280. package/lib/labs/VDataTable/VDataTableRow.mjs +7 -6
  281. package/lib/labs/VDataTable/VDataTableRow.mjs.map +1 -1
  282. package/lib/labs/VDataTable/VDataTableRows.mjs +20 -19
  283. package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
  284. package/lib/labs/VDataTable/VDataTableServer.mjs +53 -64
  285. package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
  286. package/lib/labs/VDataTable/VDataTableVirtual.mjs +65 -72
  287. package/lib/labs/VDataTable/VDataTableVirtual.mjs.map +1 -1
  288. package/lib/labs/VDataTable/index.d.ts +991 -206
  289. package/lib/labs/VInfiniteScroll/VInfiniteScroll.mjs +54 -48
  290. package/lib/labs/VInfiniteScroll/VInfiniteScroll.mjs.map +1 -1
  291. package/lib/labs/VInfiniteScroll/index.d.ts +16 -1
  292. package/lib/labs/VSkeletonLoader/VSkeletonLoader.mjs +18 -17
  293. package/lib/labs/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
  294. package/lib/labs/VSkeletonLoader/index.d.ts +9 -9
  295. package/lib/labs/components.d.ts +1011 -211
  296. package/lib/labs/date/date.mjs +7 -7
  297. package/lib/labs/date/date.mjs.map +1 -1
  298. package/lib/labs/date/index.d.ts +1 -3
  299. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.2.2
2
+ * Vuetify v3.2.3
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -1670,9 +1670,9 @@ const defaultThemeOptions = {
1670
1670
  variables: {
1671
1671
  'border-color': '#FFFFFF',
1672
1672
  'border-opacity': 0.12,
1673
- 'high-emphasis-opacity': 0.87,
1674
- 'medium-emphasis-opacity': 0.60,
1675
- 'disabled-opacity': 0.38,
1673
+ 'high-emphasis-opacity': 1,
1674
+ 'medium-emphasis-opacity': 0.70,
1675
+ 'disabled-opacity': 0.50,
1676
1676
  'idle-opacity': 0.10,
1677
1677
  'hover-opacity': 0.04,
1678
1678
  'focus-opacity': 0.12,
@@ -2201,15 +2201,16 @@ function useRtl() {
2201
2201
  };
2202
2202
  }
2203
2203
 
2204
+ const makeVAppProps = propsFactory({
2205
+ ...makeComponentProps(),
2206
+ ...makeLayoutProps({
2207
+ fullHeight: true
2208
+ }),
2209
+ ...makeThemeProps()
2210
+ }, 'v-app');
2204
2211
  const VApp = genericComponent()({
2205
2212
  name: 'VApp',
2206
- props: {
2207
- ...makeComponentProps(),
2208
- ...makeLayoutProps({
2209
- fullHeight: true
2210
- }),
2211
- ...makeThemeProps()
2212
- },
2213
+ props: makeVAppProps(),
2213
2214
  setup(props, _ref) {
2214
2215
  let {
2215
2216
  slots
@@ -2244,15 +2245,16 @@ const VApp = genericComponent()({
2244
2245
 
2245
2246
  // Types
2246
2247
 
2248
+ const makeDefaultsProviderProps = propsFactory({
2249
+ defaults: Object,
2250
+ disabled: Boolean,
2251
+ reset: [Number, String],
2252
+ root: Boolean,
2253
+ scoped: Boolean
2254
+ }, 'v-defaults-provider');
2247
2255
  const VDefaultsProvider = genericComponent(false)({
2248
2256
  name: 'VDefaultsProvider',
2249
- props: {
2250
- defaults: Object,
2251
- disabled: Boolean,
2252
- reset: [Number, String],
2253
- root: Boolean,
2254
- scoped: Boolean
2255
- },
2257
+ props: makeDefaultsProviderProps(),
2256
2258
  setup(props, _ref) {
2257
2259
  let {
2258
2260
  slots
@@ -2278,25 +2280,23 @@ const VDefaultsProvider = genericComponent(false)({
2278
2280
 
2279
2281
  // Types
2280
2282
 
2283
+ const makeTransitionProps$1 = propsFactory({
2284
+ disabled: Boolean,
2285
+ group: Boolean,
2286
+ hideOnLeave: Boolean,
2287
+ leaveAbsolute: Boolean,
2288
+ mode: String,
2289
+ origin: String
2290
+ }, 'transition');
2281
2291
  function createCssTransition(name) {
2282
2292
  let origin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'center center';
2283
2293
  let mode = arguments.length > 2 ? arguments[2] : undefined;
2284
2294
  return genericComponent()({
2285
2295
  name,
2286
- props: {
2287
- disabled: Boolean,
2288
- group: Boolean,
2289
- hideOnLeave: Boolean,
2290
- leaveAbsolute: Boolean,
2291
- mode: {
2292
- type: String,
2293
- default: mode
2294
- },
2295
- origin: {
2296
- type: String,
2297
- default: origin
2298
- }
2299
- },
2296
+ props: makeTransitionProps$1({
2297
+ mode,
2298
+ origin
2299
+ }),
2300
2300
  setup(props, _ref) {
2301
2301
  let {
2302
2302
  slots
@@ -2454,11 +2454,12 @@ function ExpandTransitionGenerator () {
2454
2454
 
2455
2455
  // Types
2456
2456
 
2457
+ const makeVDialogTransitionProps = propsFactory({
2458
+ target: Object
2459
+ }, 'v-dialog-transition');
2457
2460
  const VDialogTransition = genericComponent()({
2458
2461
  name: 'VDialogTransition',
2459
- props: {
2460
- target: Object
2461
- },
2462
+ props: makeVDialogTransitionProps(),
2462
2463
  setup(props, _ref) {
2463
2464
  let {
2464
2465
  slots
@@ -2648,14 +2649,15 @@ function useAspectStyles(props) {
2648
2649
  })
2649
2650
  };
2650
2651
  }
2652
+ const makeVResponsiveProps = propsFactory({
2653
+ aspectRatio: [String, Number],
2654
+ contentClass: String,
2655
+ ...makeComponentProps(),
2656
+ ...makeDimensionProps()
2657
+ }, 'v-responsive');
2651
2658
  const VResponsive = genericComponent()({
2652
2659
  name: 'VResponsive',
2653
- props: {
2654
- aspectRatio: [String, Number],
2655
- contentClass: String,
2656
- ...makeComponentProps(),
2657
- ...makeDimensionProps()
2658
- },
2660
+ props: makeVResponsiveProps(),
2659
2661
  setup(props, _ref) {
2660
2662
  let {
2661
2663
  slots
@@ -2757,38 +2759,39 @@ const MaybeTransition = (props, _ref) => {
2757
2759
 
2758
2760
  // Types
2759
2761
 
2762
+ const makeVImgProps = propsFactory({
2763
+ aspectRatio: [String, Number],
2764
+ alt: String,
2765
+ cover: Boolean,
2766
+ eager: Boolean,
2767
+ gradient: String,
2768
+ lazySrc: String,
2769
+ options: {
2770
+ type: Object,
2771
+ // For more information on types, navigate to:
2772
+ // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API
2773
+ default: () => ({
2774
+ root: undefined,
2775
+ rootMargin: undefined,
2776
+ threshold: undefined
2777
+ })
2778
+ },
2779
+ sizes: String,
2780
+ src: {
2781
+ type: [String, Object],
2782
+ default: ''
2783
+ },
2784
+ srcset: String,
2785
+ width: [String, Number],
2786
+ ...makeComponentProps(),
2787
+ ...makeTransitionProps()
2788
+ }, 'v-img');
2760
2789
  const VImg = genericComponent()({
2761
2790
  name: 'VImg',
2762
2791
  directives: {
2763
2792
  intersect: Intersect
2764
2793
  },
2765
- props: {
2766
- aspectRatio: [String, Number],
2767
- alt: String,
2768
- cover: Boolean,
2769
- eager: Boolean,
2770
- gradient: String,
2771
- lazySrc: String,
2772
- options: {
2773
- type: Object,
2774
- // For more information on types, navigate to:
2775
- // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API
2776
- default: () => ({
2777
- root: undefined,
2778
- rootMargin: undefined,
2779
- threshold: undefined
2780
- })
2781
- },
2782
- sizes: String,
2783
- src: {
2784
- type: [String, Object],
2785
- default: ''
2786
- },
2787
- srcset: String,
2788
- width: [String, Number],
2789
- ...makeComponentProps(),
2790
- ...makeTransitionProps()
2791
- },
2794
+ props: makeVImgProps(),
2792
2795
  emits: {
2793
2796
  loadstart: value => true,
2794
2797
  load: value => true,
@@ -3240,6 +3243,9 @@ const VToolbar = genericComponent()({
3240
3243
  const {
3241
3244
  themeClasses
3242
3245
  } = provideTheme(props);
3246
+ const {
3247
+ rtlClasses
3248
+ } = useRtl();
3243
3249
  const isExtended = ref(!!(props.extended || slots.extension?.()));
3244
3250
  const contentHeight = computed(() => parseInt(Number(props.height) + (props.density === 'prominent' ? Number(props.height) : 0) - (props.density === 'comfortable' ? 8 : 0) - (props.density === 'compact' ? 16 : 0), 10));
3245
3251
  const extensionHeight = computed(() => isExtended.value ? parseInt(Number(props.extensionHeight) + (props.density === 'prominent' ? Number(props.extensionHeight) : 0) - (props.density === 'comfortable' ? 4 : 0) - (props.density === 'compact' ? 8 : 0), 10) : 0);
@@ -3260,7 +3266,7 @@ const VToolbar = genericComponent()({
3260
3266
  'v-toolbar--flat': props.flat,
3261
3267
  'v-toolbar--floating': props.floating,
3262
3268
  [`v-toolbar--density-${props.density}`]: true
3263
- }, backgroundColorClasses.value, borderClasses.value, elevationClasses.value, roundedClasses.value, themeClasses.value, props.class],
3269
+ }, backgroundColorClasses.value, borderClasses.value, elevationClasses.value, roundedClasses.value, themeClasses.value, rtlClasses.value, props.class],
3264
3270
  "style": [backgroundColorStyles.value, props.style]
3265
3271
  }, {
3266
3272
  default: () => [hasImage && createVNode("div", {
@@ -3438,27 +3444,28 @@ function useSsrBoot() {
3438
3444
 
3439
3445
  // Types
3440
3446
 
3447
+ const makeVAppBarProps = propsFactory({
3448
+ scrollBehavior: String,
3449
+ modelValue: {
3450
+ type: Boolean,
3451
+ default: true
3452
+ },
3453
+ location: {
3454
+ type: String,
3455
+ default: 'top',
3456
+ validator: value => ['top', 'bottom'].includes(value)
3457
+ },
3458
+ ...makeVToolbarProps(),
3459
+ ...makeLayoutItemProps(),
3460
+ ...makeScrollProps(),
3461
+ height: {
3462
+ type: [Number, String],
3463
+ default: 64
3464
+ }
3465
+ }, 'v-app-bar');
3441
3466
  const VAppBar = genericComponent()({
3442
3467
  name: 'VAppBar',
3443
- props: {
3444
- scrollBehavior: String,
3445
- modelValue: {
3446
- type: Boolean,
3447
- default: true
3448
- },
3449
- location: {
3450
- type: String,
3451
- default: 'top',
3452
- validator: value => ['top', 'bottom'].includes(value)
3453
- },
3454
- ...makeVToolbarProps(),
3455
- ...makeLayoutItemProps(),
3456
- ...makeScrollProps(),
3457
- height: {
3458
- type: [Number, String],
3459
- default: 64
3460
- }
3461
- },
3468
+ props: makeVAppBarProps(),
3462
3469
  emits: {
3463
3470
  'update:modelValue': value => true
3464
3471
  },
@@ -3888,12 +3895,13 @@ function getValues(items, ids) {
3888
3895
  // Types
3889
3896
 
3890
3897
  const VBtnToggleSymbol = Symbol.for('vuetify:v-btn-toggle');
3898
+ const makeVBtnToggleProps = propsFactory({
3899
+ ...makeVBtnGroupProps(),
3900
+ ...makeGroupProps()
3901
+ }, 'v-btn-toggle');
3891
3902
  const VBtnToggle = genericComponent()({
3892
3903
  name: 'VBtnToggle',
3893
- props: {
3894
- ...makeVBtnGroupProps(),
3895
- ...makeGroupProps()
3896
- },
3904
+ props: makeVBtnToggleProps(),
3897
3905
  emits: {
3898
3906
  'update:modelValue': value => true
3899
3907
  },
@@ -4247,31 +4255,32 @@ function useIntersectionObserver(callback, options) {
4247
4255
 
4248
4256
  // Types
4249
4257
 
4258
+ const makeVProgressCircularProps = propsFactory({
4259
+ bgColor: String,
4260
+ color: String,
4261
+ indeterminate: [Boolean, String],
4262
+ modelValue: {
4263
+ type: [Number, String],
4264
+ default: 0
4265
+ },
4266
+ rotate: {
4267
+ type: [Number, String],
4268
+ default: 0
4269
+ },
4270
+ width: {
4271
+ type: [Number, String],
4272
+ default: 4
4273
+ },
4274
+ ...makeComponentProps(),
4275
+ ...makeSizeProps(),
4276
+ ...makeTagProps({
4277
+ tag: 'div'
4278
+ }),
4279
+ ...makeThemeProps()
4280
+ }, 'v-progress-circular');
4250
4281
  const VProgressCircular = genericComponent()({
4251
4282
  name: 'VProgressCircular',
4252
- props: {
4253
- bgColor: String,
4254
- color: String,
4255
- indeterminate: [Boolean, String],
4256
- modelValue: {
4257
- type: [Number, String],
4258
- default: 0
4259
- },
4260
- rotate: {
4261
- type: [Number, String],
4262
- default: 0
4263
- },
4264
- width: {
4265
- type: [Number, String],
4266
- default: 4
4267
- },
4268
- ...makeComponentProps(),
4269
- ...makeSizeProps(),
4270
- ...makeTagProps({
4271
- tag: 'div'
4272
- }),
4273
- ...makeThemeProps()
4274
- },
4283
+ props: makeVProgressCircularProps(),
4275
4284
  setup(props, _ref) {
4276
4285
  let {
4277
4286
  slots
@@ -4708,47 +4717,48 @@ function useLocation(props) {
4708
4717
  };
4709
4718
  }
4710
4719
 
4720
+ const makeVProgressLinearProps = propsFactory({
4721
+ absolute: Boolean,
4722
+ active: {
4723
+ type: Boolean,
4724
+ default: true
4725
+ },
4726
+ bgColor: String,
4727
+ bgOpacity: [Number, String],
4728
+ bufferValue: {
4729
+ type: [Number, String],
4730
+ default: 0
4731
+ },
4732
+ clickable: Boolean,
4733
+ color: String,
4734
+ height: {
4735
+ type: [Number, String],
4736
+ default: 4
4737
+ },
4738
+ indeterminate: Boolean,
4739
+ max: {
4740
+ type: [Number, String],
4741
+ default: 100
4742
+ },
4743
+ modelValue: {
4744
+ type: [Number, String],
4745
+ default: 0
4746
+ },
4747
+ reverse: Boolean,
4748
+ stream: Boolean,
4749
+ striped: Boolean,
4750
+ roundedBar: Boolean,
4751
+ ...makeComponentProps(),
4752
+ ...makeLocationProps({
4753
+ location: 'top'
4754
+ }),
4755
+ ...makeRoundedProps(),
4756
+ ...makeTagProps(),
4757
+ ...makeThemeProps()
4758
+ }, 'v-progress-linear');
4711
4759
  const VProgressLinear = genericComponent()({
4712
4760
  name: 'VProgressLinear',
4713
- props: {
4714
- absolute: Boolean,
4715
- active: {
4716
- type: Boolean,
4717
- default: true
4718
- },
4719
- bgColor: String,
4720
- bgOpacity: [Number, String],
4721
- bufferValue: {
4722
- type: [Number, String],
4723
- default: 0
4724
- },
4725
- clickable: Boolean,
4726
- color: String,
4727
- height: {
4728
- type: [Number, String],
4729
- default: 4
4730
- },
4731
- indeterminate: Boolean,
4732
- max: {
4733
- type: [Number, String],
4734
- default: 100
4735
- },
4736
- modelValue: {
4737
- type: [Number, String],
4738
- default: 0
4739
- },
4740
- reverse: Boolean,
4741
- stream: Boolean,
4742
- striped: Boolean,
4743
- roundedBar: Boolean,
4744
- ...makeComponentProps(),
4745
- ...makeLocationProps({
4746
- location: 'top'
4747
- }),
4748
- ...makeRoundedProps(),
4749
- ...makeTagProps(),
4750
- ...makeThemeProps()
4751
- },
4761
+ props: makeVProgressLinearProps(),
4752
4762
  emits: {
4753
4763
  'update:modelValue': value => true
4754
4764
  },
@@ -4758,7 +4768,8 @@ const VProgressLinear = genericComponent()({
4758
4768
  } = _ref;
4759
4769
  const progress = useProxiedModel(props, 'modelValue');
4760
4770
  const {
4761
- isRtl
4771
+ isRtl,
4772
+ rtlClasses
4762
4773
  } = useRtl();
4763
4774
  const {
4764
4775
  themeClasses
@@ -4813,7 +4824,7 @@ const VProgressLinear = genericComponent()({
4813
4824
  'v-progress-linear--rounded': props.rounded,
4814
4825
  'v-progress-linear--rounded-bar': props.roundedBar,
4815
4826
  'v-progress-linear--striped': props.striped
4816
- }, roundedClasses.value, themeClasses.value, props.class],
4827
+ }, roundedClasses.value, themeClasses.value, rtlClasses.value, props.class],
4817
4828
  "style": [{
4818
4829
  bottom: props.location === 'bottom' ? 0 : undefined,
4819
4830
  top: props.location === 'top' ? 0 : undefined,
@@ -5210,12 +5221,15 @@ const VBtn = genericComponent()({
5210
5221
 
5211
5222
  // Types
5212
5223
 
5213
- const VAppBarNavIcon = genericComponent()({
5214
- name: 'VAppBarNavIcon',
5215
- props: makeVBtnProps({
5224
+ const makeVAppBarNavIconProps = propsFactory({
5225
+ ...makeVBtnProps({
5216
5226
  icon: '$menu',
5217
5227
  variant: 'text'
5218
- }),
5228
+ })
5229
+ }, 'v-app-bar-nav-icon');
5230
+ const VAppBarNavIcon = genericComponent()({
5231
+ name: 'VAppBarNavIcon',
5232
+ props: makeVAppBarNavIconProps(),
5219
5233
  setup(props, _ref) {
5220
5234
  let {
5221
5235
  slots
@@ -5227,14 +5241,15 @@ const VAppBarNavIcon = genericComponent()({
5227
5241
  }
5228
5242
  });
5229
5243
 
5244
+ const makeVToolbarItemsProps = propsFactory({
5245
+ ...makeComponentProps(),
5246
+ ...makeVariantProps({
5247
+ variant: 'text'
5248
+ })
5249
+ }, 'v-toolbar-items');
5230
5250
  const VToolbarItems = genericComponent()({
5231
5251
  name: 'VToolbarItems',
5232
- props: {
5233
- ...makeComponentProps(),
5234
- ...makeVariantProps({
5235
- variant: 'text'
5236
- })
5237
- },
5252
+ props: makeVToolbarItemsProps(),
5238
5253
  setup(props, _ref) {
5239
5254
  let {
5240
5255
  slots
@@ -5276,53 +5291,54 @@ const VAlertTitle = createSimpleFunctional('v-alert-title');
5276
5291
  // Types
5277
5292
 
5278
5293
  const allowedTypes = ['success', 'info', 'warning', 'error'];
5294
+ const makeVAlertProps = propsFactory({
5295
+ border: {
5296
+ type: [Boolean, String],
5297
+ validator: val => {
5298
+ return typeof val === 'boolean' || ['top', 'end', 'bottom', 'start'].includes(val);
5299
+ }
5300
+ },
5301
+ borderColor: String,
5302
+ closable: Boolean,
5303
+ closeIcon: {
5304
+ type: IconValue,
5305
+ default: '$close'
5306
+ },
5307
+ closeLabel: {
5308
+ type: String,
5309
+ default: '$vuetify.close'
5310
+ },
5311
+ icon: {
5312
+ type: [Boolean, String, Function, Object],
5313
+ default: null
5314
+ },
5315
+ modelValue: {
5316
+ type: Boolean,
5317
+ default: true
5318
+ },
5319
+ prominent: Boolean,
5320
+ title: String,
5321
+ text: String,
5322
+ type: {
5323
+ type: String,
5324
+ validator: val => allowedTypes.includes(val)
5325
+ },
5326
+ ...makeComponentProps(),
5327
+ ...makeDensityProps(),
5328
+ ...makeDimensionProps(),
5329
+ ...makeElevationProps(),
5330
+ ...makeLocationProps(),
5331
+ ...makePositionProps(),
5332
+ ...makeRoundedProps(),
5333
+ ...makeTagProps(),
5334
+ ...makeThemeProps(),
5335
+ ...makeVariantProps({
5336
+ variant: 'flat'
5337
+ })
5338
+ }, 'v-alert');
5279
5339
  const VAlert = genericComponent()({
5280
5340
  name: 'VAlert',
5281
- props: {
5282
- border: {
5283
- type: [Boolean, String],
5284
- validator: val => {
5285
- return typeof val === 'boolean' || ['top', 'end', 'bottom', 'start'].includes(val);
5286
- }
5287
- },
5288
- borderColor: String,
5289
- closable: Boolean,
5290
- closeIcon: {
5291
- type: IconValue,
5292
- default: '$close'
5293
- },
5294
- closeLabel: {
5295
- type: String,
5296
- default: '$vuetify.close'
5297
- },
5298
- icon: {
5299
- type: [Boolean, String, Function, Object],
5300
- default: null
5301
- },
5302
- modelValue: {
5303
- type: Boolean,
5304
- default: true
5305
- },
5306
- prominent: Boolean,
5307
- title: String,
5308
- text: String,
5309
- type: {
5310
- type: String,
5311
- validator: val => allowedTypes.includes(val)
5312
- },
5313
- ...makeComponentProps(),
5314
- ...makeDensityProps(),
5315
- ...makeDimensionProps(),
5316
- ...makeElevationProps(),
5317
- ...makeLocationProps(),
5318
- ...makePositionProps(),
5319
- ...makeRoundedProps(),
5320
- ...makeTagProps(),
5321
- ...makeThemeProps(),
5322
- ...makeVariantProps({
5323
- variant: 'flat'
5324
- })
5325
- },
5341
+ props: makeVAlertProps(),
5326
5342
  emits: {
5327
5343
  'click:close': e => true,
5328
5344
  'update:modelValue': value => true
@@ -5483,14 +5499,15 @@ function useInputIcon(props) {
5483
5499
  };
5484
5500
  }
5485
5501
 
5502
+ const makeVLabelProps = propsFactory({
5503
+ text: String,
5504
+ clickable: Boolean,
5505
+ ...makeComponentProps(),
5506
+ ...makeThemeProps()
5507
+ }, 'v-label');
5486
5508
  const VLabel = genericComponent()({
5487
5509
  name: 'VLabel',
5488
- props: {
5489
- text: String,
5490
- clickable: Boolean,
5491
- ...makeComponentProps(),
5492
- ...makeThemeProps()
5493
- },
5510
+ props: makeVLabelProps(),
5494
5511
  setup(props, _ref) {
5495
5512
  let {
5496
5513
  slots
@@ -5505,12 +5522,13 @@ const VLabel = genericComponent()({
5505
5522
  }
5506
5523
  });
5507
5524
 
5525
+ const makeVFieldLabelProps = propsFactory({
5526
+ floating: Boolean,
5527
+ ...makeComponentProps()
5528
+ }, 'v-field-label');
5508
5529
  const VFieldLabel = genericComponent()({
5509
5530
  name: 'VFieldLabel',
5510
- props: {
5511
- floating: Boolean,
5512
- ...makeComponentProps()
5513
- },
5531
+ props: makeVFieldLabelProps(),
5514
5532
  setup(props, _ref) {
5515
5533
  let {
5516
5534
  slots
@@ -5629,6 +5647,9 @@ const VField = genericComponent()({
5629
5647
  const {
5630
5648
  roundedClasses
5631
5649
  } = useRounded(props);
5650
+ const {
5651
+ rtlClasses
5652
+ } = useRtl();
5632
5653
  const isActive = computed(() => props.dirty || props.active);
5633
5654
  const hasLabel = computed(() => !props.singleLine && !!(props.label || slots.label));
5634
5655
  const uid = getUid();
@@ -5722,7 +5743,7 @@ const VField = genericComponent()({
5722
5743
  'v-field--single-line': props.singleLine,
5723
5744
  'v-field--no-label': !label,
5724
5745
  [`v-field--variant-${props.variant}`]: true
5725
- }, themeClasses.value, backgroundColorClasses.value, focusClasses.value, loaderClasses.value, roundedClasses.value, props.class],
5746
+ }, themeClasses.value, backgroundColorClasses.value, focusClasses.value, loaderClasses.value, roundedClasses.value, rtlClasses.value, props.class],
5726
5747
  "style": [backgroundColorStyles.value, textColorStyles.value, props.style],
5727
5748
  "onClick": onClick
5728
5749
  }, attrs), [createVNode("div", {
@@ -5817,24 +5838,25 @@ function filterFieldProps(attrs) {
5817
5838
 
5818
5839
  // Types
5819
5840
 
5841
+ const makeVMessagesProps = propsFactory({
5842
+ active: Boolean,
5843
+ color: String,
5844
+ messages: {
5845
+ type: [Array, String],
5846
+ default: () => []
5847
+ },
5848
+ ...makeComponentProps(),
5849
+ ...makeTransitionProps({
5850
+ transition: {
5851
+ component: VSlideYTransition,
5852
+ leaveAbsolute: true,
5853
+ group: true
5854
+ }
5855
+ })
5856
+ }, 'v-messages');
5820
5857
  const VMessages = genericComponent()({
5821
5858
  name: 'VMessages',
5822
- props: {
5823
- active: Boolean,
5824
- color: String,
5825
- messages: {
5826
- type: [Array, String],
5827
- default: () => []
5828
- },
5829
- ...makeComponentProps(),
5830
- ...makeTransitionProps({
5831
- transition: {
5832
- component: VSlideYTransition,
5833
- leaveAbsolute: true,
5834
- group: true
5835
- }
5836
- })
5837
- },
5859
+ props: makeVMessagesProps(),
5838
5860
  setup(props, _ref) {
5839
5861
  let {
5840
5862
  slots
@@ -6246,23 +6268,24 @@ const VInput = genericComponent()({
6246
6268
  }
6247
6269
  });
6248
6270
 
6271
+ const makeVCounterProps = propsFactory({
6272
+ active: Boolean,
6273
+ max: [Number, String],
6274
+ value: {
6275
+ type: [Number, String],
6276
+ default: 0
6277
+ },
6278
+ ...makeComponentProps(),
6279
+ ...makeTransitionProps({
6280
+ transition: {
6281
+ component: VSlideYTransition
6282
+ }
6283
+ })
6284
+ }, 'v-counter');
6249
6285
  const VCounter = genericComponent()({
6250
6286
  name: 'VCounter',
6251
6287
  functional: true,
6252
- props: {
6253
- active: Boolean,
6254
- max: [Number, String],
6255
- value: {
6256
- type: [Number, String],
6257
- default: 0
6258
- },
6259
- ...makeComponentProps(),
6260
- ...makeTransitionProps({
6261
- transition: {
6262
- component: VSlideYTransition
6263
- }
6264
- })
6265
- },
6288
+ props: makeVCounterProps(),
6266
6289
  setup(props, _ref) {
6267
6290
  let {
6268
6291
  slots
@@ -6564,6 +6587,7 @@ const VSelectionControlGroupSymbol = Symbol.for('vuetify:selection-control-group
6564
6587
  const makeSelectionControlGroupProps = propsFactory({
6565
6588
  color: String,
6566
6589
  disabled: Boolean,
6590
+ defaultsTarget: String,
6567
6591
  error: Boolean,
6568
6592
  id: String,
6569
6593
  inline: Boolean,
@@ -6585,19 +6609,18 @@ const makeSelectionControlGroupProps = propsFactory({
6585
6609
  type: Function,
6586
6610
  default: deepEqual
6587
6611
  },
6588
- ...makeThemeProps(),
6589
- ...makeDensityProps()
6612
+ ...makeComponentProps(),
6613
+ ...makeDensityProps(),
6614
+ ...makeThemeProps()
6615
+ }, 'selection-control-group');
6616
+ const makeVSelectionControlGroupProps = propsFactory({
6617
+ ...makeSelectionControlGroupProps({
6618
+ defaultsTarget: 'VSelectionControl'
6619
+ })
6590
6620
  }, 'v-selection-control-group');
6591
6621
  const VSelectionControlGroup = genericComponent()({
6592
6622
  name: 'VSelectionControlGroup',
6593
- props: {
6594
- defaultsTarget: {
6595
- type: String,
6596
- default: 'VSelectionControl'
6597
- },
6598
- ...makeComponentProps(),
6599
- ...makeSelectionControlGroupProps()
6600
- },
6623
+ props: makeVSelectionControlGroupProps(),
6601
6624
  emits: {
6602
6625
  'update:modelValue': val => true
6603
6626
  },
@@ -6871,13 +6894,14 @@ const VCheckboxBtn = genericComponent()({
6871
6894
 
6872
6895
  // Types
6873
6896
 
6897
+ const makeVCheckboxProps = propsFactory({
6898
+ ...makeVInputProps(),
6899
+ ...omit(makeVCheckboxBtnProps(), ['inline'])
6900
+ }, 'v-checkbox');
6874
6901
  const VCheckbox = genericComponent()({
6875
6902
  name: 'VCheckbox',
6876
6903
  inheritAttrs: false,
6877
- props: {
6878
- ...makeVInputProps(),
6879
- ...omit(makeVCheckboxBtnProps(), ['inline'])
6880
- },
6904
+ props: makeVCheckboxProps(),
6881
6905
  emits: {
6882
6906
  'update:focused': focused => true
6883
6907
  },
@@ -6992,25 +7016,26 @@ const VAvatar = genericComponent()({
6992
7016
  // Types
6993
7017
 
6994
7018
  const VChipGroupSymbol = Symbol.for('vuetify:v-chip-group');
7019
+ const makeVChipGroupProps = propsFactory({
7020
+ column: Boolean,
7021
+ filter: Boolean,
7022
+ valueComparator: {
7023
+ type: Function,
7024
+ default: deepEqual
7025
+ },
7026
+ ...makeComponentProps(),
7027
+ ...makeGroupProps({
7028
+ selectedClass: 'v-chip--selected'
7029
+ }),
7030
+ ...makeTagProps(),
7031
+ ...makeThemeProps(),
7032
+ ...makeVariantProps({
7033
+ variant: 'tonal'
7034
+ })
7035
+ }, 'v-chip-group');
6995
7036
  const VChipGroup = genericComponent()({
6996
7037
  name: 'VChipGroup',
6997
- props: {
6998
- column: Boolean,
6999
- filter: Boolean,
7000
- valueComparator: {
7001
- type: Function,
7002
- default: deepEqual
7003
- },
7004
- ...makeComponentProps(),
7005
- ...makeGroupProps({
7006
- selectedClass: 'v-chip--selected'
7007
- }),
7008
- ...makeTagProps(),
7009
- ...makeThemeProps(),
7010
- ...makeVariantProps({
7011
- variant: 'tonal'
7012
- })
7013
- },
7038
+ props: makeVChipGroupProps(),
7014
7039
  emits: {
7015
7040
  'update:modelValue': value => true
7016
7041
  },
@@ -7054,65 +7079,66 @@ const VChipGroup = genericComponent()({
7054
7079
  }
7055
7080
  });
7056
7081
 
7057
- const VChip = genericComponent()({
7058
- name: 'VChip',
7059
- directives: {
7060
- Ripple
7082
+ const makeVChipProps = propsFactory({
7083
+ activeClass: String,
7084
+ appendAvatar: String,
7085
+ appendIcon: IconValue,
7086
+ closable: Boolean,
7087
+ closeIcon: {
7088
+ type: IconValue,
7089
+ default: '$delete'
7061
7090
  },
7062
- props: {
7063
- activeClass: String,
7064
- appendAvatar: String,
7065
- appendIcon: IconValue,
7066
- closable: Boolean,
7067
- closeIcon: {
7068
- type: IconValue,
7069
- default: '$delete'
7070
- },
7071
- closeLabel: {
7072
- type: String,
7073
- default: '$vuetify.close'
7074
- },
7075
- draggable: Boolean,
7076
- filter: Boolean,
7077
- filterIcon: {
7078
- type: String,
7079
- default: '$complete'
7080
- },
7081
- label: Boolean,
7082
- link: {
7083
- type: Boolean,
7084
- default: undefined
7085
- },
7086
- pill: Boolean,
7087
- prependAvatar: String,
7088
- prependIcon: IconValue,
7089
- ripple: {
7090
- type: Boolean,
7091
- default: true
7092
- },
7093
- text: String,
7094
- modelValue: {
7095
- type: Boolean,
7096
- default: true
7097
- },
7098
- onClick: EventProp(),
7099
- onClickOnce: EventProp(),
7100
- ...makeBorderProps(),
7101
- ...makeComponentProps(),
7102
- ...makeDensityProps(),
7103
- ...makeElevationProps(),
7104
- ...makeGroupItemProps(),
7105
- ...makeRoundedProps(),
7106
- ...makeRouterProps(),
7107
- ...makeSizeProps(),
7108
- ...makeTagProps({
7109
- tag: 'span'
7110
- }),
7111
- ...makeThemeProps(),
7112
- ...makeVariantProps({
7113
- variant: 'tonal'
7114
- })
7091
+ closeLabel: {
7092
+ type: String,
7093
+ default: '$vuetify.close'
7094
+ },
7095
+ draggable: Boolean,
7096
+ filter: Boolean,
7097
+ filterIcon: {
7098
+ type: String,
7099
+ default: '$complete'
7100
+ },
7101
+ label: Boolean,
7102
+ link: {
7103
+ type: Boolean,
7104
+ default: undefined
7105
+ },
7106
+ pill: Boolean,
7107
+ prependAvatar: String,
7108
+ prependIcon: IconValue,
7109
+ ripple: {
7110
+ type: Boolean,
7111
+ default: true
7112
+ },
7113
+ text: String,
7114
+ modelValue: {
7115
+ type: Boolean,
7116
+ default: true
7117
+ },
7118
+ onClick: EventProp(),
7119
+ onClickOnce: EventProp(),
7120
+ ...makeBorderProps(),
7121
+ ...makeComponentProps(),
7122
+ ...makeDensityProps(),
7123
+ ...makeElevationProps(),
7124
+ ...makeGroupItemProps(),
7125
+ ...makeRoundedProps(),
7126
+ ...makeRouterProps(),
7127
+ ...makeSizeProps(),
7128
+ ...makeTagProps({
7129
+ tag: 'span'
7130
+ }),
7131
+ ...makeThemeProps(),
7132
+ ...makeVariantProps({
7133
+ variant: 'tonal'
7134
+ })
7135
+ }, 'v-chip');
7136
+ const VChip = genericComponent()({
7137
+ name: 'VChip',
7138
+ directives: {
7139
+ Ripple
7115
7140
  },
7141
+ props: makeVChipProps(),
7116
7142
  emits: {
7117
7143
  'click:close': e => true,
7118
7144
  'update:modelValue': value => true,
@@ -7241,14 +7267,16 @@ const VChip = genericComponent()({
7241
7267
  start: true
7242
7268
  }
7243
7269
  }
7244
- }, slots.prepend)]), slots.default?.({
7270
+ }, slots.prepend)]), createVNode("div", {
7271
+ "class": "v-chip__content"
7272
+ }, [slots.default?.({
7245
7273
  isSelected: group?.isSelected.value,
7246
7274
  selectedClass: group?.selectedClass.value,
7247
7275
  select: group?.select,
7248
7276
  toggle: group?.toggle,
7249
7277
  value: group?.value.value,
7250
7278
  disabled: props.disabled
7251
- }) ?? props.text, hasAppend && createVNode("div", {
7279
+ }) ?? props.text]), hasAppend && createVNode("div", {
7252
7280
  "key": "append",
7253
7281
  "class": "v-chip__append"
7254
7282
  }, [!slots.append ? createVNode(Fragment, null, [props.appendIcon && createVNode(VIcon, {
@@ -7293,17 +7321,18 @@ const VChip = genericComponent()({
7293
7321
  }
7294
7322
  });
7295
7323
 
7324
+ const makeVDividerProps = propsFactory({
7325
+ color: String,
7326
+ inset: Boolean,
7327
+ length: [Number, String],
7328
+ thickness: [Number, String],
7329
+ vertical: Boolean,
7330
+ ...makeComponentProps(),
7331
+ ...makeThemeProps()
7332
+ }, 'v-divider');
7296
7333
  const VDivider = genericComponent()({
7297
7334
  name: 'VDivider',
7298
- props: {
7299
- color: String,
7300
- inset: Boolean,
7301
- length: [Number, String],
7302
- thickness: [Number, String],
7303
- vertical: Boolean,
7304
- ...makeComponentProps(),
7305
- ...makeThemeProps()
7306
- },
7335
+ props: makeVDividerProps(),
7307
7336
  setup(props, _ref) {
7308
7337
  let {
7309
7338
  attrs
@@ -7829,16 +7858,14 @@ const makeVListGroupProps = propsFactory({
7829
7858
  appendIcon: IconValue,
7830
7859
  fluid: Boolean,
7831
7860
  subgroup: Boolean,
7861
+ title: String,
7832
7862
  value: null,
7833
7863
  ...makeComponentProps(),
7834
7864
  ...makeTagProps()
7835
7865
  }, 'v-list-group');
7836
7866
  const VListGroup = genericComponent()({
7837
7867
  name: 'VListGroup',
7838
- props: {
7839
- title: String,
7840
- ...makeVListGroupProps()
7841
- },
7868
+ props: makeVListGroupProps(),
7842
7869
  setup(props, _ref2) {
7843
7870
  let {
7844
7871
  slots
@@ -7914,51 +7941,52 @@ const VListItemTitle = createSimpleFunctional('v-list-item-title');
7914
7941
 
7915
7942
  // Types
7916
7943
 
7944
+ const makeVListItemProps = propsFactory({
7945
+ active: {
7946
+ type: Boolean,
7947
+ default: undefined
7948
+ },
7949
+ activeClass: String,
7950
+ activeColor: String,
7951
+ appendAvatar: String,
7952
+ appendIcon: IconValue,
7953
+ disabled: Boolean,
7954
+ lines: String,
7955
+ link: {
7956
+ type: Boolean,
7957
+ default: undefined
7958
+ },
7959
+ nav: Boolean,
7960
+ prependAvatar: String,
7961
+ prependIcon: IconValue,
7962
+ ripple: {
7963
+ type: Boolean,
7964
+ default: true
7965
+ },
7966
+ subtitle: [String, Number, Boolean],
7967
+ title: [String, Number, Boolean],
7968
+ value: null,
7969
+ onClick: EventProp(),
7970
+ onClickOnce: EventProp(),
7971
+ ...makeBorderProps(),
7972
+ ...makeComponentProps(),
7973
+ ...makeDensityProps(),
7974
+ ...makeDimensionProps(),
7975
+ ...makeElevationProps(),
7976
+ ...makeRoundedProps(),
7977
+ ...makeRouterProps(),
7978
+ ...makeTagProps(),
7979
+ ...makeThemeProps(),
7980
+ ...makeVariantProps({
7981
+ variant: 'text'
7982
+ })
7983
+ }, 'v-list-item');
7917
7984
  const VListItem = genericComponent()({
7918
7985
  name: 'VListItem',
7919
7986
  directives: {
7920
7987
  Ripple
7921
7988
  },
7922
- props: {
7923
- active: {
7924
- type: Boolean,
7925
- default: undefined
7926
- },
7927
- activeClass: String,
7928
- activeColor: String,
7929
- appendAvatar: String,
7930
- appendIcon: IconValue,
7931
- disabled: Boolean,
7932
- lines: String,
7933
- link: {
7934
- type: Boolean,
7935
- default: undefined
7936
- },
7937
- nav: Boolean,
7938
- prependAvatar: String,
7939
- prependIcon: IconValue,
7940
- ripple: {
7941
- type: Boolean,
7942
- default: true
7943
- },
7944
- subtitle: [String, Number, Boolean],
7945
- title: [String, Number, Boolean],
7946
- value: null,
7947
- onClick: EventProp(),
7948
- onClickOnce: EventProp(),
7949
- ...makeBorderProps(),
7950
- ...makeComponentProps(),
7951
- ...makeDensityProps(),
7952
- ...makeDimensionProps(),
7953
- ...makeElevationProps(),
7954
- ...makeRoundedProps(),
7955
- ...makeRouterProps(),
7956
- ...makeTagProps(),
7957
- ...makeThemeProps(),
7958
- ...makeVariantProps({
7959
- variant: 'text'
7960
- })
7961
- },
7989
+ props: makeVListItemProps(),
7962
7990
  emits: {
7963
7991
  click: e => true
7964
7992
  },
@@ -8145,16 +8173,17 @@ const VListItem = genericComponent()({
8145
8173
  }
8146
8174
  });
8147
8175
 
8176
+ const makeVListSubheaderProps = propsFactory({
8177
+ color: String,
8178
+ inset: Boolean,
8179
+ sticky: Boolean,
8180
+ title: String,
8181
+ ...makeComponentProps(),
8182
+ ...makeTagProps()
8183
+ }, 'v-list-subheader');
8148
8184
  const VListSubheader = genericComponent()({
8149
8185
  name: 'VListSubheader',
8150
- props: {
8151
- color: String,
8152
- inset: Boolean,
8153
- sticky: Boolean,
8154
- title: String,
8155
- ...makeComponentProps(),
8156
- ...makeTagProps()
8157
- },
8186
+ props: makeVListSubheaderProps(),
8158
8187
  setup(props, _ref) {
8159
8188
  let {
8160
8189
  slots
@@ -8185,11 +8214,12 @@ const VListSubheader = genericComponent()({
8185
8214
 
8186
8215
  // Types
8187
8216
 
8217
+ const makeVListChildrenProps = propsFactory({
8218
+ items: Array
8219
+ }, 'v-list-children');
8188
8220
  const VListChildren = genericComponent()({
8189
8221
  name: 'VListChildren',
8190
- props: {
8191
- items: Array
8192
- },
8222
+ props: makeVListChildrenProps(),
8193
8223
  setup(props, _ref) {
8194
8224
  let {
8195
8225
  slots
@@ -8375,39 +8405,40 @@ function useListItems(props) {
8375
8405
  items
8376
8406
  };
8377
8407
  }
8408
+ const makeVListProps = propsFactory({
8409
+ activeColor: String,
8410
+ activeClass: String,
8411
+ bgColor: String,
8412
+ disabled: Boolean,
8413
+ lines: {
8414
+ type: [Boolean, String],
8415
+ default: 'one'
8416
+ },
8417
+ nav: Boolean,
8418
+ ...makeNestedProps({
8419
+ selectStrategy: 'single-leaf',
8420
+ openStrategy: 'list'
8421
+ }),
8422
+ ...makeBorderProps(),
8423
+ ...makeComponentProps(),
8424
+ ...makeDensityProps(),
8425
+ ...makeDimensionProps(),
8426
+ ...makeElevationProps(),
8427
+ itemType: {
8428
+ type: String,
8429
+ default: 'type'
8430
+ },
8431
+ ...makeItemsProps(),
8432
+ ...makeRoundedProps(),
8433
+ ...makeTagProps(),
8434
+ ...makeThemeProps(),
8435
+ ...makeVariantProps({
8436
+ variant: 'text'
8437
+ })
8438
+ }, 'v-list');
8378
8439
  const VList = genericComponent()({
8379
8440
  name: 'VList',
8380
- props: {
8381
- activeColor: String,
8382
- activeClass: String,
8383
- bgColor: String,
8384
- disabled: Boolean,
8385
- lines: {
8386
- type: [Boolean, String],
8387
- default: 'one'
8388
- },
8389
- nav: Boolean,
8390
- ...makeNestedProps({
8391
- selectStrategy: 'single-leaf',
8392
- openStrategy: 'list'
8393
- }),
8394
- ...makeBorderProps(),
8395
- ...makeComponentProps(),
8396
- ...makeDensityProps(),
8397
- ...makeDimensionProps(),
8398
- ...makeElevationProps(),
8399
- itemType: {
8400
- type: String,
8401
- default: 'type'
8402
- },
8403
- ...makeItemsProps(),
8404
- ...makeRoundedProps(),
8405
- ...makeTagProps(),
8406
- ...makeThemeProps(),
8407
- ...makeVariantProps({
8408
- variant: 'text'
8409
- })
8410
- },
8441
+ props: makeVListProps(),
8411
8442
  emits: {
8412
8443
  'update:selected': val => true,
8413
8444
  'update:opened': val => true,
@@ -8528,14 +8559,15 @@ const VList = genericComponent()({
8528
8559
 
8529
8560
  const VListImg = createSimpleFunctional('v-list-img');
8530
8561
 
8562
+ const makeVListItemActionProps = propsFactory({
8563
+ start: Boolean,
8564
+ end: Boolean,
8565
+ ...makeComponentProps(),
8566
+ ...makeTagProps()
8567
+ }, 'v-list-item-action');
8531
8568
  const VListItemAction = genericComponent()({
8532
8569
  name: 'VListItemAction',
8533
- props: {
8534
- start: Boolean,
8535
- end: Boolean,
8536
- ...makeComponentProps(),
8537
- ...makeTagProps()
8538
- },
8570
+ props: makeVListItemActionProps(),
8539
8571
  setup(props, _ref) {
8540
8572
  let {
8541
8573
  slots
@@ -8551,14 +8583,15 @@ const VListItemAction = genericComponent()({
8551
8583
  }
8552
8584
  });
8553
8585
 
8586
+ const makeVListItemMediaProps = propsFactory({
8587
+ start: Boolean,
8588
+ end: Boolean,
8589
+ ...makeComponentProps(),
8590
+ ...makeTagProps()
8591
+ }, 'v-list-item-media');
8554
8592
  const VListItemMedia = genericComponent()({
8555
8593
  name: 'VListItemMedia',
8556
- props: {
8557
- start: Boolean,
8558
- end: Boolean,
8559
- ...makeComponentProps(),
8560
- ...makeTagProps()
8561
- },
8594
+ props: makeVListItemMediaProps(),
8562
8595
  setup(props, _ref) {
8563
8596
  let {
8564
8597
  slots
@@ -9020,7 +9053,9 @@ function connectedLocationStrategy(data, props, contentStyles) {
9020
9053
  const activatorFixed = isFixedPosition(data.activatorEl.value);
9021
9054
  if (activatorFixed) {
9022
9055
  Object.assign(contentStyles.value, {
9023
- position: 'fixed'
9056
+ position: 'fixed',
9057
+ top: 0,
9058
+ left: 0
9024
9059
  });
9025
9060
  }
9026
9061
  const {
@@ -9092,8 +9127,8 @@ function connectedLocationStrategy(data, props, contentStyles) {
9092
9127
  if (!scrollParents.length) {
9093
9128
  scrollParents.push(document.documentElement);
9094
9129
  if (!(data.contentEl.value.style.top && data.contentEl.value.style.left)) {
9095
- contentBox.x += parseFloat(document.documentElement.style.getPropertyValue('--v-body-scroll-x') || 0);
9096
- contentBox.y += parseFloat(document.documentElement.style.getPropertyValue('--v-body-scroll-y') || 0);
9130
+ contentBox.x -= parseFloat(document.documentElement.style.getPropertyValue('--v-body-scroll-x') || 0);
9131
+ contentBox.y -= parseFloat(document.documentElement.style.getPropertyValue('--v-body-scroll-y') || 0);
9097
9132
  }
9098
9133
  }
9099
9134
  const viewport = scrollParents.reduce((box, el) => {
@@ -9746,7 +9781,7 @@ const ClickOutside = {
9746
9781
  });
9747
9782
  if (!el._clickOutside) {
9748
9783
  el._clickOutside = {
9749
- lastMousedownWasOutside: true
9784
+ lastMousedownWasOutside: false
9750
9785
  };
9751
9786
  }
9752
9787
  el._clickOutside[binding.instance.$.uid] = {
@@ -10022,24 +10057,25 @@ const VOverlay = genericComponent()({
10022
10057
 
10023
10058
  // Types
10024
10059
 
10060
+ const makeVMenuProps = propsFactory({
10061
+ // TODO
10062
+ // disableKeys: Boolean,
10063
+ id: String,
10064
+ ...omit(makeVOverlayProps({
10065
+ closeDelay: 250,
10066
+ closeOnContentClick: true,
10067
+ locationStrategy: 'connected',
10068
+ openDelay: 300,
10069
+ scrim: false,
10070
+ scrollStrategy: 'reposition',
10071
+ transition: {
10072
+ component: VDialogTransition
10073
+ }
10074
+ }), ['absolute'])
10075
+ }, 'v-menu');
10025
10076
  const VMenu = genericComponent()({
10026
10077
  name: 'VMenu',
10027
- props: {
10028
- // TODO
10029
- // disableKeys: Boolean,
10030
- id: String,
10031
- ...omit(makeVOverlayProps({
10032
- closeDelay: 250,
10033
- closeOnContentClick: true,
10034
- locationStrategy: 'connected',
10035
- openDelay: 300,
10036
- scrim: false,
10037
- scrollStrategy: 'reposition',
10038
- transition: {
10039
- component: VDialogTransition
10040
- }
10041
- }), ['absolute'])
10042
- },
10078
+ props: makeVMenuProps(),
10043
10079
  emits: {
10044
10080
  'update:modelValue': value => true
10045
10081
  },
@@ -10145,20 +10181,21 @@ const makeSelectProps = propsFactory({
10145
10181
  ...makeItemsProps({
10146
10182
  itemChildren: false
10147
10183
  })
10184
+ }, 'select');
10185
+ const makeVSelectProps = propsFactory({
10186
+ ...makeSelectProps(),
10187
+ ...omit(makeVTextFieldProps({
10188
+ modelValue: null
10189
+ }), ['validationValue', 'dirty', 'appendInnerIcon']),
10190
+ ...makeTransitionProps({
10191
+ transition: {
10192
+ component: VDialogTransition
10193
+ }
10194
+ })
10148
10195
  }, 'v-select');
10149
10196
  const VSelect = genericComponent()({
10150
10197
  name: 'VSelect',
10151
- props: {
10152
- ...makeSelectProps(),
10153
- ...omit(makeVTextFieldProps({
10154
- modelValue: null
10155
- }), ['validationValue', 'dirty', 'appendInnerIcon']),
10156
- ...makeTransitionProps({
10157
- transition: {
10158
- component: VDialogTransition
10159
- }
10160
- })
10161
- },
10198
+ props: makeVSelectProps(),
10162
10199
  emits: {
10163
10200
  'update:focused': focused => true,
10164
10201
  'update:modelValue': val => true,
@@ -10277,14 +10314,14 @@ const VSelect = genericComponent()({
10277
10314
  menu.value = false;
10278
10315
  }
10279
10316
  }
10280
- function onFocusin(e) {
10281
- isFocused.value = true;
10282
- }
10283
- function onFocusout(e) {
10284
- if (e.relatedTarget == null) {
10317
+ function onAfterLeave() {
10318
+ if (isFocused.value) {
10285
10319
  vTextFieldRef.value?.focus();
10286
10320
  }
10287
10321
  }
10322
+ function onFocusin(e) {
10323
+ isFocused.value = true;
10324
+ }
10288
10325
  useRender(() => {
10289
10326
  const hasChips = !!(props.chips || slots.chip);
10290
10327
  const hasList = !!(!props.hideNoData || displayItems.value.length || slots.prepend || slots.append || slots['no-data']);
@@ -10328,15 +10365,15 @@ const VSelect = genericComponent()({
10328
10365
  "maxHeight": 310,
10329
10366
  "openOnClick": false,
10330
10367
  "closeOnContentClick": false,
10331
- "transition": props.transition
10368
+ "transition": props.transition,
10369
+ "onAfterLeave": onAfterLeave
10332
10370
  }, props.menuProps), {
10333
10371
  default: () => [hasList && createVNode(VList, {
10334
10372
  "ref": listRef,
10335
10373
  "selected": selected.value,
10336
10374
  "selectStrategy": props.multiple ? 'independent' : 'single-independent',
10337
10375
  "onMousedown": e => e.preventDefault(),
10338
- "onFocusin": onFocusin,
10339
- "onFocusout": onFocusout
10376
+ "onFocusin": onFocusin
10340
10377
  }, {
10341
10378
  default: () => [!displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? createVNode(VListItem, {
10342
10379
  "title": t(props.noDataText)
@@ -10541,23 +10578,24 @@ function highlightResult$1(text, matches, length) {
10541
10578
  "class": "v-autocomplete__unmask"
10542
10579
  }, [text.substr(matches + length)])]) : text;
10543
10580
  }
10581
+ const makeVAutocompleteProps = propsFactory({
10582
+ // TODO: implement post keyboard support
10583
+ // autoSelectFirst: Boolean,
10584
+ search: String,
10585
+ ...makeFilterProps({
10586
+ filterKeys: ['title']
10587
+ }),
10588
+ ...makeSelectProps(),
10589
+ ...omit(makeVTextFieldProps({
10590
+ modelValue: null
10591
+ }), ['validationValue', 'dirty', 'appendInnerIcon']),
10592
+ ...makeTransitionProps({
10593
+ transition: false
10594
+ })
10595
+ }, 'v-autocomplete');
10544
10596
  const VAutocomplete = genericComponent()({
10545
10597
  name: 'VAutocomplete',
10546
- props: {
10547
- // TODO: implement post keyboard support
10548
- // autoSelectFirst: Boolean,
10549
- search: String,
10550
- ...makeFilterProps({
10551
- filterKeys: ['title']
10552
- }),
10553
- ...makeSelectProps(),
10554
- ...omit(makeVTextFieldProps({
10555
- modelValue: null
10556
- }), ['validationValue', 'dirty', 'appendInnerIcon']),
10557
- ...makeTransitionProps({
10558
- transition: false
10559
- })
10560
- },
10598
+ props: makeVAutocompleteProps(),
10561
10599
  emits: {
10562
10600
  'update:focused': focused => true,
10563
10601
  'update:search': val => true,
@@ -10686,16 +10724,14 @@ const VAutocomplete = genericComponent()({
10686
10724
  search.value = e.target.value;
10687
10725
  }
10688
10726
  function onAfterLeave() {
10689
- if (isFocused.value) isPristine.value = true;
10727
+ if (isFocused.value) {
10728
+ isPristine.value = true;
10729
+ vTextFieldRef.value?.focus();
10730
+ }
10690
10731
  }
10691
10732
  function onFocusin(e) {
10692
10733
  isFocused.value = true;
10693
10734
  }
10694
- function onFocusout(e) {
10695
- if (e.relatedTarget == null) {
10696
- vTextFieldRef.value?.focus();
10697
- }
10698
- }
10699
10735
  const isSelecting = ref(false);
10700
10736
  function select(item) {
10701
10737
  if (props.multiple) {
@@ -10710,9 +10746,7 @@ const VAutocomplete = genericComponent()({
10710
10746
  } else {
10711
10747
  model.value = [item];
10712
10748
  isSelecting.value = true;
10713
- if (!slots.selection) {
10714
- search.value = item.title;
10715
- }
10749
+ search.value = item.title;
10716
10750
  menu.value = false;
10717
10751
  isPristine.value = true;
10718
10752
  nextTick(() => isSelecting.value = false);
@@ -10721,13 +10755,14 @@ const VAutocomplete = genericComponent()({
10721
10755
  watch(isFocused, val => {
10722
10756
  if (val) {
10723
10757
  isSelecting.value = true;
10724
- search.value = props.multiple || !!slots.selection ? '' : String(selections.value.at(-1)?.props.title ?? '');
10758
+ search.value = props.multiple ? '' : String(selections.value.at(-1)?.props.title ?? '');
10725
10759
  isPristine.value = true;
10726
10760
  nextTick(() => isSelecting.value = false);
10727
10761
  } else {
10728
10762
  if (!props.multiple && !search.value) model.value = [];
10729
10763
  menu.value = false;
10730
10764
  search.value = '';
10765
+ selectionIndex.value = -1;
10731
10766
  }
10732
10767
  });
10733
10768
  watch(search, val => {
@@ -10752,12 +10787,10 @@ const VAutocomplete = genericComponent()({
10752
10787
  "validationValue": model.externalValue,
10753
10788
  "dirty": isDirty,
10754
10789
  "onInput": onInput,
10755
- "class": ['v-autocomplete', {
10790
+ "class": ['v-autocomplete', `v-autocomplete--${props.multiple ? 'multiple' : 'single'}`, {
10756
10791
  'v-autocomplete--active-menu': menu.value,
10757
10792
  'v-autocomplete--chips': !!props.chips,
10758
- 'v-autocomplete--selecting-index': selectionIndex.value > -1,
10759
- [`v-autocomplete--${props.multiple ? 'multiple' : 'single'}`]: true,
10760
- 'v-autocomplete--selection-slot': !!slots.selection
10793
+ 'v-autocomplete--selecting-index': selectionIndex.value > -1
10761
10794
  }, props.class],
10762
10795
  "style": props.style,
10763
10796
  "appendInnerIcon": props.menuIcon,
@@ -10786,8 +10819,7 @@ const VAutocomplete = genericComponent()({
10786
10819
  "selected": selected.value,
10787
10820
  "selectStrategy": props.multiple ? 'independent' : 'single-independent',
10788
10821
  "onMousedown": e => e.preventDefault(),
10789
- "onFocusin": onFocusin,
10790
- "onFocusout": onFocusout
10822
+ "onFocusin": onFocusin
10791
10823
  }, {
10792
10824
  default: () => [!displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? createVNode(VListItem, {
10793
10825
  "title": t(props.noDataText)
@@ -10879,40 +10911,41 @@ const VAutocomplete = genericComponent()({
10879
10911
  }
10880
10912
  });
10881
10913
 
10914
+ const makeVBadgeProps = propsFactory({
10915
+ bordered: Boolean,
10916
+ color: String,
10917
+ content: [Number, String],
10918
+ dot: Boolean,
10919
+ floating: Boolean,
10920
+ icon: IconValue,
10921
+ inline: Boolean,
10922
+ label: {
10923
+ type: String,
10924
+ default: '$vuetify.badge'
10925
+ },
10926
+ max: [Number, String],
10927
+ modelValue: {
10928
+ type: Boolean,
10929
+ default: true
10930
+ },
10931
+ offsetX: [Number, String],
10932
+ offsetY: [Number, String],
10933
+ textColor: String,
10934
+ ...makeComponentProps(),
10935
+ ...makeLocationProps({
10936
+ location: 'top end'
10937
+ }),
10938
+ ...makeRoundedProps(),
10939
+ ...makeTagProps(),
10940
+ ...makeThemeProps(),
10941
+ ...makeTransitionProps({
10942
+ transition: 'scale-rotate-transition'
10943
+ })
10944
+ }, 'v-badge');
10882
10945
  const VBadge = genericComponent()({
10883
10946
  name: 'VBadge',
10884
10947
  inheritAttrs: false,
10885
- props: {
10886
- bordered: Boolean,
10887
- color: String,
10888
- content: [Number, String],
10889
- dot: Boolean,
10890
- floating: Boolean,
10891
- icon: IconValue,
10892
- inline: Boolean,
10893
- label: {
10894
- type: String,
10895
- default: '$vuetify.badge'
10896
- },
10897
- max: [Number, String],
10898
- modelValue: {
10899
- type: Boolean,
10900
- default: true
10901
- },
10902
- offsetX: [Number, String],
10903
- offsetY: [Number, String],
10904
- textColor: String,
10905
- ...makeComponentProps(),
10906
- ...makeLocationProps({
10907
- location: 'top end'
10908
- }),
10909
- ...makeRoundedProps(),
10910
- ...makeTagProps(),
10911
- ...makeThemeProps(),
10912
- ...makeTransitionProps({
10913
- transition: 'scale-rotate-transition'
10914
- })
10915
- },
10948
+ props: makeVBadgeProps(),
10916
10949
  setup(props, ctx) {
10917
10950
  const {
10918
10951
  backgroundColorClasses,
@@ -10973,13 +11006,14 @@ const VBadge = genericComponent()({
10973
11006
  }
10974
11007
  });
10975
11008
 
11009
+ const makeVBannerActionsProps = propsFactory({
11010
+ color: String,
11011
+ density: String,
11012
+ ...makeComponentProps()
11013
+ }, 'v-banner-actions');
10976
11014
  const VBannerActions = genericComponent()({
10977
11015
  name: 'VBannerActions',
10978
- props: {
10979
- color: String,
10980
- density: String,
10981
- ...makeComponentProps()
10982
- },
11016
+ props: makeVBannerActionsProps(),
10983
11017
  setup(props, _ref) {
10984
11018
  let {
10985
11019
  slots
@@ -11003,27 +11037,28 @@ const VBannerText = createSimpleFunctional('v-banner-text');
11003
11037
 
11004
11038
  // Types
11005
11039
 
11040
+ const makeVBannerProps = propsFactory({
11041
+ avatar: String,
11042
+ color: String,
11043
+ icon: IconValue,
11044
+ lines: String,
11045
+ stacked: Boolean,
11046
+ sticky: Boolean,
11047
+ text: String,
11048
+ ...makeBorderProps(),
11049
+ ...makeComponentProps(),
11050
+ ...makeDensityProps(),
11051
+ ...makeDimensionProps(),
11052
+ ...makeElevationProps(),
11053
+ ...makeLocationProps(),
11054
+ ...makePositionProps(),
11055
+ ...makeRoundedProps(),
11056
+ ...makeTagProps(),
11057
+ ...makeThemeProps()
11058
+ }, 'v-banner');
11006
11059
  const VBanner = genericComponent()({
11007
11060
  name: 'VBanner',
11008
- props: {
11009
- avatar: String,
11010
- color: String,
11011
- icon: IconValue,
11012
- lines: String,
11013
- stacked: Boolean,
11014
- sticky: Boolean,
11015
- text: String,
11016
- ...makeBorderProps(),
11017
- ...makeComponentProps(),
11018
- ...makeDensityProps(),
11019
- ...makeDimensionProps(),
11020
- ...makeElevationProps(),
11021
- ...makeLocationProps(),
11022
- ...makePositionProps(),
11023
- ...makeRoundedProps(),
11024
- ...makeTagProps(),
11025
- ...makeThemeProps()
11026
- },
11061
+ props: makeVBannerProps(),
11027
11062
  setup(props, _ref) {
11028
11063
  let {
11029
11064
  slots
@@ -11110,41 +11145,42 @@ const VBanner = genericComponent()({
11110
11145
  }
11111
11146
  });
11112
11147
 
11148
+ const makeVBottomNavigationProps = propsFactory({
11149
+ bgColor: String,
11150
+ color: String,
11151
+ grow: Boolean,
11152
+ mode: {
11153
+ type: String,
11154
+ validator: v => !v || ['horizontal', 'shift'].includes(v)
11155
+ },
11156
+ height: {
11157
+ type: [Number, String],
11158
+ default: 56
11159
+ },
11160
+ active: {
11161
+ type: Boolean,
11162
+ default: true
11163
+ },
11164
+ ...makeBorderProps(),
11165
+ ...makeComponentProps(),
11166
+ ...makeDensityProps(),
11167
+ ...makeElevationProps(),
11168
+ ...makeRoundedProps(),
11169
+ ...makeLayoutItemProps({
11170
+ name: 'bottom-navigation'
11171
+ }),
11172
+ ...makeTagProps({
11173
+ tag: 'header'
11174
+ }),
11175
+ ...makeGroupProps({
11176
+ modelValue: true,
11177
+ selectedClass: 'v-btn--selected'
11178
+ }),
11179
+ ...makeThemeProps()
11180
+ }, 'v-bottom-navigation');
11113
11181
  const VBottomNavigation = genericComponent()({
11114
11182
  name: 'VBottomNavigation',
11115
- props: {
11116
- bgColor: String,
11117
- color: String,
11118
- grow: Boolean,
11119
- mode: {
11120
- type: String,
11121
- validator: v => !v || ['horizontal', 'shift'].includes(v)
11122
- },
11123
- height: {
11124
- type: [Number, String],
11125
- default: 56
11126
- },
11127
- active: {
11128
- type: Boolean,
11129
- default: true
11130
- },
11131
- ...makeBorderProps(),
11132
- ...makeComponentProps(),
11133
- ...makeDensityProps(),
11134
- ...makeElevationProps(),
11135
- ...makeRoundedProps(),
11136
- ...makeLayoutItemProps({
11137
- name: 'bottom-navigation'
11138
- }),
11139
- ...makeTagProps({
11140
- tag: 'header'
11141
- }),
11142
- ...makeGroupProps({
11143
- modelValue: true,
11144
- selectedClass: 'v-btn--selected'
11145
- }),
11146
- ...makeThemeProps()
11147
- },
11183
+ props: makeVBottomNavigationProps(),
11148
11184
  emits: {
11149
11185
  'update:modelValue': value => true
11150
11186
  },
@@ -11219,12 +11255,13 @@ const VBottomNavigation = genericComponent()({
11219
11255
  }
11220
11256
  });
11221
11257
 
11258
+ const makeVBreadcrumbsDividerProps = propsFactory({
11259
+ divider: [Number, String],
11260
+ ...makeComponentProps()
11261
+ }, 'v-breacrumbs-divider');
11222
11262
  const VBreadcrumbsDivider = genericComponent()({
11223
11263
  name: 'VBreadcrumbsDivider',
11224
- props: {
11225
- divider: [Number, String],
11226
- ...makeComponentProps()
11227
- },
11264
+ props: makeVBreadcrumbsDividerProps(),
11228
11265
  setup(props, _ref) {
11229
11266
  let {
11230
11267
  slots
@@ -11237,21 +11274,22 @@ const VBreadcrumbsDivider = genericComponent()({
11237
11274
  }
11238
11275
  });
11239
11276
 
11277
+ const makeVBreadcrumbsItemProps = propsFactory({
11278
+ active: Boolean,
11279
+ activeClass: String,
11280
+ activeColor: String,
11281
+ color: String,
11282
+ disabled: Boolean,
11283
+ title: String,
11284
+ ...makeComponentProps(),
11285
+ ...makeRouterProps(),
11286
+ ...makeTagProps({
11287
+ tag: 'li'
11288
+ })
11289
+ }, 'v-breadcrumbs-item');
11240
11290
  const VBreadcrumbsItem = genericComponent()({
11241
11291
  name: 'VBreadcrumbsItem',
11242
- props: {
11243
- active: Boolean,
11244
- activeClass: String,
11245
- activeColor: String,
11246
- color: String,
11247
- disabled: Boolean,
11248
- title: String,
11249
- ...makeComponentProps(),
11250
- ...makeRouterProps(),
11251
- ...makeTagProps({
11252
- tag: 'li'
11253
- })
11254
- },
11292
+ props: makeVBreadcrumbsItemProps(),
11255
11293
  setup(props, _ref) {
11256
11294
  let {
11257
11295
  slots,
@@ -11287,30 +11325,31 @@ const VBreadcrumbsItem = genericComponent()({
11287
11325
 
11288
11326
  // Types
11289
11327
 
11328
+ const makeVBreadcrumbsProps = propsFactory({
11329
+ activeClass: String,
11330
+ activeColor: String,
11331
+ bgColor: String,
11332
+ color: String,
11333
+ disabled: Boolean,
11334
+ divider: {
11335
+ type: String,
11336
+ default: '/'
11337
+ },
11338
+ icon: IconValue,
11339
+ items: {
11340
+ type: Array,
11341
+ default: () => []
11342
+ },
11343
+ ...makeComponentProps(),
11344
+ ...makeDensityProps(),
11345
+ ...makeRoundedProps(),
11346
+ ...makeTagProps({
11347
+ tag: 'ul'
11348
+ })
11349
+ }, 'v-breacrumbs');
11290
11350
  const VBreadcrumbs = genericComponent()({
11291
11351
  name: 'VBreadcrumbs',
11292
- props: {
11293
- activeClass: String,
11294
- activeColor: String,
11295
- bgColor: String,
11296
- color: String,
11297
- disabled: Boolean,
11298
- divider: {
11299
- type: String,
11300
- default: '/'
11301
- },
11302
- icon: IconValue,
11303
- items: {
11304
- type: Array,
11305
- default: () => []
11306
- },
11307
- ...makeComponentProps(),
11308
- ...makeDensityProps(),
11309
- ...makeRoundedProps(),
11310
- ...makeTagProps({
11311
- tag: 'ul'
11312
- })
11313
- },
11352
+ props: makeVBreadcrumbsProps(),
11314
11353
  setup(props, _ref) {
11315
11354
  let {
11316
11355
  slots
@@ -11419,18 +11458,19 @@ const VCardSubtitle = createSimpleFunctional('v-card-subtitle');
11419
11458
 
11420
11459
  const VCardTitle = createSimpleFunctional('v-card-title');
11421
11460
 
11461
+ const makeCardItemProps = propsFactory({
11462
+ appendAvatar: String,
11463
+ appendIcon: IconValue,
11464
+ prependAvatar: String,
11465
+ prependIcon: IconValue,
11466
+ subtitle: String,
11467
+ title: String,
11468
+ ...makeComponentProps(),
11469
+ ...makeDensityProps()
11470
+ }, 'v-card-item');
11422
11471
  const VCardItem = genericComponent()({
11423
11472
  name: 'VCardItem',
11424
- props: {
11425
- appendAvatar: String,
11426
- appendIcon: IconValue,
11427
- prependAvatar: String,
11428
- prependIcon: IconValue,
11429
- subtitle: String,
11430
- title: String,
11431
- ...makeComponentProps(),
11432
- ...makeDensityProps()
11433
- },
11473
+ props: makeCardItemProps(),
11434
11474
  setup(props, _ref) {
11435
11475
  let {
11436
11476
  slots
@@ -11501,47 +11541,48 @@ const VCardText = createSimpleFunctional('v-card-text');
11501
11541
 
11502
11542
  // Types
11503
11543
 
11544
+ const makeVCardProps = propsFactory({
11545
+ appendAvatar: String,
11546
+ appendIcon: IconValue,
11547
+ disabled: Boolean,
11548
+ flat: Boolean,
11549
+ hover: Boolean,
11550
+ image: String,
11551
+ link: {
11552
+ type: Boolean,
11553
+ default: undefined
11554
+ },
11555
+ prependAvatar: String,
11556
+ prependIcon: IconValue,
11557
+ ripple: {
11558
+ type: Boolean,
11559
+ default: true
11560
+ },
11561
+ subtitle: String,
11562
+ text: String,
11563
+ title: String,
11564
+ ...makeBorderProps(),
11565
+ ...makeComponentProps(),
11566
+ ...makeDensityProps(),
11567
+ ...makeDimensionProps(),
11568
+ ...makeElevationProps(),
11569
+ ...makeLoaderProps(),
11570
+ ...makeLocationProps(),
11571
+ ...makePositionProps(),
11572
+ ...makeRoundedProps(),
11573
+ ...makeRouterProps(),
11574
+ ...makeTagProps(),
11575
+ ...makeThemeProps(),
11576
+ ...makeVariantProps({
11577
+ variant: 'elevated'
11578
+ })
11579
+ }, 'v-card');
11504
11580
  const VCard = genericComponent()({
11505
11581
  name: 'VCard',
11506
11582
  directives: {
11507
11583
  Ripple
11508
11584
  },
11509
- props: {
11510
- appendAvatar: String,
11511
- appendIcon: IconValue,
11512
- disabled: Boolean,
11513
- flat: Boolean,
11514
- hover: Boolean,
11515
- image: String,
11516
- link: {
11517
- type: Boolean,
11518
- default: undefined
11519
- },
11520
- prependAvatar: String,
11521
- prependIcon: IconValue,
11522
- ripple: {
11523
- type: Boolean,
11524
- default: true
11525
- },
11526
- subtitle: String,
11527
- text: String,
11528
- title: String,
11529
- ...makeBorderProps(),
11530
- ...makeComponentProps(),
11531
- ...makeDensityProps(),
11532
- ...makeDimensionProps(),
11533
- ...makeElevationProps(),
11534
- ...makeLoaderProps(),
11535
- ...makeLocationProps(),
11536
- ...makePositionProps(),
11537
- ...makeRoundedProps(),
11538
- ...makeRouterProps(),
11539
- ...makeTagProps(),
11540
- ...makeThemeProps(),
11541
- ...makeVariantProps({
11542
- variant: 'elevated'
11543
- })
11544
- },
11585
+ props: makeVCardProps(),
11545
11586
  setup(props, _ref) {
11546
11587
  let {
11547
11588
  attrs,
@@ -11935,34 +11976,35 @@ const VWindow = genericComponent()({
11935
11976
 
11936
11977
  // Types
11937
11978
 
11979
+ const makeVCarouselProps = propsFactory({
11980
+ color: String,
11981
+ cycle: Boolean,
11982
+ delimiterIcon: {
11983
+ type: IconValue,
11984
+ default: '$delimiter'
11985
+ },
11986
+ height: {
11987
+ type: [Number, String],
11988
+ default: 500
11989
+ },
11990
+ hideDelimiters: Boolean,
11991
+ hideDelimiterBackground: Boolean,
11992
+ interval: {
11993
+ type: [Number, String],
11994
+ default: 6000,
11995
+ validator: value => Number(value) > 0
11996
+ },
11997
+ progress: [Boolean, String],
11998
+ verticalDelimiters: [Boolean, String],
11999
+ ...makeVWindowProps({
12000
+ continuous: true,
12001
+ mandatory: 'force',
12002
+ showArrows: true
12003
+ })
12004
+ }, 'v-carousel');
11938
12005
  const VCarousel = genericComponent()({
11939
12006
  name: 'VCarousel',
11940
- props: {
11941
- color: String,
11942
- cycle: Boolean,
11943
- delimiterIcon: {
11944
- type: IconValue,
11945
- default: '$delimiter'
11946
- },
11947
- height: {
11948
- type: [Number, String],
11949
- default: 500
11950
- },
11951
- hideDelimiters: Boolean,
11952
- hideDelimiterBackground: Boolean,
11953
- interval: {
11954
- type: [Number, String],
11955
- default: 6000,
11956
- validator: value => Number(value) > 0
11957
- },
11958
- progress: [Boolean, String],
11959
- verticalDelimiters: [Boolean, String],
11960
- ...makeVWindowProps({
11961
- continuous: true,
11962
- mandatory: 'force',
11963
- showArrows: true
11964
- })
11965
- },
12007
+ props: makeVCarouselProps(),
11966
12008
  emits: {
11967
12009
  'update:modelValue': val => true
11968
12010
  },
@@ -12052,24 +12094,25 @@ const VCarousel = genericComponent()({
12052
12094
  }
12053
12095
  });
12054
12096
 
12097
+ const makeVWindowItemProps = propsFactory({
12098
+ reverseTransition: {
12099
+ type: [Boolean, String],
12100
+ default: undefined
12101
+ },
12102
+ transition: {
12103
+ type: [Boolean, String],
12104
+ default: undefined
12105
+ },
12106
+ ...makeComponentProps(),
12107
+ ...makeGroupItemProps(),
12108
+ ...makeLazyProps()
12109
+ }, 'v-window-item');
12055
12110
  const VWindowItem = genericComponent()({
12056
12111
  name: 'VWindowItem',
12057
12112
  directives: {
12058
12113
  Touch
12059
12114
  },
12060
- props: {
12061
- reverseTransition: {
12062
- type: [Boolean, String],
12063
- default: undefined
12064
- },
12065
- transition: {
12066
- type: [Boolean, String],
12067
- default: undefined
12068
- },
12069
- ...makeComponentProps(),
12070
- ...makeGroupItemProps(),
12071
- ...makeLazyProps()
12072
- },
12115
+ props: makeVWindowItemProps(),
12073
12116
  emits: {
12074
12117
  'group:selected': val => true
12075
12118
  },
@@ -12163,25 +12206,28 @@ const VWindowItem = genericComponent()({
12163
12206
 
12164
12207
  // Types
12165
12208
 
12209
+ const makeVCarouselItemProps = propsFactory({
12210
+ ...makeVImgProps(),
12211
+ ...makeVWindowItemProps()
12212
+ }, 'v-carousel-item');
12166
12213
  const VCarouselItem = genericComponent()({
12167
12214
  name: 'VCarouselItem',
12168
12215
  inheritAttrs: false,
12169
- props: {
12170
- value: null,
12171
- ...makeComponentProps()
12172
- },
12216
+ props: makeVCarouselItemProps(),
12173
12217
  setup(props, _ref) {
12174
12218
  let {
12175
12219
  slots,
12176
12220
  attrs
12177
12221
  } = _ref;
12178
- useRender(() => createVNode(VWindowItem, {
12179
- "class": ['v-carousel-item', props.class],
12180
- "style": props.style,
12181
- "value": props.value
12182
- }, {
12183
- default: () => [createVNode(VImg, attrs, slots)]
12184
- }));
12222
+ useRender(() => {
12223
+ const [imgProps] = VImg.filterProps(props);
12224
+ const [windowItemProps] = VWindowItem.filterProps(props);
12225
+ return createVNode(VWindowItem, mergeProps({
12226
+ "class": "v-carousel-item"
12227
+ }, windowItemProps), {
12228
+ default: () => [createVNode(VImg, mergeProps(attrs, imgProps), slots)]
12229
+ });
12230
+ });
12185
12231
  }
12186
12232
  });
12187
12233
 
@@ -12201,9 +12247,7 @@ const makeVSheetProps = propsFactory({
12201
12247
  }, 'v-sheet');
12202
12248
  const VSheet = genericComponent()({
12203
12249
  name: 'VSheet',
12204
- props: {
12205
- ...makeVSheetProps()
12206
- },
12250
+ props: makeVSheetProps(),
12207
12251
  setup(props, _ref) {
12208
12252
  let {
12209
12253
  slots
@@ -12243,27 +12287,28 @@ const VSheet = genericComponent()({
12243
12287
 
12244
12288
  // Types
12245
12289
 
12290
+ const makeVColorPickerCanvasProps = propsFactory({
12291
+ color: {
12292
+ type: Object
12293
+ },
12294
+ disabled: Boolean,
12295
+ dotSize: {
12296
+ type: [Number, String],
12297
+ default: 10
12298
+ },
12299
+ height: {
12300
+ type: [Number, String],
12301
+ default: 150
12302
+ },
12303
+ width: {
12304
+ type: [Number, String],
12305
+ default: 300
12306
+ },
12307
+ ...makeComponentProps()
12308
+ }, 'v-color-picker-canvas');
12246
12309
  const VColorPickerCanvas = defineComponent({
12247
12310
  name: 'VColorPickerCanvas',
12248
- props: {
12249
- color: {
12250
- type: Object
12251
- },
12252
- disabled: Boolean,
12253
- dotSize: {
12254
- type: [Number, String],
12255
- default: 10
12256
- },
12257
- height: {
12258
- type: [Number, String],
12259
- default: 150
12260
- },
12261
- width: {
12262
- type: [Number, String],
12263
- default: 300
12264
- },
12265
- ...makeComponentProps()
12266
- },
12311
+ props: makeVColorPickerCanvasProps(),
12267
12312
  emits: {
12268
12313
  'update:color': color => true,
12269
12314
  'update:position': hue => true
@@ -12519,7 +12564,7 @@ const rgba = {
12519
12564
  let {
12520
12565
  a
12521
12566
  } = _ref;
12522
- return a ? Math.round(a * 100) / 100 : 1;
12567
+ return a != null ? Math.round(a * 100) / 100 : 1;
12523
12568
  },
12524
12569
  getColor: (c, v) => ({
12525
12570
  ...c,
@@ -12573,7 +12618,7 @@ const hsla = {
12573
12618
  let {
12574
12619
  a
12575
12620
  } = _ref2;
12576
- return a ? Math.round(a * 100) / 100 : 1;
12621
+ return a != null ? Math.round(a * 100) / 100 : 1;
12577
12622
  },
12578
12623
  getColor: (c, v) => ({
12579
12624
  ...c,
@@ -12627,23 +12672,24 @@ const VColorPickerInput = _ref => {
12627
12672
  "class": "v-color-picker-edit__input"
12628
12673
  }, [createVNode("input", rest, null), createVNode("span", null, [label])]);
12629
12674
  };
12675
+ const makeVColorPickerEditProps = propsFactory({
12676
+ color: Object,
12677
+ disabled: Boolean,
12678
+ mode: {
12679
+ type: String,
12680
+ default: 'rgba',
12681
+ validator: v => Object.keys(modes).includes(v)
12682
+ },
12683
+ modes: {
12684
+ type: Array,
12685
+ default: () => Object.keys(modes),
12686
+ validator: v => Array.isArray(v) && v.every(m => Object.keys(modes).includes(m))
12687
+ },
12688
+ ...makeComponentProps()
12689
+ }, 'v-color-picker-edit');
12630
12690
  const VColorPickerEdit = defineComponent({
12631
12691
  name: 'VColorPickerEdit',
12632
- props: {
12633
- color: Object,
12634
- disabled: Boolean,
12635
- mode: {
12636
- type: String,
12637
- default: 'rgba',
12638
- validator: v => Object.keys(modes).includes(v)
12639
- },
12640
- modes: {
12641
- type: Array,
12642
- default: () => Object.keys(modes),
12643
- validator: v => Array.isArray(v) && v.every(m => Object.keys(modes).includes(m))
12644
- },
12645
- ...makeComponentProps()
12646
- },
12692
+ props: makeVColorPickerEditProps(),
12647
12693
  emits: {
12648
12694
  'update:color': color => true,
12649
12695
  'update:mode': mode => true
@@ -12976,35 +13022,36 @@ const useSlider = _ref => {
12976
13022
  return data;
12977
13023
  };
12978
13024
 
13025
+ const makeVSliderThumbProps = propsFactory({
13026
+ focused: Boolean,
13027
+ max: {
13028
+ type: Number,
13029
+ required: true
13030
+ },
13031
+ min: {
13032
+ type: Number,
13033
+ required: true
13034
+ },
13035
+ modelValue: {
13036
+ type: Number,
13037
+ required: true
13038
+ },
13039
+ position: {
13040
+ type: Number,
13041
+ required: true
13042
+ },
13043
+ ripple: {
13044
+ type: Boolean,
13045
+ default: true
13046
+ },
13047
+ ...makeComponentProps()
13048
+ }, 'v-slider-thumb');
12979
13049
  const VSliderThumb = genericComponent()({
12980
13050
  name: 'VSliderThumb',
12981
13051
  directives: {
12982
13052
  Ripple
12983
13053
  },
12984
- props: {
12985
- focused: Boolean,
12986
- max: {
12987
- type: Number,
12988
- required: true
12989
- },
12990
- min: {
12991
- type: Number,
12992
- required: true
12993
- },
12994
- modelValue: {
12995
- type: Number,
12996
- required: true
12997
- },
12998
- position: {
12999
- type: Number,
13000
- required: true
13001
- },
13002
- ripple: {
13003
- type: Boolean,
13004
- default: true
13005
- },
13006
- ...makeComponentProps()
13007
- },
13054
+ props: makeVSliderThumbProps(),
13008
13055
  emits: {
13009
13056
  'update:modelValue': v => true
13010
13057
  },
@@ -13121,19 +13168,20 @@ const VSliderThumb = genericComponent()({
13121
13168
  }
13122
13169
  });
13123
13170
 
13171
+ const makeVSliderTrackProps = propsFactory({
13172
+ start: {
13173
+ type: Number,
13174
+ required: true
13175
+ },
13176
+ stop: {
13177
+ type: Number,
13178
+ required: true
13179
+ },
13180
+ ...makeComponentProps()
13181
+ }, 'v-slider-track');
13124
13182
  const VSliderTrack = genericComponent()({
13125
13183
  name: 'VSliderTrack',
13126
- props: {
13127
- start: {
13128
- type: Number,
13129
- required: true
13130
- },
13131
- stop: {
13132
- type: Number,
13133
- required: true
13134
- },
13135
- ...makeComponentProps()
13136
- },
13184
+ props: makeVSliderTrackProps(),
13137
13185
  emits: {},
13138
13186
  setup(props, _ref) {
13139
13187
  let {
@@ -13239,17 +13287,18 @@ const VSliderTrack = genericComponent()({
13239
13287
 
13240
13288
  // Types
13241
13289
 
13290
+ const makeVSliderProps = propsFactory({
13291
+ ...makeFocusProps(),
13292
+ ...makeSliderProps(),
13293
+ ...makeVInputProps(),
13294
+ modelValue: {
13295
+ type: [Number, String],
13296
+ default: 0
13297
+ }
13298
+ }, 'v-slider');
13242
13299
  const VSlider = genericComponent()({
13243
13300
  name: 'VSlider',
13244
- props: {
13245
- ...makeFocusProps(),
13246
- ...makeSliderProps(),
13247
- ...makeVInputProps(),
13248
- modelValue: {
13249
- type: [Number, String],
13250
- default: 0
13251
- }
13252
- },
13301
+ props: makeVSliderProps(),
13253
13302
  emits: {
13254
13303
  'update:focused': value => true,
13255
13304
  'update:modelValue': v => true,
@@ -13262,6 +13311,9 @@ const VSlider = genericComponent()({
13262
13311
  emit
13263
13312
  } = _ref;
13264
13313
  const thumbContainerRef = ref();
13314
+ const {
13315
+ rtlClasses
13316
+ } = useRtl();
13265
13317
  const steps = useSteps(props);
13266
13318
  const model = useProxiedModel(props, 'modelValue', undefined, v => {
13267
13319
  const value = typeof v === 'string' ? parseFloat(v) : v == null ? steps.min.value : v;
@@ -13315,7 +13367,7 @@ const VSlider = genericComponent()({
13315
13367
  'v-slider--focused': isFocused.value,
13316
13368
  'v-slider--pressed': mousePressed.value,
13317
13369
  'v-slider--disabled': props.disabled
13318
- }, props.class],
13370
+ }, rtlClasses.value, props.class],
13319
13371
  "style": props.style
13320
13372
  }, inputProps, {
13321
13373
  "focused": isFocused.value
@@ -13372,16 +13424,17 @@ const VSlider = genericComponent()({
13372
13424
 
13373
13425
  // Types
13374
13426
 
13427
+ const makeVColorPickerPreviewProps = propsFactory({
13428
+ color: {
13429
+ type: Object
13430
+ },
13431
+ disabled: Boolean,
13432
+ hideAlpha: Boolean,
13433
+ ...makeComponentProps()
13434
+ }, 'v-color-picker-preview');
13375
13435
  const VColorPickerPreview = defineComponent({
13376
13436
  name: 'VColorPickerPreview',
13377
- props: {
13378
- color: {
13379
- type: Object
13380
- },
13381
- disabled: Boolean,
13382
- hideAlpha: Boolean,
13383
- ...makeComponentProps()
13384
- },
13437
+ props: makeVColorPickerPreviewProps(),
13385
13438
  emits: {
13386
13439
  'update:color': color => true
13387
13440
  },
@@ -13759,6 +13812,16 @@ var colors = Object.freeze({
13759
13812
 
13760
13813
  // Types
13761
13814
 
13815
+ const makeVColorPickerSwatchesProps = propsFactory({
13816
+ swatches: {
13817
+ type: Array,
13818
+ default: () => parseDefaultColors(colors)
13819
+ },
13820
+ disabled: Boolean,
13821
+ color: Object,
13822
+ maxHeight: [Number, String],
13823
+ ...makeComponentProps()
13824
+ }, 'v-color-picker-swatches');
13762
13825
  function parseDefaultColors(colors) {
13763
13826
  return Object.keys(colors).map(key => {
13764
13827
  const color = colors[key];
@@ -13767,16 +13830,7 @@ function parseDefaultColors(colors) {
13767
13830
  }
13768
13831
  const VColorPickerSwatches = defineComponent({
13769
13832
  name: 'VColorPickerSwatches',
13770
- props: {
13771
- swatches: {
13772
- type: Array,
13773
- default: () => parseDefaultColors(colors)
13774
- },
13775
- disabled: Boolean,
13776
- color: Object,
13777
- maxHeight: [Number, String],
13778
- ...makeComponentProps()
13779
- },
13833
+ props: makeVColorPickerSwatchesProps(),
13780
13834
  emits: {
13781
13835
  'update:color': color => true
13782
13836
  },
@@ -13812,44 +13866,45 @@ const VColorPickerSwatches = defineComponent({
13812
13866
 
13813
13867
  // Types
13814
13868
 
13869
+ const makeVPickerProps = propsFactory({
13870
+ canvasHeight: {
13871
+ type: [String, Number],
13872
+ default: 150
13873
+ },
13874
+ disabled: Boolean,
13875
+ dotSize: {
13876
+ type: [Number, String],
13877
+ default: 10
13878
+ },
13879
+ hideCanvas: Boolean,
13880
+ hideSliders: Boolean,
13881
+ hideInputs: Boolean,
13882
+ mode: {
13883
+ type: String,
13884
+ default: 'rgba',
13885
+ validator: v => Object.keys(modes).includes(v)
13886
+ },
13887
+ modes: {
13888
+ type: Array,
13889
+ default: () => Object.keys(modes),
13890
+ validator: v => Array.isArray(v) && v.every(m => Object.keys(modes).includes(m))
13891
+ },
13892
+ showSwatches: Boolean,
13893
+ swatches: Array,
13894
+ swatchesMaxHeight: {
13895
+ type: [Number, String],
13896
+ default: 150
13897
+ },
13898
+ modelValue: {
13899
+ type: [Object, String]
13900
+ },
13901
+ ...omit(makeVSheetProps({
13902
+ width: 300
13903
+ }), ['height', 'location', 'minHeight', 'maxHeight', 'minWidth', 'maxWidth'])
13904
+ }, 'v-color-picker');
13815
13905
  const VColorPicker = defineComponent({
13816
13906
  name: 'VColorPicker',
13817
- props: {
13818
- canvasHeight: {
13819
- type: [String, Number],
13820
- default: 150
13821
- },
13822
- disabled: Boolean,
13823
- dotSize: {
13824
- type: [Number, String],
13825
- default: 10
13826
- },
13827
- hideCanvas: Boolean,
13828
- hideSliders: Boolean,
13829
- hideInputs: Boolean,
13830
- mode: {
13831
- type: String,
13832
- default: 'rgba',
13833
- validator: v => Object.keys(modes).includes(v)
13834
- },
13835
- modes: {
13836
- type: Array,
13837
- default: () => Object.keys(modes),
13838
- validator: v => Array.isArray(v) && v.every(m => Object.keys(modes).includes(m))
13839
- },
13840
- showSwatches: Boolean,
13841
- swatches: Array,
13842
- swatchesMaxHeight: {
13843
- type: [Number, String],
13844
- default: 150
13845
- },
13846
- modelValue: {
13847
- type: [Object, String]
13848
- },
13849
- ...omit(makeVSheetProps({
13850
- width: 300
13851
- }), ['height', 'location', 'minHeight', 'maxHeight', 'minWidth', 'maxWidth'])
13852
- },
13907
+ props: makeVPickerProps(),
13853
13908
  emits: {
13854
13909
  'update:modelValue': color => true,
13855
13910
  'update:mode': mode => true
@@ -13872,6 +13927,9 @@ const VColorPicker = defineComponent({
13872
13927
  if (!v) return null;
13873
13928
  return extractColor(v, props.modelValue);
13874
13929
  });
13930
+ const {
13931
+ rtlClasses
13932
+ } = useRtl();
13875
13933
  const updateColor = hsva => {
13876
13934
  currentColor.value = hsva;
13877
13935
  lastPickedColor.value = hsva;
@@ -13892,7 +13950,7 @@ const VColorPicker = defineComponent({
13892
13950
  "rounded": props.rounded,
13893
13951
  "elevation": props.elevation,
13894
13952
  "theme": props.theme,
13895
- "class": ['v-color-picker', props.class],
13953
+ "class": ['v-color-picker', rtlClasses.value, props.class],
13896
13954
  "style": [{
13897
13955
  '--v-color-picker-color-hsv': HSVtoCSS({
13898
13956
  ...(currentColor.value ?? nullColor),
@@ -13954,26 +14012,27 @@ function highlightResult(text, matches, length) {
13954
14012
  "class": "v-combobox__unmask"
13955
14013
  }, [text.substr(matches + length)])]) : text;
13956
14014
  }
14015
+ const makeVComboboxProps = propsFactory({
14016
+ // TODO: implement post keyboard support
14017
+ // autoSelectFirst: Boolean,
14018
+ delimiters: Array,
14019
+ ...makeFilterProps({
14020
+ filterKeys: ['title']
14021
+ }),
14022
+ ...makeSelectProps({
14023
+ hideNoData: true,
14024
+ returnObject: true
14025
+ }),
14026
+ ...omit(makeVTextFieldProps({
14027
+ modelValue: null
14028
+ }), ['validationValue', 'dirty', 'appendInnerIcon']),
14029
+ ...makeTransitionProps({
14030
+ transition: false
14031
+ })
14032
+ }, 'v-combobox');
13957
14033
  const VCombobox = genericComponent()({
13958
14034
  name: 'VCombobox',
13959
- props: {
13960
- // TODO: implement post keyboard support
13961
- // autoSelectFirst: Boolean,
13962
- delimiters: Array,
13963
- ...makeFilterProps({
13964
- filterKeys: ['title']
13965
- }),
13966
- ...makeSelectProps({
13967
- hideNoData: true,
13968
- returnObject: true
13969
- }),
13970
- ...omit(makeVTextFieldProps({
13971
- modelValue: null
13972
- }), ['validationValue', 'dirty', 'appendInnerIcon']),
13973
- ...makeTransitionProps({
13974
- transition: false
13975
- })
13976
- },
14035
+ props: makeVComboboxProps(),
13977
14036
  emits: {
13978
14037
  'update:focused': focused => true,
13979
14038
  'update:modelValue': val => true,
@@ -14143,7 +14202,10 @@ const VCombobox = genericComponent()({
14143
14202
  }
14144
14203
  }
14145
14204
  function onAfterLeave() {
14146
- if (isFocused.value) isPristine.value = true;
14205
+ if (isFocused.value) {
14206
+ isPristine.value = true;
14207
+ vTextFieldRef.value?.focus();
14208
+ }
14147
14209
  }
14148
14210
  function select(item) {
14149
14211
  if (props.multiple) {
@@ -14170,23 +14232,16 @@ const VCombobox = genericComponent()({
14170
14232
  function onFocusin(e) {
14171
14233
  isFocused.value = true;
14172
14234
  }
14173
- function onFocusout(e) {
14174
- if (e.relatedTarget == null) {
14175
- vTextFieldRef.value?.focus();
14176
- }
14177
- }
14178
14235
  watch(filteredItems, val => {
14179
14236
  if (!val.length && props.hideNoData) menu.value = false;
14180
14237
  });
14181
14238
  watch(isFocused, val => {
14182
- if (val) {
14183
- selectionIndex.value = -1;
14184
- } else {
14185
- menu.value = false;
14186
- if (!props.multiple || !search.value) return;
14187
- model.value = [...model.value, transformItem$1(props, search.value)];
14188
- search.value = '';
14189
- }
14239
+ if (val) return;
14240
+ selectionIndex.value = -1;
14241
+ menu.value = false;
14242
+ if (!props.multiple || !search.value) return;
14243
+ model.value = [...model.value, transformItem$1(props, search.value)];
14244
+ search.value = '';
14190
14245
  });
14191
14246
  useRender(() => {
14192
14247
  const hasChips = !!(props.chips || slots.chip);
@@ -14237,8 +14292,7 @@ const VCombobox = genericComponent()({
14237
14292
  "selected": selected.value,
14238
14293
  "selectStrategy": props.multiple ? 'independent' : 'single-independent',
14239
14294
  "onMousedown": e => e.preventDefault(),
14240
- "onFocusin": onFocusin,
14241
- "onFocusout": onFocusout
14295
+ "onFocusin": onFocusin
14242
14296
  }, {
14243
14297
  default: () => [!displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? createVNode(VListItem, {
14244
14298
  "title": t(props.noDataText)
@@ -14333,24 +14387,25 @@ const VCombobox = genericComponent()({
14333
14387
 
14334
14388
  // Types
14335
14389
 
14390
+ const makeVDialogProps = propsFactory({
14391
+ fullscreen: Boolean,
14392
+ retainFocus: {
14393
+ type: Boolean,
14394
+ default: true
14395
+ },
14396
+ scrollable: Boolean,
14397
+ ...makeVOverlayProps({
14398
+ origin: 'center center',
14399
+ scrollStrategy: 'block',
14400
+ transition: {
14401
+ component: VDialogTransition
14402
+ },
14403
+ zIndex: 2400
14404
+ })
14405
+ }, 'v-dialog');
14336
14406
  const VDialog = genericComponent()({
14337
14407
  name: 'VDialog',
14338
- props: {
14339
- fullscreen: Boolean,
14340
- retainFocus: {
14341
- type: Boolean,
14342
- default: true
14343
- },
14344
- scrollable: Boolean,
14345
- ...makeVOverlayProps({
14346
- origin: 'center center',
14347
- scrollStrategy: 'block',
14348
- transition: {
14349
- component: VDialogTransition
14350
- },
14351
- zIndex: 2400
14352
- })
14353
- },
14408
+ props: makeVDialogProps(),
14354
14409
  emits: {
14355
14410
  'update:modelValue': value => true
14356
14411
  },
@@ -14444,21 +14499,22 @@ const VDialog = genericComponent()({
14444
14499
 
14445
14500
  const VExpansionPanelSymbol = Symbol.for('vuetify:v-expansion-panel');
14446
14501
  const allowedVariants = ['default', 'accordion', 'inset', 'popout'];
14502
+ const makeVExpansionPanelsProps = propsFactory({
14503
+ color: String,
14504
+ variant: {
14505
+ type: String,
14506
+ default: 'default',
14507
+ validator: v => allowedVariants.includes(v)
14508
+ },
14509
+ readonly: Boolean,
14510
+ ...makeComponentProps(),
14511
+ ...makeGroupProps(),
14512
+ ...makeTagProps(),
14513
+ ...makeThemeProps()
14514
+ }, 'v-expansion-panel');
14447
14515
  const VExpansionPanels = genericComponent()({
14448
14516
  name: 'VExpansionPanels',
14449
- props: {
14450
- color: String,
14451
- variant: {
14452
- type: String,
14453
- default: 'default',
14454
- validator: v => allowedVariants.includes(v)
14455
- },
14456
- readonly: Boolean,
14457
- ...makeComponentProps(),
14458
- ...makeGroupProps(),
14459
- ...makeTagProps(),
14460
- ...makeThemeProps()
14461
- },
14517
+ props: makeVExpansionPanelsProps(),
14462
14518
  emits: {
14463
14519
  'update:modelValue': val => true
14464
14520
  },
@@ -14502,17 +14558,15 @@ const makeVExpansionPanelTitleProps = propsFactory({
14502
14558
  type: [Boolean, Object],
14503
14559
  default: false
14504
14560
  },
14505
- readonly: Boolean
14561
+ readonly: Boolean,
14562
+ ...makeComponentProps()
14506
14563
  }, 'v-expansion-panel-title');
14507
14564
  const VExpansionPanelTitle = genericComponent()({
14508
14565
  name: 'VExpansionPanelTitle',
14509
14566
  directives: {
14510
14567
  Ripple
14511
14568
  },
14512
- props: {
14513
- ...makeComponentProps(),
14514
- ...makeVExpansionPanelTitleProps()
14515
- },
14569
+ props: makeVExpansionPanelTitleProps(),
14516
14570
  setup(props, _ref) {
14517
14571
  let {
14518
14572
  slots
@@ -14551,12 +14605,13 @@ const VExpansionPanelTitle = genericComponent()({
14551
14605
  }
14552
14606
  });
14553
14607
 
14608
+ const makeVExpansionPanelTextProps = propsFactory({
14609
+ ...makeComponentProps(),
14610
+ ...makeLazyProps()
14611
+ }, 'v-expansion-panel-text');
14554
14612
  const VExpansionPanelText = genericComponent()({
14555
14613
  name: 'VExpansionPanelText',
14556
- props: {
14557
- ...makeComponentProps(),
14558
- ...makeLazyProps()
14559
- },
14614
+ props: makeVExpansionPanelTextProps(),
14560
14615
  setup(props, _ref) {
14561
14616
  let {
14562
14617
  slots
@@ -14581,20 +14636,21 @@ const VExpansionPanelText = genericComponent()({
14581
14636
  }
14582
14637
  });
14583
14638
 
14639
+ const makeVExpansionPanelProps = propsFactory({
14640
+ title: String,
14641
+ text: String,
14642
+ bgColor: String,
14643
+ ...makeComponentProps(),
14644
+ ...makeElevationProps(),
14645
+ ...makeGroupItemProps(),
14646
+ ...makeLazyProps(),
14647
+ ...makeRoundedProps(),
14648
+ ...makeTagProps(),
14649
+ ...makeVExpansionPanelTitleProps()
14650
+ }, 'v-expansion-panel');
14584
14651
  const VExpansionPanel = genericComponent()({
14585
14652
  name: 'VExpansionPanel',
14586
- props: {
14587
- title: String,
14588
- text: String,
14589
- bgColor: String,
14590
- ...makeComponentProps(),
14591
- ...makeElevationProps(),
14592
- ...makeGroupItemProps(),
14593
- ...makeLazyProps(),
14594
- ...makeRoundedProps(),
14595
- ...makeTagProps(),
14596
- ...makeVExpansionPanelTitleProps()
14597
- },
14653
+ props: makeVExpansionPanelProps(),
14598
14654
  emits: {
14599
14655
  'group:selected': val => true
14600
14656
  },
@@ -14637,8 +14693,7 @@ const VExpansionPanel = genericComponent()({
14637
14693
  'v-expansion-panel--after-active': isAfterSelected.value,
14638
14694
  'v-expansion-panel--disabled': isDisabled.value
14639
14695
  }, roundedClasses.value, backgroundColorClasses.value, props.class],
14640
- "style": [backgroundColorStyles.value, props.style],
14641
- "aria-expanded": groupItem.isSelected.value
14696
+ "style": [backgroundColorStyles.value, props.style]
14642
14697
  }, {
14643
14698
  default: () => [createVNode("div", {
14644
14699
  "class": ['v-expansion-panel__shadow', ...elevationClasses.value]
@@ -14665,42 +14720,43 @@ const VExpansionPanel = genericComponent()({
14665
14720
 
14666
14721
  // Types
14667
14722
 
14723
+ const makeVFileInputProps = propsFactory({
14724
+ chips: Boolean,
14725
+ counter: Boolean,
14726
+ counterSizeString: {
14727
+ type: String,
14728
+ default: '$vuetify.fileInput.counterSize'
14729
+ },
14730
+ counterString: {
14731
+ type: String,
14732
+ default: '$vuetify.fileInput.counter'
14733
+ },
14734
+ multiple: Boolean,
14735
+ showSize: {
14736
+ type: [Boolean, Number],
14737
+ default: false,
14738
+ validator: v => {
14739
+ return typeof v === 'boolean' || [1000, 1024].includes(v);
14740
+ }
14741
+ },
14742
+ ...makeVInputProps({
14743
+ prependIcon: '$file'
14744
+ }),
14745
+ modelValue: {
14746
+ type: Array,
14747
+ default: () => [],
14748
+ validator: val => {
14749
+ return wrapInArray(val).every(v => v != null && typeof v === 'object');
14750
+ }
14751
+ },
14752
+ ...makeVFieldProps({
14753
+ clearable: true
14754
+ })
14755
+ }, 'v-file-input');
14668
14756
  const VFileInput = genericComponent()({
14669
14757
  name: 'VFileInput',
14670
14758
  inheritAttrs: false,
14671
- props: {
14672
- chips: Boolean,
14673
- counter: Boolean,
14674
- counterSizeString: {
14675
- type: String,
14676
- default: '$vuetify.fileInput.counterSize'
14677
- },
14678
- counterString: {
14679
- type: String,
14680
- default: '$vuetify.fileInput.counter'
14681
- },
14682
- multiple: Boolean,
14683
- showSize: {
14684
- type: [Boolean, Number],
14685
- default: false,
14686
- validator: v => {
14687
- return typeof v === 'boolean' || [1000, 1024].includes(v);
14688
- }
14689
- },
14690
- ...makeVInputProps({
14691
- prependIcon: '$file'
14692
- }),
14693
- modelValue: {
14694
- type: Array,
14695
- default: () => [],
14696
- validator: val => {
14697
- return wrapInArray(val).every(v => v != null && typeof v === 'object');
14698
- }
14699
- },
14700
- ...makeVFieldProps({
14701
- clearable: true
14702
- })
14703
- },
14759
+ props: makeVFileInputProps(),
14704
14760
  emits: {
14705
14761
  'click:control': e => true,
14706
14762
  'mousedown:control': e => true,
@@ -14871,25 +14927,26 @@ const VFileInput = genericComponent()({
14871
14927
  }
14872
14928
  });
14873
14929
 
14930
+ const makeVFooterProps = propsFactory({
14931
+ app: Boolean,
14932
+ color: String,
14933
+ height: {
14934
+ type: [Number, String],
14935
+ default: 'auto'
14936
+ },
14937
+ ...makeBorderProps(),
14938
+ ...makeComponentProps(),
14939
+ ...makeElevationProps(),
14940
+ ...makeLayoutItemProps(),
14941
+ ...makeRoundedProps(),
14942
+ ...makeTagProps({
14943
+ tag: 'footer'
14944
+ }),
14945
+ ...makeThemeProps()
14946
+ }, 'v-footer');
14874
14947
  const VFooter = genericComponent()({
14875
14948
  name: 'VFooter',
14876
- props: {
14877
- app: Boolean,
14878
- color: String,
14879
- height: {
14880
- type: [Number, String],
14881
- default: 'auto'
14882
- },
14883
- ...makeBorderProps(),
14884
- ...makeComponentProps(),
14885
- ...makeElevationProps(),
14886
- ...makeLayoutItemProps(),
14887
- ...makeRoundedProps(),
14888
- ...makeTagProps({
14889
- tag: 'footer'
14890
- }),
14891
- ...makeThemeProps()
14892
- },
14949
+ props: makeVFooterProps(),
14893
14950
  setup(props, _ref) {
14894
14951
  let {
14895
14952
  slots
@@ -14940,12 +14997,13 @@ const VFooter = genericComponent()({
14940
14997
 
14941
14998
  // Types
14942
14999
 
15000
+ const makeVFormProps = propsFactory({
15001
+ ...makeComponentProps(),
15002
+ ...makeFormProps()
15003
+ }, 'v-form');
14943
15004
  const VForm = genericComponent()({
14944
15005
  name: 'VForm',
14945
- props: {
14946
- ...makeComponentProps(),
14947
- ...makeFormProps()
14948
- },
15006
+ props: makeVFormProps(),
14949
15007
  emits: {
14950
15008
  'update:modelValue': val => true,
14951
15009
  submit: e => true
@@ -14992,24 +15050,28 @@ const VForm = genericComponent()({
14992
15050
  }
14993
15051
  });
14994
15052
 
15053
+ const makeVContainerProps = propsFactory({
15054
+ fluid: {
15055
+ type: Boolean,
15056
+ default: false
15057
+ },
15058
+ ...makeComponentProps(),
15059
+ ...makeTagProps()
15060
+ }, 'v-container');
14995
15061
  const VContainer = genericComponent()({
14996
15062
  name: 'VContainer',
14997
- props: {
14998
- fluid: {
14999
- type: Boolean,
15000
- default: false
15001
- },
15002
- ...makeComponentProps(),
15003
- ...makeTagProps()
15004
- },
15063
+ props: makeVContainerProps(),
15005
15064
  setup(props, _ref) {
15006
15065
  let {
15007
15066
  slots
15008
15067
  } = _ref;
15068
+ const {
15069
+ rtlClasses
15070
+ } = useRtl();
15009
15071
  useRender(() => createVNode(props.tag, {
15010
15072
  "class": ['v-container', {
15011
15073
  'v-container--fluid': props.fluid
15012
- }, props.class],
15074
+ }, rtlClasses.value, props.class],
15013
15075
  "style": props.style
15014
15076
  }, slots));
15015
15077
  return {};
@@ -15078,32 +15140,33 @@ function breakpointClass$1(type, prop, val) {
15078
15140
  return className.toLowerCase();
15079
15141
  }
15080
15142
  const ALIGN_SELF_VALUES = ['auto', 'start', 'end', 'center', 'baseline', 'stretch'];
15143
+ const makeVColProps = propsFactory({
15144
+ cols: {
15145
+ type: [Boolean, String, Number],
15146
+ default: false
15147
+ },
15148
+ ...breakpointProps,
15149
+ offset: {
15150
+ type: [String, Number],
15151
+ default: null
15152
+ },
15153
+ ...offsetProps,
15154
+ order: {
15155
+ type: [String, Number],
15156
+ default: null
15157
+ },
15158
+ ...orderProps,
15159
+ alignSelf: {
15160
+ type: String,
15161
+ default: null,
15162
+ validator: str => ALIGN_SELF_VALUES.includes(str)
15163
+ },
15164
+ ...makeComponentProps(),
15165
+ ...makeTagProps()
15166
+ }, 'v-col');
15081
15167
  const VCol = genericComponent()({
15082
15168
  name: 'VCol',
15083
- props: {
15084
- cols: {
15085
- type: [Boolean, String, Number],
15086
- default: false
15087
- },
15088
- ...breakpointProps,
15089
- offset: {
15090
- type: [String, Number],
15091
- default: null
15092
- },
15093
- ...offsetProps,
15094
- order: {
15095
- type: [String, Number],
15096
- default: null
15097
- },
15098
- ...orderProps,
15099
- alignSelf: {
15100
- type: String,
15101
- default: null,
15102
- validator: str => ALIGN_SELF_VALUES.includes(str)
15103
- },
15104
- ...makeComponentProps(),
15105
- ...makeTagProps()
15106
- },
15169
+ props: makeVColProps(),
15107
15170
  setup(props, _ref) {
15108
15171
  let {
15109
15172
  slots
@@ -15196,32 +15259,33 @@ function breakpointClass(type, prop, val) {
15196
15259
  className += `-${val}`;
15197
15260
  return className.toLowerCase();
15198
15261
  }
15262
+ const makeVRowProps = propsFactory({
15263
+ dense: Boolean,
15264
+ noGutters: Boolean,
15265
+ align: {
15266
+ type: String,
15267
+ default: null,
15268
+ validator: alignValidator
15269
+ },
15270
+ ...alignProps,
15271
+ justify: {
15272
+ type: String,
15273
+ default: null,
15274
+ validator: justifyValidator
15275
+ },
15276
+ ...justifyProps,
15277
+ alignContent: {
15278
+ type: String,
15279
+ default: null,
15280
+ validator: alignContentValidator
15281
+ },
15282
+ ...alignContentProps,
15283
+ ...makeComponentProps(),
15284
+ ...makeTagProps()
15285
+ }, 'v-row');
15199
15286
  const VRow = genericComponent()({
15200
15287
  name: 'VRow',
15201
- props: {
15202
- dense: Boolean,
15203
- noGutters: Boolean,
15204
- align: {
15205
- type: String,
15206
- default: null,
15207
- validator: alignValidator
15208
- },
15209
- ...alignProps,
15210
- justify: {
15211
- type: String,
15212
- default: null,
15213
- validator: justifyValidator
15214
- },
15215
- ...justifyProps,
15216
- alignContent: {
15217
- type: String,
15218
- default: null,
15219
- validator: alignContentValidator
15220
- },
15221
- ...alignContentProps,
15222
- ...makeComponentProps(),
15223
- ...makeTagProps()
15224
- },
15288
+ props: makeVRowProps(),
15225
15289
  setup(props, _ref) {
15226
15290
  let {
15227
15291
  slots
@@ -15257,16 +15321,17 @@ const VRow = genericComponent()({
15257
15321
  const VSpacer = createSimpleFunctional('flex-grow-1', 'div', 'VSpacer');
15258
15322
 
15259
15323
  // Composables
15324
+ const makeVHoverProps = propsFactory({
15325
+ disabled: Boolean,
15326
+ modelValue: {
15327
+ type: Boolean,
15328
+ default: undefined
15329
+ },
15330
+ ...makeDelayProps()
15331
+ }, 'v-hover');
15260
15332
  const VHover = genericComponent()({
15261
15333
  name: 'VHover',
15262
- props: {
15263
- disabled: Boolean,
15264
- modelValue: {
15265
- type: Boolean,
15266
- default: undefined
15267
- },
15268
- ...makeDelayProps()
15269
- },
15334
+ props: makeVHoverProps(),
15270
15335
  emits: {
15271
15336
  'update:modelValue': value => true
15272
15337
  },
@@ -15290,16 +15355,17 @@ const VHover = genericComponent()({
15290
15355
  });
15291
15356
 
15292
15357
  const VItemGroupSymbol = Symbol.for('vuetify:v-item-group');
15358
+ const makeVItemGroupProps = propsFactory({
15359
+ ...makeComponentProps(),
15360
+ ...makeGroupProps({
15361
+ selectedClass: 'v-item--selected'
15362
+ }),
15363
+ ...makeTagProps(),
15364
+ ...makeThemeProps()
15365
+ }, 'v-item-group');
15293
15366
  const VItemGroup = genericComponent()({
15294
15367
  name: 'VItemGroup',
15295
- props: {
15296
- ...makeComponentProps(),
15297
- ...makeGroupProps({
15298
- selectedClass: 'v-item--selected'
15299
- }),
15300
- ...makeTagProps(),
15301
- ...makeThemeProps()
15302
- },
15368
+ props: makeVItemGroupProps(),
15303
15369
  emits: {
15304
15370
  'update:modelValue': value => true
15305
15371
  },
@@ -15367,12 +15433,13 @@ const VItem = genericComponent()({
15367
15433
 
15368
15434
  const VKbd = createSimpleFunctional('v-kbd');
15369
15435
 
15436
+ const makeVLayoutProps = propsFactory({
15437
+ ...makeComponentProps(),
15438
+ ...makeLayoutProps()
15439
+ }, 'v-layout');
15370
15440
  const VLayout = genericComponent()({
15371
15441
  name: 'VLayout',
15372
- props: {
15373
- ...makeComponentProps(),
15374
- ...makeLayoutProps()
15375
- },
15442
+ props: makeVLayoutProps(),
15376
15443
  setup(props, _ref) {
15377
15444
  let {
15378
15445
  slots
@@ -15398,21 +15465,22 @@ const VLayout = genericComponent()({
15398
15465
 
15399
15466
  // Types
15400
15467
 
15468
+ const makeVLayoutItemProps = propsFactory({
15469
+ position: {
15470
+ type: String,
15471
+ required: true
15472
+ },
15473
+ size: {
15474
+ type: [Number, String],
15475
+ default: 300
15476
+ },
15477
+ modelValue: Boolean,
15478
+ ...makeComponentProps(),
15479
+ ...makeLayoutItemProps()
15480
+ }, 'v-layout-item');
15401
15481
  const VLayoutItem = genericComponent()({
15402
15482
  name: 'VLayoutItem',
15403
- props: {
15404
- position: {
15405
- type: String,
15406
- required: true
15407
- },
15408
- size: {
15409
- type: [Number, String],
15410
- default: 300
15411
- },
15412
- modelValue: Boolean,
15413
- ...makeComponentProps(),
15414
- ...makeLayoutItemProps()
15415
- },
15483
+ props: makeVLayoutItemProps(),
15416
15484
  setup(props, _ref) {
15417
15485
  let {
15418
15486
  slots
@@ -15437,30 +15505,31 @@ const VLayoutItem = genericComponent()({
15437
15505
 
15438
15506
  // Types
15439
15507
 
15508
+ const makeVLazyProps = propsFactory({
15509
+ modelValue: Boolean,
15510
+ options: {
15511
+ type: Object,
15512
+ // For more information on types, navigate to:
15513
+ // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API
15514
+ default: () => ({
15515
+ root: undefined,
15516
+ rootMargin: undefined,
15517
+ threshold: undefined
15518
+ })
15519
+ },
15520
+ ...makeComponentProps(),
15521
+ ...makeDimensionProps(),
15522
+ ...makeTagProps(),
15523
+ ...makeTransitionProps({
15524
+ transition: 'fade-transition'
15525
+ })
15526
+ }, 'v-lazy');
15440
15527
  const VLazy = genericComponent()({
15441
15528
  name: 'VLazy',
15442
15529
  directives: {
15443
15530
  intersect: Intersect
15444
15531
  },
15445
- props: {
15446
- modelValue: Boolean,
15447
- options: {
15448
- type: Object,
15449
- // For more information on types, navigate to:
15450
- // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API
15451
- default: () => ({
15452
- root: undefined,
15453
- rootMargin: undefined,
15454
- threshold: undefined
15455
- })
15456
- },
15457
- ...makeComponentProps(),
15458
- ...makeDimensionProps(),
15459
- ...makeTagProps(),
15460
- ...makeTransitionProps({
15461
- transition: 'fade-transition'
15462
- })
15463
- },
15532
+ props: makeVLazyProps(),
15464
15533
  emits: {
15465
15534
  'update:modelValue': value => true
15466
15535
  },
@@ -15494,18 +15563,19 @@ const VLazy = genericComponent()({
15494
15563
  }
15495
15564
  });
15496
15565
 
15566
+ const makeVLocaleProviderProps = propsFactory({
15567
+ locale: String,
15568
+ fallbackLocale: String,
15569
+ messages: Object,
15570
+ rtl: {
15571
+ type: Boolean,
15572
+ default: undefined
15573
+ },
15574
+ ...makeComponentProps()
15575
+ }, 'v-locale-provider');
15497
15576
  const VLocaleProvider = genericComponent()({
15498
15577
  name: 'VLocaleProvider',
15499
- props: {
15500
- locale: String,
15501
- fallbackLocale: String,
15502
- messages: Object,
15503
- rtl: {
15504
- type: Boolean,
15505
- default: undefined
15506
- },
15507
- ...makeComponentProps()
15508
- },
15578
+ props: makeVLocaleProviderProps(),
15509
15579
  setup(props, _ref) {
15510
15580
  let {
15511
15581
  slots
@@ -15521,15 +15591,16 @@ const VLocaleProvider = genericComponent()({
15521
15591
  }
15522
15592
  });
15523
15593
 
15594
+ const makeVMainProps = propsFactory({
15595
+ scrollable: Boolean,
15596
+ ...makeComponentProps(),
15597
+ ...makeTagProps({
15598
+ tag: 'main'
15599
+ })
15600
+ }, 'v-main');
15524
15601
  const VMain = genericComponent()({
15525
15602
  name: 'VMain',
15526
- props: {
15527
- scrollable: Boolean,
15528
- ...makeComponentProps(),
15529
- ...makeTagProps({
15530
- tag: 'main'
15531
- })
15532
- },
15603
+ props: makeVMainProps(),
15533
15604
  setup(props, _ref) {
15534
15605
  let {
15535
15606
  slots
@@ -15597,18 +15668,24 @@ function useSticky(_ref) {
15597
15668
  const layoutTop = parseFloat(layoutItemStyles.value.top ?? 0);
15598
15669
  const top = window.scrollY - Math.max(0, stuckPosition.value - layoutTop);
15599
15670
  const bottom = rect.height + Math.max(stuckPosition.value, layoutTop) - window.scrollY - window.innerHeight;
15671
+ const bodyScroll = parseFloat(getComputedStyle(rootEl.value).getPropertyValue('--v-body-scroll-y')) || 0;
15600
15672
  if (rect.height < window.innerHeight - layoutTop) {
15601
15673
  isStuck.value = 'top';
15602
15674
  stuckPosition.value = layoutTop;
15603
15675
  } else if (direction === 'up' && isStuck.value === 'bottom' || direction === 'down' && isStuck.value === 'top') {
15604
- stuckPosition.value = window.scrollY + rect.top;
15676
+ stuckPosition.value = window.scrollY + rect.top - bodyScroll;
15605
15677
  isStuck.value = true;
15606
15678
  } else if (direction === 'down' && bottom <= 0) {
15607
15679
  stuckPosition.value = 0;
15608
15680
  isStuck.value = 'bottom';
15609
15681
  } else if (direction === 'up' && top <= 0) {
15610
- stuckPosition.value = rect.top + top;
15611
- isStuck.value = 'top';
15682
+ if (!bodyScroll) {
15683
+ stuckPosition.value = rect.top + top;
15684
+ isStuck.value = 'top';
15685
+ } else if (isStuck.value !== 'top') {
15686
+ stuckPosition.value = -top + bodyScroll + layoutTop;
15687
+ isStuck.value = 'top';
15688
+ }
15612
15689
  }
15613
15690
  lastScrollTop = window.scrollY;
15614
15691
  }
@@ -15851,54 +15928,55 @@ function oops() {
15851
15928
  // Types
15852
15929
 
15853
15930
  const locations = ['start', 'end', 'left', 'right', 'top', 'bottom'];
15931
+ const makeVNavigationDrawerProps = propsFactory({
15932
+ color: String,
15933
+ disableResizeWatcher: Boolean,
15934
+ disableRouteWatcher: Boolean,
15935
+ expandOnHover: Boolean,
15936
+ floating: Boolean,
15937
+ modelValue: {
15938
+ type: Boolean,
15939
+ default: null
15940
+ },
15941
+ permanent: Boolean,
15942
+ rail: {
15943
+ type: Boolean,
15944
+ default: null
15945
+ },
15946
+ railWidth: {
15947
+ type: [Number, String],
15948
+ default: 56
15949
+ },
15950
+ scrim: {
15951
+ type: [String, Boolean],
15952
+ default: true
15953
+ },
15954
+ image: String,
15955
+ temporary: Boolean,
15956
+ touchless: Boolean,
15957
+ width: {
15958
+ type: [Number, String],
15959
+ default: 256
15960
+ },
15961
+ location: {
15962
+ type: String,
15963
+ default: 'start',
15964
+ validator: value => locations.includes(value)
15965
+ },
15966
+ sticky: Boolean,
15967
+ ...makeBorderProps(),
15968
+ ...makeComponentProps(),
15969
+ ...makeElevationProps(),
15970
+ ...makeLayoutItemProps(),
15971
+ ...makeRoundedProps(),
15972
+ ...makeTagProps({
15973
+ tag: 'nav'
15974
+ }),
15975
+ ...makeThemeProps()
15976
+ }, 'v-navigation-drawer');
15854
15977
  const VNavigationDrawer = genericComponent()({
15855
15978
  name: 'VNavigationDrawer',
15856
- props: {
15857
- color: String,
15858
- disableResizeWatcher: Boolean,
15859
- disableRouteWatcher: Boolean,
15860
- expandOnHover: Boolean,
15861
- floating: Boolean,
15862
- modelValue: {
15863
- type: Boolean,
15864
- default: null
15865
- },
15866
- permanent: Boolean,
15867
- rail: {
15868
- type: Boolean,
15869
- default: null
15870
- },
15871
- railWidth: {
15872
- type: [Number, String],
15873
- default: 56
15874
- },
15875
- scrim: {
15876
- type: [String, Boolean],
15877
- default: true
15878
- },
15879
- image: String,
15880
- temporary: Boolean,
15881
- touchless: Boolean,
15882
- width: {
15883
- type: [Number, String],
15884
- default: 256
15885
- },
15886
- location: {
15887
- type: String,
15888
- default: 'start',
15889
- validator: value => locations.includes(value)
15890
- },
15891
- sticky: Boolean,
15892
- ...makeBorderProps(),
15893
- ...makeComponentProps(),
15894
- ...makeElevationProps(),
15895
- ...makeLayoutItemProps(),
15896
- ...makeRoundedProps(),
15897
- ...makeTagProps({
15898
- tag: 'nav'
15899
- }),
15900
- ...makeThemeProps()
15901
- },
15979
+ props: makeVNavigationDrawerProps(),
15902
15980
  emits: {
15903
15981
  'update:modelValue': val => true,
15904
15982
  'update:rail': val => true
@@ -16096,88 +16174,89 @@ function useRefs() {
16096
16174
 
16097
16175
  // Types
16098
16176
 
16099
- const VPagination = genericComponent()({
16100
- name: 'VPagination',
16101
- props: {
16102
- activeColor: String,
16103
- start: {
16104
- type: [Number, String],
16105
- default: 1
16106
- },
16107
- modelValue: {
16108
- type: Number,
16109
- default: props => props.start
16110
- },
16111
- disabled: Boolean,
16112
- length: {
16113
- type: [Number, String],
16114
- default: 1,
16115
- validator: val => val % 1 === 0
16116
- },
16117
- totalVisible: [Number, String],
16118
- firstIcon: {
16119
- type: IconValue,
16120
- default: '$first'
16121
- },
16122
- prevIcon: {
16123
- type: IconValue,
16124
- default: '$prev'
16125
- },
16126
- nextIcon: {
16127
- type: IconValue,
16128
- default: '$next'
16129
- },
16130
- lastIcon: {
16131
- type: IconValue,
16132
- default: '$last'
16133
- },
16134
- ariaLabel: {
16135
- type: String,
16136
- default: '$vuetify.pagination.ariaLabel.root'
16137
- },
16138
- pageAriaLabel: {
16139
- type: String,
16140
- default: '$vuetify.pagination.ariaLabel.page'
16141
- },
16142
- currentPageAriaLabel: {
16143
- type: String,
16144
- default: '$vuetify.pagination.ariaLabel.currentPage'
16145
- },
16146
- firstAriaLabel: {
16147
- type: String,
16148
- default: '$vuetify.pagination.ariaLabel.first'
16149
- },
16150
- previousAriaLabel: {
16151
- type: String,
16152
- default: '$vuetify.pagination.ariaLabel.previous'
16153
- },
16154
- nextAriaLabel: {
16155
- type: String,
16156
- default: '$vuetify.pagination.ariaLabel.next'
16157
- },
16158
- lastAriaLabel: {
16159
- type: String,
16160
- default: '$vuetify.pagination.ariaLabel.last'
16161
- },
16162
- ellipsis: {
16163
- type: String,
16164
- default: '...'
16165
- },
16166
- showFirstLastPage: Boolean,
16167
- ...makeBorderProps(),
16168
- ...makeComponentProps(),
16169
- ...makeDensityProps(),
16170
- ...makeElevationProps(),
16171
- ...makeRoundedProps(),
16172
- ...makeSizeProps(),
16173
- ...makeTagProps({
16174
- tag: 'nav'
16175
- }),
16176
- ...makeThemeProps(),
16177
- ...makeVariantProps({
16178
- variant: 'text'
16179
- })
16177
+ const makeVPaginationProps = propsFactory({
16178
+ activeColor: String,
16179
+ start: {
16180
+ type: [Number, String],
16181
+ default: 1
16182
+ },
16183
+ modelValue: {
16184
+ type: Number,
16185
+ default: props => props.start
16186
+ },
16187
+ disabled: Boolean,
16188
+ length: {
16189
+ type: [Number, String],
16190
+ default: 1,
16191
+ validator: val => val % 1 === 0
16192
+ },
16193
+ totalVisible: [Number, String],
16194
+ firstIcon: {
16195
+ type: IconValue,
16196
+ default: '$first'
16197
+ },
16198
+ prevIcon: {
16199
+ type: IconValue,
16200
+ default: '$prev'
16201
+ },
16202
+ nextIcon: {
16203
+ type: IconValue,
16204
+ default: '$next'
16205
+ },
16206
+ lastIcon: {
16207
+ type: IconValue,
16208
+ default: '$last'
16209
+ },
16210
+ ariaLabel: {
16211
+ type: String,
16212
+ default: '$vuetify.pagination.ariaLabel.root'
16213
+ },
16214
+ pageAriaLabel: {
16215
+ type: String,
16216
+ default: '$vuetify.pagination.ariaLabel.page'
16217
+ },
16218
+ currentPageAriaLabel: {
16219
+ type: String,
16220
+ default: '$vuetify.pagination.ariaLabel.currentPage'
16221
+ },
16222
+ firstAriaLabel: {
16223
+ type: String,
16224
+ default: '$vuetify.pagination.ariaLabel.first'
16225
+ },
16226
+ previousAriaLabel: {
16227
+ type: String,
16228
+ default: '$vuetify.pagination.ariaLabel.previous'
16229
+ },
16230
+ nextAriaLabel: {
16231
+ type: String,
16232
+ default: '$vuetify.pagination.ariaLabel.next'
16233
+ },
16234
+ lastAriaLabel: {
16235
+ type: String,
16236
+ default: '$vuetify.pagination.ariaLabel.last'
16237
+ },
16238
+ ellipsis: {
16239
+ type: String,
16240
+ default: '...'
16180
16241
  },
16242
+ showFirstLastPage: Boolean,
16243
+ ...makeBorderProps(),
16244
+ ...makeComponentProps(),
16245
+ ...makeDensityProps(),
16246
+ ...makeElevationProps(),
16247
+ ...makeRoundedProps(),
16248
+ ...makeSizeProps(),
16249
+ ...makeTagProps({
16250
+ tag: 'nav'
16251
+ }),
16252
+ ...makeThemeProps(),
16253
+ ...makeVariantProps({
16254
+ variant: 'text'
16255
+ })
16256
+ }, 'v-pagination');
16257
+ const VPagination = genericComponent()({
16258
+ name: 'VPagination',
16259
+ props: makeVPaginationProps(),
16181
16260
  emits: {
16182
16261
  'update:modelValue': value => true,
16183
16262
  first: value => true,
@@ -16416,15 +16495,16 @@ const VPagination = genericComponent()({
16416
16495
  function floor(val) {
16417
16496
  return Math.floor(Math.abs(val)) * Math.sign(val);
16418
16497
  }
16498
+ const makeVParallaxProps = propsFactory({
16499
+ scale: {
16500
+ type: [Number, String],
16501
+ default: 0.5
16502
+ },
16503
+ ...makeComponentProps()
16504
+ }, 'v-parallax');
16419
16505
  const VParallax = genericComponent()({
16420
16506
  name: 'VParallax',
16421
- props: {
16422
- scale: {
16423
- type: [Number, String],
16424
- default: 0.5
16425
- },
16426
- ...makeComponentProps()
16427
- },
16507
+ props: makeVParallaxProps(),
16428
16508
  setup(props, _ref) {
16429
16509
  let {
16430
16510
  slots
@@ -16498,14 +16578,15 @@ const VParallax = genericComponent()({
16498
16578
 
16499
16579
  // Types
16500
16580
 
16581
+ const makeVRadioProps = propsFactory({
16582
+ ...makeSelectionControlProps({
16583
+ falseIcon: '$radioOff',
16584
+ trueIcon: '$radioOn'
16585
+ })
16586
+ }, 'v-radio');
16501
16587
  const VRadio = genericComponent()({
16502
16588
  name: 'VRadio',
16503
- props: {
16504
- ...makeSelectionControlProps({
16505
- falseIcon: '$radioOff',
16506
- trueIcon: '$radioOn'
16507
- })
16508
- },
16589
+ props: makeVRadioProps(),
16509
16590
  setup(props, _ref) {
16510
16591
  let {
16511
16592
  slots
@@ -16521,29 +16602,30 @@ const VRadio = genericComponent()({
16521
16602
 
16522
16603
  // Types
16523
16604
 
16605
+ const makeVRadioGroupProps = propsFactory({
16606
+ height: {
16607
+ type: [Number, String],
16608
+ default: 'auto'
16609
+ },
16610
+ ...makeVInputProps(),
16611
+ ...omit(makeSelectionControlGroupProps(), ['multiple']),
16612
+ trueIcon: {
16613
+ type: IconValue,
16614
+ default: '$radioOn'
16615
+ },
16616
+ falseIcon: {
16617
+ type: IconValue,
16618
+ default: '$radioOff'
16619
+ },
16620
+ type: {
16621
+ type: String,
16622
+ default: 'radio'
16623
+ }
16624
+ }, 'v-radio-group');
16524
16625
  const VRadioGroup = genericComponent()({
16525
16626
  name: 'VRadioGroup',
16526
16627
  inheritAttrs: false,
16527
- props: {
16528
- height: {
16529
- type: [Number, String],
16530
- default: 'auto'
16531
- },
16532
- ...makeVInputProps(),
16533
- ...omit(makeSelectionControlGroupProps(), ['multiple']),
16534
- trueIcon: {
16535
- type: IconValue,
16536
- default: '$radioOn'
16537
- },
16538
- falseIcon: {
16539
- type: IconValue,
16540
- default: '$radioOff'
16541
- },
16542
- type: {
16543
- type: String,
16544
- default: 'radio'
16545
- }
16546
- },
16628
+ props: makeVRadioGroupProps(),
16547
16629
  emits: {
16548
16630
  'update:modelValue': val => true
16549
16631
  },
@@ -16609,18 +16691,19 @@ const VRadioGroup = genericComponent()({
16609
16691
 
16610
16692
  // Types
16611
16693
 
16694
+ const makeVRangeSliderProps = propsFactory({
16695
+ ...makeFocusProps(),
16696
+ ...makeVInputProps(),
16697
+ ...makeSliderProps(),
16698
+ strict: Boolean,
16699
+ modelValue: {
16700
+ type: Array,
16701
+ default: () => [0, 0]
16702
+ }
16703
+ }, 'v-range-slider');
16612
16704
  const VRangeSlider = genericComponent()({
16613
16705
  name: 'VRangeSlider',
16614
- props: {
16615
- ...makeFocusProps(),
16616
- ...makeVInputProps(),
16617
- ...makeSliderProps(),
16618
- strict: Boolean,
16619
- modelValue: {
16620
- type: Array,
16621
- default: () => [0, 0]
16622
- }
16623
- },
16706
+ props: makeVRangeSliderProps(),
16624
16707
  emits: {
16625
16708
  'update:focused': value => true,
16626
16709
  'update:modelValue': value => true,
@@ -16635,6 +16718,9 @@ const VRangeSlider = genericComponent()({
16635
16718
  const startThumbRef = ref();
16636
16719
  const stopThumbRef = ref();
16637
16720
  const inputRef = ref();
16721
+ const {
16722
+ rtlClasses
16723
+ } = useRtl();
16638
16724
  function getActiveThumb(e) {
16639
16725
  if (!startThumbRef.value || !stopThumbRef.value) return;
16640
16726
  const startOffset = getOffset(e, startThumbRef.value.$el, props.direction);
@@ -16705,7 +16791,7 @@ const VRangeSlider = genericComponent()({
16705
16791
  'v-slider--focused': isFocused.value,
16706
16792
  'v-slider--pressed': mousePressed.value,
16707
16793
  'v-slider--disabled': props.disabled
16708
- }, props.class],
16794
+ }, rtlClasses.value, props.class],
16709
16795
  "style": props.style,
16710
16796
  "ref": inputRef
16711
16797
  }, inputProps, {
@@ -16811,50 +16897,51 @@ const VRangeSlider = genericComponent()({
16811
16897
 
16812
16898
  // Types
16813
16899
 
16900
+ const makeVRatingProps = propsFactory({
16901
+ name: String,
16902
+ itemAriaLabel: {
16903
+ type: String,
16904
+ default: '$vuetify.rating.ariaLabel.item'
16905
+ },
16906
+ activeColor: String,
16907
+ color: String,
16908
+ clearable: Boolean,
16909
+ disabled: Boolean,
16910
+ emptyIcon: {
16911
+ type: IconValue,
16912
+ default: '$ratingEmpty'
16913
+ },
16914
+ fullIcon: {
16915
+ type: IconValue,
16916
+ default: '$ratingFull'
16917
+ },
16918
+ halfIncrements: Boolean,
16919
+ hover: Boolean,
16920
+ length: {
16921
+ type: [Number, String],
16922
+ default: 5
16923
+ },
16924
+ readonly: Boolean,
16925
+ modelValue: {
16926
+ type: [Number, String],
16927
+ default: 0
16928
+ },
16929
+ itemLabels: Array,
16930
+ itemLabelPosition: {
16931
+ type: String,
16932
+ default: 'top',
16933
+ validator: v => ['top', 'bottom'].includes(v)
16934
+ },
16935
+ ripple: Boolean,
16936
+ ...makeComponentProps(),
16937
+ ...makeDensityProps(),
16938
+ ...makeSizeProps(),
16939
+ ...makeTagProps(),
16940
+ ...makeThemeProps()
16941
+ }, 'v-rating');
16814
16942
  const VRating = genericComponent()({
16815
16943
  name: 'VRating',
16816
- props: {
16817
- name: String,
16818
- itemAriaLabel: {
16819
- type: String,
16820
- default: '$vuetify.rating.ariaLabel.item'
16821
- },
16822
- activeColor: String,
16823
- color: String,
16824
- clearable: Boolean,
16825
- disabled: Boolean,
16826
- emptyIcon: {
16827
- type: IconValue,
16828
- default: '$ratingEmpty'
16829
- },
16830
- fullIcon: {
16831
- type: IconValue,
16832
- default: '$ratingFull'
16833
- },
16834
- halfIncrements: Boolean,
16835
- hover: Boolean,
16836
- length: {
16837
- type: [Number, String],
16838
- default: 5
16839
- },
16840
- readonly: Boolean,
16841
- modelValue: {
16842
- type: [Number, String],
16843
- default: 0
16844
- },
16845
- itemLabels: Array,
16846
- itemLabelPosition: {
16847
- type: String,
16848
- default: 'top',
16849
- validator: v => ['top', 'bottom'].includes(v)
16850
- },
16851
- ripple: Boolean,
16852
- ...makeComponentProps(),
16853
- ...makeDensityProps(),
16854
- ...makeSizeProps(),
16855
- ...makeTagProps(),
16856
- ...makeThemeProps()
16857
- },
16944
+ props: makeVRatingProps(),
16858
16945
  emits: {
16859
16946
  'update:modelValue': value => true
16860
16947
  },
@@ -17366,9 +17453,7 @@ const VSlideGroup = genericComponent()({
17366
17453
 
17367
17454
  const VSlideGroupItem = genericComponent()({
17368
17455
  name: 'VSlideGroupItem',
17369
- props: {
17370
- ...makeGroupItemProps()
17371
- },
17456
+ props: makeGroupItemProps(),
17372
17457
  emits: {
17373
17458
  'group:selected': val => true
17374
17459
  },
@@ -17386,26 +17471,27 @@ const VSlideGroupItem = genericComponent()({
17386
17471
  }
17387
17472
  });
17388
17473
 
17474
+ const makeVSnackbarProps = propsFactory({
17475
+ multiLine: Boolean,
17476
+ timeout: {
17477
+ type: [Number, String],
17478
+ default: 5000
17479
+ },
17480
+ vertical: Boolean,
17481
+ ...makeLocationProps({
17482
+ location: 'bottom'
17483
+ }),
17484
+ ...makePositionProps(),
17485
+ ...makeRoundedProps(),
17486
+ ...makeVariantProps(),
17487
+ ...makeThemeProps(),
17488
+ ...omit(makeVOverlayProps({
17489
+ transition: 'v-snackbar-transition'
17490
+ }), ['persistent', 'noClickAnimation', 'scrim', 'scrollStrategy'])
17491
+ }, 'v-snackbar');
17389
17492
  const VSnackbar = genericComponent()({
17390
17493
  name: 'VSnackbar',
17391
- props: {
17392
- multiLine: Boolean,
17393
- timeout: {
17394
- type: [Number, String],
17395
- default: 5000
17396
- },
17397
- vertical: Boolean,
17398
- ...makeLocationProps({
17399
- location: 'bottom'
17400
- }),
17401
- ...makePositionProps(),
17402
- ...makeRoundedProps(),
17403
- ...makeVariantProps(),
17404
- ...makeThemeProps(),
17405
- ...omit(makeVOverlayProps({
17406
- transition: 'v-snackbar-transition'
17407
- }), ['persistent', 'noClickAnimation', 'scrim', 'scrollStrategy'])
17408
- },
17494
+ props: makeVSnackbarProps(),
17409
17495
  emits: {
17410
17496
  'update:modelValue': v => true
17411
17497
  },
@@ -17502,20 +17588,21 @@ const VSnackbar = genericComponent()({
17502
17588
 
17503
17589
  // Types
17504
17590
 
17591
+ const makeVSwitchProps = propsFactory({
17592
+ indeterminate: Boolean,
17593
+ inset: Boolean,
17594
+ flat: Boolean,
17595
+ loading: {
17596
+ type: [Boolean, String],
17597
+ default: false
17598
+ },
17599
+ ...makeVInputProps(),
17600
+ ...makeSelectionControlProps()
17601
+ }, 'v-switch');
17505
17602
  const VSwitch = genericComponent()({
17506
17603
  name: 'VSwitch',
17507
17604
  inheritAttrs: false,
17508
- props: {
17509
- indeterminate: Boolean,
17510
- inset: Boolean,
17511
- flat: Boolean,
17512
- loading: {
17513
- type: [Boolean, String],
17514
- default: false
17515
- },
17516
- ...makeVInputProps(),
17517
- ...makeSelectionControlProps()
17518
- },
17605
+ props: makeVSwitchProps(),
17519
17606
  emits: {
17520
17607
  'update:focused': focused => true,
17521
17608
  'update:modelValue': () => true,
@@ -17625,19 +17712,20 @@ const VSwitch = genericComponent()({
17625
17712
  }
17626
17713
  });
17627
17714
 
17715
+ const makeVSystemBarProps = propsFactory({
17716
+ color: String,
17717
+ height: [Number, String],
17718
+ window: Boolean,
17719
+ ...makeComponentProps(),
17720
+ ...makeElevationProps(),
17721
+ ...makeLayoutItemProps(),
17722
+ ...makeRoundedProps(),
17723
+ ...makeTagProps(),
17724
+ ...makeThemeProps()
17725
+ }, 'v-system-bar');
17628
17726
  const VSystemBar = genericComponent()({
17629
17727
  name: 'VSystemBar',
17630
- props: {
17631
- color: String,
17632
- height: [Number, String],
17633
- window: Boolean,
17634
- ...makeComponentProps(),
17635
- ...makeElevationProps(),
17636
- ...makeLayoutItemProps(),
17637
- ...makeRoundedProps(),
17638
- ...makeTagProps(),
17639
- ...makeThemeProps()
17640
- },
17728
+ props: makeVSystemBarProps(),
17641
17729
  setup(props, _ref) {
17642
17730
  let {
17643
17731
  slots
@@ -17682,21 +17770,22 @@ const VSystemBar = genericComponent()({
17682
17770
 
17683
17771
  const VTabsSymbol = Symbol.for('vuetify:v-tabs');
17684
17772
 
17773
+ const makeVTabProps = propsFactory({
17774
+ fixed: Boolean,
17775
+ sliderColor: String,
17776
+ hideSlider: Boolean,
17777
+ direction: {
17778
+ type: String,
17779
+ default: 'horizontal'
17780
+ },
17781
+ ...omit(makeVBtnProps({
17782
+ selectedClass: 'v-tab--selected',
17783
+ variant: 'text'
17784
+ }), ['active', 'block', 'flat', 'location', 'position', 'symbol'])
17785
+ }, 'v-tabs');
17685
17786
  const VTab = genericComponent()({
17686
17787
  name: 'VTab',
17687
- props: {
17688
- fixed: Boolean,
17689
- sliderColor: String,
17690
- hideSlider: Boolean,
17691
- direction: {
17692
- type: String,
17693
- default: 'horizontal'
17694
- },
17695
- ...omit(makeVBtnProps({
17696
- selectedClass: 'v-tab--selected',
17697
- variant: 'text'
17698
- }), ['active', 'block', 'flat', 'location', 'position', 'symbol'])
17699
- },
17788
+ props: makeVTabProps(),
17700
17789
  setup(props, _ref) {
17701
17790
  let {
17702
17791
  slots,
@@ -17782,34 +17871,35 @@ function parseItems(items) {
17782
17871
  return item;
17783
17872
  });
17784
17873
  }
17874
+ const makeVTabsProps = propsFactory({
17875
+ alignTabs: {
17876
+ type: String,
17877
+ default: 'start'
17878
+ },
17879
+ color: String,
17880
+ fixedTabs: Boolean,
17881
+ items: {
17882
+ type: Array,
17883
+ default: () => []
17884
+ },
17885
+ stacked: Boolean,
17886
+ bgColor: String,
17887
+ grow: Boolean,
17888
+ height: {
17889
+ type: [Number, String],
17890
+ default: undefined
17891
+ },
17892
+ hideSlider: Boolean,
17893
+ sliderColor: String,
17894
+ ...makeVSlideGroupProps({
17895
+ mandatory: 'force'
17896
+ }),
17897
+ ...makeDensityProps(),
17898
+ ...makeTagProps()
17899
+ }, 'v-tabs');
17785
17900
  const VTabs = genericComponent()({
17786
17901
  name: 'VTabs',
17787
- props: {
17788
- alignTabs: {
17789
- type: String,
17790
- default: 'start'
17791
- },
17792
- color: String,
17793
- fixedTabs: Boolean,
17794
- items: {
17795
- type: Array,
17796
- default: () => []
17797
- },
17798
- stacked: Boolean,
17799
- bgColor: String,
17800
- grow: Boolean,
17801
- height: {
17802
- type: [Number, String],
17803
- default: undefined
17804
- },
17805
- hideSlider: Boolean,
17806
- sliderColor: String,
17807
- ...makeVSlideGroupProps({
17808
- mandatory: 'force'
17809
- }),
17810
- ...makeDensityProps(),
17811
- ...makeTagProps()
17812
- },
17902
+ props: makeVTabsProps(),
17813
17903
  emits: {
17814
17904
  'update:modelValue': v => true
17815
17905
  },
@@ -17861,18 +17951,19 @@ const VTabs = genericComponent()({
17861
17951
  }
17862
17952
  });
17863
17953
 
17954
+ const makeVTableProps = propsFactory({
17955
+ fixedHeader: Boolean,
17956
+ fixedFooter: Boolean,
17957
+ height: [Number, String],
17958
+ hover: Boolean,
17959
+ ...makeComponentProps(),
17960
+ ...makeDensityProps(),
17961
+ ...makeTagProps(),
17962
+ ...makeThemeProps()
17963
+ }, 'v-table');
17864
17964
  const VTable = genericComponent()({
17865
17965
  name: 'VTable',
17866
- props: {
17867
- fixedHeader: Boolean,
17868
- fixedFooter: Boolean,
17869
- height: [Number, String],
17870
- hover: Boolean,
17871
- ...makeComponentProps(),
17872
- ...makeDensityProps(),
17873
- ...makeTagProps(),
17874
- ...makeThemeProps()
17875
- },
17966
+ props: makeVTableProps(),
17876
17967
  setup(props, _ref) {
17877
17968
  let {
17878
17969
  slots
@@ -17907,36 +17998,37 @@ const VTable = genericComponent()({
17907
17998
 
17908
17999
  // Types
17909
18000
 
18001
+ const makeVTextareaProps = propsFactory({
18002
+ autoGrow: Boolean,
18003
+ autofocus: Boolean,
18004
+ counter: [Boolean, Number, String],
18005
+ counterValue: Function,
18006
+ prefix: String,
18007
+ placeholder: String,
18008
+ persistentPlaceholder: Boolean,
18009
+ persistentCounter: Boolean,
18010
+ noResize: Boolean,
18011
+ rows: {
18012
+ type: [Number, String],
18013
+ default: 5,
18014
+ validator: v => !isNaN(parseFloat(v))
18015
+ },
18016
+ maxRows: {
18017
+ type: [Number, String],
18018
+ validator: v => !isNaN(parseFloat(v))
18019
+ },
18020
+ suffix: String,
18021
+ modelModifiers: Object,
18022
+ ...makeVInputProps(),
18023
+ ...makeVFieldProps()
18024
+ }, 'v-textarea');
17910
18025
  const VTextarea = genericComponent()({
17911
18026
  name: 'VTextarea',
17912
18027
  directives: {
17913
18028
  Intersect
17914
18029
  },
17915
18030
  inheritAttrs: false,
17916
- props: {
17917
- autoGrow: Boolean,
17918
- autofocus: Boolean,
17919
- counter: [Boolean, Number, String],
17920
- counterValue: Function,
17921
- prefix: String,
17922
- placeholder: String,
17923
- persistentPlaceholder: Boolean,
17924
- persistentCounter: Boolean,
17925
- noResize: Boolean,
17926
- rows: {
17927
- type: [Number, String],
17928
- default: 5,
17929
- validator: v => !isNaN(parseFloat(v))
17930
- },
17931
- maxRows: {
17932
- type: [Number, String],
17933
- validator: v => !isNaN(parseFloat(v))
17934
- },
17935
- suffix: String,
17936
- modelModifiers: Object,
17937
- ...makeVInputProps(),
17938
- ...makeVFieldProps()
17939
- },
18031
+ props: makeVTextareaProps(),
17940
18032
  emits: {
17941
18033
  'click:control': e => true,
17942
18034
  'mousedown:control': e => true,
@@ -18138,14 +18230,15 @@ const VTextarea = genericComponent()({
18138
18230
  }
18139
18231
  });
18140
18232
 
18233
+ const makeVThemeProviderProps = propsFactory({
18234
+ withBackground: Boolean,
18235
+ ...makeComponentProps(),
18236
+ ...makeThemeProps(),
18237
+ ...makeTagProps()
18238
+ }, 'v-theme-provider');
18141
18239
  const VThemeProvider = genericComponent()({
18142
18240
  name: 'VThemeProvider',
18143
- props: {
18144
- withBackground: Boolean,
18145
- ...makeComponentProps(),
18146
- ...makeThemeProps(),
18147
- ...makeTagProps()
18148
- },
18241
+ props: makeVThemeProviderProps(),
18149
18242
  setup(props, _ref) {
18150
18243
  let {
18151
18244
  slots
@@ -18167,46 +18260,47 @@ const VThemeProvider = genericComponent()({
18167
18260
 
18168
18261
  // Types
18169
18262
 
18263
+ const makeVTimelineProps = propsFactory({
18264
+ align: {
18265
+ type: String,
18266
+ default: 'center',
18267
+ validator: v => ['center', 'start'].includes(v)
18268
+ },
18269
+ direction: {
18270
+ type: String,
18271
+ default: 'vertical',
18272
+ validator: v => ['vertical', 'horizontal'].includes(v)
18273
+ },
18274
+ justify: {
18275
+ type: String,
18276
+ default: 'auto',
18277
+ validator: v => ['auto', 'center'].includes(v)
18278
+ },
18279
+ side: {
18280
+ type: String,
18281
+ validator: v => v == null || ['start', 'end'].includes(v)
18282
+ },
18283
+ lineInset: {
18284
+ type: [String, Number],
18285
+ default: 0
18286
+ },
18287
+ lineThickness: {
18288
+ type: [String, Number],
18289
+ default: 2
18290
+ },
18291
+ lineColor: String,
18292
+ truncateLine: {
18293
+ type: String,
18294
+ validator: v => ['start', 'end', 'both'].includes(v)
18295
+ },
18296
+ ...makeComponentProps(),
18297
+ ...makeDensityProps(),
18298
+ ...makeTagProps(),
18299
+ ...makeThemeProps()
18300
+ }, 'v-timeline');
18170
18301
  const VTimeline = genericComponent()({
18171
18302
  name: 'VTimeline',
18172
- props: {
18173
- align: {
18174
- type: String,
18175
- default: 'center',
18176
- validator: v => ['center', 'start'].includes(v)
18177
- },
18178
- direction: {
18179
- type: String,
18180
- default: 'vertical',
18181
- validator: v => ['vertical', 'horizontal'].includes(v)
18182
- },
18183
- justify: {
18184
- type: String,
18185
- default: 'auto',
18186
- validator: v => ['auto', 'center'].includes(v)
18187
- },
18188
- side: {
18189
- type: String,
18190
- validator: v => v == null || ['start', 'end'].includes(v)
18191
- },
18192
- lineInset: {
18193
- type: [String, Number],
18194
- default: 0
18195
- },
18196
- lineThickness: {
18197
- type: [String, Number],
18198
- default: 2
18199
- },
18200
- lineColor: String,
18201
- truncateLine: {
18202
- type: String,
18203
- validator: v => ['start', 'end', 'both'].includes(v)
18204
- },
18205
- ...makeComponentProps(),
18206
- ...makeDensityProps(),
18207
- ...makeTagProps(),
18208
- ...makeThemeProps()
18209
- },
18303
+ props: makeVTimelineProps(),
18210
18304
  setup(props, _ref) {
18211
18305
  let {
18212
18306
  slots
@@ -18217,6 +18311,9 @@ const VTimeline = genericComponent()({
18217
18311
  const {
18218
18312
  densityClasses
18219
18313
  } = useDensity(props);
18314
+ const {
18315
+ rtlClasses
18316
+ } = useRtl();
18220
18317
  provideDefaults({
18221
18318
  VTimelineDivider: {
18222
18319
  lineColor: toRef(props, 'lineColor')
@@ -18246,7 +18343,7 @@ const VTimeline = genericComponent()({
18246
18343
  useRender(() => createVNode(props.tag, {
18247
18344
  "class": ['v-timeline', `v-timeline--${props.direction}`, `v-timeline--align-${props.align}`, `v-timeline--justify-${props.justify}`, truncateClasses.value, {
18248
18345
  'v-timeline--inset-line': !!props.lineInset
18249
- }, themeClasses.value, densityClasses.value, sideClasses.value, props.class],
18346
+ }, themeClasses.value, densityClasses.value, sideClasses.value, rtlClasses.value, props.class],
18250
18347
  "style": [{
18251
18348
  '--v-timeline-line-thickness': convertToUnit(props.lineThickness)
18252
18349
  }, props.style]
@@ -18255,20 +18352,21 @@ const VTimeline = genericComponent()({
18255
18352
  }
18256
18353
  });
18257
18354
 
18355
+ const makeVTimelineDividerProps = propsFactory({
18356
+ dotColor: String,
18357
+ fillDot: Boolean,
18358
+ hideDot: Boolean,
18359
+ icon: IconValue,
18360
+ iconColor: String,
18361
+ lineColor: String,
18362
+ ...makeComponentProps(),
18363
+ ...makeRoundedProps(),
18364
+ ...makeSizeProps(),
18365
+ ...makeElevationProps()
18366
+ }, 'v-timeline-divider');
18258
18367
  const VTimelineDivider = genericComponent()({
18259
18368
  name: 'VTimelineDivider',
18260
- props: {
18261
- dotColor: String,
18262
- fillDot: Boolean,
18263
- hideDot: Boolean,
18264
- icon: IconValue,
18265
- iconColor: String,
18266
- lineColor: String,
18267
- ...makeComponentProps(),
18268
- ...makeRoundedProps(),
18269
- ...makeSizeProps(),
18270
- ...makeElevationProps()
18271
- },
18369
+ props: makeVTimelineDividerProps(),
18272
18370
  setup(props, _ref) {
18273
18371
  let {
18274
18372
  slots
@@ -18331,27 +18429,28 @@ const VTimelineDivider = genericComponent()({
18331
18429
 
18332
18430
  // Types
18333
18431
 
18432
+ const makeVTimelineItemProps = propsFactory({
18433
+ density: String,
18434
+ dotColor: String,
18435
+ fillDot: Boolean,
18436
+ hideDot: Boolean,
18437
+ hideOpposite: {
18438
+ type: Boolean,
18439
+ default: undefined
18440
+ },
18441
+ icon: IconValue,
18442
+ iconColor: String,
18443
+ lineInset: [Number, String],
18444
+ ...makeComponentProps(),
18445
+ ...makeDimensionProps(),
18446
+ ...makeElevationProps(),
18447
+ ...makeRoundedProps(),
18448
+ ...makeSizeProps(),
18449
+ ...makeTagProps()
18450
+ }, 'v-timeline-item');
18334
18451
  const VTimelineItem = genericComponent()({
18335
18452
  name: 'VTimelineItem',
18336
- props: {
18337
- density: String,
18338
- dotColor: String,
18339
- fillDot: Boolean,
18340
- hideDot: Boolean,
18341
- hideOpposite: {
18342
- type: Boolean,
18343
- default: undefined
18344
- },
18345
- icon: IconValue,
18346
- iconColor: String,
18347
- lineInset: [Number, String],
18348
- ...makeComponentProps(),
18349
- ...makeDimensionProps(),
18350
- ...makeElevationProps(),
18351
- ...makeRoundedProps(),
18352
- ...makeSizeProps(),
18353
- ...makeTagProps()
18354
- },
18453
+ props: makeVTimelineItemProps(),
18355
18454
  setup(props, _ref) {
18356
18455
  let {
18357
18456
  slots
@@ -18399,26 +18498,27 @@ const VTimelineItem = genericComponent()({
18399
18498
 
18400
18499
  // Types
18401
18500
 
18501
+ const makeVTooltipProps = propsFactory({
18502
+ id: String,
18503
+ text: String,
18504
+ ...omit(makeVOverlayProps({
18505
+ closeOnBack: false,
18506
+ location: 'end',
18507
+ locationStrategy: 'connected',
18508
+ eager: true,
18509
+ minWidth: 0,
18510
+ offset: 10,
18511
+ openOnClick: false,
18512
+ openOnHover: true,
18513
+ origin: 'auto',
18514
+ scrim: false,
18515
+ scrollStrategy: 'reposition',
18516
+ transition: false
18517
+ }), ['absolute', 'persistent'])
18518
+ }, 'v-tooltip');
18402
18519
  const VTooltip = genericComponent()({
18403
18520
  name: 'VTooltip',
18404
- props: {
18405
- id: String,
18406
- text: String,
18407
- ...omit(makeVOverlayProps({
18408
- closeOnBack: false,
18409
- location: 'end',
18410
- locationStrategy: 'connected',
18411
- eager: true,
18412
- minWidth: 0,
18413
- offset: 10,
18414
- openOnClick: false,
18415
- openOnHover: true,
18416
- origin: 'auto',
18417
- scrim: false,
18418
- scrollStrategy: 'reposition',
18419
- transition: false
18420
- }), ['absolute', 'persistent'])
18421
- },
18521
+ props: makeVTooltipProps(),
18422
18522
  emits: {
18423
18523
  'update:modelValue': value => true
18424
18524
  },
@@ -18481,9 +18581,7 @@ const VTooltip = genericComponent()({
18481
18581
  // Composables
18482
18582
  const VValidation = genericComponent()({
18483
18583
  name: 'VValidation',
18484
- props: {
18485
- ...makeValidationProps()
18486
- },
18584
+ props: makeValidationProps(),
18487
18585
  emits: {
18488
18586
  'update:modelValue': val => true
18489
18587
  },
@@ -18496,12 +18594,13 @@ const VValidation = genericComponent()({
18496
18594
  }
18497
18595
  });
18498
18596
 
18597
+ const makeVVirtualScrollItemProps = propsFactory({
18598
+ dynamicHeight: Boolean,
18599
+ ...makeComponentProps()
18600
+ }, 'v-virtual-scroll-item');
18499
18601
  const VVirtualScrollItem = genericComponent()({
18500
18602
  name: 'VVirtualScrollItem',
18501
- props: {
18502
- dynamicHeight: Boolean,
18503
- ...makeComponentProps()
18504
- },
18603
+ props: makeVVirtualScrollItemProps(),
18505
18604
  emits: {
18506
18605
  'update:height': height => true
18507
18606
  },
@@ -18537,17 +18636,18 @@ const VVirtualScrollItem = genericComponent()({
18537
18636
 
18538
18637
  const UP = -1;
18539
18638
  const DOWN = 1;
18639
+ const makeVVirtualScrollProps = propsFactory({
18640
+ items: {
18641
+ type: Array,
18642
+ default: () => []
18643
+ },
18644
+ itemHeight: [Number, String],
18645
+ ...makeComponentProps(),
18646
+ ...makeDimensionProps()
18647
+ }, 'v-virtual-scroll');
18540
18648
  const VVirtualScroll = genericComponent()({
18541
18649
  name: 'VVirtualScroll',
18542
- props: {
18543
- items: {
18544
- type: Array,
18545
- default: () => []
18546
- },
18547
- itemHeight: [Number, String],
18548
- ...makeComponentProps(),
18549
- ...makeDimensionProps()
18550
- },
18650
+ props: makeVVirtualScrollProps(),
18551
18651
  setup(props, _ref) {
18552
18652
  let {
18553
18653
  slots
@@ -19427,7 +19527,7 @@ function createVuetify$1() {
19427
19527
  date
19428
19528
  };
19429
19529
  }
19430
- const version$1 = "3.2.2";
19530
+ const version$1 = "3.2.3";
19431
19531
  createVuetify$1.version = version$1;
19432
19532
 
19433
19533
  // Vue's inject() can only be used in setup
@@ -19447,7 +19547,7 @@ const createVuetify = function () {
19447
19547
  ...options
19448
19548
  });
19449
19549
  };
19450
- const version = "3.2.2";
19550
+ const version = "3.2.3";
19451
19551
  createVuetify.version = version;
19452
19552
 
19453
19553
  export { components, createVuetify, directives, useDefaults, useDisplay, useLayout, useLocale, useRtl, useTheme, version };