@vuetify/nightly 3.7.4-next.2024-11-06 → 3.7.5-master.2024-12-03

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 (416) hide show
  1. package/dist/json/attributes.json +1561 -1561
  2. package/dist/json/importMap-labs.json +8 -8
  3. package/dist/json/importMap.json +120 -120
  4. package/dist/json/web-types.json +2945 -2945
  5. package/dist/vuetify-labs.css +25432 -23715
  6. package/dist/vuetify-labs.d.ts +14220 -3389
  7. package/dist/vuetify-labs.esm.js +73 -70
  8. package/dist/vuetify-labs.esm.js.map +1 -1
  9. package/dist/vuetify-labs.js +73 -70
  10. package/dist/vuetify-labs.min.css +4 -3
  11. package/dist/vuetify.css +23969 -22249
  12. package/dist/vuetify.d.ts +11832 -2652
  13. package/dist/vuetify.esm.js +62 -60
  14. package/dist/vuetify.esm.js.map +1 -1
  15. package/dist/vuetify.js +62 -60
  16. package/dist/vuetify.js.map +1 -1
  17. package/dist/vuetify.min.css +4 -3
  18. package/dist/vuetify.min.js +37 -37
  19. package/dist/vuetify.min.js.map +1 -1
  20. package/lib/components/VAlert/VAlert.css +215 -207
  21. package/lib/components/VAlert/VAlert.mjs +1 -1
  22. package/lib/components/VAlert/index.d.mts +86 -8
  23. package/lib/components/VApp/VApp.css +15 -16
  24. package/lib/components/VApp/index.d.mts +20 -4
  25. package/lib/components/VAppBar/VAppBar.css +12 -14
  26. package/lib/components/VAppBar/VAppBar.mjs +1 -1
  27. package/lib/components/VAppBar/VAppBarNavIcon.mjs +1 -1
  28. package/lib/components/VAppBar/VAppBarTitle.mjs +1 -1
  29. package/lib/components/VAppBar/index.d.mts +148 -12
  30. package/lib/components/VAutocomplete/VAutocomplete.css +85 -86
  31. package/lib/components/VAutocomplete/VAutocomplete.mjs +5 -5
  32. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  33. package/lib/components/VAutocomplete/index.d.mts +1396 -237
  34. package/lib/components/VAvatar/VAvatar.css +106 -108
  35. package/lib/components/VAvatar/index.d.mts +31 -4
  36. package/lib/components/VBadge/VBadge.css +77 -73
  37. package/lib/components/VBadge/VBadge.mjs +1 -1
  38. package/lib/components/VBadge/VBadge.sass +4 -0
  39. package/lib/components/VBadge/index.d.mts +41 -4
  40. package/lib/components/VBanner/VBanner.css +166 -161
  41. package/lib/components/VBanner/VBanner.mjs +1 -1
  42. package/lib/components/VBanner/index.d.mts +88 -12
  43. package/lib/components/VBottomNavigation/VBottomNavigation.css +63 -64
  44. package/lib/components/VBottomNavigation/index.d.mts +32 -4
  45. package/lib/components/VBottomSheet/VBottomSheet.css +31 -34
  46. package/lib/components/VBottomSheet/VBottomSheet.mjs +1 -1
  47. package/lib/components/VBottomSheet/index.d.mts +88 -4
  48. package/lib/components/VBreadcrumbs/VBreadcrumbs.css +57 -54
  49. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +1 -1
  50. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +1 -1
  51. package/lib/components/VBreadcrumbs/index.d.mts +65 -12
  52. package/lib/components/VBtn/VBtn.css +408 -385
  53. package/lib/components/VBtn/VBtn.mjs +1 -1
  54. package/lib/components/VBtn/VBtn.sass +4 -4
  55. package/lib/components/VBtn/index.d.mts +72 -4
  56. package/lib/components/VBtnGroup/VBtnGroup.css +64 -63
  57. package/lib/components/VBtnGroup/VBtnGroup.mjs +1 -1
  58. package/lib/components/VBtnGroup/index.d.mts +28 -4
  59. package/lib/components/VBtnToggle/VBtnToggle.css +14 -16
  60. package/lib/components/VBtnToggle/VBtnToggle.mjs +1 -1
  61. package/lib/components/VBtnToggle/index.d.mts +24 -4
  62. package/lib/components/VCard/VCard.css +302 -294
  63. package/lib/components/VCard/VCard.mjs +1 -1
  64. package/lib/components/VCard/VCardItem.mjs +1 -1
  65. package/lib/components/VCard/VCardSubtitle.mjs +1 -1
  66. package/lib/components/VCard/VCardText.mjs +1 -1
  67. package/lib/components/VCard/index.d.mts +190 -24
  68. package/lib/components/VCarousel/VCarousel.css +65 -63
  69. package/lib/components/VCarousel/VCarousel.mjs +1 -1
  70. package/lib/components/VCarousel/VCarousel.sass +1 -1
  71. package/lib/components/VCarousel/VCarouselItem.mjs +1 -1
  72. package/lib/components/VCarousel/index.d.mts +86 -8
  73. package/lib/components/VCheckbox/VCheckbox.css +5 -7
  74. package/lib/components/VCheckbox/VCheckbox.mjs +1 -1
  75. package/lib/components/VCheckbox/VCheckboxBtn.mjs +1 -1
  76. package/lib/components/VCheckbox/index.d.mts +90 -8
  77. package/lib/components/VChip/VChip.css +411 -378
  78. package/lib/components/VChip/VChip.mjs +4 -3
  79. package/lib/components/VChip/VChip.mjs.map +1 -1
  80. package/lib/components/VChip/index.d.mts +113 -12
  81. package/lib/components/VChipGroup/VChipGroup.css +18 -19
  82. package/lib/components/VChipGroup/VChipGroup.mjs +1 -1
  83. package/lib/components/VChipGroup/index.d.mts +28 -4
  84. package/lib/components/VCode/VCode.css +8 -10
  85. package/lib/components/VCode/index.d.mts +18 -4
  86. package/lib/components/VColorPicker/VColorPicker.css +22 -22
  87. package/lib/components/VColorPicker/VColorPicker.mjs +1 -1
  88. package/lib/components/VColorPicker/VColorPickerCanvas.css +22 -24
  89. package/lib/components/VColorPicker/VColorPickerEdit.css +28 -29
  90. package/lib/components/VColorPicker/VColorPickerPreview.css +67 -69
  91. package/lib/components/VColorPicker/VColorPickerPreview.sass +2 -4
  92. package/lib/components/VColorPicker/VColorPickerSwatches.css +34 -34
  93. package/lib/components/VColorPicker/index.d.mts +68 -4
  94. package/lib/components/VCombobox/VCombobox.css +85 -86
  95. package/lib/components/VCombobox/VCombobox.mjs +5 -5
  96. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  97. package/lib/components/VCombobox/index.d.mts +1396 -237
  98. package/lib/components/VConfirmEdit/VConfirmEdit.mjs +9 -7
  99. package/lib/components/VConfirmEdit/VConfirmEdit.mjs.map +1 -1
  100. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs +2 -2
  101. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs.map +1 -1
  102. package/lib/components/VConfirmEdit/index.d.mts +16 -13
  103. package/lib/components/VCounter/VCounter.css +5 -7
  104. package/lib/components/VCounter/VCounter.mjs +1 -1
  105. package/lib/components/VCounter/index.d.mts +31 -9
  106. package/lib/components/VDataIterator/index.d.mts +56 -12
  107. package/lib/components/VDataTable/VDataTable.css +186 -189
  108. package/lib/components/VDataTable/VDataTable.mjs +1 -1
  109. package/lib/components/VDataTable/VDataTable.sass +10 -20
  110. package/lib/components/VDataTable/VDataTableFooter.css +31 -33
  111. package/lib/components/VDataTable/VDataTableFooter.mjs +1 -1
  112. package/lib/components/VDataTable/VDataTableGroupHeaderRow.mjs +1 -1
  113. package/lib/components/VDataTable/VDataTableHeaders.mjs +1 -1
  114. package/lib/components/VDataTable/VDataTableRow.mjs +1 -1
  115. package/lib/components/VDataTable/VDataTableRows.mjs +1 -1
  116. package/lib/components/VDataTable/VDataTableServer.mjs +1 -1
  117. package/lib/components/VDataTable/VDataTableVirtual.mjs +1 -1
  118. package/lib/components/VDataTable/index.d.mts +388 -36
  119. package/lib/components/VDatePicker/VDatePicker.css +6 -8
  120. package/lib/components/VDatePicker/VDatePicker.mjs +1 -1
  121. package/lib/components/VDatePicker/VDatePickerControls.css +56 -54
  122. package/lib/components/VDatePicker/VDatePickerHeader.css +60 -56
  123. package/lib/components/VDatePicker/VDatePickerHeader.mjs +2 -1
  124. package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +1 -1
  125. package/lib/components/VDatePicker/VDatePickerMonth.css +55 -51
  126. package/lib/components/VDatePicker/VDatePickerMonth.mjs +1 -1
  127. package/lib/components/VDatePicker/VDatePickerMonths.css +19 -20
  128. package/lib/components/VDatePicker/VDatePickerMonths.mjs +1 -1
  129. package/lib/components/VDatePicker/VDatePickerYears.css +15 -16
  130. package/lib/components/VDatePicker/VDatePickerYears.mjs +1 -1
  131. package/lib/components/VDatePicker/index.d.mts +281 -29
  132. package/lib/components/VDefaultsProvider/index.d.mts +20 -4
  133. package/lib/components/VDialog/VDialog.css +95 -95
  134. package/lib/components/VDialog/VDialog.mjs +1 -1
  135. package/lib/components/VDialog/__test__/VDialog.spec.cy.mjs +1 -1
  136. package/lib/components/VDialog/index.d.mts +389 -143
  137. package/lib/components/VDivider/VDivider.css +52 -52
  138. package/lib/components/VDivider/index.d.mts +24 -4
  139. package/lib/components/VEmptyState/VEmptyState.css +67 -62
  140. package/lib/components/VEmptyState/VEmptyState.mjs +1 -1
  141. package/lib/components/VEmptyState/index.d.mts +66 -4
  142. package/lib/components/VExpansionPanel/VExpansionPanel.css +209 -203
  143. package/lib/components/VExpansionPanel/VExpansionPanel.sass +25 -27
  144. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +1 -1
  145. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +1 -1
  146. package/lib/components/VExpansionPanel/index.d.mts +152 -16
  147. package/lib/components/VFab/VFab.css +69 -74
  148. package/lib/components/VFab/VFab.mjs +1 -1
  149. package/lib/components/VFab/VFab.sass +4 -5
  150. package/lib/components/VFab/index.d.mts +78 -9
  151. package/lib/components/VField/VField.css +579 -539
  152. package/lib/components/VField/VField.mjs +3 -2
  153. package/lib/components/VField/VField.mjs.map +1 -1
  154. package/lib/components/VField/VFieldLabel.mjs +1 -1
  155. package/lib/components/VField/index.d.mts +59 -11
  156. package/lib/components/VFileInput/VFileInput.css +29 -31
  157. package/lib/components/VFileInput/VFileInput.mjs +1 -1
  158. package/lib/components/VFileInput/index.d.mts +256 -71
  159. package/lib/components/VFooter/VFooter.css +36 -38
  160. package/lib/components/VFooter/VFooter.mjs +1 -1
  161. package/lib/components/VFooter/index.d.mts +29 -4
  162. package/lib/components/VForm/index.d.mts +175 -267
  163. package/lib/components/VGrid/VContainer.mjs +1 -1
  164. package/lib/components/VGrid/VGrid.css +592 -565
  165. package/lib/components/VGrid/index.d.mts +118 -16
  166. package/lib/components/VHover/index.d.mts +33 -4
  167. package/lib/components/VIcon/VIcon.css +52 -51
  168. package/lib/components/VIcon/index.d.mts +75 -17
  169. package/lib/components/VImg/VImg.css +51 -50
  170. package/lib/components/VImg/VImg.mjs +1 -1
  171. package/lib/components/VImg/index.d.mts +74 -19
  172. package/lib/components/VInfiniteScroll/VInfiniteScroll.css +37 -36
  173. package/lib/components/VInfiniteScroll/VInfiniteScroll.mjs +1 -1
  174. package/lib/components/VInfiniteScroll/index.d.mts +46 -4
  175. package/lib/components/VInput/VInput.css +142 -131
  176. package/lib/components/VInput/VInput.mjs +1 -1
  177. package/lib/components/VInput/index.d.mts +37 -4
  178. package/lib/components/VItemGroup/VItemGroup.css +5 -7
  179. package/lib/components/VItemGroup/index.d.mts +65 -8
  180. package/lib/components/VKbd/VKbd.css +11 -13
  181. package/lib/components/VKbd/index.d.mts +18 -4
  182. package/lib/components/VLabel/VLabel.css +15 -16
  183. package/lib/components/VLabel/index.d.mts +20 -4
  184. package/lib/components/VLayout/VLayout.css +8 -10
  185. package/lib/components/VLayout/VLayoutItem.css +7 -8
  186. package/lib/components/VLayout/index.d.mts +48 -8
  187. package/lib/components/VLazy/VLazy.mjs +1 -1
  188. package/lib/components/VLazy/index.d.mts +31 -4
  189. package/lib/components/VList/VList.css +108 -104
  190. package/lib/components/VList/VList.mjs +4 -3
  191. package/lib/components/VList/VList.mjs.map +1 -1
  192. package/lib/components/VList/VList.sass +1 -1
  193. package/lib/components/VList/VListChildren.mjs +1 -1
  194. package/lib/components/VList/VListGroup.mjs +1 -1
  195. package/lib/components/VList/VListItem.css +452 -440
  196. package/lib/components/VList/VListItem.mjs +4 -3
  197. package/lib/components/VList/VListItem.mjs.map +1 -1
  198. package/lib/components/VList/VListItem.sass +1 -2
  199. package/lib/components/VList/VListItemAction.mjs +1 -1
  200. package/lib/components/VList/VListItemMedia.mjs +1 -1
  201. package/lib/components/VList/VListItemSubtitle.mjs +1 -1
  202. package/lib/components/VList/index.d.mts +301 -58
  203. package/lib/components/VLocaleProvider/VLocaleProvider.css +2 -4
  204. package/lib/components/VLocaleProvider/index.d.mts +21 -4
  205. package/lib/components/VMain/VMain.css +30 -32
  206. package/lib/components/VMain/index.d.mts +25 -4
  207. package/lib/components/VMenu/VMenu.css +19 -21
  208. package/lib/components/VMenu/VMenu.mjs +1 -1
  209. package/lib/components/VMenu/index.d.mts +397 -155
  210. package/lib/components/VMessages/VMessages.css +15 -17
  211. package/lib/components/VMessages/index.d.mts +27 -4
  212. package/lib/components/VNavigationDrawer/VNavigationDrawer.css +108 -106
  213. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +1 -1
  214. package/lib/components/VNavigationDrawer/index.d.mts +62 -7
  215. package/lib/components/VOtpInput/VOtpInput.css +58 -56
  216. package/lib/components/VOtpInput/VOtpInput.mjs +1 -1
  217. package/lib/components/VOtpInput/index.d.mts +52 -7
  218. package/lib/components/VOverlay/VOverlay.css +63 -60
  219. package/lib/components/VOverlay/VOverlay.mjs +1 -1
  220. package/lib/components/VOverlay/VOverlay.sass +13 -14
  221. package/lib/components/VOverlay/index.d.mts +101 -19
  222. package/lib/components/VPagination/VPagination.css +8 -10
  223. package/lib/components/VPagination/VPagination.mjs +1 -1
  224. package/lib/components/VPagination/index.d.mts +64 -4
  225. package/lib/components/VParallax/VParallax.css +6 -8
  226. package/lib/components/VParallax/VParallax.mjs +1 -1
  227. package/lib/components/VParallax/index.d.mts +27 -4
  228. package/lib/components/VProgressCircular/VProgressCircular.css +101 -95
  229. package/lib/components/VProgressCircular/index.d.mts +34 -4
  230. package/lib/components/VProgressLinear/VProgressLinear.css +222 -209
  231. package/lib/components/VProgressLinear/index.d.mts +54 -4
  232. package/lib/components/VRadio/VRadio.mjs +1 -1
  233. package/lib/components/VRadio/index.d.mts +68 -4
  234. package/lib/components/VRadioGroup/VRadioGroup.css +12 -14
  235. package/lib/components/VRadioGroup/VRadioGroup.mjs +1 -1
  236. package/lib/components/VRadioGroup/index.d.mts +48 -4
  237. package/lib/components/VRangeSlider/VRangeSlider.mjs +1 -1
  238. package/lib/components/VRangeSlider/index.d.mts +107 -4
  239. package/lib/components/VRating/VRating.css +53 -52
  240. package/lib/components/VRating/VRating.mjs +1 -1
  241. package/lib/components/VRating/index.d.mts +42 -4
  242. package/lib/components/VResponsive/VResponsive.css +26 -25
  243. package/lib/components/VResponsive/index.d.mts +29 -4
  244. package/lib/components/VSelect/VSelect.css +52 -54
  245. package/lib/components/VSelect/VSelect.mjs +4 -4
  246. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  247. package/lib/components/VSelect/index.d.mts +1388 -236
  248. package/lib/components/VSelectionControl/VSelectionControl.css +102 -100
  249. package/lib/components/VSelectionControl/VSelectionControl.mjs +1 -1
  250. package/lib/components/VSelectionControl/index.d.mts +37 -10
  251. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +8 -10
  252. package/lib/components/VSelectionControlGroup/index.d.mts +26 -4
  253. package/lib/components/VSheet/VSheet.css +36 -38
  254. package/lib/components/VSheet/VSheet.mjs +1 -1
  255. package/lib/components/VSheet/index.d.mts +32 -4
  256. package/lib/components/VSkeletonLoader/VSkeletonLoader.css +224 -225
  257. package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +1 -1
  258. package/lib/components/VSkeletonLoader/index.d.mts +28 -4
  259. package/lib/components/VSlideGroup/VSlideGroup.css +55 -53
  260. package/lib/components/VSlideGroup/index.d.mts +70 -14
  261. package/lib/components/VSlider/VSlider.css +57 -53
  262. package/lib/components/VSlider/VSlider.mjs +1 -1
  263. package/lib/components/VSlider/VSliderThumb.css +153 -142
  264. package/lib/components/VSlider/VSliderThumb.mjs +1 -1
  265. package/lib/components/VSlider/VSliderTrack.css +174 -155
  266. package/lib/components/VSlider/index.d.mts +106 -4
  267. package/lib/components/VSnackbar/VSnackbar.css +140 -140
  268. package/lib/components/VSnackbar/VSnackbar.mjs +1 -1
  269. package/lib/components/VSnackbar/index.d.mts +398 -152
  270. package/lib/components/VSparkline/VBarline.mjs +2 -1
  271. package/lib/components/VSparkline/VBarline.mjs.map +1 -1
  272. package/lib/components/VSparkline/VSparkline.mjs +1 -1
  273. package/lib/components/VSparkline/VTrendline.mjs +2 -1
  274. package/lib/components/VSparkline/VTrendline.mjs.map +1 -1
  275. package/lib/components/VSparkline/index.d.mts +49 -4
  276. package/lib/components/VSpeedDial/VSpeedDial.css +41 -43
  277. package/lib/components/VSpeedDial/VSpeedDial.mjs +1 -1
  278. package/lib/components/VSpeedDial/index.d.mts +85 -4
  279. package/lib/components/VStepper/VStepper.css +56 -55
  280. package/lib/components/VStepper/VStepper.mjs +6 -5
  281. package/lib/components/VStepper/VStepper.mjs.map +1 -1
  282. package/lib/components/VStepper/VStepperItem.css +115 -112
  283. package/lib/components/VStepper/VStepperItem.mjs +6 -5
  284. package/lib/components/VStepper/VStepperItem.mjs.map +1 -1
  285. package/lib/components/VStepper/VStepperWindow.mjs +1 -1
  286. package/lib/components/VStepper/VStepperWindowItem.mjs +1 -1
  287. package/lib/components/VStepper/index.d.mts +301 -69
  288. package/lib/components/VSwitch/VSwitch.css +139 -129
  289. package/lib/components/VSwitch/VSwitch.mjs +1 -1
  290. package/lib/components/VSwitch/index.d.mts +59 -4
  291. package/lib/components/VSystemBar/VSystemBar.css +43 -45
  292. package/lib/components/VSystemBar/VSystemBar.mjs +1 -1
  293. package/lib/components/VSystemBar/index.d.mts +28 -4
  294. package/lib/components/VTable/VTable.css +141 -140
  295. package/lib/components/VTable/VTable.sass +2 -4
  296. package/lib/components/VTable/index.d.mts +33 -4
  297. package/lib/components/VTabs/VTab.css +29 -30
  298. package/lib/components/VTabs/VTab.mjs +1 -1
  299. package/lib/components/VTabs/VTabs.css +65 -59
  300. package/lib/components/VTabs/VTabs.mjs +1 -1
  301. package/lib/components/VTabs/VTabsWindow.mjs +1 -1
  302. package/lib/components/VTabs/VTabsWindowItem.mjs +1 -1
  303. package/lib/components/VTabs/index.d.mts +394 -98
  304. package/lib/components/VTextField/VTextField.css +68 -65
  305. package/lib/components/VTextField/VTextField.mjs +1 -1
  306. package/lib/components/VTextField/index.d.mts +374 -152
  307. package/lib/components/VTextarea/VTextarea.css +39 -47
  308. package/lib/components/VTextarea/VTextarea.mjs +1 -1
  309. package/lib/components/VTextarea/VTextarea.sass +2 -4
  310. package/lib/components/VTextarea/index.d.mts +244 -71
  311. package/lib/components/VThemeProvider/VThemeProvider.css +3 -5
  312. package/lib/components/VThemeProvider/index.d.mts +20 -4
  313. package/lib/components/VTimeline/VTimeline.css +418 -379
  314. package/lib/components/VTimeline/VTimeline.mjs +1 -1
  315. package/lib/components/VTimeline/VTimelineDivider.mjs +1 -1
  316. package/lib/components/VTimeline/VTimelineItem.mjs +1 -1
  317. package/lib/components/VTimeline/index.d.mts +75 -8
  318. package/lib/components/VToolbar/VToolbar.css +143 -136
  319. package/lib/components/VToolbar/VToolbar.mjs +1 -1
  320. package/lib/components/VToolbar/index.d.mts +90 -12
  321. package/lib/components/VTooltip/VTooltip.css +21 -25
  322. package/lib/components/VTooltip/VTooltip.mjs +1 -1
  323. package/lib/components/VTooltip/VTooltip.sass +6 -8
  324. package/lib/components/VTooltip/index.d.mts +386 -147
  325. package/lib/components/VValidation/index.d.mts +24 -10
  326. package/lib/components/VVirtualScroll/VVirtualScroll.css +9 -11
  327. package/lib/components/VVirtualScroll/VVirtualScroll.mjs +1 -1
  328. package/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +1 -1
  329. package/lib/components/VVirtualScroll/index.d.mts +15 -4
  330. package/lib/components/VWindow/VWindow.css +70 -73
  331. package/lib/components/VWindow/VWindow.mjs +1 -1
  332. package/lib/components/VWindow/VWindowItem.mjs +1 -1
  333. package/lib/components/VWindow/index.d.mts +47 -8
  334. package/lib/components/index.d.mts +11793 -2613
  335. package/lib/components/transitions/dialog-transition.mjs +2 -1
  336. package/lib/components/transitions/dialog-transition.mjs.map +1 -1
  337. package/lib/components/transitions/index.d.mts +309 -64
  338. package/lib/composables/form.mjs +7 -2
  339. package/lib/composables/form.mjs.map +1 -1
  340. package/lib/composables/icons.mjs +1 -1
  341. package/lib/composables/theme.mjs +4 -4
  342. package/lib/composables/theme.mjs.map +1 -1
  343. package/lib/composables/validation.mjs +10 -12
  344. package/lib/composables/validation.mjs.map +1 -1
  345. package/lib/composables/variant.mjs +1 -1
  346. package/lib/composables/virtual.mjs +1 -1
  347. package/lib/composables/virtual.mjs.map +1 -1
  348. package/lib/directives/ripple/VRipple.css +36 -38
  349. package/lib/entry-bundler.mjs +1 -1
  350. package/lib/entry-bundler.mjs.map +1 -1
  351. package/lib/framework.mjs +1 -1
  352. package/lib/framework.mjs.map +1 -1
  353. package/lib/index.d.mts +44 -44
  354. package/lib/labs/VCalendar/VCalendar.css +225 -219
  355. package/lib/labs/VCalendar/VCalendar.mjs +1 -1
  356. package/lib/labs/VCalendar/VCalendarDay.css +32 -33
  357. package/lib/labs/VCalendar/VCalendarDay.mjs +1 -1
  358. package/lib/labs/VCalendar/VCalendarHeader.css +13 -13
  359. package/lib/labs/VCalendar/VCalendarInterval.css +42 -43
  360. package/lib/labs/VCalendar/VCalendarIntervalEvent.css +5 -7
  361. package/lib/labs/VCalendar/VCalendarMonthDay.css +58 -61
  362. package/lib/labs/VCalendar/VCalendarMonthDay.sass +2 -3
  363. package/lib/labs/VCalendar/index.d.mts +211 -24
  364. package/lib/labs/VDateInput/VDateInput.mjs +2 -2
  365. package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
  366. package/lib/labs/VDateInput/index.d.mts +115 -4
  367. package/lib/labs/VNumberInput/VNumberInput.css +38 -40
  368. package/lib/labs/VNumberInput/VNumberInput.mjs +8 -6
  369. package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
  370. package/lib/labs/VNumberInput/index.d.mts +1267 -564
  371. package/lib/labs/VPicker/VPicker.css +57 -53
  372. package/lib/labs/VPicker/VPicker.mjs +1 -1
  373. package/lib/labs/VPicker/index.d.mts +63 -8
  374. package/lib/labs/VPullToRefresh/index.d.mts +35 -4
  375. package/lib/labs/VSnackbarQueue/VSnackbarQueue.mjs +1 -1
  376. package/lib/labs/VSnackbarQueue/index.d.mts +453 -156
  377. package/lib/labs/VStepperVertical/VStepperVertical.mjs +1 -1
  378. package/lib/labs/VStepperVertical/VStepperVerticalActions.mjs +1 -1
  379. package/lib/labs/VStepperVertical/VStepperVerticalItem.mjs +1 -1
  380. package/lib/labs/VStepperVertical/index.d.mts +271 -56
  381. package/lib/labs/VTimePicker/VTimePicker.css +7 -9
  382. package/lib/labs/VTimePicker/VTimePicker.mjs +1 -1
  383. package/lib/labs/VTimePicker/VTimePickerClock.css +129 -126
  384. package/lib/labs/VTimePicker/VTimePickerControls.css +103 -102
  385. package/lib/labs/VTimePicker/VTimePickerControls.mjs +1 -1
  386. package/lib/labs/VTimePicker/index.d.mts +122 -12
  387. package/lib/labs/VTreeview/VTreeview.mjs +1 -1
  388. package/lib/labs/VTreeview/VTreeviewChildren.mjs +1 -1
  389. package/lib/labs/VTreeview/VTreeviewGroup.mjs +1 -1
  390. package/lib/labs/VTreeview/VTreeviewItem.css +15 -17
  391. package/lib/labs/VTreeview/VTreeviewItem.mjs +4 -5
  392. package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
  393. package/lib/labs/VTreeview/VTreeviewItem.sass +1 -2
  394. package/lib/labs/VTreeview/index.d.mts +225 -38
  395. package/lib/labs/components.d.mts +2940 -1043
  396. package/lib/locale/fr.mjs +1 -1
  397. package/lib/locale/fr.mjs.map +1 -1
  398. package/lib/styles/elements/_global.sass +1 -1
  399. package/lib/styles/generic/_colors.scss +3 -3
  400. package/lib/styles/generic/_layers.scss +1 -13
  401. package/lib/styles/generic/_transitions.scss +32 -32
  402. package/lib/styles/main.css +16139 -14666
  403. package/lib/styles/settings/_utilities.scss +5 -0
  404. package/lib/styles/settings/_variables.scss +2 -1
  405. package/lib/styles/tools/_bootable.sass +3 -0
  406. package/lib/styles/tools/_border.sass +4 -4
  407. package/lib/styles/tools/_display.sass +10 -0
  408. package/lib/styles/tools/_elevation.sass +2 -2
  409. package/lib/styles/tools/_index.sass +2 -0
  410. package/lib/styles/tools/_layer.scss +2 -4
  411. package/lib/styles/tools/_position.sass +2 -2
  412. package/lib/styles/tools/_radius.sass +10 -0
  413. package/lib/styles/tools/_rounded.sass +2 -2
  414. package/lib/styles/tools/_utilities.sass +5 -1
  415. package/lib/styles/utilities/_elevation.scss +1 -1
  416. package/package.json +4 -5
