@vuetify/nightly 3.7.1-master.2024-08-28 → 3.7.1-master.2024-08-29
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.
- package/dist/json/importMap-labs.json +30 -30
- package/dist/json/importMap.json +138 -138
- package/dist/json/web-types.json +1 -1
- package/dist/vuetify-labs.css +5540 -5540
- package/dist/vuetify-labs.esm.js +4 -4
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +4 -4
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +3142 -3142
- package/dist/vuetify.d.ts +51 -51
- package/dist/vuetify.esm.js +3 -3
- package/dist/vuetify.js +3 -3
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +3 -3
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +51 -51
- package/lib/labs/VTreeview/VTreeviewChildren.mjs +1 -1
- package/lib/labs/VTreeview/VTreeviewChildren.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vuetify.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.1-master.2024-08-
|
2
|
+
* Vuetify v3.7.1-master.2024-08-29
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -2099,8 +2099,8 @@ if(d.install(e),e.provide(xt,u),e.provide(yn,c),e.provide(wa,d),e.provide(Lt,v),
|
|
2099
2099
|
else{const{mount:a}=e
|
2100
2100
|
e.mount=function(){const l=a(...arguments)
|
2101
2101
|
return t.nextTick((()=>c.update())),e.mount=a,l}}kt.reset(),("boolean"!=typeof __VUE_OPTIONS_API__||__VUE_OPTIONS_API__)&&e.mixin({computed:{$vuetify(){return t.reactive({defaults:uf.call(this,xt),display:uf.call(this,yn),theme:uf.call(this,wa),icons:uf.call(this,Lt),locale:uf.call(this,ga),date:uf.call(this,gu)})}}})},defaults:u,display:c,theme:d,icons:v,locale:p,date:f,goTo:m}}function uf(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
|
2102
|
-
if(a&&e in a)return a[e]}sf.version="3.7.1-master.2024-08-
|
2103
|
-
const cf=function(){return sf({components:Qp,directives:rf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},df="3.7.1-master.2024-08-
|
2102
|
+
if(a&&e in a)return a[e]}sf.version="3.7.1-master.2024-08-29"
|
2103
|
+
const cf=function(){return sf({components:Qp,directives:rf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},df="3.7.1-master.2024-08-29"
|
2104
2104
|
cf.version=df,e.blueprints=Qt,e.components=Qp,e.createVuetify=cf,e.directives=rf,e.useDate=yu,e.useDefaults=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0
|
2105
2105
|
const{props:a,provideSubDefaults:l}=_t(e,t)
|
2106
2106
|
return l(),a},e.useDisplay=Nn,e.useGoTo=Pn,e.useLayout=oa,e.useLocale=ya,e.useRtl=Va,e.useTheme=Na,e.version=df}))
|
package/lib/entry-bundler.mjs
CHANGED
@@ -16,7 +16,7 @@ export const createVuetify = function () {
|
|
16
16
|
...options
|
17
17
|
});
|
18
18
|
};
|
19
|
-
export const version = "3.7.1-master.2024-08-
|
19
|
+
export const version = "3.7.1-master.2024-08-29";
|
20
20
|
createVuetify.version = version;
|
21
21
|
export { blueprints, components, directives };
|
22
22
|
export * from "./composables/index.mjs";
|
package/lib/framework.mjs
CHANGED
package/lib/index.d.mts
CHANGED
@@ -490,17 +490,20 @@ declare module 'vue' {
|
|
490
490
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
491
491
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
492
492
|
VApp: typeof import('vuetify/components')['VApp']
|
493
|
-
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
494
|
-
VAvatar: typeof import('vuetify/components')['VAvatar']
|
495
493
|
VAlert: typeof import('vuetify/components')['VAlert']
|
496
494
|
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
497
|
-
|
495
|
+
VAvatar: typeof import('vuetify/components')['VAvatar']
|
498
496
|
VBadge: typeof import('vuetify/components')['VBadge']
|
499
|
-
VBtn: typeof import('vuetify/components')['VBtn']
|
500
|
-
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
501
497
|
VBanner: typeof import('vuetify/components')['VBanner']
|
502
498
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
503
499
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
500
|
+
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
501
|
+
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
502
|
+
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
503
|
+
VBtn: typeof import('vuetify/components')['VBtn']
|
504
|
+
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
505
|
+
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
506
|
+
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
504
507
|
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
505
508
|
VCard: typeof import('vuetify/components')['VCard']
|
506
509
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
@@ -509,32 +512,24 @@ declare module 'vue' {
|
|
509
512
|
VCardText: typeof import('vuetify/components')['VCardText']
|
510
513
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
511
514
|
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
512
|
-
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
513
|
-
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
514
|
-
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
515
|
-
VChip: typeof import('vuetify/components')['VChip']
|
516
515
|
VCarousel: typeof import('vuetify/components')['VCarousel']
|
517
516
|
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
517
|
+
VChip: typeof import('vuetify/components')['VChip']
|
518
|
+
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
518
519
|
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
519
520
|
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
520
|
-
VCode: typeof import('vuetify/components')['VCode']
|
521
|
-
VCounter: typeof import('vuetify/components')['VCounter']
|
522
|
-
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
523
521
|
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
522
|
+
VCombobox: typeof import('vuetify/components')['VCombobox']
|
523
|
+
VCounter: typeof import('vuetify/components')['VCounter']
|
524
|
+
VCode: typeof import('vuetify/components')['VCode']
|
524
525
|
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
525
526
|
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
526
527
|
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
527
528
|
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
528
529
|
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
529
530
|
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
530
|
-
VCombobox: typeof import('vuetify/components')['VCombobox']
|
531
531
|
VDivider: typeof import('vuetify/components')['VDivider']
|
532
|
-
VFab: typeof import('vuetify/components')['VFab']
|
533
532
|
VDialog: typeof import('vuetify/components')['VDialog']
|
534
|
-
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
535
|
-
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
536
|
-
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
537
|
-
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
538
533
|
VDataTable: typeof import('vuetify/components')['VDataTable']
|
539
534
|
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
540
535
|
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
@@ -542,9 +537,14 @@ declare module 'vue' {
|
|
542
537
|
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
543
538
|
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
544
539
|
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
540
|
+
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
545
541
|
VFileInput: typeof import('vuetify/components')['VFileInput']
|
542
|
+
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
543
|
+
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
544
|
+
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
545
|
+
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
546
546
|
VFooter: typeof import('vuetify/components')['VFooter']
|
547
|
-
|
547
|
+
VFab: typeof import('vuetify/components')['VFab']
|
548
548
|
VField: typeof import('vuetify/components')['VField']
|
549
549
|
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
550
550
|
VIcon: typeof import('vuetify/components')['VIcon']
|
@@ -552,12 +552,12 @@ declare module 'vue' {
|
|
552
552
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
553
553
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
554
554
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
555
|
-
VKbd: typeof import('vuetify/components')['VKbd']
|
556
|
-
VImg: typeof import('vuetify/components')['VImg']
|
557
555
|
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
556
|
+
VImg: typeof import('vuetify/components')['VImg']
|
557
|
+
VInput: typeof import('vuetify/components')['VInput']
|
558
558
|
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
559
559
|
VItem: typeof import('vuetify/components')['VItem']
|
560
|
-
|
560
|
+
VLabel: typeof import('vuetify/components')['VLabel']
|
561
561
|
VList: typeof import('vuetify/components')['VList']
|
562
562
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
563
563
|
VListImg: typeof import('vuetify/components')['VListImg']
|
@@ -567,66 +567,66 @@ declare module 'vue' {
|
|
567
567
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
568
568
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
569
569
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
570
|
-
|
570
|
+
VKbd: typeof import('vuetify/components')['VKbd']
|
571
571
|
VMain: typeof import('vuetify/components')['VMain']
|
572
572
|
VMessages: typeof import('vuetify/components')['VMessages']
|
573
573
|
VMenu: typeof import('vuetify/components')['VMenu']
|
574
574
|
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
575
|
-
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
576
575
|
VOverlay: typeof import('vuetify/components')['VOverlay']
|
577
|
-
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
578
576
|
VPagination: typeof import('vuetify/components')['VPagination']
|
577
|
+
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
578
|
+
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
579
579
|
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
580
|
+
VRating: typeof import('vuetify/components')['VRating']
|
580
581
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
581
|
-
VSelect: typeof import('vuetify/components')['VSelect']
|
582
582
|
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
583
|
-
VRating: typeof import('vuetify/components')['VRating']
|
584
|
-
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
585
583
|
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
584
|
+
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
585
|
+
VSelect: typeof import('vuetify/components')['VSelect']
|
586
|
+
VSheet: typeof import('vuetify/components')['VSheet']
|
586
587
|
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
587
588
|
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
588
|
-
|
589
|
-
VSlider: typeof import('vuetify/components')['VSlider']
|
590
|
-
VTab: typeof import('vuetify/components')['VTab']
|
591
|
-
VTabs: typeof import('vuetify/components')['VTabs']
|
592
|
-
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
593
|
-
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
594
|
-
VSwitch: typeof import('vuetify/components')['VSwitch']
|
589
|
+
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
595
590
|
VStepper: typeof import('vuetify/components')['VStepper']
|
596
591
|
VStepperActions: typeof import('vuetify/components')['VStepperActions']
|
597
592
|
VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
|
598
593
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
599
594
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
600
595
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
601
|
-
|
596
|
+
VSlider: typeof import('vuetify/components')['VSlider']
|
602
597
|
VTable: typeof import('vuetify/components')['VTable']
|
603
598
|
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
604
599
|
VTextField: typeof import('vuetify/components')['VTextField']
|
600
|
+
VSwitch: typeof import('vuetify/components')['VSwitch']
|
601
|
+
VTextarea: typeof import('vuetify/components')['VTextarea']
|
602
|
+
VTab: typeof import('vuetify/components')['VTab']
|
603
|
+
VTabs: typeof import('vuetify/components')['VTabs']
|
604
|
+
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
605
|
+
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
606
|
+
VTooltip: typeof import('vuetify/components')['VTooltip']
|
607
|
+
VTimeline: typeof import('vuetify/components')['VTimeline']
|
608
|
+
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
605
609
|
VToolbar: typeof import('vuetify/components')['VToolbar']
|
606
610
|
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
607
611
|
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
608
|
-
VTimeline: typeof import('vuetify/components')['VTimeline']
|
609
|
-
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
610
|
-
VTextarea: typeof import('vuetify/components')['VTextarea']
|
611
612
|
VWindow: typeof import('vuetify/components')['VWindow']
|
612
613
|
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
613
|
-
VTooltip: typeof import('vuetify/components')['VTooltip']
|
614
614
|
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
615
615
|
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
616
616
|
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
617
|
+
VForm: typeof import('vuetify/components')['VForm']
|
617
618
|
VContainer: typeof import('vuetify/components')['VContainer']
|
618
619
|
VCol: typeof import('vuetify/components')['VCol']
|
619
620
|
VRow: typeof import('vuetify/components')['VRow']
|
620
621
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
621
|
-
VForm: typeof import('vuetify/components')['VForm']
|
622
622
|
VLayout: typeof import('vuetify/components')['VLayout']
|
623
623
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
624
624
|
VHover: typeof import('vuetify/components')['VHover']
|
625
625
|
VLazy: typeof import('vuetify/components')['VLazy']
|
626
626
|
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
627
627
|
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
628
|
-
VParallax: typeof import('vuetify/components')['VParallax']
|
629
628
|
VRadio: typeof import('vuetify/components')['VRadio']
|
629
|
+
VParallax: typeof import('vuetify/components')['VParallax']
|
630
630
|
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
631
631
|
VResponsive: typeof import('vuetify/components')['VResponsive']
|
632
632
|
VSparkline: typeof import('vuetify/components')['VSparkline']
|
@@ -650,26 +650,26 @@ declare module 'vue' {
|
|
650
650
|
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
651
651
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
652
652
|
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
653
|
-
|
654
|
-
|
655
|
-
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
653
|
+
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
654
|
+
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
656
655
|
VCalendar: typeof import('vuetify/labs/components')['VCalendar']
|
657
656
|
VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
|
658
657
|
VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
|
659
658
|
VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
|
660
659
|
VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
|
661
660
|
VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
|
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
|
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
666
|
-
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
667
|
-
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
668
662
|
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
669
663
|
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
670
664
|
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
665
|
+
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
666
|
+
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
667
|
+
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
668
|
+
VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
|
669
|
+
VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
|
670
|
+
VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
|
671
671
|
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
672
|
-
VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
|
673
672
|
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
673
|
+
VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
|
674
674
|
}
|
675
675
|
}
|
@@ -105,7 +105,7 @@ export const VTreeviewChildren = genericComponent()({
|
|
105
105
|
...itemProps,
|
106
106
|
...activatorProps,
|
107
107
|
value: itemProps?.value,
|
108
|
-
onToggleExpand: activatorProps.onClick,
|
108
|
+
onToggleExpand: [() => checkChildren(item), activatorProps.onClick],
|
109
109
|
onClick: isClickOnOpen.value ? [() => checkChildren(item), activatorProps.onClick] : undefined
|
110
110
|
};
|
111
111
|
return _createVNode(VTreeviewItem, _mergeProps(listItemProps, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VTreeviewChildren.mjs","names":["VTreeviewGroup","VTreeviewItem","VCheckboxBtn","IconValue","computed","shallowRef","toRaw","withModifiers","genericComponent","propsFactory","makeVTreeviewChildrenProps","loadChildren","Function","loadingIcon","type","String","default","items","Array","openOnClick","Boolean","undefined","indeterminateIcon","falseIcon","trueIcon","returnObject","selectable","selectedColor","selectStrategy","Object","VTreeviewChildren","name","props","setup","_ref","emit","slots","isLoading","isClickOnOpen","checkChildren","item","Promise","resolve","length","children","value","then","finally","selectItem","select","isSelected","map","_ref2","itemProps","raw","loading","slotsWithItem","prepend","slotProps","_createVNode","_Fragment","includes","isIndeterminate","e","key","stopPropagation","append","title","treeviewGroupProps","filterProps","treeviewChildrenProps","_mergeProps","activator","_ref3","activatorProps","listItemProps","onToggleExpand","onClick"],"sources":["../../../src/labs/VTreeview/VTreeviewChildren.tsx"],"sourcesContent":["// Components\nimport { VTreeviewGroup } from './VTreeviewGroup'\nimport { VTreeviewItem } from './VTreeviewItem'\nimport { VCheckboxBtn } from '@/components/VCheckbox'\n\n// Composables\nimport { IconValue } from '@/composables/icons'\n\n// Utilities\nimport { computed, shallowRef, toRaw, withModifiers } from 'vue'\nimport { genericComponent, propsFactory } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { InternalListItem } from '@/components/VList/VList'\nimport type { VListItemSlots } from '@/components/VList/VListItem'\nimport type { SelectStrategyProp } from '@/composables/nested/nested'\nimport type { GenericProps } from '@/util'\n\nexport type VTreeviewChildrenSlots<T> = {\n [K in keyof Omit<VListItemSlots, 'default'>]: VListItemSlots[K] & { item: T }\n} & {\n default: never\n item: { props: InternalListItem['props'] }\n}\n\nexport const makeVTreeviewChildrenProps = propsFactory({\n loadChildren: Function as PropType<(item: unknown) => Promise<void>>,\n loadingIcon: {\n type: String,\n default: '$loading',\n },\n items: Array as PropType<readonly InternalListItem[]>,\n openOnClick: {\n type: Boolean,\n default: undefined,\n },\n indeterminateIcon: {\n type: IconValue,\n default: '$checkboxIndeterminate',\n },\n falseIcon: IconValue,\n trueIcon: IconValue,\n returnObject: Boolean,\n selectable: Boolean,\n selectedColor: String,\n selectStrategy: [String, Function, Object] as PropType<SelectStrategyProp>,\n}, 'VTreeviewChildren')\n\nexport const VTreeviewChildren = genericComponent<new <T extends InternalListItem>(\n props: {\n items?: readonly T[]\n },\n slots: VTreeviewChildrenSlots<T>\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VTreeviewChildren',\n\n props: makeVTreeviewChildrenProps(),\n\n setup (props, { emit, slots }) {\n const isLoading = shallowRef(null)\n\n const isClickOnOpen = computed(() => props.openOnClick != null ? props.openOnClick : props.selectable)\n\n function checkChildren (item: any) {\n return new Promise<void>(resolve => {\n if (!props.items?.length || !props.loadChildren) return resolve()\n\n if (item?.children?.length === 0) {\n isLoading.value = item.value\n props.loadChildren(item).then(resolve)\n\n return\n }\n\n resolve()\n }).finally(() => {\n isLoading.value = null\n })\n }\n\n function selectItem (select: (value: boolean) => void, isSelected: boolean) {\n if (props.selectable) {\n select(!isSelected)\n }\n }\n\n return () => slots.default?.() ?? props.items?.map(({ children, props: itemProps, raw: item }) => {\n const loading = isLoading.value === item.value\n const slotsWithItem = {\n prepend: slotProps => (\n <>\n { props.selectable && (!children || (children && !['leaf', 'single-leaf'].includes(props.selectStrategy as string))) && (\n <div>\n <VCheckboxBtn\n key={ item.value }\n modelValue={ slotProps.isSelected }\n loading={ loading }\n color={ props.selectedColor }\n indeterminate={ slotProps.isIndeterminate }\n indeterminateIcon={ props.indeterminateIcon }\n falseIcon={ props.falseIcon }\n trueIcon={ props.trueIcon }\n onClick={ withModifiers(() => selectItem(slotProps.select, slotProps.isSelected), ['stop']) }\n onKeydown={ (e: KeyboardEvent) => {\n if (!['Enter', 'Space'].includes(e.key)) return\n e.stopPropagation()\n selectItem(slotProps.select, slotProps.isSelected)\n }}\n />\n </div>\n )}\n\n { slots.prepend?.({ ...slotProps, item }) }\n </>\n ),\n append: slots.append ? slotProps => slots.append?.({ ...slotProps, item }) : undefined,\n title: slots.title ? slotProps => slots.title?.({ ...slotProps, item }) : undefined,\n } satisfies VTreeviewItem['$props']['$children']\n\n const treeviewGroupProps = VTreeviewGroup.filterProps(itemProps)\n const treeviewChildrenProps = VTreeviewChildren.filterProps(props)\n\n return children ? (\n <VTreeviewGroup\n { ...treeviewGroupProps }\n value={ props.returnObject ? item : treeviewGroupProps?.value }\n >\n {{\n activator: ({ props: activatorProps }) => {\n const listItemProps = {\n ...itemProps,\n ...activatorProps,\n value: itemProps?.value,\n onToggleExpand: activatorProps.onClick as any,\n onClick: isClickOnOpen.value ? [() => checkChildren(item), activatorProps.onClick] as any : undefined,\n }\n\n return (\n <VTreeviewItem\n { ...listItemProps }\n value={ props.returnObject ? toRaw(item) : itemProps.value }\n loading={ loading }\n v-slots={ slotsWithItem }\n />\n )\n },\n default: () => (\n <VTreeviewChildren\n { ...treeviewChildrenProps }\n items={ children }\n returnObject={ props.returnObject }\n v-slots={ slots }\n />\n ),\n }}\n </VTreeviewGroup>\n ) : (\n slots.item?.({ props: itemProps }) ?? (\n <VTreeviewItem\n { ...itemProps }\n value={ props.returnObject ? toRaw(item) : itemProps.value }\n v-slots={ slotsWithItem }\n />\n ))\n })\n },\n})\n"],"mappings":";AAAA;AAAA,SACSA,cAAc;AAAA,SACdC,aAAa;AAAA,SACbC,YAAY,gDAErB;AAAA,SACSC,SAAS,uCAElB;AACA,SAASC,QAAQ,EAAEC,UAAU,EAAEC,KAAK,EAAEC,aAAa,QAAQ,KAAK;AAAA,SACvDC,gBAAgB,EAAEC,YAAY,gCAEvC;AAcA,OAAO,MAAMC,0BAA0B,GAAGD,YAAY,CAAC;EACrDE,YAAY,EAAEC,QAAsD;EACpEC,WAAW,EAAE;IACXC,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAE;EACX,CAAC;EACDC,KAAK,EAAEC,KAA8C;EACrDC,WAAW,EAAE;IACXL,IAAI,EAAEM,OAAO;IACbJ,OAAO,EAAEK;EACX,CAAC;EACDC,iBAAiB,EAAE;IACjBR,IAAI,EAAEX,SAAS;IACfa,OAAO,EAAE;EACX,CAAC;EACDO,SAAS,EAAEpB,SAAS;EACpBqB,QAAQ,EAAErB,SAAS;EACnBsB,YAAY,EAAEL,OAAO;EACrBM,UAAU,EAAEN,OAAO;EACnBO,aAAa,EAAEZ,MAAM;EACrBa,cAAc,EAAE,CAACb,MAAM,EAAEH,QAAQ,EAAEiB,MAAM;AAC3C,CAAC,EAAE,mBAAmB,CAAC;AAEvB,OAAO,MAAMC,iBAAiB,GAAGtB,gBAAgB,CAKF,CAAC,CAAC;EAC/CuB,IAAI,EAAE,mBAAmB;EAEzBC,KAAK,EAAEtB,0BAA0B,CAAC,CAAC;EAEnCuB,KAAKA,CAAED,KAAK,EAAAE,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CAACP,YAAY,GAAGnB,KAAK,CAACkC,IAAI,CAAC,GAAGa,SAAS,CAACR;MAAK,IAChDW,aAAa,CAEzB;IACN,CAAC,CAAC;EACJ;AACF,CAAC,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"file":"VTreeviewChildren.mjs","names":["VTreeviewGroup","VTreeviewItem","VCheckboxBtn","IconValue","computed","shallowRef","toRaw","withModifiers","genericComponent","propsFactory","makeVTreeviewChildrenProps","loadChildren","Function","loadingIcon","type","String","default","items","Array","openOnClick","Boolean","undefined","indeterminateIcon","falseIcon","trueIcon","returnObject","selectable","selectedColor","selectStrategy","Object","VTreeviewChildren","name","props","setup","_ref","emit","slots","isLoading","isClickOnOpen","checkChildren","item","Promise","resolve","length","children","value","then","finally","selectItem","select","isSelected","map","_ref2","itemProps","raw","loading","slotsWithItem","prepend","slotProps","_createVNode","_Fragment","includes","isIndeterminate","e","key","stopPropagation","append","title","treeviewGroupProps","filterProps","treeviewChildrenProps","_mergeProps","activator","_ref3","activatorProps","listItemProps","onToggleExpand","onClick"],"sources":["../../../src/labs/VTreeview/VTreeviewChildren.tsx"],"sourcesContent":["// Components\nimport { VTreeviewGroup } from './VTreeviewGroup'\nimport { VTreeviewItem } from './VTreeviewItem'\nimport { VCheckboxBtn } from '@/components/VCheckbox'\n\n// Composables\nimport { IconValue } from '@/composables/icons'\n\n// Utilities\nimport { computed, shallowRef, toRaw, withModifiers } from 'vue'\nimport { genericComponent, propsFactory } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { InternalListItem } from '@/components/VList/VList'\nimport type { VListItemSlots } from '@/components/VList/VListItem'\nimport type { SelectStrategyProp } from '@/composables/nested/nested'\nimport type { GenericProps } from '@/util'\n\nexport type VTreeviewChildrenSlots<T> = {\n [K in keyof Omit<VListItemSlots, 'default'>]: VListItemSlots[K] & { item: T }\n} & {\n default: never\n item: { props: InternalListItem['props'] }\n}\n\nexport const makeVTreeviewChildrenProps = propsFactory({\n loadChildren: Function as PropType<(item: unknown) => Promise<void>>,\n loadingIcon: {\n type: String,\n default: '$loading',\n },\n items: Array as PropType<readonly InternalListItem[]>,\n openOnClick: {\n type: Boolean,\n default: undefined,\n },\n indeterminateIcon: {\n type: IconValue,\n default: '$checkboxIndeterminate',\n },\n falseIcon: IconValue,\n trueIcon: IconValue,\n returnObject: Boolean,\n selectable: Boolean,\n selectedColor: String,\n selectStrategy: [String, Function, Object] as PropType<SelectStrategyProp>,\n}, 'VTreeviewChildren')\n\nexport const VTreeviewChildren = genericComponent<new <T extends InternalListItem>(\n props: {\n items?: readonly T[]\n },\n slots: VTreeviewChildrenSlots<T>\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VTreeviewChildren',\n\n props: makeVTreeviewChildrenProps(),\n\n setup (props, { emit, slots }) {\n const isLoading = shallowRef(null)\n\n const isClickOnOpen = computed(() => props.openOnClick != null ? props.openOnClick : props.selectable)\n\n function checkChildren (item: any) {\n return new Promise<void>(resolve => {\n if (!props.items?.length || !props.loadChildren) return resolve()\n\n if (item?.children?.length === 0) {\n isLoading.value = item.value\n props.loadChildren(item).then(resolve)\n\n return\n }\n\n resolve()\n }).finally(() => {\n isLoading.value = null\n })\n }\n\n function selectItem (select: (value: boolean) => void, isSelected: boolean) {\n if (props.selectable) {\n select(!isSelected)\n }\n }\n\n return () => slots.default?.() ?? props.items?.map(({ children, props: itemProps, raw: item }) => {\n const loading = isLoading.value === item.value\n const slotsWithItem = {\n prepend: slotProps => (\n <>\n { props.selectable && (!children || (children && !['leaf', 'single-leaf'].includes(props.selectStrategy as string))) && (\n <div>\n <VCheckboxBtn\n key={ item.value }\n modelValue={ slotProps.isSelected }\n loading={ loading }\n color={ props.selectedColor }\n indeterminate={ slotProps.isIndeterminate }\n indeterminateIcon={ props.indeterminateIcon }\n falseIcon={ props.falseIcon }\n trueIcon={ props.trueIcon }\n onClick={ withModifiers(() => selectItem(slotProps.select, slotProps.isSelected), ['stop']) }\n onKeydown={ (e: KeyboardEvent) => {\n if (!['Enter', 'Space'].includes(e.key)) return\n e.stopPropagation()\n selectItem(slotProps.select, slotProps.isSelected)\n }}\n />\n </div>\n )}\n\n { slots.prepend?.({ ...slotProps, item }) }\n </>\n ),\n append: slots.append ? slotProps => slots.append?.({ ...slotProps, item }) : undefined,\n title: slots.title ? slotProps => slots.title?.({ ...slotProps, item }) : undefined,\n } satisfies VTreeviewItem['$props']['$children']\n\n const treeviewGroupProps = VTreeviewGroup.filterProps(itemProps)\n const treeviewChildrenProps = VTreeviewChildren.filterProps(props)\n\n return children ? (\n <VTreeviewGroup\n { ...treeviewGroupProps }\n value={ props.returnObject ? item : treeviewGroupProps?.value }\n >\n {{\n activator: ({ props: activatorProps }) => {\n const listItemProps = {\n ...itemProps,\n ...activatorProps,\n value: itemProps?.value,\n onToggleExpand: [() => checkChildren(item), activatorProps.onClick] as any,\n onClick: isClickOnOpen.value ? [() => checkChildren(item), activatorProps.onClick] as any : undefined,\n }\n\n return (\n <VTreeviewItem\n { ...listItemProps }\n value={ props.returnObject ? toRaw(item) : itemProps.value }\n loading={ loading }\n v-slots={ slotsWithItem }\n />\n )\n },\n default: () => (\n <VTreeviewChildren\n { ...treeviewChildrenProps }\n items={ children }\n returnObject={ props.returnObject }\n v-slots={ slots }\n />\n ),\n }}\n </VTreeviewGroup>\n ) : (\n slots.item?.({ props: itemProps }) ?? (\n <VTreeviewItem\n { ...itemProps }\n value={ props.returnObject ? toRaw(item) : itemProps.value }\n v-slots={ slotsWithItem }\n />\n ))\n })\n },\n})\n"],"mappings":";AAAA;AAAA,SACSA,cAAc;AAAA,SACdC,aAAa;AAAA,SACbC,YAAY,gDAErB;AAAA,SACSC,SAAS,uCAElB;AACA,SAASC,QAAQ,EAAEC,UAAU,EAAEC,KAAK,EAAEC,aAAa,QAAQ,KAAK;AAAA,SACvDC,gBAAgB,EAAEC,YAAY,gCAEvC;AAcA,OAAO,MAAMC,0BAA0B,GAAGD,YAAY,CAAC;EACrDE,YAAY,EAAEC,QAAsD;EACpEC,W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