@vuetify/nightly 3.7.19-master.2025-03-26 → 3.7.19-master.2025-03-27

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.19-master.2025-03-26
2
+ * Vuetify v3.7.19-master.2025-03-27
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -2123,8 +2123,8 @@ if(d.install(e),e.provide(kt,u),e.provide(hn,c),e.provide(Va,d),e.provide(Ot,v),
2123
2123
  else{const{mount:a}=e
2124
2124
  e.mount=function(){const l=a(...arguments)
2125
2125
  return t.nextTick((()=>c.update())),e.mount=a,l}}St.reset(),("boolean"!=typeof __VUE_OPTIONS_API__||__VUE_OPTIONS_API__)&&e.mixin({computed:{$vuetify(){return t.reactive({defaults:rf.call(this,kt),display:rf.call(this,hn),theme:rf.call(this,Va),icons:rf.call(this,Ot),locale:rf.call(this,ma),date:rf.call(this,fu)})}}})},defaults:u,display:c,theme:d,icons:v,locale:p,date:f,goTo:m}}function rf(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
2126
- if(a&&e in a)return a[e]}nf.version="3.7.19-master.2025-03-26"
2127
- const sf=function(){return nf({components:Xp,directives:of,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},uf="3.7.19-master.2025-03-26"
2126
+ if(a&&e in a)return a[e]}nf.version="3.7.19-master.2025-03-27"
2127
+ const sf=function(){return nf({components:Xp,directives:of,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},uf="3.7.19-master.2025-03-27"
2128
2128
  sf.version=uf,e.blueprints=Zt,e.components=Xp,e.createVuetify=sf,e.directives=of,e.useDate=gu,e.useDefaults=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0
2129
2129
  const{props:a,provideSubDefaults:l}=Ct(e,t)
2130
2130
  return l(),a},e.useDisplay=xn,e.useGoTo=Bn,e.useLayout=la,e.useLocale=ha,e.useRtl=ba,e.useTheme=xa,e.version=uf}))
@@ -16,7 +16,7 @@ export const createVuetify = function () {
16
16
  ...options
17
17
  });
18
18
  };
19
- export const version = "3.7.19-master.2025-03-26";
19
+ export const version = "3.7.19-master.2025-03-27";
20
20
  createVuetify.version = version;
21
21
  export { blueprints, components, directives };
22
22
  export * from "./composables/index.mjs";
package/lib/framework.mjs CHANGED
@@ -97,7 +97,7 @@ export function createVuetify() {
97
97
  goTo
98
98
  };
99
99
  }
100
- export const version = "3.7.19-master.2025-03-26";
100
+ export const version = "3.7.19-master.2025-03-27";
101
101
  createVuetify.version = version;
102
102
 
103
103
  // Vue's inject() can only be used in setup
package/lib/index.d.mts CHANGED
@@ -487,41 +487,48 @@ declare module 'vue' {
487
487
  }
