@vuetify/nightly 3.7.2-master.2024-09-20 → 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 +18 -18
- package/dist/json/importMap.json +158 -158
- package/dist/json/web-types.json +1 -1
- package/dist/vuetify-labs.css +3503 -3503
- 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 +4446 -4446
- package/dist/vuetify.d.ts +57 -57
- 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 +57 -57
- 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,16 +486,15 @@ 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
|
-
VBadge: typeof import('vuetify/components')['VBadge']
|
494
|
-
VAvatar: typeof import('vuetify/components')['VAvatar']
|
495
|
-
VApp: typeof import('vuetify/components')['VApp']
|
496
493
|
VAlert: typeof import('vuetify/components')['VAlert']
|
497
494
|
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
498
|
-
|
495
|
+
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
496
|
+
VAvatar: typeof import('vuetify/components')['VAvatar']
|
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']
|
@@ -503,32 +502,23 @@ declare module 'vue' {
|
|
503
502
|
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
504
503
|
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
505
504
|
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
506
|
-
VBtn: typeof import('vuetify/components')['VBtn']
|
507
505
|
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
508
|
-
|
509
|
-
|
510
|
-
|
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']
|
511
510
|
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
512
511
|
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
512
|
+
VCarousel: typeof import('vuetify/components')['VCarousel']
|
513
|
+
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
514
|
+
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
513
515
|
VCard: typeof import('vuetify/components')['VCard']
|
514
516
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
515
517
|
VCardItem: typeof import('vuetify/components')['VCardItem']
|
516
518
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
517
519
|
VCardText: typeof import('vuetify/components')['VCardText']
|
518
520
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
519
|
-
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
520
|
-
VChip: typeof import('vuetify/components')['VChip']
|
521
|
-
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
522
|
-
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
523
|
-
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
524
|
-
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
525
|
-
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
526
|
-
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
527
|
-
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
528
|
-
VCode: typeof import('vuetify/components')['VCode']
|
529
521
|
VCombobox: typeof import('vuetify/components')['VCombobox']
|
530
|
-
VCounter: typeof import('vuetify/components')['VCounter']
|
531
|
-
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
532
522
|
VDataTable: typeof import('vuetify/components')['VDataTable']
|
533
523
|
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
534
524
|
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
@@ -536,29 +526,39 @@ declare module 'vue' {
|
|
536
526
|
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
537
527
|
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
538
528
|
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
539
|
-
|
529
|
+
VCounter: typeof import('vuetify/components')['VCounter']
|
530
|
+
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
531
|
+
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
532
|
+
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
533
|
+
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
534
|
+
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
535
|
+
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
536
|
+
VCode: typeof import('vuetify/components')['VCode']
|
540
537
|
VDivider: typeof import('vuetify/components')['VDivider']
|
541
|
-
|
538
|
+
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
539
|
+
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
540
|
+
VDialog: typeof import('vuetify/components')['VDialog']
|
541
|
+
VField: typeof import('vuetify/components')['VField']
|
542
|
+
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
542
543
|
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
543
544
|
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
544
545
|
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
545
546
|
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
546
547
|
VFileInput: typeof import('vuetify/components')['VFileInput']
|
547
|
-
|
548
|
-
VField: typeof import('vuetify/components')['VField']
|
549
|
-
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
548
|
+
VFab: typeof import('vuetify/components')['VFab']
|
550
549
|
VIcon: typeof import('vuetify/components')['VIcon']
|
551
550
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
552
551
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
553
552
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
554
553
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
555
554
|
VFooter: typeof import('vuetify/components')['VFooter']
|
555
|
+
VImg: typeof import('vuetify/components')['VImg']
|
556
556
|
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
557
557
|
VItem: typeof import('vuetify/components')['VItem']
|
558
|
-
|
559
|
-
VLabel: typeof import('vuetify/components')['VLabel']
|
558
|
+
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
560
559
|
VKbd: typeof import('vuetify/components')['VKbd']
|
561
560
|
VInput: typeof import('vuetify/components')['VInput']
|
561
|
+
VLabel: typeof import('vuetify/components')['VLabel']
|
562
562
|
VList: typeof import('vuetify/components')['VList']
|
563
563
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
564
564
|
VListImg: typeof import('vuetify/components')['VListImg']
|
@@ -568,67 +568,67 @@ declare module 'vue' {
|
|
568
568
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
569
569
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
570
570
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
571
|
+
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
572
|
+
VMenu: typeof import('vuetify/components')['VMenu']
|
571
573
|
VMain: typeof import('vuetify/components')['VMain']
|
572
574
|
VMessages: typeof import('vuetify/components')['VMessages']
|
573
|
-
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
574
|
-
VOverlay: typeof import('vuetify/components')['VOverlay']
|
575
|
-
VMenu: typeof import('vuetify/components')['VMenu']
|
576
575
|
VPagination: typeof import('vuetify/components')['VPagination']
|
577
|
-
|
578
|
-
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
579
|
-
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
576
|
+
VOverlay: typeof import('vuetify/components')['VOverlay']
|
580
577
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
581
|
-
|
582
|
-
|
578
|
+
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
579
|
+
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
583
580
|
VRating: typeof import('vuetify/components')['VRating']
|
584
|
-
|
585
|
-
|
581
|
+
VSelect: typeof import('vuetify/components')['VSelect']
|
582
|
+
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
586
583
|
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
584
|
+
VSheet: typeof import('vuetify/components')['VSheet']
|
587
585
|
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
586
|
+
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
588
587
|
VSlider: typeof import('vuetify/components')['VSlider']
|
588
|
+
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
589
|
+
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
590
|
+
VSwitch: typeof import('vuetify/components')['VSwitch']
|
591
|
+
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
589
592
|
VStepper: typeof import('vuetify/components')['VStepper']
|
590
593
|
VStepperActions: typeof import('vuetify/components')['VStepperActions']
|
591
594
|
VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
|
592
595
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
593
596
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
594
597
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
595
|
-
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
596
|
-
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
597
|
-
VSwitch: typeof import('vuetify/components')['VSwitch']
|
598
|
-
VTable: typeof import('vuetify/components')['VTable']
|
599
598
|
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
600
|
-
VToolbar: typeof import('vuetify/components')['VToolbar']
|
601
|
-
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
602
|
-
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
603
|
-
VTextarea: typeof import('vuetify/components')['VTextarea']
|
604
599
|
VTab: typeof import('vuetify/components')['VTab']
|
605
600
|
VTabs: typeof import('vuetify/components')['VTabs']
|
606
601
|
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
607
602
|
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
603
|
+
VTextarea: typeof import('vuetify/components')['VTextarea']
|
604
|
+
VTable: typeof import('vuetify/components')['VTable']
|
605
|
+
VToolbar: typeof import('vuetify/components')['VToolbar']
|
606
|
+
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
607
|
+
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
608
|
+
VTextField: typeof import('vuetify/components')['VTextField']
|
608
609
|
VTooltip: typeof import('vuetify/components')['VTooltip']
|
609
610
|
VWindow: typeof import('vuetify/components')['VWindow']
|
610
611
|
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
611
|
-
VTextField: typeof import('vuetify/components')['VTextField']
|
612
612
|
VTimeline: typeof import('vuetify/components')['VTimeline']
|
613
613
|
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
614
614
|
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
615
615
|
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
616
|
+
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
616
617
|
VContainer: typeof import('vuetify/components')['VContainer']
|
617
618
|
VCol: typeof import('vuetify/components')['VCol']
|
618
619
|
VRow: typeof import('vuetify/components')['VRow']
|
619
620
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
620
|
-
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
621
621
|
VForm: typeof import('vuetify/components')['VForm']
|
622
|
-
VHover: typeof import('vuetify/components')['VHover']
|
623
622
|
VLayout: typeof import('vuetify/components')['VLayout']
|
624
623
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
625
|
-
|
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
628
|
VParallax: typeof import('vuetify/components')['VParallax']
|
629
629
|
VRadio: typeof import('vuetify/components')['VRadio']
|
630
|
-
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
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']
|
@@ -656,18 +656,18 @@ 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
|
-
|
660
|
-
|
661
|
-
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
662
|
-
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
659
|
+
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
660
|
+
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
663
661
|
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
664
662
|
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
665
663
|
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
666
|
-
|
667
|
-
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
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 { }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AAU,CAAC;QAClCyC,KAAK,EAAEvE,KAAK,CAAC8B,KAAK,EAAE,OAAO,CAAC;QAC5B0C,OAAO,EAAExE,KAAK,CAAC8B,KAAK,EAAE,SAAS;MACjC;IACF,CAAC,CAAC;IAEF1B,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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