@@ -1,4 +1,4 @@
1
- import { Fragment as _Fragment, createVNode as _createVNode } from "vue";
1
+ import { createVNode as _createVNode, mergeProps as _mergeProps, Fragment as _Fragment } from "vue";
2
2
  // Components
3
3
  import { VBtn } from "../VBtn/index.mjs"; // Composables
4
4
  import { useLocale } from "../../composables/index.mjs";
@@ -49,21 +49,23 @@ export const VConfirmEdit = genericComponent()({
49
49
  internalModel.value = structuredClone(toRaw(model.value));
50
50
  emit('cancel');
51
51
  }
52
- let actionsUsed = false;
53
- useRender(() => {
54
- const actions = _createVNode(_Fragment, null, [_createVNode(VBtn, {
52
+ function actions(actionsProps) {
53
+ return _createVNode(_Fragment, null, [_createVNode(VBtn, _mergeProps({
55
54
  "disabled": isPristine.value,
56
55
  "variant": "text",
57
56
  "color": props.color,
58
57
  "onClick": cancel,
59
58
  "text": t(props.cancelText)
60
- }, null), _createVNode(VBtn, {
59
+ }, actionsProps), null), _createVNode(VBtn, _mergeProps({
61
60
  "disabled": isPristine.value,
62
61
  "variant": "text",
63
62
  "color": props.color,
64
63
  "onClick": save,
65
64
  "text": t(props.okText)
66
- }, null)]);
65
+ }, actionsProps), null)]);
66
+ }
67
+ let actionsUsed = false;
68
+ useRender(() => {
67
69
  return _createVNode(_Fragment, null, [slots.default?.({
68
70
  model: internalModel,
69
71
  save,
@@ -73,7 +75,7 @@ export const VConfirmEdit = genericComponent()({
73
75
  actionsUsed = true;
74
76
  return actions;
75
77
  }
76
- }), !actionsUsed && actions]);
78
+ }), !actionsUsed && actions()]);
77
79
  });
