@vuetify/nightly 3.8.1-next.2025-04-15 → 3.8.2-dev.2025-04-17
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/CHANGELOG.md +6 -13
- package/dist/json/attributes.json +2755 -2755
- package/dist/json/importMap-labs.json +12 -12
- package/dist/json/importMap.json +158 -158
- package/dist/json/web-types.json +5117 -5157
- package/dist/vuetify-labs.cjs +172 -247
- package/dist/vuetify-labs.css +25188 -23458
- package/dist/vuetify-labs.d.ts +633 -225
- package/dist/vuetify-labs.esm.js +172 -247
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +172 -247
- package/dist/vuetify-labs.min.css +4 -3
- package/dist/vuetify.cjs +148 -229
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +23920 -22194
- package/dist/vuetify.d.ts +760 -352
- package/dist/vuetify.esm.js +148 -229
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +148 -229
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +4 -3
- package/dist/vuetify.min.js +293 -278
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/md3.js +18 -5
- package/lib/blueprints/md3.js.map +1 -1
- package/lib/components/VAlert/VAlert.css +215 -207
- package/lib/components/VApp/VApp.css +15 -16
- package/lib/components/VAppBar/VAppBar.css +12 -14
- package/lib/components/VAutocomplete/VAutocomplete.css +84 -85
- package/lib/components/VAutocomplete/VAutocomplete.d.ts +9 -18
- package/lib/components/VAutocomplete/VAutocomplete.js +3 -6
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/lib/components/VAvatar/VAvatar.css +106 -108
- package/lib/components/VBadge/VBadge.css +77 -77
- package/lib/components/VBanner/VBanner.css +166 -161
- package/lib/components/VBottomNavigation/VBottomNavigation.css +64 -65
- package/lib/components/VBottomSheet/VBottomSheet.css +31 -34
- package/lib/components/VBreadcrumbs/VBreadcrumbs.css +57 -54
- package/lib/components/VBtn/VBtn.css +408 -385
- package/lib/components/VBtn/VBtn.sass +4 -4
- package/lib/components/VBtnGroup/VBtnGroup.css +64 -63
- package/lib/components/VBtnToggle/VBtnToggle.css +14 -16
- package/lib/components/VCard/VCard.css +302 -294
- package/lib/components/VCarousel/VCarousel.css +65 -63
- package/lib/components/VCarousel/VCarousel.sass +1 -1
- package/lib/components/VCheckbox/VCheckbox.css +5 -7
- package/lib/components/VChip/VChip.css +411 -378
- package/lib/components/VChipGroup/VChipGroup.css +18 -19
- package/lib/components/VCode/VCode.css +11 -10
- package/lib/components/VCode/VCode.sass +3 -0
- package/lib/components/VColorPicker/VColorPicker.css +23 -23
- package/lib/components/VColorPicker/VColorPickerCanvas.css +22 -24
- package/lib/components/VColorPicker/VColorPickerEdit.css +28 -29
- package/lib/components/VColorPicker/VColorPickerPreview.css +67 -69
- package/lib/components/VColorPicker/VColorPickerPreview.sass +2 -4
- package/lib/components/VColorPicker/VColorPickerSwatches.css +34 -34
- package/lib/components/VCombobox/VCombobox.css +84 -85
- package/lib/components/VCombobox/VCombobox.d.ts +9 -18
- package/lib/components/VCombobox/VCombobox.js +3 -6
- package/lib/components/VCombobox/VCombobox.js.map +1 -1
- package/lib/components/VCounter/VCounter.css +5 -7
- package/lib/components/VDataTable/VDataTable.css +186 -189
- package/lib/components/VDataTable/VDataTable.sass +11 -21
- package/lib/components/VDataTable/VDataTableFooter.css +31 -33
- package/lib/components/VDatePicker/VDatePicker.css +6 -8
- package/lib/components/VDatePicker/VDatePicker.d.ts +7 -7
- package/lib/components/VDatePicker/VDatePickerControls.css +57 -55
- package/lib/components/VDatePicker/VDatePickerHeader.css +60 -56
- package/lib/components/VDatePicker/VDatePickerMonth.css +55 -51
- package/lib/components/VDatePicker/VDatePickerMonth.d.ts +7 -7
- package/lib/components/VDatePicker/VDatePickerMonths.css +19 -20
- package/lib/components/VDatePicker/VDatePickerYears.css +15 -16
- package/lib/components/VDialog/VDialog.css +98 -98
- package/lib/components/VDivider/VDivider.css +52 -52
- package/lib/components/VEmptyState/VEmptyState.css +67 -62
- package/lib/components/VExpansionPanel/VExpansionPanel.css +209 -203
- package/lib/components/VExpansionPanel/VExpansionPanel.sass +25 -27
- package/lib/components/VFab/VFab.css +73 -78
- package/lib/components/VFab/VFab.sass +4 -5
- package/lib/components/VField/VField.css +589 -548
- package/lib/components/VFileInput/VFileInput.css +28 -30
- package/lib/components/VFooter/VFooter.css +36 -38
- package/lib/components/VForm/VForm.d.ts +531 -111
- package/lib/components/VForm/VForm.js +1 -11
- package/lib/components/VForm/VForm.js.map +1 -1
- package/lib/components/VGrid/VGrid.css +592 -565
- package/lib/components/VIcon/VIcon.css +53 -52
- package/lib/components/VImg/VImg.css +51 -50
- package/lib/components/VInfiniteScroll/VInfiniteScroll.css +37 -36
- package/lib/components/VInput/VInput.css +147 -136
- package/lib/components/VItemGroup/VItemGroup.css +5 -7
- package/lib/components/VKbd/VKbd.css +11 -13
- package/lib/components/VLabel/VLabel.css +15 -16
- package/lib/components/VLayout/VLayout.css +8 -10
- package/lib/components/VLayout/VLayoutItem.css +7 -8
- package/lib/components/VList/VList.css +108 -104
- package/lib/components/VList/VList.sass +1 -1
- package/lib/components/VList/VListItem.css +452 -440
- package/lib/components/VList/VListItem.sass +1 -2
- package/lib/components/VLocaleProvider/VLocaleProvider.css +2 -4
- package/lib/components/VMain/VMain.css +30 -32
- package/lib/components/VMenu/VMenu.css +19 -21
- package/lib/components/VMessages/VMessages.css +15 -17
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +104 -102
- package/lib/components/VNumberInput/VNumberInput.css +46 -48
- package/lib/components/VOtpInput/VOtpInput.css +58 -56
- package/lib/components/VOverlay/VOverlay.css +64 -61
- package/lib/components/VOverlay/VOverlay.sass +13 -14
- package/lib/components/VOverlay/_variables.scss +1 -1
- package/lib/components/VPagination/VPagination.css +8 -10
- package/lib/components/VParallax/VParallax.css +6 -8
- package/lib/components/VProgressCircular/VProgressCircular.css +101 -95
- package/lib/components/VProgressLinear/VProgressLinear.css +222 -209
- package/lib/components/VRadioGroup/VRadioGroup.css +12 -14
- package/lib/components/VRating/VRating.css +53 -52
- package/lib/components/VResponsive/VResponsive.css +26 -25
- package/lib/components/VSelect/VSelect.css +51 -53
- package/lib/components/VSelect/VSelect.d.ts +9 -18
- package/lib/components/VSelect/VSelect.js +3 -6
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VSelectionControl/VSelectionControl.css +100 -98
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +8 -10
- package/lib/components/VSheet/VSheet.css +36 -38
- package/lib/components/VSkeletonLoader/VSkeletonLoader.css +224 -225
- package/lib/components/VSlideGroup/VSlideGroup.css +55 -53
- package/lib/components/VSlider/VSlider.css +57 -53
- package/lib/components/VSlider/VSliderThumb.css +153 -142
- package/lib/components/VSlider/VSliderTrack.css +174 -155
- package/lib/components/VSnackbar/VSnackbar.css +140 -140
- package/lib/components/VSpeedDial/VSpeedDial.css +41 -43
- package/lib/components/VStepper/VStepper.css +56 -55
- package/lib/components/VStepper/VStepperItem.css +115 -112
- package/lib/components/VSwitch/VSwitch.css +139 -129
- package/lib/components/VSystemBar/VSystemBar.css +43 -45
- package/lib/components/VTable/VTable.css +141 -140
- package/lib/components/VTable/VTable.sass +2 -4
- package/lib/components/VTabs/VTab.css +29 -30
- package/lib/components/VTabs/VTabs.css +65 -59
- package/lib/components/VTextField/VTextField.css +85 -77
- package/lib/components/VTextarea/VTextarea.css +40 -48
- package/lib/components/VTextarea/VTextarea.sass +2 -4
- package/lib/components/VThemeProvider/VThemeProvider.css +3 -5
- package/lib/components/VTimeline/VTimeline.css +427 -388
- package/lib/components/VToolbar/VToolbar.css +144 -137
- package/lib/components/VTooltip/VTooltip.css +23 -27
- package/lib/components/VTooltip/VTooltip.sass +6 -8
- package/lib/components/VVirtualScroll/VVirtualScroll.css +9 -11
- package/lib/components/VWindow/VWindow.css +70 -73
- package/lib/composables/calendar.d.ts +3 -2
- package/lib/composables/calendar.js +5 -7
- package/lib/composables/calendar.js.map +1 -1
- package/lib/composables/date/DateAdapter.d.ts +1 -0
- package/lib/composables/date/DateAdapter.js.map +1 -1
- package/lib/composables/date/adapters/vuetify.d.ts +1 -0
- package/lib/composables/date/adapters/vuetify.js +101 -160
- package/lib/composables/date/adapters/vuetify.js.map +1 -1
- package/lib/composables/date/date.d.ts +1 -1
- package/lib/composables/date/date.js +0 -20
- package/lib/composables/date/date.js.map +1 -1
- package/lib/composables/filter.js +2 -1
- package/lib/composables/filter.js.map +1 -1
- package/lib/composables/theme.js +5 -5
- package/lib/composables/theme.js.map +1 -1
- package/lib/composables/validation.js +5 -0
- package/lib/composables/validation.js.map +1 -1
- package/lib/directives/ripple/VRipple.css +36 -38
- package/lib/entry-bundler.d.ts +1 -0
- package/lib/entry-bundler.js +1 -1
- package/lib/entry-bundler.js.map +1 -1
- package/lib/framework.d.ts +55 -52
- package/lib/framework.js +1 -1
- package/lib/framework.js.map +1 -1
- package/lib/labs/VCalendar/VCalendar.css +225 -219
- package/lib/labs/VCalendar/VCalendar.d.ts +7 -7
- package/lib/labs/VCalendar/VCalendarDay.css +32 -33
- package/lib/labs/VCalendar/VCalendarHeader.css +13 -13
- package/lib/labs/VCalendar/VCalendarInterval.css +42 -43
- package/lib/labs/VCalendar/VCalendarInterval.js +25 -19
- package/lib/labs/VCalendar/VCalendarInterval.js.map +1 -1
- package/lib/labs/VCalendar/VCalendarIntervalEvent.css +5 -7
- package/lib/labs/VCalendar/VCalendarMonthDay.css +58 -61
- package/lib/labs/VCalendar/VCalendarMonthDay.sass +2 -3
- package/lib/labs/VDateInput/VDateInput.d.ts +7 -7
- package/lib/labs/VFileUpload/VFileUpload.css +77 -74
- package/lib/labs/VIconBtn/VIconBtn.css +164 -162
- package/lib/labs/VPicker/VPicker.css +63 -58
- package/lib/labs/VTimePicker/VTimePicker.css +7 -9
- package/lib/labs/VTimePicker/VTimePickerClock.css +129 -126
- package/lib/labs/VTimePicker/VTimePickerControls.css +103 -102
- package/lib/labs/VTreeview/VTreeviewItem.css +28 -30
- package/lib/labs/VTreeview/VTreeviewItem.sass +2 -3
- package/lib/labs/entry-bundler.d.ts +1 -0
- package/lib/styles/elements/_global.sass +1 -1
- package/lib/styles/generic/_colors.scss +3 -3
- package/lib/styles/generic/_layers.scss +1 -13
- package/lib/styles/generic/_reset.scss +1 -0
- package/lib/styles/generic/_transitions.scss +32 -32
- package/lib/styles/main.css +16142 -14667
- package/lib/styles/settings/_utilities.scss +5 -0
- package/lib/styles/settings/_variables.scss +2 -1
- package/lib/styles/tools/_bootable.sass +3 -0
- package/lib/styles/tools/_border.sass +4 -4
- package/lib/styles/tools/_display.sass +10 -0
- package/lib/styles/tools/_elevation.sass +2 -2
- package/lib/styles/tools/_index.sass +2 -0
- package/lib/styles/tools/_layer.scss +2 -4
- package/lib/styles/tools/_position.sass +2 -2
- package/lib/styles/tools/_radius.sass +10 -0
- package/lib/styles/tools/_rounded.sass +2 -2
- package/lib/styles/tools/_utilities.sass +5 -1
- package/lib/styles/utilities/_elevation.scss +1 -1
- package/package.json +46 -45
package/lib/framework.d.ts
CHANGED
@@ -85,6 +85,7 @@ interface DateAdapter<T = unknown> {
|
|
85
85
|
getDiff(date: T, comparing: T | string, unit?: string): number;
|
86
86
|
getWeekArray(date: T, firstDayOfWeek?: number | string): T[][];
|
87
87
|
getWeekdays(firstDayOfWeek?: number | string): string[];
|
88
|
+
getWeek(date: T, firstDayOfWeek?: number | string, firstWeekMinSize?: number): number;
|
88
89
|
getMonth(date: T): number;
|
89
90
|
setMonth(date: T, month: number): T;
|
90
91
|
getDate(date: T): number;
|
@@ -2516,6 +2517,7 @@ declare function createVuetify(vuetify?: VuetifyOptions): {
|
|
2516
2517
|
getDiff: (date: unknown, comparing: unknown, unit?: string) => number;
|
2517
2518
|
getWeekArray: (date: unknown, firstDayOfWeek?: number | string) => unknown[][];
|
2518
2519
|
getWeekdays: (firstDayOfWeek?: number | string) => string[];
|
2520
|
+
getWeek: (date: unknown, firstDayOfWeek?: number | string, firstWeekMinSize?: number) => number;
|
2519
2521
|
getMonth: (date: unknown) => number;
|
2520
2522
|
setMonth: (date: unknown, month: number) => unknown;
|
2521
2523
|
getDate: (date: unknown) => number;
|
@@ -2535,7 +2537,8 @@ declare namespace createVuetify {
|
|
2535
2537
|
}
|
2536
2538
|
declare const version: string;
|
2537
2539
|
|
2538
|
-
export {
|
2540
|
+
export { DateModule, createVuetify, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
|
2541
|
+
export type { ActiveStrategy, Anchor, Blueprint, CellPropsFunction as DataTableCellPropsFunction, DataTableCompareFunction, DataTableHeader, HeaderCellPropsFunction as DataTableHeaderCellPropsFunction, RowPropsFunction as DataTableRowPropsFunction, SortItem as DataTableSortItem, DateInstance, DateOptions, DefaultsInstance, DisplayBreakpoint, DisplayInstance, DisplayThresholds, FilterFunction, FilterMatch, GoToInstance, IconAliases, IconOptions, IconProps, IconSet, InternalItem, JSXComponent, LocaleInstance, LocaleMessages, LocaleOptions, LocationStrategyFunction, OpenStrategy, RtlInstance, RtlOptions, ScrollStrategyFunction, SelectStrategy, SnackbarMessage as SnackbarQueueMessage, SubmitEventPromise, ThemeDefinition, ThemeInstance, ValidationRule, VuetifyOptions };
|
2539
2542
|
|
2540
2543
|
/* eslint-disable local-rules/sort-imports */
|
2541
2544
|
|
@@ -2572,42 +2575,39 @@ declare module 'vue' {
|
|
2572
2575
|
$children?: VNodeChild
|
2573
2576
|
}
|
2574
2577
|
export interface GlobalComponents {
|
2578
|
+
VApp: typeof import('vuetify/components')['VApp']
|
2579
|
+
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
2575
2580
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
2576
2581
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
2577
2582
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
2578
|
-
VApp: typeof import('vuetify/components')['VApp']
|
2579
|
-
VBadge: typeof import('vuetify/components')['VBadge']
|
2580
|
-
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
2581
2583
|
VAlert: typeof import('vuetify/components')['VAlert']
|
2582
2584
|
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
2583
2585
|
VAvatar: typeof import('vuetify/components')['VAvatar']
|
2586
|
+
VBadge: typeof import('vuetify/components')['VBadge']
|
2584
2587
|
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
2585
|
-
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
2586
|
-
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
2587
|
-
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
2588
2588
|
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
2589
2589
|
VBanner: typeof import('vuetify/components')['VBanner']
|
2590
2590
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
2591
2591
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
2592
|
-
|
2593
|
-
|
2594
|
-
|
2595
|
-
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
2596
|
-
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
2597
|
-
VChip: typeof import('vuetify/components')['VChip']
|
2592
|
+
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
2593
|
+
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
2594
|
+
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
2598
2595
|
VCard: typeof import('vuetify/components')['VCard']
|
2599
2596
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
2600
2597
|
VCardItem: typeof import('vuetify/components')['VCardItem']
|
2601
2598
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
2602
2599
|
VCardText: typeof import('vuetify/components')['VCardText']
|
2603
2600
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
2604
|
-
|
2601
|
+
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
2602
|
+
VCarousel: typeof import('vuetify/components')['VCarousel']
|
2603
|
+
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
2605
2604
|
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
2606
2605
|
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
2607
|
-
|
2606
|
+
VBtn: typeof import('vuetify/components')['VBtn']
|
2607
|
+
VChip: typeof import('vuetify/components')['VChip']
|
2608
|
+
VCode: typeof import('vuetify/components')['VCode']
|
2608
2609
|
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
2609
|
-
|
2610
|
-
VDialog: typeof import('vuetify/components')['VDialog']
|
2610
|
+
VCounter: typeof import('vuetify/components')['VCounter']
|
2611
2611
|
VDataTable: typeof import('vuetify/components')['VDataTable']
|
2612
2612
|
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
2613
2613
|
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
@@ -2615,35 +2615,36 @@ declare module 'vue' {
|
|
2615
2615
|
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
2616
2616
|
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
2617
2617
|
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
2618
|
-
VCounter: typeof import('vuetify/components')['VCounter']
|
2619
2618
|
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
2620
2619
|
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
2621
2620
|
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
2622
2621
|
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
2623
2622
|
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
2624
2623
|
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
2625
|
-
|
2624
|
+
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
2625
|
+
VDivider: typeof import('vuetify/components')['VDivider']
|
2626
2626
|
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
2627
2627
|
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
2628
2628
|
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
2629
2629
|
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
2630
|
-
|
2631
|
-
VFab: typeof import('vuetify/components')['VFab']
|
2630
|
+
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
2632
2631
|
VField: typeof import('vuetify/components')['VField']
|
2633
2632
|
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
2634
|
-
VFooter: typeof import('vuetify/components')['VFooter']
|
2635
2633
|
VFileInput: typeof import('vuetify/components')['VFileInput']
|
2634
|
+
VFab: typeof import('vuetify/components')['VFab']
|
2636
2635
|
VImg: typeof import('vuetify/components')['VImg']
|
2636
|
+
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
2637
|
+
VCombobox: typeof import('vuetify/components')['VCombobox']
|
2637
2638
|
VIcon: typeof import('vuetify/components')['VIcon']
|
2638
2639
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
2639
2640
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
2640
2641
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
2641
2642
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
2643
|
+
VFooter: typeof import('vuetify/components')['VFooter']
|
2642
2644
|
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
2643
|
-
VLabel: typeof import('vuetify/components')['VLabel']
|
2644
|
-
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
2645
|
-
VItem: typeof import('vuetify/components')['VItem']
|
2646
2645
|
VInput: typeof import('vuetify/components')['VInput']
|
2646
|
+
VKbd: typeof import('vuetify/components')['VKbd']
|
2647
|
+
VLabel: typeof import('vuetify/components')['VLabel']
|
2647
2648
|
VList: typeof import('vuetify/components')['VList']
|
2648
2649
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
2649
2650
|
VListImg: typeof import('vuetify/components')['VListImg']
|
@@ -2654,72 +2655,76 @@ declare module 'vue' {
|
|
2654
2655
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
2655
2656
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
2656
2657
|
VMain: typeof import('vuetify/components')['VMain']
|
2657
|
-
VKbd: typeof import('vuetify/components')['VKbd']
|
2658
|
-
VMenu: typeof import('vuetify/components')['VMenu']
|
2659
2658
|
VMessages: typeof import('vuetify/components')['VMessages']
|
2660
|
-
|
2661
|
-
|
2659
|
+
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
2660
|
+
VItem: typeof import('vuetify/components')['VItem']
|
2661
|
+
VDialog: typeof import('vuetify/components')['VDialog']
|
2662
2662
|
VNumberInput: typeof import('vuetify/components')['VNumberInput']
|
2663
|
+
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
2664
|
+
VMenu: typeof import('vuetify/components')['VMenu']
|
2665
|
+
VOverlay: typeof import('vuetify/components')['VOverlay']
|
2663
2666
|
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
2664
2667
|
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
2665
|
-
|
2666
|
-
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
2668
|
+
VPagination: typeof import('vuetify/components')['VPagination']
|
2667
2669
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
2668
2670
|
VRating: typeof import('vuetify/components')['VRating']
|
2669
|
-
|
2671
|
+
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
2670
2672
|
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
2671
|
-
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
2672
2673
|
VSelect: typeof import('vuetify/components')['VSelect']
|
2674
|
+
VSheet: typeof import('vuetify/components')['VSheet']
|
2675
|
+
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
2676
|
+
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
2677
|
+
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
2673
2678
|
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
2674
2679
|
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
2675
|
-
|
2680
|
+
VSwitch: typeof import('vuetify/components')['VSwitch']
|
2681
|
+
VSlider: typeof import('vuetify/components')['VSlider']
|
2676
2682
|
VStepper: typeof import('vuetify/components')['VStepper']
|
2677
2683
|
VStepperActions: typeof import('vuetify/components')['VStepperActions']
|
2678
2684
|
VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
|
2679
2685
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
2680
2686
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
2681
2687
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
2682
|
-
VSlider: typeof import('vuetify/components')['VSlider']
|
2683
|
-
VSwitch: typeof import('vuetify/components')['VSwitch']
|
2684
|
-
VTextarea: typeof import('vuetify/components')['VTextarea']
|
2685
|
-
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
2686
|
-
VSheet: typeof import('vuetify/components')['VSheet']
|
2687
2688
|
VTab: typeof import('vuetify/components')['VTab']
|
2688
2689
|
VTabs: typeof import('vuetify/components')['VTabs']
|
2689
2690
|
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
2690
2691
|
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
2691
2692
|
VTable: typeof import('vuetify/components')['VTable']
|
2692
|
-
VToolbar: typeof import('vuetify/components')['VToolbar']
|
2693
|
-
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
2694
|
-
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
2695
2693
|
VTextField: typeof import('vuetify/components')['VTextField']
|
2694
|
+
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
2696
2695
|
VTooltip: typeof import('vuetify/components')['VTooltip']
|
2696
|
+
VTextarea: typeof import('vuetify/components')['VTextarea']
|
2697
2697
|
VTimeline: typeof import('vuetify/components')['VTimeline']
|
2698
2698
|
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
2699
|
+
VToolbar: typeof import('vuetify/components')['VToolbar']
|
2700
|
+
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
2701
|
+
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
2699
2702
|
VWindow: typeof import('vuetify/components')['VWindow']
|
2700
2703
|
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
2701
|
-
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
2702
2704
|
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
2703
2705
|
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
2706
|
+
VForm: typeof import('vuetify/components')['VForm']
|
2704
2707
|
VContainer: typeof import('vuetify/components')['VContainer']
|
2705
2708
|
VCol: typeof import('vuetify/components')['VCol']
|
2706
2709
|
VRow: typeof import('vuetify/components')['VRow']
|
2707
2710
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
2708
|
-
VForm: typeof import('vuetify/components')['VForm']
|
2709
2711
|
VHover: typeof import('vuetify/components')['VHover']
|
2710
2712
|
VLayout: typeof import('vuetify/components')['VLayout']
|
2711
2713
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
2712
|
-
VLazy: typeof import('vuetify/components')['VLazy']
|
2713
2714
|
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
2715
|
+
VLazy: typeof import('vuetify/components')['VLazy']
|
2714
2716
|
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
2715
2717
|
VParallax: typeof import('vuetify/components')['VParallax']
|
2716
2718
|
VRadio: typeof import('vuetify/components')['VRadio']
|
2717
|
-
VResponsive: typeof import('vuetify/components')['VResponsive']
|
2718
2719
|
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
2719
|
-
VSnackbarQueue: typeof import('vuetify/components')['VSnackbarQueue']
|
2720
2720
|
VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
|
2721
|
+
VSnackbarQueue: typeof import('vuetify/components')['VSnackbarQueue']
|
2722
|
+
VResponsive: typeof import('vuetify/components')['VResponsive']
|
2721
2723
|
VSparkline: typeof import('vuetify/components')['VSparkline']
|
2724
|
+
VValidation: typeof import('vuetify/components')['VValidation']
|
2725
|
+
VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
|
2722
2726
|
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
2727
|
+
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
2723
2728
|
VFabTransition: typeof import('vuetify/components')['VFabTransition']
|
2724
2729
|
VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
|
2725
2730
|
VDialogTopTransition: typeof import('vuetify/components')['VDialogTopTransition']
|
@@ -2736,28 +2741,26 @@ declare module 'vue' {
|
|
2736
2741
|
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
2737
2742
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
2738
2743
|
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
2739
|
-
VValidation: typeof import('vuetify/components')['VValidation']
|
2740
|
-
VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
|
2741
2744
|
VCalendar: typeof import('vuetify/labs/components')['VCalendar']
|
2742
2745
|
VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
|
2743
2746
|
VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
|
2744
2747
|
VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
|
2745
2748
|
VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
|
2746
2749
|
VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
|
2750
|
+
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
2751
|
+
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
2747
2752
|
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
2748
2753
|
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
2749
2754
|
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
2750
2755
|
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
2751
2756
|
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
2757
|
+
VIconBtn: typeof import('vuetify/labs/components')['VIconBtn']
|
2752
2758
|
VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
|
2753
2759
|
VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
|
2754
2760
|
VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
|
2755
|
-
VIconBtn: typeof import('vuetify/labs/components')['VIconBtn']
|
2756
2761
|
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
2757
2762
|
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
2758
2763
|
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
2759
|
-
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
2760
|
-
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
2761
2764
|
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
2762
2765
|
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
2763
2766
|
}
|
package/lib/framework.js
CHANGED
package/lib/framework.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"framework.js","names":["createDate","DateAdapterSymbol","DateOptionsSymbol","createDefaults","DefaultsSymbol","createDisplay","DisplaySymbol","createGoTo","GoToSymbol","createIcons","IconSymbol","createLocale","LocaleSymbol","createTheme","ThemeSymbol","effectScope","nextTick","reactive","defineComponent","IN_BROWSER","mergeDeep","createVuetify","vuetify","arguments","length","undefined","blueprint","rest","options","aliases","components","directives","scope","run","defaults","display","ssr","theme","icons","locale","date","goTo","install","app","key","directive","component","name","aliasName","appScope","onUnmount","stop","provide","instance","$nuxt","hook","update","mount","vm","__VUE_OPTIONS_API__","mixin","computed","$vuetify","inject","call","unmount","version","$","provides","parent","vnode","appContext"],"sources":["../src/framework.ts"],"sourcesContent":["// Composables\nimport { createDate, DateAdapterSymbol, DateOptionsSymbol } from '@/composables/date/date'\nimport { createDefaults, DefaultsSymbol } from '@/composables/defaults'\nimport { createDisplay, DisplaySymbol } from '@/composables/display'\nimport { createGoTo, GoToSymbol } from '@/composables/goto'\nimport { createIcons, IconSymbol } from '@/composables/icons'\nimport { createLocale, LocaleSymbol } from '@/composables/locale'\nimport { createTheme, ThemeSymbol } from '@/composables/theme'\n\n// Utilities\nimport { effectScope, nextTick, reactive } from 'vue'\nimport { defineComponent, IN_BROWSER, mergeDeep } from '@/util'\n\n// Types\nimport type { App, ComponentPublicInstance, InjectionKey } from 'vue'\nimport type { DateOptions } from '@/composables/date'\nimport type { DefaultsOptions } from '@/composables/defaults'\nimport type { DisplayOptions, SSROptions } from '@/composables/display'\nimport type { GoToOptions } from '@/composables/goto'\nimport type { IconOptions } from '@/composables/icons'\nimport type { LocaleOptions, RtlOptions } from '@/composables/locale'\nimport type { ThemeOptions } from '@/composables/theme'\n\n// Exports\nexport * from './composables'\nexport * from './types'\n\nexport interface VuetifyOptions {\n aliases?: Record<string, any>\n blueprint?: Blueprint\n components?: Record<string, any>\n date?: DateOptions\n directives?: Record<string, any>\n defaults?: DefaultsOptions\n display?: DisplayOptions\n goTo?: GoToOptions\n theme?: ThemeOptions\n icons?: IconOptions\n locale?: LocaleOptions & RtlOptions\n ssr?: SSROptions\n}\n\nexport interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {}\n\nexport function createVuetify (vuetify: VuetifyOptions = {}) {\n const { blueprint, ...rest } = vuetify\n const options: VuetifyOptions = mergeDeep(blueprint, rest)\n const {\n aliases = {},\n components = {},\n directives = {},\n } = options\n\n const scope = effectScope()\n return scope.run(() => {\n const defaults = createDefaults(options.defaults)\n const display = createDisplay(options.display, options.ssr)\n const theme = createTheme(options.theme)\n const icons = createIcons(options.icons)\n const locale = createLocale(options.locale)\n const date = createDate(options.date, locale)\n const goTo = createGoTo(options.goTo, locale)\n\n function install (app: App) {\n for (const key in directives) {\n app.directive(key, directives[key])\n }\n\n for (const key in components) {\n app.component(key, components[key])\n }\n\n for (const key in aliases) {\n app.component(key, defineComponent({\n ...aliases[key],\n name: key,\n aliasName: aliases[key].name,\n }))\n }\n\n const appScope = effectScope()\n appScope.run(() => {\n theme.install(app)\n })\n app.onUnmount(() => appScope.stop())\n\n app.provide(DefaultsSymbol, defaults)\n app.provide(DisplaySymbol, display)\n app.provide(ThemeSymbol, theme)\n app.provide(IconSymbol, icons)\n app.provide(LocaleSymbol, locale)\n app.provide(DateOptionsSymbol, date.options)\n app.provide(DateAdapterSymbol, date.instance)\n app.provide(GoToSymbol, goTo)\n\n if (IN_BROWSER && options.ssr) {\n if (app.$nuxt) {\n app.$nuxt.hook('app:suspense:resolve', () => {\n display.update()\n })\n } else {\n const { mount } = app\n app.mount = (...args) => {\n const vm = mount(...args)\n nextTick(() => display.update())\n app.mount = mount\n return vm\n }\n }\n }\n\n if (typeof __VUE_OPTIONS_API__ !== 'boolean' || __VUE_OPTIONS_API__) {\n app.mixin({\n computed: {\n $vuetify () {\n return reactive({\n defaults: inject.call(this, DefaultsSymbol),\n display: inject.call(this, DisplaySymbol),\n theme: inject.call(this, ThemeSymbol),\n icons: inject.call(this, IconSymbol),\n locale: inject.call(this, LocaleSymbol),\n date: inject.call(this, DateAdapterSymbol),\n })\n },\n },\n })\n }\n }\n\n function unmount () {\n scope.stop()\n }\n\n return {\n install,\n unmount,\n defaults,\n display,\n theme,\n icons,\n locale,\n date,\n goTo,\n }\n })!\n}\n\nexport const version = __VUETIFY_VERSION__\ncreateVuetify.version = version\n\n// Vue's inject() can only be used in setup\nfunction inject (this: ComponentPublicInstance, key: InjectionKey<any> | string) {\n const vm = this.$\n\n const provides = vm.parent?.provides ?? vm.vnode.appContext?.provides\n\n if (provides && (key as any) in provides) {\n return provides[(key as string)]\n }\n}\n"],"mappings":"AAAA;AAAA,SACSA,UAAU,EAAEC,iBAAiB,EAAEC,iBAAiB;AAAA,SAChDC,cAAc,EAAEC,cAAc;AAAA,SAC9BC,aAAa,EAAEC,aAAa;AAAA,SAC5BC,UAAU,EAAEC,UAAU;AAAA,SACtBC,WAAW,EAAEC,UAAU;AAAA,SACvBC,YAAY,EAAEC,YAAY;AAAA,SAC1BC,WAAW,EAAEC,WAAW,kCAEjC;AACA,SAASC,WAAW,EAAEC,QAAQ,EAAEC,QAAQ,QAAQ,KAAK;AAAA,SAC5CC,eAAe,EAAEC,UAAU,EAAEC,SAAS,2BAE/C;AAUA;AAAA;AAAA;AAqBA,OAAO,SAASC,aAAaA,CAAA,EAAgC;EAAA,IAA9BC,OAAuB,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EACzD,MAAM;IAAEG,SAAS;IAAE,GAAGC;EAAK,CAAC,GAAGL,OAAO;EACtC,MAAMM,OAAuB,GAAGR,SAAS,CAACM,SAAS,EAAEC,IAAI,CAAC;EAC1D,MAAM;IACJE,OAAO,GAAG,CAAC,CAAC;IACZC,UAAU,GAAG,CAAC,CAAC;IACfC,UAAU,GAAG,CAAC;EAChB,CAAC,GAAGH,OAAO;EAEX,MAAMI,KAAK,GAAGjB,WAAW,CAAC,CAAC;EAC3B,OAAOiB,KAAK,CAACC,GAAG,CAAC,MAAM;IACrB,MAAMC,QAAQ,GAAG/B,cAAc,CAACyB,OAAO,CAACM,QAAQ,CAAC;IACjD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AAc,CAAC;gBAC3C+B,OAAO,EAAE4B,MAAM,CAACC,IAAI,CAAC,IAAI,EAAE1D,aAAa,CAAC;gBACzC+B,KAAK,EAAE0B,MAAM,CAACC,IAAI,CAAC,IAAI,EAAElD,WAAW,CAAC;gBACrCwB,KAAK,EAAEyB,MAAM,CAACC,IAAI,CAAC,IAAI,EAAEtD,UAAU,CAAC;gBACpC6B,MAAM,EAAEwB,MAAM,CAACC,IAAI,CAAC,IAAI,EAAEpD,YAAY,CAAC;gBACvC4B,IAAI,EAAEuB,MAAM,CAACC,IAAI,CAAC,IAAI,EAAE/D,iBAAiB;cAC3C,CAAC,CAAC;YACJ;UACF;QACF,CAAC,CAAC;MACJ;IACF;IAEA,SAASgE,OAAOA,CAAA,EAAI;MAClBjC,KAAK,CAACmB,IAAI,CAAC,CAAC;IACd;IAEA,OAAO;MACLT,OAAO;MACPuB,OAAO;MACP/B,QAAQ;MACRC,OAAO;MACPE,KAAK;MACLC,KAAK;MACLC,MAAM;MACNC,IAAI;MACJC;IACF,CAAC;EACH,CAAC,CAAC;AACJ;AAEA,OAAO,MAAMyB,OAAO,
|
1
|
+
{"version":3,"file":"framework.js","names":["createDate","DateAdapterSymbol","DateOptionsSymbol","createDefaults","DefaultsSymbol","createDisplay","DisplaySymbol","createGoTo","GoToSymbol","createIcons","IconSymbol","createLocale","LocaleSymbol","createTheme","ThemeSymbol","effectScope","nextTick","reactive","defineComponent","IN_BROWSER","mergeDeep","createVuetify","vuetify","arguments","length","undefined","blueprint","rest","options","aliases","components","directives","scope","run","defaults","display","ssr","theme","icons","locale","date","goTo","install","app","key","directive","component","name","aliasName","appScope","onUnmount","stop","provide","instance","$nuxt","hook","update","mount","vm","__VUE_OPTIONS_API__","mixin","computed","$vuetify","inject","call","unmount","version","$","provides","parent","vnode","appContext"],"sources":["../src/framework.ts"],"sourcesContent":["// Composables\nimport { createDate, DateAdapterSymbol, DateOptionsSymbol } from '@/composables/date/date'\nimport { createDefaults, DefaultsSymbol } from '@/composables/defaults'\nimport { createDisplay, DisplaySymbol } from '@/composables/display'\nimport { createGoTo, GoToSymbol } from '@/composables/goto'\nimport { createIcons, IconSymbol } from '@/composables/icons'\nimport { createLocale, LocaleSymbol } from '@/composables/locale'\nimport { createTheme, ThemeSymbol } from '@/composables/theme'\n\n// Utilities\nimport { effectScope, nextTick, reactive } from 'vue'\nimport { defineComponent, IN_BROWSER, mergeDeep } from '@/util'\n\n// Types\nimport type { App, ComponentPublicInstance, InjectionKey } from 'vue'\nimport type { DateOptions } from '@/composables/date'\nimport type { DefaultsOptions } from '@/composables/defaults'\nimport type { DisplayOptions, SSROptions } from '@/composables/display'\nimport type { GoToOptions } from '@/composables/goto'\nimport type { IconOptions } from '@/composables/icons'\nimport type { LocaleOptions, RtlOptions } from '@/composables/locale'\nimport type { ThemeOptions } from '@/composables/theme'\n\n// Exports\nexport * from './composables'\nexport * from './types'\n\nexport interface VuetifyOptions {\n aliases?: Record<string, any>\n blueprint?: Blueprint\n components?: Record<string, any>\n date?: DateOptions\n directives?: Record<string, any>\n defaults?: DefaultsOptions\n display?: DisplayOptions\n goTo?: GoToOptions\n theme?: ThemeOptions\n icons?: IconOptions\n locale?: LocaleOptions & RtlOptions\n ssr?: SSROptions\n}\n\nexport interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {}\n\nexport function createVuetify (vuetify: VuetifyOptions = {}) {\n const { blueprint, ...rest } = vuetify\n const options: VuetifyOptions = mergeDeep(blueprint, rest)\n const {\n aliases = {},\n components = {},\n directives = {},\n } = options\n\n const scope = effectScope()\n return scope.run(() => {\n const defaults = createDefaults(options.defaults)\n const display = createDisplay(options.display, options.ssr)\n const theme = createTheme(options.theme)\n const icons = createIcons(options.icons)\n const locale = createLocale(options.locale)\n const date = createDate(options.date, locale)\n const goTo = createGoTo(options.goTo, locale)\n\n function install (app: App) {\n for (const key in directives) {\n app.directive(key, directives[key])\n }\n\n for (const key in components) {\n app.component(key, components[key])\n }\n\n for (const key in aliases) {\n app.component(key, defineComponent({\n ...aliases[key],\n name: key,\n aliasName: aliases[key].name,\n }))\n }\n\n const appScope = effectScope()\n appScope.run(() => {\n theme.install(app)\n })\n app.onUnmount(() => appScope.stop())\n\n app.provide(DefaultsSymbol, defaults)\n app.provide(DisplaySymbol, display)\n app.provide(ThemeSymbol, theme)\n app.provide(IconSymbol, icons)\n app.provide(LocaleSymbol, locale)\n app.provide(DateOptionsSymbol, date.options)\n app.provide(DateAdapterSymbol, date.instance)\n app.provide(GoToSymbol, goTo)\n\n if (IN_BROWSER && options.ssr) {\n if (app.$nuxt) {\n app.$nuxt.hook('app:suspense:resolve', () => {\n display.update()\n })\n } else {\n const { mount } = app\n app.mount = (...args) => {\n const vm = mount(...args)\n nextTick(() => display.update())\n app.mount = mount\n return vm\n }\n }\n }\n\n if (typeof __VUE_OPTIONS_API__ !== 'boolean' || __VUE_OPTIONS_API__) {\n app.mixin({\n computed: {\n $vuetify () {\n return reactive({\n defaults: inject.call(this, DefaultsSymbol),\n display: inject.call(this, DisplaySymbol),\n theme: inject.call(this, ThemeSymbol),\n icons: inject.call(this, IconSymbol),\n locale: inject.call(this, LocaleSymbol),\n date: inject.call(this, DateAdapterSymbol),\n })\n },\n },\n })\n }\n }\n\n function unmount () {\n scope.stop()\n }\n\n return {\n install,\n unmount,\n defaults,\n display,\n theme,\n icons,\n locale,\n date,\n goTo,\n }\n })!\n}\n\nexport const version = __VUETIFY_VERSION__\ncreateVuetify.version = version\n\n// Vue's inject() can only be used in setup\nfunction inject (this: ComponentPublicInstance, key: InjectionKey<any> | string) {\n const vm = this.$\n\n const provides = vm.parent?.provides ?? vm.vnode.appContext?.provides\n\n if (provides && (key as any) in provides) {\n return provides[(key as string)]\n }\n}\n"],"mappings":"AAAA;AAAA,SACSA,UAAU,EAAEC,iBAAiB,EAAEC,iBAAiB;AAAA,SAChDC,cAAc,EAAEC,cAAc;AAAA,SAC9BC,aAAa,EAAEC,aAAa;AAAA,SAC5BC,UAAU,EAAEC,UAAU;AAAA,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