@vuetify/nightly 3.1.8-master-20230307.0 → 3.1.8
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 +10 -2
- package/dist/json/attributes.json +0 -528
- package/dist/json/importMap.json +90 -90
- package/dist/json/tags.json +2 -136
- package/dist/json/web-types.json +20 -1210
- package/dist/vuetify-labs.css +242 -99
- package/dist/vuetify-labs.esm.js +33 -32
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +33 -32
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +261 -118
- package/dist/vuetify.d.ts +27 -27
- package/dist/vuetify.esm.js +33 -32
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +33 -32
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +209 -210
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.css +1 -1
- package/lib/components/VAlert/VAlert.mjs.map +1 -1
- package/lib/components/VAlert/_variables.scss +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VBanner/VBanner.mjs.map +1 -1
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
- package/lib/components/VCard/VCard.mjs.map +1 -1
- package/lib/components/VCard/VCardItem.mjs.map +1 -1
- package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerSwatches.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VDivider/VDivider.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.mjs +1 -0
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
- package/lib/components/VList/VListGroup.mjs.map +1 -1
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListSubheader.mjs.map +1 -1
- package/lib/components/VMessages/VMessages.mjs.map +1 -1
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VPagination/VPagination.mjs.map +1 -1
- package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.css +0 -2
- package/lib/components/VSnackbar/VSnackbar.mjs +6 -8
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.sass +0 -2
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VTable/VTable.mjs.map +1 -1
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTabs/VTabs.mjs.map +1 -1
- package/lib/components/VTextField/VTextField.mjs +1 -0
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextarea/VTextarea.mjs +1 -0
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -1
- package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbarTitle.mjs.map +1 -1
- package/lib/components/transitions/createTransition.mjs +1 -1
- package/lib/components/transitions/createTransition.mjs.map +1 -1
- package/lib/composables/display.mjs +13 -10
- package/lib/composables/display.mjs.map +1 -1
- package/lib/composables/loader.mjs.map +1 -1
- package/lib/composables/theme.mjs +7 -10
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/composables/variant.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 +27 -27
- package/lib/labs/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableFooter.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableHeaders.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableRow.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableVirtual.mjs.map +1 -1
- package/lib/labs/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
- package/lib/locale/index.mjs +1 -1
- package/lib/locale/index.mjs.map +1 -1
- package/lib/styles/elements/_global.sass +0 -4
- package/lib/styles/generic/_transitions.scss +111 -9
- package/lib/styles/main.css +212 -67
- package/package.json +16 -3
package/dist/vuetify.d.ts
CHANGED
|
@@ -20052,23 +20052,23 @@ declare module '@vue/runtime-core' {
|
|
|
20052
20052
|
}
|
|
20053
20053
|
|
|
20054
20054
|
export interface GlobalComponents {
|
|
20055
|
-
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
|
20056
20055
|
VContainer: typeof import('vuetify/components')['VContainer']
|
|
20057
20056
|
VCol: typeof import('vuetify/components')['VCol']
|
|
20058
20057
|
VRow: typeof import('vuetify/components')['VRow']
|
|
20059
20058
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
|
20060
20059
|
VHover: typeof import('vuetify/components')['VHover']
|
|
20060
|
+
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
|
20061
20061
|
VForm: typeof import('vuetify/components')['VForm']
|
|
20062
20062
|
VLazy: typeof import('vuetify/components')['VLazy']
|
|
20063
|
+
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
|
20063
20064
|
VLayout: typeof import('vuetify/components')['VLayout']
|
|
20064
20065
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
|
20065
|
-
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
|
20066
|
-
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
|
20067
20066
|
VParallax: typeof import('vuetify/components')['VParallax']
|
|
20067
|
+
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
|
20068
20068
|
VRadio: typeof import('vuetify/components')['VRadio']
|
|
20069
20069
|
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
|
20070
20070
|
VResponsive: typeof import('vuetify/components')['VResponsive']
|
|
20071
|
-
|
|
20071
|
+
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
|
20072
20072
|
VValidation: typeof import('vuetify/components')['VValidation']
|
|
20073
20073
|
VFabTransition: typeof import('vuetify/components')['VFabTransition']
|
|
20074
20074
|
VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
|
|
@@ -20086,15 +20086,16 @@ declare module '@vue/runtime-core' {
|
|
|
20086
20086
|
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
|
20087
20087
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
|
20088
20088
|
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
|
20089
|
-
|
|
20089
|
+
VApp: typeof import('vuetify/components')['VApp']
|
|
20090
|
+
VAlert: typeof import('vuetify/components')['VAlert']
|
|
20091
|
+
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
|
20092
|
+
VAvatar: typeof import('vuetify/components')['VAvatar']
|
|
20090
20093
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
|
20091
20094
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
|
20092
20095
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
|
20093
|
-
VAlert: typeof import('vuetify/components')['VAlert']
|
|
20094
|
-
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
|
20095
20096
|
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
|
20096
20097
|
VBadge: typeof import('vuetify/components')['VBadge']
|
|
20097
|
-
|
|
20098
|
+
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
|
20098
20099
|
VBanner: typeof import('vuetify/components')['VBanner']
|
|
20099
20100
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
|
20100
20101
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
|
@@ -20102,11 +20103,8 @@ declare module '@vue/runtime-core' {
|
|
|
20102
20103
|
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
|
20103
20104
|
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
|
20104
20105
|
VBtn: typeof import('vuetify/components')['VBtn']
|
|
20105
|
-
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
|
20106
20106
|
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
|
20107
20107
|
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
|
20108
|
-
VCarousel: typeof import('vuetify/components')['VCarousel']
|
|
20109
|
-
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
|
20110
20108
|
VCard: typeof import('vuetify/components')['VCard']
|
|
20111
20109
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
|
20112
20110
|
VCardItem: typeof import('vuetify/components')['VCardItem']
|
|
@@ -20117,19 +20115,21 @@ declare module '@vue/runtime-core' {
|
|
|
20117
20115
|
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
|
20118
20116
|
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
|
20119
20117
|
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
|
20120
|
-
|
|
20118
|
+
VCarousel: typeof import('vuetify/components')['VCarousel']
|
|
20119
|
+
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
|
20121
20120
|
VCode: typeof import('vuetify/components')['VCode']
|
|
20122
|
-
VCombobox: typeof import('vuetify/components')['VCombobox']
|
|
20123
20121
|
VCounter: typeof import('vuetify/components')['VCounter']
|
|
20122
|
+
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
|
20124
20123
|
VDialog: typeof import('vuetify/components')['VDialog']
|
|
20124
|
+
VCombobox: typeof import('vuetify/components')['VCombobox']
|
|
20125
|
+
VDivider: typeof import('vuetify/components')['VDivider']
|
|
20125
20126
|
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
|
20126
20127
|
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
|
20127
20128
|
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
|
20128
20129
|
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
|
20129
|
-
VFileInput: typeof import('vuetify/components')['VFileInput']
|
|
20130
|
-
VDivider: typeof import('vuetify/components')['VDivider']
|
|
20131
20130
|
VField: typeof import('vuetify/components')['VField']
|
|
20132
20131
|
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
|
20132
|
+
VFileInput: typeof import('vuetify/components')['VFileInput']
|
|
20133
20133
|
VFooter: typeof import('vuetify/components')['VFooter']
|
|
20134
20134
|
VIcon: typeof import('vuetify/components')['VIcon']
|
|
20135
20135
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
|
@@ -20138,10 +20138,9 @@ declare module '@vue/runtime-core' {
|
|
|
20138
20138
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
|
20139
20139
|
VImg: typeof import('vuetify/components')['VImg']
|
|
20140
20140
|
VInput: typeof import('vuetify/components')['VInput']
|
|
20141
|
+
VKbd: typeof import('vuetify/components')['VKbd']
|
|
20141
20142
|
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
|
20142
20143
|
VItem: typeof import('vuetify/components')['VItem']
|
|
20143
|
-
VKbd: typeof import('vuetify/components')['VKbd']
|
|
20144
|
-
VLabel: typeof import('vuetify/components')['VLabel']
|
|
20145
20144
|
VList: typeof import('vuetify/components')['VList']
|
|
20146
20145
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
|
20147
20146
|
VListImg: typeof import('vuetify/components')['VListImg']
|
|
@@ -20151,38 +20150,39 @@ declare module '@vue/runtime-core' {
|
|
|
20151
20150
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
|
20152
20151
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
|
20153
20152
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
|
20154
|
-
|
|
20153
|
+
VLabel: typeof import('vuetify/components')['VLabel']
|
|
20155
20154
|
VMain: typeof import('vuetify/components')['VMain']
|
|
20155
|
+
VMenu: typeof import('vuetify/components')['VMenu']
|
|
20156
20156
|
VMessages: typeof import('vuetify/components')['VMessages']
|
|
20157
20157
|
VOverlay: typeof import('vuetify/components')['VOverlay']
|
|
20158
|
-
VPagination: typeof import('vuetify/components')['VPagination']
|
|
20159
20158
|
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
|
20159
|
+
VPagination: typeof import('vuetify/components')['VPagination']
|
|
20160
20160
|
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
|
20161
20161
|
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
|
20162
20162
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
|
20163
20163
|
VRating: typeof import('vuetify/components')['VRating']
|
|
20164
20164
|
VSelect: typeof import('vuetify/components')['VSelect']
|
|
20165
20165
|
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
|
20166
|
-
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
|
20167
20166
|
VSheet: typeof import('vuetify/components')['VSheet']
|
|
20167
|
+
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
|
20168
20168
|
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
|
20169
20169
|
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
|
20170
|
-
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
|
20171
20170
|
VSlider: typeof import('vuetify/components')['VSlider']
|
|
20171
|
+
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
|
20172
20172
|
VSwitch: typeof import('vuetify/components')['VSwitch']
|
|
20173
|
-
|
|
20173
|
+
VTable: typeof import('vuetify/components')['VTable']
|
|
20174
20174
|
VTabs: typeof import('vuetify/components')['VTabs']
|
|
20175
20175
|
VTab: typeof import('vuetify/components')['VTab']
|
|
20176
|
-
|
|
20176
|
+
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
|
20177
20177
|
VTextarea: typeof import('vuetify/components')['VTextarea']
|
|
20178
|
-
VToolbar: typeof import('vuetify/components')['VToolbar']
|
|
20179
|
-
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
|
20180
|
-
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
|
20181
20178
|
VTextField: typeof import('vuetify/components')['VTextField']
|
|
20182
20179
|
VTimeline: typeof import('vuetify/components')['VTimeline']
|
|
20183
20180
|
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
|
20181
|
+
VToolbar: typeof import('vuetify/components')['VToolbar']
|
|
20182
|
+
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
|
20183
|
+
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
|
20184
|
+
VTooltip: typeof import('vuetify/components')['VTooltip']
|
|
20184
20185
|
VWindow: typeof import('vuetify/components')['VWindow']
|
|
20185
20186
|
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
|
20186
|
-
VTooltip: typeof import('vuetify/components')['VTooltip']
|
|
20187
20187
|
}
|
|
20188
20188
|
}
|
package/dist/vuetify.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.1.8
|
|
2
|
+
* Vuetify v3.1.8
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1667,17 +1667,9 @@ function createTheme(options) {
|
|
|
1667
1667
|
if (current.value.dark) {
|
|
1668
1668
|
createCssClass(lines, ':root', ['color-scheme: dark']);
|
|
1669
1669
|
}
|
|
1670
|
+
createCssClass(lines, ':root', genCssVariables(current.value));
|
|
1670
1671
|
for (const [themeName, theme] of Object.entries(computedThemes.value)) {
|
|
1671
|
-
|
|
1672
|
-
variables,
|
|
1673
|
-
dark
|
|
1674
|
-
} = theme;
|
|
1675
|
-
createCssClass(lines, `.v-theme--${themeName}`, [`color-scheme: ${dark ? 'dark' : 'normal'}`, ...genCssVariables(theme), ...Object.keys(variables).map(key => {
|
|
1676
|
-
const value = variables[key];
|
|
1677
|
-
const color = typeof value === 'string' && value.startsWith('#') ? parseColor$1(value) : undefined;
|
|
1678
|
-
const rgb = color ? `${color.r}, ${color.g}, ${color.b}` : undefined;
|
|
1679
|
-
return `--v-${key}: ${rgb ?? value}`;
|
|
1680
|
-
})]);
|
|
1672
|
+
createCssClass(lines, `.v-theme--${themeName}`, [`color-scheme: ${theme.dark ? 'dark' : 'normal'}`, ...genCssVariables(theme)]);
|
|
1681
1673
|
}
|
|
1682
1674
|
const bgLines = [];
|
|
1683
1675
|
const fgLines = [];
|
|
@@ -1790,6 +1782,11 @@ function genCssVariables(theme) {
|
|
|
1790
1782
|
variables.push(`--v-theme-${key}-overlay-multiplier: ${getLuma(value) > 0.18 ? lightOverlay : darkOverlay}`);
|
|
1791
1783
|
}
|
|
1792
1784
|
}
|
|
1785
|
+
for (const [key, value] of Object.entries(theme.variables)) {
|
|
1786
|
+
const color = typeof value === 'string' && value.startsWith('#') ? parseColor$1(value) : undefined;
|
|
1787
|
+
const rgb = color ? `${color.r}, ${color.g}, ${color.b}` : undefined;
|
|
1788
|
+
variables.push(`--v-${key}: ${rgb ?? value}`);
|
|
1789
|
+
}
|
|
1793
1790
|
return variables;
|
|
1794
1791
|
}
|
|
1795
1792
|
|
|
@@ -2019,7 +2016,7 @@ const defaultRtl = {
|
|
|
2019
2016
|
en: false,
|
|
2020
2017
|
es: false,
|
|
2021
2018
|
et: false,
|
|
2022
|
-
fa:
|
|
2019
|
+
fa: true,
|
|
2023
2020
|
fi: false,
|
|
2024
2021
|
fr: false,
|
|
2025
2022
|
hr: false,
|
|
@@ -2180,7 +2177,7 @@ const VDefaultsProvider = genericComponent(false)({
|
|
|
2180
2177
|
// Types
|
|
2181
2178
|
|
|
2182
2179
|
function createCssTransition(name) {
|
|
2183
|
-
let origin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '
|
|
2180
|
+
let origin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'center center';
|
|
2184
2181
|
let mode = arguments.length > 2 ? arguments[2] : undefined;
|
|
2185
2182
|
return genericComponent()({
|
|
2186
2183
|
name,
|
|
@@ -6171,6 +6168,7 @@ const VTextField = genericComponent()({
|
|
|
6171
6168
|
"id": id.value,
|
|
6172
6169
|
"active": isActive.value || isDirty.value,
|
|
6173
6170
|
"dirty": isDirty.value || props.dirty,
|
|
6171
|
+
"disabled": isDisabled.value,
|
|
6174
6172
|
"focused": isFocused.value,
|
|
6175
6173
|
"error": isValid.value === false
|
|
6176
6174
|
}), {
|
|
@@ -9119,8 +9117,8 @@ function getClientWidth(isHydrate) {
|
|
|
9119
9117
|
function getClientHeight(isHydrate) {
|
|
9120
9118
|
return IN_BROWSER && !isHydrate ? window.innerHeight : 0;
|
|
9121
9119
|
}
|
|
9122
|
-
function getPlatform() {
|
|
9123
|
-
const userAgent = IN_BROWSER ? window.navigator.userAgent : 'ssr';
|
|
9120
|
+
function getPlatform(isHydrate) {
|
|
9121
|
+
const userAgent = IN_BROWSER && !isHydrate ? window.navigator.userAgent : 'ssr';
|
|
9124
9122
|
function match(regexp) {
|
|
9125
9123
|
return Boolean(userAgent.match(regexp));
|
|
9126
9124
|
}
|
|
@@ -9135,7 +9133,6 @@ function getPlatform() {
|
|
|
9135
9133
|
const win = match(/win/i);
|
|
9136
9134
|
const mac = match(/mac/i);
|
|
9137
9135
|
const linux = match(/linux/i);
|
|
9138
|
-
const ssr = match(/ssr/i);
|
|
9139
9136
|
return {
|
|
9140
9137
|
android,
|
|
9141
9138
|
ios,
|
|
@@ -9149,7 +9146,7 @@ function getPlatform() {
|
|
|
9149
9146
|
mac,
|
|
9150
9147
|
linux,
|
|
9151
9148
|
touch: SUPPORTS_TOUCH,
|
|
9152
|
-
ssr
|
|
9149
|
+
ssr: userAgent === 'ssr'
|
|
9153
9150
|
};
|
|
9154
9151
|
}
|
|
9155
9152
|
function createDisplay(options, ssr) {
|
|
@@ -9158,13 +9155,17 @@ function createDisplay(options, ssr) {
|
|
|
9158
9155
|
mobileBreakpoint
|
|
9159
9156
|
} = parseDisplayOptions(options);
|
|
9160
9157
|
const height = ref(getClientHeight(ssr));
|
|
9161
|
-
const platform = getPlatform();
|
|
9158
|
+
const platform = shallowRef(getPlatform(ssr));
|
|
9162
9159
|
const state = reactive({});
|
|
9163
9160
|
const width = ref(getClientWidth(ssr));
|
|
9164
|
-
function
|
|
9161
|
+
function updateSize() {
|
|
9165
9162
|
height.value = getClientHeight();
|
|
9166
9163
|
width.value = getClientWidth();
|
|
9167
9164
|
}
|
|
9165
|
+
function update() {
|
|
9166
|
+
updateSize();
|
|
9167
|
+
platform.value = getPlatform();
|
|
9168
|
+
}
|
|
9168
9169
|
|
|
9169
9170
|
// eslint-disable-next-line max-statements
|
|
9170
9171
|
watchEffect(() => {
|
|
@@ -9176,7 +9177,7 @@ function createDisplay(options, ssr) {
|
|
|
9176
9177
|
const xxl = width.value >= thresholds.xxl;
|
|
9177
9178
|
const name = xs ? 'xs' : sm ? 'sm' : md ? 'md' : lg ? 'lg' : xl ? 'xl' : 'xxl';
|
|
9178
9179
|
const breakpointValue = typeof mobileBreakpoint === 'number' ? mobileBreakpoint : thresholds[mobileBreakpoint];
|
|
9179
|
-
const mobile =
|
|
9180
|
+
const mobile = width.value < breakpointValue;
|
|
9180
9181
|
state.xs = xs;
|
|
9181
9182
|
state.sm = sm;
|
|
9182
9183
|
state.md = md;
|
|
@@ -9196,11 +9197,11 @@ function createDisplay(options, ssr) {
|
|
|
9196
9197
|
state.width = width.value;
|
|
9197
9198
|
state.mobile = mobile;
|
|
9198
9199
|
state.mobileBreakpoint = mobileBreakpoint;
|
|
9199
|
-
state.platform = platform;
|
|
9200
|
+
state.platform = platform.value;
|
|
9200
9201
|
state.thresholds = thresholds;
|
|
9201
9202
|
});
|
|
9202
9203
|
if (IN_BROWSER) {
|
|
9203
|
-
window.addEventListener('resize',
|
|
9204
|
+
window.addEventListener('resize', updateSize, {
|
|
9204
9205
|
passive: true
|
|
9205
9206
|
});
|
|
9206
9207
|
}
|
|
@@ -14213,6 +14214,7 @@ const VFileInput = genericComponent()({
|
|
|
14213
14214
|
"id": id.value,
|
|
14214
14215
|
"active": isDirty.value || isFocused.value,
|
|
14215
14216
|
"dirty": isDirty.value,
|
|
14217
|
+
"disabled": isDisabled.value,
|
|
14216
14218
|
"focused": isFocused.value,
|
|
14217
14219
|
"error": isValid.value === false
|
|
14218
14220
|
}), {
|
|
@@ -16849,19 +16851,17 @@ const VSnackbar = genericComponent()({
|
|
|
16849
16851
|
"modelValue": isActive.value,
|
|
16850
16852
|
"onUpdate:modelValue": $event => isActive.value = $event,
|
|
16851
16853
|
"contentProps": mergeProps({
|
|
16852
|
-
|
|
16854
|
+
class: ['v-snackbar__wrapper', themeClasses.value, colorClasses.value, roundedClasses.value, variantClasses.value],
|
|
16855
|
+
style: [locationStyles.value, colorStyles.value],
|
|
16856
|
+
onPointerenter,
|
|
16857
|
+
onPointerleave: startTimeout
|
|
16853
16858
|
}, overlayProps.contentProps),
|
|
16854
16859
|
"persistent": true,
|
|
16855
16860
|
"noClickAnimation": true,
|
|
16856
16861
|
"scrim": false,
|
|
16857
16862
|
"scrollStrategy": "none"
|
|
16858
16863
|
}, scopeId), {
|
|
16859
|
-
default: () => [createVNode("div", {
|
|
16860
|
-
"class": ['v-snackbar__wrapper', themeClasses.value, colorClasses.value, roundedClasses.value, variantClasses.value],
|
|
16861
|
-
"style": [colorStyles.value],
|
|
16862
|
-
"onPointerenter": onPointerenter,
|
|
16863
|
-
"onPointerleave": startTimeout
|
|
16864
|
-
}, [genOverlays(false, 'v-snackbar'), slots.default && createVNode("div", {
|
|
16864
|
+
default: () => [genOverlays(false, 'v-snackbar'), slots.default && createVNode("div", {
|
|
16865
16865
|
"class": "v-snackbar__content",
|
|
16866
16866
|
"role": "status",
|
|
16867
16867
|
"aria-live": "polite"
|
|
@@ -16876,7 +16876,7 @@ const VSnackbar = genericComponent()({
|
|
|
16876
16876
|
default: () => [createVNode("div", {
|
|
16877
16877
|
"class": "v-snackbar__actions"
|
|
16878
16878
|
}, [slots.actions()])]
|
|
16879
|
-
})]
|
|
16879
|
+
})],
|
|
16880
16880
|
activator: slots.activator
|
|
16881
16881
|
});
|
|
16882
16882
|
});
|
|
@@ -17478,6 +17478,7 @@ const VTextarea = genericComponent()({
|
|
|
17478
17478
|
}, fieldProps, {
|
|
17479
17479
|
"active": isActive.value || isDirty.value,
|
|
17480
17480
|
"dirty": isDirty.value || props.dirty,
|
|
17481
|
+
"disabled": isDisabled.value,
|
|
17481
17482
|
"focused": isFocused.value,
|
|
17482
17483
|
"error": isValid.value === false
|
|
17483
17484
|
}), {
|
|
@@ -18218,7 +18219,7 @@ function createVuetify$1() {
|
|
|
18218
18219
|
locale
|
|
18219
18220
|
};
|
|
18220
18221
|
}
|
|
18221
|
-
const version$1 = "3.1.8
|
|
18222
|
+
const version$1 = "3.1.8";
|
|
18222
18223
|
createVuetify$1.version = version$1;
|
|
18223
18224
|
|
|
18224
18225
|
// Vue's inject() can only be used in setup
|
|
@@ -18238,7 +18239,7 @@ const createVuetify = function () {
|
|
|
18238
18239
|
...options
|
|
18239
18240
|
});
|
|
18240
18241
|
};
|
|
18241
|
-
const version = "3.1.8
|
|
18242
|
+
const version = "3.1.8";
|
|
18242
18243
|
createVuetify.version = version;
|
|
18243
18244
|
|
|
18244
18245
|
export { components, createVuetify, directives, useDisplay, useLayout, useLocale, useRtl, useTheme, version };
|