@dimailn/vuetify 2.7.2-alpha27 → 2.7.2-alpha29
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 +1493 -325
- 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 +38 -9
- package/es5/components/VAlert/VAlert.js.map +1 -1
- package/es5/components/VAutocomplete/VAutocomplete.js +1 -0
- package/es5/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/es5/components/VBadge/VBadge.js +28 -0
- package/es5/components/VBadge/VBadge.js.map +1 -1
- package/es5/components/VBanner/VBanner.js +34 -6
- package/es5/components/VBanner/VBanner.js.map +1 -1
- package/es5/components/VBottomNavigation/VBottomNavigation.js +25 -0
- package/es5/components/VBottomNavigation/VBottomNavigation.js.map +1 -1
- package/es5/components/VCarousel/VCarousel.js +28 -3
- package/es5/components/VCarousel/VCarousel.js.map +1 -1
- package/es5/components/VCheckbox/VSimpleCheckbox.js +30 -2
- package/es5/components/VCheckbox/VSimpleCheckbox.js.map +1 -1
- package/es5/components/VChip/VChip.js +1 -0
- package/es5/components/VChip/VChip.js.map +1 -1
- package/es5/components/VColorPicker/VColorPicker.js +30 -2
- package/es5/components/VColorPicker/VColorPicker.js.map +1 -1
- package/es5/components/VCombobox/VCombobox.js +1 -0
- package/es5/components/VCombobox/VCombobox.js.map +1 -1
- package/es5/components/VDataIterator/VDataFooter.js +16 -7
- package/es5/components/VDataIterator/VDataFooter.js.map +1 -1
- package/es5/components/VDataIterator/VDataIterator.js +42 -47
- 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 +10 -18
- package/es5/components/VDataTable/VDataTable.js.map +1 -1
- package/es5/components/VDataTable/VDataTableHeader.js.map +1 -1
- package/es5/components/VDataTable/VDataTableHeaderDesktop.js +3 -0
- package/es5/components/VDataTable/VDataTableHeaderDesktop.js.map +1 -1
- package/es5/components/VDataTable/VDataTableHeaderMobile.js +28 -37
- package/es5/components/VDataTable/VDataTableHeaderMobile.js.map +1 -1
- package/es5/components/VDataTable/VEditDialog.js +3 -4
- 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 +5 -5
- package/es5/components/VDataTable/VVirtualTable.js.map +1 -1
- package/es5/components/VDataTable/mixins/header.js +1 -1
- package/es5/components/VDataTable/mixins/header.js.map +1 -1
- package/es5/components/VDatePicker/VDatePicker.js +21 -9
- package/es5/components/VDatePicker/VDatePicker.js.map +1 -1
- package/es5/components/VDatePicker/VDatePickerHeader.js +24 -8
- package/es5/components/VDatePicker/VDatePickerHeader.js.map +1 -1
- package/es5/components/VDatePicker/VDatePickerTitle.js +33 -8
- package/es5/components/VDatePicker/VDatePickerTitle.js.map +1 -1
- package/es5/components/VDatePicker/VDatePickerYears.js +38 -13
- package/es5/components/VDatePicker/VDatePickerYears.js.map +1 -1
- package/es5/components/VDatePicker/mixins/date-picker-table.js +33 -17
- package/es5/components/VDatePicker/mixins/date-picker-table.js.map +1 -1
- package/es5/components/VInput/VInput.js +36 -8
- package/es5/components/VInput/VInput.js.map +1 -1
- package/es5/components/VList/VListGroup.js +47 -21
- package/es5/components/VList/VListGroup.js.map +1 -1
- package/es5/components/VList/VListItem.js +33 -6
- package/es5/components/VList/VListItem.js.map +1 -1
- package/es5/components/VMenu/VMenu.js +56 -31
- package/es5/components/VMenu/VMenu.js.map +1 -1
- package/es5/components/VMessages/VMessages.js +30 -7
- package/es5/components/VMessages/VMessages.js.map +1 -1
- package/es5/components/VNavigationDrawer/VNavigationDrawer.js +36 -9
- package/es5/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
- package/es5/components/VOtpInput/VOtpInput.js +36 -0
- package/es5/components/VOtpInput/VOtpInput.js.map +1 -1
- package/es5/components/VOverlay/VOverlay.js +28 -0
- package/es5/components/VOverlay/VOverlay.js.map +1 -1
- package/es5/components/VPagination/VPagination.js +30 -6
- package/es5/components/VPagination/VPagination.js.map +1 -1
- package/es5/components/VProgressLinear/VProgressLinear.js +28 -0
- package/es5/components/VProgressLinear/VProgressLinear.js.map +1 -1
- package/es5/components/VRadioGroup/VRadioGroup.js +28 -0
- package/es5/components/VRadioGroup/VRadioGroup.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 +112 -84
- package/es5/components/VSelect/VSelect.js.map +1 -1
- package/es5/components/VSelect/VSelectList.js +73 -19
- package/es5/components/VSelect/VSelectList.js.map +1 -1
- package/es5/components/VSlider/VSlider.js +42 -16
- package/es5/components/VSlider/VSlider.js.map +1 -1
- package/es5/components/VSpeedDial/VSpeedDial.js +10 -8
- package/es5/components/VSpeedDial/VSpeedDial.js.map +1 -1
- package/es5/components/VTabs/VTabs.js +45 -17
- package/es5/components/VTabs/VTabs.js.map +1 -1
- package/es5/components/VTooltip/VTooltip.js +3 -3
- package/es5/components/VTooltip/VTooltip.js.map +1 -1
- package/es5/components/VTreeview/VTreeview.js +0 -7
- package/es5/components/VTreeview/VTreeview.js.map +1 -1
- package/es5/framework.js +1 -1
- package/es5/mixins/routable/index.js +5 -2
- package/es5/mixins/routable/index.js.map +1 -1
- package/es5/mixins/validatable/index.js +24 -0
- package/es5/mixins/validatable/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 +5 -1
- package/es5/util/helpers.js.map +1 -1
- package/lib/components/VAlert/VAlert.js +12 -7
- package/lib/components/VAlert/VAlert.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.js +1 -0
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/lib/components/VBadge/VBadge.js +11 -0
- package/lib/components/VBadge/VBadge.js.map +1 -1
- package/lib/components/VBanner/VBanner.js +11 -0
- package/lib/components/VBanner/VBanner.js.map +1 -1
- package/lib/components/VBottomNavigation/VBottomNavigation.js +7 -0
- package/lib/components/VBottomNavigation/VBottomNavigation.js.map +1 -1
- package/lib/components/VCarousel/VCarousel.js +7 -0
- package/lib/components/VCarousel/VCarousel.js.map +1 -1
- package/lib/components/VCheckbox/VSimpleCheckbox.js +11 -0
- package/lib/components/VCheckbox/VSimpleCheckbox.js.map +1 -1
- package/lib/components/VChip/VChip.js +1 -0
- package/lib/components/VChip/VChip.js.map +1 -1
- package/lib/components/VColorPicker/VColorPicker.js +12 -1
- package/lib/components/VColorPicker/VColorPicker.js.map +1 -1
- package/lib/components/VCombobox/VCombobox.js +1 -0
- package/lib/components/VCombobox/VCombobox.js.map +1 -1
- package/lib/components/VDataIterator/VDataFooter.js +14 -7
- package/lib/components/VDataIterator/VDataFooter.js.map +1 -1
- package/lib/components/VDataIterator/VDataIterator.js +26 -31
- 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 +8 -15
- package/lib/components/VDataTable/VDataTable.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeader.js +1 -1
- package/lib/components/VDataTable/VDataTableHeader.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaderDesktop.js +3 -0
- package/lib/components/VDataTable/VDataTableHeaderDesktop.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaderMobile.js +17 -25
- package/lib/components/VDataTable/VDataTableHeaderMobile.js.map +1 -1
- package/lib/components/VDataTable/VEditDialog.js +3 -4
- 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 +1 -2
- package/lib/components/VDataTable/VVirtualTable.js.map +1 -1
- package/lib/components/VDataTable/mixins/header.js +1 -1
- package/lib/components/VDataTable/mixins/header.js.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.js +7 -1
- package/lib/components/VDatePicker/VDatePicker.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerHeader.js +12 -1
- package/lib/components/VDatePicker/VDatePickerHeader.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerTitle.js +11 -0
- package/lib/components/VDatePicker/VDatePickerTitle.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerYears.js +11 -1
- package/lib/components/VDatePicker/VDatePickerYears.js.map +1 -1
- package/lib/components/VDatePicker/mixins/date-picker-table.js +12 -1
- package/lib/components/VDatePicker/mixins/date-picker-table.js.map +1 -1
- package/lib/components/VInput/VInput.js +13 -3
- package/lib/components/VInput/VInput.js.map +1 -1
- package/lib/components/VList/VListGroup.js +16 -8
- package/lib/components/VList/VListGroup.js.map +1 -1
- package/lib/components/VList/VListItem.js +12 -3
- package/lib/components/VList/VListItem.js.map +1 -1
- package/lib/components/VMenu/VMenu.js +15 -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 +11 -2
- package/lib/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.js +48 -0
- package/lib/components/VOtpInput/VOtpInput.js.map +1 -1
- package/lib/components/VOverlay/VOverlay.js +11 -0
- package/lib/components/VOverlay/VOverlay.js.map +1 -1
- package/lib/components/VPagination/VPagination.js +11 -0
- package/lib/components/VPagination/VPagination.js.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.js +11 -0
- package/lib/components/VProgressLinear/VProgressLinear.js.map +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.js +11 -0
- package/lib/components/VRadioGroup/VRadioGroup.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 +52 -36
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VSelect/VSelectList.js +32 -8
- package/lib/components/VSelect/VSelectList.js.map +1 -1
- package/lib/components/VSlider/VSlider.js +11 -1
- package/lib/components/VSlider/VSlider.js.map +1 -1
- package/lib/components/VSpeedDial/VSpeedDial.js +7 -7
- package/lib/components/VSpeedDial/VSpeedDial.js.map +1 -1
- package/lib/components/VTabs/VTabs.js +11 -0
- package/lib/components/VTabs/VTabs.js.map +1 -1
- package/lib/components/VTooltip/VTooltip.js +3 -3
- package/lib/components/VTooltip/VTooltip.js.map +1 -1
- package/lib/components/VTreeview/VTreeview.js +0 -6
- package/lib/components/VTreeview/VTreeview.js.map +1 -1
- package/lib/framework.js +1 -1
- package/lib/mixins/routable/index.js +5 -2
- package/lib/mixins/routable/index.js.map +1 -1
- package/lib/mixins/validatable/index.js +7 -1
- package/lib/mixins/validatable/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 +5 -1
- package/lib/util/helpers.js.map +1 -1
- package/package.json +1 -1
- package/src/components/VAlert/VAlert.ts +17 -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/__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 +22 -0
- 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/VBadge/VBadge.ts +13 -0
- package/src/components/VBanner/VBanner.ts +13 -0
- 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 +10 -0
- package/src/components/VBtn/__tests__/VBtn.spec.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 +11 -0
- package/src/components/VCheckbox/VSimpleCheckbox.ts +13 -0
- package/src/components/VCheckbox/__tests__/VCheckbox.spec.ts +157 -152
- package/src/components/VChip/VChip.ts +1 -0
- 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 +13 -0
- package/src/components/VColorPicker/__tests__/__snapshots__/VColorPicker.spec.ts.snap +35 -35
- package/src/components/VColorPicker/__tests__/__snapshots__/VColorPickerEdit.spec.ts.snap +10 -10
- 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/__tests__/VData.spec.ts +69 -90
- package/src/components/VDataIterator/VDataFooter.ts +14 -9
- package/src/components/VDataIterator/VDataIterator.ts +46 -34
- 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 +8 -15
- package/src/components/VDataTable/VDataTableHeader.ts +2 -2
- package/src/components/VDataTable/VDataTableHeaderDesktop.ts +4 -0
- package/src/components/VDataTable/VDataTableHeaderMobile.ts +16 -25
- package/src/components/VDataTable/VEditDialog.ts +3 -3
- package/src/components/VDataTable/VSimpleTable.ts +2 -3
- package/src/components/VDataTable/VVirtualTable.ts +1 -2
- 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 +1 -1
- package/src/components/VDatePicker/VDatePicker.ts +11 -1
- package/src/components/VDatePicker/VDatePickerHeader.ts +13 -0
- package/src/components/VDatePicker/VDatePickerTitle.ts +12 -0
- package/src/components/VDatePicker/VDatePickerYears.ts +13 -0
- package/src/components/VDatePicker/mixins/date-picker-table.ts +13 -0
- 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/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/VIcon/__tests__/VIcon.spec.ts +176 -70
- package/src/components/VImg/__tests__/__snapshots__/VImg.spec.ts.snap +55 -55
- package/src/components/VInput/VInput.ts +18 -5
- 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/__tests__/VLazy.spec.ts +5 -4
- package/src/components/VLazy/__tests__/__snapshots__/VLazy.spec.ts.snap +2 -1
- package/src/components/VList/VListGroup.ts +22 -10
- package/src/components/VList/VListItem.ts +19 -4
- 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 +22 -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 +21 -11
- package/src/components/VOtpInput/VOtpInput.ts +37 -1
- package/src/components/VOverlay/VOverlay.ts +12 -0
- package/src/components/VPagination/VPagination.ts +23 -9
- package/src/components/VParallax/__tests__/__snapshots__/VParallax.spec.ts.snap +8 -8
- package/src/components/VPicker/__tests__/__snapshots__/VPicker.spec.ts.snap +2 -2
- package/src/components/VProgressLinear/VProgressLinear.ts +13 -0
- package/src/components/VRadioGroup/VRadioGroup.ts +14 -0
- 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 +60 -43
- package/src/components/VSelect/VSelectList.ts +33 -12
- 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/VSlider/VSlider.ts +14 -1
- package/src/components/VSparkline/__tests__/VSparkline.spec.ts +33 -35
- package/src/components/VSpeedDial/VSpeedDial.ts +7 -8
- 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/__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/VSwitch/__tests__/VSwitch.spec.ts +30 -37
- package/src/components/VTabs/VTabs.ts +14 -0
- package/src/components/VTabs/__tests__/VTabs.spec.ts +0 -7
- package/src/components/VTextField/__tests__/VTextField.spec.ts +342 -246
- package/src/components/VTextarea/__tests__/VTextarea.spec.ts +112 -35
- package/src/components/VTimePicker/__tests__/__snapshots__/VTimePicker.spec.ts.snap +0 -40
- package/src/components/VToolbar/__tests__/VToolbar.spec.ts +49 -25
- package/src/components/VTooltip/VTooltip.ts +3 -3
- package/src/components/VTooltip/__tests__/__snapshots__/VTooltip.spec.ts.snap +34 -18
- package/src/components/VTreeview/VTreeview.ts +0 -5
- package/src/mixins/routable/index.ts +6 -4
- package/src/mixins/validatable/index.ts +11 -1
- package/src/util/__tests__/console.spec.ts +124 -11
- package/src/util/__tests__/helpers.spec.ts +59 -31
- package/src/util/console.ts +43 -24
- package/src/util/helpers.ts +8 -4
|
@@ -4,19 +4,36 @@ import VMessages from '../VMessages'
|
|
|
4
4
|
// Utilities
|
|
5
5
|
import {
|
|
6
6
|
mount,
|
|
7
|
-
|
|
7
|
+
VueWrapper,
|
|
8
|
+
enableAutoUnmount,
|
|
8
9
|
} from '@vue/test-utils'
|
|
10
|
+
import { h } from 'vue'
|
|
9
11
|
|
|
10
12
|
// Types
|
|
11
|
-
import {
|
|
13
|
+
import type { ComponentPublicInstance } from 'vue'
|
|
12
14
|
|
|
13
15
|
describe('VMessages.ts', () => {
|
|
14
|
-
type Instance =
|
|
15
|
-
let mountFunction: (options?: object) =>
|
|
16
|
+
type Instance = ComponentPublicInstance
|
|
17
|
+
let mountFunction: (options?: object) => VueWrapper<Instance>
|
|
18
|
+
|
|
19
|
+
enableAutoUnmount(afterEach)
|
|
16
20
|
|
|
17
21
|
beforeEach(() => {
|
|
18
22
|
mountFunction = (options = {}) => {
|
|
19
23
|
return mount(VMessages, {
|
|
24
|
+
global: {
|
|
25
|
+
mocks: {
|
|
26
|
+
$vuetify: {
|
|
27
|
+
rtl: false,
|
|
28
|
+
icons: {
|
|
29
|
+
component: null
|
|
30
|
+
},
|
|
31
|
+
lang: {
|
|
32
|
+
t: (val: string) => val,
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
},
|
|
20
37
|
...options,
|
|
21
38
|
})
|
|
22
39
|
}
|
|
@@ -25,28 +42,28 @@ describe('VMessages.ts', () => {
|
|
|
25
42
|
it('should have a default array', () => {
|
|
26
43
|
const wrapper = mountFunction()
|
|
27
44
|
|
|
28
|
-
expect(
|
|
45
|
+
expect(wrapper.exists()).toBe(true)
|
|
46
|
+
expect(wrapper.find('.v-messages').exists()).toBe(true)
|
|
29
47
|
})
|
|
30
48
|
|
|
31
49
|
it('should show messages', async () => {
|
|
32
50
|
const wrapper = mountFunction({
|
|
33
|
-
|
|
34
|
-
|
|
51
|
+
props: {
|
|
52
|
+
modelValue: ['foo', 'bar'],
|
|
35
53
|
},
|
|
36
54
|
})
|
|
37
55
|
|
|
38
56
|
expect(wrapper.html()).toMatchSnapshot()
|
|
39
57
|
|
|
40
|
-
wrapper.setProps({
|
|
41
|
-
await wrapper.vm.$nextTick()
|
|
58
|
+
await wrapper.setProps({ modelValue: [] })
|
|
42
59
|
|
|
43
60
|
expect(wrapper.html()).toMatchSnapshot()
|
|
44
61
|
})
|
|
45
62
|
|
|
46
63
|
it('should allow HTML', () => {
|
|
47
64
|
const wrapper = mountFunction({
|
|
48
|
-
|
|
49
|
-
|
|
65
|
+
props: {
|
|
66
|
+
modelValue: ['<a href="#">a link</a>'],
|
|
50
67
|
},
|
|
51
68
|
})
|
|
52
69
|
expect(wrapper.html()).toMatchSnapshot()
|
|
@@ -55,8 +72,19 @@ describe('VMessages.ts', () => {
|
|
|
55
72
|
// https://github.com/vuetifyjs/vuetify/issues/9491
|
|
56
73
|
it('should not allow HTML', () => {
|
|
57
74
|
const wrapper = mount(VMessages, {
|
|
58
|
-
|
|
59
|
-
|
|
75
|
+
global: {
|
|
76
|
+
mocks: {
|
|
77
|
+
$vuetify: {
|
|
78
|
+
rtl: false,
|
|
79
|
+
icons: {},
|
|
80
|
+
lang: {
|
|
81
|
+
t: (val: string) => val,
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
props: {
|
|
87
|
+
modelValue: ['<a href="#">a link</a>'],
|
|
60
88
|
},
|
|
61
89
|
})
|
|
62
90
|
|
|
@@ -65,9 +93,20 @@ describe('VMessages.ts', () => {
|
|
|
65
93
|
|
|
66
94
|
it('should accept a scoped slot', () => {
|
|
67
95
|
const wrapper = mount(VMessages, {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
96
|
+
global: {
|
|
97
|
+
mocks: {
|
|
98
|
+
$vuetify: {
|
|
99
|
+
rtl: false,
|
|
100
|
+
icons: {},
|
|
101
|
+
lang: {
|
|
102
|
+
t: (val: string) => val,
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
props: { modelValue: ['Foo'] },
|
|
108
|
+
slots: {
|
|
109
|
+
default (props: any) {
|
|
71
110
|
return h('div', props.message)
|
|
72
111
|
},
|
|
73
112
|
},
|
|
@@ -2,67 +2,58 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`VMessages.ts should accept a scoped slot 1`] = `
|
|
4
4
|
<div class="v-messages theme--light">
|
|
5
|
-
<
|
|
6
|
-
tag="div"
|
|
7
|
-
class="v-messages__wrapper"
|
|
8
|
-
>
|
|
5
|
+
<div class="v-messages__wrapper">
|
|
9
6
|
<div class="v-messages__message">
|
|
10
7
|
<div>
|
|
11
8
|
Foo
|
|
12
9
|
</div>
|
|
13
10
|
</div>
|
|
14
|
-
</
|
|
11
|
+
</div>
|
|
15
12
|
</div>
|
|
16
13
|
`;
|
|
17
14
|
|
|
18
15
|
exports[`VMessages.ts should allow HTML 1`] = `
|
|
19
16
|
<div class="v-messages theme--light">
|
|
20
|
-
<
|
|
21
|
-
tag="div"
|
|
22
|
-
class="v-messages__wrapper"
|
|
23
|
-
>
|
|
17
|
+
<div class="v-messages__wrapper">
|
|
24
18
|
<div class="v-messages__message">
|
|
25
19
|
<a href="#">a link</a>
|
|
26
20
|
</div>
|
|
27
|
-
</
|
|
21
|
+
</div>
|
|
28
22
|
</div>
|
|
29
23
|
`;
|
|
30
24
|
|
|
31
25
|
exports[`VMessages.ts should not allow HTML 1`] = `
|
|
32
26
|
<div class="v-messages theme--light">
|
|
33
|
-
<
|
|
34
|
-
tag="div"
|
|
35
|
-
class="v-messages__wrapper"
|
|
36
|
-
>
|
|
27
|
+
<div class="v-messages__wrapper">
|
|
37
28
|
<div class="v-messages__message">
|
|
38
29
|
<a href="#">a link</a>
|
|
39
30
|
</div>
|
|
40
|
-
</
|
|
31
|
+
</div>
|
|
41
32
|
</div>
|
|
42
33
|
`;
|
|
43
34
|
|
|
44
35
|
exports[`VMessages.ts should show messages 1`] = `
|
|
45
36
|
<div class="v-messages theme--light">
|
|
46
|
-
<
|
|
47
|
-
tag="div"
|
|
48
|
-
class="v-messages__wrapper"
|
|
49
|
-
>
|
|
37
|
+
<div class="v-messages__wrapper">
|
|
50
38
|
<div class="v-messages__message">
|
|
51
39
|
foo
|
|
52
40
|
</div>
|
|
53
41
|
<div class="v-messages__message">
|
|
54
42
|
bar
|
|
55
43
|
</div>
|
|
56
|
-
</
|
|
44
|
+
</div>
|
|
57
45
|
</div>
|
|
58
46
|
`;
|
|
59
47
|
|
|
60
48
|
exports[`VMessages.ts should show messages 2`] = `
|
|
61
49
|
<div class="v-messages theme--light">
|
|
62
|
-
<
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
50
|
+
<div class="v-messages__wrapper">
|
|
51
|
+
<div class="v-messages__message message-transition-leave-from message-transition-leave-active">
|
|
52
|
+
foo
|
|
53
|
+
</div>
|
|
54
|
+
<div class="v-messages__message message-transition-leave-from message-transition-leave-active">
|
|
55
|
+
bar
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
67
58
|
</div>
|
|
68
59
|
`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {h, withDirectives} from 'vue'
|
|
1
|
+
import { h, withDirectives } from 'vue'
|
|
2
2
|
// Styles
|
|
3
3
|
import './VNavigationDrawer.sass'
|
|
4
4
|
|
|
@@ -21,6 +21,7 @@ import Touch from '../../directives/touch'
|
|
|
21
21
|
|
|
22
22
|
// Utilities
|
|
23
23
|
import { convertToUnit, getSlot } from '../../util/helpers'
|
|
24
|
+
import { breaking } from '../../util/console'
|
|
24
25
|
import mixins from '../../util/mixins'
|
|
25
26
|
|
|
26
27
|
// Types
|
|
@@ -50,7 +51,6 @@ const baseMixins = mixins(
|
|
|
50
51
|
export default baseMixins.extend({
|
|
51
52
|
name: 'v-navigation-drawer',
|
|
52
53
|
|
|
53
|
-
|
|
54
54
|
provide (): object {
|
|
55
55
|
return {
|
|
56
56
|
isInNav: this.$tag === 'nav',
|
|
@@ -80,7 +80,7 @@ export default baseMixins.extend({
|
|
|
80
80
|
},
|
|
81
81
|
stateless: Boolean,
|
|
82
82
|
tag: {
|
|
83
|
-
type: String
|
|
83
|
+
type: String,
|
|
84
84
|
},
|
|
85
85
|
temporary: Boolean,
|
|
86
86
|
touchless: Boolean,
|
|
@@ -103,10 +103,10 @@ export default baseMixins.extend({
|
|
|
103
103
|
}),
|
|
104
104
|
|
|
105
105
|
computed: {
|
|
106
|
-
$tag() {
|
|
106
|
+
$tag () {
|
|
107
107
|
return this.tag || this.app ? 'nav' : 'aside'
|
|
108
108
|
},
|
|
109
|
-
$height() {
|
|
109
|
+
$height () {
|
|
110
110
|
return this.height || (this.app ? '100vh' : '100%')
|
|
111
111
|
},
|
|
112
112
|
/**
|
|
@@ -286,6 +286,18 @@ export default baseMixins.extend({
|
|
|
286
286
|
},
|
|
287
287
|
},
|
|
288
288
|
|
|
289
|
+
created () {
|
|
290
|
+
const breakingProps = [
|
|
291
|
+
['value', 'modelValue'],
|
|
292
|
+
['onInput', 'onUpdate:modelValue'],
|
|
293
|
+
]
|
|
294
|
+
|
|
295
|
+
/* istanbul ignore next */
|
|
296
|
+
breakingProps.forEach(([original, replacement]) => {
|
|
297
|
+
if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this)
|
|
298
|
+
})
|
|
299
|
+
},
|
|
300
|
+
|
|
289
301
|
beforeMount () {
|
|
290
302
|
this.init()
|
|
291
303
|
},
|
|
@@ -325,14 +337,14 @@ export default baseMixins.extend({
|
|
|
325
337
|
}, [image])
|
|
326
338
|
},
|
|
327
339
|
genDirectives (): VNodeDirective[] {
|
|
328
|
-
|
|
340
|
+
return [
|
|
329
341
|
[
|
|
330
342
|
ClickOutside,
|
|
331
343
|
{
|
|
332
344
|
handler: () => { this.isActive = false },
|
|
333
345
|
closeConditional: this.closeConditional,
|
|
334
346
|
include: this.getOpenDependentElements,
|
|
335
|
-
}
|
|
347
|
+
},
|
|
336
348
|
],
|
|
337
349
|
[
|
|
338
350
|
Touch,
|
|
@@ -340,12 +352,10 @@ export default baseMixins.extend({
|
|
|
340
352
|
parent: true,
|
|
341
353
|
left: this.swipeLeft,
|
|
342
354
|
right: this.swipeRight,
|
|
343
|
-
isDirActive: !this.touchless && !this.stateless
|
|
355
|
+
isDirActive: !this.touchless && !this.stateless,
|
|
344
356
|
},
|
|
345
|
-
]
|
|
357
|
+
],
|
|
346
358
|
]
|
|
347
|
-
|
|
348
|
-
return directives
|
|
349
359
|
},
|
|
350
360
|
genListeners () {
|
|
351
361
|
const on: Record<string, (e: Event) => void> = {
|
|
@@ -55,9 +55,45 @@ export default baseMixins.extend({
|
|
|
55
55
|
}),
|
|
56
56
|
|
|
57
57
|
computed: {
|
|
58
|
-
outlined ():
|
|
58
|
+
outlined (): boolean {
|
|
59
59
|
return !this.plain
|
|
60
60
|
},
|
|
61
|
+
fullWidth (): boolean {
|
|
62
|
+
return false
|
|
63
|
+
},
|
|
64
|
+
prefix (): boolean {
|
|
65
|
+
return false
|
|
66
|
+
},
|
|
67
|
+
isSingle (): boolean {
|
|
68
|
+
return true
|
|
69
|
+
},
|
|
70
|
+
isSolo (): boolean {
|
|
71
|
+
return false
|
|
72
|
+
},
|
|
73
|
+
soloInverted (): boolean {
|
|
74
|
+
return false
|
|
75
|
+
},
|
|
76
|
+
flat (): boolean {
|
|
77
|
+
return false
|
|
78
|
+
},
|
|
79
|
+
filled (): boolean {
|
|
80
|
+
return false
|
|
81
|
+
},
|
|
82
|
+
isEnclosed (): boolean {
|
|
83
|
+
return this.outlined
|
|
84
|
+
},
|
|
85
|
+
reverse (): boolean {
|
|
86
|
+
return false
|
|
87
|
+
},
|
|
88
|
+
placeholder (): string {
|
|
89
|
+
return ''
|
|
90
|
+
},
|
|
91
|
+
rounded (): boolean {
|
|
92
|
+
return false
|
|
93
|
+
},
|
|
94
|
+
shaped (): boolean {
|
|
95
|
+
return false
|
|
96
|
+
},
|
|
61
97
|
classes (): object {
|
|
62
98
|
return {
|
|
63
99
|
...VInput.computed.classes.call(this),
|
|
@@ -10,6 +10,7 @@ import Toggleable from './../../mixins/toggleable'
|
|
|
10
10
|
// Utilities
|
|
11
11
|
import mixins from '../../util/mixins'
|
|
12
12
|
import { getSlot } from '../../util/helpers'
|
|
13
|
+
import { breaking } from '../../util/console'
|
|
13
14
|
|
|
14
15
|
// Types
|
|
15
16
|
import { VNode } from 'vue'
|
|
@@ -75,6 +76,17 @@ export default mixins(
|
|
|
75
76
|
},
|
|
76
77
|
},
|
|
77
78
|
|
|
79
|
+
created () {
|
|
80
|
+
const breakingProps = [
|
|
81
|
+
['value', 'modelValue'],
|
|
82
|
+
]
|
|
83
|
+
|
|
84
|
+
/* istanbul ignore next */
|
|
85
|
+
breakingProps.forEach(([original, replacement]) => {
|
|
86
|
+
if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this)
|
|
87
|
+
})
|
|
88
|
+
},
|
|
89
|
+
|
|
78
90
|
methods: {
|
|
79
91
|
genContent () {
|
|
80
92
|
return h('div', {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {h, withDirectives} from 'vue'
|
|
1
|
+
import { h, withDirectives } from 'vue'
|
|
2
2
|
import './VPagination.sass'
|
|
3
3
|
|
|
4
4
|
import VIcon from '../VIcon'
|
|
@@ -13,9 +13,10 @@ import Themeable from '../../mixins/themeable'
|
|
|
13
13
|
|
|
14
14
|
// Utilities
|
|
15
15
|
import mixins from '../../util/mixins'
|
|
16
|
+
import { breaking } from '../../util/console'
|
|
16
17
|
|
|
17
18
|
// Types
|
|
18
|
-
import { VNode, CreateElement, VNodeChildrenArrayContents } from 'vue'
|
|
19
|
+
import type { VNode, CreateElement, VNodeChildrenArrayContents } from 'vue'
|
|
19
20
|
|
|
20
21
|
/* @vue/component */
|
|
21
22
|
export default mixins(
|
|
@@ -25,7 +26,6 @@ export default mixins(
|
|
|
25
26
|
).extend({
|
|
26
27
|
name: 'v-pagination',
|
|
27
28
|
|
|
28
|
-
|
|
29
29
|
props: {
|
|
30
30
|
circle: Boolean,
|
|
31
31
|
disabled: Boolean,
|
|
@@ -81,7 +81,7 @@ export default mixins(
|
|
|
81
81
|
},
|
|
82
82
|
|
|
83
83
|
computed: {
|
|
84
|
-
value() {
|
|
84
|
+
value () {
|
|
85
85
|
return this.modelValue
|
|
86
86
|
},
|
|
87
87
|
classes (): object {
|
|
@@ -139,6 +139,18 @@ export default mixins(
|
|
|
139
139
|
},
|
|
140
140
|
},
|
|
141
141
|
|
|
142
|
+
created () {
|
|
143
|
+
const breakingProps = [
|
|
144
|
+
['value', 'modelValue'],
|
|
145
|
+
['onInput', 'onUpdate:modelValue'],
|
|
146
|
+
]
|
|
147
|
+
|
|
148
|
+
/* istanbul ignore next */
|
|
149
|
+
breakingProps.forEach(([original, replacement]) => {
|
|
150
|
+
if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this)
|
|
151
|
+
})
|
|
152
|
+
},
|
|
153
|
+
|
|
142
154
|
watch: {
|
|
143
155
|
value () {
|
|
144
156
|
this.init()
|
|
@@ -226,14 +238,14 @@ export default mixins(
|
|
|
226
238
|
},
|
|
227
239
|
genList (h: CreateElement, children: VNodeChildrenArrayContents): VNode {
|
|
228
240
|
return withDirectives(h('ul', {
|
|
229
|
-
class: this.classes
|
|
241
|
+
class: this.classes,
|
|
230
242
|
}, children), [
|
|
231
243
|
[
|
|
232
244
|
Resize,
|
|
233
245
|
this.onResize,
|
|
234
246
|
'',
|
|
235
|
-
{ quiet: true }
|
|
236
|
-
]
|
|
247
|
+
{ quiet: true },
|
|
248
|
+
],
|
|
237
249
|
])
|
|
238
250
|
},
|
|
239
251
|
},
|
|
@@ -244,13 +256,15 @@ export default mixins(
|
|
|
244
256
|
this.$vuetify.rtl ? this.nextIcon : this.prevIcon,
|
|
245
257
|
this.value <= 1,
|
|
246
258
|
this.previous,
|
|
247
|
-
this.$vuetify.lang.t(this.previousAriaLabel)
|
|
259
|
+
this.$vuetify.lang.t(this.previousAriaLabel),
|
|
260
|
+
),
|
|
248
261
|
this.genItems(h),
|
|
249
262
|
this.genIcon(h,
|
|
250
263
|
this.$vuetify.rtl ? this.prevIcon : this.nextIcon,
|
|
251
264
|
this.value >= this.length,
|
|
252
265
|
this.next,
|
|
253
|
-
this.$vuetify.lang.t(this.nextAriaLabel)
|
|
266
|
+
this.$vuetify.lang.t(this.nextAriaLabel),
|
|
267
|
+
),
|
|
254
268
|
]
|
|
255
269
|
|
|
256
270
|
return h('nav', {
|
|
@@ -5,9 +5,9 @@ exports[`VParallax.ts should render 1`] = `
|
|
|
5
5
|
style="height: 500px;"
|
|
6
6
|
>
|
|
7
7
|
<div class="v-parallax__image-container">
|
|
8
|
-
<img
|
|
9
|
-
class="v-parallax__image"
|
|
8
|
+
<img class="v-parallax__image"
|
|
10
9
|
style="display: block; opacity: 0; transform: translate(-50%, 0px);"
|
|
10
|
+
alt
|
|
11
11
|
>
|
|
12
12
|
</div>
|
|
13
13
|
<div class="v-parallax__content">
|
|
@@ -20,9 +20,9 @@ exports[`VParallax.ts should use alt tag when supplied 1`] = `
|
|
|
20
20
|
style="height: 500px;"
|
|
21
21
|
>
|
|
22
22
|
<div class="v-parallax__image-container">
|
|
23
|
-
<img
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
<img class="v-parallax__image"
|
|
24
|
+
style="display: block; opacity: 0; transform: translate(-50%, 0px);"
|
|
25
|
+
alt="name"
|
|
26
26
|
>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="v-parallax__content">
|
|
@@ -35,9 +35,9 @@ exports[`VParallax.ts should use empty alt tag when not supplied 1`] = `
|
|
|
35
35
|
style="height: 500px;"
|
|
36
36
|
>
|
|
37
37
|
<div class="v-parallax__image-container">
|
|
38
|
-
<img
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
<img class="v-parallax__image"
|
|
39
|
+
style="display: block; opacity: 0; transform: translate(-50%, 0px);"
|
|
40
|
+
alt
|
|
41
41
|
>
|
|
42
42
|
</div>
|
|
43
43
|
<div class="v-parallax__content">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`VPicker.ts should render component with elevation and match snapshot 1`] = `
|
|
4
|
-
<div class="v-picker v-card theme--light">
|
|
4
|
+
<div class="v-picker v-card theme--light elevation-15">
|
|
5
5
|
<div class="v-picker__title primary">
|
|
6
6
|
<span>
|
|
7
7
|
title
|
|
@@ -64,7 +64,7 @@ exports[`VPicker.ts should render dark component and match snapshot 1`] = `
|
|
|
64
64
|
`;
|
|
65
65
|
|
|
66
66
|
exports[`VPicker.ts should render flat component and match snapshot 1`] = `
|
|
67
|
-
<div class="v-picker v-card theme--light">
|
|
67
|
+
<div class="v-picker v-card v-picker--flat theme--light">
|
|
68
68
|
<div class="v-picker__title primary">
|
|
69
69
|
<span>
|
|
70
70
|
title
|
|
@@ -19,6 +19,7 @@ import Themeable from '../../mixins/themeable'
|
|
|
19
19
|
// Utilities
|
|
20
20
|
import { convertToUnit, getSlot } from '../../util/helpers'
|
|
21
21
|
import mixins from '../../util/mixins'
|
|
22
|
+
import { breaking } from '../../util/console'
|
|
22
23
|
|
|
23
24
|
// Types
|
|
24
25
|
import { VNode } from 'vue'
|
|
@@ -191,6 +192,18 @@ export default baseMixins.extend({
|
|
|
191
192
|
},
|
|
192
193
|
},
|
|
193
194
|
|
|
195
|
+
created () {
|
|
196
|
+
const breakingProps = [
|
|
197
|
+
['value', 'modelValue'],
|
|
198
|
+
['onChange', 'onUpdate:modelValue'],
|
|
199
|
+
]
|
|
200
|
+
|
|
201
|
+
/* istanbul ignore next */
|
|
202
|
+
breakingProps.forEach(([original, replacement]) => {
|
|
203
|
+
if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this)
|
|
204
|
+
})
|
|
205
|
+
},
|
|
206
|
+
|
|
194
207
|
watch: {
|
|
195
208
|
modelValue (val) {
|
|
196
209
|
this.internalLazyValue = val
|
|
@@ -9,6 +9,7 @@ import { BaseItemGroup } from '../VItemGroup/VItemGroup'
|
|
|
9
9
|
// Utilities
|
|
10
10
|
import { mergeProps, h } from 'vue'
|
|
11
11
|
import mixins from '../../util/mixins'
|
|
12
|
+
import { breaking } from '../../util/console'
|
|
12
13
|
|
|
13
14
|
// Types
|
|
14
15
|
import type { PropType } from 'vue'
|
|
@@ -56,6 +57,19 @@ export default baseMixins.extend({
|
|
|
56
57
|
},
|
|
57
58
|
},
|
|
58
59
|
|
|
60
|
+
created () {
|
|
61
|
+
const breakingProps = [
|
|
62
|
+
['value', 'modelValue'],
|
|
63
|
+
['onInput', 'onUpdate:modelValue'],
|
|
64
|
+
['onChange', 'onUpdate:modelValue'],
|
|
65
|
+
]
|
|
66
|
+
|
|
67
|
+
/* istanbul ignore next */
|
|
68
|
+
breakingProps.forEach(([original, replacement]) => {
|
|
69
|
+
if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this)
|
|
70
|
+
})
|
|
71
|
+
},
|
|
72
|
+
|
|
59
73
|
methods: {
|
|
60
74
|
genDefaultSlot () {
|
|
61
75
|
return h('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">
|