vuetify 3.10.2 → 3.10.4

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 (226) hide show
  1. package/dist/json/attributes.json +3585 -3581
  2. package/dist/json/importMap-labs.json +22 -22
  3. package/dist/json/importMap.json +136 -136
  4. package/dist/json/tags.json +1 -0
  5. package/dist/json/web-types.json +6506 -6482
  6. package/dist/vuetify-labs.cjs +124 -92
  7. package/dist/vuetify-labs.css +4941 -4941
  8. package/dist/vuetify-labs.d.ts +1375 -1363
  9. package/dist/vuetify-labs.esm.js +125 -93
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +124 -92
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.cjs +116 -87
  14. package/dist/vuetify.cjs.map +1 -1
  15. package/dist/vuetify.css +6491 -6491
  16. package/dist/vuetify.d.ts +1120 -1108
  17. package/dist/vuetify.esm.js +116 -87
  18. package/dist/vuetify.esm.js.map +1 -1
  19. package/dist/vuetify.js +116 -87
  20. package/dist/vuetify.js.map +1 -1
  21. package/dist/vuetify.min.css +2 -2
  22. package/dist/vuetify.min.js +1435 -1428
  23. package/dist/vuetify.min.js.map +1 -1
  24. package/lib/components/VAlert/VAlert.d.ts +3 -3
  25. package/lib/components/VAlert/VAlertTitle.d.ts +3 -3
  26. package/lib/components/VApp/VApp.d.ts +3 -3
  27. package/lib/components/VAppBar/VAppBar.d.ts +3 -3
  28. package/lib/components/VAppBar/VAppBarNavIcon.d.ts +6 -6
  29. package/lib/components/VAppBar/VAppBarTitle.d.ts +3 -3
  30. package/lib/components/VAutocomplete/VAutocomplete.d.ts +116 -116
  31. package/lib/components/VAutocomplete/VAutocomplete.js +1 -1
  32. package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
  33. package/lib/components/VAvatar/VAvatar.d.ts +3 -3
  34. package/lib/components/VBadge/VBadge.d.ts +3 -3
  35. package/lib/components/VBanner/VBanner.d.ts +3 -3
  36. package/lib/components/VBanner/VBannerActions.d.ts +3 -3
  37. package/lib/components/VBanner/VBannerText.d.ts +3 -3
  38. package/lib/components/VBottomNavigation/VBottomNavigation.d.ts +3 -3
  39. package/lib/components/VBottomSheet/VBottomSheet.d.ts +3 -3
  40. package/lib/components/VBreadcrumbs/VBreadcrumbs.d.ts +3 -3
  41. package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.d.ts +3 -3
  42. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.d.ts +3 -3
  43. package/lib/components/VBtn/VBtn.d.ts +6 -6
  44. package/lib/components/VBtn/VBtn.js +5 -5
  45. package/lib/components/VBtn/VBtn.js.map +1 -1
  46. package/lib/components/VBtnGroup/VBtnGroup.d.ts +3 -3
  47. package/lib/components/VBtnToggle/VBtnToggle.d.ts +3 -3
  48. package/lib/components/VCard/VCard.d.ts +6 -6
  49. package/lib/components/VCard/VCard.js +2 -2
  50. package/lib/components/VCard/VCard.js.map +1 -1
  51. package/lib/components/VCard/VCardActions.d.ts +3 -3
  52. package/lib/components/VCard/VCardItem.d.ts +3 -3
  53. package/lib/components/VCard/VCardSubtitle.d.ts +3 -3
  54. package/lib/components/VCard/VCardText.d.ts +3 -3
  55. package/lib/components/VCard/VCardTitle.d.ts +3 -3
  56. package/lib/components/VCarousel/VCarousel.d.ts +3 -3
  57. package/lib/components/VCarousel/VCarouselItem.d.ts +3 -3
  58. package/lib/components/VCheckbox/VCheckbox.d.ts +15 -15
  59. package/lib/components/VCheckbox/VCheckboxBtn.d.ts +6 -6
  60. package/lib/components/VChip/VChip.d.ts +6 -6
  61. package/lib/components/VChip/VChip.js +15 -4
  62. package/lib/components/VChip/VChip.js.map +1 -1
  63. package/lib/components/VChipGroup/VChipGroup.d.ts +3 -3
  64. package/lib/components/VCode/index.d.ts +3 -3
  65. package/lib/components/VCombobox/VCombobox.d.ts +129 -116
  66. package/lib/components/VCombobox/VCombobox.js +8 -25
  67. package/lib/components/VCombobox/VCombobox.js.map +1 -1
  68. package/lib/components/VCounter/VCounter.d.ts +3 -3
  69. package/lib/components/VDataIterator/VDataIterator.d.ts +9 -9
  70. package/lib/components/VDataTable/VDataTable.d.ts +3 -3
  71. package/lib/components/VDataTable/VDataTableServer.d.ts +3 -3
  72. package/lib/components/VDataTable/VDataTableVirtual.d.ts +6 -6
  73. package/lib/components/VDataTable/composables/expand.js +8 -8
  74. package/lib/components/VDataTable/composables/expand.js.map +1 -1
  75. package/lib/components/VDatePicker/VDatePicker.d.ts +3 -3
  76. package/lib/components/VDialog/VDialog.d.ts +12 -12
  77. package/lib/components/VDialog/VDialog.js +29 -11
  78. package/lib/components/VDialog/VDialog.js.map +1 -1
  79. package/lib/components/VDialog/__test__/VDialog.spec.browser.js +41 -0
  80. package/lib/components/VDialog/__test__/VDialog.spec.browser.js.map +1 -1
  81. package/lib/components/VDivider/VDivider.d.ts +3 -3
  82. package/lib/components/VEmptyState/VEmptyState.d.ts +6 -6
  83. package/lib/components/VExpansionPanel/VExpansionPanel.d.ts +6 -6
  84. package/lib/components/VExpansionPanel/VExpansionPanelText.d.ts +3 -3
  85. package/lib/components/VExpansionPanel/VExpansionPanelTitle.d.ts +6 -6
  86. package/lib/components/VExpansionPanel/VExpansionPanels.d.ts +6 -6
  87. package/lib/components/VFab/VFab.d.ts +6 -6
  88. package/lib/components/VField/VField.d.ts +3 -3
  89. package/lib/components/VField/VFieldLabel.d.ts +3 -3
  90. package/lib/components/VFileInput/VFileInput.d.ts +12 -12
  91. package/lib/components/VFileInput/VFileInput.js +2 -1
  92. package/lib/components/VFileInput/VFileInput.js.map +1 -1
  93. package/lib/components/VFooter/VFooter.d.ts +3 -3
  94. package/lib/components/VForm/VForm.d.ts +6 -6
  95. package/lib/components/VGrid/VCol.d.ts +3 -3
  96. package/lib/components/VGrid/VContainer.d.ts +3 -3
  97. package/lib/components/VGrid/VRow.d.ts +3 -3
  98. package/lib/components/VGrid/VSpacer.d.ts +3 -3
  99. package/lib/components/VIcon/VIcon.d.ts +3 -3
  100. package/lib/components/VImg/VImg.d.ts +3 -3
  101. package/lib/components/VInput/VInput.d.ts +3 -3
  102. package/lib/components/VItemGroup/VItemGroup.d.ts +3 -3
  103. package/lib/components/VKbd/VKbd.d.ts +3 -3
  104. package/lib/components/VLabel/VLabel.d.ts +3 -3
  105. package/lib/components/VLayout/VLayout.d.ts +3 -3
  106. package/lib/components/VLayout/VLayoutItem.d.ts +3 -3
  107. package/lib/components/VLazy/VLazy.d.ts +3 -3
  108. package/lib/components/VList/VList.d.ts +11 -11
  109. package/lib/components/VList/VList.js.map +1 -1
  110. package/lib/components/VList/VListGroup.d.ts +3 -3
  111. package/lib/components/VList/VListImg.d.ts +3 -3
  112. package/lib/components/VList/VListItem.d.ts +6 -6
  113. package/lib/components/VList/VListItem.js +2 -2
  114. package/lib/components/VList/VListItem.js.map +1 -1
  115. package/lib/components/VList/VListItemAction.d.ts +3 -3
  116. package/lib/components/VList/VListItemMedia.d.ts +3 -3
  117. package/lib/components/VList/VListItemSubtitle.d.ts +3 -3
  118. package/lib/components/VList/VListItemTitle.d.ts +3 -3
  119. package/lib/components/VList/VListSubheader.d.ts +3 -3
  120. package/lib/components/VLocaleProvider/VLocaleProvider.d.ts +3 -3
  121. package/lib/components/VMain/VMain.d.ts +3 -3
  122. package/lib/components/VMenu/VMenu.d.ts +15 -15
  123. package/lib/components/VMessages/VMessages.d.ts +3 -3
  124. package/lib/components/VNavigationDrawer/VNavigationDrawer.d.ts +3 -3
  125. package/lib/components/VNumberInput/VNumberInput.d.ts +66 -66
  126. package/lib/components/VNumberInput/VNumberInput.js +1 -0
  127. package/lib/components/VNumberInput/VNumberInput.js.map +1 -1
  128. package/lib/components/VOtpInput/VOtpInput.d.ts +3 -3
  129. package/lib/components/VOverlay/VOverlay.d.ts +3 -3
  130. package/lib/components/VPagination/VPagination.d.ts +3 -3
  131. package/lib/components/VParallax/VParallax.d.ts +3 -3
  132. package/lib/components/VProgressCircular/VProgressCircular.d.ts +3 -3
  133. package/lib/components/VProgressLinear/VProgressLinear.d.ts +3 -3
  134. package/lib/components/VRadio/VRadio.d.ts +6 -6
  135. package/lib/components/VRadioGroup/VRadioGroup.d.ts +15 -15
  136. package/lib/components/VRangeSlider/VRangeSlider.d.ts +12 -12
  137. package/lib/components/VRating/VRating.d.ts +3 -3
  138. package/lib/components/VResponsive/VResponsive.d.ts +3 -3
  139. package/lib/components/VSelect/VSelect.d.ts +140 -140
  140. package/lib/components/VSelectionControl/VSelectionControl.d.ts +6 -6
  141. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.d.ts +6 -6
  142. package/lib/components/VSheet/VSheet.d.ts +3 -3
  143. package/lib/components/VSlideGroup/VSlideGroup.d.ts +3 -3
  144. package/lib/components/VSlider/VSlider.d.ts +12 -12
  145. package/lib/components/VSlider/VSliderThumb.d.ts +6 -6
  146. package/lib/components/VSlider/VSliderTrack.d.ts +3 -3
  147. package/lib/components/VSnackbar/VSnackbar.d.ts +12 -12
  148. package/lib/components/VSnackbarQueue/VSnackbarQueue.d.ts +3 -3
  149. package/lib/components/VSpeedDial/VSpeedDial.d.ts +9 -9
  150. package/lib/components/VStepper/VStepper.d.ts +3 -3
  151. package/lib/components/VStepper/VStepperHeader.d.ts +3 -3
  152. package/lib/components/VStepper/VStepperItem.d.ts +3 -3
  153. package/lib/components/VStepper/VStepperWindow.d.ts +3 -3
  154. package/lib/components/VStepper/VStepperWindowItem.d.ts +3 -3
  155. package/lib/components/VSwitch/VSwitch.d.ts +15 -15
  156. package/lib/components/VSwitch/VSwitch.js +2 -2
  157. package/lib/components/VSwitch/VSwitch.js.map +1 -1
  158. package/lib/components/VSystemBar/VSystemBar.d.ts +3 -3
  159. package/lib/components/VTable/VTable.d.ts +3 -3
  160. package/lib/components/VTabs/VTab.d.ts +24 -24
  161. package/lib/components/VTabs/VTabs.d.ts +3 -3
  162. package/lib/components/VTabs/VTabsWindow.d.ts +3 -3
  163. package/lib/components/VTabs/VTabsWindowItem.d.ts +3 -3
  164. package/lib/components/VTextField/VTextField.d.ts +21 -21
  165. package/lib/components/VTextarea/VTextarea.d.ts +12 -12
  166. package/lib/components/VThemeProvider/VThemeProvider.d.ts +3 -3
  167. package/lib/components/VTimePicker/VTimePicker.d.ts +3 -3
  168. package/lib/components/VTimeline/VTimeline.d.ts +3 -3
  169. package/lib/components/VTimeline/VTimelineDivider.d.ts +3 -3
  170. package/lib/components/VTimeline/VTimelineItem.d.ts +3 -3
  171. package/lib/components/VToolbar/VToolbar.d.ts +3 -3
  172. package/lib/components/VToolbar/VToolbarItems.d.ts +3 -3
  173. package/lib/components/VToolbar/VToolbarTitle.d.ts +3 -3
  174. package/lib/components/VTooltip/VTooltip.d.ts +15 -15
  175. package/lib/components/VTreeview/VTreeview.d.ts +26 -26
  176. package/lib/components/VTreeview/VTreeviewChildren.js +1 -1
  177. package/lib/components/VTreeview/VTreeviewChildren.js.map +1 -1
  178. package/lib/components/VTreeview/VTreeviewGroup.d.ts +3 -3
  179. package/lib/components/VTreeview/VTreeviewItem.d.ts +24 -24
  180. package/lib/components/VVirtualScroll/VVirtualScroll.d.ts +6 -6
  181. package/lib/components/VVirtualScroll/VVirtualScrollItem.d.ts +3 -3
  182. package/lib/components/VWindow/VWindow.d.ts +3 -3
  183. package/lib/components/VWindow/VWindowItem.d.ts +3 -3
  184. package/lib/components/transitions/createTransition.d.ts +6 -6
  185. package/lib/components/transitions/index.d.ts +78 -78
  186. package/lib/composables/goto.js +2 -2
  187. package/lib/composables/goto.js.map +1 -1
  188. package/lib/composables/group.d.ts +2 -0
  189. package/lib/composables/group.js +15 -9
  190. package/lib/composables/group.js.map +1 -1
  191. package/lib/composables/router.d.ts +2 -0
  192. package/lib/composables/router.js +6 -1
  193. package/lib/composables/router.js.map +1 -1
  194. package/lib/entry-bundler.js +1 -1
  195. package/lib/framework.d.ts +63 -63
  196. package/lib/framework.js +1 -1
  197. package/lib/labs/VCalendar/VCalendar.js +7 -4
  198. package/lib/labs/VCalendar/VCalendar.js.map +1 -1
  199. package/lib/labs/VCalendar/composables/calendarWithEvents.js +7 -4
  200. package/lib/labs/VCalendar/composables/calendarWithEvents.js.map +1 -1
  201. package/lib/labs/VColorInput/VColorInput.d.ts +6 -6
  202. package/lib/labs/VDateInput/VDateInput.d.ts +66 -66
  203. package/lib/labs/VFileUpload/VFileUpload.d.ts +3 -3
  204. package/lib/labs/VFileUpload/VFileUpload.js +2 -1
  205. package/lib/labs/VFileUpload/VFileUpload.js.map +1 -1
  206. package/lib/labs/VFileUpload/VFileUploadItem.d.ts +6 -6
  207. package/lib/labs/VHotkey/VHotkey.d.ts +3 -3
  208. package/lib/labs/VIconBtn/VIconBtn.d.ts +3 -3
  209. package/lib/labs/VMaskInput/VMaskInput.d.ts +66 -66
  210. package/lib/labs/VPicker/VPicker.d.ts +3 -3
  211. package/lib/labs/VPicker/VPickerTitle.d.ts +3 -3
  212. package/lib/labs/VPie/VPieTooltip.d.ts +3 -3
  213. package/lib/labs/VStepperVertical/VStepperVertical.d.ts +6 -6
  214. package/lib/labs/VStepperVertical/VStepperVerticalItem.d.ts +6 -6
  215. package/lib/labs/VVideo/VVideo.d.ts +87 -87
  216. package/lib/labs/VVideo/VVideoControls.d.ts +40 -40
  217. package/lib/labs/VVideo/VVideoVolume.d.ts +33 -33
  218. package/lib/util/animation.js +1 -1
  219. package/lib/util/animation.js.map +1 -1
  220. package/lib/util/box.d.ts +1 -1
  221. package/lib/util/box.js +19 -14
  222. package/lib/util/box.js.map +1 -1
  223. package/lib/util/createSimpleFunctional.d.ts +3 -3
  224. package/lib/util/events.js +2 -2
  225. package/lib/util/events.js.map +1 -1
  226. package/package.json +9 -9
