vuetify 3.1.3 → 3.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (520) hide show
  1. package/LICENSE.md +1 -1
  2. package/dist/json/attributes.json +3104 -3068
  3. package/dist/json/importMap-labs.json +4 -0
  4. package/dist/json/importMap.json +38 -38
  5. package/dist/json/tags.json +18 -4
  6. package/dist/json/web-types.json +9059 -6289
  7. package/dist/vuetify-labs.css +374 -3262
  8. package/dist/vuetify-labs.d.ts +14446 -22245
  9. package/dist/vuetify-labs.esm.js +1661 -1922
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +1660 -1921
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.css +162 -3058
  14. package/dist/vuetify.d.ts +13666 -21503
  15. package/dist/vuetify.esm.js +1435 -1706
  16. package/dist/vuetify.esm.js.map +1 -1
  17. package/dist/vuetify.js +1434 -1705
  18. package/dist/vuetify.js.map +1 -1
  19. package/dist/vuetify.min.css +2 -2
  20. package/dist/vuetify.min.js +1084 -1305
  21. package/dist/vuetify.min.js.map +1 -1
  22. package/lib/blueprints/index.d.ts +9 -9
  23. package/lib/blueprints/md1.d.ts +9 -9
  24. package/lib/blueprints/md2.d.ts +9 -9
  25. package/lib/blueprints/md3.d.ts +9 -9
  26. package/lib/blueprints/md3.mjs.map +1 -1
  27. package/lib/components/VAlert/VAlert.mjs +5 -6
  28. package/lib/components/VAlert/VAlert.mjs.map +1 -1
  29. package/lib/components/VAlert/index.d.ts +135 -157
  30. package/lib/components/VApp/VApp.mjs +9 -12
  31. package/lib/components/VApp/VApp.mjs.map +1 -1
  32. package/lib/components/VApp/index.d.ts +27 -13
  33. package/lib/components/VAppBar/VAppBar.mjs +9 -5
  34. package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
  35. package/lib/components/VAppBar/VAppBarNavIcon.mjs +2 -2
  36. package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
  37. package/lib/components/VAppBar/VAppBarTitle.mjs +5 -6
  38. package/lib/components/VAppBar/VAppBarTitle.mjs.map +1 -1
  39. package/lib/components/VAppBar/index.d.ts +173 -342
  40. package/lib/components/VAutocomplete/VAutocomplete.mjs +100 -104
  41. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  42. package/lib/components/VAutocomplete/index.d.ts +494 -636
  43. package/lib/components/VAvatar/VAvatar.mjs +19 -22
  44. package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
  45. package/lib/components/VAvatar/index.d.ts +46 -66
  46. package/lib/components/VBadge/VBadge.mjs +7 -5
  47. package/lib/components/VBadge/VBadge.mjs.map +1 -1
  48. package/lib/components/VBadge/index.d.ts +74 -100
  49. package/lib/components/VBanner/VBanner.mjs +3 -4
  50. package/lib/components/VBanner/VBanner.mjs.map +1 -1
  51. package/lib/components/VBanner/VBannerActions.mjs +5 -8
  52. package/lib/components/VBanner/VBannerActions.mjs.map +1 -1
  53. package/lib/components/VBanner/index.d.ts +134 -98
  54. package/lib/components/VBottomNavigation/VBottomNavigation.css +2 -1
  55. package/lib/components/VBottomNavigation/VBottomNavigation.mjs +8 -4
  56. package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
  57. package/lib/components/VBottomNavigation/VBottomNavigation.sass +2 -1
  58. package/lib/components/VBottomNavigation/_variables.scss +1 -1
  59. package/lib/components/VBottomNavigation/index.d.ts +67 -131
  60. package/lib/components/VBottomSheet/VBottomSheet.mjs +1 -4
  61. package/lib/components/VBottomSheet/VBottomSheet.mjs.map +1 -1
  62. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +9 -16
  63. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
  64. package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs +5 -8
  65. package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs.map +1 -1
  66. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +4 -8
  67. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
  68. package/lib/components/VBreadcrumbs/index.d.ts +87 -61
  69. package/lib/components/VBtn/VBtn.css +7 -7
  70. package/lib/components/VBtn/VBtn.mjs +14 -17
  71. package/lib/components/VBtn/VBtn.mjs.map +1 -1
  72. package/lib/components/VBtn/index.d.ts +118 -179
  73. package/lib/components/VBtnGroup/VBtnGroup.mjs +19 -12
  74. package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -1
  75. package/lib/components/VBtnGroup/index.d.ts +42 -56
  76. package/lib/components/VBtnToggle/VBtnToggle.mjs +10 -7
  77. package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
  78. package/lib/components/VBtnToggle/index.d.ts +65 -131
  79. package/lib/components/VCalendar/VCalendar.mjs +3 -0
  80. package/lib/components/VCalendar/VCalendar.mjs.map +1 -1
  81. package/lib/components/VCalendar/VCalendarCategory.sass +9 -3
  82. package/lib/components/VCalendar/VCalendarDaily.mjs +20 -8
  83. package/lib/components/VCalendar/VCalendarDaily.mjs.map +1 -1
  84. package/lib/components/VCalendar/VCalendarWeekly.mjs +25 -5
  85. package/lib/components/VCalendar/VCalendarWeekly.mjs.map +1 -1
  86. package/lib/components/VCalendar/mixins/calendar-with-events.mjs +20 -16
  87. package/lib/components/VCalendar/mixins/calendar-with-events.mjs.map +1 -1
  88. package/lib/components/VCalendar/mixins/mouse.mjs +15 -30
  89. package/lib/components/VCalendar/mixins/mouse.mjs.map +1 -1
  90. package/lib/components/VCard/VCard.css +7 -7
  91. package/lib/components/VCard/VCard.mjs +5 -6
  92. package/lib/components/VCard/VCard.mjs.map +1 -1
  93. package/lib/components/VCard/VCardActions.mjs +5 -8
  94. package/lib/components/VCard/VCardActions.mjs.map +1 -1
  95. package/lib/components/VCard/VCardItem.mjs +7 -8
  96. package/lib/components/VCard/VCardItem.mjs.map +1 -1
  97. package/lib/components/VCard/index.d.ts +286 -186
  98. package/lib/components/VCarousel/VCarousel.mjs +2 -2
  99. package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
  100. package/lib/components/VCarousel/VCarouselItem.mjs +2 -2
  101. package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
  102. package/lib/components/VCarousel/index.d.ts +238 -61
  103. package/lib/components/VCheckbox/VCheckbox.mjs +2 -2
  104. package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
  105. package/lib/components/VCheckbox/VCheckboxBtn.mjs +2 -2
  106. package/lib/components/VCheckbox/VCheckboxBtn.mjs.map +1 -1
  107. package/lib/components/VCheckbox/index.d.ts +277 -254
  108. package/lib/components/VChip/VChip.css +7 -7
  109. package/lib/components/VChip/VChip.mjs +21 -15
  110. package/lib/components/VChip/VChip.mjs.map +1 -1
  111. package/lib/components/VChip/index.d.ts +118 -168
  112. package/lib/components/VChipGroup/VChipGroup.css +1 -0
  113. package/lib/components/VChipGroup/VChipGroup.mjs +15 -18
  114. package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
  115. package/lib/components/VChipGroup/VChipGroup.sass +1 -0
  116. package/lib/components/VChipGroup/index.d.ts +49 -68
  117. package/lib/components/VCode/index.d.ts +21 -9
  118. package/lib/components/VColorPicker/VColorPickerCanvas.mjs +4 -9
  119. package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
  120. package/lib/components/VColorPicker/VColorPickerEdit.mjs +12 -16
  121. package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
  122. package/lib/components/VColorPicker/VColorPickerPreview.mjs +43 -46
  123. package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
  124. package/lib/components/VColorPicker/index.d.ts +1 -1
  125. package/lib/components/VColorPicker/util/index.mjs +1 -2
  126. package/lib/components/VColorPicker/util/index.mjs.map +1 -1
  127. package/lib/components/VCombobox/VCombobox.mjs +104 -113
  128. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  129. package/lib/components/VCombobox/index.d.ts +496 -638
  130. package/lib/components/VCounter/VCounter.mjs +2 -2
  131. package/lib/components/VCounter/VCounter.mjs.map +1 -1
  132. package/lib/components/VCounter/index.d.ts +139 -197
  133. package/lib/components/VData/VData.mjs +2 -4
  134. package/lib/components/VData/VData.mjs.map +1 -1
  135. package/lib/components/VDatePicker/VDatePicker.mjs +7 -5
  136. package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
  137. package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +4 -9
  138. package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs.map +1 -1
  139. package/lib/components/VDefaultsProvider/index.d.ts +33 -14
  140. package/lib/components/VDialog/VDialog.mjs +6 -9
  141. package/lib/components/VDialog/VDialog.mjs.map +1 -1
  142. package/lib/components/VDialog/index.d.ts +430 -1610
  143. package/lib/components/VDivider/VDivider.mjs +2 -2
  144. package/lib/components/VDivider/VDivider.mjs.map +1 -1
  145. package/lib/components/VDivider/index.d.ts +35 -15
  146. package/lib/components/VExpansionPanel/VExpansionPanel.css +7 -7
  147. package/lib/components/VExpansionPanel/VExpansionPanel.mjs +4 -5
  148. package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
  149. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +11 -14
  150. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -1
  151. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +19 -22
  152. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
  153. package/lib/components/VExpansionPanel/VExpansionPanels.mjs +2 -2
  154. package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
  155. package/lib/components/VExpansionPanel/index.d.ts +180 -158
  156. package/lib/components/VField/VField.css +2 -2
  157. package/lib/components/VField/VField.mjs +3 -6
  158. package/lib/components/VField/VField.mjs.map +1 -1
  159. package/lib/components/VField/VField.sass +2 -2
  160. package/lib/components/VField/VFieldLabel.mjs +2 -2
  161. package/lib/components/VField/VFieldLabel.mjs.map +1 -1
  162. package/lib/components/VField/index.d.ts +46 -34
  163. package/lib/components/VFileInput/VFileInput.mjs +16 -18
  164. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  165. package/lib/components/VFileInput/index.d.ts +330 -355
  166. package/lib/components/VFooter/VFooter.mjs +2 -2
  167. package/lib/components/VFooter/VFooter.mjs.map +1 -1
  168. package/lib/components/VFooter/index.d.ts +45 -65
  169. package/lib/components/VForm/VForm.mjs +10 -14
  170. package/lib/components/VForm/VForm.mjs.map +1 -1
  171. package/lib/components/VForm/index.d.ts +29 -23
  172. package/lib/components/VGrid/VCol.mjs +5 -8
  173. package/lib/components/VGrid/VCol.mjs.map +1 -1
  174. package/lib/components/VGrid/VContainer.mjs +2 -2
  175. package/lib/components/VGrid/VContainer.mjs.map +1 -1
  176. package/lib/components/VGrid/VGrid.css +0 -125
  177. package/lib/components/VGrid/VRow.mjs +5 -8
  178. package/lib/components/VGrid/VRow.mjs.map +1 -1
  179. package/lib/components/VGrid/index.d.ts +112 -121
  180. package/lib/components/VHover/VHover.mjs +9 -12
  181. package/lib/components/VHover/VHover.mjs.map +1 -1
  182. package/lib/components/VHover/index.d.ts +53 -15
  183. package/lib/components/VIcon/VIcon.mjs +22 -26
  184. package/lib/components/VIcon/VIcon.mjs.map +1 -1
  185. package/lib/components/VIcon/index.d.ts +68 -56
  186. package/lib/components/VImg/VImg.mjs +7 -11
  187. package/lib/components/VImg/VImg.mjs.map +1 -1
  188. package/lib/components/VImg/index.d.ts +67 -58
  189. package/lib/components/VInput/VInput.mjs +5 -6
  190. package/lib/components/VInput/VInput.mjs.map +1 -1
  191. package/lib/components/VInput/index.d.ts +94 -283
  192. package/lib/components/VItemGroup/VItem.mjs +8 -11
  193. package/lib/components/VItemGroup/VItem.mjs.map +1 -1
  194. package/lib/components/VItemGroup/VItemGroup.mjs +13 -16
  195. package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
  196. package/lib/components/VItemGroup/index.d.ts +76 -149
  197. package/lib/components/VKbd/index.d.ts +21 -9
  198. package/lib/components/VLabel/VLabel.mjs +7 -10
  199. package/lib/components/VLabel/VLabel.mjs.map +1 -1
  200. package/lib/components/VLabel/index.d.ts +29 -9
  201. package/lib/components/VLayout/VLayout.mjs +9 -12
  202. package/lib/components/VLayout/VLayout.mjs.map +1 -1
  203. package/lib/components/VLayout/VLayoutItem.mjs +6 -9
  204. package/lib/components/VLayout/VLayoutItem.mjs.map +1 -1
  205. package/lib/components/VLayout/index.d.ts +60 -43
  206. package/lib/components/VLazy/VLazy.mjs +12 -15
  207. package/lib/components/VLazy/VLazy.mjs.map +1 -1
  208. package/lib/components/VLazy/index.d.ts +48 -71
  209. package/lib/components/VList/VList.mjs +4 -8
  210. package/lib/components/VList/VList.mjs.map +1 -1
  211. package/lib/components/VList/VListChildren.mjs +59 -77
  212. package/lib/components/VList/VListChildren.mjs.map +1 -1
  213. package/lib/components/VList/VListGroup.mjs +33 -39
  214. package/lib/components/VList/VListGroup.mjs.map +1 -1
  215. package/lib/components/VList/VListItem.css +9 -9
  216. package/lib/components/VList/VListItem.mjs +10 -18
  217. package/lib/components/VList/VListItem.mjs.map +1 -1
  218. package/lib/components/VList/VListItem.sass +0 -2
  219. package/lib/components/VList/VListItemAction.mjs +2 -2
  220. package/lib/components/VList/VListItemAction.mjs.map +1 -1
  221. package/lib/components/VList/VListItemMedia.mjs +2 -2
  222. package/lib/components/VList/VListItemMedia.mjs.map +1 -1
  223. package/lib/components/VList/VListSubheader.mjs +3 -4
  224. package/lib/components/VList/VListSubheader.mjs.map +1 -1
  225. package/lib/components/VList/index.d.ts +418 -686
  226. package/lib/components/VList/list.mjs +1 -1
  227. package/lib/components/VList/list.mjs.map +1 -1
  228. package/lib/components/VLocaleProvider/VLocaleProvider.mjs +5 -8
  229. package/lib/components/VLocaleProvider/VLocaleProvider.mjs.map +1 -1
  230. package/lib/components/VLocaleProvider/index.d.ts +28 -16
  231. package/lib/components/VMain/VMain.mjs +12 -15
  232. package/lib/components/VMain/VMain.mjs.map +1 -1
  233. package/lib/components/VMain/index.d.ts +23 -17
  234. package/lib/components/VMenu/VMenu.mjs +10 -10
  235. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  236. package/lib/components/VMenu/index.d.ts +428 -1641
  237. package/lib/components/VMessages/VMessages.mjs +2 -2
  238. package/lib/components/VMessages/VMessages.mjs.map +1 -1
  239. package/lib/components/VMessages/index.d.ts +144 -204
  240. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +6 -7
  241. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
  242. package/lib/components/VNavigationDrawer/index.d.ts +92 -124
  243. package/lib/components/VNoSsr/VNoSsr.mjs +1 -4
  244. package/lib/components/VNoSsr/VNoSsr.mjs.map +1 -1
  245. package/lib/components/VNoSsr/index.d.ts +20 -4
  246. package/lib/components/VOtpInput/VOtpInput.mjs +25 -50
  247. package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
  248. package/lib/components/VOverflowBtn/VOverflowBtn.mjs +3 -0
  249. package/lib/components/VOverflowBtn/VOverflowBtn.mjs.map +1 -1
  250. package/lib/components/VOverlay/VOverlay.mjs +44 -47
  251. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  252. package/lib/components/VOverlay/index.d.ts +150 -468
  253. package/lib/components/VOverlay/locationStrategies.mjs +3 -6
  254. package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
  255. package/lib/components/VOverlay/scrollStrategies.mjs +7 -12
  256. package/lib/components/VOverlay/scrollStrategies.mjs.map +1 -1
  257. package/lib/components/VOverlay/useActivator.mjs +4 -7
  258. package/lib/components/VOverlay/useActivator.mjs.map +1 -1
  259. package/lib/components/VPagination/VPagination.mjs +4 -5
  260. package/lib/components/VPagination/VPagination.mjs.map +1 -1
  261. package/lib/components/VPagination/index.d.ts +107 -207
  262. package/lib/components/VParallax/VParallax.mjs +12 -15
  263. package/lib/components/VParallax/VParallax.mjs.map +1 -1
  264. package/lib/components/VParallax/index.d.ts +39 -9
  265. package/lib/components/VProgressCircular/VProgressCircular.mjs +2 -2
  266. package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
  267. package/lib/components/VProgressCircular/index.d.ts +41 -58
  268. package/lib/components/VProgressLinear/VProgressLinear.mjs +2 -2
  269. package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
  270. package/lib/components/VProgressLinear/index.d.ts +91 -95
  271. package/lib/components/VRadio/VRadio.mjs +2 -2
  272. package/lib/components/VRadio/VRadio.mjs.map +1 -1
  273. package/lib/components/VRadio/index.d.ts +108 -85
  274. package/lib/components/VRadioGroup/VRadioGroup.mjs +2 -2
  275. package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
  276. package/lib/components/VRadioGroup/index.d.ts +164 -147
  277. package/lib/components/VRangeSlider/VRangeSlider.mjs +21 -31
  278. package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
  279. package/lib/components/VRangeSlider/index.d.ts +154 -210
  280. package/lib/components/VRating/VRating.mjs +28 -34
  281. package/lib/components/VRating/VRating.mjs.map +1 -1
  282. package/lib/components/VRating/index.d.ts +77 -311
  283. package/lib/components/VResponsive/VResponsive.mjs +11 -14
  284. package/lib/components/VResponsive/VResponsive.mjs.map +1 -1
  285. package/lib/components/VResponsive/index.d.ts +44 -20
  286. package/lib/components/VSelect/VSelect.mjs +100 -102
  287. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  288. package/lib/components/VSelect/index.d.ts +729 -673
  289. package/lib/components/VSelectionControl/VSelectionControl.css +2 -2
  290. package/lib/components/VSelectionControl/VSelectionControl.mjs +3 -4
  291. package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
  292. package/lib/components/VSelectionControl/index.d.ts +31 -19
  293. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +8 -11
  294. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
  295. package/lib/components/VSelectionControlGroup/index.d.ts +58 -70
  296. package/lib/components/VSheet/VSheet.mjs +2 -2
  297. package/lib/components/VSheet/VSheet.mjs.map +1 -1
  298. package/lib/components/VSheet/index.d.ts +52 -56
  299. package/lib/components/VSkeletonLoader/VSkeletonLoader.sass +1 -1
  300. package/lib/components/VSlideGroup/VSlideGroup.mjs +51 -60
  301. package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
  302. package/lib/components/VSlideGroup/VSlideGroupItem.mjs +6 -9
  303. package/lib/components/VSlideGroup/VSlideGroupItem.mjs.map +1 -1
  304. package/lib/components/VSlideGroup/index.d.ts +144 -366
  305. package/lib/components/VSlider/VSlider.mjs +8 -14
  306. package/lib/components/VSlider/VSlider.mjs.map +1 -1
  307. package/lib/components/VSlider/VSliderThumb.css +0 -1
  308. package/lib/components/VSlider/VSliderThumb.mjs +4 -5
  309. package/lib/components/VSlider/VSliderThumb.mjs.map +1 -1
  310. package/lib/components/VSlider/VSliderTrack.mjs +4 -5
  311. package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
  312. package/lib/components/VSlider/index.d.ts +151 -207
  313. package/lib/components/VSlider/slider.mjs +3 -6
  314. package/lib/components/VSlider/slider.mjs.map +1 -1
  315. package/lib/components/VSnackbar/VSnackbar.mjs +1 -1
  316. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  317. package/lib/components/VSnackbar/index.d.ts +358 -1519
  318. package/lib/components/VStepper/VStepper.sass +6 -6
  319. package/lib/components/VStepper/VStepperStep.mjs +12 -2
  320. package/lib/components/VStepper/VStepperStep.mjs.map +1 -1
  321. package/lib/components/VSwitch/VSwitch.mjs +3 -4
  322. package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
  323. package/lib/components/VSwitch/index.d.ts +180 -151
  324. package/lib/components/VSystemBar/VSystemBar.mjs +8 -4
  325. package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
  326. package/lib/components/VSystemBar/index.d.ts +43 -51
  327. package/lib/components/VTable/VTable.mjs +19 -22
  328. package/lib/components/VTable/VTable.mjs.map +1 -1
  329. package/lib/components/VTable/index.d.ts +54 -30
  330. package/lib/components/VTabs/VTab.mjs +3 -4
  331. package/lib/components/VTabs/VTab.mjs.map +1 -1
  332. package/lib/components/VTabs/VTabs.mjs +2 -2
  333. package/lib/components/VTabs/VTabs.mjs.map +1 -1
  334. package/lib/components/VTabs/index.d.ts +122 -150
  335. package/lib/components/VTextField/VTextField.mjs +16 -19
  336. package/lib/components/VTextField/VTextField.mjs.map +1 -1
  337. package/lib/components/VTextField/index.d.ts +331 -1489
  338. package/lib/components/VTextarea/VTextarea.mjs +17 -19
  339. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  340. package/lib/components/VTextarea/index.d.ts +320 -334
  341. package/lib/components/VThemeProvider/VThemeProvider.mjs +4 -5
  342. package/lib/components/VThemeProvider/VThemeProvider.mjs.map +1 -1
  343. package/lib/components/VThemeProvider/index.d.ts +27 -13
  344. package/lib/components/VTimePicker/VTimePicker.mjs.map +1 -1
  345. package/lib/components/VTimeline/VTimeline.mjs +2 -2
  346. package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
  347. package/lib/components/VTimeline/VTimelineDivider.mjs +20 -23
  348. package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -1
  349. package/lib/components/VTimeline/VTimelineItem.mjs +33 -34
  350. package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
  351. package/lib/components/VTimeline/_mixins.sass +1 -1
  352. package/lib/components/VTimeline/index.d.ts +123 -135
  353. package/lib/components/VToolbar/VToolbar.css +1 -0
  354. package/lib/components/VToolbar/VToolbar.mjs +7 -9
  355. package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
  356. package/lib/components/VToolbar/VToolbar.sass +1 -0
  357. package/lib/components/VToolbar/VToolbarItems.mjs +5 -8
  358. package/lib/components/VToolbar/VToolbarItems.mjs.map +1 -1
  359. package/lib/components/VToolbar/VToolbarTitle.mjs +7 -7
  360. package/lib/components/VToolbar/VToolbarTitle.mjs.map +1 -1
  361. package/lib/components/VToolbar/index.d.ts +146 -351
  362. package/lib/components/VTooltip/VTooltip.mjs +1 -2
  363. package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
  364. package/lib/components/VTooltip/index.d.ts +361 -1619
  365. package/lib/components/VTreeview/VTreeview.mjs +1 -1
  366. package/lib/components/VTreeview/VTreeview.mjs.map +1 -1
  367. package/lib/components/VValidation/VValidation.mjs +3 -6
  368. package/lib/components/VValidation/VValidation.mjs.map +1 -1
  369. package/lib/components/VValidation/index.d.ts +48 -46
  370. package/lib/components/VWindow/VWindow.mjs +19 -22
  371. package/lib/components/VWindow/VWindow.mjs.map +1 -1
  372. package/lib/components/VWindow/VWindowItem.mjs +10 -14
  373. package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
  374. package/lib/components/VWindow/index.d.ts +152 -284
  375. package/lib/components/index.d.ts +13667 -21504
  376. package/lib/components/transitions/createTransition.mjs +4 -4
  377. package/lib/components/transitions/createTransition.mjs.map +1 -1
  378. package/lib/components/transitions/dialog-transition.mjs +8 -8
  379. package/lib/components/transitions/dialog-transition.mjs.map +1 -1
  380. package/lib/components/transitions/index.d.ts +477 -342
  381. package/lib/composables/defaults.mjs +6 -4
  382. package/lib/composables/defaults.mjs.map +1 -1
  383. package/lib/composables/delay.mjs +1 -1
  384. package/lib/composables/delay.mjs.map +1 -1
  385. package/lib/composables/filter.mjs +11 -12
  386. package/lib/composables/filter.mjs.map +1 -1
  387. package/lib/composables/group.mjs +2 -2
  388. package/lib/composables/group.mjs.map +1 -1
  389. package/lib/composables/icons.mjs +4 -6
  390. package/lib/composables/icons.mjs.map +1 -1
  391. package/lib/composables/intersectionObserver.mjs +1 -1
  392. package/lib/composables/intersectionObserver.mjs.map +1 -1
  393. package/lib/composables/layout.mjs +2 -5
  394. package/lib/composables/layout.mjs.map +1 -1
  395. package/lib/composables/loader.mjs +2 -3
  396. package/lib/composables/loader.mjs.map +1 -1
  397. package/lib/composables/locale.mjs +2 -2
  398. package/lib/composables/locale.mjs.map +1 -1
  399. package/lib/composables/mutationObserver.mjs +8 -8
  400. package/lib/composables/mutationObserver.mjs.map +1 -1
  401. package/lib/composables/nested/nested.mjs +2 -1
  402. package/lib/composables/nested/nested.mjs.map +1 -1
  403. package/lib/composables/nested/selectStrategies.mjs +1 -1
  404. package/lib/composables/nested/selectStrategies.mjs.map +1 -1
  405. package/lib/composables/proxiedModel.mjs +9 -10
  406. package/lib/composables/proxiedModel.mjs.map +1 -1
  407. package/lib/composables/resizeObserver.mjs +1 -1
  408. package/lib/composables/resizeObserver.mjs.map +1 -1
  409. package/lib/composables/router.mjs +12 -21
  410. package/lib/composables/router.mjs.map +1 -1
  411. package/lib/composables/scroll.mjs +2 -4
  412. package/lib/composables/scroll.mjs.map +1 -1
  413. package/lib/composables/selectLink.mjs +1 -4
  414. package/lib/composables/selectLink.mjs.map +1 -1
  415. package/lib/composables/stack.mjs +6 -8
  416. package/lib/composables/stack.mjs.map +1 -1
  417. package/lib/composables/teleport.mjs +1 -1
  418. package/lib/composables/teleport.mjs.map +1 -1
  419. package/lib/composables/theme.mjs +2 -3
  420. package/lib/composables/theme.mjs.map +1 -1
  421. package/lib/composables/toggleScope.mjs +3 -6
  422. package/lib/composables/toggleScope.mjs.map +1 -1
  423. package/lib/composables/touch.mjs +1 -2
  424. package/lib/composables/touch.mjs.map +1 -1
  425. package/lib/composables/validation.mjs +7 -7
  426. package/lib/composables/validation.mjs.map +1 -1
  427. package/lib/directives/click-outside/index.mjs +2 -3
  428. package/lib/directives/click-outside/index.mjs.map +1 -1
  429. package/lib/directives/index.d.ts +1 -1
  430. package/lib/directives/intersect/index.mjs +2 -4
  431. package/lib/directives/intersect/index.mjs.map +1 -1
  432. package/lib/directives/mutate/index.mjs +7 -8
  433. package/lib/directives/mutate/index.mjs.map +1 -1
  434. package/lib/directives/resize/index.mjs +3 -5
  435. package/lib/directives/resize/index.mjs.map +1 -1
  436. package/lib/directives/ripple/VRipple.css +3 -0
  437. package/lib/directives/ripple/VRipple.sass +3 -0
  438. package/lib/directives/ripple/_variables.scss +1 -1
  439. package/lib/directives/ripple/index.mjs +8 -18
  440. package/lib/directives/ripple/index.mjs.map +1 -1
  441. package/lib/directives/scroll/index.mjs +1 -2
  442. package/lib/directives/scroll/index.mjs.map +1 -1
  443. package/lib/directives/touch/index.mjs +9 -14
  444. package/lib/directives/touch/index.mjs.map +1 -1
  445. package/lib/entry-bundler.mjs +1 -1
  446. package/lib/framework.mjs +2 -3
  447. package/lib/framework.mjs.map +1 -1
  448. package/lib/iconsets/fa-svg.d.ts +2 -2
  449. package/lib/iconsets/fa.d.ts +2 -2
  450. package/lib/iconsets/fa4.d.ts +2 -2
  451. package/lib/iconsets/md.d.ts +2 -2
  452. package/lib/iconsets/mdi-svg.d.ts +2 -2
  453. package/lib/iconsets/mdi.d.ts +2 -2
  454. package/lib/index.d.ts +20 -20
  455. package/lib/labs/VDataTable/VDataTable.mjs +12 -19
  456. package/lib/labs/VDataTable/VDataTable.mjs.map +1 -1
  457. package/lib/labs/VDataTable/VDataTableColumn.mjs +1 -2
  458. package/lib/labs/VDataTable/VDataTableColumn.mjs.map +1 -1
  459. package/lib/labs/VDataTable/VDataTableFooter.css +9 -0
  460. package/lib/labs/VDataTable/VDataTableFooter.mjs +80 -45
  461. package/lib/labs/VDataTable/VDataTableFooter.mjs.map +1 -1
  462. package/lib/labs/VDataTable/VDataTableFooter.sass +7 -0
  463. package/lib/labs/VDataTable/VDataTableGroupHeaderRow.mjs +6 -8
  464. package/lib/labs/VDataTable/VDataTableGroupHeaderRow.mjs.map +1 -1
  465. package/lib/labs/VDataTable/VDataTableHeaders.mjs +3 -4
  466. package/lib/labs/VDataTable/VDataTableHeaders.mjs.map +1 -1
  467. package/lib/labs/VDataTable/VDataTableRow.mjs +2 -4
  468. package/lib/labs/VDataTable/VDataTableRow.mjs.map +1 -1
  469. package/lib/labs/VDataTable/VDataTableRows.mjs +45 -49
  470. package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
  471. package/lib/labs/VDataTable/VDataTableServer.mjs +17 -26
  472. package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
  473. package/lib/labs/VDataTable/VDataTableVirtual.mjs +2 -5
  474. package/lib/labs/VDataTable/VDataTableVirtual.mjs.map +1 -1
  475. package/lib/labs/VDataTable/composables/headers.mjs +3 -4
  476. package/lib/labs/VDataTable/composables/headers.mjs.map +1 -1
  477. package/lib/labs/VDataTable/composables/options.mjs +0 -6
  478. package/lib/labs/VDataTable/composables/options.mjs.map +1 -1
  479. package/lib/labs/VDataTable/composables/paginate.mjs +2 -7
  480. package/lib/labs/VDataTable/composables/paginate.mjs.map +1 -1
  481. package/lib/labs/VDataTable/composables/sort.mjs +1 -1
  482. package/lib/labs/VDataTable/composables/sort.mjs.map +1 -1
  483. package/lib/labs/VDataTable/index.d.ts +593 -526
  484. package/lib/labs/VDataTable/index.mjs +1 -0
  485. package/lib/labs/VDataTable/index.mjs.map +1 -1
  486. package/lib/labs/VVirtualScroll/VVirtualScroll.css +0 -1
  487. package/lib/labs/VVirtualScroll/VVirtualScroll.mjs +48 -34
  488. package/lib/labs/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
  489. package/lib/labs/VVirtualScroll/VVirtualScroll.sass +0 -1
  490. package/lib/labs/VVirtualScroll/VVirtualScrollItem.mjs +22 -16
  491. package/lib/labs/VVirtualScroll/VVirtualScrollItem.mjs.map +1 -1
  492. package/lib/labs/VVirtualScroll/index.d.ts +26 -57
  493. package/lib/labs/components.d.ts +619 -583
  494. package/lib/locale/adapters/vue-i18n.d.ts +1 -1
  495. package/lib/locale/adapters/vuetify.mjs +3 -3
  496. package/lib/locale/adapters/vuetify.mjs.map +1 -1
  497. package/lib/locale/ar.mjs +20 -20
  498. package/lib/locale/ar.mjs.map +1 -1
  499. package/lib/locale/es.mjs +3 -3
  500. package/lib/locale/es.mjs.map +1 -1
  501. package/lib/locale/fi.mjs +5 -5
  502. package/lib/locale/fi.mjs.map +1 -1
  503. package/lib/locale/it.mjs +6 -6
  504. package/lib/locale/it.mjs.map +1 -1
  505. package/lib/locale/sv.mjs +7 -7
  506. package/lib/locale/sv.mjs.map +1 -1
  507. package/lib/styles/main.css +40 -2816
  508. package/lib/styles/settings/_variables.scss +6 -6
  509. package/lib/styles/tools/_states.sass +3 -3
  510. package/lib/util/console.mjs +1 -1
  511. package/lib/util/console.mjs.map +1 -1
  512. package/lib/util/createSimpleFunctional.mjs +5 -8
  513. package/lib/util/createSimpleFunctional.mjs.map +1 -1
  514. package/lib/util/defineComponent.mjs +6 -8
  515. package/lib/util/defineComponent.mjs.map +1 -1
  516. package/lib/util/getCurrentInstance.mjs +1 -1
  517. package/lib/util/getCurrentInstance.mjs.map +1 -1
  518. package/lib/util/helpers.mjs +2 -21
  519. package/lib/util/helpers.mjs.map +1 -1
  520. package/package.json +19 -19