488
488
  export interface GlobalComponents {
489
489
  VApp: typeof import('vuetify/components')['VApp']
490
- VAvatar: typeof import('vuetify/components')['VAvatar']
491
490
  VAppBar: typeof import('vuetify/components')['VAppBar']
492
491
  VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
493
492
  VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
493
+ VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
494
+ VAvatar: typeof import('vuetify/components')['VAvatar']
494
495
  VAlert: typeof import('vuetify/components')['VAlert']
495
496
  VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
496
- VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
497
- VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
497
+ VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
498
498
  VBadge: typeof import('vuetify/components')['VBadge']
499
+ VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
500
+ VBtn: typeof import('vuetify/components')['VBtn']
501
+ VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
502
+ VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
503
+ VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
504
+ VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
505
+ VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
506
+ VCarousel: typeof import('vuetify/components')['VCarousel']
507
+ VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
508
+ VChipGroup: typeof import('vuetify/components')['VChipGroup']
499
509
  VBanner: typeof import('vuetify/components')['VBanner']
500
510
  VBannerActions: typeof import('vuetify/components')['VBannerActions']
501
511
  VBannerText: typeof import('vuetify/components')['VBannerText']
502
- VBtn: typeof import('vuetify/components')['VBtn']
512
+ VChip: typeof import('vuetify/components')['VChip']
513
+ VCheckbox: typeof import('vuetify/components')['VCheckbox']
514
+ VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
503
515
  VCard: typeof import('vuetify/components')['VCard']
504
516
  VCardActions: typeof import('vuetify/components')['VCardActions']
505
517
  VCardItem: typeof import('vuetify/components')['VCardItem']
506
518
  VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
507
519
  VCardText: typeof import('vuetify/components')['VCardText']
508
520
  VCardTitle: typeof import('vuetify/components')['VCardTitle']
509
- VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
510
- VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
511
- VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
512
- VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
513
- VChipGroup: typeof import('vuetify/components')['VChipGroup']
514
- VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
515
- VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
516
- VColorPicker: typeof import('vuetify/components')['VColorPicker']
517
521
  VCode: typeof import('vuetify/components')['VCode']
518
- VChip: typeof import('vuetify/components')['VChip']
519
- VCarousel: typeof import('vuetify/components')['VCarousel']
520
- VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
521
- VCombobox: typeof import('vuetify/components')['VCombobox']
522
+ VColorPicker: typeof import('vuetify/components')['VColorPicker']
522
523
  VCounter: typeof import('vuetify/components')['VCounter']
523
- VCheckbox: typeof import('vuetify/components')['VCheckbox']
524
- VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
524
+ VCombobox: typeof import('vuetify/components')['VCombobox']
525
+ VDataTable: typeof import('vuetify/components')['VDataTable']
526
+ VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
527
+ VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
528
+ VDataTableRows: typeof import('vuetify/components')['VDataTableRows']
529
+ VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
530
+ VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
531
+ VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
525
532
  VDatePicker: typeof import('vuetify/components')['VDatePicker']
526
533
  VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
527
534
  VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
@@ -529,35 +536,31 @@ declare module 'vue' {
529
536
  VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
530
537
  VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
531
538
  VDialog: typeof import('vuetify/components')['VDialog']
539
+ VField: typeof import('vuetify/components')['VField']
540
+ VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
532
541
  VEmptyState: typeof import('vuetify/components')['VEmptyState']
533
- VDataTable: typeof import('vuetify/components')['VDataTable']
534
- VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
535
- VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
536
- VDataTableRows: typeof import('vuetify/components')['VDataTableRows']
537
- VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
538
- VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
539
- VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
542
+ VFab: typeof import('vuetify/components')['VFab']
540
543
  VDivider: typeof import('vuetify/components')['VDivider']
541
544
  VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
542
545
  VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
543
546
  VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
544
547
  VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
545
- VField: typeof import('vuetify/components')['VField']
546
- VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
547
548
  VFileInput: typeof import('vuetify/components')['VFileInput']
548
549
  VFooter: typeof import('vuetify/components')['VFooter']
550
+ VImg: typeof import('vuetify/components')['VImg']
549
551
  VIcon: typeof import('vuetify/components')['VIcon']
550
552
  VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
551
553
  VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
552
554
  VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
553
555
  VClassIcon: typeof import('vuetify/components')['VClassIcon']
554
- VImg: typeof import('vuetify/components')['VImg']
555
- VFab: typeof import('vuetify/components')['VFab']
556
- VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
557
556
  VInput: typeof import('vuetify/components')['VInput']
558
- VKbd: typeof import('vuetify/components')['VKbd']
559
557
  VItemGroup: typeof import('vuetify/components')['VItemGroup']
560
558
  VItem: typeof import('vuetify/components')['VItem']
559
+ VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
560
+ VLabel: typeof import('vuetify/components')['VLabel']
561
+ VKbd: typeof import('vuetify/components')['VKbd']
562
+ VMenu: typeof import('vuetify/components')['VMenu']
563
+ VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
561
564
  VList: typeof import('vuetify/components')['VList']
562
565
  VListGroup: typeof import('vuetify/components')['VListGroup']
563
566
  VListImg: typeof import('vuetify/components')['VListImg']
@@ -567,72 +570,69 @@ declare module 'vue' {
567
570
  VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
568
571
  VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
569
572
  VListSubheader: typeof import('vuetify/components')['VListSubheader']
570
- VMessages: typeof import('vuetify/components')['VMessages']
571
- VMenu: typeof import('vuetify/components')['VMenu']
572
- VLabel: typeof import('vuetify/components')['VLabel']
573
573
  VMain: typeof import('vuetify/components')['VMain']
574
- VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
575
- VPagination: typeof import('vuetify/components')['VPagination']
576
574
  VOtpInput: typeof import('vuetify/components')['VOtpInput']
577
- VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
578
575
  VOverlay: typeof import('vuetify/components')['VOverlay']
576
+ VMessages: typeof import('vuetify/components')['VMessages']
579
577
  VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
580
- VRating: typeof import('vuetify/components')['VRating']
581
578
  VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
582
- VSheet: typeof import('vuetify/components')['VSheet']
579
+ VPagination: typeof import('vuetify/components')['VPagination']
580
+ VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
583
581
  VSelect: typeof import('vuetify/components')['VSelect']
582
+ VRating: typeof import('vuetify/components')['VRating']
584
583
  VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
585
584
  VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
586
- VSlider: typeof import('vuetify/components')['VSlider']
585
+ VSheet: typeof import('vuetify/components')['VSheet']
586
+ VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
587
587
  VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
588
588
  VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
589
- VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
590
589
  VStepper: typeof import('vuetify/components')['VStepper']
591
590
  VStepperActions: typeof import('vuetify/components')['VStepperActions']
592
591
  VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
593
592
  VStepperItem: typeof import('vuetify/components')['VStepperItem']
594
593
  VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
595
594
  VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
596
- VSystemBar: typeof import('vuetify/components')['VSystemBar']
597
- VSnackbar: typeof import('vuetify/components')['VSnackbar']
595
+ VSlider: typeof import('vuetify/components')['VSlider']
598
596
  VSwitch: typeof import('vuetify/components')['VSwitch']
599
- VTextarea: typeof import('vuetify/components')['VTextarea']
600
- VTimeline: typeof import('vuetify/components')['VTimeline']
601
- VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
602
- VTextField: typeof import('vuetify/components')['VTextField']
603
- VTable: typeof import('vuetify/components')['VTable']
597
+ VSnackbar: typeof import('vuetify/components')['VSnackbar']
604
598
  VTab: typeof import('vuetify/components')['VTab']
605
599
  VTabs: typeof import('vuetify/components')['VTabs']
606
600
  VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
607
601
  VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
602
+ VTable: typeof import('vuetify/components')['VTable']
603
+ VTextField: typeof import('vuetify/components')['VTextField']
604
+ VSystemBar: typeof import('vuetify/components')['VSystemBar']
608
605
  VToolbar: typeof import('vuetify/components')['VToolbar']
609
606
  VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
610
607
  VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
608
+ VTextarea: typeof import('vuetify/components')['VTextarea']
611
609
  VTooltip: typeof import('vuetify/components')['VTooltip']
610
+ VTimeline: typeof import('vuetify/components')['VTimeline']
611
+ VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
612
612
  VWindow: typeof import('vuetify/components')['VWindow']
613
613
  VWindowItem: typeof import('vuetify/components')['VWindowItem']
614
614
  VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
615
- VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
616
615
  VDataIterator: typeof import('vuetify/components')['VDataIterator']
616
+ VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
617
617
  VContainer: typeof import('vuetify/components')['VContainer']
618
618
  VCol: typeof import('vuetify/components')['VCol']
619
619
  VRow: typeof import('vuetify/components')['VRow']
620
620
  VSpacer: typeof import('vuetify/components')['VSpacer']
621
621
  VForm: typeof import('vuetify/components')['VForm']
622
622
  VHover: typeof import('vuetify/components')['VHover']
623
- VLazy: typeof import('vuetify/components')['VLazy']
624
623
  VLayout: typeof import('vuetify/components')['VLayout']
625
624
  VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
625
+ VLazy: typeof import('vuetify/components')['VLazy']
626
626
  VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
627
627
  VNoSsr: typeof import('vuetify/components')['VNoSsr']
628
628
  VParallax: typeof import('vuetify/components')['VParallax']
629
629
  VRadio: typeof import('vuetify/components')['VRadio']
630
630
  VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
631
631
  VResponsive: typeof import('vuetify/components')['VResponsive']
632
- VSparkline: typeof import('vuetify/components')['VSparkline']
633
632
  VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
634
- VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
633
+ VSparkline: typeof import('vuetify/components')['VSparkline']
635
634
  VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
635
+ VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
636
636
  VValidation: typeof import('vuetify/components')['VValidation']
637
637
  VFabTransition: typeof import('vuetify/components')['VFabTransition']
638
638
  VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
@@ -656,22 +656,22 @@ declare module 'vue' {
656
656
  VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
657
657
  VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
658
658
  VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
659
- VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
660
659
  VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
661
660
  VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
662
- VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
663
- VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
664
- VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
665
661
  VPicker: typeof import('vuetify/labs/components')['VPicker']
666
662
  VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
667
663
  VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
668
664
  VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
669
665
  VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
666
+ VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
667
+ VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
668
+ VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
669
+ VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
670
670
  VTreeview: typeof import('vuetify/labs/components')['VTreeview']
671
671
  VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
672
672
  VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
673
+ VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
673
674
  VDateInput: typeof import('vuetify/labs/components')['VDateInput']
674
675
  VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
675
- VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
676
676
  }
677
677
  }
@@ -151,7 +151,8 @@ export const VFileUpload = genericComponent()({
151
151
  'v-file-upload--clickable': !hasBrowse,
152
152
  'v-file-upload--disabled': props.disabled,
153
153
  'v-file-upload--dragging': dragOver.value
154
- }, densityClasses.value],
154
+ }, densityClasses.value, props.class],
155
+ "style": [props.style],
155
156
  "onDragleave": onDragLeave,