78
80
  return {
79
81
  save,
@@ -1 +1 @@
1
- {"version":3,"file":"VConfirmEdit.mjs","names":["VBtn","useLocale","useProxiedModel","computed","ref","toRaw","watchEffect","deepEqual","genericComponent","propsFactory","useRender","makeVConfirmEditProps","modelValue","color","String","cancelText","type","default","okText","VConfirmEdit","name","props","emits","cancel","save","value","setup","_ref","emit","slots","model","internalModel","structuredClone","t","isPristine","actionsUsed","actions","_createVNode","_Fragment"],"sources":["../../../src/components/VConfirmEdit/VConfirmEdit.tsx"],"sourcesContent":["// Components\nimport { VBtn } from '@/components/VBtn'\n\n// Composables\nimport { useLocale } from '@/composables'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, ref, toRaw, watchEffect } from 'vue'\nimport { deepEqual, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { Ref, VNode } from 'vue'\nimport type { GenericProps } from '@/util'\n\nexport type VConfirmEditSlots<T> = {\n default: {\n model: Ref<T>\n save: () => void\n cancel: () => void\n isPristine: boolean\n get actions (): VNode\n }\n}\n\nexport const makeVConfirmEditProps = propsFactory({\n modelValue: null,\n color: String,\n cancelText: {\n type: String,\n default: '$vuetify.confirmEdit.cancel',\n },\n okText: {\n type: String,\n default: '$vuetify.confirmEdit.ok',\n },\n}, 'VConfirmEdit')\n\nexport const VConfirmEdit = genericComponent<new <T> (\n props: {\n modelValue?: T\n 'onUpdate:modelValue'?: (value: T) => void\n 'onSave'?: (value: T) => void\n },\n slots: VConfirmEditSlots<T>\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VConfirmEdit',\n\n props: makeVConfirmEditProps(),\n\n emits: {\n cancel: () => true,\n save: (value: any) => true,\n 'update:modelValue': (value: any) => true,\n },\n\n setup (props, { emit, slots }) {\n const model = useProxiedModel(props, 'modelValue')\n const internalModel = ref()\n watchEffect(() => {\n internalModel.value = structuredClone(toRaw(model.value))\n })\n\n const { t } = useLocale()\n\n const isPristine = computed(() => {\n return deepEqual(model.value, internalModel.value)\n })\n\n function save () {\n model.value = internalModel.value\n emit('save', internalModel.value)\n }\n\n function cancel () {\n internalModel.value = structuredClone(toRaw(model.value))\n emit('cancel')\n }\n\n let actionsUsed = false\n useRender(() => {\n const actions = (\n <>\n <VBtn\n disabled={ isPristine.value }\n variant=\"text\"\n color={ props.color }\n onClick={ cancel }\n text={ t(props.cancelText) }\n />\n\n <VBtn\n disabled={ isPristine.value }\n variant=\"text\"\n color={ props.color }\n onClick={ save }\n text={ t(props.okText) }\n />\n </>\n )\n return (\n <>\n {\n slots.default?.({\n model: internalModel,\n save,\n cancel,\n isPristine: isPristine.value,\n get actions () {\n actionsUsed = true\n return actions\n },\n })\n }\n\n { !actionsUsed && actions }\n </>\n )\n })\n\n return {\n save,\n cancel,\n isPristine,\n }\n },\n})\n\nexport type VConfirmEdit = InstanceType<typeof VConfirmEdit>\n"],"mappings":";AAAA;AAAA,SACSA,IAAI,6BAEb;AAAA,SACSC,SAAS;AAAA,SACTC,eAAe,8CAExB;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,KAAK,EAAEC,WAAW,QAAQ,KAAK;AAAA,SAC9CC,SAAS,EAAEC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,gCAE7D;AAcA,OAAO,MAAMC,qBAAqB,GAAGF,YAAY,CAAC;EAChDG,UAAU,EAAE,IAAI;EAChBC,KAAK,EAAEC,MAAM;EACbC,UAAU,EAAE;IACVC,IAAI,EAAEF,MAAM;IACZG,OAAO,EAAE;EACX,CAAC;EACDC,MAAM,EAAE;IACNF,IAAI,EAAEF,MAAM;IACZG,OAAO,EAAE;EACX;AACF,CAAC,EAAE,cAAc,CAAC;AAElB,OAAO,MAAME,YAAY,GAAGX,gBAAgB,CAOG,CAAC,CAAC;EAC/CY,IAAI,EAAE,cAAc;EAEpBC,KAAK,EAAEV,qBAAqB,CAAC,CAAC;EAE9BW,KAAK,EAAE;IACLC,MAAM,EAAEA,CAAA,KAAM,IAAI;IAClBC,IAAI,EAAGC,KAAU,IAAK,IAAI;IAC1B,mBAAmB,EAAGA,KAAU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KAAK,CAACR,KAAK;QAAA,WACTW,IAAI;QAAA,QACPS,CAAC,CAACZ,KAAK,CAACH,MAAM;MAAC,UAG3B;MACD,OAAAmB,YAAA,CAAAC,SAAA,SAGMT,KAAK,CAACZ,OAAO,GAAG;QACda,KAAK,EAAEC,aAAa;QACpBP,IAAI;QACJD,MAAM;QACNW,UAAU,EAAEA,UAAU,CAACT,KAAK;QAC5B,IAAIW,OAAOA,CAAA,EAAI;UACbD,WAAW,GAAG,IAAI;UAClB,OAAOC,OAAO;QAChB;MACF,CAAC,CAAC,EAGF,CAACD,WAAW,IAAIC,OAAO;IAG/B,CAAC,CAAC;IAEF,OAAO;MACLZ,IAAI;MACJD,MAAM;MACNW;IACF,CAAC;EACH;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"VConfirmEdit.mjs","names":["VBtn","useLocale","useProxiedModel","computed","ref","toRaw","watchEffect","deepEqual","genericComponent","propsFactory","useRender","makeVConfirmEditProps","modelValue","color","String","cancelText","type","default","okText","VConfirmEdit","name","props","emits","cancel","save","value","setup","_ref","emit","slots","model","internalModel","structuredClone","t","isPristine","actions","actionsProps","_createVNode","_Fragment","_mergeProps","actionsUsed"],"sources":["../../../src/components/VConfirmEdit/VConfirmEdit.tsx"],"sourcesContent":["// Components\nimport { VBtn } from '@/components/VBtn'\n\n// Composables\nimport { useLocale } from '@/composables'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, ref, toRaw, watchEffect } from 'vue'\nimport { deepEqual, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { Ref, VNode } from 'vue'\nimport type { GenericProps } from '@/util'\n\nexport type VConfirmEditSlots<T> = {\n default: {\n model: Ref<T>\n save: () => void\n cancel: () => void\n isPristine: boolean\n get actions (): (props?: {}) => VNode\n }\n}\n\nexport const makeVConfirmEditProps = propsFactory({\n modelValue: null,\n color: String,\n cancelText: {\n type: String,\n default: '$vuetify.confirmEdit.cancel',\n },\n okText: {\n type: String,\n default: '$vuetify.confirmEdit.ok',\n },\n}, 'VConfirmEdit')\n\nexport const VConfirmEdit = genericComponent<new <T> (\n props: {\n modelValue?: T\n 'onUpdate:modelValue'?: (value: T) => void\n 'onSave'?: (value: T) => void\n },\n slots: VConfirmEditSlots<T>\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VConfirmEdit',\n\n props: makeVConfirmEditProps(),\n\n emits: {\n cancel: () => true,\n save: (value: any) => true,\n 'update:modelValue': (value: any) => true,\n },\n\n setup (props, { emit, slots }) {\n const model = useProxiedModel(props, 'modelValue')\n const internalModel = ref()\n watchEffect(() => {\n internalModel.value = structuredClone(toRaw(model.value))\n })\n\n const { t } = useLocale()\n\n const isPristine = computed(() => {\n return deepEqual(model.value, internalModel.value)\n })\n\n function save () {\n model.value = internalModel.value\n emit('save', internalModel.value)\n }\n\n function cancel () {\n internalModel.value = structuredClone(toRaw(model.value))\n emit('cancel')\n }\n\n function actions (actionsProps?: {}) {\n return (\n <>\n <VBtn\n disabled={ isPristine.value }\n variant=\"text\"\n color={ props.color }\n onClick={ cancel }\n text={ t(props.cancelText) }\n { ...actionsProps }\n />\n\n <VBtn\n disabled={ isPristine.value }\n variant=\"text\"\n color={ props.color }\n onClick={ save }\n text={ t(props.okText) }\n { ...actionsProps }\n />\n </>\n )\n }\n\n let actionsUsed = false\n useRender(() => {\n return (\n <>\n {\n slots.default?.({\n model: internalModel,\n save,\n cancel,\n isPristine: isPristine.value,\n get actions () {\n actionsUsed = true\n return actions\n },\n })\n }\n\n { !actionsUsed && actions() }\n </>\n )\n })\n\n return {\n save,\n cancel,\n isPristine,\n }\n },\n})\n\nexport type VConfirmEdit = InstanceType<typeof VConfirmEdit>\n"],"mappings":";AAAA;AAAA,SACSA,IAAI,6BAEb;AAAA,SACSC,SAAS;AAAA,SACTC,eAAe,8CAExB;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,KAAK,EAAEC,WAAW,QAAQ,KAAK;AAAA,SAC9CC,SAAS,EA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I,CAAC,MAAM,EAAEG,aAAa,CAACN,KAAK,CAAC;IACnC;IAEA,SAASF,MAAMA,CAAA,EAAI;MACjBQ,aAAa,CAACN,KAAK,GAAGO,eAAe,CAAC3B,KAAK,CAACyB,KAAK,CAACL,KAAK,CAAC,CAAC;MACzDG,IAAI,CAAC,QAAQ,CAAC;IAChB;IAEA,SAASO,OAAOA,CAAEC,YAAiB,EAAE;MACnC,OAAAC,YAAA,CAAAC,SAAA,SAAAD,YAAA,CAAArC,IAAA,EAAAuC,WAAA;QAAA,YAGiBL,UAAU,CAACT,KAAK;QAAA;QAAA,SAEnBJ,KAAK,CAACR,KAAK;QAAA,WACTU,MAAM;QAAA,QACTU,CAAC,CAACZ,KAAK,CAACN,UAAU;MAAC,GACrBqB,YAAY,UAAAC,YAAA,CAAArC,IAAA,EAAAuC,WAAA;QAAA,YAINL,UAAU,CAACT,KAAK;QAAA;QAAA,SAEnBJ,KAAK,CAACR,KAAK;QAAA,WACTW,IAAI;QAAA,QACPS,CAAC,CAACZ,KAAK,CAACH,MAAM;MAAC,GACjBkB,YAAY;IAIzB;IAEA,IAAII,WAAW,GAAG,KAAK;IACvB9B,SAAS,CAAC,MAAM;MACd,OAAA2B,YAAA,CAAAC,SAAA,SAGMT,KAAK,CAACZ,OAAO,GAAG;QACda,KAAK,EAAEC,aAAa;QACpBP,IAAI;QACJD,MAAM;QACNW,UAAU,EAAEA,UAAU,CAACT,KAAK;QAC5B,IAAIU,OAAOA,CAAA,EAAI;UACbK,WAAW,GAAG,IAAI;UAClB,OAAOL,OAAO;QAChB;MACF,CAAC,CAAC,EAGF,CAACK,WAAW,IAAIL,OAAO,CAAC,CAAC;IAGjC,CAAC,CAAC;IAEF,OAAO;MACLX,IAAI;MACJD,MAAM;MACNW;IACF,CAAC;EACH;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,4 +1,4 @@
1
- import { createVNode as _createVNode, Fragment as _Fragment, createTextVNode as _createTextVNode } from "vue";
1
+ import { createTextVNode as _createTextVNode, Fragment as _Fragment, createVNode as _createVNode } from "vue";
2
2
  // Components
3
3
  import { VConfirmEdit } from "../index.mjs"; // Utilities
4
4
  import { render, screen, userEvent } from '@test';
@@ -77,7 +77,7 @@ describe('VConfirmEdit', () => {
77
77
  let {
78
78
  actions
79
79
  } = _ref5;
80
- return actions;
80
+ return actions();
81
81
  }
82
82
  }));