@@ -1,10 +1,10 @@
1
1
  import * as vue from 'vue';
2
2
  import { JSXComponent, PropType, ComputedRef, Ref } from 'vue';
3
3
 
4
- declare type IconValue = string | JSXComponent;
4
+ type IconValue = string | JSXComponent;
5
5
  declare const IconValue: PropType<IconValue>;
6
6
 
7
- declare type EventProp<T = (...args: any[]) => any> = T | T[];
7
+ type EventProp<T = (...args: any[]) => any> = T | T[];
8
8
  declare const EventProp: PropType<EventProp<(...args: any[]) => any>>;
9
9
 
10
10
  interface LoaderSlotProps {
@@ -82,9 +82,8 @@ declare const VField: {
82
82
  'onClick:prependInner': PropType<EventProp<(...args: any[]) => any>>;
83
83
  focused: BooleanConstructor;
84
84
  id: StringConstructor;
85
- }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "onUpdate:modelValue" | "v-slot:clear" | "v-slot:prepend-inner" | "v-slot:append-inner" | "v-slot:label" | "v-slot:loader">>> & {
85
+ }, "$children" | "v-slot:default" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
86
86
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
87
- "onClick:control"?: ((e: MouseEvent) => any) | undefined;
88
87
  } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "reverse" | "error" | "active" | "disabled" | "variant" | "clearIcon" | "focused" | "clearable" | "dirty" | "persistentClear" | "singleLine">;
