@vuetify/nightly 3.0.2-next-20221120.0 → 3.0.2
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 +2 -10
- package/dist/json/importMap.json +110 -110
- package/dist/vuetify.css +3970 -3968
- package/dist/vuetify.d.ts +45 -45
- package/dist/vuetify.esm.js +42 -37
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +41 -36
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +328 -325
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VCard/VCardItem.mjs +1 -2
- package/lib/components/VCard/VCardItem.mjs.map +1 -1
- package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +1 -1
- package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs.map +1 -1
- package/lib/components/VOverlay/scrollStrategies.mjs +4 -0
- package/lib/components/VOverlay/scrollStrategies.mjs.map +1 -1
- package/lib/components/VOverlay/useActivator.mjs +4 -0
- package/lib/components/VOverlay/useActivator.mjs.map +1 -1
- package/lib/components/VRating/VRating.mjs +7 -6
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VRating/index.d.ts +14 -14
- package/lib/components/VSlideGroup/VSlideGroup.css +1 -0
- package/lib/components/VSlideGroup/VSlideGroup.sass +1 -0
- package/lib/components/VToolbar/VToolbar.css +1 -0
- package/lib/components/VToolbar/VToolbar.sass +1 -0
- package/lib/components/index.d.ts +14 -14
- package/lib/composables/toggleScope.mjs +6 -2
- package/lib/composables/toggleScope.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.ts +31 -31
- package/lib/util/defineComponent.mjs +8 -13
- package/lib/util/defineComponent.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vuetify.d.ts
CHANGED
|
@@ -15212,7 +15212,7 @@ declare const VRating: {
|
|
|
15212
15212
|
readonly: boolean;
|
|
15213
15213
|
tag: string;
|
|
15214
15214
|
density: Density;
|
|
15215
|
-
modelValue: number;
|
|
15215
|
+
modelValue: string | number;
|
|
15216
15216
|
ripple: boolean;
|
|
15217
15217
|
clearable: boolean;
|
|
15218
15218
|
hover: boolean;
|
|
@@ -15261,7 +15261,7 @@ declare const VRating: {
|
|
|
15261
15261
|
};
|
|
15262
15262
|
readonly: BooleanConstructor;
|
|
15263
15263
|
modelValue: {
|
|
15264
|
-
type: NumberConstructor;
|
|
15264
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
15265
15265
|
default: number;
|
|
15266
15266
|
};
|
|
15267
15267
|
itemLabels: Prop<string[], string[]>;
|
|
@@ -15272,7 +15272,7 @@ declare const VRating: {
|
|
|
15272
15272
|
};
|
|
15273
15273
|
ripple: BooleanConstructor;
|
|
15274
15274
|
}, "$children" | "v-slots" | "v-slot:item" | "v-slot:item-label">>> & {
|
|
15275
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
15275
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
15276
15276
|
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "length" | "disabled" | "size" | "readonly" | "tag" | "density" | "modelValue" | "ripple" | "clearable" | "hover" | "halfIncrements" | "itemAriaLabel" | "emptyIcon" | "fullIcon" | "itemLabelPosition">;
|
|
15277
15277
|
$attrs: {
|
|
15278
15278
|
[x: string]: unknown;
|
|
@@ -15285,7 +15285,7 @@ declare const VRating: {
|
|
|
15285
15285
|
}>;
|
|
15286
15286
|
$root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
15287
15287
|
$parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
15288
|
-
$emit: (event: "update:modelValue", value: number) => void;
|
|
15288
|
+
$emit: (event: "update:modelValue", value: string | number) => void;
|
|
15289
15289
|
$el: any;
|
|
15290
15290
|
$options: vue.ComponentOptionsBase<Readonly<vue.ExtractPropTypes<Omit<{
|
|
15291
15291
|
theme: StringConstructor;
|
|
@@ -15327,7 +15327,7 @@ declare const VRating: {
|
|
|
15327
15327
|
};
|
|
15328
15328
|
readonly: BooleanConstructor;
|
|
15329
15329
|
modelValue: {
|
|
15330
|
-
type: NumberConstructor;
|
|
15330
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
15331
15331
|
default: number;
|
|
15332
15332
|
};
|
|
15333
15333
|
itemLabels: Prop<string[], string[]>;
|
|
@@ -15338,9 +15338,9 @@ declare const VRating: {
|
|
|
15338
15338
|
};
|
|
15339
15339
|
ripple: BooleanConstructor;
|
|
15340
15340
|
}, "$children" | "v-slots" | "v-slot:item" | "v-slot:item-label">>> & {
|
|
15341
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
15341
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
15342
15342
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
|
|
15343
|
-
'update:modelValue': (value: number) => boolean;
|
|
15343
|
+
'update:modelValue': (value: number | string) => boolean;
|
|
15344
15344
|
}, "$children" | "v-slots" | "v-slot:item" | "v-slot:item-label">, string, {
|
|
15345
15345
|
length: string | number;
|
|
15346
15346
|
disabled: boolean;
|
|
@@ -15348,7 +15348,7 @@ declare const VRating: {
|
|
|
15348
15348
|
readonly: boolean;
|
|
15349
15349
|
tag: string;
|
|
15350
15350
|
density: Density;
|
|
15351
|
-
modelValue: number;
|
|
15351
|
+
modelValue: string | number;
|
|
15352
15352
|
ripple: boolean;
|
|
15353
15353
|
clearable: boolean;
|
|
15354
15354
|
hover: boolean;
|
|
@@ -15417,7 +15417,7 @@ declare const VRating: {
|
|
|
15417
15417
|
};
|
|
15418
15418
|
readonly: BooleanConstructor;
|
|
15419
15419
|
modelValue: {
|
|
15420
|
-
type: NumberConstructor;
|
|
15420
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
15421
15421
|
default: number;
|
|
15422
15422
|
};
|
|
15423
15423
|
itemLabels: Prop<string[], string[]>;
|
|
@@ -15428,7 +15428,7 @@ declare const VRating: {
|
|
|
15428
15428
|
};
|
|
15429
15429
|
ripple: BooleanConstructor;
|
|
15430
15430
|
}, "$children" | "v-slots" | "v-slot:item" | "v-slot:item-label">>> & {
|
|
15431
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
15431
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
15432
15432
|
} & vue.ShallowUnwrapRef<{}> & {} & vue.ComponentCustomProperties;
|
|
15433
15433
|
__isFragment?: undefined;
|
|
15434
15434
|
__isTeleport?: undefined;
|
|
@@ -15473,7 +15473,7 @@ declare const VRating: {
|
|
|
15473
15473
|
};
|
|
15474
15474
|
readonly: BooleanConstructor;
|
|
15475
15475
|
modelValue: {
|
|
15476
|
-
type: NumberConstructor;
|
|
15476
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
15477
15477
|
default: number;
|
|
15478
15478
|
};
|
|
15479
15479
|
itemLabels: Prop<string[], string[]>;
|
|
@@ -15484,9 +15484,9 @@ declare const VRating: {
|
|
|
15484
15484
|
};
|
|
15485
15485
|
ripple: BooleanConstructor;
|
|
15486
15486
|
}, "$children" | "v-slots" | "v-slot:item" | "v-slot:item-label">>> & {
|
|
15487
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
15487
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
15488
15488
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
|
|
15489
|
-
'update:modelValue': (value: number) => boolean;
|
|
15489
|
+
'update:modelValue': (value: number | string) => boolean;
|
|
15490
15490
|
}, "$children" | "v-slots" | "v-slot:item" | "v-slot:item-label">, string, {
|
|
15491
15491
|
length: string | number;
|
|
15492
15492
|
disabled: boolean;
|
|
@@ -15494,7 +15494,7 @@ declare const VRating: {
|
|
|
15494
15494
|
readonly: boolean;
|
|
15495
15495
|
tag: string;
|
|
15496
15496
|
density: Density;
|
|
15497
|
-
modelValue: number;
|
|
15497
|
+
modelValue: string | number;
|
|
15498
15498
|
ripple: boolean;
|
|
15499
15499
|
clearable: boolean;
|
|
15500
15500
|
hover: boolean;
|
|
@@ -25698,15 +25698,19 @@ declare module '@vue/runtime-core' {
|
|
|
25698
25698
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
|
25699
25699
|
VHover: typeof import('vuetify/components')['VHover']
|
|
25700
25700
|
VForm: typeof import('vuetify/components')['VForm']
|
|
25701
|
-
VLazy: typeof import('vuetify/components')['VLazy']
|
|
25702
25701
|
VLayout: typeof import('vuetify/components')['VLayout']
|
|
25703
25702
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
|
25703
|
+
VLazy: typeof import('vuetify/components')['VLazy']
|
|
25704
25704
|
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
|
25705
|
-
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
|
25706
25705
|
VParallax: typeof import('vuetify/components')['VParallax']
|
|
25706
|
+
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
|
25707
25707
|
VRadio: typeof import('vuetify/components')['VRadio']
|
|
25708
|
+
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
|
25708
25709
|
VResponsive: typeof import('vuetify/components')['VResponsive']
|
|
25709
25710
|
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
|
25711
|
+
VAppBar: typeof import('vuetify/components')['VAppBar']
|
|
25712
|
+
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
|
25713
|
+
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
|
25710
25714
|
VFabTransition: typeof import('vuetify/components')['VFabTransition']
|
|
25711
25715
|
VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
|
|
25712
25716
|
VDialogTopTransition: typeof import('vuetify/components')['VDialogTopTransition']
|
|
@@ -25723,24 +25727,17 @@ declare module '@vue/runtime-core' {
|
|
|
25723
25727
|
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
|
25724
25728
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
|
25725
25729
|
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
|
25726
|
-
VValidation: typeof import('vuetify/components')['VValidation']
|
|
25727
|
-
VAppBar: typeof import('vuetify/components')['VAppBar']
|
|
25728
|
-
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
|
25729
|
-
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
|
25730
25730
|
VAlert: typeof import('vuetify/components')['VAlert']
|
|
25731
25731
|
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
|
25732
|
-
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
|
25733
25732
|
VAvatar: typeof import('vuetify/components')['VAvatar']
|
|
25734
25733
|
VBadge: typeof import('vuetify/components')['VBadge']
|
|
25734
|
+
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
|
25735
25735
|
VBanner: typeof import('vuetify/components')['VBanner']
|
|
25736
25736
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
|
25737
25737
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
|
25738
25738
|
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
|
25739
|
-
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
|
25740
|
-
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
|
25741
|
-
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
|
25742
|
-
VBtn: typeof import('vuetify/components')['VBtn']
|
|
25743
25739
|
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
|
25740
|
+
VBtn: typeof import('vuetify/components')['VBtn']
|
|
25744
25741
|
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
|
25745
25742
|
VCard: typeof import('vuetify/components')['VCard']
|
|
25746
25743
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
|
@@ -25748,36 +25745,38 @@ declare module '@vue/runtime-core' {
|
|
|
25748
25745
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
|
25749
25746
|
VCardText: typeof import('vuetify/components')['VCardText']
|
|
25750
25747
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
|
25751
|
-
VCarousel: typeof import('vuetify/components')['VCarousel']
|
|
25752
|
-
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
|
25753
25748
|
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
|
25754
25749
|
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
|
25750
|
+
VCarousel: typeof import('vuetify/components')['VCarousel']
|
|
25751
|
+
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
|
25755
25752
|
VChip: typeof import('vuetify/components')['VChip']
|
|
25756
|
-
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
|
25757
25753
|
VCode: typeof import('vuetify/components')['VCode']
|
|
25754
|
+
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
|
25755
|
+
VValidation: typeof import('vuetify/components')['VValidation']
|
|
25758
25756
|
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
|
25759
25757
|
VCombobox: typeof import('vuetify/components')['VCombobox']
|
|
25760
25758
|
VCounter: typeof import('vuetify/components')['VCounter']
|
|
25761
25759
|
VDialog: typeof import('vuetify/components')['VDialog']
|
|
25762
|
-
VDivider: typeof import('vuetify/components')['VDivider']
|
|
25763
|
-
VField: typeof import('vuetify/components')['VField']
|
|
25764
|
-
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
|
25765
|
-
VFileInput: typeof import('vuetify/components')['VFileInput']
|
|
25766
|
-
VFooter: typeof import('vuetify/components')['VFooter']
|
|
25767
25760
|
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
|
25768
25761
|
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
|
25769
25762
|
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
|
25770
25763
|
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
|
25771
|
-
|
|
25764
|
+
VField: typeof import('vuetify/components')['VField']
|
|
25765
|
+
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
|
25766
|
+
VFileInput: typeof import('vuetify/components')['VFileInput']
|
|
25767
|
+
VFooter: typeof import('vuetify/components')['VFooter']
|
|
25772
25768
|
VIcon: typeof import('vuetify/components')['VIcon']
|
|
25773
25769
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
|
25774
25770
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
|
25775
25771
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
|
25776
25772
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
|
25777
|
-
|
|
25773
|
+
VImg: typeof import('vuetify/components')['VImg']
|
|
25778
25774
|
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
|
25779
25775
|
VItem: typeof import('vuetify/components')['VItem']
|
|
25776
|
+
VInput: typeof import('vuetify/components')['VInput']
|
|
25780
25777
|
VKbd: typeof import('vuetify/components')['VKbd']
|
|
25778
|
+
VLabel: typeof import('vuetify/components')['VLabel']
|
|
25779
|
+
VDivider: typeof import('vuetify/components')['VDivider']
|
|
25781
25780
|
VList: typeof import('vuetify/components')['VList']
|
|
25782
25781
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
|
25783
25782
|
VListImg: typeof import('vuetify/components')['VListImg']
|
|
@@ -25788,10 +25787,9 @@ declare module '@vue/runtime-core' {
|
|
|
25788
25787
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
|
25789
25788
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
|
25790
25789
|
VMain: typeof import('vuetify/components')['VMain']
|
|
25791
|
-
VLabel: typeof import('vuetify/components')['VLabel']
|
|
25792
|
-
VMessages: typeof import('vuetify/components')['VMessages']
|
|
25793
|
-
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
|
25794
25790
|
VMenu: typeof import('vuetify/components')['VMenu']
|
|
25791
|
+
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
|
25792
|
+
VMessages: typeof import('vuetify/components')['VMessages']
|
|
25795
25793
|
VOverlay: typeof import('vuetify/components')['VOverlay']
|
|
25796
25794
|
VPagination: typeof import('vuetify/components')['VPagination']
|
|
25797
25795
|
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
|
@@ -25799,28 +25797,30 @@ declare module '@vue/runtime-core' {
|
|
|
25799
25797
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
|
25800
25798
|
VRating: typeof import('vuetify/components')['VRating']
|
|
25801
25799
|
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
|
25802
|
-
VSelect: typeof import('vuetify/components')['VSelect']
|
|
25803
25800
|
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
|
25801
|
+
VSelect: typeof import('vuetify/components')['VSelect']
|
|
25804
25802
|
VSheet: typeof import('vuetify/components')['VSheet']
|
|
25805
|
-
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
|
25806
|
-
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
|
25807
25803
|
VSlider: typeof import('vuetify/components')['VSlider']
|
|
25808
25804
|
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
|
25809
25805
|
VSwitch: typeof import('vuetify/components')['VSwitch']
|
|
25810
|
-
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
|
25811
25806
|
VTabs: typeof import('vuetify/components')['VTabs']
|
|
25812
25807
|
VTab: typeof import('vuetify/components')['VTab']
|
|
25808
|
+
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
|
25813
25809
|
VTable: typeof import('vuetify/components')['VTable']
|
|
25810
|
+
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
|
25811
|
+
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
|
25814
25812
|
VTextarea: typeof import('vuetify/components')['VTextarea']
|
|
25815
25813
|
VTextField: typeof import('vuetify/components')['VTextField']
|
|
25816
|
-
VTimeline: typeof import('vuetify/components')['VTimeline']
|
|
25817
|
-
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
|
25818
25814
|
VToolbar: typeof import('vuetify/components')['VToolbar']
|
|
25819
25815
|
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
|
25820
25816
|
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
|
25817
|
+
VTimeline: typeof import('vuetify/components')['VTimeline']
|
|
25818
|
+
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
|
25821
25819
|
VTooltip: typeof import('vuetify/components')['VTooltip']
|
|
25822
25820
|
VWindow: typeof import('vuetify/components')['VWindow']
|
|
25823
25821
|
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
|
25824
|
-
|
|
25822
|
+
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
|
25823
|
+
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
|
25824
|
+
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
|
25825
25825
|
}
|
|
25826
25826
|
}
|
package/dist/vuetify.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.0.2
|
|
2
|
+
* Vuetify v3.0.2
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { ref, onBeforeUnmount, watch, readonly, Fragment, reactive, computed, watchEffect, toRefs, capitalize, getCurrentInstance as getCurrentInstance$1, unref, provide, inject as inject$1, shallowRef, shallowReactive, toRaw,
|
|
7
|
+
import { ref, onBeforeUnmount, watch, readonly, Fragment, reactive, computed, watchEffect, toRefs, capitalize, getCurrentInstance as getCurrentInstance$1, unref, provide, inject as inject$1, effectScope, onScopeDispose, shallowRef, shallowReactive, toRaw, defineComponent as defineComponent$1, camelize, h, onDeactivated, onActivated, onMounted, createVNode, TransitionGroup, Transition, mergeProps, onBeforeMount, nextTick, withDirectives, resolveDirective, vShow, isRef, toRef, resolveDynamicComponent, cloneVNode, warn, toHandlers, Teleport, createTextVNode, onBeforeUpdate, vModelText } from 'vue';
|
|
8
8
|
|
|
9
9
|
const IN_BROWSER = typeof window !== 'undefined';
|
|
10
10
|
const SUPPORTS_INTERSECTION = IN_BROWSER && 'IntersectionObserver' in window;
|
|
@@ -927,6 +927,26 @@ function provideDefaults(defaults, options) {
|
|
|
927
927
|
return newDefaults;
|
|
928
928
|
}
|
|
929
929
|
|
|
930
|
+
function useToggleScope(source, cb) {
|
|
931
|
+
let scope;
|
|
932
|
+
watch(source, active => {
|
|
933
|
+
if (active && !scope) {
|
|
934
|
+
scope = effectScope();
|
|
935
|
+
scope.run(cb);
|
|
936
|
+
} else if (!active) {
|
|
937
|
+
var _scope;
|
|
938
|
+
(_scope = scope) == null ? void 0 : _scope.stop();
|
|
939
|
+
scope = undefined;
|
|
940
|
+
}
|
|
941
|
+
}, {
|
|
942
|
+
immediate: true
|
|
943
|
+
});
|
|
944
|
+
onScopeDispose(() => {
|
|
945
|
+
var _scope2;
|
|
946
|
+
(_scope2 = scope) == null ? void 0 : _scope2.stop();
|
|
947
|
+
});
|
|
948
|
+
}
|
|
949
|
+
|
|
930
950
|
/**
|
|
931
951
|
* Creates a factory function for props definitions.
|
|
932
952
|
* This is used to define props in a composable then override
|
|
@@ -1019,17 +1039,9 @@ const defineComponent = function defineComponent(options) {
|
|
|
1019
1039
|
}
|
|
1020
1040
|
});
|
|
1021
1041
|
const setupBindings = options._setup(_props, ctx);
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
scope = effectScope();
|
|
1026
|
-
scope.run(() => {
|
|
1027
|
-
var _injectSelf;
|
|
1028
|
-
provideDefaults(mergeDeep(((_injectSelf = injectSelf(DefaultsSymbol)) == null ? void 0 : _injectSelf.value) ?? {}, val));
|
|
1029
|
-
});
|
|
1030
|
-
}
|
|
1031
|
-
}, {
|
|
1032
|
-
immediate: true
|
|
1042
|
+
useToggleScope(_subcomponentDefaults, () => {
|
|
1043
|
+
var _injectSelf;
|
|
1044
|
+
provideDefaults(mergeDeep(((_injectSelf = injectSelf(DefaultsSymbol)) == null ? void 0 : _injectSelf.value) ?? {}, _subcomponentDefaults.value));
|
|
1033
1045
|
});
|
|
1034
1046
|
return setupBindings;
|
|
1035
1047
|
};
|
|
@@ -1776,22 +1788,6 @@ function genCssVariables(theme) {
|
|
|
1776
1788
|
return variables;
|
|
1777
1789
|
}
|
|
1778
1790
|
|
|
1779
|
-
function useToggleScope(source, cb) {
|
|
1780
|
-
let scope;
|
|
1781
|
-
watch(source, active => {
|
|
1782
|
-
if (active && !scope) {
|
|
1783
|
-
scope = effectScope();
|
|
1784
|
-
scope.run(cb);
|
|
1785
|
-
} else {
|
|
1786
|
-
var _scope;
|
|
1787
|
-
(_scope = scope) == null ? void 0 : _scope.stop();
|
|
1788
|
-
scope = undefined;
|
|
1789
|
-
}
|
|
1790
|
-
}, {
|
|
1791
|
-
immediate: true
|
|
1792
|
-
});
|
|
1793
|
-
}
|
|
1794
|
-
|
|
1795
1791
|
// Utilities
|
|
1796
1792
|
|
|
1797
1793
|
// Types
|
|
@@ -8347,6 +8343,10 @@ function useActivator(props, _ref) {
|
|
|
8347
8343
|
flush: 'post',
|
|
8348
8344
|
immediate: true
|
|
8349
8345
|
});
|
|
8346
|
+
onScopeDispose(() => {
|
|
8347
|
+
var _scope;
|
|
8348
|
+
(_scope = scope) == null ? void 0 : _scope.stop();
|
|
8349
|
+
});
|
|
8350
8350
|
return {
|
|
8351
8351
|
activatorEl,
|
|
8352
8352
|
activatorRef,
|
|
@@ -8930,6 +8930,10 @@ function useScrollStrategies(props, data) {
|
|
|
8930
8930
|
}
|
|
8931
8931
|
});
|
|
8932
8932
|
});
|
|
8933
|
+
onScopeDispose(() => {
|
|
8934
|
+
var _scope2;
|
|
8935
|
+
(_scope2 = scope) == null ? void 0 : _scope2.stop();
|
|
8936
|
+
});
|
|
8933
8937
|
}
|
|
8934
8938
|
function closeScrollStrategy(data) {
|
|
8935
8939
|
function onScroll(e) {
|
|
@@ -10784,7 +10788,7 @@ const VCardSubtitle = createSimpleFunctional('v-card-subtitle');
|
|
|
10784
10788
|
|
|
10785
10789
|
const VCardTitle = createSimpleFunctional('v-card-title');
|
|
10786
10790
|
|
|
10787
|
-
const VCardItem = defineComponent
|
|
10791
|
+
const VCardItem = defineComponent({
|
|
10788
10792
|
name: 'VCardItem',
|
|
10789
10793
|
props: {
|
|
10790
10794
|
appendAvatar: String,
|
|
@@ -16114,7 +16118,7 @@ const VRating = genericComponent()({
|
|
|
16114
16118
|
},
|
|
16115
16119
|
readonly: Boolean,
|
|
16116
16120
|
modelValue: {
|
|
16117
|
-
type: Number,
|
|
16121
|
+
type: [Number, String],
|
|
16118
16122
|
default: 0
|
|
16119
16123
|
},
|
|
16120
16124
|
itemLabels: Array,
|
|
@@ -16143,6 +16147,7 @@ const VRating = genericComponent()({
|
|
|
16143
16147
|
themeClasses
|
|
16144
16148
|
} = provideTheme(props);
|
|
16145
16149
|
const rating = useProxiedModel(props, 'modelValue');
|
|
16150
|
+
const normalizedValue = computed(() => clamp(parseFloat(rating.value), 0, +props.length));
|
|
16146
16151
|
const range = computed(() => createRange(Number(props.length), 1));
|
|
16147
16152
|
const increments = computed(() => range.value.flatMap(v => props.halfIncrements ? [v - 0.5, v] : [v]));
|
|
16148
16153
|
const hoverIndex = ref(-1);
|
|
@@ -16151,7 +16156,7 @@ const VRating = genericComponent()({
|
|
|
16151
16156
|
let isClicking = false;
|
|
16152
16157
|
const itemState = computed(() => increments.value.map(value => {
|
|
16153
16158
|
const isHovering = props.hover && hoverIndex.value > -1;
|
|
16154
|
-
const isFilled =
|
|
16159
|
+
const isFilled = normalizedValue.value >= value;
|
|
16155
16160
|
const isHovered = hoverIndex.value >= value;
|
|
16156
16161
|
const isFullIcon = isHovering ? isHovered : isFilled;
|
|
16157
16162
|
const icon = isFullIcon ? props.fullIcon : props.emptyIcon;
|
|
@@ -16172,7 +16177,7 @@ const VRating = genericComponent()({
|
|
|
16172
16177
|
hoverIndex.value = -1;
|
|
16173
16178
|
}
|
|
16174
16179
|
function onFocus() {
|
|
16175
|
-
if (value === 0 &&
|
|
16180
|
+
if (value === 0 && normalizedValue.value === 0) {
|
|
16176
16181
|
var _firstRef$value;
|
|
16177
16182
|
(_firstRef$value = firstRef.value) == null ? void 0 : _firstRef$value.focus();
|
|
16178
16183
|
} else {
|
|
@@ -16184,7 +16189,7 @@ const VRating = genericComponent()({
|
|
|
16184
16189
|
}
|
|
16185
16190
|
function onClick() {
|
|
16186
16191
|
if (props.disabled || props.readonly) return;
|
|
16187
|
-
rating.value =
|
|
16192
|
+
rating.value = normalizedValue.value === value && props.clearable ? 0 : value;
|
|
16188
16193
|
}
|
|
16189
16194
|
return {
|
|
16190
16195
|
onMouseenter: props.hover ? onMouseenter : undefined,
|
|
@@ -16249,7 +16254,7 @@ const VRating = genericComponent()({
|
|
|
16249
16254
|
"id": id,
|
|
16250
16255
|
"type": "radio",
|
|
16251
16256
|
"value": value,
|
|
16252
|
-
"checked":
|
|
16257
|
+
"checked": normalizedValue.value === value,
|
|
16253
16258
|
"onClick": onClick,
|
|
16254
16259
|
"onFocus": onFocus,
|
|
16255
16260
|
"onBlur": onBlur,
|
|
@@ -18158,7 +18163,7 @@ function createVuetify$1() {
|
|
|
18158
18163
|
locale
|
|
18159
18164
|
};
|
|
18160
18165
|
}
|
|
18161
|
-
const version$1 = "3.0.2
|
|
18166
|
+
const version$1 = "3.0.2";
|
|
18162
18167
|
createVuetify$1.version = version$1;
|
|
18163
18168
|
|
|
18164
18169
|
// Vue's inject() can only be used in setup
|
|
@@ -18179,7 +18184,7 @@ const createVuetify = function () {
|
|
|
18179
18184
|
...options
|
|
18180
18185
|
});
|
|
18181
18186
|
};
|
|
18182
|
-
const version = "3.0.2
|
|
18187
|
+
const version = "3.0.2";
|
|
18183
18188
|
createVuetify.version = version;
|
|
18184
18189
|
|
|
18185
18190
|
export { components, createVuetify, directives, useDisplay, useLayout, useLocale, useRtl, useTheme, version };
|