vuetify 3.10.2 → 3.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/json/attributes.json +1022 -1022
- package/dist/json/importMap-labs.json +18 -18
- package/dist/json/importMap.json +148 -148
- package/dist/json/web-types.json +1827 -1813
- package/dist/vuetify-labs.cjs +36 -50
- package/dist/vuetify-labs.css +5911 -5911
- package/dist/vuetify-labs.d.ts +1488 -1486
- package/dist/vuetify-labs.esm.js +36 -50
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +36 -50
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +36 -49
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +6147 -6147
- package/dist/vuetify.d.ts +1112 -1110
- package/dist/vuetify.esm.js +36 -49
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +36 -49
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +1421 -1419
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.d.ts +3 -3
- package/lib/components/VAlert/VAlertTitle.d.ts +3 -3
- package/lib/components/VApp/VApp.d.ts +3 -3
- package/lib/components/VAppBar/VAppBar.d.ts +3 -3
- package/lib/components/VAppBar/VAppBarNavIcon.d.ts +6 -6
- package/lib/components/VAppBar/VAppBarTitle.d.ts +3 -3
- package/lib/components/VAutocomplete/VAutocomplete.d.ts +116 -116
- package/lib/components/VAutocomplete/VAutocomplete.js +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/lib/components/VAvatar/VAvatar.d.ts +3 -3
- package/lib/components/VBadge/VBadge.d.ts +3 -3
- package/lib/components/VBanner/VBanner.d.ts +3 -3
- package/lib/components/VBanner/VBannerActions.d.ts +3 -3
- package/lib/components/VBanner/VBannerText.d.ts +3 -3
- package/lib/components/VBottomNavigation/VBottomNavigation.d.ts +3 -3
- package/lib/components/VBottomSheet/VBottomSheet.d.ts +3 -3
- package/lib/components/VBreadcrumbs/VBreadcrumbs.d.ts +3 -3
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.d.ts +3 -3
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.d.ts +3 -3
- package/lib/components/VBtn/VBtn.d.ts +6 -6
- package/lib/components/VBtn/VBtn.js +4 -4
- package/lib/components/VBtn/VBtn.js.map +1 -1
- package/lib/components/VBtnGroup/VBtnGroup.d.ts +3 -3
- package/lib/components/VBtnToggle/VBtnToggle.d.ts +3 -3
- package/lib/components/VCard/VCard.d.ts +6 -6
- package/lib/components/VCard/VCard.js +2 -2
- package/lib/components/VCard/VCard.js.map +1 -1
- package/lib/components/VCard/VCardActions.d.ts +3 -3
- package/lib/components/VCard/VCardItem.d.ts +3 -3
- package/lib/components/VCard/VCardSubtitle.d.ts +3 -3
- package/lib/components/VCard/VCardText.d.ts +3 -3
- package/lib/components/VCard/VCardTitle.d.ts +3 -3
- package/lib/components/VCarousel/VCarousel.d.ts +3 -3
- package/lib/components/VCarousel/VCarouselItem.d.ts +3 -3
- package/lib/components/VCheckbox/VCheckbox.d.ts +15 -15
- package/lib/components/VCheckbox/VCheckboxBtn.d.ts +6 -6
- package/lib/components/VChip/VChip.d.ts +6 -6
- package/lib/components/VChip/VChip.js +2 -2
- package/lib/components/VChip/VChip.js.map +1 -1
- package/lib/components/VChipGroup/VChipGroup.d.ts +3 -3
- package/lib/components/VCode/index.d.ts +3 -3
- package/lib/components/VCombobox/VCombobox.d.ts +116 -116
- package/lib/components/VCombobox/VCombobox.js +6 -25
- package/lib/components/VCombobox/VCombobox.js.map +1 -1
- package/lib/components/VCounter/VCounter.d.ts +3 -3
- package/lib/components/VDataIterator/VDataIterator.d.ts +9 -9
- package/lib/components/VDataTable/VDataTable.d.ts +3 -3
- package/lib/components/VDataTable/VDataTableServer.d.ts +3 -3
- package/lib/components/VDataTable/VDataTableVirtual.d.ts +6 -6
- package/lib/components/VDataTable/composables/expand.js +8 -8
- package/lib/components/VDataTable/composables/expand.js.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.d.ts +3 -3
- package/lib/components/VDialog/VDialog.d.ts +12 -12
- package/lib/components/VDivider/VDivider.d.ts +3 -3
- package/lib/components/VEmptyState/VEmptyState.d.ts +6 -6
- package/lib/components/VExpansionPanel/VExpansionPanel.d.ts +6 -6
- package/lib/components/VExpansionPanel/VExpansionPanelText.d.ts +3 -3
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.d.ts +6 -6
- package/lib/components/VExpansionPanel/VExpansionPanels.d.ts +6 -6
- package/lib/components/VFab/VFab.d.ts +6 -6
- package/lib/components/VField/VField.d.ts +3 -3
- package/lib/components/VField/VFieldLabel.d.ts +3 -3
- package/lib/components/VFileInput/VFileInput.d.ts +12 -12
- package/lib/components/VFooter/VFooter.d.ts +3 -3
- package/lib/components/VForm/VForm.d.ts +6 -6
- package/lib/components/VGrid/VCol.d.ts +3 -3
- package/lib/components/VGrid/VContainer.d.ts +3 -3
- package/lib/components/VGrid/VRow.d.ts +3 -3
- package/lib/components/VGrid/VSpacer.d.ts +3 -3
- package/lib/components/VIcon/VIcon.d.ts +3 -3
- package/lib/components/VImg/VImg.d.ts +3 -3
- package/lib/components/VInput/VInput.d.ts +3 -3
- package/lib/components/VItemGroup/VItemGroup.d.ts +3 -3
- package/lib/components/VKbd/VKbd.d.ts +3 -3
- package/lib/components/VLabel/VLabel.d.ts +3 -3
- package/lib/components/VLayout/VLayout.d.ts +3 -3
- package/lib/components/VLayout/VLayoutItem.d.ts +3 -3
- package/lib/components/VLazy/VLazy.d.ts +3 -3
- package/lib/components/VList/VList.d.ts +11 -11
- package/lib/components/VList/VList.js.map +1 -1
- package/lib/components/VList/VListGroup.d.ts +3 -3
- package/lib/components/VList/VListImg.d.ts +3 -3
- package/lib/components/VList/VListItem.d.ts +6 -6
- package/lib/components/VList/VListItem.js +2 -2
- package/lib/components/VList/VListItem.js.map +1 -1
- package/lib/components/VList/VListItemAction.d.ts +3 -3
- package/lib/components/VList/VListItemMedia.d.ts +3 -3
- package/lib/components/VList/VListItemSubtitle.d.ts +3 -3
- package/lib/components/VList/VListItemTitle.d.ts +3 -3
- package/lib/components/VList/VListSubheader.d.ts +3 -3
- package/lib/components/VLocaleProvider/VLocaleProvider.d.ts +3 -3
- package/lib/components/VMain/VMain.d.ts +3 -3
- package/lib/components/VMenu/VMenu.d.ts +15 -15
- package/lib/components/VMessages/VMessages.d.ts +3 -3
- package/lib/components/VNavigationDrawer/VNavigationDrawer.d.ts +3 -3
- package/lib/components/VNumberInput/VNumberInput.d.ts +66 -66
- package/lib/components/VNumberInput/VNumberInput.js +1 -0
- package/lib/components/VNumberInput/VNumberInput.js.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.d.ts +3 -3
- package/lib/components/VOverlay/VOverlay.d.ts +3 -3
- package/lib/components/VPagination/VPagination.d.ts +3 -3
- package/lib/components/VParallax/VParallax.d.ts +3 -3
- package/lib/components/VProgressCircular/VProgressCircular.d.ts +3 -3
- package/lib/components/VProgressLinear/VProgressLinear.d.ts +3 -3
- package/lib/components/VRadio/VRadio.d.ts +6 -6
- package/lib/components/VRadioGroup/VRadioGroup.d.ts +15 -15
- package/lib/components/VRangeSlider/VRangeSlider.d.ts +12 -12
- package/lib/components/VRating/VRating.d.ts +3 -3
- package/lib/components/VResponsive/VResponsive.d.ts +3 -3
- package/lib/components/VSelect/VSelect.d.ts +140 -140
- package/lib/components/VSelectionControl/VSelectionControl.d.ts +6 -6
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.d.ts +6 -6
- package/lib/components/VSheet/VSheet.d.ts +3 -3
- package/lib/components/VSlideGroup/VSlideGroup.d.ts +3 -3
- package/lib/components/VSlider/VSlider.d.ts +12 -12
- package/lib/components/VSlider/VSliderThumb.d.ts +6 -6
- package/lib/components/VSlider/VSliderTrack.d.ts +3 -3
- package/lib/components/VSnackbar/VSnackbar.d.ts +12 -12
- package/lib/components/VSnackbarQueue/VSnackbarQueue.d.ts +3 -3
- package/lib/components/VSpeedDial/VSpeedDial.d.ts +9 -9
- package/lib/components/VStepper/VStepper.d.ts +3 -3
- package/lib/components/VStepper/VStepperHeader.d.ts +3 -3
- package/lib/components/VStepper/VStepperItem.d.ts +3 -3
- package/lib/components/VStepper/VStepperWindow.d.ts +3 -3
- package/lib/components/VStepper/VStepperWindowItem.d.ts +3 -3
- package/lib/components/VSwitch/VSwitch.d.ts +15 -15
- package/lib/components/VSwitch/VSwitch.js +2 -2
- package/lib/components/VSwitch/VSwitch.js.map +1 -1
- package/lib/components/VSystemBar/VSystemBar.d.ts +3 -3
- package/lib/components/VTable/VTable.d.ts +3 -3
- package/lib/components/VTabs/VTab.d.ts +24 -24
- package/lib/components/VTabs/VTabs.d.ts +3 -3
- package/lib/components/VTabs/VTabsWindow.d.ts +3 -3
- package/lib/components/VTabs/VTabsWindowItem.d.ts +3 -3
- package/lib/components/VTextField/VTextField.d.ts +21 -21
- package/lib/components/VTextarea/VTextarea.d.ts +12 -12
- package/lib/components/VThemeProvider/VThemeProvider.d.ts +3 -3
- package/lib/components/VTimePicker/VTimePicker.d.ts +3 -3
- package/lib/components/VTimeline/VTimeline.d.ts +3 -3
- package/lib/components/VTimeline/VTimelineDivider.d.ts +3 -3
- package/lib/components/VTimeline/VTimelineItem.d.ts +3 -3
- package/lib/components/VToolbar/VToolbar.d.ts +3 -3
- package/lib/components/VToolbar/VToolbarItems.d.ts +3 -3
- package/lib/components/VToolbar/VToolbarTitle.d.ts +3 -3
- package/lib/components/VTooltip/VTooltip.d.ts +15 -15
- package/lib/components/VTreeview/VTreeview.d.ts +26 -26
- package/lib/components/VTreeview/VTreeviewGroup.d.ts +3 -3
- package/lib/components/VTreeview/VTreeviewItem.d.ts +24 -24
- package/lib/components/VVirtualScroll/VVirtualScroll.d.ts +6 -6
- package/lib/components/VVirtualScroll/VVirtualScrollItem.d.ts +3 -3
- package/lib/components/VWindow/VWindow.d.ts +3 -3
- package/lib/components/VWindow/VWindowItem.d.ts +3 -3
- package/lib/components/transitions/createTransition.d.ts +6 -6
- package/lib/components/transitions/index.d.ts +78 -78
- package/lib/composables/goto.js +2 -2
- package/lib/composables/goto.js.map +1 -1
- package/lib/composables/router.d.ts +2 -0
- package/lib/composables/router.js +6 -1
- package/lib/composables/router.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +65 -65
- package/lib/framework.js +1 -1
- package/lib/labs/VCalendar/VCalendar.js +0 -1
- package/lib/labs/VCalendar/VCalendar.js.map +1 -1
- package/lib/labs/VColorInput/VColorInput.d.ts +6 -6
- package/lib/labs/VDateInput/VDateInput.d.ts +66 -66
- package/lib/labs/VFileUpload/VFileUpload.d.ts +3 -3
- package/lib/labs/VFileUpload/VFileUploadItem.d.ts +6 -6
- package/lib/labs/VHotkey/VHotkey.d.ts +3 -3
- package/lib/labs/VIconBtn/VIconBtn.d.ts +3 -3
- package/lib/labs/VMaskInput/VMaskInput.d.ts +66 -66
- package/lib/labs/VPicker/VPicker.d.ts +3 -3
- package/lib/labs/VPicker/VPickerTitle.d.ts +3 -3
- package/lib/labs/VPie/VPieTooltip.d.ts +3 -3
- package/lib/labs/VStepperVertical/VStepperVertical.d.ts +6 -6
- package/lib/labs/VStepperVertical/VStepperVerticalItem.d.ts +6 -6
- package/lib/labs/VVideo/VVideo.d.ts +87 -87
- package/lib/labs/VVideo/VVideoControls.d.ts +40 -40
- package/lib/labs/VVideo/VVideoVolume.d.ts +33 -33
- package/lib/util/createSimpleFunctional.d.ts +3 -3
- package/lib/util/events.js +2 -2
- package/lib/util/events.js.map +1 -1
- package/package.json +9 -9
|
@@ -61,7 +61,7 @@ export declare const makeVStepperWindowItemProps: <Defaults extends {
|
|
|
61
61
|
};
|
|
62
62
|
export declare const VStepperWindowItem: {
|
|
63
63
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
64
|
-
style: import("vue").StyleValue;
|
|
64
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
65
65
|
disabled: boolean;
|
|
66
66
|
eager: boolean;
|
|
67
67
|
} & {
|
|
@@ -99,7 +99,7 @@ export declare const VStepperWindowItem: {
|
|
|
99
99
|
M: {};
|
|
100
100
|
Defaults: {};
|
|
101
101
|
}, {
|
|
102
|
-
style: import("vue").StyleValue;
|
|
102
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
103
103
|
disabled: boolean;
|
|
104
104
|
eager: boolean;
|
|
105
105
|
} & {
|
|
@@ -130,7 +130,7 @@ export declare const VStepperWindowItem: {
|
|
|
130
130
|
__isTeleport?: undefined;
|
|
131
131
|
__isSuspense?: undefined;
|
|
132
132
|
} & import("vue").ComponentOptionsBase<{
|
|
133
|
-
style: import("vue").StyleValue;
|
|
133
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
134
134
|
disabled: boolean;
|
|
135
135
|
eager: boolean;
|
|
136
136
|
} & {
|
|
@@ -385,7 +385,7 @@ export declare const makeVSwitchProps: <Defaults extends {
|
|
|
385
385
|
};
|
|
386
386
|
export declare const VSwitch: {
|
|
387
387
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
388
|
-
style: import("vue").StyleValue;
|
|
388
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
389
389
|
focused: boolean;
|
|
390
390
|
errorMessages: string | readonly string[] | null;
|
|
391
391
|
maxErrors: string | number;
|
|
@@ -397,7 +397,7 @@ export declare const VSwitch: {
|
|
|
397
397
|
ripple: boolean | {
|
|
398
398
|
class?: string | undefined;
|
|
399
399
|
keys?: string[] | undefined;
|
|
400
|
-
}
|
|
400
|
+
};
|
|
401
401
|
multiple: boolean | null;
|
|
402
402
|
readonly: boolean | null;
|
|
403
403
|
valueComparator: typeof import("../../util/index.js").deepEqual;
|
|
@@ -464,7 +464,7 @@ export declare const VSwitch: {
|
|
|
464
464
|
}> & Omit<{
|
|
465
465
|
theme?: string | undefined;
|
|
466
466
|
class?: any;
|
|
467
|
-
style: import("vue").StyleValue;
|
|
467
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
468
468
|
focused: boolean;
|
|
469
469
|
"onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
|
|
470
470
|
disabled: boolean | null;
|
|
@@ -527,7 +527,7 @@ export declare const VSwitch: {
|
|
|
527
527
|
$emit: (event: string, ...args: any[]) => void;
|
|
528
528
|
$el: any;
|
|
529
529
|
$options: import("vue").ComponentOptionsBase<{
|
|
530
|
-
style: import("vue").StyleValue;
|
|
530
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
531
531
|
focused: boolean;
|
|
532
532
|
disabled: boolean | null;
|
|
533
533
|
error: boolean;
|
|
@@ -640,7 +640,7 @@ export declare const VSwitch: {
|
|
|
640
640
|
messages: string | readonly string[];
|
|
641
641
|
direction: "horizontal" | "vertical";
|
|
642
642
|
}> & Omit<{
|
|
643
|
-
style: import("vue").StyleValue;
|
|
643
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
644
644
|
focused: boolean;
|
|
645
645
|
disabled: boolean | null;
|
|
646
646
|
error: boolean;
|
|
@@ -774,7 +774,7 @@ export declare const VSwitch: {
|
|
|
774
774
|
M: {};
|
|
775
775
|
Defaults: {};
|
|
776
776
|
}, {
|
|
777
|
-
style: import("vue").StyleValue;
|
|
777
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
778
778
|
focused: boolean;
|
|
779
779
|
errorMessages: string | readonly string[] | null;
|
|
780
780
|
maxErrors: string | number;
|
|
@@ -786,7 +786,7 @@ export declare const VSwitch: {
|
|
|
786
786
|
ripple: boolean | {
|
|
787
787
|
class?: string | undefined;
|
|
788
788
|
keys?: string[] | undefined;
|
|
789
|
-
}
|
|
789
|
+
};
|
|
790
790
|
multiple: boolean | null;
|
|
791
791
|
readonly: boolean | null;
|
|
792
792
|
valueComparator: typeof import("../../util/index.js").deepEqual;
|
|
@@ -853,7 +853,7 @@ export declare const VSwitch: {
|
|
|
853
853
|
}> & Omit<{
|
|
854
854
|
theme?: string | undefined;
|
|
855
855
|
class?: any;
|
|
856
|
-
style: import("vue").StyleValue;
|
|
856
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
857
857
|
focused: boolean;
|
|
858
858
|
"onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
|
|
859
859
|
disabled: boolean | null;
|
|
@@ -916,7 +916,7 @@ export declare const VSwitch: {
|
|
|
916
916
|
$emit: (event: string, ...args: any[]) => void;
|
|
917
917
|
$el: any;
|
|
918
918
|
$options: import("vue").ComponentOptionsBase<{
|
|
919
|
-
style: import("vue").StyleValue;
|
|
919
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
920
920
|
focused: boolean;
|
|
921
921
|
disabled: boolean | null;
|
|
922
922
|
error: boolean;
|
|
@@ -1029,7 +1029,7 @@ export declare const VSwitch: {
|
|
|
1029
1029
|
messages: string | readonly string[];
|
|
1030
1030
|
direction: "horizontal" | "vertical";
|
|
1031
1031
|
}> & Omit<{
|
|
1032
|
-
style: import("vue").StyleValue;
|
|
1032
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
1033
1033
|
focused: boolean;
|
|
1034
1034
|
disabled: boolean | null;
|
|
1035
1035
|
error: boolean;
|
|
@@ -1114,7 +1114,7 @@ export declare const VSwitch: {
|
|
|
1114
1114
|
__isTeleport?: undefined;
|
|
1115
1115
|
__isSuspense?: undefined;
|
|
1116
1116
|
} & import("vue").ComponentOptionsBase<{
|
|
1117
|
-
style: import("vue").StyleValue;
|
|
1117
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
1118
1118
|
focused: boolean;
|
|
1119
1119
|
errorMessages: string | readonly string[] | null;
|
|
1120
1120
|
maxErrors: string | number;
|
|
@@ -1126,7 +1126,7 @@ export declare const VSwitch: {
|
|
|
1126
1126
|
ripple: boolean | {
|
|
1127
1127
|
class?: string | undefined;
|
|
1128
1128
|
keys?: string[] | undefined;
|
|
1129
|
-
}
|
|
1129
|
+
};
|
|
1130
1130
|
multiple: boolean | null;
|
|
1131
1131
|
readonly: boolean | null;
|
|
1132
1132
|
valueComparator: typeof import("../../util/index.js").deepEqual;
|
|
@@ -1193,7 +1193,7 @@ export declare const VSwitch: {
|
|
|
1193
1193
|
}> & Omit<{
|
|
1194
1194
|
theme?: string | undefined;
|
|
1195
1195
|
class?: any;
|
|
1196
|
-
style: import("vue").StyleValue;
|
|
1196
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
1197
1197
|
focused: boolean;
|
|
1198
1198
|
"onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
|
|
1199
1199
|
disabled: boolean | null;
|
|
@@ -1256,7 +1256,7 @@ export declare const VSwitch: {
|
|
|
1256
1256
|
$emit: (event: string, ...args: any[]) => void;
|
|
1257
1257
|
$el: any;
|
|
1258
1258
|
$options: import("vue").ComponentOptionsBase<{
|
|
1259
|
-
style: import("vue").StyleValue;
|
|
1259
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
1260
1260
|
focused: boolean;
|
|
1261
1261
|
disabled: boolean | null;
|
|
1262
1262
|
error: boolean;
|
|
@@ -1369,7 +1369,7 @@ export declare const VSwitch: {
|
|
|
1369
1369
|
messages: string | readonly string[];
|
|
1370
1370
|
direction: "horizontal" | "vertical";
|
|
1371
1371
|
}> & Omit<{
|
|
1372
|
-
style: import("vue").StyleValue;
|
|
1372
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
1373
1373
|
focused: boolean;
|
|
1374
1374
|
disabled: boolean | null;
|
|
1375
1375
|
error: boolean;
|
|
@@ -14,7 +14,7 @@ import { forwardRefs } from "../../composables/forwardRefs.js";
|
|
|
14
14
|
import { LoaderSlot, useLoader } from "../../composables/loader.js";
|
|
15
15
|
import { useProxiedModel } from "../../composables/proxiedModel.js"; // Utilities
|
|
16
16
|
import { ref, toRef, useId } from 'vue';
|
|
17
|
-
import { filterInputAttrs, genericComponent,
|
|
17
|
+
import { filterInputAttrs, genericComponent, propsFactory, SUPPORTS_MATCH_MEDIA, useRender } from "../../util/index.js"; // Types
|
|
18
18
|
export const makeVSwitchProps = propsFactory({
|
|
19
19
|
indeterminate: Boolean,
|
|
20
20
|
inset: Boolean,
|
|
@@ -52,7 +52,7 @@ export const VSwitch = genericComponent()({
|
|
|
52
52
|
} = useFocus(props);
|
|
53
53
|
const control = ref();
|
|
54
54
|
const inputRef = ref();
|
|
55
|
-
const isForcedColorsModeActive =
|
|
55
|
+
const isForcedColorsModeActive = SUPPORTS_MATCH_MEDIA && window.matchMedia('(forced-colors: active)').matches;
|
|
56
56
|
const loaderColor = toRef(() => {
|
|
57
57
|
return typeof props.loading === 'string' && props.loading !== '' ? props.loading : props.color;
|
|
58
58
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VSwitch.js","names":["VScaleTransition","VDefaultsProvider","VIcon","makeVInputProps","VInput","VProgressCircular","makeVSelectionControlProps","VSelectionControl","useFocus","forwardRefs","LoaderSlot","useLoader","useProxiedModel","ref","toRef","useId","filterInputAttrs","genericComponent","IN_BROWSER","propsFactory","useRender","makeVSwitchProps","indeterminate","Boolean","inset","flat","loading","type","String","default","VSwitch","name","inheritAttrs","props","emits","focused","value","setup","_ref","attrs","slots","model","loaderClasses","isFocused","focus","blur","control","inputRef","isForcedColorsModeActive","window","matchMedia","matches","loaderColor","color","uid","id","onChange","onTrackClick","e","stopPropagation","preventDefault","input","click","rootAttrs","controlAttrs","inputProps","filterProps","controlProps","_createVNode","_mergeProps","class","$event","style","_ref2","messagesId","isDisabled","isReadonly","isValid","slotProps","undefined","_ref3","backgroundColorClasses","backgroundColorStyles","_createElementVNode","_normalizeClass","_normalizeStyle","_ref4","inputNode","icon","_Fragment","thumb","size","loader","isActive"],"sources":["../../../src/components/VSwitch/VSwitch.tsx"],"sourcesContent":["// Styles\nimport './VSwitch.sass'\n\n// Components\nimport { VScaleTransition } from '@/components/transitions'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider/VDefaultsProvider'\nimport { VIcon } from '@/components/VIcon'\nimport { makeVInputProps, VInput } from '@/components/VInput/VInput'\nimport { VProgressCircular } from '@/components/VProgressCircular'\nimport { makeVSelectionControlProps, VSelectionControl } from '@/components/VSelectionControl/VSelectionControl'\n\n// Composables\nimport { useFocus } from '@/composables/focus'\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { LoaderSlot, useLoader } from '@/composables/loader'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { ref, toRef, useId } from 'vue'\nimport { filterInputAttrs, genericComponent, IN_BROWSER, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { ComputedRef, Ref } from 'vue'\nimport type { VInputSlots } from '@/components/VInput/VInput'\nimport type { VSelectionControlSlots } from '@/components/VSelectionControl/VSelectionControl'\nimport type { IconValue } from '@/composables/icons'\nimport type { LoaderSlotProps } from '@/composables/loader'\nimport type { GenericProps } from '@/util'\n\nexport type VSwitchSlot = {\n model: Ref<boolean>\n isValid: ComputedRef<boolean | null>\n}\n\nexport type VSwitchSlots =\n & VInputSlots\n & VSelectionControlSlots\n & {\n loader: LoaderSlotProps\n thumb: { icon: IconValue | undefined } & VSwitchSlot\n 'track-false': VSwitchSlot\n 'track-true': VSwitchSlot\n }\n\nexport const makeVSwitchProps = propsFactory({\n indeterminate: Boolean,\n inset: Boolean,\n flat: Boolean,\n loading: {\n type: [Boolean, String],\n default: false,\n },\n\n ...makeVInputProps(),\n ...makeVSelectionControlProps(),\n}, 'VSwitch')\n\nexport const VSwitch = genericComponent<new <T>(\n props: {\n modelValue?: T | null\n 'onUpdate:modelValue'?: (value: T | null) => void\n },\n slots: VSwitchSlots,\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VSwitch',\n\n inheritAttrs: false,\n\n props: makeVSwitchProps(),\n\n emits: {\n 'update:focused': (focused: boolean) => true,\n 'update:modelValue': (value: any) => true,\n 'update:indeterminate': (value: boolean) => true,\n },\n\n setup (props, { attrs, slots }) {\n const indeterminate = useProxiedModel(props, 'indeterminate')\n const model = useProxiedModel(props, 'modelValue')\n const { loaderClasses } = useLoader(props)\n const { isFocused, focus, blur } = useFocus(props)\n const control = ref<VSelectionControl>()\n const inputRef = ref<VInput>()\n const isForcedColorsModeActive = IN_BROWSER && window.matchMedia('(forced-colors: active)').matches\n\n const loaderColor = toRef(() => {\n return typeof props.loading === 'string' && props.loading !== ''\n ? props.loading\n : props.color\n })\n\n const uid = useId()\n const id = toRef(() => props.id || `switch-${uid}`)\n\n function onChange () {\n if (indeterminate.value) {\n indeterminate.value = false\n }\n }\n function onTrackClick (e: Event) {\n e.stopPropagation()\n e.preventDefault()\n control.value?.input?.click()\n }\n\n useRender(() => {\n const [rootAttrs, controlAttrs] = filterInputAttrs(attrs)\n const inputProps = VInput.filterProps(props)\n const controlProps = VSelectionControl.filterProps(props)\n\n return (\n <VInput\n ref={ inputRef }\n class={[\n 'v-switch',\n { 'v-switch--flat': props.flat },\n { 'v-switch--inset': props.inset },\n { 'v-switch--indeterminate': indeterminate.value },\n loaderClasses.value,\n props.class,\n ]}\n { ...rootAttrs }\n { ...inputProps }\n v-model={ model.value }\n id={ id.value }\n focused={ isFocused.value }\n style={ props.style }\n >\n {{\n ...slots,\n default: ({\n id,\n messagesId,\n isDisabled,\n isReadonly,\n isValid,\n }) => {\n const slotProps = {\n model,\n isValid,\n }\n\n return (\n <VSelectionControl\n ref={ control }\n { ...controlProps }\n v-model={ model.value }\n id={ id.value }\n aria-describedby={ messagesId.value }\n type=\"checkbox\"\n onUpdate:modelValue={ onChange }\n aria-checked={ indeterminate.value ? 'mixed' : undefined }\n disabled={ isDisabled.value }\n readonly={ isReadonly.value }\n onFocus={ focus }\n onBlur={ blur }\n { ...controlAttrs }\n >\n {{\n ...slots,\n default: ({ backgroundColorClasses, backgroundColorStyles }) => (\n <div\n class={[\n 'v-switch__track',\n !isForcedColorsModeActive ? backgroundColorClasses.value : undefined,\n ]}\n style={ backgroundColorStyles.value }\n onClick={ onTrackClick }\n >\n { slots['track-true'] && (\n <div key=\"prepend\" class=\"v-switch__track-true\">\n { slots['track-true'](slotProps) }\n </div>\n )}\n\n { slots['track-false'] && (\n <div key=\"append\" class=\"v-switch__track-false\">\n { slots['track-false'](slotProps) }\n </div>\n )}\n </div>\n ),\n input: ({ inputNode, icon, backgroundColorClasses, backgroundColorStyles }) => (\n <>\n { inputNode }\n <div\n class={[\n 'v-switch__thumb',\n { 'v-switch__thumb--filled': icon || props.loading },\n props.inset || isForcedColorsModeActive ? undefined : backgroundColorClasses.value,\n ]}\n style={ props.inset ? undefined : backgroundColorStyles.value }\n >\n { slots.thumb ? (\n <VDefaultsProvider\n defaults={{\n VIcon: {\n icon,\n size: 'x-small',\n },\n }}\n >\n { slots.thumb({ ...slotProps, icon }) }\n </VDefaultsProvider>\n ) : (\n <VScaleTransition>\n { !props.loading ? (\n (icon && (\n <VIcon\n key={ String(icon) }\n icon={ icon }\n size=\"x-small\"\n />\n ))) : (\n <LoaderSlot\n name=\"v-switch\"\n active\n color={ isValid.value === false ? undefined : loaderColor.value }\n >\n { slotProps => (\n slots.loader\n ? slots.loader(slotProps)\n : (\n <VProgressCircular\n active={ slotProps.isActive }\n color={ slotProps.color }\n indeterminate\n size=\"16\"\n width=\"2\"\n />\n )\n )}\n </LoaderSlot>\n )}\n </VScaleTransition>\n )}\n </div>\n </>\n ),\n }}\n </VSelectionControl>\n )\n },\n }}\n </VInput>\n )\n })\n\n return forwardRefs({}, inputRef)\n },\n})\n\nexport type VSwitch = InstanceType<typeof VSwitch>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,gBAAgB;AAAA,SAChBC,iBAAiB;AAAA,SACjBC,KAAK;AAAA,SACLC,eAAe,E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AA,KAAApB,YAAA,CAAApE,gBAAA;gBAAA6B,OAAA,EAAAA,CAAA,MAInC,CAACI,KAAK,CAACP,OAAO,GACb8D,IAAI,IAAApB,YAAA,CAAAlE,KAAA;kBAAA,OAEK0B,MAAM,CAAC4D,IAAI,CAAC;kBAAA,QACXA,IAAI;kBAAA;gBAAA,QAGd,GAAApB,YAAA,CAAA1D,UAAA;kBAAA;kBAAA;kBAAA,SAISmE,OAAO,CAACzC,KAAK,KAAK,KAAK,GAAG2C,SAAS,GAAG3B,WAAW,CAAChB;gBAAK;kBAAAP,OAAA,EAE7DiD,SAAS,IACTtC,KAAK,CAACoD,MAAM,GACRpD,KAAK,CAACoD,MAAM,CAACd,SAAS,CAAC,GAAAV,YAAA,CAAA/D,iBAAA;oBAAA,UAGZyE,SAAS,CAACe,QAAQ;oBAAA,SACnBf,SAAS,CAACzB,KAAK;oBAAA;oBAAA;oBAAA;kBAAA;gBAM9B,EAEJ;cAAA,EAEJ;YAAA;UAGN;QAIT;MAAC;IAIT,CAAC,CAAC;IAEF,OAAO5C,WAAW,CAAC,CAAC,CAAC,EAAEsC,QAAQ,CAAC;EAClC;AACF,CAAC,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"VSwitch.js","names":["VScaleTransition","VDefaultsProvider","VIcon","makeVInputProps","VInput","VProgressCircular","makeVSelectionControlProps","VSelectionControl","useFocus","forwardRefs","LoaderSlot","useLoader","useProxiedModel","ref","toRef","useId","filterInputAttrs","genericComponent","propsFactory","SUPPORTS_MATCH_MEDIA","useRender","makeVSwitchProps","indeterminate","Boolean","inset","flat","loading","type","String","default","VSwitch","name","inheritAttrs","props","emits","focused","value","setup","_ref","attrs","slots","model","loaderClasses","isFocused","focus","blur","control","inputRef","isForcedColorsModeActive","window","matchMedia","matches","loaderColor","color","uid","id","onChange","onTrackClick","e","stopPropagation","preventDefault","input","click","rootAttrs","controlAttrs","inputProps","filterProps","controlProps","_createVNode","_mergeProps","class","$event","style","_ref2","messagesId","isDisabled","isReadonly","isValid","slotProps","undefined","_ref3","backgroundColorClasses","backgroundColorStyles","_createElementVNode","_normalizeClass","_normalizeStyle","_ref4","inputNode","icon","_Fragment","thumb","size","loader","isActive"],"sources":["../../../src/components/VSwitch/VSwitch.tsx"],"sourcesContent":["// Styles\nimport './VSwitch.sass'\n\n// Components\nimport { VScaleTransition } from '@/components/transitions'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider/VDefaultsProvider'\nimport { VIcon } from '@/components/VIcon'\nimport { makeVInputProps, VInput } from '@/components/VInput/VInput'\nimport { VProgressCircular } from '@/components/VProgressCircular'\nimport { makeVSelectionControlProps, VSelectionControl } from '@/components/VSelectionControl/VSelectionControl'\n\n// Composables\nimport { useFocus } from '@/composables/focus'\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { LoaderSlot, useLoader } from '@/composables/loader'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { ref, toRef, useId } from 'vue'\nimport { filterInputAttrs, genericComponent, propsFactory, SUPPORTS_MATCH_MEDIA, useRender } from '@/util'\n\n// Types\nimport type { ComputedRef, Ref } from 'vue'\nimport type { VInputSlots } from '@/components/VInput/VInput'\nimport type { VSelectionControlSlots } from '@/components/VSelectionControl/VSelectionControl'\nimport type { IconValue } from '@/composables/icons'\nimport type { LoaderSlotProps } from '@/composables/loader'\nimport type { GenericProps } from '@/util'\n\nexport type VSwitchSlot = {\n model: Ref<boolean>\n isValid: ComputedRef<boolean | null>\n}\n\nexport type VSwitchSlots =\n & VInputSlots\n & VSelectionControlSlots\n & {\n loader: LoaderSlotProps\n thumb: { icon: IconValue | undefined } & VSwitchSlot\n 'track-false': VSwitchSlot\n 'track-true': VSwitchSlot\n }\n\nexport const makeVSwitchProps = propsFactory({\n indeterminate: Boolean,\n inset: Boolean,\n flat: Boolean,\n loading: {\n type: [Boolean, String],\n default: false,\n },\n\n ...makeVInputProps(),\n ...makeVSelectionControlProps(),\n}, 'VSwitch')\n\nexport const VSwitch = genericComponent<new <T>(\n props: {\n modelValue?: T | null\n 'onUpdate:modelValue'?: (value: T | null) => void\n },\n slots: VSwitchSlots,\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VSwitch',\n\n inheritAttrs: false,\n\n props: makeVSwitchProps(),\n\n emits: {\n 'update:focused': (focused: boolean) => true,\n 'update:modelValue': (value: any) => true,\n 'update:indeterminate': (value: boolean) => true,\n },\n\n setup (props, { attrs, slots }) {\n const indeterminate = useProxiedModel(props, 'indeterminate')\n const model = useProxiedModel(props, 'modelValue')\n const { loaderClasses } = useLoader(props)\n const { isFocused, focus, blur } = useFocus(props)\n const control = ref<VSelectionControl>()\n const inputRef = ref<VInput>()\n const isForcedColorsModeActive = SUPPORTS_MATCH_MEDIA && window.matchMedia('(forced-colors: active)').matches\n\n const loaderColor = toRef(() => {\n return typeof props.loading === 'string' && props.loading !== ''\n ? props.loading\n : props.color\n })\n\n const uid = useId()\n const id = toRef(() => props.id || `switch-${uid}`)\n\n function onChange () {\n if (indeterminate.value) {\n indeterminate.value = false\n }\n }\n function onTrackClick (e: Event) {\n e.stopPropagation()\n e.preventDefault()\n control.value?.input?.click()\n }\n\n useRender(() => {\n const [rootAttrs, controlAttrs] = filterInputAttrs(attrs)\n const inputProps = VInput.filterProps(props)\n const controlProps = VSelectionControl.filterProps(props)\n\n return (\n <VInput\n ref={ inputRef }\n class={[\n 'v-switch',\n { 'v-switch--flat': props.flat },\n { 'v-switch--inset': props.inset },\n { 'v-switch--indeterminate': indeterminate.value },\n loaderClasses.value,\n props.class,\n ]}\n { ...rootAttrs }\n { ...inputProps }\n v-model={ model.value }\n id={ id.value }\n focused={ isFocused.value }\n style={ props.style }\n >\n {{\n ...slots,\n default: ({\n id,\n messagesId,\n isDisabled,\n isReadonly,\n isValid,\n }) => {\n const slotProps = {\n model,\n isValid,\n }\n\n return (\n <VSelectionControl\n ref={ control }\n { ...controlProps }\n v-model={ model.value }\n id={ id.value }\n aria-describedby={ messagesId.value }\n type=\"checkbox\"\n onUpdate:modelValue={ onChange }\n aria-checked={ indeterminate.value ? 'mixed' : undefined }\n disabled={ isDisabled.value }\n readonly={ isReadonly.value }\n onFocus={ focus }\n onBlur={ blur }\n { ...controlAttrs }\n >\n {{\n ...slots,\n default: ({ backgroundColorClasses, backgroundColorStyles }) => (\n <div\n class={[\n 'v-switch__track',\n !isForcedColorsModeActive ? backgroundColorClasses.value : undefined,\n ]}\n style={ backgroundColorStyles.value }\n onClick={ onTrackClick }\n >\n { slots['track-true'] && (\n <div key=\"prepend\" class=\"v-switch__track-true\">\n { slots['track-true'](slotProps) }\n </div>\n )}\n\n { slots['track-false'] && (\n <div key=\"append\" class=\"v-switch__track-false\">\n { slots['track-false'](slotProps) }\n </div>\n )}\n </div>\n ),\n input: ({ inputNode, icon, backgroundColorClasses, backgroundColorStyles }) => (\n <>\n { inputNode }\n <div\n class={[\n 'v-switch__thumb',\n { 'v-switch__thumb--filled': icon || props.loading },\n props.inset || isForcedColorsModeActive ? undefined : backgroundColorClasses.value,\n ]}\n style={ props.inset ? undefined : backgroundColorStyles.value }\n >\n { slots.thumb ? (\n <VDefaultsProvider\n defaults={{\n VIcon: {\n icon,\n size: 'x-small',\n },\n }}\n >\n { slots.thumb({ ...slotProps, icon }) }\n </VDefaultsProvider>\n ) : (\n <VScaleTransition>\n { !props.loading ? (\n (icon && (\n <VIcon\n key={ String(icon) }\n icon={ icon }\n size=\"x-small\"\n />\n ))) : (\n <LoaderSlot\n name=\"v-switch\"\n active\n color={ isValid.value === false ? undefined : loaderColor.value }\n >\n { slotProps => (\n slots.loader\n ? slots.loader(slotProps)\n : (\n <VProgressCircular\n active={ slotProps.isActive }\n color={ slotProps.color }\n indeterminate\n size=\"16\"\n width=\"2\"\n />\n )\n )}\n </LoaderSlot>\n )}\n </VScaleTransition>\n )}\n </div>\n </>\n ),\n }}\n </VSelectionControl>\n )\n },\n }}\n </VInput>\n )\n })\n\n return forwardRefs({}, inputRef)\n },\n})\n\nexport type VSwitch = InstanceType<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R;gBACF;cAAC;gBAAA9D,OAAA,EAAAA,CAAA,MAECW,KAAK,CAACkD,KAAK,CAAC;kBAAE,GAAGZ,SAAS;kBAAEU;gBAAK,CAAC,CAAC;cAAA,KAAApB,YAAA,CAAApE,gBAAA;gBAAA6B,OAAA,EAAAA,CAAA,MAInC,CAACI,KAAK,CAACP,OAAO,GACb8D,IAAI,IAAApB,YAAA,CAAAlE,KAAA;kBAAA,OAEK0B,MAAM,CAAC4D,IAAI,CAAC;kBAAA,QACXA,IAAI;kBAAA;gBAAA,QAGd,GAAApB,YAAA,CAAA1D,UAAA;kBAAA;kBAAA;kBAAA,SAISmE,OAAO,CAACzC,KAAK,KAAK,KAAK,GAAG2C,SAAS,GAAG3B,WAAW,CAAChB;gBAAK;kBAAAP,OAAA,EAE7DiD,SAAS,IACTtC,KAAK,CAACoD,MAAM,GACRpD,KAAK,CAACoD,MAAM,CAACd,SAAS,CAAC,GAAAV,YAAA,CAAA/D,iBAAA;oBAAA,UAGZyE,SAAS,CAACe,QAAQ;oBAAA,SACnBf,SAAS,CAACzB,KAAK;oBAAA;oBAAA;oBAAA;kBAAA;gBAM9B,EAEJ;cAAA,EAEJ;YAAA;UAGN;QAIT;MAAC;IAIT,CAAC,CAAC;IAEF,OAAO5C,WAAW,CAAC,CAAC,CAAC,EAAEsC,QAAQ,CAAC;EAClC;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -104,7 +104,7 @@ export declare const makeVSystemBarProps: <Defaults extends {
|
|
|
104
104
|
};
|
|
105
105
|
export declare const VSystemBar: {
|
|
106
106
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
107
|
-
style: import("vue").StyleValue;
|
|
107
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
108
108
|
order: string | number;
|
|
109
109
|
absolute: boolean;
|
|
110
110
|
tile: boolean;
|
|
@@ -149,7 +149,7 @@ export declare const VSystemBar: {
|
|
|
149
149
|
M: {};
|
|
150
150
|
Defaults: {};
|
|
151
151
|
}, {
|
|
152
|
-
style: import("vue").StyleValue;
|
|
152
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
153
153
|
order: string | number;
|
|
154
154
|
absolute: boolean;
|
|
155
155
|
tile: boolean;
|
|
@@ -187,7 +187,7 @@ export declare const VSystemBar: {
|
|
|
187
187
|
__isTeleport?: undefined;
|
|
188
188
|
__isSuspense?: undefined;
|
|
189
189
|
} & import("vue").ComponentOptionsBase<{
|
|
190
|
-
style: import("vue").StyleValue;
|
|
190
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
191
191
|
order: string | number;
|
|
192
192
|
absolute: boolean;
|
|
193
193
|
tile: boolean;
|
|
@@ -92,7 +92,7 @@ export declare const makeVTableProps: <Defaults extends {
|
|
|
92
92
|
};
|
|
93
93
|
export declare const VTable: {
|
|
94
94
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
95
|
-
style: import("vue").StyleValue;
|
|
95
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
96
96
|
density: import("../../composables/density.js").Density;
|
|
97
97
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
98
98
|
fixedHeader: boolean;
|
|
@@ -152,7 +152,7 @@ export declare const VTable: {
|
|
|
152
152
|
M: {};
|
|
153
153
|
Defaults: {};
|
|
154
154
|
}, {
|
|
155
|
-
style: import("vue").StyleValue;
|
|
155
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
156
156
|
density: import("../../composables/density.js").Density;
|
|
157
157
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
158
158
|
fixedHeader: boolean;
|
|
@@ -196,7 +196,7 @@ export declare const VTable: {
|
|
|
196
196
|
__isTeleport?: undefined;
|
|
197
197
|
__isSuspense?: undefined;
|
|
198
198
|
} & import("vue").ComponentOptionsBase<{
|
|
199
|
-
style: import("vue").StyleValue;
|
|
199
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
200
200
|
density: import("../../composables/density.js").Density;
|
|
201
201
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
202
202
|
fixedHeader: boolean;
|
|
@@ -318,7 +318,7 @@ export declare const makeVTabProps: <Defaults extends {
|
|
|
318
318
|
};
|
|
319
319
|
export declare const VTab: {
|
|
320
320
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
321
|
-
style: import("vue").StyleValue;
|
|
321
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
322
322
|
density: import("../../composables/density.js").Density;
|
|
323
323
|
tile: boolean;
|
|
324
324
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -334,7 +334,7 @@ export declare const VTab: {
|
|
|
334
334
|
ripple: boolean | {
|
|
335
335
|
class?: string | undefined;
|
|
336
336
|
keys?: string[] | undefined;
|
|
337
|
-
}
|
|
337
|
+
};
|
|
338
338
|
fixed: boolean;
|
|
339
339
|
hideSlider: boolean;
|
|
340
340
|
direction: "horizontal" | "vertical";
|
|
@@ -412,7 +412,7 @@ export declare const VTab: {
|
|
|
412
412
|
}> & Omit<{
|
|
413
413
|
theme?: string | undefined;
|
|
414
414
|
class?: any;
|
|
415
|
-
style: import("vue").StyleValue;
|
|
415
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
416
416
|
$children?: {
|
|
417
417
|
default?: (() => import("vue").VNodeChild) | undefined;
|
|
418
418
|
prepend?: (() => import("vue").VNodeChild) | undefined;
|
|
@@ -468,7 +468,7 @@ export declare const VTab: {
|
|
|
468
468
|
ripple: boolean | {
|
|
469
469
|
class?: string | undefined;
|
|
470
470
|
keys?: string[] | undefined;
|
|
471
|
-
}
|
|
471
|
+
};
|
|
472
472
|
text?: string | number | boolean | undefined;
|
|
473
473
|
"onGroup:selected"?: ((val: {
|
|
474
474
|
value: boolean;
|
|
@@ -506,7 +506,7 @@ export declare const VTab: {
|
|
|
506
506
|
}) => void;
|
|
507
507
|
$el: any;
|
|
508
508
|
$options: import("vue").ComponentOptionsBase<{
|
|
509
|
-
style: import("vue").StyleValue;
|
|
509
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
510
510
|
density: import("../../composables/density.js").Density;
|
|
511
511
|
tile: boolean;
|
|
512
512
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -524,7 +524,7 @@ export declare const VTab: {
|
|
|
524
524
|
ripple: boolean | {
|
|
525
525
|
class?: string | undefined;
|
|
526
526
|
keys?: string[] | undefined;
|
|
527
|
-
}
|
|
527
|
+
};
|
|
528
528
|
} & {
|
|
529
529
|
theme?: string | undefined;
|
|
530
530
|
class?: any;
|
|
@@ -663,7 +663,7 @@ export declare const VTab: {
|
|
|
663
663
|
} | undefined;
|
|
664
664
|
text: string | number | boolean;
|
|
665
665
|
}> & Omit<{
|
|
666
|
-
style: import("vue").StyleValue;
|
|
666
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
667
667
|
density: import("../../composables/density.js").Density;
|
|
668
668
|
tile: boolean;
|
|
669
669
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -681,7 +681,7 @@ export declare const VTab: {
|
|
|
681
681
|
ripple: boolean | {
|
|
682
682
|
class?: string | undefined;
|
|
683
683
|
keys?: string[] | undefined;
|
|
684
|
-
}
|
|
684
|
+
};
|
|
685
685
|
} & {
|
|
686
686
|
theme?: string | undefined;
|
|
687
687
|
class?: any;
|
|
@@ -784,7 +784,7 @@ export declare const VTab: {
|
|
|
784
784
|
M: {};
|
|
785
785
|
Defaults: {};
|
|
786
786
|
}, {
|
|
787
|
-
style: import("vue").StyleValue;
|
|
787
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
788
788
|
density: import("../../composables/density.js").Density;
|
|
789
789
|
tile: boolean;
|
|
790
790
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -800,7 +800,7 @@ export declare const VTab: {
|
|
|
800
800
|
ripple: boolean | {
|
|
801
801
|
class?: string | undefined;
|
|
802
802
|
keys?: string[] | undefined;
|
|
803
|
-
}
|
|
803
|
+
};
|
|
804
804
|
fixed: boolean;
|
|
805
805
|
hideSlider: boolean;
|
|
806
806
|
direction: "horizontal" | "vertical";
|
|
@@ -878,7 +878,7 @@ export declare const VTab: {
|
|
|
878
878
|
}> & Omit<{
|
|
879
879
|
theme?: string | undefined;
|
|
880
880
|
class?: any;
|
|
881
|
-
style: import("vue").StyleValue;
|
|
881
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
882
882
|
$children?: {
|
|
883
883
|
default?: (() => import("vue").VNodeChild) | undefined;
|
|
884
884
|
prepend?: (() => import("vue").VNodeChild) | undefined;
|
|
@@ -934,7 +934,7 @@ export declare const VTab: {
|
|
|
934
934
|
ripple: boolean | {
|
|
935
935
|
class?: string | undefined;
|
|
936
936
|
keys?: string[] | undefined;
|
|
937
|
-
}
|
|
937
|
+
};
|
|
938
938
|
text?: string | number | boolean | undefined;
|
|
939
939
|
"onGroup:selected"?: ((val: {
|
|
940
940
|
value: boolean;
|
|
@@ -972,7 +972,7 @@ export declare const VTab: {
|
|
|
972
972
|
}) => void;
|
|
973
973
|
$el: any;
|
|
974
974
|
$options: import("vue").ComponentOptionsBase<{
|
|
975
|
-
style: import("vue").StyleValue;
|
|
975
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
976
976
|
density: import("../../composables/density.js").Density;
|
|
977
977
|
tile: boolean;
|
|
978
978
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -990,7 +990,7 @@ export declare const VTab: {
|
|
|
990
990
|
ripple: boolean | {
|
|
991
991
|
class?: string | undefined;
|
|
992
992
|
keys?: string[] | undefined;
|
|
993
|
-
}
|
|
993
|
+
};
|
|
994
994
|
} & {
|
|
995
995
|
theme?: string | undefined;
|
|
996
996
|
class?: any;
|
|
@@ -1129,7 +1129,7 @@ export declare const VTab: {
|
|
|
1129
1129
|
} | undefined;
|
|
1130
1130
|
text: string | number | boolean;
|
|
1131
1131
|
}> & Omit<{
|
|
1132
|
-
style: import("vue").StyleValue;
|
|
1132
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
1133
1133
|
density: import("../../composables/density.js").Density;
|
|
1134
1134
|
tile: boolean;
|
|
1135
1135
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -1147,7 +1147,7 @@ export declare const VTab: {
|
|
|
1147
1147
|
ripple: boolean | {
|
|
1148
1148
|
class?: string | undefined;
|
|
1149
1149
|
keys?: string[] | undefined;
|
|
1150
|
-
}
|
|
1150
|
+
};
|
|
1151
1151
|
} & {
|
|
1152
1152
|
theme?: string | undefined;
|
|
1153
1153
|
class?: any;
|
|
@@ -1234,7 +1234,7 @@ export declare const VTab: {
|
|
|
1234
1234
|
__isTeleport?: undefined;
|
|
1235
1235
|
__isSuspense?: undefined;
|
|
1236
1236
|
} & import("vue").ComponentOptionsBase<{
|
|
1237
|
-
style: import("vue").StyleValue;
|
|
1237
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
1238
1238
|
density: import("../../composables/density.js").Density;
|
|
1239
1239
|
tile: boolean;
|
|
1240
1240
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -1250,7 +1250,7 @@ export declare const VTab: {
|
|
|
1250
1250
|
ripple: boolean | {
|
|
1251
1251
|
class?: string | undefined;
|
|
1252
1252
|
keys?: string[] | undefined;
|
|
1253
|
-
}
|
|
1253
|
+
};
|
|
1254
1254
|
fixed: boolean;
|
|
1255
1255
|
hideSlider: boolean;
|
|
1256
1256
|
direction: "horizontal" | "vertical";
|
|
@@ -1328,7 +1328,7 @@ export declare const VTab: {
|
|
|
1328
1328
|
}> & Omit<{
|
|
1329
1329
|
theme?: string | undefined;
|
|
1330
1330
|
class?: any;
|
|
1331
|
-
style: import("vue").StyleValue;
|
|
1331
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
1332
1332
|
$children?: {
|
|
1333
1333
|
default?: (() => import("vue").VNodeChild) | undefined;
|
|
1334
1334
|
prepend?: (() => import("vue").VNodeChild) | undefined;
|
|
@@ -1384,7 +1384,7 @@ export declare const VTab: {
|
|
|
1384
1384
|
ripple: boolean | {
|
|
1385
1385
|
class?: string | undefined;
|
|
1386
1386
|
keys?: string[] | undefined;
|
|
1387
|
-
}
|
|
1387
|
+
};
|
|
1388
1388
|
text?: string | number | boolean | undefined;
|
|
1389
1389
|
"onGroup:selected"?: ((val: {
|
|
1390
1390
|
value: boolean;
|
|
@@ -1422,7 +1422,7 @@ export declare const VTab: {
|
|
|
1422
1422
|
}) => void;
|
|
1423
1423
|
$el: any;
|
|
1424
1424
|
$options: import("vue").ComponentOptionsBase<{
|
|
1425
|
-
style: import("vue").StyleValue;
|
|
1425
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
1426
1426
|
density: import("../../composables/density.js").Density;
|
|
1427
1427
|
tile: boolean;
|
|
1428
1428
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -1440,7 +1440,7 @@ export declare const VTab: {
|
|
|
1440
1440
|
ripple: boolean | {
|
|
1441
1441
|
class?: string | undefined;
|
|
1442
1442
|
keys?: string[] | undefined;
|
|
1443
|
-
}
|
|
1443
|
+
};
|
|
1444
1444
|
} & {
|
|
1445
1445
|
theme?: string | undefined;
|
|
1446
1446
|
class?: any;
|
|
@@ -1579,7 +1579,7 @@ export declare const VTab: {
|
|
|
1579
1579
|
} | undefined;
|
|
1580
1580
|
text: string | number | boolean;
|
|
1581
1581
|
}> & Omit<{
|
|
1582
|
-
style: import("vue").StyleValue;
|
|
1582
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
1583
1583
|
density: import("../../composables/density.js").Density;
|
|
1584
1584
|
tile: boolean;
|
|
1585
1585
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -1597,7 +1597,7 @@ export declare const VTab: {
|
|
|
1597
1597
|
ripple: boolean | {
|
|
1598
1598
|
class?: string | undefined;
|
|
1599
1599
|
keys?: string[] | undefined;
|
|
1600
|
-
}
|
|
1600
|
+
};
|
|
1601
1601
|
} & {
|
|
1602
1602
|
theme?: string | undefined;
|
|
1603
1603
|
class?: any;
|
|
@@ -275,7 +275,7 @@ export declare const makeVTabsProps: <Defaults extends {
|
|
|
275
275
|
};
|
|
276
276
|
export declare const VTabs: {
|
|
277
277
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
278
|
-
style: import("vue").StyleValue;
|
|
278
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
279
279
|
mobile: boolean | null;
|
|
280
280
|
density: import("../../composables/density.js").Density;
|
|
281
281
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -357,7 +357,7 @@ export declare const VTabs: {
|
|
|
357
357
|
M: {};
|
|
358
358
|
Defaults: {};
|
|
359
359
|
}, {
|
|
360
|
-
style: import("vue").StyleValue;
|
|
360
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
361
361
|
mobile: boolean | null;
|
|
362
362
|
density: import("../../composables/density.js").Density;
|
|
363
363
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -415,7 +415,7 @@ export declare const VTabs: {
|
|
|
415
415
|
__isTeleport?: undefined;
|
|
416
416
|
__isSuspense?: undefined;
|
|
417
417
|
} & import("vue").ComponentOptionsBase<{
|
|
418
|
-
style: import("vue").StyleValue;
|
|
418
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
419
419
|
mobile: boolean | null;
|
|
420
420
|
density: import("../../composables/density.js").Density;
|
|
421
421
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
@@ -87,7 +87,7 @@ export declare const makeVTabsWindowProps: <Defaults extends {
|
|
|
87
87
|
};
|
|
88
88
|
export declare const VTabsWindow: {
|
|
89
89
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
90
|
-
style: import("vue").StyleValue;
|
|
90
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
91
91
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
92
92
|
reverse: boolean;
|
|
93
93
|
direction: "horizontal" | "vertical";
|
|
@@ -135,7 +135,7 @@ export declare const VTabsWindow: {
|
|
|
135
135
|
M: {};
|
|
136
136
|
Defaults: {};
|
|
137
137
|
}, {
|
|
138
|
-
style: import("vue").StyleValue;
|
|
138
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
139
139
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
140
140
|
reverse: boolean;
|
|
141
141
|
direction: "horizontal" | "vertical";
|
|
@@ -174,7 +174,7 @@ export declare const VTabsWindow: {
|
|
|
174
174
|
__isTeleport?: undefined;
|
|
175
175
|
__isSuspense?: undefined;
|
|
176
176
|
} & import("vue").ComponentOptionsBase<{
|
|
177
|
-
style: import("vue").StyleValue;
|
|
177
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
178
178
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
179
179
|
reverse: boolean;
|
|
180
180
|
direction: "horizontal" | "vertical";
|
|
@@ -61,7 +61,7 @@ export declare const makeVTabsWindowItemProps: <Defaults extends {
|
|
|
61
61
|
};
|
|
62
62
|
export declare const VTabsWindowItem: {
|
|
63
63
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
64
|
-
style: import("vue").StyleValue;
|
|
64
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
65
65
|
disabled: boolean;
|
|
66
66
|
eager: boolean;
|
|
67
67
|
} & {
|
|
@@ -99,7 +99,7 @@ export declare const VTabsWindowItem: {
|
|
|
99
99
|
M: {};
|
|
100
100
|
Defaults: {};
|
|
101
101
|
}, {
|
|
102
|
-
style: import("vue").StyleValue;
|
|
102
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
103
103
|
disabled: boolean;
|
|
104
104
|
eager: boolean;
|
|
105
105
|
} & {
|
|
@@ -130,7 +130,7 @@ export declare const VTabsWindowItem: {
|
|
|
130
130
|
__isTeleport?: undefined;
|
|
131
131
|
__isSuspense?: undefined;
|
|
132
132
|
} & import("vue").ComponentOptionsBase<{
|
|
133
|
-
style: import("vue").StyleValue;
|
|
133
|
+
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
|
134
134
|
disabled: boolean;
|
|
135
135
|
eager: boolean;
|
|
136
136
|
} & {
|