89
88
  $attrs: {
90
89
  [x: string]: unknown;
@@ -95,9 +94,9 @@ declare const VField: {
95
94
  $slots: Readonly<{
96
95
  [name: string]: vue.Slot | undefined;
97
96
  }>;
98
- $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
99
- $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
100
- $emit: ((event: "click:control", e: MouseEvent) => void) & ((event: "update:focused", focused: boolean) => void);
97
+ $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
98
+ $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
99
+ $emit: (event: "update:focused", focused: boolean) => void;
101
100
  $el: any;
102
101
  $options: vue.ComponentOptionsBase<Readonly<vue.ExtractPropTypes<Omit<{
103
102
  loading: (StringConstructor | BooleanConstructor)[];
@@ -129,16 +128,14 @@ declare const VField: {
129
128
  'onClick:prependInner': PropType<EventProp<(...args: any[]) => any>>;
130
129
  focused: BooleanConstructor;
131
130
  id: StringConstructor;
132
- }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "onUpdate:modelValue" | "v-slot:clear" | "v-slot:prepend-inner" | "v-slot:append-inner" | "v-slot:label" | "v-slot:loader">>> & {
131
+ }, "$children" | "v-slot:default" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
133
132
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
134
- "onClick:control"?: ((e: MouseEvent) => any) | undefined;
135
133
  }, {
136
134
  controlRef: Ref<HTMLElement | undefined>;
137
135
  }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
138
- 'click:control': (e: MouseEvent) => boolean;
139
- 'update:focused': (focused: boolean) => boolean;
140
- 'update:modelValue': (val: any) => boolean;
141
- }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue" | "v-slot:clear" | "v-slot:prepend-inner" | "v-slot:append-inner" | "v-slot:label" | "v-slot:loader">, string, {
136
+ 'update:focused': (focused: boolean) => true;
137
+ 'update:modelValue': (val: any) => true;
138
+ }, "$children" | "v-slot:default" | "v-slots" | "modelValue" | "update:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">, string, {
142
139
  reverse: boolean;
143
140
  error: boolean;
144
141
  active: boolean;
@@ -150,7 +147,7 @@ declare const VField: {
150
147
  dirty: boolean;
151
148
  persistentClear: boolean;
152
149
  singleLine: boolean;
153
- }> & {
150
+ }, {}, string> & {
154
151
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
155
152
  created?: ((() => void) | (() => void)[]) | undefined;
156
153
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -165,11 +162,11 @@ declare const VField: {
165
162
  unmounted?: ((() => void) | (() => void)[]) | undefined;
166
163
  renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
167
164
  renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
168
- errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
165
+ errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
169
166
  };
170
167
  $forceUpdate: () => void;
171
168
  $nextTick: typeof vue.nextTick;
172
- $watch(source: string | Function, cb: Function, options?: vue.WatchOptions<boolean> | undefined): vue.WatchStopHandle;
169
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: vue.WatchOptions<boolean> | undefined): vue.WatchStopHandle;
173
170
  } & Readonly<vue.ExtractPropTypes<Omit<{
174
171
  loading: (StringConstructor | BooleanConstructor)[];
175
172
  theme: StringConstructor;
@@ -200,12 +197,11 @@ declare const VField: {
200
197
  'onClick:prependInner': PropType<EventProp<(...args: any[]) => any>>;
201
198
  focused: BooleanConstructor;
202
199
  id: StringConstructor;
203
- }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "onUpdate:modelValue" | "v-slot:clear" | "v-slot:prepend-inner" | "v-slot:append-inner" | "v-slot:label" | "v-slot:loader">>> & {
200
+ }, "$children" | "v-slot:default" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
204
201
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
205
- "onClick:control"?: ((e: MouseEvent) => any) | undefined;
206
202
  } & vue.ShallowUnwrapRef<{
207
203
  controlRef: Ref<HTMLElement | undefined>;
208
- }> & {} & vue.ComponentCustomProperties;
204
+ }> & {} & vue.ComponentCustomProperties & {};
209
205
  __isFragment?: undefined;