156
157
  "onDragover": onDragOver,
157
158
  "onDrop": onDrop,
@@ -1 +1 @@
1
- {"version":3,"file":"VFileUpload.mjs","names":["VFileUploadItem","VBtn","VDefaultsProvider","makeVDividerProps","VDivider","VIcon","VOverlay","makeVSheetProps","VSheet","makeDelayProps","makeDensityProps","useDensity","IconValue","useLocale","useProxiedModel","onMounted","onUnmounted","ref","shallowRef","filterInputAttrs","genericComponent","pick","propsFactory","useRender","wrapInArray","makeVFileUploadProps","browseText","type","String","default","dividerText","title","subtitle","icon","modelValue","Array","Object","validator","val","every","v","clearable","Boolean","disabled","hideBrowse","multiple","scrim","showSize","name","length","VFileUpload","inheritAttrs","props","emits","files","setup","_ref","attrs","slots","t","densityClasses","model","isArray","dragOver","vSheetRef","inputRef","value","$el","addEventListener","onDragOver","onDrop","removeEventListener","e","preventDefault","stopImmediatePropagation","onDragLeave","from","dataTransfer","array","slice","file","some","f","push","onClick","click","onClickRemove","index","newValue","filter","_","i","hasTitle","hasIcon","hasBrowse","browse","density","cardProps","filterProps","dividerProps","rootAttrs","inputAttrs","inputNode","_createVNode","_mergeProps","target","_Fragment","undefined","divider","readonly","size","text","variant","input","map","slotProps","onClick:remove","item"],"sources":["../../../src/labs/VFileUpload/VFileUpload.tsx"],"sourcesContent":["// Styles\nimport './VFileUpload.sass'\n\n// Components\nimport { VFileUploadItem } from './VFileUploadItem'\nimport { VBtn } from '@/components/VBtn/VBtn'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider/VDefaultsProvider'\nimport { makeVDividerProps, VDivider } from '@/components/VDivider/VDivider'\nimport { VIcon } from '@/components/VIcon/VIcon'\nimport { VOverlay } from '@/components/VOverlay/VOverlay'\nimport { makeVSheetProps, VSheet } from '@/components/VSheet/VSheet'\n\n// Composables\nimport { makeDelayProps } from '@/composables/delay'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { IconValue } from '@/composables/icons'\nimport { useLocale } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { onMounted, onUnmounted, ref, shallowRef } from 'vue'\nimport { filterInputAttrs, genericComponent, pick, propsFactory, useRender, wrapInArray } from '@/util'\n\n// Types\nimport type { PropType, VNode } from 'vue'\n\nexport type VFileUploadSlots = {\n browse: {\n props: { onClick: (e: MouseEvent) => void }\n }\n default: never\n icon: never\n input: {\n inputNode: VNode\n }\n item: {\n file: File\n props: { 'onClick:remove': () => void }\n }\n title: never\n divider: never\n}\n\nexport const makeVFileUploadProps = propsFactory({\n browseText: {\n type: String,\n default: '$vuetify.fileUpload.browse',\n },\n dividerText: {\n type: String,\n default: '$vuetify.fileUpload.divider',\n },\n title: {\n type: String,\n default: '$vuetify.fileUpload.title',\n },\n subtitle: String,\n icon: {\n type: IconValue,\n default: '$upload',\n },\n modelValue: {\n type: [Array, Object] as PropType<File[] | File>,\n default: null,\n validator: (val: any) => {\n return wrapInArray(val).every(v => v != null && typeof v === 'object')\n },\n },\n clearable: Boolean,\n disabled: Boolean,\n hideBrowse: Boolean,\n multiple: Boolean,\n scrim: {\n type: [Boolean, String],\n default: true,\n },\n showSize: Boolean,\n name: String,\n\n ...makeDelayProps(),\n ...makeDensityProps(),\n ...pick(makeVDividerProps({\n length: 150,\n }), ['length', 'thickness', 'opacity']),\n ...makeVSheetProps(),\n}, 'VFileUpload')\n\nexport const VFileUpload = genericComponent<VFileUploadSlots>()({\n name: 'VFileUpload',\n\n inheritAttrs: false,\n\n props: makeVFileUploadProps(),\n\n emits: {\n 'update:modelValue': (files: File[]) => true,\n },\n\n setup (props, { attrs, slots }) {\n const { t } = useLocale()\n const { densityClasses } = useDensity(props)\n const model = useProxiedModel(\n props,\n 'modelValue',\n props.modelValue,\n val => wrapInArray(val),\n val => (props.multiple || Array.isArray(props.modelValue)) ? val : val[0],\n )\n\n const dragOver = shallowRef(false)\n const vSheetRef = ref<InstanceType<typeof VSheet> | null>(null)\n const inputRef = ref<HTMLInputElement | null>(null)\n\n onMounted(() => {\n vSheetRef.value?.$el.addEventListener('dragover', onDragOver)\n vSheetRef.value?.$el.addEventListener('drop', onDrop)\n })\n\n onUnmounted(() => {\n vSheetRef.value?.$el.removeEventListener('dragover', onDragOver)\n vSheetRef.value?.$el.removeEventListener('drop', onDrop)\n })\n\n function onDragOver (e: DragEvent) {\n e.preventDefault()\n e.stopImmediatePropagation()\n dragOver.value = true\n }\n\n function onDragLeave (e: DragEvent) {\n e.preventDefault()\n dragOver.value = false\n }\n\n function onDrop (e: DragEvent) {\n e.preventDefault()\n e.stopImmediatePropagation()\n dragOver.value = false\n\n const files = Array.from(e.dataTransfer?.files ?? [])\n\n if (!files.length) return\n\n if (!props.multiple) {\n model.value = [files[0]]\n\n return\n }\n\n const array = model.value.slice()\n\n for (const file of files) {\n if (!array.some(f => f.name === file.name)) {\n array.push(file)\n }\n }\n\n model.value = array\n }\n\n function onClick () {\n inputRef.value?.click()\n }\n\n function onClickRemove (index: number) {\n const newValue = model.value.filter((_, i) => i !== index)\n model.value = newValue\n\n if (newValue.length > 0 || !inputRef.value) return\n\n inputRef.value.value = ''\n }\n\n useRender(() => {\n const hasTitle = !!(slots.title || props.title)\n const hasIcon = !!(slots.icon || props.icon)\n const hasBrowse = !!(!props.hideBrowse && (slots.browse || props.density === 'default'))\n const cardProps = VSheet.filterProps(props)\n const dividerProps = VDivider.filterProps(props)\n const [rootAttrs, inputAttrs] = filterInputAttrs(attrs)\n\n const inputNode = (\n <input\n ref={ inputRef }\n type=\"file\"\n disabled={ props.disabled }\n multiple={ props.multiple }\n name={ props.name }\n onChange={ e => {\n if (!e.target) return\n\n const target = e.target as HTMLInputElement\n model.value = [...target.files ?? []]\n }}\n { ...inputAttrs }\n />\n )\n\n return (\n <>\n <VSheet\n ref={ vSheetRef }\n { ...cardProps }\n class={[\n 'v-file-upload',\n {\n 'v-file-upload--clickable': !hasBrowse,\n 'v-file-upload--disabled': props.disabled,\n 'v-file-upload--dragging': dragOver.value,\n },\n densityClasses.value,\n ]}\n onDragleave={ onDragLeave }\n onDragover={ onDragOver }\n onDrop={ onDrop }\n onClick={ !hasBrowse ? onClick : undefined }\n { ...rootAttrs }\n >\n { hasIcon && (\n <div key=\"icon\" class=\"v-file-upload-icon\">\n { !slots.icon ? (\n <VIcon\n key=\"icon-icon\"\n icon={ props.icon }\n />\n ) : (\n <VDefaultsProvider\n key=\"icon-defaults\"\n defaults={{\n VIcon: {\n icon: props.icon,\n },\n }}\n >\n { slots.icon() }\n </VDefaultsProvider>\n )}\n </div>\n )}\n\n { hasTitle && (\n <div key=\"title\" class=\"v-file-upload-title\">\n { slots.title?.() ?? t(props.title) }\n </div>\n )}\n\n { props.density === 'default' && (\n <>\n <div key=\"upload-divider\" class=\"v-file-upload-divider\">\n { slots.divider?.() ?? (\n <VDivider { ...dividerProps }>\n { t(props.dividerText) }\n </VDivider>\n )}\n </div>\n\n { hasBrowse && (\n <>\n { !slots.browse ? (\n <VBtn\n readonly={ props.disabled }\n size=\"large\"\n text={ t(props.browseText) }\n variant=\"tonal\"\n onClick={ onClick }\n />\n ) : (\n <VDefaultsProvider\n defaults={{\n VBtn: {\n readonly: props.disabled,\n size: 'large',\n text: t(props.browseText),\n variant: 'tonal',\n },\n }}\n >\n { slots.browse({ props: { onClick } }) }\n </VDefaultsProvider>\n )}\n </>\n )}\n\n { props.subtitle && (\n <div class=\"v-file-upload-subtitle\">\n { props.subtitle }\n </div>\n )}\n </>\n )}\n\n <VOverlay\n model-value={ dragOver.value }\n contained\n scrim={ props.scrim }\n />\n\n { slots.input?.({ inputNode }) ?? inputNode }\n </VSheet>\n\n { model.value.length > 0 && (\n <div class=\"v-file-upload-items\">\n { model.value.map((file, i) => {\n const slotProps = {\n file,\n props: {\n 'onClick:remove': () => onClickRemove(i),\n },\n }\n\n return (\n <VDefaultsProvider\n key={ i }\n defaults={{\n VFileUploadItem: {\n file,\n clearable: props.clearable,\n disabled: props.disabled,\n showSize: props.showSize,\n },\n }}\n >\n { slots.item?.(slotProps) ?? (\n <VFileUploadItem\n key={ i }\n onClick:remove={ () => onClickRemove(i) }\n v-slots={ slots }\n />\n )}\n </VDefaultsProvider>\n )\n })}\n </div>\n )}\n </>\n )\n })\n },\n})\n\nexport type VFileUpload = InstanceType<typeof VFileUpload>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,eAAe;AAA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,KAAK,GAAG;UAAEX;QAAU,CAAC,CAAC,IAAIA,SAAS;MAAA,IAG3CzC,KAAK,CAACK,KAAK,CAACjB,MAAM,GAAG,CAAC,IAAAsD,YAAA;QAAA;MAAA,IAElB1C,KAAK,CAACK,KAAK,CAACgD,GAAG,CAAC,CAAClC,IAAI,EAAEW,CAAC,KAAK;QAC7B,MAAMwB,SAAS,GAAG;UAChBnC,IAAI;UACJ5B,KAAK,EAAE;YACL,gBAAgB,EAAEgE,CAAA,KAAM9B,aAAa,CAACK,CAAC;UACzC;QACF,CAAC;QAED,OAAAY,YAAA,CAAArG,iBAAA;UAAA,OAEUyF,CAAC;UAAA,YACG;YACR3F,eAAe,EAAE;cACfgF,IAAI;cACJvC,SAAS,EAAEW,KAAK,CAACX,SAAS;cAC1BE,QAAQ,EAAES,KAAK,CAACT,QAAQ;cACxBI,QAAQ,EAAEK,KAAK,CAACL;YAClB;UACF;QAAC;UAAAlB,OAAA,EAAAA,CAAA,MAEC6B,KAAK,CAAC2D,IAAI,GAAGF,SAAS,CAAC,IAAAZ,YAAA,CAAAvG,eAAA;YAAA,OAEf2F,CAAC;YAAA,kBACUyB,CAAA,KAAM9B,aAAa,CAACK,CAAC;UAAC,GAC7BjC,KAAK,CAElB;QAAA;MAGP,CAAC,CAAC,EAEL;IAGP,CAAC,CAAC;EACJ;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"VFileUpload.mjs","names":["VFileUploadItem","VBtn","VDefaultsProvider","makeVDividerProps","VDivider","VIcon","VOverlay","makeVSheetProps","VSheet","makeDelayProps","makeDensityProps","useDensity","IconValue","useLocale","useProxiedModel","onMounted","onUnmounted","ref","shallowRef","filterInputAttrs","genericComponent","pick","propsFactory","useRender","wrapInArray","makeVFileUploadProps","browseText","type","String","default","dividerText","title","subtitle","icon","modelValue","Array","Object","validator","val","every","v","clearable","Boolean","disabled","hideBrowse","multiple","scrim","showSize","name","length","VFileUpload","inheritAttrs","props","emits","files","setup","_ref","attrs","slots","t","densityClasses","model","isArray","dragOver","vSheetRef","inputRef","value","$el","addEventListener","onDragOver","onDrop","removeEventListener","e","preventDefault","stopImmediatePropagation","onDragLeave","from","dataTransfer","array","slice","file","some","f","push","onClick","click","onClickRemove","index","newValue","filter","_","i","hasTitle","hasIcon","hasBrowse","browse","density","cardProps","filterProps","dividerProps","rootAttrs","inputAttrs","inputNode","_createVNode","_mergeProps","target","_Fragment","class","style","undefined","divider","readonly","size","text","variant","input","map","slotProps","onClick:remove","item"],"sources":["../../../src/labs/VFileUpload/VFileUpload.tsx"],"sourcesContent":["// Styles\nimport './VFileUpload.sass'\n\n// Components\nimport { VFileUploadItem } from './VFileUploadItem'\nimport { VBtn } from '@/components/VBtn/VBtn'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider/VDefaultsProvider'\nimport { makeVDividerProps, VDivider } from '@/components/VDivider/VDivider'\nimport { VIcon } from '@/components/VIcon/VIcon'\nimport { VOverlay } from '@/components/VOverlay/VOverlay'\nimport { makeVSheetProps, VSheet } from '@/components/VSheet/VSheet'\n\n// Composables\nimport { makeDelayProps } from '@/composables/delay'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { IconValue } from '@/composables/icons'\nimport { useLocale } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { onMounted, onUnmounted, ref, shallowRef } from 'vue'\nimport { filterInputAttrs, genericComponent, pick, propsFactory, useRender, wrapInArray } from '@/util'\n\n// Types\nimport type { PropType, VNode } from 'vue'\n\nexport type VFileUploadSlots = {\n browse: {\n props: { onClick: (e: MouseEvent) => void }\n }\n default: never\n icon: never\n input: {\n inputNode: VNode\n }\n item: {\n file: File\n props: { 'onClick:remove': () => void }\n }\n title: never\n divider: never\n}\n\nexport const makeVFileUploadProps = propsFactory({\n browseText: {\n type: String,\n default: '$vuetify.fileUpload.browse',\n },\n dividerText: {\n type: String,\n default: '$vuetify.fileUpload.divider',\n },\n title: {\n type: String,\n default: '$vuetify.fileUpload.title',\n },\n subtitle: String,\n icon: {\n type: IconValue,\n default: '$upload',\n },\n modelValue: {\n type: [Array, Object] as PropType<File[] | File>,\n default: null,\n validator: (val: any) => {\n return wrapInArray(val).every(v => v != null && typeof v === 'object')\n },\n },\n clearable: Boolean,\n disabled: Boolean,\n hideBrowse: Boolean,\n multiple: Boolean,\n scrim: {\n type: [Boolean, String],\n default: true,\n },\n showSize: Boolean,\n name: String,\n\n ...makeDelayProps(),\n ...makeDensityProps(),\n ...pick(makeVDividerProps({\n length: 150,\n }), ['length', 'thickness', 'opacity']),\n ...makeVSheetProps(),\n}, 'VFileUpload')\n\nexport const VFileUpload = genericComponent<VFileUploadSlots>()({\n name: 'VFileUpload',\n\n inheritAttrs: false,\n\n props: makeVFileUploadProps(),\n\n emits: {\n 'update:modelValue': (files: File[]) => true,\n },\n\n setup (props, { attrs, slots }) {\n const { t } = useLocale()\n const { densityClasses } = useDensity(props)\n const model = useProxiedModel(\n props,\n 'modelValue',\n props.modelValue,\n val => wrapInArray(val),\n val => (props.multiple || Array.isArray(props.modelValue)) ? val : val[0],\n )\n\n const dragOver = shallowRef(false)\n const vSheetRef = ref<InstanceType<typeof VSheet> | null>(null)\n const inputRef = ref<HTMLInputElement | null>(null)\n\n onMounted(() => {\n vSheetRef.value?.$el.addEventListener('dragover', onDragOver)\n vSheetRef.value?.$el.addEventListener('drop', onDrop)\n })\n\n onUnmounted(() => {\n vSheetRef.value?.$el.removeEventListener('dragover', onDragOver)\n vSheetRef.value?.$el.removeEventListener('drop', onDrop)\n })\n\n function onDragOver (e: DragEvent) {\n e.preventDefault()\n e.stopImmediatePropagation()\n dragOver.value = true\n }\n\n function onDragLeave (e: DragEvent) {\n e.preventDefault()\n dragOver.value = false\n }\n\n function onDrop (e: DragEvent) {\n e.preventDefault()\n e.stopImmediatePropagation()\n dragOver.value = false\n\n const files = Array.from(e.dataTransfer?.files ?? [])\n\n if (!files.length) return\n\n if (!props.multiple) {\n model.value = [files[0]]\n\n return\n }\n\n const array = model.value.slice()\n\n for (const file of files) {\n if (!array.some(f => f.name === file.name)) {\n array.push(file)\n }\n }\n\n model.value = array\n }\n\n function onClick () {\n inputRef.value?.click()\n }\n\n function onClickRemove (index: number) {\n const newValue = model.value.filter((_, i) => i !== index)\n model.value = newValue\n\n if (newValue.length > 0 || !inputRef.value) return\n\n inputRef.value.value = ''\n }\n\n useRender(() => {\n const hasTitle = !!(slots.title || props.title)\n const hasIcon = !!(slots.icon || props.icon)\n const hasBrowse = !!(!props.hideBrowse && (slots.browse || props.density === 'default'))\n const cardProps = VSheet.filterProps(props)\n const dividerProps = VDivider.filterProps(props)\n const [rootAttrs, inputAttrs] = filterInputAttrs(attrs)\n\n const inputNode = (\n <input\n ref={ inputRef }\n type=\"file\"\n disabled={ props.disabled }\n multiple={ props.multiple }\n name={ props.name }\n onChange={ e => {\n if (!e.target) return\n\n const target = e.target as HTMLInputElement\n model.value = [...target.files ?? []]\n }}\n { ...inputAttrs }\n />\n )\n\n return (\n <>\n <VSheet\n ref={ vSheetRef }\n { ...cardProps }\n class={[\n 'v-file-upload',\n {\n 'v-file-upload--clickable': !hasBrowse,\n 'v-file-upload--disabled': props.disabled,\n 'v-file-upload--dragging': dragOver.value,\n },\n densityClasses.value,\n props.class,\n ]}\n style={[\n props.style,\n ]}\n onDragleave={ onDragLeave }\n onDragover={ onDragOver }\n onDrop={ onDrop }\n onClick={ !hasBrowse ? onClick : undefined }\n { ...rootAttrs }\n >\n { hasIcon && (\n <div key=\"icon\" class=\"v-file-upload-icon\">\n { !slots.icon ? (\n <VIcon\n key=\"icon-icon\"\n icon={ props.icon }\n />\n ) : (\n <VDefaultsProvider\n key=\"icon-defaults\"\n defaults={{\n VIcon: {\n icon: props.icon,\n },\n }}\n >\n { slots.icon() }\n </VDefaultsProvider>\n )}\n </div>\n )}\n\n { hasTitle && (\n <div key=\"title\" class=\"v-file-upload-title\">\n { slots.title?.() ?? t(props.title) }\n </div>\n )}\n\n { props.density === 'default' && (\n <>\n <div key=\"upload-divider\" class=\"v-file-upload-divider\">\n { slots.divider?.() ?? (\n <VDivider { ...dividerProps }>\n { t(props.dividerText) }\n </VDivider>\n )}\n </div>\n\n { hasBrowse && (\n <>\n { !slots.browse ? (\n <VBtn\n readonly={ props.disabled }\n size=\"large\"\n text={ t(props.browseText) }\n variant=\"tonal\"\n onClick={ onClick }\n />\n ) : (\n <VDefaultsProvider\n defaults={{\n VBtn: {\n readonly: props.disabled,\n size: 'large',\n text: t(props.browseText),\n variant: 'tonal',\n },\n }}\n >\n { slots.browse({ props: { onClick } }) }\n </VDefaultsProvider>\n )}\n </>\n )}\n\n { props.subtitle && (\n <div class=\"v-file-upload-subtitle\">\n { props.subtitle }\n </div>\n )}\n </>\n )}\n\n <VOverlay\n model-value={ dragOver.value }\n contained\n scrim={ props.scrim }\n />\n\n { slots.input?.({ inputNode }) ?? inputNode }\n </VSheet>\n\n { model.value.length > 0 && (\n <div class=\"v-file-upload-items\">\n { model.value.map((file, i) => {\n const slotProps = {\n file,\n props: {\n 'onClick:remove': () => onClickRemove(i),\n },\n }\n\n return (\n <VDefaultsProvider\n key={ i }\n defaults={{\n VFileUploadItem: {\n file,\n clearable: props.clearable,\n disabled: props.disabled,\n showSize: props.showSize,\n },\n }}\n >\n { slots.item?.(slotProps) ?? (\n <VFileUploadItem\n key={ i }\n onClick:remove={ () => onClickRemove(i) }\n v-slots={ slots }\n />\n )}\n </VDefaultsProvider>\n )\n })}\n </div>\n )}\n </>\n )\n })\n },\n})\n\nexport type VFileUpload = InstanceType<typeof VFileUpload>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,eAAe;AAAA,SACfC,IAAI;AAAA,SACJC,iBAAiB;AAAA,SACjBC,iBAAiB,EAAEC,QAAQ;AAAA,SAC3BC,KAAK;AAAA,SACLC,QAAQ;AAAA,SACRC,eAAe,EAAEC,MAAM,8CAEhC;AAAA,SACSC,cAAc;AAAA,SACdC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,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AK,CAACK,KAAK,CAACkD,GAAG,CAAC,CAACpC,IAAI,EAAEW,CAAC,KAAK;QAC7B,MAAM0B,SAAS,GAAG;UAChBrC,IAAI;UACJ5B,KAAK,EAAE;YACL,gBAAgB,EAAEkE,CAAA,KAAMhC,aAAa,CAACK,CAAC;UACzC;QACF,CAAC;QAED,OAAAY,YAAA,CAAArG,iBAAA;UAAA,OAEUyF,CAAC;UAAA,YACG;YACR3F,eAAe,EAAE;cACfgF,IAAI;cACJvC,SAAS,EAAEW,KAAK,CAACX,SAAS;cAC1BE,QAAQ,EAAES,KAAK,CAACT,QAAQ;cACxBI,QAAQ,EAAEK,KAAK,CAACL;YAClB;UACF;QAAC;UAAAlB,OAAA,EAAAA,CAAA,MAEC6B,KAAK,CAAC6D,IAAI,GAAGF,SAAS,CAAC,IAAAd,YAAA,CAAAvG,eAAA;YAAA,OAEf2F,CAAC;YAAA,kBACU2B,CAAA,KAAMhC,aAAa,CAACK,CAAC;UAAC,GAC7BjC,KAAK,CAElB;QAAA;MAGP,CAAC,CAAC,EAEL;IAGP,CAAC,CAAC;EACJ;AACF,CAAC,CAAC","ignoreList":[]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vuetify/nightly",
3
3
  "description": "Vue Material Component Framework",
4
- "version": "3.7.19-master.2025-03-26",
4
+ "version": "3.7.19-master.2025-03-27",
5
5
  "author": {
6
6
  "name": "John Leider",
7
7
  "email": "john@vuetifyjs.com"