@dimailn/vuetify 2.7.2-alpha40 → 2.7.2-alpha42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vuetify.js +461 -249
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +1 -1
- package/dist/vuetify.min.js +2 -2
- package/es5/components/VAlert/VAlert.js +12 -8
- package/es5/components/VAlert/VAlert.js.map +1 -1
- package/es5/components/VApp/VApp.js.map +1 -1
- package/es5/components/VAppBar/VAppBar.js.map +1 -1
- package/es5/components/VAppBar/VAppBarNavIcon.js.map +1 -1
- package/es5/components/VAppBar/VAppBarTitle.js.map +1 -1
- package/es5/components/VAppBar/index.js.map +1 -1
- package/es5/components/VAutocomplete/VAutocomplete.js +1 -1
- package/es5/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/es5/components/VAvatar/VAvatar.js +3 -1
- package/es5/components/VAvatar/VAvatar.js.map +1 -1
- package/es5/components/VBadge/VBadge.js.map +1 -1
- package/es5/components/VBanner/VBanner.js.map +1 -1
- package/es5/components/VBottomNavigation/VBottomNavigation.js +7 -2
- package/es5/components/VBottomNavigation/VBottomNavigation.js.map +1 -1
- package/es5/components/VBottomSheet/VBottomSheet.js.map +1 -1
- package/es5/components/VBreadcrumbs/VBreadcrumbs.js.map +1 -1
- package/es5/components/VBreadcrumbs/VBreadcrumbsItem.js +24 -2
- package/es5/components/VBreadcrumbs/VBreadcrumbsItem.js.map +1 -1
- package/es5/components/VBreadcrumbs/index.js.map +1 -1
- package/es5/components/VBtn/VBtn.js +1 -1
- package/es5/components/VBtn/VBtn.js.map +1 -1
- package/es5/components/VBtnToggle/VBtnToggle.js.map +1 -1
- package/es5/components/VCalendar/VCalendar.js.map +1 -1
- package/es5/components/VCalendar/VCalendarCategory.js.map +1 -1
- package/es5/components/VCalendar/VCalendarDaily.js +7 -3
- package/es5/components/VCalendar/VCalendarDaily.js.map +1 -1
- package/es5/components/VCalendar/VCalendarMonthly.js.map +1 -1
- package/es5/components/VCalendar/VCalendarWeekly.js +13 -7
- package/es5/components/VCalendar/VCalendarWeekly.js.map +1 -1
- package/es5/components/VCalendar/index.js.map +1 -1
- package/es5/components/VCalendar/mixins/calendar-base.js.map +1 -1
- package/es5/components/VCalendar/mixins/calendar-with-events.js +3 -1
- package/es5/components/VCalendar/mixins/calendar-with-events.js.map +1 -1
- package/es5/components/VCalendar/mixins/calendar-with-intervals.js.map +1 -1
- package/es5/components/VCalendar/mixins/times.js.map +1 -1
- package/es5/components/VCalendar/modes/common.js.map +1 -1
- package/es5/components/VCalendar/modes/index.js.map +1 -1
- package/es5/components/VCalendar/modes/stack.js.map +1 -1
- package/es5/components/VCalendar/util/events.js.map +1 -1
- package/es5/components/VCalendar/util/props.js.map +1 -1
- package/es5/components/VCalendar/util/timestamp.js.map +1 -1
- package/es5/components/VCard/VCard.js +2 -1
- package/es5/components/VCard/VCard.js.map +1 -1
- package/es5/components/VCard/index.js.map +1 -1
- package/es5/components/VCarousel/VCarousel.js +1 -1
- package/es5/components/VCarousel/VCarousel.js.map +1 -1
- package/es5/components/VCarousel/VCarouselItem.js +4 -1
- package/es5/components/VCarousel/VCarouselItem.js.map +1 -1
- package/es5/components/VCarousel/index.js.map +1 -1
- package/es5/components/VCheckbox/VCheckbox.js.map +1 -1
- package/es5/components/VCheckbox/VSimpleCheckbox.js +1 -1
- package/es5/components/VCheckbox/VSimpleCheckbox.js.map +1 -1
- package/es5/components/VCheckbox/index.js.map +1 -1
- package/es5/components/VChip/VChip.js +16 -7
- package/es5/components/VChip/VChip.js.map +1 -1
- package/es5/components/VChipGroup/VChipGroup.js.map +1 -1
- package/es5/components/VColorPicker/VColorPicker.js +13 -9
- package/es5/components/VColorPicker/VColorPicker.js.map +1 -1
- package/es5/components/VColorPicker/VColorPickerCanvas.js.map +1 -1
- package/es5/components/VColorPicker/VColorPickerEdit.js +3 -1
- package/es5/components/VColorPicker/VColorPickerEdit.js.map +1 -1
- package/es5/components/VColorPicker/VColorPickerPreview.js.map +1 -1
- package/es5/components/VColorPicker/VColorPickerSwatches.js +3 -1
- package/es5/components/VColorPicker/VColorPickerSwatches.js.map +1 -1
- package/es5/components/VColorPicker/util/index.js.map +1 -1
- package/es5/components/VCombobox/VCombobox.js.map +1 -1
- package/es5/components/VContent/VContent.js.map +1 -1
- package/es5/components/VCounter/VCounter.js.map +1 -1
- package/es5/components/VData/VData.js +3 -3
- package/es5/components/VData/VData.js.map +1 -1
- package/es5/components/VDataIterator/VDataFooter.js.map +1 -1
- package/es5/components/VDataIterator/VDataIterator.js +1 -1
- package/es5/components/VDataIterator/VDataIterator.js.map +1 -1
- package/es5/components/VDataIterator/index.js.map +1 -1
- package/es5/components/VDataTable/MobileRow.js.map +1 -1
- package/es5/components/VDataTable/Row.js +6 -3
- package/es5/components/VDataTable/Row.js.map +1 -1
- package/es5/components/VDataTable/RowGroup.js.map +1 -1
- package/es5/components/VDataTable/VDataTable.js +55 -39
- package/es5/components/VDataTable/VDataTable.js.map +1 -1
- package/es5/components/VDataTable/VDataTableHeader.js +6 -2
- package/es5/components/VDataTable/VDataTableHeader.js.map +1 -1
- package/es5/components/VDataTable/VDataTableHeaderDesktop.js.map +1 -1
- package/es5/components/VDataTable/VDataTableHeaderMobile.js +3 -1
- package/es5/components/VDataTable/VDataTableHeaderMobile.js.map +1 -1
- package/es5/components/VDataTable/VEditDialog.js.map +1 -1
- package/es5/components/VDataTable/VSimpleTable.js.map +1 -1
- package/es5/components/VDataTable/VVirtualTable.js.map +1 -1
- package/es5/components/VDataTable/index.js.map +1 -1
- package/es5/components/VDataTable/mixins/header.js.map +1 -1
- package/es5/components/VDatePicker/VDatePicker.js +3 -1
- package/es5/components/VDatePicker/VDatePicker.js.map +1 -1
- package/es5/components/VDatePicker/VDatePickerDateTable.js +2 -2
- package/es5/components/VDatePicker/VDatePickerDateTable.js.map +1 -1
- package/es5/components/VDatePicker/VDatePickerHeader.js +5 -5
- package/es5/components/VDatePicker/VDatePickerHeader.js.map +1 -1
- package/es5/components/VDatePicker/VDatePickerMonthTable.js.map +1 -1
- package/es5/components/VDatePicker/VDatePickerTitle.js.map +1 -1
- package/es5/components/VDatePicker/VDatePickerYears.js.map +1 -1
- package/es5/components/VDatePicker/index.js.map +1 -1
- package/es5/components/VDatePicker/mixins/date-picker-table.js +5 -5
- package/es5/components/VDatePicker/mixins/date-picker-table.js.map +1 -1
- package/es5/components/VDatePicker/util/eventHelpers.js.map +1 -1
- package/es5/components/VDatePicker/util/index.js.map +1 -1
- package/es5/components/VDialog/VDialog.js +1 -1
- package/es5/components/VDialog/VDialog.js.map +1 -1
- package/es5/components/VDivider/VDivider.js.map +1 -1
- package/es5/components/VExpansionPanel/VExpansionPanel.js +1 -1
- package/es5/components/VExpansionPanel/VExpansionPanel.js.map +1 -1
- package/es5/components/VExpansionPanel/VExpansionPanelContent.js.map +1 -1
- package/es5/components/VExpansionPanel/VExpansionPanelHeader.js.map +1 -1
- package/es5/components/VExpansionPanel/VExpansionPanels.js.map +1 -1
- package/es5/components/VExpansionPanel/index.js.map +1 -1
- package/es5/components/VFileInput/VFileInput.js +3 -1
- package/es5/components/VFileInput/VFileInput.js.map +1 -1
- package/es5/components/VFooter/VFooter.js +6 -5
- package/es5/components/VFooter/VFooter.js.map +1 -1
- package/es5/components/VForm/VForm.js.map +1 -1
- package/es5/components/VGrid/VCol.js.map +1 -1
- package/es5/components/VGrid/VContainer.js.map +1 -1
- package/es5/components/VGrid/VRow.js.map +1 -1
- package/es5/components/VGrid/grid.js.map +1 -1
- package/es5/components/VGrid/index.js.map +1 -1
- package/es5/components/VHover/VHover.js.map +1 -1
- package/es5/components/VIcon/VIcon.js +3 -2
- package/es5/components/VIcon/VIcon.js.map +1 -1
- package/es5/components/VImg/VImg.js +4 -2
- package/es5/components/VImg/VImg.js.map +1 -1
- package/es5/components/VInput/VInput.js +11 -5
- package/es5/components/VInput/VInput.js.map +1 -1
- package/es5/components/VItemGroup/VItem.js +1 -1
- package/es5/components/VItemGroup/VItem.js.map +1 -1
- package/es5/components/VItemGroup/VItemGroup.js.map +1 -1
- package/es5/components/VItemGroup/index.js.map +1 -1
- package/es5/components/VLabel/VLabel.js.map +1 -1
- package/es5/components/VLazy/VLazy.js +4 -1
- package/es5/components/VLazy/VLazy.js.map +1 -1
- package/es5/components/VList/VList.js.map +1 -1
- package/es5/components/VList/VListGroup.js.map +1 -1
- package/es5/components/VList/VListItem.js +6 -4
- package/es5/components/VList/VListItem.js.map +1 -1
- package/es5/components/VList/VListItemAction.js.map +1 -1
- package/es5/components/VList/VListItemAvatar.js.map +1 -1
- package/es5/components/VList/VListItemGroup.js.map +1 -1
- package/es5/components/VList/VListItemIcon.js.map +1 -1
- package/es5/components/VList/index.js.map +1 -1
- package/es5/components/VMain/VMain.js.map +1 -1
- package/es5/components/VMenu/VMenu.js.map +1 -1
- package/es5/components/VMessages/VMessages.js +7 -4
- package/es5/components/VMessages/VMessages.js.map +1 -1
- package/es5/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
- package/es5/components/VOtpInput/VOtpInput.js.map +1 -1
- package/es5/components/VOverflowBtn/VOverflowBtn.js.map +1 -1
- package/es5/components/VOverlay/VOverlay.js.map +1 -1
- package/es5/components/VPagination/VPagination.js.map +1 -1
- package/es5/components/VParallax/VParallax.js.map +1 -1
- package/es5/components/VPicker/VPicker.js.map +1 -1
- package/es5/components/VProgressCircular/VProgressCircular.js.map +1 -1
- package/es5/components/VProgressLinear/VProgressLinear.js.map +1 -1
- package/es5/components/VRadioGroup/VRadio.js +1 -1
- package/es5/components/VRadioGroup/VRadio.js.map +1 -1
- package/es5/components/VRadioGroup/VRadioGroup.js.map +1 -1
- package/es5/components/VRadioGroup/index.js.map +1 -1
- package/es5/components/VRangeSlider/VRangeSlider.js.map +1 -1
- package/es5/components/VRating/VRating.js.map +1 -1
- package/es5/components/VResponsive/VResponsive.js.map +1 -1
- package/es5/components/VSelect/VSelect.js.map +1 -1
- package/es5/components/VSelect/VSelectList.js +32 -17
- package/es5/components/VSelect/VSelectList.js.map +1 -1
- package/es5/components/VSheet/VSheet.js.map +1 -1
- package/es5/components/VSkeletonLoader/VSkeletonLoader.js.map +1 -1
- package/es5/components/VSlideGroup/VSlideGroup.js +3 -1
- package/es5/components/VSlideGroup/VSlideGroup.js.map +1 -1
- package/es5/components/VSlideGroup/VSlideItem.js.map +1 -1
- package/es5/components/VSlideGroup/index.js.map +1 -1
- package/es5/components/VSlider/VSlider.js +26 -26
- package/es5/components/VSlider/VSlider.js.map +1 -1
- package/es5/components/VSnackbar/VSnackbar.js.map +1 -1
- package/es5/components/VSparkline/VSparkline.js.map +1 -1
- package/es5/components/VSparkline/helpers/core.js.map +1 -1
- package/es5/components/VSparkline/helpers/math.js.map +1 -1
- package/es5/components/VSpeedDial/VSpeedDial.js +7 -3
- package/es5/components/VSpeedDial/VSpeedDial.js.map +1 -1
- package/es5/components/VStepper/VStepper.js.map +1 -1
- package/es5/components/VStepper/VStepperContent.js.map +1 -1
- package/es5/components/VStepper/VStepperStep.js +3 -1
- package/es5/components/VStepper/VStepperStep.js.map +1 -1
- package/es5/components/VStepper/index.js.map +1 -1
- package/es5/components/VSubheader/VSubheader.js.map +1 -1
- package/es5/components/VSwitch/VSwitch.js.map +1 -1
- package/es5/components/VSystemBar/VSystemBar.js +5 -5
- package/es5/components/VSystemBar/VSystemBar.js.map +1 -1
- package/es5/components/VTabs/VTab.js +8 -1
- package/es5/components/VTabs/VTab.js.map +1 -1
- package/es5/components/VTabs/VTabItem.js.map +1 -1
- package/es5/components/VTabs/VTabs.js +6 -1
- package/es5/components/VTabs/VTabs.js.map +1 -1
- package/es5/components/VTabs/VTabsBar.js.map +1 -1
- package/es5/components/VTabs/VTabsItems.js.map +1 -1
- package/es5/components/VTabs/VTabsSlider.js.map +1 -1
- package/es5/components/VTabs/index.js.map +1 -1
- package/es5/components/VTextField/VTextField.js.map +1 -1
- package/es5/components/VTextarea/VTextarea.js.map +1 -1
- package/es5/components/VThemeProvider/VThemeProvider.js.map +1 -1
- package/es5/components/VTimePicker/VTimePicker.js.map +1 -1
- package/es5/components/VTimePicker/VTimePickerClock.js.map +1 -1
- package/es5/components/VTimePicker/VTimePickerTitle.js.map +1 -1
- package/es5/components/VTimePicker/index.js.map +1 -1
- package/es5/components/VTimeline/VTimeline.js.map +1 -1
- package/es5/components/VTimeline/VTimelineItem.js +8 -2
- package/es5/components/VTimeline/VTimelineItem.js.map +1 -1
- package/es5/components/VTimeline/index.js.map +1 -1
- package/es5/components/VToolbar/VToolbar.js.map +1 -1
- package/es5/components/VToolbar/index.js.map +1 -1
- package/es5/components/VTooltip/VTooltip.js.map +1 -1
- package/es5/components/VTreeview/VTreeview.js.map +1 -1
- package/es5/components/VTreeview/VTreeviewNode.js.map +1 -1
- package/es5/components/VTreeview/index.js.map +1 -1
- package/es5/components/VVirtualScroll/VVirtualScroll.js.map +1 -1
- package/es5/components/VWindow/VWindow.js.map +1 -1
- package/es5/components/VWindow/VWindowItem.js.map +1 -1
- package/es5/components/VWindow/index.js.map +1 -1
- package/es5/components/transitions/createTransition.js +3 -1
- package/es5/components/transitions/createTransition.js.map +1 -1
- package/es5/components/transitions/expand-transition.js.map +1 -1
- package/es5/components/transitions/index.js.map +1 -1
- package/es5/directives/click-outside/index.js.map +1 -1
- package/es5/directives/color/index.js.map +1 -1
- package/es5/directives/intersect/index.js +1 -1
- package/es5/directives/intersect/index.js.map +1 -1
- package/es5/directives/mutate/index.js.map +1 -1
- package/es5/directives/resize/index.js.map +1 -1
- package/es5/directives/ripple/index.js.map +1 -1
- package/es5/directives/scroll/index.js.map +1 -1
- package/es5/directives/touch/index.js.map +1 -1
- package/es5/framework.js +1 -1
- package/es5/framework.js.map +1 -1
- package/es5/index.js.map +1 -1
- package/es5/install.js.map +1 -1
- package/es5/locale/af.js.map +1 -1
- package/es5/locale/ar.js.map +1 -1
- package/es5/locale/az.js.map +1 -1
- package/es5/locale/bg.js.map +1 -1
- package/es5/locale/ca.js.map +1 -1
- package/es5/locale/ckb.js.map +1 -1
- package/es5/locale/cs.js.map +1 -1
- package/es5/locale/da.js.map +1 -1
- package/es5/locale/de.js.map +1 -1
- package/es5/locale/el.js.map +1 -1
- package/es5/locale/en.js.map +1 -1
- package/es5/locale/es.js.map +1 -1
- package/es5/locale/et.js.map +1 -1
- package/es5/locale/fa.js.map +1 -1
- package/es5/locale/fi.js.map +1 -1
- package/es5/locale/fr.js.map +1 -1
- package/es5/locale/he.js.map +1 -1
- package/es5/locale/hr.js.map +1 -1
- package/es5/locale/hu.js.map +1 -1
- package/es5/locale/id.js.map +1 -1
- package/es5/locale/it.js.map +1 -1
- package/es5/locale/ja.js.map +1 -1
- package/es5/locale/ko.js.map +1 -1
- package/es5/locale/lt.js.map +1 -1
- package/es5/locale/lv.js.map +1 -1
- package/es5/locale/nl.js.map +1 -1
- package/es5/locale/no.js.map +1 -1
- package/es5/locale/pl.js.map +1 -1
- package/es5/locale/pt.js.map +1 -1
- package/es5/locale/ro.js.map +1 -1
- package/es5/locale/ru.js.map +1 -1
- package/es5/locale/sk.js.map +1 -1
- package/es5/locale/sl.js.map +1 -1
- package/es5/locale/sr-Cyrl.js.map +1 -1
- package/es5/locale/sr-Latn.js.map +1 -1
- package/es5/locale/sv.js.map +1 -1
- package/es5/locale/th.js.map +1 -1
- package/es5/locale/tr.js.map +1 -1
- package/es5/locale/uk.js.map +1 -1
- package/es5/locale/vi.js.map +1 -1
- package/es5/locale/zh-Hans.js.map +1 -1
- package/es5/locale/zh-Hant.js.map +1 -1
- package/es5/mixins/activatable/index.js +8 -8
- package/es5/mixins/activatable/index.js.map +1 -1
- package/es5/mixins/applicationable/index.js.map +1 -1
- package/es5/mixins/binds-attrs/index.js.map +1 -1
- package/es5/mixins/bootable/index.js.map +1 -1
- package/es5/mixins/button-group/index.js.map +1 -1
- package/es5/mixins/colorable/index.js +1 -0
- package/es5/mixins/colorable/index.js.map +1 -1
- package/es5/mixins/comparable/index.js.map +1 -1
- package/es5/mixins/delayable/index.js.map +1 -1
- package/es5/mixins/dependent/index.js +36 -14
- package/es5/mixins/dependent/index.js.map +1 -1
- package/es5/mixins/detachable/index.js.map +1 -1
- package/es5/mixins/elevatable/index.js.map +1 -1
- package/es5/mixins/filterable/index.js.map +1 -1
- package/es5/mixins/groupable/index.js.map +1 -1
- package/es5/mixins/intersectable/index.js.map +1 -1
- package/es5/mixins/loadable/index.js +3 -1
- package/es5/mixins/loadable/index.js.map +1 -1
- package/es5/mixins/localable/index.js.map +1 -1
- package/es5/mixins/measurable/index.js.map +1 -1
- package/es5/mixins/menuable/index.js +2 -2
- package/es5/mixins/menuable/index.js.map +1 -1
- package/es5/mixins/mobile/index.js.map +1 -1
- package/es5/mixins/mouse/index.js.map +1 -1
- package/es5/mixins/overlayable/index.js.map +1 -1
- package/es5/mixins/picker/index.js.map +1 -1
- package/es5/mixins/picker-button/index.js.map +1 -1
- package/es5/mixins/positionable/index.js.map +1 -1
- package/es5/mixins/proxyable/index.js.map +1 -1
- package/es5/mixins/registrable/index.js.map +1 -1
- package/es5/mixins/returnable/index.js.map +1 -1
- package/es5/mixins/rippleable/index.js.map +1 -1
- package/es5/mixins/roundable/index.js.map +1 -1
- package/es5/mixins/routable/index.js +1 -1
- package/es5/mixins/routable/index.js.map +1 -1
- package/es5/mixins/scrollable/index.js.map +1 -1
- package/es5/mixins/selectable/index.js.map +1 -1
- package/es5/mixins/sizeable/index.js.map +1 -1
- package/es5/mixins/ssr-bootable/index.js.map +1 -1
- package/es5/mixins/stackable/index.js.map +1 -1
- package/es5/mixins/themeable/index.js.map +1 -1
- package/es5/mixins/toggleable/index.js.map +1 -1
- package/es5/mixins/transitionable/index.js.map +1 -1
- package/es5/mixins/translatable/index.js.map +1 -1
- package/es5/mixins/validatable/index.js.map +1 -1
- package/es5/presets/default/index.js.map +1 -1
- package/es5/services/application/index.js.map +1 -1
- package/es5/services/breakpoint/index.js.map +1 -1
- package/es5/services/goto/index.js.map +1 -1
- package/es5/services/icons/index.js.map +1 -1
- package/es5/services/icons/presets/fa-svg.js.map +1 -1
- package/es5/services/icons/presets/fa.js.map +1 -1
- package/es5/services/icons/presets/fa4.js.map +1 -1
- package/es5/services/icons/presets/index.js.map +1 -1
- package/es5/services/icons/presets/md.js.map +1 -1
- package/es5/services/icons/presets/mdi-svg.js.map +1 -1
- package/es5/services/icons/presets/mdi.js.map +1 -1
- package/es5/services/lang/index.js.map +1 -1
- package/es5/services/presets/index.js.map +1 -1
- package/es5/services/service/index.js.map +1 -1
- package/es5/services/theme/index.js +2 -2
- package/es5/services/theme/index.js.map +1 -1
- package/es5/services/theme/utils.js.map +1 -1
- package/es5/types/vue-augment.js +4 -0
- package/es5/types/vue-augment.js.map +1 -0
- package/es5/types/vue-internal.js +6 -0
- package/es5/types/vue-internal.js.map +1 -0
- package/es5/util/color/transformCIELAB.js.map +1 -1
- package/es5/util/color/transformSRGB.js.map +1 -1
- package/es5/util/colorUtils.js.map +1 -1
- package/es5/util/colors.js.map +1 -1
- package/es5/util/console.js.map +1 -1
- package/es5/util/dedupeModelListeners.js.map +1 -1
- package/es5/util/helpers.js +31 -18
- package/es5/util/helpers.js.map +1 -1
- package/es5/util/legacyEventsMixin.js.map +1 -1
- package/es5/util/make-directive-activatable.js +1 -1
- package/es5/util/make-directive-activatable.js.map +1 -1
- package/es5/util/mergeData.js +0 -18
- package/es5/util/mergeData.js.map +1 -1
- package/es5/util/mixins.js.map +1 -1
- package/es5/util/rebuildFunctionalSlots.js.map +1 -1
- package/lib/components/VAlert/VAlert.js +4 -6
- package/lib/components/VAlert/VAlert.js.map +1 -1
- package/lib/components/VApp/VApp.js.map +1 -1
- package/lib/components/VAppBar/VAppBar.js.map +1 -1
- package/lib/components/VAppBar/VAppBarNavIcon.js.map +1 -1
- package/lib/components/VAppBar/VAppBarTitle.js.map +1 -1
- package/lib/components/VAppBar/index.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.js +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/lib/components/VAvatar/VAvatar.js +3 -1
- package/lib/components/VAvatar/VAvatar.js.map +1 -1
- package/lib/components/VBadge/VBadge.js.map +1 -1
- package/lib/components/VBanner/VBanner.js.map +1 -1
- package/lib/components/VBottomNavigation/VBottomNavigation.js +4 -2
- package/lib/components/VBottomNavigation/VBottomNavigation.js.map +1 -1
- package/lib/components/VBottomSheet/VBottomSheet.js.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbs.js.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.js +21 -3
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.js.map +1 -1
- package/lib/components/VBreadcrumbs/index.js.map +1 -1
- package/lib/components/VBtn/VBtn.js +2 -3
- package/lib/components/VBtn/VBtn.js.map +1 -1
- package/lib/components/VBtnToggle/VBtnToggle.js.map +1 -1
- package/lib/components/VCalendar/VCalendar.js.map +1 -1
- package/lib/components/VCalendar/VCalendarCategory.js.map +1 -1
- package/lib/components/VCalendar/VCalendarDaily.js +7 -3
- package/lib/components/VCalendar/VCalendarDaily.js.map +1 -1
- package/lib/components/VCalendar/VCalendarMonthly.js.map +1 -1
- package/lib/components/VCalendar/VCalendarWeekly.js +10 -6
- package/lib/components/VCalendar/VCalendarWeekly.js.map +1 -1
- package/lib/components/VCalendar/index.js.map +1 -1
- package/lib/components/VCalendar/mixins/calendar-base.js.map +1 -1
- package/lib/components/VCalendar/mixins/calendar-with-events.js +4 -1
- package/lib/components/VCalendar/mixins/calendar-with-events.js.map +1 -1
- package/lib/components/VCalendar/mixins/calendar-with-intervals.js.map +1 -1
- package/lib/components/VCalendar/mixins/times.js.map +1 -1
- package/lib/components/VCalendar/modes/common.js.map +1 -1
- package/lib/components/VCalendar/modes/index.js.map +1 -1
- package/lib/components/VCalendar/modes/stack.js.map +1 -1
- package/lib/components/VCalendar/util/events.js.map +1 -1
- package/lib/components/VCalendar/util/props.js.map +1 -1
- package/lib/components/VCalendar/util/timestamp.js.map +1 -1
- package/lib/components/VCard/VCard.js +3 -2
- package/lib/components/VCard/VCard.js.map +1 -1
- package/lib/components/VCard/index.js.map +1 -1
- package/lib/components/VCarousel/VCarousel.js +1 -1
- package/lib/components/VCarousel/VCarousel.js.map +1 -1
- package/lib/components/VCarousel/VCarouselItem.js +3 -2
- package/lib/components/VCarousel/VCarouselItem.js.map +1 -1
- package/lib/components/VCarousel/index.js.map +1 -1
- package/lib/components/VCheckbox/VCheckbox.js.map +1 -1
- package/lib/components/VCheckbox/VSimpleCheckbox.js +1 -1
- package/lib/components/VCheckbox/VSimpleCheckbox.js.map +1 -1
- package/lib/components/VCheckbox/index.js.map +1 -1
- package/lib/components/VChip/VChip.js +5 -4
- package/lib/components/VChip/VChip.js.map +1 -1
- package/lib/components/VChipGroup/VChipGroup.js.map +1 -1
- package/lib/components/VColorPicker/VColorPicker.js +10 -10
- package/lib/components/VColorPicker/VColorPicker.js.map +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.js.map +1 -1
- package/lib/components/VColorPicker/VColorPickerEdit.js +1 -1
- package/lib/components/VColorPicker/VColorPickerEdit.js.map +1 -1
- package/lib/components/VColorPicker/VColorPickerPreview.js.map +1 -1
- package/lib/components/VColorPicker/VColorPickerSwatches.js +1 -1
- package/lib/components/VColorPicker/VColorPickerSwatches.js.map +1 -1
- package/lib/components/VColorPicker/util/index.js.map +1 -1
- package/lib/components/VCombobox/VCombobox.js.map +1 -1
- package/lib/components/VContent/VContent.js.map +1 -1
- package/lib/components/VCounter/VCounter.js.map +1 -1
- package/lib/components/VData/VData.js +5 -4
- package/lib/components/VData/VData.js.map +1 -1
- package/lib/components/VDataIterator/VDataFooter.js.map +1 -1
- package/lib/components/VDataIterator/VDataIterator.js +1 -1
- package/lib/components/VDataIterator/VDataIterator.js.map +1 -1
- package/lib/components/VDataIterator/index.js.map +1 -1
- package/lib/components/VDataTable/MobileRow.js.map +1 -1
- package/lib/components/VDataTable/Row.js +6 -3
- package/lib/components/VDataTable/Row.js.map +1 -1
- package/lib/components/VDataTable/RowGroup.js.map +1 -1
- package/lib/components/VDataTable/VDataTable.js +47 -40
- package/lib/components/VDataTable/VDataTable.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeader.js +7 -3
- package/lib/components/VDataTable/VDataTableHeader.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaderDesktop.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaderMobile.js +1 -1
- package/lib/components/VDataTable/VDataTableHeaderMobile.js.map +1 -1
- package/lib/components/VDataTable/VEditDialog.js.map +1 -1
- package/lib/components/VDataTable/VSimpleTable.js.map +1 -1
- package/lib/components/VDataTable/VVirtualTable.js.map +1 -1
- package/lib/components/VDataTable/index.js.map +1 -1
- package/lib/components/VDataTable/mixins/header.js.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.js +3 -1
- package/lib/components/VDatePicker/VDatePicker.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerDateTable.js +2 -2
- package/lib/components/VDatePicker/VDatePickerDateTable.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerHeader.js +6 -6
- package/lib/components/VDatePicker/VDatePickerHeader.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonthTable.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerTitle.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerYears.js.map +1 -1
- package/lib/components/VDatePicker/index.js.map +1 -1
- package/lib/components/VDatePicker/mixins/date-picker-table.js +7 -9
- package/lib/components/VDatePicker/mixins/date-picker-table.js.map +1 -1
- package/lib/components/VDatePicker/util/eventHelpers.js.map +1 -1
- package/lib/components/VDatePicker/util/index.js.map +1 -1
- package/lib/components/VDialog/VDialog.js +1 -1
- package/lib/components/VDialog/VDialog.js.map +1 -1
- package/lib/components/VDivider/VDivider.js.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanel.js +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanel.js.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelContent.js.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelHeader.js.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanels.js.map +1 -1
- package/lib/components/VExpansionPanel/index.js.map +1 -1
- package/lib/components/VFileInput/VFileInput.js +1 -1
- package/lib/components/VFileInput/VFileInput.js.map +1 -1
- package/lib/components/VFooter/VFooter.js +4 -2
- package/lib/components/VFooter/VFooter.js.map +1 -1
- package/lib/components/VForm/VForm.js.map +1 -1
- package/lib/components/VGrid/VCol.js +2 -3
- package/lib/components/VGrid/VCol.js.map +1 -1
- package/lib/components/VGrid/VContainer.js.map +1 -1
- package/lib/components/VGrid/VRow.js +2 -3
- package/lib/components/VGrid/VRow.js.map +1 -1
- package/lib/components/VGrid/grid.js.map +1 -1
- package/lib/components/VGrid/index.js.map +1 -1
- package/lib/components/VHover/VHover.js.map +1 -1
- package/lib/components/VIcon/VIcon.js +3 -2
- package/lib/components/VIcon/VIcon.js.map +1 -1
- package/lib/components/VImg/VImg.js +4 -2
- package/lib/components/VImg/VImg.js.map +1 -1
- package/lib/components/VInput/VInput.js +7 -3
- package/lib/components/VInput/VInput.js.map +1 -1
- package/lib/components/VItemGroup/VItem.js +3 -3
- package/lib/components/VItemGroup/VItem.js.map +1 -1
- package/lib/components/VItemGroup/VItemGroup.js +1 -2
- package/lib/components/VItemGroup/VItemGroup.js.map +1 -1
- package/lib/components/VItemGroup/index.js.map +1 -1
- package/lib/components/VLabel/VLabel.js.map +1 -1
- package/lib/components/VLazy/VLazy.js +4 -1
- package/lib/components/VLazy/VLazy.js.map +1 -1
- package/lib/components/VList/VList.js.map +1 -1
- package/lib/components/VList/VListGroup.js.map +1 -1
- package/lib/components/VList/VListItem.js +3 -1
- package/lib/components/VList/VListItem.js.map +1 -1
- package/lib/components/VList/VListItemAction.js.map +1 -1
- package/lib/components/VList/VListItemAvatar.js.map +1 -1
- package/lib/components/VList/VListItemGroup.js.map +1 -1
- package/lib/components/VList/VListItemIcon.js.map +1 -1
- package/lib/components/VList/index.js.map +1 -1
- package/lib/components/VMain/VMain.js.map +1 -1
- package/lib/components/VMenu/VMenu.js.map +1 -1
- package/lib/components/VMessages/VMessages.js +7 -4
- package/lib/components/VMessages/VMessages.js.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.js.map +1 -1
- package/lib/components/VOverflowBtn/VOverflowBtn.js.map +1 -1
- package/lib/components/VOverlay/VOverlay.js.map +1 -1
- package/lib/components/VPagination/VPagination.js.map +1 -1
- package/lib/components/VParallax/VParallax.js.map +1 -1
- package/lib/components/VPicker/VPicker.js.map +1 -1
- package/lib/components/VProgressCircular/VProgressCircular.js.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.js.map +1 -1
- package/lib/components/VRadioGroup/VRadio.js +1 -1
- package/lib/components/VRadioGroup/VRadio.js.map +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.js.map +1 -1
- package/lib/components/VRadioGroup/index.js.map +1 -1
- package/lib/components/VRangeSlider/VRangeSlider.js.map +1 -1
- package/lib/components/VRating/VRating.js.map +1 -1
- package/lib/components/VResponsive/VResponsive.js.map +1 -1
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VSelect/VSelectList.js +10 -5
- package/lib/components/VSelect/VSelectList.js.map +1 -1
- package/lib/components/VSheet/VSheet.js.map +1 -1
- package/lib/components/VSkeletonLoader/VSkeletonLoader.js.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroup.js +3 -1
- package/lib/components/VSlideGroup/VSlideGroup.js.map +1 -1
- package/lib/components/VSlideGroup/VSlideItem.js.map +1 -1
- package/lib/components/VSlideGroup/index.js.map +1 -1
- package/lib/components/VSlider/VSlider.js +10 -12
- package/lib/components/VSlider/VSlider.js.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.js.map +1 -1
- package/lib/components/VSparkline/VSparkline.js.map +1 -1
- package/lib/components/VSparkline/helpers/core.js.map +1 -1
- package/lib/components/VSparkline/helpers/math.js.map +1 -1
- package/lib/components/VSpeedDial/VSpeedDial.js +5 -3
- package/lib/components/VSpeedDial/VSpeedDial.js.map +1 -1
- package/lib/components/VStepper/VStepper.js.map +1 -1
- package/lib/components/VStepper/VStepperContent.js.map +1 -1
- package/lib/components/VStepper/VStepperStep.js +1 -1
- package/lib/components/VStepper/VStepperStep.js.map +1 -1
- package/lib/components/VStepper/index.js.map +1 -1
- package/lib/components/VSubheader/VSubheader.js.map +1 -1
- package/lib/components/VSwitch/VSwitch.js.map +1 -1
- package/lib/components/VSystemBar/VSystemBar.js +1 -2
- package/lib/components/VSystemBar/VSystemBar.js.map +1 -1
- package/lib/components/VTabs/VTab.js +7 -2
- package/lib/components/VTabs/VTab.js.map +1 -1
- package/lib/components/VTabs/VTabItem.js.map +1 -1
- package/lib/components/VTabs/VTabs.js +4 -1
- package/lib/components/VTabs/VTabs.js.map +1 -1
- package/lib/components/VTabs/VTabsBar.js.map +1 -1
- package/lib/components/VTabs/VTabsItems.js.map +1 -1
- package/lib/components/VTabs/VTabsSlider.js.map +1 -1
- package/lib/components/VTabs/index.js.map +1 -1
- package/lib/components/VTextField/VTextField.js.map +1 -1
- package/lib/components/VTextarea/VTextarea.js.map +1 -1
- package/lib/components/VThemeProvider/VThemeProvider.js.map +1 -1
- package/lib/components/VTimePicker/VTimePicker.js.map +1 -1
- package/lib/components/VTimePicker/VTimePickerClock.js.map +1 -1
- package/lib/components/VTimePicker/VTimePickerTitle.js.map +1 -1
- package/lib/components/VTimePicker/index.js.map +1 -1
- package/lib/components/VTimeline/VTimeline.js.map +1 -1
- package/lib/components/VTimeline/VTimelineItem.js +4 -2
- package/lib/components/VTimeline/VTimelineItem.js.map +1 -1
- package/lib/components/VTimeline/index.js.map +1 -1
- package/lib/components/VToolbar/VToolbar.js.map +1 -1
- package/lib/components/VToolbar/index.js.map +1 -1
- package/lib/components/VTooltip/VTooltip.js.map +1 -1
- package/lib/components/VTreeview/VTreeview.js.map +1 -1
- package/lib/components/VTreeview/VTreeviewNode.js.map +1 -1
- package/lib/components/VTreeview/index.js.map +1 -1
- package/lib/components/VVirtualScroll/VVirtualScroll.js.map +1 -1
- package/lib/components/VWindow/VWindow.js +2 -3
- package/lib/components/VWindow/VWindow.js.map +1 -1
- package/lib/components/VWindow/VWindowItem.js.map +1 -1
- package/lib/components/VWindow/index.js.map +1 -1
- package/lib/components/transitions/createTransition.js +6 -3
- package/lib/components/transitions/createTransition.js.map +1 -1
- package/lib/components/transitions/expand-transition.js.map +1 -1
- package/lib/components/transitions/index.js.map +1 -1
- package/lib/directives/click-outside/index.js.map +1 -1
- package/lib/directives/color/index.js.map +1 -1
- package/lib/directives/intersect/index.js +1 -1
- package/lib/directives/intersect/index.js.map +1 -1
- package/lib/directives/mutate/index.js.map +1 -1
- package/lib/directives/resize/index.js.map +1 -1
- package/lib/directives/ripple/index.js.map +1 -1
- package/lib/directives/scroll/index.js.map +1 -1
- package/lib/directives/touch/index.js.map +1 -1
- package/lib/framework.js +1 -1
- package/lib/framework.js.map +1 -1
- package/lib/install.js.map +1 -1
- package/lib/locale/af.js.map +1 -1
- package/lib/locale/ar.js.map +1 -1
- package/lib/locale/az.js.map +1 -1
- package/lib/locale/bg.js.map +1 -1
- package/lib/locale/ca.js.map +1 -1
- package/lib/locale/ckb.js.map +1 -1
- package/lib/locale/cs.js.map +1 -1
- package/lib/locale/da.js.map +1 -1
- package/lib/locale/de.js.map +1 -1
- package/lib/locale/el.js.map +1 -1
- package/lib/locale/en.js.map +1 -1
- package/lib/locale/es.js.map +1 -1
- package/lib/locale/et.js.map +1 -1
- package/lib/locale/fa.js.map +1 -1
- package/lib/locale/fi.js.map +1 -1
- package/lib/locale/fr.js.map +1 -1
- package/lib/locale/he.js.map +1 -1
- package/lib/locale/hr.js.map +1 -1
- package/lib/locale/hu.js.map +1 -1
- package/lib/locale/id.js.map +1 -1
- package/lib/locale/it.js.map +1 -1
- package/lib/locale/ja.js.map +1 -1
- package/lib/locale/ko.js.map +1 -1
- package/lib/locale/lt.js.map +1 -1
- package/lib/locale/lv.js.map +1 -1
- package/lib/locale/nl.js.map +1 -1
- package/lib/locale/no.js.map +1 -1
- package/lib/locale/pl.js.map +1 -1
- package/lib/locale/pt.js.map +1 -1
- package/lib/locale/ro.js.map +1 -1
- package/lib/locale/ru.js.map +1 -1
- package/lib/locale/sk.js.map +1 -1
- package/lib/locale/sl.js.map +1 -1
- package/lib/locale/sr-Cyrl.js.map +1 -1
- package/lib/locale/sr-Latn.js.map +1 -1
- package/lib/locale/sv.js.map +1 -1
- package/lib/locale/th.js.map +1 -1
- package/lib/locale/tr.js.map +1 -1
- package/lib/locale/uk.js.map +1 -1
- package/lib/locale/vi.js.map +1 -1
- package/lib/locale/zh-Hans.js.map +1 -1
- package/lib/locale/zh-Hant.js.map +1 -1
- package/lib/mixins/activatable/index.js +10 -10
- package/lib/mixins/activatable/index.js.map +1 -1
- package/lib/mixins/applicationable/index.js.map +1 -1
- package/lib/mixins/binds-attrs/index.js.map +1 -1
- package/lib/mixins/bootable/index.js.map +1 -1
- package/lib/mixins/button-group/index.js.map +1 -1
- package/lib/mixins/colorable/index.js +1 -0
- package/lib/mixins/colorable/index.js.map +1 -1
- package/lib/mixins/comparable/index.js.map +1 -1
- package/lib/mixins/delayable/index.js.map +1 -1
- package/lib/mixins/dependent/index.js +21 -11
- package/lib/mixins/dependent/index.js.map +1 -1
- package/lib/mixins/detachable/index.js.map +1 -1
- package/lib/mixins/elevatable/index.js.map +1 -1
- package/lib/mixins/filterable/index.js.map +1 -1
- package/lib/mixins/groupable/index.js.map +1 -1
- package/lib/mixins/intersectable/index.js.map +1 -1
- package/lib/mixins/loadable/index.js +3 -1
- package/lib/mixins/loadable/index.js.map +1 -1
- package/lib/mixins/localable/index.js.map +1 -1
- package/lib/mixins/measurable/index.js.map +1 -1
- package/lib/mixins/menuable/index.js +2 -2
- package/lib/mixins/menuable/index.js.map +1 -1
- package/lib/mixins/mobile/index.js.map +1 -1
- package/lib/mixins/mouse/index.js.map +1 -1
- package/lib/mixins/overlayable/index.js.map +1 -1
- package/lib/mixins/picker/index.js.map +1 -1
- package/lib/mixins/picker-button/index.js +1 -2
- package/lib/mixins/picker-button/index.js.map +1 -1
- package/lib/mixins/positionable/index.js.map +1 -1
- package/lib/mixins/proxyable/index.js.map +1 -1
- package/lib/mixins/registrable/index.js.map +1 -1
- package/lib/mixins/returnable/index.js.map +1 -1
- package/lib/mixins/rippleable/index.js.map +1 -1
- package/lib/mixins/roundable/index.js.map +1 -1
- package/lib/mixins/routable/index.js +1 -1
- package/lib/mixins/routable/index.js.map +1 -1
- package/lib/mixins/scrollable/index.js.map +1 -1
- package/lib/mixins/selectable/index.js.map +1 -1
- package/lib/mixins/sizeable/index.js.map +1 -1
- package/lib/mixins/ssr-bootable/index.js.map +1 -1
- package/lib/mixins/stackable/index.js.map +1 -1
- package/lib/mixins/themeable/index.js.map +1 -1
- package/lib/mixins/toggleable/index.js.map +1 -1
- package/lib/mixins/transitionable/index.js.map +1 -1
- package/lib/mixins/translatable/index.js.map +1 -1
- package/lib/mixins/validatable/index.js.map +1 -1
- package/lib/presets/default/index.js.map +1 -1
- package/lib/services/application/index.js.map +1 -1
- package/lib/services/breakpoint/index.js.map +1 -1
- package/lib/services/goto/index.js.map +1 -1
- package/lib/services/icons/index.js.map +1 -1
- package/lib/services/icons/presets/fa-svg.js.map +1 -1
- package/lib/services/icons/presets/fa.js.map +1 -1
- package/lib/services/icons/presets/fa4.js.map +1 -1
- package/lib/services/icons/presets/index.js.map +1 -1
- package/lib/services/icons/presets/md.js.map +1 -1
- package/lib/services/icons/presets/mdi-svg.js.map +1 -1
- package/lib/services/icons/presets/mdi.js.map +1 -1
- package/lib/services/lang/index.js.map +1 -1
- package/lib/services/presets/index.js.map +1 -1
- package/lib/services/service/index.js.map +1 -1
- package/lib/services/theme/index.js +2 -2
- package/lib/services/theme/index.js.map +1 -1
- package/lib/services/theme/utils.js.map +1 -1
- package/lib/types/vue-augment.js +5 -0
- package/lib/types/vue-augment.js.map +1 -0
- package/lib/types/vue-internal.js +2 -0
- package/lib/types/vue-internal.js.map +1 -0
- package/lib/util/color/transformCIELAB.js.map +1 -1
- package/lib/util/color/transformSRGB.js.map +1 -1
- package/lib/util/colorUtils.js.map +1 -1
- package/lib/util/colors.js.map +1 -1
- package/lib/util/console.js.map +1 -1
- package/lib/util/dedupeModelListeners.js.map +1 -1
- package/lib/util/helpers.js +27 -18
- package/lib/util/helpers.js.map +1 -1
- package/lib/util/legacyEventsMixin.js.map +1 -1
- package/lib/util/make-directive-activatable.js +1 -1
- package/lib/util/make-directive-activatable.js.map +1 -1
- package/lib/util/mergeData.js +0 -18
- package/lib/util/mergeData.js.map +1 -1
- package/lib/util/mixins.js.map +1 -1
- package/lib/util/rebuildFunctionalSlots.js.map +1 -1
- package/package.json +4 -3
- package/src/components/VAlert/VAlert.ts +28 -29
- package/src/components/VAlert/__tests__/VAlert.spec.ts +20 -20
- package/src/components/VApp/VApp.ts +9 -9
- package/src/components/VApp/__tests__/VApp.spec.ts +18 -18
- package/src/components/VAppBar/VAppBar.ts +11 -11
- package/src/components/VAppBar/VAppBarNavIcon.ts +3 -3
- package/src/components/VAppBar/VAppBarTitle.ts +13 -13
- package/src/components/VAppBar/__tests__/VAppBar.spec.ts +66 -63
- package/src/components/VAppBar/__tests__/VAppBarNavIcon.spec.ts +2 -2
- package/src/components/VAppBar/index.ts +2 -2
- package/src/components/VAutocomplete/VAutocomplete.ts +37 -38
- package/src/components/VAutocomplete/__tests__/VAutocomplete.spec.ts +53 -53
- package/src/components/VAutocomplete/__tests__/VAutocomplete2.spec.ts +42 -42
- package/src/components/VAutocomplete/__tests__/VAutocomplete3.spec.ts +28 -28
- package/src/components/VAvatar/VAvatar.ts +9 -9
- package/src/components/VAvatar/__tests__/VAvatar.spec.ts +17 -17
- package/src/components/VBadge/VBadge.ts +19 -19
- package/src/components/VBadge/__tests__/VBadge.spec.ts +31 -31
- package/src/components/VBanner/VBanner.ts +19 -19
- package/src/components/VBanner/__tests__/VBanner.spec.ts +41 -41
- package/src/components/VBottomNavigation/VBottomNavigation.ts +21 -17
- package/src/components/VBottomNavigation/__tests__/VBottomNavigation.spec.ts +17 -17
- package/src/components/VBottomSheet/VBottomSheet.ts +5 -5
- package/src/components/VBreadcrumbs/VBreadcrumbs.ts +10 -10
- package/src/components/VBreadcrumbs/VBreadcrumbsItem.ts +36 -16
- package/src/components/VBreadcrumbs/__tests__/VBreadcrumbs.spec.ts +36 -36
- package/src/components/VBreadcrumbs/__tests__/VBreadcrumbsItem.spec.ts +5 -5
- package/src/components/VBreadcrumbs/index.ts +2 -2
- package/src/components/VBtn/VBtn.ts +23 -23
- package/src/components/VBtn/__tests__/VBtn.spec.ts +42 -42
- package/src/components/VBtnToggle/VBtnToggle.ts +6 -6
- package/src/components/VBtnToggle/__tests__/VBtnToggle.spec.ts +3 -3
- package/src/components/VCalendar/VCalendar.ts +14 -15
- package/src/components/VCalendar/VCalendarCategory.ts +19 -17
- package/src/components/VCalendar/VCalendarDaily.ts +46 -43
- package/src/components/VCalendar/VCalendarMonthly.ts +2 -2
- package/src/components/VCalendar/VCalendarWeekly.ts +24 -20
- package/src/components/VCalendar/__tests__/VCalendar.spec.ts +20 -20
- package/src/components/VCalendar/__tests__/VCalendarCategory.spec.ts +16 -16
- package/src/components/VCalendar/__tests__/VCalendarDaily.spec.ts +31 -31
- package/src/components/VCalendar/index.ts +2 -2
- package/src/components/VCalendar/mixins/__tests__/calendar-base.spec.ts +25 -25
- package/src/components/VCalendar/mixins/__tests__/calendar-with-events.spec.ts +38 -38
- package/src/components/VCalendar/mixins/__tests__/calendar-with-intervals.spec.ts +36 -36
- package/src/components/VCalendar/mixins/__tests__/times.spec.ts +7 -7
- package/src/components/VCalendar/mixins/calendar-base.ts +5 -6
- package/src/components/VCalendar/mixins/calendar-with-events.ts +41 -35
- package/src/components/VCalendar/mixins/calendar-with-intervals.ts +4 -4
- package/src/components/VCalendar/mixins/times.ts +9 -9
- package/src/components/VCalendar/modes/__tests__/common.spec.ts +12 -12
- package/src/components/VCalendar/modes/common.ts +2 -2
- package/src/components/VCalendar/modes/index.ts +1 -1
- package/src/components/VCalendar/modes/stack.ts +1 -1
- package/src/components/VCalendar/util/__tests__/events.spec.ts +10 -10
- package/src/components/VCalendar/util/__tests__/timestamp.spec.ts +18 -18
- package/src/components/VCalendar/util/events.ts +2 -2
- package/src/components/VCalendar/util/props.ts +56 -58
- package/src/components/VCalendar/util/timestamp.ts +2 -2
- package/src/components/VCard/VCard.ts +13 -11
- package/src/components/VCard/__tests__/VCard.spec.ts +23 -23
- package/src/components/VCard/index.ts +3 -3
- package/src/components/VCarousel/VCarousel.ts +27 -27
- package/src/components/VCarousel/VCarouselItem.ts +16 -12
- package/src/components/VCarousel/__tests__/VCarousel.spec.ts +45 -42
- package/src/components/VCarousel/__tests__/VCarouselItem.spec.ts +3 -3
- package/src/components/VCarousel/index.ts +2 -2
- package/src/components/VCheckbox/VCheckbox.ts +16 -16
- package/src/components/VCheckbox/VSimpleCheckbox.ts +14 -16
- package/src/components/VCheckbox/__tests__/VCheckbox.spec.ts +45 -45
- package/src/components/VCheckbox/__tests__/VSimpleCheckbox.spec.ts +9 -9
- package/src/components/VCheckbox/index.ts +2 -2
- package/src/components/VChip/VChip.ts +26 -25
- package/src/components/VChip/__tests__/VChip.spec.ts +37 -24
- package/src/components/VChipGroup/VChipGroup.ts +8 -8
- package/src/components/VChipGroup/__tests__/VChipGroup.spec.ts +8 -8
- package/src/components/VColorPicker/VColorPicker.ts +30 -30
- package/src/components/VColorPicker/VColorPickerCanvas.ts +20 -20
- package/src/components/VColorPicker/VColorPickerEdit.ts +23 -23
- package/src/components/VColorPicker/VColorPickerPreview.ts +17 -17
- package/src/components/VColorPicker/VColorPickerSwatches.ts +31 -29
- package/src/components/VColorPicker/__tests__/VColorPicker.spec.ts +32 -32
- package/src/components/VColorPicker/__tests__/VColorPickerCanvas.spec.ts +12 -12
- package/src/components/VColorPicker/__tests__/VColorPickerEdit.spec.ts +22 -22
- package/src/components/VColorPicker/__tests__/VColorPickerPreview.spec.ts +19 -19
- package/src/components/VColorPicker/util/__tests__/index.spec.ts +2 -2
- package/src/components/VColorPicker/util/index.ts +5 -5
- package/src/components/VCombobox/VCombobox.ts +11 -11
- package/src/components/VCombobox/__tests__/VCombobox-multiple.spec.ts +38 -38
- package/src/components/VCombobox/__tests__/VCombobox.spec.ts +34 -34
- package/src/components/VContent/VContent.ts +2 -2
- package/src/components/VCounter/VCounter.ts +5 -5
- package/src/components/VCounter/__tests__/VCounter.spec.ts +2 -2
- package/src/components/VData/VData.ts +42 -43
- package/src/components/VData/__tests__/VData.spec.ts +111 -111
- package/src/components/VDataIterator/VDataFooter.ts +31 -30
- package/src/components/VDataIterator/VDataIterator.ts +31 -30
- package/src/components/VDataIterator/__tests__/VDataFooter.spec.ts +36 -36
- package/src/components/VDataIterator/__tests__/VDataIterator.spec.ts +57 -57
- package/src/components/VDataIterator/index.ts +2 -2
- package/src/components/VDataTable/MobileRow.ts +7 -7
- package/src/components/VDataTable/Row.ts +13 -9
- package/src/components/VDataTable/RowGroup.ts +8 -8
- package/src/components/VDataTable/VDataTable.ts +122 -108
- package/src/components/VDataTable/VDataTableHeader.ts +8 -8
- package/src/components/VDataTable/VDataTableHeaderDesktop.ts +16 -15
- package/src/components/VDataTable/VDataTableHeaderMobile.ts +16 -15
- package/src/components/VDataTable/VEditDialog.ts +18 -18
- package/src/components/VDataTable/VSimpleTable.ts +10 -10
- package/src/components/VDataTable/VVirtualTable.ts +24 -25
- package/src/components/VDataTable/__tests__/MobileRow.spec.ts +22 -22
- package/src/components/VDataTable/__tests__/Row.spec.ts +22 -22
- package/src/components/VDataTable/__tests__/RowGroup.spec.ts +5 -5
- package/src/components/VDataTable/__tests__/VDataTable.spec.ts +250 -172
- package/src/components/VDataTable/__tests__/VDataTableHeader.spec.ts +27 -27
- package/src/components/VDataTable/__tests__/VEditDialog.spec.ts +24 -24
- package/src/components/VDataTable/__tests__/VSimpleTable.spec.ts +28 -28
- package/src/components/VDataTable/__tests__/VVirtualTable.spec.ts +8 -8
- package/src/components/VDataTable/__tests__/__snapshots__/VDataTable.spec.ts.snap +1642 -440
- package/src/components/VDataTable/index.ts +2 -2
- package/src/components/VDataTable/mixins/__tests__/header.spec.ts +15 -15
- package/src/components/VDataTable/mixins/header.ts +13 -14
- package/src/components/VDatePicker/VDatePicker.ts +51 -52
- package/src/components/VDatePicker/VDatePickerDateTable.ts +25 -20
- package/src/components/VDatePicker/VDatePickerHeader.ts +32 -32
- package/src/components/VDatePicker/VDatePickerMonthTable.ts +7 -7
- package/src/components/VDatePicker/VDatePickerTitle.ts +22 -22
- package/src/components/VDatePicker/VDatePickerYears.ts +10 -17
- package/src/components/VDatePicker/__tests__/VDatePicker.date.spec.ts +121 -121
- package/src/components/VDatePicker/__tests__/VDatePicker.month.spec.ts +54 -54
- package/src/components/VDatePicker/__tests__/VDatePickerDateTable.spec.ts +47 -47
- package/src/components/VDatePicker/__tests__/VDatePickerHeader.spec.ts +38 -38
- package/src/components/VDatePicker/__tests__/VDatePickerMonthTable.spec.ts +39 -39
- package/src/components/VDatePicker/__tests__/VDatePickerTitle.spec.ts +23 -23
- package/src/components/VDatePicker/__tests__/VDatePickerYears.spec.ts +16 -16
- package/src/components/VDatePicker/index.ts +3 -3
- package/src/components/VDatePicker/mixins/date-picker-table.ts +47 -48
- package/src/components/VDatePicker/util/eventHelpers.ts +2 -2
- package/src/components/VDatePicker/util/index.ts +2 -2
- package/src/components/VDialog/VDialog.ts +32 -35
- package/src/components/VDialog/__tests__/VDialog.spec.ts +55 -55
- package/src/components/VDivider/VDivider.ts +4 -5
- package/src/components/VDivider/__tests__/VDivider.spec.ts +9 -9
- package/src/components/VExpansionPanel/VExpansionPanel.ts +13 -13
- package/src/components/VExpansionPanel/VExpansionPanelContent.ts +11 -11
- package/src/components/VExpansionPanel/VExpansionPanelHeader.ts +18 -18
- package/src/components/VExpansionPanel/VExpansionPanels.ts +6 -6
- package/src/components/VExpansionPanel/__tests__/VExpansionPanel.spec.ts +24 -24
- package/src/components/VExpansionPanel/__tests__/VExpansionPanelHeader.spec.ts +5 -5
- package/src/components/VExpansionPanel/__tests__/VExpansionPanels.spec.ts +4 -4
- package/src/components/VExpansionPanel/index.ts +2 -2
- package/src/components/VFileInput/VFileInput.ts +31 -31
- package/src/components/VFileInput/__tests__/VFileInput.spec.ts +39 -39
- package/src/components/VFooter/VFooter.ts +13 -14
- package/src/components/VFooter/__tests__/VFooter.spec.ts +12 -12
- package/src/components/VForm/VForm.ts +8 -8
- package/src/components/VForm/__tests__/VForm.spec.ts +29 -29
- package/src/components/VGrid/VCol.ts +14 -14
- package/src/components/VGrid/VContainer.ts +6 -6
- package/src/components/VGrid/VRow.ts +15 -15
- package/src/components/VGrid/__tests__/VCol.spec.ts +14 -14
- package/src/components/VGrid/__tests__/VContainer.spec.ts +12 -12
- package/src/components/VGrid/__tests__/VFlex.spec.ts +2 -2
- package/src/components/VGrid/__tests__/VGrid.spec.ts +9 -10
- package/src/components/VGrid/__tests__/VLayout.spec.ts +2 -2
- package/src/components/VGrid/grid.ts +3 -3
- package/src/components/VGrid/index.ts +3 -3
- package/src/components/VHover/VHover.ts +6 -7
- package/src/components/VHover/__tests__/VHover.spec.ts +14 -14
- package/src/components/VIcon/VIcon.ts +48 -40
- package/src/components/VIcon/__tests__/VIcon.spec.ts +34 -34
- package/src/components/VImg/VImg.ts +48 -49
- package/src/components/VImg/__tests__/VImg.spec.ts +25 -25
- package/src/components/VInput/VInput.ts +47 -44
- package/src/components/VInput/__tests__/VInput.spec.ts +133 -114
- package/src/components/VItemGroup/VItem.ts +11 -11
- package/src/components/VItemGroup/VItemGroup.ts +18 -19
- package/src/components/VItemGroup/__tests__/VItem.spec.ts +5 -6
- package/src/components/VItemGroup/__tests__/VItemGroup.spec.ts +37 -37
- package/src/components/VItemGroup/index.ts +3 -3
- package/src/components/VLabel/VLabel.ts +8 -8
- package/src/components/VLabel/__tests__/VLabel.spec.ts +53 -53
- package/src/components/VLazy/VLazy.ts +19 -18
- package/src/components/VLazy/__tests__/VLazy.spec.ts +7 -6
- package/src/components/VLazy/__tests__/__snapshots__/VLazy.spec.ts.snap +0 -1
- package/src/components/VList/VList.ts +12 -12
- package/src/components/VList/VListGroup.ts +27 -26
- package/src/components/VList/VListItem.ts +26 -25
- package/src/components/VList/VListItemAction.ts +1 -1
- package/src/components/VList/VListItemAvatar.ts +5 -5
- package/src/components/VList/VListItemGroup.ts +7 -7
- package/src/components/VList/VListItemIcon.ts +1 -1
- package/src/components/VList/__tests__/VList.spec.ts +13 -13
- package/src/components/VList/__tests__/VListGroup.spec.ts +31 -31
- package/src/components/VList/__tests__/VListItem.spec.ts +49 -49
- package/src/components/VList/__tests__/VListItemAction.spec.ts +11 -11
- package/src/components/VList/__tests__/VListItemAvatar.spec.ts +2 -2
- package/src/components/VList/__tests__/VListItemGroup.spec.ts +2 -2
- package/src/components/VList/index.ts +3 -3
- package/src/components/VMain/VMain.ts +9 -9
- package/src/components/VMain/__tests__/VMain.spec.ts +5 -5
- package/src/components/VMenu/VMenu.ts +38 -37
- package/src/components/VMenu/__tests__/VMenu.spec.ts +48 -48
- package/src/components/VMessages/VMessages.ts +16 -9
- package/src/components/VMessages/__tests__/VMessages.spec.ts +22 -22
- package/src/components/VNavigationDrawer/VNavigationDrawer.ts +33 -33
- package/src/components/VNavigationDrawer/__tests__/VNavigationDrawer.spec.ts +57 -57
- package/src/components/VOtpInput/VOtpInput.ts +27 -27
- package/src/components/VOtpInput/__tests__/VOtpInput.spec.ts +12 -12
- package/src/components/VOverflowBtn/VOverflowBtn.ts +6 -6
- package/src/components/VOverflowBtn/__tests__/VOverflowBtn.spec.ts +18 -18
- package/src/components/VOverlay/VOverlay.ts +17 -17
- package/src/components/VOverlay/__tests__/VOverlay.spec.ts +3 -3
- package/src/components/VPagination/VPagination.ts +32 -32
- package/src/components/VPagination/__tests__/VPagination.spec.ts +37 -37
- package/src/components/VParallax/VParallax.ts +17 -17
- package/src/components/VParallax/__tests__/VParallax.spec.ts +6 -6
- package/src/components/VPicker/VPicker.ts +22 -20
- package/src/components/VPicker/__tests__/VPicker.spec.ts +18 -18
- package/src/components/VProgressCircular/VProgressCircular.ts +19 -20
- package/src/components/VProgressCircular/__tests__/VProgressCircular.spec.ts +21 -21
- package/src/components/VProgressLinear/VProgressLinear.ts +38 -38
- package/src/components/VProgressLinear/__tests__/VProgressLinear.spec.ts +72 -72
- package/src/components/VRadioGroup/VRadio.ts +23 -23
- package/src/components/VRadioGroup/VRadioGroup.ts +12 -12
- package/src/components/VRadioGroup/__tests__/VRadio.spec.ts +21 -21
- package/src/components/VRadioGroup/__tests__/VRadioGroup.spec.ts +4 -4
- package/src/components/VRadioGroup/index.ts +2 -2
- package/src/components/VRangeSlider/VRangeSlider.ts +19 -19
- package/src/components/VRangeSlider/__tests__/VRangeSlider.spec.ts +18 -18
- package/src/components/VRating/VRating.ts +27 -27
- package/src/components/VRating/__tests__/VRating.spec.ts +23 -24
- package/src/components/VResponsive/VResponsive.ts +9 -9
- package/src/components/VResponsive/__tests__/VResponsive.spec.ts +6 -6
- package/src/components/VSelect/VSelect.ts +55 -50
- package/src/components/VSelect/VSelectList.ts +37 -31
- package/src/components/VSelect/__tests__/VSelect.spec.ts +124 -70
- package/src/components/VSelect/__tests__/VSelect2.spec.ts +58 -58
- package/src/components/VSelect/__tests__/VSelect3.spec.ts +54 -54
- package/src/components/VSelect/__tests__/VSelect4.spec.ts +42 -42
- package/src/components/VSelect/__tests__/VSelectList.spec.ts +30 -17
- package/src/components/VSheet/VSheet.ts +7 -7
- package/src/components/VSheet/__tests__/VSheet.spec.ts +5 -5
- package/src/components/VSkeletonLoader/VSkeletonLoader.ts +13 -14
- package/src/components/VSkeletonLoader/__tests__/VSkeletonLoader.spec.ts +12 -12
- package/src/components/VSlideGroup/VSlideGroup.ts +33 -40
- package/src/components/VSlideGroup/VSlideItem.ts +1 -1
- package/src/components/VSlideGroup/__tests__/VSlideGroup.spec.ts +46 -46
- package/src/components/VSlideGroup/index.ts +3 -3
- package/src/components/VSlider/VSlider.ts +71 -76
- package/src/components/VSlider/__tests__/VSlider.spec.ts +51 -51
- package/src/components/VSnackbar/VSnackbar.ts +24 -24
- package/src/components/VSnackbar/__tests__/VSnackbar.spec.ts +20 -20
- package/src/components/VSparkline/VSparkline.ts +50 -48
- package/src/components/VSparkline/__tests__/VSparkline.spec.ts +49 -49
- package/src/components/VSparkline/helpers/core.ts +2 -2
- package/src/components/VSparkline/helpers/math.ts +1 -1
- package/src/components/VSpeedDial/VSpeedDial.ts +22 -20
- package/src/components/VSpeedDial/__tests__/VSpeedDial.spec.ts +10 -10
- package/src/components/VStepper/VStepper.ts +11 -11
- package/src/components/VStepper/VStepperContent.ts +17 -17
- package/src/components/VStepper/VStepperStep.ts +19 -21
- package/src/components/VStepper/__tests__/VStepper.spec.ts +3 -3
- package/src/components/VStepper/__tests__/VStepperContent.spec.ts +46 -46
- package/src/components/VStepper/__tests__/VStepperStep.spec.ts +31 -31
- package/src/components/VStepper/index.ts +3 -3
- package/src/components/VSubheader/VSubheader.ts +4 -4
- package/src/components/VSubheader/__tests__/VSubheader.spec.ts +6 -6
- package/src/components/VSwitch/VSwitch.ts +22 -22
- package/src/components/VSwitch/__tests__/VSwitch.spec.ts +11 -11
- package/src/components/VSystemBar/VSystemBar.ts +11 -12
- package/src/components/VSystemBar/__tests__/VSystemBar.spec.ts +23 -23
- package/src/components/VTabs/VTab.ts +27 -16
- package/src/components/VTabs/VTabItem.ts +3 -3
- package/src/components/VTabs/VTabs.ts +35 -30
- package/src/components/VTabs/VTabsBar.ts +7 -7
- package/src/components/VTabs/VTabsItems.ts +6 -6
- package/src/components/VTabs/VTabsSlider.ts +4 -4
- package/src/components/VTabs/__tests__/VTab.spec.ts +16 -16
- package/src/components/VTabs/__tests__/VTabs.spec.ts +47 -47
- package/src/components/VTabs/__tests__/VTabsBar.spec.ts +12 -12
- package/src/components/VTabs/__tests__/VTabsSlider.spec.ts +4 -4
- package/src/components/VTabs/index.ts +2 -2
- package/src/components/VTextField/VTextField.ts +43 -40
- package/src/components/VTextField/__tests__/VTextField.spec.ts +109 -109
- package/src/components/VTextarea/VTextarea.ts +9 -22
- package/src/components/VTextarea/__tests__/VTextarea.spec.ts +21 -21
- package/src/components/VThemeProvider/VThemeProvider.ts +2 -2
- package/src/components/VThemeProvider/__tests__/VThemeProvider.spec.ts +15 -15
- package/src/components/VTimePicker/VTimePicker.ts +17 -17
- package/src/components/VTimePicker/VTimePickerClock.ts +28 -35
- package/src/components/VTimePicker/VTimePickerTitle.ts +10 -10
- package/src/components/VTimePicker/__tests__/VTimePicker.spec.ts +71 -71
- package/src/components/VTimePicker/__tests__/VTimePickerClock.spec.ts +31 -31
- package/src/components/VTimePicker/__tests__/VTimePickerTitle.spec.ts +18 -18
- package/src/components/VTimePicker/index.ts +2 -2
- package/src/components/VTimeline/VTimeline.ts +6 -6
- package/src/components/VTimeline/VTimelineItem.ts +21 -19
- package/src/components/VTimeline/__tests__/VTimelineItem.spec.ts +12 -12
- package/src/components/VTimeline/index.ts +2 -2
- package/src/components/VToolbar/VToolbar.ts +17 -17
- package/src/components/VToolbar/__tests__/VToolbar.spec.ts +23 -23
- package/src/components/VToolbar/index.ts +3 -3
- package/src/components/VTooltip/VTooltip.ts +18 -18
- package/src/components/VTooltip/__tests__/VTooltip.spec.ts +45 -45
- package/src/components/VTreeview/VTreeview.ts +31 -28
- package/src/components/VTreeview/VTreeviewNode.ts +41 -41
- package/src/components/VTreeview/__tests__/VTreeview.spec.ts +129 -129
- package/src/components/VTreeview/__tests__/VTreeviewNode.spec.ts +29 -29
- package/src/components/VTreeview/index.ts +2 -2
- package/src/components/VVirtualScroll/VVirtualScroll.ts +16 -16
- package/src/components/VVirtualScroll/__tests__/VVirtualScroll.spec.ts +12 -12
- package/src/components/VWindow/VWindow.ts +24 -27
- package/src/components/VWindow/VWindowItem.ts +12 -13
- package/src/components/VWindow/__tests__/VWindow.spec.ts +62 -62
- package/src/components/VWindow/__tests__/VWindowItem.spec.ts +140 -141
- package/src/components/VWindow/index.ts +2 -2
- package/src/components/transitions/createTransition.ts +15 -15
- package/src/components/transitions/expand-transition.ts +4 -4
- package/src/components/transitions/index.ts +3 -3
- package/src/directives/click-outside/__tests__/click-outside-shadow-dom.spec.ts +3 -3
- package/src/directives/click-outside/__tests__/click-outside.spec.ts +4 -4
- package/src/directives/click-outside/index.ts +5 -5
- package/src/directives/color/__tests__/color.spec.ts +26 -22
- package/src/directives/color/index.ts +8 -7
- package/src/directives/intersect/__tests__/intersect.spec.ts +3 -3
- package/src/directives/intersect/index.ts +2 -1
- package/src/directives/mutate/__tests__/mutate.spec.ts +16 -16
- package/src/directives/mutate/index.ts +11 -11
- package/src/directives/resize/index.ts +2 -2
- package/src/directives/ripple/__tests__/ripple.spec.ts +12 -12
- package/src/directives/ripple/index.ts +4 -3
- package/src/directives/scroll/__tests__/scroll.spec.ts +7 -7
- package/src/directives/scroll/index.ts +3 -3
- package/src/directives/touch/__tests__/touch.spec.ts +3 -3
- package/src/directives/touch/index.ts +3 -3
- package/src/framework.ts +6 -7
- package/src/globals.d.ts +7 -90
- package/src/index.ts +1 -1
- package/src/install.ts +3 -3
- package/src/locale/af.ts +16 -16
- package/src/locale/ar.ts +16 -16
- package/src/locale/az.ts +16 -16
- package/src/locale/bg.ts +16 -16
- package/src/locale/ca.ts +16 -16
- package/src/locale/ckb.ts +16 -16
- package/src/locale/cs.ts +16 -16
- package/src/locale/da.ts +16 -16
- package/src/locale/de.ts +16 -16
- package/src/locale/el.ts +16 -16
- package/src/locale/en.ts +16 -16
- package/src/locale/es.ts +16 -16
- package/src/locale/et.ts +16 -16
- package/src/locale/fa.ts +16 -16
- package/src/locale/fi.ts +16 -16
- package/src/locale/fr.ts +16 -16
- package/src/locale/he.ts +16 -16
- package/src/locale/hr.ts +16 -16
- package/src/locale/hu.ts +16 -16
- package/src/locale/id.ts +16 -16
- package/src/locale/it.ts +16 -16
- package/src/locale/ja.ts +16 -16
- package/src/locale/ko.ts +16 -16
- package/src/locale/lt.ts +16 -16
- package/src/locale/lv.ts +16 -16
- package/src/locale/nl.ts +16 -16
- package/src/locale/no.ts +16 -16
- package/src/locale/pl.ts +16 -16
- package/src/locale/pt.ts +16 -16
- package/src/locale/ro.ts +16 -16
- package/src/locale/ru.ts +16 -16
- package/src/locale/sk.ts +16 -16
- package/src/locale/sl.ts +16 -16
- package/src/locale/sr-Cyrl.ts +16 -16
- package/src/locale/sr-Latn.ts +16 -16
- package/src/locale/sv.ts +16 -16
- package/src/locale/th.ts +16 -16
- package/src/locale/tr.ts +16 -16
- package/src/locale/uk.ts +16 -16
- package/src/locale/vi.ts +16 -16
- package/src/locale/zh-Hans.ts +16 -16
- package/src/locale/zh-Hant.ts +16 -16
- package/src/mixins/activatable/__tests__/activatable.spec.ts +18 -18
- package/src/mixins/activatable/index.ts +20 -21
- package/src/mixins/applicationable/__tests__/applicationable.spec.ts +18 -18
- package/src/mixins/applicationable/index.ts +5 -5
- package/src/mixins/binds-attrs/index.ts +3 -3
- package/src/mixins/bootable/__tests__/bootable.spec.ts +12 -12
- package/src/mixins/bootable/index.ts +6 -6
- package/src/mixins/button-group/index.ts +4 -4
- package/src/mixins/colorable/__tests__/colorable.spec.ts +22 -22
- package/src/mixins/colorable/index.ts +15 -14
- package/src/mixins/comparable/index.ts +4 -5
- package/src/mixins/delayable/index.ts +7 -7
- package/src/mixins/dependent/__tests__/dependent.spec.ts +18 -18
- package/src/mixins/dependent/index.ts +27 -20
- package/src/mixins/detachable/__tests__/detachable.spec.ts +12 -12
- package/src/mixins/detachable/index.ts +10 -15
- package/src/mixins/elevatable/__tests__/elevatable.spec.ts +5 -5
- package/src/mixins/elevatable/index.ts +4 -4
- package/src/mixins/filterable/index.ts +4 -4
- package/src/mixins/groupable/index.ts +9 -9
- package/src/mixins/intersectable/__tests__/intersectable.spec.ts +20 -20
- package/src/mixins/intersectable/index.ts +10 -10
- package/src/mixins/loadable/index.ts +9 -7
- package/src/mixins/localable/index.ts +4 -4
- package/src/mixins/measurable/index.ts +3 -3
- package/src/mixins/menuable/__tests__/menuable.spec.ts +24 -24
- package/src/mixins/menuable/index.ts +26 -26
- package/src/mixins/mobile/__tests__/mobile.spec.ts +7 -7
- package/src/mixins/mobile/index.ts +8 -8
- package/src/mixins/mouse/__tests__/mouse.spec.ts +14 -14
- package/src/mixins/mouse/index.ts +4 -4
- package/src/mixins/overlayable/__tests__/overlayable.spec.ts +8 -8
- package/src/mixins/overlayable/index.ts +15 -15
- package/src/mixins/picker/index.ts +10 -8
- package/src/mixins/picker-button/index.ts +6 -5
- package/src/mixins/positionable/index.ts +6 -6
- package/src/mixins/proxyable/__tests__/proxyable.spec.ts +6 -6
- package/src/mixins/proxyable/index.ts +8 -8
- package/src/mixins/registrable/__tests__/registrable.spec.ts +3 -3
- package/src/mixins/registrable/index.ts +19 -20
- package/src/mixins/returnable/index.ts +6 -6
- package/src/mixins/rippleable/__tests__/rippleable.spec.ts +1 -1
- package/src/mixins/rippleable/index.ts +6 -5
- package/src/mixins/roundable/__tests__/roundable.spec.ts +4 -4
- package/src/mixins/roundable/index.ts +9 -7
- package/src/mixins/routable/__tests__/routable.spec.ts +20 -20
- package/src/mixins/routable/index.ts +16 -14
- package/src/mixins/scrollable/__tests__/scrollable.spec.ts +18 -18
- package/src/mixins/scrollable/index.ts +7 -7
- package/src/mixins/selectable/__tests__/selectable.spec.ts +5 -5
- package/src/mixins/selectable/index.ts +9 -9
- package/src/mixins/sizeable/index.ts +5 -5
- package/src/mixins/ssr-bootable/index.ts +3 -3
- package/src/mixins/stackable/index.ts +6 -6
- package/src/mixins/themeable/index.ts +17 -17
- package/src/mixins/toggleable/index.ts +5 -5
- package/src/mixins/transitionable/index.ts +3 -3
- package/src/mixins/translatable/index.ts +6 -6
- package/src/mixins/validatable/__tests__/validatable.spec.ts +33 -33
- package/src/mixins/validatable/index.ts +18 -18
- package/src/presets/default/index.ts +10 -10
- package/src/services/application/index.ts +1 -1
- package/src/services/breakpoint/__tests__/breakpoint.spec.ts +34 -34
- package/src/services/breakpoint/index.ts +3 -4
- package/src/services/goto/__tests__/goto.spec.ts +6 -6
- package/src/services/goto/index.ts +2 -2
- package/src/services/icons/index.ts +1 -1
- package/src/services/icons/presets/fa-svg.ts +3 -3
- package/src/services/icons/presets/fa.ts +1 -1
- package/src/services/icons/presets/fa4.ts +1 -1
- package/src/services/icons/presets/index.ts +1 -1
- package/src/services/icons/presets/md.ts +1 -1
- package/src/services/icons/presets/mdi-svg.ts +1 -1
- package/src/services/icons/presets/mdi.ts +1 -1
- package/src/services/lang/__tests__/lang.spec.ts +5 -5
- package/src/services/lang/index.ts +2 -2
- package/src/services/presets/__tests__/presets.spec.ts +9 -9
- package/src/services/presets/index.ts +2 -2
- package/src/services/service/index.ts +2 -2
- package/src/services/theme/__tests__/theme-utils.spec.ts +4 -4
- package/src/services/theme/__tests__/theme.spec.ts +15 -15
- package/src/services/theme/index.ts +8 -8
- package/src/services/theme/utils.ts +3 -3
- package/src/types/vue-augment.ts +15 -0
- package/src/types/vue-internal.ts +34 -0
- package/src/util/__tests__/colorUtils.spec.ts +4 -4
- package/src/util/__tests__/dateTimeUtils.spec.ts +1 -1
- package/src/util/__tests__/dom.spec.ts +3 -3
- package/src/util/__tests__/helpers.spec.ts +131 -18
- package/src/util/__tests__/mergeData.spec.ts +3 -3
- package/src/util/color/transformCIELAB.ts +2 -2
- package/src/util/color/transformSRGB.ts +2 -2
- package/src/util/colorUtils.ts +4 -4
- package/src/util/colors.ts +21 -21
- package/src/util/console.ts +1 -1
- package/src/util/dedupeModelListeners.ts +1 -1
- package/src/util/helpers.ts +34 -30
- package/src/util/legacyEventsMixin.ts +9 -9
- package/src/util/make-directive-activatable.ts +12 -12
- package/src/util/mergeData.ts +2 -16
- package/src/util/mixins.ts +10 -8
- package/src/util/rebuildFunctionalSlots.ts +1 -1
- package/types/alacarte.d.ts +3 -2
- package/types/index.d.ts +5 -13
- package/types/services/goto.d.ts +3 -3
- package/types/services/index.d.ts +2 -2
|
@@ -16,8 +16,8 @@ import { addOnceEventListener, deepEqual, keyCodes, createRange, convertToUnit,
|
|
|
16
16
|
import { consoleWarn, breaking } from '../../util/console'
|
|
17
17
|
|
|
18
18
|
// Types
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
19
|
+
import type { PropType, VNode } from 'vue'
|
|
20
|
+
import { defineComponent, h, getCurrentInstance, withDirectives, vShow } from 'vue'
|
|
21
21
|
|
|
22
22
|
interface options {
|
|
23
23
|
$refs: {
|
|
@@ -25,63 +25,55 @@ interface options {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export default mixins
|
|
29
|
-
/* eslint-disable indent */
|
|
30
|
-
ExtractVue<[
|
|
31
|
-
typeof VInput,
|
|
32
|
-
typeof Loadable
|
|
33
|
-
]>
|
|
34
|
-
/* eslint-enable indent */
|
|
35
|
-
>(
|
|
28
|
+
export default mixins(
|
|
36
29
|
VInput,
|
|
37
30
|
Loadable
|
|
38
31
|
/* @vue/component */
|
|
39
32
|
).extend({
|
|
40
33
|
name: 'v-slider',
|
|
41
34
|
|
|
42
|
-
|
|
43
35
|
props: {
|
|
44
36
|
disabled: Boolean,
|
|
45
37
|
inverseLabel: Boolean,
|
|
46
38
|
max: {
|
|
47
39
|
type: [Number, String],
|
|
48
|
-
default: 100
|
|
40
|
+
default: 100
|
|
49
41
|
},
|
|
50
42
|
min: {
|
|
51
43
|
type: [Number, String],
|
|
52
|
-
default: 0
|
|
44
|
+
default: 0
|
|
53
45
|
},
|
|
54
46
|
step: {
|
|
55
47
|
type: [Number, String],
|
|
56
|
-
default: 1
|
|
48
|
+
default: 1
|
|
57
49
|
},
|
|
58
50
|
thumbColor: String,
|
|
59
51
|
thumbLabel: {
|
|
60
52
|
type: [Boolean, String] as PropType<boolean | 'always' | undefined>,
|
|
61
53
|
default: undefined,
|
|
62
|
-
validator: (v: any) => typeof v === 'boolean' || v === 'always' || v === undefined
|
|
54
|
+
validator: (v: any) => typeof v === 'boolean' || v === 'always' || v === undefined
|
|
63
55
|
},
|
|
64
56
|
thumbSize: {
|
|
65
57
|
type: [Number, String],
|
|
66
|
-
default: 32
|
|
58
|
+
default: 32
|
|
67
59
|
},
|
|
68
60
|
tickLabels: {
|
|
69
61
|
type: Array,
|
|
70
|
-
default: () => ([])
|
|
71
|
-
} as
|
|
62
|
+
default: () => ([])
|
|
63
|
+
} as unknown as PropType<string[]>,
|
|
72
64
|
ticks: {
|
|
73
65
|
type: [Boolean, String] as PropType<boolean | 'always'>,
|
|
74
66
|
default: false,
|
|
75
|
-
validator: (v: any) => typeof v === 'boolean' || v === 'always'
|
|
67
|
+
validator: (v: any) => typeof v === 'boolean' || v === 'always'
|
|
76
68
|
},
|
|
77
69
|
tickSize: {
|
|
78
70
|
type: [Number, String],
|
|
79
|
-
default: 2
|
|
71
|
+
default: 2
|
|
80
72
|
},
|
|
81
73
|
trackColor: String,
|
|
82
74
|
trackFillColor: String,
|
|
83
75
|
modelValue: [Number, String],
|
|
84
|
-
vertical: Boolean
|
|
76
|
+
vertical: Boolean
|
|
85
77
|
},
|
|
86
78
|
|
|
87
79
|
emits: [
|
|
@@ -91,7 +83,7 @@ export default mixins<options &
|
|
|
91
83
|
'mouseup',
|
|
92
84
|
'change',
|
|
93
85
|
'focus',
|
|
94
|
-
'blur'
|
|
86
|
+
'blur'
|
|
95
87
|
],
|
|
96
88
|
|
|
97
89
|
data: () => ({
|
|
@@ -102,29 +94,16 @@ export default mixins<options &
|
|
|
102
94
|
isFocused: false,
|
|
103
95
|
isActive: false,
|
|
104
96
|
noClick: false, // Prevent click event if dragging took place, hack for #7915
|
|
105
|
-
startOffset: 0
|
|
97
|
+
startOffset: 0
|
|
106
98
|
}),
|
|
107
99
|
|
|
108
|
-
created () {
|
|
109
|
-
const breakingProps = [
|
|
110
|
-
['value', 'modelValue'],
|
|
111
|
-
['onInput', 'onUpdate:modelValue'],
|
|
112
|
-
['onChange', 'onUpdate:modelValue'],
|
|
113
|
-
]
|
|
114
|
-
|
|
115
|
-
/* istanbul ignore next */
|
|
116
|
-
breakingProps.forEach(([original, replacement]) => {
|
|
117
|
-
if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this)
|
|
118
|
-
})
|
|
119
|
-
},
|
|
120
|
-
|
|
121
100
|
computed: {
|
|
122
101
|
classes (): object {
|
|
123
102
|
return {
|
|
124
103
|
...VInput.computed.classes.call(this),
|
|
125
104
|
'v-input__slider': true,
|
|
126
105
|
'v-input__slider--vertical': this.vertical,
|
|
127
|
-
'v-input__slider--inverse-label': this.inverseLabel
|
|
106
|
+
'v-input__slider--inverse-label': this.inverseLabel
|
|
128
107
|
}
|
|
129
108
|
},
|
|
130
109
|
internalValue: {
|
|
@@ -146,7 +125,7 @@ export default mixins<options &
|
|
|
146
125
|
this.lazyValue = value
|
|
147
126
|
|
|
148
127
|
this.$emit('update:modelValue', value)
|
|
149
|
-
}
|
|
128
|
+
}
|
|
150
129
|
},
|
|
151
130
|
trackTransition (): string {
|
|
152
131
|
return this.thumbPressed
|
|
@@ -183,7 +162,7 @@ export default mixins<options &
|
|
|
183
162
|
transition: this.trackTransition,
|
|
184
163
|
[startDir]: start,
|
|
185
164
|
[endDir]: end,
|
|
186
|
-
[valueDir]: value
|
|
165
|
+
[valueDir]: value
|
|
187
166
|
}
|
|
188
167
|
},
|
|
189
168
|
trackStyles (): Partial<CSSStyleDeclaration> {
|
|
@@ -196,7 +175,7 @@ export default mixins<options &
|
|
|
196
175
|
return {
|
|
197
176
|
transition: this.trackTransition,
|
|
198
177
|
[startDir]: start,
|
|
199
|
-
[endDir]: end
|
|
178
|
+
[endDir]: end
|
|
200
179
|
}
|
|
201
180
|
},
|
|
202
181
|
showTicks (): boolean {
|
|
@@ -226,7 +205,7 @@ export default mixins<options &
|
|
|
226
205
|
computedThumbColor (): string | undefined {
|
|
227
206
|
if (this.thumbColor) return this.thumbColor
|
|
228
207
|
return this.validationState || this.computedColor
|
|
229
|
-
}
|
|
208
|
+
}
|
|
230
209
|
},
|
|
231
210
|
|
|
232
211
|
watch: {
|
|
@@ -247,10 +226,22 @@ export default mixins<options &
|
|
|
247
226
|
// Use the setter to ensure proper rounding and validation
|
|
248
227
|
this.internalValue = v
|
|
249
228
|
},
|
|
250
|
-
immediate: true
|
|
251
|
-
}
|
|
229
|
+
immediate: true
|
|
230
|
+
}
|
|
252
231
|
},
|
|
253
232
|
|
|
233
|
+
created () {
|
|
234
|
+
const breakingProps = [
|
|
235
|
+
['value', 'modelValue'],
|
|
236
|
+
['onInput', 'onUpdate:modelValue'],
|
|
237
|
+
['onChange', 'onUpdate:modelValue']
|
|
238
|
+
]
|
|
239
|
+
|
|
240
|
+
/* istanbul ignore next */
|
|
241
|
+
breakingProps.forEach(([original, replacement]) => {
|
|
242
|
+
if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this)
|
|
243
|
+
})
|
|
244
|
+
},
|
|
254
245
|
|
|
255
246
|
mounted () {
|
|
256
247
|
// Without a v-app, iOS does not work with body selectors
|
|
@@ -280,13 +271,13 @@ export default mixins<options &
|
|
|
280
271
|
'v-slider--active': this.isActive,
|
|
281
272
|
'v-slider--disabled': this.isDisabled,
|
|
282
273
|
'v-slider--readonly': this.isReadonly,
|
|
283
|
-
...this.themeClasses
|
|
274
|
+
...this.themeClasses
|
|
284
275
|
},
|
|
285
276
|
onClick: this.onSliderClick,
|
|
286
277
|
onMousedown: this.onSliderMouseDown,
|
|
287
|
-
onTouchstart: this.onSliderMouseDown
|
|
278
|
+
onTouchstart: this.onSliderMouseDown
|
|
288
279
|
}, this.genChildren()), [
|
|
289
|
-
[ClickOutside, this.onBlur]
|
|
280
|
+
[ClickOutside, this.onBlur]
|
|
290
281
|
])
|
|
291
282
|
},
|
|
292
283
|
genChildren (): VNode[] {
|
|
@@ -300,8 +291,8 @@ export default mixins<options &
|
|
|
300
291
|
this.isActive,
|
|
301
292
|
this.isFocused,
|
|
302
293
|
this.onFocus,
|
|
303
|
-
this.onBlur
|
|
304
|
-
)
|
|
294
|
+
this.onBlur
|
|
295
|
+
)
|
|
305
296
|
]
|
|
306
297
|
},
|
|
307
298
|
genInput (): VNode {
|
|
@@ -311,7 +302,7 @@ export default mixins<options &
|
|
|
311
302
|
disabled: true,
|
|
312
303
|
readonly: true,
|
|
313
304
|
tabindex: -1,
|
|
314
|
-
...this.$attrs
|
|
305
|
+
...this.$attrs
|
|
315
306
|
// on: this.genListeners(), // TODO: do we need to attach the listeners to input?
|
|
316
307
|
})
|
|
317
308
|
},
|
|
@@ -319,17 +310,17 @@ export default mixins<options &
|
|
|
319
310
|
const children = [
|
|
320
311
|
h('div', this.setBackgroundColor(this.computedTrackColor, {
|
|
321
312
|
class: 'v-slider__track-background',
|
|
322
|
-
style: this.trackStyles
|
|
313
|
+
style: this.trackStyles
|
|
323
314
|
})),
|
|
324
315
|
h('div', this.setBackgroundColor(this.computedTrackFillColor, {
|
|
325
316
|
class: 'v-slider__track-fill',
|
|
326
|
-
style: this.trackFillStyles
|
|
327
|
-
}))
|
|
317
|
+
style: this.trackFillStyles
|
|
318
|
+
}))
|
|
328
319
|
]
|
|
329
320
|
|
|
330
321
|
return h('div', {
|
|
331
322
|
class: 'v-slider__track-container',
|
|
332
|
-
ref: 'track'
|
|
323
|
+
ref: 'track'
|
|
333
324
|
}, children)
|
|
334
325
|
},
|
|
335
326
|
genSteps (): VNode | null {
|
|
@@ -347,7 +338,7 @@ export default mixins<options &
|
|
|
347
338
|
|
|
348
339
|
if (this.tickLabels[index]) {
|
|
349
340
|
children.push(h('div', {
|
|
350
|
-
class: 'v-slider__tick-label'
|
|
341
|
+
class: 'v-slider__tick-label'
|
|
351
342
|
}, this.tickLabels[index]))
|
|
352
343
|
}
|
|
353
344
|
|
|
@@ -357,21 +348,21 @@ export default mixins<options &
|
|
|
357
348
|
return h('span', {
|
|
358
349
|
key: index,
|
|
359
350
|
class: ['v-slider__tick', {
|
|
360
|
-
'v-slider__tick--filled': filled
|
|
351
|
+
'v-slider__tick--filled': filled
|
|
361
352
|
}],
|
|
362
353
|
style: {
|
|
363
354
|
width: `${tickSize}px`,
|
|
364
355
|
height: `${tickSize}px`,
|
|
365
356
|
[direction]: `calc(${width}% - ${tickSize / 2}px)`,
|
|
366
|
-
[offsetDirection]: `calc(50% - ${tickSize / 2}px)
|
|
367
|
-
}
|
|
357
|
+
[offsetDirection]: `calc(50% - ${tickSize / 2}px)`
|
|
358
|
+
}
|
|
368
359
|
}, children)
|
|
369
360
|
})
|
|
370
361
|
|
|
371
362
|
return h('div', {
|
|
372
363
|
class: ['v-slider__ticks-container', {
|
|
373
|
-
'v-slider__ticks-container--always-show': this.ticks === 'always' || this.tickLabels.length > 0
|
|
374
|
-
}]
|
|
364
|
+
'v-slider__ticks-container--always-show': this.ticks === 'always' || this.tickLabels.length > 0
|
|
365
|
+
}]
|
|
375
366
|
}, ticks)
|
|
376
367
|
},
|
|
377
368
|
genThumbContainer (
|
|
@@ -394,7 +385,7 @@ export default mixins<options &
|
|
|
394
385
|
class: ['v-slider__thumb-container', {
|
|
395
386
|
'v-slider__thumb-container--active': isActive,
|
|
396
387
|
'v-slider__thumb-container--focused': isFocused,
|
|
397
|
-
'v-slider__thumb-container--show-label': this.showThumbLabel
|
|
388
|
+
'v-slider__thumb-container--show-label': this.showThumbLabel
|
|
398
389
|
}],
|
|
399
390
|
style: this.getThumbContainerStyles(valueWidth),
|
|
400
391
|
role: 'slider',
|
|
@@ -407,7 +398,7 @@ export default mixins<options &
|
|
|
407
398
|
'aria-orientation': this.vertical ? 'vertical' : 'horizontal',
|
|
408
399
|
onFocus,
|
|
409
400
|
onBlur,
|
|
410
|
-
onKeydown: this.onKeyDown
|
|
401
|
+
onKeydown: this.onKeyDown
|
|
411
402
|
}), children)
|
|
412
403
|
},
|
|
413
404
|
genThumbLabelContent (value: number | string): any {
|
|
@@ -423,27 +414,27 @@ export default mixins<options &
|
|
|
423
414
|
: `translateY(-20%) translateY(-12px) translateX(-50%) rotate(45deg)`
|
|
424
415
|
|
|
425
416
|
return h(VScaleTransition, {
|
|
426
|
-
origin: 'bottom center'
|
|
417
|
+
origin: 'bottom center'
|
|
427
418
|
}, () => [
|
|
428
419
|
withDirectives(h('div', {
|
|
429
|
-
class: 'v-slider__thumb-label-container'
|
|
420
|
+
class: 'v-slider__thumb-label-container'
|
|
430
421
|
}, [
|
|
431
422
|
h('div', this.setBackgroundColor(this.computedThumbColor, {
|
|
432
423
|
class: 'v-slider__thumb-label',
|
|
433
424
|
style: {
|
|
434
425
|
height: size,
|
|
435
426
|
width: size,
|
|
436
|
-
transform
|
|
437
|
-
}
|
|
438
|
-
}), [h('div', content)])
|
|
427
|
+
transform
|
|
428
|
+
}
|
|
429
|
+
}), [h('div', content)])
|
|
439
430
|
]), [
|
|
440
|
-
[vShow, this.isFocused || this.isActive || this.thumbLabel === 'always']
|
|
441
|
-
])
|
|
431
|
+
[vShow, this.isFocused || this.isActive || this.thumbLabel === 'always']
|
|
432
|
+
])
|
|
442
433
|
])
|
|
443
434
|
},
|
|
444
435
|
genThumb (): VNode {
|
|
445
436
|
return h('div', this.setBackgroundColor(this.computedThumbColor, {
|
|
446
|
-
class: 'v-slider__thumb'
|
|
437
|
+
class: 'v-slider__thumb'
|
|
447
438
|
}))
|
|
448
439
|
},
|
|
449
440
|
getThumbContainerStyles (width: number): object {
|
|
@@ -453,7 +444,7 @@ export default mixins<options &
|
|
|
453
444
|
|
|
454
445
|
return {
|
|
455
446
|
transition: this.trackTransition,
|
|
456
|
-
[direction]: `${value}
|
|
447
|
+
[direction]: `${value}%`
|
|
457
448
|
}
|
|
458
449
|
},
|
|
459
450
|
onSliderMouseDown (e: MouseEvent | TouchEvent) {
|
|
@@ -554,7 +545,7 @@ export default mixins<options &
|
|
|
554
545
|
|
|
555
546
|
const {
|
|
556
547
|
[start]: trackStart,
|
|
557
|
-
[length]: trackLength
|
|
548
|
+
[length]: trackLength
|
|
558
549
|
} = this.$refs.track.getBoundingClientRect()
|
|
559
550
|
const clickOffset = 'touches' in e ? e.touches[0][click] : e[click]
|
|
560
551
|
|
|
@@ -571,14 +562,18 @@ export default mixins<options &
|
|
|
571
562
|
|
|
572
563
|
const { pageup, pagedown, end, home, left, right, down, up } = keyCodes
|
|
573
564
|
|
|
574
|
-
if (
|
|
565
|
+
if (
|
|
566
|
+
![pageup, pagedown, end, home, left, right, down, up].includes(
|
|
567
|
+
e.keyCode as typeof pageup | typeof pagedown | typeof end | typeof home | typeof left | typeof right | typeof down | typeof up
|
|
568
|
+
)
|
|
569
|
+
) return
|
|
575
570
|
|
|
576
571
|
e.preventDefault()
|
|
577
572
|
const step = this.stepNumeric || 1
|
|
578
573
|
const steps = (this.maxValue - this.minValue) / step
|
|
579
|
-
if ([left, right, down, up].includes(e.keyCode)) {
|
|
574
|
+
if ([left, right, down, up].includes(e.keyCode as typeof left | typeof right | typeof down | typeof up)) {
|
|
580
575
|
const increase = this.$vuetify.rtl ? [left, up] : [right, up]
|
|
581
|
-
const direction = increase.includes(e.keyCode) ? 1 : -1
|
|
576
|
+
const direction = increase.includes(e.keyCode as typeof left | typeof right | typeof up) ? 1 : -1
|
|
582
577
|
const multiplier = e.shiftKey ? 3 : (e.ctrlKey ? 2 : 1)
|
|
583
578
|
|
|
584
579
|
value = value + (direction * step * multiplier)
|
|
@@ -606,6 +601,6 @@ export default mixins<options &
|
|
|
606
601
|
const newValue = Math.round((value - offset) / this.stepNumeric) * this.stepNumeric + offset
|
|
607
602
|
|
|
608
603
|
return parseFloat(Math.min(newValue, this.maxValue).toFixed(decimals))
|
|
609
|
-
}
|
|
610
|
-
}
|
|
604
|
+
}
|
|
605
|
+
}
|
|
611
606
|
})
|
|
@@ -5,7 +5,7 @@ import VSlider from '../VSlider'
|
|
|
5
5
|
import {
|
|
6
6
|
mount,
|
|
7
7
|
VueWrapper,
|
|
8
|
-
enableAutoUnmount
|
|
8
|
+
enableAutoUnmount
|
|
9
9
|
} from '@vue/test-utils'
|
|
10
10
|
|
|
11
11
|
/* eslint-disable max-statements */
|
|
@@ -23,11 +23,11 @@ describe('VSlider.ts', () => {
|
|
|
23
23
|
global: {
|
|
24
24
|
mocks: {
|
|
25
25
|
$vuetify: {
|
|
26
|
-
rtl: false
|
|
27
|
-
}
|
|
28
|
-
}
|
|
26
|
+
rtl: false
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
29
|
},
|
|
30
|
-
...options
|
|
30
|
+
...options
|
|
31
31
|
})
|
|
32
32
|
}
|
|
33
33
|
})
|
|
@@ -44,8 +44,8 @@ describe('VSlider.ts', () => {
|
|
|
44
44
|
it('should render vertical slider', async () => {
|
|
45
45
|
const wrapper = mountFunction({
|
|
46
46
|
props: {
|
|
47
|
-
vertical: true
|
|
48
|
-
}
|
|
47
|
+
vertical: true
|
|
48
|
+
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
51
|
expect(wrapper.html()).toMatchSnapshot()
|
|
@@ -55,8 +55,8 @@ describe('VSlider.ts', () => {
|
|
|
55
55
|
const wrapper = mountFunction({
|
|
56
56
|
props: {
|
|
57
57
|
ticks: true,
|
|
58
|
-
step: 25
|
|
59
|
-
}
|
|
58
|
+
step: 25
|
|
59
|
+
}
|
|
60
60
|
})
|
|
61
61
|
|
|
62
62
|
expect(wrapper.html()).toMatchSnapshot()
|
|
@@ -69,8 +69,8 @@ describe('VSlider.ts', () => {
|
|
|
69
69
|
it('should render component with thumbLabel and match a snapshot', async () => {
|
|
70
70
|
const wrapper = mountFunction({
|
|
71
71
|
props: {
|
|
72
|
-
thumbLabel: true
|
|
73
|
-
}
|
|
72
|
+
thumbLabel: true
|
|
73
|
+
}
|
|
74
74
|
})
|
|
75
75
|
|
|
76
76
|
expect(wrapper.html()).toMatchSnapshot()
|
|
@@ -83,8 +83,8 @@ describe('VSlider.ts', () => {
|
|
|
83
83
|
it('should set tabindex in disabled component', () => {
|
|
84
84
|
const wrapper = mountFunction({
|
|
85
85
|
props: {
|
|
86
|
-
disabled: true
|
|
87
|
-
}
|
|
86
|
+
disabled: true
|
|
87
|
+
}
|
|
88
88
|
})
|
|
89
89
|
|
|
90
90
|
const slider = wrapper.find('.v-slider__thumb-container')
|
|
@@ -96,8 +96,8 @@ describe('VSlider.ts', () => {
|
|
|
96
96
|
const wrapper = mountFunction({
|
|
97
97
|
props: {
|
|
98
98
|
min: 2,
|
|
99
|
-
max: 4
|
|
100
|
-
}
|
|
99
|
+
max: 4
|
|
100
|
+
}
|
|
101
101
|
})
|
|
102
102
|
|
|
103
103
|
await wrapper.setProps({ modelValue: 0 })
|
|
@@ -114,8 +114,8 @@ describe('VSlider.ts', () => {
|
|
|
114
114
|
props: {
|
|
115
115
|
modelValue: 5,
|
|
116
116
|
min: 0,
|
|
117
|
-
max: 10
|
|
118
|
-
}
|
|
117
|
+
max: 10
|
|
118
|
+
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
121
|
await wrapper.setProps({ min: 6 })
|
|
@@ -130,8 +130,8 @@ describe('VSlider.ts', () => {
|
|
|
130
130
|
props: {
|
|
131
131
|
min: 3,
|
|
132
132
|
max: 15,
|
|
133
|
-
step: 3
|
|
134
|
-
}
|
|
133
|
+
step: 3
|
|
134
|
+
}
|
|
135
135
|
})
|
|
136
136
|
|
|
137
137
|
await wrapper.setProps({ modelValue: 5 })
|
|
@@ -146,8 +146,8 @@ describe('VSlider.ts', () => {
|
|
|
146
146
|
it('should react to keydown event', async () => {
|
|
147
147
|
const wrapper = mountFunction({
|
|
148
148
|
props: {
|
|
149
|
-
modelValue: 50
|
|
150
|
-
}
|
|
149
|
+
modelValue: 50
|
|
150
|
+
}
|
|
151
151
|
})
|
|
152
152
|
|
|
153
153
|
const slider = wrapper.find('.v-slider__thumb-container')
|
|
@@ -203,13 +203,13 @@ describe('VSlider.ts', () => {
|
|
|
203
203
|
await wrapper.setProps({ modelValue: newValue })
|
|
204
204
|
|
|
205
205
|
await slider.trigger('keydown.left', {
|
|
206
|
-
shiftKey: true
|
|
206
|
+
shiftKey: true
|
|
207
207
|
})
|
|
208
208
|
const events10 = wrapper.emitted('update:modelValue') as any[][]
|
|
209
209
|
expect(events10[events10.length - 1]).toEqual([94])
|
|
210
210
|
|
|
211
211
|
await slider.trigger('keydown.right', {
|
|
212
|
-
ctrlKey: true
|
|
212
|
+
ctrlKey: true
|
|
213
213
|
})
|
|
214
214
|
const events11 = wrapper.emitted('update:modelValue') as any[][]
|
|
215
215
|
expect(events11[events11.length - 1]).toEqual([98])
|
|
@@ -227,7 +227,7 @@ describe('VSlider.ts', () => {
|
|
|
227
227
|
wrapper.vm.$vuetify.rtl = true
|
|
228
228
|
|
|
229
229
|
await slider.trigger('keydown.right', {
|
|
230
|
-
shiftKey: true
|
|
230
|
+
shiftKey: true
|
|
231
231
|
})
|
|
232
232
|
const events12 = wrapper.emitted('update:modelValue') as any[][]
|
|
233
233
|
expect(events12[events12.length - 1]).toEqual([92])
|
|
@@ -236,9 +236,9 @@ describe('VSlider.ts', () => {
|
|
|
236
236
|
it('should add for to label', () => {
|
|
237
237
|
const wrapper = mountFunction({
|
|
238
238
|
props: {
|
|
239
|
-
label: 'bar'
|
|
239
|
+
label: 'bar'
|
|
240
240
|
},
|
|
241
|
-
attrs: { id: 'foo' }
|
|
241
|
+
attrs: { id: 'foo' }
|
|
242
242
|
})
|
|
243
243
|
|
|
244
244
|
const label = wrapper.find('.v-label')
|
|
@@ -246,8 +246,8 @@ describe('VSlider.ts', () => {
|
|
|
246
246
|
|
|
247
247
|
const wrapper2 = mountFunction({
|
|
248
248
|
props: {
|
|
249
|
-
label: 'bar'
|
|
250
|
-
}
|
|
249
|
+
label: 'bar'
|
|
250
|
+
}
|
|
251
251
|
})
|
|
252
252
|
|
|
253
253
|
const label2 = wrapper2.find('.v-label')
|
|
@@ -280,7 +280,7 @@ describe('VSlider.ts', () => {
|
|
|
280
280
|
expect(wrapper.vm.isActive).toBe(false)
|
|
281
281
|
|
|
282
282
|
await container.trigger('touchstart', {
|
|
283
|
-
touches: [{}]
|
|
283
|
+
touches: [{}]
|
|
284
284
|
})
|
|
285
285
|
expect(wrapper.vm.thumbPressed).toBe(true)
|
|
286
286
|
expect(wrapper.vm.isActive).toBe(true)
|
|
@@ -293,7 +293,7 @@ describe('VSlider.ts', () => {
|
|
|
293
293
|
|
|
294
294
|
it('should return a rounded value', async () => {
|
|
295
295
|
const wrapper = mountFunction({
|
|
296
|
-
props: { step: 0 }
|
|
296
|
+
props: { step: 0 }
|
|
297
297
|
})
|
|
298
298
|
|
|
299
299
|
expect(wrapper.vm.roundValue(1.234)).toBe(1.234)
|
|
@@ -311,7 +311,7 @@ describe('VSlider.ts', () => {
|
|
|
311
311
|
|
|
312
312
|
it('should return a rounded value with offset', async () => {
|
|
313
313
|
const wrapper = mountFunction({
|
|
314
|
-
props: { step: 0 }
|
|
314
|
+
props: { step: 0 }
|
|
315
315
|
})
|
|
316
316
|
|
|
317
317
|
expect(wrapper.vm.roundValue(1.234)).toBe(1.234)
|
|
@@ -331,8 +331,8 @@ describe('VSlider.ts', () => {
|
|
|
331
331
|
const wrapper = mountFunction({
|
|
332
332
|
props: {
|
|
333
333
|
min: 5,
|
|
334
|
-
max: 10
|
|
335
|
-
}
|
|
334
|
+
max: 10
|
|
335
|
+
}
|
|
336
336
|
})
|
|
337
337
|
|
|
338
338
|
await wrapper.setProps({ modelValue: 1 })
|
|
@@ -345,8 +345,8 @@ describe('VSlider.ts', () => {
|
|
|
345
345
|
it('should not update if value matches lazy value', async () => {
|
|
346
346
|
const wrapper = mountFunction({
|
|
347
347
|
props: {
|
|
348
|
-
modelValue: 10
|
|
349
|
-
}
|
|
348
|
+
modelValue: 10
|
|
349
|
+
}
|
|
350
350
|
})
|
|
351
351
|
|
|
352
352
|
expect(wrapper.vm.lazyValue).toBe(10)
|
|
@@ -392,8 +392,8 @@ describe('VSlider.ts', () => {
|
|
|
392
392
|
it('should keep thumb-label when focused and clicked', async () => {
|
|
393
393
|
const wrapper = mountFunction({
|
|
394
394
|
props: {
|
|
395
|
-
thumbLabel: true
|
|
396
|
-
}
|
|
395
|
+
thumbLabel: true
|
|
396
|
+
}
|
|
397
397
|
})
|
|
398
398
|
|
|
399
399
|
const input = wrapper.find('.v-slider__thumb-container')
|
|
@@ -415,7 +415,7 @@ describe('VSlider.ts', () => {
|
|
|
415
415
|
|
|
416
416
|
it('should reverse label location when inverse', async () => {
|
|
417
417
|
const wrapper = mountFunction({
|
|
418
|
-
props: { label: 'foo' }
|
|
418
|
+
props: { label: 'foo' }
|
|
419
419
|
})
|
|
420
420
|
|
|
421
421
|
expect(wrapper.html()).toMatchSnapshot()
|
|
@@ -449,7 +449,7 @@ describe('VSlider.ts', () => {
|
|
|
449
449
|
it('should display label and have different aria-label', () => {
|
|
450
450
|
const wrapper = mountFunction({
|
|
451
451
|
props: { label: 'foo' },
|
|
452
|
-
attrs: { 'aria-label': 'bar' }
|
|
452
|
+
attrs: { 'aria-label': 'bar' }
|
|
453
453
|
})
|
|
454
454
|
|
|
455
455
|
expect(wrapper.html()).toMatchSnapshot()
|
|
@@ -459,8 +459,8 @@ describe('VSlider.ts', () => {
|
|
|
459
459
|
const wrapper = mountFunction({
|
|
460
460
|
props: {
|
|
461
461
|
max: 1,
|
|
462
|
-
tickLabels: ['foo', 'bar']
|
|
463
|
-
}
|
|
462
|
+
tickLabels: ['foo', 'bar']
|
|
463
|
+
}
|
|
464
464
|
})
|
|
465
465
|
|
|
466
466
|
const ticks = wrapper.findAll('.v-slider__tick')
|
|
@@ -472,7 +472,7 @@ describe('VSlider.ts', () => {
|
|
|
472
472
|
|
|
473
473
|
it('should not react to keydown if disabled', async () => {
|
|
474
474
|
const wrapper = mountFunction({
|
|
475
|
-
props: { disabled: true, modelValue: 50 }
|
|
475
|
+
props: { disabled: true, modelValue: 50 }
|
|
476
476
|
})
|
|
477
477
|
|
|
478
478
|
const input = wrapper.find('.v-slider__thumb-container')
|
|
@@ -484,7 +484,7 @@ describe('VSlider.ts', () => {
|
|
|
484
484
|
// Тестируем readonly состояние
|
|
485
485
|
await wrapper.setProps({
|
|
486
486
|
disabled: false,
|
|
487
|
-
readonly: true
|
|
487
|
+
readonly: true
|
|
488
488
|
})
|
|
489
489
|
await input.trigger('keydown.right')
|
|
490
490
|
expect(wrapper.emitted('update:modelValue')).toBeFalsy()
|
|
@@ -492,7 +492,7 @@ describe('VSlider.ts', () => {
|
|
|
492
492
|
// Тестируем нормальное состояние
|
|
493
493
|
await wrapper.setProps({
|
|
494
494
|
disabled: false,
|
|
495
|
-
readonly: false
|
|
495
|
+
readonly: false
|
|
496
496
|
})
|
|
497
497
|
const eventsBefore = wrapper.emitted('update:modelValue')?.length || 0
|
|
498
498
|
await input.trigger('keydown.right')
|
|
@@ -506,8 +506,8 @@ describe('VSlider.ts', () => {
|
|
|
506
506
|
props: {
|
|
507
507
|
min: -20,
|
|
508
508
|
max: 20,
|
|
509
|
-
modelValue: NaN
|
|
510
|
-
}
|
|
509
|
+
modelValue: NaN
|
|
510
|
+
}
|
|
511
511
|
})
|
|
512
512
|
|
|
513
513
|
expect(wrapper.emitted('update:modelValue')?.[0]).toEqual([-20])
|
|
@@ -518,8 +518,8 @@ describe('VSlider.ts', () => {
|
|
|
518
518
|
props: {
|
|
519
519
|
min: -20,
|
|
520
520
|
max: 20,
|
|
521
|
-
modelValue: 0
|
|
522
|
-
}
|
|
521
|
+
modelValue: 0
|
|
522
|
+
}
|
|
523
523
|
})
|
|
524
524
|
|
|
525
525
|
expect(wrapper.emitted('update:modelValue')).toBeFalsy()
|
|
@@ -528,14 +528,14 @@ describe('VSlider.ts', () => {
|
|
|
528
528
|
|
|
529
529
|
it('should not fire event if value is provided and valid', async () => {
|
|
530
530
|
const wrapper = mountFunction({
|
|
531
|
-
props: { modelValue: 10, min: -20 }
|
|
531
|
+
props: { modelValue: 10, min: -20 }
|
|
532
532
|
})
|
|
533
533
|
|
|
534
534
|
expect(wrapper.emitted('update:modelValue')).toBeFalsy()
|
|
535
535
|
|
|
536
536
|
// Should set to min value if invalid
|
|
537
537
|
const wrapper2 = mountFunction({
|
|
538
|
-
props: { modelValue: NaN, min: -20 }
|
|
538
|
+
props: { modelValue: NaN, min: -20 }
|
|
539
539
|
})
|
|
540
540
|
|
|
541
541
|
expect(wrapper2.emitted('update:modelValue')?.[0]).toEqual([-20])
|
|
@@ -543,7 +543,7 @@ describe('VSlider.ts', () => {
|
|
|
543
543
|
|
|
544
544
|
it('should not fire change event onKeyDown if value is invalid', () => {
|
|
545
545
|
const wrapper = mountFunction({
|
|
546
|
-
props: { min: 1 }
|
|
546
|
+
props: { min: 1 }
|
|
547
547
|
})
|
|
548
548
|
|
|
549
549
|
const slider = wrapper.find('.v-slider__thumb-container')
|