210
206
  __isTeleport?: undefined;
211
207
  __isSuspense?: undefined;
@@ -239,16 +235,14 @@ declare const VField: {
239
235
  'onClick:prependInner': PropType<EventProp<(...args: any[]) => any>>;
240
236
  focused: BooleanConstructor;
241
237
  id: StringConstructor;
242
- }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "onUpdate:modelValue" | "v-slot:clear" | "v-slot:prepend-inner" | "v-slot:append-inner" | "v-slot:label" | "v-slot:loader">>> & {
238
+ }, "$children" | "v-slot:default" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
243
239
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
244
- "onClick:control"?: ((e: MouseEvent) => any) | undefined;
245
240
  }, {
246
241
  controlRef: Ref<HTMLElement | undefined>;
247
242
  }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
248
- 'click:control': (e: MouseEvent) => boolean;
249
- 'update:focused': (focused: boolean) => boolean;
250
- 'update:modelValue': (val: any) => boolean;
251
- }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue" | "v-slot:clear" | "v-slot:prepend-inner" | "v-slot:append-inner" | "v-slot:label" | "v-slot:loader">, string, {
243
+ 'update:focused': (focused: boolean) => true;
244
+ 'update:modelValue': (val: any) => true;
245
+ }, "$children" | "v-slot:default" | "v-slots" | "modelValue" | "update:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">, string, {
252
246
  reverse: boolean;
253
247
  error: boolean;
254
248
  active: boolean;
@@ -260,10 +254,10 @@ declare const VField: {
260
254
  dirty: boolean;
261
255
  persistentClear: boolean;
262
256
  singleLine: boolean;
263
- }> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new <T>() => {
257
+ }, {}, string> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new <T_1>() => {
264
258
  $props: {
265
- modelValue?: T | undefined;
266
- 'onUpdate:modelValue'?: ((val: T) => any) | undefined;
259
+ modelValue?: T_1 | undefined;
260
+ 'onUpdate:modelValue'?: ((val: T_1) => any) | undefined;
267
261
  } & {
268
262
  $children?: {} | vue.VNodeChild | {
269
263
  clear?: (() => vue.VNodeChild) | undefined;
@@ -290,15 +284,33 @@ declare const VField: {
290
284
  "v-slot:default"?: false | ((args_0: VFieldSlot) => vue.VNodeChild) | undefined;
291
285
  };
292
286
  });
293
- declare type VField = InstanceType<typeof VField>;
287
+ type VField = InstanceType<typeof VField>;
294
288
 
295
289
  declare const VFieldLabel: vue.DefineComponent<{
296
- floating: BooleanConstructor;
297
- }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
298
- floating: BooleanConstructor;
299
- }>>, {
290
+ floating: boolean;
291
+ } & {} & {
292
+ $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
293
+ default?: (() => vue.VNodeChild) | undefined;
294
+ };
295
+ 'v-slots'?: {
296
+ default?: false | (() => vue.VNodeChild) | undefined;
297
+ } | undefined;
298
+ } & {
299
+ "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
300
+ }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, {
301
+ floating: boolean;
302
+ } & {} & {
303
+ $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
304
+ default?: (() => vue.VNodeChild) | undefined;
305
+ };
306
+ 'v-slots'?: {
307
+ default?: false | (() => vue.VNodeChild) | undefined;
308
+ } | undefined;
309
+ } & {
310
+ "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
311
+ }, {
300
312
  floating: boolean;
301
313
  }>;