83
83
  expect(screen.getAllByCSS('button')).toHaveLength(2);
@@ -1 +1 @@
1
- {"version":3,"file":"VConfirmEdit.spec.browser.mjs","names":["VConfirmEdit","render","screen","userEvent","nextTick","shallowRef","describe","it","externalModel","_createVNode","value","default","_ref","model","expect","getByText","toBeInTheDocument","$event","_ref2","_Fragment","join","onClick","push","_createTextVNode","click","getByTestId","toEqual","getAllByCSS","toHaveLength","_ref3","_ref4","actions","queryAllByCSS","_ref5"],"sources":["../../../../src/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.tsx"],"sourcesContent":["// Components\nimport { VConfirmEdit } from '../'\n\n// Utilities\nimport { render, screen, userEvent } from '@test'\nimport { nextTick, shallowRef } from 'vue'\n\ndescribe('VConfirmEdit', () => {\n it('mirrors external updates', async () => {\n const externalModel = shallowRef('foo')\n\n render(() => (\n <VConfirmEdit modelValue={ externalModel.value }>\n { ({ model }) => (\n <p>{ model.value }</p>\n )}\n </VConfirmEdit>\n ))\n\n expect(screen.getByText('foo')).toBeInTheDocument()\n\n externalModel.value = 'bar'\n await nextTick()\n expect(screen.getByText('bar')).toBeInTheDocument()\n })\n\n it(\"doesn't mutate the original value\", async () => {\n const externalModel = shallowRef(['foo'])\n\n render(() => (\n <VConfirmEdit v-model={ externalModel.value } modelValue={ externalModel.value }>\n { ({ model }) => (\n <>\n <p>{ model.value.join(',') }</p>\n <button data-testid=\"push\" onClick={ () => model.value.push('bar') }>Push</button>\n </>\n )}\n </VConfirmEdit>\n ))\n\n expect(screen.getByText('foo')).toBeInTheDocument()\n\n await userEvent.click(screen.getByTestId('push'))\n expect(screen.getByText('foo,bar')).toBeInTheDocument()\n expect(externalModel.value).toEqual(['foo'])\n\n await userEvent.click(screen.getByText('OK'))\n expect(externalModel.value).toEqual(['foo', 'bar'])\n })\n\n describe('hides actions if used from the slot', () => {\n it('nothing', () => {\n render(() => <VConfirmEdit />)\n expect(screen.getAllByCSS('button')).toHaveLength(2)\n })\n\n it('consume model', () => {\n render(() => (\n <VConfirmEdit>\n { ({ model }) => {\n void model\n }}\n </VConfirmEdit>\n ))\n expect(screen.getAllByCSS('button')).toHaveLength(2)\n })\n\n it('consume actions', () => {\n render(() => (\n <VConfirmEdit>\n { ({ actions }) => {\n void actions\n }}\n </VConfirmEdit>\n ))\n expect(screen.queryAllByCSS('button')).toHaveLength(0)\n })\n\n it('render actions', () => {\n render(() => (\n <VConfirmEdit>\n { ({ actions }) => actions }\n </VConfirmEdit>\n ))\n expect(screen.getAllByCSS('button')).toHaveLength(2)\n })\n })\n})\n"],"mappings":";AAAA;AAAA,SACSA,YAAY,wBAErB;AACA,SAASC,MAAM,EAAEC,MAAM,EAAEC,SAAS,QAAQ,OAAO;AACjD,SAASC,QAAQ,EAAEC,UAAU,QAAQ,KAAK;AAE1CC,QAAQ,CAAC,cAAc,EAAE,MAAM;EAC7BC,EAAE,CAAC,0BAA0B,EAAE,YAAY;IACzC,MAAMC,aAAa,GAAGH,UAAU,CAAC,KAAK,CAAC;IAEvCJ,MAAM,CAAC,MAAAQ,YAAA,CAAAT,YAAA;MAAA,cACsBQ,aAAa,CAACE;IAAK;MAAAC,OAAA,EAC1CC,IAAA;QAAA,IAAC;UAAEC;QAAM,CAAC,GAAAD,IAAA;QAAA,OAAAH,YAAA,aACLI,KAAK,CAACH,KAAK;MAAA;IACjB,EAEJ,CAAC;IAEFI,MAAM,CAACZ,MAAM,CAACa,SAAS,CAAC,KAAK,CAAC,CAAC,CAACC,iBAAiB,CAAC,CAAC;IAEnDR,aAAa,CAACE,KAAK,GAAG,KAAK;IAC3B,MAAMN,QAAQ,CAAC,CAAC;IAChBU,MAAM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[]}
1
+ {"version":3,"file":"VConfirmEdit.spec.browser.mjs","names":["VConfirmEdit","render","screen","userEvent","nextTick","shallowRef","describe","it","externalModel","_createVNode","value","default","_ref","model","expect","getByText","toBeInTheDocument","$event","_ref2","_Fragment","join","onClick","push","_createTextVNode","click","getByTestId","toEqual","getAllByCSS","toHaveLength","_ref3","_ref4","actions","queryAllByCSS","_ref5"],"sources":["../../../../src/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.tsx"],"sourcesContent":["// Components\nimport { VConfirmEdit } from '../'\n\n// Utilities\nimport { render, screen, userEvent } from '@test'\nimport { nextTick, shallowRef } from 'vue'\n\ndescribe('VConfirmEdit', () => {\n it('mirrors external updates', async () => {\n const externalModel = shallowRef('foo')\n\n render(() => (\n <VConfirmEdit modelValue={ externalModel.value }>\n { ({ model }) => (\n <p>{ model.value }</p>\n )}\n </VConfirmEdit>\n ))\n\n expect(screen.getByText('foo')).toBeInTheDocument()\n\n externalModel.value = 'bar'\n await nextTick()\n expect(screen.getByText('bar')).toBeInTheDocument()\n })\n\n it(\"doesn't mutate the original value\", async () => {\n const externalModel = shallowRef(['foo'])\n\n render(() => (\n <VConfirmEdit v-model={ externalModel.value } modelValue={ externalModel.value }>\n { ({ model }) => (\n <>\n <p>{ model.value.join(',') }</p>\n <button data-testid=\"push\" onClick={ () => model.value.push('bar') }>Push</button>\n </>\n )}\n </VConfirmEdit>\n ))\n\n expect(screen.getByText('foo')).toBeInTheDocument()\n\n await userEvent.click(screen.getByTestId('push'))\n expect(screen.getByText('foo,bar')).toBeInTheDocument()\n expect(externalModel.value).toEqual(['foo'])\n\n await userEvent.click(screen.getByText('OK'))\n expect(externalModel.value).toEqual(['foo', 'bar'])\n })\n\n describe('hides actions if used from the slot', () => {\n it('nothing', () => {\n render(() => <VConfirmEdit />)\n expect(screen.getAllByCSS('button')).toHaveLength(2)\n })\n\n it('consume model', () => {\n render(() => (\n <VConfirmEdit>\n { ({ model }) => {\n void model\n }}\n </VConfirmEdit>\n ))\n expect(screen.getAllByCSS('button')).toHaveLength(2)\n })\n\n it('consume actions', () => {\n render(() => (\n <VConfirmEdit>\n { ({ actions }) => {\n void actions\n }}\n </VConfirmEdit>\n ))\n expect(screen.queryAllByCSS('button')).toHaveLength(0)\n })\n\n it('render actions', () => {\n render(() => (\n <VConfirmEdit>\n { ({ actions }) => actions() }\n </VConfirmEdit>\n ))\n expect(screen.getAllByCSS('button')).toHaveLength(2)\n })\n })\n})\n"],"mappings":";AAAA;AAAA,SACSA,YAAY,wBAErB;AACA,SAASC,MAAM,EAAEC,MAAM,EAAEC,SAAS,QAAQ,OAAO;AACjD,SAASC,QAAQ,EAAEC,UAAU,QAAQ,KAAK;AAE1CC,QAAQ,CAAC,cAAc,EAAE,MAAM;EAC7BC,EAAE,CAAC,0BAA0B,EAAE,YAAY;IACzC,MAAMC,aAAa,GAAGH,UAAU,CAAC,KAAK,CAAC;IAEvCJ,MAAM,CAAC,MAAAQ,YAAA,CAAAT,YAAA;MAAA,cACsBQ,aAAa,CAACE;IAAK;MAAAC,OAAA,EAC1CC,IAAA;QAAA,IAAC;UAAEC;QAAM,CAAC,GAAAD,IAAA;QAAA,OAAAH,YAAA,aACLI,KAAK,CAACH,KAAK;MAAA;IACjB,EAEJ,CAAC;IAEFI,MAAM,CAACZ,MAAM,CAACa,SAAS,CAAC,KAAK,CAAC,CAAC,CAACC,iBAAiB,CAAC,CAAC;IAEnDR,aAAa,CAACE,KAAK,GAAG,KAAK;IAC3B,MAAMN,QAAQ,CAAC,CAAC;IAChBU,MAAM,CAACZ,MAAM,CAACa,SAAS,CAAC,KAAK,CAAC,CAAC,CAACC,iBAAiB,CAAC,CAAC;EACrD,CAAC,CAAC;EAEFT,EAAE,CAAC,mCAAmC,EAAE,YAAY;IAClD,MAAMC,aAAa,GAAGH,UAAU,CAAC,CAAC,KAAK,CAAC,CAAC;IAEzCJ,MAAM,CAAC,MAAAQ,YAAA,CAAAT,YAAA;MAAA,cACmBQ,aAAa,CAACE,KA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MAAAQ,YAAA,CAAAT,YAAA;QAAAW,OAAA,EAEDkB,KAAA,IAAe;UAAA,IAAd;YAAEhB;UAAM,CAAC,GAAAgB,KAAA;UACV,KAAKhB,KAAK;QACZ;MAAC,EAEJ,CAAC;MACFC,MAAM,CAACZ,MAAM,CAACyB,WAAW,CAAC,QAAQ,CAAC,CAAC,CAACC,YAAY,CAAC,CAAC,CAAC;IACtD,CAAC,CAAC;IAEFrB,EAAE,CAAC,iBAAiB,EAAE,MAAM;MAC1BN,MAAM,CAAC,MAAAQ,YAAA,CAAAT,YAAA;QAAAW,OAAA,EAEDmB,KAAA,IAAiB;UAAA,IAAhB;YAAEC;UAAQ,CAAC,GAAAD,KAAA;UACZ,KAAKC,OAAO;QACd;MAAC,EAEJ,CAAC;MACFjB,MAAM,CAACZ,MAAM,CAAC8B,aAAa,CAAC,QAAQ,CAAC,CAAC,CAACJ,YAAY,CAAC,CAAC,CAAC;IACxD,CAAC,CAAC;IAEFrB,EAAE,CAAC,gBAAgB,EAAE,MAAM;MACzBN,MAAM,CAAC,MAAAQ,YAAA,CAAAT,YAAA;QAAAW,OAAA,EAEDsB,KAAA;UAAA,IAAC;YAAEF;UAAQ,CAAC,GAAAE,KAAA;UAAA,OAAKF,OAAO,CAAC,CAAC;QAAA;MAAA,EAE/B,CAAC;MACFjB,MAAM,CAACZ,MAAM,CAACyB,WAAW,CAAC,QAAQ,CAAC,CAAC,CAACC,YAAY,CAAC,CAAC,CAAC;IACtD,CAAC,CAAC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -36,11 +36,11 @@ type VConfirmEditSlots<T> = {
36
36
  save: () => void;
37
37
  cancel: () => void;
38
38
  isPristine: boolean;
39
- get actions(): VNode;
39
+ get actions(): (props?: {}) => VNode;
40
40
  };
41
41
  };
