vuetify 3.0.0-beta.9 → 3.0.1
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/_settings.scss +2 -0
- package/_styles.scss +1 -0
- package/_tools.scss +1 -0
- package/dist/json/attributes.json +3767 -2527
- package/dist/json/importMap.json +14 -18
- package/dist/json/tags.json +475 -56
- package/dist/json/web-types.json +14481 -10795
- package/dist/vuetify.css +1565 -2316
- package/dist/vuetify.d.ts +17610 -6982
- package/dist/vuetify.esm.js +5675 -6283
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +5664 -6273
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +3 -3
- package/dist/vuetify.min.js +1266 -1272
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.ts +163 -0
- package/lib/blueprints/index.mjs.map +1 -1
- package/lib/blueprints/md1.d.ts +159 -0
- package/lib/blueprints/md1.mjs +3 -1
- package/lib/blueprints/md1.mjs.map +1 -1
- package/lib/blueprints/md2.d.ts +159 -0
- package/lib/blueprints/md2.mjs +3 -1
- package/lib/blueprints/md2.mjs.map +1 -1
- package/lib/blueprints/md3.d.ts +159 -0
- package/lib/blueprints/md3.mjs +2 -2
- package/lib/blueprints/md3.mjs.map +1 -1
- package/lib/components/VAlert/VAlert.css +2 -3
- package/lib/components/VAlert/VAlert.mjs +10 -23
- package/lib/components/VAlert/VAlert.mjs.map +1 -1
- package/lib/components/VAlert/VAlertTitle.mjs.map +1 -1
- package/lib/components/VAlert/index.d.ts +187 -0
- package/lib/components/VAlert/index.mjs.map +1 -1
- package/lib/components/VApp/VApp.css +0 -11
- package/lib/components/VApp/VApp.mjs +5 -7
- package/lib/components/VApp/VApp.mjs.map +1 -1
- package/lib/components/VApp/VApp.sass +0 -9
- package/lib/components/VApp/index.d.ts +85 -0
- package/lib/components/VApp/index.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBar.css +4 -1
- package/lib/components/VAppBar/VAppBar.mjs +7 -11
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBar.sass +3 -0
- package/lib/components/VAppBar/VAppBarNavIcon.mjs +0 -4
- package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBarTitle.mjs +2 -4
- package/lib/components/VAppBar/VAppBarTitle.mjs.map +1 -1
- package/lib/components/VAppBar/index.d.ts +160 -0
- package/lib/components/VAppBar/index.mjs.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.css +19 -2
- package/lib/components/VAutocomplete/VAutocomplete.mjs +61 -50
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.sass +11 -1
- package/lib/components/VAutocomplete/_variables.scss +1 -0
- package/lib/components/VAutocomplete/index.d.ts +1754 -0
- package/lib/components/VAutocomplete/index.mjs.map +1 -1
- package/lib/components/VAvatar/VAvatar.css +45 -2
- package/lib/components/VAvatar/VAvatar.mjs +19 -19
- package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
- package/lib/components/VAvatar/VAvatar.sass +6 -1
- package/lib/components/VAvatar/_variables.scss +9 -4
- package/lib/components/VAvatar/index.d.ts +82 -0
- package/lib/components/VAvatar/index.mjs.map +1 -1
- package/lib/components/VBadge/VBadge.mjs +3 -9
- package/lib/components/VBadge/VBadge.mjs.map +1 -1
- package/lib/components/VBadge/index.d.ts +123 -0
- package/lib/components/VBadge/index.mjs.map +1 -1
- package/lib/components/VBanner/VBanner.css +1 -1
- package/lib/components/VBanner/VBanner.mjs +5 -7
- package/lib/components/VBanner/VBanner.mjs.map +1 -1
- package/lib/components/VBanner/VBannerActions.mjs +0 -4
- package/lib/components/VBanner/VBannerActions.mjs.map +1 -1
- package/lib/components/VBanner/VBannerText.mjs.map +1 -1
- package/lib/components/VBanner/index.d.ts +126 -0
- package/lib/components/VBanner/index.mjs.map +1 -1
- package/lib/components/VBottomNavigation/VBottomNavigation.css +1 -1
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs +3 -6
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
- package/lib/components/VBottomNavigation/index.d.ts +145 -0
- package/lib/components/VBottomNavigation/index.mjs.map +1 -1
- package/lib/components/VBottomSheet/VBottomSheet.mjs +5 -5
- package/lib/components/VBottomSheet/VBottomSheet.mjs.map +1 -1
- package/lib/components/VBottomSheet/index.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +8 -12
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +4 -9
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/index.d.ts +313 -0
- package/lib/components/VBreadcrumbs/index.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.css +14 -10
- package/lib/components/VBtn/VBtn.mjs +22 -20
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/index.d.ts +213 -0
- package/lib/components/VBtn/index.mjs.map +1 -1
- package/lib/components/VBtnGroup/VBtnGroup.css +1 -1
- package/lib/components/VBtnGroup/VBtnGroup.mjs +2 -4
- package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -1
- package/lib/components/VBtnGroup/index.d.ts +68 -0
- package/lib/components/VBtnGroup/index.mjs.map +1 -1
- package/lib/components/VBtnToggle/VBtnToggle.mjs +3 -10
- package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
- package/lib/components/VBtnToggle/index.d.ts +170 -0
- package/lib/components/VBtnToggle/index.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendar.mjs +6 -67
- package/lib/components/VCalendar/VCalendar.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendarCategory.mjs +7 -18
- package/lib/components/VCalendar/VCalendarCategory.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendarDaily.mjs +3 -34
- package/lib/components/VCalendar/VCalendarDaily.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendarMonthly.mjs +3 -7
- package/lib/components/VCalendar/VCalendarMonthly.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendarWeekly.mjs +3 -32
- package/lib/components/VCalendar/VCalendarWeekly.mjs.map +1 -1
- package/lib/components/VCalendar/index.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/calendar-base.mjs +1 -19
- package/lib/components/VCalendar/mixins/calendar-base.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/calendar-with-events.mjs +16 -84
- package/lib/components/VCalendar/mixins/calendar-with-events.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/calendar-with-intervals.mjs +0 -30
- package/lib/components/VCalendar/mixins/calendar-with-intervals.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/mouse.mjs +7 -17
- package/lib/components/VCalendar/mixins/mouse.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/times.mjs +1 -9
- package/lib/components/VCalendar/mixins/times.mjs.map +1 -1
- package/lib/components/VCalendar/modes/column.mjs +0 -3
- package/lib/components/VCalendar/modes/column.mjs.map +1 -1
- package/lib/components/VCalendar/modes/common.mjs +0 -14
- package/lib/components/VCalendar/modes/common.mjs.map +1 -1
- package/lib/components/VCalendar/modes/index.mjs +0 -1
- package/lib/components/VCalendar/modes/index.mjs.map +1 -1
- package/lib/components/VCalendar/modes/stack.mjs +3 -45
- package/lib/components/VCalendar/modes/stack.mjs.map +1 -1
- package/lib/components/VCalendar/util/events.mjs +0 -1
- package/lib/components/VCalendar/util/events.mjs.map +1 -1
- package/lib/components/VCalendar/util/parser.mjs +3 -4
- package/lib/components/VCalendar/util/parser.mjs.map +1 -1
- package/lib/components/VCalendar/util/props.mjs +0 -13
- package/lib/components/VCalendar/util/props.mjs.map +1 -1
- package/lib/components/VCalendar/util/timestamp.mjs +2 -64
- package/lib/components/VCalendar/util/timestamp.mjs.map +1 -1
- package/lib/components/VCard/VCard.css +13 -9
- package/lib/components/VCard/VCard.mjs +6 -11
- package/lib/components/VCard/VCard.mjs.map +1 -1
- package/lib/components/VCard/VCardActions.mjs +0 -4
- package/lib/components/VCard/VCardActions.mjs.map +1 -1
- package/lib/components/VCard/VCardItem.mjs +5 -10
- package/lib/components/VCard/VCardItem.mjs.map +1 -1
- package/lib/components/VCard/VCardSubtitle.mjs.map +1 -1
- package/lib/components/VCard/VCardText.mjs.map +1 -1
- package/lib/components/VCard/VCardTitle.mjs.map +1 -1
- package/lib/components/VCard/index.d.ts +238 -0
- package/lib/components/VCard/index.mjs.map +1 -1
- package/lib/components/VCarousel/VCarousel.mjs +8 -12
- package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/lib/components/VCarousel/VCarouselItem.mjs +0 -3
- package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
- package/lib/components/VCarousel/index.d.ts +81 -0
- package/lib/components/VCarousel/index.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckbox.mjs +22 -9
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs +7 -15
- package/lib/components/VCheckbox/VCheckboxBtn.mjs.map +1 -1
- package/lib/components/VCheckbox/index.d.ts +302 -0
- package/lib/components/VCheckbox/index.mjs.map +1 -1
- package/lib/components/VChip/VChip.css +27 -3
- package/lib/components/VChip/VChip.mjs +5 -14
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/VChip.sass +1 -0
- package/lib/components/VChip/index.d.ts +196 -0
- package/lib/components/VChip/index.mjs.map +1 -1
- package/lib/components/VChipGroup/VChipGroup.mjs +5 -6
- package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
- package/lib/components/VChipGroup/index.d.ts +89 -0
- package/lib/components/VChipGroup/index.mjs.map +1 -1
- package/lib/components/VCode/VCode.css +5 -3
- package/lib/components/VCode/VCode.sass +3 -1
- package/lib/components/VCode/_variables.scss +5 -3
- package/lib/components/VCode/index.d.ts +20 -0
- package/lib/components/VCode/index.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPicker.css +3 -3
- package/lib/components/VColorPicker/VColorPicker.mjs +54 -61
- package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs +10 -25
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerEdit.mjs +6 -10
- package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerPreview.mjs +14 -24
- package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerSwatches.mjs +2 -6
- package/lib/components/VColorPicker/VColorPickerSwatches.mjs.map +1 -1
- package/lib/components/VColorPicker/index.d.ts +116 -0
- package/lib/components/VColorPicker/index.mjs.map +1 -1
- package/lib/components/VColorPicker/util/index.mjs +25 -29
- package/lib/components/VColorPicker/util/index.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.css +14 -1
- package/lib/components/VCombobox/VCombobox.mjs +67 -65
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.sass +5 -0
- package/lib/components/VCombobox/_variables.scss +1 -0
- package/lib/components/VCombobox/index.d.ts +1775 -0
- package/lib/components/VCombobox/index.mjs.map +1 -1
- package/lib/components/VCounter/VCounter.mjs +2 -5
- package/lib/components/VCounter/VCounter.mjs.map +1 -1
- package/lib/components/VCounter/index.d.ts +224 -0
- package/lib/components/VCounter/index.mjs.map +1 -1
- package/lib/components/VData/VData.mjs +9 -67
- package/lib/components/VData/VData.mjs.map +1 -1
- package/lib/components/VData/index.mjs.map +1 -1
- package/lib/components/VDataIterator/VDataFooter.mjs +6 -25
- package/lib/components/VDataIterator/VDataFooter.mjs.map +1 -1
- package/lib/components/VDataIterator/VDataIterator.mjs +12 -51
- package/lib/components/VDataIterator/VDataIterator.mjs.map +1 -1
- package/lib/components/VDataIterator/index.mjs.map +1 -1
- package/lib/components/VDataTable/MobileRow.mjs +3 -8
- package/lib/components/VDataTable/MobileRow.mjs.map +1 -1
- package/lib/components/VDataTable/Row.mjs +1 -8
- package/lib/components/VDataTable/Row.mjs.map +1 -1
- package/lib/components/VDataTable/RowGroup.mjs +1 -7
- package/lib/components/VDataTable/RowGroup.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTable.mjs +53 -105
- package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableHeader.mjs +6 -10
- package/lib/components/VDataTable/VDataTableHeader.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaderDesktop.mjs +0 -18
- package/lib/components/VDataTable/VDataTableHeaderDesktop.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaderMobile.mjs +0 -9
- package/lib/components/VDataTable/VDataTableHeaderMobile.mjs.map +1 -1
- package/lib/components/VDataTable/VEditDialog.mjs +3 -17
- package/lib/components/VDataTable/VEditDialog.mjs.map +1 -1
- package/lib/components/VDataTable/VVirtualTable.mjs +3 -28
- package/lib/components/VDataTable/VVirtualTable.mjs.map +1 -1
- package/lib/components/VDataTable/index.mjs +0 -1
- package/lib/components/VDataTable/index.mjs.map +1 -1
- package/lib/components/VDataTable/mixins/header.mjs +1 -8
- package/lib/components/VDataTable/mixins/header.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.mjs +2 -69
- package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerDateTable.mjs +1 -29
- package/lib/components/VDatePicker/VDatePickerDateTable.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerHeader.mjs +4 -17
- package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonthTable.mjs +1 -12
- package/lib/components/VDatePicker/VDatePickerMonthTable.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerTitle.mjs +4 -15
- package/lib/components/VDatePicker/VDatePickerTitle.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerYears.mjs +4 -18
- package/lib/components/VDatePicker/VDatePickerYears.mjs.map +1 -1
- package/lib/components/VDatePicker/index.mjs.map +1 -1
- package/lib/components/VDatePicker/mixins/date-picker-table.mjs +6 -33
- package/lib/components/VDatePicker/mixins/date-picker-table.mjs.map +1 -1
- package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs +0 -5
- package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs.map +1 -1
- package/lib/components/VDatePicker/util/eventHelpers.mjs +2 -3
- package/lib/components/VDatePicker/util/eventHelpers.mjs.map +1 -1
- package/lib/components/VDatePicker/util/index.mjs +0 -1
- package/lib/components/VDatePicker/util/index.mjs.map +1 -1
- package/lib/components/VDatePicker/util/isDateAllowed.mjs +1 -1
- package/lib/components/VDatePicker/util/isDateAllowed.mjs.map +1 -1
- package/lib/components/VDatePicker/util/monthChange.mjs +0 -3
- package/lib/components/VDatePicker/util/monthChange.mjs.map +1 -1
- package/lib/components/VDatePicker/util/pad.mjs +1 -6
- package/lib/components/VDatePicker/util/pad.mjs.map +1 -1
- package/lib/components/VDatePicker/util/sanitizeDateString.mjs.map +1 -1
- package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +2 -4
- package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs.map +1 -1
- package/lib/components/VDefaultsProvider/index.d.ts +27 -0
- package/lib/components/VDefaultsProvider/index.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.css +4 -1
- package/lib/components/VDialog/VDialog.mjs +49 -59
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.sass +3 -0
- package/lib/components/VDialog/index.d.ts +1795 -0
- package/lib/components/VDialog/index.mjs.map +1 -1
- package/lib/components/VDivider/VDivider.mjs +2 -8
- package/lib/components/VDivider/VDivider.mjs.map +1 -1
- package/lib/components/VDivider/index.d.ts +23 -0
- package/lib/components/VDivider/index.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanel.css +11 -6
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs +0 -5
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanel.sass +2 -2
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +2 -6
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +3 -8
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs +2 -5
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.d.ts +206 -0
- package/lib/components/VExpansionPanel/index.mjs.map +1 -1
- package/lib/components/VField/VField.css +29 -26
- package/lib/components/VField/VField.mjs +36 -35
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VField.sass +23 -22
- package/lib/components/VField/VFieldLabel.mjs +0 -3
- package/lib/components/VField/VFieldLabel.mjs.map +1 -1
- package/lib/components/VField/index.d.ts +306 -0
- package/lib/components/VField/index.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.css +16 -0
- package/lib/components/VFileInput/VFileInput.mjs +41 -60
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.sass +10 -0
- package/lib/components/VFileInput/_variables.scss +2 -0
- package/lib/components/VFileInput/index.d.ts +477 -0
- package/lib/components/VFileInput/index.mjs.map +1 -1
- package/lib/components/VFooter/VFooter.css +8 -1
- package/lib/components/VFooter/VFooter.mjs +2 -4
- package/lib/components/VFooter/VFooter.mjs.map +1 -1
- package/lib/components/VFooter/VFooter.sass +1 -1
- package/lib/components/VFooter/_variables.scss +11 -0
- package/lib/components/VFooter/index.d.ts +77 -0
- package/lib/components/VFooter/index.mjs.map +1 -1
- package/lib/components/VForm/VForm.mjs +2 -13
- package/lib/components/VForm/VForm.mjs.map +1 -1
- package/lib/components/VForm/index.d.ts +81 -0
- package/lib/components/VForm/index.mjs.map +1 -1
- package/lib/components/VGrid/VCol.mjs +8 -23
- package/lib/components/VGrid/VCol.mjs.map +1 -1
- package/lib/components/VGrid/VContainer.mjs +2 -4
- package/lib/components/VGrid/VContainer.mjs.map +1 -1
- package/lib/components/VGrid/VRow.mjs +6 -24
- package/lib/components/VGrid/VRow.mjs.map +1 -1
- package/lib/components/VGrid/VSpacer.mjs.map +1 -1
- package/lib/components/VGrid/index.d.ts +156 -0
- package/lib/components/VGrid/index.mjs.map +1 -1
- package/lib/components/VHover/VHover.mjs +0 -4
- package/lib/components/VHover/VHover.mjs.map +1 -1
- package/lib/components/VHover/index.d.ts +31 -0
- package/lib/components/VHover/index.mjs.map +1 -1
- package/lib/components/VIcon/VIcon.mjs +4 -9
- package/lib/components/VIcon/VIcon.mjs.map +1 -1
- package/lib/components/VIcon/index.d.ts +125 -0
- package/lib/components/VIcon/index.mjs.map +1 -1
- package/lib/components/VImg/VImg.mjs +36 -60
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VImg/index.d.ts +93 -0
- package/lib/components/VImg/index.mjs.map +1 -1
- package/lib/components/VInput/InputIcon.mjs +31 -0
- package/lib/components/VInput/InputIcon.mjs.map +1 -0
- package/lib/components/VInput/VInput.mjs +20 -20
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/index.d.ts +320 -0
- package/lib/components/VInput/index.mjs.map +1 -1
- package/lib/components/VItemGroup/VItem.mjs +0 -5
- package/lib/components/VItemGroup/VItem.mjs.map +1 -1
- package/lib/components/VItemGroup/VItemGroup.mjs +4 -6
- package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
- package/lib/components/VItemGroup/index.d.ts +204 -0
- package/lib/components/VItemGroup/index.mjs.map +1 -1
- package/lib/components/VKbd/VKbd.css +3 -3
- package/lib/components/VKbd/VKbd.sass +2 -2
- package/lib/components/VKbd/index.d.ts +20 -0
- package/lib/components/VKbd/index.mjs.map +1 -1
- package/lib/components/VLabel/VLabel.css +4 -1
- package/lib/components/VLabel/VLabel.mjs +6 -6
- package/lib/components/VLabel/VLabel.mjs.map +1 -1
- package/lib/components/VLabel/VLabel.sass +3 -1
- package/lib/components/VLabel/index.d.ts +16 -0
- package/lib/components/VLabel/index.mjs.map +1 -1
- package/lib/components/VLayout/VLayout.mjs +2 -5
- package/lib/components/VLayout/VLayout.mjs.map +1 -1
- package/lib/components/VLayout/VLayoutItem.mjs +2 -6
- package/lib/components/VLayout/VLayoutItem.mjs.map +1 -1
- package/lib/components/VLayout/index.d.ts +78 -0
- package/lib/components/VLayout/index.mjs.map +1 -1
- package/lib/components/VLazy/VLazy.mjs +0 -8
- package/lib/components/VLazy/VLazy.mjs.map +1 -1
- package/lib/components/VLazy/index.d.ts +86 -0
- package/lib/components/VLazy/index.mjs.map +1 -1
- package/lib/components/VList/VList.css +1 -1
- package/lib/components/VList/VList.mjs +76 -24
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VListChildren.mjs +22 -31
- package/lib/components/VList/VListChildren.mjs.map +1 -1
- package/lib/components/VList/VListGroup.mjs +11 -17
- package/lib/components/VList/VListGroup.mjs.map +1 -1
- package/lib/components/VList/VListImg.mjs.map +1 -1
- package/lib/components/VList/VListItem.css +12 -8
- package/lib/components/VList/VListItem.mjs +45 -43
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItem.sass +2 -2
- package/lib/components/VList/VListItemAction.mjs +0 -3
- package/lib/components/VList/VListItemAction.mjs.map +1 -1
- package/lib/components/VList/VListItemMedia.mjs +0 -3
- package/lib/components/VList/VListItemMedia.mjs.map +1 -1
- package/lib/components/VList/VListItemSubtitle.mjs.map +1 -1
- package/lib/components/VList/VListItemTitle.mjs.map +1 -1
- package/lib/components/VList/VListSubheader.mjs +2 -6
- package/lib/components/VList/VListSubheader.mjs.map +1 -1
- package/lib/components/VList/index.d.ts +1253 -0
- package/lib/components/VList/index.mjs.map +1 -1
- package/lib/components/VList/list.mjs +5 -2
- package/lib/components/VList/list.mjs.map +1 -1
- package/lib/components/VLocaleProvider/VLocaleProvider.mjs +4 -9
- package/lib/components/VLocaleProvider/VLocaleProvider.mjs.map +1 -1
- package/lib/components/VLocaleProvider/index.d.ts +24 -0
- package/lib/components/VLocaleProvider/index.mjs.map +1 -1
- package/lib/components/VMain/VMain.css +0 -7
- package/lib/components/VMain/VMain.mjs +2 -5
- package/lib/components/VMain/VMain.mjs.map +1 -1
- package/lib/components/VMain/VMain.sass +0 -8
- package/lib/components/VMain/index.d.ts +27 -0
- package/lib/components/VMain/index.mjs.map +1 -1
- package/lib/components/VMenu/VMenu.css +1 -1
- package/lib/components/VMenu/VMenu.mjs +45 -43
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.ts +1823 -0
- package/lib/components/VMenu/index.mjs.map +1 -1
- package/lib/components/VMenu/shared.mjs.map +1 -1
- package/lib/components/VMessages/VMessages.mjs +2 -6
- package/lib/components/VMessages/VMessages.mjs.map +1 -1
- package/lib/components/VMessages/index.d.ts +235 -0
- package/lib/components/VMessages/index.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +2 -2
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +6 -11
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.sass +1 -1
- package/lib/components/VNavigationDrawer/_variables.scss +1 -0
- package/lib/components/VNavigationDrawer/index.d.ts +148 -0
- package/lib/components/VNavigationDrawer/index.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/sticky.mjs +1 -7
- package/lib/components/VNavigationDrawer/sticky.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/touch.mjs +2 -15
- package/lib/components/VNavigationDrawer/touch.mjs.map +1 -1
- package/lib/components/VNoSsr/VNoSsr.mjs +1 -7
- package/lib/components/VNoSsr/VNoSsr.mjs.map +1 -1
- package/lib/components/VNoSsr/index.d.ts +8 -0
- package/lib/components/VNoSsr/index.mjs.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.mjs +7 -58
- package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
- package/lib/components/VOtpInput/index.mjs.map +1 -1
- package/lib/components/VOverflowBtn/VOverflowBtn.mjs +7 -19
- package/lib/components/VOverflowBtn/VOverflowBtn.mjs.map +1 -1
- package/lib/components/VOverflowBtn/index.mjs.map +1 -1
- package/lib/components/VOverlay/VOverlay.mjs +50 -54
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/index.d.ts +551 -0
- package/lib/components/VOverlay/index.mjs.map +1 -1
- package/lib/components/VOverlay/locationStrategies.mjs +39 -65
- package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
- package/lib/components/VOverlay/requestNewFrame.mjs +1 -2
- package/lib/components/VOverlay/requestNewFrame.mjs.map +1 -1
- package/lib/components/VOverlay/scrollStrategies.mjs +10 -29
- package/lib/components/VOverlay/scrollStrategies.mjs.map +1 -1
- package/lib/components/VOverlay/useActivator.mjs +29 -29
- package/lib/components/VOverlay/useActivator.mjs.map +1 -1
- package/lib/components/VOverlay/util/point.mjs +3 -4
- package/lib/components/VOverlay/util/point.mjs.map +1 -1
- package/lib/components/VPagination/VPagination.mjs +20 -30
- package/lib/components/VPagination/VPagination.mjs.map +1 -1
- package/lib/components/VPagination/index.d.ts +249 -0
- package/lib/components/VPagination/index.mjs.map +1 -1
- package/lib/components/VParallax/VParallax.mjs +32 -24
- package/lib/components/VParallax/VParallax.mjs.map +1 -1
- package/lib/components/VParallax/index.d.ts +18 -0
- package/lib/components/VParallax/index.mjs.map +1 -1
- package/lib/components/VPicker/VPicker.mjs +3 -12
- package/lib/components/VPicker/VPicker.mjs.map +1 -1
- package/lib/components/VPicker/index.mjs.map +1 -1
- package/lib/components/VProgressCircular/VProgressCircular.mjs +2 -5
- package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
- package/lib/components/VProgressCircular/index.d.ts +69 -0
- package/lib/components/VProgressCircular/index.mjs.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.mjs +5 -8
- package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
- package/lib/components/VProgressLinear/index.d.ts +102 -0
- package/lib/components/VProgressLinear/index.mjs.map +1 -1
- package/lib/components/VRadio/VRadio.mjs +2 -4
- package/lib/components/VRadio/VRadio.mjs.map +1 -1
- package/lib/components/VRadio/index.d.ts +105 -0
- package/lib/components/VRadio/index.mjs.map +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.css +2 -3
- package/lib/components/VRadioGroup/VRadioGroup.mjs +17 -21
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.sass +2 -2
- package/lib/components/VRadioGroup/_variables.scss +0 -1
- package/lib/components/VRadioGroup/index.d.ts +179 -0
- package/lib/components/VRadioGroup/index.mjs.map +1 -1
- package/lib/components/VRangeSlider/VRangeSlider.mjs +24 -27
- package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
- package/lib/components/VRangeSlider/index.d.ts +246 -0
- package/lib/components/VRangeSlider/index.mjs.map +1 -1
- package/lib/components/VRating/VRating.mjs +6 -30
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VRating/index.d.ts +348 -0
- package/lib/components/VRating/index.mjs.map +1 -1
- package/lib/components/VResponsive/VResponsive.mjs +2 -5
- package/lib/components/VResponsive/VResponsive.mjs.map +1 -1
- package/lib/components/VResponsive/index.d.ts +24 -0
- package/lib/components/VResponsive/index.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.css +21 -2
- package/lib/components/VSelect/VSelect.mjs +66 -43
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.sass +16 -1
- package/lib/components/VSelect/_variables.scss +1 -0
- package/lib/components/VSelect/index.d.ts +1718 -0
- package/lib/components/VSelect/index.mjs.map +1 -1
- package/lib/components/VSelectionControl/VSelectionControl.mjs +17 -62
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControl/index.d.ts +259 -0
- package/lib/components/VSelectionControl/index.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +6 -0
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +59 -29
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.sass +6 -0
- package/lib/components/VSelectionControlGroup/index.d.ts +96 -0
- package/lib/components/VSelectionControlGroup/index.mjs.map +1 -1
- package/lib/components/VSheet/VSheet.css +1 -1
- package/lib/components/VSheet/VSheet.mjs +2 -4
- package/lib/components/VSheet/VSheet.mjs.map +1 -1
- package/lib/components/VSheet/index.d.ts +69 -0
- package/lib/components/VSheet/index.mjs.map +1 -1
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +19 -32
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
- package/lib/components/VSkeletonLoader/index.mjs.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroup.mjs +56 -78
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroupItem.mjs +5 -9
- package/lib/components/VSlideGroup/VSlideGroupItem.mjs.map +1 -1
- package/lib/components/VSlideGroup/helpers.mjs +4 -17
- package/lib/components/VSlideGroup/helpers.mjs.map +1 -1
- package/lib/components/VSlideGroup/index.d.ts +434 -0
- package/lib/components/VSlideGroup/index.mjs.map +1 -1
- package/lib/components/VSlider/VSlider.css +7 -2
- package/lib/components/VSlider/VSlider.mjs +19 -12
- package/lib/components/VSlider/VSlider.mjs.map +1 -1
- package/lib/components/VSlider/VSlider.sass +6 -2
- package/lib/components/VSlider/VSliderThumb.css +10 -6
- package/lib/components/VSlider/VSliderThumb.mjs +7 -18
- package/lib/components/VSlider/VSliderThumb.mjs.map +1 -1
- package/lib/components/VSlider/VSliderThumb.sass +11 -8
- package/lib/components/VSlider/VSliderTrack.css +20 -20
- package/lib/components/VSlider/VSliderTrack.mjs +16 -14
- package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
- package/lib/components/VSlider/VSliderTrack.sass +14 -14
- package/lib/components/VSlider/_variables.scss +2 -2
- package/lib/components/VSlider/index.d.ts +243 -0
- package/lib/components/VSlider/index.mjs.map +1 -1
- package/lib/components/VSlider/slider.mjs +15 -46
- package/lib/components/VSlider/slider.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.css +2 -3
- package/lib/components/VSnackbar/VSnackbar.mjs +51 -60
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.ts +1696 -0
- package/lib/components/VSnackbar/index.mjs.map +1 -1
- package/lib/components/VSparkline/VSparkline.mjs +5 -40
- package/lib/components/VSparkline/VSparkline.mjs.map +1 -1
- package/lib/components/VSparkline/helpers/core.mjs +1 -1
- package/lib/components/VSparkline/helpers/core.mjs.map +1 -1
- package/lib/components/VSparkline/helpers/math.mjs +2 -3
- package/lib/components/VSparkline/helpers/math.mjs.map +1 -1
- package/lib/components/VSparkline/helpers/path.mjs +0 -4
- package/lib/components/VSparkline/helpers/path.mjs.map +1 -1
- package/lib/components/VSparkline/index.mjs.map +1 -1
- package/lib/components/VSpeedDial/VSpeedDial.mjs +3 -12
- package/lib/components/VSpeedDial/VSpeedDial.mjs.map +1 -1
- package/lib/components/VSpeedDial/index.mjs.map +1 -1
- package/lib/components/VStepper/VStepper.mjs +5 -24
- package/lib/components/VStepper/VStepper.mjs.map +1 -1
- package/lib/components/VStepper/VStepperContent.mjs +4 -25
- package/lib/components/VStepper/VStepperContent.mjs.map +1 -1
- package/lib/components/VStepper/VStepperStep.mjs +0 -24
- package/lib/components/VStepper/VStepperStep.mjs.map +1 -1
- package/lib/components/VStepper/index.mjs.map +1 -1
- package/lib/components/VSwitch/VSwitch.css +2 -2
- package/lib/components/VSwitch/VSwitch.mjs +26 -17
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/index.d.ts +186 -0
- package/lib/components/VSwitch/index.mjs.map +1 -1
- package/lib/components/VSystemBar/VSystemBar.css +1 -1
- package/lib/components/VSystemBar/VSystemBar.mjs +3 -9
- package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
- package/lib/components/VSystemBar/index.d.ts +62 -0
- package/lib/components/VSystemBar/index.mjs.map +1 -1
- package/lib/components/VTable/VTable.css +12 -12
- package/lib/components/VTable/VTable.mjs +5 -6
- package/lib/components/VTable/VTable.mjs.map +1 -1
- package/lib/components/VTable/VTable.sass +29 -18
- package/lib/components/VTable/index.d.ts +44 -0
- package/lib/components/VTable/index.mjs.map +1 -1
- package/lib/components/VTabs/VTab.css +3 -1
- package/lib/components/VTabs/VTab.mjs +5 -12
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTabs/VTab.sass +3 -1
- package/lib/components/VTabs/VTabs.css +7 -7
- package/lib/components/VTabs/VTabs.mjs +18 -21
- package/lib/components/VTabs/VTabs.mjs.map +1 -1
- package/lib/components/VTabs/VTabs.sass +5 -5
- package/lib/components/VTabs/_variables.scss +1 -1
- package/lib/components/VTabs/index.d.ts +187 -0
- package/lib/components/VTabs/index.mjs.map +1 -1
- package/lib/components/VTabs/shared.mjs.map +1 -1
- package/lib/components/VTextField/VTextField.css +2 -3
- package/lib/components/VTextField/VTextField.mjs +54 -56
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/VTextField.sass +2 -4
- package/lib/components/VTextField/index.d.ts +1807 -0
- package/lib/components/VTextField/index.mjs.map +1 -1
- package/lib/components/VTextarea/VTextarea.css +5 -3
- package/lib/components/VTextarea/VTextarea.mjs +26 -33
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/VTextarea.sass +5 -4
- package/lib/components/VTextarea/index.d.ts +461 -0
- package/lib/components/VTextarea/index.mjs.map +1 -1
- package/lib/components/VThemeProvider/VThemeProvider.mjs +2 -5
- package/lib/components/VThemeProvider/VThemeProvider.mjs.map +1 -1
- package/lib/components/VThemeProvider/index.d.ts +25 -0
- package/lib/components/VThemeProvider/index.mjs.map +1 -1
- package/lib/components/VTimePicker/SelectingTimes.mjs +0 -3
- package/lib/components/VTimePicker/SelectingTimes.mjs.map +1 -1
- package/lib/components/VTimePicker/VTimePicker.mjs +3 -53
- package/lib/components/VTimePicker/VTimePicker.mjs.map +1 -1
- package/lib/components/VTimePicker/VTimePickerClock.mjs +6 -42
- package/lib/components/VTimePicker/VTimePickerClock.mjs.map +1 -1
- package/lib/components/VTimePicker/VTimePickerTitle.mjs +4 -13
- package/lib/components/VTimePicker/VTimePickerTitle.mjs.map +1 -1
- package/lib/components/VTimePicker/index.mjs.map +1 -1
- package/lib/components/VTimeline/VTimeline.css +77 -41
- package/lib/components/VTimeline/VTimeline.mjs +8 -10
- package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
- package/lib/components/VTimeline/VTimeline.sass +95 -64
- package/lib/components/VTimeline/VTimelineDivider.mjs +2 -7
- package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -1
- package/lib/components/VTimeline/VTimelineItem.mjs +2 -8
- package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
- package/lib/components/VTimeline/_mixins.sass +10 -0
- package/lib/components/VTimeline/_variables.scss +4 -3
- package/lib/components/VTimeline/index.d.ts +158 -0
- package/lib/components/VTimeline/index.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbar.css +3 -4
- package/lib/components/VToolbar/VToolbar.mjs +3 -11
- package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbar.sass +0 -1
- package/lib/components/VToolbar/VToolbarItems.mjs +0 -4
- package/lib/components/VToolbar/VToolbarItems.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbarTitle.mjs +0 -5
- package/lib/components/VToolbar/VToolbarTitle.mjs.map +1 -1
- package/lib/components/VToolbar/_variables.scss +1 -1
- package/lib/components/VToolbar/index.d.ts +377 -0
- package/lib/components/VToolbar/index.mjs.map +1 -1
- package/lib/components/VTooltip/VTooltip.mjs +46 -57
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VTooltip/index.d.ts +1789 -0
- package/lib/components/VTooltip/index.mjs.map +1 -1
- package/lib/components/VTreeview/VTreeview.mjs +18 -75
- package/lib/components/VTreeview/VTreeview.mjs.map +1 -1
- package/lib/components/VTreeview/VTreeviewNode.mjs +2 -32
- package/lib/components/VTreeview/VTreeviewNode.mjs.map +1 -1
- package/lib/components/VTreeview/index.mjs.map +1 -1
- package/lib/components/VTreeview/util/filterTreeItems.mjs +0 -6
- package/lib/components/VTreeview/util/filterTreeItems.mjs.map +1 -1
- package/lib/components/VValidation/VValidation.mjs +2 -5
- package/lib/components/VValidation/VValidation.mjs.map +1 -1
- package/lib/components/VValidation/index.d.ts +67 -0
- package/lib/components/VValidation/index.mjs.map +1 -1
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs +3 -18
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
- package/lib/components/VVirtualScroll/index.mjs.map +1 -1
- package/lib/components/VWindow/VWindow.mjs +6 -22
- package/lib/components/VWindow/VWindow.mjs.map +1 -1
- package/lib/components/VWindow/VWindowItem.mjs +8 -21
- package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
- package/lib/components/VWindow/index.d.ts +378 -0
- package/lib/components/VWindow/index.mjs.map +1 -1
- package/lib/components/index.d.ts +15918 -5527
- package/lib/components/index.mjs +0 -11
- package/lib/components/index.mjs.map +1 -1
- package/lib/components/transitions/createTransition.mjs +0 -10
- package/lib/components/transitions/createTransition.mjs.map +1 -1
- package/lib/components/transitions/dialog-transition.mjs +8 -23
- package/lib/components/transitions/dialog-transition.mjs.map +1 -1
- package/lib/components/transitions/expand-transition.mjs +2 -11
- package/lib/components/transitions/expand-transition.mjs.map +1 -1
- package/lib/components/transitions/index.d.ts +470 -0
- package/lib/components/transitions/index.mjs +5 -4
- package/lib/components/transitions/index.mjs.map +1 -1
- package/lib/composables/border.mjs +0 -3
- package/lib/composables/border.mjs.map +1 -1
- package/lib/composables/color.mjs +0 -4
- package/lib/composables/color.mjs.map +1 -1
- package/lib/composables/defaults.mjs +1 -6
- package/lib/composables/defaults.mjs.map +1 -1
- package/lib/composables/delay.mjs +1 -6
- package/lib/composables/delay.mjs.map +1 -1
- package/lib/composables/density.mjs +4 -1
- package/lib/composables/density.mjs.map +1 -1
- package/lib/composables/dimensions.mjs +0 -1
- package/lib/composables/dimensions.mjs.map +1 -1
- package/lib/composables/display.mjs +8 -21
- package/lib/composables/display.mjs.map +1 -1
- package/lib/composables/elevation.mjs +2 -4
- package/lib/composables/elevation.mjs.map +1 -1
- package/lib/composables/filter.mjs +11 -20
- package/lib/composables/filter.mjs.map +1 -1
- package/lib/composables/focus.mjs +0 -5
- package/lib/composables/focus.mjs.map +1 -1
- package/lib/composables/form.mjs +8 -16
- package/lib/composables/form.mjs.map +1 -1
- package/lib/composables/forwardRefs.mjs +9 -16
- package/lib/composables/forwardRefs.mjs.map +1 -1
- package/lib/composables/group.mjs +11 -38
- package/lib/composables/group.mjs.map +1 -1
- package/lib/composables/hydration.mjs +8 -5
- package/lib/composables/hydration.mjs.map +1 -1
- package/lib/composables/icons.mjs +11 -21
- package/lib/composables/icons.mjs.map +1 -1
- package/lib/composables/index.mjs +1 -2
- package/lib/composables/index.mjs.map +1 -1
- package/lib/composables/intersectionObserver.mjs +0 -3
- package/lib/composables/intersectionObserver.mjs.map +1 -1
- package/lib/composables/items.mjs +5 -17
- package/lib/composables/items.mjs.map +1 -1
- package/lib/composables/layout.mjs +31 -37
- package/lib/composables/layout.mjs.map +1 -1
- package/lib/composables/lazy.mjs +2 -3
- package/lib/composables/lazy.mjs.map +1 -1
- package/lib/composables/loader.mjs +0 -3
- package/lib/composables/loader.mjs.map +1 -1
- package/lib/composables/locale.mjs +48 -127
- package/lib/composables/locale.mjs.map +1 -1
- package/lib/composables/location.mjs +1 -8
- package/lib/composables/location.mjs.map +1 -1
- package/lib/composables/mutationObserver.mjs +7 -7
- package/lib/composables/mutationObserver.mjs.map +1 -1
- package/lib/composables/nested/nested.mjs +21 -38
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/composables/nested/openStrategies.mjs +0 -9
- package/lib/composables/nested/openStrategies.mjs.map +1 -1
- package/lib/composables/nested/selectStrategies.mjs +6 -21
- package/lib/composables/nested/selectStrategies.mjs.map +1 -1
- package/lib/composables/position.mjs +1 -4
- package/lib/composables/position.mjs.map +1 -1
- package/lib/composables/proxiedModel.mjs +28 -16
- package/lib/composables/proxiedModel.mjs.map +1 -1
- package/lib/composables/refs.mjs +0 -2
- package/lib/composables/refs.mjs.map +1 -1
- package/lib/composables/resizeObserver.mjs +0 -3
- package/lib/composables/resizeObserver.mjs.map +1 -1
- package/lib/composables/rounded.mjs +0 -3
- package/lib/composables/rounded.mjs.map +1 -1
- package/lib/composables/router.mjs +14 -14
- package/lib/composables/router.mjs.map +1 -1
- package/lib/composables/scopeId.mjs.map +1 -1
- package/lib/composables/scroll.mjs +4 -12
- package/lib/composables/scroll.mjs.map +1 -1
- package/lib/composables/selectLink.mjs +7 -6
- package/lib/composables/selectLink.mjs.map +1 -1
- package/lib/composables/size.mjs +0 -3
- package/lib/composables/size.mjs.map +1 -1
- package/lib/composables/ssrBoot.mjs +2 -1
- package/lib/composables/ssrBoot.mjs.map +1 -1
- package/lib/composables/stack.mjs +0 -6
- package/lib/composables/stack.mjs.map +1 -1
- package/lib/composables/tag.mjs +0 -1
- package/lib/composables/tag.mjs.map +1 -1
- package/lib/composables/teleport.mjs +0 -4
- package/lib/composables/teleport.mjs.map +1 -1
- package/lib/composables/theme.mjs +65 -81
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/composables/toggleScope.mjs +0 -1
- package/lib/composables/toggleScope.mjs.map +1 -1
- package/lib/composables/touch.mjs +6 -31
- package/lib/composables/touch.mjs.map +1 -1
- package/lib/composables/transition.mjs +0 -4
- package/lib/composables/transition.mjs.map +1 -1
- package/lib/composables/validation.mjs +29 -27
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/composables/variant.mjs +0 -2
- package/lib/composables/variant.mjs.map +1 -1
- package/lib/directives/click-outside/index.mjs +10 -22
- package/lib/directives/click-outside/index.mjs.map +1 -1
- package/lib/directives/color/index.mjs +0 -11
- package/lib/directives/color/index.mjs.map +1 -1
- package/lib/directives/index.d.ts +104 -13
- package/lib/directives/index.mjs +0 -1
- package/lib/directives/index.mjs.map +1 -1
- package/lib/directives/intersect/index.mjs +3 -10
- package/lib/directives/intersect/index.mjs.map +1 -1
- package/lib/directives/mutate/index.mjs +5 -11
- package/lib/directives/mutate/index.mjs.map +1 -1
- package/lib/directives/resize/index.mjs +0 -5
- package/lib/directives/resize/index.mjs.map +1 -1
- package/lib/directives/ripple/index.mjs +12 -66
- package/lib/directives/ripple/index.mjs.map +1 -1
- package/lib/directives/scroll/index.mjs +1 -7
- package/lib/directives/scroll/index.mjs.map +1 -1
- package/lib/directives/touch/index.mjs +3 -18
- package/lib/directives/touch/index.mjs.map +1 -1
- package/lib/entry-bundler.mjs +2 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +66 -61
- package/lib/framework.mjs.map +1 -1
- package/lib/iconsets/fa-svg.mjs +0 -1
- package/lib/iconsets/fa-svg.mjs.map +1 -1
- package/lib/iconsets/fa.mjs +0 -1
- package/lib/iconsets/fa.mjs.map +1 -1
- package/lib/iconsets/fa4.mjs +4 -3
- package/lib/iconsets/fa4.mjs.map +1 -1
- package/lib/iconsets/md.mjs +4 -3
- package/lib/iconsets/md.mjs.map +1 -1
- package/lib/iconsets/mdi-svg.mjs +1 -1
- package/lib/iconsets/mdi-svg.mjs.map +1 -1
- package/lib/iconsets/mdi.mjs +4 -3
- package/lib/iconsets/mdi.mjs.map +1 -1
- package/lib/index.d.ts +106 -107
- package/lib/locale/adapters/vue-i18n.d.ts +29 -0
- package/lib/locale/adapters/vue-i18n.mjs +59 -54
- package/lib/locale/adapters/vue-i18n.mjs.map +1 -1
- package/lib/locale/adapters/vuetify.d.ts +24 -0
- package/lib/locale/adapters/vuetify.mjs +97 -0
- package/lib/locale/adapters/vuetify.mjs.map +1 -0
- package/lib/locale/af.mjs +5 -0
- package/lib/locale/af.mjs.map +1 -1
- package/lib/locale/ar.mjs +5 -0
- package/lib/locale/ar.mjs.map +1 -1
- package/lib/locale/az.mjs +5 -0
- package/lib/locale/az.mjs.map +1 -1
- package/lib/locale/bg.mjs +5 -0
- package/lib/locale/bg.mjs.map +1 -1
- package/lib/locale/ca.mjs +5 -0
- package/lib/locale/ca.mjs.map +1 -1
- package/lib/locale/ckb.mjs +5 -0
- package/lib/locale/ckb.mjs.map +1 -1
- package/lib/locale/cs.mjs +5 -0
- package/lib/locale/cs.mjs.map +1 -1
- package/lib/locale/da.mjs +5 -0
- package/lib/locale/da.mjs.map +1 -1
- package/lib/locale/de.mjs +5 -0
- package/lib/locale/de.mjs.map +1 -1
- package/lib/locale/el.mjs +5 -0
- package/lib/locale/el.mjs.map +1 -1
- package/lib/locale/en.mjs +5 -0
- package/lib/locale/en.mjs.map +1 -1
- package/lib/locale/es.mjs +5 -0
- package/lib/locale/es.mjs.map +1 -1
- package/lib/locale/et.mjs +5 -0
- package/lib/locale/et.mjs.map +1 -1
- package/lib/locale/fa.mjs +5 -0
- package/lib/locale/fa.mjs.map +1 -1
- package/lib/locale/fi.mjs +5 -0
- package/lib/locale/fi.mjs.map +1 -1
- package/lib/locale/fr.mjs +5 -0
- package/lib/locale/fr.mjs.map +1 -1
- package/lib/locale/he.mjs +5 -0
- package/lib/locale/he.mjs.map +1 -1
- package/lib/locale/hr.mjs +5 -0
- package/lib/locale/hr.mjs.map +1 -1
- package/lib/locale/hu.mjs +5 -0
- package/lib/locale/hu.mjs.map +1 -1
- package/lib/locale/id.mjs +5 -0
- package/lib/locale/id.mjs.map +1 -1
- package/lib/locale/index.d.ts +212 -2
- package/lib/locale/index.mjs +1 -1
- package/lib/locale/index.mjs.map +1 -1
- package/lib/locale/it.mjs +5 -0
- package/lib/locale/it.mjs.map +1 -1
- package/lib/locale/ja.mjs +5 -0
- package/lib/locale/ja.mjs.map +1 -1
- package/lib/locale/ko.mjs +5 -0
- package/lib/locale/ko.mjs.map +1 -1
- package/lib/locale/lt.mjs +5 -0
- package/lib/locale/lt.mjs.map +1 -1
- package/lib/locale/lv.mjs +5 -0
- package/lib/locale/lv.mjs.map +1 -1
- package/lib/locale/nl.mjs +5 -0
- package/lib/locale/nl.mjs.map +1 -1
- package/lib/locale/no.mjs +5 -0
- package/lib/locale/no.mjs.map +1 -1
- package/lib/locale/pl.mjs +9 -4
- package/lib/locale/pl.mjs.map +1 -1
- package/lib/locale/pt.mjs +5 -0
- package/lib/locale/pt.mjs.map +1 -1
- package/lib/locale/ro.mjs +5 -0
- package/lib/locale/ro.mjs.map +1 -1
- package/lib/locale/ru.mjs +5 -0
- package/lib/locale/ru.mjs.map +1 -1
- package/lib/locale/sk.mjs +5 -0
- package/lib/locale/sk.mjs.map +1 -1
- package/lib/locale/sl.mjs +5 -0
- package/lib/locale/sl.mjs.map +1 -1
- package/lib/locale/sr-Cyrl.mjs +5 -0
- package/lib/locale/sr-Cyrl.mjs.map +1 -1
- package/lib/locale/sr-Latn.mjs +5 -0
- package/lib/locale/sr-Latn.mjs.map +1 -1
- package/lib/locale/sv.mjs +5 -0
- package/lib/locale/sv.mjs.map +1 -1
- package/lib/locale/th.mjs +5 -0
- package/lib/locale/th.mjs.map +1 -1
- package/lib/locale/tr.mjs +5 -0
- package/lib/locale/tr.mjs.map +1 -1
- package/lib/locale/uk.mjs +5 -0
- package/lib/locale/uk.mjs.map +1 -1
- package/lib/locale/vi.mjs +5 -0
- package/lib/locale/vi.mjs.map +1 -1
- package/lib/locale/zh-Hans.mjs +5 -0
- package/lib/locale/zh-Hans.mjs.map +1 -1
- package/lib/locale/zh-Hant.mjs +5 -0
- package/lib/locale/zh-Hant.mjs.map +1 -1
- package/lib/services/goto/easing-patterns.mjs +24 -24
- package/lib/services/goto/easing-patterns.mjs.map +1 -1
- package/lib/services/goto/index.mjs +11 -15
- package/lib/services/goto/index.mjs.map +1 -1
- package/lib/services/goto/util.mjs +1 -8
- package/lib/services/goto/util.mjs.map +1 -1
- package/lib/styles/main.css +105 -101
- package/lib/styles/settings/_colors.scss +84 -84
- package/lib/styles/settings/_elevations.scss +3 -3
- package/lib/styles/settings/_utilities.scss +11 -4
- package/lib/styles/tools/_states.sass +8 -3
- package/lib/styles/tools/_variant.sass +0 -1
- package/lib/util/anchor.mjs +0 -3
- package/lib/util/anchor.mjs.map +1 -1
- package/lib/util/animation.mjs +14 -4
- package/lib/util/animation.mjs.map +1 -1
- package/lib/util/box.mjs +0 -5
- package/lib/util/box.mjs.map +1 -1
- package/lib/util/color/APCA.mjs +23 -21
- package/lib/util/color/APCA.mjs.map +1 -1
- package/lib/util/color/transformCIELAB.mjs +0 -2
- package/lib/util/color/transformCIELAB.mjs.map +1 -1
- package/lib/util/color/transformSRGB.mjs +14 -12
- package/lib/util/color/transformSRGB.mjs.map +1 -1
- package/lib/util/colorUtils.mjs +8 -25
- package/lib/util/colorUtils.mjs.map +1 -1
- package/lib/util/colors.mjs.map +1 -1
- package/lib/util/console.mjs +5 -14
- package/lib/util/console.mjs.map +1 -1
- package/lib/util/createSimpleFunctional.mjs +1 -4
- package/lib/util/createSimpleFunctional.mjs.map +1 -1
- package/lib/util/dateTimeUtils.mjs +0 -10
- package/lib/util/dateTimeUtils.mjs.map +1 -1
- package/lib/util/defineComponent.mjs +13 -37
- package/lib/util/defineComponent.mjs.map +1 -1
- package/lib/util/dom.mjs +4 -4
- package/lib/util/dom.mjs.map +1 -1
- package/lib/util/easing.mjs +0 -1
- package/lib/util/easing.mjs.map +1 -1
- package/lib/util/getCurrentInstance.mjs +3 -10
- package/lib/util/getCurrentInstance.mjs.map +1 -1
- package/lib/util/getScrollParent.mjs +3 -4
- package/lib/util/getScrollParent.mjs.map +1 -1
- package/lib/util/globals.mjs +1 -1
- package/lib/util/globals.mjs.map +1 -1
- package/lib/util/helpers.mjs +55 -86
- package/lib/util/helpers.mjs.map +1 -1
- package/lib/util/injectSelf.mjs +0 -1
- package/lib/util/injectSelf.mjs.map +1 -1
- package/lib/util/isFixedPosition.mjs +0 -2
- package/lib/util/isFixedPosition.mjs.map +1 -1
- package/lib/util/propsFactory.mjs +4 -5
- package/lib/util/propsFactory.mjs.map +1 -1
- package/lib/util/useRender.mjs +0 -1
- package/lib/util/useRender.mjs.map +1 -1
- package/package.json +17 -19
- package/lib/composables/rtl.mjs +0 -44
- package/lib/composables/rtl.mjs.map +0 -1
- package/lib/locale/adapters/vue-intl.mjs +0 -67
- package/lib/locale/adapters/vue-intl.mjs.map +0 -1
- package/lib/styles.scss +0 -4
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
|
|
3
2
|
/* eslint-disable */
|
|
3
|
+
|
|
4
4
|
// Styles
|
|
5
|
-
import "./VCalendarCategory.css";
|
|
5
|
+
import "./VCalendarCategory.css";
|
|
6
6
|
|
|
7
|
+
// Types
|
|
7
8
|
// Mixins
|
|
8
9
|
import VCalendarDaily from "./VCalendarDaily.mjs"; // Util
|
|
9
|
-
|
|
10
10
|
import { convertToUnit, getSlot } from "../../util/helpers.mjs";
|
|
11
11
|
import props from "./util/props.mjs";
|
|
12
12
|
import { getParsedCategories } from "./util/parser.mjs";
|
|
13
13
|
/* @vue/component */
|
|
14
|
-
|
|
15
14
|
export default VCalendarDaily.extend({
|
|
16
15
|
name: 'v-calendar-category',
|
|
17
16
|
props: props.category,
|
|
@@ -23,11 +22,9 @@ export default VCalendarDaily.extend({
|
|
|
23
22
|
...this.themeClasses
|
|
24
23
|
};
|
|
25
24
|
},
|
|
26
|
-
|
|
27
25
|
parsedCategories() {
|
|
28
26
|
return getParsedCategories(this.categories, this.categoryText);
|
|
29
27
|
}
|
|
30
|
-
|
|
31
28
|
},
|
|
32
29
|
methods: {
|
|
33
30
|
genDayHeader(day, index) {
|
|
@@ -44,14 +41,13 @@ export default VCalendarDaily.extend({
|
|
|
44
41
|
});
|
|
45
42
|
return [this.$createElement('div', data, children)];
|
|
46
43
|
},
|
|
47
|
-
|
|
48
44
|
getCategoryScope(scope, category) {
|
|
49
45
|
const cat = typeof category === 'object' && category && category.categoryName === this.categoryForInvalid ? null : category;
|
|
50
|
-
return {
|
|
46
|
+
return {
|
|
47
|
+
...scope,
|
|
51
48
|
category: cat
|
|
52
49
|
};
|
|
53
50
|
},
|
|
54
|
-
|
|
55
51
|
genDayHeaderCategory(day, scope) {
|
|
56
52
|
const headerTitle = typeof scope.category === 'object' ? scope.category.categoryName : scope.category;
|
|
57
53
|
return this.$createElement('div', {
|
|
@@ -61,13 +57,11 @@ export default VCalendarDaily.extend({
|
|
|
61
57
|
})
|
|
62
58
|
}, [getSlot(this, 'category', scope) || this.genDayHeaderCategoryTitle(headerTitle), getSlot(this, 'day-header', scope)]);
|
|
63
59
|
},
|
|
64
|
-
|
|
65
60
|
genDayHeaderCategoryTitle(categoryName) {
|
|
66
61
|
return this.$createElement('div', {
|
|
67
62
|
staticClass: 'v-calendar-category__category'
|
|
68
63
|
}, categoryName === null ? this.categoryForInvalid : categoryName);
|
|
69
64
|
},
|
|
70
|
-
|
|
71
65
|
genDays() {
|
|
72
66
|
const days = [];
|
|
73
67
|
this.days.forEach((d, j) => {
|
|
@@ -77,7 +71,6 @@ export default VCalendarDaily.extend({
|
|
|
77
71
|
});
|
|
78
72
|
return days;
|
|
79
73
|
},
|
|
80
|
-
|
|
81
74
|
genDay(day, index, categoryIndex) {
|
|
82
75
|
const category = this.parsedCategories[categoryIndex];
|
|
83
76
|
return this.$createElement('div', {
|
|
@@ -89,11 +82,9 @@ export default VCalendarDaily.extend({
|
|
|
89
82
|
})
|
|
90
83
|
}, [...this.genDayIntervals(index, category), ...this.genDayBody(day, category)]);
|
|
91
84
|
},
|
|
92
|
-
|
|
93
85
|
genDayIntervals(index, category) {
|
|
94
86
|
return this.intervals[index].map(v => this.genDayInterval(v, category));
|
|
95
87
|
},
|
|
96
|
-
|
|
97
88
|
genDayInterval(interval, category) {
|
|
98
89
|
const height = convertToUnit(this.intervalHeight);
|
|
99
90
|
const styler = this.intervalStyle || this.intervalStyleDefault;
|
|
@@ -102,7 +93,8 @@ export default VCalendarDaily.extend({
|
|
|
102
93
|
staticClass: 'v-calendar-daily__day-interval',
|
|
103
94
|
style: {
|
|
104
95
|
height,
|
|
105
|
-
...styler({
|
|
96
|
+
...styler({
|
|
97
|
+
...interval,
|
|
106
98
|
category
|
|
107
99
|
})
|
|
108
100
|
}
|
|
@@ -110,7 +102,6 @@ export default VCalendarDaily.extend({
|
|
|
110
102
|
const children = getSlot(this, 'interval', () => this.getCategoryScope(this.getSlotScope(interval), category));
|
|
111
103
|
return this.$createElement('div', data, children);
|
|
112
104
|
},
|
|
113
|
-
|
|
114
105
|
genDayBody(day, category) {
|
|
115
106
|
const data = {
|
|
116
107
|
staticClass: 'v-calendar-category__columns'
|
|
@@ -118,7 +109,6 @@ export default VCalendarDaily.extend({
|
|
|
118
109
|
const children = [this.genDayBodyCategory(day, category)];
|
|
119
110
|
return [this.$createElement('div', data, children)];
|
|
120
111
|
},
|
|
121
|
-
|
|
122
112
|
genDayBodyCategory(day, category) {
|
|
123
113
|
const data = {
|
|
124
114
|
staticClass: 'v-calendar-category__column',
|
|
@@ -129,7 +119,6 @@ export default VCalendarDaily.extend({
|
|
|
129
119
|
const children = getSlot(this, 'day-body', () => this.getCategoryScope(this.getSlotScope(day), category));
|
|
130
120
|
return this.$createElement('div', data, children);
|
|
131
121
|
}
|
|
132
|
-
|
|
133
122
|
}
|
|
134
123
|
});
|
|
135
124
|
//# sourceMappingURL=VCalendarCategory.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VCalendarCategory.mjs","names":["VCalendarDaily","convertToUnit","getSlot","props","getParsedCategories","extend","name","category","computed","classes","themeClasses","parsedCategories","categories","categoryText","methods","genDayHeader","day","index","data","staticClass","scope","week","days","children","map","genDayHeaderCategory","getCategoryScope","$createElement","cat","categoryName","categoryForInvalid","headerTitle","on","getDefaultMouseEventHandlers","e","getSlotScope","genDayHeaderCategoryTitle","genDays","forEach","d","j","Array","length","fill","push","v","i","genDay","categoryIndex","key","date","class","getRelativeClasses","getTimestampAtEvent","genDayIntervals","genDayBody","intervals","genDayInterval","interval","height","intervalHeight","styler","intervalStyle","intervalStyleDefault","time","style","genDayBodyCategory"],"sources":["../../../src/components/VCalendar/VCalendarCategory.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\n// Styles\nimport './VCalendarCategory.sass'\n\n// Types\nimport { VNode } from 'vue'\n\n// Mixins\nimport VCalendarDaily from './VCalendarDaily'\n\n// Util\nimport { convertToUnit, getSlot } from '../../util/helpers'\nimport { CalendarCategory, CalendarTimestamp } from 'types'\nimport props from './util/props'\nimport { getParsedCategories } from './util/parser'\n\n/* @vue/component */\nexport default VCalendarDaily.extend({\n name: 'v-calendar-category',\n\n props: props.category,\n\n computed: {\n classes (): object {\n return {\n 'v-calendar-daily': true,\n 'v-calendar-category': true,\n ...this.themeClasses,\n }\n },\n parsedCategories (): CalendarCategory[] {\n return getParsedCategories(this.categories, this.categoryText)\n },\n },\n methods: {\n genDayHeader (day: CalendarTimestamp, index: number): VNode[] {\n const data = {\n staticClass: 'v-calendar-category__columns',\n }\n const scope = {\n week: this.days, ...day, index,\n }\n\n const children = this.parsedCategories.map(category => {\n return this.genDayHeaderCategory(day, this.getCategoryScope(scope, category))\n })\n\n return [this.$createElement('div', data, children)]\n },\n getCategoryScope (scope: any, category: CalendarCategory) {\n const cat = typeof category === 'object' && category &&\n category.categoryName === this.categoryForInvalid ? null : category\n return {\n ...scope,\n category: cat,\n }\n },\n genDayHeaderCategory (day: CalendarTimestamp, scope: any): VNode {\n const headerTitle = typeof scope.category === 'object' ? scope.category.categoryName : scope.category\n return this.$createElement('div', {\n staticClass: 'v-calendar-category__column-header',\n on: this.getDefaultMouseEventHandlers(':day-category', e => {\n return this.getCategoryScope(this.getSlotScope(day), scope.category)\n }),\n }, [\n getSlot(this, 'category', scope) || this.genDayHeaderCategoryTitle(headerTitle),\n getSlot(this, 'day-header', scope),\n ])\n },\n genDayHeaderCategoryTitle (categoryName: string | null) {\n return this.$createElement('div', {\n staticClass: 'v-calendar-category__category',\n }, categoryName === null ? this.categoryForInvalid : categoryName)\n },\n genDays (): VNode[] {\n const days: VNode[] = []\n this.days.forEach((d, j) => {\n const day = new Array(this.parsedCategories.length || 1)\n day.fill(d)\n days.push(...day.map((v, i) => this.genDay(v, j, i)))\n })\n return days\n },\n genDay (day: CalendarTimestamp, index: number, categoryIndex: number): VNode {\n const category = this.parsedCategories[categoryIndex]\n return this.$createElement('div', {\n key: day.date + '-' + categoryIndex,\n staticClass: 'v-calendar-daily__day',\n class: this.getRelativeClasses(day),\n on: this.getDefaultMouseEventHandlers(':time', e => {\n return this.getSlotScope(this.getTimestampAtEvent(e, day))\n }),\n }, [\n ...this.genDayIntervals(index, category),\n ...this.genDayBody(day, category),\n ])\n },\n genDayIntervals (index: number, category: CalendarCategory): VNode[] {\n return this.intervals[index].map(v => this.genDayInterval(v, category))\n },\n genDayInterval (interval: CalendarTimestamp, category: CalendarCategory): VNode {\n const height: string | undefined = convertToUnit(this.intervalHeight)\n const styler = this.intervalStyle || this.intervalStyleDefault\n\n const data = {\n key: interval.time,\n staticClass: 'v-calendar-daily__day-interval',\n style: {\n height,\n ...styler({ ...interval, category }),\n },\n }\n\n const children = getSlot(this, 'interval', () =>\n this.getCategoryScope(this.getSlotScope(interval), category)\n )\n\n return this.$createElement('div', data, children)\n },\n genDayBody (day: CalendarTimestamp, category: CalendarCategory): VNode[] {\n const data = {\n staticClass: 'v-calendar-category__columns',\n }\n\n const children = [this.genDayBodyCategory(day, category)]\n\n return [this.$createElement('div', data, children)]\n },\n genDayBodyCategory (day: CalendarTimestamp, category: CalendarCategory): VNode {\n const data = {\n staticClass: 'v-calendar-category__column',\n on: this.getDefaultMouseEventHandlers(':time-category', e => {\n return this.getCategoryScope(this.getSlotScope(this.getTimestampAtEvent(e, day)), category)\n }),\n }\n\n const children = getSlot(this, 'day-body', () => this.getCategoryScope(this.getSlotScope(day), category))\n\n return this.$createElement('div', data, children)\n },\n },\n})\n"],"mappings":"AAAA;;AACA;AAEA;AACA,iC,CAEA;;AAGA;OACOA,c,8BAEP;;SACSC,a,EAAeC,O;OAEjBC,K;SACEC,mB;AAET;;AACA,eAAeJ,cAAc,CAACK,MAAf,CAAsB;EACnCC,IAAI,EAAE,qBAD6B;EAGnCH,KAAK,EAAEA,KAAK,CAACI,QAHsB;EAKnCC,QAAQ,EAAE;IACRC,OAAO,GAAY;MACjB,OAAO;QACL,oBAAoB,IADf;QAEL,uBAAuB,IAFlB;QAGL,GAAG,KAAKC;MAHH,CAAP;IAKD,CAPO;;IAQRC,gBAAgB,GAAwB;MACtC,OAAOP,mBAAmB,CAAC,KAAKQ,UAAN,EAAkB,KAAKC,YAAvB,CAA1B;IACD;;EAVO,CALyB;EAiBnCC,OAAO,EAAE;IACPC,YAAY,CAAEC,GAAF,EAA0BC,KAA1B,EAAkD;MAC5D,MAAMC,IAAI,GAAG;QACXC,WAAW,EAAE;MADF,CAAb;MAGA,MAAMC,KAAK,GAAG;QACZC,IAAI,EAAE,KAAKC,IADC;QACK,GAAGN,GADR;QACaC;MADb,CAAd;MAIA,MAAMM,QAAQ,GAAG,KAAKZ,gBAAL,CAAsBa,GAAtB,CAA0BjB,QAAQ,IAAI;QACrD,OAAO,KAAKkB,oBAAL,CAA0BT,GAA1B,E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W,IAAI,GAAG;QACXC,WAAW,EAAE,6BADF;QAEXa,EAAE,EAAE,KAAKC,4BAAL,CAAkC,gBAAlC,EAAoDC,CAAC,IAAI;UAC3D,OAAO,KAAKR,gBAAL,CAAsB,KAAKS,YAAL,CAAkB,KAAKkB,mBAAL,CAAyBnB,CAAzB,EAA4BlB,GAA5B,CAAlB,CAAtB,EAA2ET,QAA3E,CAAP;QACD,CAFG;MAFO,CAAb;MAOA,MAAMgB,QAAQ,GAAGrB,OAAO,CAAC,IAAD,EAAO,UAAP,EAAmB,MAAM,KAAKwB,gBAAL,CAAsB,KAAKS,YAAL,CAAkBnB,GAAlB,CAAtB,EAA8CT,QAA9C,CAAzB,CAAxB;MAEA,OAAO,KAAKoB,cAAL,CAAoB,KAApB,EAA2BT,IAA3B,EAAiCK,QAAjC,CAAP;IACD;;EAzGM;AAjB0B,CAAtB,CAAf"}
|
|
1
|
+
{"version":3,"file":"VCalendarCategory.mjs","names":["VCalendarDaily","convertToUnit","getSlot","props","getParsedCategories","extend","name","category","computed","classes","themeClasses","parsedCategories","categories","categoryText","methods","genDayHeader","day","index","data","staticClass","scope","week","days","children","map","genDayHeaderCategory","getCategoryScope","$createElement","cat","categoryName","categoryForInvalid","headerTitle","on","getDefaultMouseEventHandlers","e","getSlotScope","genDayHeaderCategoryTitle","genDays","forEach","d","j","Array","length","fill","push","v","i","genDay","categoryIndex","key","date","class","getRelativeClasses","getTimestampAtEvent","genDayIntervals","genDayBody","intervals","genDayInterval","interval","height","intervalHeight","styler","intervalStyle","intervalStyleDefault","time","style","genDayBodyCategory"],"sources":["../../../src/components/VCalendar/VCalendarCategory.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\n// Styles\nimport './VCalendarCategory.sass'\n\n// Types\nimport { VNode } from 'vue'\n\n// Mixins\nimport VCalendarDaily from './VCalendarDaily'\n\n// Util\nimport { convertToUnit, getSlot } from '../../util/helpers'\nimport { CalendarCategory, CalendarTimestamp } from 'types'\nimport props from './util/props'\nimport { getParsedCategories } from './util/parser'\n\n/* @vue/component */\nexport default VCalendarDaily.extend({\n name: 'v-calendar-category',\n\n props: props.category,\n\n computed: {\n classes (): object {\n return {\n 'v-calendar-daily': true,\n 'v-calendar-category': true,\n ...this.themeClasses,\n }\n },\n parsedCategories (): CalendarCategory[] {\n return getParsedCategories(this.categories, this.categoryText)\n },\n },\n methods: {\n genDayHeader (day: CalendarTimestamp, index: number): VNode[] {\n const data = {\n staticClass: 'v-calendar-category__columns',\n }\n const scope = {\n week: this.days, ...day, index,\n }\n\n const children = this.parsedCategories.map(category => {\n return this.genDayHeaderCategory(day, this.getCategoryScope(scope, category))\n })\n\n return [this.$createElement('div', data, children)]\n },\n getCategoryScope (scope: any, category: CalendarCategory) {\n const cat = typeof category === 'object' && category &&\n category.categoryName === this.categoryForInvalid ? null : category\n return {\n ...scope,\n category: cat,\n }\n },\n genDayHeaderCategory (day: CalendarTimestamp, scope: any): VNode {\n const headerTitle = typeof scope.category === 'object' ? scope.category.categoryName : scope.category\n return this.$createElement('div', {\n staticClass: 'v-calendar-category__column-header',\n on: this.getDefaultMouseEventHandlers(':day-category', e => {\n return this.getCategoryScope(this.getSlotScope(day), scope.category)\n }),\n }, [\n getSlot(this, 'category', scope) || this.genDayHeaderCategoryTitle(headerTitle),\n getSlot(this, 'day-header', scope),\n ])\n },\n genDayHeaderCategoryTitle (categoryName: string | null) {\n return this.$createElement('div', {\n staticClass: 'v-calendar-category__category',\n }, categoryName === null ? this.categoryForInvalid : categoryName)\n },\n genDays (): VNode[] {\n const days: VNode[] = []\n this.days.forEach((d, j) => {\n const day = new Array(this.parsedCategories.length || 1)\n day.fill(d)\n days.push(...day.map((v, i) => this.genDay(v, j, i)))\n })\n return days\n },\n genDay (day: CalendarTimestamp, index: number, categoryIndex: number): VNode {\n const category = this.parsedCategories[categoryIndex]\n return this.$createElement('div', {\n key: day.date + '-' + categoryIndex,\n staticClass: 'v-calendar-daily__day',\n class: this.getRelativeClasses(day),\n on: this.getDefaultMouseEventHandlers(':time', e => {\n return this.getSlotScope(this.getTimestampAtEvent(e, day))\n }),\n }, [\n ...this.genDayIntervals(index, category),\n ...this.genDayBody(day, category),\n ])\n },\n genDayIntervals (index: number, category: CalendarCategory): VNode[] {\n return this.intervals[index].map(v => this.genDayInterval(v, category))\n },\n genDayInterval (interval: CalendarTimestamp, category: CalendarCategory): VNode {\n const height: string | undefined = convertToUnit(this.intervalHeight)\n const styler = this.intervalStyle || this.intervalStyleDefault\n\n const data = {\n key: interval.time,\n staticClass: 'v-calendar-daily__day-interval',\n style: {\n height,\n ...styler({ ...interval, category }),\n },\n }\n\n const children = getSlot(this, 'interval', () =>\n this.getCategoryScope(this.getSlotScope(interval), category)\n )\n\n return this.$createElement('div', data, children)\n },\n genDayBody (day: CalendarTimestamp, category: CalendarCategory): VNode[] {\n const data = {\n staticClass: 'v-calendar-category__columns',\n }\n\n const children = [this.genDayBodyCategory(day, category)]\n\n return [this.$createElement('div', data, children)]\n },\n genDayBodyCategory (day: CalendarTimestamp, category: CalendarCategory): VNode {\n const data = {\n staticClass: 'v-calendar-category__column',\n on: this.getDefaultMouseEventHandlers(':time-category', e => {\n return this.getCategoryScope(this.getSlotScope(this.getTimestampAtEvent(e, day)), category)\n }),\n }\n\n const children = getSlot(this, 'day-body', () => this.getCategoryScope(this.getSlotScope(day), category))\n\n return this.$createElement('div', data, children)\n },\n },\n})\n"],"mappings":"AAAA;AACA;;AAEA;AACA;;AAEA;AAGA;AAAA,OACOA,cAAc,8BAErB;AAAA,SACSC,aAAa,EAAEC,OAAO;AAAA,OAExBC,KAAK;AAAA,SACHC,mBAAmB;AAE5B;AACA,eAAeJ,cAAc,CAACK,MAAM,CAAC;EACnCC,IAAI,EAAE,qBAAqB;EAE3BH,KAAK,EAAEA,KAAK,CAACI,QAAQ;EAErBC,QAAQ,EAAE;IACRC,OAAO,GAAY;MACjB,OAAO;QACL,kBAAkB,EAAE,IAAI;QACxB,qBAAqB,EAAE,IAAI;QAC3B,G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";
|
|
6
6
|
|
|
7
|
+
// Types
|
|
7
8
|
// Directives
|
|
8
9
|
import Resize from "../../directives/resize/index.mjs"; // Components
|
|
9
|
-
|
|
10
10
|
import VBtn from "../VBtn/index.mjs"; // Mixins
|
|
11
|
-
|
|
12
11
|
import CalendarWithIntervals from "./mixins/calendar-with-intervals.mjs"; // Util
|
|
13
|
-
|
|
14
12
|
import { convertToUnit, getSlot } from "../../util/helpers.mjs";
|
|
15
|
-
|
|
16
13
|
/* @vue/component */
|
|
17
14
|
export default CalendarWithIntervals.extend({
|
|
18
15
|
name: 'v-calendar-daily',
|
|
@@ -29,28 +26,22 @@ export default CalendarWithIntervals.extend({
|
|
|
29
26
|
...this.themeClasses
|
|
30
27
|
};
|
|
31
28
|
}
|
|
32
|
-
|
|
33
29
|
},
|
|
34
|
-
|
|
35
30
|
mounted() {
|
|
36
31
|
this.init();
|
|
37
32
|
},
|
|
38
|
-
|
|
39
33
|
methods: {
|
|
40
34
|
init() {
|
|
41
35
|
this.$nextTick(this.onResize);
|
|
42
36
|
},
|
|
43
|
-
|
|
44
37
|
onResize() {
|
|
45
38
|
this.scrollPush = this.getScrollPush();
|
|
46
39
|
},
|
|
47
|
-
|
|
48
40
|
getScrollPush() {
|
|
49
41
|
const area = this.$refs.scrollArea;
|
|
50
42
|
const pane = this.$refs.pane;
|
|
51
43
|
return area && pane ? area.offsetWidth - pane.offsetWidth : 0;
|
|
52
44
|
},
|
|
53
|
-
|
|
54
45
|
genHead() {
|
|
55
46
|
return this.$createElement('div', {
|
|
56
47
|
staticClass: 'v-calendar-daily__head',
|
|
@@ -59,7 +50,6 @@ export default CalendarWithIntervals.extend({
|
|
|
59
50
|
}
|
|
60
51
|
}, [this.genHeadIntervals(), ...this.genHeadDays()]);
|
|
61
52
|
},
|
|
62
|
-
|
|
63
53
|
genHeadIntervals() {
|
|
64
54
|
const width = convertToUnit(this.intervalWidth);
|
|
65
55
|
return this.$createElement('div', {
|
|
@@ -69,11 +59,9 @@ export default CalendarWithIntervals.extend({
|
|
|
69
59
|
}
|
|
70
60
|
}, getSlot(this, 'interval-header'));
|
|
71
61
|
},
|
|
72
|
-
|
|
73
62
|
genHeadDays() {
|
|
74
63
|
return this.days.map(this.genHeadDay);
|
|
75
64
|
},
|
|
76
|
-
|
|
77
65
|
genHeadDay(day, index) {
|
|
78
66
|
return this.$createElement('div', {
|
|
79
67
|
key: day.date,
|
|
@@ -84,7 +72,6 @@ export default CalendarWithIntervals.extend({
|
|
|
84
72
|
})
|
|
85
73
|
}, [this.genHeadWeekday(day), this.genHeadDayLabel(day), ...this.genDayHeader(day, index)]);
|
|
86
74
|
},
|
|
87
|
-
|
|
88
75
|
genDayHeader(day, index) {
|
|
89
76
|
return getSlot(this, 'day-header', () => ({
|
|
90
77
|
week: this.days,
|
|
@@ -92,20 +79,17 @@ export default CalendarWithIntervals.extend({
|
|
|
92
79
|
index
|
|
93
80
|
})) || [];
|
|
94
81
|
},
|
|
95
|
-
|
|
96
82
|
genHeadWeekday(day) {
|
|
97
83
|
const color = day.present ? this.color : undefined;
|
|
98
84
|
return this.$createElement('div', this.setTextColor(color, {
|
|
99
85
|
staticClass: 'v-calendar-daily_head-weekday'
|
|
100
86
|
}), this.weekdayFormatter(day, this.shortWeekdays));
|
|
101
87
|
},
|
|
102
|
-
|
|
103
88
|
genHeadDayLabel(day) {
|
|
104
89
|
return this.$createElement('div', {
|
|
105
90
|
staticClass: 'v-calendar-daily_head-day-label'
|
|
106
91
|
}, getSlot(this, 'day-label-header', day) || [this.genHeadDayButton(day)]);
|
|
107
92
|
},
|
|
108
|
-
|
|
109
93
|
genHeadDayButton(day) {
|
|
110
94
|
const color = day.present ? this.color : 'transparent';
|
|
111
95
|
return this.$createElement(VBtn, {
|
|
@@ -130,20 +114,17 @@ export default CalendarWithIntervals.extend({
|
|
|
130
114
|
})
|
|
131
115
|
}, this.dayFormatter(day, false));
|
|
132
116
|
},
|
|
133
|
-
|
|
134
117
|
genBody() {
|
|
135
118
|
return this.$createElement('div', {
|
|
136
119
|
staticClass: 'v-calendar-daily__body'
|
|
137
120
|
}, [this.genScrollArea()]);
|
|
138
121
|
},
|
|
139
|
-
|
|
140
122
|
genScrollArea() {
|
|
141
123
|
return this.$createElement('div', {
|
|
142
124
|
ref: 'scrollArea',
|
|
143
125
|
staticClass: 'v-calendar-daily__scroll-area'
|
|
144
126
|
}, [this.genPane()]);
|
|
145
127
|
},
|
|
146
|
-
|
|
147
128
|
genPane() {
|
|
148
129
|
return this.$createElement('div', {
|
|
149
130
|
ref: 'pane',
|
|
@@ -153,17 +134,14 @@ export default CalendarWithIntervals.extend({
|
|
|
153
134
|
}
|
|
154
135
|
}, [this.genDayContainer()]);
|
|
155
136
|
},
|
|
156
|
-
|
|
157
137
|
genDayContainer() {
|
|
158
138
|
return this.$createElement('div', {
|
|
159
139
|
staticClass: 'v-calendar-daily__day-container'
|
|
160
140
|
}, [this.genBodyIntervals(), ...this.genDays()]);
|
|
161
141
|
},
|
|
162
|
-
|
|
163
142
|
genDays() {
|
|
164
143
|
return this.days.map(this.genDay);
|
|
165
144
|
},
|
|
166
|
-
|
|
167
145
|
genDay(day, index) {
|
|
168
146
|
return this.$createElement('div', {
|
|
169
147
|
key: day.date,
|
|
@@ -174,15 +152,12 @@ export default CalendarWithIntervals.extend({
|
|
|
174
152
|
})
|
|
175
153
|
}, [...this.genDayIntervals(index), ...this.genDayBody(day)]);
|
|
176
154
|
},
|
|
177
|
-
|
|
178
155
|
genDayBody(day) {
|
|
179
156
|
return getSlot(this, 'day-body', () => this.getSlotScope(day)) || [];
|
|
180
157
|
},
|
|
181
|
-
|
|
182
158
|
genDayIntervals(index) {
|
|
183
159
|
return this.intervals[index].map(this.genDayInterval);
|
|
184
160
|
},
|
|
185
|
-
|
|
186
161
|
genDayInterval(interval) {
|
|
187
162
|
const height = convertToUnit(this.intervalHeight);
|
|
188
163
|
const styler = this.intervalStyle || this.intervalStyleDefault;
|
|
@@ -197,7 +172,6 @@ export default CalendarWithIntervals.extend({
|
|
|
197
172
|
const children = getSlot(this, 'interval', () => this.getSlotScope(interval));
|
|
198
173
|
return this.$createElement('div', data, children);
|
|
199
174
|
},
|
|
200
|
-
|
|
201
175
|
genBodyIntervals() {
|
|
202
176
|
const width = convertToUnit(this.intervalWidth);
|
|
203
177
|
const data = {
|
|
@@ -211,12 +185,10 @@ export default CalendarWithIntervals.extend({
|
|
|
211
185
|
};
|
|
212
186
|
return this.$createElement('div', data, this.genIntervalLabels());
|
|
213
187
|
},
|
|
214
|
-
|
|
215
188
|
genIntervalLabels() {
|
|
216
189
|
if (!this.intervals.length) return null;
|
|
217
190
|
return this.intervals[0].map(this.genIntervalLabel);
|
|
218
191
|
},
|
|
219
|
-
|
|
220
192
|
genIntervalLabel(interval) {
|
|
221
193
|
const height = convertToUnit(this.intervalHeight);
|
|
222
194
|
const short = this.shortIntervals;
|
|
@@ -233,9 +205,7 @@ export default CalendarWithIntervals.extend({
|
|
|
233
205
|
staticClass: 'v-calendar-daily__interval-text'
|
|
234
206
|
}, label)]);
|
|
235
207
|
}
|
|
236
|
-
|
|
237
208
|
},
|
|
238
|
-
|
|
239
209
|
render(h) {
|
|
240
210
|
return h('div', {
|
|
241
211
|
class: this.classes,
|
|
@@ -253,6 +223,5 @@ export default CalendarWithIntervals.extend({
|
|
|
253
223
|
}]
|
|
254
224
|
}, [!this.hideHeader ? this.genHead() : '', this.genBody()]);
|
|
255
225
|
}
|
|
256
|
-
|
|
257
226
|
});
|
|
258
227
|
//# sourceMappingURL=VCalendarDaily.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VCalendarDaily.mjs","names":["Resize","VBtn","CalendarWithIntervals","convertToUnit","getSlot","extend","name","directives","data","scrollPush","computed","classes","themeClasses","mounted","init","methods","$nextTick","onResize","getScrollPush","area","$refs","scrollArea","pane","offsetWidth","genHead","$createElement","staticClass","style","marginRight","genHeadIntervals","genHeadDays","width","intervalWidth","days","map","genHeadDay","day","index","key","date","class","getRelativeClasses","on","getDefaultMouseEventHandlers","_e","getSlotScope","genHeadWeekday","genHeadDayLabel","genDayHeader","week","color","present","undefined","setTextColor","weekdayFormatter","shortWeekdays","genHeadDayButton","props","fab","depressed","getMouseEventHandlers","event","stop","prevent","result","dayFormatter","genBody","genScrollArea","ref","genPane","height","bodyHeight","genDayContainer","genBodyIntervals","genDays","genDay","e","getTimestampAtEvent","genDayIntervals","genDayBody","intervals","genDayInterval","interval","intervalHeight","styler","intervalStyle","intervalStyleDefault","time","children","parsedStart","genIntervalLabels","length","genIntervalLabel","short","shortIntervals","shower","showIntervalLabel","showIntervalLabelDefault","show","label","intervalFormatter","render","h","dragstart","preventDefault","modifiers","quiet","value","hideHeader"],"sources":["../../../src/components/VCalendar/VCalendarDaily.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\n// Styles\nimport './VCalendarDaily.sass'\n\n// Types\nimport { VNode } from 'vue'\n\n// Directives\nimport Resize from '../../directives/resize'\n\n// Components\nimport VBtn from '../VBtn'\n\n// Mixins\nimport CalendarWithIntervals from './mixins/calendar-with-intervals'\n\n// Util\nimport { convertToUnit, getSlot } from '../../util/helpers'\nimport { CalendarTimestamp } from 'vuetify/types'\n\n/* @vue/component */\nexport default CalendarWithIntervals.extend({\n name: 'v-calendar-daily',\n\n directives: { Resize },\n\n data: () => ({\n scrollPush: 0,\n }),\n\n computed: {\n classes (): object {\n return {\n 'v-calendar-daily': true,\n ...this.themeClasses,\n }\n },\n },\n\n mounted () {\n this.init()\n },\n\n methods: {\n init () {\n this.$nextTick(this.onResize)\n },\n onResize () {\n this.scrollPush = this.getScrollPush()\n },\n getScrollPush (): number {\n const area = this.$refs.scrollArea as HTMLElement\n const pane = this.$refs.pane as HTMLElement\n\n return area && pane ? (area.offsetWidth - pane.offsetWidth) : 0\n },\n genHead (): VNode {\n return this.$createElement('div', {\n staticClass: 'v-calendar-daily__head',\n style: {\n marginRight: this.scrollPush + 'px',\n },\n }, [\n this.genHeadIntervals(),\n ...this.genHeadDays(),\n ])\n },\n genHeadIntervals (): VNode {\n const width: string | undefined = convertToUnit(this.intervalWidth)\n\n return this.$createElement('div', {\n staticClass: 'v-calendar-daily__intervals-head',\n style: {\n width,\n },\n }, getSlot(this, 'interval-header'))\n },\n genHeadDays (): VNode[] {\n return this.days.map(this.genHeadDay)\n },\n genHeadDay (day: CalendarTimestamp, index: number): VNode {\n return this.$createElement('div', {\n key: day.date,\n staticClass: 'v-calendar-daily_head-day',\n class: this.getRelativeClasses(day),\n on: this.getDefaultMouseEventHandlers(':day', _e => {\n return this.getSlotScope(day)\n }),\n }, [\n this.genHeadWeekday(day),\n this.genHeadDayLabel(day),\n ...this.genDayHeader(day, index),\n ])\n },\n genDayHeader (day: CalendarTimestamp, index: number): VNode[] {\n return getSlot(this, 'day-header', () => ({\n week: this.days, ...day, index,\n })) || []\n },\n genHeadWeekday (day: CalendarTimestamp): VNode {\n const color = day.present ? this.color : undefined\n\n return this.$createElement('div', this.setTextColor(color, {\n staticClass: 'v-calendar-daily_head-weekday',\n }), this.weekdayFormatter(day, this.shortWeekdays))\n },\n genHeadDayLabel (day: CalendarTimestamp): VNode {\n return this.$createElement('div', {\n staticClass: 'v-calendar-daily_head-day-label',\n }, getSlot(this, 'day-label-header', day) || [this.genHeadDayButton(day)])\n },\n genHeadDayButton (day: CalendarTimestamp): VNode {\n const color = day.present ? this.color : 'transparent'\n\n return this.$createElement(VBtn, {\n props: {\n color,\n fab: true,\n depressed: true,\n },\n on: this.getMouseEventHandlers({\n 'click:date': { event: 'click', stop: true },\n 'contextmenu:date': { event: 'contextmenu', stop: true, prevent: true, result: false },\n }, _e => {\n return day\n }),\n }, this.dayFormatter(day, false))\n },\n genBody (): VNode {\n return this.$createElement('div', {\n staticClass: 'v-calendar-daily__body',\n }, [\n this.genScrollArea(),\n ])\n },\n genScrollArea (): VNode {\n return this.$createElement('div', {\n ref: 'scrollArea',\n staticClass: 'v-calendar-daily__scroll-area',\n }, [\n this.genPane(),\n ])\n },\n genPane (): VNode {\n return this.$createElement('div', {\n ref: 'pane',\n staticClass: 'v-calendar-daily__pane',\n style: {\n height: convertToUnit(this.bodyHeight),\n },\n }, [\n this.genDayContainer(),\n ])\n },\n genDayContainer (): VNode {\n return this.$createElement('div', {\n staticClass: 'v-calendar-daily__day-container',\n }, [\n this.genBodyIntervals(),\n ...this.genDays(),\n ])\n },\n genDays (): VNode[] {\n return this.days.map(this.genDay)\n },\n genDay (day: CalendarTimestamp, index: number): VNode {\n return this.$createElement('div', {\n key: day.date,\n staticClass: 'v-calendar-daily__day',\n class: this.getRelativeClasses(day),\n on: this.getDefaultMouseEventHandlers(':time', e => {\n return this.getSlotScope(this.getTimestampAtEvent(e, day))\n }),\n }, [\n ...this.genDayIntervals(index),\n ...this.genDayBody(day),\n ])\n },\n genDayBody (day: CalendarTimestamp): VNode[] {\n return getSlot(this, 'day-body', () => this.getSlotScope(day)) || []\n },\n genDayIntervals (index: number): VNode[] {\n return this.intervals[index].map(this.genDayInterval)\n },\n genDayInterval (interval: CalendarTimestamp): VNode {\n const height: string | undefined = convertToUnit(this.intervalHeight)\n const styler = this.intervalStyle || this.intervalStyleDefault\n\n const data = {\n key: interval.time,\n staticClass: 'v-calendar-daily__day-interval',\n style: {\n height,\n ...styler(interval),\n },\n }\n\n const children = getSlot(this, 'interval', () => this.getSlotScope(interval))\n\n return this.$createElement('div', data, children)\n },\n genBodyIntervals (): VNode {\n const width: string | undefined = convertToUnit(this.intervalWidth)\n const data = {\n staticClass: 'v-calendar-daily__intervals-body',\n style: {\n width,\n },\n on: this.getDefaultMouseEventHandlers(':interval', e => {\n return this.getTimestampAtEvent(e, this.parsedStart)\n }),\n }\n\n return this.$createElement('div', data, this.genIntervalLabels())\n },\n genIntervalLabels (): VNode[] | null {\n if (!this.intervals.length) return null\n\n return this.intervals[0].map(this.genIntervalLabel)\n },\n genIntervalLabel (interval: CalendarTimestamp): VNode {\n const height: string | undefined = convertToUnit(this.intervalHeight)\n const short: boolean = this.shortIntervals\n const shower = this.showIntervalLabel || this.showIntervalLabelDefault\n const show = shower(interval)\n const label = show ? this.intervalFormatter(interval, short) : undefined\n\n return this.$createElement('div', {\n key: interval.time,\n staticClass: 'v-calendar-daily__interval',\n style: {\n height,\n },\n }, [\n this.$createElement('div', {\n staticClass: 'v-calendar-daily__interval-text',\n }, label),\n ])\n },\n },\n\n render (h): VNode {\n return h('div', {\n class: this.classes,\n on: {\n dragstart: (e: MouseEvent) => {\n e.preventDefault()\n },\n },\n directives: [{\n modifiers: { quiet: true },\n name: 'resize',\n value: this.onResize,\n }],\n }, [\n !this.hideHeader ? this.genHead() : '',\n this.genBody(),\n ])\n },\n})\n"],"mappings":"AAAA;;AACA;AAEA;AACA,8B,CAEA;;AAGA;OACOA,M,2CAEP;;OACOC,I,2BAEP;;OACOC,qB,8CAEP;;SACSC,a,EAAeC,O;;AAGxB;AACA,eAAeF,qBAAqB,CAACG,MAAtB,CAA6B;EAC1CC,IAAI,EAAE,kBADoC;EAG1CC,UAAU,EAAE;IAAEP;EAAF,CAH8B;EAK1CQ,IAAI,EAAE,OAAO;IACXC,UAAU,EAAE;EADD,CAAP,CALoC;EAS1CC,QAAQ,EAAE;IACRC,OAAO,GAAY;MACjB,OAAO;QACL,oBAAoB,IADf;QAEL,GAAG,KAAKC;MAFH,CAAP;IAID;;EANO,CATgC;;EAkB1CC,OAAO,GAAI;IACT,KAAKC,IAAL;EACD,CApByC;;EAsB1CC,OAAO,EAAE;IACPD,IAAI,GAAI;MACN,KAAKE,SAAL,CAAe,KAAKC,QAApB;IACD,CAHM;;IAIPA,QAAQ,GAAI;MACV,KAAKR,UAAL,GAAkB,KAAKS,aAAL,EAAlB;IACD,CANM;;IAOPA,aAAa,GAAY;MACvB,MAAMC,IAAI,GAAG,KAAKC,KAAL,CAAWC,UAAxB;MACA,MAAMC,IAAI,GAAG,KAAKF,KAAL,CAAWE,IAAxB;MAEA,OAAOH,IAAI,IAAIG,IAAR,GAAgBH,IAAI,CAACI,WAAL,GAAm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AApB,EAA2B;QACzBC,WAAW,EAAE;MADY,CAA3B,EAEGyE,KAFH,CADC,CANI,CAAP;IAWD;;EAnMM,CAtBiC;;EA4N1CE,MAAM,CAAEC,CAAF,EAAY;IAChB,OAAOA,CAAC,CAAC,KAAD,EAAQ;MACd9D,KAAK,EAAE,KAAK7B,OADE;MAEd+B,EAAE,EAAE;QACF6D,SAAS,EAAG3B,CAAD,IAAmB;UAC5BA,CAAC,CAAC4B,cAAF;QACD;MAHC,CAFU;MAOdjG,UAAU,EAAE,CAAC;QACXkG,SAAS,EAAE;UAAEC,KAAK,EAAE;QAAT,CADA;QAEXpG,IAAI,EAAE,QAFK;QAGXqG,KAAK,EAAE,KAAK1F;MAHD,CAAD;IAPE,CAAR,EAYL,CACD,CAAC,KAAK2F,UAAN,GAAmB,KAAKpF,OAAL,EAAnB,GAAoC,EADnC,EAED,KAAK0C,OAAL,EAFC,CAZK,CAAR;EAgBD;;AA7OyC,CAA7B,CAAf"}
|
|
1
|
+
{"version":3,"file":"VCalendarDaily.mjs","names":["Resize","VBtn","CalendarWithIntervals","convertToUnit","getSlot","extend","name","directives","data","scrollPush","computed","classes","themeClasses","mounted","init","methods","$nextTick","onResize","getScrollPush","area","$refs","scrollArea","pane","offsetWidth","genHead","$createElement","staticClass","style","marginRight","genHeadIntervals","genHeadDays","width","intervalWidth","days","map","genHeadDay","day","index","key","date","class","getRelativeClasses","on","getDefaultMouseEventHandlers","_e","getSlotScope","genHeadWeekday","genHeadDayLabel","genDayHeader","week","color","present","undefined","setTextColor","weekdayFormatter","shortWeekdays","genHeadDayButton","props","fab","depressed","getMouseEventHandlers","event","stop","prevent","result","dayFormatter","genBody","genScrollArea","ref","genPane","height","bodyHeight","genDayContainer","genBodyIntervals","genDays","genDay","e","getTimestampAtEvent","genDayIntervals","genDayBody","intervals","genDayInterval","interval","intervalHeight","styler","intervalStyle","intervalStyleDefault","time","children","parsedStart","genIntervalLabels","length","genIntervalLabel","short","shortIntervals","shower","showIntervalLabel","showIntervalLabelDefault","show","label","intervalFormatter","render","h","dragstart","preventDefault","modifiers","quiet","value","hideHeader"],"sources":["../../../src/components/VCalendar/VCalendarDaily.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\n// Styles\nimport './VCalendarDaily.sass'\n\n// Types\nimport { VNode } from 'vue'\n\n// Directives\nimport Resize from '../../directives/resize'\n\n// Components\nimport VBtn from '../VBtn'\n\n// Mixins\nimport CalendarWithIntervals from './mixins/calendar-with-intervals'\n\n// Util\nimport { convertToUnit, getSlot } from '../../util/helpers'\nimport { CalendarTimestamp } from 'vuetify/types'\n\n/* @vue/component */\nexport default CalendarWithIntervals.extend({\n name: 'v-calendar-daily',\n\n directives: { Resize },\n\n data: () => ({\n scrollPush: 0,\n }),\n\n computed: {\n classes (): object {\n return {\n 'v-calendar-daily': true,\n ...this.themeClasses,\n }\n },\n },\n\n mounted () {\n this.init()\n },\n\n methods: {\n init () {\n this.$nextTick(this.onResize)\n },\n onResize () {\n this.scrollPush = this.getScrollPush()\n },\n getScrollPush (): number {\n const area = this.$refs.scrollArea as HTMLElement\n const pane = this.$refs.pane as HTMLElement\n\n return area && pane ? (area.offsetWidth - pane.offsetWidth) : 0\n },\n genHead (): VNode {\n return this.$createElement('div', {\n staticClass: 'v-calendar-daily__head',\n style: {\n marginRight: this.scrollPush + 'px',\n },\n }, [\n this.genHeadIntervals(),\n ...this.genHeadDays(),\n ])\n },\n genHeadIntervals (): VNode {\n const width: string | undefined = convertToUnit(this.intervalWidth)\n\n return this.$createElement('div', {\n staticClass: 'v-calendar-daily__intervals-head',\n style: {\n width,\n },\n }, getSlot(this, 'interval-header'))\n },\n genHeadDays (): VNode[] {\n return this.days.map(this.genHeadDay)\n },\n genHeadDay (day: CalendarTimestamp, index: number): VNode {\n return this.$createElement('div', {\n key: day.date,\n staticClass: 'v-calendar-daily_head-day',\n class: this.getRelativeClasses(day),\n on: this.getDefaultMouseEventHandlers(':day', _e => {\n return this.getSlotScope(day)\n }),\n }, [\n this.genHeadWeekday(day),\n this.genHeadDayLabel(day),\n ...this.genDayHeader(day, index),\n ])\n },\n genDayHeader (day: CalendarTimestamp, index: number): VNode[] {\n return getSlot(this, 'day-header', () => ({\n week: this.days, ...day, index,\n })) || []\n },\n genHeadWeekday (day: CalendarTimestamp): VNode {\n const color = day.present ? this.color : undefined\n\n return this.$createElement('div', this.setTextColor(color, {\n staticClass: 'v-calendar-daily_head-weekday',\n }), this.weekdayFormatter(day, this.shortWeekdays))\n },\n genHeadDayLabel (day: CalendarTimestamp): VNode {\n return this.$createElement('div', {\n staticClass: 'v-calendar-daily_head-day-label',\n }, getSlot(this, 'day-label-header', day) || [this.genHeadDayButton(day)])\n },\n genHeadDayButton (day: CalendarTimestamp): VNode {\n const color = day.present ? this.color : 'transparent'\n\n return this.$createElement(VBtn, {\n props: {\n color,\n fab: true,\n depressed: true,\n },\n on: this.getMouseEventHandlers({\n 'click:date': { event: 'click', stop: true },\n 'contextmenu:date': { event: 'contextmenu', stop: true, prevent: true, result: false },\n }, _e => {\n return day\n }),\n }, this.dayFormatter(day, false))\n },\n genBody (): VNode {\n return this.$createElement('div', {\n staticClass: 'v-calendar-daily__body',\n }, [\n this.genScrollArea(),\n ])\n },\n genScrollArea (): VNode {\n return this.$createElement('div', {\n ref: 'scrollArea',\n staticClass: 'v-calendar-daily__scroll-area',\n }, [\n this.genPane(),\n ])\n },\n genPane (): VNode {\n return this.$createElement('div', {\n ref: 'pane',\n staticClass: 'v-calendar-daily__pane',\n style: {\n height: convertToUnit(this.bodyHeight),\n },\n }, [\n this.genDayContainer(),\n ])\n },\n genDayContainer (): VNode {\n return this.$createElement('div', {\n staticClass: 'v-calendar-daily__day-container',\n }, [\n this.genBodyIntervals(),\n ...this.genDays(),\n ])\n },\n genDays (): VNode[] {\n return this.days.map(this.genDay)\n },\n genDay (day: CalendarTimestamp, index: number): VNode {\n return this.$createElement('div', {\n key: day.date,\n staticClass: 'v-calendar-daily__day',\n class: this.getRelativeClasses(day),\n on: this.getDefaultMouseEventHandlers(':time', e => {\n return this.getSlotScope(this.getTimestampAtEvent(e, day))\n }),\n }, [\n ...this.genDayIntervals(index),\n ...this.genDayBody(day),\n ])\n },\n genDayBody (day: CalendarTimestamp): VNode[] {\n return getSlot(this, 'day-body', () => this.getSlotScope(day)) || []\n },\n genDayIntervals (index: number): VNode[] {\n return this.intervals[index].map(this.genDayInterval)\n },\n genDayInterval (interval: CalendarTimestamp): VNode {\n const height: string | undefined = convertToUnit(this.intervalHeight)\n const styler = this.intervalStyle || this.intervalStyleDefault\n\n const data = {\n key: interval.time,\n staticClass: 'v-calendar-daily__day-interval',\n style: {\n height,\n ...styler(interval),\n },\n }\n\n const children = getSlot(this, 'interval', () => this.getSlotScope(interval))\n\n return this.$createElement('div', data, children)\n },\n genBodyIntervals (): VNode {\n const width: string | undefined = convertToUnit(this.intervalWidth)\n const data = {\n staticClass: 'v-calendar-daily__intervals-body',\n style: {\n width,\n },\n on: this.getDefaultMouseEventHandlers(':interval', e => {\n return this.getTimestampAtEvent(e, this.parsedStart)\n }),\n }\n\n return this.$createElement('div', data, this.genIntervalLabels())\n },\n genIntervalLabels (): VNode[] | null {\n if (!this.intervals.length) return null\n\n return this.intervals[0].map(this.genIntervalLabel)\n },\n genIntervalLabel (interval: CalendarTimestamp): VNode {\n const height: string | undefined = convertToUnit(this.intervalHeight)\n const short: boolean = this.shortIntervals\n const shower = this.showIntervalLabel || this.showIntervalLabelDefault\n const show = shower(interval)\n const label = show ? this.intervalFormatter(interval, short) : undefined\n\n return this.$createElement('div', {\n key: interval.time,\n staticClass: 'v-calendar-daily__interval',\n style: {\n height,\n },\n }, [\n this.$createElement('div', {\n staticClass: 'v-calendar-daily__interval-text',\n }, label),\n ])\n },\n },\n\n render (h): VNode {\n return h('div', {\n class: this.classes,\n on: {\n dragstart: (e: MouseEvent) => {\n e.preventDefault()\n },\n },\n directives: [{\n modifiers: { quiet: true },\n name: 'resize',\n value: this.onResize,\n }],\n }, [\n !this.hideHe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+B,EAAE,EAAE;QACF6D,SAAS,EAAG3B,CAAa,IAAK;UAC5BA,CAAC,CAAC4B,cAAc,EAAE;QACpB;MACF,CAAC;MACDjG,UAAU,EAAE,CAAC;QACXkG,SAAS,EAAE;UAAEC,KAAK,EAAE;QAAK,CAAC;QAC1BpG,IAAI,EAAE,QAAQ;QACdqG,KAAK,EAAE,IAAI,CAAC1F;MACd,CAAC;IACH,CAAC,EAAE,CACD,CAAC,IAAI,CAAC2F,UAAU,GAAG,IAAI,CAACpF,OAAO,EAAE,GAAG,EAAE,EACtC,IAAI,CAAC0C,OAAO,EAAE,CACf,CAAC;EACJ;AACF,CAAC,CAAC"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
|
|
3
2
|
/* eslint-disable */
|
|
3
|
+
|
|
4
4
|
// Styles
|
|
5
|
-
import "./VCalendarWeekly.css";
|
|
5
|
+
import "./VCalendarWeekly.css";
|
|
6
6
|
|
|
7
|
+
// Mixins
|
|
7
8
|
import VCalendarWeekly from "./VCalendarWeekly.mjs"; // Util
|
|
8
|
-
|
|
9
9
|
import { parseTimestamp, getStartOfMonth, getEndOfMonth } from "./util/timestamp.mjs";
|
|
10
|
-
|
|
11
10
|
/* @vue/component */
|
|
12
11
|
export default VCalendarWeekly.extend({
|
|
13
12
|
name: 'v-calendar-monthly',
|
|
@@ -15,15 +14,12 @@ export default VCalendarWeekly.extend({
|
|
|
15
14
|
staticClass() {
|
|
16
15
|
return 'v-calendar-monthly v-calendar-weekly';
|
|
17
16
|
},
|
|
18
|
-
|
|
19
17
|
parsedStart() {
|
|
20
18
|
return getStartOfMonth(parseTimestamp(this.start, true));
|
|
21
19
|
},
|
|
22
|
-
|
|
23
20
|
parsedEnd() {
|
|
24
21
|
return getEndOfMonth(parseTimestamp(this.end, true));
|
|
25
22
|
}
|
|
26
|
-
|
|
27
23
|
}
|
|
28
24
|
});
|
|
29
25
|
//# sourceMappingURL=VCalendarMonthly.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VCalendarMonthly.mjs","names":["VCalendarWeekly","parseTimestamp","getStartOfMonth","getEndOfMonth","extend","name","computed","staticClass","parsedStart","start","parsedEnd","end"],"sources":["../../../src/components/VCalendar/VCalendarMonthly.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\n// Styles\nimport './VCalendarWeekly.sass'\n\n// Mixins\nimport VCalendarWeekly from './VCalendarWeekly'\n\n// Util\nimport { parseTimestamp, getStartOfMonth, getEndOfMonth } from './util/timestamp'\nimport { CalendarTimestamp } from 'vuetify/types'\n\n/* @vue/component */\nexport default VCalendarWeekly.extend({\n name: 'v-calendar-monthly',\n\n computed: {\n staticClass (): string {\n return 'v-calendar-monthly v-calendar-weekly'\n },\n parsedStart (): CalendarTimestamp {\n return getStartOfMonth(parseTimestamp(this.start, true))\n },\n parsedEnd (): CalendarTimestamp {\n return getEndOfMonth(parseTimestamp(this.end, true))\n },\n },\n\n})\n"],"mappings":"AAAA;;AACA
|
|
1
|
+
{"version":3,"file":"VCalendarMonthly.mjs","names":["VCalendarWeekly","parseTimestamp","getStartOfMonth","getEndOfMonth","extend","name","computed","staticClass","parsedStart","start","parsedEnd","end"],"sources":["../../../src/components/VCalendar/VCalendarMonthly.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\n// Styles\nimport './VCalendarWeekly.sass'\n\n// Mixins\nimport VCalendarWeekly from './VCalendarWeekly'\n\n// Util\nimport { parseTimestamp, getStartOfMonth, getEndOfMonth } from './util/timestamp'\nimport { CalendarTimestamp } from 'vuetify/types'\n\n/* @vue/component */\nexport default VCalendarWeekly.extend({\n name: 'v-calendar-monthly',\n\n computed: {\n staticClass (): string {\n return 'v-calendar-monthly v-calendar-weekly'\n },\n parsedStart (): CalendarTimestamp {\n return getStartOfMonth(parseTimestamp(this.start, true))\n },\n parsedEnd (): CalendarTimestamp {\n return getEndOfMonth(parseTimestamp(this.end, true))\n },\n },\n\n})\n"],"mappings":"AAAA;AACA;;AAEA;AACA;;AAEA;AAAA,OACOA,eAAe,+BAEtB;AAAA,SACSC,cAAc,EAAEC,eAAe,EAAEC,aAAa;AAGvD;AACA,eAAeH,eAAe,CAACI,MAAM,CAAC;EACpCC,IAAI,EAAE,oBAAoB;EAE1BC,QAAQ,EAAE;IACRC,WAAW,GAAY;MACrB,OAAO,sCAAsC;IAC/C,CAAC;IACDC,WAAW,GAAuB;MAChC,OAAON,eAAe,CAACD,cAAc,CAAC,IAAI,CAACQ,KAAK,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;IACDC,SAAS,GAAuB;MAC9B,OAAOP,aAAa,CAACF,cAAc,CAAC,IAAI,CAACU,GAAG,EAAE,IAAI,CAAC,CAAC;IACtD;EACF;AAEF,CAAC,CAAC"}
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
|
|
3
2
|
/* eslint-disable */
|
|
3
|
+
|
|
4
4
|
// Styles
|
|
5
|
-
import "./VCalendarWeekly.css";
|
|
5
|
+
import "./VCalendarWeekly.css";
|
|
6
6
|
|
|
7
|
+
// Types
|
|
7
8
|
// Components
|
|
8
9
|
import VBtn from "../VBtn/index.mjs"; // Mixins
|
|
9
|
-
|
|
10
10
|
import CalendarBase from "./mixins/calendar-base.mjs"; // Util
|
|
11
|
-
|
|
12
11
|
import { getSlot } from "../../util/helpers.mjs";
|
|
13
12
|
import { weekNumber } from "../../util/dateTimeUtils.mjs";
|
|
14
13
|
import props from "./util/props.mjs";
|
|
15
14
|
import { createDayList, getDayIdentifier, createNativeLocaleFormatter } from "./util/timestamp.mjs";
|
|
16
|
-
|
|
17
15
|
/* @vue/component */
|
|
18
16
|
export default CalendarBase.extend({
|
|
19
17
|
name: 'v-calendar-weekly',
|
|
@@ -22,34 +20,28 @@ export default CalendarBase.extend({
|
|
|
22
20
|
staticClass() {
|
|
23
21
|
return 'v-calendar-weekly';
|
|
24
22
|
},
|
|
25
|
-
|
|
26
23
|
classes() {
|
|
27
24
|
return this.themeClasses;
|
|
28
25
|
},
|
|
29
|
-
|
|
30
26
|
parsedMinWeeks() {
|
|
31
27
|
return parseInt(this.minWeeks);
|
|
32
28
|
},
|
|
33
|
-
|
|
34
29
|
days() {
|
|
35
30
|
const minDays = this.parsedMinWeeks * this.parsedWeekdays.length;
|
|
36
31
|
const start = this.getStartOfWeek(this.parsedStart);
|
|
37
32
|
const end = this.getEndOfWeek(this.parsedEnd);
|
|
38
33
|
return createDayList(start, end, this.times.today, this.weekdaySkips, Number.MAX_SAFE_INTEGER, minDays);
|
|
39
34
|
},
|
|
40
|
-
|
|
41
35
|
todayWeek() {
|
|
42
36
|
const today = this.times.today;
|
|
43
37
|
const start = this.getStartOfWeek(today);
|
|
44
38
|
const end = this.getEndOfWeek(today);
|
|
45
39
|
return createDayList(start, end, today, this.weekdaySkips, this.parsedWeekdays.length, this.parsedWeekdays.length);
|
|
46
40
|
},
|
|
47
|
-
|
|
48
41
|
monthFormatter() {
|
|
49
42
|
if (this.monthFormat) {
|
|
50
43
|
return this.monthFormat;
|
|
51
44
|
}
|
|
52
|
-
|
|
53
45
|
const longOptions = {
|
|
54
46
|
timeZone: 'UTC',
|
|
55
47
|
month: 'long'
|
|
@@ -60,32 +52,26 @@ export default CalendarBase.extend({
|
|
|
60
52
|
};
|
|
61
53
|
return createNativeLocaleFormatter(this.currentLocale, (_tms, short) => short ? shortOptions : longOptions);
|
|
62
54
|
}
|
|
63
|
-
|
|
64
55
|
},
|
|
65
56
|
methods: {
|
|
66
57
|
isOutside(day) {
|
|
67
58
|
const dayIdentifier = getDayIdentifier(day);
|
|
68
59
|
return dayIdentifier < getDayIdentifier(this.parsedStart) || dayIdentifier > getDayIdentifier(this.parsedEnd);
|
|
69
60
|
},
|
|
70
|
-
|
|
71
61
|
genHead() {
|
|
72
62
|
return this.$createElement('div', {
|
|
73
63
|
staticClass: 'v-calendar-weekly__head'
|
|
74
64
|
}, this.genHeadDays());
|
|
75
65
|
},
|
|
76
|
-
|
|
77
66
|
genHeadDays() {
|
|
78
67
|
const header = this.todayWeek.map(this.genHeadDay);
|
|
79
|
-
|
|
80
68
|
if (this.showWeek) {
|
|
81
69
|
header.unshift(this.$createElement('div', {
|
|
82
70
|
staticClass: 'v-calendar-weekly__head-weeknumber'
|
|
83
71
|
}));
|
|
84
72
|
}
|
|
85
|
-
|
|
86
73
|
return header;
|
|
87
74
|
},
|
|
88
|
-
|
|
89
75
|
genHeadDay(day, index) {
|
|
90
76
|
const outside = this.isOutside(this.days[index]);
|
|
91
77
|
const color = day.present ? this.color : undefined;
|
|
@@ -95,42 +81,33 @@ export default CalendarBase.extend({
|
|
|
95
81
|
class: this.getRelativeClasses(day, outside)
|
|
96
82
|
}), this.weekdayFormatter(day, this.shortWeekdays));
|
|
97
83
|
},
|
|
98
|
-
|
|
99
84
|
genWeeks() {
|
|
100
85
|
const days = this.days;
|
|
101
86
|
const weekDays = this.parsedWeekdays.length;
|
|
102
87
|
const weeks = [];
|
|
103
|
-
|
|
104
88
|
for (let i = 0; i < days.length; i += weekDays) {
|
|
105
89
|
weeks.push(this.genWeek(days.slice(i, i + weekDays), this.getWeekNumber(days[i])));
|
|
106
90
|
}
|
|
107
|
-
|
|
108
91
|
return weeks;
|
|
109
92
|
},
|
|
110
|
-
|
|
111
93
|
genWeek(week, weekNumber) {
|
|
112
94
|
const weekNodes = week.map((day, index) => this.genDay(day, index, week));
|
|
113
|
-
|
|
114
95
|
if (this.showWeek) {
|
|
115
96
|
weekNodes.unshift(this.genWeekNumber(weekNumber));
|
|
116
97
|
}
|
|
117
|
-
|
|
118
98
|
return this.$createElement('div', {
|
|
119
99
|
key: week[0].date,
|
|
120
100
|
staticClass: 'v-calendar-weekly__week'
|
|
121
101
|
}, weekNodes);
|
|
122
102
|
},
|
|
123
|
-
|
|
124
103
|
getWeekNumber(determineDay) {
|
|
125
104
|
return weekNumber(determineDay.year, determineDay.month - 1, determineDay.day, this.parsedWeekdays[0], parseInt(this.localeFirstDayOfYear));
|
|
126
105
|
},
|
|
127
|
-
|
|
128
106
|
genWeekNumber(weekNumber) {
|
|
129
107
|
return this.$createElement('div', {
|
|
130
108
|
staticClass: 'v-calendar-weekly__weeknumber'
|
|
131
109
|
}, [this.$createElement('small', String(weekNumber))]);
|
|
132
110
|
},
|
|
133
|
-
|
|
134
111
|
genDay(day, index, week) {
|
|
135
112
|
const outside = this.isOutside(day);
|
|
136
113
|
return this.$createElement('div', {
|
|
@@ -145,13 +122,11 @@ export default CalendarBase.extend({
|
|
|
145
122
|
...day
|
|
146
123
|
})) || [])]);
|
|
147
124
|
},
|
|
148
|
-
|
|
149
125
|
genDayLabel(day) {
|
|
150
126
|
return this.$createElement('div', {
|
|
151
127
|
staticClass: 'v-calendar-weekly__day-label'
|
|
152
128
|
}, getSlot(this, 'day-label', day) || [this.genDayLabelButton(day)]);
|
|
153
129
|
},
|
|
154
|
-
|
|
155
130
|
genDayLabelButton(day) {
|
|
156
131
|
const color = day.present ? this.color : 'transparent';
|
|
157
132
|
const hasMonth = day.day === 1 && this.showMonthOnFirst;
|
|
@@ -176,16 +151,13 @@ export default CalendarBase.extend({
|
|
|
176
151
|
}, _e => day)
|
|
177
152
|
}, hasMonth ? this.monthFormatter(day, this.shortMonths) + ' ' + this.dayFormatter(day, false) : this.dayFormatter(day, false));
|
|
178
153
|
},
|
|
179
|
-
|
|
180
154
|
genDayMonth(day) {
|
|
181
155
|
const color = day.present ? this.color : undefined;
|
|
182
156
|
return this.$createElement('div', this.setTextColor(color, {
|
|
183
157
|
staticClass: 'v-calendar-weekly__day-month'
|
|
184
158
|
}), getSlot(this, 'day-month', day) || this.monthFormatter(day, this.shortMonths));
|
|
185
159
|
}
|
|
186
|
-
|
|
187
160
|
},
|
|
188
|
-
|
|
189
161
|
render(h) {
|
|
190
162
|
return h('div', {
|
|
191
163
|
staticClass: this.staticClass,
|
|
@@ -197,6 +169,5 @@ export default CalendarBase.extend({
|
|
|
197
169
|
}
|
|
198
170
|
}, [!this.hideHeader ? this.genHead() : '', ...this.genWeeks()]);
|
|
199
171
|
}
|
|
200
|
-
|
|
201
172
|
});
|
|
202
173
|
//# sourceMappingURL=VCalendarWeekly.mjs.map
|