@dimailn/vuetify 2.7.2-alpha3 → 2.7.2-alpha32
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 +3833 -2062
- 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 +39 -9
- package/es5/components/VAlert/VAlert.js.map +1 -1
- package/es5/components/VAppBar/VAppBar.js +23 -17
- package/es5/components/VAppBar/VAppBar.js.map +1 -1
- package/es5/components/VAppBar/VAppBarNavIcon.js +5 -1
- package/es5/components/VAppBar/VAppBarNavIcon.js.map +1 -1
- package/es5/components/VAutocomplete/VAutocomplete.js +11 -7
- package/es5/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/es5/components/VBadge/VBadge.js +46 -14
- package/es5/components/VBadge/VBadge.js.map +1 -1
- package/es5/components/VBanner/VBanner.js +51 -15
- package/es5/components/VBanner/VBanner.js.map +1 -1
- package/es5/components/VBottomNavigation/VBottomNavigation.js +33 -7
- package/es5/components/VBottomNavigation/VBottomNavigation.js.map +1 -1
- package/es5/components/VBreadcrumbs/VBreadcrumbs.js +22 -8
- package/es5/components/VBreadcrumbs/VBreadcrumbs.js.map +1 -1
- package/es5/components/VBreadcrumbs/VBreadcrumbsItem.js +4 -0
- package/es5/components/VBreadcrumbs/VBreadcrumbsItem.js.map +1 -1
- package/es5/components/VBtn/VBtn.js +20 -16
- package/es5/components/VBtn/VBtn.js.map +1 -1
- package/es5/components/VCalendar/VCalendar.js +27 -29
- package/es5/components/VCalendar/VCalendar.js.map +1 -1
- package/es5/components/VCalendar/VCalendarCategory.js +26 -34
- package/es5/components/VCalendar/VCalendarCategory.js.map +1 -1
- package/es5/components/VCalendar/VCalendarDaily.js +43 -60
- package/es5/components/VCalendar/VCalendarDaily.js.map +1 -1
- package/es5/components/VCalendar/VCalendarMonthly.js +2 -2
- package/es5/components/VCalendar/VCalendarMonthly.js.map +1 -1
- package/es5/components/VCalendar/VCalendarWeekly.js +26 -35
- package/es5/components/VCalendar/VCalendarWeekly.js.map +1 -1
- package/es5/components/VCalendar/mixins/calendar-base.js +5 -10
- package/es5/components/VCalendar/mixins/calendar-base.js.map +1 -1
- package/es5/components/VCalendar/mixins/calendar-with-events.js +43 -58
- package/es5/components/VCalendar/mixins/calendar-with-events.js.map +1 -1
- package/es5/components/VCalendar/mixins/calendar-with-intervals.js +2 -2
- 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/VCarousel/VCarousel.js +61 -17
- package/es5/components/VCarousel/VCarousel.js.map +1 -1
- package/es5/components/VCarousel/VCarouselItem.js +7 -3
- package/es5/components/VCarousel/VCarouselItem.js.map +1 -1
- package/es5/components/VCheckbox/VCheckbox.js +34 -1
- package/es5/components/VCheckbox/VCheckbox.js.map +1 -1
- package/es5/components/VCheckbox/VSimpleCheckbox.js +94 -38
- package/es5/components/VCheckbox/VSimpleCheckbox.js.map +1 -1
- package/es5/components/VChip/VChip.js +15 -6
- package/es5/components/VChip/VChip.js.map +1 -1
- package/es5/components/VColorPicker/VColorPicker.js +54 -39
- package/es5/components/VColorPicker/VColorPicker.js.map +1 -1
- package/es5/components/VColorPicker/VColorPickerCanvas.js +45 -46
- package/es5/components/VColorPicker/VColorPickerCanvas.js.map +1 -1
- package/es5/components/VColorPicker/VColorPickerEdit.js +27 -26
- package/es5/components/VColorPicker/VColorPickerEdit.js.map +1 -1
- package/es5/components/VColorPicker/VColorPickerPreview.js +41 -30
- package/es5/components/VColorPicker/VColorPickerPreview.js.map +1 -1
- package/es5/components/VColorPicker/VColorPickerSwatches.js +13 -10
- package/es5/components/VColorPicker/VColorPickerSwatches.js.map +1 -1
- package/es5/components/VCombobox/VCombobox.js +1 -0
- package/es5/components/VCombobox/VCombobox.js.map +1 -1
- package/es5/components/VData/VData.js +15 -2
- package/es5/components/VData/VData.js.map +1 -1
- package/es5/components/VDataIterator/VDataFooter.js +21 -7
- package/es5/components/VDataIterator/VDataFooter.js.map +1 -1
- package/es5/components/VDataIterator/VDataIterator.js +47 -50
- package/es5/components/VDataIterator/VDataIterator.js.map +1 -1
- package/es5/components/VDataTable/RowGroup.js +46 -15
- package/es5/components/VDataTable/RowGroup.js.map +1 -1
- package/es5/components/VDataTable/VDataTable.js +41 -44
- package/es5/components/VDataTable/VDataTable.js.map +1 -1
- package/es5/components/VDataTable/VDataTableHeader.js +5 -8
- package/es5/components/VDataTable/VDataTableHeader.js.map +1 -1
- package/es5/components/VDataTable/VDataTableHeaderDesktop.js +8 -2
- package/es5/components/VDataTable/VDataTableHeaderDesktop.js.map +1 -1
- package/es5/components/VDataTable/VDataTableHeaderMobile.js +29 -37
- package/es5/components/VDataTable/VDataTableHeaderMobile.js.map +1 -1
- package/es5/components/VDataTable/VEditDialog.js +26 -22
- package/es5/components/VDataTable/VEditDialog.js.map +1 -1
- package/es5/components/VDataTable/VSimpleTable.js +1 -1
- package/es5/components/VDataTable/VSimpleTable.js.map +1 -1
- package/es5/components/VDataTable/VVirtualTable.js +6 -6
- package/es5/components/VDataTable/VVirtualTable.js.map +1 -1
- package/es5/components/VDataTable/mixins/header.js +7 -9
- package/es5/components/VDataTable/mixins/header.js.map +1 -1
- package/es5/components/VDatePicker/VDatePicker.js +39 -32
- package/es5/components/VDatePicker/VDatePicker.js.map +1 -1
- package/es5/components/VDatePicker/VDatePickerHeader.js +68 -24
- package/es5/components/VDatePicker/VDatePickerHeader.js.map +1 -1
- package/es5/components/VDatePicker/VDatePickerMonthTable.js +6 -3
- package/es5/components/VDatePicker/VDatePickerMonthTable.js.map +1 -1
- package/es5/components/VDatePicker/VDatePickerTitle.js +44 -10
- package/es5/components/VDatePicker/VDatePickerTitle.js.map +1 -1
- package/es5/components/VDatePicker/VDatePickerYears.js +47 -23
- package/es5/components/VDatePicker/VDatePickerYears.js.map +1 -1
- package/es5/components/VDatePicker/mixins/date-picker-table.js +51 -30
- package/es5/components/VDatePicker/mixins/date-picker-table.js.map +1 -1
- package/es5/components/VDatePicker/util/createNativeLocaleFormatter.js +4 -0
- package/es5/components/VDatePicker/util/createNativeLocaleFormatter.js.map +1 -1
- package/es5/components/VDialog/VDialog.js +58 -32
- package/es5/components/VDialog/VDialog.js.map +1 -1
- package/es5/components/VExpansionPanel/VExpansionPanel.js +1 -0
- package/es5/components/VExpansionPanel/VExpansionPanel.js.map +1 -1
- package/es5/components/VExpansionPanel/VExpansionPanelContent.js +12 -10
- package/es5/components/VExpansionPanel/VExpansionPanelContent.js.map +1 -1
- package/es5/components/VExpansionPanel/VExpansionPanelHeader.js +17 -20
- package/es5/components/VExpansionPanel/VExpansionPanelHeader.js.map +1 -1
- package/es5/components/VFileInput/VFileInput.js +50 -27
- package/es5/components/VFileInput/VFileInput.js.map +1 -1
- package/es5/components/VForm/VForm.js +45 -30
- package/es5/components/VForm/VForm.js.map +1 -1
- package/es5/components/VGrid/VCol.js +3 -3
- package/es5/components/VGrid/VCol.js.map +1 -1
- package/es5/components/VGrid/VContainer.js +3 -1
- package/es5/components/VGrid/VContainer.js.map +1 -1
- package/es5/components/VHover/VHover.js +1 -0
- package/es5/components/VHover/VHover.js.map +1 -1
- package/es5/components/VImg/VImg.js +10 -8
- package/es5/components/VImg/VImg.js.map +1 -1
- package/es5/components/VInput/VInput.js +65 -12
- package/es5/components/VInput/VInput.js.map +1 -1
- package/es5/components/VItemGroup/VItem.js +21 -17
- package/es5/components/VItemGroup/VItem.js.map +1 -1
- package/es5/components/VItemGroup/VItemGroup.js +5 -1
- package/es5/components/VItemGroup/VItemGroup.js.map +1 -1
- package/es5/components/VLazy/VLazy.js +8 -15
- package/es5/components/VLazy/VLazy.js.map +1 -1
- package/es5/components/VList/VList.js +1 -1
- package/es5/components/VList/VList.js.map +1 -1
- package/es5/components/VList/VListGroup.js +73 -40
- package/es5/components/VList/VListGroup.js.map +1 -1
- package/es5/components/VList/VListItem.js +63 -18
- package/es5/components/VList/VListItem.js.map +1 -1
- package/es5/components/VList/VListItemAction.js +23 -9
- package/es5/components/VList/VListItemAction.js.map +1 -1
- package/es5/components/VMenu/VMenu.js +57 -31
- package/es5/components/VMenu/VMenu.js.map +1 -1
- package/es5/components/VMessages/VMessages.js +33 -6
- package/es5/components/VMessages/VMessages.js.map +1 -1
- package/es5/components/VNavigationDrawer/VNavigationDrawer.js +37 -16
- package/es5/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
- package/es5/components/VOtpInput/VOtpInput.js +37 -5
- package/es5/components/VOtpInput/VOtpInput.js.map +1 -1
- package/es5/components/VOverflowBtn/VOverflowBtn.js +4 -1
- package/es5/components/VOverflowBtn/VOverflowBtn.js.map +1 -1
- package/es5/components/VOverlay/VOverlay.js +32 -4
- package/es5/components/VOverlay/VOverlay.js.map +1 -1
- package/es5/components/VPagination/VPagination.js +48 -27
- package/es5/components/VPagination/VPagination.js.map +1 -1
- package/es5/components/VPicker/VPicker.js +7 -4
- package/es5/components/VPicker/VPicker.js.map +1 -1
- package/es5/components/VProgressCircular/VProgressCircular.js +6 -13
- package/es5/components/VProgressCircular/VProgressCircular.js.map +1 -1
- package/es5/components/VProgressLinear/VProgressLinear.js +67 -25
- package/es5/components/VProgressLinear/VProgressLinear.js.map +1 -1
- package/es5/components/VRadioGroup/VRadio.js +11 -2
- package/es5/components/VRadioGroup/VRadio.js.map +1 -1
- package/es5/components/VRadioGroup/VRadioGroup.js +30 -2
- package/es5/components/VRadioGroup/VRadioGroup.js.map +1 -1
- package/es5/components/VRangeSlider/VRangeSlider.js +57 -32
- package/es5/components/VRangeSlider/VRangeSlider.js.map +1 -1
- package/es5/components/VRating/VRating.js +45 -17
- package/es5/components/VRating/VRating.js.map +1 -1
- package/es5/components/VSelect/VSelect.js +156 -79
- package/es5/components/VSelect/VSelect.js.map +1 -1
- package/es5/components/VSelect/VSelectList.js +104 -44
- package/es5/components/VSelect/VSelectList.js.map +1 -1
- package/es5/components/VSlideGroup/VSlideGroup.js +27 -22
- package/es5/components/VSlideGroup/VSlideGroup.js.map +1 -1
- package/es5/components/VSlideGroup/VSlideItem.js +2 -1
- package/es5/components/VSlideGroup/VSlideItem.js.map +1 -1
- package/es5/components/VSlider/VSlider.js +73 -41
- package/es5/components/VSlider/VSlider.js.map +1 -1
- package/es5/components/VSnackbar/VSnackbar.js +1 -0
- package/es5/components/VSnackbar/VSnackbar.js.map +1 -1
- package/es5/components/VSparkline/VSparkline.js +48 -68
- package/es5/components/VSparkline/VSparkline.js.map +1 -1
- package/es5/components/VSpeedDial/VSpeedDial.js +13 -17
- package/es5/components/VSpeedDial/VSpeedDial.js.map +1 -1
- package/es5/components/VStepper/VStepper.js +1 -0
- package/es5/components/VStepper/VStepper.js.map +1 -1
- package/es5/components/VStepper/VStepperContent.js +4 -2
- package/es5/components/VStepper/VStepperContent.js.map +1 -1
- package/es5/components/VStepper/VStepperStep.js +12 -20
- package/es5/components/VStepper/VStepperStep.js.map +1 -1
- package/es5/components/VSubheader/VSubheader.js +2 -2
- package/es5/components/VSubheader/VSubheader.js.map +1 -1
- package/es5/components/VSwitch/VSwitch.js +11 -9
- package/es5/components/VSwitch/VSwitch.js.map +1 -1
- package/es5/components/VTabs/VTab.js +1 -0
- package/es5/components/VTabs/VTab.js.map +1 -1
- package/es5/components/VTabs/VTabs.js +62 -23
- package/es5/components/VTabs/VTabs.js.map +1 -1
- package/es5/components/VTabs/VTabsBar.js.map +1 -1
- package/es5/components/VTabs/VTabsItems.js +1 -0
- package/es5/components/VTabs/VTabsItems.js.map +1 -1
- package/es5/components/VTextField/VTextField.js +39 -28
- package/es5/components/VTextField/VTextField.js.map +1 -1
- package/es5/components/VTimePicker/VTimePicker.js +72 -44
- package/es5/components/VTimePicker/VTimePicker.js.map +1 -1
- package/es5/components/VTimePicker/VTimePickerClock.js +37 -48
- package/es5/components/VTimePicker/VTimePickerClock.js.map +1 -1
- package/es5/components/VTimePicker/VTimePickerTitle.js +13 -11
- package/es5/components/VTimePicker/VTimePickerTitle.js.map +1 -1
- package/es5/components/VToolbar/VToolbar.js +3 -6
- package/es5/components/VToolbar/VToolbar.js.map +1 -1
- package/es5/components/VTooltip/VTooltip.js +13 -12
- package/es5/components/VTooltip/VTooltip.js.map +1 -1
- package/es5/components/VTreeview/VTreeview.js +24 -18
- package/es5/components/VTreeview/VTreeview.js.map +1 -1
- package/es5/components/VTreeview/VTreeviewNode.js +12 -6
- package/es5/components/VTreeview/VTreeviewNode.js.map +1 -1
- package/es5/components/VVirtualScroll/VVirtualScroll.js +15 -19
- package/es5/components/VVirtualScroll/VVirtualScroll.js.map +1 -1
- package/es5/components/VWindow/VWindow.js +13 -8
- package/es5/components/VWindow/VWindow.js.map +1 -1
- package/es5/components/VWindow/VWindowItem.js +10 -10
- package/es5/components/VWindow/VWindowItem.js.map +1 -1
- package/es5/components/transitions/createTransition.js +8 -2
- package/es5/components/transitions/createTransition.js.map +1 -1
- package/es5/components/transitions/expand-transition.js +1 -0
- package/es5/components/transitions/expand-transition.js.map +1 -1
- package/es5/directives/intersect/index.js +20 -7
- package/es5/directives/intersect/index.js.map +1 -1
- package/es5/directives/mutate/index.js +13 -13
- package/es5/directives/mutate/index.js.map +1 -1
- package/es5/directives/resize/index.js +8 -8
- package/es5/directives/resize/index.js.map +1 -1
- package/es5/directives/scroll/index.js +10 -9
- package/es5/directives/scroll/index.js.map +1 -1
- package/es5/directives/touch/index.js +4 -4
- package/es5/directives/touch/index.js.map +1 -1
- package/es5/framework.js +1 -1
- package/es5/install.js +10 -33
- package/es5/install.js.map +1 -1
- package/es5/mixins/activatable/index.js +11 -5
- package/es5/mixins/activatable/index.js.map +1 -1
- package/es5/mixins/applicationable/index.js +4 -4
- package/es5/mixins/applicationable/index.js.map +1 -1
- package/es5/mixins/binds-attrs/index.js +1 -1
- package/es5/mixins/binds-attrs/index.js.map +1 -1
- package/es5/mixins/bootable/index.js +1 -2
- package/es5/mixins/bootable/index.js.map +1 -1
- package/es5/mixins/detachable/index.js +12 -9
- package/es5/mixins/detachable/index.js.map +1 -1
- package/es5/mixins/groupable/index.js +1 -1
- package/es5/mixins/groupable/index.js.map +1 -1
- package/es5/mixins/intersectable/index.js +2 -2
- package/es5/mixins/intersectable/index.js.map +1 -1
- package/es5/mixins/menuable/index.js +1 -1
- package/es5/mixins/menuable/index.js.map +1 -1
- package/es5/mixins/mouse/index.js +10 -5
- package/es5/mixins/mouse/index.js.map +1 -1
- package/es5/mixins/overlayable/index.js +5 -3
- package/es5/mixins/overlayable/index.js.map +1 -1
- package/es5/mixins/picker/index.js +13 -3
- package/es5/mixins/picker/index.js.map +1 -1
- package/es5/mixins/routable/index.js +5 -2
- package/es5/mixins/routable/index.js.map +1 -1
- package/es5/mixins/selectable/index.js +5 -5
- package/es5/mixins/selectable/index.js.map +1 -1
- package/es5/mixins/translatable/index.js +1 -1
- package/es5/mixins/translatable/index.js.map +1 -1
- package/es5/mixins/validatable/index.js +34 -7
- package/es5/mixins/validatable/index.js.map +1 -1
- package/es5/services/breakpoint/index.js +3 -1
- package/es5/services/breakpoint/index.js.map +1 -1
- package/es5/util/console.js +49 -18
- package/es5/util/console.js.map +1 -1
- package/es5/util/helpers.js +49 -1
- package/es5/util/helpers.js.map +1 -1
- package/es5/util/legacyEventsMixin.js +48 -0
- package/es5/util/legacyEventsMixin.js.map +1 -0
- package/lib/components/VAlert/VAlert.js +13 -7
- package/lib/components/VAlert/VAlert.js.map +1 -1
- package/lib/components/VAppBar/VAppBar.js +23 -16
- package/lib/components/VAppBar/VAppBar.js.map +1 -1
- package/lib/components/VAppBar/VAppBarNavIcon.js +1 -1
- package/lib/components/VAppBar/VAppBarNavIcon.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.js +12 -8
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/lib/components/VBadge/VBadge.js +26 -13
- package/lib/components/VBadge/VBadge.js.map +1 -1
- package/lib/components/VBanner/VBanner.js +20 -13
- package/lib/components/VBanner/VBanner.js.map +1 -1
- package/lib/components/VBottomNavigation/VBottomNavigation.js +15 -7
- package/lib/components/VBottomNavigation/VBottomNavigation.js.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbs.js +7 -5
- package/lib/components/VBreadcrumbs/VBreadcrumbs.js.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.js +4 -0
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.js.map +1 -1
- package/lib/components/VBtn/VBtn.js +21 -20
- package/lib/components/VBtn/VBtn.js.map +1 -1
- package/lib/components/VCalendar/VCalendar.js +26 -31
- package/lib/components/VCalendar/VCalendar.js.map +1 -1
- package/lib/components/VCalendar/VCalendarCategory.js +8 -10
- package/lib/components/VCalendar/VCalendarCategory.js.map +1 -1
- package/lib/components/VCalendar/VCalendarDaily.js +21 -33
- package/lib/components/VCalendar/VCalendarDaily.js.map +1 -1
- package/lib/components/VCalendar/VCalendarMonthly.js +2 -2
- package/lib/components/VCalendar/VCalendarMonthly.js.map +1 -1
- package/lib/components/VCalendar/VCalendarWeekly.js +17 -30
- package/lib/components/VCalendar/VCalendarWeekly.js.map +1 -1
- package/lib/components/VCalendar/mixins/calendar-base.js +7 -11
- package/lib/components/VCalendar/mixins/calendar-base.js.map +1 -1
- package/lib/components/VCalendar/mixins/calendar-with-events.js +16 -39
- package/lib/components/VCalendar/mixins/calendar-with-events.js.map +1 -1
- package/lib/components/VCalendar/mixins/calendar-with-intervals.js +2 -2
- 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/VCarousel/VCarousel.js +36 -16
- package/lib/components/VCarousel/VCarousel.js.map +1 -1
- package/lib/components/VCarousel/VCarouselItem.js +1 -1
- package/lib/components/VCarousel/VCarouselItem.js.map +1 -1
- package/lib/components/VCheckbox/VCheckbox.js +15 -2
- package/lib/components/VCheckbox/VCheckbox.js.map +1 -1
- package/lib/components/VCheckbox/VSimpleCheckbox.js +83 -39
- package/lib/components/VCheckbox/VSimpleCheckbox.js.map +1 -1
- package/lib/components/VChip/VChip.js +15 -6
- package/lib/components/VChip/VChip.js.map +1 -1
- package/lib/components/VColorPicker/VColorPicker.js +47 -44
- package/lib/components/VColorPicker/VColorPicker.js.map +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.js +41 -43
- package/lib/components/VColorPicker/VColorPickerCanvas.js.map +1 -1
- package/lib/components/VColorPicker/VColorPickerEdit.js +25 -31
- package/lib/components/VColorPicker/VColorPickerEdit.js.map +1 -1
- package/lib/components/VColorPicker/VColorPickerPreview.js +45 -32
- package/lib/components/VColorPicker/VColorPickerPreview.js.map +1 -1
- package/lib/components/VColorPicker/VColorPickerSwatches.js +15 -9
- package/lib/components/VColorPicker/VColorPickerSwatches.js.map +1 -1
- package/lib/components/VCombobox/VCombobox.js +1 -0
- package/lib/components/VCombobox/VCombobox.js.map +1 -1
- package/lib/components/VData/VData.js +16 -2
- package/lib/components/VData/VData.js.map +1 -1
- package/lib/components/VDataIterator/VDataFooter.js +15 -7
- package/lib/components/VDataIterator/VDataFooter.js.map +1 -1
- package/lib/components/VDataIterator/VDataIterator.js +31 -34
- package/lib/components/VDataIterator/VDataIterator.js.map +1 -1
- package/lib/components/VDataTable/RowGroup.js +30 -14
- package/lib/components/VDataTable/RowGroup.js.map +1 -1
- package/lib/components/VDataTable/VDataTable.js +20 -33
- package/lib/components/VDataTable/VDataTable.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeader.js +7 -9
- package/lib/components/VDataTable/VDataTableHeader.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaderDesktop.js +7 -1
- package/lib/components/VDataTable/VDataTableHeaderDesktop.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaderMobile.js +18 -25
- package/lib/components/VDataTable/VDataTableHeaderMobile.js.map +1 -1
- package/lib/components/VDataTable/VEditDialog.js +18 -18
- package/lib/components/VDataTable/VEditDialog.js.map +1 -1
- package/lib/components/VDataTable/VSimpleTable.js +1 -1
- package/lib/components/VDataTable/VSimpleTable.js.map +1 -1
- package/lib/components/VDataTable/VVirtualTable.js +2 -3
- package/lib/components/VDataTable/VVirtualTable.js.map +1 -1
- package/lib/components/VDataTable/mixins/header.js +3 -8
- package/lib/components/VDataTable/mixins/header.js.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.js +24 -23
- package/lib/components/VDatePicker/VDatePicker.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerHeader.js +45 -21
- package/lib/components/VDatePicker/VDatePickerHeader.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonthTable.js +3 -1
- package/lib/components/VDatePicker/VDatePickerMonthTable.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerTitle.js +17 -5
- package/lib/components/VDatePicker/VDatePickerTitle.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerYears.js +17 -8
- package/lib/components/VDatePicker/VDatePickerYears.js.map +1 -1
- package/lib/components/VDatePicker/mixins/date-picker-table.js +30 -15
- package/lib/components/VDatePicker/mixins/date-picker-table.js.map +1 -1
- package/lib/components/VDatePicker/util/createNativeLocaleFormatter.js +4 -0
- package/lib/components/VDatePicker/util/createNativeLocaleFormatter.js.map +1 -1
- package/lib/components/VDialog/VDialog.js +12 -4
- package/lib/components/VDialog/VDialog.js.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanel.js +1 -0
- package/lib/components/VExpansionPanel/VExpansionPanel.js.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelContent.js +2 -2
- package/lib/components/VExpansionPanel/VExpansionPanelContent.js.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelHeader.js +4 -7
- package/lib/components/VExpansionPanel/VExpansionPanelHeader.js.map +1 -1
- package/lib/components/VFileInput/VFileInput.js +43 -25
- package/lib/components/VFileInput/VFileInput.js.map +1 -1
- package/lib/components/VForm/VForm.js +41 -26
- package/lib/components/VForm/VForm.js.map +1 -1
- package/lib/components/VGrid/VCol.js +3 -3
- package/lib/components/VGrid/VCol.js.map +1 -1
- package/lib/components/VGrid/VContainer.js +3 -1
- package/lib/components/VGrid/VContainer.js.map +1 -1
- package/lib/components/VHover/VHover.js +1 -0
- package/lib/components/VHover/VHover.js.map +1 -1
- package/lib/components/VImg/VImg.js +5 -9
- package/lib/components/VImg/VImg.js.map +1 -1
- package/lib/components/VInput/VInput.js +32 -9
- package/lib/components/VInput/VInput.js.map +1 -1
- package/lib/components/VItemGroup/VItem.js +25 -21
- package/lib/components/VItemGroup/VItem.js.map +1 -1
- package/lib/components/VItemGroup/VItemGroup.js +6 -1
- package/lib/components/VItemGroup/VItemGroup.js.map +1 -1
- package/lib/components/VLazy/VLazy.js +8 -15
- package/lib/components/VLazy/VLazy.js.map +1 -1
- package/lib/components/VList/VList.js +1 -1
- package/lib/components/VList/VList.js.map +1 -1
- package/lib/components/VList/VListGroup.js +34 -32
- package/lib/components/VList/VListGroup.js.map +1 -1
- package/lib/components/VList/VListItem.js +40 -18
- package/lib/components/VList/VListItem.js.map +1 -1
- package/lib/components/VList/VListItemAction.js +15 -9
- package/lib/components/VList/VListItemAction.js.map +1 -1
- package/lib/components/VMenu/VMenu.js +16 -4
- package/lib/components/VMenu/VMenu.js.map +1 -1
- package/lib/components/VMessages/VMessages.js +13 -2
- package/lib/components/VMessages/VMessages.js.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.js +12 -8
- package/lib/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.js +50 -6
- package/lib/components/VOtpInput/VOtpInput.js.map +1 -1
- package/lib/components/VOverflowBtn/VOverflowBtn.js +2 -1
- package/lib/components/VOverflowBtn/VOverflowBtn.js.map +1 -1
- package/lib/components/VOverlay/VOverlay.js +14 -3
- package/lib/components/VOverlay/VOverlay.js.map +1 -1
- package/lib/components/VPagination/VPagination.js +28 -23
- package/lib/components/VPagination/VPagination.js.map +1 -1
- package/lib/components/VPicker/VPicker.js +4 -4
- package/lib/components/VPicker/VPicker.js.map +1 -1
- package/lib/components/VProgressCircular/VProgressCircular.js +6 -7
- package/lib/components/VProgressCircular/VProgressCircular.js.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.js +46 -19
- package/lib/components/VProgressLinear/VProgressLinear.js.map +1 -1
- package/lib/components/VRadioGroup/VRadio.js +3 -2
- package/lib/components/VRadioGroup/VRadio.js.map +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.js +14 -5
- package/lib/components/VRadioGroup/VRadioGroup.js.map +1 -1
- package/lib/components/VRangeSlider/VRangeSlider.js +17 -5
- package/lib/components/VRangeSlider/VRangeSlider.js.map +1 -1
- package/lib/components/VRating/VRating.js +11 -0
- package/lib/components/VRating/VRating.js.map +1 -1
- package/lib/components/VSelect/VSelect.js +99 -40
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VSelect/VSelectList.js +54 -29
- package/lib/components/VSelect/VSelectList.js.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroup.js +4 -7
- package/lib/components/VSlideGroup/VSlideGroup.js.map +1 -1
- package/lib/components/VSlideGroup/VSlideItem.js +2 -1
- package/lib/components/VSlideGroup/VSlideItem.js.map +1 -1
- package/lib/components/VSlider/VSlider.js +37 -25
- package/lib/components/VSlider/VSlider.js.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.js +1 -0
- package/lib/components/VSnackbar/VSnackbar.js.map +1 -1
- package/lib/components/VSparkline/VSparkline.js +48 -67
- package/lib/components/VSparkline/VSparkline.js.map +1 -1
- package/lib/components/VSpeedDial/VSpeedDial.js +9 -15
- package/lib/components/VSpeedDial/VSpeedDial.js.map +1 -1
- package/lib/components/VStepper/VStepper.js +1 -0
- package/lib/components/VStepper/VStepper.js.map +1 -1
- package/lib/components/VStepper/VStepperContent.js +2 -2
- package/lib/components/VStepper/VStepperContent.js.map +1 -1
- package/lib/components/VStepper/VStepperStep.js +8 -19
- package/lib/components/VStepper/VStepperStep.js.map +1 -1
- package/lib/components/VSubheader/VSubheader.js +1 -2
- package/lib/components/VSubheader/VSubheader.js.map +1 -1
- package/lib/components/VSwitch/VSwitch.js +2 -4
- package/lib/components/VSwitch/VSwitch.js.map +1 -1
- package/lib/components/VTabs/VTab.js +1 -0
- package/lib/components/VTabs/VTab.js.map +1 -1
- package/lib/components/VTabs/VTabs.js +28 -7
- package/lib/components/VTabs/VTabs.js.map +1 -1
- package/lib/components/VTabs/VTabsBar.js.map +1 -1
- package/lib/components/VTabs/VTabsItems.js +1 -0
- package/lib/components/VTabs/VTabsItems.js.map +1 -1
- package/lib/components/VTextField/VTextField.js +12 -18
- package/lib/components/VTextField/VTextField.js.map +1 -1
- package/lib/components/VTimePicker/VTimePicker.js +65 -31
- package/lib/components/VTimePicker/VTimePicker.js.map +1 -1
- package/lib/components/VTimePicker/VTimePickerClock.js +24 -39
- package/lib/components/VTimePicker/VTimePickerClock.js.map +1 -1
- package/lib/components/VTimePicker/VTimePickerTitle.js +3 -2
- package/lib/components/VTimePicker/VTimePickerTitle.js.map +1 -1
- package/lib/components/VToolbar/VToolbar.js +5 -6
- package/lib/components/VToolbar/VToolbar.js.map +1 -1
- package/lib/components/VTooltip/VTooltip.js +10 -14
- package/lib/components/VTooltip/VTooltip.js.map +1 -1
- package/lib/components/VTreeview/VTreeview.js +15 -13
- package/lib/components/VTreeview/VTreeview.js.map +1 -1
- package/lib/components/VTreeview/VTreeviewNode.js +4 -6
- package/lib/components/VTreeview/VTreeviewNode.js.map +1 -1
- package/lib/components/VVirtualScroll/VVirtualScroll.js +8 -14
- package/lib/components/VVirtualScroll/VVirtualScroll.js.map +1 -1
- package/lib/components/VWindow/VWindow.js +7 -6
- package/lib/components/VWindow/VWindow.js.map +1 -1
- package/lib/components/VWindow/VWindowItem.js +5 -7
- package/lib/components/VWindow/VWindowItem.js.map +1 -1
- package/lib/components/transitions/createTransition.js +2 -2
- package/lib/components/transitions/createTransition.js.map +1 -1
- package/lib/components/transitions/expand-transition.js +1 -0
- package/lib/components/transitions/expand-transition.js.map +1 -1
- package/lib/directives/intersect/index.js +20 -7
- package/lib/directives/intersect/index.js.map +1 -1
- package/lib/directives/mutate/index.js +13 -13
- package/lib/directives/mutate/index.js.map +1 -1
- package/lib/directives/resize/index.js +8 -8
- package/lib/directives/resize/index.js.map +1 -1
- package/lib/directives/scroll/index.js +10 -9
- package/lib/directives/scroll/index.js.map +1 -1
- package/lib/directives/touch/index.js +4 -4
- package/lib/directives/touch/index.js.map +1 -1
- package/lib/framework.js +1 -1
- package/lib/install.js +5 -28
- package/lib/install.js.map +1 -1
- package/lib/mixins/activatable/index.js +12 -6
- package/lib/mixins/activatable/index.js.map +1 -1
- package/lib/mixins/applicationable/index.js +4 -4
- package/lib/mixins/applicationable/index.js.map +1 -1
- package/lib/mixins/binds-attrs/index.js +1 -1
- package/lib/mixins/binds-attrs/index.js.map +1 -1
- package/lib/mixins/bootable/index.js +2 -4
- package/lib/mixins/bootable/index.js.map +1 -1
- package/lib/mixins/detachable/index.js +13 -10
- package/lib/mixins/detachable/index.js.map +1 -1
- package/lib/mixins/groupable/index.js +1 -1
- package/lib/mixins/groupable/index.js.map +1 -1
- package/lib/mixins/intersectable/index.js +2 -2
- package/lib/mixins/intersectable/index.js.map +1 -1
- package/lib/mixins/menuable/index.js +1 -1
- package/lib/mixins/menuable/index.js.map +1 -1
- package/lib/mixins/mouse/index.js +9 -5
- package/lib/mixins/mouse/index.js.map +1 -1
- package/lib/mixins/overlayable/index.js +5 -3
- package/lib/mixins/overlayable/index.js.map +1 -1
- package/lib/mixins/picker/index.js +5 -3
- package/lib/mixins/picker/index.js.map +1 -1
- package/lib/mixins/routable/index.js +5 -2
- package/lib/mixins/routable/index.js.map +1 -1
- package/lib/mixins/selectable/index.js +6 -5
- package/lib/mixins/selectable/index.js.map +1 -1
- package/lib/mixins/translatable/index.js +1 -1
- package/lib/mixins/translatable/index.js.map +1 -1
- package/lib/mixins/validatable/index.js +17 -7
- package/lib/mixins/validatable/index.js.map +1 -1
- package/lib/services/breakpoint/index.js +3 -1
- package/lib/services/breakpoint/index.js.map +1 -1
- package/lib/util/console.js +47 -17
- package/lib/util/console.js.map +1 -1
- package/lib/util/helpers.js +47 -1
- package/lib/util/helpers.js.map +1 -1
- package/lib/util/legacyEventsMixin.js +37 -0
- package/lib/util/legacyEventsMixin.js.map +1 -0
- package/package.json +1 -1
- package/src/components/VAlert/VAlert.ts +19 -8
- package/src/components/VAlert/__tests__/VAlert.spec.ts +78 -50
- package/src/components/VAlert/__tests__/__snapshots__/VAlert.spec.ts.snap +16 -18
- package/src/components/VApp/__tests__/VApp.spec.ts +24 -18
- package/src/components/VApp/__tests__/__snapshots__/VApp.spec.ts.snap +4 -4
- package/src/components/VAppBar/VAppBar.ts +21 -14
- package/src/components/VAppBar/VAppBarNavIcon.ts +1 -1
- package/src/components/VAppBar/__tests__/VAppBar.spec.ts +256 -74
- package/src/components/VAppBar/__tests__/VAppBarNavIcon.spec.ts +2 -6
- package/src/components/VAppBar/__tests__/__snapshots__/VAppBar.spec.ts.snap +13 -4
- package/src/components/VAppBar/__tests__/__snapshots__/VAppBarNavIcon.spec.ts.snap +3 -4
- package/src/components/VAutocomplete/VAutocomplete.ts +35 -6
- package/src/components/VAutocomplete/__tests__/VAutocomplete.spec.ts +51 -53
- package/src/components/VAutocomplete/__tests__/VAutocomplete2.spec.ts +77 -48
- package/src/components/VAutocomplete/__tests__/VAutocomplete3.spec.ts +101 -39
- package/src/components/VAvatar/__tests__/VAvatar.spec.ts +72 -10
- package/src/components/VBadge/VBadge.ts +38 -26
- package/src/components/VBadge/__tests__/VBadge.spec.ts +47 -30
- package/src/components/VBadge/__tests__/__snapshots__/VBadge.spec.ts.snap +5 -5
- package/src/components/VBanner/VBanner.ts +30 -17
- package/src/components/VBanner/__tests__/VBanner.spec.ts +35 -36
- package/src/components/VBanner/__tests__/__snapshots__/VBanner.spec.ts.snap +1 -1
- package/src/components/VBottomNavigation/VBottomNavigation.ts +20 -8
- package/src/components/VBottomNavigation/__tests__/VBottomNavigation.spec.ts +43 -37
- package/src/components/VBottomNavigation/__tests__/__snapshots__/VBottomNavigation.spec.ts.snap +11 -10
- package/src/components/VBreadcrumbs/VBreadcrumbs.ts +8 -4
- package/src/components/VBreadcrumbs/VBreadcrumbsItem.ts +4 -0
- package/src/components/VBreadcrumbs/__tests__/VBreadcrumbs.spec.ts +125 -10
- package/src/components/VBreadcrumbs/__tests__/VBreadcrumbsItem.spec.ts +10 -6
- package/src/components/VBtn/VBtn.ts +25 -17
- package/src/components/VBtn/__tests__/VBtn.spec.ts +257 -242
- package/src/components/VBtn/__tests__/__snapshots__/VBtn.spec.ts.snap +13 -73
- package/src/components/VBtnToggle/__tests__/VBtnToggle.spec.ts +10 -6
- package/src/components/VCalendar/VCalendar.ts +29 -27
- package/src/components/VCalendar/VCalendarCategory.ts +9 -8
- package/src/components/VCalendar/VCalendarDaily.ts +18 -28
- package/src/components/VCalendar/VCalendarMonthly.ts +2 -1
- package/src/components/VCalendar/VCalendarWeekly.ts +18 -30
- package/src/components/VCalendar/__tests__/VCalendar.spec.ts +18 -34
- package/src/components/VCalendar/__tests__/VCalendarCategory.spec.ts +16 -14
- package/src/components/VCalendar/__tests__/VCalendarDaily.spec.ts +30 -28
- package/src/components/VCalendar/__tests__/__snapshots__/VCalendar.spec.ts.snap +206 -205
- package/src/components/VCalendar/__tests__/__snapshots__/VCalendarDaily.spec.ts.snap +122 -122
- package/src/components/VCalendar/mixins/__tests__/__snapshots__/calendar-with-events.spec.ts.snap +1 -56
- package/src/components/VCalendar/mixins/__tests__/calendar-base.spec.ts +24 -21
- package/src/components/VCalendar/mixins/__tests__/calendar-with-events.spec.ts +27 -34
- package/src/components/VCalendar/mixins/__tests__/calendar-with-intervals.spec.ts +31 -28
- package/src/components/VCalendar/mixins/__tests__/times.spec.ts +10 -9
- package/src/components/VCalendar/mixins/calendar-base.ts +8 -12
- package/src/components/VCalendar/mixins/calendar-with-events.ts +19 -38
- package/src/components/VCalendar/mixins/calendar-with-intervals.ts +1 -1
- package/src/components/VCalendar/mixins/times.ts +1 -1
- package/src/components/VCard/__tests__/VCard.spec.ts +46 -28
- package/src/components/VCard/__tests__/__snapshots__/VCard.spec.ts.snap +2 -2
- package/src/components/VCarousel/VCarousel.ts +42 -15
- package/src/components/VCarousel/VCarouselItem.ts +1 -1
- package/src/components/VCarousel/__tests__/VCarousel.spec.ts +74 -54
- package/src/components/VCarousel/__tests__/VCarouselItem.spec.ts +9 -5
- package/src/components/VCarousel/__tests__/__snapshots__/VCarousel.spec.ts.snap +1 -1
- package/src/components/VCheckbox/VCheckbox.ts +20 -2
- package/src/components/VCheckbox/VSimpleCheckbox.ts +97 -45
- package/src/components/VCheckbox/__tests__/VCheckbox.spec.ts +157 -152
- package/src/components/VCheckbox/__tests__/VSimpleCheckbox.spec.ts +46 -13
- package/src/components/VChip/VChip.ts +17 -13
- package/src/components/VChip/__tests__/VChip.spec.ts +50 -50
- package/src/components/VChip/__tests__/__snapshots__/VChip.spec.ts.snap +4 -4
- package/src/components/VChipGroup/__tests__/VChipGroup.spec.ts +14 -21
- package/src/components/VColorPicker/VColorPicker.ts +51 -41
- package/src/components/VColorPicker/VColorPickerCanvas.ts +44 -37
- package/src/components/VColorPicker/VColorPickerEdit.ts +37 -35
- package/src/components/VColorPicker/VColorPickerPreview.ts +48 -28
- package/src/components/VColorPicker/VColorPickerSwatches.ts +23 -12
- package/src/components/VColorPicker/__tests__/VColorPicker.spec.ts +47 -47
- package/src/components/VColorPicker/__tests__/VColorPickerCanvas.spec.ts +15 -13
- package/src/components/VColorPicker/__tests__/VColorPickerEdit.spec.ts +52 -50
- package/src/components/VColorPicker/__tests__/VColorPickerPreview.spec.ts +101 -30
- package/src/components/VColorPicker/__tests__/__snapshots__/VColorPicker.spec.ts.snap +218 -175
- package/src/components/VColorPicker/__tests__/__snapshots__/VColorPickerEdit.spec.ts.snap +38 -21
- package/src/components/VCombobox/VCombobox.ts +23 -0
- package/src/components/VCombobox/__tests__/VCombobox-multiple.spec.ts +118 -110
- package/src/components/VCombobox/__tests__/VCombobox.spec.ts +119 -93
- package/src/components/VData/VData.ts +14 -1
- package/src/components/VData/__tests__/VData.spec.ts +69 -90
- package/src/components/VDataIterator/VDataFooter.ts +16 -9
- package/src/components/VDataIterator/VDataIterator.ts +51 -35
- package/src/components/VDataIterator/__tests__/VDataFooter.spec.ts +38 -39
- package/src/components/VDataIterator/__tests__/VDataIterator.spec.ts +90 -122
- package/src/components/VDataIterator/__tests__/__snapshots__/VDataFooter.spec.ts.snap +92 -82
- package/src/components/VDataIterator/__tests__/__snapshots__/VDataIterator.spec.ts.snap +79 -69
- package/src/components/VDataTable/RowGroup.ts +33 -16
- package/src/components/VDataTable/VDataTable.ts +20 -29
- package/src/components/VDataTable/VDataTableHeader.ts +8 -9
- package/src/components/VDataTable/VDataTableHeaderDesktop.ts +10 -1
- package/src/components/VDataTable/VDataTableHeaderMobile.ts +18 -25
- package/src/components/VDataTable/VEditDialog.ts +23 -21
- package/src/components/VDataTable/VSimpleTable.ts +2 -3
- package/src/components/VDataTable/VVirtualTable.ts +2 -3
- package/src/components/VDataTable/__tests__/MobileRow.spec.ts +55 -66
- package/src/components/VDataTable/__tests__/Row.spec.ts +64 -73
- package/src/components/VDataTable/__tests__/RowGroup.spec.ts +7 -5
- package/src/components/VDataTable/__tests__/VDataTable.spec.ts +916 -998
- package/src/components/VDataTable/__tests__/VDataTableHeader.spec.ts +39 -29
- package/src/components/VDataTable/__tests__/VEditDialog.spec.ts +33 -24
- package/src/components/VDataTable/__tests__/VSimpleTable.spec.ts +55 -29
- package/src/components/VDataTable/__tests__/VVirtualTable.spec.ts +13 -15
- package/src/components/VDataTable/__tests__/__snapshots__/Row.spec.ts.snap +30 -0
- package/src/components/VDataTable/__tests__/__snapshots__/VDataTable.spec.ts.snap +2543 -2086
- package/src/components/VDataTable/__tests__/__snapshots__/VDataTableHeader.spec.ts.snap +115 -144
- package/src/components/VDataTable/__tests__/__snapshots__/VEditDialog.spec.ts.snap +6 -6
- package/src/components/VDataTable/__tests__/__snapshots__/VSimpleTable.spec.ts.snap +22 -18
- package/src/components/VDataTable/mixins/__tests__/__snapshots__/header.spec.ts.snap +10 -13
- package/src/components/VDataTable/mixins/__tests__/header.spec.ts +15 -15
- package/src/components/VDataTable/mixins/header.ts +6 -10
- package/src/components/VDatePicker/VDatePicker.ts +30 -25
- package/src/components/VDatePicker/VDatePickerHeader.ts +57 -32
- package/src/components/VDatePicker/VDatePickerMonthTable.ts +1 -1
- package/src/components/VDatePicker/VDatePickerTitle.ts +21 -7
- package/src/components/VDatePicker/VDatePickerYears.ts +19 -10
- package/src/components/VDatePicker/__tests__/VDatePicker.date.spec.ts +302 -246
- package/src/components/VDatePicker/__tests__/VDatePicker.month.spec.ts +90 -86
- package/src/components/VDatePicker/__tests__/VDatePickerDateTable.spec.ts +76 -90
- package/src/components/VDatePicker/__tests__/VDatePickerHeader.spec.ts +96 -71
- package/src/components/VDatePicker/__tests__/VDatePickerMonthTable.spec.ts +63 -77
- package/src/components/VDatePicker/__tests__/VDatePickerTitle.spec.ts +48 -28
- package/src/components/VDatePicker/__tests__/VDatePickerYears.spec.ts +25 -22
- package/src/components/VDatePicker/__tests__/__snapshots__/VDatePicker.date.spec.ts.snap +601 -586
- package/src/components/VDatePicker/__tests__/__snapshots__/VDatePicker.month.spec.ts.snap +203 -193
- package/src/components/VDatePicker/__tests__/__snapshots__/VDatePickerDateTable.spec.ts.snap +615 -615
- package/src/components/VDatePicker/__tests__/__snapshots__/VDatePickerHeader.spec.ts.snap +52 -52
- package/src/components/VDatePicker/__tests__/__snapshots__/VDatePickerMonthTable.spec.ts.snap +144 -144
- package/src/components/VDatePicker/__tests__/__snapshots__/VDatePickerTitle.spec.ts.snap +3 -4
- package/src/components/VDatePicker/mixins/date-picker-table.ts +32 -14
- package/src/components/VDatePicker/util/__tests__/createNativeLocaleFormatter.spec.ts +7 -0
- package/src/components/VDatePicker/util/createNativeLocaleFormatter.ts +3 -0
- package/src/components/VDialog/VDialog.ts +23 -11
- package/src/components/VDialog/__tests__/VDialog.spec.ts +105 -101
- package/src/components/VDialog/__tests__/__snapshots__/VDialog.spec.ts.snap +0 -15
- package/src/components/VDivider/__tests__/VDivider.spec.ts +11 -15
- package/src/components/VDivider/__tests__/__snapshots__/VDivider.spec.ts.snap +2 -2
- package/src/components/VExpansionPanel/VExpansionPanel.ts +5 -0
- package/src/components/VExpansionPanel/VExpansionPanelContent.ts +2 -2
- package/src/components/VExpansionPanel/VExpansionPanelHeader.ts +3 -4
- package/src/components/VExpansionPanel/__tests__/VExpansionPanel.spec.ts +43 -27
- package/src/components/VExpansionPanel/__tests__/__snapshots__/VExpansionPanel.spec.ts.snap +18 -16
- package/src/components/VFileInput/VFileInput.ts +47 -32
- package/src/components/VFileInput/__tests__/VFileInput.spec.ts +84 -54
- package/src/components/VFileInput/__tests__/__snapshots__/VFileInput.spec.ts.snap +242 -146
- package/src/components/VForm/VForm.ts +63 -35
- package/src/components/VForm/__tests__/VForm.spec.ts +100 -80
- package/src/components/VGrid/VCol.ts +2 -2
- package/src/components/VGrid/VContainer.ts +1 -1
- package/src/components/VGrid/__tests__/VCol.spec.ts +17 -17
- package/src/components/VGrid/__tests__/VContainer.spec.ts +58 -3
- package/src/components/VGrid/__tests__/VFlex.spec.ts +3 -3
- package/src/components/VGrid/__tests__/VGrid.spec.ts +12 -10
- package/src/components/VGrid/__tests__/VLayout.spec.ts +3 -3
- package/src/components/VHover/VHover.ts +2 -0
- package/src/components/VIcon/__tests__/VIcon.spec.ts +176 -70
- package/src/components/VImg/VImg.ts +5 -4
- package/src/components/VImg/__tests__/VImg.spec.ts +21 -20
- package/src/components/VImg/__tests__/__snapshots__/VImg.spec.ts.snap +71 -66
- package/src/components/VInput/VInput.ts +33 -8
- package/src/components/VInput/__tests__/VInput.spec.ts +170 -234
- package/src/components/VInput/__tests__/__snapshots__/VInput.spec.ts.snap +50 -101
- package/src/components/VItemGroup/VItem.ts +30 -24
- package/src/components/VItemGroup/VItemGroup.ts +7 -1
- package/src/components/VItemGroup/__tests__/VItem.spec.ts +22 -37
- package/src/components/VItemGroup/__tests__/VItemGroup.spec.ts +96 -124
- package/src/components/VItemGroup/__tests__/__snapshots__/VItem.spec.ts.snap +2 -0
- package/src/components/VLabel/__tests__/VLabel.spec.ts +240 -14
- package/src/components/VLazy/VLazy.ts +11 -13
- package/src/components/VLazy/__tests__/VLazy.spec.ts +5 -4
- package/src/components/VLazy/__tests__/__snapshots__/VLazy.spec.ts.snap +2 -1
- package/src/components/VList/VList.ts +1 -1
- package/src/components/VList/VListGroup.ts +43 -32
- package/src/components/VList/VListItem.ts +55 -23
- package/src/components/VList/VListItemAction.ts +11 -10
- package/src/components/VList/__tests__/VList.spec.ts +13 -12
- package/src/components/VList/__tests__/VListGroup.spec.ts +59 -51
- package/src/components/VList/__tests__/VListItem.spec.ts +142 -63
- package/src/components/VList/__tests__/VListItemAvatar.spec.ts +5 -2
- package/src/components/VList/__tests__/VListItemGroup.spec.ts +5 -2
- package/src/components/VList/__tests__/__snapshots__/VList.spec.ts.snap +10 -10
- package/src/components/VList/__tests__/__snapshots__/VListGroup.spec.ts.snap +5 -6
- package/src/components/VList/__tests__/__snapshots__/VListItem.spec.ts.snap +1 -1
- package/src/components/VMain/__tests__/VMain.spec.ts +71 -17
- package/src/components/VMenu/VMenu.ts +25 -4
- package/src/components/VMenu/__tests__/VMenu.spec.ts +90 -69
- package/src/components/VMenu/__tests__/__snapshots__/VMenu.spec.ts.snap +3 -5
- package/src/components/VMessages/VMessages.ts +15 -4
- package/src/components/VMessages/__tests__/VMessages.spec.ts +55 -16
- package/src/components/VMessages/__tests__/__snapshots__/VMessages.spec.ts.snap +16 -25
- package/src/components/VNavigationDrawer/VNavigationDrawer.ts +23 -16
- package/src/components/VNavigationDrawer/__tests__/VNavigationDrawer.spec.ts +84 -71
- package/src/components/VOtpInput/VOtpInput.ts +39 -4
- package/src/components/VOverflowBtn/VOverflowBtn.ts +3 -1
- package/src/components/VOverlay/VOverlay.ts +16 -2
- package/src/components/VOverlay/__tests__/VOverlay.spec.ts +6 -6
- package/src/components/VPagination/VPagination.ts +41 -29
- package/src/components/VPagination/__tests__/VPagination.spec.ts +85 -71
- package/src/components/VPagination/__tests__/__snapshots__/VPagination.spec.ts.snap +184 -429
- package/src/components/VParallax/__tests__/__snapshots__/VParallax.spec.ts.snap +8 -8
- package/src/components/VPicker/VPicker.ts +9 -11
- package/src/components/VPicker/__tests__/VPicker.spec.ts +14 -15
- package/src/components/VPicker/__tests__/__snapshots__/VPicker.spec.ts.snap +2 -2
- package/src/components/VProgressCircular/VProgressCircular.ts +6 -6
- package/src/components/VProgressCircular/__tests__/VProgressCircular.spec.ts +28 -21
- package/src/components/VProgressCircular/__tests__/__snapshots__/VProgressCircular.spec.ts.snap +62 -62
- package/src/components/VProgressLinear/VProgressLinear.ts +64 -30
- package/src/components/VProgressLinear/__tests__/VProgressLinear.spec.ts +378 -71
- package/src/components/VProgressLinear/__tests__/__snapshots__/VProgressLinear.spec.ts.snap +53 -79
- package/src/components/VRadioGroup/VRadio.ts +4 -2
- package/src/components/VRadioGroup/VRadioGroup.ts +20 -7
- package/src/components/VRangeSlider/VRangeSlider.ts +20 -5
- package/src/components/VRangeSlider/__tests__/VRangeSlider.spec.ts +40 -40
- package/src/components/VRangeSlider/__tests__/__snapshots__/VRangeSlider.spec.ts.snap +32 -38
- package/src/components/VRating/VRating.ts +13 -0
- package/src/components/VResponsive/__tests__/__snapshots__/VResponsive.spec.ts.snap +2 -2
- package/src/components/VSelect/VSelect.ts +105 -47
- package/src/components/VSelect/VSelectList.ts +51 -25
- package/src/components/VSelect/__tests__/VSelect.spec.ts +166 -125
- package/src/components/VSelect/__tests__/VSelect2.spec.ts +127 -111
- package/src/components/VSelect/__tests__/VSelect3.spec.ts +109 -91
- package/src/components/VSelect/__tests__/VSelect4.spec.ts +79 -68
- package/src/components/VSelect/__tests__/VSelectList.spec.ts +23 -31
- package/src/components/VSelect/__tests__/__snapshots__/VSelect.spec.ts.snap +58 -62
- package/src/components/VSelect/__tests__/__snapshots__/VSelect2.spec.ts.snap +50 -62
- package/src/components/VSelect/__tests__/__snapshots__/VSelect3.spec.ts.snap +10 -14
- package/src/components/VSheet/__tests__/VSheet.spec.ts +5 -5
- package/src/components/VSkeletonLoader/__tests__/VSkeletonLoader.spec.ts +22 -15
- package/src/components/VSkeletonLoader/__tests__/__snapshots__/VSkeletonLoader.spec.ts.snap +60 -60
- package/src/components/VSlideGroup/VSlideGroup.ts +5 -7
- package/src/components/VSlideGroup/VSlideItem.ts +2 -0
- package/src/components/VSlider/VSlider.ts +58 -32
- package/src/components/VSlider/__tests__/VSlider.spec.ts +188 -286
- package/src/components/VSlider/__tests__/__snapshots__/VSlider.spec.ts.snap +157 -246
- package/src/components/VSnackbar/VSnackbar.ts +1 -1
- package/src/components/VSparkline/VSparkline.ts +54 -92
- package/src/components/VSparkline/__tests__/VSparkline.spec.ts +33 -35
- package/src/components/VSpeedDial/VSpeedDial.ts +12 -15
- package/src/components/VSpeedDial/__tests__/VSpeedDial.spec.ts +21 -13
- package/src/components/VSpeedDial/__tests__/__snapshots__/VSpeedDial.spec.ts.snap +6 -6
- package/src/components/VStepper/VStepper.ts +3 -1
- package/src/components/VStepper/VStepperContent.ts +2 -2
- package/src/components/VStepper/VStepperStep.ts +9 -16
- package/src/components/VStepper/__tests__/VStepper.spec.ts +4 -1
- package/src/components/VStepper/__tests__/VStepperContent.spec.ts +104 -110
- package/src/components/VStepper/__tests__/VStepperStep.spec.ts +51 -44
- package/src/components/VSubheader/VSubheader.ts +1 -1
- package/src/components/VSubheader/__tests__/VSubheader.spec.ts +12 -7
- package/src/components/VSubheader/__tests__/__snapshots__/VSubheader.spec.ts.snap +1 -1
- package/src/components/VSwitch/VSwitch.ts +5 -6
- package/src/components/VSwitch/__tests__/VSwitch.spec.ts +30 -37
- package/src/components/VSystemBar/__tests__/VSystemBar.spec.ts +89 -17
- package/src/components/VTabs/VTab.ts +2 -0
- package/src/components/VTabs/VTabs.ts +33 -13
- package/src/components/VTabs/VTabsBar.ts +7 -5
- package/src/components/VTabs/VTabsItems.ts +2 -0
- package/src/components/VTabs/__tests__/VTab.spec.ts +49 -38
- package/src/components/VTabs/__tests__/VTabs.spec.ts +127 -79
- package/src/components/VTabs/__tests__/VTabsBar.spec.ts +68 -27
- package/src/components/VTabs/__tests__/VTabsSlider.spec.ts +7 -6
- package/src/components/VTabs/__tests__/__snapshots__/VTabs.spec.ts.snap +1 -3
- package/src/components/VTextField/VTextField.ts +14 -16
- package/src/components/VTextField/__tests__/VTextField.spec.ts +342 -246
- package/src/components/VTextarea/__tests__/VTextarea.spec.ts +112 -35
- package/src/components/VTimePicker/VTimePicker.ts +199 -89
- package/src/components/VTimePicker/VTimePickerClock.ts +40 -45
- package/src/components/VTimePicker/VTimePickerTitle.ts +5 -4
- package/src/components/VTimePicker/__tests__/VTimePicker.spec.ts +153 -140
- package/src/components/VTimePicker/__tests__/VTimePickerClock.spec.ts +78 -81
- package/src/components/VTimePicker/__tests__/VTimePickerTitle.spec.ts +47 -41
- package/src/components/VTimePicker/__tests__/__snapshots__/VTimePicker.spec.ts.snap +120 -40
- package/src/components/VTimeline/__tests__/VTimelineItem.spec.ts +25 -35
- package/src/components/VTimeline/__tests__/__snapshots__/VTimelineItem.spec.ts.snap +4 -5
- package/src/components/VToolbar/VToolbar.ts +5 -6
- package/src/components/VToolbar/__tests__/VToolbar.spec.ts +49 -25
- package/src/components/VTooltip/VTooltip.ts +24 -24
- package/src/components/VTooltip/__tests__/VTooltip.spec.ts +60 -75
- package/src/components/VTooltip/__tests__/__snapshots__/VTooltip.spec.ts.snap +34 -18
- package/src/components/VTreeview/VTreeview.ts +20 -17
- package/src/components/VTreeview/VTreeviewNode.ts +4 -6
- package/src/components/VTreeview/__tests__/VTreeview.spec.ts +168 -174
- package/src/components/VTreeview/__tests__/VTreeviewNode.spec.ts +77 -66
- package/src/components/VTreeview/__tests__/__snapshots__/VTreeview.spec.ts.snap +141 -141
- package/src/components/VTreeview/__tests__/__snapshots__/VTreeviewNode.spec.ts.snap +26 -51
- package/src/components/VVirtualScroll/VVirtualScroll.ts +14 -15
- package/src/components/VVirtualScroll/__tests__/VVirtualScroll.spec.ts +24 -20
- package/src/components/VWindow/VWindow.ts +9 -6
- package/src/components/VWindow/VWindowItem.ts +5 -4
- package/src/components/VWindow/__tests__/VWindow.spec.ts +304 -185
- package/src/components/VWindow/__tests__/VWindowItem.spec.ts +283 -126
- package/src/components/VWindow/__tests__/__snapshots__/VWindow.spec.ts.snap +59 -0
- package/src/components/VWindow/__tests__/__snapshots__/VWindowItem.spec.ts.snap +36 -0
- package/src/components/transitions/createTransition.ts +2 -2
- package/src/components/transitions/expand-transition.ts +2 -0
- package/src/directives/intersect/index.ts +81 -42
- package/src/directives/mutate/index.ts +58 -49
- package/src/directives/resize/index.ts +33 -14
- package/src/directives/scroll/index.ts +36 -20
- package/src/directives/touch/index.ts +37 -27
- package/src/install.ts +10 -32
- package/src/mixins/activatable/index.ts +10 -5
- package/src/mixins/applicationable/__tests__/applicationable.spec.ts +31 -27
- package/src/mixins/applicationable/index.ts +4 -4
- package/src/mixins/binds-attrs/index.ts +1 -1
- package/src/mixins/bootable/__tests__/bootable.spec.ts +17 -11
- package/src/mixins/bootable/index.ts +4 -3
- package/src/mixins/colorable/__tests__/colorable.spec.ts +9 -6
- package/src/mixins/detachable/index.ts +16 -9
- package/src/mixins/elevatable/__tests__/elevatable.spec.ts +14 -13
- package/src/mixins/groupable/index.ts +1 -1
- package/src/mixins/intersectable/__tests__/intersectable.spec.ts +35 -29
- package/src/mixins/intersectable/index.ts +2 -2
- package/src/mixins/menuable/__tests__/menuable.spec.ts +76 -33
- package/src/mixins/menuable/index.ts +1 -1
- package/src/mixins/mobile/__tests__/mobile.spec.ts +9 -6
- package/src/mixins/mouse/__tests__/mouse.spec.ts +54 -40
- package/src/mixins/mouse/index.ts +10 -6
- package/src/mixins/overlayable/__tests__/overlayable.spec.ts +32 -24
- package/src/mixins/overlayable/index.ts +5 -4
- package/src/mixins/picker/index.ts +4 -4
- package/src/mixins/proxyable/__tests__/proxyable.spec.ts +18 -17
- package/src/mixins/registrable/__tests__/registrable.spec.ts +31 -0
- package/src/mixins/rippleable/__tests__/rippleable.spec.ts +10 -9
- package/src/mixins/roundable/__tests__/roundable.spec.ts +7 -5
- package/src/mixins/routable/__tests__/routable.spec.ts +60 -52
- package/src/mixins/routable/index.ts +6 -4
- package/src/mixins/scrollable/__tests__/scrollable.spec.ts +56 -27
- package/src/mixins/selectable/__tests__/selectable.spec.ts +22 -9
- package/src/mixins/selectable/index.ts +7 -7
- package/src/mixins/translatable/index.ts +1 -1
- package/src/mixins/validatable/__tests__/validatable.spec.ts +194 -158
- package/src/mixins/validatable/index.ts +29 -21
- package/src/services/breakpoint/index.ts +5 -0
- package/src/util/__tests__/console.spec.ts +124 -11
- package/src/util/__tests__/helpers.spec.ts +121 -32
- package/src/util/console.ts +43 -24
- package/src/util/helpers.ts +49 -4
- package/src/util/legacyEventsMixin.ts +34 -0
|
@@ -5,17 +5,17 @@ exports[`VRangeSlider should render a vertical slider 1`] = `
|
|
|
5
5
|
<div class="v-input__control">
|
|
6
6
|
<div class="v-input__slot">
|
|
7
7
|
<div class="v-slider v-slider--vertical theme--light">
|
|
8
|
-
<input
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
readonly="readonly"
|
|
8
|
+
<input id="input-25"
|
|
9
|
+
disabled
|
|
10
|
+
readonly
|
|
12
11
|
tabindex="-1"
|
|
12
|
+
value="0,0"
|
|
13
13
|
>
|
|
14
|
-
<input
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
readonly="readonly"
|
|
14
|
+
<input id="input-25"
|
|
15
|
+
disabled
|
|
16
|
+
readonly
|
|
18
17
|
tabindex="-1"
|
|
18
|
+
value="0,0"
|
|
19
19
|
>
|
|
20
20
|
<div class="v-slider__track-container">
|
|
21
21
|
<div class="v-slider__track-background primary lighten-3">
|
|
@@ -25,28 +25,28 @@ exports[`VRangeSlider should render a vertical slider 1`] = `
|
|
|
25
25
|
<div class="v-slider__track-background primary lighten-3">
|
|
26
26
|
</div>
|
|
27
27
|
</div>
|
|
28
|
-
<div
|
|
28
|
+
<div class="v-slider__thumb-container primary--text"
|
|
29
|
+
style="top: 100%;"
|
|
30
|
+
role="slider"
|
|
29
31
|
tabindex="0"
|
|
30
32
|
aria-valuemin="0"
|
|
31
33
|
aria-valuemax="100"
|
|
32
34
|
aria-valuenow="0,0"
|
|
33
35
|
aria-readonly="false"
|
|
34
36
|
aria-orientation="vertical"
|
|
35
|
-
class="v-slider__thumb-container primary--text"
|
|
36
|
-
style="top: 100%;"
|
|
37
37
|
>
|
|
38
38
|
<div class="v-slider__thumb primary">
|
|
39
39
|
</div>
|
|
40
40
|
</div>
|
|
41
|
-
<div
|
|
41
|
+
<div class="v-slider__thumb-container primary--text"
|
|
42
|
+
style="top: 100%;"
|
|
43
|
+
role="slider"
|
|
42
44
|
tabindex="0"
|
|
43
45
|
aria-valuemin="0"
|
|
44
46
|
aria-valuemax="100"
|
|
45
47
|
aria-valuenow="0,0"
|
|
46
48
|
aria-readonly="false"
|
|
47
49
|
aria-orientation="vertical"
|
|
48
|
-
class="v-slider__thumb-container primary--text"
|
|
49
|
-
style="top: 100%;"
|
|
50
50
|
>
|
|
51
51
|
<div class="v-slider__thumb primary">
|
|
52
52
|
</div>
|
|
@@ -54,11 +54,8 @@ exports[`VRangeSlider should render a vertical slider 1`] = `
|
|
|
54
54
|
</div>
|
|
55
55
|
</div>
|
|
56
56
|
<div class="v-messages theme--light">
|
|
57
|
-
<
|
|
58
|
-
|
|
59
|
-
class="v-messages__wrapper"
|
|
60
|
-
>
|
|
61
|
-
</span>
|
|
57
|
+
<div class="v-messages__wrapper">
|
|
58
|
+
</div>
|
|
62
59
|
</div>
|
|
63
60
|
</div>
|
|
64
61
|
</div>
|
|
@@ -69,17 +66,17 @@ exports[`VRangeSlider should render disabled slider 1`] = `
|
|
|
69
66
|
<div class="v-input__control">
|
|
70
67
|
<div class="v-input__slot">
|
|
71
68
|
<div class="v-slider v-slider--horizontal v-slider--disabled theme--light">
|
|
72
|
-
<input
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
readonly="readonly"
|
|
69
|
+
<input id="input-29"
|
|
70
|
+
disabled
|
|
71
|
+
readonly
|
|
76
72
|
tabindex="-1"
|
|
73
|
+
value="0,0"
|
|
77
74
|
>
|
|
78
|
-
<input
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
readonly="readonly"
|
|
75
|
+
<input id="input-29"
|
|
76
|
+
disabled
|
|
77
|
+
readonly
|
|
82
78
|
tabindex="-1"
|
|
79
|
+
value="0,0"
|
|
83
80
|
>
|
|
84
81
|
<div class="v-slider__track-container">
|
|
85
82
|
<div class="v-slider__track-background">
|
|
@@ -89,28 +86,28 @@ exports[`VRangeSlider should render disabled slider 1`] = `
|
|
|
89
86
|
<div class="v-slider__track-background">
|
|
90
87
|
</div>
|
|
91
88
|
</div>
|
|
92
|
-
<div
|
|
89
|
+
<div class="v-slider__thumb-container"
|
|
90
|
+
style="left: 0%;"
|
|
91
|
+
role="slider"
|
|
93
92
|
tabindex="-1"
|
|
94
93
|
aria-valuemin="0"
|
|
95
94
|
aria-valuemax="100"
|
|
96
95
|
aria-valuenow="0,0"
|
|
97
96
|
aria-readonly="false"
|
|
98
97
|
aria-orientation="horizontal"
|
|
99
|
-
class="v-slider__thumb-container"
|
|
100
|
-
style="left: 0%;"
|
|
101
98
|
>
|
|
102
99
|
<div class="v-slider__thumb">
|
|
103
100
|
</div>
|
|
104
101
|
</div>
|
|
105
|
-
<div
|
|
102
|
+
<div class="v-slider__thumb-container"
|
|
103
|
+
style="left: 0%;"
|
|
104
|
+
role="slider"
|
|
106
105
|
tabindex="-1"
|
|
107
106
|
aria-valuemin="0"
|
|
108
107
|
aria-valuemax="100"
|
|
109
108
|
aria-valuenow="0,0"
|
|
110
109
|
aria-readonly="false"
|
|
111
110
|
aria-orientation="horizontal"
|
|
112
|
-
class="v-slider__thumb-container"
|
|
113
|
-
style="left: 0%;"
|
|
114
111
|
>
|
|
115
112
|
<div class="v-slider__thumb">
|
|
116
113
|
</div>
|
|
@@ -118,11 +115,8 @@ exports[`VRangeSlider should render disabled slider 1`] = `
|
|
|
118
115
|
</div>
|
|
119
116
|
</div>
|
|
120
117
|
<div class="v-messages theme--light">
|
|
121
|
-
<
|
|
122
|
-
|
|
123
|
-
class="v-messages__wrapper"
|
|
124
|
-
>
|
|
125
|
-
</span>
|
|
118
|
+
<div class="v-messages__wrapper">
|
|
119
|
+
</div>
|
|
126
120
|
</div>
|
|
127
121
|
</div>
|
|
128
122
|
</div>
|
|
@@ -16,6 +16,7 @@ import Ripple from '../../directives/ripple'
|
|
|
16
16
|
// Utilities
|
|
17
17
|
import { createRange } from '../../util/helpers'
|
|
18
18
|
import mixins from '../../util/mixins'
|
|
19
|
+
import { breaking } from '../../util/console'
|
|
19
20
|
|
|
20
21
|
// Types
|
|
21
22
|
import { VNode, VNodeDirective, VNodeChildren } from 'vue'
|
|
@@ -127,6 +128,18 @@ export default mixins(
|
|
|
127
128
|
},
|
|
128
129
|
},
|
|
129
130
|
|
|
131
|
+
created () {
|
|
132
|
+
const breakingProps = [
|
|
133
|
+
['value', 'modelValue'],
|
|
134
|
+
['onInput', 'onUpdate:modelValue'],
|
|
135
|
+
]
|
|
136
|
+
|
|
137
|
+
/* istanbul ignore next */
|
|
138
|
+
breakingProps.forEach(([original, replacement]) => {
|
|
139
|
+
if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this)
|
|
140
|
+
})
|
|
141
|
+
},
|
|
142
|
+
|
|
130
143
|
watch: {
|
|
131
144
|
internalValue (val) {
|
|
132
145
|
val !== this.modelValue && this.$emit('update:modelValue', val)
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`VResponsive.ts should force aspect ratio 1`] = `
|
|
4
4
|
<div class="v-responsive">
|
|
5
|
-
<div
|
|
6
|
-
|
|
5
|
+
<div style="padding-bottom: 56.25%;"
|
|
6
|
+
class="v-responsive__sizer"
|
|
7
7
|
>
|
|
8
8
|
</div>
|
|
9
9
|
<div class="v-responsive__content">
|
|
@@ -22,7 +22,7 @@ import ClickOutside from '../../directives/click-outside'
|
|
|
22
22
|
// Utilities
|
|
23
23
|
import mergeData from '../../util/mergeData'
|
|
24
24
|
import { getPropertyFromItem, getObjectValueByPath, keyCodes, normalizeAttrs } from '../../util/helpers'
|
|
25
|
-
import { consoleError } from '../../util/console'
|
|
25
|
+
import { consoleError, breaking } from '../../util/console'
|
|
26
26
|
|
|
27
27
|
// Types
|
|
28
28
|
import mixins from '../../util/mixins'
|
|
@@ -63,10 +63,6 @@ interface options extends InstanceType<typeof baseMixins> {
|
|
|
63
63
|
export default baseMixins.extend({
|
|
64
64
|
name: 'v-select',
|
|
65
65
|
|
|
66
|
-
directives: {
|
|
67
|
-
ClickOutside,
|
|
68
|
-
},
|
|
69
|
-
|
|
70
66
|
props: {
|
|
71
67
|
appendIcon: {
|
|
72
68
|
type: String,
|
|
@@ -76,6 +72,7 @@ export default baseMixins.extend({
|
|
|
76
72
|
type: null as unknown as PropType<string | boolean | Element | VNode>,
|
|
77
73
|
default: false,
|
|
78
74
|
},
|
|
75
|
+
auto: Boolean,
|
|
79
76
|
cacheItems: Boolean,
|
|
80
77
|
chips: Boolean,
|
|
81
78
|
clearable: Boolean,
|
|
@@ -107,12 +104,15 @@ export default baseMixins.extend({
|
|
|
107
104
|
type: [String, Array, Object],
|
|
108
105
|
default: () => defaultMenuProps,
|
|
109
106
|
},
|
|
107
|
+
minWidth: [String, Number],
|
|
110
108
|
multiple: Boolean,
|
|
111
109
|
openOnClear: Boolean,
|
|
112
110
|
returnObject: Boolean,
|
|
113
111
|
smallChips: Boolean,
|
|
114
112
|
},
|
|
115
113
|
|
|
114
|
+
emits: ['update:modelValue', 'change', 'focus', 'blur', 'keydown', 'click', 'update:list-index'],
|
|
115
|
+
|
|
116
116
|
data () {
|
|
117
117
|
return {
|
|
118
118
|
cachedItems: this.cacheItems ? this.items : [],
|
|
@@ -129,6 +129,7 @@ export default baseMixins.extend({
|
|
|
129
129
|
selectedItems: [] as any[],
|
|
130
130
|
keyboardLookupPrefix: '',
|
|
131
131
|
keyboardLookupLastTime: 0,
|
|
132
|
+
detectedScopeId: null as string | null,
|
|
132
133
|
}
|
|
133
134
|
},
|
|
134
135
|
|
|
@@ -152,7 +153,7 @@ export default baseMixins.extend({
|
|
|
152
153
|
return this.allItems
|
|
153
154
|
},
|
|
154
155
|
computedOwns (): string {
|
|
155
|
-
return `list-${this
|
|
156
|
+
return `list-${this.$?.uid}`
|
|
156
157
|
},
|
|
157
158
|
computedCounterValue (): number {
|
|
158
159
|
const value = this.multiple
|
|
@@ -173,8 +174,8 @@ export default baseMixins.extend({
|
|
|
173
174
|
handler: () => this.isFocused && this.blur(),
|
|
174
175
|
closeConditional: this.closeConditional,
|
|
175
176
|
include: () => this.getOpenDependentElements(),
|
|
176
|
-
}
|
|
177
|
-
]
|
|
177
|
+
},
|
|
178
|
+
],
|
|
178
179
|
]
|
|
179
180
|
},
|
|
180
181
|
dynamicHeight () {
|
|
@@ -190,13 +191,7 @@ export default baseMixins.extend({
|
|
|
190
191
|
return this.selectedItems.length > 0
|
|
191
192
|
},
|
|
192
193
|
listData (): object {
|
|
193
|
-
const scopeId = this.$vnode && (this.$vnode.context!.$options as { [key: string]: any })._scopeId
|
|
194
|
-
const attrs = scopeId ? {
|
|
195
|
-
[scopeId]: true,
|
|
196
|
-
} : {}
|
|
197
|
-
|
|
198
194
|
return {
|
|
199
|
-
...attrs,
|
|
200
195
|
id: this.computedOwns,
|
|
201
196
|
action: this.multiple,
|
|
202
197
|
color: this.itemColor,
|
|
@@ -211,12 +206,27 @@ export default baseMixins.extend({
|
|
|
211
206
|
onSelect: this.selectItem,
|
|
212
207
|
}
|
|
213
208
|
},
|
|
209
|
+
listAttrs (): object {
|
|
210
|
+
const scopeIdAttrs: Record<string, any> = {}
|
|
211
|
+
|
|
212
|
+
// Используем detectedScopeId из mounted hook
|
|
213
|
+
if (this.detectedScopeId) {
|
|
214
|
+
scopeIdAttrs[this.detectedScopeId] = ''
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
// scopeId успешно передается в VSelectList
|
|
218
|
+
|
|
219
|
+
return scopeIdAttrs
|
|
220
|
+
},
|
|
214
221
|
staticList (): VNode {
|
|
215
222
|
if (this.$slots['no-data'] || this.$slots['prepend-item'] || this.$slots['append-item']) {
|
|
216
223
|
consoleError('assert: staticList should not be called if slots are used')
|
|
217
224
|
}
|
|
218
225
|
|
|
219
|
-
return h(VSelectList,
|
|
226
|
+
return h(VSelectList, {
|
|
227
|
+
...this.listData,
|
|
228
|
+
...this.listAttrs,
|
|
229
|
+
}, {
|
|
220
230
|
item: this.$slots.item,
|
|
221
231
|
})
|
|
222
232
|
},
|
|
@@ -243,26 +253,31 @@ export default baseMixins.extend({
|
|
|
243
253
|
eager: this.eager,
|
|
244
254
|
modelValue: this.menuCanShow && this.isMenuActive,
|
|
245
255
|
nudgeBottom: normalisedProps.offsetY ? 1 : 0, // convert to int
|
|
256
|
+
auto: this.auto,
|
|
257
|
+
minWidth: this.minWidth,
|
|
246
258
|
...normalisedProps,
|
|
247
259
|
}
|
|
248
260
|
},
|
|
249
261
|
},
|
|
250
262
|
|
|
251
263
|
watch: {
|
|
252
|
-
internalValue
|
|
253
|
-
|
|
254
|
-
|
|
264
|
+
internalValue: {
|
|
265
|
+
handler (val) {
|
|
266
|
+
this.initialValue = val
|
|
267
|
+
this.setSelectedItems()
|
|
255
268
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
269
|
+
if (this.multiple) {
|
|
270
|
+
this.$nextTick(() => {
|
|
271
|
+
this.$refs.menu?.updateDimensions()
|
|
272
|
+
})
|
|
273
|
+
}
|
|
274
|
+
if (this.hideSelected) {
|
|
275
|
+
this.$nextTick(() => {
|
|
276
|
+
this.onScroll()
|
|
277
|
+
})
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
deep: true,
|
|
266
281
|
},
|
|
267
282
|
isMenuActive (val) {
|
|
268
283
|
window.setTimeout(() => this.onMenuActiveChange(val))
|
|
@@ -284,6 +299,34 @@ export default baseMixins.extend({
|
|
|
284
299
|
},
|
|
285
300
|
},
|
|
286
301
|
|
|
302
|
+
created () {
|
|
303
|
+
const breakingProps = [
|
|
304
|
+
['value', 'modelValue'],
|
|
305
|
+
['onInput', 'onUpdate:modelValue'],
|
|
306
|
+
]
|
|
307
|
+
|
|
308
|
+
/* istanbul ignore next */
|
|
309
|
+
breakingProps.forEach(([original, replacement]) => {
|
|
310
|
+
if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this)
|
|
311
|
+
})
|
|
312
|
+
},
|
|
313
|
+
|
|
314
|
+
mounted () {
|
|
315
|
+
this.$nextTick(() => {
|
|
316
|
+
if (this.$el && this.$el.attributes) {
|
|
317
|
+
const attrs = this.$el.attributes
|
|
318
|
+
for (let i = 0; i < attrs.length; i++) {
|
|
319
|
+
const attr = attrs[i]
|
|
320
|
+
if (attr.name.startsWith('data-v-')) {
|
|
321
|
+
this.detectedScopeId = attr.name
|
|
322
|
+
// scopeId найден и сохранен для использования в dropdown
|
|
323
|
+
break
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
})
|
|
328
|
+
},
|
|
329
|
+
|
|
287
330
|
methods: {
|
|
288
331
|
/** @public */
|
|
289
332
|
blur (e?: Event) {
|
|
@@ -368,7 +411,7 @@ export default baseMixins.extend({
|
|
|
368
411
|
tabindex: -1,
|
|
369
412
|
close: this.deletableChips && isInteractive,
|
|
370
413
|
disabled: isDisabled,
|
|
371
|
-
|
|
414
|
+
modelValue: index === this.selectedIndex,
|
|
372
415
|
small: this.smallChips,
|
|
373
416
|
onClick: (e: MouseEvent) => {
|
|
374
417
|
if (!isInteractive) return
|
|
@@ -379,7 +422,7 @@ export default baseMixins.extend({
|
|
|
379
422
|
},
|
|
380
423
|
'onClick:close': () => this.onChipInput(item),
|
|
381
424
|
key: JSON.stringify(this.getValue(item)),
|
|
382
|
-
}, this.getText(item))
|
|
425
|
+
}, () => this.getText(item))
|
|
383
426
|
},
|
|
384
427
|
genCommaSelection (item: object, index: number, last: boolean) {
|
|
385
428
|
const color = index === this.selectedIndex && this.computedColor
|
|
@@ -412,7 +455,7 @@ export default baseMixins.extend({
|
|
|
412
455
|
return [
|
|
413
456
|
this.genFieldset(),
|
|
414
457
|
withDirectives(h('div', {
|
|
415
|
-
class: 'v-select__slot'
|
|
458
|
+
class: 'v-select__slot',
|
|
416
459
|
}, [
|
|
417
460
|
this.genLabel(),
|
|
418
461
|
this.prefix ? this.genAffix('prefix') : null,
|
|
@@ -435,11 +478,12 @@ export default baseMixins.extend({
|
|
|
435
478
|
|
|
436
479
|
if (type === 'append') {
|
|
437
480
|
// Don't allow the dropdown icon to be focused
|
|
438
|
-
const
|
|
439
|
-
|
|
440
|
-
|
|
481
|
+
const iconChild = icon.children![0]
|
|
482
|
+
const hasListeners = Object.keys(iconChild.props || {}).some(key => key.startsWith('on'))
|
|
483
|
+
iconChild.props = mergeData(iconChild.props || {}, {
|
|
484
|
+
tabindex: hasListeners ? '-1' : undefined,
|
|
441
485
|
'aria-hidden': 'true',
|
|
442
|
-
'aria-label': undefined
|
|
486
|
+
'aria-label': undefined,
|
|
443
487
|
})
|
|
444
488
|
}
|
|
445
489
|
|
|
@@ -466,10 +510,23 @@ export default baseMixins.extend({
|
|
|
466
510
|
return input
|
|
467
511
|
},
|
|
468
512
|
genHiddenInput (): VNode {
|
|
513
|
+
let value = this.lazyValue
|
|
514
|
+
|
|
515
|
+
if (this.multiple && Array.isArray(value)) {
|
|
516
|
+
value = value.map(item => {
|
|
517
|
+
if (typeof item === 'object' && item !== null) {
|
|
518
|
+
return this.getValue(item)
|
|
519
|
+
}
|
|
520
|
+
return item
|
|
521
|
+
}).join(',')
|
|
522
|
+
} else if (typeof value === 'object' && value !== null) {
|
|
523
|
+
value = this.getValue(value)
|
|
524
|
+
}
|
|
525
|
+
|
|
469
526
|
return h('input', {
|
|
470
|
-
value
|
|
527
|
+
value,
|
|
471
528
|
type: 'hidden',
|
|
472
|
-
name: this.
|
|
529
|
+
name: this.$attrs.name,
|
|
473
530
|
})
|
|
474
531
|
},
|
|
475
532
|
genInputSlot (): VNode {
|
|
@@ -480,7 +537,7 @@ export default baseMixins.extend({
|
|
|
480
537
|
'aria-haspopup': 'listbox',
|
|
481
538
|
'aria-expanded': String(this.isMenuActive),
|
|
482
539
|
'aria-owns': this.computedOwns,
|
|
483
|
-
...render.props
|
|
540
|
+
...render.props,
|
|
484
541
|
}
|
|
485
542
|
|
|
486
543
|
return render
|
|
@@ -494,18 +551,20 @@ export default baseMixins.extend({
|
|
|
494
551
|
}
|
|
495
552
|
},
|
|
496
553
|
genListWithSlot (): VNode {
|
|
497
|
-
const slots = ['prepend-item', 'no-data', 'append-item']
|
|
554
|
+
const slots = Object.fromEntries(['prepend-item', 'no-data', 'append-item']
|
|
498
555
|
.filter(slotName => this.$slots[slotName])
|
|
499
|
-
.map(slotName =>
|
|
500
|
-
|
|
501
|
-
|
|
556
|
+
.map(slotName => [
|
|
557
|
+
slotName,
|
|
558
|
+
this.$slots[slotName],
|
|
559
|
+
]
|
|
560
|
+
))
|
|
502
561
|
// Requires destructuring due to Vue
|
|
503
562
|
// modifying the `on` property when passed
|
|
504
563
|
// as a referenced object
|
|
505
|
-
|
|
506
564
|
return h(VSelectList, {
|
|
507
565
|
...this.listData,
|
|
508
|
-
|
|
566
|
+
...this.listAttrs,
|
|
567
|
+
}, { ...slots, item: this.$slots.item })
|
|
509
568
|
},
|
|
510
569
|
genMenu (): VNode {
|
|
511
570
|
const props = this.$_menuProps as any
|
|
@@ -528,13 +587,13 @@ export default baseMixins.extend({
|
|
|
528
587
|
return h(VMenu, {
|
|
529
588
|
role: undefined,
|
|
530
589
|
...props,
|
|
531
|
-
|
|
590
|
+
'onUpdate:modelValue': (val: boolean) => {
|
|
532
591
|
this.isMenuActive = val
|
|
533
592
|
this.isFocused = val
|
|
534
593
|
},
|
|
535
594
|
onScroll: this.onScroll,
|
|
536
595
|
ref: 'menu',
|
|
537
|
-
}, [this.genList()])
|
|
596
|
+
}, () => [this.genList()])
|
|
538
597
|
},
|
|
539
598
|
genSelections (): VNode {
|
|
540
599
|
let length = this.selectedItems.length
|
|
@@ -875,7 +934,6 @@ export default baseMixins.extend({
|
|
|
875
934
|
setValue (value: any) {
|
|
876
935
|
if (!this.valueComparator(value, this.internalValue)) {
|
|
877
936
|
this.internalValue = value
|
|
878
|
-
this.$emit('update:modelValue', value)
|
|
879
937
|
}
|
|
880
938
|
},
|
|
881
939
|
isAppendInner (target: any) {
|
|
@@ -19,6 +19,7 @@ import Themeable from '../../mixins/themeable'
|
|
|
19
19
|
|
|
20
20
|
// Helpers
|
|
21
21
|
import { getPropertyFromItem } from '../../util/helpers'
|
|
22
|
+
import { breaking } from '../../util/console'
|
|
22
23
|
|
|
23
24
|
// Types
|
|
24
25
|
import mixins from '../../util/mixins'
|
|
@@ -32,11 +33,6 @@ type ListTile = { item: any, disabled?: null | boolean, value?: boolean, index:
|
|
|
32
33
|
export default mixins(Colorable, Themeable).extend({
|
|
33
34
|
name: 'v-select-list',
|
|
34
35
|
|
|
35
|
-
// https://github.com/vuejs/vue/issues/6872
|
|
36
|
-
directives: {
|
|
37
|
-
ripple,
|
|
38
|
-
},
|
|
39
|
-
|
|
40
36
|
props: {
|
|
41
37
|
action: Boolean,
|
|
42
38
|
dense: Boolean,
|
|
@@ -85,19 +81,31 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
85
81
|
},
|
|
86
82
|
},
|
|
87
83
|
|
|
84
|
+
created () {
|
|
85
|
+
const breakingProps = [
|
|
86
|
+
['value', 'modelValue'],
|
|
87
|
+
['onInput', 'onUpdate:modelValue'],
|
|
88
|
+
]
|
|
89
|
+
|
|
90
|
+
/* istanbul ignore next */
|
|
91
|
+
breakingProps.forEach(([original, replacement]) => {
|
|
92
|
+
if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this)
|
|
93
|
+
})
|
|
94
|
+
},
|
|
95
|
+
|
|
88
96
|
methods: {
|
|
89
97
|
genAction (item: object, inputValue: any): VNode {
|
|
90
|
-
return h(VListItemAction, [
|
|
98
|
+
return h(VListItemAction, {}, () => [
|
|
91
99
|
h(VSimpleCheckbox, {
|
|
92
100
|
color: this.color,
|
|
93
|
-
|
|
101
|
+
modelValue: inputValue,
|
|
94
102
|
ripple: false,
|
|
95
|
-
|
|
103
|
+
'onUpdate:modelValue': () => this.$emit('select', item),
|
|
96
104
|
}),
|
|
97
105
|
])
|
|
98
106
|
},
|
|
99
107
|
genDivider (props: { [key: string]: any }) {
|
|
100
|
-
return h(VDivider,
|
|
108
|
+
return h(VDivider, props)
|
|
101
109
|
},
|
|
102
110
|
genFilteredText (text: string) {
|
|
103
111
|
text = text || ''
|
|
@@ -109,7 +117,7 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
109
117
|
return [start, this.genHighlight(middle), end]
|
|
110
118
|
},
|
|
111
119
|
genHeader (props: { [key: string]: any }): VNode {
|
|
112
|
-
return h(VSubheader,
|
|
120
|
+
return h(VSubheader, props, props.header)
|
|
113
121
|
},
|
|
114
122
|
genHighlight (text: string) {
|
|
115
123
|
return h('span', { class: 'v-list-item__mask' }, text)
|
|
@@ -147,7 +155,7 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
147
155
|
// Default behavior in list does not
|
|
148
156
|
// contain aria-selected by default
|
|
149
157
|
'aria-selected': String(value),
|
|
150
|
-
id: `list-item-${this
|
|
158
|
+
id: `list-item-${this.$.uid}-${index}`,
|
|
151
159
|
role: 'option',
|
|
152
160
|
onMousedown: (e: Event) => {
|
|
153
161
|
// Prevent onBlur from being called
|
|
@@ -157,7 +165,14 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
157
165
|
activeClass: this.tileActiveClass,
|
|
158
166
|
disabled,
|
|
159
167
|
ripple: true,
|
|
160
|
-
|
|
168
|
+
modelValue: value,
|
|
169
|
+
// Передаем scopeId атрибуты от родительского компонента
|
|
170
|
+
...Object.keys(this.$attrs).reduce((acc, key) => {
|
|
171
|
+
if (key.startsWith('data-v-')) {
|
|
172
|
+
acc[key] = this.$attrs[key]
|
|
173
|
+
}
|
|
174
|
+
return acc
|
|
175
|
+
}, {} as Record<string, any>),
|
|
161
176
|
}
|
|
162
177
|
|
|
163
178
|
if (!this.$slots.item) {
|
|
@@ -170,14 +185,16 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
170
185
|
}
|
|
171
186
|
|
|
172
187
|
const parent = this
|
|
188
|
+
const { onClick, onMousedown, ...attrsWithoutEvents } = tile
|
|
173
189
|
const scopedSlot = this.$slots.item({
|
|
174
190
|
parent,
|
|
175
191
|
item,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
192
|
+
active: value,
|
|
193
|
+
attrs: tile,
|
|
194
|
+
on: {
|
|
195
|
+
onMousedown,
|
|
196
|
+
onClick,
|
|
179
197
|
},
|
|
180
|
-
on: tile.on,
|
|
181
198
|
})
|
|
182
199
|
|
|
183
200
|
return this.needsTile(scopedSlot)
|
|
@@ -185,8 +202,8 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
185
202
|
: scopedSlot
|
|
186
203
|
},
|
|
187
204
|
genTileContent (item: any, index = 0): VNode {
|
|
188
|
-
return h(VListItemContent, [
|
|
189
|
-
h(VListItemTitle, [
|
|
205
|
+
return h(VListItemContent, {}, () => [
|
|
206
|
+
h(VListItemTitle, {}, () => [
|
|
190
207
|
this.genFilteredText(this.getText(item)),
|
|
191
208
|
]),
|
|
192
209
|
])
|
|
@@ -194,10 +211,18 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
194
211
|
hasItem (item: object) {
|
|
195
212
|
return this.parsedItems.indexOf(this.getValue(item)) > -1
|
|
196
213
|
},
|
|
197
|
-
needsTile (slot: VNode[] | undefined) {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
214
|
+
needsTile (slot: VNode[] | undefined): boolean {
|
|
215
|
+
const [vnode] = slot ?? []
|
|
216
|
+
|
|
217
|
+
if (!slot?.length || slot.length !== 1) return true
|
|
218
|
+
|
|
219
|
+
const { type } = vnode ?? {}
|
|
220
|
+
|
|
221
|
+
const isComponent = type && typeof type === 'object'
|
|
222
|
+
|
|
223
|
+
const isVListItem = isComponent && 'name' in type && type.name === 'v-list-item'
|
|
224
|
+
|
|
225
|
+
return !isVListItem
|
|
201
226
|
},
|
|
202
227
|
getDisabled (item: object) {
|
|
203
228
|
return Boolean(getPropertyFromItem(item, this.itemDisabled, false))
|
|
@@ -226,13 +251,14 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
226
251
|
else children.push(this.genTile({ item, index }))
|
|
227
252
|
}
|
|
228
253
|
|
|
229
|
-
children.length || children.push(this.$slots['no-data'] || this.staticNoDataTile)
|
|
254
|
+
children.length || children.push(this.$slots['no-data']?.() || this.staticNoDataTile)
|
|
230
255
|
|
|
231
|
-
this.$slots['prepend-item'] && children.unshift(this.$slots['prepend-item'])
|
|
256
|
+
this.$slots['prepend-item'] && children.unshift(this.$slots['prepend-item']())
|
|
232
257
|
|
|
233
|
-
this.$slots['append-item'] && children.push(this.$slots['append-item'])
|
|
258
|
+
this.$slots['append-item'] && children.push(this.$slots['append-item']())
|
|
234
259
|
|
|
235
260
|
return h(VList, {
|
|
261
|
+
...this.$attrs,
|
|
236
262
|
class: ['v-select-list', this.themeClasses],
|
|
237
263
|
role: 'listbox',
|
|
238
264
|
tabindex: -1,
|