@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
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// Libraries
|
|
2
|
+
import { defineComponent, h } from 'vue'
|
|
3
|
+
|
|
1
4
|
// Components
|
|
2
5
|
import VSelect from '../VSelect'
|
|
3
6
|
|
|
@@ -5,92 +8,100 @@ import VSelect from '../VSelect'
|
|
|
5
8
|
import { keyCodes } from '../../../util/helpers'
|
|
6
9
|
import {
|
|
7
10
|
mount,
|
|
8
|
-
|
|
11
|
+
VueWrapper,
|
|
12
|
+
enableAutoUnmount,
|
|
9
13
|
} from '@vue/test-utils'
|
|
10
14
|
import { waitAnimationFrame } from '../../../../test'
|
|
11
15
|
|
|
16
|
+
const createMountFunction = () => (options = {}) => mount(VSelect, {
|
|
17
|
+
global: {
|
|
18
|
+
mocks: {
|
|
19
|
+
$vuetify: {
|
|
20
|
+
lang: { t: (val: string) => val },
|
|
21
|
+
theme: { dark: false },
|
|
22
|
+
icons: { component: 'mdi' },
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
...options,
|
|
27
|
+
})
|
|
28
|
+
|
|
29
|
+
// eslint-disable-next-line max-statements
|
|
12
30
|
describe('VSelect.ts', () => {
|
|
13
31
|
type Instance = InstanceType<typeof VSelect>
|
|
14
|
-
let mountFunction: (options?: object) =>
|
|
32
|
+
let mountFunction: (options?: object) => VueWrapper<Instance>
|
|
15
33
|
let el
|
|
16
34
|
|
|
17
35
|
beforeEach(() => {
|
|
18
36
|
el = document.createElement('div')
|
|
19
37
|
el.setAttribute('data-app', 'true')
|
|
20
38
|
document.body.appendChild(el)
|
|
21
|
-
mountFunction = (
|
|
22
|
-
return mount(VSelect, {
|
|
23
|
-
// https://github.com/vuejs/vue-test-utils/issues/1130
|
|
24
|
-
sync: false,
|
|
25
|
-
mocks: {
|
|
26
|
-
$vuetify: {
|
|
27
|
-
lang: {
|
|
28
|
-
t: (val: string) => val,
|
|
29
|
-
},
|
|
30
|
-
theme: {
|
|
31
|
-
dark: false,
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
...options,
|
|
36
|
-
})
|
|
37
|
-
}
|
|
39
|
+
mountFunction = createMountFunction()
|
|
38
40
|
})
|
|
39
41
|
|
|
40
42
|
afterEach(() => {
|
|
41
43
|
document.body.removeChild(el)
|
|
42
44
|
})
|
|
43
45
|
|
|
44
|
-
|
|
46
|
+
enableAutoUnmount(afterEach)
|
|
47
|
+
|
|
48
|
+
it('should use slotted prepend-item', async () => {
|
|
45
49
|
const wrapper = mountFunction({
|
|
46
|
-
|
|
50
|
+
props: {
|
|
47
51
|
eager: true,
|
|
52
|
+
attach: false,
|
|
48
53
|
items: ['foo'],
|
|
49
54
|
},
|
|
50
55
|
slots: {
|
|
51
|
-
'prepend-item':
|
|
52
|
-
render: h => h('div', 'foo'),
|
|
53
|
-
}],
|
|
56
|
+
'prepend-item': () => h('div', 'foo'),
|
|
54
57
|
},
|
|
55
58
|
})
|
|
56
59
|
|
|
57
|
-
|
|
60
|
+
// Активируем меню через клик на слот
|
|
61
|
+
const slot = wrapper.find('.v-input__slot')
|
|
62
|
+
slot.trigger('click')
|
|
63
|
+
await wrapper.vm.$nextTick()
|
|
64
|
+
|
|
65
|
+
// Список рендерится в document.body через Teleport/Portal
|
|
66
|
+
const bodyList = document.querySelector('.v-list')
|
|
58
67
|
|
|
59
68
|
expect(wrapper.vm.$slots['prepend-item']).toBeTruthy()
|
|
60
|
-
expect(
|
|
69
|
+
expect(bodyList).toBeTruthy()
|
|
70
|
+
expect(bodyList.outerHTML).toMatchSnapshot()
|
|
61
71
|
})
|
|
62
72
|
|
|
63
|
-
it('should use slotted append-item', () => {
|
|
73
|
+
it('should use slotted append-item', async () => {
|
|
64
74
|
const wrapper = mountFunction({
|
|
65
|
-
|
|
75
|
+
props: {
|
|
66
76
|
eager: true,
|
|
67
77
|
items: ['foo'],
|
|
68
78
|
},
|
|
69
79
|
slots: {
|
|
70
|
-
'append-item':
|
|
71
|
-
render: h => h('div', 'foo'),
|
|
72
|
-
}],
|
|
80
|
+
'append-item': () => h('div', 'foo'),
|
|
73
81
|
},
|
|
74
82
|
})
|
|
75
83
|
|
|
76
|
-
|
|
84
|
+
// Активируем меню через клик на слот
|
|
85
|
+
const slot = wrapper.find('.v-input__slot')
|
|
86
|
+
slot.trigger('click')
|
|
87
|
+
await wrapper.vm.$nextTick()
|
|
88
|
+
|
|
89
|
+
const bodyList = document.querySelector('.v-list')
|
|
77
90
|
|
|
78
91
|
expect(wrapper.vm.$slots['append-item']).toBeTruthy()
|
|
79
|
-
expect(
|
|
92
|
+
expect(bodyList).toBeTruthy()
|
|
93
|
+
expect(bodyList.outerHTML).toMatchSnapshot()
|
|
80
94
|
})
|
|
81
95
|
|
|
82
96
|
it('should use scoped slot for selection generation', () => {
|
|
83
97
|
const wrapper = mountFunction({
|
|
84
|
-
render (
|
|
98
|
+
render () {
|
|
85
99
|
return h(VSelect, {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
selection: ({ item }) => {
|
|
92
|
-
return h('div', item + ' - from slot')
|
|
93
|
-
},
|
|
100
|
+
items: ['foo', 'bar'],
|
|
101
|
+
modelValue: 'foo',
|
|
102
|
+
}, {
|
|
103
|
+
selection: ({ item }) => {
|
|
104
|
+
return h('div', item + ' - from slot')
|
|
94
105
|
},
|
|
95
106
|
})
|
|
96
107
|
},
|
|
@@ -101,7 +112,7 @@ describe('VSelect.ts', () => {
|
|
|
101
112
|
|
|
102
113
|
it('should toggle menu on icon click', async () => {
|
|
103
114
|
const wrapper = mountFunction({
|
|
104
|
-
|
|
115
|
+
props: {
|
|
105
116
|
items: ['foo', 'bar'],
|
|
106
117
|
'menu-props': {
|
|
107
118
|
offsetY: true,
|
|
@@ -136,9 +147,9 @@ describe('VSelect.ts', () => {
|
|
|
136
147
|
// https://github.com/vuejs/vue-test-utils/issues/1130
|
|
137
148
|
it.skip('should calculate the counter value', async () => {
|
|
138
149
|
const wrapper = mountFunction({
|
|
139
|
-
|
|
150
|
+
props: {
|
|
140
151
|
items: ['foo'],
|
|
141
|
-
|
|
152
|
+
modelValue: 'foo',
|
|
142
153
|
},
|
|
143
154
|
})
|
|
144
155
|
|
|
@@ -156,7 +167,7 @@ describe('VSelect.ts', () => {
|
|
|
156
167
|
wrapper.setProps({
|
|
157
168
|
items: ['foo', 'bar', 'baz'],
|
|
158
169
|
multiple: true,
|
|
159
|
-
|
|
170
|
+
modelValue: ['foo', 'bar'],
|
|
160
171
|
})
|
|
161
172
|
await wrapper.vm.$nextTick()
|
|
162
173
|
expect(wrapper.vm.computedCounterValue).toBe(2)
|
|
@@ -164,25 +175,25 @@ describe('VSelect.ts', () => {
|
|
|
164
175
|
|
|
165
176
|
it('should return the correct counter value', async () => {
|
|
166
177
|
const wrapper = mountFunction({
|
|
167
|
-
|
|
178
|
+
props: {
|
|
168
179
|
items: ['foo', 'bar'],
|
|
169
|
-
|
|
180
|
+
modelValue: 'foo',
|
|
170
181
|
},
|
|
171
182
|
})
|
|
172
183
|
|
|
173
184
|
expect(wrapper.vm.computedCounterValue).toBe(3)
|
|
174
185
|
|
|
175
|
-
wrapper.setProps({
|
|
186
|
+
await wrapper.setProps({
|
|
176
187
|
multiple: true,
|
|
177
|
-
|
|
188
|
+
modelValue: ['foo'],
|
|
178
189
|
})
|
|
179
190
|
|
|
180
191
|
expect(wrapper.vm.computedCounterValue).toBe(1)
|
|
181
192
|
|
|
182
|
-
wrapper.setProps({
|
|
193
|
+
await wrapper.setProps({
|
|
183
194
|
counterValue: (value?: string): number => 2,
|
|
184
195
|
multiple: false,
|
|
185
|
-
|
|
196
|
+
modelValue: undefined,
|
|
186
197
|
})
|
|
187
198
|
|
|
188
199
|
expect(wrapper.vm.computedCounterValue).toBe(2)
|
|
@@ -190,16 +201,13 @@ describe('VSelect.ts', () => {
|
|
|
190
201
|
|
|
191
202
|
it('should emit a single change event', async () => {
|
|
192
203
|
const wrapper = mountFunction({
|
|
193
|
-
|
|
194
|
-
|
|
204
|
+
attachTo: el,
|
|
205
|
+
props: {
|
|
195
206
|
attach: true,
|
|
196
207
|
items: ['foo', 'bar'],
|
|
197
208
|
},
|
|
198
209
|
})
|
|
199
210
|
|
|
200
|
-
const change = jest.fn()
|
|
201
|
-
wrapper.vm.$on('change', change)
|
|
202
|
-
|
|
203
211
|
const menu = wrapper.find('.v-input__slot')
|
|
204
212
|
|
|
205
213
|
menu.trigger('click')
|
|
@@ -211,26 +219,26 @@ describe('VSelect.ts', () => {
|
|
|
211
219
|
wrapper.vm.blur()
|
|
212
220
|
await wrapper.vm.$nextTick()
|
|
213
221
|
|
|
214
|
-
|
|
222
|
+
const emitted = wrapper.emitted('change')
|
|
223
|
+
expect(emitted).toBeTruthy()
|
|
224
|
+
expect(emitted[0]).toEqual(['foo'])
|
|
215
225
|
})
|
|
216
226
|
|
|
217
227
|
it('should not emit change event when clicked on the selected item', async () => {
|
|
218
228
|
const wrapper = mountFunction({
|
|
219
|
-
|
|
229
|
+
props: {
|
|
220
230
|
items: ['foo', 'bar'],
|
|
221
231
|
},
|
|
222
232
|
})
|
|
223
233
|
|
|
224
|
-
const change = jest.fn()
|
|
225
|
-
wrapper.vm.$on('change', change)
|
|
226
|
-
|
|
227
234
|
wrapper.vm.selectItem('foo')
|
|
228
235
|
await wrapper.vm.$nextTick()
|
|
229
236
|
|
|
230
237
|
wrapper.vm.selectItem('foo')
|
|
231
238
|
await wrapper.vm.$nextTick()
|
|
232
239
|
|
|
233
|
-
|
|
240
|
+
const emitted = wrapper.emitted('change')
|
|
241
|
+
expect(emitted).toHaveLength(1)
|
|
234
242
|
})
|
|
235
243
|
|
|
236
244
|
// https://github.com/vuetifyjs/vuetify/issues/13658
|
|
@@ -239,27 +247,29 @@ describe('VSelect.ts', () => {
|
|
|
239
247
|
const itemA = { text: 'A', value: { foo: null } }
|
|
240
248
|
const itemB = { text: 'B', value: { foo: '' } }
|
|
241
249
|
const wrapper = mountFunction({
|
|
242
|
-
|
|
250
|
+
props: {
|
|
243
251
|
items: [itemA, itemB],
|
|
244
|
-
|
|
252
|
+
modelValue: { foo: null },
|
|
245
253
|
},
|
|
246
254
|
})
|
|
247
|
-
|
|
255
|
+
// События теперь тестируются через emitted
|
|
248
256
|
|
|
249
257
|
wrapper.vm.selectItem(itemA)
|
|
250
258
|
await wrapper.vm.$nextTick()
|
|
251
|
-
|
|
259
|
+
let emitted = wrapper.emitted('update:modelValue')
|
|
260
|
+
expect(emitted).toBeFalsy()
|
|
252
261
|
|
|
253
262
|
wrapper.vm.selectItem(itemB)
|
|
254
263
|
await wrapper.vm.$nextTick()
|
|
255
|
-
|
|
264
|
+
emitted = wrapper.emitted('update:modelValue')
|
|
265
|
+
expect(emitted).toHaveLength(1)
|
|
256
266
|
})
|
|
257
267
|
|
|
258
268
|
// Inspired by https://github.com/vuetifyjs/vuetify/pull/1425 - Thanks @kevmo314
|
|
259
269
|
it('should open the select when focused and enter, space are pressed', async () => {
|
|
260
270
|
const wrapper = mountFunction({
|
|
261
|
-
|
|
262
|
-
|
|
271
|
+
attachTo: el,
|
|
272
|
+
props: {
|
|
263
273
|
items: ['foo', 'bar'],
|
|
264
274
|
},
|
|
265
275
|
})
|
|
@@ -280,8 +290,8 @@ describe('VSelect.ts', () => {
|
|
|
280
290
|
|
|
281
291
|
it('should not open the select when readonly and focused and enter, space, up or down are pressed', async () => {
|
|
282
292
|
const wrapper = mountFunction({
|
|
283
|
-
|
|
284
|
-
|
|
293
|
+
attachTo: el,
|
|
294
|
+
props: {
|
|
285
295
|
items: ['foo', 'bar'],
|
|
286
296
|
readonly: true,
|
|
287
297
|
menuProps: 'eager',
|
|
@@ -303,19 +313,16 @@ describe('VSelect.ts', () => {
|
|
|
303
313
|
|
|
304
314
|
it('should clear input value', async () => {
|
|
305
315
|
const wrapper = mountFunction({
|
|
306
|
-
|
|
307
|
-
|
|
316
|
+
attachTo: el,
|
|
317
|
+
props: {
|
|
308
318
|
clearable: true,
|
|
309
319
|
items: ['foo', 'bar'],
|
|
310
|
-
|
|
320
|
+
modelValue: 'foo',
|
|
311
321
|
},
|
|
312
322
|
})
|
|
313
323
|
|
|
314
324
|
const clear = wrapper.find('.v-icon')
|
|
315
325
|
|
|
316
|
-
const input = jest.fn()
|
|
317
|
-
wrapper.vm.$on('input', input)
|
|
318
|
-
|
|
319
326
|
await wrapper.vm.$nextTick()
|
|
320
327
|
expect(wrapper.vm.internalValue).toBe('foo')
|
|
321
328
|
clear.trigger('click')
|
|
@@ -323,16 +330,18 @@ describe('VSelect.ts', () => {
|
|
|
323
330
|
await wrapper.vm.$nextTick()
|
|
324
331
|
|
|
325
332
|
expect(wrapper.vm.internalValue).toBeNull()
|
|
326
|
-
|
|
333
|
+
const emitted = wrapper.emitted('update:modelValue')
|
|
334
|
+
expect(emitted).toBeTruthy()
|
|
335
|
+
expect(emitted[0]).toEqual([null])
|
|
327
336
|
})
|
|
328
337
|
|
|
329
338
|
it('should be clearable with prop, dirty and single select', async () => {
|
|
330
339
|
const wrapper = mountFunction({
|
|
331
|
-
|
|
332
|
-
|
|
340
|
+
attachTo: el,
|
|
341
|
+
props: {
|
|
333
342
|
clearable: true,
|
|
334
343
|
items: [1, 2],
|
|
335
|
-
|
|
344
|
+
modelValue: 1,
|
|
336
345
|
},
|
|
337
346
|
})
|
|
338
347
|
|
|
@@ -350,26 +359,26 @@ describe('VSelect.ts', () => {
|
|
|
350
359
|
|
|
351
360
|
it('should be clearable with prop, dirty and multi select', async () => {
|
|
352
361
|
const wrapper = mountFunction({
|
|
353
|
-
|
|
354
|
-
|
|
362
|
+
attachTo: el,
|
|
363
|
+
props: {
|
|
355
364
|
clearable: true,
|
|
356
365
|
items: [1, 2],
|
|
357
366
|
multiple: true,
|
|
358
|
-
|
|
367
|
+
modelValue: [1],
|
|
359
368
|
},
|
|
360
369
|
})
|
|
361
370
|
|
|
362
371
|
const clear = wrapper.find('.v-icon')
|
|
363
372
|
|
|
364
|
-
const change = jest.fn()
|
|
365
|
-
wrapper.vm.$on('change', change)
|
|
366
|
-
|
|
367
373
|
await wrapper.vm.$nextTick()
|
|
368
374
|
expect(wrapper.html()).toMatchSnapshot()
|
|
369
375
|
|
|
370
376
|
clear.trigger('click')
|
|
371
377
|
await wrapper.vm.$nextTick()
|
|
372
|
-
|
|
378
|
+
|
|
379
|
+
const emitted = wrapper.emitted('change')
|
|
380
|
+
expect(emitted).toBeTruthy()
|
|
381
|
+
expect(emitted[0]).toEqual([[]])
|
|
373
382
|
expect(wrapper.vm.isMenuActive).toBe(false)
|
|
374
383
|
})
|
|
375
384
|
|
|
@@ -377,24 +386,24 @@ describe('VSelect.ts', () => {
|
|
|
377
386
|
const items = ['foo', 'bar', 'baz']
|
|
378
387
|
|
|
379
388
|
const wrapper = mountFunction({
|
|
380
|
-
|
|
389
|
+
props: {
|
|
381
390
|
items,
|
|
382
|
-
|
|
391
|
+
modelValue: 'foo',
|
|
383
392
|
},
|
|
384
393
|
})
|
|
385
394
|
|
|
386
395
|
const wrapper2 = mountFunction({
|
|
387
|
-
|
|
396
|
+
props: {
|
|
388
397
|
items,
|
|
389
398
|
multiple: true,
|
|
390
|
-
|
|
399
|
+
modelValue: ['foo', 'bar'],
|
|
391
400
|
},
|
|
392
401
|
})
|
|
393
402
|
|
|
394
403
|
const wrapper3 = mountFunction({
|
|
395
|
-
|
|
404
|
+
props: {
|
|
396
405
|
items,
|
|
397
|
-
|
|
406
|
+
modelValue: null,
|
|
398
407
|
},
|
|
399
408
|
})
|
|
400
409
|
|
|
@@ -406,14 +415,14 @@ describe('VSelect.ts', () => {
|
|
|
406
415
|
// #1704
|
|
407
416
|
it('should populate select when using value as an object', async () => {
|
|
408
417
|
const wrapper = mountFunction({
|
|
409
|
-
|
|
410
|
-
|
|
418
|
+
attachTo: el,
|
|
419
|
+
props: {
|
|
411
420
|
items: [
|
|
412
421
|
{ text: 'foo', value: { id: 1 } },
|
|
413
422
|
{ text: 'foo', value: { id: 2 } },
|
|
414
423
|
],
|
|
415
424
|
multiple: true,
|
|
416
|
-
|
|
425
|
+
modelValue: [{ id: 1 }],
|
|
417
426
|
},
|
|
418
427
|
})
|
|
419
428
|
|
|
@@ -427,33 +436,42 @@ describe('VSelect.ts', () => {
|
|
|
427
436
|
// Discovered when working on #1704
|
|
428
437
|
it('should remove item when re-selecting it', async () => {
|
|
429
438
|
const wrapper = mountFunction({
|
|
430
|
-
|
|
431
|
-
|
|
439
|
+
attachTo: el,
|
|
440
|
+
props: {
|
|
432
441
|
eager: true,
|
|
433
442
|
items: [
|
|
434
443
|
{ text: 'bar', value: { id: 1 } },
|
|
435
444
|
{ text: 'foo', value: { id: 2 } },
|
|
436
445
|
],
|
|
437
446
|
multiple: true,
|
|
438
|
-
|
|
447
|
+
modelValue: [{ id: 1 }],
|
|
439
448
|
},
|
|
440
449
|
})
|
|
441
450
|
|
|
442
451
|
expect(wrapper.vm.selectedItems).toHaveLength(1)
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
452
|
+
|
|
453
|
+
// Активируем меню через клик на слот
|
|
454
|
+
const slot = wrapper.find('.v-input__slot')
|
|
455
|
+
slot.trigger('click')
|
|
456
|
+
await wrapper.vm.$nextTick()
|
|
457
|
+
|
|
458
|
+
// Элементы рендерятся в document.body через Teleport/Portal
|
|
459
|
+
// Для multiple select кликаем на первый элемент списка (который уже выбран)
|
|
460
|
+
const listItem = document.querySelector('.v-list-item')
|
|
461
|
+
expect(listItem).toBeTruthy()
|
|
462
|
+
|
|
463
|
+
listItem.click()
|
|
446
464
|
await wrapper.vm.$nextTick()
|
|
447
465
|
expect(wrapper.vm.selectedItems).toHaveLength(0)
|
|
448
466
|
})
|
|
449
467
|
|
|
450
468
|
it('should open menu when cleared with open-on-clear', async () => {
|
|
451
469
|
const wrapper = mountFunction({
|
|
452
|
-
|
|
470
|
+
props: {
|
|
453
471
|
clearable: true,
|
|
454
472
|
openOnClear: true,
|
|
455
473
|
items: [1],
|
|
456
|
-
|
|
474
|
+
modelValue: 1,
|
|
457
475
|
},
|
|
458
476
|
})
|
|
459
477
|
|
|
@@ -469,13 +487,10 @@ describe('VSelect.ts', () => {
|
|
|
469
487
|
/* eslint-disable-next-line max-statements */
|
|
470
488
|
it('should react to different key down', async () => {
|
|
471
489
|
const wrapper = mountFunction({
|
|
472
|
-
|
|
490
|
+
props: {
|
|
473
491
|
items: [1, 2, 3, 4],
|
|
474
492
|
},
|
|
475
493
|
})
|
|
476
|
-
const blur = jest.fn()
|
|
477
|
-
wrapper.vm.$on('blur', blur)
|
|
478
|
-
|
|
479
494
|
const event = new Event('keydown')
|
|
480
495
|
event.keyCode = keyCodes.tab
|
|
481
496
|
|
|
@@ -484,7 +499,8 @@ describe('VSelect.ts', () => {
|
|
|
484
499
|
|
|
485
500
|
await waitAnimationFrame()
|
|
486
501
|
|
|
487
|
-
|
|
502
|
+
const emitted = wrapper.emitted('blur')
|
|
503
|
+
expect(emitted).toBeTruthy()
|
|
488
504
|
expect(wrapper.vm.isMenuActive).toBe(false)
|
|
489
505
|
|
|
490
506
|
// Enter and Space
|