vuetify 3.10.2 → 3.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/json/attributes.json +3585 -3581
- package/dist/json/importMap-labs.json +22 -22
- package/dist/json/importMap.json +136 -136
- package/dist/json/tags.json +1 -0
- package/dist/json/web-types.json +6506 -6482
- package/dist/vuetify-labs.cjs +124 -92
- package/dist/vuetify-labs.css +4941 -4941
- package/dist/vuetify-labs.d.ts +1375 -1363
- package/dist/vuetify-labs.esm.js +125 -93
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +124 -92
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +116 -87
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +6491 -6491
- package/dist/vuetify.d.ts +1120 -1108
- package/dist/vuetify.esm.js +116 -87
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +116 -87
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +1435 -1428
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.d.ts +3 -3
- package/lib/components/VAlert/VAlertTitle.d.ts +3 -3
- package/lib/components/VApp/VApp.d.ts +3 -3
- package/lib/components/VAppBar/VAppBar.d.ts +3 -3
- package/lib/components/VAppBar/VAppBarNavIcon.d.ts +6 -6
- package/lib/components/VAppBar/VAppBarTitle.d.ts +3 -3
- package/lib/components/VAutocomplete/VAutocomplete.d.ts +116 -116
- package/lib/components/VAutocomplete/VAutocomplete.js +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/lib/components/VAvatar/VAvatar.d.ts +3 -3
- package/lib/components/VBadge/VBadge.d.ts +3 -3
- package/lib/components/VBanner/VBanner.d.ts +3 -3
- package/lib/components/VBanner/VBannerActions.d.ts +3 -3
- package/lib/components/VBanner/VBannerText.d.ts +3 -3
- package/lib/components/VBottomNavigation/VBottomNavigation.d.ts +3 -3
- package/lib/components/VBottomSheet/VBottomSheet.d.ts +3 -3
- package/lib/components/VBreadcrumbs/VBreadcrumbs.d.ts +3 -3
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.d.ts +3 -3
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.d.ts +3 -3
- package/lib/components/VBtn/VBtn.d.ts +6 -6
- package/lib/components/VBtn/VBtn.js +5 -5
- package/lib/components/VBtn/VBtn.js.map +1 -1
- package/lib/components/VBtnGroup/VBtnGroup.d.ts +3 -3
- package/lib/components/VBtnToggle/VBtnToggle.d.ts +3 -3
- package/lib/components/VCard/VCard.d.ts +6 -6
- package/lib/components/VCard/VCard.js +2 -2
- package/lib/components/VCard/VCard.js.map +1 -1
- package/lib/components/VCard/VCardActions.d.ts +3 -3
- package/lib/components/VCard/VCardItem.d.ts +3 -3
- package/lib/components/VCard/VCardSubtitle.d.ts +3 -3
- package/lib/components/VCard/VCardText.d.ts +3 -3
- package/lib/components/VCard/VCardTitle.d.ts +3 -3
- package/lib/components/VCarousel/VCarousel.d.ts +3 -3
- package/lib/components/VCarousel/VCarouselItem.d.ts +3 -3
- package/lib/components/VCheckbox/VCheckbox.d.ts +15 -15
- package/lib/components/VCheckbox/VCheckboxBtn.d.ts +6 -6
- package/lib/components/VChip/VChip.d.ts +6 -6
- package/lib/components/VChip/VChip.js +15 -4
- package/lib/components/VChip/VChip.js.map +1 -1
- package/lib/components/VChipGroup/VChipGroup.d.ts +3 -3
- package/lib/components/VCode/index.d.ts +3 -3
- package/lib/components/VCombobox/VCombobox.d.ts +129 -116
- package/lib/components/VCombobox/VCombobox.js +8 -25
- package/lib/components/VCombobox/VCombobox.js.map +1 -1
- package/lib/components/VCounter/VCounter.d.ts +3 -3
- package/lib/components/VDataIterator/VDataIterator.d.ts +9 -9
- package/lib/components/VDataTable/VDataTable.d.ts +3 -3
- package/lib/components/VDataTable/VDataTableServer.d.ts +3 -3
- package/lib/components/VDataTable/VDataTableVirtual.d.ts +6 -6
- package/lib/components/VDataTable/composables/expand.js +8 -8
- package/lib/components/VDataTable/composables/expand.js.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.d.ts +3 -3
- package/lib/components/VDialog/VDialog.d.ts +12 -12
- package/lib/components/VDialog/VDialog.js +29 -11
- package/lib/components/VDialog/VDialog.js.map +1 -1
- package/lib/components/VDialog/__test__/VDialog.spec.browser.js +41 -0
- package/lib/components/VDialog/__test__/VDialog.spec.browser.js.map +1 -1
- package/lib/components/VDivider/VDivider.d.ts +3 -3
- package/lib/components/VEmptyState/VEmptyState.d.ts +6 -6
- package/lib/components/VExpansionPanel/VExpansionPanel.d.ts +6 -6
- package/lib/components/VExpansionPanel/VExpansionPanelText.d.ts +3 -3
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.d.ts +6 -6
- package/lib/components/VExpansionPanel/VExpansionPanels.d.ts +6 -6
- package/lib/components/VFab/VFab.d.ts +6 -6
- package/lib/components/VField/VField.d.ts +3 -3
- package/lib/components/VField/VFieldLabel.d.ts +3 -3
- package/lib/components/VFileInput/VFileInput.d.ts +12 -12
- package/lib/components/VFileInput/VFileInput.js +2 -1
- package/lib/components/VFileInput/VFileInput.js.map +1 -1
- package/lib/components/VFooter/VFooter.d.ts +3 -3
- package/lib/components/VForm/VForm.d.ts +6 -6
- package/lib/components/VGrid/VCol.d.ts +3 -3
- package/lib/components/VGrid/VContainer.d.ts +3 -3
- package/lib/components/VGrid/VRow.d.ts +3 -3
- package/lib/components/VGrid/VSpacer.d.ts +3 -3
- package/lib/components/VIcon/VIcon.d.ts +3 -3
- package/lib/components/VImg/VImg.d.ts +3 -3
- package/lib/components/VInput/VInput.d.ts +3 -3
- package/lib/components/VItemGroup/VItemGroup.d.ts +3 -3
- package/lib/components/VKbd/VKbd.d.ts +3 -3
- package/lib/components/VLabel/VLabel.d.ts +3 -3
- package/lib/components/VLayout/VLayout.d.ts +3 -3
- package/lib/components/VLayout/VLayoutItem.d.ts +3 -3
- package/lib/components/VLazy/VLazy.d.ts +3 -3
- package/lib/components/VList/VList.d.ts +11 -11
- package/lib/components/VList/VList.js.map +1 -1
- package/lib/components/VList/VListGroup.d.ts +3 -3
- package/lib/components/VList/VListImg.d.ts +3 -3
- package/lib/components/VList/VListItem.d.ts +6 -6
- package/lib/components/VList/VListItem.js +2 -2
- package/lib/components/VList/VListItem.js.map +1 -1
- package/lib/components/VList/VListItemAction.d.ts +3 -3
- package/lib/components/VList/VListItemMedia.d.ts +3 -3
- package/lib/components/VList/VListItemSubtitle.d.ts +3 -3
- package/lib/components/VList/VListItemTitle.d.ts +3 -3
- package/lib/components/VList/VListSubheader.d.ts +3 -3
- package/lib/components/VLocaleProvider/VLocaleProvider.d.ts +3 -3
- package/lib/components/VMain/VMain.d.ts +3 -3
- package/lib/components/VMenu/VMenu.d.ts +15 -15
- package/lib/components/VMessages/VMessages.d.ts +3 -3
- package/lib/components/VNavigationDrawer/VNavigationDrawer.d.ts +3 -3
- package/lib/components/VNumberInput/VNumberInput.d.ts +66 -66
- package/lib/components/VNumberInput/VNumberInput.js +1 -0
- package/lib/components/VNumberInput/VNumberInput.js.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.d.ts +3 -3
- package/lib/components/VOverlay/VOverlay.d.ts +3 -3
- package/lib/components/VPagination/VPagination.d.ts +3 -3
- package/lib/components/VParallax/VParallax.d.ts +3 -3
- package/lib/components/VProgressCircular/VProgressCircular.d.ts +3 -3
- package/lib/components/VProgressLinear/VProgressLinear.d.ts +3 -3
- package/lib/components/VRadio/VRadio.d.ts +6 -6
- package/lib/components/VRadioGroup/VRadioGroup.d.ts +15 -15
- package/lib/components/VRangeSlider/VRangeSlider.d.ts +12 -12
- package/lib/components/VRating/VRating.d.ts +3 -3
- package/lib/components/VResponsive/VResponsive.d.ts +3 -3
- package/lib/components/VSelect/VSelect.d.ts +140 -140
- package/lib/components/VSelectionControl/VSelectionControl.d.ts +6 -6
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.d.ts +6 -6
- package/lib/components/VSheet/VSheet.d.ts +3 -3
- package/lib/components/VSlideGroup/VSlideGroup.d.ts +3 -3
- package/lib/components/VSlider/VSlider.d.ts +12 -12
- package/lib/components/VSlider/VSliderThumb.d.ts +6 -6
- package/lib/components/VSlider/VSliderTrack.d.ts +3 -3
- package/lib/components/VSnackbar/VSnackbar.d.ts +12 -12
- package/lib/components/VSnackbarQueue/VSnackbarQueue.d.ts +3 -3
- package/lib/components/VSpeedDial/VSpeedDial.d.ts +9 -9
- package/lib/components/VStepper/VStepper.d.ts +3 -3
- package/lib/components/VStepper/VStepperHeader.d.ts +3 -3
- package/lib/components/VStepper/VStepperItem.d.ts +3 -3
- package/lib/components/VStepper/VStepperWindow.d.ts +3 -3
- package/lib/components/VStepper/VStepperWindowItem.d.ts +3 -3
- package/lib/components/VSwitch/VSwitch.d.ts +15 -15
- package/lib/components/VSwitch/VSwitch.js +2 -2
- package/lib/components/VSwitch/VSwitch.js.map +1 -1
- package/lib/components/VSystemBar/VSystemBar.d.ts +3 -3
- package/lib/components/VTable/VTable.d.ts +3 -3
- package/lib/components/VTabs/VTab.d.ts +24 -24
- package/lib/components/VTabs/VTabs.d.ts +3 -3
- package/lib/components/VTabs/VTabsWindow.d.ts +3 -3
- package/lib/components/VTabs/VTabsWindowItem.d.ts +3 -3
- package/lib/components/VTextField/VTextField.d.ts +21 -21
- package/lib/components/VTextarea/VTextarea.d.ts +12 -12
- package/lib/components/VThemeProvider/VThemeProvider.d.ts +3 -3
- package/lib/components/VTimePicker/VTimePicker.d.ts +3 -3
- package/lib/components/VTimeline/VTimeline.d.ts +3 -3
- package/lib/components/VTimeline/VTimelineDivider.d.ts +3 -3
- package/lib/components/VTimeline/VTimelineItem.d.ts +3 -3
- package/lib/components/VToolbar/VToolbar.d.ts +3 -3
- package/lib/components/VToolbar/VToolbarItems.d.ts +3 -3
- package/lib/components/VToolbar/VToolbarTitle.d.ts +3 -3
- package/lib/components/VTooltip/VTooltip.d.ts +15 -15
- package/lib/components/VTreeview/VTreeview.d.ts +26 -26
- package/lib/components/VTreeview/VTreeviewChildren.js +1 -1
- package/lib/components/VTreeview/VTreeviewChildren.js.map +1 -1
- package/lib/components/VTreeview/VTreeviewGroup.d.ts +3 -3
- package/lib/components/VTreeview/VTreeviewItem.d.ts +24 -24
- package/lib/components/VVirtualScroll/VVirtualScroll.d.ts +6 -6
- package/lib/components/VVirtualScroll/VVirtualScrollItem.d.ts +3 -3
- package/lib/components/VWindow/VWindow.d.ts +3 -3
- package/lib/components/VWindow/VWindowItem.d.ts +3 -3
- package/lib/components/transitions/createTransition.d.ts +6 -6
- package/lib/components/transitions/index.d.ts +78 -78
- package/lib/composables/goto.js +2 -2
- package/lib/composables/goto.js.map +1 -1
- package/lib/composables/group.d.ts +2 -0
- package/lib/composables/group.js +15 -9
- package/lib/composables/group.js.map +1 -1
- package/lib/composables/router.d.ts +2 -0
- package/lib/composables/router.js +6 -1
- package/lib/composables/router.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +63 -63
- package/lib/framework.js +1 -1
- package/lib/labs/VCalendar/VCalendar.js +7 -4
- package/lib/labs/VCalendar/VCalendar.js.map +1 -1
- package/lib/labs/VCalendar/composables/calendarWithEvents.js +7 -4
- package/lib/labs/VCalendar/composables/calendarWithEvents.js.map +1 -1
- package/lib/labs/VColorInput/VColorInput.d.ts +6 -6
- package/lib/labs/VDateInput/VDateInput.d.ts +66 -66
- package/lib/labs/VFileUpload/VFileUpload.d.ts +3 -3
- package/lib/labs/VFileUpload/VFileUpload.js +2 -1
- package/lib/labs/VFileUpload/VFileUpload.js.map +1 -1
- package/lib/labs/VFileUpload/VFileUploadItem.d.ts +6 -6
- package/lib/labs/VHotkey/VHotkey.d.ts +3 -3
- package/lib/labs/VIconBtn/VIconBtn.d.ts +3 -3
- package/lib/labs/VMaskInput/VMaskInput.d.ts +66 -66
- package/lib/labs/VPicker/VPicker.d.ts +3 -3
- package/lib/labs/VPicker/VPickerTitle.d.ts +3 -3
- package/lib/labs/VPie/VPieTooltip.d.ts +3 -3
- package/lib/labs/VStepperVertical/VStepperVertical.d.ts +6 -6
- package/lib/labs/VStepperVertical/VStepperVerticalItem.d.ts +6 -6
- package/lib/labs/VVideo/VVideo.d.ts +87 -87
- package/lib/labs/VVideo/VVideoControls.d.ts +40 -40
- package/lib/labs/VVideo/VVideoVolume.d.ts +33 -33
- package/lib/util/animation.js +1 -1
- package/lib/util/animation.js.map +1 -1
- package/lib/util/box.d.ts +1 -1
- package/lib/util/box.js +19 -14
- package/lib/util/box.js.map +1 -1
- package/lib/util/createSimpleFunctional.d.ts +3 -3
- package/lib/util/events.js +2 -2
- package/lib/util/events.js.map +1 -1
- package/package.json +9 -9
|
@@ -434,9 +434,9 @@ export declare const makeVTreeviewProps: <Defaults extends {
|
|
|
434
434
|
path: unknown[];
|
|
435
435
|
}) => void) | Defaults["onClick:select"];
|
|
436
436
|
};
|
|
437
|
-
"onUpdate:opened": unknown extends Defaults["onUpdate:opened"] ? PropType<() => void> : {
|
|
438
|
-
type: PropType<unknown extends Defaults["onUpdate:opened"] ? () => void : (() => void) | Defaults["onUpdate:opened"]>;
|
|
439
|
-
default: unknown extends Defaults["onUpdate:opened"] ? () => void : (() => void) | Defaults["onUpdate:opened"];
|
|
437
|
+
"onUpdate:opened": unknown extends Defaults["onUpdate:opened"] ? PropType<(args_0: unknown) => void> : {
|
|
438
|
+
type: PropType<unknown extends Defaults["onUpdate:opened"] ? (args_0: unknown) => void : ((args_0: unknown) => void) | Defaults["onUpdate:opened"]>;
|
|
439
|
+
default: unknown extends Defaults["onUpdate:opened"] ? (args_0: unknown) => void : ((args_0: unknown) => void) | Defaults["onUpdate:opened"];
|
|
440
440
|
};
|
|
441
441
|
hideActions: unknown extends Defaults["hideActions"] ? BooleanConstructor : {
|
|
442
442
|
type: PropType<unknown extends Defaults["hideActions"] ? boolean : boolean | Defaults["hideActions"]>;
|
|
@@ -515,7 +515,7 @@ export declare const makeVTreeviewProps: <Defaults extends {
|
|
|
515
515
|
};
|
|
516
516
|
export declare const VTreeview: {
|
|
517
517
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
518
|
-
style: import("vue").StyleValue;
|
|
518
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
519
519
|
filterKeys: import("../../composables/filter.js").FilterKeys;
|
|
520
520
|
filterMode: import("../../composables/filter.js").FilterMode;
|
|
521
521
|
noFilter: boolean;
|
|
@@ -527,11 +527,11 @@ export declare const VTreeview: {
|
|
|
527
527
|
selectable: boolean;
|
|
528
528
|
selectStrategy: import("../../composables/nested/nested.js").SelectStrategyProp;
|
|
529
529
|
mandatory: boolean;
|
|
530
|
-
itemTitle:
|
|
531
|
-
itemValue:
|
|
532
|
-
itemChildren:
|
|
533
|
-
itemProps:
|
|
534
|
-
itemType:
|
|
530
|
+
itemTitle: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
|
|
531
|
+
itemValue: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
|
|
532
|
+
itemChildren: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
|
|
533
|
+
itemProps: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
|
|
534
|
+
itemType: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
|
|
535
535
|
returnObject: boolean;
|
|
536
536
|
disabled: boolean;
|
|
537
537
|
filterable: boolean;
|
|
@@ -579,7 +579,7 @@ export declare const VTreeview: {
|
|
|
579
579
|
value: boolean;
|
|
580
580
|
path: unknown[];
|
|
581
581
|
}) => void) | undefined;
|
|
582
|
-
"onUpdate:opened"?: (() => void) | undefined;
|
|
582
|
+
"onUpdate:opened"?: ((args_0: unknown) => void) | undefined;
|
|
583
583
|
loadChildren?: ((item: unknown) => Promise<void>) | undefined;
|
|
584
584
|
openOnClick?: boolean | undefined;
|
|
585
585
|
falseIcon?: import("../../composables/icons.js").IconValue | undefined;
|
|
@@ -740,7 +740,7 @@ export declare const VTreeview: {
|
|
|
740
740
|
M: {};
|
|
741
741
|
Defaults: {};
|
|
742
742
|
}, {
|
|
743
|
-
style: import("vue").StyleValue;
|
|
743
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
744
744
|
filterKeys: import("../../composables/filter.js").FilterKeys;
|
|
745
745
|
filterMode: import("../../composables/filter.js").FilterMode;
|
|
746
746
|
noFilter: boolean;
|
|
@@ -752,11 +752,11 @@ export declare const VTreeview: {
|
|
|
752
752
|
selectable: boolean;
|
|
753
753
|
selectStrategy: import("../../composables/nested/nested.js").SelectStrategyProp;
|
|
754
754
|
mandatory: boolean;
|
|
755
|
-
itemTitle:
|
|
756
|
-
itemValue:
|
|
757
|
-
itemChildren:
|
|
758
|
-
itemProps:
|
|
759
|
-
itemType:
|
|
755
|
+
itemTitle: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
|
|
756
|
+
itemValue: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
|
|
757
|
+
itemChildren: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
|
|
758
|
+
itemProps: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
|
|
759
|
+
itemType: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
|
|
760
760
|
returnObject: boolean;
|
|
761
761
|
disabled: boolean;
|
|
762
762
|
filterable: boolean;
|
|
@@ -804,7 +804,7 @@ export declare const VTreeview: {
|
|
|
804
804
|
value: boolean;
|
|
805
805
|
path: unknown[];
|
|
806
806
|
}) => void) | undefined;
|
|
807
|
-
"onUpdate:opened"?: (() => void) | undefined;
|
|
807
|
+
"onUpdate:opened"?: ((args_0: unknown) => void) | undefined;
|
|
808
808
|
loadChildren?: ((item: unknown) => Promise<void>) | undefined;
|
|
809
809
|
openOnClick?: boolean | undefined;
|
|
810
810
|
falseIcon?: import("../../composables/icons.js").IconValue | undefined;
|
|
@@ -866,7 +866,7 @@ export declare const VTreeview: {
|
|
|
866
866
|
__isTeleport?: undefined;
|
|
867
867
|
__isSuspense?: undefined;
|
|
868
868
|
} & import("vue").ComponentOptionsBase<{
|
|
869
|
-
style: import("vue").StyleValue;
|
|
869
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
870
870
|
filterKeys: import("../../composables/filter.js").FilterKeys;
|
|
871
871
|
filterMode: import("../../composables/filter.js").FilterMode;
|
|
872
872
|
noFilter: boolean;
|
|
@@ -878,11 +878,11 @@ export declare const VTreeview: {
|
|
|
878
878
|
selectable: boolean;
|
|
879
879
|
selectStrategy: import("../../composables/nested/nested.js").SelectStrategyProp;
|
|
880
880
|
mandatory: boolean;
|
|
881
|
-
itemTitle:
|
|
882
|
-
itemValue:
|
|
883
|
-
itemChildren:
|
|
884
|
-
itemProps:
|
|
885
|
-
itemType:
|
|
881
|
+
itemTitle: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
|
|
882
|
+
itemValue: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
|
|
883
|
+
itemChildren: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
|
|
884
|
+
itemProps: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
|
|
885
|
+
itemType: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
|
|
886
886
|
returnObject: boolean;
|
|
887
887
|
disabled: boolean;
|
|
888
888
|
filterable: boolean;
|
|
@@ -930,7 +930,7 @@ export declare const VTreeview: {
|
|
|
930
930
|
value: boolean;
|
|
931
931
|
path: unknown[];
|
|
932
932
|
}) => void) | undefined;
|
|
933
|
-
"onUpdate:opened"?: (() => void) | undefined;
|
|
933
|
+
"onUpdate:opened"?: ((args_0: unknown) => void) | undefined;
|
|
934
934
|
loadChildren?: ((item: unknown) => Promise<void>) | undefined;
|
|
935
935
|
openOnClick?: boolean | undefined;
|
|
936
936
|
falseIcon?: import("../../composables/icons.js").IconValue | undefined;
|
|
@@ -1208,7 +1208,7 @@ export declare const VTreeview: {
|
|
|
1208
1208
|
value: boolean;
|
|
1209
1209
|
path: unknown[];
|
|
1210
1210
|
}) => void>;
|
|
1211
|
-
"onUpdate:opened": PropType<() => void>;
|
|
1211
|
+
"onUpdate:opened": PropType<(args_0: unknown) => void>;
|
|
1212
1212
|
hideActions: BooleanConstructor;
|
|
1213
1213
|
fluid: BooleanConstructor;
|
|
1214
1214
|
loadChildren: PropType<(item: unknown) => Promise<void>>;
|
|
@@ -1353,7 +1353,7 @@ export declare const VTreeview: {
|
|
|
1353
1353
|
value: boolean;
|
|
1354
1354
|
path: unknown[];
|
|
1355
1355
|
}) => void>;
|
|
1356
|
-
"onUpdate:opened": PropType<() => void>;
|
|
1356
|
+
"onUpdate:opened": PropType<(args_0: unknown) => void>;
|
|
1357
1357
|
hideActions: BooleanConstructor;
|
|
1358
1358
|
fluid: BooleanConstructor;
|
|
1359
1359
|
loadChildren: PropType<(item: unknown) => Promise<void>>;
|
|
@@ -167,6 +167,7 @@ export const VTreeviewChildren = genericComponent()({
|
|
|
167
167
|
...itemProps,
|
|
168
168
|
...activatorProps,
|
|
169
169
|
value: itemProps?.value,
|
|
170
|
+
indentLines: indentLines.node,
|
|
170
171
|
onToggleExpand: [() => checkChildren(item), activatorProps.onClick],
|
|
171
172
|
onClick: isClickOnOpen.value ? [() => checkChildren(item), activatorProps.onClick] : () => selectItem(activatorItems.value[index]?.select, !activatorItems.value[index]?.isSelected)
|
|
172
173
|
};
|
|
@@ -180,7 +181,6 @@ export const VTreeviewChildren = genericComponent()({
|
|
|
180
181
|
}, listItemProps, {
|
|
181
182
|
"hasCustomPrepend": !!slots.prepend,
|
|
182
183
|
"hideActions": props.hideActions,
|
|
183
|
-
"indentLines": indentLines.node,
|
|
184
184
|
"value": props.returnObject ? item.raw : itemProps.value,
|
|
185
185
|
"loading": loading
|
|
186
186
|
}), slotsWithItem));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VTreeviewChildren.js","names":["VTreeviewGroup","makeVTreeviewItemProps","VTreeviewItem","VCheckboxBtn","VDivider","VListItemAction","VListSubheader","makeDensityProps","IconValue","computed","reactive","ref","toRaw","genericComponent","getIndentLines","pick","propsFactory","renderSlot","makeVTreeviewChildrenProps","fluid","Boolean","disabled","loadChildren","Function","loadingIcon","type","String","default","items","Array","openOnClick","undefined","indeterminateIcon","falseIcon","trueIcon","returnObject","activatable","selectable","selectedColor","selectStrategy","Object","index","Number","isLastGroup","separateRoots","parentIndentLines","indentLinesVariant","path","VTreeviewChildren","name","props","setup","_ref","slots","isLoading","Set","activatorItems","isClickOnOpen","checkChildren","item","length","children","add","value","raw","delete","selectItem","select","isSelected","map","itemProps","loading","has","nextItemHasChildren","at","depth","isLast","treeItemProps","isFirst","hideAction","hideActions","indentLines","leafLinks","variant","slotsWithItem","toggle","slotProps","internalItem","prepend","_createElementVNode","_Fragment","includes","_createVNode","density","isIndeterminate","v","e","stopPropagation","key","append","title","subtitle","treeviewGroupProps","filterProps","treeviewChildrenProps","_mergeProps","activator","_ref2","activatorProps","listItemProps","onToggleExpand","onClick","header","el","node","divider","subheader","leaf"],"sources":["../../../src/components/VTreeview/VTreeviewChildren.tsx"],"sourcesContent":["// Components\nimport { VTreeviewGroup } from './VTreeviewGroup'\nimport { makeVTreeviewItemProps, VTreeviewItem } from './VTreeviewItem'\nimport { VCheckboxBtn } from '@/components/VCheckbox'\nimport { VDivider } from '@/components/VDivider'\nimport { VListItemAction, VListSubheader } from '@/components/VList'\n\n// Composables\nimport { makeDensityProps } from '@/composables/density'\nimport { IconValue } from '@/composables/icons'\n\n// Utilities\nimport { computed, reactive, ref, toRaw } from 'vue'\nimport { genericComponent, getIndentLines, pick, propsFactory, renderSlot } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { VTreeviewItemSlots } from './VTreeviewItem'\nimport type { InternalListItem } from '@/components/VList/VList'\nimport type { SelectStrategyProp } from '@/composables/nested/nested'\nimport type { GenericProps, IndentLinesVariant, IndentLineType } from '@/util'\n\nexport type VTreeviewChildrenSlots<T> = {\n [K in keyof Omit<VTreeviewItemSlots, 'default'>]: VTreeviewItemSlots[K] & {\n item: T\n internalItem: InternalListItem<T>\n }\n} & {\n default: never\n item: {\n props: InternalListItem['props']\n item: T\n internalItem: InternalListItem<T>\n }\n header: {\n props: InternalListItem['props']\n item: T\n internalItem: InternalListItem<T>\n loading: boolean\n }\n divider: { props: InternalListItem['props'] }\n subheader: { props: InternalListItem['props'] }\n}\n\nexport const makeVTreeviewChildrenProps = propsFactory({\n fluid: Boolean,\n disabled: Boolean,\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 activatable: Boolean,\n selectable: Boolean,\n selectedColor: String,\n selectStrategy: [String, Function, Object] as PropType<SelectStrategyProp>,\n index: Number,\n isLastGroup: Boolean,\n separateRoots: Boolean,\n parentIndentLines: Array as PropType<IndentLineType[]>,\n indentLinesVariant: String as PropType<IndentLinesVariant>,\n path: {\n type: Array as PropType<number[]>,\n default: () => [],\n },\n ...pick(makeVTreeviewItemProps(), ['hideActions']),\n ...makeDensityProps(),\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, { slots }) {\n const isLoading = reactive(new Set<unknown>())\n const activatorItems = ref<VTreeviewItem[]>([])\n\n const isClickOnOpen = computed(() => (\n !props.disabled && (\n props.openOnClick != null\n ? props.openOnClick\n : props.selectable && !props.activatable\n )))\n\n async function checkChildren (item: InternalListItem) {\n try {\n if (!props.items?.length || !props.loadChildren) return\n\n if (item?.children?.length === 0) {\n isLoading.add(item.value)\n await props.loadChildren(item.raw)\n }\n } finally {\n isLoading.delete(item.value)\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((item, index, items) => {\n const { children, props: itemProps } = item\n const loading = isLoading.has(item.value)\n const nextItemHasChildren = !!items.at(index + 1)?.children\n\n const depth = props.path?.length ?? 0\n const isLast = items.length - 1 === index\n const treeItemProps = {\n index,\n depth,\n isFirst: index === 0,\n isLast,\n path: [...props.path, index],\n hideAction: props.hideActions,\n }\n\n const indentLines = getIndentLines({\n depth,\n isLast,\n isLastGroup: props.isLastGroup,\n leafLinks: !props.hideActions && !props.fluid,\n separateRoots: props.separateRoots,\n parentIndentLines: props.parentIndentLines,\n variant: props.indentLinesVariant,\n })\n\n const slotsWithItem = {\n toggle: slots.toggle\n ? slotProps => slots.toggle?.({ ...slotProps, ...treeItemProps, item: item.raw, internalItem: item, loading })\n : undefined,\n prepend: slotProps => (\n <>\n { props.selectable && (!children || (children && !['leaf', 'single-leaf'].includes(props.selectStrategy as string))) && (\n <VListItemAction start>\n <VCheckboxBtn\n key={ item.value }\n modelValue={ slotProps.isSelected }\n disabled={ props.disabled }\n loading={ loading }\n color={ props.selectedColor }\n density={ props.density }\n indeterminate={ slotProps.isIndeterminate }\n indeterminateIcon={ props.indeterminateIcon }\n falseIcon={ props.falseIcon }\n trueIcon={ props.trueIcon }\n onUpdate:modelValue={ v => selectItem(slotProps.select, v) }\n onClick={ (e: PointerEvent) => e.stopPropagation() }\n onKeydown={ (e: KeyboardEvent) => {\n if (!['Enter', 'Space'].includes(e.key)) return\n e.stopPropagation()\n selectItem(slotProps.select, slotProps.isSelected)\n }}\n />\n </VListItemAction>\n )}\n\n { slots.prepend?.({ ...slotProps, ...treeItemProps, item: item.raw, internalItem: item }) }\n </>\n ),\n append: slots.append\n ? slotProps => slots.append?.({ ...slotProps, ...treeItemProps, item: item.raw, internalItem: item })\n : undefined,\n title: slots.title ? slotProps => slots.title?.({ ...slotProps, item: item.raw, internalItem: item }) : undefined,\n subtitle: slots.subtitle ? slotProps => slots.subtitle?.({ ...slotProps, item: item.raw, internalItem: item }) : undefined,\n } satisfies VTreeviewItem['$props']['$children']\n\n const treeviewGroupProps = VTreeviewGroup.filterProps(itemProps)\n const treeviewChildrenProps = VTreeviewChildren.filterProps({ ...props, ...treeItemProps })\n\n return children ? (\n <VTreeviewGroup\n { ...treeviewGroupProps }\n value={ props.returnObject ? item.raw : treeviewGroupProps?.value }\n rawId={ 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\n ? [() => checkChildren(item), activatorProps.onClick] as any\n : () => selectItem(activatorItems.value[index]?.select, !activatorItems.value[index]?.isSelected),\n }\n\n return renderSlot(\n slots.header,\n { props: listItemProps, item: item.raw, internalItem: item, loading },\n () => (\n <VTreeviewItem\n ref={ el => activatorItems.value[index] = el as VTreeviewItem }\n { ...listItemProps }\n hasCustomPrepend={ !!slots.prepend }\n hideActions={ props.hideActions }\n indentLines={ indentLines.node }\n value={ props.returnObject ? item.raw : itemProps.value }\n loading={ loading }\n v-slots={ slotsWithItem }\n />\n )\n )\n },\n default: () => (\n <VTreeviewChildren\n { ...treeviewChildrenProps }\n items={ children }\n indentLinesVariant={ props.indentLinesVariant }\n parentIndentLines={ indentLines.children }\n isLastGroup={ nextItemHasChildren }\n returnObject={ props.returnObject }\n v-slots={ slots }\n />\n ),\n }}\n </VTreeviewGroup>\n ) : renderSlot(\n slots.item,\n { props: itemProps, item: item.raw, internalItem: item },\n () => {\n if (item.type === 'divider') {\n return renderSlot(\n slots.divider,\n { props: item.raw },\n () => <VDivider { ...item.props } />,\n )\n }\n if (item.type === 'subheader') {\n return renderSlot(\n slots.subheader,\n { props: item.raw },\n () => <VListSubheader { ...item.props } />,\n )\n }\n return (\n <VTreeviewItem\n { ...itemProps }\n hasCustomPrepend={ !!slots.prepend }\n hideActions={ props.hideActions }\n indentLines={ indentLines.leaf }\n value={ props.returnObject ? toRaw(item.raw) : itemProps.value }\n v-slots={ slotsWithItem }\n />\n )\n })\n })\n },\n})\n"],"mappings":";AAAA;AAAA,SACSA,cAAc;AAAA,SACdC,sBAAsB,EAAEC,aAAa;AAAA,SACrCC,YAAY;AAAA,SACZC,QAAQ;AAAA,SACRC,eAAe,EAAEC,cAAc,6BAExC;AAAA,SACSC,gBAAgB;AAAA,SAChBC,SAAS,sCAElB;AACA,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,GAAG,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAC3CC,gBAAgB,EAAEC,cAAc,EAAEC,IAAI,EAAEC,YAAY,EAAEC,UAAU,+BAEzE;AA6BA,OAAO,MAAMC,0BAA0B,GAAGF,YAAY,CAAC;EACrDG,KAAK,EAAEC,OAAO;EACdC,QAAQ,EAAED,OAAO;EACjBE,YAAY,EAAEC,QAAsD;EACpEC,WAAW,EAAE;IACXC,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAE;EACX,CAAC;EACDC,KAAK,EAAEC,KAA8C;EACrDC,WAAW,EAAE;IACXL,IAAI,EAAEL,OAAO;IACbO,OAAO,EAAEI;EACX,CAAC;EACDC,iBAAiB,EAAE;IACjBP,IAAI,EAAEjB,SAAS;IACfmB,OAAO,EAAE;EACX,CAAC;EACDM,SAAS,EAAEzB,SAAS;EACpB0B,QAAQ,EAAE1B,SAAS;EACnB2B,YAAY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AAC8B,WAAW;UAAA,eACjBC,WAAW,CAACoC,IAAI;UAAA,SACtBnE,KAAK,CAACf,YAAY,GAAGvB,KAAK,CAAC+C,IAAI,CAACK,GAAG,CAAC,GAAGM,SAAS,CAACP;QAAK,IACpDqB,aAAa;MAG7B,CAAC,CAAC;IACN,CAAC,CAAC;EACJ;AACF,CAAC,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"VTreeviewChildren.js","names":["VTreeviewGroup","makeVTreeviewItemProps","VTreeviewItem","VCheckboxBtn","VDivider","VListItemAction","VListSubheader","makeDensityProps","IconValue","computed","reactive","ref","toRaw","genericComponent","getIndentLines","pick","propsFactory","renderSlot","makeVTreeviewChildrenProps","fluid","Boolean","disabled","loadChildren","Function","loadingIcon","type","String","default","items","Array","openOnClick","undefined","indeterminateIcon","falseIcon","trueIcon","returnObject","activatable","selectable","selectedColor","selectStrategy","Object","index","Number","isLastGroup","separateRoots","parentIndentLines","indentLinesVariant","path","VTreeviewChildren","name","props","setup","_ref","slots","isLoading","Set","activatorItems","isClickOnOpen","checkChildren","item","length","children","add","value","raw","delete","selectItem","select","isSelected","map","itemProps","loading","has","nextItemHasChildren","at","depth","isLast","treeItemProps","isFirst","hideAction","hideActions","indentLines","leafLinks","variant","slotsWithItem","toggle","slotProps","internalItem","prepend","_createElementVNode","_Fragment","includes","_createVNode","density","isIndeterminate","v","e","stopPropagation","key","append","title","subtitle","treeviewGroupProps","filterProps","treeviewChildrenProps","_mergeProps","activator","_ref2","activatorProps","listItemProps","node","onToggleExpand","onClick","header","el","divider","subheader","leaf"],"sources":["../../../src/components/VTreeview/VTreeviewChildren.tsx"],"sourcesContent":["// Components\nimport { VTreeviewGroup } from './VTreeviewGroup'\nimport { makeVTreeviewItemProps, VTreeviewItem } from './VTreeviewItem'\nimport { VCheckboxBtn } from '@/components/VCheckbox'\nimport { VDivider } from '@/components/VDivider'\nimport { VListItemAction, VListSubheader } from '@/components/VList'\n\n// Composables\nimport { makeDensityProps } from '@/composables/density'\nimport { IconValue } from '@/composables/icons'\n\n// Utilities\nimport { computed, reactive, ref, toRaw } from 'vue'\nimport { genericComponent, getIndentLines, pick, propsFactory, renderSlot } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { VTreeviewItemSlots } from './VTreeviewItem'\nimport type { InternalListItem } from '@/components/VList/VList'\nimport type { SelectStrategyProp } from '@/composables/nested/nested'\nimport type { GenericProps, IndentLinesVariant, IndentLineType } from '@/util'\n\nexport type VTreeviewChildrenSlots<T> = {\n [K in keyof Omit<VTreeviewItemSlots, 'default'>]: VTreeviewItemSlots[K] & {\n item: T\n internalItem: InternalListItem<T>\n }\n} & {\n default: never\n item: {\n props: InternalListItem['props']\n item: T\n internalItem: InternalListItem<T>\n }\n header: {\n props: InternalListItem['props']\n item: T\n internalItem: InternalListItem<T>\n loading: boolean\n }\n divider: { props: InternalListItem['props'] }\n subheader: { props: InternalListItem['props'] }\n}\n\nexport const makeVTreeviewChildrenProps = propsFactory({\n fluid: Boolean,\n disabled: Boolean,\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 activatable: Boolean,\n selectable: Boolean,\n selectedColor: String,\n selectStrategy: [String, Function, Object] as PropType<SelectStrategyProp>,\n index: Number,\n isLastGroup: Boolean,\n separateRoots: Boolean,\n parentIndentLines: Array as PropType<IndentLineType[]>,\n indentLinesVariant: String as PropType<IndentLinesVariant>,\n path: {\n type: Array as PropType<number[]>,\n default: () => [],\n },\n ...pick(makeVTreeviewItemProps(), ['hideActions']),\n ...makeDensityProps(),\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, { slots }) {\n const isLoading = reactive(new Set<unknown>())\n const activatorItems = ref<VTreeviewItem[]>([])\n\n const isClickOnOpen = computed(() => (\n !props.disabled && (\n props.openOnClick != null\n ? props.openOnClick\n : props.selectable && !props.activatable\n )))\n\n async function checkChildren (item: InternalListItem) {\n try {\n if (!props.items?.length || !props.loadChildren) return\n\n if (item?.children?.length === 0) {\n isLoading.add(item.value)\n await props.loadChildren(item.raw)\n }\n } finally {\n isLoading.delete(item.value)\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((item, index, items) => {\n const { children, props: itemProps } = item\n const loading = isLoading.has(item.value)\n const nextItemHasChildren = !!items.at(index + 1)?.children\n\n const depth = props.path?.length ?? 0\n const isLast = items.length - 1 === index\n const treeItemProps = {\n index,\n depth,\n isFirst: index === 0,\n isLast,\n path: [...props.path, index],\n hideAction: props.hideActions,\n }\n\n const indentLines = getIndentLines({\n depth,\n isLast,\n isLastGroup: props.isLastGroup,\n leafLinks: !props.hideActions && !props.fluid,\n separateRoots: props.separateRoots,\n parentIndentLines: props.parentIndentLines,\n variant: props.indentLinesVariant,\n })\n\n const slotsWithItem = {\n toggle: slots.toggle\n ? slotProps => slots.toggle?.({ ...slotProps, ...treeItemProps, item: item.raw, internalItem: item, loading })\n : undefined,\n prepend: slotProps => (\n <>\n { props.selectable && (!children || (children && !['leaf', 'single-leaf'].includes(props.selectStrategy as string))) && (\n <VListItemAction start>\n <VCheckboxBtn\n key={ item.value }\n modelValue={ slotProps.isSelected }\n disabled={ props.disabled }\n loading={ loading }\n color={ props.selectedColor }\n density={ props.density }\n indeterminate={ slotProps.isIndeterminate }\n indeterminateIcon={ props.indeterminateIcon }\n falseIcon={ props.falseIcon }\n trueIcon={ props.trueIcon }\n onUpdate:modelValue={ v => selectItem(slotProps.select, v) }\n onClick={ (e: PointerEvent) => e.stopPropagation() }\n onKeydown={ (e: KeyboardEvent) => {\n if (!['Enter', 'Space'].includes(e.key)) return\n e.stopPropagation()\n selectItem(slotProps.select, slotProps.isSelected)\n }}\n />\n </VListItemAction>\n )}\n\n { slots.prepend?.({ ...slotProps, ...treeItemProps, item: item.raw, internalItem: item }) }\n </>\n ),\n append: slots.append\n ? slotProps => slots.append?.({ ...slotProps, ...treeItemProps, item: item.raw, internalItem: item })\n : undefined,\n title: slots.title ? slotProps => slots.title?.({ ...slotProps, item: item.raw, internalItem: item }) : undefined,\n subtitle: slots.subtitle ? slotProps => slots.subtitle?.({ ...slotProps, item: item.raw, internalItem: item }) : undefined,\n } satisfies VTreeviewItem['$props']['$children']\n\n const treeviewGroupProps = VTreeviewGroup.filterProps(itemProps)\n const treeviewChildrenProps = VTreeviewChildren.filterProps({ ...props, ...treeItemProps })\n\n return children ? (\n <VTreeviewGroup\n { ...treeviewGroupProps }\n value={ props.returnObject ? item.raw : treeviewGroupProps?.value }\n rawId={ treeviewGroupProps?.value }\n >\n {{\n activator: ({ props: activatorProps }) => {\n const listItemProps = {\n ...itemProps,\n ...activatorProps,\n value: itemProps?.value,\n indentLines: indentLines.node,\n onToggleExpand: [() => checkChildren(item), activatorProps.onClick] as any,\n onClick: isClickOnOpen.value\n ? [() => checkChildren(item), activatorProps.onClick] as any\n : () => selectItem(activatorItems.value[index]?.select, !activatorItems.value[index]?.isSelected),\n }\n\n return renderSlot(\n slots.header,\n { props: listItemProps, item: item.raw, internalItem: item, loading },\n () => (\n <VTreeviewItem\n ref={ el => activatorItems.value[index] = el as VTreeviewItem }\n { ...listItemProps }\n hasCustomPrepend={ !!slots.prepend }\n hideActions={ props.hideActions }\n value={ props.returnObject ? item.raw : itemProps.value }\n loading={ loading }\n v-slots={ slotsWithItem }\n />\n )\n )\n },\n default: () => (\n <VTreeviewChildren\n { ...treeviewChildrenProps }\n items={ children }\n indentLinesVariant={ props.indentLinesVariant }\n parentIndentLines={ indentLines.children }\n isLastGroup={ nextItemHasChildren }\n returnObject={ props.returnObject }\n v-slots={ slots }\n />\n ),\n }}\n </VTreeviewGroup>\n ) : renderSlot(\n slots.item,\n { props: itemProps, item: item.raw, internalItem: item },\n () => {\n if (item.type === 'divider') {\n return renderSlot(\n slots.divider,\n { props: item.raw },\n () => <VDivider { ...item.props } />,\n )\n }\n if (item.type === 'subheader') {\n return renderSlot(\n slots.subheader,\n { props: item.raw },\n () => <VListSubheader { ...item.props } />,\n )\n }\n return (\n <VTreeviewItem\n { ...itemProps }\n hasCustomPrepend={ !!slots.prepend }\n hideActions={ props.hideActions }\n indentLines={ indentLines.leaf }\n value={ props.returnObject ? toRaw(item.raw) : itemProps.value }\n v-slots={ slotsWithItem }\n />\n )\n })\n })\n },\n})\n"],"mappings":";AAAA;AAAA,SACSA,cAAc;AAAA,SACdC,sBAAsB,EAAEC,aAAa;AAAA,SACrCC,YAAY;AAAA,SACZC,QAAQ;AAAA,SACRC,eAAe,EAAEC,cAAc,6BAExC;AAAA,SACSC,gBAAgB;AAAA,SAChBC,SAAS,sCAElB;AACA,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,GAAG,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAC3CC,gBAAgB,EAAEC,cAAc,EAAEC,IAAI,EAAEC,YAAY,EAAEC,UAAU,+BAEzE;AA6BA,OAAO,MAAMC,0BAA0B,GAAGF,YAAY,CAAC;EACrDG,KAAK,EAAEC,OAAO;EACdC,QAAQ,EAAED,OAAO;EACjBE,YAAY,EAAEC,QAAsD;EACpEC,WAAW,EAAE;IACXC,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAE;EACX,CAAC;EACDC,KAAK,EAAEC,KAA8C;EACrDC,WAAW,EAAE;IACXL,IAAI,EAAEL,OAAO;IACbO,OAAO,EAAEI;EACX,CAAC;EACDC,iBAAiB,EAAE;IACjBP,IAAI,EAAEjB,SA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A,CAAA1F,aAAA,EAAAuG,WAAA,CAESnC,SAAS;UAAA,oBACK,CAAC,CAACjB,KAAK,CAACmC,OAAO;UAAA,eACpBtC,KAAK,CAAC8B,WAAW;UAAA,eACjBC,WAAW,CAACoC,IAAI;UAAA,SACtBnE,KAAK,CAACf,YAAY,GAAGvB,KAAK,CAAC+C,IAAI,CAACK,GAAG,CAAC,GAAGM,SAAS,CAACP;QAAK,IACpDqB,aAAa;MAG7B,CAAC,CAAC;IACN,CAAC,CAAC;EACJ;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -114,7 +114,7 @@ export declare const makeVTreeviewGroupProps: <Defaults extends {
|
|
|
114
114
|
};
|
|
115
115
|
export declare const VTreeviewGroup: {
|
|
116
116
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
117
|
-
style: import("vue").StyleValue;
|
|
117
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
118
118
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
119
119
|
collapseIcon: import("../../composables/icons.js").IconValue;
|
|
120
120
|
disabled: boolean;
|
|
@@ -178,7 +178,7 @@ export declare const VTreeviewGroup: {
|
|
|
178
178
|
M: {};
|
|
179
179
|
Defaults: {};
|
|
180
180
|
}, {
|
|
181
|
-
style: import("vue").StyleValue;
|
|
181
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
182
182
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
183
183
|
collapseIcon: import("../../composables/icons.js").IconValue;
|
|
184
184
|
disabled: boolean;
|
|
@@ -229,7 +229,7 @@ export declare const VTreeviewGroup: {
|
|
|
229
229
|
__isTeleport?: undefined;
|
|
230
230
|
__isSuspense?: undefined;
|
|
231
231
|
} & import("vue").ComponentOptionsBase<{
|
|
232
|
-
style: import("vue").StyleValue;
|
|
232
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
233
233
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
234
234
|
collapseIcon: import("../../composables/icons.js").IconValue;
|
|
235
235
|
disabled: boolean;
|
|
@@ -341,7 +341,7 @@ export type VTreeviewItemSlots = VListItemSlots & {
|
|
|
341
341
|
};
|
|
342
342
|
export declare const VTreeviewItem: {
|
|
343
343
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
344
|
-
style: import("vue").StyleValue;
|
|
344
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
345
345
|
density: import("../../composables/density.js").Density;
|
|
346
346
|
tile: boolean;
|
|
347
347
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -353,7 +353,7 @@ export declare const VTreeviewItem: {
|
|
|
353
353
|
ripple: boolean | {
|
|
354
354
|
class?: string | undefined;
|
|
355
355
|
keys?: string[] | undefined;
|
|
356
|
-
}
|
|
356
|
+
};
|
|
357
357
|
slim: boolean;
|
|
358
358
|
loading: boolean;
|
|
359
359
|
hideActions: boolean;
|
|
@@ -462,7 +462,7 @@ export declare const VTreeviewItem: {
|
|
|
462
462
|
}> & Omit<{
|
|
463
463
|
theme?: string | undefined;
|
|
464
464
|
class?: any;
|
|
465
|
-
style: import("vue").StyleValue;
|
|
465
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
466
466
|
$children?: {
|
|
467
467
|
prepend?: ((arg: import("../VList/VListItem.js").ListItemSlot) => import("vue").VNodeChild) | undefined;
|
|
468
468
|
append?: ((arg: import("../VList/VListItem.js").ListItemSlot) => import("vue").VNodeChild) | undefined;
|
|
@@ -512,7 +512,7 @@ export declare const VTreeviewItem: {
|
|
|
512
512
|
ripple: boolean | {
|
|
513
513
|
class?: string | undefined;
|
|
514
514
|
keys?: string[] | undefined;
|
|
515
|
-
}
|
|
515
|
+
};
|
|
516
516
|
slim: boolean;
|
|
517
517
|
subtitle?: string | number | boolean | undefined;
|
|
518
518
|
title?: string | number | boolean | undefined;
|
|
@@ -554,7 +554,7 @@ export declare const VTreeviewItem: {
|
|
|
554
554
|
$emit: (event: "click", e: KeyboardEvent | MouseEvent) => void;
|
|
555
555
|
$el: any;
|
|
556
556
|
$options: import("vue").ComponentOptionsBase<{
|
|
557
|
-
style: import("vue").StyleValue;
|
|
557
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
558
558
|
density: import("../../composables/density.js").Density;
|
|
559
559
|
tile: boolean;
|
|
560
560
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -566,7 +566,7 @@ export declare const VTreeviewItem: {
|
|
|
566
566
|
ripple: boolean | {
|
|
567
567
|
class?: string | undefined;
|
|
568
568
|
keys?: string[] | undefined;
|
|
569
|
-
}
|
|
569
|
+
};
|
|
570
570
|
slim: boolean;
|
|
571
571
|
} & {
|
|
572
572
|
theme?: string | undefined;
|
|
@@ -733,7 +733,7 @@ export declare const VTreeviewItem: {
|
|
|
733
733
|
subtitle: string | number | boolean;
|
|
734
734
|
title: string | number | boolean;
|
|
735
735
|
}> & Omit<{
|
|
736
|
-
style: import("vue").StyleValue;
|
|
736
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
737
737
|
density: import("../../composables/density.js").Density;
|
|
738
738
|
tile: boolean;
|
|
739
739
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -745,7 +745,7 @@ export declare const VTreeviewItem: {
|
|
|
745
745
|
ripple: boolean | {
|
|
746
746
|
class?: string | undefined;
|
|
747
747
|
keys?: string[] | undefined;
|
|
748
|
-
}
|
|
748
|
+
};
|
|
749
749
|
slim: boolean;
|
|
750
750
|
} & {
|
|
751
751
|
theme?: string | undefined;
|
|
@@ -924,7 +924,7 @@ export declare const VTreeviewItem: {
|
|
|
924
924
|
M: {};
|
|
925
925
|
Defaults: {};
|
|
926
926
|
}, {
|
|
927
|
-
style: import("vue").StyleValue;
|
|
927
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
928
928
|
density: import("../../composables/density.js").Density;
|
|
929
929
|
tile: boolean;
|
|
930
930
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -936,7 +936,7 @@ export declare const VTreeviewItem: {
|
|
|
936
936
|
ripple: boolean | {
|
|
937
937
|
class?: string | undefined;
|
|
938
938
|
keys?: string[] | undefined;
|
|
939
|
-
}
|
|
939
|
+
};
|
|
940
940
|
slim: boolean;
|
|
941
941
|
loading: boolean;
|
|
942
942
|
hideActions: boolean;
|
|
@@ -1045,7 +1045,7 @@ export declare const VTreeviewItem: {
|
|
|
1045
1045
|
}> & Omit<{
|
|
1046
1046
|
theme?: string | undefined;
|
|
1047
1047
|
class?: any;
|
|
1048
|
-
style: import("vue").StyleValue;
|
|
1048
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
1049
1049
|
$children?: {
|
|
1050
1050
|
prepend?: ((arg: import("../VList/VListItem.js").ListItemSlot) => import("vue").VNodeChild) | undefined;
|
|
1051
1051
|
append?: ((arg: import("../VList/VListItem.js").ListItemSlot) => import("vue").VNodeChild) | undefined;
|
|
@@ -1095,7 +1095,7 @@ export declare const VTreeviewItem: {
|
|
|
1095
1095
|
ripple: boolean | {
|
|
1096
1096
|
class?: string | undefined;
|
|
1097
1097
|
keys?: string[] | undefined;
|
|
1098
|
-
}
|
|
1098
|
+
};
|
|
1099
1099
|
slim: boolean;
|
|
1100
1100
|
subtitle?: string | number | boolean | undefined;
|
|
1101
1101
|
title?: string | number | boolean | undefined;
|
|
@@ -1137,7 +1137,7 @@ export declare const VTreeviewItem: {
|
|
|
1137
1137
|
$emit: (event: "click", e: KeyboardEvent | MouseEvent) => void;
|
|
1138
1138
|
$el: any;
|
|
1139
1139
|
$options: import("vue").ComponentOptionsBase<{
|
|
1140
|
-
style: import("vue").StyleValue;
|
|
1140
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
1141
1141
|
density: import("../../composables/density.js").Density;
|
|
1142
1142
|
tile: boolean;
|
|
1143
1143
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -1149,7 +1149,7 @@ export declare const VTreeviewItem: {
|
|
|
1149
1149
|
ripple: boolean | {
|
|
1150
1150
|
class?: string | undefined;
|
|
1151
1151
|
keys?: string[] | undefined;
|
|
1152
|
-
}
|
|
1152
|
+
};
|
|
1153
1153
|
slim: boolean;
|
|
1154
1154
|
} & {
|
|
1155
1155
|
theme?: string | undefined;
|
|
@@ -1316,7 +1316,7 @@ export declare const VTreeviewItem: {
|
|
|
1316
1316
|
subtitle: string | number | boolean;
|
|
1317
1317
|
title: string | number | boolean;
|
|
1318
1318
|
}> & Omit<{
|
|
1319
|
-
style: import("vue").StyleValue;
|
|
1319
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
1320
1320
|
density: import("../../composables/density.js").Density;
|
|
1321
1321
|
tile: boolean;
|
|
1322
1322
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -1328,7 +1328,7 @@ export declare const VTreeviewItem: {
|
|
|
1328
1328
|
ripple: boolean | {
|
|
1329
1329
|
class?: string | undefined;
|
|
1330
1330
|
keys?: string[] | undefined;
|
|
1331
|
-
}
|
|
1331
|
+
};
|
|
1332
1332
|
slim: boolean;
|
|
1333
1333
|
} & {
|
|
1334
1334
|
theme?: string | undefined;
|
|
@@ -1477,7 +1477,7 @@ export declare const VTreeviewItem: {
|
|
|
1477
1477
|
__isTeleport?: undefined;
|
|
1478
1478
|
__isSuspense?: undefined;
|
|
1479
1479
|
} & import("vue").ComponentOptionsBase<{
|
|
1480
|
-
style: import("vue").StyleValue;
|
|
1480
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
1481
1481
|
density: import("../../composables/density.js").Density;
|
|
1482
1482
|
tile: boolean;
|
|
1483
1483
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -1489,7 +1489,7 @@ export declare const VTreeviewItem: {
|
|
|
1489
1489
|
ripple: boolean | {
|
|
1490
1490
|
class?: string | undefined;
|
|
1491
1491
|
keys?: string[] | undefined;
|
|
1492
|
-
}
|
|
1492
|
+
};
|
|
1493
1493
|
slim: boolean;
|
|
1494
1494
|
loading: boolean;
|
|
1495
1495
|
hideActions: boolean;
|
|
@@ -1598,7 +1598,7 @@ export declare const VTreeviewItem: {
|
|
|
1598
1598
|
}> & Omit<{
|
|
1599
1599
|
theme?: string | undefined;
|
|
1600
1600
|
class?: any;
|
|
1601
|
-
style: import("vue").StyleValue;
|
|
1601
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
1602
1602
|
$children?: {
|
|
1603
1603
|
prepend?: ((arg: import("../VList/VListItem.js").ListItemSlot) => import("vue").VNodeChild) | undefined;
|
|
1604
1604
|
append?: ((arg: import("../VList/VListItem.js").ListItemSlot) => import("vue").VNodeChild) | undefined;
|
|
@@ -1648,7 +1648,7 @@ export declare const VTreeviewItem: {
|
|
|
1648
1648
|
ripple: boolean | {
|
|
1649
1649
|
class?: string | undefined;
|
|
1650
1650
|
keys?: string[] | undefined;
|
|
1651
|
-
}
|
|
1651
|
+
};
|
|
1652
1652
|
slim: boolean;
|
|
1653
1653
|
subtitle?: string | number | boolean | undefined;
|
|
1654
1654
|
title?: string | number | boolean | undefined;
|
|
@@ -1690,7 +1690,7 @@ export declare const VTreeviewItem: {
|
|
|
1690
1690
|
$emit: (event: "click", e: KeyboardEvent | MouseEvent) => void;
|
|
1691
1691
|
$el: any;
|
|
1692
1692
|
$options: import("vue").ComponentOptionsBase<{
|
|
1693
|
-
style: import("vue").StyleValue;
|
|
1693
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
1694
1694
|
density: import("../../composables/density.js").Density;
|
|
1695
1695
|
tile: boolean;
|
|
1696
1696
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -1702,7 +1702,7 @@ export declare const VTreeviewItem: {
|
|
|
1702
1702
|
ripple: boolean | {
|
|
1703
1703
|
class?: string | undefined;
|
|
1704
1704
|
keys?: string[] | undefined;
|
|
1705
|
-
}
|
|
1705
|
+
};
|
|
1706
1706
|
slim: boolean;
|
|
1707
1707
|
} & {
|
|
1708
1708
|
theme?: string | undefined;
|
|
@@ -1869,7 +1869,7 @@ export declare const VTreeviewItem: {
|
|
|
1869
1869
|
subtitle: string | number | boolean;
|
|
1870
1870
|
title: string | number | boolean;
|
|
1871
1871
|
}> & Omit<{
|
|
1872
|
-
style: import("vue").StyleValue;
|
|
1872
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
1873
1873
|
density: import("../../composables/density.js").Density;
|
|
1874
1874
|
tile: boolean;
|
|
1875
1875
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -1881,7 +1881,7 @@ export declare const VTreeviewItem: {
|
|
|
1881
1881
|
ripple: boolean | {
|
|
1882
1882
|
class?: string | undefined;
|
|
1883
1883
|
keys?: string[] | undefined;
|
|
1884
|
-
}
|
|
1884
|
+
};
|
|
1885
1885
|
slim: boolean;
|
|
1886
1886
|
} & {
|
|
1887
1887
|
theme?: string | undefined;
|
|
@@ -96,9 +96,9 @@ export declare const makeVVirtualScrollProps: <Defaults extends {
|
|
|
96
96
|
};
|
|
97
97
|
export declare const VVirtualScroll: {
|
|
98
98
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
99
|
-
style: import("vue").StyleValue;
|
|
99
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
100
100
|
itemHeight: string | number;
|
|
101
|
-
itemKey:
|
|
101
|
+
itemKey: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
|
|
102
102
|
} & {
|
|
103
103
|
class?: any;
|
|
104
104
|
height?: string | number | undefined;
|
|
@@ -128,9 +128,9 @@ export declare const VVirtualScroll: {
|
|
|
128
128
|
M: {};
|
|
129
129
|
Defaults: {};
|
|
130
130
|
}, {
|
|
131
|
-
style: import("vue").StyleValue;
|
|
131
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
132
132
|
itemHeight: string | number;
|
|
133
|
-
itemKey:
|
|
133
|
+
itemKey: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
|
|
134
134
|
} & {
|
|
135
135
|
class?: any;
|
|
136
136
|
height?: string | number | undefined;
|
|
@@ -151,9 +151,9 @@ export declare const VVirtualScroll: {
|
|
|
151
151
|
__isTeleport?: undefined;
|
|
152
152
|
__isSuspense?: undefined;
|
|
153
153
|
} & import("vue").ComponentOptionsBase<{
|
|
154
|
-
style: import("vue").StyleValue;
|
|
154
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
155
155
|
itemHeight: string | number;
|
|
156
|
-
itemKey:
|
|
156
|
+
itemKey: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
|
|
157
157
|
} & {
|
|
158
158
|
class?: any;
|
|
159
159
|
height?: string | number | undefined;
|
|
@@ -26,7 +26,7 @@ export declare const makeVVirtualScrollItemProps: <Defaults extends {
|
|
|
26
26
|
};
|
|
27
27
|
export declare const VVirtualScrollItem: {
|
|
28
28
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
29
|
-
style: import("vue").StyleValue;
|
|
29
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
30
30
|
} & {
|
|
31
31
|
class?: any;
|
|
32
32
|
} & {
|
|
@@ -49,7 +49,7 @@ export declare const VVirtualScrollItem: {
|
|
|
49
49
|
M: {};
|
|
50
50
|
Defaults: {};
|
|
51
51
|
}, {
|
|
52
|
-
style: import("vue").StyleValue;
|
|
52
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
53
53
|
} & {
|
|
54
54
|
class?: any;
|
|
55
55
|
} & {
|
|
@@ -61,7 +61,7 @@ export declare const VVirtualScrollItem: {
|
|
|
61
61
|
__isTeleport?: undefined;
|
|
62
62
|
__isSuspense?: undefined;
|
|
63
63
|
} & import("vue").ComponentOptionsBase<{
|
|
64
|
-
style: import("vue").StyleValue;
|
|
64
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
65
65
|
} & {
|
|
66
66
|
class?: any;
|
|
67
67
|
} & {
|
|
@@ -184,7 +184,7 @@ export declare const makeVWindowProps: <Defaults extends {
|
|
|
184
184
|
};
|
|
185
185
|
export declare const VWindow: {
|
|
186
186
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
187
|
-
style: import("vue").StyleValue;
|
|
187
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
188
188
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
189
189
|
continuous: boolean;
|
|
190
190
|
nextIcon: IconValue;
|
|
@@ -248,7 +248,7 @@ export declare const VWindow: {
|
|
|
248
248
|
M: {};
|
|
249
249
|
Defaults: {};
|
|
250
250
|
}, {
|
|
251
|
-
style: import("vue").StyleValue;
|
|
251
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
252
252
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
253
253
|
continuous: boolean;
|
|
254
254
|
nextIcon: IconValue;
|
|
@@ -286,7 +286,7 @@ export declare const VWindow: {
|
|
|
286
286
|
__isTeleport?: undefined;
|
|
287
287
|
__isSuspense?: undefined;
|
|
288
288
|
} & import("vue").ComponentOptionsBase<{
|
|
289
|
-
style: import("vue").StyleValue;
|
|
289
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
290
290
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
291
291
|
continuous: boolean;
|
|
292
292
|
nextIcon: IconValue;
|
|
@@ -61,7 +61,7 @@ export declare const makeVWindowItemProps: <Defaults extends {
|
|
|
61
61
|
};
|
|
62
62
|
export declare const VWindowItem: {
|
|
63
63
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
64
|
-
style: import("vue").StyleValue;
|
|
64
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
65
65
|
disabled: boolean;
|
|
66
66
|
eager: boolean;
|
|
67
67
|
} & {
|
|
@@ -109,7 +109,7 @@ export declare const VWindowItem: {
|
|
|
109
109
|
M: {};
|
|
110
110
|
Defaults: {};
|
|
111
111
|
}, {
|
|
112
|
-
style: import("vue").StyleValue;
|
|
112
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
113
113
|
disabled: boolean;
|
|
114
114
|
eager: boolean;
|
|
115
115
|
} & {
|
|
@@ -146,7 +146,7 @@ export declare const VWindowItem: {
|
|
|
146
146
|
__isTeleport?: undefined;
|
|
147
147
|
__isSuspense?: undefined;
|
|
148
148
|
} & import("vue").ComponentOptionsBase<{
|
|
149
|
-
style: import("vue").StyleValue;
|
|
149
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
150
150
|
disabled: boolean;
|
|
151
151
|
eager: boolean;
|
|
152
152
|
} & {
|
|
@@ -39,8 +39,8 @@ export declare function createCssTransition(name: string, origin?: string, mode?
|
|
|
39
39
|
group: boolean;
|
|
40
40
|
hideOnLeave: boolean;
|
|
41
41
|
leaveAbsolute: boolean;
|
|
42
|
-
mode: string
|
|
43
|
-
origin: string
|
|
42
|
+
mode: string;
|
|
43
|
+
origin: string;
|
|
44
44
|
} & {} & {
|
|
45
45
|
$children?: {
|
|
46
46
|
default?: (() => import("vue").VNodeChild) | undefined;
|
|
@@ -77,8 +77,8 @@ export declare function createCssTransition(name: string, origin?: string, mode?
|
|
|
77
77
|
group: boolean;
|
|
78
78
|
hideOnLeave: boolean;
|
|
79
79
|
leaveAbsolute: boolean;
|
|
80
|
-
mode: string
|
|
81
|
-
origin: string
|
|
80
|
+
mode: string;
|
|
81
|
+
origin: string;
|
|
82
82
|
} & {} & {
|
|
83
83
|
$children?: {
|
|
84
84
|
default?: (() => import("vue").VNodeChild) | undefined;
|
|
@@ -108,8 +108,8 @@ export declare function createCssTransition(name: string, origin?: string, mode?
|
|
|
108
108
|
group: boolean;
|
|
109
109
|
hideOnLeave: boolean;
|
|
110
110
|
leaveAbsolute: boolean;
|
|
111
|
-
mode: string
|
|
112
|
-
origin: string
|
|
111
|
+
mode: string;
|
|
112
|
+
origin: string;
|
|
113
113
|
} & {} & {
|
|
114
114
|
$children?: {
|
|
115
115
|
default?: (() => import("vue").VNodeChild) | undefined;
|