@vuetify/nightly 3.8.1-master.2025-04-15 → 3.8.1-next.2025-04-15
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 +33 -32
- package/dist/json/attributes.json +3374 -3374
- package/dist/json/importMap-labs.json +20 -20
- package/dist/json/importMap.json +218 -218
- package/dist/json/web-types.json +5962 -5922
- package/dist/vuetify-labs.cjs +341 -179
- package/dist/vuetify-labs.css +26033 -27763
- package/dist/vuetify-labs.d.ts +253 -656
- package/dist/vuetify-labs.esm.js +342 -180
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +341 -179
- package/dist/vuetify-labs.min.css +3 -4
- package/dist/vuetify.cjs +323 -155
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +22790 -24516
- package/dist/vuetify.d.ts +278 -681
- package/dist/vuetify.esm.js +324 -156
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +323 -155
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +3 -4
- package/dist/vuetify.min.js +1152 -1161
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.css +207 -215
- package/lib/components/VApp/VApp.css +16 -15
- package/lib/components/VAppBar/VAppBar.css +14 -12
- package/lib/components/VAutocomplete/VAutocomplete.css +85 -84
- package/lib/components/VAutocomplete/VAutocomplete.d.ts +18 -9
- package/lib/components/VAutocomplete/VAutocomplete.js +6 -3
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/lib/components/VAvatar/VAvatar.css +108 -106
- package/lib/components/VBadge/VBadge.css +77 -77
- package/lib/components/VBanner/VBanner.css +161 -166
- package/lib/components/VBottomNavigation/VBottomNavigation.css +65 -64
- package/lib/components/VBottomSheet/VBottomSheet.css +34 -31
- package/lib/components/VBreadcrumbs/VBreadcrumbs.css +54 -57
- package/lib/components/VBtn/VBtn.css +385 -408
- package/lib/components/VBtn/VBtn.sass +4 -4
- package/lib/components/VBtnGroup/VBtnGroup.css +63 -64
- package/lib/components/VBtnToggle/VBtnToggle.css +16 -14
- package/lib/components/VCard/VCard.css +294 -302
- package/lib/components/VCarousel/VCarousel.css +63 -65
- package/lib/components/VCarousel/VCarousel.sass +1 -1
- package/lib/components/VCheckbox/VCheckbox.css +7 -5
- package/lib/components/VChip/VChip.css +378 -411
- package/lib/components/VChipGroup/VChipGroup.css +19 -18
- package/lib/components/VCode/VCode.css +10 -11
- package/lib/components/VCode/VCode.sass +0 -3
- package/lib/components/VColorPicker/VColorPicker.css +23 -23
- package/lib/components/VColorPicker/VColorPickerCanvas.css +24 -22
- package/lib/components/VColorPicker/VColorPickerEdit.css +29 -28
- package/lib/components/VColorPicker/VColorPickerPreview.css +69 -67
- package/lib/components/VColorPicker/VColorPickerPreview.sass +4 -2
- package/lib/components/VColorPicker/VColorPickerSwatches.css +34 -34
- package/lib/components/VCombobox/VCombobox.css +85 -84
- package/lib/components/VCombobox/VCombobox.d.ts +18 -9
- package/lib/components/VCombobox/VCombobox.js +6 -3
- package/lib/components/VCombobox/VCombobox.js.map +1 -1
- package/lib/components/VCounter/VCounter.css +7 -5
- package/lib/components/VDataTable/VDataTable.css +189 -186
- package/lib/components/VDataTable/VDataTable.sass +21 -11
- package/lib/components/VDataTable/VDataTableFooter.css +33 -31
- package/lib/components/VDatePicker/VDatePicker.css +8 -6
- package/lib/components/VDatePicker/VDatePicker.d.ts +7 -7
- package/lib/components/VDatePicker/VDatePickerControls.css +55 -57
- package/lib/components/VDatePicker/VDatePickerHeader.css +56 -60
- package/lib/components/VDatePicker/VDatePickerMonth.css +51 -55
- package/lib/components/VDatePicker/VDatePickerMonth.d.ts +7 -7
- package/lib/components/VDatePicker/VDatePickerMonths.css +20 -19
- package/lib/components/VDatePicker/VDatePickerYears.css +16 -15
- package/lib/components/VDialog/VDialog.css +98 -98
- package/lib/components/VDivider/VDivider.css +52 -52
- package/lib/components/VEmptyState/VEmptyState.css +62 -67
- package/lib/components/VExpansionPanel/VExpansionPanel.css +203 -209
- package/lib/components/VExpansionPanel/VExpansionPanel.sass +27 -25
- package/lib/components/VFab/VFab.css +78 -73
- package/lib/components/VFab/VFab.sass +5 -4
- package/lib/components/VField/VField.css +548 -589
- package/lib/components/VFileInput/VFileInput.css +30 -28
- package/lib/components/VFooter/VFooter.css +38 -36
- package/lib/components/VForm/VForm.d.ts +111 -531
- package/lib/components/VForm/VForm.js +11 -1
- package/lib/components/VForm/VForm.js.map +1 -1
- package/lib/components/VGrid/VGrid.css +565 -592
- package/lib/components/VIcon/VIcon.css +52 -53
- package/lib/components/VImg/VImg.css +50 -51
- package/lib/components/VInfiniteScroll/VInfiniteScroll.css +36 -37
- package/lib/components/VInput/VInput.css +136 -147
- package/lib/components/VItemGroup/VItemGroup.css +7 -5
- package/lib/components/VKbd/VKbd.css +13 -11
- package/lib/components/VLabel/VLabel.css +16 -15
- package/lib/components/VLayout/VLayout.css +10 -8
- package/lib/components/VLayout/VLayoutItem.css +8 -7
- package/lib/components/VList/VList.css +104 -108
- package/lib/components/VList/VList.sass +1 -1
- package/lib/components/VList/VListItem.css +440 -452
- package/lib/components/VList/VListItem.sass +2 -1
- package/lib/components/VLocaleProvider/VLocaleProvider.css +4 -2
- package/lib/components/VMain/VMain.css +32 -30
- package/lib/components/VMenu/VMenu.css +21 -19
- package/lib/components/VMessages/VMessages.css +17 -15
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +102 -104
- package/lib/components/VNumberInput/VNumberInput.css +48 -46
- package/lib/components/VOtpInput/VOtpInput.css +56 -58
- package/lib/components/VOverlay/VOverlay.css +61 -64
- package/lib/components/VOverlay/VOverlay.sass +14 -13
- package/lib/components/VPagination/VPagination.css +10 -8
- package/lib/components/VParallax/VParallax.css +8 -6
- package/lib/components/VProgressCircular/VProgressCircular.css +95 -101
- package/lib/components/VProgressLinear/VProgressLinear.css +209 -222
- package/lib/components/VRadioGroup/VRadioGroup.css +14 -12
- package/lib/components/VRating/VRating.css +52 -53
- package/lib/components/VResponsive/VResponsive.css +25 -26
- package/lib/components/VSelect/VSelect.css +53 -51
- package/lib/components/VSelect/VSelect.d.ts +18 -9
- package/lib/components/VSelect/VSelect.js +6 -3
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VSelectionControl/VSelectionControl.css +98 -100
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +10 -8
- package/lib/components/VSheet/VSheet.css +38 -36
- package/lib/components/VSkeletonLoader/VSkeletonLoader.css +225 -224
- package/lib/components/VSlideGroup/VSlideGroup.css +53 -55
- package/lib/components/VSlider/VSlider.css +53 -57
- package/lib/components/VSlider/VSliderThumb.css +142 -153
- package/lib/components/VSlider/VSliderTrack.css +155 -174
- package/lib/components/VSnackbar/VSnackbar.css +140 -140
- package/lib/components/VSpeedDial/VSpeedDial.css +43 -41
- package/lib/components/VStepper/VStepper.css +55 -56
- package/lib/components/VStepper/VStepperItem.css +112 -115
- package/lib/components/VSwitch/VSwitch.css +129 -139
- package/lib/components/VSystemBar/VSystemBar.css +45 -43
- package/lib/components/VTable/VTable.css +140 -141
- package/lib/components/VTable/VTable.sass +4 -2
- package/lib/components/VTabs/VTab.css +30 -29
- package/lib/components/VTabs/VTabs.css +59 -65
- package/lib/components/VTextField/VTextField.css +77 -85
- package/lib/components/VTextarea/VTextarea.css +48 -40
- package/lib/components/VTextarea/VTextarea.sass +4 -2
- package/lib/components/VThemeProvider/VThemeProvider.css +5 -3
- package/lib/components/VTimeline/VTimeline.css +388 -427
- package/lib/components/VToolbar/VToolbar.css +137 -144
- package/lib/components/VTooltip/VTooltip.css +27 -23
- package/lib/components/VTooltip/VTooltip.sass +8 -6
- package/lib/components/VVirtualScroll/VVirtualScroll.css +11 -9
- package/lib/components/VWindow/VWindow.css +73 -70
- package/lib/composables/calendar.d.ts +2 -3
- package/lib/composables/calendar.js +7 -5
- package/lib/composables/calendar.js.map +1 -1
- package/lib/composables/date/DateAdapter.d.ts +0 -1
- package/lib/composables/date/DateAdapter.js.map +1 -1
- package/lib/composables/date/adapters/vuetify.d.ts +0 -1
- package/lib/composables/date/adapters/vuetify.js +160 -101
- 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 +20 -0
- package/lib/composables/date/date.js.map +1 -1
- package/lib/composables/filter.js +1 -2
- package/lib/composables/filter.js.map +1 -1
- package/lib/composables/theme.d.ts +6 -1
- package/lib/composables/theme.js +98 -30
- package/lib/composables/theme.js.map +1 -1
- package/lib/composables/validation.js +0 -5
- package/lib/composables/validation.js.map +1 -1
- package/lib/composables/virtual.js +6 -1
- package/lib/composables/virtual.js.map +1 -1
- package/lib/directives/ripple/VRipple.css +38 -36
- package/lib/entry-bundler.d.ts +0 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/entry-bundler.js.map +1 -1
- package/lib/framework.d.ts +80 -78
- package/lib/framework.js +1 -1
- package/lib/framework.js.map +1 -1
- package/lib/labs/VCalendar/VCalendar.css +219 -225
- package/lib/labs/VCalendar/VCalendar.d.ts +7 -7
- package/lib/labs/VCalendar/VCalendarDay.css +33 -32
- package/lib/labs/VCalendar/VCalendarHeader.css +13 -13
- package/lib/labs/VCalendar/VCalendarInterval.css +43 -42
- package/lib/labs/VCalendar/VCalendarInterval.js +19 -25
- package/lib/labs/VCalendar/VCalendarInterval.js.map +1 -1
- package/lib/labs/VCalendar/VCalendarIntervalEvent.css +7 -5
- package/lib/labs/VCalendar/VCalendarMonthDay.css +61 -58
- package/lib/labs/VCalendar/VCalendarMonthDay.sass +3 -2
- package/lib/labs/VDateInput/VDateInput.d.ts +7 -7
- package/lib/labs/VFileUpload/VFileUpload.css +74 -77
- package/lib/labs/VIconBtn/VIconBtn.css +162 -164
- package/lib/labs/VPicker/VPicker.css +58 -63
- package/lib/labs/VTimePicker/VTimePicker.css +9 -7
- package/lib/labs/VTimePicker/VTimePickerClock.css +126 -129
- package/lib/labs/VTimePicker/VTimePickerControls.css +102 -103
- package/lib/labs/VTreeview/VTreeviewItem.css +30 -28
- package/lib/labs/VTreeview/VTreeviewItem.sass +3 -2
- package/lib/labs/entry-bundler.d.ts +0 -1
- package/lib/styles/elements/_global.sass +1 -1
- package/lib/styles/generic/_colors.scss +3 -3
- package/lib/styles/generic/_layers.scss +13 -1
- package/lib/styles/generic/_reset.scss +0 -1
- package/lib/styles/generic/_transitions.scss +32 -32
- package/lib/styles/main.css +14668 -16143
- package/lib/styles/settings/_utilities.scss +0 -5
- package/lib/styles/settings/_variables.scss +1 -2
- package/lib/styles/tools/_border.sass +4 -4
- package/lib/styles/tools/_display.sass +0 -10
- package/lib/styles/tools/_elevation.sass +2 -2
- package/lib/styles/tools/_index.sass +0 -2
- package/lib/styles/tools/_layer.scss +4 -2
- package/lib/styles/tools/_position.sass +2 -2
- package/lib/styles/tools/_rounded.sass +2 -2
- package/lib/styles/tools/_utilities.sass +1 -5
- package/lib/styles/utilities/_elevation.scss +1 -1
- package/lib/util/globals.d.ts +1 -0
- package/lib/util/globals.js +1 -0
- package/lib/util/globals.js.map +1 -1
- package/package.json +45 -46
- package/lib/styles/tools/_bootable.sass +0 -3
- package/lib/styles/tools/_radius.sass +0 -10
package/lib/framework.d.ts
CHANGED
@@ -85,7 +85,6 @@ 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;
|
89
88
|
getMonth(date: T): number;
|
90
89
|
setMonth(date: T, month: number): T;
|
91
90
|
getDate(date: T): number;
|
@@ -147,11 +146,12 @@ type DeepPartial<T> = T extends object ? {
|
|
147
146
|
} : T;
|
148
147
|
type ThemeOptions = false | {
|
149
148
|
cspNonce?: string;
|
150
|
-
defaultTheme?: string;
|
149
|
+
defaultTheme?: 'light' | 'dark' | 'system' | string;
|
151
150
|
variations?: false | VariationsOptions;
|
152
151
|
themes?: Record<string, ThemeDefinition>;
|
153
152
|
stylesheetId?: string;
|
154
153
|
scope?: string;
|
154
|
+
unimportant?: boolean;
|
155
155
|
};
|
156
156
|
type ThemeDefinition = DeepPartial<InternalThemeDefinition>;
|
157
157
|
interface VariationsOptions {
|
@@ -188,11 +188,15 @@ interface OnColors {
|
|
188
188
|
'on-info': string;
|
189
189
|
}
|
190
190
|
interface ThemeInstance {
|
191
|
+
change: (themeName: string) => void;
|
192
|
+
cycle: (themeArray?: string[]) => void;
|
193
|
+
toggle: (themeArray?: [string, string]) => void;
|
191
194
|
readonly isDisabled: boolean;
|
192
195
|
readonly themes: Ref<Record<string, InternalThemeDefinition>>;
|
193
196
|
readonly name: Readonly<Ref<string>>;
|
194
197
|
readonly current: DeepReadonly<Ref<InternalThemeDefinition>>;
|
195
198
|
readonly computedThemes: DeepReadonly<Ref<Record<string, InternalThemeDefinition>>>;
|
199
|
+
readonly prefix: string;
|
196
200
|
readonly themeClasses: Readonly<Ref<string | undefined>>;
|
197
201
|
readonly styles: Readonly<Ref<string>>;
|
198
202
|
readonly global: {
|
@@ -2512,7 +2516,6 @@ declare function createVuetify(vuetify?: VuetifyOptions): {
|
|
2512
2516
|
getDiff: (date: unknown, comparing: unknown, unit?: string) => number;
|
2513
2517
|
getWeekArray: (date: unknown, firstDayOfWeek?: number | string) => unknown[][];
|
2514
2518
|
getWeekdays: (firstDayOfWeek?: number | string) => string[];
|
2515
|
-
getWeek: (date: unknown, firstDayOfWeek?: number | string, firstWeekMinSize?: number) => number;
|
2516
2519
|
getMonth: (date: unknown) => number;
|
2517
2520
|
setMonth: (date: unknown, month: number) => unknown;
|
2518
2521
|
getDate: (date: unknown) => number;
|
@@ -2532,8 +2535,7 @@ declare namespace createVuetify {
|
|
2532
2535
|
}
|
2533
2536
|
declare const version: string;
|
2534
2537
|
|
2535
|
-
export { DateModule, createVuetify, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
|
2536
|
-
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 };
|
2538
|
+
export { type ActiveStrategy, type Anchor, type Blueprint, type CellPropsFunction as DataTableCellPropsFunction, type DataTableCompareFunction, type DataTableHeader, type HeaderCellPropsFunction as DataTableHeaderCellPropsFunction, type RowPropsFunction as DataTableRowPropsFunction, type SortItem as DataTableSortItem, type DateInstance, DateModule, type DateOptions, type DefaultsInstance, type DisplayBreakpoint, type DisplayInstance, type DisplayThresholds, type FilterFunction, type FilterMatch, type GoToInstance, type IconAliases, type IconOptions, type IconProps, type IconSet, type InternalItem, type JSXComponent, type LocaleInstance, type LocaleMessages, type LocaleOptions, type LocationStrategyFunction, type OpenStrategy, type RtlInstance, type RtlOptions, type ScrollStrategyFunction, type SelectStrategy, type SnackbarMessage as SnackbarQueueMessage, type SubmitEventPromise, type ThemeDefinition, type ThemeInstance, type ValidationRule, type VuetifyOptions, createVuetify, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
|
2537
2539
|
|
2538
2540
|
/* eslint-disable local-rules/sort-imports */
|
2539
2541
|
|
@@ -2570,47 +2572,42 @@ declare module 'vue' {
|
|
2570
2572
|
$children?: VNodeChild
|
2571
2573
|
}
|
2572
2574
|
export interface GlobalComponents {
|
2575
|
+
VAppBar: typeof import('vuetify/components')['VAppBar']
|
2576
|
+
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
2577
|
+
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
2573
2578
|
VApp: typeof import('vuetify/components')['VApp']
|
2579
|
+
VBadge: typeof import('vuetify/components')['VBadge']
|
2580
|
+
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
2574
2581
|
VAlert: typeof import('vuetify/components')['VAlert']
|
2575
2582
|
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
2576
|
-
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
2577
2583
|
VAvatar: typeof import('vuetify/components')['VAvatar']
|
2578
|
-
VBadge: typeof import('vuetify/components')['VBadge']
|
2579
2584
|
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
2580
|
-
VBanner: typeof import('vuetify/components')['VBanner']
|
2581
|
-
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
2582
|
-
VBannerText: typeof import('vuetify/components')['VBannerText']
|
2583
|
-
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
2584
2585
|
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
2585
2586
|
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
2586
2587
|
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
2587
|
-
|
2588
|
+
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
2589
|
+
VBanner: typeof import('vuetify/components')['VBanner']
|
2590
|
+
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
2591
|
+
VBannerText: typeof import('vuetify/components')['VBannerText']
|
2588
2592
|
VBtn: typeof import('vuetify/components')['VBtn']
|
2589
|
-
|
2593
|
+
VCarousel: typeof import('vuetify/components')['VCarousel']
|
2594
|
+
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
2590
2595
|
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
2591
|
-
|
2592
|
-
|
2593
|
-
VCounter: typeof import('vuetify/components')['VCounter']
|
2594
|
-
VCode: typeof import('vuetify/components')['VCode']
|
2596
|
+
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
2597
|
+
VChip: typeof import('vuetify/components')['VChip']
|
2595
2598
|
VCard: typeof import('vuetify/components')['VCard']
|
2596
2599
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
2597
2600
|
VCardItem: typeof import('vuetify/components')['VCardItem']
|
2598
2601
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
2599
2602
|
VCardText: typeof import('vuetify/components')['VCardText']
|
2600
2603
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
2601
|
-
|
2602
|
-
|
2603
|
-
|
2604
|
-
|
2605
|
-
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
2606
|
-
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
2607
|
-
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
2608
|
-
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
2609
|
-
VCarousel: typeof import('vuetify/components')['VCarousel']
|
2610
|
-
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
2604
|
+
VCode: typeof import('vuetify/components')['VCode']
|
2605
|
+
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
2606
|
+
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
2607
|
+
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
2611
2608
|
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
2609
|
+
VCombobox: typeof import('vuetify/components')['VCombobox']
|
2612
2610
|
VDialog: typeof import('vuetify/components')['VDialog']
|
2613
|
-
VDivider: typeof import('vuetify/components')['VDivider']
|
2614
2611
|
VDataTable: typeof import('vuetify/components')['VDataTable']
|
2615
2612
|
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
2616
2613
|
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
@@ -2618,29 +2615,35 @@ declare module 'vue' {
|
|
2618
2615
|
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
2619
2616
|
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
2620
2617
|
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
2618
|
+
VCounter: typeof import('vuetify/components')['VCounter']
|
2619
|
+
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
2620
|
+
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
2621
|
+
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
2622
|
+
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
2623
|
+
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
2624
|
+
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
2625
|
+
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
2626
|
+
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
2627
|
+
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
2628
|
+
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
2629
|
+
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
2630
|
+
VDivider: typeof import('vuetify/components')['VDivider']
|
2621
2631
|
VFab: typeof import('vuetify/components')['VFab']
|
2622
2632
|
VField: typeof import('vuetify/components')['VField']
|
2623
2633
|
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
2624
2634
|
VFooter: typeof import('vuetify/components')['VFooter']
|
2625
2635
|
VFileInput: typeof import('vuetify/components')['VFileInput']
|
2636
|
+
VImg: typeof import('vuetify/components')['VImg']
|
2626
2637
|
VIcon: typeof import('vuetify/components')['VIcon']
|
2627
2638
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
2628
2639
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
2629
2640
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
2630
2641
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
2631
|
-
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
2632
|
-
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
2633
|
-
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
2634
|
-
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
2635
|
-
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
2636
|
-
VImg: typeof import('vuetify/components')['VImg']
|
2637
|
-
VInput: typeof import('vuetify/components')['VInput']
|
2638
|
-
VKbd: typeof import('vuetify/components')['VKbd']
|
2639
2642
|
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
2643
|
+
VLabel: typeof import('vuetify/components')['VLabel']
|
2640
2644
|
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
2641
2645
|
VItem: typeof import('vuetify/components')['VItem']
|
2642
|
-
|
2643
|
-
VMain: typeof import('vuetify/components')['VMain']
|
2646
|
+
VInput: typeof import('vuetify/components')['VInput']
|
2644
2647
|
VList: typeof import('vuetify/components')['VList']
|
2645
2648
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
2646
2649
|
VListImg: typeof import('vuetify/components')['VListImg']
|
@@ -2650,69 +2653,73 @@ declare module 'vue' {
|
|
2650
2653
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
2651
2654
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
2652
2655
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
2656
|
+
VMain: typeof import('vuetify/components')['VMain']
|
2657
|
+
VKbd: typeof import('vuetify/components')['VKbd']
|
2653
2658
|
VMenu: typeof import('vuetify/components')['VMenu']
|
2654
|
-
VNumberInput: typeof import('vuetify/components')['VNumberInput']
|
2655
|
-
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
2656
2659
|
VMessages: typeof import('vuetify/components')['VMessages']
|
2657
|
-
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
2658
|
-
VOverlay: typeof import('vuetify/components')['VOverlay']
|
2659
2660
|
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
2660
2661
|
VPagination: typeof import('vuetify/components')['VPagination']
|
2661
|
-
|
2662
|
-
|
2662
|
+
VNumberInput: typeof import('vuetify/components')['VNumberInput']
|
2663
|
+
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
2663
2664
|
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
2665
|
+
VOverlay: typeof import('vuetify/components')['VOverlay']
|
2666
|
+
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
2664
2667
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
2668
|
+
VRating: typeof import('vuetify/components')['VRating']
|
2669
|
+
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
2665
2670
|
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
2666
|
-
|
2667
|
-
|
2671
|
+
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
2672
|
+
VSelect: typeof import('vuetify/components')['VSelect']
|
2668
2673
|
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
2669
2674
|
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
2670
|
-
|
2671
|
-
VTextarea: typeof import('vuetify/components')['VTextarea']
|
2672
|
-
VSwitch: typeof import('vuetify/components')['VSwitch']
|
2673
|
-
VTab: typeof import('vuetify/components')['VTab']
|
2674
|
-
VTabs: typeof import('vuetify/components')['VTabs']
|
2675
|
-
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
2676
|
-
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
2677
|
-
VTable: typeof import('vuetify/components')['VTable']
|
2675
|
+
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
2678
2676
|
VStepper: typeof import('vuetify/components')['VStepper']
|
2679
2677
|
VStepperActions: typeof import('vuetify/components')['VStepperActions']
|
2680
2678
|
VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
|
2681
2679
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
2682
2680
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
2683
2681
|
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
|
+
VTab: typeof import('vuetify/components')['VTab']
|
2688
|
+
VTabs: typeof import('vuetify/components')['VTabs']
|
2689
|
+
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
2690
|
+
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
2691
|
+
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']
|
2684
2695
|
VTextField: typeof import('vuetify/components')['VTextField']
|
2685
2696
|
VTooltip: typeof import('vuetify/components')['VTooltip']
|
2686
|
-
VWindow: typeof import('vuetify/components')['VWindow']
|
2687
|
-
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
2688
2697
|
VTimeline: typeof import('vuetify/components')['VTimeline']
|
2689
2698
|
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
2690
|
-
|
2699
|
+
VWindow: typeof import('vuetify/components')['VWindow']
|
2700
|
+
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
2691
2701
|
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
2692
2702
|
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
2693
2703
|
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
2694
|
-
VForm: typeof import('vuetify/components')['VForm']
|
2695
2704
|
VContainer: typeof import('vuetify/components')['VContainer']
|
2696
2705
|
VCol: typeof import('vuetify/components')['VCol']
|
2697
2706
|
VRow: typeof import('vuetify/components')['VRow']
|
2698
2707
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
2708
|
+
VForm: typeof import('vuetify/components')['VForm']
|
2699
2709
|
VHover: typeof import('vuetify/components')['VHover']
|
2700
2710
|
VLayout: typeof import('vuetify/components')['VLayout']
|
2701
2711
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
2702
|
-
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
2703
2712
|
VLazy: typeof import('vuetify/components')['VLazy']
|
2704
|
-
|
2705
|
-
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
2713
|
+
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
2706
2714
|
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
2707
2715
|
VParallax: typeof import('vuetify/components')['VParallax']
|
2708
|
-
|
2709
|
-
VSparkline: typeof import('vuetify/components')['VSparkline']
|
2710
|
-
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
2716
|
+
VRadio: typeof import('vuetify/components')['VRadio']
|
2711
2717
|
VResponsive: typeof import('vuetify/components')['VResponsive']
|
2718
|
+
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
2719
|
+
VSnackbarQueue: typeof import('vuetify/components')['VSnackbarQueue']
|
2712
2720
|
VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
|
2721
|
+
VSparkline: typeof import('vuetify/components')['VSparkline']
|
2713
2722
|
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
2714
|
-
VValidation: typeof import('vuetify/components')['VValidation']
|
2715
|
-
VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
|
2716
2723
|
VFabTransition: typeof import('vuetify/components')['VFabTransition']
|
2717
2724
|
VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
|
2718
2725
|
VDialogTopTransition: typeof import('vuetify/components')['VDialogTopTransition']
|
@@ -2729,33 +2736,28 @@ declare module 'vue' {
|
|
2729
2736
|
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
2730
2737
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
2731
2738
|
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
2732
|
-
|
2733
|
-
|
2734
|
-
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
2735
|
-
VSlider: typeof import('vuetify/components')['VSlider']
|
2736
|
-
VAppBar: typeof import('vuetify/components')['VAppBar']
|
2737
|
-
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
2738
|
-
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
2739
|
+
VValidation: typeof import('vuetify/components')['VValidation']
|
2740
|
+
VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
|
2739
2741
|
VCalendar: typeof import('vuetify/labs/components')['VCalendar']
|
2740
2742
|
VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
|
2741
2743
|
VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
|
2742
2744
|
VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
|
2743
2745
|
VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
|
2744
2746
|
VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
|
2745
|
-
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
2746
|
-
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
2747
2747
|
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
2748
2748
|
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
2749
|
-
VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
|
2750
|
-
VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
|
2751
|
-
VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
|
2752
2749
|
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
2753
2750
|
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
2754
2751
|
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
2752
|
+
VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
|
2753
|
+
VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
|
2754
|
+
VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
|
2755
2755
|
VIconBtn: typeof import('vuetify/labs/components')['VIconBtn']
|
2756
2756
|
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
2757
2757
|
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
2758
2758
|
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
2759
|
+
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
2760
|
+
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
2759
2761
|
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
2760
2762
|
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
2761
2763
|
}
|
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,MAAMC,OAAO,GAAG9B,aAAa,CAACuB,OAAO,CAACO,OAAO,EAAEP,OAAO,CAACQ,GAAG,CAAC;IAC3D,MAAMC,KAAK,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0B,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,SACtBC,WAAW,EAAEC,UAAU;AAAA,SACvBC,YAAY,EAAEC,YAAY;AAAA,SAC1BC,WAAW,EAAEC,WAAW,kCAEjC;AACA,S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