@@ -221,7 +221,7 @@ export type VFieldSlots = {
221
221
  };
222
222
  export declare const VField: {
223
223
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
224
- style: import("vue").StyleValue;
224
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
225
225
  focused: boolean;
226
226
  tile: boolean;
227
227
  clearable: boolean;
@@ -314,7 +314,7 @@ export declare const VField: {
314
314
  M: {};
315
315
  Defaults: {};
316
316
  }, {
317
- style: import("vue").StyleValue;
317
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
318
318
  focused: boolean;
319
319
  tile: boolean;
320
320
  clearable: boolean;
@@ -377,7 +377,7 @@ export declare const VField: {
377
377
  __isTeleport?: undefined;
378
378
  __isSuspense?: undefined;
379
379
  } & import("vue").ComponentOptionsBase<{
380
- style: import("vue").StyleValue;
380
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
381
381
  focused: boolean;
382
382
  tile: boolean;
383
383
  clearable: boolean;
@@ -24,7 +24,7 @@ export declare const makeVFieldLabelProps: <Defaults extends {
24
24
  };
25
25
  export declare const VFieldLabel: {
26
26
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
27
- style: import("vue").StyleValue;
27
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
28
28
  floating: boolean;
29
29
  } & {
30
30
  class?: any;
@@ -54,7 +54,7 @@ export declare const VFieldLabel: {
54
54
  M: {};
55
55
  Defaults: {};
56
56
  }, {
57
- style: import("vue").StyleValue;
57
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
58
58
  floating: boolean;
59
59
  } & {
60
60
  class?: any;
@@ -77,7 +77,7 @@ export declare const VFieldLabel: {
77
77
  __isTeleport?: undefined;
78
78
  __isSuspense?: undefined;
79
79
  } & import("vue").ComponentOptionsBase<{
80
- style: import("vue").StyleValue;
80
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
81
81
  floating: boolean;
82
82
  } & {
83
83
  class?: any;
@@ -469,7 +469,7 @@ export declare const makeVFileInputProps: <Defaults extends {
469
469
  };
470
470
  export declare const VFileInput: {
471
471
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
472
- style: import("vue").StyleValue;
472
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
473
473
  focused: boolean;
474
474
  errorMessages: string | readonly string[] | null;
475
475
  maxErrors: string | number;
@@ -633,7 +633,7 @@ export declare const VFileInput: {
633
633
  }> & Omit<{
634
634
  theme?: string | undefined;
635
635
  class?: any;
636
- style: import("vue").StyleValue;
636
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
637
637
  focused: boolean;
638
638
  "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
639
639
  disabled: boolean | null;
@@ -696,7 +696,7 @@ export declare const VFileInput: {
696
696
  $emit: (event: string, ...args: any[]) => void;
697
697
  $el: any;
698
698
  $options: import("vue").ComponentOptionsBase<{
699
- style: import("vue").StyleValue;
699
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
700
700
  focused: boolean;
701
701
  disabled: boolean | null;
702
702
  error: boolean;
@@ -809,7 +809,7 @@ export declare const VFileInput: {
809
809
  messages: string | readonly string[];
810
810
  direction: "horizontal" | "vertical";
811
811
  }> & Omit<{
812
- style: import("vue").StyleValue;
812
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
813
813
  focused: boolean;
814
814
  disabled: boolean | null;
815
815
  error: boolean;
@@ -960,7 +960,7 @@ export declare const VFileInput: {
960
960
  M: {};
961
961
  Defaults: {};
962
962
  }, {
963
- style: import("vue").StyleValue;
963
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
964
964
  focused: boolean;
965
965
  errorMessages: string | readonly string[] | null;
966
966
  maxErrors: string | number;
@@ -1124,7 +1124,7 @@ export declare const VFileInput: {
1124
1124
  }> & Omit<{
1125
1125
  theme?: string | undefined;
1126
1126
  class?: any;
1127
- style: import("vue").StyleValue;
1127
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
1128
1128
  focused: boolean;
1129
1129
  "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
1130
1130
  disabled: boolean | null;
@@ -1187,7 +1187,7 @@ export declare const VFileInput: {
1187
1187
  $emit: (event: string, ...args: any[]) => void;
1188
1188
  $el: any;
1189
1189
  $options: import("vue").ComponentOptionsBase<{
1190
- style: import("vue").StyleValue;
1190
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
1191
1191
  focused: boolean;
1192
1192
  disabled: boolean | null;
1193
1193
  error: boolean;
@@ -1300,7 +1300,7 @@ export declare const VFileInput: {
1300
1300
  messages: string | readonly string[];
1301
1301
  direction: "horizontal" | "vertical";
1302
1302
  }> & Omit<{
1303
- style: import("vue").StyleValue;
1303
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
1304
1304
  focused: boolean;
1305
1305
  disabled: boolean | null;
1306
1306
  error: boolean;
@@ -1396,7 +1396,7 @@ export declare const VFileInput: {
1396
1396
  __isTeleport?: undefined;
1397
1397
  __isSuspense?: undefined;
1398
1398
  } & import("vue").ComponentOptionsBase<{
1399
- style: import("vue").StyleValue;
1399
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
1400
1400
  focused: boolean;
1401
1401
  errorMessages: string | readonly string[] | null;
1402
1402
  maxErrors: string | number;
@@ -1560,7 +1560,7 @@ export declare const VFileInput: {
1560
1560
  }> & Omit<{
1561
1561
  theme?: string | undefined;
1562
1562
  class?: any;
1563
- style: import("vue").StyleValue;
1563
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
1564
1564
  focused: boolean;
1565
1565
  "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
1566
1566
  disabled: boolean | null;
@@ -1623,7 +1623,7 @@ export declare const VFileInput: {
1623
1623
  $emit: (event: string, ...args: any[]) => void;
1624
1624
  $el: any;
1625
1625
  $options: import("vue").ComponentOptionsBase<{
1626
- style: import("vue").StyleValue;
1626
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
1627
1627
  focused: boolean;
1628
1628
  disabled: boolean | null;
1629
1629
  error: boolean;
@@ -1736,7 +1736,7 @@ export declare const VFileInput: {
1736
1736
  messages: string | readonly string[];
1737
1737
  direction: "horizontal" | "vertical";
1738
1738
  }> & Omit<{
1739
- style: import("vue").StyleValue;
1739
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
1740
1740
  focused: boolean;
1741
1741
  disabled: boolean | null;
1742
1742
  error: boolean;
@@ -209,7 +209,8 @@ export const VFileInput = genericComponent()({
209
209
  'onClick:clear': onClear
210
210
  };
211
211
  const expectsDirectory = attrs.webkitdirectory !== undefined && attrs.webkitdirectory !== false;
212
- const inputAccept = expectsDirectory ? undefined : props.filterByType ?? String(attrs.accept);
212
+ const acceptFallback = attrs.accept ? String(attrs.accept) : undefined;
213
+ const inputAccept = expectsDirectory ? undefined : props.filterByType ?? acceptFallback;
213
214
  return _createVNode(VInput, _mergeProps({
214
215
  "ref": vInputRef,
215
216
  "modelValue": props.multiple ? model.value : model.value[0],
@@ -1 +1 @@
1
- {"version":3,"file":"VFileInput.js","names":["VChip","VCounter","VField","makeVFieldProps","makeVInputProps","VInput","useFileDrop","makeFileFilterProps","useFileFilter","useFocus","forwardRefs","useLocale","useProxiedModel","computed","nextTick","ref","shallowRef","toRef","watch","callEvent","filterInputAttrs","genericComponent","humanReadableFileSize","propsFactory","useRender","wrapInArray","makeVFileInputProps","chips","Boolean","counter","counterSizeString","type","String","default","counterString","hideInput","multiple","showSize","Number","validator","v","includes","truncateLength","prependIcon","modelValue","Array","Object","props","val","every","clearable","VFileInput","name","inheritAttrs","emits","e","focused","files","rejected","setup","_ref","attrs","emit","slots","t","filterAccepted","model","isArray","isFocused","focus","blur","base","undefined","totalBytes","value","reduce","bytes","_ref2","size","totalBytesReadable","fileNames","map","file","truncatedText","truncateText","counterValue","fileCount","length","vInputRef","vFieldRef","inputRef","isActive","active","isPlainOrUnderlined","variant","isDragging","handleDrop","hasFilesOrFolders","onFocus","document","activeElement","onClickPrepend","click","onControlMousedown","onControlClick","onClear","stopPropagation","str","charsKeepOneSide","Math","floor","slice","onDragover","preventDefault","stopImmediatePropagation","onDragleave","onDrop","allDroppedFiles","selectAccepted","onFileSelection","target","repack","filterByType","dataTransfer","DataTransfer","accepted","items","add","event","Event","bubbles","dispatchEvent","newValue","hasModelReset","hasCounter","hasDetails","details","rootAttrs","inputAttrs","_","inputProps","filterProps","fieldProps","expectsDirectory","webkitdirectory","inputAccept","accept","_createVNode","_mergeProps","class","style","_ref3","id","isDisabled","isDirty","isReadonly","isValid","dirty","_ref4","fieldClass","slotProps","_createElementVNode","_Fragment","_normalizeClass","selection","text","join","disabled"],"sources":["../../../src/components/VFileInput/VFileInput.tsx"],"sourcesContent":["// Styles\nimport './VFileInput.sass'\n\n// Components\nimport { VChip } from '@/components/VChip'\nimport { VCounter } from '@/components/VCounter'\nimport { VField } from '@/components/VField'\nimport { makeVFieldProps } from '@/components/VField/VField'\nimport { makeVInputProps, VInput } from '@/components/VInput/VInput'\n\n// Composables\nimport { useFileDrop } from '@/composables/fileDrop'\nimport { makeFileFilterProps, useFileFilter } from '@/composables/fileFilter'\nimport { useFocus } from '@/composables/focus'\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useLocale } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, nextTick, ref, shallowRef, toRef, watch } from 'vue'\nimport {\n callEvent,\n filterInputAttrs,\n genericComponent,\n humanReadableFileSize,\n propsFactory,\n useRender,\n wrapInArray,\n} from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { VFieldSlots } from '@/components/VField/VField'\nimport type { VInputSlots } from '@/components/VInput/VInput'\n\nexport type VFileInputSlots = VInputSlots & VFieldSlots & {\n counter: never\n selection: {\n fileNames: string[]\n totalBytes: number\n totalBytesReadable: string\n }\n}\n\nexport const makeVFileInputProps = propsFactory({\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 hideInput: Boolean,\n multiple: Boolean,\n showSize: {\n type: [Boolean, Number, String] as PropType<boolean | 1000 | 1024>,\n default: false,\n validator: (v: boolean | number) => {\n return (\n typeof v === 'boolean' ||\n [1000, 1024].includes(Number(v))\n )\n },\n },\n truncateLength: {\n type: [Number, String],\n default: 22,\n },\n\n ...makeVInputProps({ prependIcon: '$file' }),\n\n modelValue: {\n type: [Array, Object] as PropType<File[] | File | null>,\n default: (props: any) => props.multiple ? [] : null,\n validator: (val: any) => {\n return wrapInArray(val).every(v => v != null && typeof v === 'object')\n },\n },\n\n ...makeFileFilterProps(),\n ...makeVFieldProps({ clearable: true }),\n}, 'VFileInput')\n\nexport const VFileInput = genericComponent<VFileInputSlots>()({\n name: 'VFileInput',\n\n inheritAttrs: false,\n\n props: makeVFileInputProps(),\n\n emits: {\n 'click:control': (e: MouseEvent) => true,\n 'mousedown:control': (e: MouseEvent) => true,\n 'update:focused': (focused: boolean) => true,\n 'update:modelValue': (files: File | File[]) => true,\n rejected: (files: File[]) => true,\n },\n\n setup (props, { attrs, emit, slots }) {\n const { t } = useLocale()\n const { filterAccepted } = useFileFilter(props)\n const model = useProxiedModel(\n props,\n 'modelValue',\n props.modelValue,\n val => wrapInArray(val),\n val => (!props.multiple && Array.isArray(val)) ? val[0] : val,\n )\n const { isFocused, focus, blur } = useFocus(props)\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 const truncatedText = truncateText(name)\n return !props.showSize\n ? truncatedText\n : `${truncatedText} (${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 inputRef = ref<HTMLInputElement>()\n const isActive = toRef(() => isFocused.value || props.active)\n const isPlainOrUnderlined = computed(() => ['plain', 'underlined'].includes(props.variant))\n const isDragging = shallowRef(false)\n const { handleDrop, hasFilesOrFolders } = useFileDrop()\n\n function onFocus () {\n if (inputRef.value !== document.activeElement) {\n inputRef.value?.focus()\n }\n\n if (!isFocused.value) focus()\n }\n function onClickPrepend (e: MouseEvent) {\n inputRef.value?.click()\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 function truncateText (str: string) {\n if (str.length < Number(props.truncateLength)) return str\n const charsKeepOneSide = Math.floor((Number(props.truncateLength) - 1) / 2)\n return `${str.slice(0, charsKeepOneSide)}…${str.slice(str.length - charsKeepOneSide)}`\n }\n function onDragover (e: DragEvent) {\n e.preventDefault()\n e.stopImmediatePropagation()\n isDragging.value = true\n }\n function onDragleave (e: DragEvent) {\n e.preventDefault()\n isDragging.value = false\n }\n async function onDrop (e: DragEvent) {\n e.preventDefault()\n e.stopImmediatePropagation()\n isDragging.value = false\n\n if (!inputRef.value || !hasFilesOrFolders(e)) return\n\n const allDroppedFiles = await handleDrop(e)\n selectAccepted(allDroppedFiles)\n }\n\n function onFileSelection (e: Event) {\n if (!e.target || (e as any).repack) return // prevent loop\n\n if (!props.filterByType) {\n const target = e.target as HTMLInputElement\n model.value = [...target.files ?? []]\n } else {\n selectAccepted([...(e as any).target.files])\n }\n }\n\n function selectAccepted (files: File[]) {\n const dataTransfer = new DataTransfer()\n const { accepted, rejected } = filterAccepted(files)\n\n if (rejected.length) {\n emit('rejected', rejected)\n }\n\n for (const file of accepted) {\n dataTransfer.items.add(file)\n }\n\n inputRef.value!.files = dataTransfer.files\n model.value = [...dataTransfer.files]\n\n const event = new Event('change', { bubbles: true }) as any\n event.repack = true\n inputRef.value!.dispatchEvent(event)\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 } = VInput.filterProps(props)\n const fieldProps = {\n ...VField.filterProps(props),\n 'onClick:clear': onClear,\n }\n\n const expectsDirectory = attrs.webkitdirectory !== undefined && attrs.webkitdirectory !== false\n const inputAccept = expectsDirectory ? undefined : (props.filterByType ?? String(attrs.accept))\n\n return (\n <VInput\n ref={ vInputRef }\n modelValue={ props.multiple ? model.value : model.value[0] }\n class={[\n 'v-file-input',\n {\n 'v-file-input--chips': !!props.chips,\n 'v-file-input--dragging': isDragging.value,\n 'v-file-input--hide': props.hideInput,\n 'v-input--plain-underlined': isPlainOrUnderlined.value,\n },\n props.class,\n ]}\n style={ props.style }\n onClick:prepend={ onClickPrepend }\n { ...rootAttrs }\n { ...inputProps }\n centerAffix={ !isPlainOrUnderlined.value }\n focused={ isFocused.value }\n >\n {{\n ...slots,\n default: ({\n id,\n isDisabled,\n isDirty,\n isReadonly,\n isValid,\n hasDetails,\n }) => (\n <VField\n ref={ vFieldRef }\n prependIcon={ props.prependIcon }\n onMousedown={ onControlMousedown }\n onClick={ onControlClick }\n onClick:prependInner={ props['onClick:prependInner'] }\n onClick:appendInner={ props['onClick:appendInner'] }\n { ...fieldProps }\n id={ id.value }\n active={ isActive.value || isDirty.value }\n dirty={ isDirty.value || props.dirty }\n disabled={ isDisabled.value }\n focused={ isFocused.value }\n details={ hasDetails.value }\n error={ isValid.value === false }\n onDragover={ onDragover }\n onDrop={ onDrop }\n >\n {{\n ...slots,\n default: ({\n props: { class: fieldClass, ...slotProps },\n }) => (\n <>\n <input\n ref={ inputRef }\n type=\"file\"\n accept={ inputAccept }\n readonly={ isReadonly.value }\n disabled={ isDisabled.value }\n multiple={ props.multiple }\n name={ props.name }\n onClick={ e => {\n e.stopPropagation()\n\n if (isReadonly.value) e.preventDefault()\n\n onFocus()\n }}\n onChange={ onFileSelection }\n onDragleave={ onDragleave }\n onFocus={ onFocus }\n onBlur={ blur }\n { ...slotProps }\n { ...inputAttrs }\n />\n\n <div class={ fieldClass }>\n { !!model.value?.length && !props.hideInput && (\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 text={ text }\n />\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 disabled={ props.disabled }\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,KAAK;AAAA,SACLC,QAAQ;AAAA,SACRC,MAAM;AAAA,SACNC,eAAe;AAAA,SACfC,eAAe,EAAEC,MAAM,+BAEhC;AAAA,SACSC,WAAW;AAAA,SACXC,mBAAmB,EAAEC,aAAa;AAAA,SAClCC,QAAQ;AAAA,SACRC,WAAW;AAAA,SACXC,SAAS;AAAA,SACTC,eAAe,6CAExB;AACA,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,GAAG,EAAEC,UAAU,EAAEC,KAAK,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAErEC,SAAS,EACTC,gBAAgB,EAChBC,gBAAgB,EAChBC,qBAAqB,EACrBC,YAAY,EACZC,SAAS,EACTC,W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,CAAC,CAAC,CAAC,EAAE8E,SAAS,EAAEC,SAAS,EAAEC,QAAQ,CAAC;EACxD;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"VFileInput.js","names":["VChip","VCounter","VField","makeVFieldProps","makeVInputProps","VInput","useFileDrop","makeFileFilterProps","useFileFilter","useFocus","forwardRefs","useLocale","useProxiedModel","computed","nextTick","ref","shallowRef","toRef","watch","callEvent","filterInputAttrs","genericComponent","humanReadableFileSize","propsFactory","useRender","wrapInArray","makeVFileInputProps","chips","Boolean","counter","counterSizeString","type","String","default","counterString","hideInput","multiple","showSize","Number","validator","v","includes","truncateLength","prependIcon","modelValue","Array","Object","props","val","every","clearable","VFileInput","name","inheritAttrs","emits","e","focused","files","rejected","setup","_ref","attrs","emit","slots","t","filterAccepted","model","isArray","isFocused","focus","blur","base","undefined","totalBytes","value","reduce","bytes","_ref2","size","totalBytesReadable","fileNames","map","file","truncatedText","truncateText","counterValue","fileCount","length","vInputRef","vFieldRef","inputRef","isActive","active","isPlainOrUnderlined","variant","isDragging","handleDrop","hasFilesOrFolders","onFocus","document","activeElement","onClickPrepend","click","onControlMousedown","onControlClick","onClear","stopPropagation","str","charsKeepOneSide","Math","floor","slice","onDragover","preventDefault","stopImmediatePropagation","onDragleave","onDrop","allDroppedFiles","selectAccepted","onFileSelection","target","repack","filterByType","dataTransfer","DataTransfer","accepted","items","add","event","Event","bubbles","dispatchEvent","newValue","hasModelReset","hasCounter","hasDetails","details","rootAttrs","inputAttrs","_","inputProps","filterProps","fieldProps","expectsDirectory","webkitdirectory","acceptFallback","accept","inputAccept","_createVNode","_mergeProps","class","style","_ref3","id","isDisabled","isDirty","isReadonly","isValid","dirty","_ref4","fieldClass","slotProps","_createElementVNode","_Fragment","_normalizeClass","selection","text","join","disabled"],"sources":["../../../src/components/VFileInput/VFileInput.tsx"],"sourcesContent":["// Styles\nimport './VFileInput.sass'\n\n// Components\nimport { VChip } from '@/components/VChip'\nimport { VCounter } from '@/components/VCounter'\nimport { VField } from '@/components/VField'\nimport { makeVFieldProps } from '@/components/VField/VField'\nimport { makeVInputProps, VInput } from '@/components/VInput/VInput'\n\n// Composables\nimport { useFileDrop } from '@/composables/fileDrop'\nimport { makeFileFilterProps, useFileFilter } from '@/composables/fileFilter'\nimport { useFocus } from '@/composables/focus'\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useLocale } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, nextTick, ref, shallowRef, toRef, watch } from 'vue'\nimport {\n callEvent,\n filterInputAttrs,\n genericComponent,\n humanReadableFileSize,\n propsFactory,\n useRender,\n wrapInArray,\n} from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { VFieldSlots } from '@/components/VField/VField'\nimport type { VInputSlots } from '@/components/VInput/VInput'\n\nexport type VFileInputSlots = VInputSlots & VFieldSlots & {\n counter: never\n selection: {\n fileNames: string[]\n totalBytes: number\n totalBytesReadable: string\n }\n}\n\nexport const makeVFileInputProps = propsFactory({\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 hideInput: Boolean,\n multiple: Boolean,\n showSize: {\n type: [Boolean, Number, String] as PropType<boolean | 1000 | 1024>,\n default: false,\n validator: (v: boolean | number) => {\n return (\n typeof v === 'boolean' ||\n [1000, 1024].includes(Number(v))\n )\n },\n },\n truncateLength: {\n type: [Number, String],\n default: 22,\n },\n\n ...makeVInputProps({ prependIcon: '$file' }),\n\n modelValue: {\n type: [Array, Object] as PropType<File[] | File | null>,\n default: (props: any) => props.multiple ? [] : null,\n validator: (val: any) => {\n return wrapInArray(val).every(v => v != null && typeof v === 'object')\n },\n },\n\n ...makeFileFilterProps(),\n ...makeVFieldProps({ clearable: true }),\n}, 'VFileInput')\n\nexport const VFileInput = genericComponent<VFileInputSlots>()({\n name: 'VFileInput',\n\n inheritAttrs: false,\n\n props: makeVFileInputProps(),\n\n emits: {\n 'click:control': (e: MouseEvent) => true,\n 'mousedown:control': (e: MouseEvent) => true,\n 'update:focused': (focused: boolean) => true,\n 'update:modelValue': (files: File | File[]) => true,\n rejected: (files: File[]) => true,\n },\n\n setup (props, { attrs, emit, slots }) {\n const { t } = useLocale()\n const { filterAccepted } = useFileFilter(props)\n const model = useProxiedModel(\n props,\n 'modelValue',\n props.modelValue,\n val => wrapInArray(val),\n val => (!props.multiple && Array.isArray(val)) ? val[0] : val,\n )\n const { isFocused, focus, blur } = useFocus(props)\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 const truncatedText = truncateText(name)\n return !props.showSize\n ? truncatedText\n : `${truncatedText} (${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 inputRef = ref<HTMLInputElement>()\n const isActive = toRef(() => isFocused.value || props.active)\n const isPlainOrUnderlined = computed(() => ['plain', 'underlined'].includes(props.variant))\n const isDragging = shallowRef(false)\n const { handleDrop, hasFilesOrFolders } = useFileDrop()\n\n function onFocus () {\n if (inputRef.value !== document.activeElement) {\n inputRef.value?.focus()\n }\n\n if (!isFocused.value) focus()\n }\n function onClickPrepend (e: MouseEvent) {\n inputRef.value?.click()\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 function truncateText (str: string) {\n if (str.length < Number(props.truncateLength)) return str\n const charsKeepOneSide = Math.floor((Number(props.truncateLength) - 1) / 2)\n return `${str.slice(0, charsKeepOneSide)}…${str.slice(str.length - charsKeepOneSide)}`\n }\n function onDragover (e: DragEvent) {\n e.preventDefault()\n e.stopImmediatePropagation()\n isDragging.value = true\n }\n function onDragleave (e: DragEvent) {\n e.preventDefault()\n isDragging.value = false\n }\n async function onDrop (e: DragEvent) {\n e.preventDefault()\n e.stopImmediatePropagation()\n isDragging.value = false\n\n if (!inputRef.value || !hasFilesOrFolders(e)) return\n\n const allDroppedFiles = await handleDrop(e)\n selectAccepted(allDroppedFiles)\n }\n\n function onFileSelection (e: Event) {\n if (!e.target || (e as any).repack) return // prevent loop\n\n if (!props.filterByType) {\n const target = e.target as HTMLInputElement\n model.value = [...target.files ?? []]\n } else {\n selectAccepted([...(e as any).target.files])\n }\n }\n\n function selectAccepted (files: File[]) {\n const dataTransfer = new DataTransfer()\n const { accepted, rejected } = filterAccepted(files)\n\n if (rejected.length) {\n emit('rejected', rejected)\n }\n\n for (const file of accepted) {\n dataTransfer.items.add(file)\n }\n\n inputRef.value!.files = dataTransfer.files\n model.value = [...dataTransfer.files]\n\n const event = new Event('change', { bubbles: true }) as any\n event.repack = true\n inputRef.value!.dispatchEvent(event)\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 } = VInput.filterProps(props)\n const fieldProps = {\n ...VField.filterProps(props),\n 'onClick:clear': onClear,\n }\n\n const expectsDirectory = attrs.webkitdirectory !== undefined && attrs.webkitdirectory !== false\n const acceptFallback = attrs.accept ? String(attrs.accept) : undefined\n const inputAccept = expectsDirectory ? undefined : (props.filterByType ?? acceptFallback)\n\n return (\n <VInput\n ref={ vInputRef }\n modelValue={ props.multiple ? model.value : model.value[0] }\n class={[\n 'v-file-input',\n {\n 'v-file-input--chips': !!props.chips,\n 'v-file-input--dragging': isDragging.value,\n 'v-file-input--hide': props.hideInput,\n 'v-input--plain-underlined': isPlainOrUnderlined.value,\n },\n props.class,\n ]}\n style={ props.style }\n onClick:prepend={ onClickPrepend }\n { ...rootAttrs }\n { ...inputProps }\n centerAffix={ !isPlainOrUnderlined.value }\n focused={ isFocused.value }\n >\n {{\n ...slots,\n default: ({\n id,\n isDisabled,\n isDirty,\n isReadonly,\n isValid,\n hasDetails,\n }) => (\n <VField\n ref={ vFieldRef }\n prependIcon={ props.prependIcon }\n onMousedown={ onControlMousedown }\n onClick={ onControlClick }\n onClick:prependInner={ props['onClick:prependInner'] }\n onClick:appendInner={ props['onClick:appendInner'] }\n { ...fieldProps }\n id={ id.value }\n active={ isActive.value || isDirty.value }\n dirty={ isDirty.value || props.dirty }\n disabled={ isDisabled.value }\n focused={ isFocused.value }\n details={ hasDetails.value }\n error={ isValid.value === false }\n onDragover={ onDragover }\n onDrop={ onDrop }\n >\n {{\n ...slots,\n default: ({\n props: { class: fieldClass, ...slotProps },\n }) => (\n <>\n <input\n ref={ inputRef }\n type=\"file\"\n accept={ inputAccept }\n readonly={ isReadonly.value }\n disabled={ isDisabled.value }\n multiple={ props.multiple }\n name={ props.name }\n onClick={ e => {\n e.stopPropagation()\n\n if (isReadonly.value) e.preventDefault()\n\n onFocus()\n }}\n onChange={ onFileSelection }\n onDragleave={ onDragleave }\n onFocus={ onFocus }\n onBlur={ blur }\n { ...slotProps }\n { ...inputAttrs }\n />\n\n <div class={ fieldClass }>\n { !!model.value?.length && !props.hideInput && (\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 text={ text }\n />\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 disabled={ props.disabled }\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,KAAK;AAAA,SACLC,QAAQ;AAAA,SACRC,MAAM;AAAA,SACNC,eAAe;AAAA,SACfC,eAAe,EAAEC,MAAM,+BAEhC;AAAA,SACSC,WAAW;AAAA,SACXC,mBAAmB,EAAEC,aAAa;AAAA,SAClCC,QAAQ;AAAA,SACRC,WAAW;AAAA,SACXC,SAAS;AAAA,SACTC,eAAe,6CAExB;AACA,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,GAAG,EAAEC,UAAU,EAAEC,KAAK,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAErEC,SAAS,EACTC,gBAAgB,EAChBC,gBAAgB,EAChBC,qBAAqB,EACrBC,YAAY,EACZC,SAAS,EACTC,WAAW,+BAGb;AAcA,OAAO,MAAMC,mBAAmB,GAAGH,YAAY,CAAC;EAC9CI,KAAK,EAAEC,OAAO;EACdC,OAAO,EAAED,OAAO;EAChBE,iBAAiB,EAAE;IACjBC,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAE;EACX,CAAC;EACDC,aAAa,EAAE;IACbH,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAE;EACX,CAAC;EACDE,SAAS,EAAEP,OAAO;EAClBQ,QAAQ,EAAER,OAAO;EACjBS,QAAQ,EAAE;IACRN,IAAI,EAAE,CAACH,OAAO,EAAEU,M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Q,KAAK,EAAEa,MAAM,IAAI,CAACxC,KAAK,CAACZ,SAAS,KACzC4B,KAAK,CAACsG,SAAS,GAAGtG,KAAK,CAACsG,SAAS,CAAC;gBAChCrF,SAAS,EAAEA,SAAS,CAACN,KAAK;gBAC1BD,UAAU,EAAEA,UAAU,CAACC,KAAK;gBAC5BK,kBAAkB,EAAEA,kBAAkB,CAACL;cACzC,CAAC,CAAC,GACA3B,KAAK,CAACpB,KAAK,GAAGqD,SAAS,CAACN,KAAK,CAACO,GAAG,CAACqF,IAAI,IAAAlB,YAAA,CAAApJ,KAAA;gBAAA,OAE9BsK,IAAI;gBAAA;gBAAA,QAEHA;cAAI,QAEd,CAAC,GACAtF,SAAS,CAACN,KAAK,CAAC6F,IAAI,CAAC,IAAI,CAAC,CAC7B;YAAA;UAGN;QAAA,CAGN;QACD/B,OAAO,EAAED,UAAU,GAAG0B,SAAS,IAAAC,mBAAA,CAAAC,SAAA,SAEzBpG,KAAK,CAACyE,OAAO,GAAGyB,SAAS,CAAC,EAE1B3B,UAAU,IAAA4B,mBAAA,CAAAC,SAAA,SAAAD,mBAAA,sBAAAd,YAAA,CAAAnJ,QAAA;UAAA,UAKG,CAAC,CAACiE,KAAK,CAACQ,KAAK,EAAEa,MAAM;UAAA,SACtBF,YAAY,CAACX,KAAK;UAAA,YACf3B,KAAK,CAACyH;QAAQ,GACPzG,KAAK,CAAClC,OAAO,GAGpC,EAEJ,GAAG2C;MAAS;IAIrB,CAAC,CAAC;IAEF,OAAO9D,WAAW,CAAC,CAAC,CAAC,EAAE8E,SAAS,EAAEC,SAAS,EAAEC,QAAQ,CAAC;EACxD;AACF,CAAC,CAAC","ignoreList":[]}
@@ -121,7 +121,7 @@ export declare const makeVFooterProps: <Defaults extends {
121
121
  };
122
122
  export declare const VFooter: {
123
123
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
124
- style: import("vue").StyleValue;
124
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
125
125
  order: string | number;
126
126
  absolute: boolean;
127
127
  tile: boolean;
@@ -168,7 +168,7 @@ export declare const VFooter: {
168
168
  M: {};
169
169
  Defaults: {};
170
170
  }, {
171
- style: import("vue").StyleValue;
171
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
172
172
  order: string | number;
173
173
  absolute: boolean;
174
174
  tile: boolean;
@@ -208,7 +208,7 @@ export declare const VFooter: {
208
208
  __isTeleport?: undefined;
209
209
  __isSuspense?: undefined;
210
210
  } & import("vue").ComponentOptionsBase<{
211
- style: import("vue").StyleValue;
211
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
212
212
  order: string | number;
213
213
  absolute: boolean;
214
214
  tile: boolean;
@@ -58,12 +58,12 @@ export declare const makeVFormProps: <Defaults extends {
58
58
  };
59
59
  export declare const VForm: {
60
60
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
61
- style: import("vue").StyleValue;
61
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
62
62
  disabled: boolean;
63
63
  fastFail: boolean;
64
64
  readonly: boolean;
65
65
  modelValue: boolean | null;
66
- validateOn: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
66
+ validateOn: "blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit");
67
67
  } & {
68
68
  class?: any;
69
69
  } & {
@@ -384,12 +384,12 @@ export declare const VForm: {
384
384
  M: {};
385
385
  Defaults: {};
386
386
  }, {
387
- style: import("vue").StyleValue;
387
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
388
388
  disabled: boolean;
389
389
  fastFail: boolean;
390
390
  readonly: boolean;
391
391
  modelValue: boolean | null;
392
- validateOn: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
392
+ validateOn: "blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit");
393
393
  } & {
394
394
  class?: any;
395
395
  } & {
@@ -660,12 +660,12 @@ export declare const VForm: {
660
660
  __isTeleport?: undefined;
661
661
  __isSuspense?: undefined;
662
662
  } & import("vue").ComponentOptionsBase<{
663
- style: import("vue").StyleValue;
663
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
664
664
  disabled: boolean;
665
665
  fastFail: boolean;
666
666
  readonly: boolean;
667
667
  modelValue: boolean | null;
668
- validateOn: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
668
+ validateOn: "blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit");
669
669
  } & {
670
670
  class?: any;
671
671
  } & {
@@ -155,7 +155,7 @@ export declare const makeVColProps: <Defaults extends {
155
155
  };
156
156
  export declare const VCol: {
157
157
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
158
- style: import("vue").StyleValue;
158
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
159
159
  tag: string | import("../../util/index.js").JSXComponent;
160
160
  cols: string | number | boolean;
161
161
  offset: string | number;
@@ -210,7 +210,7 @@ export declare const VCol: {
210
210
  M: {};
211
211
  Defaults: {};
212
212
  }, {
213
- style: import("vue").StyleValue;
213
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
214
214
  tag: string | import("../../util/index.js").JSXComponent;
215
215
  cols: string | number | boolean;
216
216
  offset: string | number;
@@ -258,7 +258,7 @@ export declare const VCol: {
258
258
  __isTeleport?: undefined;
259
259
  __isSuspense?: undefined;
260
260
  } & import("vue").ComponentOptionsBase<{
261
- style: import("vue").StyleValue;
261
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
262
262
  tag: string | import("../../util/index.js").JSXComponent;
263
263
  cols: string | number | boolean;
264
264
  offset: string | number;
@@ -73,7 +73,7 @@ export declare const makeVContainerProps: <Defaults extends {
73
73
  };
74
74
  export declare const VContainer: {
75
75
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
76
- style: import("vue").StyleValue;
76
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
77
77
  tag: string | import("../../util/index.js").JSXComponent;
78
78
  fluid: boolean;
79
79
  } & {
@@ -111,7 +111,7 @@ export declare const VContainer: {
111
111
  M: {};
112
112
  Defaults: {};
113
113
  }, {
114
- style: import("vue").StyleValue;
114
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
115
115
  tag: string | import("../../util/index.js").JSXComponent;
116
116
  fluid: boolean;
117
117
  } & {
@@ -142,7 +142,7 @@ export declare const VContainer: {
142
142
  __isTeleport?: undefined;
143
143
  __isSuspense?: undefined;
144
144
  } & import("vue").ComponentOptionsBase<{
145
- style: import("vue").StyleValue;
145
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
146
146
  tag: string | import("../../util/index.js").JSXComponent;
147
147
  fluid: boolean;
148
148
  } & {
@@ -158,7 +158,7 @@ export declare const makeVRowProps: <Defaults extends {
158
158
  };
159
159
  export declare const VRow: {
160
160
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
161
- style: import("vue").StyleValue;
161
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
162
162
  tag: string | import("../../util/index.js").JSXComponent;
163
163
  dense: boolean;
164
164
  noGutters: boolean;
@@ -215,7 +215,7 @@ export declare const VRow: {
215
215
  M: {};
216
216
  Defaults: {};
217
217
  }, {
218
- style: import("vue").StyleValue;
218
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
219
219
  tag: string | import("../../util/index.js").JSXComponent;
220
220
  dense: boolean;
221
221
  noGutters: boolean;
@@ -265,7 +265,7 @@ export declare const VRow: {
265
265
  __isTeleport?: undefined;
266
266
  __isSuspense?: undefined;
267
267
  } & import("vue").ComponentOptionsBase<{
268
- style: import("vue").StyleValue;
268
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
269
269
  tag: string | import("../../util/index.js").JSXComponent;
270
270
  dense: boolean;
271
271
  noGutters: boolean;
@@ -2,7 +2,7 @@
2
2
 
3
3
  export declare const VSpacer: {
4
4
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
5
- style: import("vue").StyleValue;
5
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
6
6
  tag: string;
7
7
  } & {
8
8
  class?: any;
@@ -34,7 +34,7 @@ export declare const VSpacer: {
34
34
  M: {};
35
35
  Defaults: {};
36
36
  }, {
37
- style: import("vue").StyleValue;
37
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
38
38
  tag: string;
39
39
  } & {
40
40
  class?: any;
@@ -59,7 +59,7 @@ export declare const VSpacer: {
59
59
  __isTeleport?: undefined;
60
60
  __isSuspense?: undefined;
61
61
  } & import("vue").ComponentOptionsBase<{
62
- style: import("vue").StyleValue;
62
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
63
63
  tag: string;
64
64
  } & {
65
65
  class?: any;
@@ -85,7 +85,7 @@ export declare const makeVIconProps: <Defaults extends {
85
85
  };
86
86
  export declare const VIcon: {
87
87
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
88
- style: import("vue").StyleValue;
88
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
89
89
  tag: string | import("../../util/index.js").JSXComponent;
90
90
  size: string | number;
91
91
  disabled: boolean;
@@ -127,7 +127,7 @@ export declare const VIcon: {
127
127
  M: {};
128
128
  Defaults: {};
129
129
  }, {
130
- style: import("vue").StyleValue;
130
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
131
131
  tag: string | import("../../util/index.js").JSXComponent;
132
132
  size: string | number;
133
133
  disabled: boolean;
@@ -162,7 +162,7 @@ export declare const VIcon: {
162
162
  __isTeleport?: undefined;
163
163
  __isSuspense?: undefined;
164
164
  } & import("vue").ComponentOptionsBase<{
165
- style: import("vue").StyleValue;
165
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
166
166
  tag: string | import("../../util/index.js").JSXComponent;
167
167
  size: string | number;
168
168
  disabled: boolean;
@@ -217,7 +217,7 @@ export declare const makeVImgProps: <Defaults extends {
217
217
  };
218
218
  export declare const VImg: {
219
219
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
220
- style: import("vue").StyleValue;
220
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
221
221
  tile: boolean;
222
222
  inline: boolean;
223
223
  absolute: boolean;
@@ -315,7 +315,7 @@ export declare const VImg: {
315
315
  M: {};
316
316
  Defaults: {};
317
317
  }, {
318
- style: import("vue").StyleValue;
318
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
319
319
  tile: boolean;
320
320
  inline: boolean;
321
321
  absolute: boolean;
@@ -393,7 +393,7 @@ export declare const VImg: {
393
393
  __isTeleport?: undefined;
394
394
  __isSuspense?: undefined;
395
395
  } & import("vue").ComponentOptionsBase<{
396
- style: import("vue").StyleValue;
396
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
397
397
  tile: boolean;
398
398
  inline: boolean;
399
399
  absolute: boolean;
@@ -275,7 +275,7 @@ export type VInputSlots = {
275
275
  };
276
276
  export declare const VInput: {
277
277
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
278
- style: import("vue").StyleValue;
278
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
279
279
  focused: boolean;
280
280
  disabled: boolean | null;
281
281
  error: boolean;
@@ -359,7 +359,7 @@ export declare const VInput: {
359
359
  M: {};
360
360
  Defaults: {};
361
361
  }, {
362
- style: import("vue").StyleValue;
362
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
363
363
  focused: boolean;
364
364
  disabled: boolean | null;
365
365
  error: boolean;
@@ -422,7 +422,7 @@ export declare const VInput: {
422
422
  __isTeleport?: undefined;
423
423
  __isSuspense?: undefined;
424
424
  } & import("vue").ComponentOptionsBase<{
425
- style: import("vue").StyleValue;
425
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
426
426
  focused: boolean;
427
427
  disabled: boolean | null;
428
428
  error: boolean;
@@ -91,7 +91,7 @@ type VItemGroupSlots = {
91
91
  };
92
92
  export declare const VItemGroup: {
93
93
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
94
- style: import("vue").StyleValue;
94
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
95
95
  tag: string | import("../../util/index.js").JSXComponent;
96
96
  multiple: boolean;
97
97
  selectedClass: string;
@@ -127,7 +127,7 @@ export declare const VItemGroup: {
127
127
  M: {};
128
128
  Defaults: {};
129
129
  }, {
130
- style: import("vue").StyleValue;
130
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
131
131
  tag: string | import("../../util/index.js").JSXComponent;
132
132
  multiple: boolean;
133
133
  selectedClass: string;
@@ -148,7 +148,7 @@ export declare const VItemGroup: {
148
148
  __isTeleport?: undefined;
149
149
  __isSuspense?: undefined;
150
150
  } & import("vue").ComponentOptionsBase<{
151
- style: import("vue").StyleValue;
151
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
152
152
  tag: string | import("../../util/index.js").JSXComponent;
153
153
  multiple: boolean;
154
154
  selectedClass: string;
@@ -80,7 +80,7 @@ export declare const makeVKbdProps: <Defaults extends {
80
80
  };
81
81
  export declare const VKbd: {
82
82
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
83
- style: import("vue").StyleValue;
83
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
84
84
  tile: boolean;
85
85
  tag: string | import("../../util/index.js").JSXComponent;
86
86
  } & {
@@ -118,7 +118,7 @@ export declare const VKbd: {
118
118
  M: {};
119
119
  Defaults: {};
120
120
  }, {
121
- style: import("vue").StyleValue;
121
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
122
122
  tile: boolean;
123
123
  tag: string | import("../../util/index.js").JSXComponent;
124
124
  } & {
@@ -149,7 +149,7 @@ export declare const VKbd: {
149
149
  __isTeleport?: undefined;
150
150
  __isSuspense?: undefined;
151
151
  } & import("vue").ComponentOptionsBase<{
152
- style: import("vue").StyleValue;
152
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
153
153
  tile: boolean;
154
154
  tag: string | import("../../util/index.js").JSXComponent;
155
155
  } & {