@vuetify/nightly 3.0.0-alpha.3 → 3.0.0-beta.2
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/CHANGELOG.md +41 -98
- package/dist/json/attributes.json +5378 -0
- package/dist/json/importMap.json +585 -0
- package/dist/json/tags.json +1933 -0
- package/dist/json/web-types.json +18314 -0
- package/dist/vuetify.css +12154 -8451
- package/dist/vuetify.d.ts +15974 -0
- package/dist/vuetify.esm.js +17658 -0
- package/dist/vuetify.esm.js.map +1 -0
- package/dist/vuetify.js +16972 -9378
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +6 -3
- package/dist/vuetify.min.js +1466 -5252
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.css +214 -0
- package/lib/components/VAlert/VAlert.mjs +157 -206
- package/lib/components/VAlert/VAlert.mjs.map +1 -1
- package/lib/components/VAlert/VAlert.sass +106 -159
- package/lib/components/VAlert/VAlertTitle.mjs +4 -0
- package/lib/components/VAlert/VAlertTitle.mjs.map +1 -0
- package/lib/components/VAlert/_variables.scss +50 -14
- package/lib/components/VAlert/index.mjs +2 -3
- package/lib/components/VAlert/index.mjs.map +1 -1
- package/lib/components/VApp/VApp.css +29 -0
- package/lib/components/VApp/VApp.mjs +36 -22
- package/lib/components/VApp/VApp.mjs.map +1 -1
- package/lib/components/VApp/VApp.sass +1 -4
- package/lib/components/VApp/index.mjs +1 -1
- package/lib/components/VApp/index.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBar.css +10 -0
- package/lib/components/VAppBar/VAppBar.mjs +63 -227
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBar.sass +8 -54
- package/lib/components/VAppBar/VAppBarNavIcon.mjs +24 -25
- package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBarTitle.mjs +15 -62
- package/lib/components/VAppBar/VAppBarTitle.mjs.map +1 -1
- package/lib/components/VAppBar/_variables.scss +39 -4
- package/lib/components/VAppBar/index.mjs +3 -11
- package/lib/components/VAppBar/index.mjs.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.css +57 -0
- package/lib/components/VAutocomplete/VAutocomplete.mjs +240 -357
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.sass +69 -33
- package/lib/components/VAutocomplete/_variables.scss +7 -4
- package/lib/components/VAutocomplete/index.mjs +1 -3
- package/lib/components/VAutocomplete/index.mjs.map +1 -1
- package/lib/components/VAvatar/VAvatar.css +43 -0
- package/lib/components/VAvatar/VAvatar.mjs +49 -27
- package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
- package/lib/components/VAvatar/VAvatar.sass +9 -13
- package/lib/components/VAvatar/_mixins.scss +32 -0
- package/lib/components/VAvatar/_variables.scss +19 -8
- package/lib/components/VAvatar/index.mjs +1 -1
- package/lib/components/VAvatar/index.mjs.map +1 -1
- package/lib/components/VBadge/VBadge.css +74 -0
- package/lib/components/VBadge/VBadge.mjs +51 -35
- package/lib/components/VBadge/VBadge.mjs.map +1 -1
- package/lib/components/VBadge/VBadge.sass +5 -5
- package/lib/components/VBadge/_variables.scss +11 -3
- package/lib/components/VBadge/index.mjs +1 -1
- package/lib/components/VBadge/index.mjs.map +1 -1
- package/lib/components/VBanner/VBanner.css +157 -0
- package/lib/components/VBanner/VBanner.mjs +75 -46
- package/lib/components/VBanner/VBanner.mjs.map +1 -1
- package/lib/components/VBanner/VBanner.sass +80 -122
- package/lib/components/VBanner/VBannerActions.mjs +35 -0
- package/lib/components/VBanner/VBannerActions.mjs.map +1 -0
- package/lib/components/VBanner/VBannerAvatar.mjs +20 -0
- package/lib/components/VBanner/VBannerAvatar.mjs.map +1 -0
- package/lib/components/VBanner/VBannerIcon.mjs +20 -0
- package/lib/components/VBanner/VBannerIcon.mjs.map +1 -0
- package/lib/components/VBanner/VBannerText.mjs +3 -0
- package/lib/components/VBanner/VBannerText.mjs.map +1 -0
- package/lib/components/VBanner/_variables.scss +37 -45
- package/lib/components/VBanner/index.mjs +5 -1
- package/lib/components/VBanner/index.mjs.map +1 -1
- package/lib/components/VBottomNavigation/VBottomNavigation.css +61 -0
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs +104 -111
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
- package/lib/components/VBottomNavigation/VBottomNavigation.sass +48 -74
- package/lib/components/VBottomNavigation/_variables.scss +42 -6
- package/lib/components/VBottomNavigation/index.mjs +1 -3
- package/lib/components/VBottomNavigation/index.mjs.map +1 -1
- package/lib/components/VBottomSheet/VBottomSheet.mjs +1 -1
- package/lib/components/VBottomSheet/VBottomSheet.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbs.css +48 -0
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +81 -51
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbs.sass +26 -30
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs +2 -5
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +56 -35
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/_variables.scss +15 -7
- package/lib/components/VBreadcrumbs/index.mjs +3 -11
- package/lib/components/VBreadcrumbs/index.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/shared.mjs +2 -0
- package/lib/components/VBreadcrumbs/shared.mjs.map +1 -0
- package/lib/components/VBtn/VBtn.css +319 -0
- package/lib/components/VBtn/VBtn.mjs +103 -67
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.sass +101 -34
- package/lib/components/VBtn/_mixins.scss +31 -7
- package/lib/components/VBtn/_variables.scss +66 -29
- package/lib/components/VBtn/index.mjs +1 -1
- package/lib/components/VBtn/index.mjs.map +1 -1
- package/lib/components/VBtnGroup/VBtnGroup.css +57 -0
- package/lib/components/VBtnGroup/VBtnGroup.mjs +67 -0
- package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -0
- package/lib/components/VBtnGroup/VBtnGroup.sass +52 -0
- package/lib/components/VBtnGroup/_variables.scss +25 -0
- package/lib/components/VBtnGroup/index.mjs +2 -0
- package/lib/components/VBtnGroup/index.mjs.map +1 -0
- package/lib/components/VBtnToggle/VBtnToggle.css +3 -0
- package/lib/components/VBtnToggle/VBtnToggle.mjs +45 -39
- package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
- package/lib/components/VBtnToggle/VBtnToggle.sass +5 -95
- package/lib/components/VBtnToggle/_variables.scss +3 -10
- package/lib/components/VBtnToggle/index.mjs +1 -3
- package/lib/components/VBtnToggle/index.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendar.mjs +15 -6
- package/lib/components/VCalendar/VCalendar.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendarCategory.mjs +5 -4
- package/lib/components/VCalendar/VCalendarCategory.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendarCategory.sass +67 -0
- package/lib/components/VCalendar/VCalendarDaily.mjs +1 -1
- package/lib/components/VCalendar/VCalendarDaily.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendarMonthly.mjs +1 -1
- package/lib/components/VCalendar/VCalendarMonthly.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendarWeekly.mjs +1 -1
- package/lib/components/VCalendar/VCalendarWeekly.mjs.map +1 -1
- package/lib/components/VCalendar/_variables.scss +4 -0
- package/lib/components/VCalendar/mixins/calendar-base.mjs +5 -4
- package/lib/components/VCalendar/mixins/calendar-base.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/calendar-with-events.mjs +40 -33
- package/lib/components/VCalendar/mixins/calendar-with-events.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/calendar-with-events.sass +7 -1
- package/lib/components/VCalendar/mixins/calendar-with-intervals.mjs +2 -1
- package/lib/components/VCalendar/mixins/calendar-with-intervals.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/mouse.mjs +20 -1
- package/lib/components/VCalendar/mixins/mouse.mjs.map +1 -1
- package/lib/components/VCalendar/modes/common.mjs +7 -3
- package/lib/components/VCalendar/modes/common.mjs.map +1 -1
- package/lib/components/VCalendar/modes/stack.mjs +2 -1
- package/lib/components/VCalendar/modes/stack.mjs.map +1 -1
- package/lib/components/VCalendar/util/events.mjs +8 -3
- package/lib/components/VCalendar/util/events.mjs.map +1 -1
- package/lib/components/VCalendar/util/parser.mjs +1 -3
- package/lib/components/VCalendar/util/parser.mjs.map +1 -1
- package/lib/components/VCalendar/util/timestamp.mjs +24 -12
- package/lib/components/VCalendar/util/timestamp.mjs.map +1 -1
- package/lib/components/VCard/VCard.css +270 -0
- package/lib/components/VCard/VCard.mjs +163 -65
- package/lib/components/VCard/VCard.mjs.map +1 -1
- package/lib/components/VCard/VCard.sass +147 -119
- package/lib/components/VCard/VCardActions.mjs +29 -0
- package/lib/components/VCard/VCardActions.mjs.map +1 -0
- package/lib/components/VCard/VCardAvatar.mjs +3 -0
- package/lib/components/VCard/VCardAvatar.mjs.map +1 -0
- package/lib/components/VCard/VCardContent.mjs +3 -0
- package/lib/components/VCard/VCardContent.mjs.map +1 -0
- package/lib/components/VCard/VCardHeader.mjs +3 -0
- package/lib/components/VCard/VCardHeader.mjs.map +1 -0
- package/lib/components/VCard/VCardHeaderText.mjs +3 -0
- package/lib/components/VCard/VCardHeaderText.mjs.map +1 -0
- package/lib/components/VCard/VCardImg.mjs +3 -0
- package/lib/components/VCard/VCardImg.mjs.map +1 -0
- package/lib/components/VCard/VCardSubtitle.mjs +3 -0
- package/lib/components/VCard/VCardSubtitle.mjs.map +1 -0
- package/lib/components/VCard/VCardText.mjs +3 -0
- package/lib/components/VCard/VCardText.mjs.map +1 -0
- package/lib/components/VCard/VCardTitle.mjs +3 -0
- package/lib/components/VCard/VCardTitle.mjs.map +1 -0
- package/lib/components/VCard/_mixins.scss +13 -0
- package/lib/components/VCard/_variables.scss +106 -26
- package/lib/components/VCard/index.mjs +10 -16
- package/lib/components/VCard/index.mjs.map +1 -1
- package/lib/components/VCarousel/VCarousel.css +63 -0
- package/lib/components/VCarousel/VCarousel.mjs +99 -185
- package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/lib/components/VCarousel/VCarousel.sass +7 -2
- package/lib/components/VCarousel/VCarouselItem.mjs +22 -42
- package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
- package/lib/components/VCarousel/_variables.scss +1 -3
- package/lib/components/VCarousel/index.mjs +2 -9
- package/lib/components/VCarousel/index.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckbox.css +3 -0
- package/lib/components/VCheckbox/VCheckbox.mjs +56 -83
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckbox.sass +8 -8
- package/lib/components/VCheckbox/_variables.scss +2 -4
- package/lib/components/VCheckbox/index.mjs +1 -9
- package/lib/components/VCheckbox/index.mjs.map +1 -1
- package/lib/components/VChip/VChip.css +276 -0
- package/lib/components/VChip/VChip.mjs +153 -143
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/VChip.sass +41 -177
- package/lib/components/VChip/_mixins.scss +65 -0
- package/lib/components/VChip/_variables.scss +48 -49
- package/lib/components/VChip/index.mjs +1 -3
- package/lib/components/VChip/index.mjs.map +1 -1
- package/lib/components/VChipGroup/VChipGroup.css +18 -0
- package/lib/components/VChipGroup/VChipGroup.mjs +66 -38
- package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
- package/lib/components/VChipGroup/VChipGroup.sass +11 -17
- package/lib/components/VChipGroup/_variables.scss +3 -5
- package/lib/components/VChipGroup/index.mjs +1 -3
- package/lib/components/VChipGroup/index.mjs.map +1 -1
- package/lib/components/VCode/VCode.css +7 -0
- package/lib/components/VCode/VCode.sass +9 -0
- package/lib/components/VCode/_variables.scss +5 -0
- package/lib/components/VCode/index.mjs +4 -0
- package/lib/components/VCode/index.mjs.map +1 -0
- package/lib/components/VColorPicker/VColorPicker.css +21 -0
- package/lib/components/VColorPicker/VColorPicker.mjs +103 -133
- package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPicker.sass +10 -17
- package/lib/components/VColorPicker/VColorPickerCanvas.css +21 -0
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs +139 -121
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.sass +5 -3
- package/lib/components/VColorPicker/VColorPickerEdit.css +31 -0
- package/lib/components/VColorPicker/VColorPickerEdit.mjs +74 -134
- package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerEdit.sass +9 -6
- package/lib/components/VColorPicker/VColorPickerPreview.css +67 -0
- package/lib/components/VColorPicker/VColorPickerPreview.mjs +65 -83
- package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerPreview.sass +42 -39
- package/lib/components/VColorPicker/VColorPickerSwatches.css +35 -0
- package/lib/components/VColorPicker/VColorPickerSwatches.mjs +34 -54
- package/lib/components/VColorPicker/VColorPickerSwatches.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerSwatches.sass +6 -4
- package/lib/components/VColorPicker/_variables.scss +5 -9
- package/lib/components/VColorPicker/index.mjs +1 -5
- package/lib/components/VColorPicker/index.mjs.map +1 -1
- package/lib/components/VColorPicker/util/index.mjs +141 -97
- package/lib/components/VColorPicker/util/index.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.css +66 -0
- package/lib/components/VCombobox/VCombobox.mjs +336 -200
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.sass +91 -0
- package/lib/components/VCombobox/_variables.scss +8 -0
- package/lib/components/VCombobox/index.mjs +1 -3
- package/lib/components/VCombobox/index.mjs.map +1 -1
- package/lib/components/VCounter/VCounter.css +6 -0
- package/lib/components/VCounter/VCounter.mjs +36 -27
- package/lib/components/VCounter/VCounter.mjs.map +1 -1
- package/lib/components/VCounter/VCounter.sass +5 -7
- package/lib/components/VCounter/_variables.scss +3 -2
- package/lib/components/VCounter/index.mjs +1 -3
- package/lib/components/VCounter/index.mjs.map +1 -1
- package/lib/components/VData/VData.mjs +8 -3
- package/lib/components/VData/VData.mjs.map +1 -1
- package/lib/components/VDataIterator/VDataFooter.mjs +1 -1
- package/lib/components/VDataIterator/VDataFooter.mjs.map +1 -1
- package/lib/components/VDataIterator/VDataIterator.mjs +20 -8
- package/lib/components/VDataIterator/VDataIterator.mjs.map +1 -1
- package/lib/components/VDataIterator/_variables.scss +2 -2
- package/lib/components/VDataTable/MobileRow.mjs +6 -5
- package/lib/components/VDataTable/MobileRow.mjs.map +1 -1
- package/lib/components/VDataTable/Row.mjs +20 -12
- package/lib/components/VDataTable/Row.mjs.map +1 -1
- package/lib/components/VDataTable/RowGroup.mjs +5 -4
- package/lib/components/VDataTable/RowGroup.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTable.mjs +11 -6
- package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTable.sass +5 -0
- package/lib/components/VDataTable/VDataTableHeader.mjs +7 -6
- package/lib/components/VDataTable/VDataTableHeader.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaderDesktop.mjs +3 -3
- package/lib/components/VDataTable/VDataTableHeaderDesktop.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaderMobile.mjs +2 -2
- package/lib/components/VDataTable/VDataTableHeaderMobile.mjs.map +1 -1
- package/lib/components/VDataTable/VEditDialog.mjs +7 -6
- package/lib/components/VDataTable/VEditDialog.mjs.map +1 -1
- package/lib/components/VDataTable/VVirtualTable.mjs +2 -2
- package/lib/components/VDataTable/VVirtualTable.mjs.map +1 -1
- package/lib/components/VDataTable/_variables.scss +2 -2
- package/lib/components/VDatePicker/VDatePicker.mjs +13 -13
- package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerDateTable.mjs +5 -5
- package/lib/components/VDatePicker/VDatePickerDateTable.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerHeader.mjs +5 -5
- package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonthTable.mjs +2 -2
- package/lib/components/VDatePicker/VDatePickerMonthTable.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerTitle.mjs +2 -2
- package/lib/components/VDatePicker/VDatePickerTitle.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerYears.mjs +4 -4
- package/lib/components/VDatePicker/VDatePickerYears.mjs.map +1 -1
- package/lib/components/VDatePicker/mixins/date-picker-table.mjs +20 -9
- package/lib/components/VDatePicker/mixins/date-picker-table.mjs.map +1 -1
- package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs +7 -5
- package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs.map +1 -1
- package/lib/components/VDatePicker/util/eventHelpers.mjs +1 -0
- package/lib/components/VDatePicker/util/eventHelpers.mjs.map +1 -1
- package/lib/components/VDatePicker/util/monthChange.mjs +3 -3
- package/lib/components/VDatePicker/util/monthChange.mjs.map +1 -1
- package/lib/components/VDatePicker/util/pad.mjs +4 -1
- package/lib/components/VDatePicker/util/pad.mjs.map +1 -1
- package/lib/components/VDatePicker/util/sanitizeDateString.mjs +1 -1
- package/lib/components/VDatePicker/util/sanitizeDateString.mjs.map +1 -1
- package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +38 -0
- package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs.map +1 -0
- package/lib/components/VDefaultsProvider/index.mjs +2 -0
- package/lib/components/VDefaultsProvider/index.mjs.map +1 -0
- package/lib/components/VDialog/VDialog.css +77 -0
- package/lib/components/VDialog/VDialog.mjs +91 -279
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.sass +53 -81
- package/lib/components/VDialog/_variables.scss +12 -10
- package/lib/components/VDialog/index.mjs +1 -3
- package/lib/components/VDialog/index.mjs.map +1 -1
- package/lib/components/VDivider/VDivider.css +30 -0
- package/lib/components/VDivider/VDivider.mjs +25 -17
- package/lib/components/VDivider/VDivider.mjs.map +1 -1
- package/lib/components/VDivider/VDivider.sass +5 -9
- package/lib/components/VDivider/_variables.scss +9 -11
- package/lib/components/VDivider/index.mjs +1 -1
- package/lib/components/VDivider/index.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanel.css +190 -0
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs +87 -83
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanel.sass +91 -129
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +42 -0
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -0
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +79 -0
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -0
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs +45 -59
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
- package/lib/components/VExpansionPanel/_variables.scss +13 -7
- package/lib/components/VExpansionPanel/index.mjs +4 -13
- package/lib/components/VExpansionPanel/index.mjs.map +1 -1
- package/lib/components/VField/VField.css +410 -0
- package/lib/components/VField/VField.mjs +248 -0
- package/lib/components/VField/VField.mjs.map +1 -0
- package/lib/components/VField/VField.sass +392 -0
- package/lib/components/VField/VFieldLabel.mjs +27 -0
- package/lib/components/VField/VFieldLabel.mjs.map +1 -0
- package/lib/components/VField/_variables.scss +44 -0
- package/lib/components/VField/index.mjs +3 -0
- package/lib/components/VField/index.mjs.map +1 -0
- package/lib/components/VFileInput/VFileInput.css +8 -0
- package/lib/components/VFileInput/VFileInput.mjs +181 -224
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.sass +3 -51
- package/lib/components/VFileInput/_variables.scss +2 -6
- package/lib/components/VFileInput/index.mjs +1 -3
- package/lib/components/VFileInput/index.mjs.map +1 -1
- package/lib/components/VFooter/VFooter.css +20 -0
- package/lib/components/VFooter/VFooter.mjs +54 -31
- package/lib/components/VFooter/VFooter.mjs.map +1 -1
- package/lib/components/VFooter/VFooter.sass +10 -7
- package/lib/components/VFooter/_variables.scss +13 -3
- package/lib/components/VFooter/index.mjs +1 -1
- package/lib/components/VFooter/index.mjs.map +1 -1
- package/lib/components/VForm/VForm.mjs +55 -122
- package/lib/components/VForm/VForm.mjs.map +1 -1
- package/lib/components/VForm/index.mjs +1 -3
- package/lib/components/VForm/index.mjs.map +1 -1
- package/lib/components/VGrid/VCol.mjs +23 -18
- package/lib/components/VGrid/VCol.mjs.map +1 -1
- package/lib/components/VGrid/VContainer.mjs +10 -12
- package/lib/components/VGrid/VContainer.mjs.map +1 -1
- package/lib/components/VGrid/VGrid.css +1002 -0
- package/lib/components/VGrid/VGrid.sass +9 -8
- package/lib/components/VGrid/VRow.mjs +22 -17
- package/lib/components/VGrid/VRow.mjs.map +1 -1
- package/lib/components/VGrid/VSpacer.mjs +1 -1
- package/lib/components/VGrid/VSpacer.mjs.map +1 -1
- package/lib/components/VGrid/_mixins.sass +26 -21
- package/lib/components/VGrid/index.mjs +4 -4
- package/lib/components/VGrid/index.mjs.map +1 -1
- package/lib/components/VHover/VHover.mjs +31 -61
- package/lib/components/VHover/VHover.mjs.map +1 -1
- package/lib/components/VHover/index.mjs +1 -3
- package/lib/components/VHover/index.mjs.map +1 -1
- package/lib/components/VIcon/VIcon.css +65 -0
- package/lib/components/VIcon/VIcon.mjs +36 -29
- package/lib/components/VIcon/VIcon.mjs.map +1 -1
- package/lib/components/VIcon/VIcon.sass +31 -49
- package/lib/components/VIcon/_variables.scss +17 -20
- package/lib/components/VIcon/index.mjs +1 -1
- package/lib/components/VIcon/index.mjs.map +1 -1
- package/lib/components/VImg/VImg.css +34 -0
- package/lib/components/VImg/VImg.mjs +121 -71
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VImg/VImg.sass +14 -8
- package/lib/components/VImg/_variables.scss +1 -0
- package/lib/components/VImg/index.mjs +1 -1
- package/lib/components/VImg/index.mjs.map +1 -1
- package/lib/components/VInput/VInput.css +112 -0
- package/lib/components/VInput/VInput.mjs +102 -278
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/VInput.sass +77 -117
- package/lib/components/VInput/_variables.scss +21 -13
- package/lib/components/VInput/index.mjs +1 -3
- package/lib/components/VInput/index.mjs.map +1 -1
- package/lib/components/VItemGroup/VItem.mjs +33 -62
- package/lib/components/VItemGroup/VItem.mjs.map +1 -1
- package/lib/components/VItemGroup/VItemGroup.css +6 -0
- package/lib/components/VItemGroup/VItemGroup.mjs +45 -215
- package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
- package/lib/components/VItemGroup/VItemGroup.sass +3 -2
- package/lib/components/VItemGroup/_variables.scss +3 -2
- package/lib/components/VItemGroup/index.mjs +2 -9
- package/lib/components/VItemGroup/index.mjs.map +1 -1
- package/lib/components/VKbd/VKbd.css +9 -0
- package/lib/components/VKbd/VKbd.sass +13 -0
- package/lib/components/VKbd/_variables.scss +6 -0
- package/lib/components/VKbd/index.mjs +4 -0
- package/lib/components/VKbd/index.mjs.map +1 -0
- package/lib/components/VLabel/VLabel.css +12 -0
- package/lib/components/VLabel/VLabel.mjs +18 -56
- package/lib/components/VLabel/VLabel.mjs.map +1 -1
- package/lib/components/VLabel/VLabel.sass +13 -11
- package/lib/components/VLabel/_variables.scss +7 -4
- package/lib/components/VLabel/index.mjs +1 -3
- package/lib/components/VLabel/index.mjs.map +1 -1
- package/lib/components/VLayout/VLayout.css +11 -0
- package/lib/components/VLayout/VLayout.mjs +20 -15
- package/lib/components/VLayout/VLayout.mjs.map +1 -1
- package/lib/components/VLayout/VLayout.sass +5 -3
- package/lib/components/VLayout/VLayoutItem.css +8 -0
- package/lib/components/VLayout/VLayoutItem.mjs +36 -17
- package/lib/components/VLayout/VLayoutItem.mjs.map +1 -1
- package/lib/components/VLayout/VLayoutItem.sass +8 -0
- package/lib/components/VLayout/index.mjs +2 -2
- package/lib/components/VLayout/index.mjs.map +1 -1
- package/lib/components/VLazy/VLazy.mjs +41 -51
- package/lib/components/VLazy/VLazy.mjs.map +1 -1
- package/lib/components/VLazy/index.mjs +1 -3
- package/lib/components/VLazy/index.mjs.map +1 -1
- package/lib/components/VList/VList.css +107 -0
- package/lib/components/VList/VList.mjs +140 -73
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VList.sass +88 -94
- package/lib/components/VList/VListChildren.mjs +53 -0
- package/lib/components/VList/VListChildren.mjs.map +1 -0
- package/lib/components/VList/VListGroup.mjs +84 -164
- package/lib/components/VList/VListGroup.mjs.map +1 -1
- package/lib/components/VList/VListImg.mjs +3 -0
- package/lib/components/VList/VListImg.mjs.map +1 -0
- package/lib/components/VList/VListItem.css +350 -0
- package/lib/components/VList/VListItem.mjs +184 -141
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItem.sass +178 -228
- package/lib/components/VList/VListItemAction.mjs +23 -19
- package/lib/components/VList/VListItemAction.mjs.map +1 -1
- package/lib/components/VList/VListItemAvatar.mjs +16 -29
- package/lib/components/VList/VListItemAvatar.mjs.map +1 -1
- package/lib/components/VList/VListItemHeader.mjs +3 -0
- package/lib/components/VList/VListItemHeader.mjs.map +1 -0
- package/lib/components/VList/VListItemIcon.mjs +17 -15
- package/lib/components/VList/VListItemIcon.mjs.map +1 -1
- package/lib/components/VList/VListItemMedia.mjs +29 -0
- package/lib/components/VList/VListItemMedia.mjs.map +1 -0
- package/lib/components/VList/VListItemSubtitle.mjs +3 -0
- package/lib/components/VList/VListItemSubtitle.mjs.map +1 -0
- package/lib/components/VList/VListItemTitle.mjs +3 -0
- package/lib/components/VList/VListItemTitle.mjs.map +1 -0
- package/lib/components/VList/VListSubheader.mjs +47 -0
- package/lib/components/VList/VListSubheader.mjs.map +1 -0
- package/lib/components/VList/_variables.scss +154 -57
- package/lib/components/VList/index.mjs +12 -28
- package/lib/components/VList/index.mjs.map +1 -1
- package/lib/components/VList/list.mjs +31 -0
- package/lib/components/VList/list.mjs.map +1 -0
- package/lib/components/VLocaleProvider/VLocaleProvider.css +3 -0
- package/lib/components/VLocaleProvider/VLocaleProvider.mjs +19 -10
- package/lib/components/VLocaleProvider/VLocaleProvider.mjs.map +1 -1
- package/lib/components/VLocaleProvider/VLocaleProvider.sass +2 -0
- package/lib/components/VLocaleProvider/index.mjs +1 -1
- package/lib/components/VLocaleProvider/index.mjs.map +1 -1
- package/lib/components/VMain/VMain.css +18 -0
- package/lib/components/VMain/VMain.mjs +23 -19
- package/lib/components/VMain/VMain.mjs.map +1 -1
- package/lib/components/VMain/VMain.sass +2 -1
- package/lib/components/VMain/_variables.scss +3 -1
- package/lib/components/VMain/index.mjs +1 -1
- package/lib/components/VMain/index.mjs.map +1 -1
- package/lib/components/VMenu/VMenu.css +14 -0
- package/lib/components/VMenu/VMenu.mjs +78 -447
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/VMenu.sass +17 -71
- package/lib/components/VMenu/_variables.scss +3 -2
- package/lib/components/VMenu/index.mjs +1 -3
- package/lib/components/VMenu/index.mjs.map +1 -1
- package/lib/components/VMenu/shared.mjs +2 -0
- package/lib/components/VMenu/shared.mjs.map +1 -0
- package/lib/components/VMessages/VMessages.css +16 -0
- package/lib/components/VMessages/VMessages.mjs +42 -41
- package/lib/components/VMessages/VMessages.mjs.map +1 -1
- package/lib/components/VMessages/VMessages.sass +5 -10
- package/lib/components/VMessages/_variables.scss +3 -2
- package/lib/components/VMessages/index.mjs +1 -3
- package/lib/components/VMessages/index.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +93 -0
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +124 -55
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.sass +36 -23
- package/lib/components/VNavigationDrawer/_variables.scss +16 -9
- package/lib/components/VNavigationDrawer/index.mjs +1 -1
- package/lib/components/VNavigationDrawer/index.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/touch.mjs +139 -0
- package/lib/components/VNavigationDrawer/touch.mjs.map +1 -0
- package/lib/components/VNoSsr/VNoSsr.mjs +23 -0
- package/lib/components/VNoSsr/VNoSsr.mjs.map +1 -0
- package/lib/components/VNoSsr/index.mjs +2 -0
- package/lib/components/VNoSsr/index.mjs.map +1 -0
- package/lib/components/VOtpInput/VOtpInput.mjs +345 -0
- package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -0
- package/lib/components/VOtpInput/VOtpInput.sass +37 -0
- package/lib/components/VOtpInput/_variables.scss +4 -0
- package/lib/components/VOtpInput/index.mjs +4 -0
- package/lib/components/VOtpInput/index.mjs.map +1 -0
- package/lib/components/VOverflowBtn/VOverflowBtn.mjs +1 -1
- package/lib/components/VOverflowBtn/VOverflowBtn.mjs.map +1 -1
- package/lib/components/VOverlay/VOverlay.css +63 -0
- package/lib/components/VOverlay/VOverlay.mjs +229 -67
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/VOverlay.sass +39 -19
- package/lib/components/VOverlay/_variables.scss +4 -3
- package/lib/components/VOverlay/index.mjs +1 -3
- package/lib/components/VOverlay/index.mjs.map +1 -1
- package/lib/components/VOverlay/positionStrategies.mjs +207 -0
- package/lib/components/VOverlay/positionStrategies.mjs.map +1 -0
- package/lib/components/VOverlay/requestNewFrame.mjs +28 -0
- package/lib/components/VOverlay/requestNewFrame.mjs.map +1 -0
- package/lib/components/VOverlay/scrollStrategies.mjs +137 -0
- package/lib/components/VOverlay/scrollStrategies.mjs.map +1 -0
- package/lib/components/VOverlay/useActivator.mjs +241 -0
- package/lib/components/VOverlay/useActivator.mjs.map +1 -0
- package/lib/components/VOverlay/util/anchor.mjs +52 -0
- package/lib/components/VOverlay/util/anchor.mjs.map +1 -0
- package/lib/components/VOverlay/util/point.mjs +56 -0
- package/lib/components/VOverlay/util/point.mjs.map +1 -0
- package/lib/components/VPagination/VPagination.css +9 -0
- package/lib/components/VPagination/VPagination.mjs +261 -176
- package/lib/components/VPagination/VPagination.mjs.map +1 -1
- package/lib/components/VPagination/VPagination.sass +11 -77
- package/lib/components/VPagination/_variables.scss +1 -15
- package/lib/components/VPagination/index.mjs +1 -3
- package/lib/components/VPagination/index.mjs.map +1 -1
- package/lib/components/VParallax/VParallax.css +7 -0
- package/lib/components/VParallax/VParallax.mjs +71 -77
- package/lib/components/VParallax/VParallax.mjs.map +1 -1
- package/lib/components/VParallax/VParallax.sass +1 -32
- package/lib/components/VParallax/index.mjs +1 -3
- package/lib/components/VParallax/index.mjs.map +1 -1
- package/lib/components/VPicker/VPicker.mjs +5 -5
- package/lib/components/VPicker/VPicker.mjs.map +1 -1
- package/lib/components/VProgressCircular/VProgressCircular.css +101 -0
- package/lib/components/VProgressCircular/VProgressCircular.mjs +110 -141
- package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
- package/lib/components/VProgressCircular/VProgressCircular.sass +57 -36
- package/lib/components/VProgressCircular/_variables.scss +12 -5
- package/lib/components/VProgressCircular/index.mjs +1 -3
- package/lib/components/VProgressCircular/index.mjs.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.css +212 -0
- package/lib/components/VProgressLinear/VProgressLinear.mjs +138 -226
- package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.sass +83 -157
- package/lib/components/VProgressLinear/_variables.scss +11 -3
- package/lib/components/VProgressLinear/index.mjs +1 -3
- package/lib/components/VProgressLinear/index.mjs.map +1 -1
- package/lib/components/VRadio/VRadio.mjs +33 -0
- package/lib/components/VRadio/VRadio.mjs.map +1 -0
- package/lib/components/VRadio/index.mjs +2 -0
- package/lib/components/VRadio/index.mjs.map +1 -0
- package/lib/components/VRadioGroup/VRadioGroup.css +10 -0
- package/lib/components/VRadioGroup/VRadioGroup.mjs +66 -69
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.sass +7 -37
- package/lib/components/VRadioGroup/_variables.scss +3 -3
- package/lib/components/VRadioGroup/index.mjs +1 -9
- package/lib/components/VRadioGroup/index.mjs.map +1 -1
- package/lib/components/VRangeSlider/VRangeSlider.mjs +194 -206
- package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
- package/lib/components/VRangeSlider/index.mjs +1 -3
- package/lib/components/VRangeSlider/index.mjs.map +1 -1
- package/lib/components/VRating/VRating.css +58 -0
- package/lib/components/VRating/VRating.mjs +202 -177
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VRating/VRating.sass +51 -18
- package/lib/components/VRating/_variables.scss +9 -4
- package/lib/components/VRating/index.mjs +1 -3
- package/lib/components/VRating/index.mjs.map +1 -1
- package/lib/components/VResponsive/VResponsive.css +23 -0
- package/lib/components/VResponsive/VResponsive.mjs +24 -19
- package/lib/components/VResponsive/VResponsive.mjs.map +1 -1
- package/lib/components/VResponsive/VResponsive.sass +5 -7
- package/lib/components/VResponsive/index.mjs +1 -1
- package/lib/components/VResponsive/index.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.css +34 -0
- package/lib/components/VSelect/VSelect.mjs +170 -781
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.sass +44 -153
- package/lib/components/VSelect/_variables.scss +7 -21
- package/lib/components/VSelect/index.mjs +1 -3
- package/lib/components/VSelect/index.mjs.map +1 -1
- package/lib/components/VSelectionControl/VSelectionControl.css +97 -0
- package/lib/components/VSelectionControl/VSelectionControl.mjs +210 -0
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -0
- package/lib/components/VSelectionControl/VSelectionControl.sass +96 -0
- package/lib/components/VSelectionControl/_variables.scss +9 -0
- package/lib/components/VSelectionControl/index.mjs +2 -0
- package/lib/components/VSelectionControl/index.mjs.map +1 -0
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +3 -0
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +64 -0
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -0
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.sass +9 -0
- package/lib/components/VSelectionControlGroup/_variables.scss +4 -0
- package/lib/components/VSelectionControlGroup/index.mjs +2 -0
- package/lib/components/VSelectionControlGroup/index.mjs.map +1 -0
- package/lib/components/VSheet/VSheet.css +23 -0
- package/lib/components/VSheet/VSheet.mjs +18 -18
- package/lib/components/VSheet/VSheet.mjs.map +1 -1
- package/lib/components/VSheet/VSheet.sass +11 -7
- package/lib/components/VSheet/_variables.scss +15 -4
- package/lib/components/VSheet/index.mjs +1 -1
- package/lib/components/VSheet/index.mjs.map +1 -1
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +8 -8
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroup.css +42 -0
- package/lib/components/VSlideGroup/VSlideGroup.mjs +301 -361
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroup.sass +21 -25
- package/lib/components/VSlideGroup/VSlideGroupItem.mjs +29 -0
- package/lib/components/VSlideGroup/VSlideGroupItem.mjs.map +1 -0
- package/lib/components/VSlideGroup/_variables.scss +4 -1
- package/lib/components/VSlideGroup/helpers.mjs +54 -0
- package/lib/components/VSlideGroup/helpers.mjs.map +1 -0
- package/lib/components/VSlideGroup/index.mjs +2 -9
- package/lib/components/VSlideGroup/index.mjs.map +1 -1
- package/lib/components/VSlider/VSlider.css +53 -0
- package/lib/components/VSlider/VSlider.mjs +113 -538
- package/lib/components/VSlider/VSlider.mjs.map +1 -1
- package/lib/components/VSlider/VSlider.sass +38 -274
- package/lib/components/VSlider/VSliderThumb.css +142 -0
- package/lib/components/VSlider/VSliderThumb.mjs +165 -0
- package/lib/components/VSlider/VSliderThumb.mjs.map +1 -0
- package/lib/components/VSlider/VSliderThumb.sass +147 -0
- package/lib/components/VSlider/VSliderTrack.css +150 -0
- package/lib/components/VSlider/VSliderTrack.mjs +121 -0
- package/lib/components/VSlider/VSliderTrack.mjs.map +1 -0
- package/lib/components/VSlider/VSliderTrack.sass +159 -0
- package/lib/components/VSlider/_variables.scss +23 -14
- package/lib/components/VSlider/index.mjs +1 -3
- package/lib/components/VSlider/index.mjs.map +1 -1
- package/lib/components/VSlider/slider.mjs +300 -0
- package/lib/components/VSlider/slider.mjs.map +1 -0
- package/lib/components/VSnackbar/VSnackbar.css +137 -0
- package/lib/components/VSnackbar/VSnackbar.mjs +101 -168
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.sass +43 -79
- package/lib/components/VSnackbar/_variables.scss +20 -25
- package/lib/components/VSnackbar/index.mjs +1 -3
- package/lib/components/VSnackbar/index.mjs.map +1 -1
- package/lib/components/VSparkline/VSparkline.mjs +13 -13
- package/lib/components/VSparkline/VSparkline.mjs.map +1 -1
- package/lib/components/VSparkline/helpers/path.mjs +7 -5
- package/lib/components/VSparkline/helpers/path.mjs.map +1 -1
- package/lib/components/VSpeedDial/VSpeedDial.mjs +4 -4
- package/lib/components/VSpeedDial/VSpeedDial.mjs.map +1 -1
- package/lib/components/VStepper/VStepper.mjs +2 -2
- package/lib/components/VStepper/VStepper.mjs.map +1 -1
- package/lib/components/VStepper/VStepper.sass +5 -1
- package/lib/components/VStepper/VStepperStep.mjs +1 -1
- package/lib/components/VStepper/_variables.scss +6 -5
- package/lib/components/VSwitch/VSwitch.css +69 -0
- package/lib/components/VSwitch/VSwitch.mjs +99 -107
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/VSwitch.sass +71 -129
- package/lib/components/VSwitch/_variables.scss +10 -23
- package/lib/components/VSwitch/index.mjs +1 -3
- package/lib/components/VSwitch/index.mjs.map +1 -1
- package/lib/components/VSystemBar/VSystemBar.css +35 -0
- package/lib/components/VSystemBar/VSystemBar.mjs +52 -37
- package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
- package/lib/components/VSystemBar/VSystemBar.sass +14 -26
- package/lib/components/VSystemBar/_variables.scss +27 -17
- package/lib/components/VSystemBar/index.mjs +1 -1
- package/lib/components/VSystemBar/index.mjs.map +1 -1
- package/lib/components/VTable/VTable.css +143 -0
- package/lib/components/VTable/VTable.mjs +54 -0
- package/lib/components/VTable/VTable.mjs.map +1 -0
- package/lib/components/VTable/VTable.sass +156 -0
- package/lib/components/VTable/_mixins.scss +25 -0
- package/lib/components/VTable/_variables.scss +21 -0
- package/lib/components/VTable/index.mjs +2 -0
- package/lib/components/VTable/index.mjs.map +1 -0
- package/lib/components/VTabs/VTab.css +29 -0
- package/lib/components/VTabs/VTab.mjs +109 -69
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTabs/VTab.sass +30 -0
- package/lib/components/VTabs/VTabs.css +71 -0
- package/lib/components/VTabs/VTabs.mjs +86 -283
- package/lib/components/VTabs/VTabs.mjs.map +1 -1
- package/lib/components/VTabs/VTabs.sass +40 -202
- package/lib/components/VTabs/_variables.scss +10 -18
- package/lib/components/VTabs/index.mjs +2 -15
- package/lib/components/VTabs/index.mjs.map +1 -1
- package/lib/components/VTabs/shared.mjs +2 -0
- package/lib/components/VTabs/shared.mjs.map +1 -0
- package/lib/components/VTextField/VTextField.css +70 -0
- package/lib/components/VTextField/VTextField.mjs +162 -483
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/VTextField.sass +56 -493
- package/lib/components/VTextField/_variables.scss +10 -50
- package/lib/components/VTextField/index.mjs +1 -3
- package/lib/components/VTextField/index.mjs.map +1 -1
- package/lib/components/VTextarea/VTextarea.css +37 -0
- package/lib/components/VTextarea/VTextarea.mjs +210 -74
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/VTextarea.sass +35 -75
- package/lib/components/VTextarea/_variables.scss +2 -4
- package/lib/components/VTextarea/index.mjs +1 -3
- package/lib/components/VTextarea/index.mjs.map +1 -1
- package/lib/components/VThemeProvider/VThemeProvider.css +4 -0
- package/lib/components/VThemeProvider/VThemeProvider.mjs +23 -18
- package/lib/components/VThemeProvider/VThemeProvider.mjs.map +1 -1
- package/lib/components/VThemeProvider/index.mjs +1 -1
- package/lib/components/VThemeProvider/index.mjs.map +1 -1
- package/lib/components/VTimePicker/VTimePicker.mjs +4 -4
- package/lib/components/VTimePicker/VTimePicker.mjs.map +1 -1
- package/lib/components/VTimePicker/VTimePickerClock.mjs +9 -9
- package/lib/components/VTimePicker/VTimePickerClock.mjs.map +1 -1
- package/lib/components/VTimePicker/VTimePickerTitle.mjs +2 -2
- package/lib/components/VTimePicker/VTimePickerTitle.mjs.map +1 -1
- package/lib/components/VTimeline/VTimeline.css +399 -0
- package/lib/components/VTimeline/VTimeline.mjs +89 -34
- package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
- package/lib/components/VTimeline/VTimeline.sass +347 -115
- package/lib/components/VTimeline/VTimelineDivider.mjs +76 -0
- package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -0
- package/lib/components/VTimeline/VTimelineItem.mjs +68 -90
- package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
- package/lib/components/VTimeline/_mixins.sass +21 -32
- package/lib/components/VTimeline/_variables.scss +28 -15
- package/lib/components/VTimeline/index.mjs +2 -9
- package/lib/components/VTimeline/index.mjs.map +1 -1
- package/lib/components/VTimeline/shared.mjs +2 -0
- package/lib/components/VTimeline/shared.mjs.map +1 -0
- package/lib/components/VToolbar/VToolbar.css +145 -0
- package/lib/components/VToolbar/VToolbar.mjs +135 -141
- package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbar.sass +75 -123
- package/lib/components/VToolbar/VToolbarItems.mjs +32 -0
- package/lib/components/VToolbar/VToolbarItems.mjs.map +1 -0
- package/lib/components/VToolbar/VToolbarTitle.mjs +34 -0
- package/lib/components/VToolbar/VToolbarTitle.mjs.map +1 -0
- package/lib/components/VToolbar/_variables.scss +65 -15
- package/lib/components/VToolbar/index.mjs +3 -14
- package/lib/components/VToolbar/index.mjs.map +1 -1
- package/lib/components/VTooltip/VTooltip.css +22 -0
- package/lib/components/VTooltip/VTooltip.mjs +73 -199
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VTooltip/VTooltip.sass +8 -15
- package/lib/components/VTooltip/_variables.scss +6 -6
- package/lib/components/VTooltip/index.mjs +1 -3
- package/lib/components/VTooltip/index.mjs.map +1 -1
- package/lib/components/VTreeview/VTreeview.mjs +18 -9
- package/lib/components/VTreeview/VTreeview.mjs.map +1 -1
- package/lib/components/VTreeview/VTreeviewNode.mjs +4 -2
- package/lib/components/VTreeview/VTreeviewNode.mjs.map +1 -1
- package/lib/components/VTreeview/_mixins.sass +3 -3
- package/lib/components/VValidation/VValidation.mjs +26 -0
- package/lib/components/VValidation/VValidation.mjs.map +1 -0
- package/lib/components/VValidation/index.mjs +2 -0
- package/lib/components/VValidation/index.mjs.map +1 -0
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs +1 -1
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
- package/lib/components/VWindow/VWindow.css +70 -0
- package/lib/components/VWindow/VWindow.mjs +158 -233
- package/lib/components/VWindow/VWindow.mjs.map +1 -1
- package/lib/components/VWindow/VWindow.sass +29 -51
- package/lib/components/VWindow/VWindowItem.mjs +72 -98
- package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
- package/lib/components/VWindow/_variables.scss +2 -3
- package/lib/components/VWindow/index.mjs +2 -9
- package/lib/components/VWindow/index.mjs.map +1 -1
- package/lib/components/index.d.ts +15391 -0
- package/lib/components/index.mjs +75 -65
- package/lib/components/index.mjs.map +1 -1
- package/lib/components/transitions/createTransition.mjs +61 -16
- package/lib/components/transitions/createTransition.mjs.map +1 -1
- package/lib/components/transitions/dialog-transition.mjs +107 -0
- package/lib/components/transitions/dialog-transition.mjs.map +1 -0
- package/lib/components/transitions/expand-transition.mjs +6 -4
- package/lib/components/transitions/expand-transition.mjs.map +1 -1
- package/lib/components/transitions/index.mjs +1 -1
- package/lib/components/transitions/index.mjs.map +1 -1
- package/lib/composables/border.mjs +9 -7
- package/lib/composables/border.mjs.map +1 -1
- package/lib/composables/color.mjs +2 -2
- package/lib/composables/color.mjs.map +1 -1
- package/lib/composables/defaults.mjs +42 -0
- package/lib/composables/defaults.mjs.map +1 -0
- package/lib/composables/density.mjs +5 -4
- package/lib/composables/density.mjs.map +1 -1
- package/lib/composables/display.mjs +4 -3
- package/lib/composables/display.mjs.map +1 -1
- package/lib/composables/elevation.mjs +4 -3
- package/lib/composables/elevation.mjs.map +1 -1
- package/lib/composables/filter.mjs +87 -0
- package/lib/composables/filter.mjs.map +1 -0
- package/lib/composables/focus.mjs +35 -0
- package/lib/composables/focus.mjs.map +1 -0
- package/lib/composables/form.mjs +116 -0
- package/lib/composables/form.mjs.map +1 -0
- package/lib/composables/forwardRef.mjs +46 -0
- package/lib/composables/forwardRef.mjs.map +1 -0
- package/lib/composables/group.mjs +135 -45
- package/lib/composables/group.mjs.map +1 -1
- package/lib/composables/hydration.mjs +12 -0
- package/lib/composables/hydration.mjs.map +1 -0
- package/lib/composables/icons.mjs +24 -30
- package/lib/composables/icons.mjs.map +1 -1
- package/lib/composables/index.mjs +9 -0
- package/lib/composables/index.mjs.map +1 -0
- package/lib/composables/intersectionObserver.mjs +33 -0
- package/lib/composables/intersectionObserver.mjs.map +1 -0
- package/lib/composables/items.mjs +56 -0
- package/lib/composables/items.mjs.map +1 -0
- package/lib/composables/layout.mjs +157 -66
- package/lib/composables/layout.mjs.map +1 -1
- package/lib/composables/lazy.mjs +23 -0
- package/lib/composables/lazy.mjs.map +1 -0
- package/lib/composables/loader.mjs +39 -0
- package/lib/composables/loader.mjs.map +1 -0
- package/lib/composables/locale.mjs +25 -13
- package/lib/composables/locale.mjs.map +1 -1
- package/lib/composables/mutationObserver.mjs +43 -0
- package/lib/composables/mutationObserver.mjs.map +1 -0
- package/lib/composables/nested/nested.mjs +207 -0
- package/lib/composables/nested/nested.mjs.map +1 -0
- package/lib/composables/nested/openStrategies.mjs +76 -0
- package/lib/composables/nested/openStrategies.mjs.map +1 -0
- package/lib/composables/nested/selectStrategies.mjs +198 -0
- package/lib/composables/nested/selectStrategies.mjs.map +1 -0
- package/lib/composables/overlay.mjs +34 -0
- package/lib/composables/overlay.mjs.map +1 -0
- package/lib/composables/position.mjs +6 -5
- package/lib/composables/position.mjs.map +1 -1
- package/lib/composables/proxiedModel.mjs +13 -8
- package/lib/composables/proxiedModel.mjs.map +1 -1
- package/lib/composables/refs.mjs +16 -0
- package/lib/composables/refs.mjs.map +1 -0
- package/lib/composables/resizeObserver.mjs +35 -0
- package/lib/composables/resizeObserver.mjs.map +1 -0
- package/lib/composables/rounded.mjs +10 -8
- package/lib/composables/rounded.mjs.map +1 -1
- package/lib/composables/router.mjs +82 -0
- package/lib/composables/router.mjs.map +1 -0
- package/lib/composables/rtl.mjs +5 -5
- package/lib/composables/rtl.mjs.map +1 -1
- package/lib/composables/scroll.mjs +3 -2
- package/lib/composables/scroll.mjs.map +1 -1
- package/lib/composables/selectLink.mjs +19 -0
- package/lib/composables/selectLink.mjs.map +1 -0
- package/lib/composables/size.mjs +4 -3
- package/lib/composables/size.mjs.map +1 -1
- package/lib/composables/stack.mjs +36 -0
- package/lib/composables/stack.mjs.map +1 -0
- package/lib/composables/teleport.mjs +30 -0
- package/lib/composables/teleport.mjs.map +1 -0
- package/lib/composables/theme.mjs +147 -96
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/composables/touch.mjs +129 -0
- package/lib/composables/touch.mjs.map +1 -0
- package/lib/composables/transition.mjs +20 -0
- package/lib/composables/transition.mjs.map +1 -1
- package/lib/composables/validation.mjs +119 -0
- package/lib/composables/validation.mjs.map +1 -0
- package/lib/composables/variant.mjs +50 -0
- package/lib/composables/variant.mjs.map +1 -0
- package/lib/directives/click-outside/index.mjs +23 -11
- package/lib/directives/click-outside/index.mjs.map +1 -1
- package/lib/directives/color/index.mjs +1 -1
- package/lib/directives/color/index.mjs.map +1 -1
- package/lib/directives/index.d.ts +58 -0
- package/lib/directives/index.mjs +2 -2
- package/lib/directives/index.mjs.map +1 -1
- package/lib/directives/intersect/index.mjs +26 -19
- package/lib/directives/intersect/index.mjs.map +1 -1
- package/lib/directives/mutate/index.mjs +33 -34
- package/lib/directives/mutate/index.mjs.map +1 -1
- package/lib/directives/resize/index.mjs +10 -7
- package/lib/directives/resize/index.mjs.map +1 -1
- package/lib/directives/ripple/VRipple.css +34 -0
- package/lib/directives/ripple/VRipple.sass +2 -1
- package/lib/directives/ripple/_variables.scss +4 -4
- package/lib/directives/ripple/index.mjs +35 -20
- package/lib/directives/ripple/index.mjs.map +1 -1
- package/lib/directives/scroll/index.mjs +9 -6
- package/lib/directives/scroll/index.mjs.map +1 -1
- package/lib/directives/touch/index.mjs +17 -7
- package/lib/directives/touch/index.mjs.map +1 -1
- package/lib/entry-bundler.mjs +8 -6
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +55 -36
- package/lib/framework.mjs.map +1 -1
- package/lib/iconsets/fa-svg.d.ts +54 -0
- package/lib/iconsets/fa.d.ts +54 -0
- package/lib/iconsets/fa.mjs +1 -0
- package/lib/iconsets/fa.mjs.map +1 -1
- package/lib/iconsets/fa4.d.ts +54 -0
- package/lib/iconsets/fa4.mjs +2 -1
- package/lib/iconsets/fa4.mjs.map +1 -1
- package/lib/iconsets/md.d.ts +54 -0
- package/lib/iconsets/md.mjs +2 -1
- package/lib/iconsets/md.mjs.map +1 -1
- package/lib/iconsets/mdi-svg.d.ts +54 -0
- package/lib/iconsets/mdi-svg.mjs +1 -1
- package/lib/iconsets/mdi-svg.mjs.map +1 -1
- package/lib/iconsets/mdi.d.ts +54 -0
- package/lib/iconsets/mdi.mjs +4 -3
- package/lib/iconsets/mdi.mjs.map +1 -1
- package/lib/index.d.ts +450 -0
- package/lib/locale/adapters/vue-i18n.mjs +64 -0
- package/lib/locale/adapters/vue-i18n.mjs.map +1 -0
- package/lib/locale/adapters/vue-intl.mjs +67 -0
- package/lib/locale/adapters/vue-intl.mjs.map +1 -0
- package/lib/locale/af.mjs +5 -3
- package/lib/locale/af.mjs.map +1 -1
- package/lib/locale/ar.mjs +5 -3
- package/lib/locale/ar.mjs.map +1 -1
- package/lib/locale/az.mjs +5 -3
- package/lib/locale/az.mjs.map +1 -1
- package/lib/locale/bg.mjs +5 -3
- package/lib/locale/bg.mjs.map +1 -1
- package/lib/locale/ca.mjs +12 -10
- package/lib/locale/ca.mjs.map +1 -1
- package/lib/locale/ckb.mjs +5 -3
- package/lib/locale/ckb.mjs.map +1 -1
- package/lib/locale/cs.mjs +6 -4
- package/lib/locale/cs.mjs.map +1 -1
- package/lib/locale/da.mjs +72 -0
- package/lib/locale/da.mjs.map +1 -0
- package/lib/locale/de.mjs +5 -3
- package/lib/locale/de.mjs.map +1 -1
- package/lib/locale/el.mjs +5 -3
- package/lib/locale/el.mjs.map +1 -1
- package/lib/locale/en.mjs +5 -3
- package/lib/locale/en.mjs.map +1 -1
- package/lib/locale/es.mjs +6 -4
- package/lib/locale/es.mjs.map +1 -1
- package/lib/locale/et.mjs +5 -3
- package/lib/locale/et.mjs.map +1 -1
- package/lib/locale/fa.mjs +5 -3
- package/lib/locale/fa.mjs.map +1 -1
- package/lib/locale/fi.mjs +5 -3
- package/lib/locale/fi.mjs.map +1 -1
- package/lib/locale/fr.mjs +7 -5
- package/lib/locale/fr.mjs.map +1 -1
- package/lib/locale/he.mjs +5 -3
- package/lib/locale/he.mjs.map +1 -1
- package/lib/locale/hr.mjs +5 -3
- package/lib/locale/hr.mjs.map +1 -1
- package/lib/locale/hu.mjs +5 -3
- package/lib/locale/hu.mjs.map +1 -1
- package/lib/locale/id.mjs +5 -3
- package/lib/locale/id.mjs.map +1 -1
- package/lib/locale/index.d.ts +3111 -0
- package/lib/locale/index.mjs +1 -0
- package/lib/locale/index.mjs.map +1 -1
- package/lib/locale/it.mjs +8 -6
- package/lib/locale/it.mjs.map +1 -1
- package/lib/locale/ja.mjs +5 -3
- package/lib/locale/ja.mjs.map +1 -1
- package/lib/locale/ko.mjs +5 -3
- package/lib/locale/ko.mjs.map +1 -1
- package/lib/locale/lt.mjs +5 -3
- package/lib/locale/lt.mjs.map +1 -1
- package/lib/locale/lv.mjs +5 -3
- package/lib/locale/lv.mjs.map +1 -1
- package/lib/locale/nl.mjs +5 -3
- package/lib/locale/nl.mjs.map +1 -1
- package/lib/locale/no.mjs +5 -3
- package/lib/locale/no.mjs.map +1 -1
- package/lib/locale/pl.mjs +5 -3
- package/lib/locale/pl.mjs.map +1 -1
- package/lib/locale/pt.mjs +5 -3
- package/lib/locale/pt.mjs.map +1 -1
- package/lib/locale/ro.mjs +5 -3
- package/lib/locale/ro.mjs.map +1 -1
- package/lib/locale/ru.mjs +5 -3
- package/lib/locale/ru.mjs.map +1 -1
- package/lib/locale/sk.mjs +5 -3
- package/lib/locale/sk.mjs.map +1 -1
- package/lib/locale/sl.mjs +5 -3
- package/lib/locale/sl.mjs.map +1 -1
- package/lib/locale/sr-Cyrl.mjs +5 -3
- package/lib/locale/sr-Cyrl.mjs.map +1 -1
- package/lib/locale/sr-Latn.mjs +5 -3
- package/lib/locale/sr-Latn.mjs.map +1 -1
- package/lib/locale/sv.mjs +5 -3
- package/lib/locale/sv.mjs.map +1 -1
- package/lib/locale/th.mjs +5 -3
- package/lib/locale/th.mjs.map +1 -1
- package/lib/locale/tr.mjs +5 -3
- package/lib/locale/tr.mjs.map +1 -1
- package/lib/locale/uk.mjs +5 -3
- package/lib/locale/uk.mjs.map +1 -1
- package/lib/locale/vi.mjs +5 -3
- package/lib/locale/vi.mjs.map +1 -1
- package/lib/locale/zh-Hans.mjs +5 -3
- package/lib/locale/zh-Hans.mjs.map +1 -1
- package/lib/locale/zh-Hant.mjs +5 -3
- package/lib/locale/zh-Hant.mjs.map +1 -1
- package/lib/presets/default/index.mjs +1 -1
- package/lib/presets/default/index.mjs.map +1 -1
- package/lib/services/goto/easing-patterns.mjs +0 -3
- package/lib/services/goto/easing-patterns.mjs.map +1 -1
- package/lib/services/goto/index.mjs +17 -17
- package/lib/services/goto/index.mjs.map +1 -1
- package/lib/services/goto/util.mjs +2 -2
- package/lib/services/goto/util.mjs.map +1 -1
- package/lib/styles/elements/_blockquote.sass +6 -4
- package/lib/styles/elements/_global.sass +12 -8
- package/lib/styles/elements/_index.sass +2 -6
- package/lib/styles/generic/_colors.scss +31 -11
- package/lib/styles/generic/_elevation.scss +3 -3
- package/lib/styles/generic/_index.scss +6 -6
- package/lib/styles/generic/_reset.scss +236 -226
- package/lib/styles/generic/_transitions.scss +20 -4
- package/lib/styles/main.css +18620 -0
- package/lib/styles/main.sass +4 -5
- package/lib/styles/settings/_colors.scss +431 -7
- package/lib/styles/settings/_elevations.scss +1 -1
- package/lib/styles/settings/_index.sass +4 -10
- package/lib/styles/settings/_utilities.scss +514 -463
- package/lib/styles/settings/_variables.scss +59 -64
- package/lib/styles/tools/_absolute.sass +8 -0
- package/lib/styles/tools/_border.sass +6 -1
- package/lib/styles/tools/_density.sass +5 -9
- package/lib/styles/tools/_display.sass +11 -0
- package/lib/styles/tools/_elevation.sass +4 -2
- package/lib/styles/tools/_functions.sass +32 -24
- package/lib/styles/tools/_index.sass +17 -22
- package/lib/styles/tools/_radius.sass +5 -2
- package/lib/styles/tools/_rtl.sass +2 -0
- package/lib/styles/tools/_sheet.sass +7 -4
- package/lib/styles/tools/_states.sass +18 -8
- package/lib/styles/tools/_theme.sass +3 -5
- package/lib/styles/tools/_typography.sass +6 -0
- package/lib/styles/tools/_utilities.sass +27 -24
- package/lib/styles/tools/_variant.sass +53 -0
- package/lib/styles/utilities/_display.sass +7 -6
- package/lib/styles/utilities/_index.sass +25 -22
- package/lib/styles/utilities/_text.sass +8 -7
- package/lib/styles.scss +4 -0
- package/lib/util/animation.mjs +43 -0
- package/lib/util/animation.mjs.map +1 -0
- package/lib/util/box.mjs +32 -0
- package/lib/util/box.mjs.map +1 -0
- package/lib/util/color/APCA.mjs +85 -0
- package/lib/util/color/APCA.mjs.map +1 -0
- package/lib/util/colorUtils.mjs +10 -7
- package/lib/util/colorUtils.mjs.map +1 -1
- package/lib/util/console.mjs +8 -7
- package/lib/util/console.mjs.map +1 -1
- package/lib/util/createSimpleFunctional.mjs +18 -11
- package/lib/util/createSimpleFunctional.mjs.map +1 -1
- package/lib/util/dateTimeUtils.mjs +3 -1
- package/lib/util/dateTimeUtils.mjs.map +1 -1
- package/lib/util/defineComponent.mjs +92 -0
- package/lib/util/defineComponent.mjs.map +1 -0
- package/lib/util/easing.mjs +5 -0
- package/lib/util/easing.mjs.map +1 -0
- package/lib/util/getCurrentInstance.mjs +19 -0
- package/lib/util/getCurrentInstance.mjs.map +1 -0
- package/lib/util/getScrollParent.mjs +24 -0
- package/lib/util/getScrollParent.mjs.map +1 -0
- package/lib/util/globals.mjs +1 -0
- package/lib/util/globals.mjs.map +1 -1
- package/lib/util/helpers.mjs +194 -41
- package/lib/util/helpers.mjs.map +1 -1
- package/lib/util/index.mjs +6 -2
- package/lib/util/isFixedPosition.mjs +12 -0
- package/lib/util/isFixedPosition.mjs.map +1 -0
- package/lib/util/propsFactory.mjs.map +1 -1
- package/lib/util/useRender.mjs +4 -2
- package/lib/util/useRender.mjs.map +1 -1
- package/package.json +109 -42
- package/dist/vuetify.css.map +0 -1
- package/lib/components/VApp/_index.scss +0 -1
- package/lib/components/VAvatar/_index.scss +0 -2
- package/lib/components/VBadge/_index.scss +0 -2
- package/lib/components/VBanner/_index.scss +0 -2
- package/lib/components/VBtn/_index.scss +0 -3
- package/lib/components/VCheckbox/VSimpleCheckbox.mjs +0 -92
- package/lib/components/VCheckbox/VSimpleCheckbox.mjs.map +0 -1
- package/lib/components/VCheckbox/VSimpleCheckbox.sass +0 -16
- package/lib/components/VDataTable/VSimpleTable.mjs +0 -48
- package/lib/components/VDataTable/VSimpleTable.mjs.map +0 -1
- package/lib/components/VDataTable/VSimpleTable.sass +0 -179
- package/lib/components/VDivider/_index.scss +0 -2
- package/lib/components/VExpansionPanel/VExpansionPanelContent.mjs +0 -47
- package/lib/components/VExpansionPanel/VExpansionPanelContent.mjs.map +0 -1
- package/lib/components/VExpansionPanel/VExpansionPanelHeader.mjs +0 -112
- package/lib/components/VExpansionPanel/VExpansionPanelHeader.mjs.map +0 -1
- package/lib/components/VFooter/_index.scss +0 -2
- package/lib/components/VGrid/_index.scss +0 -2
- package/lib/components/VIcon/_index.scss +0 -2
- package/lib/components/VImg/_index.scss +0 -2
- package/lib/components/VLayout/_index.scss +0 -1
- package/lib/components/VList/VListGroup.sass +0 -111
- package/lib/components/VList/VListItemGroup.mjs +0 -41
- package/lib/components/VList/VListItemGroup.mjs.map +0 -1
- package/lib/components/VList/VListItemGroup.sass +0 -5
- package/lib/components/VList/_mixins.sass +0 -18
- package/lib/components/VMain/_index.scss +0 -2
- package/lib/components/VNavigationDrawer/_index.scss +0 -2
- package/lib/components/VParallax/_variables.scss +0 -4
- package/lib/components/VRadioGroup/VRadio.mjs +0 -179
- package/lib/components/VRadioGroup/VRadio.mjs.map +0 -1
- package/lib/components/VRadioGroup/VRadio.sass +0 -25
- package/lib/components/VRangeSlider/VRangeSlider.sass +0 -19
- package/lib/components/VResponsive/_index.scss +0 -1
- package/lib/components/VSelect/VSelectList.mjs +0 -251
- package/lib/components/VSelect/VSelectList.mjs.map +0 -1
- package/lib/components/VSheet/_index.scss +0 -2
- package/lib/components/VSlideGroup/VSlideItem.mjs +0 -14
- package/lib/components/VSlideGroup/VSlideItem.mjs.map +0 -1
- package/lib/components/VSubheader/VSubheader.mjs +0 -31
- package/lib/components/VSubheader/VSubheader.mjs.map +0 -1
- package/lib/components/VSubheader/VSubheader.sass +0 -15
- package/lib/components/VSubheader/_variables.scss +0 -6
- package/lib/components/VSubheader/index.mjs +0 -4
- package/lib/components/VSubheader/index.mjs.map +0 -1
- package/lib/components/VSystemBar/_index.scss +0 -2
- package/lib/components/VTabs/VTabItem.mjs +0 -23
- package/lib/components/VTabs/VTabItem.mjs.map +0 -1
- package/lib/components/VTabs/VTabsBar.mjs +0 -86
- package/lib/components/VTabs/VTabsBar.mjs.map +0 -1
- package/lib/components/VTabs/VTabsItems.mjs +0 -37
- package/lib/components/VTabs/VTabsItems.mjs.map +0 -1
- package/lib/components/VTabs/VTabsSlider.mjs +0 -20
- package/lib/components/VTabs/VTabsSlider.mjs.map +0 -1
- package/lib/components/VTextField/_mixins.sass +0 -18
- package/lib/components/VToolbar/_index.scss +0 -2
- package/lib/entry.mjs +0 -4
- package/lib/entry.mjs.map +0 -1
- package/lib/globals.d.mjs +0 -2
- package/lib/globals.d.mjs.map +0 -1
- package/lib/mixins/activatable/index.mjs +0 -196
- package/lib/mixins/activatable/index.mjs.map +0 -1
- package/lib/mixins/applicationable/index.mjs +0 -72
- package/lib/mixins/applicationable/index.mjs.map +0 -1
- package/lib/mixins/binds-attrs/index.mjs +0 -42
- package/lib/mixins/binds-attrs/index.mjs.map +0 -1
- package/lib/mixins/bootable/index.mjs +0 -54
- package/lib/mixins/bootable/index.mjs.map +0 -1
- package/lib/mixins/button-group/index.mjs +0 -28
- package/lib/mixins/button-group/index.mjs.map +0 -1
- package/lib/mixins/colorable/index.mjs +0 -78
- package/lib/mixins/colorable/index.mjs.map +0 -1
- package/lib/mixins/comparable/index.mjs +0 -15
- package/lib/mixins/comparable/index.mjs.map +0 -1
- package/lib/mixins/dependent/index.mjs +0 -73
- package/lib/mixins/dependent/index.mjs.map +0 -1
- package/lib/mixins/detachable/index.mjs +0 -128
- package/lib/mixins/detachable/index.mjs.map +0 -1
- package/lib/mixins/elevatable/index.mjs +0 -26
- package/lib/mixins/elevatable/index.mjs.map +0 -1
- package/lib/mixins/filterable/index.mjs +0 -16
- package/lib/mixins/filterable/index.mjs.map +0 -1
- package/lib/mixins/intersectable/index.mjs +0 -53
- package/lib/mixins/intersectable/index.mjs.map +0 -1
- package/lib/mixins/loadable/index.mjs +0 -45
- package/lib/mixins/loadable/index.mjs.map +0 -1
- package/lib/mixins/localable/index.mjs +0 -17
- package/lib/mixins/localable/index.mjs.map +0 -1
- package/lib/mixins/menuable/index.mjs +0 -361
- package/lib/mixins/menuable/index.mjs.map +0 -1
- package/lib/mixins/mobile/index.mjs +0 -50
- package/lib/mixins/mobile/index.mjs.map +0 -1
- package/lib/mixins/overlayable/index.mjs +0 -201
- package/lib/mixins/overlayable/index.mjs.map +0 -1
- package/lib/mixins/picker/index.mjs +0 -75
- package/lib/mixins/picker/index.mjs.map +0 -1
- package/lib/mixins/picker-button/index.mjs +0 -35
- package/lib/mixins/picker-button/index.mjs.map +0 -1
- package/lib/mixins/proxyable/index.mjs +0 -50
- package/lib/mixins/proxyable/index.mjs.map +0 -1
- package/lib/mixins/returnable/index.mjs +0 -36
- package/lib/mixins/returnable/index.mjs.map +0 -1
- package/lib/mixins/rippleable/index.mjs +0 -35
- package/lib/mixins/rippleable/index.mjs.map +0 -1
- package/lib/mixins/roundable/index.mjs +0 -37
- package/lib/mixins/roundable/index.mjs.map +0 -1
- package/lib/mixins/routable/index.mjs +0 -146
- package/lib/mixins/routable/index.mjs.map +0 -1
- package/lib/mixins/selectable/index.mjs +0 -167
- package/lib/mixins/selectable/index.mjs.map +0 -1
- package/lib/mixins/stackable/index.mjs +0 -55
- package/lib/mixins/stackable/index.mjs.map +0 -1
- package/lib/mixins/themeable/index.mjs +0 -111
- package/lib/mixins/themeable/index.mjs.map +0 -1
- package/lib/mixins/toggleable/index.mjs +0 -40
- package/lib/mixins/toggleable/index.mjs.map +0 -1
- package/lib/mixins/transitionable/index.mjs +0 -13
- package/lib/mixins/transitionable/index.mjs.map +0 -1
- package/lib/mixins/translatable/index.mjs +0 -59
- package/lib/mixins/translatable/index.mjs.map +0 -1
- package/lib/mixins/validatable/index.mjs +0 -263
- package/lib/mixins/validatable/index.mjs.map +0 -1
- package/lib/services/application/index.mjs +0 -44
- package/lib/services/application/index.mjs.map +0 -1
- package/lib/services/breakpoint/index.mjs +0 -151
- package/lib/services/breakpoint/index.mjs.map +0 -1
- package/lib/services/index.mjs +0 -10
- package/lib/services/index.mjs.map +0 -1
- package/lib/services/lang/index.mjs +0 -69
- package/lib/services/lang/index.mjs.map +0 -1
- package/lib/services/service/index.mjs +0 -8
- package/lib/services/service/index.mjs.map +0 -1
- package/lib/styles/components/_index.sass +0 -1
- package/lib/styles/components/_selection-controls.sass +0 -119
- package/lib/styles/elements/_code.sass +0 -23
- package/lib/styles/elements/_headings.sass +0 -8
- package/lib/styles/elements/_lists.sass +0 -3
- package/lib/styles/elements/_typography.sass +0 -88
- package/lib/styles/settings/_dark.scss +0 -145
- package/lib/styles/settings/_light.scss +0 -126
- package/lib/styles/settings/_theme.scss +0 -1
- package/lib/styles/styles.sass +0 -2
- package/lib/util/makeProps.mjs +0 -52
- package/lib/util/makeProps.mjs.map +0 -1
- package/lib/util/useDirective.mjs +0 -7
- package/lib/util/useDirective.mjs.map +0 -1
- package/types/.npmignore +0 -2
- package/types/alacarte.d.ts +0 -49
- package/types/colors.d.ts +0 -107
- package/types/index.d.ts +0 -300
- package/types/lib.d.ts +0 -380
- package/types/services/application.d.ts +0 -27
- package/types/services/breakpoint.d.ts +0 -45
- package/types/services/goto.d.ts +0 -31
- package/types/services/icons.d.ts +0 -71
- package/types/services/index.d.ts +0 -16
- package/types/services/lang.d.ts +0 -19
- package/types/services/theme.d.ts +0 -83
|
@@ -1,806 +1,195 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/* eslint-disable */
|
|
1
|
+
import { createTextVNode as _createTextVNode, mergeProps as _mergeProps, createVNode as _createVNode, Fragment as _Fragment } from "vue";
|
|
4
2
|
// Styles
|
|
5
|
-
import "
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import
|
|
14
|
-
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
|
|
19
|
-
import
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
maxHeight: 304
|
|
32
|
-
}; // Types
|
|
33
|
-
|
|
34
|
-
const baseMixins = mixins(VTextField, Comparable, Dependent, Filterable);
|
|
35
|
-
|
|
36
|
-
/* @vue/component */
|
|
37
|
-
export default baseMixins.extend().extend({
|
|
38
|
-
name: 'v-select',
|
|
39
|
-
directives: {
|
|
40
|
-
ClickOutside
|
|
3
|
+
import "./VSelect.css"; // Components
|
|
4
|
+
|
|
5
|
+
import { VChip } from "../VChip/index.mjs";
|
|
6
|
+
import { VDefaultsProvider } from "../VDefaultsProvider/index.mjs";
|
|
7
|
+
import { VList, VListItem } from "../VList/index.mjs";
|
|
8
|
+
import { VMenu } from "../VMenu/index.mjs";
|
|
9
|
+
import { VTextField } from "../VTextField/index.mjs"; // Composables
|
|
10
|
+
|
|
11
|
+
import { makeItemsProps, useItems } from "../../composables/items.mjs";
|
|
12
|
+
import { makeTransitionProps } from "../../composables/transition.mjs";
|
|
13
|
+
import { useForwardRef } from "../../composables/forwardRef.mjs";
|
|
14
|
+
import { useLocale } from "../../composables/locale.mjs";
|
|
15
|
+
import { useProxiedModel } from "../../composables/proxiedModel.mjs"; // Utility
|
|
16
|
+
|
|
17
|
+
import { computed, ref, watch } from 'vue';
|
|
18
|
+
import { genericComponent, propsFactory, useRender, wrapInArray } from "../../util/index.mjs"; // Types
|
|
19
|
+
|
|
20
|
+
export const makeSelectProps = propsFactory({
|
|
21
|
+
chips: Boolean,
|
|
22
|
+
closableChips: Boolean,
|
|
23
|
+
eager: Boolean,
|
|
24
|
+
hideNoData: Boolean,
|
|
25
|
+
hideSelected: Boolean,
|
|
26
|
+
menuIcon: {
|
|
27
|
+
type: String,
|
|
28
|
+
default: '$dropdown'
|
|
41
29
|
},
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
default: '$dropdown'
|
|
46
|
-
},
|
|
47
|
-
attach: {
|
|
48
|
-
type: null,
|
|
49
|
-
default: false
|
|
50
|
-
},
|
|
51
|
-
cacheItems: Boolean,
|
|
52
|
-
chips: Boolean,
|
|
53
|
-
clearable: Boolean,
|
|
54
|
-
deletableChips: Boolean,
|
|
55
|
-
disableLookup: Boolean,
|
|
56
|
-
eager: Boolean,
|
|
57
|
-
hideSelected: Boolean,
|
|
58
|
-
items: {
|
|
59
|
-
type: Array,
|
|
60
|
-
default: () => []
|
|
61
|
-
},
|
|
62
|
-
itemColor: {
|
|
63
|
-
type: String,
|
|
64
|
-
default: 'primary'
|
|
65
|
-
},
|
|
66
|
-
itemDisabled: {
|
|
67
|
-
type: [String, Array, Function],
|
|
68
|
-
default: 'disabled'
|
|
69
|
-
},
|
|
70
|
-
itemText: {
|
|
71
|
-
type: [String, Array, Function],
|
|
72
|
-
default: 'text'
|
|
73
|
-
},
|
|
74
|
-
itemValue: {
|
|
75
|
-
type: [String, Array, Function],
|
|
76
|
-
default: 'value'
|
|
77
|
-
},
|
|
78
|
-
menuProps: {
|
|
79
|
-
type: [String, Array, Object],
|
|
80
|
-
default: () => defaultMenuProps
|
|
81
|
-
},
|
|
82
|
-
multiple: Boolean,
|
|
83
|
-
openOnClear: Boolean,
|
|
84
|
-
returnObject: Boolean,
|
|
85
|
-
smallChips: Boolean
|
|
30
|
+
modelValue: {
|
|
31
|
+
type: [Number, String, Array],
|
|
32
|
+
default: () => []
|
|
86
33
|
},
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
menuIsBooted: false,
|
|
92
|
-
isMenuActive: false,
|
|
93
|
-
lastItem: 20,
|
|
94
|
-
// As long as a value is defined, show it
|
|
95
|
-
// Otherwise, check if multiple
|
|
96
|
-
// to determine which default to provide
|
|
97
|
-
lazyValue: this.value !== undefined ? this.value : this.multiple ? [] : undefined,
|
|
98
|
-
selectedIndex: -1,
|
|
99
|
-
selectedItems: [],
|
|
100
|
-
keyboardLookupPrefix: '',
|
|
101
|
-
keyboardLookupLastTime: 0
|
|
102
|
-
};
|
|
34
|
+
multiple: Boolean,
|
|
35
|
+
noDataText: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: '$vuetify.noDataText'
|
|
103
38
|
},
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
'v-select': true,
|
|
114
|
-
'v-select--chips': this.hasChips,
|
|
115
|
-
'v-select--chips--small': this.smallChips,
|
|
116
|
-
'v-select--is-menu-active': this.isMenuActive,
|
|
117
|
-
'v-select--is-multi': this.multiple
|
|
118
|
-
};
|
|
119
|
-
},
|
|
120
|
-
|
|
121
|
-
/* Used by other components to overwrite */
|
|
122
|
-
computedItems() {
|
|
123
|
-
return this.allItems;
|
|
124
|
-
},
|
|
125
|
-
|
|
126
|
-
computedOwns() {
|
|
127
|
-
return "list-".concat(this._uid);
|
|
128
|
-
},
|
|
129
|
-
|
|
130
|
-
computedCounterValue() {
|
|
131
|
-
const value = this.multiple ? this.selectedItems : (this.getText(this.selectedItems[0]) || '').toString();
|
|
132
|
-
|
|
133
|
-
if (typeof this.counterValue === 'function') {
|
|
134
|
-
return this.counterValue(value);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
return value.length;
|
|
138
|
-
},
|
|
139
|
-
|
|
140
|
-
directives() {
|
|
141
|
-
return this.isFocused ? [{
|
|
142
|
-
name: 'click-outside',
|
|
143
|
-
value: {
|
|
144
|
-
handler: this.blur,
|
|
145
|
-
closeConditional: this.closeConditional,
|
|
146
|
-
include: () => this.getOpenDependentElements()
|
|
147
|
-
}
|
|
148
|
-
}] : undefined;
|
|
149
|
-
},
|
|
150
|
-
|
|
151
|
-
dynamicHeight() {
|
|
152
|
-
return 'auto';
|
|
153
|
-
},
|
|
154
|
-
|
|
155
|
-
hasChips() {
|
|
156
|
-
return this.chips || this.smallChips;
|
|
157
|
-
},
|
|
158
|
-
|
|
159
|
-
hasSlot() {
|
|
160
|
-
return Boolean(this.hasChips || this.$scopedSlots.selection);
|
|
161
|
-
},
|
|
162
|
-
|
|
163
|
-
isDirty() {
|
|
164
|
-
return this.selectedItems.length > 0;
|
|
165
|
-
},
|
|
166
|
-
|
|
167
|
-
listData() {
|
|
168
|
-
const scopeId = this.$vnode && this.$vnode.context.$options._scopeId;
|
|
169
|
-
const attrs = scopeId ? {
|
|
170
|
-
[scopeId]: true
|
|
171
|
-
} : {};
|
|
172
|
-
return {
|
|
173
|
-
attrs: { ...attrs,
|
|
174
|
-
id: this.computedOwns
|
|
175
|
-
},
|
|
176
|
-
props: {
|
|
177
|
-
action: this.multiple,
|
|
178
|
-
color: this.itemColor,
|
|
179
|
-
dense: this.dense,
|
|
180
|
-
hideSelected: this.hideSelected,
|
|
181
|
-
items: this.virtualizedItems,
|
|
182
|
-
itemDisabled: this.itemDisabled,
|
|
183
|
-
itemText: this.itemText,
|
|
184
|
-
itemValue: this.itemValue,
|
|
185
|
-
noDataText: this.$vuetify.lang.t(this.noDataText),
|
|
186
|
-
selectedItems: this.selectedItems
|
|
187
|
-
},
|
|
188
|
-
on: {
|
|
189
|
-
select: this.selectItem
|
|
190
|
-
},
|
|
191
|
-
scopedSlots: {
|
|
192
|
-
item: this.$scopedSlots.item
|
|
193
|
-
}
|
|
194
|
-
};
|
|
195
|
-
},
|
|
196
|
-
|
|
197
|
-
staticList() {
|
|
198
|
-
if (this.$slots['no-data'] || this.$slots['prepend-item'] || this.$slots['append-item']) {
|
|
199
|
-
consoleError('assert: staticList should not be called if slots are used');
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
return this.$createElement(VSelectList, this.listData);
|
|
203
|
-
},
|
|
204
|
-
|
|
205
|
-
virtualizedItems() {
|
|
206
|
-
return this.$_menuProps.auto ? this.computedItems : this.computedItems.slice(0, this.lastItem);
|
|
207
|
-
},
|
|
208
|
-
|
|
209
|
-
menuCanShow: () => true,
|
|
210
|
-
|
|
211
|
-
$_menuProps() {
|
|
212
|
-
let normalisedProps = typeof this.menuProps === 'string' ? this.menuProps.split(',') : this.menuProps;
|
|
213
|
-
|
|
214
|
-
if (Array.isArray(normalisedProps)) {
|
|
215
|
-
normalisedProps = normalisedProps.reduce((acc, p) => {
|
|
216
|
-
acc[p.trim()] = true;
|
|
217
|
-
return acc;
|
|
218
|
-
}, {});
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
return { ...defaultMenuProps,
|
|
222
|
-
eager: this.eager,
|
|
223
|
-
value: this.menuCanShow && this.isMenuActive,
|
|
224
|
-
nudgeBottom: normalisedProps.offsetY ? 1 : 0,
|
|
225
|
-
// convert to int
|
|
226
|
-
...normalisedProps
|
|
227
|
-
};
|
|
228
|
-
}
|
|
229
|
-
|
|
39
|
+
openOnClear: Boolean,
|
|
40
|
+
...makeItemsProps()
|
|
41
|
+
}, 'select');
|
|
42
|
+
export const VSelect = genericComponent()({
|
|
43
|
+
name: 'VSelect',
|
|
44
|
+
props: { ...makeSelectProps(),
|
|
45
|
+
...makeTransitionProps({
|
|
46
|
+
transition: 'scale-transition'
|
|
47
|
+
})
|
|
230
48
|
},
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
this.initialValue = val;
|
|
234
|
-
this.setSelectedItems();
|
|
235
|
-
},
|
|
236
|
-
|
|
237
|
-
isMenuActive(val) {
|
|
238
|
-
window.setTimeout(() => this.onMenuActiveChange(val));
|
|
239
|
-
},
|
|
240
|
-
|
|
241
|
-
items: {
|
|
242
|
-
immediate: true,
|
|
243
|
-
|
|
244
|
-
handler(val) {
|
|
245
|
-
if (this.cacheItems) {
|
|
246
|
-
// Breaks vue-test-utils if
|
|
247
|
-
// this isn't calculated
|
|
248
|
-
// on the next tick
|
|
249
|
-
this.$nextTick(() => {
|
|
250
|
-
this.cachedItems = this.filterDuplicates(this.cachedItems.concat(val));
|
|
251
|
-
});
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
this.setSelectedItems();
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
}
|
|
49
|
+
emits: {
|
|
50
|
+
'update:modelValue': val => true
|
|
258
51
|
},
|
|
259
|
-
methods: {
|
|
260
|
-
/** @public */
|
|
261
|
-
blur(e) {
|
|
262
|
-
VTextField.options.methods.blur.call(this, e);
|
|
263
|
-
this.isMenuActive = false;
|
|
264
|
-
this.isFocused = false;
|
|
265
|
-
this.selectedIndex = -1;
|
|
266
|
-
this.setMenuIndex(-1);
|
|
267
|
-
},
|
|
268
|
-
|
|
269
|
-
/** @public */
|
|
270
|
-
activateMenu() {
|
|
271
|
-
if (!this.isInteractive || this.isMenuActive) return;
|
|
272
|
-
this.isMenuActive = true;
|
|
273
|
-
},
|
|
274
|
-
|
|
275
|
-
clearableCallback() {
|
|
276
|
-
this.setValue(this.multiple ? [] : null);
|
|
277
|
-
this.setMenuIndex(-1);
|
|
278
|
-
this.$nextTick(() => this.$refs.input && this.$refs.input.focus());
|
|
279
|
-
if (this.openOnClear) this.isMenuActive = true;
|
|
280
|
-
},
|
|
281
|
-
|
|
282
|
-
closeConditional(e) {
|
|
283
|
-
if (!this.isMenuActive) return true;
|
|
284
|
-
return !this._isDestroyed && ( // Click originates from outside the menu content
|
|
285
|
-
// Multiple selects don't close when an item is clicked
|
|
286
|
-
!this.getContent() || !this.getContent().contains(e.target)) && // Click originates from outside the element
|
|
287
|
-
this.$el && !this.$el.contains(e.target) && e.target !== this.$el;
|
|
288
|
-
},
|
|
289
|
-
|
|
290
|
-
filterDuplicates(arr) {
|
|
291
|
-
const uniqueValues = new Map();
|
|
292
|
-
|
|
293
|
-
for (let index = 0; index < arr.length; ++index) {
|
|
294
|
-
const item = arr[index]; // Do not deduplicate headers or dividers (#12517)
|
|
295
|
-
|
|
296
|
-
if (item.header || item.divider) {
|
|
297
|
-
uniqueValues.set(item, item);
|
|
298
|
-
continue;
|
|
299
|
-
}
|
|
300
52
|
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
attrs: {
|
|
324
|
-
tabindex: -1
|
|
325
|
-
},
|
|
326
|
-
props: {
|
|
327
|
-
close: this.deletableChips && isInteractive,
|
|
328
|
-
disabled: isDisabled,
|
|
329
|
-
inputValue: index === this.selectedIndex,
|
|
330
|
-
small: this.smallChips
|
|
331
|
-
},
|
|
332
|
-
on: {
|
|
333
|
-
click: e => {
|
|
334
|
-
if (!isInteractive) return;
|
|
335
|
-
e.stopPropagation();
|
|
336
|
-
this.selectedIndex = index;
|
|
337
|
-
},
|
|
338
|
-
'click:close': () => this.onChipInput(item)
|
|
339
|
-
},
|
|
340
|
-
key: JSON.stringify(this.getValue(item))
|
|
341
|
-
}, this.getText(item));
|
|
342
|
-
},
|
|
343
|
-
|
|
344
|
-
genCommaSelection(item, index, last) {
|
|
345
|
-
const color = index === this.selectedIndex && this.computedColor;
|
|
346
|
-
const isDisabled = this.isDisabled || this.getDisabled(item);
|
|
347
|
-
return this.$createElement('div', this.setTextColor(color, {
|
|
348
|
-
staticClass: 'v-select__selection v-select__selection--comma',
|
|
349
|
-
class: {
|
|
350
|
-
'v-select__selection--disabled': isDisabled
|
|
351
|
-
},
|
|
352
|
-
key: JSON.stringify(this.getValue(item))
|
|
353
|
-
}), "".concat(this.getText(item)).concat(last ? '' : ', '));
|
|
354
|
-
},
|
|
355
|
-
|
|
356
|
-
genDefaultSlot() {
|
|
357
|
-
const selections = this.genSelections();
|
|
358
|
-
const input = this.genInput(); // If the return is an empty array
|
|
359
|
-
// push the input
|
|
360
|
-
|
|
361
|
-
if (Array.isArray(selections)) {
|
|
362
|
-
selections.push(input); // Otherwise push it into children
|
|
363
|
-
} else {
|
|
364
|
-
selections.children = selections.children || [];
|
|
365
|
-
selections.children.push(input);
|
|
53
|
+
setup(props, _ref) {
|
|
54
|
+
let {
|
|
55
|
+
slots
|
|
56
|
+
} = _ref;
|
|
57
|
+
const {
|
|
58
|
+
t
|
|
59
|
+
} = useLocale();
|
|
60
|
+
const vTextFieldRef = ref();
|
|
61
|
+
const activator = ref();
|
|
62
|
+
const menu = ref(false);
|
|
63
|
+
const {
|
|
64
|
+
items
|
|
65
|
+
} = useItems(props);
|
|
66
|
+
const model = useProxiedModel(props, 'modelValue', [], v => wrapInArray(v), v => props.multiple ? v : v[0]);
|
|
67
|
+
const selections = computed(() => items.value.filter(item => model.value.includes(item.value)));
|
|
68
|
+
const selected = computed(() => selections.value.map(selection => selection.value));
|
|
69
|
+
|
|
70
|
+
function onClear(e) {
|
|
71
|
+
model.value = [];
|
|
72
|
+
|
|
73
|
+
if (props.openOnClear) {
|
|
74
|
+
menu.value = true;
|
|
366
75
|
}
|
|
76
|
+
}
|
|
367
77
|
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
},
|
|
373
|
-
|
|
374
|
-
genIcon(type, cb, extraData) {
|
|
375
|
-
const icon = VInput.options.methods.genIcon.call(this, type, cb, extraData);
|
|
78
|
+
function onClickControl() {
|
|
79
|
+
if (props.hideNoData && !items.value.length) return;
|
|
80
|
+
menu.value = true;
|
|
81
|
+
}
|
|
376
82
|
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
attrs: {
|
|
381
|
-
tabindex: icon.children[0].componentOptions.listeners && '-1',
|
|
382
|
-
'aria-hidden': 'true',
|
|
383
|
-
'aria-label': undefined
|
|
384
|
-
}
|
|
385
|
-
});
|
|
83
|
+
function onKeydown(e) {
|
|
84
|
+
if (['Enter', 'ArrowDown', ' '].includes(e.key)) {
|
|
85
|
+
menu.value = true;
|
|
386
86
|
}
|
|
387
87
|
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
genInput() {
|
|
392
|
-
const input = VTextField.options.methods.genInput.call(this);
|
|
393
|
-
delete input.data.attrs.name;
|
|
394
|
-
input.data = mergeData(input.data, {
|
|
395
|
-
domProps: {
|
|
396
|
-
value: null
|
|
397
|
-
},
|
|
398
|
-
attrs: {
|
|
399
|
-
readonly: true,
|
|
400
|
-
type: 'text',
|
|
401
|
-
'aria-readonly': String(this.isReadonly),
|
|
402
|
-
'aria-activedescendant': getObjectValueByPath(this.$refs.menu, 'activeTile.id'),
|
|
403
|
-
autocomplete: getObjectValueByPath(input.data, 'attrs.autocomplete', 'off'),
|
|
404
|
-
placeholder: !this.isDirty && (this.isFocused || !this.hasLabel) ? this.placeholder : undefined
|
|
405
|
-
},
|
|
406
|
-
on: {
|
|
407
|
-
keypress: this.onKeyPress
|
|
408
|
-
}
|
|
409
|
-
});
|
|
410
|
-
return input;
|
|
411
|
-
},
|
|
412
|
-
|
|
413
|
-
genHiddenInput() {
|
|
414
|
-
return this.$createElement('input', {
|
|
415
|
-
domProps: {
|
|
416
|
-
value: this.lazyValue
|
|
417
|
-
},
|
|
418
|
-
attrs: {
|
|
419
|
-
type: 'hidden',
|
|
420
|
-
name: this.attrs$.name
|
|
421
|
-
}
|
|
422
|
-
});
|
|
423
|
-
},
|
|
424
|
-
|
|
425
|
-
genInputSlot() {
|
|
426
|
-
const render = VTextField.options.methods.genInputSlot.call(this);
|
|
427
|
-
render.data.attrs = { ...render.data.attrs,
|
|
428
|
-
role: 'button',
|
|
429
|
-
'aria-haspopup': 'listbox',
|
|
430
|
-
'aria-expanded': String(this.isMenuActive),
|
|
431
|
-
'aria-owns': this.computedOwns
|
|
432
|
-
};
|
|
433
|
-
return render;
|
|
434
|
-
},
|
|
435
|
-
|
|
436
|
-
genList() {
|
|
437
|
-
// If there's no slots, we can use a cached VNode to improve performance
|
|
438
|
-
if (this.$slots['no-data'] || this.$slots['prepend-item'] || this.$slots['append-item']) {
|
|
439
|
-
return this.genListWithSlot();
|
|
440
|
-
} else {
|
|
441
|
-
return this.staticList;
|
|
88
|
+
if (['Escape', 'Tab'].includes(e.key)) {
|
|
89
|
+
menu.value = false;
|
|
442
90
|
}
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
genListWithSlot() {
|
|
446
|
-
const slots = ['prepend-item', 'no-data', 'append-item'].filter(slotName => this.$slots[slotName]).map(slotName => this.$createElement('template', {
|
|
447
|
-
slot: slotName
|
|
448
|
-
}, this.$slots[slotName])); // Requires destructuring due to Vue
|
|
449
|
-
// modifying the `on` property when passed
|
|
450
|
-
// as a referenced object
|
|
451
|
-
|
|
452
|
-
return this.$createElement(VSelectList, { ...this.listData
|
|
453
|
-
}, slots);
|
|
454
|
-
},
|
|
91
|
+
}
|
|
455
92
|
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
// menu covers prepend/append icons
|
|
93
|
+
function select(item) {
|
|
94
|
+
if (props.multiple) {
|
|
95
|
+
const index = selected.value.findIndex(selection => selection === item.value);
|
|
460
96
|
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
this.attach === true || // If bound to a boolean (<v-menu :attach="true">)
|
|
464
|
-
this.attach === 'attach' // If bound as boolean prop in pug (v-menu(attach))
|
|
465
|
-
) {
|
|
466
|
-
props.attach = this.$el;
|
|
97
|
+
if (index === -1) {
|
|
98
|
+
model.value = [...model.value, item.value];
|
|
467
99
|
} else {
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
return this.$createElement(VMenu, {
|
|
472
|
-
attrs: {
|
|
473
|
-
role: undefined
|
|
474
|
-
},
|
|
475
|
-
props,
|
|
476
|
-
on: {
|
|
477
|
-
input: val => {
|
|
478
|
-
this.isMenuActive = val;
|
|
479
|
-
this.isFocused = val;
|
|
480
|
-
},
|
|
481
|
-
scroll: this.onScroll
|
|
482
|
-
},
|
|
483
|
-
ref: 'menu'
|
|
484
|
-
}, [this.genList()]);
|
|
485
|
-
},
|
|
486
|
-
|
|
487
|
-
genSelections() {
|
|
488
|
-
let length = this.selectedItems.length;
|
|
489
|
-
const children = new Array(length);
|
|
490
|
-
let genSelection;
|
|
491
|
-
|
|
492
|
-
if (this.$scopedSlots.selection) {
|
|
493
|
-
genSelection = this.genSlotSelection;
|
|
494
|
-
} else if (this.hasChips) {
|
|
495
|
-
genSelection = this.genChipSelection;
|
|
496
|
-
} else {
|
|
497
|
-
genSelection = this.genCommaSelection;
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
while (length--) {
|
|
501
|
-
children[length] = genSelection(this.selectedItems[length], length, length === children.length - 1);
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
return this.$createElement('div', {
|
|
505
|
-
staticClass: 'v-select__selections'
|
|
506
|
-
}, children);
|
|
507
|
-
},
|
|
508
|
-
|
|
509
|
-
genSlotSelection(item, index) {
|
|
510
|
-
return this.$scopedSlots.selection({
|
|
511
|
-
attrs: {
|
|
512
|
-
class: 'v-chip--select'
|
|
513
|
-
},
|
|
514
|
-
parent: this,
|
|
515
|
-
item,
|
|
516
|
-
index,
|
|
517
|
-
select: e => {
|
|
518
|
-
e.stopPropagation();
|
|
519
|
-
this.selectedIndex = index;
|
|
520
|
-
},
|
|
521
|
-
selected: index === this.selectedIndex,
|
|
522
|
-
disabled: !this.isInteractive
|
|
523
|
-
});
|
|
524
|
-
},
|
|
525
|
-
|
|
526
|
-
getMenuIndex() {
|
|
527
|
-
return this.$refs.menu ? this.$refs.menu.listIndex : -1;
|
|
528
|
-
},
|
|
529
|
-
|
|
530
|
-
getDisabled(item) {
|
|
531
|
-
return getPropertyFromItem(item, this.itemDisabled, false);
|
|
532
|
-
},
|
|
533
|
-
|
|
534
|
-
getText(item) {
|
|
535
|
-
return getPropertyFromItem(item, this.itemText, item);
|
|
536
|
-
},
|
|
537
|
-
|
|
538
|
-
getValue(item) {
|
|
539
|
-
return getPropertyFromItem(item, this.itemValue, this.getText(item));
|
|
540
|
-
},
|
|
541
|
-
|
|
542
|
-
onBlur(e) {
|
|
543
|
-
e && this.$emit('blur', e);
|
|
544
|
-
},
|
|
545
|
-
|
|
546
|
-
onChipInput(item) {
|
|
547
|
-
if (this.multiple) this.selectItem(item);else this.setValue(null); // If all items have been deleted,
|
|
548
|
-
// open `v-menu`
|
|
549
|
-
|
|
550
|
-
if (this.selectedItems.length === 0) {
|
|
551
|
-
this.isMenuActive = true;
|
|
552
|
-
} else {
|
|
553
|
-
this.isMenuActive = false;
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
this.selectedIndex = -1;
|
|
557
|
-
},
|
|
558
|
-
|
|
559
|
-
onClick(e) {
|
|
560
|
-
if (!this.isInteractive) return;
|
|
561
|
-
|
|
562
|
-
if (!this.isAppendInner(e.target)) {
|
|
563
|
-
this.isMenuActive = true;
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
if (!this.isFocused) {
|
|
567
|
-
this.isFocused = true;
|
|
568
|
-
this.$emit('focus');
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
this.$emit('click', e);
|
|
572
|
-
},
|
|
573
|
-
|
|
574
|
-
onEscDown(e) {
|
|
575
|
-
e.preventDefault();
|
|
576
|
-
|
|
577
|
-
if (this.isMenuActive) {
|
|
578
|
-
e.stopPropagation();
|
|
579
|
-
this.isMenuActive = false;
|
|
580
|
-
}
|
|
581
|
-
},
|
|
582
|
-
|
|
583
|
-
onKeyPress(e) {
|
|
584
|
-
if (this.multiple || !this.isInteractive || this.disableLookup) return;
|
|
585
|
-
const KEYBOARD_LOOKUP_THRESHOLD = 1000; // milliseconds
|
|
586
|
-
|
|
587
|
-
const now = performance.now();
|
|
588
|
-
|
|
589
|
-
if (now - this.keyboardLookupLastTime > KEYBOARD_LOOKUP_THRESHOLD) {
|
|
590
|
-
this.keyboardLookupPrefix = '';
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
this.keyboardLookupPrefix += e.key.toLowerCase();
|
|
594
|
-
this.keyboardLookupLastTime = now;
|
|
595
|
-
const index = this.allItems.findIndex(item => {
|
|
596
|
-
const text = (this.getText(item) || '').toString();
|
|
597
|
-
return text.toLowerCase().startsWith(this.keyboardLookupPrefix);
|
|
598
|
-
});
|
|
599
|
-
const item = this.allItems[index];
|
|
600
|
-
|
|
601
|
-
if (index !== -1) {
|
|
602
|
-
this.lastItem = Math.max(this.lastItem, index + 5);
|
|
603
|
-
this.setValue(this.returnObject ? item : this.getValue(item));
|
|
604
|
-
this.$nextTick(() => this.$refs.menu.getTiles());
|
|
605
|
-
setTimeout(() => this.setMenuIndex(index));
|
|
606
|
-
}
|
|
607
|
-
},
|
|
608
|
-
|
|
609
|
-
onKeyDown(e) {
|
|
610
|
-
if (this.isReadonly && e.keyCode !== keyCodes.tab) return;
|
|
611
|
-
const keyCode = e.keyCode;
|
|
612
|
-
const menu = this.$refs.menu; // If enter, space, open menu
|
|
613
|
-
|
|
614
|
-
if ([keyCodes.enter, keyCodes.space].includes(keyCode)) this.activateMenu();
|
|
615
|
-
this.$emit('keydown', e);
|
|
616
|
-
if (!menu) return; // If menu is active, allow default
|
|
617
|
-
// listIndex change from menu
|
|
618
|
-
|
|
619
|
-
if (this.isMenuActive && keyCode !== keyCodes.tab) {
|
|
620
|
-
this.$nextTick(() => {
|
|
621
|
-
menu.changeListIndex(e);
|
|
622
|
-
this.$emit('update:list-index', menu.listIndex);
|
|
623
|
-
});
|
|
624
|
-
} // If menu is not active, up/down/home/end can do
|
|
625
|
-
// one of 2 things. If multiple, opens the
|
|
626
|
-
// menu, if not, will cycle through all
|
|
627
|
-
// available options
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
if (!this.isMenuActive && [keyCodes.up, keyCodes.down, keyCodes.home, keyCodes.end].includes(keyCode)) return this.onUpDown(e); // If escape deactivate the menu
|
|
631
|
-
|
|
632
|
-
if (keyCode === keyCodes.esc) return this.onEscDown(e); // If tab - select item or close menu
|
|
633
|
-
|
|
634
|
-
if (keyCode === keyCodes.tab) return this.onTabDown(e); // If space preventDefault
|
|
635
|
-
|
|
636
|
-
if (keyCode === keyCodes.space) return this.onSpaceDown(e);
|
|
637
|
-
},
|
|
638
|
-
|
|
639
|
-
onMenuActiveChange(val) {
|
|
640
|
-
// If menu is closing and mulitple
|
|
641
|
-
// or menuIndex is already set
|
|
642
|
-
// skip menu index recalculation
|
|
643
|
-
if (this.multiple && !val || this.getMenuIndex() > -1) return;
|
|
644
|
-
const menu = this.$refs.menu;
|
|
645
|
-
if (!menu || !this.isDirty) return; // When menu opens, set index of first active item
|
|
646
|
-
|
|
647
|
-
for (let i = 0; i < menu.tiles.length; i++) {
|
|
648
|
-
if (menu.tiles[i].getAttribute('aria-selected') === 'true') {
|
|
649
|
-
this.setMenuIndex(i);
|
|
650
|
-
break;
|
|
651
|
-
}
|
|
652
|
-
}
|
|
653
|
-
},
|
|
654
|
-
|
|
655
|
-
onMouseUp(e) {
|
|
656
|
-
// eslint-disable-next-line sonarjs/no-collapsible-if
|
|
657
|
-
if (this.hasMouseDown && e.which !== 3 && this.isInteractive) {
|
|
658
|
-
// If append inner is present
|
|
659
|
-
// and the target is itself
|
|
660
|
-
// or inside, toggle menu
|
|
661
|
-
if (this.isAppendInner(e.target)) {
|
|
662
|
-
this.$nextTick(() => this.isMenuActive = !this.isMenuActive);
|
|
100
|
+
const value = [...model.value];
|
|
101
|
+
value.splice(index, 1);
|
|
102
|
+
model.value = value;
|
|
663
103
|
}
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
VTextField.options.methods.onMouseUp.call(this, e);
|
|
667
|
-
},
|
|
668
|
-
|
|
669
|
-
onScroll() {
|
|
670
|
-
if (!this.isMenuActive) {
|
|
671
|
-
requestAnimationFrame(() => this.getContent().scrollTop = 0);
|
|
672
104
|
} else {
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
if (showMoreItems) {
|
|
677
|
-
this.lastItem += 20;
|
|
678
|
-
}
|
|
105
|
+
model.value = [item.value];
|
|
106
|
+
menu.value = false;
|
|
679
107
|
}
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
onSpaceDown(e) {
|
|
683
|
-
e.preventDefault();
|
|
684
|
-
},
|
|
685
|
-
|
|
686
|
-
onTabDown(e) {
|
|
687
|
-
const menu = this.$refs.menu;
|
|
688
|
-
if (!menu) return;
|
|
689
|
-
const activeTile = menu.activeTile; // An item that is selected by
|
|
690
|
-
// menu-index should toggled
|
|
691
|
-
|
|
692
|
-
if (!this.multiple && activeTile && this.isMenuActive) {
|
|
693
|
-
e.preventDefault();
|
|
694
|
-
e.stopPropagation();
|
|
695
|
-
activeTile.click();
|
|
696
|
-
} else {
|
|
697
|
-
// If we make it here,
|
|
698
|
-
// the user has no selected indexes
|
|
699
|
-
// and is probably tabbing out
|
|
700
|
-
this.blur(e);
|
|
701
|
-
}
|
|
702
|
-
},
|
|
703
|
-
|
|
704
|
-
onUpDown(e) {
|
|
705
|
-
const menu = this.$refs.menu;
|
|
706
|
-
if (!menu) return;
|
|
707
|
-
e.preventDefault(); // Multiple selects do not cycle their value
|
|
708
|
-
// when pressing up or down, instead activate
|
|
709
|
-
// the menu
|
|
710
|
-
|
|
711
|
-
if (this.multiple) return this.activateMenu();
|
|
712
|
-
const keyCode = e.keyCode; // Cycle through available values to achieve
|
|
713
|
-
// select native behavior
|
|
714
|
-
|
|
715
|
-
menu.isBooted = true;
|
|
716
|
-
window.requestAnimationFrame(() => {
|
|
717
|
-
menu.getTiles();
|
|
718
|
-
if (!menu.hasClickableTiles) return this.activateMenu();
|
|
719
|
-
|
|
720
|
-
switch (keyCode) {
|
|
721
|
-
case keyCodes.up:
|
|
722
|
-
menu.prevTile();
|
|
723
|
-
break;
|
|
724
|
-
|
|
725
|
-
case keyCodes.down:
|
|
726
|
-
menu.nextTile();
|
|
727
|
-
break;
|
|
728
|
-
|
|
729
|
-
case keyCodes.home:
|
|
730
|
-
menu.firstTile();
|
|
731
|
-
break;
|
|
108
|
+
}
|
|
732
109
|
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
110
|
+
watch(() => vTextFieldRef.value, val => {
|
|
111
|
+
activator.value = val.$el.querySelector('.v-input__control');
|
|
112
|
+
});
|
|
113
|
+
useRender(() => {
|
|
114
|
+
const hasChips = !!(props.chips || slots.chip);
|
|
115
|
+
return _createVNode(VTextField, {
|
|
116
|
+
"ref": vTextFieldRef,
|
|
117
|
+
"class": ['v-select', {
|
|
118
|
+
'v-select--active-menu': menu.value,
|
|
119
|
+
'v-select--chips': !!props.chips,
|
|
120
|
+
[`v-select--${props.multiple ? 'multiple' : 'single'}`]: true
|
|
121
|
+
}],
|
|
122
|
+
"appendInnerIcon": props.menuIcon,
|
|
123
|
+
"readonly": true,
|
|
124
|
+
"onClick:clear": onClear,
|
|
125
|
+
"onClick:input": onClickControl,
|
|
126
|
+
"onClick:control": onClickControl,
|
|
127
|
+
"onBlur": () => menu.value = false,
|
|
128
|
+
"modelValue": model.value.join(', '),
|
|
129
|
+
"onKeydown": onKeydown
|
|
130
|
+
}, { ...slots,
|
|
131
|
+
default: () => {
|
|
132
|
+
var _slots$noData, _slots$noData2;
|
|
133
|
+
|
|
134
|
+
return _createVNode(_Fragment, null, [activator.value && _createVNode(VMenu, {
|
|
135
|
+
"modelValue": menu.value,
|
|
136
|
+
"onUpdate:modelValue": $event => menu.value = $event,
|
|
137
|
+
"activator": activator.value,
|
|
138
|
+
"contentClass": "v-select__content",
|
|
139
|
+
"eager": props.eager,
|
|
140
|
+
"openOnClick": false,
|
|
141
|
+
"transition": props.transition
|
|
142
|
+
}, {
|
|
143
|
+
default: () => [_createVNode(VList, {
|
|
144
|
+
"selected": selected.value,
|
|
145
|
+
"selectStrategy": props.multiple ? 'independent' : 'single-independent'
|
|
146
|
+
}, {
|
|
147
|
+
default: () => [!items.value.length && !props.hideNoData && ((_slots$noData = (_slots$noData2 = slots['no-data']) == null ? void 0 : _slots$noData2.call(slots)) != null ? _slots$noData : _createVNode(VListItem, {
|
|
148
|
+
"title": t(props.noDataText)
|
|
149
|
+
}, null)), items.value.map(item => _createVNode(VListItem, _mergeProps(item, {
|
|
150
|
+
"onMousedown": e => e.preventDefault(),
|
|
151
|
+
"onClick": () => select(item)
|
|
152
|
+
}), null))]
|
|
153
|
+
})]
|
|
154
|
+
}), selections.value.map((selection, index) => {
|
|
155
|
+
function onChipClose(e) {
|
|
156
|
+
e.stopPropagation();
|
|
157
|
+
e.preventDefault();
|
|
158
|
+
select(selection);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
const slotProps = {
|
|
162
|
+
'onClick:close': onChipClose,
|
|
163
|
+
modelValue: true
|
|
164
|
+
};
|
|
165
|
+
return _createVNode("div", {
|
|
166
|
+
"class": "v-select__selection"
|
|
167
|
+
}, [hasChips && _createVNode(VDefaultsProvider, {
|
|
168
|
+
"defaults": {
|
|
169
|
+
VChip: {
|
|
170
|
+
closable: props.closableChips,
|
|
171
|
+
size: 'small',
|
|
172
|
+
text: selection.title
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}, {
|
|
176
|
+
default: () => [slots.chip ? slots.chip({
|
|
177
|
+
props: slotProps,
|
|
178
|
+
selection
|
|
179
|
+
}) : _createVNode(VChip, slotProps, null)]
|
|
180
|
+
}), !hasChips && (slots.selection ? slots.selection({
|
|
181
|
+
selection
|
|
182
|
+
}) : _createVNode("span", {
|
|
183
|
+
"class": "v-select__selection-text"
|
|
184
|
+
}, [selection.title, props.multiple && index < selections.value.length - 1 && _createVNode("span", {
|
|
185
|
+
"class": "v-select__selection-comma"
|
|
186
|
+
}, [_createTextVNode(",")])]))]);
|
|
187
|
+
})]);
|
|
736
188
|
}
|
|
737
|
-
|
|
738
|
-
this.selectItem(this.allItems[this.getMenuIndex()]);
|
|
739
189
|
});
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
selectItem(item) {
|
|
743
|
-
if (!this.multiple) {
|
|
744
|
-
this.setValue(this.returnObject ? item : this.getValue(item));
|
|
745
|
-
this.isMenuActive = false;
|
|
746
|
-
} else {
|
|
747
|
-
const internalValue = (this.internalValue || []).slice();
|
|
748
|
-
const i = this.findExistingIndex(item);
|
|
749
|
-
i !== -1 ? internalValue.splice(i, 1) : internalValue.push(item);
|
|
750
|
-
this.setValue(internalValue.map(i => {
|
|
751
|
-
return this.returnObject ? i : this.getValue(i);
|
|
752
|
-
})); // When selecting multiple
|
|
753
|
-
// adjust menu after each
|
|
754
|
-
// selection
|
|
755
|
-
|
|
756
|
-
this.$nextTick(() => {
|
|
757
|
-
this.$refs.menu && this.$refs.menu.updateDimensions();
|
|
758
|
-
}); // We only need to reset list index for multiple
|
|
759
|
-
// to keep highlight when an item is toggled
|
|
760
|
-
// on and off
|
|
761
|
-
|
|
762
|
-
if (!this.multiple) return;
|
|
763
|
-
const listIndex = this.getMenuIndex();
|
|
764
|
-
this.setMenuIndex(-1); // There is no item to re-highlight
|
|
765
|
-
// when selections are hidden
|
|
766
|
-
|
|
767
|
-
if (this.hideSelected) return;
|
|
768
|
-
this.$nextTick(() => this.setMenuIndex(listIndex));
|
|
769
|
-
}
|
|
770
|
-
},
|
|
771
|
-
|
|
772
|
-
setMenuIndex(index) {
|
|
773
|
-
this.$refs.menu && (this.$refs.menu.listIndex = index);
|
|
774
|
-
},
|
|
775
|
-
|
|
776
|
-
setSelectedItems() {
|
|
777
|
-
const selectedItems = [];
|
|
778
|
-
const values = !this.multiple || !Array.isArray(this.internalValue) ? [this.internalValue] : this.internalValue;
|
|
779
|
-
|
|
780
|
-
for (const value of values) {
|
|
781
|
-
const index = this.allItems.findIndex(v => this.valueComparator(this.getValue(v), this.getValue(value)));
|
|
782
|
-
|
|
783
|
-
if (index > -1) {
|
|
784
|
-
selectedItems.push(this.allItems[index]);
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
this.selectedItems = selectedItems;
|
|
789
|
-
},
|
|
790
|
-
|
|
791
|
-
setValue(value) {
|
|
792
|
-
const oldValue = this.internalValue;
|
|
793
|
-
this.internalValue = value;
|
|
794
|
-
value !== oldValue && this.$emit('change', value);
|
|
795
|
-
},
|
|
796
|
-
|
|
797
|
-
isAppendInner(target) {
|
|
798
|
-
// return true if append inner is present
|
|
799
|
-
// and the target is itself or inside
|
|
800
|
-
const appendInner = this.$refs['append-inner'];
|
|
801
|
-
return appendInner && (appendInner === target || appendInner.contains(target));
|
|
802
|
-
}
|
|
803
|
-
|
|
190
|
+
});
|
|
191
|
+
return useForwardRef({}, vTextFieldRef);
|
|
804
192
|
}
|
|
193
|
+
|
|
805
194
|
});
|
|
806
195
|
//# sourceMappingURL=VSelect.mjs.map
|