vuetify 3.8.11 → 3.8.12
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 +3312 -3312
- package/dist/json/importMap-labs.json +26 -26
- package/dist/json/importMap.json +166 -166
- package/dist/json/web-types.json +6235 -6235
- package/dist/vuetify-labs.cjs +61 -63
- package/dist/vuetify-labs.css +4191 -4191
- package/dist/vuetify-labs.d.ts +204 -204
- package/dist/vuetify-labs.esm.js +61 -63
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +61 -63
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +36 -39
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +4025 -4025
- package/dist/vuetify.d.ts +61 -61
- package/dist/vuetify.esm.js +36 -39
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +36 -39
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +34 -35
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VDataTable/VDataTableColumn.js +0 -1
- package/lib/components/VDataTable/VDataTableColumn.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaders.js +5 -5
- package/lib/components/VDataTable/VDataTableHeaders.js.map +1 -1
- package/lib/components/VDataTable/composables/sort.js +2 -1
- package/lib/components/VDataTable/composables/sort.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.js +1 -2
- package/lib/components/VDatePicker/VDatePickerMonth.js.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.js +17 -14
- package/lib/components/VOtpInput/VOtpInput.js.map +1 -1
- package/lib/components/VOverlay/locationStrategies.js +1 -1
- package/lib/components/VOverlay/locationStrategies.js.map +1 -1
- package/lib/components/VTextField/VTextField.js +1 -1
- package/lib/components/VTextField/VTextField.js.map +1 -1
- package/lib/composables/calendar.d.ts +0 -1
- package/lib/composables/calendar.js +6 -10
- package/lib/composables/calendar.js.map +1 -1
- package/lib/composables/date/adapters/vuetify.js +1 -1
- package/lib/composables/date/adapters/vuetify.js.map +1 -1
- package/lib/composables/virtual.js +1 -1
- package/lib/composables/virtual.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +61 -61
- package/lib/framework.js +1 -1
- package/lib/labs/VCalendar/VCalendar.d.ts +33 -33
- package/lib/labs/VCalendar/VCalendar.js +9 -9
- package/lib/labs/VCalendar/VCalendar.js.map +1 -1
- package/lib/labs/VCalendar/VCalendarDay.d.ts +33 -33
- package/lib/labs/VCalendar/VCalendarDay.js +1 -1
- package/lib/labs/VCalendar/VCalendarDay.js.map +1 -1
- package/lib/labs/VCalendar/VCalendarInterval.d.ts +36 -36
- package/lib/labs/VCalendar/VCalendarInterval.js +9 -9
- package/lib/labs/VCalendar/VCalendarInterval.js.map +1 -1
- package/lib/labs/VCalendar/VCalendarIntervalEvent.d.ts +12 -12
- package/lib/labs/VCalendar/VCalendarIntervalEvent.js +1 -1
- package/lib/labs/VCalendar/VCalendarIntervalEvent.js.map +1 -1
- package/lib/labs/VCalendar/VCalendarMonthDay.d.ts +36 -36
- package/lib/labs/VCalendar/VCalendarMonthDay.js +4 -4
- package/lib/labs/VCalendar/VCalendarMonthDay.js.map +1 -1
- package/lib/labs/VIconBtn/VIconBtn.js +1 -0
- package/lib/labs/VIconBtn/VIconBtn.js.map +1 -1
- package/package.json +2 -2
package/dist/vuetify.d.ts
CHANGED
|
@@ -85913,47 +85913,41 @@ declare module 'vue' {
|
|
|
85913
85913
|
$children?: VNodeChild
|
|
85914
85914
|
}
|
|
85915
85915
|
export interface GlobalComponents {
|
|
85916
|
+
VAlert: VAlert
|
|
85917
|
+
VAlertTitle: VAlertTitle
|
|
85918
|
+
VApp: VApp
|
|
85916
85919
|
VAppBar: VAppBar
|
|
85917
85920
|
VAppBarNavIcon: VAppBarNavIcon
|
|
85918
85921
|
VAppBarTitle: VAppBarTitle
|
|
85919
85922
|
VAutocomplete: VAutocomplete
|
|
85920
|
-
|
|
85921
|
-
VAlertTitle: VAlertTitle
|
|
85923
|
+
VBadge: VBadge
|
|
85922
85924
|
VAvatar: VAvatar
|
|
85923
85925
|
VBanner: VBanner
|
|
85924
85926
|
VBannerActions: VBannerActions
|
|
85925
85927
|
VBannerText: VBannerText
|
|
85926
|
-
VBottomSheet: VBottomSheet
|
|
85927
|
-
VBadge: VBadge
|
|
85928
85928
|
VBottomNavigation: VBottomNavigation
|
|
85929
|
+
VBottomSheet: VBottomSheet
|
|
85929
85930
|
VBreadcrumbs: VBreadcrumbs
|
|
85930
85931
|
VBreadcrumbsItem: VBreadcrumbsItem
|
|
85931
85932
|
VBreadcrumbsDivider: VBreadcrumbsDivider
|
|
85932
|
-
VBtn: VBtn
|
|
85933
|
-
VBtnToggle: VBtnToggle
|
|
85934
85933
|
VCard: VCard
|
|
85935
85934
|
VCardActions: VCardActions
|
|
85936
85935
|
VCardItem: VCardItem
|
|
85937
85936
|
VCardSubtitle: VCardSubtitle
|
|
85938
85937
|
VCardText: VCardText
|
|
85939
85938
|
VCardTitle: VCardTitle
|
|
85940
|
-
VCheckbox: VCheckbox
|
|
85941
|
-
VCheckboxBtn: VCheckboxBtn
|
|
85942
85939
|
VBtnGroup: VBtnGroup
|
|
85943
|
-
VChipGroup: VChipGroup
|
|
85944
85940
|
VCarousel: VCarousel
|
|
85945
85941
|
VCarouselItem: VCarouselItem
|
|
85942
|
+
VBtnToggle: VBtnToggle
|
|
85943
|
+
VCheckbox: VCheckbox
|
|
85944
|
+
VCheckboxBtn: VCheckboxBtn
|
|
85945
|
+
VChipGroup: VChipGroup
|
|
85946
|
+
VCounter: VCounter
|
|
85947
|
+
VCombobox: VCombobox
|
|
85948
|
+
VBtn: VBtn
|
|
85946
85949
|
VChip: VChip
|
|
85947
85950
|
VColorPicker: VColorPicker
|
|
85948
|
-
VCode: VCode
|
|
85949
|
-
VCombobox: VCombobox
|
|
85950
|
-
VCounter: VCounter
|
|
85951
|
-
VDatePicker: VDatePicker
|
|
85952
|
-
VDatePickerControls: VDatePickerControls
|
|
85953
|
-
VDatePickerHeader: VDatePickerHeader
|
|
85954
|
-
VDatePickerMonth: VDatePickerMonth
|
|
85955
|
-
VDatePickerMonths: VDatePickerMonths
|
|
85956
|
-
VDatePickerYears: VDatePickerYears
|
|
85957
85951
|
VDataTable: VDataTable
|
|
85958
85952
|
VDataTableHeaders: VDataTableHeaders
|
|
85959
85953
|
VDataTableFooter: VDataTableFooter
|
|
@@ -85961,30 +85955,36 @@ declare module 'vue' {
|
|
|
85961
85955
|
VDataTableRow: VDataTableRow
|
|
85962
85956
|
VDataTableVirtual: VDataTableVirtual
|
|
85963
85957
|
VDataTableServer: VDataTableServer
|
|
85958
|
+
VDatePicker: VDatePicker
|
|
85959
|
+
VDatePickerControls: VDatePickerControls
|
|
85960
|
+
VDatePickerHeader: VDatePickerHeader
|
|
85961
|
+
VDatePickerMonth: VDatePickerMonth
|
|
85962
|
+
VDatePickerMonths: VDatePickerMonths
|
|
85963
|
+
VDatePickerYears: VDatePickerYears
|
|
85964
|
+
VEmptyState: VEmptyState
|
|
85965
|
+
VDialog: VDialog
|
|
85964
85966
|
VExpansionPanels: VExpansionPanels
|
|
85965
85967
|
VExpansionPanel: VExpansionPanel
|
|
85966
85968
|
VExpansionPanelText: VExpansionPanelText
|
|
85967
85969
|
VExpansionPanelTitle: VExpansionPanelTitle
|
|
85968
85970
|
VDivider: VDivider
|
|
85969
|
-
VDialog: VDialog
|
|
85970
|
-
VEmptyState: VEmptyState
|
|
85971
85971
|
VFab: VFab
|
|
85972
|
+
VFileInput: VFileInput
|
|
85972
85973
|
VField: VField
|
|
85973
85974
|
VFieldLabel: VFieldLabel
|
|
85974
|
-
VFileInput: VFileInput
|
|
85975
85975
|
VFooter: VFooter
|
|
85976
85976
|
VIcon: VIcon
|
|
85977
85977
|
VComponentIcon: VComponentIcon
|
|
85978
85978
|
VSvgIcon: VSvgIcon
|
|
85979
85979
|
VLigatureIcon: VLigatureIcon
|
|
85980
85980
|
VClassIcon: VClassIcon
|
|
85981
|
+
VImg: VImg
|
|
85981
85982
|
VInfiniteScroll: VInfiniteScroll
|
|
85983
|
+
VKbd: VKbd
|
|
85982
85984
|
VInput: VInput
|
|
85983
|
-
|
|
85985
|
+
VLabel: VLabel
|
|
85984
85986
|
VItemGroup: VItemGroup
|
|
85985
85987
|
VItem: VItem
|
|
85986
|
-
VLabel: VLabel
|
|
85987
|
-
VKbd: VKbd
|
|
85988
85988
|
VList: VList
|
|
85989
85989
|
VListGroup: VListGroup
|
|
85990
85990
|
VListImg: VListImg
|
|
@@ -85996,66 +85996,72 @@ declare module 'vue' {
|
|
|
85996
85996
|
VListSubheader: VListSubheader
|
|
85997
85997
|
VMain: VMain
|
|
85998
85998
|
VMenu: VMenu
|
|
85999
|
+
VNavigationDrawer: VNavigationDrawer
|
|
85999
86000
|
VMessages: VMessages
|
|
86000
|
-
|
|
86001
|
+
VOverlay: VOverlay
|
|
86001
86002
|
VOtpInput: VOtpInput
|
|
86002
86003
|
VPagination: VPagination
|
|
86003
|
-
|
|
86004
|
-
VOverlay: VOverlay
|
|
86005
|
-
VProgressLinear: VProgressLinear
|
|
86004
|
+
VNumberInput: VNumberInput
|
|
86006
86005
|
VProgressCircular: VProgressCircular
|
|
86007
|
-
|
|
86006
|
+
VProgressLinear: VProgressLinear
|
|
86008
86007
|
VRating: VRating
|
|
86009
|
-
|
|
86010
|
-
VSelectionControl: VSelectionControl
|
|
86008
|
+
VRadioGroup: VRadioGroup
|
|
86011
86009
|
VSelectionControlGroup: VSelectionControlGroup
|
|
86012
86010
|
VSkeletonLoader: VSkeletonLoader
|
|
86013
|
-
VSlideGroup: VSlideGroup
|
|
86014
|
-
VSlideGroupItem: VSlideGroupItem
|
|
86015
|
-
VSnackbar: VSnackbar
|
|
86016
|
-
VSlider: VSlider
|
|
86017
86011
|
VSheet: VSheet
|
|
86012
|
+
VSelectionControl: VSelectionControl
|
|
86013
|
+
VSnackbar: VSnackbar
|
|
86018
86014
|
VStepper: VStepper
|
|
86019
86015
|
VStepperActions: VStepperActions
|
|
86020
86016
|
VStepperHeader: VStepperHeader
|
|
86021
86017
|
VStepperItem: VStepperItem
|
|
86022
86018
|
VStepperWindow: VStepperWindow
|
|
86023
86019
|
VStepperWindowItem: VStepperWindowItem
|
|
86024
|
-
|
|
86020
|
+
VSlideGroup: VSlideGroup
|
|
86021
|
+
VSlideGroupItem: VSlideGroupItem
|
|
86025
86022
|
VSystemBar: VSystemBar
|
|
86023
|
+
VTextarea: VTextarea
|
|
86024
|
+
VSwitch: VSwitch
|
|
86026
86025
|
VTable: VTable
|
|
86027
86026
|
VTab: VTab
|
|
86028
86027
|
VTabs: VTabs
|
|
86029
86028
|
VTabsWindow: VTabsWindow
|
|
86030
86029
|
VTabsWindowItem: VTabsWindowItem
|
|
86031
|
-
|
|
86032
|
-
VTextField: VTextField
|
|
86033
|
-
VTimeline: VTimeline
|
|
86034
|
-
VTimelineItem: VTimelineItem
|
|
86030
|
+
VTooltip: VTooltip
|
|
86035
86031
|
VToolbar: VToolbar
|
|
86036
86032
|
VToolbarTitle: VToolbarTitle
|
|
86037
86033
|
VToolbarItems: VToolbarItems
|
|
86038
|
-
|
|
86034
|
+
VTextField: VTextField
|
|
86035
|
+
VSlider: VSlider
|
|
86036
|
+
VTimeline: VTimeline
|
|
86037
|
+
VTimelineItem: VTimelineItem
|
|
86039
86038
|
VWindow: VWindow
|
|
86040
86039
|
VWindowItem: VWindowItem
|
|
86041
86040
|
VConfirmEdit: VConfirmEdit
|
|
86042
86041
|
VDataIterator: VDataIterator
|
|
86043
86042
|
VDefaultsProvider: VDefaultsProvider
|
|
86044
86043
|
VForm: VForm
|
|
86044
|
+
VHover: VHover
|
|
86045
|
+
VContainer: VContainer
|
|
86046
|
+
VCol: VCol
|
|
86047
|
+
VRow: VRow
|
|
86048
|
+
VSpacer: VSpacer
|
|
86045
86049
|
VLayout: VLayout
|
|
86046
86050
|
VLayoutItem: VLayoutItem
|
|
86047
|
-
VLazy: VLazy
|
|
86048
86051
|
VLocaleProvider: VLocaleProvider
|
|
86052
|
+
VLazy: VLazy
|
|
86049
86053
|
VNoSsr: VNoSsr
|
|
86050
|
-
VParallax: VParallax
|
|
86051
86054
|
VRangeSlider: VRangeSlider
|
|
86052
86055
|
VRadio: VRadio
|
|
86056
|
+
VParallax: VParallax
|
|
86053
86057
|
VResponsive: VResponsive
|
|
86054
86058
|
VSnackbarQueue: VSnackbarQueue
|
|
86055
86059
|
VSparkline: VSparkline
|
|
86056
86060
|
VSpeedDial: VSpeedDial
|
|
86057
|
-
|
|
86061
|
+
VVirtualScroll: VVirtualScroll
|
|
86058
86062
|
VThemeProvider: VThemeProvider
|
|
86063
|
+
VValidation: VValidation
|
|
86064
|
+
VSelect: VSelect
|
|
86059
86065
|
VFabTransition: VFabTransition
|
|
86060
86066
|
VDialogBottomTransition: VDialogBottomTransition
|
|
86061
86067
|
VDialogTopTransition: VDialogTopTransition
|
|
@@ -86072,35 +86078,29 @@ declare module 'vue' {
|
|
|
86072
86078
|
VExpandTransition: VExpandTransition
|
|
86073
86079
|
VExpandXTransition: VExpandXTransition
|
|
86074
86080
|
VDialogTransition: VDialogTransition
|
|
86075
|
-
|
|
86076
|
-
VContainer: VContainer
|
|
86077
|
-
VCol: VCol
|
|
86078
|
-
VRow: VRow
|
|
86079
|
-
VSpacer: VSpacer
|
|
86080
|
-
VApp: VApp
|
|
86081
|
-
VHover: VHover
|
|
86082
|
-
VColorInput: VColorInput
|
|
86081
|
+
VCode: VCode
|
|
86083
86082
|
VCalendar: VCalendar
|
|
86084
86083
|
VCalendarDay: VCalendarDay
|
|
86085
86084
|
VCalendarHeader: VCalendarHeader
|
|
86086
86085
|
VCalendarInterval: VCalendarInterval
|
|
86087
86086
|
VCalendarIntervalEvent: VCalendarIntervalEvent
|
|
86088
86087
|
VCalendarMonthDay: VCalendarMonthDay
|
|
86089
|
-
|
|
86088
|
+
VColorInput: VColorInput
|
|
86090
86089
|
VFileUpload: VFileUpload
|
|
86091
86090
|
VFileUploadItem: VFileUploadItem
|
|
86092
|
-
|
|
86093
|
-
VPickerTitle: VPickerTitle
|
|
86094
|
-
VStepperVertical: VStepperVertical
|
|
86095
|
-
VStepperVerticalItem: VStepperVerticalItem
|
|
86096
|
-
VStepperVerticalActions: VStepperVerticalActions
|
|
86097
|
-
VTreeview: VTreeview
|
|
86098
|
-
VTreeviewItem: VTreeviewItem
|
|
86099
|
-
VTreeviewGroup: VTreeviewGroup
|
|
86091
|
+
VIconBtn: VIconBtn
|
|
86100
86092
|
VTimePicker: VTimePicker
|
|
86101
86093
|
VTimePickerClock: VTimePickerClock
|
|
86102
86094
|
VTimePickerControls: VTimePickerControls
|
|
86095
|
+
VTreeview: VTreeview
|
|
86096
|
+
VTreeviewItem: VTreeviewItem
|
|
86097
|
+
VTreeviewGroup: VTreeviewGroup
|
|
86098
|
+
VPicker: VPicker
|
|
86099
|
+
VPickerTitle: VPickerTitle
|
|
86103
86100
|
VDateInput: VDateInput
|
|
86104
86101
|
VPullToRefresh: VPullToRefresh
|
|
86102
|
+
VStepperVertical: VStepperVertical
|
|
86103
|
+
VStepperVerticalItem: VStepperVerticalItem
|
|
86104
|
+
VStepperVerticalActions: VStepperVerticalActions
|
|
86105
86105
|
}
|
|
86106
86106
|
}
|
package/dist/vuetify.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.8.
|
|
2
|
+
* Vuetify v3.8.12
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -10466,7 +10466,7 @@ function connectedLocationStrategy(data, props, contentStyles) {
|
|
|
10466
10466
|
});
|
|
10467
10467
|
if (flipped.isFull) {
|
|
10468
10468
|
const values = flipped.values();
|
|
10469
|
-
if (deepEqual(values.at(-1), values.at(-3))) {
|
|
10469
|
+
if (deepEqual(values.at(-1), values.at(-3)) && !deepEqual(values.at(-1), values.at(-2))) {
|
|
10470
10470
|
// Flipping is causing a container resize loop
|
|
10471
10471
|
return;
|
|
10472
10472
|
}
|
|
@@ -12412,7 +12412,7 @@ const VTextField = genericComponent()({
|
|
|
12412
12412
|
if (!isFocused.value) focus();
|
|
12413
12413
|
nextTick(() => {
|
|
12414
12414
|
if (inputRef.value !== document.activeElement) {
|
|
12415
|
-
inputRef.value?.focus();
|
|
12415
|
+
nextTick(() => inputRef.value?.focus());
|
|
12416
12416
|
}
|
|
12417
12417
|
});
|
|
12418
12418
|
}
|
|
@@ -12746,7 +12746,7 @@ function useVirtual(props, items) {
|
|
|
12746
12746
|
raf = requestAnimationFrame(_calculateVisibleItems);
|
|
12747
12747
|
}
|
|
12748
12748
|
function _calculateVisibleItems() {
|
|
12749
|
-
if (!containerRef.value || !viewportHeight.value) return;
|
|
12749
|
+
if (!containerRef.value || !viewportHeight.value || !itemHeight.value) return;
|
|
12750
12750
|
const scrollTop = lastScrollTop - markerOffset;
|
|
12751
12751
|
const direction = Math.sign(scrollVelocity);
|
|
12752
12752
|
const startPx = Math.max(0, scrollTop - BUFFER_PX);
|
|
@@ -17578,7 +17578,7 @@ function format(value, formatString, locale, formats) {
|
|
|
17578
17578
|
case 'fullDate':
|
|
17579
17579
|
options = {
|
|
17580
17580
|
year: 'numeric',
|
|
17581
|
-
month: '
|
|
17581
|
+
month: 'short',
|
|
17582
17582
|
day: 'numeric'
|
|
17583
17583
|
};
|
|
17584
17584
|
break;
|
|
@@ -19566,7 +19566,8 @@ function sortItems(items, sortByItems, locale, options) {
|
|
|
19566
19566
|
|
|
19567
19567
|
// Dates should be compared numerically
|
|
19568
19568
|
if (sortA instanceof Date && sortB instanceof Date) {
|
|
19569
|
-
|
|
19569
|
+
sortA = sortA.getTime();
|
|
19570
|
+
sortB = sortB.getTime();
|
|
19570
19571
|
}
|
|
19571
19572
|
[sortA, sortB] = [sortA, sortB].map(s => s != null ? s.toString().toLocaleLowerCase() : s);
|
|
19572
19573
|
if (sortA !== sortB) {
|
|
@@ -20290,7 +20291,6 @@ const VDataTableColumn = defineFunctionalComponent({
|
|
|
20290
20291
|
} = _ref;
|
|
20291
20292
|
const Tag = props.tag ?? 'td';
|
|
20292
20293
|
return createVNode(Tag, {
|
|
20293
|
-
"tabindex": "0",
|
|
20294
20294
|
"class": normalizeClass(['v-data-table__td', {
|
|
20295
20295
|
'v-data-table-column--fixed': props.fixed,
|
|
20296
20296
|
'v-data-table-column--last-fixed': props.lastFixed,
|
|
@@ -20691,14 +20691,14 @@ const VDataTableHeaders = genericComponent()({
|
|
|
20691
20691
|
},
|
|
20692
20692
|
"colspan": column.colspan,
|
|
20693
20693
|
"rowspan": column.rowspan,
|
|
20694
|
-
"onClick": column.sortable ? () => toggleSort(column) : undefined,
|
|
20695
20694
|
"fixed": column.fixed,
|
|
20696
20695
|
"nowrap": column.nowrap,
|
|
20697
20696
|
"lastFixed": column.lastFixed,
|
|
20698
|
-
"noPadding": noPadding
|
|
20699
|
-
|
|
20700
|
-
"
|
|
20701
|
-
|
|
20697
|
+
"noPadding": noPadding,
|
|
20698
|
+
"tabindex": column.sortable ? 0 : undefined,
|
|
20699
|
+
"onClick": column.sortable ? () => toggleSort(column) : undefined,
|
|
20700
|
+
"onKeydown": column.sortable ? event => handleEnterKeyPress(event, column) : undefined
|
|
20701
|
+
}, headerProps), {
|
|
20702
20702
|
default: () => {
|
|
20703
20703
|
const columnSlotName = `header.${column.key}`;
|
|
20704
20704
|
const columnSlotProps = {
|
|
@@ -22374,13 +22374,9 @@ function useCalendar(props) {
|
|
|
22374
22374
|
const date = adapter.setYear(adapter.startOfMonth(adapter.date()), adapter.getYear(year.value));
|
|
22375
22375
|
return adapter.setMonth(date, value);
|
|
22376
22376
|
}, v => adapter.getMonth(v));
|
|
22377
|
-
const weekDays = computed(() => {
|
|
22378
|
-
const firstDayOfWeek = adapter.toJsDate(adapter.startOfWeek(adapter.date(), props.firstDayOfWeek)).getDay();
|
|
22379
|
-
return props.weekdays.map(day => (day + firstDayOfWeek) % 7);
|
|
22380
|
-
});
|
|
22381
22377
|
const weekdayLabels = computed(() => {
|
|
22382
|
-
const
|
|
22383
|
-
return
|
|
22378
|
+
const firstDayOfWeek = adapter.toJsDate(adapter.startOfWeek(adapter.date(), props.firstDayOfWeek)).getDay();
|
|
22379
|
+
return adapter.getWeekdays(props.firstDayOfWeek).filter((_, i) => props.weekdays.includes((i + firstDayOfWeek) % 7));
|
|
22384
22380
|
});
|
|
22385
22381
|
const weeksInMonth = computed(() => {
|
|
22386
22382
|
const weeks = adapter.getWeekArray(month.value, props.firstDayOfWeek);
|
|
@@ -22404,13 +22400,14 @@ function useCalendar(props) {
|
|
|
22404
22400
|
});
|
|
22405
22401
|
function genDays(days, today) {
|
|
22406
22402
|
return days.filter(date => {
|
|
22407
|
-
return
|
|
22403
|
+
return props.weekdays.includes(adapter.toJsDate(date).getDay());
|
|
22408
22404
|
}).map((date, index) => {
|
|
22409
22405
|
const isoDate = adapter.toISO(date);
|
|
22410
22406
|
const isAdjacent = !adapter.isSameMonth(date, month.value);
|
|
22411
22407
|
const isStart = adapter.isSameDay(date, adapter.startOfMonth(month.value));
|
|
22412
22408
|
const isEnd = adapter.isSameDay(date, adapter.endOfMonth(month.value));
|
|
22413
22409
|
const isSame = adapter.isSameDay(date, month.value);
|
|
22410
|
+
const weekdaysCount = props.weekdays.length;
|
|
22414
22411
|
return {
|
|
22415
22412
|
date,
|
|
22416
22413
|
formatted: adapter.format(date, 'keyboardDate'),
|
|
@@ -22422,8 +22419,8 @@ function useCalendar(props) {
|
|
|
22422
22419
|
isSelected: model.value.some(value => adapter.isSameDay(date, value)),
|
|
22423
22420
|
isStart,
|
|
22424
22421
|
isToday: adapter.isSameDay(date, today),
|
|
22425
|
-
isWeekEnd: index %
|
|
22426
|
-
isWeekStart: index %
|
|
22422
|
+
isWeekEnd: index % weekdaysCount === weekdaysCount - 1,
|
|
22423
|
+
isWeekStart: index % weekdaysCount === 0,
|
|
22427
22424
|
isoDate,
|
|
22428
22425
|
localized: adapter.format(date, 'dayOfMonth'),
|
|
22429
22426
|
month: adapter.getMonth(date),
|
|
@@ -22470,7 +22467,6 @@ function useCalendar(props) {
|
|
|
22470
22467
|
genDays,
|
|
22471
22468
|
model,
|
|
22472
22469
|
weeksInMonth,
|
|
22473
|
-
weekDays,
|
|
22474
22470
|
weekdayLabels,
|
|
22475
22471
|
weekNumbers
|
|
22476
22472
|
};
|
|
@@ -22511,7 +22507,6 @@ const VDatePickerMonth = genericComponent()({
|
|
|
22511
22507
|
daysInMonth,
|
|
22512
22508
|
model,
|
|
22513
22509
|
weekNumbers,
|
|
22514
|
-
weekDays,
|
|
22515
22510
|
weekdayLabels
|
|
22516
22511
|
} = useCalendar(props);
|
|
22517
22512
|
const adapter = useDate();
|
|
@@ -22586,7 +22581,7 @@ const VDatePickerMonth = genericComponent()({
|
|
|
22586
22581
|
useRender(() => createElementVNode("div", {
|
|
22587
22582
|
"class": "v-date-picker-month",
|
|
22588
22583
|
"style": {
|
|
22589
|
-
'--v-date-picker-days-in-week':
|
|
22584
|
+
'--v-date-picker-days-in-week': props.weekdays.length
|
|
22590
22585
|
}
|
|
22591
22586
|
}, [props.showWeek && createElementVNode("div", {
|
|
22592
22587
|
"key": "weeks",
|
|
@@ -25657,19 +25652,21 @@ const VOtpInput = genericComponent()({
|
|
|
25657
25652
|
const contentRef = ref();
|
|
25658
25653
|
const inputRef = ref([]);
|
|
25659
25654
|
const current = computed(() => inputRef.value[focusIndex.value]);
|
|
25660
|
-
|
|
25661
|
-
|
|
25662
|
-
|
|
25663
|
-
|
|
25664
|
-
|
|
25665
|
-
|
|
25666
|
-
|
|
25667
|
-
|
|
25668
|
-
|
|
25669
|
-
|
|
25670
|
-
|
|
25671
|
-
|
|
25672
|
-
|
|
25655
|
+
useToggleScope(() => props.autofocus, () => {
|
|
25656
|
+
const intersectScope = effectScope();
|
|
25657
|
+
intersectScope.run(() => {
|
|
25658
|
+
const {
|
|
25659
|
+
intersectionRef,
|
|
25660
|
+
isIntersecting
|
|
25661
|
+
} = useIntersectionObserver();
|
|
25662
|
+
watchEffect(() => {
|
|
25663
|
+
intersectionRef.value = inputRef.value[0];
|
|
25664
|
+
});
|
|
25665
|
+
watch(isIntersecting, v => {
|
|
25666
|
+
if (!v) return;
|
|
25667
|
+
intersectionRef.value?.focus();
|
|
25668
|
+
intersectScope.stop();
|
|
25669
|
+
});
|
|
25673
25670
|
});
|
|
25674
25671
|
});
|
|
25675
25672
|
function onInput() {
|
|
@@ -29508,7 +29505,7 @@ function createVuetify$1() {
|
|
|
29508
29505
|
};
|
|
29509
29506
|
});
|
|
29510
29507
|
}
|
|
29511
|
-
const version$1 = "3.8.
|
|
29508
|
+
const version$1 = "3.8.12";
|
|
29512
29509
|
createVuetify$1.version = version$1;
|
|
29513
29510
|
|
|
29514
29511
|
// Vue's inject() can only be used in setup
|
|
@@ -29533,7 +29530,7 @@ const createVuetify = function () {
|
|
|
29533
29530
|
...options
|
|
29534
29531
|
});
|
|
29535
29532
|
};
|
|
29536
|
-
const version = "3.8.
|
|
29533
|
+
const version = "3.8.12";
|
|
29537
29534
|
createVuetify.version = version;
|
|
29538
29535
|
|
|
29539
29536
|
export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
|