@dimailn/vuetify 2.7.2-alpha25 → 2.7.2-alpha27
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 +1436 -1164
- 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 +1 -0
- package/es5/components/VAlert/VAlert.js.map +1 -1
- package/es5/components/VAppBar/VAppBar.js +17 -6
- 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/VBadge/VBadge.js +1 -0
- package/es5/components/VBadge/VBadge.js.map +1 -1
- package/es5/components/VBanner/VBanner.js +23 -15
- package/es5/components/VBanner/VBanner.js.map +1 -1
- package/es5/components/VBottomNavigation/VBottomNavigation.js +8 -7
- package/es5/components/VBottomNavigation/VBottomNavigation.js.map +1 -1
- package/es5/components/VBreadcrumbs/VBreadcrumbs.js +18 -6
- package/es5/components/VBreadcrumbs/VBreadcrumbs.js.map +1 -1
- package/es5/components/VBtn/VBtn.js +6 -2
- 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 +20 -13
- 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 +0 -3
- package/es5/components/VCheckbox/VSimpleCheckbox.js.map +1 -1
- package/es5/components/VChip/VChip.js +14 -6
- package/es5/components/VChip/VChip.js.map +1 -1
- package/es5/components/VData/VData.js +1 -0
- package/es5/components/VData/VData.js.map +1 -1
- package/es5/components/VDataIterator/VDataFooter.js +6 -1
- package/es5/components/VDataIterator/VDataFooter.js.map +1 -1
- package/es5/components/VDataIterator/VDataIterator.js +1 -0
- package/es5/components/VDataIterator/VDataIterator.js.map +1 -1
- package/es5/components/VDataTable/VDataTable.js +22 -13
- package/es5/components/VDataTable/VDataTable.js.map +1 -1
- package/es5/components/VDataTable/VDataTableHeader.js +2 -6
- package/es5/components/VDataTable/VDataTableHeader.js.map +1 -1
- package/es5/components/VDataTable/VDataTableHeaderDesktop.js +1 -0
- package/es5/components/VDataTable/VDataTableHeaderDesktop.js.map +1 -1
- package/es5/components/VDataTable/VDataTableHeaderMobile.js +1 -0
- package/es5/components/VDataTable/VDataTableHeaderMobile.js.map +1 -1
- package/es5/components/VDataTable/VEditDialog.js +23 -18
- package/es5/components/VDataTable/VEditDialog.js.map +1 -1
- package/es5/components/VDataTable/mixins/header.js +5 -7
- package/es5/components/VDataTable/mixins/header.js.map +1 -1
- package/es5/components/VDatePicker/VDatePicker.js +13 -18
- package/es5/components/VDatePicker/VDatePicker.js.map +1 -1
- package/es5/components/VDatePicker/VDatePickerHeader.js +50 -22
- 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 +16 -7
- package/es5/components/VDatePicker/VDatePickerTitle.js.map +1 -1
- package/es5/components/VDatePicker/VDatePickerYears.js +11 -12
- package/es5/components/VDatePicker/VDatePickerYears.js.map +1 -1
- package/es5/components/VDatePicker/mixins/date-picker-table.js +21 -16
- 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 +17 -12
- 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 +11 -9
- package/es5/components/VExpansionPanel/VExpansionPanelContent.js.map +1 -1
- package/es5/components/VExpansionPanel/VExpansionPanelHeader.js +16 -19
- package/es5/components/VExpansionPanel/VExpansionPanelHeader.js.map +1 -1
- package/es5/components/VFileInput/VFileInput.js +1 -0
- package/es5/components/VFileInput/VFileInput.js.map +1 -1
- package/es5/components/VForm/VForm.js +1 -0
- package/es5/components/VForm/VForm.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 +9 -7
- package/es5/components/VImg/VImg.js.map +1 -1
- package/es5/components/VInput/VInput.js +11 -4
- package/es5/components/VInput/VInput.js.map +1 -1
- package/es5/components/VItemGroup/VItem.js +2 -1
- 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/VListGroup.js +30 -20
- package/es5/components/VList/VListGroup.js.map +1 -1
- package/es5/components/VList/VListItem.js +31 -13
- 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 +1 -0
- package/es5/components/VMenu/VMenu.js.map +1 -1
- package/es5/components/VMessages/VMessages.js +5 -1
- package/es5/components/VMessages/VMessages.js.map +1 -1
- package/es5/components/VNavigationDrawer/VNavigationDrawer.js +1 -7
- package/es5/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
- package/es5/components/VOtpInput/VOtpInput.js +1 -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 +1 -0
- package/es5/components/VOverlay/VOverlay.js.map +1 -1
- package/es5/components/VPagination/VPagination.js +4 -4
- 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 +1 -10
- package/es5/components/VProgressCircular/VProgressCircular.js.map +1 -1
- package/es5/components/VProgressLinear/VProgressLinear.js +4 -12
- 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/VSelect/VSelect.js +115 -64
- package/es5/components/VSelect/VSelect.js.map +1 -1
- package/es5/components/VSelect/VSelectList.js +30 -26
- 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 +16 -15
- 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 +4 -10
- 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 +3 -1
- package/es5/components/VStepper/VStepperContent.js.map +1 -1
- package/es5/components/VStepper/VStepperStep.js +11 -19
- package/es5/components/VStepper/VStepperStep.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 +17 -6
- package/es5/components/VTabs/VTabs.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 +34 -26
- 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 +1 -3
- package/es5/components/VToolbar/VToolbar.js.map +1 -1
- package/es5/components/VTooltip/VTooltip.js +9 -4
- package/es5/components/VTooltip/VTooltip.js.map +1 -1
- package/es5/components/VTreeview/VTreeviewNode.js +11 -3
- package/es5/components/VTreeview/VTreeviewNode.js.map +1 -1
- package/es5/components/VVirtualScroll/VVirtualScroll.js +0 -3
- package/es5/components/VVirtualScroll/VVirtualScroll.js.map +1 -1
- package/es5/components/VWindow/VWindow.js +0 -3
- package/es5/components/VWindow/VWindow.js.map +1 -1
- package/es5/components/VWindow/VWindowItem.js +1 -5
- 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/framework.js +1 -1
- package/es5/mixins/detachable/index.js +9 -5
- package/es5/mixins/detachable/index.js.map +1 -1
- package/es5/mixins/picker/index.js +13 -3
- package/es5/mixins/picker/index.js.map +1 -1
- package/lib/components/VAlert/VAlert.js +1 -0
- package/lib/components/VAlert/VAlert.js.map +1 -1
- package/lib/components/VAppBar/VAppBar.js +17 -6
- 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/VBadge/VBadge.js +1 -0
- package/lib/components/VBadge/VBadge.js.map +1 -1
- package/lib/components/VBanner/VBanner.js +9 -13
- package/lib/components/VBanner/VBanner.js.map +1 -1
- package/lib/components/VBottomNavigation/VBottomNavigation.js +8 -7
- package/lib/components/VBottomNavigation/VBottomNavigation.js.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbs.js +2 -2
- package/lib/components/VBreadcrumbs/VBreadcrumbs.js.map +1 -1
- package/lib/components/VBtn/VBtn.js +4 -2
- 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 +15 -14
- 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 +0 -3
- package/lib/components/VCheckbox/VSimpleCheckbox.js.map +1 -1
- package/lib/components/VChip/VChip.js +14 -6
- package/lib/components/VChip/VChip.js.map +1 -1
- package/lib/components/VData/VData.js +1 -0
- package/lib/components/VData/VData.js.map +1 -1
- package/lib/components/VDataIterator/VDataFooter.js +2 -1
- package/lib/components/VDataIterator/VDataFooter.js.map +1 -1
- package/lib/components/VDataIterator/VDataIterator.js +1 -0
- package/lib/components/VDataIterator/VDataIterator.js.map +1 -1
- package/lib/components/VDataTable/VDataTable.js +7 -12
- package/lib/components/VDataTable/VDataTable.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeader.js +3 -6
- package/lib/components/VDataTable/VDataTableHeader.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaderDesktop.js +1 -0
- package/lib/components/VDataTable/VDataTableHeaderDesktop.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaderMobile.js +1 -0
- package/lib/components/VDataTable/VDataTableHeaderMobile.js.map +1 -1
- package/lib/components/VDataTable/VEditDialog.js +16 -15
- package/lib/components/VDataTable/VEditDialog.js.map +1 -1
- package/lib/components/VDataTable/mixins/header.js +1 -6
- package/lib/components/VDataTable/mixins/header.js.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.js +11 -16
- package/lib/components/VDatePicker/VDatePicker.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerHeader.js +33 -20
- 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 +6 -5
- package/lib/components/VDatePicker/VDatePickerTitle.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerYears.js +8 -9
- package/lib/components/VDatePicker/VDatePickerYears.js.map +1 -1
- package/lib/components/VDatePicker/mixins/date-picker-table.js +18 -14
- 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 +3 -2
- 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 +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelContent.js.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelHeader.js +3 -6
- package/lib/components/VExpansionPanel/VExpansionPanelHeader.js.map +1 -1
- package/lib/components/VFileInput/VFileInput.js +1 -0
- package/lib/components/VFileInput/VFileInput.js.map +1 -1
- package/lib/components/VForm/VForm.js +1 -0
- package/lib/components/VForm/VForm.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 +4 -8
- package/lib/components/VImg/VImg.js.map +1 -1
- package/lib/components/VInput/VInput.js +3 -2
- package/lib/components/VInput/VInput.js.map +1 -1
- package/lib/components/VItemGroup/VItem.js +2 -1
- 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/VListGroup.js +8 -10
- package/lib/components/VList/VListGroup.js.map +1 -1
- package/lib/components/VList/VListItem.js +28 -15
- 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 +1 -0
- package/lib/components/VMenu/VMenu.js.map +1 -1
- package/lib/components/VMessages/VMessages.js +1 -1
- package/lib/components/VMessages/VMessages.js.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.js +1 -6
- package/lib/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.js +2 -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 +1 -0
- package/lib/components/VOverlay/VOverlay.js.map +1 -1
- package/lib/components/VPagination/VPagination.js +2 -4
- 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 +1 -4
- package/lib/components/VProgressCircular/VProgressCircular.js.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.js +4 -6
- 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/VSelect/VSelect.js +66 -21
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VSelect/VSelectList.js +15 -17
- 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 +1 -4
- 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 +3 -9
- 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 +1 -1
- package/lib/components/VStepper/VStepperContent.js.map +1 -1
- package/lib/components/VStepper/VStepperStep.js +7 -18
- package/lib/components/VStepper/VStepperStep.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 +16 -6
- package/lib/components/VTabs/VTabs.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 +7 -16
- 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 +1 -3
- package/lib/components/VToolbar/VToolbar.js.map +1 -1
- package/lib/components/VTooltip/VTooltip.js +2 -3
- package/lib/components/VTooltip/VTooltip.js.map +1 -1
- package/lib/components/VTreeview/VTreeviewNode.js +3 -3
- package/lib/components/VTreeview/VTreeviewNode.js.map +1 -1
- package/lib/components/VVirtualScroll/VVirtualScroll.js +0 -3
- package/lib/components/VVirtualScroll/VVirtualScroll.js.map +1 -1
- package/lib/components/VWindow/VWindow.js +0 -3
- package/lib/components/VWindow/VWindow.js.map +1 -1
- package/lib/components/VWindow/VWindowItem.js +2 -6
- 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/framework.js +1 -1
- package/lib/mixins/detachable/index.js +9 -5
- package/lib/mixins/detachable/index.js.map +1 -1
- package/lib/mixins/picker/index.js +5 -3
- package/lib/mixins/picker/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/VAlert/VAlert.ts +2 -0
- package/src/components/VAppBar/VAppBar.ts +12 -3
- package/src/components/VAppBar/VAppBarNavIcon.ts +1 -1
- package/src/components/VBadge/VBadge.ts +1 -1
- package/src/components/VBanner/VBanner.ts +17 -17
- package/src/components/VBottomNavigation/VBottomNavigation.ts +10 -8
- package/src/components/VBreadcrumbs/VBreadcrumbs.ts +2 -2
- package/src/components/VBtn/VBtn.ts +8 -2
- 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/VCarousel/VCarousel.ts +16 -12
- package/src/components/VCarousel/VCarouselItem.ts +1 -1
- package/src/components/VCheckbox/VCheckbox.ts +20 -2
- package/src/components/VCheckbox/VSimpleCheckbox.ts +0 -3
- package/src/components/VChip/VChip.ts +16 -13
- package/src/components/VData/VData.ts +2 -0
- package/src/components/VDataIterator/VDataFooter.ts +3 -1
- package/src/components/VDataIterator/VDataIterator.ts +2 -0
- package/src/components/VDataTable/VDataTable.ts +7 -9
- package/src/components/VDataTable/VDataTableHeader.ts +2 -4
- package/src/components/VDataTable/VDataTableHeaderDesktop.ts +5 -0
- package/src/components/VDataTable/VDataTableHeaderMobile.ts +2 -0
- package/src/components/VDataTable/VEditDialog.ts +20 -18
- package/src/components/VDataTable/mixins/header.ts +1 -5
- package/src/components/VDatePicker/VDatePicker.ts +13 -18
- package/src/components/VDatePicker/VDatePickerHeader.ts +44 -32
- package/src/components/VDatePicker/VDatePickerMonthTable.ts +1 -1
- package/src/components/VDatePicker/VDatePickerTitle.ts +9 -7
- package/src/components/VDatePicker/VDatePickerYears.ts +6 -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 +19 -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 +9 -7
- package/src/components/VExpansionPanel/VExpansionPanel.ts +5 -0
- package/src/components/VExpansionPanel/VExpansionPanelContent.ts +1 -1
- package/src/components/VExpansionPanel/VExpansionPanelHeader.ts +2 -3
- package/src/components/VFileInput/VFileInput.ts +2 -0
- package/src/components/VForm/VForm.ts +2 -0
- package/src/components/VHover/VHover.ts +2 -0
- package/src/components/VImg/VImg.ts +4 -3
- package/src/components/VInput/VInput.ts +4 -2
- package/src/components/VItemGroup/VItem.ts +4 -0
- package/src/components/VItemGroup/VItemGroup.ts +7 -1
- package/src/components/VLazy/VLazy.ts +11 -13
- package/src/components/VList/VListGroup.ts +12 -13
- package/src/components/VList/VListItem.ts +36 -19
- package/src/components/VList/VListItemAction.ts +11 -10
- package/src/components/VMenu/VMenu.ts +3 -1
- package/src/components/VMessages/VMessages.ts +1 -1
- package/src/components/VNavigationDrawer/VNavigationDrawer.ts +2 -5
- package/src/components/VOtpInput/VOtpInput.ts +2 -3
- package/src/components/VOverflowBtn/VOverflowBtn.ts +3 -1
- package/src/components/VOverlay/VOverlay.ts +2 -0
- package/src/components/VPagination/VPagination.ts +3 -2
- package/src/components/VPicker/VPicker.ts +9 -11
- package/src/components/VPicker/__tests__/VPicker.spec.ts +14 -15
- package/src/components/VProgressCircular/VProgressCircular.ts +0 -1
- package/src/components/VProgressLinear/VProgressLinear.ts +14 -13
- package/src/components/VRadioGroup/VRadio.ts +4 -2
- package/src/components/VSelect/VSelect.ts +61 -21
- package/src/components/VSelect/VSelectList.ts +16 -12
- package/src/components/VSlideGroup/VSlideGroup.ts +5 -7
- package/src/components/VSlideGroup/VSlideItem.ts +2 -0
- package/src/components/VSlider/VSlider.ts +1 -4
- package/src/components/VSnackbar/VSnackbar.ts +1 -1
- package/src/components/VSparkline/VSparkline.ts +54 -92
- package/src/components/VSpeedDial/VSpeedDial.ts +6 -8
- package/src/components/VStepper/VStepper.ts +3 -1
- package/src/components/VStepper/VStepperContent.ts +1 -1
- package/src/components/VStepper/VStepperStep.ts +8 -15
- package/src/components/VSwitch/VSwitch.ts +5 -6
- package/src/components/VTabs/VTab.ts +2 -0
- package/src/components/VTabs/VTabs.ts +18 -12
- package/src/components/VTabs/VTabsItems.ts +2 -0
- package/src/components/VTextField/VTextField.ts +10 -13
- 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 +160 -40
- package/src/components/VToolbar/VToolbar.ts +1 -1
- package/src/components/VTooltip/VTooltip.ts +2 -2
- package/src/components/VTreeview/VTreeviewNode.ts +3 -3
- package/src/components/VVirtualScroll/VVirtualScroll.ts +0 -1
- package/src/components/VWindow/VWindow.ts +0 -1
- package/src/components/VWindow/VWindowItem.ts +2 -3
- package/src/components/transitions/createTransition.ts +2 -2
- package/src/mixins/detachable/index.ts +11 -5
- package/src/mixins/picker/index.ts +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {h, Transition, vShow, withDirectives} from 'vue'
|
|
1
|
+
import { h, Transition, vShow, withDirectives } from 'vue'
|
|
2
2
|
// Styles
|
|
3
3
|
import './VMenu.sass'
|
|
4
4
|
|
|
@@ -84,6 +84,8 @@ export default baseMixins.extend({
|
|
|
84
84
|
},
|
|
85
85
|
},
|
|
86
86
|
|
|
87
|
+
emits: ['keydown'],
|
|
88
|
+
|
|
87
89
|
data () {
|
|
88
90
|
return {
|
|
89
91
|
calculatedTopAuto: 0,
|
|
@@ -30,7 +30,7 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
30
30
|
class: 'v-messages__wrapper',
|
|
31
31
|
name: 'message-transition',
|
|
32
32
|
tag: 'div',
|
|
33
|
-
}, this.value.map(this.genMessage))
|
|
33
|
+
}, () => this.value.map(this.genMessage))
|
|
34
34
|
},
|
|
35
35
|
genMessage (message: string, key: number) {
|
|
36
36
|
return h('div', {
|
|
@@ -50,11 +50,6 @@ const baseMixins = mixins(
|
|
|
50
50
|
export default baseMixins.extend({
|
|
51
51
|
name: 'v-navigation-drawer',
|
|
52
52
|
|
|
53
|
-
directives: {
|
|
54
|
-
ClickOutside,
|
|
55
|
-
Resize,
|
|
56
|
-
Touch,
|
|
57
|
-
},
|
|
58
53
|
|
|
59
54
|
provide (): object {
|
|
60
55
|
return {
|
|
@@ -96,6 +91,8 @@ export default baseMixins.extend({
|
|
|
96
91
|
modelValue: null as unknown as PropType<any>,
|
|
97
92
|
},
|
|
98
93
|
|
|
94
|
+
emits: ['update:modelValue', 'transitionend', 'update:mini-variant'],
|
|
95
|
+
|
|
99
96
|
data: () => ({
|
|
100
97
|
isMouseover: false,
|
|
101
98
|
touchArea: {
|
|
@@ -31,9 +31,6 @@ interface options extends InstanceType<typeof baseMixins> {
|
|
|
31
31
|
export default baseMixins.extend({
|
|
32
32
|
name: 'v-otp-input',
|
|
33
33
|
|
|
34
|
-
directives: {
|
|
35
|
-
ripple,
|
|
36
|
-
},
|
|
37
34
|
|
|
38
35
|
inheritAttrs: false,
|
|
39
36
|
|
|
@@ -49,6 +46,8 @@ export default baseMixins.extend({
|
|
|
49
46
|
plain: Boolean,
|
|
50
47
|
},
|
|
51
48
|
|
|
49
|
+
emits: ['blur', 'focus', 'change', 'keydown', 'finish'],
|
|
50
|
+
|
|
52
51
|
data: () => ({
|
|
53
52
|
initialValue: null,
|
|
54
53
|
isBooted: false,
|
|
@@ -24,6 +24,8 @@ export default defineComponent({
|
|
|
24
24
|
segmented: Boolean,
|
|
25
25
|
},
|
|
26
26
|
|
|
27
|
+
emits: ['change'],
|
|
28
|
+
|
|
27
29
|
computed: {
|
|
28
30
|
classes (): object {
|
|
29
31
|
return {
|
|
@@ -99,7 +101,7 @@ export default defineComponent({
|
|
|
99
101
|
itemObj.callback(e)
|
|
100
102
|
},
|
|
101
103
|
},
|
|
102
|
-
}, [itemObj.text])
|
|
104
|
+
}, () => [itemObj.text])
|
|
103
105
|
},
|
|
104
106
|
updateValue (val: boolean) {
|
|
105
107
|
if (val) {
|
|
@@ -25,7 +25,6 @@ export default mixins(
|
|
|
25
25
|
).extend({
|
|
26
26
|
name: 'v-pagination',
|
|
27
27
|
|
|
28
|
-
directives: { Resize },
|
|
29
28
|
|
|
30
29
|
props: {
|
|
31
30
|
circle: Boolean,
|
|
@@ -72,6 +71,8 @@ export default mixins(
|
|
|
72
71
|
},
|
|
73
72
|
},
|
|
74
73
|
|
|
74
|
+
emits: ['update:modelValue', 'next', 'previous'],
|
|
75
|
+
|
|
75
76
|
data () {
|
|
76
77
|
return {
|
|
77
78
|
maxButtons: 0,
|
|
@@ -197,7 +198,7 @@ export default mixins(
|
|
|
197
198
|
'aria-label': label,
|
|
198
199
|
...(disabled ? {} : { onClick: fn }),
|
|
199
200
|
}),
|
|
200
|
-
[h(VIcon, { color: this.navigationTextColor }, [icon])]
|
|
201
|
+
[h(VIcon, { color: this.navigationTextColor }, () => [icon])]
|
|
201
202
|
),
|
|
202
203
|
])
|
|
203
204
|
},
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {h, Transition} from 'vue'
|
|
1
|
+
import { h, Transition, defineComponent } from 'vue'
|
|
2
|
+
import type { VNode } from 'vue'
|
|
2
3
|
import './VPicker.sass'
|
|
3
4
|
import '../VCard/VCard.sass'
|
|
4
5
|
|
|
@@ -10,17 +11,14 @@ import Themeable from '../../mixins/themeable'
|
|
|
10
11
|
// Helpers
|
|
11
12
|
import { convertToUnit, getSlot } from '../../util/helpers'
|
|
12
13
|
|
|
13
|
-
// Types
|
|
14
|
-
import { VNode } from 'vue/types'
|
|
15
|
-
import mixins from '../../util/mixins'
|
|
16
|
-
|
|
17
14
|
/* @vue/component */
|
|
18
|
-
export default
|
|
19
|
-
Colorable,
|
|
20
|
-
Elevatable,
|
|
21
|
-
Themeable
|
|
22
|
-
).extend({
|
|
15
|
+
export default defineComponent({
|
|
23
16
|
name: 'v-picker',
|
|
17
|
+
mixins: [
|
|
18
|
+
Colorable,
|
|
19
|
+
Elevatable,
|
|
20
|
+
Themeable,
|
|
21
|
+
],
|
|
24
22
|
|
|
25
23
|
props: {
|
|
26
24
|
flat: Boolean,
|
|
@@ -55,7 +53,7 @@ export default mixins(
|
|
|
55
53
|
genBodyTransition () {
|
|
56
54
|
return h(Transition, {
|
|
57
55
|
name: this.transition,
|
|
58
|
-
}, getSlot(this))
|
|
56
|
+
}, () => getSlot(this))
|
|
59
57
|
},
|
|
60
58
|
genBody () {
|
|
61
59
|
return h('div', {
|
|
@@ -4,13 +4,12 @@ import VPicker from '../VPicker'
|
|
|
4
4
|
// Utilities
|
|
5
5
|
import {
|
|
6
6
|
mount,
|
|
7
|
-
|
|
7
|
+
VueWrapper,
|
|
8
8
|
} from '@vue/test-utils'
|
|
9
|
-
import { compileToFunctions } from 'vue-template-compiler'
|
|
10
9
|
|
|
11
10
|
describe('VPicker.ts', () => {
|
|
12
11
|
type Instance = InstanceType<typeof VPicker>
|
|
13
|
-
let mountFunction: (options?: object) =>
|
|
12
|
+
let mountFunction: (options?: object) => VueWrapper<Instance>
|
|
14
13
|
|
|
15
14
|
beforeEach(() => {
|
|
16
15
|
mountFunction = (options = {}) => {
|
|
@@ -23,7 +22,7 @@ describe('VPicker.ts', () => {
|
|
|
23
22
|
it('should render component without title and match snapshot', () => {
|
|
24
23
|
const wrapper = mountFunction({
|
|
25
24
|
slots: {
|
|
26
|
-
default:
|
|
25
|
+
default: '<span>default</span>',
|
|
27
26
|
},
|
|
28
27
|
})
|
|
29
28
|
|
|
@@ -33,8 +32,8 @@ describe('VPicker.ts', () => {
|
|
|
33
32
|
it('should render component with title and match snapshot', () => {
|
|
34
33
|
const wrapper = mountFunction({
|
|
35
34
|
slots: {
|
|
36
|
-
default:
|
|
37
|
-
title:
|
|
35
|
+
default: '<span>default</span>',
|
|
36
|
+
title: '<span>title</span>',
|
|
38
37
|
},
|
|
39
38
|
})
|
|
40
39
|
|
|
@@ -44,8 +43,8 @@ describe('VPicker.ts', () => {
|
|
|
44
43
|
it('should render flat component and match snapshot', () => {
|
|
45
44
|
const wrapper = mountFunction({
|
|
46
45
|
slots: {
|
|
47
|
-
default:
|
|
48
|
-
title:
|
|
46
|
+
default: '<span>default</span>',
|
|
47
|
+
title: '<span>title</span>',
|
|
49
48
|
},
|
|
50
49
|
props: {
|
|
51
50
|
flat: true,
|
|
@@ -58,8 +57,8 @@ describe('VPicker.ts', () => {
|
|
|
58
57
|
it('should render component with elevation and match snapshot', () => {
|
|
59
58
|
const wrapper = mountFunction({
|
|
60
59
|
slots: {
|
|
61
|
-
default:
|
|
62
|
-
title:
|
|
60
|
+
default: '<span>default</span>',
|
|
61
|
+
title: '<span>title</span>',
|
|
63
62
|
},
|
|
64
63
|
props: {
|
|
65
64
|
elevation: 15,
|
|
@@ -71,12 +70,12 @@ describe('VPicker.ts', () => {
|
|
|
71
70
|
|
|
72
71
|
it('should render dark component and match snapshot', () => {
|
|
73
72
|
const wrapper = mountFunction({
|
|
74
|
-
|
|
73
|
+
props: {
|
|
75
74
|
dark: true,
|
|
76
75
|
},
|
|
77
76
|
slots: {
|
|
78
|
-
default:
|
|
79
|
-
title:
|
|
77
|
+
default: '<span>default</span>',
|
|
78
|
+
title: '<span>title</span>',
|
|
80
79
|
},
|
|
81
80
|
})
|
|
82
81
|
|
|
@@ -85,11 +84,11 @@ describe('VPicker.ts', () => {
|
|
|
85
84
|
|
|
86
85
|
it('should render colored component', () => {
|
|
87
86
|
const wrapper = mountFunction({
|
|
88
|
-
|
|
87
|
+
props: {
|
|
89
88
|
color: 'orange lighten-1',
|
|
90
89
|
},
|
|
91
90
|
slots: {
|
|
92
|
-
title:
|
|
91
|
+
title: '<span>title</span>',
|
|
93
92
|
},
|
|
94
93
|
})
|
|
95
94
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {h, withDirectives} from 'vue'
|
|
1
|
+
import { h, withDirectives } from 'vue'
|
|
2
2
|
import './VProgressLinear.sass'
|
|
3
3
|
|
|
4
4
|
// Components
|
|
@@ -34,7 +34,6 @@ const baseMixins = mixins(
|
|
|
34
34
|
export default baseMixins.extend({
|
|
35
35
|
name: 'v-progress-linear',
|
|
36
36
|
|
|
37
|
-
directives: { intersect },
|
|
38
37
|
|
|
39
38
|
props: {
|
|
40
39
|
active: {
|
|
@@ -78,6 +77,8 @@ export default baseMixins.extend({
|
|
|
78
77
|
},
|
|
79
78
|
},
|
|
80
79
|
|
|
80
|
+
emits: ['update:modelValue', 'click'],
|
|
81
|
+
|
|
81
82
|
data () {
|
|
82
83
|
return {
|
|
83
84
|
internalLazyValue: this.modelValue || this.value || 0,
|
|
@@ -94,7 +95,7 @@ export default baseMixins.extend({
|
|
|
94
95
|
},
|
|
95
96
|
__cachedBar (): VNode {
|
|
96
97
|
return h(this.computedTransition, {}, {
|
|
97
|
-
default: () => [this.__cachedBarType]
|
|
98
|
+
default: () => [this.__cachedBarType],
|
|
98
99
|
})
|
|
99
100
|
},
|
|
100
101
|
__cachedBarType (): VNode {
|
|
@@ -119,8 +120,8 @@ export default baseMixins.extend({
|
|
|
119
120
|
class: ['v-progress-linear__indeterminate',
|
|
120
121
|
{
|
|
121
122
|
'v-progress-linear__indeterminate--active': this.active,
|
|
122
|
-
}
|
|
123
|
-
]
|
|
123
|
+
},
|
|
124
|
+
],
|
|
124
125
|
}, [
|
|
125
126
|
this.genProgressBar('long'),
|
|
126
127
|
this.genProgressBar('short'),
|
|
@@ -206,14 +207,14 @@ export default baseMixins.extend({
|
|
|
206
207
|
if (!slot) return null
|
|
207
208
|
|
|
208
209
|
return h(
|
|
209
|
-
|
|
210
|
+
'div',
|
|
210
211
|
{
|
|
211
|
-
class:
|
|
212
|
+
class: 'v-progress-linear__content',
|
|
212
213
|
},
|
|
213
214
|
{
|
|
214
|
-
default: () => slot
|
|
215
|
+
default: () => slot,
|
|
215
216
|
}
|
|
216
|
-
)
|
|
217
|
+
)
|
|
217
218
|
},
|
|
218
219
|
genListeners (): any {
|
|
219
220
|
const listeners = this.$listeners
|
|
@@ -229,8 +230,8 @@ export default baseMixins.extend({
|
|
|
229
230
|
class: ['v-progress-linear__indeterminate',
|
|
230
231
|
{
|
|
231
232
|
[name]: true,
|
|
232
|
-
}
|
|
233
|
-
]
|
|
233
|
+
},
|
|
234
|
+
],
|
|
234
235
|
}))
|
|
235
236
|
},
|
|
236
237
|
onClick (e: MouseEvent) {
|
|
@@ -275,8 +276,8 @@ export default baseMixins.extend({
|
|
|
275
276
|
]), [
|
|
276
277
|
[
|
|
277
278
|
Intersect,
|
|
278
|
-
this.onObserve
|
|
279
|
-
]
|
|
279
|
+
this.onObserve,
|
|
280
|
+
],
|
|
280
281
|
])
|
|
281
282
|
},
|
|
282
283
|
})
|
|
@@ -42,6 +42,8 @@ export default baseMixins.extend({
|
|
|
42
42
|
|
|
43
43
|
inheritAttrs: false,
|
|
44
44
|
|
|
45
|
+
emits: ['change', 'focus', 'blur'],
|
|
46
|
+
|
|
45
47
|
props: {
|
|
46
48
|
disabled: {
|
|
47
49
|
type: Boolean,
|
|
@@ -139,7 +141,7 @@ export default baseMixins.extend({
|
|
|
139
141
|
for: this.computedId,
|
|
140
142
|
color: this.validationState,
|
|
141
143
|
focused: this.hasState,
|
|
142
|
-
}, getSlot(this, 'label') || this.label)
|
|
144
|
+
}, () => getSlot(this, 'label') || this.label)
|
|
143
145
|
},
|
|
144
146
|
genRadio () {
|
|
145
147
|
const { title, ...radioAttrs } = this.attrs$
|
|
@@ -149,7 +151,7 @@ export default baseMixins.extend({
|
|
|
149
151
|
}, [
|
|
150
152
|
h(VIcon, this.setTextColor(this.validationState, {
|
|
151
153
|
dense: this.radioGroup && this.radioGroup.dense,
|
|
152
|
-
}), this.computedIcon),
|
|
154
|
+
}), () => this.computedIcon),
|
|
153
155
|
this.genInput({
|
|
154
156
|
name: this.computedName,
|
|
155
157
|
value: this.value,
|
|
@@ -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,
|
|
@@ -113,6 +109,8 @@ export default baseMixins.extend({
|
|
|
113
109
|
smallChips: Boolean,
|
|
114
110
|
},
|
|
115
111
|
|
|
112
|
+
emits: ['update:modelValue', 'change', 'focus', 'blur', 'keydown', 'click', 'update:list-index'],
|
|
113
|
+
|
|
116
114
|
data () {
|
|
117
115
|
return {
|
|
118
116
|
cachedItems: this.cacheItems ? this.items : [],
|
|
@@ -129,6 +127,7 @@ export default baseMixins.extend({
|
|
|
129
127
|
selectedItems: [] as any[],
|
|
130
128
|
keyboardLookupPrefix: '',
|
|
131
129
|
keyboardLookupLastTime: 0,
|
|
130
|
+
detectedScopeId: null as string | null,
|
|
132
131
|
}
|
|
133
132
|
},
|
|
134
133
|
|
|
@@ -152,7 +151,7 @@ export default baseMixins.extend({
|
|
|
152
151
|
return this.allItems
|
|
153
152
|
},
|
|
154
153
|
computedOwns (): string {
|
|
155
|
-
return `list-${this
|
|
154
|
+
return `list-${this.$?.uid}`
|
|
156
155
|
},
|
|
157
156
|
computedCounterValue (): number {
|
|
158
157
|
const value = this.multiple
|
|
@@ -190,13 +189,7 @@ export default baseMixins.extend({
|
|
|
190
189
|
return this.selectedItems.length > 0
|
|
191
190
|
},
|
|
192
191
|
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
192
|
return {
|
|
199
|
-
...attrs,
|
|
200
193
|
id: this.computedOwns,
|
|
201
194
|
action: this.multiple,
|
|
202
195
|
color: this.itemColor,
|
|
@@ -211,12 +204,27 @@ export default baseMixins.extend({
|
|
|
211
204
|
onSelect: this.selectItem,
|
|
212
205
|
}
|
|
213
206
|
},
|
|
207
|
+
listAttrs (): object {
|
|
208
|
+
const scopeIdAttrs: Record<string, any> = {}
|
|
209
|
+
|
|
210
|
+
// Используем detectedScopeId из mounted hook
|
|
211
|
+
if (this.detectedScopeId) {
|
|
212
|
+
scopeIdAttrs[this.detectedScopeId] = ''
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
// scopeId успешно передается в VSelectList
|
|
216
|
+
|
|
217
|
+
return scopeIdAttrs
|
|
218
|
+
},
|
|
214
219
|
staticList (): VNode {
|
|
215
220
|
if (this.$slots['no-data'] || this.$slots['prepend-item'] || this.$slots['append-item']) {
|
|
216
221
|
consoleError('assert: staticList should not be called if slots are used')
|
|
217
222
|
}
|
|
218
223
|
|
|
219
|
-
return h(VSelectList,
|
|
224
|
+
return h(VSelectList, {
|
|
225
|
+
...this.listData,
|
|
226
|
+
...this.listAttrs,
|
|
227
|
+
}, {
|
|
220
228
|
item: this.$slots.item,
|
|
221
229
|
})
|
|
222
230
|
},
|
|
@@ -248,6 +256,22 @@ export default baseMixins.extend({
|
|
|
248
256
|
},
|
|
249
257
|
},
|
|
250
258
|
|
|
259
|
+
mounted () {
|
|
260
|
+
this.$nextTick(() => {
|
|
261
|
+
if (this.$el && this.$el.attributes) {
|
|
262
|
+
const attrs = this.$el.attributes
|
|
263
|
+
for (let i = 0; i < attrs.length; i++) {
|
|
264
|
+
const attr = attrs[i]
|
|
265
|
+
if (attr.name.startsWith('data-v-')) {
|
|
266
|
+
this.detectedScopeId = attr.name
|
|
267
|
+
// scopeId найден и сохранен для использования в dropdown
|
|
268
|
+
break
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
})
|
|
273
|
+
},
|
|
274
|
+
|
|
251
275
|
watch: {
|
|
252
276
|
internalValue (val) {
|
|
253
277
|
this.initialValue = val
|
|
@@ -368,7 +392,7 @@ export default baseMixins.extend({
|
|
|
368
392
|
tabindex: -1,
|
|
369
393
|
close: this.deletableChips && isInteractive,
|
|
370
394
|
disabled: isDisabled,
|
|
371
|
-
|
|
395
|
+
modelValue: index === this.selectedIndex,
|
|
372
396
|
small: this.smallChips,
|
|
373
397
|
onClick: (e: MouseEvent) => {
|
|
374
398
|
if (!isInteractive) return
|
|
@@ -379,7 +403,7 @@ export default baseMixins.extend({
|
|
|
379
403
|
},
|
|
380
404
|
'onClick:close': () => this.onChipInput(item),
|
|
381
405
|
key: JSON.stringify(this.getValue(item)),
|
|
382
|
-
}, this.getText(item))
|
|
406
|
+
}, () => this.getText(item))
|
|
383
407
|
},
|
|
384
408
|
genCommaSelection (item: object, index: number, last: boolean) {
|
|
385
409
|
const color = index === this.selectedIndex && this.computedColor
|
|
@@ -435,9 +459,10 @@ export default baseMixins.extend({
|
|
|
435
459
|
|
|
436
460
|
if (type === 'append') {
|
|
437
461
|
// Don't allow the dropdown icon to be focused
|
|
438
|
-
const
|
|
439
|
-
|
|
440
|
-
|
|
462
|
+
const iconChild = icon.children![0]
|
|
463
|
+
const hasListeners = Object.keys(iconChild.props || {}).some(key => key.startsWith('on'))
|
|
464
|
+
iconChild.props = mergeData(iconChild.props || {}, {
|
|
465
|
+
tabindex: hasListeners ? '-1' : undefined,
|
|
441
466
|
'aria-hidden': 'true',
|
|
442
467
|
'aria-label': undefined
|
|
443
468
|
})
|
|
@@ -466,10 +491,23 @@ export default baseMixins.extend({
|
|
|
466
491
|
return input
|
|
467
492
|
},
|
|
468
493
|
genHiddenInput (): VNode {
|
|
494
|
+
let value = this.lazyValue
|
|
495
|
+
|
|
496
|
+
if (this.multiple && Array.isArray(value)) {
|
|
497
|
+
value = value.map(item => {
|
|
498
|
+
if (typeof item === 'object' && item !== null) {
|
|
499
|
+
return this.getValue(item)
|
|
500
|
+
}
|
|
501
|
+
return item
|
|
502
|
+
}).join(',')
|
|
503
|
+
} else if (typeof value === 'object' && value !== null) {
|
|
504
|
+
value = this.getValue(value)
|
|
505
|
+
}
|
|
506
|
+
|
|
469
507
|
return h('input', {
|
|
470
|
-
value:
|
|
508
|
+
value: value,
|
|
471
509
|
type: 'hidden',
|
|
472
|
-
name: this.
|
|
510
|
+
name: this.$attrs.name
|
|
473
511
|
})
|
|
474
512
|
},
|
|
475
513
|
genInputSlot (): VNode {
|
|
@@ -506,7 +544,8 @@ export default baseMixins.extend({
|
|
|
506
544
|
// as a referenced object
|
|
507
545
|
return h(VSelectList, {
|
|
508
546
|
...this.listData,
|
|
509
|
-
|
|
547
|
+
...this.listAttrs,
|
|
548
|
+
}, {...slots, item: this.$slots.item})
|
|
510
549
|
},
|
|
511
550
|
genMenu (): VNode {
|
|
512
551
|
const props = this.$_menuProps as any
|
|
@@ -535,7 +574,7 @@ export default baseMixins.extend({
|
|
|
535
574
|
},
|
|
536
575
|
onScroll: this.onScroll,
|
|
537
576
|
ref: 'menu',
|
|
538
|
-
}, [this.genList()])
|
|
577
|
+
}, () => [this.genList()])
|
|
539
578
|
},
|
|
540
579
|
genSelections (): VNode {
|
|
541
580
|
let length = this.selectedItems.length
|
|
@@ -877,6 +916,7 @@ export default baseMixins.extend({
|
|
|
877
916
|
if (!this.valueComparator(value, this.internalValue)) {
|
|
878
917
|
this.internalValue = value
|
|
879
918
|
this.$emit('update:modelValue', value)
|
|
919
|
+
// Note: change event is already emitted by VInput's internalValue setter
|
|
880
920
|
}
|
|
881
921
|
},
|
|
882
922
|
isAppendInner (target: any) {
|
|
@@ -32,10 +32,6 @@ type ListTile = { item: any, disabled?: null | boolean, value?: boolean, index:
|
|
|
32
32
|
export default mixins(Colorable, Themeable).extend({
|
|
33
33
|
name: 'v-select-list',
|
|
34
34
|
|
|
35
|
-
// https://github.com/vuejs/vue/issues/6872
|
|
36
|
-
directives: {
|
|
37
|
-
ripple,
|
|
38
|
-
},
|
|
39
35
|
|
|
40
36
|
props: {
|
|
41
37
|
action: Boolean,
|
|
@@ -87,17 +83,17 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
87
83
|
|
|
88
84
|
methods: {
|
|
89
85
|
genAction (item: object, inputValue: any): VNode {
|
|
90
|
-
return h(VListItemAction, [
|
|
86
|
+
return h(VListItemAction, {}, () => [
|
|
91
87
|
h(VSimpleCheckbox, {
|
|
92
88
|
color: this.color,
|
|
93
89
|
modelValue: inputValue,
|
|
94
90
|
ripple: false,
|
|
95
|
-
onInput: () => this.$emit('select', item)
|
|
91
|
+
onInput: () => this.$emit('select', item),
|
|
96
92
|
}),
|
|
97
93
|
])
|
|
98
94
|
},
|
|
99
95
|
genDivider (props: { [key: string]: any }) {
|
|
100
|
-
return h(VDivider,
|
|
96
|
+
return h(VDivider, props)
|
|
101
97
|
},
|
|
102
98
|
genFilteredText (text: string) {
|
|
103
99
|
text = text || ''
|
|
@@ -109,7 +105,7 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
109
105
|
return [start, this.genHighlight(middle), end]
|
|
110
106
|
},
|
|
111
107
|
genHeader (props: { [key: string]: any }): VNode {
|
|
112
|
-
return h(VSubheader,
|
|
108
|
+
return h(VSubheader, props, props.header)
|
|
113
109
|
},
|
|
114
110
|
genHighlight (text: string) {
|
|
115
111
|
return h('span', { class: 'v-list-item__mask' }, text)
|
|
@@ -157,7 +153,14 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
157
153
|
activeClass: this.tileActiveClass,
|
|
158
154
|
disabled,
|
|
159
155
|
ripple: true,
|
|
160
|
-
|
|
156
|
+
modelValue: value,
|
|
157
|
+
// Передаем scopeId атрибуты от родительского компонента
|
|
158
|
+
...Object.keys(this.$attrs).reduce((acc, key) => {
|
|
159
|
+
if (key.startsWith('data-v-')) {
|
|
160
|
+
acc[key] = this.$attrs[key]
|
|
161
|
+
}
|
|
162
|
+
return acc
|
|
163
|
+
}, {} as Record<string, any>)
|
|
161
164
|
}
|
|
162
165
|
|
|
163
166
|
if (!this.$slots.item) {
|
|
@@ -176,7 +179,7 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
176
179
|
attrs: {
|
|
177
180
|
...tile.attrs,
|
|
178
181
|
...tile.props,
|
|
179
|
-
...tile.on
|
|
182
|
+
...tile.on,
|
|
180
183
|
},
|
|
181
184
|
on: tile.on,
|
|
182
185
|
})
|
|
@@ -186,8 +189,8 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
186
189
|
: scopedSlot
|
|
187
190
|
},
|
|
188
191
|
genTileContent (item: any, index = 0): VNode {
|
|
189
|
-
return h(VListItemContent, [
|
|
190
|
-
h(VListItemTitle, [
|
|
192
|
+
return h(VListItemContent, {}, () => [
|
|
193
|
+
h(VListItemTitle, {}, () => [
|
|
191
194
|
this.genFilteredText(this.getText(item)),
|
|
192
195
|
]),
|
|
193
196
|
])
|
|
@@ -234,6 +237,7 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
234
237
|
this.$slots['append-item'] && children.push(this.$slots['append-item']())
|
|
235
238
|
|
|
236
239
|
return h(VList, {
|
|
240
|
+
...this.$attrs,
|
|
237
241
|
class: ['v-select-list', this.themeClasses],
|
|
238
242
|
role: 'listbox',
|
|
239
243
|
tabindex: -1,
|
|
@@ -107,10 +107,6 @@ export const BaseSlideGroup = mixins<options &
|
|
|
107
107
|
).extend({
|
|
108
108
|
name: 'base-slide-group',
|
|
109
109
|
|
|
110
|
-
directives: {
|
|
111
|
-
Resize,
|
|
112
|
-
Touch,
|
|
113
|
-
},
|
|
114
110
|
|
|
115
111
|
props: {
|
|
116
112
|
activeClass: {
|
|
@@ -139,6 +135,8 @@ export const BaseSlideGroup = mixins<options &
|
|
|
139
135
|
},
|
|
140
136
|
},
|
|
141
137
|
|
|
138
|
+
emits: ['click:prev', 'click:next'],
|
|
139
|
+
|
|
142
140
|
data: () => ({
|
|
143
141
|
isOverflowing: false,
|
|
144
142
|
resizeTimeout: 0,
|
|
@@ -323,9 +321,9 @@ export const BaseSlideGroup = mixins<options &
|
|
|
323
321
|
!hasAffix
|
|
324
322
|
) return null
|
|
325
323
|
|
|
326
|
-
return h(VIcon, {
|
|
324
|
+
return h(VIcon, () => ({
|
|
327
325
|
disabled: !hasAffix,
|
|
328
|
-
}, (this as any)[`${icon}Icon`])
|
|
326
|
+
}, (this as any)[`${icon}Icon`]))
|
|
329
327
|
},
|
|
330
328
|
// Always generate prev for scrollable hint
|
|
331
329
|
genPrev (): VNode | null {
|
|
@@ -342,7 +340,7 @@ export const BaseSlideGroup = mixins<options &
|
|
|
342
340
|
}, [slot])
|
|
343
341
|
},
|
|
344
342
|
genTransition (location: 'prev' | 'next') {
|
|
345
|
-
return h(VFadeTransition, [this.genIcon(location)])
|
|
343
|
+
return h(VFadeTransition, () => [this.genIcon(location)])
|
|
346
344
|
},
|
|
347
345
|
genWrapper (): VNode {
|
|
348
346
|
return withDirectives(h('div', {
|