302
- declare type VFieldLabel = InstanceType<typeof VFieldLabel>;
314
+ type VFieldLabel = InstanceType<typeof VFieldLabel>;
303
315
 
304
316
  export { VField, VFieldLabel };
@@ -12,8 +12,8 @@ import { forwardRefs } from "../../composables/forwardRefs.mjs";
12
12
  import { useLocale } from "../../composables/locale.mjs";
13
13
  import { useProxiedModel } from "../../composables/proxiedModel.mjs"; // Utilities
14
14
  import { computed, nextTick, ref, watch } from 'vue';
15
- import { callEvent, defineComponent, filterInputAttrs, humanReadableFileSize, useRender, wrapInArray } from "../../util/index.mjs"; // Types
16
- export const VFileInput = defineComponent({
15
+ import { callEvent, filterInputAttrs, genericComponent, humanReadableFileSize, useRender, wrapInArray } from "../../util/index.mjs"; // Types
16
+ export const VFileInput = genericComponent()({
17
17
  name: 'VFileInput',
18
18
  inheritAttrs: false,
19
19
  props: {
@@ -54,6 +54,7 @@ export const VFileInput = defineComponent({
54
54
  },
55
55
  emits: {
56
56
  'click:control': e => true,
57
+ 'mousedown:control': e => true,
57
58
  'update:modelValue': files => true
58
59
  },
59
60
  setup(props, _ref) {
@@ -82,8 +83,7 @@ export const VFileInput = defineComponent({
82
83
  return !props.showSize ? name : `${name} (${humanReadableFileSize(size, base.value)})`;
83
84
  }));
84
85
  const counterValue = computed(() => {
85
- var _model$value;
86
- const fileCount = ((_model$value = model.value) == null ? void 0 : _model$value.length) ?? 0;
86
+ const fileCount = model.value?.length ?? 0;
87
87
  if (props.showSize) return t(props.counterSizeString, fileCount, totalBytesReadable.value);else return t(props.counterString, fileCount);
88
88
  });
89
89
  const vInputRef = ref();
@@ -95,8 +95,7 @@ export const VFileInput = defineComponent({
95
95
  });
96
96
  function onFocus() {
97
97
  if (inputRef.value !== document.activeElement) {
98
- var _inputRef$value;
99
- (_inputRef$value = inputRef.value) == null ? void 0 : _inputRef$value.focus();
98
+ inputRef.value?.focus();
100
99
  }
101
100
  if (!isFocused.value) {
102
101
  isFocused.value = true;
@@ -106,9 +105,11 @@ export const VFileInput = defineComponent({
106
105
  callEvent(props['onClick:prepend'], e);
107
106
  onControlClick(e);
108
107
  }
108
+ function onControlMousedown(e) {
109
+ emit('mousedown:control', e);
110
+ }
109
111
  function onControlClick(e) {
110
- var _inputRef$value2;
111
- (_inputRef$value2 = inputRef.value) == null ? void 0 : _inputRef$value2.click();
112
+ inputRef.value?.click();
112
113
  emit('click:control', e);
113
114
  }
114
115
  function onClear(e) {
@@ -157,7 +158,8 @@ export const VFileInput = defineComponent({
157
158
  return _createVNode(VField, _mergeProps({
158
159
  "ref": vFieldRef,
159
160
  "prepend-icon": props.prependIcon,
160
- "onClick:control": onControlClick,
161
+ "onMousedown": onControlMousedown,
162
+ "onClick": onControlClick,
161
163
  "onClick:clear": onClear,
162
164
  "onClick:prependInner": props['onClick:prependInner'],
163
165
  "onClick:appendInner": props['onClick:appendInner']
@@ -170,7 +172,6 @@ export const VFileInput = defineComponent({
170
172
  }), {
171
173
  ...slots,
172
174
  default: _ref4 => {
173
- var _model$value2;
174
175
  let {
175
176
  props: {
176
177
  class: fieldClass,
@@ -197,7 +198,7 @@ export const VFileInput = defineComponent({
197
198
  "onBlur": () => isFocused.value = false
198
199
  }, slotProps, inputAttrs), null), _createVNode("div", {
199
200
  "class": fieldClass
200
- }, [!!((_model$value2 = model.value) != null && _model$value2.length) && (slots.selection ? slots.selection({
201
+ }, [!!model.value?.length && (slots.selection ? slots.selection({
201
202
  fileNames: fileNames.value,
202
203
  totalBytes: totalBytes.value,
203
204
  totalBytesReadable: totalBytesReadable.value
@@ -211,13 +212,10 @@ export const VFileInput = defineComponent({
211
212
  }
212
213
  });
213
214
  },
214
- details: hasDetails ? slotProps => {
215
- var _slots$details, _model$value3;
216
- return _createVNode(_Fragment, null, [(_slots$details = slots.details) == null ? void 0 : _slots$details.call(slots, slotProps), hasCounter && _createVNode(_Fragment, null, [_createVNode("span", null, null), _createVNode(VCounter, {
217
- "active": !!((_model$value3 = model.value) != null && _model$value3.length),
218
- "value": counterValue.value
219
- }, slots.counter)])]);
220
- } : undefined
215
+ details: hasDetails ? slotProps => _createVNode(_Fragment, null, [slots.details?.(slotProps), hasCounter && _createVNode(_Fragment, null, [_createVNode("span", null, null), _createVNode(VCounter, {
216
+ "active": !!model.value?.length,
217
+ "value": counterValue.value
218
+ }, slots.counter)])]) : undefined
221
219
  });
222
220
  });
223
221
  return forwardRefs({}, vInputRef, vFieldRef, inputRef);
@@ -1 +1 @@
1
- {"version":3,"file":"VFileInput.mjs","names":["filterFieldProps","makeVFieldProps","filterInputProps","makeVInputProps","VInput","VChip","VCounter","VField","forwardRefs","useLocale","useProxiedModel","computed","nextTick","ref","watch","callEvent","defineComponent","filterInputAttrs","humanReadableFileSize","useRender","wrapInArray","VFileInput","name","inheritAttrs","props","chips","Boolean","counter","counterSizeString","type","String","default","counterString","multiple","hint","persistentHint","placeholder","showSize","Number","validator","v","includes","prependIcon","modelValue","Array","val","every","clearable","emits","e","files","setup","attrs","emit","slots","t","model","base","undefined","totalBytes","value","reduce","bytes","size","totalBytesReadable","fileNames","map","file","counterValue","fileCount","length","vInputRef","vFieldRef","isFocused","inputRef","messages","onFocus","document","activeElement","focus","onClickPrepend","onControlClick","click","onClear","stopPropagation","newValue","hasModelReset","isArray","hasCounter","hasDetails","details","rootAttrs","inputAttrs","_","inputProps","fieldProps","id","isDisabled","isDirty","isReadonly","isValid","class","fieldClass","slotProps","target","selection","text","color","join"],"sources":["../../../src/components/VFileInput/VFileInput.tsx"],"sourcesContent":["// Styles\nimport './VFileInput.sass'\n\n// Components\nimport { filterFieldProps, makeVFieldProps } from '@/components/VField/VField'\nimport { filterInputProps, makeVInputProps, VInput } from '@/components/VInput/VInput'\nimport { VChip } from '@/components/VChip'\nimport { VCounter } from '@/components/VCounter'\nimport { VField } from '@/components/VField'\n\n// Composables\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useLocale } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, nextTick, ref, watch } from 'vue'\nimport { callEvent, defineComponent, filterInputAttrs, humanReadableFileSize, useRender, wrapInArray } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport const VFileInput = defineComponent({\n name: 'VFileInput',\n\n inheritAttrs: false,\n\n props: {\n chips: Boolean,\n counter: Boolean,\n counterSizeString: {\n type: String,\n default: '$vuetify.fileInput.counterSize',\n },\n counterString: {\n type: String,\n default: '$vuetify.fileInput.counter',\n },\n multiple: Boolean,\n hint: String,\n persistentHint: Boolean,\n placeholder: String,\n showSize: {\n type: [Boolean, Number] as PropType<boolean | 1000 | 1024>,\n default: false,\n validator: (v: boolean | number) => {\n return (\n typeof v === 'boolean' ||\n [1000, 1024].includes(v)\n )\n },\n },\n\n ...makeVInputProps({ prependIcon: '$file' }),\n\n modelValue: {\n type: Array as PropType<File[]>,\n default: () => ([]),\n validator: (val: any) => {\n return wrapInArray(val).every(v => v != null && typeof v === 'object')\n },\n },\n\n ...makeVFieldProps({ clearable: true }),\n },\n\n emits: {\n 'click:control': (e: MouseEvent) => true,\n 'update:modelValue': (files: File[]) => true,\n },\n\n setup (props, { attrs, emit, slots }) {\n const { t } = useLocale()\n const model = useProxiedModel(props, 'modelValue')\n const base = computed(() => typeof props.showSize !== 'boolean' ? props.showSize : undefined)\n const totalBytes = computed(() => (model.value ?? []).reduce((bytes, { size = 0 }) => bytes + size, 0))\n const totalBytesReadable = computed(() => humanReadableFileSize(totalBytes.value, base.value))\n\n const fileNames = computed(() => (model.value ?? []).map(file => {\n const { name = '', size = 0 } = file\n\n return !props.showSize\n ? name\n : `${name} (${humanReadableFileSize(size, base.value)})`\n }))\n\n const counterValue = computed(() => {\n const fileCount = model.value?.length ?? 0\n if (props.showSize) return t(props.counterSizeString, fileCount, totalBytesReadable.value)\n else return t(props.counterString, fileCount)\n })\n const vInputRef = ref<VInput>()\n const vFieldRef = ref<VInput>()\n const isFocused = ref(false)\n const inputRef = ref<HTMLInputElement>()\n const messages = computed(() => {\n return props.messages.length\n ? props.messages\n : (props.persistentHint) ? props.hint : ''\n })\n function onFocus () {\n if (inputRef.value !== document.activeElement) {\n inputRef.value?.focus()\n }\n\n if (!isFocused.value) {\n isFocused.value = true\n }\n }\n function onClickPrepend (e: MouseEvent) {\n callEvent(props['onClick:prepend'], e)\n onControlClick(e)\n }\n function onControlClick (e: MouseEvent) {\n inputRef.value?.click()\n\n emit('click:control', e)\n }\n function onClear (e: MouseEvent) {\n e.stopPropagation()\n\n onFocus()\n\n nextTick(() => {\n model.value = []\n\n callEvent(props['onClick:clear'], e)\n })\n }\n\n watch(model, newValue => {\n const hasModelReset = !Array.isArray(newValue) || !newValue.length\n\n if (hasModelReset && inputRef.value) {\n inputRef.value.value = ''\n }\n })\n\n useRender(() => {\n const hasCounter = !!(slots.counter || props.counter)\n const hasDetails = !!(hasCounter || slots.details)\n const [rootAttrs, inputAttrs] = filterInputAttrs(attrs)\n const [{ modelValue: _, ...inputProps }] = filterInputProps(props)\n const [fieldProps] = filterFieldProps(props)\n\n return (\n <VInput\n ref={ vInputRef }\n v-model={ model.value }\n class=\"v-file-input\"\n onClick:prepend={ onClickPrepend }\n onClick:append={ props['onClick:append'] }\n { ...rootAttrs }\n { ...inputProps }\n focused={ isFocused.value }\n messages={ messages.value }\n >\n {{\n ...slots,\n default: ({\n id,\n isDisabled,\n isDirty,\n isReadonly,\n isValid,\n }) => (\n <VField\n ref={ vFieldRef }\n prepend-icon={ props.prependIcon }\n onClick:control={ onControlClick }\n onClick:clear={ onClear }\n onClick:prependInner={ props['onClick:prependInner'] }\n onClick:appendInner={ props['onClick:appendInner'] }\n { ...fieldProps }\n id={ id.value }\n active={ isDirty.value || isFocused.value }\n dirty={ isDirty.value }\n focused={ isFocused.value }\n error={ isValid.value === false }\n >\n {{\n ...slots,\n default: ({\n props: { class: fieldClass, ...slotProps },\n }) => (\n <>\n <input\n ref={ inputRef }\n type=\"file\"\n readonly={ isReadonly.value }\n disabled={ isDisabled.value }\n multiple={ props.multiple }\n name={ props.name }\n onClick={ e => {\n e.stopPropagation()\n\n onFocus()\n } }\n onChange={ e => {\n if (!e.target) return\n\n const target = e.target as HTMLInputElement\n model.value = [...target.files ?? []]\n } }\n onFocus={ onFocus }\n onBlur={ () => (isFocused.value = false) }\n { ...slotProps }\n { ...inputAttrs }\n />\n\n <div class={ fieldClass }>\n { !!model.value?.length && (\n slots.selection ? slots.selection({\n fileNames: fileNames.value,\n totalBytes: totalBytes.value,\n totalBytesReadable: totalBytesReadable.value,\n })\n : props.chips ? fileNames.value.map(text => (\n <VChip\n key={ text }\n size=\"small\"\n color={ props.color }\n >{ text }</VChip>\n ))\n : fileNames.value.join(', ')\n )}\n </div>\n </>\n ),\n }}\n </VField>\n ),\n details: hasDetails ? slotProps => (\n <>\n { slots.details?.(slotProps) }\n\n { hasCounter && (\n <>\n <span />\n\n <VCounter\n active={ !!model.value?.length }\n value={ counterValue.value }\n v-slots={ slots.counter }\n />\n </>\n ) }\n </>\n ) : undefined,\n }}\n </VInput>\n )\n })\n\n return forwardRefs({}, vInputRef, vFieldRef, inputRef)\n },\n})\n\nexport type VFileInput = InstanceType<typeof VFileInput>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,gBAAgB,EAAEC,eAAe;AAAA,SACjCC,gBAAgB,EAAEC,eAAe,EAAEC,MAAM;AAAA,SACzCC,KAAK;AAAA,SACLC,QAAQ;AAAA,SACRC,MAAM,+BAEf;AAAA,SACSC,WAAW;AAAA,SACXC,SAAS;AAAA,SACTC,eAAe,8CAExB;AACA,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,GAAG,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAC3CC,SAAS,EAAEC,eAAe,EAAEC,gBAAgB,EAAEC,qBAAqB,EAAEC,SAAS,EAAEC,WAAW,gCAEpG;AAGA,OAAO,MAAMC,UAA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S,EAAEA,SAAS,CAACL,KAAK;gBAC1BD,UAAU,EAAEA,UAAU,CAACC,KAAK;gBAC5BI,kBAAkB,EAAEA,kBAAkB,CAACJ;cACzC,CAAC,CAAC,GACApC,KAAK,CAACC,KAAK,GAAGwC,SAAS,CAACL,KAAK,CAACM,GAAG,CAACwC,IAAI;gBAAA,OAE9BA,IAAI;gBAAA,QACL,OAAO;gBAAA,SACJlF,KAAK,CAACmF;cAAK;gBAAA,gBAClBD,IAAI;cAAA,EACR,CAAC,GACAzC,SAAS,CAACL,KAAK,CAACgD,IAAI,CAAC,IAAI,CAAC,CAC7B;YAAA;UAGN;QAAA,CAGN;QACDlB,OAAO,EAAED,UAAU,GAAGc,SAAS;UAAA;UAAA,wDAEzBjD,KAAK,CAACoC,OAAO,qBAAb,oBAAApC,KAAK,EAAWiD,SAAS,CAAC,EAE1Bf,UAAU;YAAA,UAKG,CAAC,mBAAChC,KAAK,CAACI,KAAK,aAAX,cAAaU,MAAM;YAAA,SACtBF,YAAY,CAACR;UAAK,GAChBN,KAAK,CAAC3B,OAAO,GAG5B;QAAA,CAEJ,GAAG+B;MAAS;IAIrB,CAAC,CAAC;IAEF,OAAOlD,WAAW,CAAC,CAAC,CAAC,EAAE+D,SAAS,EAAEC,SAAS,EAAEE,QAAQ,CAAC;EACxD;AACF,CAAC,CAAC"}
1
+ {"version":3,"file":"VFileInput.mjs","names":["filterFieldProps","makeVFieldProps","filterInputProps","makeVInputProps","VInput","VChip","VCounter","VField","forwardRefs","useLocale","useProxiedModel","computed","nextTick","ref","watch","callEvent","filterInputAttrs","genericComponent","humanReadableFileSize","useRender","wrapInArray","VFileInput","name","inheritAttrs","props","chips","Boolean","counter","counterSizeString","type","String","default","counterString","multiple","hint","persistentHint","placeholder","showSize","Number","validator","v","includes","prependIcon","modelValue","Array","val","every","clearable","emits","e","files","setup","attrs","emit","slots","t","model","base","undefined","totalBytes","value","reduce","bytes","size","totalBytesReadable","fileNames","map","file","counterValue","fileCount","length","vInputRef","vFieldRef","isFocused","inputRef","messages","onFocus","document","activeElement","focus","onClickPrepend","onControlClick","onControlMousedown","click","onClear","stopPropagation","newValue","hasModelReset","isArray","hasCounter","hasDetails","details","rootAttrs","inputAttrs","_","inputProps","fieldProps","id","isDisabled","isDirty","isReadonly","isValid","class","fieldClass","slotProps","target","selection","text","color","join"],"sources":["../../../src/components/VFileInput/VFileInput.tsx"],"sourcesContent":["// Styles\nimport './VFileInput.sass'\n\n// Components\nimport { filterFieldProps, makeVFieldProps } from '@/components/VField/VField'\nimport { filterInputProps, makeVInputProps, VInput } from '@/components/VInput/VInput'\nimport { VChip } from '@/components/VChip'\nimport { VCounter } from '@/components/VCounter'\nimport { VField } from '@/components/VField'\n\n// Composables\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useLocale } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, nextTick, ref, watch } from 'vue'\nimport {\n callEvent,\n filterInputAttrs,\n genericComponent,\n humanReadableFileSize,\n useRender,\n wrapInArray,\n} from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { MakeSlots } from '@/util'\nimport type { VFieldSlots } from '@/components/VField/VField'\nimport type { VInputSlots } from '@/components/VInput/VInput'\n\nexport type VFileInputSlots = VInputSlots & VFieldSlots & MakeSlots<{\n counter: []\n}>\n\nexport const VFileInput = genericComponent<VFileInputSlots>()({\n name: 'VFileInput',\n\n inheritAttrs: false,\n\n props: {\n chips: Boolean,\n counter: Boolean,\n counterSizeString: {\n type: String,\n default: '$vuetify.fileInput.counterSize',\n },\n counterString: {\n type: String,\n default: '$vuetify.fileInput.counter',\n },\n multiple: Boolean,\n hint: String,\n persistentHint: Boolean,\n placeholder: String,\n showSize: {\n type: [Boolean, Number] as PropType<boolean | 1000 | 1024>,\n default: false,\n validator: (v: boolean | number) => {\n return (\n typeof v === 'boolean' ||\n [1000, 1024].includes(v)\n )\n },\n },\n\n ...makeVInputProps({ prependIcon: '$file' }),\n\n modelValue: {\n type: Array as PropType<File[]>,\n default: () => ([]),\n validator: (val: any) => {\n return wrapInArray(val).every(v => v != null && typeof v === 'object')\n },\n },\n\n ...makeVFieldProps({ clearable: true }),\n },\n\n emits: {\n 'click:control': (e: MouseEvent) => true,\n 'mousedown:control': (e: MouseEvent) => true,\n 'update:modelValue': (files: File[]) => true,\n },\n\n setup (props, { attrs, emit, slots }) {\n const { t } = useLocale()\n const model = useProxiedModel(props, 'modelValue')\n const base = computed(() => typeof props.showSize !== 'boolean' ? props.showSize : undefined)\n const totalBytes = computed(() => (model.value ?? []).reduce((bytes, { size = 0 }) => bytes + size, 0))\n const totalBytesReadable = computed(() => humanReadableFileSize(totalBytes.value, base.value))\n\n const fileNames = computed(() => (model.value ?? []).map(file => {\n const { name = '', size = 0 } = file\n\n return !props.showSize\n ? name\n : `${name} (${humanReadableFileSize(size, base.value)})`\n }))\n\n const counterValue = computed(() => {\n const fileCount = model.value?.length ?? 0\n if (props.showSize) return t(props.counterSizeString, fileCount, totalBytesReadable.value)\n else return t(props.counterString, fileCount)\n })\n const vInputRef = ref<VInput>()\n const vFieldRef = ref<VInput>()\n const isFocused = ref(false)\n const inputRef = ref<HTMLInputElement>()\n const messages = computed(() => {\n return props.messages.length\n ? props.messages\n : (props.persistentHint) ? props.hint : ''\n })\n function onFocus () {\n if (inputRef.value !== document.activeElement) {\n inputRef.value?.focus()\n }\n\n if (!isFocused.value) {\n isFocused.value = true\n }\n }\n function onClickPrepend (e: MouseEvent) {\n callEvent(props['onClick:prepend'], e)\n onControlClick(e)\n }\n function onControlMousedown (e: MouseEvent) {\n emit('mousedown:control', e)\n }\n function onControlClick (e: MouseEvent) {\n inputRef.value?.click()\n\n emit('click:control', e)\n }\n function onClear (e: MouseEvent) {\n e.stopPropagation()\n\n onFocus()\n\n nextTick(() => {\n model.value = []\n\n callEvent(props['onClick:clear'], e)\n })\n }\n\n watch(model, newValue => {\n const hasModelReset = !Array.isArray(newValue) || !newValue.length\n\n if (hasModelReset && inputRef.value) {\n inputRef.value.value = ''\n }\n })\n\n useRender(() => {\n const hasCounter = !!(slots.counter || props.counter)\n const hasDetails = !!(hasCounter || slots.details)\n const [rootAttrs, inputAttrs] = filterInputAttrs(attrs)\n const [{ modelValue: _, ...inputProps }] = filterInputProps(props)\n const [fieldProps] = filterFieldProps(props)\n\n return (\n <VInput\n ref={ vInputRef }\n v-model={ model.value }\n class=\"v-file-input\"\n onClick:prepend={ onClickPrepend }\n onClick:append={ props['onClick:append'] }\n { ...rootAttrs }\n { ...inputProps }\n focused={ isFocused.value }\n messages={ messages.value }\n >\n {{\n ...slots,\n default: ({\n id,\n isDisabled,\n isDirty,\n isReadonly,\n isValid,\n }) => (\n <VField\n ref={ vFieldRef }\n prepend-icon={ props.prependIcon }\n onMousedown={ onControlMousedown }\n onClick={ onControlClick }\n onClick:clear={ onClear }\n onClick:prependInner={ props['onClick:prependInner'] }\n onClick:appendInner={ props['onClick:appendInner'] }\n { ...fieldProps }\n id={ id.value }\n active={ isDirty.value || isFocused.value }\n dirty={ isDirty.value }\n focused={ isFocused.value }\n error={ isValid.value === false }\n >\n {{\n ...slots,\n default: ({\n props: { class: fieldClass, ...slotProps },\n }) => (\n <>\n <input\n ref={ inputRef }\n type=\"file\"\n readonly={ isReadonly.value }\n disabled={ isDisabled.value }\n multiple={ props.multiple }\n name={ props.name }\n onClick={ e => {\n e.stopPropagation()\n\n onFocus()\n } }\n onChange={ e => {\n if (!e.target) return\n\n const target = e.target as HTMLInputElement\n model.value = [...target.files ?? []]\n } }\n onFocus={ onFocus }\n onBlur={ () => (isFocused.value = false) }\n { ...slotProps }\n { ...inputAttrs }\n />\n\n <div class={ fieldClass }>\n { !!model.value?.length && (\n slots.selection ? slots.selection({\n fileNames: fileNames.value,\n totalBytes: totalBytes.value,\n totalBytesReadable: totalBytesReadable.value,\n })\n : props.chips ? fileNames.value.map(text => (\n <VChip\n key={ text }\n size=\"small\"\n color={ props.color }\n >{ text }</VChip>\n ))\n : fileNames.value.join(', ')\n )}\n </div>\n </>\n ),\n }}\n </VField>\n ),\n details: hasDetails ? slotProps => (\n <>\n { slots.details?.(slotProps) }\n\n { hasCounter && (\n <>\n <span />\n\n <VCounter\n active={ !!model.value?.length }\n value={ counterValue.value }\n v-slots:default={ slots.counter }\n />\n </>\n ) }\n </>\n ) : undefined,\n }}\n </VInput>\n )\n })\n\n return forwardRefs({}, vInputRef, vFieldRef, inputRef)\n },\n})\n\nexport type VFileInput = InstanceType<typeof VFileInput>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,gBAAgB,EAAEC,eAAe;AAAA,SACjCC,gBAAgB,EAAEC,eAAe,EAAEC,MAAM;AAAA,SACzCC,KAAK;AAAA,SACLC,QAAQ;AAAA,SACRC,MAAM,+BAEf;AAAA,SACSC,WAAW;AAAA,SACXC,SAAS;AAAA,SACTC,eAAe,8CAExB;AACA,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,GAAG,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAElDC,SAAS,EACTC,gBAAgB,EAChBC,gBAAgB,EAChBC,qBAAqB,EACrBC,SAAS,EACTC,WAAW,gCAGb;AAUA,OAAO,MAAMC,UAAU,GAAGJ,gBAAgB,EAAmB,CAAC;EAC5DK,IAAI,EAAE,YAAY;EAElBC,YAAY,EAAE,KAAK;EAEnBC,KAAK,EAAE;IACLC,KAAK,EAAEC,OAAO;IACdC,OAAO,EAAED,OAAO;IAChBE,iBAAiB,EAAE;MACjBC,IAAI,EAAEC,MAAM;MACZC,OAAO,EAAE;IACX,CAAC;IACDC,aAAa,EAAE;MACbH,IAAI,EAAEC,MAAM;MACZC,OAAO,EAAE;IACX,CAAC;IACDE,QAAQ,EAAEP,OAAO;IACjBQ,IAAI,EAAEJ,MAAM;IACZK,cAAc,EAAET,OAAO;IACvBU,WAAW,EAAEN,MAAM;IACnBO,QAAQ,EAAE;MACRR,IAAI,EAAE,CAACH,OAAO,EAAEY,MAAM,CAAoC;MAC1DP,OAAO,E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