@vuetify/nightly 3.7.7-dev.2025-01-20 → 3.7.7-dev.2025-01-22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -3
- package/dist/json/attributes.json +1482 -1482
- package/dist/json/importMap-labs.json +36 -36
- package/dist/json/importMap.json +198 -198
- package/dist/json/web-types.json +2977 -2977
- package/dist/vuetify-labs.css +2627 -2627
- package/dist/vuetify-labs.d.ts +77 -76
- package/dist/vuetify-labs.esm.js +110 -73
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +110 -73
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +3850 -3850
- package/dist/vuetify.d.ts +77 -76
- package/dist/vuetify.esm.js +110 -73
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +110 -73
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +481 -475
- package/dist/vuetify.min.js.map +1 -1
- package/lib/composables/display.js +4 -1
- package/lib/composables/display.js.map +1 -1
- package/lib/composables/nested/nested.d.ts +1 -1
- package/lib/composables/nested/nested.js +3 -1
- package/lib/composables/nested/nested.js.map +1 -1
- package/lib/composables/nested/selectStrategies.d.ts +1 -0
- package/lib/composables/nested/selectStrategies.js +21 -0
- package/lib/composables/nested/selectStrategies.js.map +1 -1
- package/lib/entry-bundler.d.ts +2 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +76 -75
- package/lib/framework.js +83 -72
- package/lib/framework.js.map +1 -1
- package/lib/labs/entry-bundler.d.ts +2 -1
- package/package.json +1 -1
package/lib/framework.d.ts
CHANGED
@@ -379,6 +379,7 @@ interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {
|
|
379
379
|
}
|
380
380
|
declare function createVuetify(vuetify?: VuetifyOptions): {
|
381
381
|
install: (app: App) => void;
|
382
|
+
unmount: () => void;
|
382
383
|
defaults: vue.Ref<DefaultsInstance, DefaultsInstance>;
|
383
384
|
display: DisplayInstance;
|
384
385
|
theme: ThemeInstance & {
|
@@ -446,7 +447,7 @@ declare function createVuetify(vuetify?: VuetifyOptions): {
|
|
446
447
|
};
|
447
448
|
};
|
448
449
|
goTo: GoToInstance;
|
449
|
-
};
|
450
|
+
} | undefined;
|
450
451
|
declare namespace createVuetify {
|
451
452
|
var version: string;
|
452
453
|
}
|
@@ -489,25 +490,24 @@ declare module 'vue' {
|
|
489
490
|
$children?: VNodeChild
|
490
491
|
}
|
491
492
|
export interface GlobalComponents {
|
492
|
-
|
493
|
+
VApp: typeof import('vuetify/components')['VApp']
|
494
|
+
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
495
|
+
VBadge: typeof import('vuetify/components')['VBadge']
|
493
496
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
494
497
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
495
498
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
496
|
-
VApp: typeof import('vuetify/components')['VApp']
|
497
499
|
VAlert: typeof import('vuetify/components')['VAlert']
|
498
500
|
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
499
|
-
VBadge: typeof import('vuetify/components')['VBadge']
|
500
501
|
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
502
|
+
VBanner: typeof import('vuetify/components')['VBanner']
|
503
|
+
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
504
|
+
VBannerText: typeof import('vuetify/components')['VBannerText']
|
505
|
+
VAvatar: typeof import('vuetify/components')['VAvatar']
|
501
506
|
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
502
507
|
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
503
508
|
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
509
|
+
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
504
510
|
VBtn: typeof import('vuetify/components')['VBtn']
|
505
|
-
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
506
|
-
VBanner: typeof import('vuetify/components')['VBanner']
|
507
|
-
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
508
|
-
VBannerText: typeof import('vuetify/components')['VBannerText']
|
509
|
-
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
510
|
-
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
511
511
|
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
512
512
|
VCard: typeof import('vuetify/components')['VCard']
|
513
513
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
@@ -515,17 +515,15 @@ declare module 'vue' {
|
|
515
515
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
516
516
|
VCardText: typeof import('vuetify/components')['VCardText']
|
517
517
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
518
|
-
|
518
|
+
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
519
|
+
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
520
|
+
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
521
|
+
VCode: typeof import('vuetify/components')['VCode']
|
522
|
+
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
519
523
|
VCarousel: typeof import('vuetify/components')['VCarousel']
|
520
524
|
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
521
525
|
VCombobox: typeof import('vuetify/components')['VCombobox']
|
522
|
-
|
523
|
-
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
524
|
-
VCode: typeof import('vuetify/components')['VCode']
|
525
|
-
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
526
|
-
VCounter: typeof import('vuetify/components')['VCounter']
|
527
|
-
VDivider: typeof import('vuetify/components')['VDivider']
|
528
|
-
VDialog: typeof import('vuetify/components')['VDialog']
|
526
|
+
VChip: typeof import('vuetify/components')['VChip']
|
529
527
|
VDataTable: typeof import('vuetify/components')['VDataTable']
|
530
528
|
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
531
529
|
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
@@ -533,22 +531,38 @@ declare module 'vue' {
|
|
533
531
|
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
534
532
|
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
535
533
|
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
534
|
+
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
535
|
+
VCounter: typeof import('vuetify/components')['VCounter']
|
536
|
+
VDivider: typeof import('vuetify/components')['VDivider']
|
537
|
+
VDialog: typeof import('vuetify/components')['VDialog']
|
540
538
|
VField: typeof import('vuetify/components')['VField']
|
541
539
|
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
542
|
-
|
543
|
-
|
544
|
-
|
540
|
+
VFab: typeof import('vuetify/components')['VFab']
|
541
|
+
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
542
|
+
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
543
|
+
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
544
|
+
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
545
|
+
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
546
|
+
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
547
|
+
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
548
|
+
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
549
|
+
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
550
|
+
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
551
|
+
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
552
|
+
VFooter: typeof import('vuetify/components')['VFooter']
|
553
|
+
VFileInput: typeof import('vuetify/components')['VFileInput']
|
545
554
|
VImg: typeof import('vuetify/components')['VImg']
|
546
|
-
VLabel: typeof import('vuetify/components')['VLabel']
|
547
555
|
VIcon: typeof import('vuetify/components')['VIcon']
|
548
556
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
549
557
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
550
558
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
551
559
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
560
|
+
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
561
|
+
VItem: typeof import('vuetify/components')['VItem']
|
562
|
+
VKbd: typeof import('vuetify/components')['VKbd']
|
563
|
+
VInput: typeof import('vuetify/components')['VInput']
|
564
|
+
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
565
|
+
VMain: typeof import('vuetify/components')['VMain']
|
552
566
|
VList: typeof import('vuetify/components')['VList']
|
553
567
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
554
568
|
VListImg: typeof import('vuetify/components')['VListImg']
|
@@ -558,61 +572,53 @@ declare module 'vue' {
|
|
558
572
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
559
573
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
560
574
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
561
|
-
|
562
|
-
VMain: typeof import('vuetify/components')['VMain']
|
563
|
-
VMessages: typeof import('vuetify/components')['VMessages']
|
575
|
+
VLabel: typeof import('vuetify/components')['VLabel']
|
564
576
|
VMenu: typeof import('vuetify/components')['VMenu']
|
565
|
-
|
566
|
-
|
577
|
+
VMessages: typeof import('vuetify/components')['VMessages']
|
578
|
+
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
567
579
|
VPagination: typeof import('vuetify/components')['VPagination']
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
572
|
-
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
573
|
-
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
574
|
-
VKbd: typeof import('vuetify/components')['VKbd']
|
580
|
+
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
581
|
+
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
582
|
+
VOverlay: typeof import('vuetify/components')['VOverlay']
|
575
583
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
576
|
-
|
584
|
+
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
577
585
|
VSelect: typeof import('vuetify/components')['VSelect']
|
586
|
+
VRating: typeof import('vuetify/components')['VRating']
|
578
587
|
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
579
588
|
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
580
|
-
|
581
|
-
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
589
|
+
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
582
590
|
VSheet: typeof import('vuetify/components')['VSheet']
|
583
|
-
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
584
591
|
VSlider: typeof import('vuetify/components')['VSlider']
|
592
|
+
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
593
|
+
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
585
594
|
VStepper: typeof import('vuetify/components')['VStepper']
|
586
595
|
VStepperActions: typeof import('vuetify/components')['VStepperActions']
|
587
596
|
VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
|
588
597
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
589
598
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
590
599
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
600
|
+
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
601
|
+
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
591
602
|
VSwitch: typeof import('vuetify/components')['VSwitch']
|
592
|
-
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
593
|
-
VTextarea: typeof import('vuetify/components')['VTextarea']
|
594
603
|
VTab: typeof import('vuetify/components')['VTab']
|
595
604
|
VTabs: typeof import('vuetify/components')['VTabs']
|
596
605
|
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
597
606
|
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
607
|
+
VTextarea: typeof import('vuetify/components')['VTextarea']
|
608
|
+
VTimeline: typeof import('vuetify/components')['VTimeline']
|
609
|
+
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
610
|
+
VTextField: typeof import('vuetify/components')['VTextField']
|
611
|
+
VWindow: typeof import('vuetify/components')['VWindow']
|
612
|
+
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
598
613
|
VTable: typeof import('vuetify/components')['VTable']
|
599
|
-
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
600
614
|
VToolbar: typeof import('vuetify/components')['VToolbar']
|
601
615
|
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
602
616
|
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
603
|
-
VTextField: typeof import('vuetify/components')['VTextField']
|
604
|
-
VWindow: typeof import('vuetify/components')['VWindow']
|
605
|
-
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
606
617
|
VTooltip: typeof import('vuetify/components')['VTooltip']
|
607
|
-
|
608
|
-
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
609
|
-
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
610
|
-
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
611
|
-
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
612
|
-
VTimeline: typeof import('vuetify/components')['VTimeline']
|
613
|
-
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
614
|
-
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
618
|
+
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
615
619
|
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
620
|
+
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
621
|
+
VForm: typeof import('vuetify/components')['VForm']
|
616
622
|
VContainer: typeof import('vuetify/components')['VContainer']
|
617
623
|
VCol: typeof import('vuetify/components')['VCol']
|
618
624
|
VRow: typeof import('vuetify/components')['VRow']
|
@@ -620,17 +626,18 @@ declare module 'vue' {
|
|
620
626
|
VHover: typeof import('vuetify/components')['VHover']
|
621
627
|
VLayout: typeof import('vuetify/components')['VLayout']
|
622
628
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
623
|
-
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
624
629
|
VLazy: typeof import('vuetify/components')['VLazy']
|
630
|
+
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
625
631
|
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
626
632
|
VParallax: typeof import('vuetify/components')['VParallax']
|
627
|
-
VForm: typeof import('vuetify/components')['VForm']
|
628
633
|
VRadio: typeof import('vuetify/components')['VRadio']
|
629
634
|
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
630
635
|
VResponsive: typeof import('vuetify/components')['VResponsive']
|
631
|
-
VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
|
632
636
|
VSparkline: typeof import('vuetify/components')['VSparkline']
|
633
|
-
|
637
|
+
VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
|
638
|
+
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
639
|
+
VValidation: typeof import('vuetify/components')['VValidation']
|
640
|
+
VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
|
634
641
|
VFabTransition: typeof import('vuetify/components')['VFabTransition']
|
635
642
|
VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
|
636
643
|
VDialogTopTransition: typeof import('vuetify/components')['VDialogTopTransition']
|
@@ -647,34 +654,28 @@ declare module 'vue' {
|
|
647
654
|
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
648
655
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
649
656
|
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
VValidation: typeof import('vuetify/components')['VValidation']
|
654
|
-
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
655
|
-
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
657
|
+
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
658
|
+
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
659
|
+
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
656
660
|
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
657
661
|
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
658
662
|
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
663
|
+
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
664
|
+
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
665
|
+
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
666
|
+
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
667
|
+
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
659
668
|
VCalendar: typeof import('vuetify/labs/components')['VCalendar']
|
660
669
|
VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
|
661
670
|
VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
|
662
671
|
VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
|
663
672
|
VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
|
664
673
|
VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
|
665
|
-
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
666
|
-
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
667
|
-
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
668
|
-
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
669
|
-
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
670
|
-
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
671
|
-
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
672
|
-
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
673
674
|
VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
|
674
675
|
VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
|
675
676
|
VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
|
676
677
|
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
677
|
-
VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
|
678
678
|
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
679
|
+
VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
|
679
680
|
}
|
680
681
|
}
|
package/lib/framework.js
CHANGED
@@ -6,7 +6,7 @@ import { createGoTo, GoToSymbol } from "./composables/goto.js";
|
|
6
6
|
import { createIcons, IconSymbol } from "./composables/icons.js";
|
7
7
|
import { createLocale, LocaleSymbol } from "./composables/locale.js";
|
8
8
|
import { createTheme, ThemeSymbol } from "./composables/theme.js"; // Utilities
|
9
|
-
import { nextTick, reactive } from 'vue';
|
9
|
+
import { effectScope, nextTick, reactive } from 'vue';
|
10
10
|
import { defineComponent, IN_BROWSER, mergeDeep } from "./util/index.js"; // Types
|
11
11
|
export * from "./composables/index.js";
|
12
12
|
export function createVuetify() {
|
@@ -21,82 +21,93 @@ export function createVuetify() {
|
|
21
21
|
components = {},
|
22
22
|
directives = {}
|
23
23
|
} = options;
|
24
|
-
const
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
24
|
+
const scope = effectScope();
|
25
|
+
return scope.run(() => {
|
26
|
+
const defaults = createDefaults(options.defaults);
|
27
|
+
const display = createDisplay(options.display, options.ssr);
|
28
|
+
const theme = createTheme(options.theme);
|
29
|
+
const icons = createIcons(options.icons);
|
30
|
+
const locale = createLocale(options.locale);
|
31
|
+
const date = createDate(options.date, locale);
|
32
|
+
const goTo = createGoTo(options.goTo, locale);
|
33
|
+
function install(app) {
|
34
|
+
for (const key in directives) {
|
35
|
+
app.directive(key, directives[key]);
|
36
|
+
}
|
37
|
+
for (const key in components) {
|
38
|
+
app.component(key, components[key]);
|
39
|
+
}
|
40
|
+
for (const key in aliases) {
|
41
|
+
app.component(key, defineComponent({
|
42
|
+
...aliases[key],
|
43
|
+
name: key,
|
44
|
+
aliasName: aliases[key].name
|
45
|
+
}));
|
46
|
+
}
|
47
|
+
const appScope = effectScope();
|
48
|
+
appScope.run(() => {
|
49
|
+
theme.install(app);
|
50
|
+
});
|
51
|
+
app.onUnmount(() => appScope.stop());
|
52
|
+
app.provide(DefaultsSymbol, defaults);
|
53
|
+
app.provide(DisplaySymbol, display);
|
54
|
+
app.provide(ThemeSymbol, theme);
|
55
|
+
app.provide(IconSymbol, icons);
|
56
|
+
app.provide(LocaleSymbol, locale);
|
57
|
+
app.provide(DateOptionsSymbol, date.options);
|
58
|
+
app.provide(DateAdapterSymbol, date.instance);
|
59
|
+
app.provide(GoToSymbol, goTo);
|
60
|
+
if (IN_BROWSER && options.ssr) {
|
61
|
+
if (app.$nuxt) {
|
62
|
+
app.$nuxt.hook('app:suspense:resolve', () => {
|
63
|
+
display.update();
|
64
|
+
});
|
65
|
+
} else {
|
66
|
+
const {
|
67
|
+
mount
|
68
|
+
} = app;
|
69
|
+
app.mount = function () {
|
70
|
+
const vm = mount(...arguments);
|
71
|
+
nextTick(() => display.update());
|
72
|
+
app.mount = mount;
|
73
|
+
return vm;
|
74
|
+
};
|
75
|
+
}
|
76
|
+
}
|
77
|
+
if (typeof __VUE_OPTIONS_API__ !== 'boolean' || __VUE_OPTIONS_API__) {
|
78
|
+
app.mixin({
|
79
|
+
computed: {
|
80
|
+
$vuetify() {
|
81
|
+
return reactive({
|
82
|
+
defaults: inject.call(this, DefaultsSymbol),
|
83
|
+
display: inject.call(this, DisplaySymbol),
|
84
|
+
theme: inject.call(this, ThemeSymbol),
|
85
|
+
icons: inject.call(this, IconSymbol),
|
86
|
+
locale: inject.call(this, LocaleSymbol),
|
87
|
+
date: inject.call(this, DateAdapterSymbol)
|
88
|
+
});
|
89
|
+
}
|
90
|
+
}
|
58
91
|
});
|
59
|
-
} else {
|
60
|
-
const {
|
61
|
-
mount
|
62
|
-
} = app;
|
63
|
-
app.mount = function () {
|
64
|
-
const vm = mount(...arguments);
|
65
|
-
nextTick(() => display.update());
|
66
|
-
app.mount = mount;
|
67
|
-
return vm;
|
68
|
-
};
|
69
92
|
}
|
70
93
|
}
|
71
|
-
|
72
|
-
|
73
|
-
computed: {
|
74
|
-
$vuetify() {
|
75
|
-
return reactive({
|
76
|
-
defaults: inject.call(this, DefaultsSymbol),
|
77
|
-
display: inject.call(this, DisplaySymbol),
|
78
|
-
theme: inject.call(this, ThemeSymbol),
|
79
|
-
icons: inject.call(this, IconSymbol),
|
80
|
-
locale: inject.call(this, LocaleSymbol),
|
81
|
-
date: inject.call(this, DateAdapterSymbol)
|
82
|
-
});
|
83
|
-
}
|
84
|
-
}
|
85
|
-
});
|
94
|
+
function unmount() {
|
95
|
+
scope.stop();
|
86
96
|
}
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
97
|
+
return {
|
98
|
+
install,
|
99
|
+
unmount,
|
100
|
+
defaults,
|
101
|
+
display,
|
102
|
+
theme,
|
103
|
+
icons,
|
104
|
+
locale,
|
105
|
+
date,
|
106
|
+
goTo
|
107
|
+
};
|
108
|
+
});
|
98
109
|
}
|
99
|
-
export const version = "3.7.7-dev.2025-01-
|
110
|
+
export const version = "3.7.7-dev.2025-01-22";
|
100
111
|
createVuetify.version = version;
|
101
112
|
|
102
113
|
// Vue's inject() can only be used in setup
|
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","nextTick","reactive","defineComponent","IN_BROWSER","mergeDeep","createVuetify","vuetify","arguments","length","undefined","blueprint","rest","options","aliases","components","directives","defaults","display","ssr","theme","icons","locale","date","goTo","install","app","key","directive","component","name","aliasName","provide","instance","$nuxt","hook","update","mount","vm","__VUE_OPTIONS_API__","mixin","computed","$vuetify","inject","call","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 { 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'\nexport * from './composables'\nexport type { DateOptions, DateInstance, DateModule } from '@/composables/date'\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 defaults = createDefaults(options.defaults)\n
|
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'\nexport * from './composables'\nexport type { DateOptions, DateInstance, DateModule } from '@/composables/date'\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,EA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AE/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,yBAAsB;AAC1C7C,aAAa,CAAC6C,OAAO,GAAGA,OAAO;;AAE/B;AACA,SAASH,MAAMA,CAAiCnB,GAA+B,EAAE;EAC/E,MAAMc,EAAE,GAAG,IAAI,CAACS,CAAC;EAEjB,MAAMC,QAAQ,GAAGV,EAAE,CAACW,MAAM,EAAED,QAAQ,IAAIV,EAAE,CAACY,KAAK,CAACC,UAAU,EAAEH,QAAQ;EAErE,IAAIA,QAAQ,IAAKxB,GAAG,IAAYwB,QAAQ,EAAE;IACxC,OAAOA,QAAQ,CAAExB,GAAG,CAAY;EAClC;AACF","ignoreList":[]}
|
@@ -4,6 +4,7 @@ export * from "../entry-bundler";
|
|
4
4
|
export { components };
|
5
5
|
export declare const createVuetify: (options?: VuetifyOptions) => {
|
6
6
|
install: (app: import("vue").App) => void;
|
7
|
+
unmount: () => void;
|
7
8
|
defaults: import("vue").Ref<import("../framework").DefaultsInstance, import("../framework").DefaultsInstance>;
|
8
9
|
display: import("../framework").DisplayInstance;
|
9
10
|
theme: import("../framework").ThemeInstance & {
|
@@ -71,4 +72,4 @@ export declare const createVuetify: (options?: VuetifyOptions) => {
|
|
71
72
|
};
|
72
73
|
};
|
73
74
|
goTo: import("../framework").GoToInstance;
|
74
|
-
};
|
75
|
+
} | undefined;
|