42
42
  declare const VConfirmEdit: {
43
- new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<{
43
+ new (...args: any[]): vue.CreateComponentPublicInstance<{
44
44
  cancelText: string;
45
45
  okText: string;
46
46
  } & {
@@ -55,20 +55,25 @@ declare const VConfirmEdit: {
55
55
  cancel: () => true;
56
56
  save: (value: any) => true;
57
57
  'update:modelValue': (value: any) => true;
58
- }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue" | "save">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, {
58
+ }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue" | "save">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
59
+ cancelText: string;
60
+ okText: string;
61
+ } & {
62
+ color?: string | undefined;
63
+ } & {
64
+ onCancel?: (() => any) | undefined;
65
+ }, {
59
66
  cancelText: string;
60
67
  okText: string;
61
68
  }, true, {}, vue.SlotsType<Partial<{
62
69
  default: (arg: {
63
- model: Ref<unknown, unknown>;
70
+ model: Ref<unknown>;
64
71
  save: () => void;
65
72
  cancel: () => void;
66
73
  isPristine: boolean;
67
- readonly actions: VNode<vue.RendererNode, vue.RendererElement, {
68
- [key: string]: any;
69
- }>;
74
+ readonly actions: (props?: {}) => VNode;
70
75
  }) => VNode[];
71
- }>>, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
76
+ }>>, {
72
77
  P: {};
73
78
  B: {};
74
79
  D: {};
@@ -113,15 +118,13 @@ declare const VConfirmEdit: {
113
118
  okText: string;
114
119
  }, {}, string, vue.SlotsType<Partial<{
115
120
  default: (arg: {
116
- model: Ref<unknown, unknown>;
121
+ model: Ref<unknown>;
117
122
  save: () => void;
118
123
  cancel: () => void;
119
124
  isPristine: boolean;
120
- readonly actions: VNode<vue.RendererNode, vue.RendererElement, {
121
- [key: string]: any;
122
- }>;
125
+ readonly actions: (props?: {}) => VNode;
123
126
  }) => VNode[];
124
- }>>, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new <T>(props: {
127
+ }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new <T>(props: {
125
128
  modelValue?: T;
126
129
  "onUpdate:modelValue"?: (value: T) => void;
127
130
  "onSave"?: (value: T) => void;
@@ -1,8 +1,6 @@
1
- @layer vuetify.components {
2
- .v-counter {
3
- color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity));
4
- flex: 0 1 auto;
5
- font-size: 12px;
6
- transition-duration: 150ms;
7
- }
1
+ .v-counter {
2
+ color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity));
3
+ flex: 0 1 auto;
4
+ font-size: 12px;
5
+ transition-duration: 150ms;
8
6
  }
@@ -1,4 +1,4 @@
1
- import { vShow as _vShow, createVNode as _createVNode, withDirectives as _withDirectives } from "vue";
1
+ import { withDirectives as _withDirectives, createVNode as _createVNode, vShow as _vShow } from "vue";
2
2
  // Styles
3
3
  import "./VCounter.css";
4
4
 
@@ -13,7 +13,7 @@ type VCounterSlot = {
13
13
  value: string | number | undefined;
14
14
  };
15
15
  declare const VCounter: {
16
- new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<{
16
+ new (...args: any[]): vue.CreateComponentPublicInstance<{
17
17
  active: boolean;
18
18
  transition: string | boolean | (vue.TransitionProps & {
19
19
  component?: Component;
@@ -27,15 +27,37 @@ declare const VCounter: {
27
27
  max?: string | number | undefined;
28
28
  class?: any;
29
29
  } & {
30
- $children?: vue.VNodeChild | ((arg: VCounterSlot) => vue.VNodeChild) | {
30
+ $children?: vue.VNodeChild | {
31
31
  default?: ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
32
+ } | ((arg: VCounterSlot) => vue.VNodeChild);
33
+ 'v-slots'?: {
34
+ default?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
35
+ } | undefined;
36
+ } & {
37
+ "v-slot:default"?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
38
+ }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
39
+ active: boolean;
40
+ transition: string | boolean | (vue.TransitionProps & {
41
+ component?: Component;
42
+ }) | {
43
+ component: Component;
32
44
  };
45
+ value: string | number;
46
+ style: vue.StyleValue;
47
+ disabled: boolean;
48
+ } & {
49
+ max?: string | number | undefined;
50
+ class?: any;
51
+ } & {
52
+ $children?: vue.VNodeChild | {
53
+ default?: ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
54
+ } | ((arg: VCounterSlot) => vue.VNodeChild);
33
55
  'v-slots'?: {
34
56
  default?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
35
57
  } | undefined;
36
58
  } & {
37
59
  "v-slot:default"?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
38
- }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, {
60
+ }, {
39
61
  active: boolean;
40
62
  transition: string | boolean | (vue.TransitionProps & {
41
63
  component?: Component;
@@ -47,7 +69,7 @@ declare const VCounter: {
47
69
  disabled: boolean;
48
70
  }, true, {}, vue.SlotsType<Partial<{
49
71
  default: (arg: VCounterSlot) => vue.VNode[];
50
- }>>, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
72
+ }>>, {
51
73
  P: {};
52
74
  B: {};
53
75
  D: {};
@@ -68,9 +90,9 @@ declare const VCounter: {
68
90
  max?: string | number | undefined;
69
91
  class?: any;
70
92
  } & {
71
- $children?: vue.VNodeChild | ((arg: VCounterSlot) => vue.VNodeChild) | {
93
+ $children?: vue.VNodeChild | {
72
94
  default?: ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
73
- };
95
+ } | ((arg: VCounterSlot) => vue.VNodeChild);
74
96
  'v-slots'?: {
75
97
  default?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
76
98
  } | undefined;
@@ -104,9 +126,9 @@ declare const VCounter: {
104
126
  max?: string | number | undefined;
105
127
  class?: any;
106
128
  } & {
107
- $children?: vue.VNodeChild | ((arg: VCounterSlot) => vue.VNodeChild) | {
129
+ $children?: vue.VNodeChild | {
108
130
  default?: ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
109
- };
131
+ } | ((arg: VCounterSlot) => vue.VNodeChild);
110
132
  'v-slots'?: {
111
133
  default?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
112
134
  } | undefined;
@@ -124,7 +146,7 @@ declare const VCounter: {
124
146
  disabled: boolean;
125
147
  }, {}, string, vue.SlotsType<Partial<{
126
148
  default: (arg: VCounterSlot) => vue.VNode[];
127
- }>>, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
149
+ }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
128
150
  transition: Omit<{
129
151
  type: vue.PropType<string | boolean | (vue.TransitionProps & {
130
152
  component?: Component;
@@ -10,10 +10,10 @@ type ExpandProps = {
10
10
  };
11
11
  declare function provideExpanded(props: ExpandProps): {
12
12
  expand: (item: DataTableItem, value: boolean) => void;
13
- expanded: Ref<Set<string>, Set<string>> & {
13
+ expanded: Ref<Set<string>> & {
14
14
  readonly externalValue: readonly string[];
15
15
  };
16
- expandOnClick: Ref<boolean, boolean>;
16
+ expandOnClick: Ref<boolean>;
17
17
  isExpanded: (item: DataTableItem) => boolean;
18
18
  toggleExpand: (item: DataTableItem) => void;
19
19
  };
@@ -162,7 +162,7 @@ declare function provideSort(options: {
162
162
  multiSort: Ref<boolean>;
163
163
  page?: Ref<number>;
164
164
  }): {
165
- sortBy: Ref<readonly SortItem[], readonly SortItem[]>;
165
+ sortBy: Ref<readonly SortItem[]>;
166
166
  toggleSort: (column: InternalDataTableHeader) => void;
167
167
  isSorted: (column: InternalDataTableHeader) => boolean;
168
168
  };
@@ -186,8 +186,8 @@ declare function provideGroupBy(options: {
186
186
  }): {
187
187
  sortByWithGroups: vue.ComputedRef<SortItem[]>;
188
188
  toggleGroup: (group: Group) => void;
189
- opened: Ref<Set<string> & Omit<Set<string>, keyof Set<any>>, Set<string> | (Set<string> & Omit<Set<string>, keyof Set<any>>)>;
190
- groupBy: Ref<readonly SortItem[], readonly SortItem[]>;
189
+ opened: Ref<Set<string> & Omit<Set<string>, keyof Set<any>>>;
190
+ groupBy: Ref<readonly SortItem[]>;
191
191
  extractRows: <T extends GroupableItem>(items: readonly (T | Group<T>)[]) => T[];
192
192
  isGroupOpen: (group: Group) => boolean;
193
193
  };
@@ -207,12 +207,12 @@ declare function providePagination(options: {
207
207
  itemsPerPage: Ref<number>;
208
208
  itemsLength: Ref<number>;
209
209
  }): {
210
- page: Ref<number, number>;
211
- itemsPerPage: Ref<number, number>;
210
+ page: Ref<number>;
211
+ itemsPerPage: Ref<number>;
212
212
  startIndex: vue.ComputedRef<number>;
213
213
  stopIndex: vue.ComputedRef<number>;
214
214
  pageCount: vue.ComputedRef<number>;
215
- itemsLength: Ref<number, number>;
215
+ itemsLength: Ref<number>;
216
216
  nextPage: () => void;
217
217
  prevPage: () => void;
218
218
  setPage: (value: number) => void;
@@ -253,7 +253,7 @@ type VDataIteratorSlots<T> = {
253
253
  'no-data': never;
254
254
  };
255
255
  declare const VDataIterator: {
256
- new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<{
256
+ new (...args: any[]): vue.CreateComponentPublicInstance<{
257
257
  page: string | number;
258
258
  transition: string | boolean | (vue.TransitionProps & {
259
259
  component?: Component;
@@ -306,7 +306,51 @@ declare const VDataIterator: {
306
306
  'update:options': (value: any) => true;
307
307
  'update:expanded': (value: any) => true;
308
308
  'update:currentItems': (value: any) => true;
309
- }, "$children" | "v-slots" | "v-slot:default" | "items" | "v-slot:loader" | "v-slot:header" | "v-slot:no-data" | "v-slot:footer">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, {
309
+ }, "$children" | "v-slots" | "v-slot:default" | "items" | "v-slot:loader" | "v-slot:header" | "v-slot:no-data" | "v-slot:footer">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
310
+ page: string | number;
311
+ transition: string | boolean | (vue.TransitionProps & {
312
+ component?: Component;
313
+ }) | {
314
+ component: Component;
315
+ hideOnLeave: boolean;
316
+ };
317
+ expanded: readonly string[];
318
+ loading: boolean;
319
+ style: vue.StyleValue;
320
+ tag: string;
321
+ sortBy: readonly SortItem[];
322
+ modelValue: readonly any[];
323
+ valueComparator: typeof deepEqual;
324
+ selectStrategy: "all" | "page" | "single";
325
+ returnObject: boolean;
326
+ filterMode: FilterMode;
327
+ noFilter: boolean;
328
+ itemValue: SelectItemKey;
329
+ multiSort: boolean;
330
+ mustSort: boolean;
331
+ groupBy: readonly SortItem[];
332
+ itemSelectable: SelectItemKey;
333
+ showSelect: boolean;
334
+ expandOnClick: boolean;
335
+ showExpand: boolean;
336
+ itemsPerPage: string | number;
337
+ } & {
338
+ search?: string | undefined;
339
+ class?: any;
340
+ customFilter?: FilterFunction | undefined;
341
+ customKeyFilter?: FilterKeyFunctions | undefined;
342
+ filterKeys?: FilterKeys | undefined;
343
+ customKeySort?: Record<string, DataTableCompareFunction> | undefined;
344
+ } & {
345
+ "onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
346
+ "onUpdate:sortBy"?: ((value: any) => any) | undefined;
347
+ "onUpdate:groupBy"?: ((value: any) => any) | undefined;
348
+ "onUpdate:expanded"?: ((value: any) => any) | undefined;
349
+ "onUpdate:page"?: ((value: number) => any) | undefined;
350
+ "onUpdate:itemsPerPage"?: ((value: number) => any) | undefined;
351
+ "onUpdate:options"?: ((value: any) => any) | undefined;
352
+ "onUpdate:currentItems"?: ((value: any) => any) | undefined;
353
+ }, {
310
354
  page: string | number;
311
355
  transition: string | boolean | (vue.TransitionProps & {
312
356
  component?: Component;
@@ -340,7 +384,7 @@ declare const VDataIterator: {
340
384
  footer: (arg: VDataIteratorSlotProps<unknown>) => vue.VNode[];
341
385
  loader: (arg: LoaderSlotProps) => vue.VNode[];
342
386
  'no-data': () => vue.VNode[];
343
- }>>, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
387
+ }>>, {
344
388
  P: {};
345
389
  B: {};
346
390
  D: {};
@@ -510,7 +554,7 @@ declare const VDataIterator: {
510
554
  footer: (arg: VDataIteratorSlotProps<unknown>) => vue.VNode[];
511
555
  loader: (arg: LoaderSlotProps) => vue.VNode[];
512
556
  'no-data': () => vue.VNode[];
513
- }>>, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new <T>(props: {
557
+ }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new <T>(props: {
514
558
  items?: readonly T[];
515
559
  }, slots: VDataIteratorSlots<T>) => GenericProps<typeof props, typeof slots>) & FilterPropsOptions<{
516
560
  transition: Omit<{