@vuetify/nightly 3.7.2-master.2024-09-19 → 3.7.2-master.2024-09-22
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 +16 -16
- package/dist/json/importMap.json +156 -156
- package/dist/json/web-types.json +1 -1
- package/dist/vuetify-labs.css +3352 -3352
- package/dist/vuetify-labs.esm.js +5 -4
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +5 -4
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +4163 -4163
- package/dist/vuetify.d.ts +54 -54
- 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 +54 -54
- package/lib/labs/VTreeview/VTreeview.mjs +2 -1
- package/lib/labs/VTreeview/VTreeview.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.2-master.2024-09-
|
2
|
+
* Vuetify v3.7.2-master.2024-09-22
|
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.2-master.2024-09-
|
2103
|
-
const cf=function(){return sf({components:Qp,directives:rf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},df="3.7.2-master.2024-09-
|
2102
|
+
if(a&&e in a)return a[e]}sf.version="3.7.2-master.2024-09-22"
|
2103
|
+
const cf=function(){return sf({components:Qp,directives:rf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},df="3.7.2-master.2024-09-22"
|
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=Bn,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.2-master.2024-09-
|
19
|
+
export const version = "3.7.2-master.2024-09-22";
|
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
@@ -486,40 +486,32 @@ declare module 'vue' {
|
|
486
486
|
$children?: VNodeChild
|
487
487
|
}
|
488
488
|
export interface GlobalComponents {
|
489
|
-
|
489
|
+
VApp: typeof import('vuetify/components')['VApp']
|
490
490
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
491
491
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
492
492
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
493
493
|
VAlert: typeof import('vuetify/components')['VAlert']
|
494
494
|
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
495
|
-
|
496
|
-
VBadge: typeof import('vuetify/components')['VBadge']
|
495
|
+
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
497
496
|
VAvatar: typeof import('vuetify/components')['VAvatar']
|
498
|
-
|
497
|
+
VBadge: typeof import('vuetify/components')['VBadge']
|
499
498
|
VBanner: typeof import('vuetify/components')['VBanner']
|
500
499
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
501
500
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
502
|
-
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
503
|
-
VBtn: typeof import('vuetify/components')['VBtn']
|
504
|
-
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
505
501
|
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
506
502
|
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
507
503
|
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
508
|
-
|
509
|
-
VCarousel: typeof import('vuetify/components')['VCarousel']
|
510
|
-
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
504
|
+
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
511
505
|
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
506
|
+
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
507
|
+
VBtn: typeof import('vuetify/components')['VBtn']
|
508
|
+
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
509
|
+
VChip: typeof import('vuetify/components')['VChip']
|
512
510
|
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
513
511
|
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
514
|
-
|
512
|
+
VCarousel: typeof import('vuetify/components')['VCarousel']
|
513
|
+
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
515
514
|
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
516
|
-
VDataTable: typeof import('vuetify/components')['VDataTable']
|
517
|
-
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
518
|
-
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
519
|
-
VDataTableRows: typeof import('vuetify/components')['VDataTableRows']
|
520
|
-
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
521
|
-
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
522
|
-
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
523
515
|
VCard: typeof import('vuetify/components')['VCard']
|
524
516
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
525
517
|
VCardItem: typeof import('vuetify/components')['VCardItem']
|
@@ -527,7 +519,13 @@ declare module 'vue' {
|
|
527
519
|
VCardText: typeof import('vuetify/components')['VCardText']
|
528
520
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
529
521
|
VCombobox: typeof import('vuetify/components')['VCombobox']
|
530
|
-
|
522
|
+
VDataTable: typeof import('vuetify/components')['VDataTable']
|
523
|
+
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
524
|
+
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
525
|
+
VDataTableRows: typeof import('vuetify/components')['VDataTableRows']
|
526
|
+
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
527
|
+
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
528
|
+
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
531
529
|
VCounter: typeof import('vuetify/components')['VCounter']
|
532
530
|
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
533
531
|
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
@@ -535,29 +533,32 @@ declare module 'vue' {
|
|
535
533
|
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
536
534
|
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
537
535
|
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
536
|
+
VCode: typeof import('vuetify/components')['VCode']
|
537
|
+
VDivider: typeof import('vuetify/components')['VDivider']
|
538
538
|
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
539
|
+
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
539
540
|
VDialog: typeof import('vuetify/components')['VDialog']
|
541
|
+
VField: typeof import('vuetify/components')['VField']
|
542
|
+
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
540
543
|
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
541
544
|
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
542
545
|
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
543
546
|
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
544
|
-
VDivider: typeof import('vuetify/components')['VDivider']
|
545
|
-
VField: typeof import('vuetify/components')['VField']
|
546
|
-
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
547
|
-
VFab: typeof import('vuetify/components')['VFab']
|
548
547
|
VFileInput: typeof import('vuetify/components')['VFileInput']
|
549
|
-
|
550
|
-
VFooter: typeof import('vuetify/components')['VFooter']
|
551
|
-
VImg: typeof import('vuetify/components')['VImg']
|
548
|
+
VFab: typeof import('vuetify/components')['VFab']
|
552
549
|
VIcon: typeof import('vuetify/components')['VIcon']
|
553
550
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
554
551
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
555
552
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
556
553
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
557
|
-
|
558
|
-
|
554
|
+
VFooter: typeof import('vuetify/components')['VFooter']
|
555
|
+
VImg: typeof import('vuetify/components')['VImg']
|
559
556
|
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
560
557
|
VItem: typeof import('vuetify/components')['VItem']
|
558
|
+
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
559
|
+
VKbd: typeof import('vuetify/components')['VKbd']
|
560
|
+
VInput: typeof import('vuetify/components')['VInput']
|
561
|
+
VLabel: typeof import('vuetify/components')['VLabel']
|
561
562
|
VList: typeof import('vuetify/components')['VList']
|
562
563
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
563
564
|
VListImg: typeof import('vuetify/components')['VListImg']
|
@@ -567,50 +568,49 @@ declare module 'vue' {
|
|
567
568
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
568
569
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
569
570
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
570
|
-
|
571
|
-
VMessages: typeof import('vuetify/components')['VMessages']
|
572
|
-
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
571
|
+
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
573
572
|
VMenu: typeof import('vuetify/components')['VMenu']
|
574
573
|
VMain: typeof import('vuetify/components')['VMain']
|
575
|
-
|
576
|
-
VOverlay: typeof import('vuetify/components')['VOverlay']
|
574
|
+
VMessages: typeof import('vuetify/components')['VMessages']
|
577
575
|
VPagination: typeof import('vuetify/components')['VPagination']
|
576
|
+
VOverlay: typeof import('vuetify/components')['VOverlay']
|
578
577
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
579
|
-
|
578
|
+
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
580
579
|
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
581
|
-
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
582
|
-
VSelect: typeof import('vuetify/components')['VSelect']
|
583
580
|
VRating: typeof import('vuetify/components')['VRating']
|
584
|
-
|
585
|
-
|
586
|
-
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
587
|
-
VSlider: typeof import('vuetify/components')['VSlider']
|
581
|
+
VSelect: typeof import('vuetify/components')['VSelect']
|
582
|
+
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
588
583
|
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
589
584
|
VSheet: typeof import('vuetify/components')['VSheet']
|
585
|
+
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
586
|
+
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
587
|
+
VSlider: typeof import('vuetify/components')['VSlider']
|
588
|
+
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
589
|
+
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
590
590
|
VSwitch: typeof import('vuetify/components')['VSwitch']
|
591
|
+
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
591
592
|
VStepper: typeof import('vuetify/components')['VStepper']
|
592
593
|
VStepperActions: typeof import('vuetify/components')['VStepperActions']
|
593
594
|
VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
|
594
595
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
595
596
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
596
597
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
597
|
-
VTextField: typeof import('vuetify/components')['VTextField']
|
598
598
|
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
599
|
-
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
600
|
-
VTextarea: typeof import('vuetify/components')['VTextarea']
|
601
599
|
VTab: typeof import('vuetify/components')['VTab']
|
602
600
|
VTabs: typeof import('vuetify/components')['VTabs']
|
603
601
|
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
604
602
|
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
603
|
+
VTextarea: typeof import('vuetify/components')['VTextarea']
|
605
604
|
VTable: typeof import('vuetify/components')['VTable']
|
606
|
-
VTimeline: typeof import('vuetify/components')['VTimeline']
|
607
|
-
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
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
|
+
VTextField: typeof import('vuetify/components')['VTextField']
|
609
|
+
VTooltip: typeof import('vuetify/components')['VTooltip']
|
611
610
|
VWindow: typeof import('vuetify/components')['VWindow']
|
612
611
|
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
613
|
-
|
612
|
+
VTimeline: typeof import('vuetify/components')['VTimeline']
|
613
|
+
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
614
614
|
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
615
615
|
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
616
616
|
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
@@ -618,17 +618,17 @@ declare module 'vue' {
|
|
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
|
-
VHover: typeof import('vuetify/components')['VHover']
|
622
621
|
VForm: typeof import('vuetify/components')['VForm']
|
623
|
-
VLazy: typeof import('vuetify/components')['VLazy']
|
624
622
|
VLayout: typeof import('vuetify/components')['VLayout']
|
625
623
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
624
|
+
VHover: typeof import('vuetify/components')['VHover']
|
626
625
|
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
626
|
+
VLazy: typeof import('vuetify/components')['VLazy']
|
627
627
|
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
628
|
-
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
629
|
-
VRadio: typeof import('vuetify/components')['VRadio']
|
630
628
|
VParallax: typeof import('vuetify/components')['VParallax']
|
629
|
+
VRadio: typeof import('vuetify/components')['VRadio']
|
631
630
|
VResponsive: typeof import('vuetify/components')['VResponsive']
|
631
|
+
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
632
632
|
VSparkline: typeof import('vuetify/components')['VSparkline']
|
633
633
|
VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
|
634
634
|
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
@@ -658,16 +658,16 @@ declare module 'vue' {
|
|
658
658
|
VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
|
659
659
|
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
660
660
|
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
661
|
-
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
662
|
-
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
663
|
-
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
664
|
-
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
665
661
|
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
666
662
|
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
667
663
|
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
664
|
+
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
668
665
|
VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
|
669
666
|
VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
|
670
667
|
VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
|
668
|
+
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
669
|
+
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
670
|
+
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
671
671
|
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
672
672
|
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
673
673
|
VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
|
@@ -76,7 +76,8 @@ export const VTreeview = genericComponent()({
|
|
76
76
|
const getPath = vListRef.value?.getPath;
|
77
77
|
if (!getPath) return null;
|
78
78
|
return new Set(filteredItems.value.flatMap(item => {
|
79
|
-
|
79
|
+
const itemVal = props.returnObject ? item.raw : item.props.value;
|
80
|
+
return [...getPath(itemVal), ...getChildren(itemVal)].map(toRaw);
|
80
81
|
}));
|
81
82
|
});
|
82
83
|
function getChildren(id) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VTreeview.mjs","names":["makeVTreeviewChildrenProps","VTreeviewChildren","makeVListProps","useListItems","VList","provideDefaults","makeFilterProps","useFilter","useProxiedModel","computed","provide","ref","toRaw","toRef","genericComponent","omit","propsFactory","useRender","VTreeviewSymbol","flatten","items","flat","arguments","length","undefined","item","push","children","makeVTreeviewProps","openAll","Boolean","search","String","filterKeys","collapseIcon","expandIcon","slim","modelValue","type","Array","default","VTreeview","name","props","emits","val","value","setup","_ref","slots","activeColor","baseColor","color","activated","model","_selected","selected","get","set","vListRef","opened","flatItems","filteredItems","visibleIds","getPath","Set","flatMap","getChildren","id","arr","queue","slice","child","shift","ids","i","returnObject","raw","concat","VTreeviewGroup","VTreeviewItem","activeClass","density","disabled","lines","variant","listProps","filterProps","treeviewChildrenProps","_createVNode","_mergeProps","class","style","$event"],"sources":["../../../src/labs/VTreeview/VTreeview.tsx"],"sourcesContent":["// Components\nimport { makeVTreeviewChildrenProps, VTreeviewChildren } from './VTreeviewChildren'\nimport { makeVListProps, useListItems, VList } from '@/components/VList/VList'\n\n// Composables\nimport { provideDefaults } from '@/composables/defaults'\nimport { makeFilterProps, useFilter } from '@/composables/filter'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, provide, ref, toRaw, toRef } from 'vue'\nimport { genericComponent, omit, propsFactory, useRender } from '@/util'\n\n// Types\nimport { VTreeviewSymbol } from './shared'\nimport type { InternalListItem } from '@/components/VList/VList'\nimport type { VListChildrenSlots } from '@/components/VList/VListChildren'\nimport type { ListItem } from '@/composables/list-items'\nimport type { GenericProps } from '@/util'\n\nfunction flatten (items: ListItem[], flat: ListItem[] = []) {\n for (const item of items) {\n flat.push(item)\n if (item.children) flatten(item.children, flat)\n }\n return flat\n}\n\nexport const makeVTreeviewProps = propsFactory({\n openAll: Boolean,\n search: String,\n\n ...makeFilterProps({ filterKeys: ['title'] }),\n ...makeVTreeviewChildrenProps(),\n ...omit(makeVListProps({\n collapseIcon: '$treeviewCollapse',\n expandIcon: '$treeviewExpand',\n slim: true,\n }), ['itemType', 'nav', 'openStrategy']),\n modelValue: {\n type: Array,\n default: () => ([]),\n },\n}, 'VTreeview')\n\nexport const VTreeview = genericComponent<new <T>(\n props: {\n items?: T[]\n },\n slots: VListChildrenSlots<T>\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VTreeview',\n\n props: makeVTreeviewProps(),\n\n emits: {\n 'update:opened': (val: unknown) => true,\n 'update:activated': (val: unknown) => true,\n 'update:selected': (val: unknown) => true,\n 'update:modelValue': (val: unknown) => true,\n 'click:open': (value: { id: unknown, value: boolean, path: unknown[] }) => true,\n 'click:select': (value: { id: unknown, value: boolean, path: unknown[] }) => true,\n },\n\n setup (props, { slots }) {\n const { items } = useListItems(props)\n const activeColor = toRef(props, 'activeColor')\n const baseColor = toRef(props, 'baseColor')\n const color = toRef(props, 'color')\n const activated = useProxiedModel(props, 'activated')\n const model = useProxiedModel(props, 'modelValue')\n const _selected = useProxiedModel(props, 'selected', props.modelValue)\n\n const selected = computed({\n get: () => _selected.value,\n set (val) {\n _selected.value = val\n model.value = val\n },\n })\n\n const vListRef = ref<VList>()\n\n const opened = computed(() => props.openAll ? openAll(items.value) : props.opened)\n const flatItems = computed(() => flatten(items.value))\n const search = toRef(props, 'search')\n const { filteredItems } = useFilter(props, flatItems, search)\n const visibleIds = computed(() => {\n if (!search.value) return null\n const getPath = vListRef.value?.getPath\n if (!getPath) return null\n return new Set(filteredItems.value.flatMap(item => {\n return [...getPath(item.props.value), ...getChildren(item.props.value)]\n }))\n })\n\n function getChildren (id: unknown) {\n const arr: unknown[] = []\n const queue = ((vListRef.value?.children.get(id) ?? []).slice())\n while (queue.length) {\n const child = queue.shift()\n if (!child) continue\n arr.push(child)\n queue.push(...((vListRef.value?.children.get(child) ?? []).slice()))\n }\n return arr\n }\n\n function openAll (items: InternalListItem<any>[]) {\n let ids: any[] = []\n\n for (const i of items) {\n if (!i.children) continue\n\n ids.push(props.returnObject ? toRaw(i.raw) : i.value)\n\n if (i.children) {\n ids = ids.concat(openAll(i.children))\n }\n }\n\n return ids\n }\n\n provide(VTreeviewSymbol, { visibleIds })\n\n provideDefaults({\n VTreeviewGroup: {\n activeColor,\n baseColor,\n color,\n collapseIcon: toRef(props, 'collapseIcon'),\n expandIcon: toRef(props, 'expandIcon'),\n },\n VTreeviewItem: {\n activeClass: toRef(props, 'activeClass'),\n activeColor,\n baseColor,\n color,\n density: toRef(props, 'density'),\n disabled: toRef(props, 'disabled'),\n lines: toRef(props, 'lines'),\n variant: toRef(props, 'variant'),\n },\n })\n\n useRender(() => {\n const listProps = VList.filterProps(props)\n\n const treeviewChildrenProps = VTreeviewChildren.filterProps(props)\n\n return (\n <VList\n ref={ vListRef }\n { ...listProps }\n class={[\n 'v-treeview',\n props.class,\n ]}\n open-strategy=\"multiple\"\n style={ props.style }\n opened={ opened.value }\n v-model:activated={ activated.value }\n v-model:selected={ selected.value }\n >\n <VTreeviewChildren\n { ...treeviewChildrenProps }\n returnObject={ props.returnObject }\n items={ items.value }\n v-slots={ slots }\n ></VTreeviewChildren>\n </VList>\n )\n })\n\n return { }\n },\n})\n\nexport type VTreeview = InstanceType<typeof VTreeview>\n"],"mappings":";AAAA;AAAA,SACSA,0BAA0B,EAAEC,iBAAiB;AAAA,SAC7CC,cAAc,EAAEC,YAAY,EAAEC,KAAK,4CAE5C;AAAA,S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,SAAS,CAAC,MAAM;MACd,MAAMqE,SAAS,GAAGlF,KAAK,CAACmF,WAAW,CAAC5C,KAAK,CAAC;MAE1C,MAAM6C,qBAAqB,GAAGvF,iBAAiB,CAACsF,WAAW,CAAC5C,KAAK,CAAC;MAElE,OAAA8C,YAAA,CAAArF,KAAA,EAAAsF,WAAA;QAAA,OAEU/B;MAAQ,GACT2B,SAAS;QAAA,SACP,CACL,YAAY,EACZ3C,KAAK,CAACgD,KAAK,CACZ;QAAA;QAAA,SAEOhD,KAAK,CAACiD,KAAK;QAAA,UACVhC,MAAM,CAACd,KAAK;QAAA,aACDO,SAAS,CAACP,KAAK;QAAA,sBAAA+C,MAAA,IAAfxC,SAAS,CAACP,KAAK,GAAA+C,MAAA;QAAA,YAChBrC,QAAQ,CAACV,KAAK;QAAA,qBAAA+C,MAAA,IAAdrC,QAAQ,CAACV,KAAK,GAAA+C;MAAA;QAAArD,OAAA,EAAAA,CAAA,MAAAiD,YAAA,CAAAxF,iBAAA,EAAAyF,WAAA,CAG1BF,qBAAqB;UAAA,gBACX7C,KAAK,CAACiC,YAAY;UAAA,SACzBxD,KAAK,CAAC0B;QAAK,IACTG,KAAK;MAAA;IAIvB,CAAC,CAAC;IAEF,OAAO,CAAE,CAAC;EACZ;AACF,CAAC,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"file":"VTreeview.mjs","names":["makeVTreeviewChildrenProps","VTreeviewChildren","makeVListProps","useListItems","VList","provideDefaults","makeFilterProps","useFilter","useProxiedModel","computed","provide","ref","toRaw","toRef","genericComponent","omit","propsFactory","useRender","VTreeviewSymbol","flatten","items","flat","arguments","length","undefined","item","push","children","makeVTreeviewProps","openAll","Boolean","search","String","filterKeys","collapseIcon","expandIcon","slim","modelValue","type","Array","default","VTreeview","name","props","emits","val","value","setup","_ref","slots","activeColor","baseColor","color","activated","model","_selected","selected","get","set","vListRef","opened","flatItems","filteredItems","visibleIds","getPath","Set","flatMap","itemVal","returnObject","raw","getChildren","map","id","arr","queue","slice","child","shift","ids","i","concat","VTreeviewGroup","VTreeviewItem","activeClass","density","disabled","lines","variant","listProps","filterProps","treeviewChildrenProps","_createVNode","_mergeProps","class","style","$event"],"sources":["../../../src/labs/VTreeview/VTreeview.tsx"],"sourcesContent":["// Components\nimport { makeVTreeviewChildrenProps, VTreeviewChildren } from './VTreeviewChildren'\nimport { makeVListProps, useListItems, VList } from '@/components/VList/VList'\n\n// Composables\nimport { provideDefaults } from '@/composables/defaults'\nimport { makeFilterProps, useFilter } from '@/composables/filter'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, provide, ref, toRaw, toRef } from 'vue'\nimport { genericComponent, omit, propsFactory, useRender } from '@/util'\n\n// Types\nimport { VTreeviewSymbol } from './shared'\nimport type { InternalListItem } from '@/components/VList/VList'\nimport type { VListChildrenSlots } from '@/components/VList/VListChildren'\nimport type { ListItem } from '@/composables/list-items'\nimport type { GenericProps } from '@/util'\n\nfunction flatten (items: ListItem[], flat: ListItem[] = []) {\n for (const item of items) {\n flat.push(item)\n if (item.children) flatten(item.children, flat)\n }\n return flat\n}\n\nexport const makeVTreeviewProps = propsFactory({\n openAll: Boolean,\n search: String,\n\n ...makeFilterProps({ filterKeys: ['title'] }),\n ...makeVTreeviewChildrenProps(),\n ...omit(makeVListProps({\n collapseIcon: '$treeviewCollapse',\n expandIcon: '$treeviewExpand',\n slim: true,\n }), ['itemType', 'nav', 'openStrategy']),\n modelValue: {\n type: Array,\n default: () => ([]),\n },\n}, 'VTreeview')\n\nexport const VTreeview = genericComponent<new <T>(\n props: {\n items?: T[]\n },\n slots: VListChildrenSlots<T>\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VTreeview',\n\n props: makeVTreeviewProps(),\n\n emits: {\n 'update:opened': (val: unknown) => true,\n 'update:activated': (val: unknown) => true,\n 'update:selected': (val: unknown) => true,\n 'update:modelValue': (val: unknown) => true,\n 'click:open': (value: { id: unknown, value: boolean, path: unknown[] }) => true,\n 'click:select': (value: { id: unknown, value: boolean, path: unknown[] }) => true,\n },\n\n setup (props, { slots }) {\n const { items } = useListItems(props)\n const activeColor = toRef(props, 'activeColor')\n const baseColor = toRef(props, 'baseColor')\n const color = toRef(props, 'color')\n const activated = useProxiedModel(props, 'activated')\n const model = useProxiedModel(props, 'modelValue')\n const _selected = useProxiedModel(props, 'selected', props.modelValue)\n\n const selected = computed({\n get: () => _selected.value,\n set (val) {\n _selected.value = val\n model.value = val\n },\n })\n\n const vListRef = ref<VList>()\n\n const opened = computed(() => props.openAll ? openAll(items.value) : props.opened)\n const flatItems = computed(() => flatten(items.value))\n const search = toRef(props, 'search')\n const { filteredItems } = useFilter(props, flatItems, search)\n const visibleIds = computed(() => {\n if (!search.value) return null\n const getPath = vListRef.value?.getPath\n if (!getPath) return null\n return new Set(filteredItems.value.flatMap(item => {\n const itemVal = props.returnObject ? item.raw : item.props.value\n return [\n ...getPath(itemVal),\n ...getChildren(itemVal),\n ].map(toRaw)\n }))\n })\n\n function getChildren (id: unknown) {\n const arr: unknown[] = []\n const queue = ((vListRef.value?.children.get(id) ?? []).slice())\n while (queue.length) {\n const child = queue.shift()\n if (!child) continue\n arr.push(child)\n queue.push(...((vListRef.value?.children.get(child) ?? []).slice()))\n }\n return arr\n }\n\n function openAll (items: InternalListItem<any>[]) {\n let ids: any[] = []\n\n for (const i of items) {\n if (!i.children) continue\n\n ids.push(props.returnObject ? toRaw(i.raw) : i.value)\n\n if (i.children) {\n ids = ids.concat(openAll(i.children))\n }\n }\n\n return ids\n }\n\n provide(VTreeviewSymbol, { visibleIds })\n\n provideDefaults({\n VTreeviewGroup: {\n activeColor,\n baseColor,\n color,\n collapseIcon: toRef(props, 'collapseIcon'),\n expandIcon: toRef(props, 'expandIcon'),\n },\n VTreeviewItem: {\n activeClass: toRef(props, 'activeClass'),\n activeColor,\n baseColor,\n color,\n density: toRef(props, 'density'),\n disabled: toRef(props, 'disabled'),\n lines: toRef(props, 'lines'),\n variant: toRef(props, 'variant'),\n },\n })\n\n useRender(() => {\n const listProps = VList.filterProps(props)\n\n const treeviewChildrenProps = VTreeviewChildren.filterProps(props)\n\n return (\n <VList\n ref={ vListRef }\n { ...listProps }\n class={[\n 'v-treeview',\n props.class,\n ]}\n open-strategy=\"multiple\"\n style={ props.style }\n opened={ opened.value }\n v-model:activated={ activated.value }\n v-model:selected={ selected.value }\n >\n <VTreeviewChildren\n { ...treeviewChildrenProps }\n returnObject={ props.returnObject }\n items={ items.value }\n v-slots={ slots }\n ></VTreeviewChildren>\n </VList>\n )\n })\n\n return { }\n },\n})\n\nexport type VTreeview = InstanceType<typeof VTreeview>\n"],"mappings":";AAAA;AAAA,SACSA,0BAA0B,EAAEC,iBAAiB;AAAA,SAC7CC,cAAc,EAAEC,YAAY,EAAEC,KAAK,4CAE5C;AAAA,SACSC,eAAe;AAAA,SACfC,eAAe,EAAEC,SAAS;AAAA,SAC1BC,eAAe,8CAExB;AACA,SAASC,QAAQ,EAAEC,OAAO,EAAEC,GAAG,EAAEC,KAAK,EAAEC,KAAK,QAAQ,KAAK;AAAA,SACjDC,gBAAgB,EAAEC,IAAI,EAAEC,YAAY,EAAEC,SAAS,gCAExD;AAAA,SACSC,eAAe;AAMxB,SAASC,OAAOA,CAAEC,KAAiB,EAAyB;EAAA,IAAvBC,IAAgB,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EACxD,KAAK,MAAMG,IAAI,IAAIL,KAAK,EAAE;IACxBC,IAAI,CAACK,IAAI,CAACD,IAAI,CAAC;IACf,IAAIA,IAAI,CAACE,QAAQ,EAAER,OAAO,CAACM,IAAI,CAACE,QAAQ,EAAEN,IAAI,CAAC;EACjD;EACA,OAAOA,IAAI;AACb;AAEA,OAAO,MAAMO,kBAAkB,GAAGZ,YAAY,CAAC;EAC7Ca,OAAO,EAAEC,OAAO;EAChBC,MAAM,EAAEC,MAAM;EAEd,GAAG1B,eAAe,CAAC;IAAE2B,UAAU,E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