@vuetify/nightly 3.0.0-beta.2 → 3.0.0-beta.3
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 +2 -53
- package/dist/json/attributes.json +170 -242
- package/dist/json/tags.json +32 -50
- package/dist/json/web-types.json +596 -570
- package/dist/vuetify.css +338 -356
- package/dist/vuetify.d.ts +5952 -5468
- package/dist/vuetify.esm.js +2272 -2010
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +2271 -2009
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +912 -886
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.mjs +11 -6
- package/lib/components/VAlert/VAlert.mjs.map +1 -1
- package/lib/components/VAlert/VAlertTitle.mjs.map +1 -1
- package/lib/components/VAlert/index.mjs.map +1 -1
- package/lib/components/VApp/VApp.mjs.map +1 -1
- package/lib/components/VApp/index.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBar.mjs +4 -4
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBarNavIcon.mjs +4 -2
- package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBarTitle.mjs +3 -1
- package/lib/components/VAppBar/VAppBarTitle.mjs.map +1 -1
- package/lib/components/VAppBar/index.mjs.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs +31 -41
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.mjs.map +1 -1
- package/lib/components/VAvatar/VAvatar.mjs +3 -2
- package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
- package/lib/components/VAvatar/index.mjs.map +1 -1
- package/lib/components/VBadge/VBadge.css +3 -6
- package/lib/components/VBadge/VBadge.mjs +16 -44
- package/lib/components/VBadge/VBadge.mjs.map +1 -1
- package/lib/components/VBadge/VBadge.sass +2 -4
- package/lib/components/VBadge/_variables.scss +1 -2
- package/lib/components/VBadge/index.mjs.map +1 -1
- package/lib/components/VBanner/VBanner.mjs +10 -5
- package/lib/components/VBanner/VBanner.mjs.map +1 -1
- package/lib/components/VBanner/VBannerActions.mjs.map +1 -1
- package/lib/components/VBanner/VBannerAvatar.mjs.map +1 -1
- package/lib/components/VBanner/VBannerIcon.mjs.map +1 -1
- package/lib/components/VBanner/VBannerText.mjs.map +1 -1
- package/lib/components/VBanner/index.mjs.map +1 -1
- package/lib/components/VBottomNavigation/VBottomNavigation.css +1 -1
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs +1 -1
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
- package/lib/components/VBottomNavigation/VBottomNavigation.sass +1 -1
- package/lib/components/VBottomNavigation/index.mjs.map +1 -1
- package/lib/components/VBottomSheet/VBottomSheet.mjs.map +1 -1
- package/lib/components/VBottomSheet/index.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +3 -2
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/index.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/shared.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.css +18 -9
- package/lib/components/VBtn/VBtn.mjs +19 -10
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.sass +5 -2
- package/lib/components/VBtn/_variables.scss +0 -1
- package/lib/components/VBtn/index.mjs.map +1 -1
- package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -1
- package/lib/components/VBtnGroup/index.mjs.map +1 -1
- package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
- package/lib/components/VBtnToggle/index.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendar.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendarCategory.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendarDaily.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendarMonthly.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendarWeekly.mjs.map +1 -1
- package/lib/components/VCalendar/index.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/calendar-base.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/calendar-with-events.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/calendar-with-intervals.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/mouse.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/times.mjs.map +1 -1
- package/lib/components/VCalendar/modes/column.mjs.map +1 -1
- package/lib/components/VCalendar/modes/common.mjs.map +1 -1
- package/lib/components/VCalendar/modes/index.mjs.map +1 -1
- package/lib/components/VCalendar/modes/stack.mjs.map +1 -1
- package/lib/components/VCalendar/util/events.mjs.map +1 -1
- package/lib/components/VCalendar/util/parser.mjs.map +1 -1
- package/lib/components/VCalendar/util/props.mjs.map +1 -1
- package/lib/components/VCalendar/util/timestamp.mjs.map +1 -1
- package/lib/components/VCard/VCard.css +8 -7
- package/lib/components/VCard/VCard.mjs +11 -6
- package/lib/components/VCard/VCard.mjs.map +1 -1
- package/lib/components/VCard/VCardActions.mjs.map +1 -1
- package/lib/components/VCard/VCardAvatar.mjs.map +1 -1
- package/lib/components/VCard/VCardContent.mjs.map +1 -1
- package/lib/components/VCard/VCardHeader.mjs.map +1 -1
- package/lib/components/VCard/VCardHeaderText.mjs.map +1 -1
- package/lib/components/VCard/VCardImg.mjs.map +1 -1
- package/lib/components/VCard/VCardSubtitle.mjs.map +1 -1
- package/lib/components/VCard/VCardText.mjs.map +1 -1
- package/lib/components/VCard/VCardTitle.mjs.map +1 -1
- package/lib/components/VCard/index.mjs.map +1 -1
- package/lib/components/VCarousel/VCarousel.mjs +3 -2
- package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
- package/lib/components/VCarousel/index.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckbox.mjs +5 -4
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/index.mjs.map +1 -1
- package/lib/components/VChip/VChip.mjs +5 -4
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/index.mjs.map +1 -1
- package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
- package/lib/components/VChipGroup/index.mjs.map +1 -1
- package/lib/components/VCode/index.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerSwatches.mjs.map +1 -1
- package/lib/components/VColorPicker/index.mjs.map +1 -1
- package/lib/components/VColorPicker/util/index.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.mjs +46 -52
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.mjs.map +1 -1
- package/lib/components/VCounter/VCounter.mjs.map +1 -1
- package/lib/components/VCounter/index.mjs.map +1 -1
- package/lib/components/VData/VData.mjs.map +1 -1
- package/lib/components/VData/index.mjs.map +1 -1
- package/lib/components/VDataIterator/VDataFooter.mjs.map +1 -1
- package/lib/components/VDataIterator/VDataIterator.mjs.map +1 -1
- package/lib/components/VDataIterator/index.mjs.map +1 -1
- package/lib/components/VDataTable/MobileRow.mjs.map +1 -1
- package/lib/components/VDataTable/Row.mjs.map +1 -1
- package/lib/components/VDataTable/RowGroup.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableHeader.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaderDesktop.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaderMobile.mjs.map +1 -1
- package/lib/components/VDataTable/VEditDialog.mjs.map +1 -1
- package/lib/components/VDataTable/VVirtualTable.mjs.map +1 -1
- package/lib/components/VDataTable/index.mjs.map +1 -1
- package/lib/components/VDataTable/mixins/header.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerDateTable.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonthTable.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerTitle.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerYears.mjs.map +1 -1
- package/lib/components/VDatePicker/index.mjs.map +1 -1
- package/lib/components/VDatePicker/mixins/date-picker-table.mjs.map +1 -1
- package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs.map +1 -1
- package/lib/components/VDatePicker/util/eventHelpers.mjs.map +1 -1
- package/lib/components/VDatePicker/util/index.mjs.map +1 -1
- package/lib/components/VDatePicker/util/isDateAllowed.mjs.map +1 -1
- package/lib/components/VDatePicker/util/monthChange.mjs.map +1 -1
- package/lib/components/VDatePicker/util/pad.mjs.map +1 -1
- package/lib/components/VDatePicker/util/sanitizeDateString.mjs.map +1 -1
- package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs.map +1 -1
- package/lib/components/VDefaultsProvider/index.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.css +0 -1
- package/lib/components/VDialog/VDialog.mjs +8 -3
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.sass +0 -1
- package/lib/components/VDialog/_variables.scss +0 -1
- package/lib/components/VDialog/index.mjs.map +1 -1
- package/lib/components/VDivider/VDivider.mjs.map +1 -1
- package/lib/components/VDivider/index.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanel.css +8 -7
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +4 -3
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.mjs.map +1 -1
- package/lib/components/VField/VField.mjs +7 -5
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VFieldLabel.mjs.map +1 -1
- package/lib/components/VField/index.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.mjs +3 -2
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/index.mjs.map +1 -1
- package/lib/components/VFooter/VFooter.mjs +1 -1
- package/lib/components/VFooter/VFooter.mjs.map +1 -1
- package/lib/components/VFooter/index.mjs.map +1 -1
- package/lib/components/VForm/VForm.mjs.map +1 -1
- package/lib/components/VForm/index.mjs.map +1 -1
- package/lib/components/VGrid/VCol.mjs.map +1 -1
- package/lib/components/VGrid/VContainer.mjs.map +1 -1
- package/lib/components/VGrid/VRow.mjs.map +1 -1
- package/lib/components/VGrid/VSpacer.mjs.map +1 -1
- package/lib/components/VGrid/index.mjs.map +1 -1
- package/lib/components/VHover/VHover.mjs.map +1 -1
- package/lib/components/VHover/index.mjs.map +1 -1
- package/lib/components/VIcon/VIcon.mjs +2 -4
- package/lib/components/VIcon/VIcon.mjs.map +1 -1
- package/lib/components/VIcon/index.mjs.map +1 -1
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VImg/index.mjs.map +1 -1
- package/lib/components/VInput/VInput.mjs +4 -3
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/index.mjs.map +1 -1
- package/lib/components/VItemGroup/VItem.mjs.map +1 -1
- package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
- package/lib/components/VItemGroup/index.mjs.map +1 -1
- package/lib/components/VKbd/index.mjs.map +1 -1
- package/lib/components/VLabel/VLabel.mjs.map +1 -1
- package/lib/components/VLabel/index.mjs.map +1 -1
- package/lib/components/VLayout/VLayout.mjs.map +1 -1
- package/lib/components/VLayout/VLayoutItem.mjs +1 -1
- package/lib/components/VLayout/VLayoutItem.mjs.map +1 -1
- package/lib/components/VLayout/index.mjs.map +1 -1
- package/lib/components/VLazy/VLazy.mjs.map +1 -1
- package/lib/components/VLazy/index.mjs.map +1 -1
- package/lib/components/VList/VList.css +0 -6
- package/lib/components/VList/VList.mjs +47 -31
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VList.sass +0 -1
- package/lib/components/VList/VListChildren.mjs +41 -3
- package/lib/components/VList/VListChildren.mjs.map +1 -1
- package/lib/components/VList/VListGroup.mjs +4 -3
- package/lib/components/VList/VListGroup.mjs.map +1 -1
- package/lib/components/VList/VListImg.mjs.map +1 -1
- package/lib/components/VList/VListItem.css +8 -7
- package/lib/components/VList/VListItem.mjs +6 -5
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItemAction.mjs.map +1 -1
- package/lib/components/VList/VListItemAvatar.mjs.map +1 -1
- package/lib/components/VList/VListItemHeader.mjs.map +1 -1
- package/lib/components/VList/VListItemIcon.mjs.map +1 -1
- package/lib/components/VList/VListItemMedia.mjs.map +1 -1
- package/lib/components/VList/VListItemSubtitle.mjs.map +1 -1
- package/lib/components/VList/VListItemTitle.mjs.map +1 -1
- package/lib/components/VList/VListSubheader.mjs +3 -3
- package/lib/components/VList/VListSubheader.mjs.map +1 -1
- package/lib/components/VList/_variables.scss +0 -1
- package/lib/components/VList/index.mjs.map +1 -1
- package/lib/components/VList/list.mjs.map +1 -1
- package/lib/components/VLocaleProvider/VLocaleProvider.mjs.map +1 -1
- package/lib/components/VLocaleProvider/index.mjs.map +1 -1
- package/lib/components/VMain/VMain.mjs.map +1 -1
- package/lib/components/VMain/index.mjs.map +1 -1
- package/lib/components/VMenu/VMenu.mjs +6 -2
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/_variables.scss +0 -1
- package/lib/components/VMenu/index.mjs.map +1 -1
- package/lib/components/VMenu/shared.mjs.map +1 -1
- package/lib/components/VMessages/VMessages.mjs.map +1 -1
- package/lib/components/VMessages/index.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +7 -7
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/index.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/touch.mjs.map +1 -1
- package/lib/components/VNoSsr/VNoSsr.mjs.map +1 -1
- package/lib/components/VNoSsr/index.mjs.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
- package/lib/components/VOtpInput/index.mjs.map +1 -1
- package/lib/components/VOverflowBtn/VOverflowBtn.mjs.map +1 -1
- package/lib/components/VOverflowBtn/index.mjs.map +1 -1
- package/lib/components/VOverlay/VOverlay.css +0 -1
- package/lib/components/VOverlay/VOverlay.mjs +45 -21
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/VOverlay.sass +0 -1
- package/lib/components/VOverlay/_variables.scss +0 -1
- package/lib/components/VOverlay/index.mjs.map +1 -1
- package/lib/components/VOverlay/{positionStrategies.mjs → locationStrategies.mjs} +32 -33
- package/lib/components/VOverlay/locationStrategies.mjs.map +1 -0
- package/lib/components/VOverlay/requestNewFrame.mjs.map +1 -1
- package/lib/components/VOverlay/scrollStrategies.mjs +2 -2
- package/lib/components/VOverlay/scrollStrategies.mjs.map +1 -1
- package/lib/components/VOverlay/useActivator.mjs +7 -1
- package/lib/components/VOverlay/useActivator.mjs.map +1 -1
- package/lib/components/VOverlay/util/point.mjs.map +1 -1
- package/lib/components/VPagination/VPagination.mjs +6 -5
- package/lib/components/VPagination/VPagination.mjs.map +1 -1
- package/lib/components/VPagination/index.mjs.map +1 -1
- package/lib/components/VParallax/VParallax.mjs.map +1 -1
- package/lib/components/VParallax/index.mjs.map +1 -1
- package/lib/components/VPicker/VPicker.mjs.map +1 -1
- package/lib/components/VPicker/index.mjs.map +1 -1
- package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
- package/lib/components/VProgressCircular/index.mjs.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
- package/lib/components/VProgressLinear/index.mjs.map +1 -1
- package/lib/components/VRadio/VRadio.mjs +5 -3
- package/lib/components/VRadio/VRadio.mjs.map +1 -1
- package/lib/components/VRadio/index.mjs.map +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.mjs +5 -3
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.mjs.map +1 -1
- package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
- package/lib/components/VRangeSlider/index.mjs.map +1 -1
- package/lib/components/VRating/VRating.mjs +4 -3
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VRating/index.mjs.map +1 -1
- package/lib/components/VResponsive/VResponsive.mjs.map +1 -1
- package/lib/components/VResponsive/index.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.mjs +40 -27
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.mjs.map +1 -1
- package/lib/components/VSelectionControl/VSelectionControl.mjs +7 -6
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControl/index.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +4 -3
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/index.mjs.map +1 -1
- package/lib/components/VSheet/VSheet.mjs +7 -3
- package/lib/components/VSheet/VSheet.mjs.map +1 -1
- package/lib/components/VSheet/index.mjs.map +1 -1
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
- package/lib/components/VSkeletonLoader/index.mjs.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroup.mjs +4 -3
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroupItem.mjs.map +1 -1
- package/lib/components/VSlideGroup/helpers.mjs.map +1 -1
- package/lib/components/VSlideGroup/index.mjs.map +1 -1
- package/lib/components/VSlider/VSlider.mjs.map +1 -1
- package/lib/components/VSlider/VSliderThumb.mjs.map +1 -1
- package/lib/components/VSlider/VSliderTrack.mjs +2 -1
- package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
- package/lib/components/VSlider/index.mjs.map +1 -1
- package/lib/components/VSlider/slider.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.css +0 -18
- package/lib/components/VSnackbar/VSnackbar.mjs +19 -12
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.sass +0 -18
- package/lib/components/VSnackbar/index.mjs.map +1 -1
- package/lib/components/VSparkline/VSparkline.mjs.map +1 -1
- package/lib/components/VSparkline/helpers/core.mjs.map +1 -1
- package/lib/components/VSparkline/helpers/math.mjs.map +1 -1
- package/lib/components/VSparkline/helpers/path.mjs.map +1 -1
- package/lib/components/VSparkline/index.mjs.map +1 -1
- package/lib/components/VSpeedDial/VSpeedDial.mjs.map +1 -1
- package/lib/components/VSpeedDial/index.mjs.map +1 -1
- package/lib/components/VStepper/VStepper.mjs.map +1 -1
- package/lib/components/VStepper/VStepperContent.mjs.map +1 -1
- package/lib/components/VStepper/VStepperStep.mjs.map +1 -1
- package/lib/components/VStepper/index.mjs.map +1 -1
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/index.mjs.map +1 -1
- package/lib/components/VSystemBar/VSystemBar.mjs +1 -1
- package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
- package/lib/components/VSystemBar/index.mjs.map +1 -1
- package/lib/components/VTable/VTable.mjs.map +1 -1
- package/lib/components/VTable/index.mjs.map +1 -1
- package/lib/components/VTabs/VTab.css +1 -1
- package/lib/components/VTabs/VTab.mjs +5 -4
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTabs/VTab.sass +1 -1
- package/lib/components/VTabs/VTabs.css +8 -9
- package/lib/components/VTabs/VTabs.mjs.map +1 -1
- package/lib/components/VTabs/VTabs.sass +4 -5
- package/lib/components/VTabs/index.mjs.map +1 -1
- package/lib/components/VTabs/shared.mjs.map +1 -1
- package/lib/components/VTextField/VTextField.mjs +3 -2
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/index.mjs.map +1 -1
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/index.mjs.map +1 -1
- package/lib/components/VThemeProvider/VThemeProvider.mjs.map +1 -1
- package/lib/components/VThemeProvider/index.mjs.map +1 -1
- package/lib/components/VTimePicker/SelectingTimes.mjs.map +1 -1
- package/lib/components/VTimePicker/VTimePicker.mjs.map +1 -1
- package/lib/components/VTimePicker/VTimePickerClock.mjs.map +1 -1
- package/lib/components/VTimePicker/VTimePickerTitle.mjs.map +1 -1
- package/lib/components/VTimePicker/index.mjs.map +1 -1
- package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
- package/lib/components/VTimeline/VTimelineDivider.mjs +3 -2
- package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -1
- package/lib/components/VTimeline/VTimelineItem.mjs +3 -2
- package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
- package/lib/components/VTimeline/index.mjs.map +1 -1
- package/lib/components/VTimeline/shared.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbar.mjs +16 -9
- package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbarItems.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbarTitle.mjs.map +1 -1
- package/lib/components/VToolbar/index.mjs.map +1 -1
- package/lib/components/VTooltip/VTooltip.mjs +12 -7
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VTooltip/index.mjs.map +1 -1
- package/lib/components/VTreeview/VTreeview.mjs.map +1 -1
- package/lib/components/VTreeview/VTreeviewNode.mjs.map +1 -1
- package/lib/components/VTreeview/index.mjs.map +1 -1
- package/lib/components/VTreeview/util/filterTreeItems.mjs.map +1 -1
- package/lib/components/VValidation/VValidation.mjs.map +1 -1
- package/lib/components/VValidation/index.mjs.map +1 -1
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
- package/lib/components/VVirtualScroll/index.mjs.map +1 -1
- package/lib/components/VWindow/VWindow.mjs +2 -2
- package/lib/components/VWindow/VWindow.mjs.map +1 -1
- package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
- package/lib/components/VWindow/index.mjs.map +1 -1
- package/lib/components/index.d.ts +3689 -3205
- package/lib/components/index.mjs.map +1 -1
- package/lib/components/transitions/createTransition.mjs.map +1 -1
- package/lib/components/transitions/dialog-transition.mjs +61 -8
- package/lib/components/transitions/dialog-transition.mjs.map +1 -1
- package/lib/components/transitions/expand-transition.mjs.map +1 -1
- package/lib/components/transitions/index.mjs.map +1 -1
- package/lib/composables/border.mjs.map +1 -1
- package/lib/composables/color.mjs.map +1 -1
- package/lib/composables/defaults.mjs.map +1 -1
- package/lib/composables/delay.mjs.map +1 -1
- package/lib/composables/density.mjs.map +1 -1
- package/lib/composables/dimensions.mjs.map +1 -1
- package/lib/composables/display.mjs.map +1 -1
- package/lib/composables/elevation.mjs.map +1 -1
- package/lib/composables/filter.mjs +33 -13
- package/lib/composables/filter.mjs.map +1 -1
- package/lib/composables/focus.mjs.map +1 -1
- package/lib/composables/form.mjs.map +1 -1
- package/lib/composables/forwardRef.mjs.map +1 -1
- package/lib/composables/group.mjs.map +1 -1
- package/lib/composables/hydration.mjs.map +1 -1
- package/lib/composables/icons.mjs +15 -3
- package/lib/composables/icons.mjs.map +1 -1
- package/lib/composables/index.mjs.map +1 -1
- package/lib/composables/intersectionObserver.mjs.map +1 -1
- package/lib/composables/items.mjs +39 -11
- package/lib/composables/items.mjs.map +1 -1
- package/lib/composables/layout.mjs +3 -3
- package/lib/composables/layout.mjs.map +1 -1
- package/lib/composables/lazy.mjs.map +1 -1
- package/lib/composables/loader.mjs.map +1 -1
- package/lib/composables/locale.mjs +11 -8
- package/lib/composables/locale.mjs.map +1 -1
- package/lib/composables/location.mjs +70 -0
- package/lib/composables/location.mjs.map +1 -0
- package/lib/composables/mutationObserver.mjs.map +1 -1
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/composables/nested/openStrategies.mjs.map +1 -1
- package/lib/composables/nested/selectStrategies.mjs.map +1 -1
- package/lib/composables/position.mjs +4 -25
- package/lib/composables/position.mjs.map +1 -1
- package/lib/composables/proxiedModel.mjs.map +1 -1
- package/lib/composables/refs.mjs.map +1 -1
- package/lib/composables/resizeObserver.mjs.map +1 -1
- package/lib/composables/rounded.mjs.map +1 -1
- package/lib/composables/router.mjs +25 -23
- package/lib/composables/router.mjs.map +1 -1
- package/lib/composables/rtl.mjs.map +1 -1
- package/lib/composables/scopeId.mjs +11 -0
- package/lib/composables/scopeId.mjs.map +1 -0
- package/lib/composables/scroll.mjs.map +1 -1
- package/lib/composables/selectLink.mjs.map +1 -1
- package/lib/composables/size.mjs.map +1 -1
- package/lib/composables/ssrBoot.mjs.map +1 -1
- package/lib/composables/stack.mjs +23 -22
- package/lib/composables/stack.mjs.map +1 -1
- package/lib/composables/tag.mjs.map +1 -1
- package/lib/composables/teleport.mjs.map +1 -1
- package/lib/composables/theme.mjs +89 -92
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/composables/toggleScope.mjs +18 -0
- package/lib/composables/toggleScope.mjs.map +1 -0
- package/lib/composables/touch.mjs.map +1 -1
- package/lib/composables/transition.mjs.map +1 -1
- package/lib/composables/validation.mjs +1 -0
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/composables/variant.mjs.map +1 -1
- package/lib/directives/click-outside/index.mjs.map +1 -1
- package/lib/directives/color/index.mjs.map +1 -1
- package/lib/directives/index.mjs.map +1 -1
- package/lib/directives/intersect/index.mjs.map +1 -1
- package/lib/directives/mutate/index.mjs.map +1 -1
- package/lib/directives/resize/index.mjs.map +1 -1
- package/lib/directives/ripple/index.mjs.map +1 -1
- package/lib/directives/scroll/index.mjs.map +1 -1
- package/lib/directives/touch/index.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +10 -22
- package/lib/framework.mjs.map +1 -1
- package/lib/iconsets/fa-svg.d.ts +2 -1
- package/lib/iconsets/fa-svg.mjs.map +1 -1
- package/lib/iconsets/fa.d.ts +2 -1
- package/lib/iconsets/fa.mjs.map +1 -1
- package/lib/iconsets/fa4.d.ts +2 -1
- package/lib/iconsets/fa4.mjs.map +1 -1
- package/lib/iconsets/md.d.ts +2 -1
- package/lib/iconsets/md.mjs.map +1 -1
- package/lib/iconsets/mdi-svg.d.ts +2 -1
- package/lib/iconsets/mdi-svg.mjs.map +1 -1
- package/lib/iconsets/mdi.d.ts +2 -1
- package/lib/iconsets/mdi.mjs.map +1 -1
- package/lib/index.d.ts +81 -80
- package/lib/locale/adapters/vue-i18n.mjs.map +1 -1
- package/lib/locale/adapters/vue-intl.mjs.map +1 -1
- package/lib/locale/af.mjs.map +1 -1
- package/lib/locale/ar.mjs.map +1 -1
- package/lib/locale/az.mjs.map +1 -1
- package/lib/locale/bg.mjs.map +1 -1
- package/lib/locale/ca.mjs.map +1 -1
- package/lib/locale/ckb.mjs.map +1 -1
- package/lib/locale/cs.mjs.map +1 -1
- package/lib/locale/da.mjs.map +1 -1
- package/lib/locale/de.mjs.map +1 -1
- package/lib/locale/el.mjs.map +1 -1
- package/lib/locale/en.mjs.map +1 -1
- package/lib/locale/es.mjs.map +1 -1
- package/lib/locale/et.mjs.map +1 -1
- package/lib/locale/fa.mjs.map +1 -1
- package/lib/locale/fi.mjs.map +1 -1
- package/lib/locale/fr.mjs.map +1 -1
- package/lib/locale/he.mjs.map +1 -1
- package/lib/locale/hr.mjs.map +1 -1
- package/lib/locale/hu.mjs.map +1 -1
- package/lib/locale/id.mjs.map +1 -1
- package/lib/locale/index.mjs.map +1 -1
- package/lib/locale/it.mjs.map +1 -1
- package/lib/locale/ja.mjs.map +1 -1
- package/lib/locale/ko.mjs.map +1 -1
- package/lib/locale/lt.mjs.map +1 -1
- package/lib/locale/lv.mjs.map +1 -1
- package/lib/locale/nl.mjs.map +1 -1
- package/lib/locale/no.mjs.map +1 -1
- package/lib/locale/pl.mjs.map +1 -1
- package/lib/locale/pt.mjs.map +1 -1
- package/lib/locale/ro.mjs.map +1 -1
- package/lib/locale/ru.mjs.map +1 -1
- package/lib/locale/sk.mjs.map +1 -1
- package/lib/locale/sl.mjs.map +1 -1
- package/lib/locale/sr-Cyrl.mjs.map +1 -1
- package/lib/locale/sr-Latn.mjs.map +1 -1
- package/lib/locale/sv.mjs.map +1 -1
- package/lib/locale/th.mjs.map +1 -1
- package/lib/locale/tr.mjs.map +1 -1
- package/lib/locale/uk.mjs.map +1 -1
- package/lib/locale/vi.mjs.map +1 -1
- package/lib/locale/zh-Hans.mjs.map +1 -1
- package/lib/locale/zh-Hant.mjs.map +1 -1
- package/lib/presets/default/index.mjs.map +1 -1
- package/lib/services/goto/easing-patterns.mjs.map +1 -1
- package/lib/services/goto/index.mjs.map +1 -1
- package/lib/services/goto/util.mjs.map +1 -1
- package/lib/styles/tools/_states.sass +9 -2
- package/lib/styles/tools/_utilities.sass +1 -1
- package/lib/{components/VOverlay/util → util}/anchor.mjs +0 -0
- package/lib/util/anchor.mjs.map +1 -0
- package/lib/util/animation.mjs.map +1 -1
- package/lib/util/box.mjs.map +1 -1
- package/lib/util/color/APCA.mjs.map +1 -1
- package/lib/util/color/transformCIELAB.mjs.map +1 -1
- package/lib/util/color/transformSRGB.mjs.map +1 -1
- package/lib/util/colorUtils.mjs.map +1 -1
- package/lib/util/colors.mjs.map +1 -1
- package/lib/util/console.mjs.map +1 -1
- package/lib/util/createSimpleFunctional.mjs.map +1 -1
- package/lib/util/dateTimeUtils.mjs.map +1 -1
- package/lib/util/defineComponent.mjs.map +1 -1
- package/lib/util/dom.mjs.map +1 -1
- package/lib/util/easing.mjs.map +1 -1
- package/lib/util/getCurrentInstance.mjs.map +1 -1
- package/lib/util/getScrollParent.mjs.map +1 -1
- package/lib/util/globals.mjs +0 -3
- package/lib/util/globals.mjs.map +1 -1
- package/lib/util/helpers.mjs +1 -1
- package/lib/util/helpers.mjs.map +1 -1
- package/lib/util/index.mjs +1 -0
- package/lib/util/index.mjs.map +1 -1
- package/lib/util/isFixedPosition.mjs.map +1 -1
- package/lib/util/propsFactory.mjs.map +1 -1
- package/lib/util/useRender.mjs.map +1 -1
- package/package.json +22 -22
- package/lib/components/VOverlay/positionStrategies.mjs.map +0 -1
- package/lib/components/VOverlay/util/anchor.mjs.map +0 -1
- package/lib/composables/overlay.mjs +0 -34
- package/lib/composables/overlay.mjs.map +0 -1
package/dist/vuetify.min.js
CHANGED
|
@@ -1,204 +1,201 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.0.0-beta.
|
|
2
|
+
* Vuetify v3.0.0-beta.3
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Vuetify={},e.Vue)}(this,(function(e,t){"use strict"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
function l(e){let[t,l]=e.split(" ")
|
|
8
|
+
return l||(l="top"===t||"bottom"===t?"start":"start"===t||"end"===t?"top":"center"),{side:t,align:l}}function a(e){return{side:{center:"center",top:"bottom",bottom:"top",start:"end",end:"start"}[e.side],align:e.align}}function n(e,t){var l,a
|
|
9
|
+
const{side:n,align:o}=e,{direction:r}=window.getComputedStyle(t),i="ltr"===r?{start:"left",end:"right"}:{start:"right",end:"left"}
|
|
10
|
+
return(null!=(l=i[n])?l:n)+" "+(null!=(a=i[o])?a:o)}class o{constructor(e){let{x:t,y:l,width:a,height:n}=e
|
|
11
|
+
this.x=t,this.y=l,this.width=a,this.height=n}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function r(e){const t=e.getBoundingClientRect(),l=getComputedStyle(e),a=l.transform
|
|
12
|
+
if(a){let n,r,i,s,u
|
|
13
|
+
if(a.startsWith("matrix3d("))n=a.slice(9,-1).split(/, /),r=+n[0],i=+n[5],s=+n[12],u=+n[13]
|
|
14
|
+
else{if(!a.startsWith("matrix("))return new o(t)
|
|
15
|
+
n=a.slice(7,-1).split(/, /),r=+n[0],i=+n[3],s=+n[4],u=+n[5]}const c=l.transformOrigin,d=t.x-s-(1-r)*parseFloat(c),v=t.y-u-(1-i)*parseFloat(c.slice(c.indexOf(" ")+1)),p=r?t.width/r:e.offsetWidth,f=i?t.height/i:e.offsetHeight
|
|
16
|
+
return new o({x:d,y:v,width:p,height:f})}return new o(t)}function i(e,t,l){if(l&&(t={_isVue:!0,$parent:l,$options:t}),t){if(t.$_alreadyWarned=t.$_alreadyWarned||[],t.$_alreadyWarned.includes(e))return
|
|
14
17
|
t.$_alreadyWarned.push(e)}return`[Vuetify] ${e}`+(t?function(e){if(e._isVue&&e.$parent){const t=[]
|
|
15
18
|
let l=0
|
|
16
19
|
for(;e;){if(t.length>0){const a=t[t.length-1]
|
|
17
20
|
if(a.constructor===e.constructor){l++,e=e.$parent
|
|
18
|
-
continue}l>0&&(t[t.length-1]=[a,l],l=0)}t.push(e),e=e.$parent}return"\n\nfound in\n\n"+t.map(((e,t)=>`${0===t?"---\x3e ":" ".repeat(5+2*t)}${Array.isArray(e)?`${
|
|
19
|
-
null!=a&&console.warn(a)}function
|
|
20
|
-
null!=a&&console.error(a)}const
|
|
21
|
-
function
|
|
21
|
+
continue}l>0&&(t[t.length-1]=[a,l],l=0)}t.push(e),e=e.$parent}return"\n\nfound in\n\n"+t.map(((e,t)=>`${0===t?"---\x3e ":" ".repeat(5+2*t)}${Array.isArray(e)?`${d(e[0])}... (${e[1]} recursive calls)`:d(e)}`)).join("\n")}return`\n\n(found in ${d(e)})`}(t):"")}function s(e,t,l){const a=i(e,t,l)
|
|
22
|
+
null!=a&&console.warn(a)}function u(e,t,l){const a=i(e,t,l)
|
|
23
|
+
null!=a&&console.error(a)}const c=/(?:^|[-_])(\w)/g
|
|
24
|
+
function d(e,t){if(e.$root===e)return"<Root>"
|
|
22
25
|
const l="function"==typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e||{}
|
|
23
26
|
let a=l.name||l._componentTag
|
|
24
27
|
const n=l.__file
|
|
25
28
|
if(!a&&n){const e=n.match(/([^/\\]+)\.vue$/)
|
|
26
|
-
a=null==e?void 0:e[1]}return(a?`<${o=a,o.replace(
|
|
27
|
-
var o}function
|
|
29
|
+
a=null==e?void 0:e[1]}return(a?`<${o=a,o.replace(c,(e=>e.toUpperCase())).replace(/[-_]/g,"")}>`:"<Anonymous>")+(n&&!1!==t?` at ${n}`:"")
|
|
30
|
+
var o}function v(e,t,l){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,l)}function p(e,t,l){return function(e,t,l){if(t.set)t.set.call(e,l)
|
|
28
31
|
else{if(!t.writable)throw new TypeError("attempted to set read only private field")
|
|
29
|
-
t.value=l}}(e,
|
|
30
|
-
return t.value}(e,
|
|
31
|
-
return t.get(e)}function
|
|
32
|
+
t.value=l}}(e,m(e,t,"set"),l),l}function f(e,t){return function(e,t){if(t.get)return t.get.call(e)
|
|
33
|
+
return t.value}(e,m(e,t,"get"))}function m(e,t,l){if(!t.has(e))throw new TypeError("attempted to "+l+" private field on non-instance")
|
|
34
|
+
return t.get(e)}function g(e,t,l){const a=t.length-1
|
|
32
35
|
if(a<0)return void 0===e?l:e
|
|
33
36
|
for(let n=0;n<a;n++){if(null==e)return l
|
|
34
|
-
e=e[t[n]]}return null==e||void 0===e[t[a]]?l:e[t[a]]}function
|
|
37
|
+
e=e[t[n]]}return null==e||void 0===e[t[a]]?l:e[t[a]]}function h(e,t){if(e===t)return!0
|
|
35
38
|
if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime())return!1
|
|
36
39
|
if(e!==Object(e)||t!==Object(t))return!1
|
|
37
40
|
const l=Object.keys(e)
|
|
38
|
-
return l.length===Object.keys(t).length&&l.every((l=>
|
|
39
|
-
if(e!==Object(e))return
|
|
40
|
-
if("string"==typeof t)return
|
|
41
|
-
if(Array.isArray(t))return
|
|
41
|
+
return l.length===Object.keys(t).length&&l.every((l=>h(e[l],t[l])))}function b(e,t,l){return null!=e&&t&&"string"==typeof t?void 0!==e[t]?e[t]:g(e,(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),l):l}function y(e,t,l){if(null==t)return void 0===e?l:e
|
|
42
|
+
if(e!==Object(e))return l
|
|
43
|
+
if("string"==typeof t)return b(e,t,l)
|
|
44
|
+
if(Array.isArray(t))return g(e,t,l)
|
|
42
45
|
if("function"!=typeof t)return l
|
|
43
46
|
const a=t(e,l)
|
|
44
|
-
return void 0===a?l:a}function
|
|
45
|
-
return Array.from({length:e},((e,l)=>t+l))}function
|
|
46
|
-
return null==e||""===e?void 0:isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function
|
|
47
|
-
function
|
|
47
|
+
return void 0===a?l:a}function V(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0
|
|
48
|
+
return Array.from({length:e},((e,l)=>t+l))}function S(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px"
|
|
49
|
+
return null==e||""===e?void 0:isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function w(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}const x=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),C=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"})
|
|
50
|
+
function k(e){return Object.keys(e)}function N(e,t){const l=Object.create(null),a=Object.create(null)
|
|
48
51
|
for(const n in e)t.some((e=>e instanceof RegExp?e.test(n):e===n))?l[n]=e[n]:a[n]=e[n]
|
|
49
|
-
return[l,a]}function
|
|
50
|
-
return Math.max(t,Math.min(l,e))}function
|
|
51
|
-
return e+l.repeat(Math.max(0,t-e.length))}function
|
|
52
|
+
return[l,a]}function _(e){return N(e,["class","style","id",/^data-/])}function B(e){return null==e?[]:Array.isArray(e)?e:[e]}function I(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1
|
|
53
|
+
return Math.max(t,Math.min(l,e))}function $(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0"
|
|
54
|
+
return e+l.repeat(Math.max(0,t-e.length))}function E(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3
|
|
52
55
|
if(e<t)return`${e} B`
|
|
53
56
|
const l=1024===t?["Ki","Mi","Gi"]:["k","M","G"]
|
|
54
57
|
let a=-1
|
|
55
58
|
for(;Math.abs(e)>=t&&a<l.length-1;)e/=t,++a
|
|
56
|
-
return`${e.toFixed(1)} ${l[a]}B`}function
|
|
59
|
+
return`${e.toFixed(1)} ${l[a]}B`}function A(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0
|
|
57
60
|
const a={}
|
|
58
61
|
for(const t in e)a[t]=e[t]
|
|
59
62
|
for(const n in t){const o=e[n],r=t[n]
|
|
60
|
-
|
|
61
|
-
return e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase()}function
|
|
62
|
-
if(Array.isArray(t))return t.map((t=>
|
|
63
|
-
if(Array.isArray(t.children))return t.children.map((t=>
|
|
63
|
+
w(o)&&w(r)?a[n]=A(o,r,l):Array.isArray(o)&&Array.isArray(r)&&l?a[n]=l(o,r):a[n]=r}return a}function R(){return R._uid++}function L(e){return e.map((e=>e.type===t.Fragment?L(e.children):e)).flat()}function T(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:""
|
|
64
|
+
return e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase()}function z(e,t){if(!t||"object"!=typeof t)return[]
|
|
65
|
+
if(Array.isArray(t))return t.map((t=>z(e,t))).flat(1)
|
|
66
|
+
if(Array.isArray(t.children))return t.children.map((t=>z(e,t))).flat(1)
|
|
64
67
|
if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component]
|
|
65
|
-
if(t.component.subTree)return
|
|
66
|
-
var
|
|
67
|
-
class
|
|
68
|
-
function
|
|
69
|
-
for(let n=0;n<3;++n)t[n]=Math.round(255*
|
|
70
|
-
return(t[0]<<16)+(t[1]<<8)+(t[2]<<0)}function
|
|
68
|
+
if(t.component.subTree)return z(e,t.component.subTree).flat(1)}return[]}R._uid=0
|
|
69
|
+
var M=new WeakMap,P=new WeakMap
|
|
70
|
+
class O{constructor(e){v(this,M,{writable:!0,value:[]}),v(this,P,{writable:!0,value:0}),this.size=e}push(e){f(this,M)[f(this,P)]=e,p(this,P,(f(this,P)+1)%this.size)}values(){return f(this,M).slice(f(this,P)).concat(f(this,M).slice(0,f(this,P)))}}const F=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],D=e=>e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055,j=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],H=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4
|
|
71
|
+
function W(e){const t=Array(3),l=D,a=F
|
|
72
|
+
for(let n=0;n<3;++n)t[n]=Math.round(255*I(l(a[n][0]*e[0]+a[n][1]*e[1]+a[n][2]*e[2])))
|
|
73
|
+
return(t[0]<<16)+(t[1]<<8)+(t[2]<<0)}function U(e){const t=[0,0,0],l=H,a=j,n=l((e>>16&255)/255),o=l((e>>8&255)/255),r=l((e>>0&255)/255)
|
|
71
74
|
for(let e=0;e<3;++e)t[e]=a[e][0]*n+a[e][1]*o+a[e][2]*r
|
|
72
|
-
return t}const
|
|
73
|
-
function
|
|
74
|
-
return[116*l-16,500*(t(e[0]/.95047)-l),200*(l-t(e[2]/1.08883))]}function
|
|
75
|
-
return[.95047*t(l+e[1]/500),t(l),1.08883*t(l-e[2]/200)]}function
|
|
75
|
+
return t}const X=.20689655172413793,Y=e=>e>X**3?Math.cbrt(e):e/(3*X**2)+4/29,G=e=>e>X?e**3:3*X**2*(e-4/29)
|
|
76
|
+
function q(e){const t=Y,l=t(e[1])
|
|
77
|
+
return[116*l-16,500*(t(e[0]/.95047)-l),200*(l-t(e[2]/1.08883))]}function K(e){const t=G,l=(e[0]+16)/116
|
|
78
|
+
return[.95047*t(l+e[1]/500),t(l),1.08883*t(l-e[2]/200)]}function Z(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function J(e){let t
|
|
76
79
|
if("number"==typeof e)t=e
|
|
77
80
|
else{if("string"!=typeof e)throw new TypeError(`Colors can only be numbers or strings, recieved ${null==e?e:e.constructor.name} instead`)
|
|
78
81
|
{let l=e.startsWith("#")?e.substring(1):e
|
|
79
|
-
3===l.length&&(l=l.split("").map((e=>e+e)).join("")),6!==l.length&&
|
|
80
|
-
return t.length<6&&(t="0".repeat(6-t.length)+t),"#"+t}function
|
|
82
|
+
3===l.length&&(l=l.split("").map((e=>e+e)).join("")),6!==l.length&&s(`'${e}' is not a valid rgb color`),t=parseInt(l,16)}}return t<0?(s(`Colors cannot be negative: '${e}'`),t=0):(t>16777215||isNaN(t))&&(s(`'${e}' is not a valid rgb color`),t=16777215),t}function Q(e){let t=e.toString(16)
|
|
83
|
+
return t.length<6&&(t="0".repeat(6-t.length)+t),"#"+t}function ee(e){const{h:t,s:l,v:a,a:n}=e,o=e=>{const n=(e+t/60)%6
|
|
81
84
|
return a-a*l*Math.max(Math.min(n,4-n,1),0)},r=[o(5),o(3),o(1)].map((e=>Math.round(255*e)))
|
|
82
|
-
return{r:r[0],g:r[1],b:r[2],a:n}}function
|
|
85
|
+
return{r:r[0],g:r[1],b:r[2],a:n}}function te(e){if(!e)return{h:0,s:1,v:1,a:1}
|
|
83
86
|
const t=e.r/255,l=e.g/255,a=e.b/255,n=Math.max(t,l,a),o=Math.min(t,l,a)
|
|
84
87
|
let r=0
|
|
85
88
|
n!==o&&(n===t?r=60*(0+(l-a)/(n-o)):n===l?r=60*(2+(a-t)/(n-o)):n===a&&(r=60*(4+(t-l)/(n-o)))),r<0&&(r+=360)
|
|
86
89
|
const i=[r,0===n?0:(n-o)/n,n]
|
|
87
|
-
return{h:i[0],s:i[1],v:i[2],a:e.a}}function
|
|
88
|
-
return{h:t,s:1===o||0===o?0:(a-o)/Math.min(o,1-o),l:o,a:n}}function
|
|
89
|
-
return{h:t,s:0===o?0:2-2*a/o,v:o,a:n}}function
|
|
90
|
+
return{h:i[0],s:i[1],v:i[2],a:e.a}}function le(e){const{h:t,s:l,v:a,a:n}=e,o=a-a*l/2
|
|
91
|
+
return{h:t,s:1===o||0===o?0:(a-o)/Math.min(o,1-o),l:o,a:n}}function ae(e){const{h:t,s:l,l:a,a:n}=e,o=a+l*Math.min(a,1-a)
|
|
92
|
+
return{h:t,s:0===o?0:2-2*a/o,v:o,a:n}}function ne(e){return function(e){return`rgba(${e.r}, ${e.g}, ${e.b}, ${e.a})`}(ee(e))}function oe(e){return te(function(e){const t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1
|
|
90
93
|
const l=[]
|
|
91
94
|
let a=0
|
|
92
95
|
for(;a<e.length;)l.push(e.substr(a,t)),a+=t
|
|
93
96
|
return l}(e.slice(1),2).map((e=>parseInt(e,16)))
|
|
94
|
-
return{r:t[0],g:t[1],b:t[2],a:Math.round(t[3]/255*100)/100}}(e))}function
|
|
97
|
+
return{r:t[0],g:t[1],b:t[2],a:Math.round(t[3]/255*100)/100}}(e))}function re(e){return function(e){const t=e=>{const t=Math.round(e).toString(16)
|
|
95
98
|
return("00".substr(0,2-t.length)+t).toUpperCase()}
|
|
96
|
-
return`#${[t(e.r),t(e.g),t(e.b),t(Math.round(255*e.a))].join("")}`}(
|
|
97
|
-
return{r:(16711680&t)>>16,g:(65280&t)>>8,b:255&t}}function
|
|
98
|
-
return l[0]=l[0]+10*t,
|
|
99
|
-
return l[0]=l[0]-10*t,
|
|
100
|
-
return(Math.max(l,a)+.05)/(Math.min(l,a)+.05)}const
|
|
101
|
-
function
|
|
99
|
+
return`#${[t(e.r),t(e.g),t(e.b),t(Math.round(255*e.a))].join("")}`}(ee(e))}function ie(e){const t=J(e)
|
|
100
|
+
return{r:(16711680&t)>>16,g:(65280&t)>>8,b:255&t}}function se(e,t){const l=q(U(e))
|
|
101
|
+
return l[0]=l[0]+10*t,W(K(l))}function ue(e,t){const l=q(U(e))
|
|
102
|
+
return l[0]=l[0]-10*t,W(K(l))}function ce(e){return U(J(e))[1]}function de(e,t){const l=ce(e),a=ce(t)
|
|
103
|
+
return(Math.max(l,a)+.05)/(Math.min(l,a)+.05)}const ve=Symbol.for("vuetify:defaults")
|
|
104
|
+
function pe(e){return t.ref(null!=e?e:{})}function fe(){const e=t.inject(ve)
|
|
102
105
|
if(!e)throw new Error("[Vuetify] Could not find defaults instance")
|
|
103
|
-
return e}function
|
|
104
|
-
let i=
|
|
106
|
+
return e}function me(e,l){const a=fe(),n=t.ref(e),o=t.computed((()=>{const e=t.unref(null==l?void 0:l.scoped),o=t.unref(null==l?void 0:l.reset),r=t.unref(null==l?void 0:l.root)
|
|
107
|
+
let i=A(n.value,{prev:a.value})
|
|
105
108
|
if(e)return i
|
|
106
109
|
if(o||r){const e=Number(o||1/0)
|
|
107
110
|
for(let t=0;t<=e&&i.prev;t++)i=i.prev
|
|
108
|
-
return i}return
|
|
109
|
-
return t.provide(
|
|
110
|
-
return(null==(l=e.props)?void 0:l.hasOwnProperty(t))||(null==(a=e.props)?void 0:a.hasOwnProperty(
|
|
111
|
-
if(e._setup=null!=(l=e._setup)?l:e.setup,!e.name)return
|
|
112
|
-
e._setup&&(e.props=null!=(a=e.props)?a:{},e.props._as=String,e.setup=function(l,a){const n=t.getCurrentInstance(),o=
|
|
111
|
+
return i}return A(i.prev,i)}))
|
|
112
|
+
return t.provide(ve,o),o}function ge(e,t){var l,a
|
|
113
|
+
return(null==(l=e.props)?void 0:l.hasOwnProperty(t))||(null==(a=e.props)?void 0:a.hasOwnProperty(T(t)))}const he=function(e){var l,a
|
|
114
|
+
if(e._setup=null!=(l=e._setup)?l:e.setup,!e.name)return s("The component is missing an explicit name, unable to generate default prop value"),e
|
|
115
|
+
e._setup&&(e.props=null!=(a=e.props)?a:{},e.props._as=String,e.setup=function(l,a){const n=t.getCurrentInstance(),o=fe(),r=t.shallowRef(),i=t.shallowReactive({...t.toRaw(l)})
|
|
113
116
|
t.watchEffect((()=>{var t
|
|
114
117
|
const a=o.value.global,s=o.value[null!=(t=l._as)?t:e.name]
|
|
115
118
|
if(s){const e=Object.entries(s).filter((e=>{let[t]=e
|
|
116
119
|
return t.startsWith("V")}))
|
|
117
120
|
e.length&&(r.value=Object.fromEntries(e))}for(const e of Object.keys(l)){let t
|
|
118
121
|
var u,c
|
|
119
|
-
if(
|
|
122
|
+
if(ge(n.vnode,e))t=l[e]
|
|
120
123
|
else t=null!=(u=null!=(c=null==s?void 0:s[e])?c:null==a?void 0:a[e])?u:l[e]
|
|
121
124
|
i[e]!==t&&(i[e]=t)}}))
|
|
122
125
|
const s=e._setup(i,a)
|
|
123
126
|
let u
|
|
124
|
-
return t.watch(r,((e,l)=>{!e&&u?u.stop():e&&!l&&(u=t.effectScope(),u.run((()=>{
|
|
127
|
+
return t.watch(r,((e,l)=>{!e&&u?u.stop():e&&!l&&(u=t.effectScope(),u.run((()=>{me(e)})))}),{immediate:!0}),s})
|
|
125
128
|
return e}
|
|
126
|
-
function
|
|
127
|
-
return l=>(e?
|
|
128
|
-
return
|
|
129
|
+
function be(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0]
|
|
130
|
+
return l=>(e?he:t.defineComponent)(l)}function ye(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div",a=arguments.length>2?arguments[2]:void 0
|
|
131
|
+
return he({name:null!=a?a:t.capitalize(t.camelize(e.replace(/__/g,"-"))),props:{tag:{type:String,default:l}},setup(l,a){let{slots:n}=a
|
|
129
132
|
return()=>{var a
|
|
130
|
-
return t.h(l.tag,{class:e},null==(a=n.default)?void 0:a.call(n))}}})}function
|
|
133
|
+
return t.h(l.tag,{class:e},null==(a=n.default)?void 0:a.call(n))}}})}function Ve(e){if("function"!=typeof e.getRootNode){for(;e.parentNode;)e=e.parentNode
|
|
131
134
|
return e!==document?null:document}const t=e.getRootNode()
|
|
132
|
-
return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const
|
|
133
|
-
function
|
|
135
|
+
return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const Se="cubic-bezier(0.4, 0, 0.2, 1)"
|
|
136
|
+
function we(e,l){const a=t.getCurrentInstance()
|
|
134
137
|
if(!a)throw new Error(`[Vuetify] ${e} ${l||"must be called from inside a setup function"}`)
|
|
135
|
-
return a}function
|
|
138
|
+
return a}function xe(){var e
|
|
136
139
|
let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"composables"
|
|
137
|
-
return
|
|
138
|
-
e=e.parentElement}return document.scrollingElement}function
|
|
139
|
-
for(;e;)
|
|
140
|
-
return t}function
|
|
140
|
+
return T(null==(e=we(t).type)?void 0:e.name)}function Ce(e){for(;e;){if(Ne(e))return e
|
|
141
|
+
e=e.parentElement}return document.scrollingElement}function ke(e){const t=[]
|
|
142
|
+
for(;e;)Ne(e)&&t.push(e),e=e.parentElement
|
|
143
|
+
return t}function Ne(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1
|
|
141
144
|
const t=window.getComputedStyle(e)
|
|
142
|
-
return"scroll"===t.overflowY||"auto"===t.overflowY&&e.scrollHeight>e.clientHeight}const
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
function
|
|
146
|
-
|
|
147
|
-
function Pe(e,t){let l,a=((e>>16&255)/255)**Ee*Ae+((e>>8&255)/255)**Ee*Re+((e>>0&255)/255)**Ee*Te,n=((t>>16&255)/255)**Ee*Ae+((t>>8&255)/255)**Ee*Re+((t>>0&255)/255)**Ee*Te
|
|
148
|
-
if(a<=Le&&(a+=(Le-a)**1.45),n<=Le&&(n+=(Le-n)**1.45),Math.abs(n-a)<5e-4)return 0
|
|
145
|
+
return"scroll"===t.overflowY||"auto"===t.overflowY&&e.scrollHeight>e.clientHeight}const _e="undefined"!=typeof window,Be=_e&&"IntersectionObserver"in window,Ie=_e&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),$e=_e&&CSS.supports("selector(:focus-visible)")
|
|
146
|
+
function Ee(e,t){return l=>Object.keys(e).reduce(((a,n)=>{const o="object"==typeof e[n]&&null!=e[n]&&!Array.isArray(e[n])?e[n]:{type:e[n]}
|
|
147
|
+
return a[n]=l&&n in l?{...o,default:l[n]}:o,t&&(a[n].source=t),a}),{})}function Ae(e){we("useRender").render=e}const Re=2.4,Le=.2126729,Te=.7151522,ze=.072175,Me=.03,Pe=12.82051282051282,Oe=.06
|
|
148
|
+
function Fe(e,t){let l,a=((e>>16&255)/255)**Re*Le+((e>>8&255)/255)**Re*Te+((e>>0&255)/255)**Re*ze,n=((t>>16&255)/255)**Re*Le+((t>>8&255)/255)**Re*Te+((t>>0&255)/255)**Re*ze
|
|
149
|
+
if(a<=Me&&(a+=(Me-a)**1.45),n<=Me&&(n+=(Me-n)**1.45),Math.abs(n-a)<5e-4)return 0
|
|
149
150
|
if(n>a){const e=1.25*(n**.55-a**.58)
|
|
150
|
-
l=e<.001?0:e<.078?e-e*
|
|
151
|
-
l=e>-.001?0:e>-.078?e-e*
|
|
152
|
-
function
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
const
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
const r
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
for(const
|
|
169
|
-
e.push(...p(`.v-theme--${t}`,[...v(t),...Object.keys(l).map((e=>{const t=l[e],a="string"==typeof t&&t.startsWith("#")?ne(t):void 0,n=a?`${a.r}, ${a.g}, ${a.b}`:void 0
|
|
170
|
-
return`--v-${e}: ${null!=n?n:t}`}))]))}const t=new Set(Object.values(u.value).flatMap((e=>Object.keys(e.colors))))
|
|
171
|
-
for(const l of t)/on-[a-z]/.test(l)?e.push(...p(`.${l}`,[`color: rgb(var(--v-theme-${l})) !important`])):e.push(...p(`.bg-${l}`,[`--v-theme-overlay-multiplier: var(--v-theme-${l}-overlay-multiplier)`,`background: rgb(var(--v-theme-${l})) !important`,`color: rgb(var(--v-theme-on-${l})) !important`]),...p(`.text-${l}`,[`color: rgb(var(--v-theme-${l})) !important`]),...p(`.border-${l}`,[`--v-border-color: var(--v-theme-${l})`]))
|
|
151
|
+
l=e<.001?0:e<.078?e-e*Pe*Oe:e-Oe}else{const e=1.25*(n**.62-a**.57)
|
|
152
|
+
l=e>-.001?0:e>-.078?e-e*Pe*Oe:e+Oe}return 100*l}const De=Symbol.for("vuetify:theme"),je=Ee({theme:String},"theme"),He={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"kbd-background-color":"#212529","kbd-color":"#FFFFFF","code-background-color":"#C2C2C2"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-variant":"#BDBDBD","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"kbd-background-color":"#212529","kbd-color":"#FFFFFF","code-background-color":"#B7B7B7"}}}}
|
|
153
|
+
function We(e,l){const a=e._context.provides.usehead,n=t.reactive(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:He
|
|
154
|
+
if(!e)return{...He,isDisabled:!0}
|
|
155
|
+
const t={}
|
|
156
|
+
for(const[o,r]of Object.entries(null!=(l=e.themes)?l:{})){var l,a,n
|
|
157
|
+
const e=r.dark?null==(a=He.themes)?void 0:a.dark:null==(n=He.themes)?void 0:n.light
|
|
158
|
+
t[o]=A(e,r)}return A(He,{...e,themes:t})}(l)),o=t.ref(n.defaultTheme),r=t.ref(n.themes),i=t.computed((()=>{const e={}
|
|
159
|
+
for(const[t,l]of Object.entries(r.value)){const a=e[t]={...l,colors:{...l.colors}}
|
|
160
|
+
if(n.variations)for(const e of n.variations.colors){const t=a.colors[e]
|
|
161
|
+
for(const l of["lighten","darken"]){const o="lighten"===l?se:ue
|
|
162
|
+
for(const r of V(n.variations[l],1))a.colors[`${e}-${l}-${r}`]=Q(o(J(t),r))}}for(const e of Object.keys(a.colors)){if(/on-[a-z]/.test(e)||a.colors[`on-${e}`])continue
|
|
163
|
+
const t=`on-${e}`,l=J(a.colors[e]),n=Math.abs(Fe(0,l)),o=Math.abs(Fe(16777215,l))
|
|
164
|
+
a.colors[t]=o>Math.min(n,50)?"#fff":"#000"}}return e})),s=t.computed((()=>i.value[o.value])),u=t.computed((()=>{const e=[]
|
|
165
|
+
s.value.dark&&Ye(e,":root",["color-scheme: dark"])
|
|
166
|
+
for(const[t,l]of Object.entries(i.value)){const{variables:a,dark:n}=l
|
|
167
|
+
Ye(e,`.v-theme--${t}`,["color-scheme: "+(n?"dark":"normal"),...Ge(l),...Object.keys(a).map((e=>{const t=a[e],l="string"==typeof t&&t.startsWith("#")?ie(t):void 0,n=l?`${l.r}, ${l.g}, ${l.b}`:void 0
|
|
168
|
+
return`--v-${e}: ${null!=n?n:t}`}))])}const t=new Set(Object.values(i.value).flatMap((e=>Object.keys(e.colors))))
|
|
169
|
+
for(const l of t)/on-[a-z]/.test(l)?Ye(e,`.${l}`,[`color: rgb(var(--v-theme-${l})) !important`]):(Ye(e,`.bg-${l}`,[`--v-theme-overlay-multiplier: var(--v-theme-${l}-overlay-multiplier)`,`background: rgb(var(--v-theme-${l})) !important`,`color: rgb(var(--v-theme-on-${l})) !important`]),Ye(e,`.text-${l}`,[`color: rgb(var(--v-theme-${l})) !important`]),Ye(e,`.border-${l}`,[`--v-border-color: var(--v-theme-${l})`]))
|
|
172
170
|
return e.map(((e,t)=>0===t?e:` ${e}`)).join("")}))
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
const
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
const e=document.createElement("style")
|
|
180
|
-
e.type="text/css",e.id="vuetify-theme-stylesheet",o.value=e,document.head.appendChild(o.value)}t.watch(i,e,{deep:!0,immediate:!0})}return{isDisabled:n.isDisabled,themes:u,setTheme:(e,t)=>i.value[e]=t,getTheme:e=>u.value[e],current:r,themeClasses:t.computed((()=>n.isDisabled?void 0:`v-theme--${r.value}`)),styles:d}}function He(e){ye("provideTheme")
|
|
181
|
-
const l=t.inject(Oe,null)
|
|
171
|
+
if(a)a.addHeadObjs(t.computed((()=>({style:[{children:u.value,type:"text/css",id:"vuetify-theme-stylesheet"}]})))),_e&&t.watchEffect((()=>a.updateDOM()))
|
|
172
|
+
else{let e
|
|
173
|
+
function l(){if(!n.isDisabled){if("undefined"!=typeof document&&!e){const t=document.createElement("style")
|
|
174
|
+
t.type="text/css",t.id="vuetify-theme-stylesheet",e=t,document.head.appendChild(e)}e&&(e.innerHTML=u.value)}}t.watch(u,l,{immediate:!0})}const c=t.computed((()=>n.isDisabled?void 0:`v-theme--${o.value}`))
|
|
175
|
+
return{isDisabled:n.isDisabled,name:o,themes:r,current:s,computedThemes:i,themeClasses:c,styles:u}}function Ue(e){we("provideTheme")
|
|
176
|
+
const l=t.inject(De,null)
|
|
182
177
|
if(!l)throw new Error("Could not find Vuetify theme injection")
|
|
183
178
|
const a=t.computed((()=>{var t
|
|
184
|
-
return null!=(t=e.theme)?t:null==l?void 0:l.
|
|
185
|
-
return t.provide(
|
|
186
|
-
const e=t.inject(
|
|
179
|
+
return null!=(t=e.theme)?t:null==l?void 0:l.name.value})),n=t.computed((()=>l.isDisabled?void 0:`v-theme--${a.value}`)),o={...l,name:a,themeClasses:n}
|
|
180
|
+
return t.provide(De,o),o}function Xe(){we("useTheme")
|
|
181
|
+
const e=t.inject(De,null)
|
|
187
182
|
if(!e)throw new Error("Could not find Vuetify theme injection")
|
|
188
|
-
return e}function
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
183
|
+
return e}function Ye(e,t,l){e.push(`${t} {\n`,...l.map((e=>` ${e};\n`)),"}\n")}function Ge(e){const t=e.dark?2:1,l=e.dark?1:2,a=[]
|
|
184
|
+
for(const[n,o]of Object.entries(e.colors)){const e=ie(o)
|
|
185
|
+
a.push(`--v-theme-${n}: ${e.r},${e.g},${e.b}`),n.startsWith("on-")||a.push(`--v-theme-${n}-overlay-multiplier: ${ce(o)>.18?t:l}`)}return a}function qe(e){const l=t.ref(),a=t.ref()
|
|
186
|
+
if(_e){const n=new ResizeObserver((t=>{null==e||e(t,n),t.length&&(a.value=t[0].contentRect)}))
|
|
187
|
+
t.onBeforeUnmount((()=>{n.disconnect()})),t.watch(l,((e,t)=>{t&&(n.unobserve(t),a.value=void 0),e&&n.observe(e)}),{flush:"post"})}return{resizeRef:l,contentRect:t.readonly(a)}}const Ke=Symbol.for("vuetify:layout"),Ze=Symbol.for("vuetify:layout-item"),Je=1e3,Qe=Ee({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),et=Ee({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item")
|
|
188
|
+
function tt(){const e=t.inject(Ke)
|
|
192
189
|
if(!e)throw new Error("Could not find injected Vuetify layout")
|
|
193
|
-
return e}function
|
|
194
|
-
const a=t.inject(
|
|
190
|
+
return e}function lt(e){var l
|
|
191
|
+
const a=t.inject(Ke)
|
|
195
192
|
if(!a)throw new Error("Could not find injected Vuetify layout")
|
|
196
|
-
const n=null!=(l=e.id)?l:`layout-item-${
|
|
197
|
-
t.provide(
|
|
193
|
+
const n=null!=(l=e.id)?l:`layout-item-${R()}`,o=we("useLayoutItem")
|
|
194
|
+
t.provide(Ze,{id:n})
|
|
198
195
|
const r=t.ref(!1)
|
|
199
196
|
t.onDeactivated((()=>r.value=!0)),t.onActivated((()=>r.value=!1))
|
|
200
197
|
const{layoutItemStyles:i,layoutItemScrimStyles:s}=a.register(o,{...e,active:t.computed((()=>!r.value&&e.active.value)),id:n})
|
|
201
|
-
return t.onBeforeUnmount((()=>a.unregister(n))),{layoutItemStyles:i,layoutRect:a.layoutRect,layoutItemScrimStyles:s}}function
|
|
198
|
+
return t.onBeforeUnmount((()=>a.unregister(n))),{layoutItemStyles:i,layoutRect:a.layoutRect,layoutItemScrimStyles:s}}function at(e){const l=t.inject(Ke,null),a=t.computed((()=>l?l.rootZIndex.value-100:Je)),n=t.ref([]),o=t.reactive(new Map),r=t.reactive(new Map),i=t.reactive(new Map),s=t.reactive(new Map),u=t.reactive(new Map),{resizeRef:c,contentRect:d}=qe(),v=t.computed((()=>{var t
|
|
202
199
|
const l=new Map,a=null!=(t=e.overlaps)?t:[]
|
|
203
200
|
for(const e of a.filter((e=>e.includes(":")))){const[t,a]=e.split(":")
|
|
204
201
|
if(!n.value.includes(t)||!n.value.includes(a))continue
|
|
@@ -212,59 +209,90 @@ for(const r of e){const e=t.get(r),i=l.get(r),s=a.get(r)
|
|
|
212
209
|
if(!e||!i||!s)continue
|
|
213
210
|
const u={...n,[e.value]:parseInt(n[e.value],10)+(s.value?parseInt(i.value,10):0)}
|
|
214
211
|
o.push({id:r,layer:u}),n=u}return o})(t,o,r,s)})),f=t.computed((()=>!Array.from(u.values()).some((e=>e.value)))),m=t.computed((()=>{const e=p.value[p.value.length-1].layer
|
|
215
|
-
return{position:"relative",paddingLeft:
|
|
212
|
+
return{position:"relative",paddingLeft:S(e.left),paddingRight:S(e.right),paddingTop:S(e.top),paddingBottom:S(e.bottom),...f.value?void 0:{transition:"none"}}})),g=t.computed((()=>p.value.slice(1).map(((e,t)=>{let{id:l}=e
|
|
216
213
|
const{layer:a}=p.value[t],n=r.get(l)
|
|
217
|
-
return{id:l,...a,size:Number(n.value)}})))),h=e=>g.value.find((t=>t.id===e)),
|
|
218
|
-
t.onMounted((()=>{
|
|
214
|
+
return{id:l,...a,size:Number(n.value)}})))),h=e=>g.value.find((t=>t.id===e)),b=we("createLayout"),y=t.ref(!1)
|
|
215
|
+
t.onMounted((()=>{y.value=!0})),t.provide(Ke,{register:(e,l)=>{let{id:c,order:d,position:m,layoutSize:h,elementSize:V,active:S,disableTransitions:w,absolute:x}=l
|
|
219
216
|
i.set(c,d),o.set(c,m),r.set(c,h),s.set(c,S),w&&u.set(c,w)
|
|
220
|
-
const
|
|
221
|
-
|
|
217
|
+
const C=z(Ze,null==b?void 0:b.vnode).indexOf(e)
|
|
218
|
+
C>-1?n.value.splice(C,0,c):n.value.push(c)
|
|
222
219
|
const k=t.computed((()=>g.value.findIndex((e=>e.id===c)))),N=t.computed((()=>a.value+2*p.value.length-2*k.value))
|
|
223
|
-
return{layoutItemStyles:t.computed((()=>{const e="left"===m.value||"right"===m.value,t="right"===m.value,l="bottom"===m.value,n={[m.value]:0,zIndex:N.value,transform:`translate${e?"X":"Y"}(${(S.value?0:-110)*(t||l?-1:1)}%)`,position:
|
|
224
|
-
if(!
|
|
220
|
+
return{layoutItemStyles:t.computed((()=>{const e="left"===m.value||"right"===m.value,t="right"===m.value,l="bottom"===m.value,n={[m.value]:0,zIndex:N.value,transform:`translate${e?"X":"Y"}(${(S.value?0:-110)*(t||l?-1:1)}%)`,position:x.value||a.value!==Je?"absolute":"fixed",...f.value?void 0:{transition:"none"}}
|
|
221
|
+
if(!y.value)return n
|
|
225
222
|
if(k.value<0)throw new Error(`Layout item "${c}" is missing`)
|
|
226
223
|
const o=g.value[k.value]
|
|
227
224
|
if(!o)throw new Error(`Could not find layout item "${c}`)
|
|
228
225
|
const r=v.value.get(c)
|
|
229
|
-
return r&&(o[r.position]+=r.amount),{...n,height:e?`calc(100% - ${o.top}px - ${o.bottom}px)`:
|
|
230
|
-
return{layoutClasses:t.computed((()=>["v-layout",{"v-layout--full-height":e.fullHeight}])),layoutStyles:t.computed((()=>({zIndex:a.value}))),getLayoutItem:h,items:g,layoutRect:d,layoutRef:c}}var
|
|
231
|
-
const
|
|
232
|
-
function
|
|
233
|
-
return
|
|
234
|
-
return{isRtl:n,rtl:e.rtl,rtlClasses:t.computed((()=>"v-locale--is-"+(n.value?"rtl":"ltr")))}}function ot(e,l){const a=t.inject(lt)
|
|
226
|
+
return r&&(o[r.position]+=r.amount),{...n,height:e?`calc(100% - ${o.top}px - ${o.bottom}px)`:V.value?`${V.value}px`:void 0,marginLeft:t?void 0:`${o.left}px`,marginRight:t?`${o.right}px`:void 0,marginTop:"bottom"!==m.value?`${o.top}px`:void 0,marginBottom:"top"!==m.value?`${o.bottom}px`:void 0,width:e?V.value?`${V.value}px`:void 0:`calc(100% - ${o.left}px - ${o.right}px)`}})),layoutItemScrimStyles:t.computed((()=>({zIndex:N.value-1,position:a.value===Je?"fixed":"absolute"}))),zIndex:N}},unregister:e=>{i.delete(e),o.delete(e),r.delete(e),s.delete(e),u.delete(e),n.value=n.value.filter((t=>t!==e))},mainStyles:m,getLayoutItem:h,items:g,layoutRect:d,rootZIndex:a})
|
|
227
|
+
return{layoutClasses:t.computed((()=>["v-layout",{"v-layout--full-height":e.fullHeight}])),layoutStyles:t.computed((()=>({zIndex:a.value}))),getLayoutItem:h,items:g,layoutRect:d,layoutRef:c}}var nt={badge:"Badge",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},datePicker:{itemsSelected:"{0} selected",nextMonthAriaLabel:"Next month",nextYearAriaLabel:"Next year",prevMonthAriaLabel:"Previous month",prevYearAriaLabel:"Previous year"},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Goto Page {0}",currentPage:"Page {0}, Current Page",first:"First page",last:"Last page"}},rating:{ariaLabel:{item:"Rating {0} of {1}"}}}
|
|
228
|
+
const ot={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!1,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1},rt=Symbol.for("vuetify:rtl")
|
|
229
|
+
function it(e,l,a){const n=t.computed((()=>"boolean"==typeof(null==a?void 0:a.rtl)?a.rtl:l.current.value&&e.rtl.hasOwnProperty(l.current.value)?e.rtl[l.current.value]:e.isRtl.value))
|
|
230
|
+
return{isRtl:n,rtl:e.rtl,rtlClasses:t.computed((()=>"v-locale--is-"+(n.value?"rtl":"ltr")))}}function st(e,l){const a=t.inject(rt)
|
|
235
231
|
if(!a)throw new Error("[Vuetify] Could not find injected rtl instance")
|
|
236
|
-
const n=
|
|
237
|
-
return t.provide(
|
|
232
|
+
const n=it(a,l,e)
|
|
233
|
+
return t.provide(rt,n),n}function ut(){const e=t.inject(rt)
|
|
238
234
|
if(!e)throw new Error("[Vuetify] Could not find injected rtl instance")
|
|
239
|
-
return e}const
|
|
240
|
-
const n=
|
|
241
|
-
return
|
|
242
|
-
return t.createVNode("div",{ref:u,class:["v-application",n.themeClasses.value,o.value,c.value],style:r.value,"data-app":"true"},[t.createVNode("div",{class:"v-application__wrap"},[null==(e=a.default)?void 0:e.call(a)])])})),{getLayoutItem:i,items:s,theme:n}}}),
|
|
235
|
+
return e}const ct=he({name:"VApp",props:{...Qe({fullHeight:!0}),...je()},setup(e,l){let{slots:a}=l
|
|
236
|
+
const n=Ue(e),{layoutClasses:o,layoutStyles:r,getLayoutItem:i,items:s,layoutRef:u}=at(e),{rtlClasses:c}=ut()
|
|
237
|
+
return Ae((()=>{var e
|
|
238
|
+
return t.createVNode("div",{ref:u,class:["v-application",n.themeClasses.value,o.value,c.value],style:r.value,"data-app":"true"},[t.createVNode("div",{class:"v-application__wrap"},[null==(e=a.default)?void 0:e.call(a)])])})),{getLayoutItem:i,items:s,theme:n}}}),dt=t.defineComponent({name:"VDefaultsProvider",props:{defaults:Object,reset:[Number,String],root:Boolean,scoped:Boolean},setup(e,l){let{slots:a}=l
|
|
243
239
|
const{defaults:n,reset:o,root:r,scoped:i}=t.toRefs(e)
|
|
244
|
-
return
|
|
245
|
-
return null==(e=a.default)?void 0:e.call(a)}}})
|
|
246
|
-
function
|
|
247
|
-
|
|
240
|
+
return me(n,{reset:o,root:r,scoped:i}),()=>{var e
|
|
241
|
+
return null==(e=a.default)?void 0:e.call(a)}}})
|
|
242
|
+
function vt(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top center 0",a=arguments.length>2?arguments[2]:void 0
|
|
243
|
+
return he({name:e,props:{group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:{type:String,default:a},origin:{type:String,default:l}},setup(l,a){let{slots:n}=a
|
|
244
|
+
return()=>{const a=l.group?t.TransitionGroup:t.Transition
|
|
245
|
+
return t.h(a,{name:e,mode:l.mode,onBeforeEnter(e){e.style.transformOrigin=l.origin},onLeave(e){if(l.leaveAbsolute){const{offsetTop:t,offsetLeft:l,offsetWidth:a,offsetHeight:n}=e
|
|
246
|
+
e._transitionInitialStyles={position:e.style.position,top:e.style.top,left:e.style.left,width:e.style.width,height:e.style.height},e.style.position="absolute",e.style.top=`${t}px`,e.style.left=`${l}px`,e.style.width=`${a}px`,e.style.height=`${n}px`}l.hideOnLeave&&e.style.setProperty("display","none","important")},onAfterLeave(e){if(l.leaveAbsolute&&null!=e&&e._transitionInitialStyles){const{position:t,top:l,left:a,width:n,height:o}=e._transitionInitialStyles
|
|
247
|
+
delete e._transitionInitialStyles,e.style.position=t||"",e.style.top=l||"",e.style.left=a||"",e.style.width=n||"",e.style.height=o||""}}},n.default)}}})}function pt(e,l){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"in-out"
|
|
248
|
+
return he({name:e,props:{mode:{type:String,default:a}},setup(a,n){let{slots:o}=n
|
|
249
|
+
return()=>t.h(t.Transition,{name:e,...l},o.default)}})}function ft(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",l=arguments.length>1&&void 0!==arguments[1]&&arguments[1]
|
|
250
|
+
const a=l?"width":"height",n=t.camelize(`offset-${a}`)
|
|
251
|
+
return{onBeforeEnter(e){e._parent=e.parentNode,e._initialStyle={transition:e.style.transition,overflow:e.style.overflow,[a]:e.style[a]}},onEnter(t){const l=t._initialStyle
|
|
252
|
+
t.style.setProperty("transition","none","important"),t.style.overflow="hidden"
|
|
253
|
+
const o=`${t[n]}px`
|
|
254
|
+
t.style[a]="0",t.offsetHeight,t.style.transition=l.transition,e&&t._parent&&t._parent.classList.add(e),requestAnimationFrame((()=>{t.style[a]=o}))},onAfterEnter:r,onEnterCancelled:r,onLeave(e){e._initialStyle={transition:"",overflow:e.style.overflow,[a]:e.style[a]},e.style.overflow="hidden",e.style[a]=`${e[n]}px`,e.offsetHeight,requestAnimationFrame((()=>e.style[a]="0"))},onAfterLeave:o,onLeaveCancelled:o}
|
|
255
|
+
function o(t){e&&t._parent&&t._parent.classList.remove(e),r(t)}function r(e){const t=e._initialStyle[a]
|
|
256
|
+
e.style.overflow=e._initialStyle.overflow,null!=t&&(e.style[a]=t),delete e._initialStyle}}const mt=he({name:"VDialogTransition",props:{target:Object},setup(e,l){let{slots:a}=l
|
|
257
|
+
const n={onBeforeEnter(e){e.style.pointerEvents="none"},async onEnter(t,l){var a
|
|
258
|
+
await new Promise((e=>requestAnimationFrame(e)))
|
|
259
|
+
const{x:n,y:o,sx:r,sy:i,speed:s}=ht(e.target,t),u=t.animate([{transform:`translate(${n}px, ${o}px) scale(${r}, ${i})`,opacity:0},{transform:""}],{duration:225*s,easing:"cubic-bezier(0.0, 0, 0.2, 1)"})
|
|
260
|
+
null==(a=gt(t))||a.forEach((e=>{e.animate([{opacity:0},{opacity:0,offset:.33},{opacity:1}],{duration:450*s,easing:Se})})),u.finished.then((()=>l()))},onAfterEnter(e){e.style.removeProperty("pointer-events")},onBeforeLeave(e){e.style.pointerEvents="none"},async onLeave(t,l){var a
|
|
261
|
+
await new Promise((e=>requestAnimationFrame(e)))
|
|
262
|
+
const{x:n,y:o,sx:r,sy:i,speed:s}=ht(e.target,t)
|
|
263
|
+
t.animate([{transform:""},{transform:`translate(${n}px, ${o}px) scale(${r}, ${i})`,opacity:0}],{duration:125*s,easing:"cubic-bezier(0.4, 0, 1, 1)"}).finished.then((()=>l())),null==(a=gt(t))||a.forEach((e=>{e.animate([{},{opacity:0,offset:.2},{opacity:0}],{duration:250*s,easing:Se})}))},onAfterLeave(e){e.style.removeProperty("pointer-events")}}
|
|
264
|
+
return()=>e.target?t.createVNode(t.Transition,t.mergeProps({name:"dialog-transition"},n,{css:!1}),a):t.createVNode(t.Transition,{name:"dialog-transition"},a)}})
|
|
265
|
+
function gt(e){var t
|
|
266
|
+
const l=null==(t=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))?void 0:t.children
|
|
267
|
+
return l&&[...l]}function ht(e,t){const l=e.getBoundingClientRect(),a=r(t),[n,o]=getComputedStyle(t).transformOrigin.split(" ").map((e=>parseFloat(e))),[i,s]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ")
|
|
268
|
+
let u=l.left+l.width/2
|
|
269
|
+
"left"===i||"left"===s?u-=l.width/2:"right"!==i&&"right"!==s||(u+=l.width/2)
|
|
270
|
+
let c=l.top+l.height/2
|
|
271
|
+
"top"===i||"top"===s?c-=l.height/2:"bottom"!==i&&"bottom"!==s||(c+=l.height/2)
|
|
272
|
+
const d=l.width/a.width,v=l.height/a.height,p=Math.max(1,d,v),f=d/p,m=v/p,g=a.width*a.height/(window.innerWidth*window.innerHeight),h=g>.12?Math.min(1.5,10*(g-.12)+1):1
|
|
273
|
+
return{x:u-(n+a.left),y:c-(o+a.top),sx:f,sy:m,speed:h}}const bt=vt("carousel-transition"),yt=vt("carousel-reverse-transition"),Vt=vt("tab-transition"),St=vt("tab-reverse-transition"),wt=vt("menu-transition"),xt=vt("fab-transition","center center","out-in"),Ct=vt("dialog-bottom-transition"),kt=vt("dialog-top-transition"),Nt=vt("fade-transition"),_t=vt("scale-transition"),Bt=vt("scroll-x-transition"),It=vt("scroll-x-reverse-transition"),$t=vt("scroll-y-transition"),Et=vt("scroll-y-reverse-transition"),At=vt("slide-x-transition"),Rt=vt("slide-x-reverse-transition"),Lt=vt("slide-y-transition"),Tt=vt("slide-y-reverse-transition"),zt=pt("expand-transition",ft()),Mt=pt("expand-x-transition",ft("",!0)),Pt=Ee({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension")
|
|
274
|
+
function Ot(e){return{dimensionStyles:t.computed((()=>({height:S(e.height),maxHeight:S(e.maxHeight),maxWidth:S(e.maxWidth),minHeight:S(e.minHeight),minWidth:S(e.minWidth),width:S(e.width)})))}}const Ft=he({name:"VResponsive",props:{aspectRatio:[String,Number],contentClass:String,...Pt()},setup(e,l){let{slots:a}=l
|
|
275
|
+
const{dimensionStyles:n}=Ot(e),{aspectStyles:o}=function(e){return{aspectStyles:t.computed((()=>{const t=Number(e.aspectRatio)
|
|
248
276
|
return t?{paddingBottom:String(1/t*100)+"%"}:void 0}))}}(e)
|
|
249
277
|
return()=>{var l
|
|
250
278
|
return t.createVNode("div",{class:"v-responsive",style:n.value},[t.createVNode("div",{class:"v-responsive__sizer",style:o.value},null),null==(l=a.additional)?void 0:l.call(a),a.default&&t.createVNode("div",{class:["v-responsive__content",e.contentClass]},[a.default()])])}}})
|
|
251
|
-
function
|
|
279
|
+
function Dt(e,t){var l
|
|
252
280
|
const a=null==(l=e._observe)?void 0:l[t.instance.$.uid]
|
|
253
|
-
a&&(a.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const
|
|
281
|
+
a&&(a.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const jt={mounted:function(e,t){if(!Be)return
|
|
254
282
|
const l=t.modifiers||{},a=t.value,{handler:n,options:o}="object"==typeof a?a:{handler:a,options:{}},r=new IntersectionObserver((function(){var a
|
|
255
283
|
let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1?arguments[1]:void 0
|
|
256
284
|
const i=null==(a=e._observe)?void 0:a[t.instance.$.uid]
|
|
257
285
|
if(!i)return
|
|
258
286
|
const s=o.some((e=>e.isIntersecting))
|
|
259
|
-
!n||l.quiet&&!i.init||l.once&&!s&&!i.init||n(s,o,r),s&&l.once?
|
|
260
|
-
e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:r},r.observe(e)},unmounted:
|
|
287
|
+
!n||l.quiet&&!i.init||l.once&&!s&&!i.init||n(s,o,r),s&&l.once?Dt(e,t):i.init=!0}),o)
|
|
288
|
+
e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:r},r.observe(e)},unmounted:Dt},Ht=Ee({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>!0!==e}},"transition"),Wt=(e,l)=>{var a
|
|
261
289
|
let{slots:n}=l
|
|
262
290
|
const{transition:o,...r}=e
|
|
263
291
|
if(!o||"boolean"==typeof o)return null==(a=n.default)?void 0:a.call(n)
|
|
264
292
|
const{component:i=t.Transition,...s}="object"==typeof o?o:{}
|
|
265
|
-
return t.h(i,t.mergeProps("string"==typeof o?{name:o}:s,r),n)},
|
|
293
|
+
return t.h(i,t.mergeProps("string"==typeof o?{name:o}:s,r),n)},Ut=he({name:"VImg",directives:{intersect:jt},props:{aspectRatio:[String,Number],alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,width:[String,Number],...Ht()},emits:["loadstart","load","error"],setup(e,l){let{emit:a,slots:n}=l
|
|
266
294
|
const o=t.ref(""),r=t.ref(),i=t.ref(e.eager?"loading":"idle"),s=t.ref(),u=t.ref(),c=t.computed((()=>e.src&&"object"==typeof e.src?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)})),d=t.computed((()=>c.value.aspect||s.value/u.value||0))
|
|
267
|
-
function v(l){if((!e.eager||!l)&&(!
|
|
295
|
+
function v(l){if((!e.eager||!l)&&(!Be||l||e.eager)){if(i.value="loading",c.value.lazySrc){const e=new Image
|
|
268
296
|
e.src=c.value.lazySrc,g(e,null)}c.value.src&&t.nextTick((()=>{var e,t
|
|
269
297
|
if(a("loadstart",(null==(e=r.value)?void 0:e.currentSrc)||c.value.src),null!=(t=r.value)&&t.complete){if(r.value.naturalWidth||f(),"error"===i.value)return
|
|
270
298
|
d.value||g(r.value,null),p()}else d.value||g(r.value),m()}))}}function p(){var e
|
|
@@ -274,33 +302,33 @@ e&&(o.value=e.currentSrc||e.src)}function g(e){let t=arguments.length>1&&void 0!
|
|
|
274
302
|
const l=()=>{const{naturalHeight:a,naturalWidth:n}=e
|
|
275
303
|
a||n?(s.value=n,u.value=a):e.complete||"loading"!==i.value||null==t?(e.currentSrc.endsWith(".svg")||e.currentSrc.startsWith("data:image/svg+xml"))&&(s.value=1,u.value=1):setTimeout(l,t)}
|
|
276
304
|
l()}t.watch((()=>e.src),(()=>{v("idle"!==i.value)})),t.onBeforeMount((()=>v()))
|
|
277
|
-
const h=t.computed((()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover}))),
|
|
305
|
+
const h=t.computed((()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover}))),b=t.computed((()=>{var l
|
|
278
306
|
if(!c.value.src||"idle"===i.value)return
|
|
279
307
|
const a=t.h("img",{class:["v-img__img",h.value],src:c.value.src,srcset:c.value.srcset,sizes:e.sizes,ref:r,onLoad:p,onError:f}),o=null==(l=n.sources)?void 0:l.call(n)
|
|
280
|
-
return t.createVNode(
|
|
281
|
-
{const e=t.watch(d,(t=>{t&&(requestAnimationFrame((()=>{requestAnimationFrame((()=>{
|
|
282
|
-
return
|
|
308
|
+
return t.createVNode(Wt,{transition:e.transition,appear:!0},{default:()=>[t.withDirectives(o?t.createVNode("picture",{class:"v-img__picture"},[o,a]):a,[[t.vShow,"loaded"===i.value]])]})})),y=t.computed((()=>t.createVNode(Wt,{transition:e.transition},{default:()=>[c.value.lazySrc&&"loaded"!==i.value&&t.createVNode("img",{class:["v-img__img","v-img__img--preload",h.value],src:c.value.lazySrc,alt:""},null)]}))),V=t.computed((()=>{if(n.placeholder)return t.createVNode(Wt,{transition:e.transition,appear:!0},{default:()=>[("loading"===i.value||"error"===i.value&&!n.error)&&t.createVNode("div",{class:"v-img__placeholder"},[n.placeholder()])]})})),w=t.computed((()=>{if(n.error)return t.createVNode(Wt,{transition:e.transition,appear:!0},{default:()=>["error"===i.value&&t.createVNode("div",{class:"v-img__error"},[n.error()])]})})),x=t.computed((()=>{if(e.gradient)return t.createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null)})),C=t.ref(!1)
|
|
309
|
+
{const e=t.watch(d,(t=>{t&&(requestAnimationFrame((()=>{requestAnimationFrame((()=>{C.value=!0}))})),e())}))}return Ae((()=>t.withDirectives(t.createVNode(Ft,{class:["v-img",{"v-img--booting":!C.value}],style:{width:S("auto"===e.width?s.value:e.width)},aspectRatio:d.value,"aria-label":e.alt,role:e.alt?"img":void 0},{additional:()=>[b.value,y.value,x.value,V.value,w.value],default:n.default}),[[t.resolveDirective("intersect"),{handler:v,options:e.options},null,{once:!0}]]))),{currentSrc:o,image:r,state:i,naturalWidth:s,naturalHeight:u}}}),Xt=Ee({tag:{type:String,default:"div"}},"tag"),Yt=be()({name:"VToolbarTitle",props:{text:String,...Xt()},setup(e,l){let{slots:a}=l
|
|
310
|
+
return Ae((()=>{var l
|
|
283
311
|
const n=!!(a.default||a.text||e.text)
|
|
284
|
-
return t.createVNode(e.tag,{class:"v-toolbar-title"},{default:()=>[n&&t.createVNode("div",{class:"v-toolbar-title__placeholder"},[a.text?a.text():e.text,null==(l=a.default)?void 0:l.call(a)])]})})),{}}}),
|
|
285
|
-
function
|
|
312
|
+
return t.createVNode(e.tag,{class:"v-toolbar-title"},{default:()=>[n&&t.createVNode("div",{class:"v-toolbar-title__placeholder"},[a.text?a.text():e.text,null==(l=a.default)?void 0:l.call(a)])]})})),{}}}),Gt=Ee({border:[Boolean,Number,String]},"border")
|
|
313
|
+
function qt(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xe()
|
|
286
314
|
const a=t.computed((()=>{const t=[]
|
|
287
315
|
if(null!=e.border&&!1!==e.border&&t.push(`${l}--border`),"string"==typeof e.border&&""!==e.border||0===e.border)for(const l of String(e.border).split(" "))t.push(`border-${l}`)
|
|
288
316
|
return t}))
|
|
289
|
-
return{borderClasses:a}}const
|
|
317
|
+
return{borderClasses:a}}const Kt=Ee({elevation:{type:[Number,String],validator(e){const t=parseInt(e)
|
|
290
318
|
return!isNaN(t)&&t>=0&&t<=24}}},"elevation")
|
|
291
|
-
function
|
|
292
|
-
return null==l||a.push(`elevation-${l}`),a}))}}const
|
|
293
|
-
function
|
|
319
|
+
function Zt(e){return{elevationClasses:t.computed((()=>{const l=t.isRef(e)?e.value:e.elevation,a=[]
|
|
320
|
+
return null==l||a.push(`elevation-${l}`),a}))}}const Jt=Ee({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded")
|
|
321
|
+
function Qt(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xe()
|
|
294
322
|
const a=t.computed((()=>{const a=t.isRef(e)?e.value:e.rounded,n=[]
|
|
295
323
|
if(!0===a||""===a)n.push(`${l}--rounded`)
|
|
296
324
|
else if("string"==typeof a||0===a)for(const e of String(a).split(" "))n.push(`rounded-${e}`)
|
|
297
325
|
return n}))
|
|
298
|
-
return{roundedClasses:a}}function
|
|
326
|
+
return{roundedClasses:a}}function el(e){const l=t.computed((()=>Z(e.value.background))),a=t.computed((()=>Z(e.value.text)))
|
|
299
327
|
return{colorClasses:t.computed((()=>{const t=[]
|
|
300
328
|
return e.value.background&&!l.value&&t.push(`bg-${e.value.background}`),e.value.text&&!a.value&&t.push(`text-${e.value.text}`),t})),colorStyles:t.computed((()=>{const t={}
|
|
301
|
-
return e.value.background&&l.value&&(t.backgroundColor=e.value.background),e.value.text&&a.value&&(t.color=e.value.text,t.caretColor=e.value.text),t}))}}function
|
|
302
|
-
return{textColorClasses:n,textColorStyles:o}}function
|
|
303
|
-
return{backgroundColorClasses:n,backgroundColorStyles:o}}function
|
|
329
|
+
return e.value.background&&l.value&&(t.backgroundColor=e.value.background),e.value.text&&a.value&&(t.color=e.value.text,t.caretColor=e.value.text),t}))}}function tl(e,l){const a=t.computed((()=>({text:t.isRef(e)?e.value:l?e[l]:null}))),{colorClasses:n,colorStyles:o}=el(a)
|
|
330
|
+
return{textColorClasses:n,textColorStyles:o}}function ll(e,l){const a=t.computed((()=>({background:t.isRef(e)?e.value:l?e[l]:null}))),{colorClasses:n,colorStyles:o}=el(a)
|
|
331
|
+
return{backgroundColorClasses:n,backgroundColorStyles:o}}function al(e){for(var t=arguments.length,l=new Array(t>1?t-1:0),a=1;a<t;a++)l[a-1]=arguments[a]
|
|
304
332
|
return new Proxy(e,{get(e,t){if(Reflect.has(e,t))return Reflect.get(e,t)
|
|
305
333
|
for(const e of l)if(e.value&&Reflect.has(e.value,t)){const l=Reflect.get(e.value,t)
|
|
306
334
|
return"function"==typeof l?l.bind(e.value):l}},getOwnPropertyDescriptor(e,t){const a=Reflect.getOwnPropertyDescriptor(e,t)
|
|
@@ -310,117 +338,124 @@ const l=Reflect.getOwnPropertyDescriptor(e.value,t)
|
|
|
310
338
|
if(l)return l}for(const e of l){let l=e.value&&Object.getPrototypeOf(e.value)
|
|
311
339
|
for(;l;){const e=Reflect.getOwnPropertyDescriptor(l,t)
|
|
312
340
|
if(e)return e
|
|
313
|
-
l=Object.getPrototypeOf(l)}}}})}const
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
return
|
|
322
|
-
|
|
323
|
-
|
|
341
|
+
l=Object.getPrototypeOf(l)}}}})}const nl=[null,"prominent","default","comfortable","compact"],ol=Ee({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>nl.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:56},image:String,title:String,...Gt(),...Kt(),...Jt(),...Xt({tag:"header"}),...je()},"v-toolbar"),rl=be()({name:"VToolbar",props:ol(),setup(e,l){var a
|
|
342
|
+
let{slots:n}=l
|
|
343
|
+
const{borderClasses:o}=qt(e),{elevationClasses:r}=Zt(e),{roundedClasses:i}=Qt(e),{themeClasses:s}=Ue(e),{backgroundColorClasses:u,backgroundColorStyles:c}=ll(t.toRef(e,"color")),d=t.ref(!!(e.extended||null!=(a=n.extension)&&a.call(n))),v=t.computed((()=>parseInt(Number(e.height)+("prominent"===e.density?Number(e.height):0)-("comfortable"===e.density?8:0)-("compact"===e.density?16:0),10))),p=t.computed((()=>d.value?parseInt(Number(e.extensionHeight)+("prominent"===e.density?Number(e.extensionHeight):0)-("comfortable"===e.density?4:0)-("compact"===e.density?8:0),10):0))
|
|
344
|
+
return me({VBtn:{flat:!0,variant:"text"}}),Ae((()=>{var l,a,f,m,g
|
|
345
|
+
const h=!(!e.title&&!n.title),b=!(!n.image&&!e.image),y=null==(l=n.extension)?void 0:l.call(n)
|
|
346
|
+
return d.value=!(!e.extended&&!y),t.createVNode(e.tag,{class:["v-toolbar",{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},u.value,o.value,r.value,i.value,s.value],style:[c.value]},{default:()=>[b&&t.createVNode("div",{class:"v-toolbar__image"},[t.createVNode(dt,{defaults:{VImg:{cover:!0,src:e.image}},scoped:!0},{default:()=>[n.image?null==(a=n.image)?void 0:a.call(n):t.createVNode(Ut,null,null)]})]),t.createVNode("div",{class:"v-toolbar__content",style:{height:S(v.value)}},[n.prepend&&t.createVNode("div",{class:"v-toolbar__prepend"},[null==(f=n.prepend)?void 0:f.call(n)]),h&&t.createVNode(Yt,{text:e.title},{text:n.title}),null==(m=n.default)?void 0:m.call(n),n.append&&t.createVNode("div",{class:"v-toolbar__append"},[null==(g=n.append)?void 0:g.call(n)])]),t.createVNode(zt,null,{default:()=>[d.value&&t.createVNode("div",{class:"v-toolbar__extension",style:{height:S(p.value)}},[y])]})]})})),al({contentHeight:v,extensionHeight:p})}})
|
|
347
|
+
function il(e,l,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e=>e,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e=>e
|
|
348
|
+
const r=we("useProxiedModel"),i=t.computed((()=>{var t,a
|
|
349
|
+
return!(void 0===e[l]||!(null!=r&&null!=(t=r.vnode.props)&&t.hasOwnProperty(l)||null!=r&&null!=(a=r.vnode.props)&&a.hasOwnProperty(T(l))))})),s=t.ref(n(e[l]))
|
|
350
|
+
return t.computed({get:()=>i.value?n(e[l]):s.value,set(t){(i.value?n(e[l]):s.value)!==t&&(s.value=t,null==r||r.emit(`update:${l}`,o(t)))}})}const sl=he({name:"VAppBar",props:{modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...ol(),...et(),height:{type:[Number,String],default:64}},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
351
|
+
const n=t.ref(),o=il(e,"modelValue"),r=t.computed((()=>{var e,t,l,a
|
|
352
|
+
return(null!=(e=null==(t=n.value)?void 0:t.contentHeight)?e:0)+(null!=(l=null==(a=n.value)?void 0:a.extensionHeight)?l:0)})),{layoutItemStyles:i}=lt({id:e.name,order:t.computed((()=>parseInt(e.order,10))),position:t.toRef(e,"location"),layoutSize:r,elementSize:r,active:o,absolute:t.toRef(e,"absolute")})
|
|
324
353
|
return()=>{const[l]=function(e){var t
|
|
325
|
-
return
|
|
326
|
-
return t.createVNode(
|
|
327
|
-
function
|
|
354
|
+
return N(e,Object.keys(null!=(t=null==rl?void 0:rl.props)?t:{}))}(e)
|
|
355
|
+
return t.createVNode(rl,t.mergeProps({ref:n,class:["v-app-bar",{"v-app-bar--bottom":"bottom"===e.location}],style:{...i.value,height:void 0}},l),a)}}}),ul=[null,"default","comfortable","compact"],cl=Ee({density:{type:String,default:"default",validator:e=>ul.includes(e)}},"density")
|
|
356
|
+
function dl(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xe()
|
|
328
357
|
const a=t.computed((()=>`${l}--density-${e.density}`))
|
|
329
|
-
return{densityClasses:a}}const
|
|
330
|
-
function
|
|
331
|
-
function
|
|
358
|
+
return{densityClasses:a}}const vl=["outlined","plain","text","contained","contained-flat","contained-text"]
|
|
359
|
+
function pl(e,l){return t.createVNode(t.Fragment,null,[e&&t.createVNode("div",{class:`${l}__overlay`},null),t.createVNode("div",{class:`${l}__underlay`},null)])}const fl=Ee({color:String,variant:{type:String,default:"contained",validator:e=>vl.includes(e)}},"variant")
|
|
360
|
+
function ml(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xe()
|
|
332
361
|
const a=t.computed((()=>{const{variant:a}=t.unref(e)
|
|
333
|
-
return`${l}--variant-${a}`})),{colorClasses:n,colorStyles:o}=
|
|
362
|
+
return`${l}--variant-${a}`})),{colorClasses:n,colorStyles:o}=el(t.computed((()=>{const{variant:l,color:a}=t.unref(e)
|
|
334
363
|
return{[["contained","contained-flat"].includes(l)?"background":"text"]:a}})))
|
|
335
|
-
return{colorClasses:n,colorStyles:o,variantClasses:a}}const
|
|
336
|
-
const{themeClasses:n}=
|
|
337
|
-
|
|
338
|
-
function
|
|
339
|
-
const n=
|
|
364
|
+
return{colorClasses:n,colorStyles:o,variantClasses:a}}const gl=he({name:"VBtnGroup",props:{divided:Boolean,...Gt(),...cl(),...Kt(),...Jt(),...Xt(),...je(),...fl()},setup(e,l){let{slots:a}=l
|
|
365
|
+
const{themeClasses:n}=Ue(e),{densityClasses:o}=dl(e),{borderClasses:r}=qt(e),{elevationClasses:i}=Zt(e),{roundedClasses:s}=Qt(e)
|
|
366
|
+
me({VBtn:{height:"auto",color:t.toRef(e,"color"),density:t.toRef(e,"density"),flat:!0,variant:t.toRef(e,"variant")}}),Ae((()=>t.createVNode(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},n.value,r.value,o.value,i.value,s.value]},a)))}}),hl=Ee({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),bl=Ee({value:null,disabled:Boolean,selectedClass:String},"group-item")
|
|
367
|
+
function yl(e,l){let a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2]
|
|
368
|
+
const n=we("useGroupItem")
|
|
340
369
|
if(!n)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function")
|
|
341
|
-
const o
|
|
370
|
+
const o=R()
|
|
342
371
|
t.provide(Symbol.for(`${l.description}:id`),o)
|
|
343
372
|
const r=t.inject(l,null)
|
|
344
373
|
if(!r){if(!a)return r
|
|
345
374
|
throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${l.description}`)}const i=t.toRef(e,"value"),s=t.computed((()=>r.disabled.value||e.disabled))
|
|
346
375
|
r.register({id:o,value:i,disabled:s},n),t.onBeforeUnmount((()=>{r.unregister(o)}))
|
|
347
376
|
const u=t.computed((()=>r.isSelected(o))),c=t.computed((()=>u.value&&[r.selectedClass.value,e.selectedClass]))
|
|
348
|
-
return t.watch(u,(e=>{n.emit("group:selected",{value:e})})),{id:o,isSelected:u,toggle:()=>r.select(o,!u.value),select:e=>r.select(o,e),selectedClass:c,value:i,disabled:s,group:r}}function
|
|
349
|
-
const n=t.reactive([]),
|
|
377
|
+
return t.watch(u,(e=>{n.emit("group:selected",{value:e})})),{id:o,isSelected:u,toggle:()=>r.select(o,!u.value),select:e=>r.select(o,e),selectedClass:c,value:i,disabled:s,group:r}}function Vl(e,l){let a=!1
|
|
378
|
+
const n=t.reactive([]),o=il(e,"modelValue",[],(e=>null==e?[]:Sl(n,B(e))),(t=>{const l=function(e,t){const l=[]
|
|
350
379
|
for(let a=0;a<e.length;a++){const n=e[a]
|
|
351
380
|
t.includes(n.id)&&l.push(null!=n.value?n.value:a)}return l}(n,t)
|
|
352
|
-
return e.multiple?l:l[0]})),
|
|
353
|
-
function
|
|
354
|
-
t&&"force"===e.mandatory&&!
|
|
355
|
-
let a=(l+t)%n.length,
|
|
356
|
-
for(;
|
|
357
|
-
if(
|
|
358
|
-
|
|
359
|
-
e&&(
|
|
360
|
-
const c={register:function(e,t){const a=e,o=
|
|
381
|
+
return e.multiple?l:l[0]})),r=we("useGroup")
|
|
382
|
+
function i(){const t=n.find((e=>!e.disabled))
|
|
383
|
+
t&&"force"===e.mandatory&&!o.value.length&&(o.value=[t.id])}function u(t){if(e.multiple&&s('This method is not supported when using "multiple" prop'),o.value.length){const e=o.value[0],l=n.findIndex((t=>t.id===e))
|
|
384
|
+
let a=(l+t)%n.length,r=n[a]
|
|
385
|
+
for(;r.disabled&&a!==l;)a=(a+t)%n.length,r=n[a]
|
|
386
|
+
if(r.disabled)return
|
|
387
|
+
o.value=[n[a].id]}else{const e=n.find((e=>!e.disabled))
|
|
388
|
+
e&&(o.value=[e.id])}}t.onMounted((()=>{i()})),t.onBeforeUnmount((()=>{a=!0}))
|
|
389
|
+
const c={register:function(e,t){const a=e,o=z(Symbol.for(`${l.description}:id`),null==r?void 0:r.vnode).indexOf(t)
|
|
361
390
|
o>-1?n.splice(o,0,a):n.push(a)},unregister:function(e){if(a)return
|
|
362
|
-
|
|
391
|
+
i()
|
|
363
392
|
const t=n.findIndex((t=>t.id===e))
|
|
364
|
-
n.splice(t,1)},selected:
|
|
365
|
-
if(!l||null==a||!a.disabled)if(e.multiple){var
|
|
366
|
-
const a=
|
|
367
|
-
if(l=null!=(
|
|
393
|
+
n.splice(t,1)},selected:o,select:function(t,l){const a=n.find((e=>e.id===t))
|
|
394
|
+
if(!l||null==a||!a.disabled)if(e.multiple){var r
|
|
395
|
+
const a=o.value.slice(),n=a.findIndex((e=>e===t)),i=~n
|
|
396
|
+
if(l=null!=(r=l)?r:!i,i&&e.mandatory&&a.length<=1)return
|
|
368
397
|
if(!i&&null!=e.max&&a.length+1>e.max)return
|
|
369
|
-
n<0&&l?a.push(t):n>=0&&!l&&a.splice(n,1),
|
|
370
|
-
const a=
|
|
398
|
+
n<0&&l?a.push(t):n>=0&&!l&&a.splice(n,1),o.value=a}else{var i
|
|
399
|
+
const a=o.value.includes(t)
|
|
371
400
|
if(e.mandatory&&a)return
|
|
372
|
-
|
|
401
|
+
o.value=(null!=(i=l)?i:!a)?[t]:[]}},disabled:t.toRef(e,"disabled"),prev:()=>u(n.length-1),next:()=>u(1),isSelected:e=>o.value.includes(e),selectedClass:t.computed((()=>e.selectedClass)),items:t.computed((()=>n)),getItemIndex:e=>function(e,t){const l=Sl(e,[t])
|
|
373
402
|
return l.length?e.findIndex((e=>e.id===l[0])):-1}(n,e)}
|
|
374
|
-
return t.provide(l,c),c}function
|
|
403
|
+
return t.provide(l,c),c}function Sl(e,t){const l=[]
|
|
375
404
|
for(let a=0;a<e.length;a++){const n=e[a]
|
|
376
|
-
null!=n.value?null!=t.find((e=>
|
|
377
|
-
const{isSelected:n,next:o,prev:r,select:i,selected:s}=
|
|
378
|
-
return
|
|
379
|
-
return t.createVNode(
|
|
380
|
-
function
|
|
381
|
-
const a=t.computed((()=>
|
|
382
|
-
return{sizeClasses:a,sizeStyles:n}}const
|
|
383
|
-
return()=>t.createVNode(e.tag,t.mergeProps(a,{style:null}),{default:()=>[t.createVNode("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[t.createVNode("path",{d:e.icon},null)])]})}}),
|
|
405
|
+
null!=n.value?null!=t.find((e=>h(e,n.value)))&&l.push(n.id):t.includes(a)&&l.push(n.id)}return l}const wl=Symbol.for("vuetify:v-btn-toggle"),xl=be()({name:"VBtnToggle",props:hl({selectedClass:"v-btn--selected"}),emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
406
|
+
const{isSelected:n,next:o,prev:r,select:i,selected:s}=Vl(e,wl)
|
|
407
|
+
return Ae((()=>{var e
|
|
408
|
+
return t.createVNode(gl,{class:"v-btn-toggle"},{default:()=>[null==(e=a.default)?void 0:e.call(a,{isSelected:n,next:o,prev:r,select:i,selected:s})]})})),{next:o,prev:r,select:i}}}),Cl=["x-small","small","default","large","x-large"],kl=Ee({size:{type:[String,Number],default:"default"}},"size")
|
|
409
|
+
function Nl(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xe()
|
|
410
|
+
const a=t.computed((()=>Cl.includes(e.size)?`${l}--size-${e.size}`:null)),n=t.computed((()=>!Cl.includes(e.size)&&e.size?{width:S(e.size),height:S(e.size)}:null))
|
|
411
|
+
return{sizeClasses:a,sizeStyles:n}}const _l={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sort:"mdi-arrow-up",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus"},Bl={component:e=>t.h(Tl,{...e,class:"mdi"})},Il=[String,Function,Object],$l=Symbol.for("vuetify:icons"),El=Ee({icon:{type:Il,required:!0},tag:{type:String,required:!0}},"icon"),Al=he({name:"VComponentIcon",props:El(),setup:e=>()=>t.createVNode(e.tag,null,{default:()=>[t.createVNode(e.icon,null,null)]})}),Rl=he({name:"VSvgIcon",inheritAttrs:!1,props:El(),setup(e,l){let{attrs:a}=l
|
|
412
|
+
return()=>t.createVNode(e.tag,t.mergeProps(a,{style:null}),{default:()=>[t.createVNode("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[t.createVNode("path",{d:e.icon},null)])]})}}),Ll=he({name:"VLigatureIcon",props:El(),setup:e=>()=>t.createVNode(e.tag,null,{default:()=>[e.icon]})}),Tl=he({name:"VClassIcon",props:El(),setup:e=>()=>t.createVNode(e.tag,{class:e.icon},null)}),zl={svg:{component:Rl},class:{component:Tl}}
|
|
413
|
+
function Ml(e){return A({defaultSet:"mdi",sets:{...zl,mdi:Bl},aliases:_l},e)}const Pl=Ee({color:String,start:Boolean,end:Boolean,icon:Il,...kl(),...Xt({tag:"i"}),...je()},"v-icon"),Ol=he({name:"VIcon",props:Pl(),setup(e,l){let a,{attrs:n,slots:o}=l
|
|
384
414
|
o.default&&(a=t.computed((()=>{var e,t
|
|
385
415
|
const l=null==(e=o.default)?void 0:e.call(o)
|
|
386
|
-
if(l)return null==(t=
|
|
387
|
-
const{themeClasses:r}=
|
|
416
|
+
if(l)return null==(t=L(l).filter((e=>e.children&&"string"==typeof e.children))[0])?void 0:t.children})))
|
|
417
|
+
const{themeClasses:r}=Ue(e),{iconData:i}=(e=>{const l=t.inject($l)
|
|
388
418
|
if(!l)throw new Error("Missing Vuetify Icons provide!")
|
|
389
419
|
return{iconData:t.computed((()=>{const a=t.isRef(e)?e.value:e.icon
|
|
390
420
|
if(!a)throw new Error("Icon value is undefined or null")
|
|
391
421
|
let n=a
|
|
392
422
|
var o
|
|
393
423
|
if("string"==typeof a&&a.includes("$")&&(n=null==(o=l.aliases)?void 0:o[a.slice(a.indexOf("$")+1)]),!n)throw new Error(`Could not find aliased icon "${a}"`)
|
|
394
|
-
if("string"!=typeof n)return{component:
|
|
424
|
+
if("string"!=typeof n)return{component:Al,icon:n}
|
|
395
425
|
const r=Object.keys(l.sets).find((e=>"string"==typeof n&&n.startsWith(`${e}:`))),i=r?n.slice(r.length+1):n
|
|
396
|
-
return{component:l.sets[null!=r?r:l.defaultSet].component,icon:i}}))}})(a||e),{sizeClasses:s}=
|
|
397
|
-
return()=>t.createVNode(i.value.component,{tag:e.tag,icon:i.value.icon,class:["v-icon","notranslate",s.value,u.value,r.value,{"v-icon--clickable":!!n.onClick,"v-icon--start":e.start,"v-icon--end":e.end}],style:[s.value?void 0:{fontSize:
|
|
398
|
-
function
|
|
399
|
-
const
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
return
|
|
426
|
+
return{component:l.sets[null!=r?r:l.defaultSet].component,icon:i}}))}})(a||e),{sizeClasses:s}=Nl(e),{textColorClasses:u,textColorStyles:c}=tl(t.toRef(e,"color"))
|
|
427
|
+
return()=>t.createVNode(i.value.component,{tag:e.tag,icon:i.value.icon,class:["v-icon","notranslate",s.value,u.value,r.value,{"v-icon--clickable":!!n.onClick,"v-icon--start":e.start,"v-icon--end":e.end}],style:[s.value?void 0:{fontSize:S(e.size),width:S(e.size),height:S(e.size)},c.value],"aria-hidden":"true"},null)}}),Fl={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Dl=Ee({location:String},"location")
|
|
428
|
+
function jl(e){let a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0
|
|
429
|
+
const{isRtl:o}=ut()
|
|
430
|
+
function r(e){return"start"===e?o.value?"right":"left":"end"===e?o.value?"left":"right":e}const i=t.computed((()=>{if(!e.location)return{}
|
|
431
|
+
const t=l(e.location.split(" ").length>1?e.location:`${e.location} center`),o=r(t.side),i=r(t.align)
|
|
432
|
+
function s(e){return n?n(e):0}const u={}
|
|
433
|
+
return"center"!==o&&(a?u[Fl[o]]=`calc(100% - ${s(o)}px)`:u[o]=0),"center"!==i?a?u[Fl[i]]=`calc(100% - ${s(i)}px)`:u[i]=0:("center"===o?u.top=u.left="50%":u[{top:"left",bottom:"left",left:"top",right:"top"}[o]]="50%",u.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[o]),u}))
|
|
434
|
+
return{locationStyles:i}}const Hl=["static","relative","fixed","absolute","sticky"],Wl=Ee({position:{type:String,validator:e=>Hl.includes(e)}},"position")
|
|
435
|
+
function Ul(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xe()
|
|
436
|
+
const a=t.computed((()=>e.position?`${l}--${e.position}`:void 0))
|
|
437
|
+
return{positionClasses:a}}function Xl(){var e,t
|
|
438
|
+
return null==(e=we("useRouter"))||null==(t=e.proxy)?void 0:t.$router}function Yl(e,l){const a=t.resolveDynamicComponent("RouterLink"),n=t.computed((()=>!(!e.href&&!e.to))),o=t.computed((()=>(null==n?void 0:n.value)||!(!l.onClick&&!l.onClickOnce)))
|
|
404
439
|
if("string"==typeof a)return{isLink:n,isClickable:o,href:t.toRef(e,"href")}
|
|
405
440
|
const r=e.to?a.useLink(e):void 0
|
|
406
|
-
return{...r,isLink:n,isClickable:o,href:t.computed((()=>e.to?null==r?void 0:r.route.value.href:e.href))}}const
|
|
407
|
-
let
|
|
408
|
-
const
|
|
409
|
-
function
|
|
441
|
+
return{...r,isLink:n,isClickable:o,href:t.computed((()=>e.to?null==r?void 0:r.route.value.href:e.href))}}const Gl=Ee({href:String,replace:Boolean,to:[String,Object]},"router")
|
|
442
|
+
let ql=!1
|
|
443
|
+
const Kl=Symbol("rippleStop")
|
|
444
|
+
function Zl(e,t){e.style.transform=t,e.style.webkitTransform=t}function Jl(e,t){e.style.opacity=`calc(${t} * var(--v-theme-overlay-multiplier))`}function Ql(e){return"TouchEvent"===e.constructor.name}function ea(e){return"KeyboardEvent"===e.constructor.name}const ta={show(e,t){var l
|
|
410
445
|
let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}
|
|
411
446
|
if(null==t||null==(l=t._ripple)||!l.enabled)return
|
|
412
447
|
const n=document.createElement("span"),o=document.createElement("span")
|
|
413
448
|
n.appendChild(o),n.className="v-ripple__container",a.class&&(n.className+=` ${a.class}`)
|
|
414
449
|
const{radius:r,scale:i,x:s,y:u,centerX:c,centerY:d}=function(e,t){var l
|
|
415
450
|
let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=0,o=0
|
|
416
|
-
if(!
|
|
451
|
+
if(!ea(e)){const l=t.getBoundingClientRect(),a=Ql(e)?e.touches[e.touches.length-1]:e
|
|
417
452
|
n=a.clientX-l.left,o=a.clientY-l.top}let r=0,i=.3
|
|
418
453
|
null!=(l=t._ripple)&&l.circle?(i=.15,r=t.clientWidth/2,r=a.center?r:r+Math.sqrt((n-r)**2+(o-r)**2)/4):r=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2
|
|
419
454
|
const s=(t.clientWidth-2*r)/2+"px",u=(t.clientHeight-2*r)/2+"px",c=a.center?s:n-r+"px",d=a.center?u:o-r+"px"
|
|
420
455
|
return{radius:r,scale:i,x:c,y:d,centerX:s,centerY:u}}(e,t,a),v=2*r+"px"
|
|
421
456
|
o.className="v-ripple__animation",o.style.width=v,o.style.height=v,t.appendChild(n)
|
|
422
457
|
const p=window.getComputedStyle(t)
|
|
423
|
-
p&&"static"===p.position&&(t.style.position="relative",t.dataset.previousPosition="static"),o.classList.add("v-ripple__animation--enter"),o.classList.add("v-ripple__animation--visible"),
|
|
458
|
+
p&&"static"===p.position&&(t.style.position="relative",t.dataset.previousPosition="static"),o.classList.add("v-ripple__animation--enter"),o.classList.add("v-ripple__animation--visible"),Zl(o,`translate(${s}, ${u}) scale3d(${i},${i},${i})`),Jl(o,0),o.dataset.activated=String(performance.now()),setTimeout((()=>{o.classList.remove("v-ripple__animation--enter"),o.classList.add("v-ripple__animation--in"),Zl(o,`translate(${c}, ${d}) scale3d(1,1,1)`),Jl(o,.08)}),0)},hide(e){var t
|
|
424
459
|
if(null==e||null==(t=e._ripple)||!t.enabled)return
|
|
425
460
|
const l=e.getElementsByClassName("v-ripple__animation")
|
|
426
461
|
if(0===l.length)return
|
|
@@ -428,92 +463,66 @@ const a=l[l.length-1]
|
|
|
428
463
|
if(a.dataset.isHiding)return
|
|
429
464
|
a.dataset.isHiding="true"
|
|
430
465
|
const n=performance.now()-Number(a.dataset.activated),o=Math.max(250-n,0)
|
|
431
|
-
setTimeout((()=>{a.classList.remove("v-ripple__animation--in"),a.classList.add("v-ripple__animation--out"),
|
|
432
|
-
function
|
|
433
|
-
if(null!=l&&l._ripple&&!l._ripple.touched&&!e[
|
|
466
|
+
setTimeout((()=>{a.classList.remove("v-ripple__animation--in"),a.classList.add("v-ripple__animation--out"),Jl(a,0),setTimeout((()=>{1===e.getElementsByClassName("v-ripple__animation").length&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),a.parentNode&&e.removeChild(a.parentNode)}),300)}),o)}}
|
|
467
|
+
function la(e){return void 0===e||!!e}function aa(e){const t={},l=e.currentTarget
|
|
468
|
+
if(null!=l&&l._ripple&&!l._ripple.touched&&!e[Kl]){if(e[Kl]=!0,Ql(e))l._ripple.touched=!0,l._ripple.isTouch=!0
|
|
434
469
|
else if(l._ripple.isTouch)return
|
|
435
|
-
if(t.center=l._ripple.centered||
|
|
436
|
-
l._ripple.showTimerCommit=()=>{
|
|
437
|
-
null!=l&&null!=(e=l._ripple)&&e.showTimerCommit&&(l._ripple.showTimerCommit(),l._ripple.showTimerCommit=null)}),80)}else
|
|
438
|
-
if(t&&t._ripple){if(window.clearTimeout(t._ripple.showTimer),"touchend"===e.type&&t._ripple.showTimerCommit)return t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,void(t._ripple.showTimer=window.setTimeout((()=>{
|
|
439
|
-
window.setTimeout((()=>{t._ripple&&(t._ripple.touched=!1)})),
|
|
440
|
-
t&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let
|
|
441
|
-
function
|
|
442
|
-
const{value:n,modifiers:o}=t,r=
|
|
443
|
-
if(r||
|
|
444
|
-
e.addEventListener("touchstart",
|
|
445
|
-
|
|
446
|
-
const{themeClasses:o}=
|
|
470
|
+
if(t.center=l._ripple.centered||ea(e),l._ripple.class&&(t.class=l._ripple.class),Ql(e)){if(l._ripple.showTimerCommit)return
|
|
471
|
+
l._ripple.showTimerCommit=()=>{ta.show(e,l,t)},l._ripple.showTimer=window.setTimeout((()=>{var e
|
|
472
|
+
null!=l&&null!=(e=l._ripple)&&e.showTimerCommit&&(l._ripple.showTimerCommit(),l._ripple.showTimerCommit=null)}),80)}else ta.show(e,l,t)}}function na(e){e[Kl]=!0}function oa(e){const t=e.currentTarget
|
|
473
|
+
if(t&&t._ripple){if(window.clearTimeout(t._ripple.showTimer),"touchend"===e.type&&t._ripple.showTimerCommit)return t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,void(t._ripple.showTimer=window.setTimeout((()=>{oa(e)})))
|
|
474
|
+
window.setTimeout((()=>{t._ripple&&(t._ripple.touched=!1)})),ta.hide(t)}}function ra(e){const t=e.currentTarget
|
|
475
|
+
t&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let ia=!1
|
|
476
|
+
function sa(e){ia||e.keyCode!==x.enter&&e.keyCode!==x.space||(ia=!0,aa(e))}function ua(e){ia=!1,oa(e)}function ca(e){ia&&(ia=!1,oa(e))}function da(e,t,l){var a
|
|
477
|
+
const{value:n,modifiers:o}=t,r=la(n)
|
|
478
|
+
if(r||ta.hide(e),e._ripple=null!=(a=e._ripple)?a:{},e._ripple.enabled=r,e._ripple.centered=o.center,e._ripple.circle=o.circle,w(n)&&n.class&&(e._ripple.class=n.class),r&&!l){if(o.stop)return e.addEventListener("touchstart",na,{passive:!0}),void e.addEventListener("mousedown",na)
|
|
479
|
+
e.addEventListener("touchstart",aa,{passive:!0}),e.addEventListener("touchend",oa,{passive:!0}),e.addEventListener("touchmove",ra,{passive:!0}),e.addEventListener("touchcancel",oa),e.addEventListener("mousedown",aa),e.addEventListener("mouseup",oa),e.addEventListener("mouseleave",oa),e.addEventListener("keydown",sa),e.addEventListener("keyup",ua),e.addEventListener("blur",ca),e.addEventListener("dragstart",oa,{passive:!0})}else!r&&l&&va(e)}function va(e){e.removeEventListener("mousedown",aa),e.removeEventListener("touchstart",aa),e.removeEventListener("touchend",oa),e.removeEventListener("touchmove",ra),e.removeEventListener("touchcancel",oa),e.removeEventListener("mouseup",oa),e.removeEventListener("mouseleave",oa),e.removeEventListener("keydown",sa),e.removeEventListener("keyup",ua),e.removeEventListener("dragstart",oa),e.removeEventListener("blur",ca)}const pa={mounted:function(e,t){da(e,t,!1)},unmounted:function(e){delete e._ripple,va(e)},updated:function(e,t){if(t.value===t.oldValue)return
|
|
480
|
+
da(e,t,la(t.oldValue))}},fa=he({name:"VBtn",directives:{Ripple:pa},props:{active:Boolean,symbol:{type:null,default:wl},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:Il,appendIcon:Il,block:Boolean,stacked:Boolean,ripple:{type:Boolean,default:!0},...Gt(),...Jt(),...cl(),...Pt(),...Kt(),...bl(),...Dl(),...Wl(),...Gl(),...kl(),...Xt({tag:"button"}),...je(),...fl({variant:"contained"})},setup(e,l){let{attrs:a,slots:n}=l
|
|
481
|
+
const{themeClasses:o}=Ue(e),{borderClasses:r}=qt(e),{colorClasses:i,colorStyles:s,variantClasses:u}=ml(e),{densityClasses:c}=dl(e),{dimensionStyles:d}=Ot(e),{elevationClasses:v}=Zt(e),{locationStyles:p}=jl(e),{positionClasses:f}=Ul(e),{roundedClasses:m}=Qt(e),{sizeClasses:g}=Nl(e),h=yl(e,e.symbol,!1),b=Yl(e,a),y=t.computed((()=>(null==h?void 0:h.disabled.value)||e.disabled)),V=t.computed((()=>"contained"===e.variant&&!(e.disabled||e.flat||e.border)))
|
|
447
482
|
return function(e,l){t.watch((()=>{var t
|
|
448
483
|
return null==(t=e.isExactActive)?void 0:t.value}),(a=>{e.isLink.value&&a&&l&&t.nextTick((()=>{l(!0)}))}),{immediate:!0})}(b,null==h?void 0:h.select),()=>{var l
|
|
449
484
|
const a=b.isLink.value?"a":e.tag,S=!h||h.isSelected.value
|
|
450
|
-
return t.withDirectives(t.createVNode(a,{type:"a"===a?void 0:"button",class:["v-btn",null==h?void 0:h.selectedClass.value,{"v-btn--active":e.active,"v-btn--block":e.block,"v-btn--disabled":y.value,"v-btn--elevated":V.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--stacked":e.stacked},o.value,r.value,S?i.value:void 0,c.value,v.value,
|
|
451
|
-
y.value||(null==(t=b.navigate)||t.call(b,e),null==h||h.toggle())}},{default:()=>[
|
|
485
|
+
return t.withDirectives(t.createVNode(a,{type:"a"===a?void 0:"button",class:["v-btn",null==h?void 0:h.selectedClass.value,{"v-btn--active":e.active,"v-btn--block":e.block,"v-btn--disabled":y.value,"v-btn--elevated":V.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--stacked":e.stacked},o.value,r.value,S?i.value:void 0,c.value,v.value,f.value,m.value,g.value,u.value],style:[S?s.value:void 0,d.value,p.value],disabled:y.value||void 0,href:b.href.value,onClick:e=>{var t
|
|
486
|
+
y.value||(null==(t=b.navigate)||t.call(b,e),null==h||h.toggle())}},{default:()=>[pl(!0,"v-btn"),!e.icon&&e.prependIcon&&t.createVNode(Ol,{class:"v-btn__icon",icon:e.prependIcon,start:!0},null),t.createVNode("div",{class:"v-btn__content","data-no-activator":""},["boolean"==typeof e.icon?null==(l=n.default)?void 0:l.call(n):t.createVNode(Ol,{class:"v-btn__icon",icon:e.icon,size:e.size},null)]),!e.icon&&e.appendIcon&&t.createVNode(Ol,{class:"v-btn__icon",icon:e.appendIcon,end:!0},null)]}),[[t.resolveDirective("ripple"),!y.value&&e.ripple,null]])}}}),ma=he({name:"VAppBarNavIcon",props:{icon:{type:Il,default:"$menu"}},setup(e,l){let{slots:a}=l
|
|
452
487
|
return()=>{var l
|
|
453
|
-
return t.createVNode(
|
|
454
|
-
return
|
|
455
|
-
return null==(e=a.default)?void 0:e.call(a)}}}),
|
|
456
|
-
return()=>t.createVNode(
|
|
457
|
-
const n=
|
|
488
|
+
return t.createVNode(fa,{class:"v-app-bar-nav-icon",icon:e.icon},{default:()=>[null==(l=a.default)?void 0:l.call(a)]})}}}),ga=he({name:"VToolbarItems",props:{...fl({variant:"contained-text"})},setup(e,l){let{slots:a}=l
|
|
489
|
+
return me({VBtn:{color:t.toRef(e,"color"),variant:t.toRef(e,"variant")}}),()=>{var e
|
|
490
|
+
return null==(e=a.default)?void 0:e.call(a)}}}),ha=he({name:"VAppBarTitle",props:{...Yt.props},setup(e,l){let{slots:a}=l
|
|
491
|
+
return()=>t.createVNode(Yt,{class:"v-app-bar-title"},a)}}),ba=ye("v-alert-title"),ya=["success","info","warning","error"],Va=he({name:"VAlert",props:{border:{type:[Boolean,String],validator:e=>"boolean"==typeof e||["top","end","bottom","start"].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:Il,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:e=>ya.includes(e)},...cl(),...Pt(),...Kt(),...Dl(),...Wl(),...Jt(),...Xt(),...je(),...fl({variant:"contained-flat"})},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
492
|
+
const n=il(e,"modelValue"),o=t.computed((()=>{var t
|
|
458
493
|
if(!1!==e.icon)return e.type?null!=(t=e.icon)?t:`$${e.type}`:e.icon})),r=t.computed((()=>{var t
|
|
459
|
-
return{color:null!=(t=e.color)?t:e.type,variant:e.variant}})),{themeClasses:i}=
|
|
494
|
+
return{color:null!=(t=e.color)?t:e.type,variant:e.variant}})),{themeClasses:i}=Ue(e),{colorClasses:s,colorStyles:u,variantClasses:c}=ml(r),{densityClasses:d}=dl(e),{dimensionStyles:v}=Ot(e),{elevationClasses:p}=Zt(e),{locationStyles:f}=jl(e),{positionClasses:m}=Ul(e),{roundedClasses:g}=Qt(e),{textColorClasses:h,textColorStyles:b}=tl(t.toRef(e,"borderColor"))
|
|
460
495
|
function y(e){n.value=!1}return()=>{var l
|
|
461
496
|
const r=!(!a.prepend&&!o.value),V=!(!a.title&&!e.title),S=!(!e.text&&!a.text),w=!(!a.close&&!e.closable)
|
|
462
|
-
return n.value&&t.createVNode(e.tag,{class:["v-alert",e.border&&{"v-alert--border":!!e.border,[`v-alert--border-${!0===e.border?"start":e.border}`]:!0},{"v-alert--prominent":e.prominent},i.value,s.value,d.value,p.value,
|
|
463
|
-
const{backgroundColorClasses:n,backgroundColorStyles:o}=
|
|
464
|
-
return
|
|
465
|
-
return t.createVNode(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},n.value,r.value,i.value,s.value],style:[o.value,u.value]},{default:()=>[e.image?t.createVNode(
|
|
466
|
-
const{themeClasses:n}=
|
|
467
|
-
return
|
|
468
|
-
return t.createVNode(e.tag,{class:["v-chip-group",{"v-chip-group--column":e.column},n.value]},{default:()=>[null==(l=a.default)?void 0:l.call(a,{isSelected:o,select:r,next:i,prev:s,selected:u.value})]})}}})
|
|
469
|
-
|
|
470
|
-
return fe({name:e,props:{group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:{type:String,default:a},origin:{type:String,default:l}},setup(l,a){let{slots:n}=a
|
|
471
|
-
return()=>{const a=l.group?t.TransitionGroup:t.Transition
|
|
472
|
-
return t.h(a,{name:e,mode:l.mode,onBeforeEnter(e){e.style.transformOrigin=l.origin},onLeave(e){if(l.leaveAbsolute){const{offsetTop:t,offsetLeft:l,offsetWidth:a,offsetHeight:n}=e
|
|
473
|
-
e._transitionInitialStyles={position:e.style.position,top:e.style.top,left:e.style.left,width:e.style.width,height:e.style.height},e.style.position="absolute",e.style.top=`${t}px`,e.style.left=`${l}px`,e.style.width=`${a}px`,e.style.height=`${n}px`}l.hideOnLeave&&e.style.setProperty("display","none","important")},onAfterLeave(e){if(l.leaveAbsolute&&null!=e&&e._transitionInitialStyles){const{position:t,top:l,left:a,width:n,height:o}=e._transitionInitialStyles
|
|
474
|
-
delete e._transitionInitialStyles,e.style.position=t||"",e.style.top=l||"",e.style.left=a||"",e.style.width=n||"",e.style.height=o||""}}},n.default)}}})}function Wl(e,l){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"in-out"
|
|
475
|
-
return fe({name:e,props:{mode:{type:String,default:a}},setup(a,n){let{slots:o}=n
|
|
476
|
-
return()=>t.h(t.Transition,{name:e,...l},o.default)}})}function Ul(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",l=arguments.length>1&&void 0!==arguments[1]&&arguments[1]
|
|
477
|
-
const a=l?"width":"height",n=t.camelize(`offset-${a}`)
|
|
478
|
-
return{onBeforeEnter(e){e._parent=e.parentNode,e._initialStyle={transition:e.style.transition,overflow:e.style.overflow,[a]:e.style[a]}},onEnter(t){const l=t._initialStyle
|
|
479
|
-
t.style.setProperty("transition","none","important"),t.style.overflow="hidden"
|
|
480
|
-
const o=`${t[n]}px`
|
|
481
|
-
t.style[a]="0",t.offsetHeight,t.style.transition=l.transition,e&&t._parent&&t._parent.classList.add(e),requestAnimationFrame((()=>{t.style[a]=o}))},onAfterEnter:r,onEnterCancelled:r,onLeave(e){e._initialStyle={transition:"",overflow:e.style.overflow,[a]:e.style[a]},e.style.overflow="hidden",e.style[a]=`${e[n]}px`,e.offsetHeight,requestAnimationFrame((()=>e.style[a]="0"))},onAfterLeave:o,onLeaveCancelled:o}
|
|
482
|
-
function o(t){e&&t._parent&&t._parent.classList.remove(e),r(t)}function r(e){const t=e._initialStyle[a]
|
|
483
|
-
e.style.overflow=e._initialStyle.overflow,null!=t&&(e.style[a]=t),delete e._initialStyle}}const Xl=fe({name:"VDialogTransition",props:{target:Object},setup(e,l){let{slots:a}=l
|
|
484
|
-
const n={onBeforeEnter(e){e.style.pointerEvents="none"},async onEnter(t,l){await new Promise((e=>requestAnimationFrame(e)))
|
|
485
|
-
const{x:a,y:n}=Yl(e.target,t)
|
|
486
|
-
t.animate([{transform:`translate(${a}px, ${n}px) scale(0.1)`,opacity:0},{transform:""}],{duration:225,easing:"cubic-bezier(0.0, 0, 0.2, 1)"}).finished.then((()=>l()))},onAfterEnter(e){e.style.removeProperty("pointer-events")},onBeforeLeave(e){e.style.pointerEvents="none"},async onLeave(t,l){await new Promise((e=>requestAnimationFrame(e)))
|
|
487
|
-
const{x:a,y:n}=Yl(e.target,t)
|
|
488
|
-
t.animate([{transform:""},{transform:`translate(${a}px, ${n}px) scale(0.1)`,opacity:0}],{duration:125,easing:"cubic-bezier(0.4, 0, 1, 1)"}).finished.then((()=>l()))},onAfterLeave(e){e.style.removeProperty("pointer-events")}}
|
|
489
|
-
return()=>e.target?t.createVNode(t.Transition,t.mergeProps({name:"dialog-transition"},n,{css:!1}),a):t.createVNode(t.Transition,{name:"dialog-transition"},a)}})
|
|
490
|
-
function Yl(e,t){const l=e.getBoundingClientRect(),n=a(t),[o,r]=getComputedStyle(t).transformOrigin.split(" ").map((e=>parseFloat(e))),[i,s]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ")
|
|
491
|
-
let u=l.left+l.width/2
|
|
492
|
-
"left"===i||"left"===s?u-=l.width/2:"right"!==i&&"right"!==s||(u+=l.width/2)
|
|
493
|
-
let c=l.top+l.height/2
|
|
494
|
-
return"top"===i||"top"===s?c-=l.height/2:"bottom"!==i&&"bottom"!==s||(c+=l.height/2),{x:u-(o+n.left),y:c-(r+n.top)}}const Gl=Hl("carousel-transition"),ql=Hl("carousel-reverse-transition"),Kl=Hl("tab-transition"),Zl=Hl("tab-reverse-transition"),Jl=Hl("menu-transition"),Ql=Hl("fab-transition","center center","out-in"),ea=Hl("dialog-bottom-transition"),ta=Hl("dialog-top-transition"),la=Hl("fade-transition"),aa=Hl("scale-transition"),na=Hl("scroll-x-transition"),oa=Hl("scroll-x-reverse-transition"),ra=Hl("scroll-y-transition"),ia=Hl("scroll-y-reverse-transition"),sa=Hl("slide-x-transition"),ua=Hl("slide-x-reverse-transition"),ca=Hl("slide-y-transition"),da=Hl("slide-y-reverse-transition"),va=Wl("expand-transition",Ul()),pa=Wl("expand-x-transition",Ul("",!0)),fa=fe({name:"VChip",directives:{Ripple:El},props:{activeClass:String,appendAvatar:String,appendIcon:String,closable:Boolean,closeIcon:{type:String,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:Boolean,pill:Boolean,prependAvatar:String,prependIcon:String,ripple:{type:Boolean,default:!0},text:String,modelValue:{type:Boolean,default:!0},...yt(),...Lt(),...St(),...Ht(),...Ct(),...vl(),...Kt(),...ht({tag:"span"}),...De(),...Ot({variant:"contained-text"})},emits:{"click:close":e=>!0,"update:active":e=>!0,"update:modelValue":e=>!0},setup(e,l){let{attrs:a,emit:n,slots:o}=l
|
|
495
|
-
const r=At(e,"modelValue"),{themeClasses:i}=He(e),{borderClasses:s}=Vt(e),{colorClasses:u,colorStyles:c,variantClasses:d}=Dt(e),{elevationClasses:v}=wt(e),p=Wt(e,Fl,!1),{roundedClasses:f}=xt(e),{sizeClasses:m}=Zt(e),{densityClasses:g}=Mt(e),h=dl(e,a)
|
|
497
|
+
return n.value&&t.createVNode(e.tag,{class:["v-alert",e.border&&{"v-alert--border":!!e.border,[`v-alert--border-${!0===e.border?"start":e.border}`]:!0},{"v-alert--prominent":e.prominent},i.value,s.value,d.value,p.value,m.value,g.value,c.value],style:[u.value,v.value,f.value],role:"alert"},{default:()=>[pl(!1,"v-alert"),e.border&&t.createVNode("div",{class:["v-alert__border",h.value],style:b.value},null),r&&t.createVNode(dt,{defaults:{VIcon:{density:e.density,icon:o.value,size:e.prominent?44:"default"}}},{default:()=>[t.createVNode("div",{class:"v-alert__prepend"},[a.prepend?a.prepend():o.value&&t.createVNode(Ol,null,null)])]}),t.createVNode("div",{class:"v-alert__content"},[V&&t.createVNode(ba,null,{default:()=>[a.title?a.title():e.title]}),S&&(a.text?a.text():e.text),null==(l=a.default)?void 0:l.call(a)]),a.append&&t.createVNode("div",{class:"v-alert__append"},[a.append()]),w&&t.createVNode(dt,{defaults:{VIcon:{icon:e.closeIcon,size:"small"}}},{default:()=>[t.createVNode("div",{class:"v-alert__close",onClick:y},[a.close?a.close():t.createVNode(Ol,null,null)])]})]})}}}),Sa=Ee({color:String,start:Boolean,end:Boolean,icon:Il,image:String,...cl(),...Jt(),...kl(),...Xt()}),wa=he({name:"VAvatar",props:Sa(),setup(e,l){let{slots:a}=l
|
|
498
|
+
const{backgroundColorClasses:n,backgroundColorStyles:o}=ll(t.toRef(e,"color")),{densityClasses:r}=dl(e),{roundedClasses:i}=Qt(e),{sizeClasses:s,sizeStyles:u}=Nl(e)
|
|
499
|
+
return Ae((()=>{var l
|
|
500
|
+
return t.createVNode(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},n.value,r.value,i.value,s.value],style:[o.value,u.value]},{default:()=>[e.image?t.createVNode(Ut,{src:e.image,alt:""},null):e.icon?t.createVNode(Ol,{icon:e.icon},null):null==(l=a.default)?void 0:l.call(a)]})})),{}}}),xa=Symbol.for("vuetify:v-chip-group"),Ca=he({name:"VChipGroup",props:{column:Boolean,filter:Boolean,valueComparator:{type:Function,default:h},...hl({selectedClass:"v-chip--selected"}),...Xt(),...je(),...fl({variant:"contained-text"})},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
501
|
+
const{themeClasses:n}=Ue(e),{isSelected:o,select:r,next:i,prev:s,selected:u}=Vl(e,xa)
|
|
502
|
+
return me({VChip:{color:t.toRef(e,"color"),filter:t.toRef(e,"filter"),variant:t.toRef(e,"variant")}}),()=>{var l
|
|
503
|
+
return t.createVNode(e.tag,{class:["v-chip-group",{"v-chip-group--column":e.column},n.value]},{default:()=>[null==(l=a.default)?void 0:l.call(a,{isSelected:o,select:r,next:i,prev:s,selected:u.value})]})}}}),ka=he({name:"VChip",directives:{Ripple:pa},props:{activeClass:String,appendAvatar:String,appendIcon:Il,closable:Boolean,closeIcon:{type:Il,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:Boolean,pill:Boolean,prependAvatar:String,prependIcon:Il,ripple:{type:Boolean,default:!0},text:String,modelValue:{type:Boolean,default:!0},...Gt(),...cl(),...Kt(),...bl(),...Jt(),...Gl(),...kl(),...Xt({tag:"span"}),...je(),...fl({variant:"contained-text"})},emits:{"click:close":e=>!0,"update:active":e=>!0,"update:modelValue":e=>!0},setup(e,l){let{attrs:a,emit:n,slots:o}=l
|
|
504
|
+
const r=il(e,"modelValue"),{themeClasses:i}=Ue(e),{borderClasses:s}=qt(e),{colorClasses:u,colorStyles:c,variantClasses:d}=ml(e),{elevationClasses:v}=Zt(e),p=yl(e,xa,!1),{roundedClasses:f}=Qt(e),{sizeClasses:m}=Nl(e),{densityClasses:g}=dl(e),h=Yl(e,a)
|
|
496
505
|
function b(e){r.value=!1,n("click:close",e)}return()=>{var l,a
|
|
497
|
-
const n=h.isLink.value?"a":e.tag,y=!!(o.append||e.appendIcon||e.appendAvatar),V=!(!o.close&&!e.closable),S=!(!o.filter&&!e.filter)&&p,w=!!(o.prepend||e.prependIcon||e.prependAvatar),
|
|
498
|
-
return r.value&&t.withDirectives(t.createVNode(n,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":
|
|
499
|
-
const{themeClasses:n}=
|
|
500
|
-
return e.length&&(t[e.vertical?"maxHeight":"maxWidth"]=
|
|
501
|
-
return()=>t.createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},n.value,o.value],style:[i.value,r.value],"aria-orientation":a.role&&"separator"!==a.role?void 0:e.vertical?"vertical":"horizontal",role:`${a.role||"separator"}`},null)}}),
|
|
502
|
-
function
|
|
503
|
-
return t.provide(
|
|
506
|
+
const n=h.isLink.value?"a":e.tag,y=!!(o.append||e.appendIcon||e.appendAvatar),V=!(!o.close&&!e.closable),S=!(!o.filter&&!e.filter)&&p,w=!!(o.prepend||e.prependIcon||e.prependAvatar),x=!p||p.isSelected.value,C=!e.disabled&&(!!p||h.isClickable.value||e.link),k=e.link?e.link:null==p?void 0:p.toggle
|
|
507
|
+
return r.value&&t.withDirectives(t.createVNode(n,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":C,"v-chip--pill":e.pill},i.value,s.value,x?u.value:void 0,g.value,v.value,f.value,m.value,d.value,null==p?void 0:p.selectedClass.value],style:[x?c.value:void 0],disabled:e.disabled||void 0,draggable:e.draggable,href:h.href.value,onClick:C&&k},{default:()=>[pl(C,"v-chip"),S&&t.createVNode(Mt,null,{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-chip__filter"},[o.filter?o.filter():t.createVNode(Ol,{icon:e.filterIcon},null)]),[[t.vShow,p.isSelected.value]])]}),w&&t.createVNode("div",{class:"v-chip__prepend"},[o.prepend?o.prepend():t.createVNode(wa,{icon:e.prependIcon,image:e.prependAvatar,size:e.size},null)]),null!=(l=null==(a=o.default)?void 0:a.call(o,{isSelected:null==p?void 0:p.isSelected.value,selectedClass:null==p?void 0:p.selectedClass.value,select:null==p?void 0:p.select,toggle:null==p?void 0:p.toggle,value:null==p?void 0:p.value.value,disabled:e.disabled}))?l:e.text,y&&t.createVNode("div",{class:"v-chip__append"},[o.append?o.append():t.createVNode(wa,{icon:e.appendIcon,image:e.appendAvatar,size:e.size},null)]),V&&t.createVNode("div",{class:"v-chip__close",onClick:b},[o.close?o.close({props:{onClick:b}}):t.createVNode(Ol,{icon:e.closeIcon,size:"x-small"},null)])]}),[[t.resolveDirective("ripple"),C&&e.ripple,null]])}}}),Na=he({name:"VDivider",props:{color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...je()},setup(e,l){let{attrs:a}=l
|
|
508
|
+
const{themeClasses:n}=Ue(e),{backgroundColorClasses:o,backgroundColorStyles:r}=ll(t.toRef(e,"color")),i=t.computed((()=>{const t={}
|
|
509
|
+
return e.length&&(t[e.vertical?"maxHeight":"maxWidth"]=S(e.length)),e.thickness&&(t[e.vertical?"borderRightWidth":"borderTopWidth"]=S(e.thickness)),t}))
|
|
510
|
+
return()=>t.createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},n.value,o.value],style:[i.value,r.value],"aria-orientation":a.role&&"separator"!==a.role?void 0:e.vertical?"vertical":"horizontal",role:`${a.role||"separator"}`},null)}}),_a=Symbol.for("vuetify:list")
|
|
511
|
+
function Ba(){const e=t.inject(_a,{hasPrepend:t.ref(!1),updateHasPrepend:()=>null}),l={hasPrepend:t.ref(!1),updateHasPrepend:e=>{e&&(l.hasPrepend.value=e)}}
|
|
512
|
+
return t.provide(_a,l),e}function Ia(){return t.inject(_a,null)}const $a={open:e=>{let{id:t,value:l,opened:a,parents:n}=e
|
|
504
513
|
if(l){const e=new Set
|
|
505
514
|
e.add(t)
|
|
506
515
|
let l=n.get(t)
|
|
507
516
|
for(;null!=l;)e.add(l),l=n.get(l)
|
|
508
|
-
return e}return a.delete(t),a},select:()=>null},
|
|
517
|
+
return e}return a.delete(t),a},select:()=>null},Ea={open:e=>{let{id:t,value:l,opened:a,parents:n}=e
|
|
509
518
|
if(l){let e=n.get(t)
|
|
510
519
|
for(a.add(t);null!=e&&e!==t;)a.add(e),e=n.get(e)
|
|
511
|
-
return a}return a.delete(t),a},select:()=>null},
|
|
520
|
+
return a}return a.delete(t),a},select:()=>null},Aa={open:Ea.open,select:e=>{let{id:t,value:l,opened:a,parents:n}=e
|
|
512
521
|
if(!l)return a
|
|
513
522
|
const o=[]
|
|
514
523
|
let r=n.get(t)
|
|
515
524
|
for(;null!=r;)o.push(r),r=n.get(r)
|
|
516
|
-
return new Set(o)}},
|
|
525
|
+
return new Set(o)}},Ra=e=>{const t={select:t=>{let{id:l,value:a,selected:n}=t
|
|
517
526
|
if(e&&!a){const e=Array.from(n.entries()).reduce(((e,t)=>{let[l,a]=t
|
|
518
527
|
return"on"===a?[...e,l]:e}),[])
|
|
519
528
|
if(1===e.length&&e[0]===l)return n}return n.set(l,a?"on":"off"),n},in:(e,l,a)=>{let n=new Map
|
|
@@ -521,20 +530,20 @@ for(const o of e||[])n=t.select({id:o,value:!0,selected:new Map(n),children:l,pa
|
|
|
521
530
|
return n},out:e=>{const t=[]
|
|
522
531
|
for(const[l,a]of e.entries())"on"===a&&t.push(l)
|
|
523
532
|
return t}}
|
|
524
|
-
return t},
|
|
533
|
+
return t},La=e=>{const t=Ra(e)
|
|
525
534
|
return{select:e=>{let{selected:l,id:a,...n}=e
|
|
526
535
|
const o=l.has(a)?new Map([[a,l.get(a)]]):new Map
|
|
527
536
|
return t.select({...n,id:a,selected:o})},in:(e,l,a)=>{let n=new Map
|
|
528
|
-
return null!=e&&e.length&&(n=t.in(e.slice(0,1),l,a)),n},out:(e,l,a)=>t.out(e,l,a)}},
|
|
529
|
-
const a=t.ref(new Map),n=t.ref(new Map),o=
|
|
530
|
-
switch(e.selectStrategy){case"single-leaf":return(e=>{const t=
|
|
537
|
+
return null!=e&&e.length&&(n=t.in(e.slice(0,1),l,a)),n},out:(e,l,a)=>t.out(e,l,a)}},Ta=Symbol.for("vuetify:nested"),za={id:t.ref(),root:{register:()=>null,unregister:()=>null,parents:t.ref(new Map),children:t.ref(new Map),open:()=>null,select:()=>null,opened:t.ref(new Set),selected:t.ref(new Map),selectedValues:t.ref([])}},Ma=Ee({selectStrategy:[String,Function],openStrategy:[String,Function],opened:Array,selected:Array,mandatory:Boolean},"nested"),Pa=e=>{let l=!1
|
|
538
|
+
const a=t.ref(new Map),n=t.ref(new Map),o=il(e,"opened",e.opened,(e=>new Set(e)),(e=>[...e.values()])),r=t.computed((()=>{if("object"==typeof e.selectStrategy)return e.selectStrategy
|
|
539
|
+
switch(e.selectStrategy){case"single-leaf":return(e=>{const t=La(e)
|
|
531
540
|
return{select:e=>{let{id:l,selected:a,children:n,...o}=e
|
|
532
541
|
return n.has(l)?a:t.select({id:l,selected:a,children:n,...o})},in:t.in,out:t.out}})(e.mandatory)
|
|
533
|
-
case"leaf":return(e=>{const t=
|
|
542
|
+
case"leaf":return(e=>{const t=Ra(e)
|
|
534
543
|
return{select:e=>{let{id:l,selected:a,children:n,...o}=e
|
|
535
544
|
return n.has(l)?a:t.select({id:l,selected:a,children:n,...o})},in:t.in,out:t.out}})(e.mandatory)
|
|
536
|
-
case"independent":return
|
|
537
|
-
case"single-independent":return
|
|
545
|
+
case"independent":return Ra(e.mandatory)
|
|
546
|
+
case"single-independent":return La(e.mandatory)
|
|
538
547
|
case"classic":default:return(e=>{const t={select:t=>{let{id:l,value:a,selected:n,children:o,parents:r}=t
|
|
539
548
|
const i=new Map(n),s=[l]
|
|
540
549
|
for(;s.length;){const e=s.shift()
|
|
@@ -547,14 +556,14 @@ return n},out:(e,t)=>{const l=[]
|
|
|
547
556
|
for(const[a,n]of e.entries())"on"!==n||t.has(a)||l.push(a)
|
|
548
557
|
return l}}
|
|
549
558
|
return t})(e.mandatory)}})),i=t.computed((()=>{if("function"==typeof e.openStrategy)return e.openStrategy
|
|
550
|
-
switch(e.openStrategy){case"list":return
|
|
551
|
-
case"single":return
|
|
552
|
-
case"multiple":default:return
|
|
559
|
+
switch(e.openStrategy){case"list":return Aa
|
|
560
|
+
case"single":return $a
|
|
561
|
+
case"multiple":default:return Ea}})),s=il(e,"selected",e.selected,(e=>r.value.in(e,a.value,n.value)),(e=>r.value.out(e,a.value,n.value)))
|
|
553
562
|
function u(e){const t=[]
|
|
554
563
|
let l=e
|
|
555
564
|
for(;null!=l;)t.unshift(l),l=n.value.get(l)
|
|
556
565
|
return t}t.onBeforeUnmount((()=>{l=!0}))
|
|
557
|
-
const c=
|
|
566
|
+
const c=we("nested"),d={id:t.ref(),root:{opened:o,selected:s,selectedValues:t.computed((()=>{const e=[]
|
|
558
567
|
for(const[t,l]of s.value.entries())"on"===l&&e.push(t)
|
|
559
568
|
return e})),register:(e,t,l)=>{t&&e!==t&&n.value.set(e,t),l&&a.value.set(e,[]),null!=t&&a.value.set(t,[...a.value.get(t)||[],e])},unregister:e=>{if(l)return
|
|
560
569
|
a.value.delete(e)
|
|
@@ -568,421 +577,439 @@ const d=r.value.select({id:e,value:t,selected:new Map(s.value),children:a.value,
|
|
|
568
577
|
d&&(s.value=d)
|
|
569
578
|
const v=i.value.select({id:e,value:t,selected:new Map(s.value),opened:new Set(o.value),children:a.value,parents:n.value,event:l})
|
|
570
579
|
v&&(o.value=v)},children:a,parents:n}}
|
|
571
|
-
return t.provide(
|
|
572
|
-
return null!=(t=e.value)?t
|
|
573
|
-
return!a.isGroupActivator&&a.root.register(n.value,a.id.value,l),t.onBeforeUnmount((()=>{!a.isGroupActivator&&a.root.unregister(n.value)})),l&&t.provide(
|
|
574
|
-
return(()=>{const e=t.inject(
|
|
575
|
-
t.provide(
|
|
576
|
-
return null==(e=a.default)?void 0:e.call(a)}}})
|
|
577
|
-
const{isOpen:n,open:o}=
|
|
580
|
+
return t.provide(Ta,d),d.root},Oa=(e,l)=>{const a=t.inject(Ta,za),n=t.computed((()=>{var t
|
|
581
|
+
return null!=(t=e.value)?t:R().toString()})),o={...a,id:n,open:(e,t)=>a.root.open(n.value,e,t),isOpen:t.computed((()=>a.root.opened.value.has(n.value))),parent:t.computed((()=>a.root.parents.value.get(n.value))),select:(e,t)=>a.root.select(n.value,e,t),isSelected:t.computed((()=>"on"===a.root.selected.value.get(n.value))),isIndeterminate:t.computed((()=>"indeterminate"===a.root.selected.value.get(n.value))),isLeaf:t.computed((()=>!a.root.children.value.get(n.value))),isGroupActivator:a.isGroupActivator}
|
|
582
|
+
return!a.isGroupActivator&&a.root.register(n.value,a.id.value,l),t.onBeforeUnmount((()=>{!a.isGroupActivator&&a.root.unregister(n.value)})),l&&t.provide(Ta,o),o},Fa=he({name:"VListGroupActivator",setup(e,l){let{slots:a}=l
|
|
583
|
+
return(()=>{const e=t.inject(Ta,za)
|
|
584
|
+
t.provide(Ta,{...e,isGroupActivator:!0})})(),()=>{var e
|
|
585
|
+
return null==(e=a.default)?void 0:e.call(a)}}}),Da=be()({name:"VListGroup",props:{activeColor:String,color:String,collapseIcon:{type:Il,default:"$collapse"},expandIcon:{type:Il,default:"$expand"},value:null,...Xt()},setup(e,l){let{slots:a}=l
|
|
586
|
+
const{isOpen:n,open:o}=Oa(t.toRef(e,"value"),!0),r=Ia(),i=e=>{o(!n.value,e)},s=t.computed((()=>{var t
|
|
578
587
|
return{onClick:i,active:n.value,appendIcon:n.value?e.collapseIcon:e.expandIcon,class:"v-list-group__header",color:n.value?null!=(t=e.activeColor)?t:e.color:void 0}}))
|
|
579
588
|
return()=>{var l
|
|
580
|
-
return t.createVNode(e.tag,{class:["v-list-group",{"v-list-group--prepend":null==r?void 0:r.hasPrepend.value}]},{default:()=>[a.activator&&t.createVNode(
|
|
581
|
-
return()=>t.createVNode(
|
|
582
|
-
return()=>t.createVNode(
|
|
583
|
-
const o=
|
|
584
|
-
return null!=(t=e.value)?t:o.href.value})),{select:i,isSelected:s,isIndeterminate:u,isGroupActivator:c,root:d,parent:v}=
|
|
589
|
+
return t.createVNode(e.tag,{class:["v-list-group",{"v-list-group--prepend":null==r?void 0:r.hasPrepend.value}]},{default:()=>[a.activator&&t.createVNode(dt,{defaults:{VListItemIcon:{color:s.value.color}}},{default:()=>[t.createVNode(Fa,null,{default:()=>[a.activator({props:s.value,isOpen:n})]})]}),t.createVNode(zt,null,{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-list-group__items"},[null==(l=a.default)?void 0:l.call(a)]),[[t.vShow,n.value]])]})]})}}}),ja=he({name:"VListItemAvatar",props:Sa(),setup(e,l){let{slots:a}=l
|
|
590
|
+
return()=>t.createVNode(wa,t.mergeProps({class:["v-list-item-avatar",{"v-list-item-avatar--start":e.start,"v-list-item-avatar--end":e.end}]},e),a)}}),Ha=ye("v-list-item-header"),Wa=he({name:"VListItemIcon",props:Pl(),setup(e,l){let{slots:a}=l
|
|
591
|
+
return()=>t.createVNode(Ol,t.mergeProps({class:["v-list-item-icon",{"v-list-item-icon--start":e.start,"v-list-item-icon--end":e.end}]},e),a)}}),Ua=ye("v-list-item-subtitle"),Xa=ye("v-list-item-title"),Ya=be()({name:"VListItem",directives:{Ripple:pa},props:{active:Boolean,activeColor:String,activeClass:String,appendAvatar:String,appendIcon:Il,disabled:Boolean,lines:String,nav:Boolean,prependAvatar:String,prependIcon:Il,subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,link:Boolean,...Gt(),...cl(),...Pt(),...Kt(),...Jt(),...Gl(),...Xt(),...je(),...fl({variant:"text"})},setup(e,l){let{attrs:a,slots:n}=l
|
|
592
|
+
const o=Yl(e,a),r=t.computed((()=>{var t
|
|
593
|
+
return null!=(t=e.value)?t:o.href.value})),{select:i,isSelected:s,isIndeterminate:u,isGroupActivator:c,root:d,parent:v}=Oa(r,!1),p=Ia(),f=t.computed((()=>{var t
|
|
585
594
|
return e.active||(null==(t=o.isExactActive)?void 0:t.value)||s.value})),m=t.computed((()=>e.rounded||e.nav)),g=t.computed((()=>{var t
|
|
586
595
|
return{color:f.value&&null!=(t=e.activeColor)?t:e.color,variant:e.variant}}))
|
|
587
596
|
t.onMounted((()=>{var e
|
|
588
597
|
null!=(e=o.isExactActive)&&e.value&&null!=v.value&&d.open(v.value,!0)})),t.watch((()=>{var e
|
|
589
598
|
return null==(e=o.isExactActive)?void 0:e.value}),(e=>{e&&null!=v.value&&d.open(v.value,!0)}))
|
|
590
|
-
const{themeClasses:h}=
|
|
591
|
-
|
|
599
|
+
const{themeClasses:h}=Ue(e),{borderClasses:b}=qt(e),{colorClasses:y,colorStyles:V,variantClasses:S}=ml(g),{densityClasses:w}=dl(e),{dimensionStyles:x}=Ot(e),{elevationClasses:C}=Zt(e),{roundedClasses:k}=Qt(m),N=t.computed((()=>e.lines?`v-list-item--${e.lines}-line`:void 0)),_=t.computed((()=>({isActive:f.value,select:i,isSelected:s.value,isIndeterminate:u.value})))
|
|
600
|
+
Ae((()=>{var l,a,r
|
|
592
601
|
const u=o.isLink.value?"a":e.tag,d=!p||s.value||f.value,v=n.title||e.title,m=n.subtitle||e.subtitle,g=!(!v&&!m),B=!!(n.append||e.appendAvatar||e.appendIcon),I=!!(n.prepend||e.prependAvatar||e.prependIcon),$=!e.disabled&&(e.link||o.isClickable.value||null!=e.value&&!!p)
|
|
593
|
-
return null==p||p.updateHasPrepend(I),t.withDirectives(t.createVNode(u,{class:["v-list-item",{"v-list-item--active":f.value,"v-list-item--disabled":e.disabled,"v-list-item--link":$,"v-list-item--nav":e.nav,"v-list-item--prepend":!I&&(null==p?void 0:p.hasPrepend.value),[`${e.activeClass}`]:f.value},h.value,b.value,d?y.value:void 0,w.value,
|
|
594
|
-
c||(null==(l=o.navigate)||l.call(o,t),null!=e.value&&i(!s.value,t))})},{default:()=>[
|
|
595
|
-
const{textColorClasses:n,textColorStyles:o}=
|
|
602
|
+
return null==p||p.updateHasPrepend(I),t.withDirectives(t.createVNode(u,{class:["v-list-item",{"v-list-item--active":f.value,"v-list-item--disabled":e.disabled,"v-list-item--link":$,"v-list-item--nav":e.nav,"v-list-item--prepend":!I&&(null==p?void 0:p.hasPrepend.value),[`${e.activeClass}`]:f.value},h.value,b.value,d?y.value:void 0,w.value,C.value,N.value,k.value,S.value],style:[d?V.value:void 0,x.value],href:o.href.value,tabindex:$?0:void 0,onClick:$&&(t=>{var l
|
|
603
|
+
c||(null==(l=o.navigate)||l.call(o,t),null!=e.value&&i(!s.value,t))})},{default:()=>[pl($||f.value,"v-list-item"),I&&t.createVNode(t.Fragment,null,[e.prependAvatar&&t.createVNode(ja,{image:e.prependAvatar,start:!0},null),e.prependIcon&&t.createVNode(Wa,{icon:e.prependIcon,start:!0},null),null==(l=n.prepend)?void 0:l.call(n,_.value)]),g&&t.createVNode(Ha,null,{default:()=>[v&&t.createVNode(Xa,null,{default:()=>[n.title?n.title({title:e.title}):e.title]}),m&&t.createVNode(Ua,null,{default:()=>[n.subtitle?n.subtitle({subtitle:e.subtitle}):e.subtitle]})]}),null==(a=n.default)?void 0:a.call(n,_.value),B&&t.createVNode(t.Fragment,null,[null==(r=n.append)?void 0:r.call(n,_.value),e.appendAvatar&&t.createVNode(ja,{image:e.appendAvatar,end:!0},null),e.appendIcon&&t.createVNode(Wa,{icon:e.appendIcon,end:!0},null)])]}),[[t.resolveDirective("ripple"),$]])}))}}),Ga=he({name:"VListSubheader",props:{color:String,inset:Boolean,sticky:Boolean,title:String,...Xt()},setup(e,l){let{slots:a}=l
|
|
604
|
+
const{textColorClasses:n,textColorStyles:o}=tl(t.toRef(e,"color"))
|
|
596
605
|
return()=>{var l,r
|
|
597
|
-
const i=!(!a.default&&!e.
|
|
598
|
-
return t.createVNode(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},n.value],style:{textColorStyles:o}},{default:()=>[i&&t.createVNode("div",{class:"v-list-subheader__text"},[null!=(l=null==(r=a.default)?void 0:r.call(a))?l:e.
|
|
599
|
-
return
|
|
600
|
-
return null!=(l=null==(n=a.default)?void 0:n.call(a))?l:null==(o=e.items)?void 0:o.map((e=>{let{children:l,props:n,type:o}=e
|
|
601
|
-
|
|
602
|
-
return
|
|
603
|
-
const{
|
|
604
|
-
return
|
|
605
|
-
|
|
606
|
-
return
|
|
607
|
-
return()
|
|
608
|
-
return()
|
|
609
|
-
|
|
606
|
+
const i=!(!a.default&&!e.title)
|
|
607
|
+
return t.createVNode(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},n.value],style:{textColorStyles:o}},{default:()=>[i&&t.createVNode("div",{class:"v-list-subheader__text"},[null!=(l=null==(r=a.default)?void 0:r.call(a))?l:e.title])]})}}}),qa=be()({name:"VListChildren",props:{items:Array},setup(e,l){let{slots:a}=l
|
|
608
|
+
return Ba(),()=>{var l,n,o
|
|
609
|
+
return null!=(l=null==(n=a.default)?void 0:n.call(a))?l:null==(o=e.items)?void 0:o.map((e=>{let{children:l,props:n,type:o,originalItem:r}=e
|
|
610
|
+
if("divider"===o)return t.createVNode(Na,n,null)
|
|
611
|
+
if("subheader"===o)return t.createVNode(Ga,n,a)
|
|
612
|
+
const i={subtitle:a.subtitle?e=>{var t
|
|
613
|
+
return null==(t=a.subtitle)?void 0:t.call(a,{...e,item:r})}:void 0,prepend:a.prepend?e=>{var t
|
|
614
|
+
return null==(t=a.prepend)?void 0:t.call(a,{...e,item:r})}:void 0,append:a.append?e=>{var t
|
|
615
|
+
return null==(t=a.append)?void 0:t.call(a,{...e,item:r})}:void 0,default:a.default?e=>{var t
|
|
616
|
+
return null==(t=a.default)?void 0:t.call(a,{...e,item:r})}:void 0,title:a.title?e=>{var t
|
|
617
|
+
return null==(t=a.title)?void 0:t.call(a,{...e,item:r})}:void 0}
|
|
618
|
+
return l?t.createVNode(Da,{value:null==n?void 0:n.value},{activator:e=>{let{props:l}=e
|
|
619
|
+
return a.header?a.header({...n,...l}):t.createVNode(Ya,t.mergeProps(n,l),i)},default:()=>t.createVNode(qa,{items:l},a)}):a.item?a.item(n):t.createVNode(Ya,n,i)}))}}}),Ka=Ee({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean},"item")
|
|
620
|
+
function Za(e,t){const l=y(t,e.itemTitle,t),a=y(t,e.itemValue,l),n=y(t,e.itemChildren),o={title:l,value:a,...!0===e.itemProps?N(t,["children"])[1]:y(t,e.itemProps)}
|
|
621
|
+
return{title:o.title,value:o.value,props:o,children:Array.isArray(n)?Ja(e,n):void 0,originalItem:t}}function Ja(e,t){const l=[]
|
|
622
|
+
for(const a of t)l.push(Za(e,a))
|
|
623
|
+
return l}function Qa(e){return{items:t.computed((()=>Ja(e,e.items))),transformIn:function(t){return t.map((t=>Za(e,t)))},transformOut:function(t){return e.returnObject?t.map((e=>{let{originalItem:t}=e
|
|
624
|
+
return t})):t.map((e=>{let{props:t}=e
|
|
625
|
+
return t.value}))}}}function en(e,t){const l=y(t,e.itemType,"item"),a="string"==typeof t?t:y(t,e.itemTitle),n=y(t,e.itemValue,void 0),o=y(t,e.itemChildren),r={title:a,value:n,...!0===e.itemProps?N(t,["children"])[1]:y(t,e.itemProps)}
|
|
626
|
+
return{type:l,title:r.title,value:r.value,props:r,children:"item"===l&&o?tn(e,o):void 0,originalItem:t}}function tn(e,t){const l=[]
|
|
627
|
+
for(const a of t)l.push(en(e,a))
|
|
628
|
+
return l}const ln=be()({name:"VList",props:{activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...Ma({selectStrategy:"single-leaf",openStrategy:"list"}),...Gt(),...cl(),...Pt(),...Kt(),itemType:{type:String,default:"type"},...Ka(),...Jt(),...Xt(),...je(),...fl({variant:"text"})},emits:{"update:selected":e=>!0,"update:opened":e=>!0,"click:open":e=>!0,"click:select":e=>!0},setup(e,l){let{slots:a}=l
|
|
629
|
+
const{items:n}=function(e){return{items:t.computed((()=>tn(e,e.items)))}}(e),{themeClasses:o}=Ue(e),{backgroundColorClasses:r,backgroundColorStyles:i}=ll(t.toRef(e,"bgColor")),{borderClasses:s}=qt(e),{densityClasses:u}=dl(e),{dimensionStyles:c}=Ot(e),{elevationClasses:d}=Zt(e),{roundedClasses:v}=Qt(e),{open:p,select:f}=Pa(e),m=t.computed((()=>e.lines?`v-list--${e.lines}-line`:void 0)),g=t.toRef(e,"activeColor"),h=t.toRef(e,"color")
|
|
630
|
+
return Ba(),me({VListGroup:{activeColor:g,color:h},VListItem:{activeClass:t.toRef(e,"activeClass"),activeColor:g,color:h,density:t.toRef(e,"density"),disabled:t.toRef(e,"disabled"),lines:t.toRef(e,"lines"),nav:t.toRef(e,"nav"),variant:t.toRef(e,"variant")}}),Ae((()=>t.createVNode(e.tag,{class:["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav},o.value,r.value,s.value,u.value,d.value,m.value,v.value],style:[i.value,c.value]},{default:()=>[t.createVNode(qa,{items:n.value},a)]}))),{open:p,select:f}}}),an=ye("v-list-img"),nn=he({name:"VListItemAction",props:{start:Boolean,end:Boolean,...Xt()},setup(e,l){let{slots:a}=l
|
|
631
|
+
return()=>t.createVNode(e.tag,{class:["v-list-item-action",{"v-list-item-action--start":e.start,"v-list-item-action--end":e.end}]},a)}}),on=he({name:"VListItemMedia",props:{start:Boolean,end:Boolean,...Xt()},setup(e,l){let{slots:a}=l
|
|
632
|
+
return()=>t.createVNode(e.tag,{class:["v-list-item-media",{"v-list-item-media--start":e.start,"v-list-item-media--end":e.end}]},a)}}),rn=Ee({closeDelay:[Number,String],openDelay:[Number,String]},"delay")
|
|
633
|
+
function sn(e,t){const l={},a=a=>()=>{if(!_e)return Promise.resolve(!0)
|
|
610
634
|
const n="openDelay"===a
|
|
611
635
|
return l.closeDelay&&window.clearTimeout(l.closeDelay),delete l.closeDelay,l.openDelay&&window.clearTimeout(l.openDelay),delete l.openDelay,new Promise((o=>{var r
|
|
612
636
|
const i=parseInt(null!=(r=e[a])?r:0,10)
|
|
613
637
|
l[a]=window.setTimeout((()=>{null==t||t(n),o(n)}),i)}))}
|
|
614
|
-
return{runCloseDelay:a("closeDelay"),runOpenDelay:a("openDelay")}}const
|
|
615
|
-
function
|
|
638
|
+
return{runCloseDelay:a("closeDelay"),runOpenDelay:a("openDelay")}}const un=Symbol.for("vuetify:v-menu"),cn=Ee({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...rn()})
|
|
639
|
+
function dn(e,l){let{isActive:a,isTop:n}=l
|
|
616
640
|
const o=t.ref()
|
|
617
641
|
let r=!1,i=!1
|
|
618
|
-
const s=t.computed((()=>e.openOnFocus||null==e.openOnFocus&&e.openOnHover)),u=t.computed((()=>e.openOnClick||null==e.openOnClick&&!e.openOnHover&&!s.value)),{runOpenDelay:c,runCloseDelay:d}=
|
|
642
|
+
const s=t.computed((()=>e.openOnFocus||null==e.openOnFocus&&e.openOnHover)),u=t.computed((()=>e.openOnClick||null==e.openOnClick&&!e.openOnHover&&!s.value)),{runOpenDelay:c,runCloseDelay:d}=sn(e,(t=>{t!==(e.openOnHover&&r||s.value&&i)||e.openOnHover&&a.value&&!n.value||(a.value=t)})),v=e=>{e.stopPropagation(),o.value=e.currentTarget||e.target,a.value=!a.value},p=e=>{r=!0,o.value=e.currentTarget||e.target,c()},f=e=>{r=!1,d()},m=e=>{$e&&!e.target.matches(":focus-visible")||(i=!0,e.stopPropagation(),o.value=e.currentTarget||e.target,c())},g=e=>{i=!1,e.stopPropagation(),d()},h=t.computed((()=>{const t={}
|
|
619
643
|
return u.value&&(t.click=v),e.openOnHover&&(t.mouseenter=p,t.mouseleave=f),s.value&&(t.focus=m,t.blur=g),t})),b=t.computed((()=>{const l={}
|
|
620
|
-
if(e.openOnHover&&(l.mouseenter=()=>{r=!0,c()},l.mouseleave=()=>{r=!1,d()}),e.closeOnContentClick){const e=t.inject(
|
|
644
|
+
if(e.openOnHover&&(l.mouseenter=()=>{r=!0,c()},l.mouseleave=()=>{r=!1,d()}),e.closeOnContentClick){const e=t.inject(un,null)
|
|
621
645
|
l.click=()=>{a.value=!1,null==e||e.closeParents()}}return l}))
|
|
622
646
|
t.watch(n,(t=>{t&&e.openOnHover&&!r&&(a.value=!1)}))
|
|
623
647
|
const y=t.ref()
|
|
624
648
|
t.watchEffect((()=>{y.value&&t.nextTick((()=>{const e=y.value
|
|
625
649
|
var t
|
|
626
650
|
o.value=(null==(t=e)?void 0:t.$el)?e.$el:e}))}))
|
|
627
|
-
const V=
|
|
651
|
+
const V=we("useActivator")
|
|
628
652
|
let S
|
|
629
|
-
return t.watch((()=>!!e.activator),(l=>{l&&
|
|
653
|
+
return t.watch((()=>!!e.activator),(l=>{l&&_e?(S=t.effectScope(),S.run((()=>{!function(e,l,a){let{activatorEl:n,activatorEvents:o}=a
|
|
630
654
|
function r(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s(),l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.activatorProps
|
|
631
655
|
t&&(Object.entries(o.value).forEach((e=>{let[l,a]=e
|
|
632
656
|
t.addEventListener(l,a)})),Object.keys(l).forEach((e=>{null==l[e]?t.removeAttribute(e):t.setAttribute(e,l[e])})))}function i(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s(),l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.activatorProps
|
|
633
657
|
t&&(Object.entries(o.value).forEach((e=>{let[l,a]=e
|
|
634
658
|
t.removeEventListener(l,a)})),Object.keys(l).forEach((e=>{t.removeAttribute(e)})))}function s(){var t
|
|
635
659
|
let a,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.activator
|
|
636
|
-
var r,i
|
|
637
|
-
|
|
660
|
+
if(o)if("parent"===o){var r,i
|
|
661
|
+
let e=null==l||null==(r=l.proxy)||null==(i=r.$el)?void 0:i.parentNode
|
|
662
|
+
for(;e.hasAttribute("data-no-activator");)e=e.parentNode
|
|
663
|
+
a=e}else a="string"==typeof o?document.querySelector(o):"$el"in o?o.$el:o
|
|
638
664
|
return n.value=(null==(t=a)?void 0:t.nodeType)===Node.ELEMENT_NODE?a:null,n.value}t.watch((()=>e.activator),((e,l)=>{if(l&&e!==l){const e=s(l)
|
|
639
|
-
e&&i(e)}e&&t.nextTick((()=>r()))}),{immediate:!0}),t.watch((()=>e.activatorProps),(()=>{r()})),t.onScopeDispose((()=>{i()}))}(e,V,{activatorEl:o,activatorEvents:h})}))):S&&S.stop()}),{flush:"post",immediate:!0}),{activatorEl:o,activatorRef:y,activatorEvents:h,contentEvents:b}}function
|
|
640
|
-
return
|
|
641
|
-
|
|
642
|
-
return(null!=(l=i[n])?l:n)+" "+(null!=(a=i[o])?a:o)}function Ja(e,t){return{x:e.x+t.x,y:e.y+t.y}}function Qa(e,t){if("top"===e.side||"bottom"===e.side){const{side:l,align:a}=e
|
|
643
|
-
return Ja({x:"start"===a?0:"center"===a?t.width/2:"end"===a?t.width:a,y:"top"===l?0:"bottom"===l?t.height:l},t)}if("start"===e.side||"end"===e.side){const{side:l,align:a}=e
|
|
644
|
-
return Ja({x:"start"===l?0:"end"===l?t.width:l,y:"top"===a?0:"center"===a?t.height/2:"bottom"===a?t.height:a},t)}return Ja({x:t.width/2,y:t.height/2},t)}const en={static:function(){},connected:function(e,n,o){const r=function(e){for(;e;){if("fixed"===window.getComputedStyle(e).position)return!0
|
|
665
|
+
e&&i(e)}e&&t.nextTick((()=>r()))}),{immediate:!0}),t.watch((()=>e.activatorProps),(()=>{r()})),t.onScopeDispose((()=>{i()}))}(e,V,{activatorEl:o,activatorEvents:h})}))):S&&S.stop()}),{flush:"post",immediate:!0}),{activatorEl:o,activatorRef:y,activatorEvents:h,contentEvents:b}}function vn(e,t){return{x:e.x+t.x,y:e.y+t.y}}function pn(e,t){if("top"===e.side||"bottom"===e.side){const{side:l,align:a}=e
|
|
666
|
+
return vn({x:"start"===a?0:"center"===a?t.width/2:"end"===a?t.width:a,y:"top"===l?0:"bottom"===l?t.height:l},t)}if("start"===e.side||"end"===e.side){const{side:l,align:a}=e
|
|
667
|
+
return vn({x:"start"===l?0:"end"===l?t.width:l,y:"top"===a?0:"center"===a?t.height/2:"bottom"===a?t.height:a},t)}return vn({x:t.width/2,y:t.height/2},t)}const fn={static:function(){},connected:function(e,i,s){const u=function(e){for(;e;){if("fixed"===window.getComputedStyle(e).position)return!0
|
|
645
668
|
e=e.offsetParent}return!1}(e.activatorEl.value)
|
|
646
|
-
|
|
647
|
-
const
|
|
648
|
-
return isNaN(e)?1/0:e})),
|
|
669
|
+
u&&Object.assign(s.value,{position:"fixed"})
|
|
670
|
+
const c=t.computed((()=>l(i.location))),d=t.computed((()=>"overlap"===i.origin?c.value:"auto"===i.origin?a(c.value):l(i.origin))),v=t.computed((()=>c.value.side===d.value.side)),p=t.computed((()=>{const e=parseFloat(i.maxHeight)
|
|
671
|
+
return isNaN(e)?1/0:e})),f=t.computed((()=>{const e=parseFloat(i.minWidth)
|
|
649
672
|
return isNaN(e)?1/0:e}))
|
|
650
|
-
let
|
|
651
|
-
if(
|
|
652
|
-
l.observe(e.activatorEl.value),l.observe(e.contentEl.value),t.onScopeDispose((()=>{l.disconnect()}))}function
|
|
653
|
-
|
|
654
|
-
const
|
|
655
|
-
|
|
656
|
-
const
|
|
657
|
-
let
|
|
673
|
+
let m=!1
|
|
674
|
+
if(_e){const l=new ResizeObserver((()=>{m&&g()}))
|
|
675
|
+
l.observe(e.activatorEl.value),l.observe(e.contentEl.value),t.onScopeDispose((()=>{l.disconnect()}))}function g(){var t
|
|
676
|
+
m=!1,requestAnimationFrame((()=>{requestAnimationFrame((()=>m=!0))}))
|
|
677
|
+
const l=e.activatorEl.value.getBoundingClientRect()
|
|
678
|
+
i.offset&&(l.x-=+i.offset,l.y-=+i.offset,l.width+=2*+i.offset,l.height+=2*+i.offset)
|
|
679
|
+
const u=Ce(e.contentEl.value),g=u.clientWidth,h=Math.min(u.clientHeight,window.innerHeight)
|
|
680
|
+
let b
|
|
658
681
|
{const t=new Map
|
|
659
682
|
e.contentEl.value.querySelectorAll("*").forEach((e=>{const l=e.scrollLeft,a=e.scrollTop;(l||a)&&t.set(e,[l,a])}))
|
|
660
|
-
const l=e.contentEl.value.style.maxWidth,
|
|
661
|
-
e.contentEl.value.style.removeProperty("max-width"),e.contentEl.value.style.removeProperty("max-height"),
|
|
662
|
-
var
|
|
663
|
-
Object.assign(
|
|
664
|
-
return requestAnimationFrame((()=>{
|
|
665
|
-
let
|
|
666
|
-
const
|
|
667
|
-
let
|
|
668
|
-
function
|
|
669
|
-
e&&e(),
|
|
670
|
-
|
|
671
|
-
const a=[...new Set([...
|
|
683
|
+
const l=e.contentEl.value.style.maxWidth,a=e.contentEl.value.style.maxHeight
|
|
684
|
+
e.contentEl.value.style.removeProperty("max-width"),e.contentEl.value.style.removeProperty("max-height"),b=r(e.contentEl.value),b.x-=parseFloat(e.contentEl.value.style.left)||0,b.y-=parseFloat(e.contentEl.value.style.top)||0,e.contentEl.value.style.maxWidth=l,e.contentEl.value.style.maxHeight=a,t.forEach(((e,t)=>{t.scrollTo(...e)}))}const y=Math.min(p.value,b.height),V=void 0===i.maxWidth?Number.MAX_VALUE:parseInt(null!=(t=i.maxWidth)?t:0,10),w={top:l.top-12,bottom:h-l.bottom-12,left:Math.min(l.left-12,V),right:Math.min(g-l.right-12,V)},x="bottom"===c.value.side&&y<=w.bottom||"top"===c.value.side&&y<=w.top,C=x?c.value:"bottom"===c.value.side&&w.top>w.bottom||"top"===c.value.side&&w.bottom>w.top?a(c.value):c.value,k=x?d.value:a(C),N=v.value||["center","top","bottom"].includes(C.side)?Math.min(g,Math.max(l.width,g-24)):"end"===C.side?w.right:"start"===C.side?w.left:null,_=Math.min(f.value,N,l.width),B=x?p.value:Math.min(p.value,Math.floor("top"===C.side?w.top:w.bottom)),I=pn(C,l),$=pn(k,new o({...b,height:Math.min(y,B)})),{x:E,y:A}=(L=$,{x:(R=I).x-L.x,y:R.y-L.y})
|
|
685
|
+
var R,L
|
|
686
|
+
Object.assign(s.value,{"--v-overlay-anchor-origin":n(C,e.activatorEl.value),top:S(Math.round(A)),left:S(Math.round(E)),transformOrigin:n(k,e.activatorEl.value),minWidth:S(_),maxWidth:S(N),maxHeight:S(B)})}t.watch((()=>[c.value,d.value,i.offset]),(()=>g()),{immediate:!u}),u&&t.nextTick((()=>g()))
|
|
687
|
+
return requestAnimationFrame((()=>{s.value.maxHeight&&g()})),{updateLocation:g}}},mn=Ee({locationStrategy:{type:[String,Function],default:"static",validator:e=>"function"==typeof e||e in fn},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String]})
|
|
688
|
+
let gn=!0
|
|
689
|
+
const hn=[]
|
|
690
|
+
let bn=-1
|
|
691
|
+
function yn(){cancelAnimationFrame(bn),bn=requestAnimationFrame((()=>{const e=hn.shift()
|
|
692
|
+
e&&e(),hn.length?yn():gn=!0}))}const Vn={none:null,close:function(e){var t
|
|
693
|
+
wn(null!=(t=e.activatorEl.value)?t:e.contentEl.value,(function(t){e.isActive.value=!1}))},block:function(e){var l
|
|
694
|
+
const a=[...new Set([...ke(e.activatorEl.value),...ke(e.contentEl.value)])].filter((e=>!e.classList.contains("v-overlay-scroll-blocked"))),n=window.innerWidth-document.documentElement.offsetWidth,o=(r=(null==(l=e.root.value)?void 0:l.offsetParent)||document.documentElement,Ne(r)&&r)
|
|
672
695
|
var r
|
|
673
696
|
o&&e.root.value.classList.add("v-overlay--scroll-blocked")
|
|
674
|
-
a.forEach(((e,t)=>{e.style.setProperty("--v-body-scroll-x",
|
|
697
|
+
a.forEach(((e,t)=>{e.style.setProperty("--v-body-scroll-x",S(-e.scrollLeft)),e.style.setProperty("--v-body-scroll-y",S(-e.scrollTop)),e.style.setProperty("--v-scrollbar-offset",S(n)),e.classList.add("v-overlay-scroll-blocked")})),t.onScopeDispose((()=>{a.forEach(((e,t)=>{const l=parseFloat(e.style.getPropertyValue("--v-body-scroll-x")),a=parseFloat(e.style.getPropertyValue("--v-body-scroll-y"))
|
|
675
698
|
e.style.removeProperty("--v-body-scroll-x"),e.style.removeProperty("--v-body-scroll-y"),e.style.removeProperty("--v-scrollbar-offset"),e.classList.remove("v-overlay-scroll-blocked"),e.scrollLeft=-l,e.scrollTop=-a})),o&&e.root.value.classList.remove("v-overlay--scroll-blocked")}))},reposition:function(e){var t
|
|
676
699
|
let l=!1,a=-1
|
|
677
700
|
function n(t){var a
|
|
678
701
|
a=()=>{var a,n
|
|
679
702
|
const o=performance.now()
|
|
680
|
-
null==(a=(n=e.
|
|
703
|
+
null==(a=(n=e.updateLocation).value)||a.call(n,t)
|
|
681
704
|
const r=performance.now()-o
|
|
682
|
-
l=r/(1e3/60)>2},!
|
|
683
|
-
function
|
|
684
|
-
a.forEach((e=>{e.addEventListener("scroll",l,{passive:!0})})),t.onScopeDispose((()=>{a.forEach((e=>{e.removeEventListener("scroll",l)}))}))}function
|
|
685
|
-
|
|
705
|
+
l=r/(1e3/60)>2},!gn||hn.length?(hn.push(a),yn()):(gn=!1,a(),yn())}wn(null!=(t=e.activatorEl.value)?t:e.contentEl.value,(e=>{l?(cancelAnimationFrame(a),a=requestAnimationFrame((()=>{a=requestAnimationFrame((()=>{n(e)}))}))):n(e)}))}},Sn=Ee({scrollStrategy:{type:[String,Function],default:"block",validator:e=>"function"==typeof e||e in Vn}})
|
|
706
|
+
function wn(e,l){const a=[document,...ke(e)]
|
|
707
|
+
a.forEach((e=>{e.addEventListener("scroll",l,{passive:!0})})),t.onScopeDispose((()=>{a.forEach((e=>{e.removeEventListener("scroll",l)}))}))}function xn(e,l){let a
|
|
708
|
+
t.watch(e,(e=>{var n
|
|
709
|
+
e&&!a?(a=t.effectScope(),a.run(l)):(null==(n=a)||n.stop(),a=void 0)}),{immediate:!0})}function Cn(e){return{teleportTarget:t.computed((()=>{const l=e.value
|
|
710
|
+
if(!0===l||!_e)return
|
|
686
711
|
const a=!1===l?document.body:"string"==typeof l?document.querySelector(l):l
|
|
687
|
-
if(null!=a){if(!
|
|
688
|
-
e.className="v-overlay-container",a.appendChild(e),
|
|
689
|
-
const
|
|
690
|
-
function
|
|
691
|
-
return t.watch(l,(()=>a.value=!0)),{isBooted:a,hasContent:n,onAfterLeave:function(){e.eager||(a.value=!1)}}}const
|
|
692
|
-
function
|
|
693
|
-
const a=
|
|
712
|
+
if(null!=a){if(!Cn.cache.has(a)){const e=document.createElement("div")
|
|
713
|
+
e.className="v-overlay-container",a.appendChild(e),Cn.cache.set(a,e)}return Cn.cache.get(a)}t.warn(`Unable to locate target ${l}`)}))}}Cn.cache=new WeakMap
|
|
714
|
+
const kn=Ee({eager:Boolean},"lazy")
|
|
715
|
+
function Nn(e,l){const a=t.ref(!1),n=t.computed((()=>a.value||e.eager||l.value))
|
|
716
|
+
return t.watch(l,(()=>a.value=!0)),{isBooted:a,hasContent:n,onAfterLeave:function(){e.eager||(a.value=!1)}}}const _n=t.reactive([])
|
|
717
|
+
function Bn(){return!0}function In(e,t,l){if(!e||!1===$n(e,l))return!1
|
|
718
|
+
const a=Ve(t)
|
|
694
719
|
if("undefined"!=typeof ShadowRoot&&a instanceof ShadowRoot&&a.host===e.target)return!1
|
|
695
720
|
const n=("object"==typeof l.value&&l.value.include||(()=>[]))()
|
|
696
|
-
return n.push(t),!n.some((t=>null==t?void 0:t.contains(e.target)))}function
|
|
697
|
-
t(document),"undefined"!=typeof ShadowRoot&&l instanceof ShadowRoot&&t(l)}const
|
|
698
|
-
t._clickOutside.lastMousedownWasOutside&&
|
|
699
|
-
|
|
721
|
+
return n.push(t),!n.some((t=>null==t?void 0:t.contains(e.target)))}function $n(e,t){return("object"==typeof t.value&&t.value.closeConditional||Bn)(e)}function En(e,t){const l=Ve(e)
|
|
722
|
+
t(document),"undefined"!=typeof ShadowRoot&&l instanceof ShadowRoot&&t(l)}const An={mounted(e,t){const l=l=>function(e,t,l){const a="function"==typeof l.value?l.value:l.value.handler
|
|
723
|
+
t._clickOutside.lastMousedownWasOutside&&In(e,t,l)&&setTimeout((()=>{$n(e,l)&&a&&a(e)}),0)}(l,e,t),a=l=>{e._clickOutside.lastMousedownWasOutside=In(l,e,t)}
|
|
724
|
+
En(e,(e=>{e.addEventListener("click",l,!0),e.addEventListener("mousedown",a,!0)})),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!0}),e._clickOutside[t.instance.$.uid]={onClick:l,onMousedown:a}},unmounted(e,t){e._clickOutside&&(En(e,(l=>{var a
|
|
700
725
|
if(!l||null==(a=e._clickOutside)||!a[t.instance.$.uid])return
|
|
701
726
|
const{onClick:n,onMousedown:o}=e._clickOutside[t.instance.$.uid]
|
|
702
727
|
l.removeEventListener("click",n,!0),l.removeEventListener("mousedown",o,!0)})),delete e._clickOutside[t.instance.$.uid])}}
|
|
703
|
-
function
|
|
704
|
-
return t.createVNode(t.Transition,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&t.createVNode("div",t.mergeProps({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},n),null)]})}const
|
|
705
|
-
const r=
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
const
|
|
711
|
-
return t.watchEffect((()=>{
|
|
712
|
-
|
|
728
|
+
function Rn(e){const{modelValue:l,color:a,...n}=e
|
|
729
|
+
return t.createVNode(t.Transition,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&t.createVNode("div",t.mergeProps({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},n),null)]})}const Ln=be()({name:"VOverlay",directives:{ClickOutside:An},inheritAttrs:!1,props:{absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[String,Boolean],default:!0},zIndex:{type:[Number,String],default:2e3},...cn(),...Pt(),...mn(),...Sn(),...je(),...Ht(),...kn()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,l){let{slots:a,attrs:n,emit:o}=l
|
|
730
|
+
const r=il(e,"modelValue"),i=t.computed({get:()=>r.value,set:t=>{t&&e.disabled||(r.value=t)}}),{teleportTarget:s}=Cn(t.computed((()=>e.attach||e.contained))),{themeClasses:u}=Ue(e),{rtlClasses:c}=ut(),{hasContent:d,onAfterLeave:v}=Nn(e,i),p=ll(t.computed((()=>"string"==typeof e.scrim?e.scrim:null))),{isTop:f,stackStyles:m}=function(e,l){const a=we("useStack"),n=t.ref(+l.value)
|
|
731
|
+
xn(e,(()=>{var e
|
|
732
|
+
const o=null==(e=_n[_n.length-1])?void 0:e[1]
|
|
733
|
+
n.value=o?o+10:+l.value,_n.push([a,n.value]),t.onScopeDispose((()=>{const e=_n.findIndex((e=>e[0]===a))
|
|
734
|
+
_n.splice(e,1)}))}))
|
|
735
|
+
const o=t.ref(!0)
|
|
736
|
+
return t.watchEffect((()=>{var e
|
|
737
|
+
const l=t.toRaw(null==(e=_n[_n.length-1])?void 0:e[0])===a
|
|
738
|
+
setTimeout((()=>o.value=l))})),{isTop:t.readonly(o),stackStyles:t.computed((()=>({zIndex:n.value})))}}(i,t.toRef(e,"zIndex")),{activatorEl:g,activatorRef:h,activatorEvents:b,contentEvents:y}=dn(e,{isActive:i,isTop:f}),{dimensionStyles:V}=Ot(e)
|
|
739
|
+
t.watch((()=>e.disabled),(e=>{e&&(i.value=!1)}))
|
|
740
|
+
const w=t.ref(),x=t.ref(),{contentStyles:C,updateLocation:k}=function(e,l){const a=t.ref({}),n=t.ref()
|
|
713
741
|
let o
|
|
714
742
|
function r(e){var t
|
|
715
743
|
null==(t=n.value)||t.call(n,e)}return t.watchEffect((async()=>{var r
|
|
716
|
-
null==(r=o)||r.stop(),n.value=void 0,
|
|
717
|
-
"function"==typeof e.
|
|
718
|
-
|
|
719
|
-
function
|
|
744
|
+
null==(r=o)||r.stop(),n.value=void 0,_e&&l.isActive.value&&e.locationStrategy&&(o=t.effectScope(),await t.nextTick(),o.run((()=>{var t,o
|
|
745
|
+
"function"==typeof e.locationStrategy?n.value=null==(t=e.locationStrategy(l,e,a))?void 0:t.updateLocation:n.value=null==(o=fn[e.locationStrategy](l,e,a))?void 0:o.updateLocation})))})),_e&&window.addEventListener("resize",r,{passive:!0}),t.onScopeDispose((()=>{var e
|
|
746
|
+
_e&&window.removeEventListener("resize",r),n.value=void 0,null==(e=o)||e.stop()})),{contentStyles:a,updateLocation:n}}(e,{contentEl:x,activatorEl:g,isActive:i})
|
|
747
|
+
function N(t){o("click:outside",t),e.persistent?E():i.value=!1}function _(){return i.value&&f.value}function B(t){"Escape"===t.key&&f.value&&(e.persistent?E():i.value=!1)}!function(e,l){if(!_e)return
|
|
720
748
|
let a
|
|
721
749
|
t.watchEffect((async()=>{var n
|
|
722
750
|
null==(n=a)||n.stop(),l.isActive.value&&e.scrollStrategy&&(a=t.effectScope(),await t.nextTick(),a.run((()=>{var t
|
|
723
|
-
"function"==typeof e.scrollStrategy?e.scrollStrategy(l):null==(t=
|
|
724
|
-
|
|
751
|
+
"function"==typeof e.scrollStrategy?e.scrollStrategy(l):null==(t=Vn[e.scrollStrategy])||t.call(Vn,l)})))}))}(e,{root:w,contentEl:x,activatorEl:g,isActive:i,updateLocation:k}),_e&&t.watch(i,(e=>{e?window.addEventListener("keydown",B):window.removeEventListener("keydown",B)}),{immediate:!0})
|
|
752
|
+
const I=Xl()
|
|
753
|
+
xn((()=>e.closeOnBack),(()=>{!function(e,l){let a,n,o=!1
|
|
725
754
|
function r(e){var t
|
|
726
|
-
null!=(t=e.state)&&t.replaced||(o=!0,setTimeout((()=>o=!1)))}t.
|
|
727
|
-
window.removeEventListener("popstate",r),null==(e=a)||e(),null==(t=n)||t()}))}((t=>{
|
|
728
|
-
const
|
|
729
|
-
function
|
|
730
|
-
e.noClickAnimation||null==(t=
|
|
731
|
-
e&&e!==document.scrollingElement&&(
|
|
732
|
-
return t.createVNode(t.Fragment,null,[null==(l=a.activator)?void 0:l.call(a,{isActive:
|
|
733
|
-
const
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
755
|
+
null!=(t=e.state)&&t.replaced||(o=!0,setTimeout((()=>o=!1)))}_e&&(t.nextTick((()=>{window.addEventListener("popstate",r),a=null==e?void 0:e.beforeEach(((e,t,a)=>{ql?o?l(a):a():setTimeout((()=>o?l(a):a())),ql=!0})),n=null==e?void 0:e.afterEach((()=>{ql=!1}))})),t.onScopeDispose((()=>{var e,t
|
|
756
|
+
window.removeEventListener("popstate",r),null==(e=a)||e(),null==(t=n)||t()})))}(I,(t=>{f.value&&i.value?(t(!1),e.persistent?E():i.value=!1):t()}))}))
|
|
757
|
+
const $=t.ref()
|
|
758
|
+
function E(){var t
|
|
759
|
+
e.noClickAnimation||null==(t=x.value)||t.animate([{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Se})}return t.watch((()=>i.value&&(e.absolute||e.contained)&&null==s.value),(e=>{if(e){const e=Ce(w.value)
|
|
760
|
+
e&&e!==document.scrollingElement&&($.value=e.scrollTop)}})),Ae((()=>{var l,r
|
|
761
|
+
return t.createVNode(t.Fragment,null,[null==(l=a.activator)?void 0:l.call(a,{isActive:i.value,props:t.mergeProps({ref:h},t.toHandlers(b.value),e.activatorProps)}),_e&&t.createVNode(t.Teleport,{disabled:!s.value,to:s.value},{default:()=>[d.value&&t.createVNode("div",t.mergeProps({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":i.value,"v-overlay--contained":e.contained},u.value,c.value],style:[m.value,{top:S($.value)}],ref:w},n),[t.createVNode(Rn,{color:p,modelValue:i.value&&!!e.scrim},null),t.createVNode(Wt,{appear:!0,persisted:!0,transition:e.transition,target:g.value,onAfterLeave:()=>{v(),o("afterLeave")}},{default:()=>[t.withDirectives(t.createVNode("div",t.mergeProps({ref:x,class:["v-overlay__content",e.contentClass],style:[V.value,C.value]},t.toHandlers(y.value),e.contentProps),[null==(r=a.default)?void 0:r.call(a,{isActive:i})]),[[t.vShow,i.value],[t.resolveDirective("click-outside"),{handler:N,closeConditional:_,include:()=>[g.value]}]])]})])]})])})),{animateClick:E,contentEl:x,activatorEl:g,isTop:f,updateLocation:k}}})
|
|
762
|
+
function Tn(){const e=we("useScopeId").vnode.scopeId
|
|
763
|
+
return{scopeId:e?{[e]:""}:void 0}}const zn=be()({name:"VMenu",inheritAttrs:!1,props:{modelValue:Boolean,id:String,...Ht({transition:{component:mt}})},emits:{"update:modelValue":e=>!0},setup(e,l){let{attrs:a,slots:n}=l
|
|
764
|
+
const o=il(e,"modelValue"),{scopeId:r}=Tn(),i=R(),s=t.computed((()=>e.id||`v-menu-${i}`)),u=t.ref(),c=t.inject(un,null)
|
|
765
|
+
let d=0
|
|
766
|
+
function v(){null==c||c.closeParents()}return t.provide(un,{register(){++d},unregister(){--d},closeParents(){setTimeout((()=>{d||(o.value=!1,null==c||c.closeParents())}),40)}}),t.watch(o,(e=>{e?null==c||c.register():null==c||c.unregister()})),Ae((()=>t.createVNode(Ln,t.mergeProps({ref:u,modelValue:o.value,"onUpdate:modelValue":e=>o.value=e,class:["v-menu"],transition:e.transition,absolute:!0,closeOnContentClick:!0,locationStrategy:"connected",scrollStrategy:"reposition",scrim:!1,openDelay:"300",closeDelay:"250",activatorProps:{"aria-haspopup":"menu","aria-expanded":String(o.value),"aria-owns":s.value},"onClick:outside":v},r,a),{default:n.default,activator:n.activator}))),al({id:s},u)}}),Mn=he({name:"VMessages",props:{active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Ht({transition:{component:Lt,leaveAbsolute:!0,group:!0}})},setup(e,l){let{slots:a}=l
|
|
767
|
+
const n=t.computed((()=>B(e.messages))),{textColorClasses:o,textColorStyles:r}=tl(t.computed((()=>e.color)))
|
|
768
|
+
return()=>t.createVNode(Wt,{transition:e.transition,tag:"div",class:["v-messages",o.value],style:r.value},{default:()=>[e.active&&n.value.map(((e,l)=>t.createVNode("div",{class:"v-messages__message",key:`${l}-${n.value}`},[a.message?a.message({message:e}):e])))]})}}),Pn=Symbol.for("vuetify:form"),On=Ee({disabled:Boolean,fastFail:Boolean,lazyValidation:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null}})
|
|
769
|
+
function Fn(){return t.inject(Pn,null)}const Dn=Ee({disabled:Boolean,error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,readonly:Boolean,rules:{type:Array,default:()=>[]},modelValue:null})
|
|
770
|
+
function jn(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xe()
|
|
771
|
+
const a=il(e,"modelValue"),n=Fn(),o=t.ref([]),r=t.ref(!0),i=t.computed((()=>B(""===a.value?null:a.value).length>0)),s=t.computed((()=>!!(e.disabled||null!=n&&n.isDisabled.value))),u=t.computed((()=>!!(e.readonly||null!=n&&n.isReadonly.value))),c=t.computed((()=>e.errorMessages.length?B(e.errorMessages):o.value)),d=t.computed((()=>!e.rules.length||!e.error&&!c.value.length&&(!r.value||null))),v=t.ref(!1),p=t.computed((()=>({[`${l}--error`]:!1===d.value,[`${l}--dirty`]:i.value,[`${l}--disabled`]:s.value,[`${l}--readonly`]:u.value}))),f=t.computed((()=>{var t
|
|
772
|
+
return null!=(t=e.name)?t:R()}))
|
|
742
773
|
function m(){g(),a.value=null}function g(){r.value=!0,o.value=[]}async function h(){const t=[]
|
|
743
774
|
v.value=!0
|
|
744
775
|
for(const l of e.rules){if(t.length>=(e.maxErrors||1))break
|
|
745
776
|
const n="function"==typeof l?l:()=>l,o=await n(a.value)
|
|
746
|
-
!0!==o&&("string"==typeof o?t.push(o):console.warn(`${o} is not a valid value. Rule functions must return boolean true or a string.`))}return o.value=t,v.value=!1,r.value=!1,o.value}return t.onBeforeMount((()=>{null==n||n.register(f.value,h,m,g,d)})),t.onBeforeUnmount((()=>{null==n||n.unregister(f.value)})),t.watch(a,(()=>{null!=a.value&&h()})),{errorMessages:c,isDirty:i,isDisabled:s,isReadonly:u,isPristine:r,isValid:d,isValidating:v,reset:m,resetValidation:g,validate:h,validationClasses:p}}const
|
|
747
|
-
const{densityClasses:r}=
|
|
748
|
-
return
|
|
777
|
+
!0!==o&&("string"==typeof o?t.push(o):console.warn(`${o} is not a valid value. Rule functions must return boolean true or a string.`))}return o.value=t,v.value=!1,r.value=!1,o.value}return t.onBeforeMount((()=>{null==n||n.register(f.value,h,m,g,d)})),t.onBeforeUnmount((()=>{null==n||n.unregister(f.value)})),t.watch(a,(()=>{null!=a.value&&h()})),{errorMessages:c,isDirty:i,isDisabled:s,isReadonly:u,isPristine:r,isValid:d,isValidating:v,reset:m,resetValidation:g,validate:h,validationClasses:p}}const Hn=Ee({id:String,appendIcon:Il,prependIcon:Il,hideDetails:[Boolean,String],messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},...cl(),...Dn()}),Wn=be()({name:"VInput",props:{...Hn()},emits:{"update:modelValue":e=>!0},setup(e,l){let{attrs:a,slots:n,emit:o}=l
|
|
778
|
+
const{densityClasses:r}=dl(e),{errorMessages:i,isDirty:s,isDisabled:u,isReadonly:c,isPristine:d,isValid:v,isValidating:p,reset:f,resetValidation:m,validate:g,validationClasses:h}=jn(e),b=R(),y=t.computed((()=>e.id||`input-${b}`)),V=t.computed((()=>({id:y,isDirty:s,isDisabled:u,isReadonly:c,isPristine:d,isValid:v,isValidating:p,reset:f,resetValidation:m,validate:g})))
|
|
779
|
+
return Ae((()=>{var l,o,s,u,c
|
|
749
780
|
const d=!(!n.prepend&&!e.prependIcon),v=!(!n.append&&!e.appendIcon),p=!!(null!=(l=e.messages)&&l.length||i.value.length),f=!e.hideDetails||"auto"===e.hideDetails&&p
|
|
750
|
-
return t.createVNode("div",{class:["v-input",`v-input--${e.direction}`,r.value,h.value]},[d&&t.createVNode("div",{class:"v-input__prepend"},[null==n||null==(o=n.prepend)?void 0:o.call(n,V.value),e.prependIcon&&t.createVNode(
|
|
751
|
-
function
|
|
781
|
+
return t.createVNode("div",{class:["v-input",`v-input--${e.direction}`,r.value,h.value]},[d&&t.createVNode("div",{class:"v-input__prepend"},[null==n||null==(o=n.prepend)?void 0:o.call(n,V.value),e.prependIcon&&t.createVNode(Ol,{onClick:a["onClick:prepend"],icon:e.prependIcon},null)]),n.default&&t.createVNode("div",{class:"v-input__control"},[null==(s=n.default)?void 0:s.call(n,V.value)]),v&&t.createVNode("div",{class:"v-input__append"},[null==n||null==(u=n.append)?void 0:u.call(n,V.value),e.appendIcon&&t.createVNode(Ol,{onClick:a["onClick:append"],icon:e.appendIcon},null)]),f&&t.createVNode("div",{class:"v-input__details"},[t.createVNode(Mn,{active:p,messages:i.value.length>0?i.value:e.messages},{message:n.message}),null==(c=n.details)?void 0:c.call(n,V.value)])])})),{reset:f,resetValidation:m,validate:g}}})
|
|
782
|
+
function Un(e){return N(e,Object.keys(Wn.props))}const Xn=he({name:"VLabel",props:{text:String,...je()},setup(e,l){let{slots:a}=l
|
|
752
783
|
return()=>{var l
|
|
753
|
-
return t.createVNode("label",{class:"v-label"},[e.text,null==(l=a.default)?void 0:l.call(a)])}}}),
|
|
754
|
-
return()=>t.createVNode(
|
|
755
|
-
function
|
|
756
|
-
if(
|
|
757
|
-
t.onBeforeUnmount((()=>{n.disconnect()})),t.watch(l,((e,t)=>{t&&(n.unobserve(t),a.value=!1),e&&n.observe(e)}),{flush:"post"})}return{intersectionRef:l,isIntersecting:a}}const
|
|
758
|
-
const n=
|
|
759
|
-
function
|
|
760
|
-
const{left:t,right:l,width:a}=f.value.getBoundingClientRect(),o=
|
|
761
|
-
n.value=Math.round(o/a*g.value)}return()=>t.createVNode(e.tag,{ref:f,class:["v-progress-linear",{"v-progress-linear--active":e.active&&m.value,"v-progress-linear--reverse":
|
|
762
|
-
function
|
|
784
|
+
return t.createVNode("label",{class:"v-label"},[e.text,null==(l=a.default)?void 0:l.call(a)])}}}),Yn=he({name:"VFieldLabel",props:{floating:Boolean},setup(e,l){let{slots:a}=l
|
|
785
|
+
return()=>t.createVNode(Xn,{class:["v-field-label",{"v-field-label--floating":e.floating}],"aria-hidden":e.floating||void 0},a)}})
|
|
786
|
+
function Gn(e){const l=t.ref(),a=t.ref(!1)
|
|
787
|
+
if(Be){const n=new IntersectionObserver((t=>{null==e||e(t,n),a.value=!!t.find((e=>e.isIntersecting))}))
|
|
788
|
+
t.onBeforeUnmount((()=>{n.disconnect()})),t.watch(l,((e,t)=>{t&&(n.unobserve(t),a.value=!1),e&&n.observe(e)}),{flush:"post"})}return{intersectionRef:l,isIntersecting:a}}const qn=he({name:"VProgressLinear",props:{active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Jt(),...Xt(),...je()},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
789
|
+
const n=il(e,"modelValue"),{isRtl:o}=ut(),{themeClasses:r}=Ue(e),{textColorClasses:i,textColorStyles:s}=tl(e,"color"),{backgroundColorClasses:u,backgroundColorStyles:c}=ll(t.computed((()=>e.bgColor||e.color))),{backgroundColorClasses:d,backgroundColorStyles:v}=ll(e,"color"),{roundedClasses:p}=Qt(e),{intersectionRef:f,isIntersecting:m}=Gn(),g=t.computed((()=>parseInt(e.max,10))),h=t.computed((()=>parseInt(e.height,10))),b=t.computed((()=>parseFloat(e.bufferValue)/g.value*100)),y=t.computed((()=>parseFloat(n.value)/g.value*100)),V=t.computed((()=>o.value!==e.reverse)),w=t.computed((()=>e.indeterminate?"fade-transition":"slide-x-transition")),x=t.computed((()=>null==e.bgOpacity?e.bgOpacity:parseFloat(e.bgOpacity)))
|
|
790
|
+
function C(e){if(!f.value)return
|
|
791
|
+
const{left:t,right:l,width:a}=f.value.getBoundingClientRect(),o=V.value?a-e.clientX+(l-a):e.clientX-t
|
|
792
|
+
n.value=Math.round(o/a*g.value)}return()=>t.createVNode(e.tag,{ref:f,class:["v-progress-linear",{"v-progress-linear--active":e.active&&m.value,"v-progress-linear--reverse":V.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},p.value,r.value],style:{height:e.active?S(h.value):0,"--v-progress-linear-height":S(h.value)},role:"progressbar","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:y.value,onClick:e.clickable&&C},{default:()=>[e.stream&&t.createVNode("div",{class:["v-progress-linear__stream",i.value],style:{...s.value,[V.value?"left":"right"]:S(-h.value),borderTop:`${S(h.value/2)} dotted`,opacity:x.value,top:`calc(50% - ${S(h.value/4)})`,width:S(100-b.value,"%"),"--v-progress-linear-stream-to":S(h.value*(V.value?1:-1))}},null),t.createVNode("div",{class:["v-progress-linear__background",u.value],style:[c.value,{opacity:x.value,width:S(e.stream?b.value:100,"%")}]},null),t.createVNode(t.Transition,{name:w.value},{default:()=>[e.indeterminate?t.createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map((e=>t.createVNode("div",{key:e,class:["v-progress-linear__indeterminate",e,d.value],style:v.value},null)))]):t.createVNode("div",{class:["v-progress-linear__determinate",d.value],style:[v.value,{width:S(y.value,"%")}]},null)]}),a.default&&t.createVNode("div",{class:"v-progress-linear__content"},[a.default({value:y.value,buffer:b.value})])]})}}),Kn=Ee({loading:Boolean},"loader")
|
|
793
|
+
function Zn(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xe()
|
|
763
794
|
const a=t.computed((()=>({[`${l}--loading`]:e.loading})))
|
|
764
|
-
return{loaderClasses:a}}function
|
|
795
|
+
return{loaderClasses:a}}function Jn(e,l){var a
|
|
765
796
|
let{slots:n}=l
|
|
766
|
-
return t.createVNode("div",{class:`${e.name}__loader`},[(null==(a=n.default)?void 0:a.call(n,{color:e.color,isActive:e.active}))||t.createVNode(
|
|
767
|
-
function
|
|
768
|
-
const a=
|
|
769
|
-
function o(){a.value=!0}function r(){a.value=!1}return{focusClasses:n,isFocused:a,focus:o,blur:r}}const
|
|
770
|
-
const{themeClasses:i}=
|
|
771
|
-
t.watch(p,(e=>{if(f.value){const t=h.value.$el,l=
|
|
772
|
-
t.style.visibility="visible",l.style.visibility="hidden",t.animate([{transform:"translate(0)"},{transform:`translate(${
|
|
773
|
-
const k=t.computed((()=>({isActive:p,isFocused:c,controlRef:
|
|
774
|
-
function N(e){e.target!==document.activeElement&&e.preventDefault(),
|
|
775
|
-
const m="outlined"===e.variant,
|
|
776
|
-
return t.createVNode("div",t.mergeProps({class:["v-field",{"v-field--active":p.value,"v-field--appended":_,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":
|
|
777
|
-
function
|
|
797
|
+
return t.createVNode("div",{class:`${e.name}__loader`},[(null==(a=n.default)?void 0:a.call(n,{color:e.color,isActive:e.active}))||t.createVNode(qn,{active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const Qn=Ee({focused:Boolean},"focus")
|
|
798
|
+
function eo(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xe()
|
|
799
|
+
const a=il(e,"focused"),n=t.computed((()=>({[`${l}--focused`]:a.value})))
|
|
800
|
+
function o(){a.value=!0}function r(){a.value=!1}return{focusClasses:n,isFocused:a,focus:o,blur:r}}const to=["underlined","outlined","filled","contained","plain"],lo=Ee({appendInnerIcon:Il,bgColor:String,clearable:Boolean,clearIcon:{type:Il,default:"$clear"},active:Boolean,color:String,dirty:Boolean,disabled:Boolean,error:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:Il,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>to.includes(e)},...je(),...Kn()},"v-field"),ao=be()({name:"VField",inheritAttrs:!1,props:{id:String,...Qn(),...lo()},emits:{"click:clear":e=>!0,"click:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,l){let{attrs:a,emit:n,slots:o}=l
|
|
801
|
+
const{themeClasses:i}=Ue(e),{loaderClasses:s}=Zn(e),{focusClasses:u,isFocused:c,focus:d,blur:v}=eo(e),p=t.computed((()=>e.dirty||e.active)),f=t.computed((()=>!(e.singleLine||!e.label&&!o.label))),m=R(),g=t.computed((()=>e.id||`input-${m}`)),h=t.ref(),b=t.ref(),y=t.ref(),{backgroundColorClasses:V,backgroundColorStyles:w}=ll(t.toRef(e,"bgColor")),{textColorClasses:x,textColorStyles:C}=tl(t.computed((()=>p.value&&c.value&&!e.error&&!e.disabled?e.color:void 0)))
|
|
802
|
+
t.watch(p,(e=>{if(f.value){const t=h.value.$el,l=b.value.$el,a=r(t),n=l.getBoundingClientRect(),o=n.x-a.x,i=n.y-a.y-(a.height/2-n.height/2),s=n.width/.75,u=Math.abs(s-a.width)>1?{maxWidth:S(s)}:void 0,c=1e3*parseFloat(getComputedStyle(t).transitionDuration),d=parseFloat(getComputedStyle(l).getPropertyValue("--v-field-label-scale"))
|
|
803
|
+
t.style.visibility="visible",l.style.visibility="hidden",t.animate([{transform:"translate(0)"},{transform:`translate(${o}px, ${i}px) scale(${d})`,...u}],{duration:c,easing:Se,direction:e?"normal":"reverse"}).finished.then((()=>{t.style.removeProperty("visibility"),l.style.removeProperty("visibility")}))}}),{flush:"post"})
|
|
804
|
+
const k=t.computed((()=>({isActive:p,isFocused:c,controlRef:y,blur:v,focus:d})))
|
|
805
|
+
function N(e){e.target!==document.activeElement&&e.preventDefault(),n("click:control",e)}return Ae((()=>{var l,r,c
|
|
806
|
+
const m="outlined"===e.variant,y=o.prependInner||e.prependInnerIcon,S=!(!e.clearable&&!o.clear),_=!!(o.appendInner||e.appendInnerIcon||S),B=o.label?o.label({label:e.label,props:{for:g.value}}):e.label
|
|
807
|
+
return t.createVNode("div",t.mergeProps({class:["v-field",{"v-field--active":p.value,"v-field--appended":_,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":y,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--has-label":!!B,[`v-field--variant-${e.variant}`]:!0},i.value,V.value,u.value,s.value],style:[w.value,C.value],onClick:N},a),[t.createVNode("div",{class:"v-field__overlay"},null),t.createVNode(Jn,{name:"v-field",active:e.loading,color:e.error?"error":e.color},{default:o.loader}),y&&t.createVNode("div",{class:"v-field__prepend-inner"},[e.prependInnerIcon&&t.createVNode(Ol,{onClick:a["onClick:prependInner"],icon:e.prependInnerIcon},null),null==o||null==(l=o.prependInner)?void 0:l.call(o,k.value)]),t.createVNode("div",{class:"v-field__field","data-no-activator":""},[["contained","filled"].includes(e.variant)&&f.value&&t.createVNode(Yn,{ref:b,class:[x.value],floating:!0},{default:()=>[B]}),t.createVNode(Yn,{ref:h,for:g.value},{default:()=>[B]}),null==(r=o.default)?void 0:r.call(o,{...k.value,props:{id:g.value,class:"v-field__input"},focus:d,blur:v})]),S&&t.createVNode(Mt,null,{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-field__clearable"},[o.clear?o.clear():t.createVNode(Ol,{onClick:e=>n("click:clear",e),icon:e.clearIcon},null)]),[[t.vShow,e.dirty]])]}),_&&t.createVNode("div",{class:"v-field__append-inner"},[null==o||null==(c=o.appendInner)?void 0:c.call(o,k.value),e.appendInnerIcon&&t.createVNode(Ol,{onClick:a["onClick:appendInner"],icon:e.appendInnerIcon},null)]),t.createVNode("div",{class:["v-field__outline",x.value]},[m&&t.createVNode(t.Fragment,null,[t.createVNode("div",{class:"v-field__outline__start"},null),f.value&&t.createVNode("div",{class:"v-field__outline__notch"},[t.createVNode(Yn,{ref:b,floating:!0},{default:()=>[B]})]),t.createVNode("div",{class:"v-field__outline__end"},null)]),["plain","underlined"].includes(e.variant)&&f.value&&t.createVNode(Yn,{ref:b,floating:!0},{default:()=>[B]})])])})),{controlRef:y}}})
|
|
808
|
+
function no(e){return N(e,Object.keys(ao.props))}const oo=he({name:"VCounter",functional:!0,props:{active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Ht({transition:{component:Lt}})},setup(e,l){let{slots:a}=l
|
|
778
809
|
const n=t.computed((()=>e.max?`${e.value} / ${e.max}`:String(e.value)))
|
|
779
|
-
return()=>t.createVNode(
|
|
780
|
-
const r=
|
|
810
|
+
return()=>t.createVNode(Wt,{transition:e.transition},{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-counter"},[a.default?a.default({counter:n.value,max:e.max,value:e.value}):n.value]),[[t.vShow,e.active]])]})}}),ro=["color","file","time","date","datetime-local","week","month"],io=be()({name:"VTextField",directives:{Intersect:jt},inheritAttrs:!1,props:{autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,hint:String,persistentHint:Boolean,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,type:{type:String,default:"text"},...Hn(),...lo()},emits:{"click:clear":e=>!0,"click:control":e=>!0,"click:input":e=>!0,"update:modelValue":e=>!0},setup(e,l){let{attrs:a,emit:n,slots:o}=l
|
|
811
|
+
const r=il(e,"modelValue"),i=t.computed((()=>{var t
|
|
781
812
|
return"function"==typeof e.counterValue?e.counterValue(r.value):(null!=(t=r.value)?t:"").toString().length})),s=t.computed((()=>a.maxlength?a.maxlength:!e.counter||"number"!=typeof e.counter&&"string"!=typeof e.counter?void 0:e.counter))
|
|
782
813
|
function u(t,l){var a,n
|
|
783
|
-
e.autofocus&&t&&(null==(a=l[0].target)||null==(n=a.focus)||n.call(a))}const c=t.ref(),d=t.ref(),v=t.ref(!1),p=t.ref(),f=t.computed((()=>
|
|
814
|
+
e.autofocus&&t&&(null==(a=l[0].target)||null==(n=a.focus)||n.call(a))}const c=t.ref(),d=t.ref(),v=t.ref(!1),p=t.ref(),f=t.computed((()=>ro.includes(e.type)||e.persistentPlaceholder||v.value)),m=t.computed((()=>e.messages.length?e.messages:v.value||e.persistentHint?e.hint:""))
|
|
784
815
|
function g(){var e
|
|
785
816
|
p.value!==document.activeElement&&(null==(e=p.value)||e.focus())
|
|
786
|
-
v.value||(v.value=!0)}function h(e){g(),n("click:control",e)}function b(e){e.stopPropagation(),g(),t.nextTick((()=>{r.value="",n("click:clear",e)}))}return
|
|
787
|
-
return t.createVNode(
|
|
788
|
-
return t.createVNode(
|
|
817
|
+
v.value||(v.value=!0)}function h(e){g(),n("click:control",e)}function b(e){e.stopPropagation(),g(),t.nextTick((()=>{r.value="",n("click:clear",e)}))}return Ae((()=>{const l=!!(o.counter||e.counter||e.counterValue),[y,V]=_(a),[{modelValue:S,...w}]=Un(e),[x]=no(e)
|
|
818
|
+
return t.createVNode(Wn,t.mergeProps({ref:c,modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-text-field--flush-details":["plain","underlined"].includes(e.variant)}],"onClick:prepend":a["onClick:prepend"],"onClick:append":a["onClick:append"]},y,w,{messages:m.value}),{...o,default:l=>{let{isDisabled:i,isDirty:s,isReadonly:c,isValid:m}=l
|
|
819
|
+
return t.createVNode(ao,t.mergeProps({ref:d,onMousedown:e=>{e.target!==p.value&&e.preventDefault()},"onClick:control":h,"onClick:clear":b,"onClick:prependInner":a["onClick:prependInner"],"onClick:appendInner":a["onClick:appendInner"],role:"textbox"},x,{active:f.value||s.value,dirty:s.value||e.dirty,focused:v.value,error:!1===m.value}),{...o,default:l=>{var a
|
|
789
820
|
let{props:{class:s,...d}}=l
|
|
790
|
-
return t.createVNode(t.Fragment,null,[e.prefix&&t.createVNode("span",{class:"v-text-field__prefix"},[e.prefix]),t.createVNode("div",{class:s,onClick:e=>n("click:input",e)},[null==(a=o.default)?void 0:a.call(o),t.withDirectives(t.createVNode("input",t.mergeProps({ref:p,"onUpdate:modelValue":e=>r.value=e,autofocus:e.autofocus,readonly:c.value,disabled:i.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:g,onBlur:()=>v.value=!1},d,V),null),[[t.vModelDynamic,r.value],[t.resolveDirective("intersect"),{handler:u},null,{once:!0}]])]),e.suffix&&t.createVNode("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:l?()=>t.createVNode(t.Fragment,null,[t.createVNode("span",null,null),t.createVNode(
|
|
791
|
-
function
|
|
792
|
-
const a=g(t,e.itemTitle,t),n=g(t,e.itemValue,a),o=m(t,e.itemChildren)
|
|
793
|
-
return{title:a,value:n,children:Array.isArray(o)?qn(e,o):void 0,...null==(l=e.itemProps)?void 0:l.call(e,t)}}function qn(e,t){const l=[]
|
|
794
|
-
for(const a of t)l.push(Gn(e,a))
|
|
795
|
-
return l}function Kn(e){return{items:t.computed((()=>qn(e,e.items)))}}const Zn=Symbol.for("vuetify:locale-adapter"),Jn=Symbol.for("vuetify:locale")
|
|
796
|
-
function Qn(){const e=t.inject(Zn)
|
|
821
|
+
return t.createVNode(t.Fragment,null,[e.prefix&&t.createVNode("span",{class:"v-text-field__prefix"},[e.prefix]),t.createVNode("div",{class:s,onClick:e=>n("click:input",e),"data-no-activator":""},[null==(a=o.default)?void 0:a.call(o),t.withDirectives(t.createVNode("input",t.mergeProps({ref:p,"onUpdate:modelValue":e=>r.value=e,autofocus:e.autofocus,readonly:c.value,disabled:i.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:g,onBlur:()=>v.value=!1},d,V),null),[[t.vModelDynamic,r.value],[t.resolveDirective("intersect"),{handler:u},null,{once:!0}]])]),e.suffix&&t.createVNode("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:l?()=>t.createVNode(t.Fragment,null,[t.createVNode("span",null,null),t.createVNode(oo,{active:e.persistentCounter||v.value,value:i.value,max:s.value},o.counter)]):void 0})})),al({},c,d,p)}}),so=Symbol.for("vuetify:locale-adapter"),uo=Symbol.for("vuetify:locale")
|
|
822
|
+
function co(){const e=t.inject(so)
|
|
797
823
|
if(!e)throw new Error("[Vuetify] Could not find injected locale adapter")
|
|
798
|
-
return e.getScope()}function
|
|
799
|
-
return{current:l,fallback:a,messages:n,t:
|
|
824
|
+
return e.getScope()}function vo(e,l){const a=(n=l)&&n.hasOwnProperty("getScope")&&n.hasOwnProperty("createScope")&&n.hasOwnProperty("createRoot")?l:function(e){const l=e=>{const l=t.ref(e.current),a=t.ref(e.fallback),n=t.ref(e.messages)
|
|
825
|
+
return{current:l,fallback:a,messages:n,t:mo(l,a,n),n:go(l,a)}}
|
|
800
826
|
return{createRoot:t=>{var a,n,o
|
|
801
|
-
const r=l({current:null!=(a=null==e?void 0:e.defaultLocale)?a:"en",fallback:null!=(n=null==e?void 0:e.fallbackLocale)?n:"en",messages:null!=(o=null==e?void 0:e.messages)?o:{en:
|
|
802
|
-
|
|
827
|
+
const r=l({current:null!=(a=null==e?void 0:e.defaultLocale)?a:"en",fallback:null!=(n=null==e?void 0:e.fallbackLocale)?n:"en",messages:null!=(o=null==e?void 0:e.messages)?o:{en:nt}})
|
|
828
|
+
if(!t)throw new Error("[Vuetify] Could not find default app instance")
|
|
829
|
+
return t.provide(uo,r),r},getScope:()=>{const e=t.inject(uo)
|
|
803
830
|
if(!e)throw new Error("[Vuetify] Could not find injected locale instance")
|
|
804
|
-
return e},createScope:e=>{const a=t.inject(
|
|
831
|
+
return e},createScope:e=>{const a=t.inject(uo)
|
|
805
832
|
if(!a)throw new Error("[Vuetify] Could not find injected locale instance")
|
|
806
833
|
const n=l({current:t.computed((()=>{var t
|
|
807
834
|
return null!=(t=null==e?void 0:e.locale)?t:a.current.value})),fallback:t.computed((()=>{var t
|
|
808
835
|
return null!=(t=null==e?void 0:e.locale)?t:a.fallback.value})),messages:t.computed((()=>{var t
|
|
809
836
|
return null!=(t=null==e?void 0:e.messages)?t:a.messages.value}))})
|
|
810
|
-
return t.provide(
|
|
837
|
+
return t.provide(uo,n),n}}}(l)
|
|
811
838
|
var n
|
|
812
839
|
const o=a.createRoot(e)
|
|
813
|
-
return
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
return t.createVNode(
|
|
827
|
-
|
|
828
|
-
return{
|
|
829
|
-
const
|
|
840
|
+
return null==e||e.provide(rt,function(e,l){var a,n
|
|
841
|
+
return it({rtl:{...ot,...null!=(a=null==l?void 0:l.rtl)?a:{}},isRtl:t.ref(null!=(n=null==l?void 0:l.defaultRtl)&&n),rtlClasses:t.ref("")},e)}(o,l)),a}const po="$vuetify.",fo=(e,t)=>e.replace(/\{(\d+)\}/g,((e,l)=>String(t[+l]))),mo=(e,t,l)=>function(a){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r]
|
|
842
|
+
if(!a.startsWith(po))return fo(a,o)
|
|
843
|
+
const i=a.replace(po,""),c=e.value&&l.value[e.value],d=t.value&&l.value[t.value]
|
|
844
|
+
let v=b(c,i,null)
|
|
845
|
+
return v||(s(`Translation key "${a}" not found in "${e.value}", trying fallback locale`),v=b(d,i,null)),v||(u(`Translation key "${a}" not found in fallback`),v=a),"string"!=typeof v&&(u(`Translation key "${a}" has a non-string value`),v=a),fo(v,o)}
|
|
846
|
+
function go(e,t){return(l,a)=>new Intl.NumberFormat([e.value,t.value],a).format(l)}const ho=Ee({chips:Boolean,closableChips:Boolean,eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menuIcon:{type:Il,default:"$dropdown"},modelValue:{type:null,default:()=>[]},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,...Ka({itemChildren:!1})},"select"),bo=be()({name:"VSelect",props:{...ho(),...Ht({transition:{component:mt}})},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
847
|
+
const{t:n}=co(),o=t.ref(),r=t.ref(!1),{items:i,transformIn:s,transformOut:u}=Qa(e),c=il(e,"modelValue",[],(e=>s(B(e))),(t=>{const l=u(t)
|
|
848
|
+
return e.multiple?l:l[0]})),d=t.computed((()=>c.value.map((e=>i.value.find((t=>t.value===e.value))||e)))),v=t.computed((()=>d.value.map((e=>e.props.value))))
|
|
849
|
+
function p(t){c.value=[],e.openOnClear&&(r.value=!0)}function f(){e.hideNoData&&!i.value.length||(r.value=!0)}function m(e){["Enter","ArrowDown"," "].includes(e.key)&&(r.value=!0),["Escape","Tab"].includes(e.key)&&(r.value=!1)}function g(t){if(e.multiple){const e=v.value.findIndex((e=>e===t.value))
|
|
850
|
+
if(-1===e)c.value=[...c.value,t]
|
|
851
|
+
else{const t=[...c.value]
|
|
852
|
+
t.splice(e,1),c.value=t}}else c.value=[t],r.value=!1}return Ae((()=>{const l=!(!e.chips&&!a.chip)
|
|
853
|
+
return t.createVNode(io,{ref:o,class:["v-select",{"v-select--active-menu":r.value,"v-select--chips":!!e.chips,["v-select--"+(e.multiple?"multiple":"single")]:!0}],appendInnerIcon:e.menuIcon,readonly:!0,"onClick:clear":p,"onClick:input":f,"onClick:control":f,onBlur:()=>r.value=!1,modelValue:c.value.map((e=>e.props.value)).join(", "),onKeydown:m},{...a,default:()=>{var o,s
|
|
854
|
+
return t.createVNode(t.Fragment,null,[t.createVNode(zn,{modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,activator:"parent",contentClass:"v-select__content",eager:e.eager,openOnClick:!1,transition:e.transition},{default:()=>[t.createVNode(ln,{selected:v.value,selectStrategy:e.multiple?"independent":"single-independent"},{default:()=>[!i.value.length&&!e.hideNoData&&(null!=(o=null==(s=a["no-data"])?void 0:s.call(a))?o:t.createVNode(Ya,{title:n(e.noDataText)},null)),i.value.map((e=>t.createVNode(Ya,t.mergeProps(e.props,{onMousedown:e=>e.preventDefault(),onClick:()=>g(e)}),null)))]})]}),d.value.map(((n,o)=>{const r={"onClick:close":function(e){e.stopPropagation(),e.preventDefault(),g(n)},modelValue:!0}
|
|
855
|
+
return t.createVNode("div",{class:"v-select__selection"},[l?t.createVNode(dt,{defaults:{VChip:{closable:e.closableChips,size:"small",text:n.props.title}}},{default:()=>[a.chip?a.chip({props:r,selection:n,index:o}):t.createVNode(ka,r,null)]}):a.selection?a.selection({item:n.originalItem,index:o}):t.createVNode("span",{class:"v-select__selection-text"},[n.props.title,e.multiple&&o<d.value.length-1&&t.createVNode("span",{class:"v-select__selection-comma"},[t.createTextVNode(",")])])])}))])}})})),al({},o)}}),yo=(e,t,l)=>null==e||null==t?-1:e.toString().toLocaleLowerCase().indexOf(t.toString().toLocaleLowerCase()),Vo=Ee({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter")
|
|
856
|
+
function So(e,l,a){const n=t.computed((()=>"string"!=typeof(null==a?void 0:a.value)&&"number"!=typeof(null==a?void 0:a.value)?"":String(a.value)))
|
|
857
|
+
return{filteredItems:t.computed((()=>{const a=t.unref(l)
|
|
858
|
+
return function(e,t,l){var a,n
|
|
859
|
+
const o=[],r=null!=(a=null==l?void 0:l.default)?a:yo,i=!(null==l||!l.filterKeys)&&B(l.filterKeys),s=Object.keys(null!=(n=null==l?void 0:l.customKeyFilter)?n:{}).length
|
|
830
860
|
if(null==e||!e.length)return o
|
|
831
|
-
e:for(
|
|
832
|
-
let
|
|
833
|
-
if(t&&
|
|
834
|
-
for(const
|
|
835
|
-
const
|
|
836
|
-
if(
|
|
837
|
-
else if("every"===(null==l?void 0:l.filterMode))continue e}
|
|
838
|
-
|
|
839
|
-
if(
|
|
840
|
-
if("
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
function
|
|
846
|
-
function
|
|
847
|
-
if(-1===e)
|
|
848
|
-
else{const t=[...
|
|
849
|
-
t.splice(e,1),
|
|
850
|
-
l?(
|
|
851
|
-
return t.createVNode(
|
|
852
|
-
return t.createVNode(t.Fragment,null,[
|
|
853
|
-
return t.createVNode(
|
|
854
|
-
return
|
|
855
|
-
return"number"==typeof l&&~l?t.createVNode(t.Fragment,null,[t.createVNode("span",{class:"v-autocomplete__unmask"},[e.substr(0,l)]),t.createVNode("span",{class:"v-autocomplete__mask"},[e.substr(l,a)]),t.createVNode("span",{class:"v-autocomplete__unmask"},[e.substr(l+a)])]):e}(l.title,a.title,null!=(e=null==(n=
|
|
856
|
-
return t.createVNode("div",{class:"v-autocomplete__selection"},[l
|
|
857
|
-
return["top","bottom"].includes(t)
|
|
858
|
-
|
|
859
|
-
const
|
|
860
|
-
|
|
861
|
-
return()=>{var
|
|
862
|
-
|
|
863
|
-
return
|
|
864
|
-
return
|
|
865
|
-
return
|
|
866
|
-
return()=>t.createVNode(Dl,t.mergeProps({class:"v-banner-avatar"},e),a)}}),mo=fe({name:"VBannerIcon",props:Ol(),setup(e,l){let{slots:a}=l
|
|
867
|
-
return()=>t.createVNode(Dl,t.mergeProps({class:"v-banner-icon"},e),a)}}),go=ge("v-banner-text"),ho=Symbol.for("vuetify:display"),bo={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}}
|
|
868
|
-
function yo(){return ke?Math.max(document.documentElement.clientWidth,window.innerWidth):0}function Vo(){return ke?Math.max(document.documentElement.clientHeight,window.innerHeight):0}function So(e){const{thresholds:l,mobileBreakpoint:a}=function(){return I(bo,arguments.length>0&&void 0!==arguments[0]?arguments[0]:bo)}(e),n=t.ref(Vo()),o=function(){const e=ke?window.navigator.userAgent:"ssr"
|
|
861
|
+
e:for(let a=0;a<e.length;a++){const n=e[a],c={},d={}
|
|
862
|
+
let v=-1
|
|
863
|
+
if(t&&(null==l||!l.noFilter)){if("object"==typeof n){const e=i||Object.keys(n)
|
|
864
|
+
for(const a of e){var u
|
|
865
|
+
const e=y(n,a,n),o=null==l||null==(u=l.customKeyFilter)?void 0:u[a]
|
|
866
|
+
if(v=o?o(e,t,n):r(e,t,n),-1!==v&&!1!==v)o?c[a]=v:d[a]=v
|
|
867
|
+
else if("every"===(null==l?void 0:l.filterMode))continue e}}else v=r(n,t,n),-1!==v&&!1!==v&&(d.title=v)
|
|
868
|
+
const e=Object.keys(d).length,a=Object.keys(c).length
|
|
869
|
+
if(!e&&!a)continue
|
|
870
|
+
if("union"===(null==l?void 0:l.filterMode)&&a!==s&&!e)continue
|
|
871
|
+
if("intersection"===(null==l?void 0:l.filterMode)&&(a!==s||!e))continue}o.push({index:a,matches:{...d,...c}})}return o}(a,n.value,{customKeyFilter:e.customKeyFilter,default:e.customFilter,filterKeys:e.filterKeys,filterMode:e.filterMode,noFilter:e.noFilter}).map((e=>{let{index:t,matches:l}=e
|
|
872
|
+
return{item:a[t],matches:l}}))}))}}const wo=be()({name:"VAutocomplete",props:{search:String,...Vo({filterKeys:["title"]}),...ho(),...Ht({transition:!1})},emits:{"click:clear":e=>!0,"update:search":e=>!0,"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
873
|
+
const{t:n}=co(),o=t.ref(),r=t.ref(!1),i=t.ref(!0),s=t.ref(!1),{items:u,transformIn:c,transformOut:d}=Qa(e),v=il(e,"search",""),p=il(e,"modelValue",[],(e=>c(B(e))),(t=>{const l=d(t)
|
|
874
|
+
return e.multiple?l:l[0]})),{filteredItems:f}=So(e,u,t.computed((()=>i.value?void 0:v.value))),m=t.computed((()=>p.value.map((e=>u.value.find((t=>t.value===e.value))||e)))),g=t.computed((()=>m.value.map((e=>e.props.value))))
|
|
875
|
+
function h(t){p.value=[],e.openOnClear&&(s.value=!0),v.value=""}function b(){e.hideNoData&&!f.value.length||(s.value=!0)}function y(e){["Enter","ArrowDown"].includes(e.key)&&(s.value=!0),["Escape"].includes(e.key)&&(s.value=!1),["Enter","Escape","Tab"].includes(e.key)&&(i.value=!0)}function V(e){v.value=e.target.value}function S(){r.value&&(i.value=!0)}const w=t.ref(!1)
|
|
876
|
+
function x(l){if(e.multiple){const e=g.value.findIndex((e=>e===l.value))
|
|
877
|
+
if(-1===e)p.value=[...p.value,l],v.value=""
|
|
878
|
+
else{const t=[...p.value]
|
|
879
|
+
t.splice(e,1),p.value=t}}else p.value=[l],w.value=!0,v.value=l.title,s.value=!1,i.value=!0,t.nextTick((()=>w.value=!1))}return t.watch(r,(l=>{var a,n
|
|
880
|
+
l?(w.value=!0,v.value=e.multiple?"":String(null!=(a=null==(n=m.value.at(-1))?void 0:n.props.title)?a:""),i.value=!0,t.nextTick((()=>w.value=!1))):(s.value=!1,v.value="")})),t.watch(v,(e=>{r.value&&!w.value&&(e&&(s.value=!0),i.value=!e)})),Ae((()=>{const l=!(!e.chips&&!a.chip)
|
|
881
|
+
return t.createVNode(io,{ref:o,modelValue:v.value,onInput:V,class:["v-autocomplete",{"v-autocomplete--active-menu":s.value,"v-autocomplete--chips":!!e.chips,["v-autocomplete--"+(e.multiple?"multiple":"single")]:!0}],appendInnerIcon:e.menuIcon,dirty:g.value.length>0,"onClick:clear":h,"onClick:control":b,"onClick:input":b,onFocus:()=>r.value=!0,onBlur:()=>r.value=!1,onKeydown:y},{...a,default:()=>{var o,r
|
|
882
|
+
return t.createVNode(t.Fragment,null,[t.createVNode(zn,{modelValue:s.value,"onUpdate:modelValue":e=>s.value=e,activator:"parent",contentClass:"v-autocomplete__content",eager:e.eager,openOnClick:!1,transition:e.transition,onAfterLeave:S},{default:()=>[t.createVNode(ln,{selected:g.value,selectStrategy:e.multiple?"independent":"single-independent"},{default:()=>[!f.value.length&&!e.hideNoData&&(null!=(o=null==(r=a["no-data"])?void 0:r.call(a))?o:t.createVNode(Ya,{title:n(e.noDataText)},null)),f.value.map((e=>{let{item:l,matches:a}=e
|
|
883
|
+
return t.createVNode(Ya,t.mergeProps(l.props,{onMousedown:e=>e.preventDefault(),onClick:()=>x(l)}),{title:()=>{var e,n
|
|
884
|
+
return i.value?l.title:function(e,l,a){if(Array.isArray(l))throw new Error("Multiple matches is not implemented")
|
|
885
|
+
return"number"==typeof l&&~l?t.createVNode(t.Fragment,null,[t.createVNode("span",{class:"v-autocomplete__unmask"},[e.substr(0,l)]),t.createVNode("span",{class:"v-autocomplete__mask"},[e.substr(l,a)]),t.createVNode("span",{class:"v-autocomplete__unmask"},[e.substr(l+a)])]):e}(l.title,a.title,null!=(e=null==(n=v.value)?void 0:n.length)?e:0)}})}))]})]}),m.value.map(((n,o)=>{const r={"onClick:close":function(e){e.stopPropagation(),e.preventDefault(),x(n)},modelValue:!0}
|
|
886
|
+
return t.createVNode("div",{class:"v-autocomplete__selection"},[l?t.createVNode(dt,{defaults:{VChip:{closable:e.closableChips,size:"small",text:n.props.title}}},{default:()=>[a.chip?a.chip({props:r,item:n.originalItem,index:o}):t.createVNode(ka,r,null)]}):a.selection?a.selection({item:n.originalItem,index:o}):t.createVNode("span",{class:"v-autocomplete__selection-text"},[n.props.title,e.multiple&&o<m.value.length-1&&t.createVNode("span",{class:"v-autocomplete__selection-comma"},[t.createTextVNode(",")])])])}))])}})})),al({filteredItems:f},o)}}),xo=he({name:"VBadge",inheritAttrs:!1,props:{bordered:Boolean,color:String,content:[Number,String],dot:Boolean,floating:Boolean,icon:Il,inline:Boolean,label:{type:String,default:"$vuetify.badge"},max:[Number,String],modelValue:{type:Boolean,default:!0},offsetX:[Number,String],offsetY:[Number,String],textColor:String,...Dl({location:"top end"}),...Jt(),...Xt(),...je(),...Ht({transition:"scale-rotate-transition"})},setup(e,l){const{backgroundColorClasses:a,backgroundColorStyles:n}=ll(t.toRef(e,"color")),{roundedClasses:o}=Qt(e),{t:r}=co(),{textColorClasses:i,textColorStyles:s}=tl(t.toRef(e,"textColor")),{themeClasses:u}=Xe(),{locationStyles:c}=jl(e,!0,(t=>{var l,a
|
|
887
|
+
return(e.floating?e.dot?2:4:e.dot?8:12)+(["top","bottom"].includes(t)?+(null!=(l=e.offsetY)?l:0):["left","right"].includes(t)?+(null!=(a=e.offsetX)?a:0):0)}))
|
|
888
|
+
return()=>{var d,v,p,f
|
|
889
|
+
const m=Number(e.content),g=!e.max||isNaN(m)?e.content:m<=e.max?m:`${e.max}+`,[h,b]=N(l.attrs,["aria-atomic","aria-label","aria-live","role","title"])
|
|
890
|
+
return t.createVNode(e.tag,t.mergeProps({class:["v-badge",{"v-badge--bordered":e.bordered,"v-badge--dot":e.dot,"v-badge--floating":e.floating,"v-badge--inline":e.inline}]},b),{default:()=>[t.createVNode("div",{class:"v-badge__wrapper"},[null==(d=(v=l.slots).default)?void 0:d.call(v),t.createVNode(Wt,{transition:e.transition},{default:()=>[t.withDirectives(t.createVNode("span",t.mergeProps({class:["v-badge__badge",a.value,o.value,i.value,u.value],style:[n.value,s.value,e.inline?{}:c.value],"aria-atomic":"true","aria-label":r(e.label,m),"aria-live":"polite",role:"status"},h),[e.dot?void 0:l.slots.badge?null==(p=(f=l.slots).badge)?void 0:p.call(f):e.icon?t.createVNode(Ol,{icon:e.icon},null):g]),[[t.vShow,e.modelValue]])]})])]})}}}),Co=he({name:"VBannerActions",props:{color:String,density:String},setup(e,l){let{slots:a}=l
|
|
891
|
+
return me({VBtn:{color:e.color,density:e.density,variant:"text"}}),Ae((()=>{var e
|
|
892
|
+
return t.createVNode("div",{class:"v-banner-actions"},[null==a||null==(e=a.default)?void 0:e.call(a)])})),{}}}),ko=he({name:"VBannerAvatar",props:Sa(),setup(e,l){let{slots:a}=l
|
|
893
|
+
return()=>t.createVNode(wa,t.mergeProps({class:"v-banner-avatar"},e),a)}}),No=he({name:"VBannerIcon",props:Sa(),setup(e,l){let{slots:a}=l
|
|
894
|
+
return()=>t.createVNode(wa,t.mergeProps({class:"v-banner-icon"},e),a)}}),_o=ye("v-banner-text"),Bo=Symbol.for("vuetify:display"),Io={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}}
|
|
895
|
+
function $o(){return _e?Math.max(document.documentElement.clientWidth,window.innerWidth):0}function Eo(){return _e?Math.max(document.documentElement.clientHeight,window.innerHeight):0}function Ao(e){const{thresholds:l,mobileBreakpoint:a}=function(){return A(Io,arguments.length>0&&void 0!==arguments[0]?arguments[0]:Io)}(e),n=t.ref(Eo()),o=function(){const e=_e?window.navigator.userAgent:"ssr"
|
|
869
896
|
function t(t){return Boolean(e.match(t))}const l=t(/android/i),a=t(/iphone|ipad|ipod/i),n=t(/cordova/i),o=t(/electron/i),r=t(/chrome/i),i=t(/edge/i),s=t(/firefox/i),u=t(/opera/i),c=t(/win/i),d=t(/mac/i),v=t(/linux/i),p=t(/ssr/i)
|
|
870
|
-
return{android:l,ios:a,cordova:n,electron:o,chrome:r,edge:i,firefox:s,opera:u,win:c,mac:d,linux:v,touch:
|
|
897
|
+
return{android:l,ios:a,cordova:n,electron:o,chrome:r,edge:i,firefox:s,opera:u,win:c,mac:d,linux:v,touch:Ie,ssr:p}}(),r=t.reactive({}),i=t.ref($o())
|
|
871
898
|
return t.watchEffect((()=>{const e=i.value<l.sm,t=i.value<l.md&&!e,s=i.value<l.lg&&!(t||e),u=i.value<l.xl&&!(s||t||e),c=i.value<l.xxl&&!(u||s||t||e),d=i.value>=l.xxl,v=e?"xs":t?"sm":s?"md":u?"lg":c?"xl":"xxl",p="number"==typeof a?a:l[a],f=o.ssr?o.android||o.ios||o.opera:i.value<p
|
|
872
|
-
r.xs=e,r.sm=t,r.md=s,r.lg=u,r.xl=c,r.xxl=d,r.smAndUp=!e,r.mdAndUp=!(e||t),r.lgAndUp=!(e||t||s),r.xlAndUp=!(e||t||s||u),r.smAndDown=!(s||u||c||d),r.mdAndDown=!(u||c||d),r.lgAndDown=!(c||d),r.xlAndDown=!d,r.name=v,r.height=n.value,r.width=i.value,r.mobile=f,r.mobileBreakpoint=a,r.platform=o,r.thresholds=l})),
|
|
899
|
+
r.xs=e,r.sm=t,r.md=s,r.lg=u,r.xl=c,r.xxl=d,r.smAndUp=!e,r.mdAndUp=!(e||t),r.lgAndUp=!(e||t||s),r.xlAndUp=!(e||t||s||u),r.smAndDown=!(s||u||c||d),r.mdAndDown=!(u||c||d),r.lgAndDown=!(c||d),r.xlAndDown=!d,r.name=v,r.height=n.value,r.width=i.value,r.mobile=f,r.mobileBreakpoint=a,r.platform=o,r.thresholds=l})),_e&&window.addEventListener("resize",(function(){n.value=Eo(),i.value=$o()}),{passive:!0}),t.toRefs(r)}function Ro(){const e=t.inject(Bo)
|
|
873
900
|
if(!e)throw new Error("Could not find Vuetify display injection")
|
|
874
|
-
return e}const
|
|
875
|
-
const{borderClasses:n}=
|
|
876
|
-
|
|
901
|
+
return e}const Lo=he({name:"VBanner",props:{avatar:String,color:String,icon:Il,lines:String,stacked:Boolean,sticky:Boolean,text:String,...Gt(),...cl(),...Pt(),...Kt(),...Dl(),...Wl(),...Jt(),...Xt(),...je()},setup(e,l){let{slots:a}=l
|
|
902
|
+
const{borderClasses:n}=qt(e),{densityClasses:o}=dl(e),{mobile:r}=Ro(),{dimensionStyles:i}=Ot(e),{elevationClasses:s}=Zt(e),{locationStyles:u}=jl(e),{positionClasses:c}=Ul(e),{roundedClasses:d}=Qt(e),{themeClasses:v}=Ue(e),p=t.toRef(e,"color"),f=t.toRef(e,"density")
|
|
903
|
+
me({VBannerActions:{color:p,density:f},VBannerAvatar:{density:f,image:t.toRef(e,"avatar")},VBannerIcon:{color:p,density:f,icon:t.toRef(e,"icon")}}),Ae((()=>{var l
|
|
877
904
|
const p=!(!e.text&&!a.text),f=!!(a.prepend||e.avatar||e.icon)
|
|
878
|
-
return t.createVNode(e.tag,{class:["v-banner",{"v-banner--stacked":e.stacked||r.value,"v-banner--sticky":e.sticky,[`v-banner--${e.lines}-line`]:!!e.lines},n.value,o.value,s.value,
|
|
879
|
-
const{themeClasses:n}=
|
|
880
|
-
return
|
|
881
|
-
const o=
|
|
882
|
-
return e.active||(null==(t=o.isExactActive)?void 0:t.value)})),i=t.computed((()=>r.value?e.activeColor:e.color)),{textColorClasses:s,textColorStyles:u}=
|
|
883
|
-
return
|
|
905
|
+
return t.createVNode(e.tag,{class:["v-banner",{"v-banner--stacked":e.stacked||r.value,"v-banner--sticky":e.sticky,[`v-banner--${e.lines}-line`]:!!e.lines},n.value,o.value,s.value,c.value,d.value,v.value],style:[i.value,u.value],role:"banner"},{default:()=>[f&&t.createVNode(t.Fragment,null,[a.prepend?t.createVNode("div",{class:"v-banner__prepend"},[a.prepend()]):e.avatar?t.createVNode(ko,null,null):e.icon?t.createVNode(No,null,null):void 0]),p&&t.createVNode(_o,null,{default:()=>[a.text?a.text():e.text]}),null==(l=a.default)?void 0:l.call(a),a.actions&&t.createVNode(Co,null,{default:()=>[a.actions()]})]})}))}}),To=he({name:"VBottomNavigation",props:{bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:e=>!e||["horizontal","shift"].includes(e)},height:{type:[Number,String],default:56},...Gt(),...cl(),...Kt(),...Jt(),...et({name:"bottom-navigation"}),...Xt({tag:"header"}),...hl({modelValue:!0,selectedClass:"v-btn--selected"}),...je()},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
906
|
+
const{themeClasses:n}=Xe(),{borderClasses:o}=qt(e),{backgroundColorClasses:r,backgroundColorStyles:i}=ll(t.toRef(e,"bgColor")),{densityClasses:s}=dl(e),{elevationClasses:u}=Zt(e),{roundedClasses:c}=Qt(e),d=t.computed((()=>Number(e.height)-("comfortable"===e.density?8:0)-("compact"===e.density?16:0))),v=il(e,"modelValue",e.modelValue),{layoutItemStyles:p}=lt({id:e.name,order:t.computed((()=>parseInt(e.order,10))),position:t.computed((()=>"bottom")),layoutSize:t.computed((()=>v.value?d.value:0)),elementSize:d,active:v,absolute:t.toRef(e,"absolute")})
|
|
907
|
+
return Vl(e,wl),me({VBtn:{color:t.toRef(e,"color"),density:t.toRef(e,"density"),stacked:t.computed((()=>"horizontal"!==e.mode)),variant:"text"}},{scoped:!0}),()=>t.createVNode(e.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":v.value,"v-bottom-navigation--grow":e.grow,"v-bottom-navigation--shift":"shift"===e.mode},n.value,r.value,o.value,s.value,u.value,c.value],style:[i.value,p.value,{height:S(d.value),transform:`translateY(${S(v.value?0:100,"%")})`}]},{default:()=>[a.default&&t.createVNode("div",{class:"v-bottom-navigation__content"},[a.default()])]})}}),zo=he({name:"VBreadcrumbsItem",props:{active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,text:String,...Gl(),...Xt({tag:"li"})},setup(e,l){let{slots:a,attrs:n}=l
|
|
908
|
+
const o=Yl(e,n),r=t.computed((()=>{var t
|
|
909
|
+
return e.active||(null==(t=o.isExactActive)?void 0:t.value)})),i=t.computed((()=>r.value?e.activeColor:e.color)),{textColorClasses:s,textColorStyles:u}=tl(i)
|
|
910
|
+
return Ae((()=>{const l=o.isLink.value?"a":e.tag,n=!(!a.default&&!e.text)
|
|
884
911
|
return t.createVNode(l,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":r.value,"v-breadcrumbs-item--disabled":e.disabled,"v-breadcrumbs-item--link":o.isLink.value,[`${e.activeClass}`]:r.value&&e.activeClass},s.value],style:[u.value],href:o.href.value,"aria-current":r.value?"page":void 0,onClick:o.navigate},{default:n?()=>{var t,l
|
|
885
|
-
return null!=(t=null==(l=a.default)?void 0:l.call(a))?t:e.text}:void 0})})),{}}}),
|
|
886
|
-
const{densityClasses:n}=
|
|
887
|
-
return
|
|
888
|
-
return t.createVNode(e.tag,{class:["v-breadcrumbs",r.value,n.value,o.value],style:i.value},{default:()=>[e.icon&&t.createVNode(
|
|
889
|
-
return t.createVNode(t.Fragment,null,[t.createVNode(
|
|
890
|
-
return null==(e=a.text)?void 0:e.call(a,{item:l,index:n})}:void 0}),n<o.length-1&&t.createVNode(
|
|
891
|
-
return
|
|
892
|
-
return t.createVNode("div",{class:"v-card-actions"},[null==a||null==(e=a.default)?void 0:e.call(a)])})),{}}}),
|
|
893
|
-
const{themeClasses:o}=
|
|
912
|
+
return null!=(t=null==(l=a.default)?void 0:l.call(a))?t:e.text}:void 0})})),{}}}),Mo=ye("v-breadcrumbs-divider","li"),Po=he({name:"VBreadcrumbs",props:{activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:Il,items:{type:Array,default:()=>[]},...cl(),...Jt(),...Xt({tag:"ul"})},setup(e,l){let{slots:a}=l
|
|
913
|
+
const{densityClasses:n}=dl(e),{roundedClasses:o}=Qt(e),{backgroundColorClasses:r,backgroundColorStyles:i}=ll(t.toRef(e,"bgColor"))
|
|
914
|
+
return me({VBreadcrumbsItem:{activeClass:t.toRef(e,"activeClass"),activeColor:t.toRef(e,"activeColor"),color:t.toRef(e,"color"),disabled:t.toRef(e,"disabled")}}),Ae((()=>{var l
|
|
915
|
+
return t.createVNode(e.tag,{class:["v-breadcrumbs",r.value,n.value,o.value],style:i.value},{default:()=>[e.icon&&t.createVNode(Ol,{icon:e.icon,left:!0},null),e.items.map(((l,n,o)=>{var r,i
|
|
916
|
+
return t.createVNode(t.Fragment,null,[t.createVNode(zo,t.mergeProps({key:n,disabled:n>=o.length-1},"string"==typeof l?{text:l}:l),{default:a.text?()=>{var e
|
|
917
|
+
return null==(e=a.text)?void 0:e.call(a,{item:l,index:n})}:void 0}),n<o.length-1&&t.createVNode(Mo,null,{default:()=>[null!=(r=null==(i=a.divider)?void 0:i.call(a,{item:l,index:n}))?r:e.divider]})])})),null==(l=a.default)?void 0:l.call(a)]})})),{}}}),Oo=he({name:"VCardActions",setup(e,l){let{slots:a}=l
|
|
918
|
+
return me({VBtn:{variant:"text"}}),Ae((()=>{var e
|
|
919
|
+
return t.createVNode("div",{class:"v-card-actions"},[null==a||null==(e=a.default)?void 0:e.call(a)])})),{}}}),Fo=ye("v-card-avatar"),Do=ye("v-card-content"),jo=ye("v-card-header"),Ho=ye("v-card-header-text"),Wo=ye("v-card-img"),Uo=ye("v-card-subtitle"),Xo=ye("v-card-text"),Yo=ye("v-card-title"),Go=he({name:"VCard",directives:{Ripple:pa},props:{appendAvatar:String,appendIcon:Il,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:Boolean,prependAvatar:String,prependIcon:Il,ripple:Boolean,subtitle:String,text:String,title:String,...je(),...Gt(),...cl(),...Pt(),...Kt(),...Dl(),...Wl(),...Jt(),...Gl(),...Xt(),...fl({variant:"contained"})},setup(e,l){let{attrs:a,slots:n}=l
|
|
920
|
+
const{themeClasses:o}=Ue(e),{borderClasses:r}=qt(e),{colorClasses:i,colorStyles:s,variantClasses:u}=ml(e),{densityClasses:c}=dl(e),{dimensionStyles:d}=Ot(e),{elevationClasses:v}=Zt(e),{locationStyles:p}=jl(e),{positionClasses:f}=Ul(e),{roundedClasses:m}=Qt(e),g=Yl(e,a)
|
|
894
921
|
return()=>{var l,a,h,b
|
|
895
|
-
const y=g.isLink.value?"a":e.tag,V=!(!n.title&&!e.title),S=!(!n.subtitle&&!e.subtitle),w=V||S,
|
|
896
|
-
return t.withDirectives(t.createVNode(y,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":B},o.value,r.value,i.value,c.value,v.value,
|
|
897
|
-
function
|
|
922
|
+
const y=g.isLink.value?"a":e.tag,V=!(!n.title&&!e.title),S=!(!n.subtitle&&!e.subtitle),w=V||S,x=!!(n.append||e.appendAvatar||e.appendIcon),C=!!(n.prepend||e.prependAvatar||e.prependIcon),k=!(!n.image&&!e.image),N=w||C||x,_=!(!n.text&&!e.text),B=!e.disabled&&(g.isClickable.value||e.link)
|
|
923
|
+
return t.withDirectives(t.createVNode(y,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":B},o.value,r.value,i.value,c.value,v.value,f.value,m.value,u.value],style:[s.value,d.value,p.value],href:g.href.value,onClick:B&&g.navigate},{default:()=>[pl(B,"v-card"),k&&t.createVNode(dt,{defaults:{VImg:{cover:!0,src:e.image}}},{default:()=>[t.createVNode(Wo,null,{default:()=>[n.image?null==(l=n.image)?void 0:l.call(n):t.createVNode(Ut,{alt:""},null)]})]}),null==(a=n.media)?void 0:a.call(n),N&&t.createVNode(jo,null,{default:()=>[C&&t.createVNode(dt,{defaults:{VAvatar:{density:e.density,icon:e.prependIcon,image:e.prependAvatar}}},{default:()=>[t.createVNode(Fo,null,{default:()=>[n.prepend?n.prepend():t.createVNode(wa,null,null)]})]}),w&&t.createVNode(Ho,null,{default:()=>[V&&t.createVNode(Yo,null,{default:()=>[n.title?n.title():e.title]}),S&&t.createVNode(Uo,null,{default:()=>[n.subtitle?n.subtitle():e.subtitle]}),null==(h=n.headerText)?void 0:h.call(n)]}),x&&t.createVNode(dt,{defaults:{VAvatar:{density:e.density,icon:e.appendIcon,image:e.appendAvatar}}},{default:()=>[t.createVNode(Fo,null,{default:()=>[n.append?n.append():t.createVNode(wa,null,null)]})]})]}),_&&t.createVNode(Xo,null,{default:()=>[n.text?n.text():e.text]}),n.content&&t.createVNode(Do,null,{default:n.content}),null==(b=n.default)?void 0:b.call(n),n.actions&&t.createVNode(Oo,null,{default:n.actions})]}),[[t.resolveDirective("ripple"),B]])}}})
|
|
924
|
+
function qo(e,t){var l
|
|
898
925
|
const a=e.changedTouches[0]
|
|
899
|
-
t.touchstartX=a.clientX,t.touchstartY=a.clientY,null==(l=t.start)||l.call(t,{originalEvent:e,...t})}function
|
|
926
|
+
t.touchstartX=a.clientX,t.touchstartY=a.clientY,null==(l=t.start)||l.call(t,{originalEvent:e,...t})}function Ko(e,t){var l
|
|
900
927
|
const a=e.changedTouches[0]
|
|
901
928
|
t.touchendX=a.clientX,t.touchendY=a.clientY,null==(l=t.end)||l.call(t,{originalEvent:e,...t}),(e=>{const{touchstartX:t,touchendX:l,touchstartY:a,touchendY:n}=e
|
|
902
|
-
e.offsetX=l-t,e.offsetY=n-a,Math.abs(e.offsetY)<.5*Math.abs(e.offsetX)&&(e.left&&l<t-16&&e.left(e),e.right&&l>t+16&&e.right(e)),Math.abs(e.offsetX)<.5*Math.abs(e.offsetY)&&(e.up&&n<a-16&&e.up(e),e.down&&n>a+16&&e.down(e))})(t)}function
|
|
929
|
+
e.offsetX=l-t,e.offsetY=n-a,Math.abs(e.offsetY)<.5*Math.abs(e.offsetX)&&(e.left&&l<t-16&&e.left(e),e.right&&l>t+16&&e.right(e)),Math.abs(e.offsetX)<.5*Math.abs(e.offsetY)&&(e.up&&n<a-16&&e.up(e),e.down&&n>a+16&&e.down(e))})(t)}function Zo(e,t){var l
|
|
903
930
|
const a=e.changedTouches[0]
|
|
904
|
-
t.touchmoveX=a.clientX,t.touchmoveY=a.clientY,null==(l=t.move)||l.call(t,{originalEvent:e,...t})}const
|
|
931
|
+
t.touchmoveX=a.clientX,t.touchmoveY=a.clientY,null==(l=t.move)||l.call(t,{originalEvent:e,...t})}const Jo={mounted:function(e,t){var l,a,n
|
|
905
932
|
const o=t.value,r=null!=o&&o.parent?e.parentElement:e,i=null!=(l=null==o?void 0:o.options)?l:{passive:!0},s=null==(a=t.instance)?void 0:a.$.uid
|
|
906
933
|
if(!r||!s)return
|
|
907
934
|
const u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|
908
935
|
const t={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end}
|
|
909
|
-
return{touchstart:e=>
|
|
910
|
-
r._touchHandlers=null!=(n=r._touchHandlers)?n:Object.create(null),r._touchHandlers[s]=u,
|
|
936
|
+
return{touchstart:e=>qo(e,t),touchend:e=>Ko(e,t),touchmove:e=>Zo(e,t)}}(t.value)
|
|
937
|
+
r._touchHandlers=null!=(n=r._touchHandlers)?n:Object.create(null),r._touchHandlers[s]=u,k(u).forEach((e=>{r.addEventListener(e,u[e],i)}))},unmounted:function(e,t){var l,a
|
|
911
938
|
const n=null!=(l=t.value)&&l.parent?e.parentElement:e,o=null==(a=t.instance)?void 0:a.$.uid
|
|
912
939
|
if(null==n||!n._touchHandlers||!o)return
|
|
913
940
|
const r=n._touchHandlers[o]
|
|
914
|
-
|
|
915
|
-
const{themeClasses:n}=
|
|
941
|
+
k(r).forEach((e=>{n.removeEventListener(e,r[e])})),delete n._touchHandlers[o]}},Qo=Symbol.for("vuetify:v-window"),er=Symbol.for("vuetify:v-window-group"),tr=be()({name:"VWindow",directives:{Touch:Jo},props:{continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:e=>"boolean"==typeof e||"hover"===e},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{default:"force"},...Xt(),...je()},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
942
|
+
const{themeClasses:n}=Ue(e),{isRtl:o}=ut(),{t:r}=co(),i=Vl(e,er),s=t.ref(),u=t.computed((()=>o.value?!e.reverse:e.reverse)),c=t.ref(!1),d=t.computed((()=>`v-window-${"vertical"===e.direction?"y":"x"}${(u.value?!c.value:c.value)?"-reverse":""}-transition`)),v=t.ref(0),p=t.ref(void 0),f=t.computed((()=>i.items.value.findIndex((e=>i.selected.value.includes(e.id)))))
|
|
916
943
|
t.watch(f,((e,t)=>{const l=i.items.value.length,a=l-1
|
|
917
|
-
c.value=l<=2?e<t:e===a&&0===t||(0!==e||t!==a)&&e<t})),t.provide(
|
|
944
|
+
c.value=l<=2?e<t:e===a&&0===t||(0!==e||t!==a)&&e<t})),t.provide(Qo,{transition:d,isReversed:c,transitionCount:v,transitionHeight:p,rootRef:s})
|
|
918
945
|
const m=t.computed((()=>e.continuous||0!==f.value)),g=t.computed((()=>e.continuous||f.value!==i.items.value.length-1))
|
|
919
946
|
function h(){m.value&&i.prev()}function b(){g.value&&i.next()}const y=t.computed((()=>{const l=[],n={icon:o.value?e.nextIcon:e.prevIcon,class:"v-window__"+(u.value?"right":"left"),onClick:i.prev,ariaLabel:r("$vuetify.carousel.prev")}
|
|
920
|
-
l.push(m.value?a.prev?a.prev({props:n}):t.createVNode(
|
|
947
|
+
l.push(m.value?a.prev?a.prev({props:n}):t.createVNode(fa,n,null):t.createVNode("div",null,null))
|
|
921
948
|
const s={icon:o.value?e.prevIcon:e.nextIcon,class:"v-window__"+(u.value?"left":"right"),onClick:i.next,ariaLabel:r("$vuetify.carousel.next")}
|
|
922
|
-
return l.push(g.value?a.next?a.next({props:s}):t.createVNode(
|
|
949
|
+
return l.push(g.value?a.next?a.next({props:s}):t.createVNode(fa,s,null):t.createVNode("div",null,null)),l})),V=t.computed((()=>{if(!1===e.touch)return e.touch
|
|
923
950
|
return{...{left:()=>{u.value?h():b()},right:()=>{u.value?b():h()},end:e=>{let{originalEvent:t}=e
|
|
924
951
|
t.stopPropagation()},start:e=>{let{originalEvent:t}=e
|
|
925
952
|
t.stopPropagation()}},...!0===e.touch?{}:e.touch}}))
|
|
926
|
-
return
|
|
927
|
-
return t.withDirectives(t.createVNode(e.tag,{ref:s,class:["v-window",{"v-window--show-arrows-on-hover":"hover"===e.showArrows},n.value]},{default:()=>[t.createVNode("div",{class:"v-window__container",style:{height:p.value}},[null==(l=a.default)?void 0:l.call(a,{group:i}),!1!==e.showArrows&&t.createVNode("div",{class:"v-window__controls"},[y.value])]),null==(o=a.additional)?void 0:o.call(a,{group:i})]}),[[t.resolveDirective("touch"),V.value]])})),{group:i}}}),
|
|
928
|
-
const n=t.inject(
|
|
953
|
+
return Ae((()=>{var l,o
|
|
954
|
+
return t.withDirectives(t.createVNode(e.tag,{ref:s,class:["v-window",{"v-window--show-arrows-on-hover":"hover"===e.showArrows},n.value]},{default:()=>[t.createVNode("div",{class:"v-window__container",style:{height:p.value}},[null==(l=a.default)?void 0:l.call(a,{group:i}),!1!==e.showArrows&&t.createVNode("div",{class:"v-window__controls"},[y.value])]),null==(o=a.additional)?void 0:o.call(a,{group:i})]}),[[t.resolveDirective("touch"),V.value]])})),{group:i}}}),lr=he({name:"VWindowItem",directives:{Touch:Jo},props:{reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...kn(),...bl()},setup(e,l){let{slots:a}=l
|
|
955
|
+
const n=t.inject(Qo),o=yl(e,er)
|
|
929
956
|
if(!n||!o)throw new Error("[Vuetify] VWindowItem must be used inside VWindow")
|
|
930
957
|
const r=t.ref(!1),i=t.computed((()=>n.isReversed.value?!1!==e.reverseTransition:!1!==e.transition))
|
|
931
958
|
function s(){r.value&&n&&(r.value=!1,n.transitionCount.value>0&&(n.transitionCount.value-=1,0===n.transitionCount.value&&(n.transitionHeight.value=void 0)))}function u(){if(!r.value&&n){var e
|
|
932
|
-
if(r.value=!0,0===n.transitionCount.value)n.transitionHeight.value=
|
|
933
|
-
n.transitionCount.value+=1}}function c(){s()}function d(e){r.value&&t.nextTick((()=>{i.value&&r.value&&n&&(n.transitionHeight.value=
|
|
934
|
-
return!!i.value&&{name:"string"!=typeof t?n.transition.value:t,onBeforeEnter:u,onAfterEnter:s,onEnterCancelled:c,onBeforeLeave:u,onAfterLeave:s,onLeaveCancelled:c,onEnter:d}})),{hasContent:p}=
|
|
935
|
-
return()=>t.createVNode(
|
|
936
|
-
const n=
|
|
959
|
+
if(r.value=!0,0===n.transitionCount.value)n.transitionHeight.value=S(null==(e=n.rootRef.value)?void 0:e.clientHeight)
|
|
960
|
+
n.transitionCount.value+=1}}function c(){s()}function d(e){r.value&&t.nextTick((()=>{i.value&&r.value&&n&&(n.transitionHeight.value=S(e.clientHeight))}))}const v=t.computed((()=>{const t=n.isReversed.value?e.reverseTransition:e.transition
|
|
961
|
+
return!!i.value&&{name:"string"!=typeof t?n.transition.value:t,onBeforeEnter:u,onAfterEnter:s,onEnterCancelled:c,onBeforeLeave:u,onAfterLeave:s,onLeaveCancelled:c,onEnter:d}})),{hasContent:p}=Nn(e,o.isSelected)
|
|
962
|
+
return()=>t.createVNode(Wt,{transition:v.value},{default:()=>[t.withDirectives(t.createVNode("div",{class:["v-window-item",o.selectedClass.value]},[a.default&&p.value&&a.default()]),[[t.vShow,o.isSelected.value]])]})}}),ar=he({name:"VCarousel",props:{color:String,cycle:Boolean,delimiterIcon:{type:Il,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:e=>e>0},modelValue:null,progress:[Boolean,String],showArrows:{type:[Boolean,String],default:!0,validator:e=>"boolean"==typeof e||"hover"===e},verticalDelimiters:[Boolean,String]},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
963
|
+
const n=il(e,"modelValue"),{t:o}=co(),r=t.ref()
|
|
937
964
|
let i=-1
|
|
938
|
-
function s(){e.cycle&&r.value&&(i=window.setTimeout(r.value.group.next,+e.interval>0?+e.interval:6e3))}function u(){window.clearTimeout(i),window.requestAnimationFrame(s)}t.watch(n,u),t.watch((()=>e.interval),u),t.watch((()=>e.cycle),(e=>{e?u():window.clearTimeout(i)})),t.onMounted(s)
|
|
939
|
-
return t.createVNode(t.Fragment,null,[!e.hideDelimiters&&t.createVNode("div",{class:"v-carousel__controls",style:{left:"left"===e.verticalDelimiters&&e.verticalDelimiters?0:"auto",right:"right"===e.verticalDelimiters?0:"auto"}},[r.items.value.length>0&&t.createVNode(
|
|
940
|
-
return a.item?a.item({props:l,item:e}):t.createVNode(
|
|
941
|
-
|
|
942
|
-
const n=
|
|
943
|
-
return t.provide(
|
|
944
|
-
return t.createVNode("div",{class:"v-selection-control-group","aria-labelled-by":"radio"===e.type?r.value:void 0,role:"radio"===e.type?"radiogroup":void 0},[null==a||null==(l=a.default)?void 0:l.call(a)])})),{}}}),
|
|
945
|
-
const
|
|
946
|
-
const{densityClasses:o,group:r,icon:i,model:s,textColorClasses:u,textColorStyles:c,trueValue:d}=function(e){const l=t.inject(
|
|
965
|
+
function s(){e.cycle&&r.value&&(i=window.setTimeout(r.value.group.next,+e.interval>0?+e.interval:6e3))}function u(){window.clearTimeout(i),window.requestAnimationFrame(s)}t.watch(n,u),t.watch((()=>e.interval),u),t.watch((()=>e.cycle),(e=>{e?u():window.clearTimeout(i)})),t.onMounted(s),Ae((()=>t.createVNode(tr,{ref:r,modelValue:n.value,"onUpdate:modelValue":e=>n.value=e,class:["v-carousel",{"v-carousel--hide-delimiter-background":e.hideDelimiterBackground,"v-carousel--vertical-delimiters":e.verticalDelimiters}],style:{height:S(e.height)},continuous:!0,showArrows:e.showArrows,mandatory:"force"},{default:a.default,additional:l=>{let{group:r}=l
|
|
966
|
+
return t.createVNode(t.Fragment,null,[!e.hideDelimiters&&t.createVNode("div",{class:"v-carousel__controls",style:{left:"left"===e.verticalDelimiters&&e.verticalDelimiters?0:"auto",right:"right"===e.verticalDelimiters?0:"auto"}},[r.items.value.length>0&&t.createVNode(dt,{defaults:{VBtn:{color:e.color,icon:e.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[r.items.value.map((e=>{const l={"aria-label":o("$vuetify.carousel.ariaLabel.delimiter"),class:[r.isSelected(e.id)&&"v-btn--selected"],onClick:()=>r.select(e.id,!0)}
|
|
967
|
+
return a.item?a.item({props:l,item:e}):t.createVNode(fa,t.mergeProps(e,l),null)}))]})]),e.progress&&t.createVNode(qn,{class:"v-carousel__progress",color:"string"==typeof e.progress?e.progress:void 0,modelValue:(r.getItemIndex(n.value)+1)/r.items.value.length*100},null)])},prev:a.prev,next:a.next})))}}),nr=he({name:"VCarouselItem",inheritAttrs:!1,props:{value:null},setup(e,l){let{slots:a,attrs:n}=l
|
|
968
|
+
Ae((()=>t.createVNode(lr,{class:"v-carousel-item",value:e.value},{default:()=>[t.createVNode(Ut,n,a)]})))}}),or=Symbol.for("vuetify:selection-control-group"),rr=he({name:"VSelectionControlGroup",props:{disabled:Boolean,id:String,inline:Boolean,name:String,falseIcon:Il,trueIcon:Il,multiple:{type:Boolean,default:null},readonly:Boolean,type:String,modelValue:null},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
969
|
+
const n=il(e,"modelValue"),o=R(),r=t.computed((()=>e.id||`v-selection-control-group-${o}`)),i=t.computed((()=>e.name||r.value))
|
|
970
|
+
return t.provide(or,{disabled:t.toRef(e,"disabled"),inline:t.toRef(e,"inline"),modelValue:n,multiple:t.computed((()=>!!e.multiple||null==e.multiple&&Array.isArray(n.value))),name:i,falseIcon:t.toRef(e,"falseIcon"),trueIcon:t.toRef(e,"trueIcon"),readonly:t.toRef(e,"readonly"),type:t.toRef(e,"type")}),Ae((()=>{var l
|
|
971
|
+
return t.createVNode("div",{class:"v-selection-control-group","aria-labelled-by":"radio"===e.type?r.value:void 0,role:"radio"===e.type?"radiogroup":void 0},[null==a||null==(l=a.default)?void 0:l.call(a)])})),{}}}),ir=Ee({color:String,disabled:Boolean,error:Boolean,id:String,inline:Boolean,label:String,falseIcon:Il,trueIcon:Il,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,trueValue:null,falseValue:null,modelValue:null,type:String,value:null,valueComparator:{type:Function,default:h},...je(),...cl()})
|
|
972
|
+
const sr=be()({name:"VSelectionControl",directives:{Ripple:pa},inheritAttrs:!1,props:ir(),emits:{"update:modelValue":e=>!0},setup(e,l){let{attrs:a,slots:n}=l
|
|
973
|
+
const{densityClasses:o,group:r,icon:i,model:s,textColorClasses:u,textColorStyles:c,trueValue:d}=function(e){const l=t.inject(or,void 0),{densityClasses:a}=dl(e),n=il(e,"modelValue"),o=t.computed((()=>void 0!==e.trueValue?e.trueValue:void 0===e.value||e.value)),r=t.computed((()=>void 0!==e.falseValue&&e.falseValue)),i=t.computed((()=>(null==l?void 0:l.multiple.value)||!!e.multiple||null==e.multiple&&Array.isArray(n.value))),s=t.computed({get(){const t=l?l.modelValue.value:n.value
|
|
947
974
|
return i.value?t.some((t=>e.valueComparator(t,o.value))):e.valueComparator(t,o.value)},set(t){if(e.readonly)return
|
|
948
975
|
const a=t?o.value:r.value
|
|
949
976
|
let s=a
|
|
950
|
-
i.value&&(s=t?[...
|
|
977
|
+
i.value&&(s=t?[...B(n.value),a]:B(n.value).filter((t=>!e.valueComparator(t,o.value)))),l?l.modelValue.value=s:n.value=s}}),{textColorClasses:u,textColorStyles:c}=tl(t.computed((()=>!s.value||e.error||e.disabled?void 0:e.color))),d=t.computed((()=>{var t,a
|
|
951
978
|
return s.value?null!=(t=null==l?void 0:l.trueIcon.value)?t:e.trueIcon:null!=(a=null==l?void 0:l.falseIcon.value)?a:e.falseIcon}))
|
|
952
|
-
return{group:l,densityClasses:a,trueValue:o,falseValue:r,model:s,textColorClasses:u,textColorStyles:c,icon:d}}(e),v
|
|
953
|
-
function h(e){f.value=!0,(
|
|
979
|
+
return{group:l,densityClasses:a,trueValue:o,falseValue:r,model:s,textColorClasses:u,textColorStyles:c,icon:d}}(e),v=R(),p=t.computed((()=>e.id||`input-${v}`)),f=t.ref(!1),m=t.ref(!1),g=t.ref()
|
|
980
|
+
function h(e){f.value=!0,(!$e||$e&&e.target.matches(":focus-visible"))&&(m.value=!0)}function b(){f.value=!1,m.value=!1}return Ae((()=>{var l,v,y,V
|
|
954
981
|
const S=n.label?n.label({label:e.label,props:{for:p.value}}):e.label,w=null!=(l=null==r?void 0:r.type.value)?l:e.type
|
|
955
|
-
return t.createVNode("div",{class:["v-selection-control",{"v-selection-control--dirty":s.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":f.value,"v-selection-control--focus-visible":m.value,"v-selection-control--inline":(null==r?void 0:r.inline.value)||e.inline},o.value]},[t.createVNode("div",{class:["v-selection-control__wrapper",u.value]},[null==(v=n.default)?void 0:v.call(n),t.withDirectives(t.createVNode("div",{class:["v-selection-control__input"]
|
|
956
|
-
function
|
|
957
|
-
const o=
|
|
958
|
-
function s(){o.value&&(o.value=!1)}return
|
|
959
|
-
return t.createVNode(
|
|
960
|
-
return t.createVNode(
|
|
961
|
-
const{themeClasses:n}=
|
|
962
|
-
return()=>t.createVNode(e.tag,{class:["v-sheet",n.value,o.value,i.value,u.value,
|
|
963
|
-
function
|
|
964
|
-
return a?o.clientY-(n.top+n.height/2):o.clientX-(n.left+n.width/2)}const
|
|
965
|
-
const{isRtl:r}=
|
|
982
|
+
return t.createVNode("div",{class:["v-selection-control",{"v-selection-control--dirty":s.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":f.value,"v-selection-control--focus-visible":m.value,"v-selection-control--inline":(null==r?void 0:r.inline.value)||e.inline},o.value]},[t.createVNode("div",{class:["v-selection-control__wrapper",u.value],style:c.value},[null==(v=n.default)?void 0:v.call(n),t.withDirectives(t.createVNode("div",{class:["v-selection-control__input"]},[i.value&&t.createVNode(Ol,{icon:i.value},null),t.withDirectives(t.createVNode("input",t.mergeProps({"onUpdate:modelValue":e=>s.value=e,ref:g,disabled:e.disabled,id:p.value,onBlur:b,onFocus:h,"aria-readonly":e.readonly,type:w,value:d.value,name:null!=(y=null==r?void 0:r.name.value)?y:e.name,"aria-checked":"checkbox"===w?s.value:void 0},a),null),[[t.vModelDynamic,s.value]]),null==(V=n.input)?void 0:V.call(n,{model:s,textColorClasses:u,props:{onFocus:h,onBlur:b,id:p.value}})]),[[t.resolveDirective("ripple"),e.ripple&&[!e.disabled&&!e.readonly,null,["center","circle"]]]])]),t.createVNode(Xn,{for:p.value},{default:()=>[S]})])})),{isFocused:f,input:g}}})
|
|
983
|
+
function ur(e){return N(e,Object.keys(sr.props))}const cr=he({name:"VCheckbox",inheritAttrs:!1,props:{indeterminate:Boolean,indeterminateIcon:{type:Il,default:"$checkboxIndeterminate"},...Hn(),...ir(),falseIcon:{type:Il,default:"$checkboxOff"},trueIcon:{type:Il,default:"$checkboxOn"}},emits:{"update:indeterminate":e=>!0},setup(e,l){let{attrs:a,slots:n}=l
|
|
984
|
+
const o=il(e,"indeterminate"),r=t.computed((()=>o.value?e.indeterminateIcon:e.falseIcon)),i=t.computed((()=>o.value?e.indeterminateIcon:e.trueIcon))
|
|
985
|
+
function s(){o.value&&(o.value=!1)}return Ae((()=>{const[l,u]=_(a),[c,d]=Un(e),[v,p]=ur(e)
|
|
986
|
+
return t.createVNode(Wn,t.mergeProps({class:"v-checkbox"},l,c),{...n,default:e=>{let{isDisabled:l,isReadonly:a}=e
|
|
987
|
+
return t.createVNode(sr,t.mergeProps(v,{type:"checkbox","onUpdate:modelValue":s,falseIcon:r.value,trueIcon:i.value,"aria-checked":o.value?"mixed":void 0,disabled:l.value,readonly:a.value},u),n)}})})),{}}}),dr=ye("v-code"),vr=he({name:"VSheet",props:{color:String,...Gt(),...Pt(),...Kt(),...Dl(),...Wl(),...Jt(),...Xt(),...je()},setup(e,l){let{slots:a}=l
|
|
988
|
+
const{themeClasses:n}=Ue(e),{backgroundColorClasses:o,backgroundColorStyles:r}=ll(t.toRef(e,"color")),{borderClasses:i}=qt(e),{dimensionStyles:s}=Ot(e),{elevationClasses:u}=Zt(e),{locationStyles:c}=jl(e),{positionClasses:d}=Ul(e),{roundedClasses:v}=Qt(e)
|
|
989
|
+
return()=>t.createVNode(e.tag,{class:["v-sheet",n.value,o.value,i.value,u.value,d.value,v.value],style:[r.value,s.value,c.value]},a)}}),pr=Symbol.for("vuetify:v-slider")
|
|
990
|
+
function fr(e,t,l){const a="vertical"===l,n=t.getBoundingClientRect(),o="touches"in e?e.touches[0]:e
|
|
991
|
+
return a?o.clientY-(n.top+n.height/2):o.clientX-(n.left+n.width/2)}const mr=Ee({disabled:Boolean,error:Boolean,readonly:Boolean,max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:e=>"boolean"==typeof e||"always"===e},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:e=>"boolean"==typeof e||"always"===e},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:e=>["vertical","horizontal"].includes(e)},reverse:Boolean,...Jt(),...Kt({elevation:2})},"slider"),gr=e=>{let{props:l,handleSliderMouseUp:a,handleMouseMove:n,getActiveThumb:o}=e
|
|
992
|
+
const{isRtl:r}=ut(),i=t.computed((()=>r.value!==l.reverse)),s=t.computed((()=>{let e=r.value?"rtl":"ltr"
|
|
966
993
|
return l.reverse&&(e="rtl"===e?"ltr":"rtl"),e})),u=t.computed((()=>parseFloat(l.min))),c=t.computed((()=>parseFloat(l.max))),d=t.computed((()=>l.step>0?parseFloat(l.step):0)),v=t.computed((()=>{const e=d.value.toString().trim()
|
|
967
|
-
return e.includes(".")?e.length-e.indexOf(".")-1:0})),p=t.computed((()=>parseInt(l.thumbSize,10))),f=t.computed((()=>parseInt(l.tickSize,10))),m=t.computed((()=>parseInt(l.trackSize,10))),g=t.computed((()=>(c.value-u.value)/d.value)),
|
|
994
|
+
return e.includes(".")?e.length-e.indexOf(".")-1:0})),p=t.computed((()=>parseInt(l.thumbSize,10))),f=t.computed((()=>parseInt(l.tickSize,10))),m=t.computed((()=>parseInt(l.trackSize,10))),g=t.computed((()=>(c.value-u.value)/d.value)),h=t.toRef(l,"disabled"),b=t.computed((()=>"vertical"===l.direction)),y=t.computed((()=>{var e
|
|
968
995
|
return l.error||l.disabled?void 0:null!=(e=l.thumbColor)?e:l.color})),S=t.computed((()=>{var e
|
|
969
996
|
return l.error||l.disabled?void 0:null!=(e=l.trackColor)?e:l.color})),w=t.computed((()=>{var e
|
|
970
|
-
return l.error||l.disabled?void 0:null!=(e=l.trackFillColor)?e:l.color})),
|
|
971
|
-
function
|
|
972
|
-
const t=
|
|
973
|
-
return parseFloat(Math.min(a,c.value).toFixed(v.value))}function
|
|
997
|
+
return l.error||l.disabled?void 0:null!=(e=l.trackFillColor)?e:l.color})),x=t.ref(!1),C=t.ref(0),k=t.ref(),N=t.ref()
|
|
998
|
+
function _(e){if(d.value<=0)return e
|
|
999
|
+
const t=I(e,u.value,c.value),l=u.value%d.value,a=Math.round((t-l)/d.value)*d.value+l
|
|
1000
|
+
return parseFloat(Math.min(a,c.value).toFixed(v.value))}function B(e){var t
|
|
974
1001
|
const a="vertical"===l.direction,n=a?"top":"left",o=a?"height":"width",r=a?"clientY":"clientX",{[n]:s,[o]:d}=null==(t=k.value)?void 0:t.$el.getBoundingClientRect(),v=function(e,t){return"touches"in e&&e.touches.length?e.touches[0][t]:"changedTouches"in e&&e.changedTouches.length?e.changedTouches[0][t]:e[t]}(e,r)
|
|
975
|
-
let p=Math.min(Math.max((v-s-
|
|
976
|
-
return(a||i.value)&&(p=1-p),
|
|
977
|
-
const E=e=>{$||(
|
|
978
|
-
function
|
|
979
|
-
return
|
|
980
|
-
return{value:t,position:
|
|
981
|
-
return!!t})))),
|
|
982
|
-
return t.provide(
|
|
983
|
-
const o=t.inject(
|
|
1002
|
+
let p=Math.min(Math.max((v-s-C.value)/d,0),1)||0
|
|
1003
|
+
return(a||i.value)&&(p=1-p),_(u.value+p*(c.value-u.value))}let $=!1
|
|
1004
|
+
const E=e=>{$||(C.value=0,a(B(e))),x.value=!1,$=!1,C.value=0},A=e=>{N.value=o(e),N.value&&(N.value.focus(),x.value=!0,N.value.contains(e.target)?($=!0,C.value=fr(e,N.value,l.direction)):(C.value=0,n(B(e))))},R={passive:!0,capture:!0}
|
|
1005
|
+
function L(e){$=!0,n(B(e))}function T(e){e.stopPropagation(),e.preventDefault(),E(e),window.removeEventListener("mousemove",L,R),window.removeEventListener("mouseup",T)}function z(e){e.stopPropagation(),e.preventDefault(),E(e),window.removeEventListener("touchmove",L,R),window.removeEventListener("touchend",z)}const M=e=>{const t=(e-u.value)/(c.value-u.value)*100
|
|
1006
|
+
return I(isNaN(t)?0:t,0,100)},P=t.computed((()=>l.ticks?Array.isArray(l.ticks)?l.ticks.map((e=>({value:e,position:M(e),label:e.toString()}))):Object.keys(l.ticks).map((e=>({value:parseInt(e,10),position:M(parseInt(e,10)),label:l.ticks[e]}))):g.value!==1/0?V(g.value+1).map((e=>{const t=u.value+e*d.value
|
|
1007
|
+
return{value:t,position:M(t)}})):[])),O=t.computed((()=>P.value.some((e=>{let{label:t}=e
|
|
1008
|
+
return!!t})))),F={activeThumbRef:N,color:t.toRef(l,"color"),decimals:v,disabled:h,direction:t.toRef(l,"direction"),elevation:t.toRef(l,"elevation"),hasLabels:O,horizontalDirection:s,isReversed:i,min:u,max:c,mousePressed:x,numTicks:g,onSliderMousedown:function(e){e.preventDefault(),A(e),window.addEventListener("mousemove",L,R),window.addEventListener("mouseup",T,{passive:!1})},onSliderTouchstart:function(e){A(e),window.addEventListener("touchmove",L,R),window.addEventListener("touchend",z,{passive:!1})},parsedTicks:P,parseMouseMove:B,position:M,readonly:t.toRef(l,"readonly"),rounded:t.toRef(l,"rounded"),roundValue:_,showTicks:t.toRef(l,"showTicks"),startOffset:C,step:d,thumbSize:p,thumbColor:y,thumbLabel:t.toRef(l,"thumbLabel"),ticks:t.toRef(l,"ticks"),tickSize:f,trackColor:S,trackContainerRef:k,trackFillColor:w,trackSize:m,vertical:b}
|
|
1009
|
+
return t.provide(pr,F),F},hr=he({name:"VSliderThumb",directives:{Ripple:pa},props:{focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0}},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a,emit:n}=l
|
|
1010
|
+
const o=t.inject(pr)
|
|
984
1011
|
if(!o)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider")
|
|
985
|
-
const{thumbColor:r,step:i,vertical:s,disabled:u,thumbSize:c,thumbLabel:d,direction:v,readonly:p,elevation:f,isReversed:m,horizontalDirection:g,mousePressed:h,decimals:
|
|
1012
|
+
const{thumbColor:r,step:i,vertical:s,disabled:u,thumbSize:c,thumbLabel:d,direction:v,readonly:p,elevation:f,isReversed:m,horizontalDirection:g,mousePressed:h,decimals:b}=o,{textColorClasses:y,textColorStyles:V}=tl(r),{pageup:w,pagedown:x,end:k,home:N,left:_,right:B,down:I,up:$}=C,E=[w,x,k,N,_,B,I,$],A=t.computed((()=>i.value?[1,2,3]:[1,5,10]))
|
|
986
1013
|
function R(t){const l=function(t,l){if(!E.includes(t.key))return
|
|
987
1014
|
t.preventDefault()
|
|
988
1015
|
const a=i.value||.1,n=(e.max-e.min)/a
|
|
@@ -990,33 +1017,33 @@ if([_,B,I,$].includes(t.key)){const e=(m.value?[_,$]:[B,$]).includes(t.key)?1:-1
|
|
|
990
1017
|
l+=e*a*A.value[n]}else t.key===N?l=e.min:t.key===k?l=e.max:l-=(t.key===x?1:-1)*a*(n>100?n/10:10)
|
|
991
1018
|
return Math.max(e.min,Math.min(e.max,l))}(t,e.modelValue)
|
|
992
1019
|
null!=l&&n("update:modelValue",l)}return()=>{var l,n
|
|
993
|
-
const o=
|
|
994
|
-
return t.createVNode("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&h.value}],style:{[`inset-${r}-start`]:`calc(${o} - var(--v-slider-thumb-size) / 2)`,"--v-slider-thumb-size":
|
|
995
|
-
const n=t.inject(
|
|
1020
|
+
const o=S(s.value?100-e.position:e.position,"%"),r=s.value?"block":"inline",{elevationClasses:m}=Zt(t.computed((()=>u.value?void 0:f.value)))
|
|
1021
|
+
return t.createVNode("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&h.value}],style:{[`inset-${r}-start`]:`calc(${o} - var(--v-slider-thumb-size) / 2)`,"--v-slider-thumb-size":S(c.value),direction:s.value?void 0:g.value},role:"slider",tabindex:u.value?-1:0,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":p.value,"aria-orientation":v.value,onKeydown:p.value?void 0:R},[t.createVNode("div",{class:["v-slider-thumb__surface",y.value,m.value],style:{...V.value}},null),t.withDirectives(t.createVNode("div",{class:["v-slider-thumb__ripple",y.value],style:V.value},null),[[t.resolveDirective("ripple"),!0,null,{circle:!0,center:!0}]]),t.createVNode(_t,{origin:"bottom center"},{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-slider-thumb__label-container"},[t.createVNode("div",{class:["v-slider-thumb__label"]},[t.createVNode("div",null,[null!=(l=null==(n=a["thumb-label"])?void 0:n.call(a,{modelValue:e.modelValue}))?l:e.modelValue.toFixed(i.value?b.value:1)])])]),[[t.vShow,d.value&&e.focused||"always"===d.value]])]})])}}}),br=he({name:"VSliderTrack",props:{start:{type:Number,required:!0},stop:{type:Number,required:!0}},emits:{},setup(e,l){let{slots:a}=l
|
|
1022
|
+
const n=t.inject(pr)
|
|
996
1023
|
if(!n)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider")
|
|
997
|
-
const{trackColor:o,trackFillColor:r,vertical:i,tickSize:s,showTicks:u,trackSize:c,color:d,rounded:v,parsedTicks:p,horizontalDirection:f}=n,{roundedClasses:m}=
|
|
998
|
-
const s=i.value?"bottom":"margin-inline-start"
|
|
999
|
-
return t.createVNode("div",{key:l.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":l.position>=e.start&&l.position<=e.stop}],style:{[s]:
|
|
1000
|
-
return()=>t.createVNode("div",{class:["v-slider-track",m.value],style:{"--v-slider-track-size":
|
|
1001
|
-
const o=t.ref(),{min:r,max:i,mousePressed:s,roundValue:u,onSliderMousedown:c,onSliderTouchstart:d,trackContainerRef:v,position:p,hasLabels:f,readonly:m}=
|
|
1002
|
-
return null==(e=o.value)?void 0:e.$el}}),g=
|
|
1003
|
-
return u(t)})),{isFocused:h,focus:b,blur:y}=
|
|
1004
|
-
return()=>{const[l,a]
|
|
1005
|
-
return t.createVNode(
|
|
1006
|
-
return t.createVNode("div",{class:"v-slider__container",onMousedown:m.value?void 0:c,onTouchstartPassive:m.value?void 0:d},[t.createVNode("input",{id:a.value,name:e.name||a.value,disabled:e.disabled,readonly:e.readonly,tabindex:"-1",value:g.value},null),t.createVNode(
|
|
1007
|
-
var
|
|
1008
|
-
function
|
|
1024
|
+
const{trackColor:o,trackFillColor:r,vertical:i,tickSize:s,showTicks:u,trackSize:c,color:d,rounded:v,parsedTicks:p,horizontalDirection:f}=n,{roundedClasses:m}=Qt(v),{backgroundColorClasses:g,backgroundColorStyles:h}=ll(r),{backgroundColorClasses:b,backgroundColorStyles:y}=ll(o),V=t.computed((()=>"inset-"+(i.value?"block-end":"inline-start"))),w=t.computed((()=>i.value?"height":"width")),x=t.computed((()=>({[V.value]:"0%",[w.value]:"100%"}))),C=t.computed((()=>e.stop-e.start)),k=t.computed((()=>({[V.value]:S(e.start,"%"),[w.value]:S(C.value,"%")}))),N=t.computed((()=>(i.value?p.value.slice().reverse():p.value).map(((l,n)=>{var o,r
|
|
1025
|
+
const s=i.value?"bottom":"margin-inline-start",u=l.position>0&&l.position<100?S(l.position,"%"):void 0
|
|
1026
|
+
return t.createVNode("div",{key:l.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":l.position>=e.start&&l.position<=e.stop}],style:{[s]:u}},[(l.label||a["tick-label"])&&t.createVNode("div",{class:"v-slider-track__tick-label"},[null!=(o=null==(r=a["tick-label"])?void 0:r.call(a,{tick:l,index:n}))?o:l.label])])}))))
|
|
1027
|
+
return()=>t.createVNode("div",{class:["v-slider-track",m.value],style:{"--v-slider-track-size":S(c.value),"--v-slider-tick-size":S(s.value),direction:i.value?void 0:f.value}},[t.createVNode("div",{class:["v-slider-track__background",b.value,{"v-slider-track__background--opacity":!!d.value||!r.value}],style:{...x.value,...y.value}},null),t.createVNode("div",{class:["v-slider-track__fill",g.value],style:{...k.value,...h.value}},null),u.value&&t.createVNode("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":"always"===u.value}]},[N.value])])}}),yr=he({name:"VSlider",props:{...Qn(),...mr(),...Hn(),modelValue:{type:[Number,String],default:0}},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,l){let{attrs:a,slots:n}=l
|
|
1028
|
+
const o=t.ref(),{min:r,max:i,mousePressed:s,roundValue:u,onSliderMousedown:c,onSliderTouchstart:d,trackContainerRef:v,position:p,hasLabels:f,readonly:m}=gr({props:e,handleSliderMouseUp:e=>g.value=u(e),handleMouseMove:e=>g.value=u(e),getActiveThumb:()=>{var e
|
|
1029
|
+
return null==(e=o.value)?void 0:e.$el}}),g=il(e,"modelValue",void 0,(e=>{const t="string"==typeof e?parseFloat(e):null==e?r.value:e
|
|
1030
|
+
return u(t)})),{isFocused:h,focus:b,blur:y}=eo(e),V=t.computed((()=>p(g.value)))
|
|
1031
|
+
return()=>{const[l,a]=Un(e)
|
|
1032
|
+
return t.createVNode(Wn,t.mergeProps({class:["v-slider",{"v-slider--has-labels":!!n["tick-label"]||f.value,"v-slider--focused":h.value,"v-slider--pressed":s.value,"v-slider--disabled":e.disabled}]},l,{focused:h.value}),{...n,default:l=>{let{id:a}=l
|
|
1033
|
+
return t.createVNode("div",{class:"v-slider__container",onMousedown:m.value?void 0:c,onTouchstartPassive:m.value?void 0:d},[t.createVNode("input",{id:a.value,name:e.name||a.value,disabled:e.disabled,readonly:e.readonly,tabindex:"-1",value:g.value},null),t.createVNode(br,{ref:v,start:0,stop:V.value},{"tick-label":n["tick-label"]}),t.createVNode(hr,{ref:o,focused:h.value,min:r.value,max:i.value,modelValue:g.value,"onUpdate:modelValue":e=>g.value=e,position:V.value,elevation:e.elevation,onFocus:b,onBlur:y},{"thumb-label":n["thumb-label"]})])}})}}})
|
|
1034
|
+
var Vr
|
|
1035
|
+
function Sr(e,t){return t.every((t=>e.hasOwnProperty(t)))}function wr(e){var t
|
|
1009
1036
|
if(!e)return null
|
|
1010
1037
|
let l=null
|
|
1011
|
-
if("string"==typeof e){l=
|
|
1038
|
+
if("string"==typeof e){l=oe(function(e){return e.startsWith("#")&&(e=e.slice(1)),3!==(e=e.replace(/([^0-9a-f])/gi,"F")).length&&4!==e.length||(e=e.split("").map((e=>e+e)).join("")),`#${e=6===e.length?$(e,8,"F"):$($(e,6),8,"F")}`.toUpperCase().substr(0,9)}(e))}return"object"==typeof e&&(Sr(e,["r","g","b"])?l=te(e):Sr(e,["h","s","l"])?l=ae(e):Sr(e,["h","s","v"])&&(l=e)),null!=l?{...l,a:null!=(t=l.a)?t:1}:null}const xr={h:0,s:0,v:1,a:1},Cr={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:e=>Math.round(e.r),getColor:(e,t)=>({...e,r:Number(t)})},{label:"G",max:255,step:1,getValue:e=>Math.round(e.g),getColor:(e,t)=>({...e,g:Number(t)})},{label:"B",max:255,step:1,getValue:e=>Math.round(e.b),getColor:(e,t)=>({...e,b:Number(t)})},{label:"A",max:1,step:.01,getValue:e=>Math.round(100*e.a)/100,getColor:(e,t)=>({...e,a:Number(t)})}],to:ee,from:te},kr={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:e=>Math.round(e.h),getColor:(e,t)=>({...e,h:Number(t)})},{label:"S",max:1,step:.01,getValue:e=>Math.round(100*e.s)/100,getColor:(e,t)=>({...e,s:Number(t)})},{label:"L",max:1,step:.01,getValue:e=>Math.round(100*e.l)/100,getColor:(e,t)=>({...e,l:Number(t)})},{label:"A",max:1,step:.01,getValue:e=>Math.round(100*e.a)/100,getColor:(e,t)=>({...e,a:Number(t)})}],to:le,from:ae},Nr={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:e=>e,getColor:(e,t)=>t}],to:re,from:oe},_r={rgb:{...Cr,inputs:null==(Vr=Cr.inputs)?void 0:Vr.slice(0,3)},rgba:Cr,hsl:{...kr,inputs:kr.inputs.slice(0,3)},hsla:kr,hex:{...Nr,inputs:[{label:"HEX",getValue:e=>e.slice(0,7),getColor:(e,t)=>t}]},hexa:Nr},Br=he({name:"VColorPickerPreview",props:{color:{type:Object},disabled:Boolean,hideAlpha:Boolean},emits:{"update:color":e=>!0},setup(e,l){let{emit:a}=l
|
|
1012
1039
|
return()=>{var l,n,o
|
|
1013
|
-
return t.createVNode("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":e.hideAlpha}]},[t.createVNode("div",{class:"v-color-picker-preview__dot"},[t.createVNode("div",{style:{background:
|
|
1014
|
-
return a("update:color",{...null!=(l=e.color)?l:
|
|
1015
|
-
return a("update:color",{...null!=(l=e.color)?l:
|
|
1040
|
+
return t.createVNode("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":e.hideAlpha}]},[t.createVNode("div",{class:"v-color-picker-preview__dot"},[t.createVNode("div",{style:{background:ne(null!=(l=e.color)?l:xr)}},null)]),t.createVNode("div",{class:"v-color-picker-preview__sliders"},[t.createVNode(yr,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:null==(n=e.color)?void 0:n.h,"onUpdate:modelValue":t=>{var l
|
|
1041
|
+
return a("update:color",{...null!=(l=e.color)?l:xr,h:t})},step:0,min:0,max:360,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!e.hideAlpha&&t.createVNode(yr,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:null==(o=e.color)?void 0:o.a,"onUpdate:modelValue":t=>{var l
|
|
1042
|
+
return a("update:color",{...null!=(l=e.color)?l:xr,a:t})},step:0,min:0,max:1,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}}}),Ir=he({name:"VColorPickerCanvas",props:{color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300}},emits:{"update:color":e=>!0,"update:position":e=>!0},setup(e,l){let{emit:a}=l
|
|
1016
1043
|
const n=t.ref(!1),o=t.ref(!1),r=t.ref({x:0,y:0}),i=t.computed((()=>{const{x:t,y:l}=r.value,a=parseInt(e.dotSize,10)/2
|
|
1017
|
-
return{width:
|
|
1044
|
+
return{width:S(e.dotSize),height:S(e.dotSize),transform:`translate(${S(t-a)}, ${S(l-a)})`}})),s=t.ref()
|
|
1018
1045
|
function u(e,t,l){const{left:a,top:n,width:o,height:i}=l
|
|
1019
|
-
r.value={x:
|
|
1046
|
+
r.value={x:I(e-a,0,o),y:I(t-n,0,i)}}function c(t){!e.disabled&&s.value&&u(t.clientX,t.clientY,s.value.getBoundingClientRect())}function d(t){t.preventDefault(),e.disabled||(n.value=!0,window.addEventListener("mousemove",v),window.addEventListener("mouseup",p),window.addEventListener("touchmove",v),window.addEventListener("touchend",p))}function v(t){if(e.disabled||!s.value)return
|
|
1020
1047
|
n.value=!0
|
|
1021
1048
|
const l=function(e){return"touches"in e?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:e.clientX,clientY:e.clientY}}(t)
|
|
1022
1049
|
u(l.clientX,l.clientY,s.value.getBoundingClientRect())}function p(){window.removeEventListener("mousemove",v),window.removeEventListener("mouseup",p),window.removeEventListener("touchmove",v),window.removeEventListener("touchend",p)}function f(){var t,l
|
|
@@ -1030,10 +1057,10 @@ r.addColorStop(0,"hsla(0, 0%, 100%, 0)"),r.addColorStop(1,"hsla(0, 0%, 0%, 1)"),
|
|
|
1030
1057
|
if(o.value)return void(o.value=!1)
|
|
1031
1058
|
if(!s.value)return
|
|
1032
1059
|
const{width:u,height:c}=s.value.getBoundingClientRect(),{x:d,y:v}=r.value
|
|
1033
|
-
a("update:color",{h:null!=(t=null==(l=e.color)?void 0:l.h)?t:0,s:
|
|
1034
|
-
return null==(t=e.color)?void 0:t.h}),f,{immediate:!0}),t.watch((()=>e.color),(()=>{n.value?n.value=!1:e.color&&(o.value=!0,r.value={x:e.color.s*parseInt(e.width,10),y:(1-e.color.v)*parseInt(e.height,10)})}),{deep:!0,immediate:!0}),t.onMounted((()=>f())),()=>t.createVNode("div",{class:"v-color-picker-canvas",style:{width:
|
|
1035
|
-
return t.createVNode("div",{class:"v-color-picker-edit__input"},[t.createVNode("input",a,null),t.createVNode("span",null,[l])])},
|
|
1036
|
-
const n=t.computed((()=>e.modes.map((e=>({...
|
|
1060
|
+
a("update:color",{h:null!=(t=null==(l=e.color)?void 0:l.h)?t:0,s:I(d,0,u)/u,v:1-I(v,0,c)/c,a:null!=(n=null==(i=e.color)?void 0:i.a)?n:1})})),t.watch((()=>{var t
|
|
1061
|
+
return null==(t=e.color)?void 0:t.h}),f,{immediate:!0}),t.watch((()=>e.color),(()=>{n.value?n.value=!1:e.color&&(o.value=!0,r.value={x:e.color.s*parseInt(e.width,10),y:(1-e.color.v)*parseInt(e.height,10)})}),{deep:!0,immediate:!0}),t.onMounted((()=>f())),()=>t.createVNode("div",{class:"v-color-picker-canvas",style:{width:S(e.width),height:S(e.height)},onClick:c,onMousedown:d,onTouchstart:d},[t.createVNode("canvas",{ref:s,width:e.width,height:e.height},null),t.createVNode("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":e.disabled}],style:i.value},null)])}}),$r=e=>{let{label:l,...a}=e
|
|
1062
|
+
return t.createVNode("div",{class:"v-color-picker-edit__input"},[t.createVNode("input",a,null),t.createVNode("span",null,[l])])},Er=he({name:"VColorPickerEdit",props:{color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(_r).includes(e)},modes:{type:Array,default:()=>Object.keys(_r),validator:e=>Array.isArray(e)&&e.every((e=>Object.keys(_r).includes(e)))}},emits:{"update:color":e=>!0,"update:mode":e=>!0},setup(e,l){let{emit:a}=l
|
|
1063
|
+
const n=t.computed((()=>e.modes.map((e=>({..._r[e],name:e}))))),o=t.computed((()=>{var t
|
|
1037
1064
|
const l=n.value.find((t=>t.name===e.mode))
|
|
1038
1065
|
if(!l)return[]
|
|
1039
1066
|
const o=e.color?l.to(e.color):{}
|
|
@@ -1041,178 +1068,179 @@ return null==(t=l.inputs)?void 0:t.map((t=>{let{getValue:n,getColor:r,...i}=t
|
|
|
1041
1068
|
return{...l.inputProps,...i,disabled:e.disabled,value:n(o),onChange:e=>{const t=e.target
|
|
1042
1069
|
t&&a("update:color",l.from(r(o,t.value)))}}}))}))
|
|
1043
1070
|
return()=>{var l
|
|
1044
|
-
return t.createVNode("div",{class:"v-color-picker-edit"},[null==(l=o.value)?void 0:l.map((e=>t.createVNode(
|
|
1045
|
-
a("update:mode",n.value[(t+1)%n.value.length].name)}},null)])}}}),
|
|
1046
|
-
var
|
|
1047
|
-
const
|
|
1048
|
-
return l.base?[l.base,l.darken4,l.darken3,l.darken2,l.darken1,l.lighten1,l.lighten2,l.lighten3,l.lighten4,l.lighten5]:[l.black,l.white,l.transparent]}))}(
|
|
1049
|
-
return()=>t.createVNode("div",{class:"v-color-picker-swatches",style:{maxHeight:
|
|
1050
|
-
return t.createVNode("div",{class:"v-color-picker-swatches__color",onClick:()=>n&&a("update:color",n)},[t.createVNode("div",{style:{background:l}},[e.color&&
|
|
1051
|
-
return t?(a.value&&(t={...t,h:a.value.h},a.value=null),t):null}),(t=>t?function(e,t){if(null==t||"string"==typeof t){const t=
|
|
1071
|
+
return t.createVNode("div",{class:"v-color-picker-edit"},[null==(l=o.value)?void 0:l.map((e=>t.createVNode($r,e,null))),n.value.length>1&&t.createVNode(fa,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const t=n.value.findIndex((t=>t.name===e.mode))
|
|
1072
|
+
a("update:mode",n.value[(t+1)%n.value.length].name)}},null)])}}}),Ar=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),Rr=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),Lr=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),Tr=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),zr=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),Mr=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),Pr=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),Or=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),Fr=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),Dr=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),jr=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),Hr=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),Wr=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),Ur=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),Xr=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),Yr=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),Gr=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),qr=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),Kr=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),Zr=Object.freeze({black:"#000000",white:"#ffffff",transparent:"transparent"})
|
|
1073
|
+
var Jr=Object.freeze({red:Ar,pink:Rr,purple:Lr,deepPurple:Tr,indigo:zr,blue:Mr,lightBlue:Pr,cyan:Or,teal:Fr,green:Dr,lightGreen:jr,lime:Hr,yellow:Wr,amber:Ur,orange:Xr,deepOrange:Yr,brown:Gr,blueGrey:qr,grey:Kr,shades:Zr})
|
|
1074
|
+
const Qr=he({name:"VColorPickerSwatches",props:{swatches:{type:Array,default:()=>function(e){return Object.keys(e).map((t=>{const l=e[t]
|
|
1075
|
+
return l.base?[l.base,l.darken4,l.darken3,l.darken2,l.darken1,l.lighten1,l.lighten2,l.lighten3,l.lighten4,l.lighten5]:[l.black,l.white,l.transparent]}))}(Jr)},disabled:Boolean,color:Object,maxHeight:[Number,String]},emits:{"update:color":e=>!0},setup(e,l){let{emit:a}=l
|
|
1076
|
+
return()=>t.createVNode("div",{class:"v-color-picker-swatches",style:{maxHeight:S(e.maxHeight)}},[t.createVNode("div",null,[e.swatches.map((l=>t.createVNode("div",{class:"v-color-picker-swatches__swatch"},[l.map((l=>{const n=wr(l)
|
|
1077
|
+
return t.createVNode("div",{class:"v-color-picker-swatches__color",onClick:()=>n&&a("update:color",n)},[t.createVNode("div",{style:{background:l}},[e.color&&h(e.color,n)?t.createVNode(Ol,{size:"x-small",icon:"$success",color:de(l,"#FFFFFF")>2?"white":"black"},null):void 0])])}))])))])])}}),ei=he({name:"VColorPicker",inheritAttrs:!1,props:{canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(_r).includes(e)},modes:{type:Array,default:()=>Object.keys(_r),validator:e=>Array.isArray(e)&&e.every((e=>Object.keys(_r).includes(e)))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},width:{type:[Number,String],default:300},...Kt(),...Jt(),...je()},emits:{"update:modelValue":e=>!0,"update:mode":e=>!0},setup(e){const l=il(e,"mode"),a=t.ref(null),n=il(e,"modelValue",void 0,(e=>{let t=wr(e)
|
|
1078
|
+
return t?(a.value&&(t={...t,h:a.value.h},a.value=null),t):null}),(t=>t?function(e,t){if(null==t||"string"==typeof t){const t=re(e)
|
|
1052
1079
|
return 1===e.a?t.slice(0,7):t}if("object"==typeof t){let l
|
|
1053
|
-
return
|
|
1054
|
-
return l}return e}(l,!
|
|
1080
|
+
return Sr(t,["r","g","b"])?l=ee(e):Sr(t,["h","s","l"])?l=le(e):Sr(t,["h","s","v"])&&(l=e),function(e,t){if(t){const{a:t,...l}=e
|
|
1081
|
+
return l}return e}(l,!Sr(t,["a"]))}return e}(t,e.modelValue):null)),o=e=>{n.value=e,a.value=e}
|
|
1055
1082
|
return t.onMounted((()=>{e.modes.includes(l.value)||(l.value=e.modes[0])})),()=>{var a
|
|
1056
|
-
return t.createVNode(
|
|
1057
|
-
const
|
|
1058
|
-
const{t:o}=
|
|
1059
|
-
return null==(e=r.value)?void 0:e.color})),{items:p}=
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
t.
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
else{
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
return t.createVNode(
|
|
1081
|
-
return t.createVNode(
|
|
1082
|
-
return
|
|
1083
|
-
return
|
|
1084
|
-
return t.createVNode(
|
|
1085
|
-
|
|
1086
|
-
|
|
1083
|
+
return t.createVNode(vr,{rounded:e.rounded,elevation:e.elevation,theme:e.theme,class:["v-color-picker"],style:{"--v-color-picker-color-hsv":ne({...null!=(a=n.value)?a:xr,a:1})},maxWidth:e.width},{default:()=>[!e.hideCanvas&&t.createVNode(Ir,{color:n.value,"onUpdate:color":o,disabled:e.disabled,dotSize:e.dotSize,width:e.width,height:e.canvasHeight},null),(!e.hideSliders||!e.hideInputs)&&t.createVNode("div",{class:"v-color-picker__controls"},[!e.hideSliders&&t.createVNode(Br,{color:n.value,"onUpdate:color":o,hideAlpha:!l.value.endsWith("a"),disabled:e.disabled},null),!e.hideInputs&&t.createVNode(Er,{modes:e.modes,mode:l.value,"onUpdate:mode":e=>l.value=e,color:n.value,"onUpdate:color":o,disabled:e.disabled},null)]),e.showSwatches&&t.createVNode(Qr,{color:n.value,"onUpdate:color":o,maxHeight:e.swatchesMaxHeight,swatches:e.swatches,disabled:e.disabled},null)]})}}})
|
|
1084
|
+
const ti=be()({name:"VCombobox",props:{delimiters:Array,...Vo({filterKeys:["title"]}),...ho({hideNoData:!0,returnObject:!0}),...Ht({transition:!1})},emits:{"update:modelValue":e=>!0,"update:searchInput":e=>!0},setup(e,l){let{emit:a,slots:n}=l
|
|
1085
|
+
const{t:o}=co(),r=t.ref(),i=t.ref(!1),s=t.ref(!0),u=t.ref(!1),c=t.ref(-1),d=t.computed((()=>{var e
|
|
1086
|
+
return null==(e=r.value)?void 0:e.color})),{items:v,transformIn:p,transformOut:f}=Qa(e),{textColorClasses:m,textColorStyles:g}=tl(d),h=il(e,"modelValue",[],(e=>p(B(e||[]))),(t=>{const l=f(t)
|
|
1087
|
+
return e.multiple?l:l[0]})),b=t.ref(""),y=t.computed({get:()=>{if(e.multiple)return b.value
|
|
1088
|
+
const t=v.value.find((e=>{let{props:t}=e
|
|
1089
|
+
return t.value===h.value[0]}))
|
|
1090
|
+
return null==t?void 0:t.props.value},set:t=>{var l
|
|
1091
|
+
if(e.multiple?b.value=t:h.value=[Za(e,t)],t&&e.multiple&&null!=(l=e.delimiters)&&l.length){const l=t.split(new RegExp(`(?:${e.delimiters.join("|")})+`))
|
|
1092
|
+
l.length>1&&(l.forEach((t=>{(t=t.trim())&&$(Za(e,t))})),b.value="")}t||(c.value=-1),i.value&&(u.value=!0),s.value=!t}})
|
|
1093
|
+
t.watch(b,(e=>{a("update:searchInput",e)}))
|
|
1094
|
+
const{filteredItems:V}=So(e,v,t.computed((()=>s.value?void 0:y.value))),S=t.computed((()=>h.value.map((e=>v.value.find((t=>t.value===e.value))||e)))),w=t.computed((()=>S.value.map((e=>e.props.value)))),x=t.computed((()=>S.value[c.value]))
|
|
1095
|
+
function C(t){h.value=[],e.openOnClear&&(u.value=!0)}function k(){e.hideNoData&&!V.value.length||(u.value=!0)}function N(l){const a=r.value.selectionStart,n=w.value.length
|
|
1096
|
+
if(c.value>-1&&l.preventDefault(),["Enter","ArrowDown"].includes(l.key)&&(u.value=!0),["Escape"].includes(l.key)&&(u.value=!1),["Enter","Escape","Tab"].includes(l.key)&&(s.value=!0),e.multiple){if(["Backspace","Delete"].includes(l.key)){if(c.value<0)return void("Backspace"!==l.key||y.value||(c.value=n-1))
|
|
1097
|
+
$(x.value),t.nextTick((()=>!x.value&&(c.value=n-2)))}if("ArrowLeft"===l.key){if(c.value<0&&a>0)return
|
|
1098
|
+
const e=c.value>-1?c.value-1:n-1
|
|
1099
|
+
S.value[e]?c.value=e:(c.value=-1,r.value.setSelectionRange(y.value.length,y.value.length))}if("ArrowRight"===l.key){if(c.value<0)return
|
|
1100
|
+
const e=c.value+1
|
|
1101
|
+
S.value[e]?c.value=e:(c.value=-1,r.value.setSelectionRange(0,0))}"Enter"===l.key&&($(Za(e,y.value)),y.value="")}}function _(e){y.value=e.target.value}function I(){i.value&&(s.value=!0)}function $(l){if(e.multiple){const e=w.value.findIndex((e=>e===l.value))
|
|
1102
|
+
if(-1===e)h.value=[...h.value,l]
|
|
1103
|
+
else{const t=[...h.value]
|
|
1104
|
+
t.splice(e,1),h.value=t}y.value=""}else y.value=l.title,t.nextTick((()=>{u.value=!1,s.value=!0}))}return t.watch(V,(t=>{!t.length&&e.hideNoData&&(u.value=!1)})),t.watch(i,(t=>{if(t)c.value=-1
|
|
1105
|
+
else{if(u.value=!1,!e.multiple||!y.value)return
|
|
1106
|
+
h.value=[...h.value,Za(e,y.value)],y.value=""}})),Ae((()=>{const l=!(!e.chips&&!n.chip)
|
|
1107
|
+
return t.createVNode(io,{ref:r,modelValue:y.value,onInput:_,class:["v-combobox",{"v-combobox--active-menu":u.value,"v-combobox--chips":!!e.chips,"v-combobox--selecting-index":c.value>-1,["v-combobox--"+(e.multiple?"multiple":"single")]:!0}],appendInnerIcon:e.items.length?e.menuIcon:void 0,dirty:w.value.length>0,"onClick:clear":C,"onClick:control":k,"onClick:input":k,onFocus:()=>i.value=!0,onBlur:()=>i.value=!1,onKeydown:N},{...n,default:()=>{var a,r
|
|
1108
|
+
return t.createVNode(t.Fragment,null,[t.createVNode(zn,{modelValue:u.value,"onUpdate:modelValue":e=>u.value=e,activator:"parent",contentClass:"v-combobox__content",eager:e.eager,openOnClick:!1,transition:e.transition,onAfterLeave:I},{default:()=>[t.createVNode(ln,{selected:w.value,selectStrategy:e.multiple?"independent":"single-independent"},{default:()=>[!V.value.length&&!e.hideNoData&&(null!=(a=null==(r=n["no-data"])?void 0:r.call(n))?a:t.createVNode(Ya,{title:o(e.noDataText)},null)),V.value.map((e=>{let{item:l,matches:a}=e
|
|
1109
|
+
return t.createVNode(Ya,t.mergeProps(l.props,{onMousedown:e=>e.preventDefault(),onClick:()=>$(l)}),{title:()=>{var e,n
|
|
1110
|
+
return s.value?l.title:function(e,l,a){if(Array.isArray(l))throw new Error("Multiple matches is not implemented")
|
|
1111
|
+
return"number"==typeof l&&~l?t.createVNode(t.Fragment,null,[t.createVNode("span",{class:"v-combobox__unmask"},[e.substr(0,l)]),t.createVNode("span",{class:"v-combobox__mask"},[e.substr(l,a)]),t.createVNode("span",{class:"v-combobox__unmask"},[e.substr(l+a)])]):e}(l.title,a.title,null!=(e=null==(n=y.value)?void 0:n.length)?e:0)}})}))]})]}),S.value.map(((a,o)=>{const r={"onClick:close":function(e){e.stopPropagation(),e.preventDefault(),$(a)},modelValue:!0}
|
|
1112
|
+
return t.createVNode("div",{class:["v-combobox__selection",o===c.value&&["v-combobox__selection--selected",m.value]],style:o===c.value?g.value:{}},[l?t.createVNode(dt,{defaults:{VChip:{closable:e.closableChips,size:"small",text:a.props.title}}},{default:()=>[n.chip?n.chip({props:r,item:a.originalItem,index:o}):t.createVNode(ka,r,null)]}):n.selection?n.selection({item:a.originalItem,index:o}):t.createVNode("span",{class:"v-combobox__selection-text"},[a.props.title,e.multiple&&o<S.value.length-1&&t.createVNode("span",{class:"v-combobox__selection-comma"},[t.createTextVNode(",")])])])}))])}})})),al({isFocused:i,isPristine:s,menu:u,search:y,selectionIndex:c,filteredItems:V,select:$},r)}}),li=be()({name:"VDialog",inheritAttrs:!1,props:{fullscreen:Boolean,origin:{type:String,default:"center center"},retainFocus:{type:Boolean,default:!0},scrollable:Boolean,modelValue:Boolean,...Pt({width:"auto"}),...Ht({transition:{component:mt}})},emits:{"update:modelValue":e=>!0},setup(e,l){let{attrs:a,slots:n}=l
|
|
1113
|
+
const o=il(e,"modelValue"),{dimensionStyles:r}=Ot(e),{scopeId:i}=Tn(),s=t.ref()
|
|
1114
|
+
function u(e){var t,l
|
|
1087
1115
|
const a=e.relatedTarget,n=e.target
|
|
1088
|
-
if(a!==n&&null!=(t=
|
|
1116
|
+
if(a!==n&&null!=(t=s.value)&&t.contentEl&&null!=(l=s.value)&&l.isTop&&![document,s.value.contentEl].includes(n)&&!s.value.contentEl.contains(n)){const e=[...s.value.contentEl.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')].filter((e=>!e.hasAttribute("disabled")))
|
|
1089
1117
|
if(!e.length)return
|
|
1090
1118
|
const t=e[0],l=e[e.length-1]
|
|
1091
|
-
a===t?l.focus():t.focus()}}return
|
|
1092
|
-
|
|
1093
|
-
const{themeClasses:n}=
|
|
1094
|
-
return
|
|
1095
|
-
const n=t.inject(
|
|
1119
|
+
a===t?l.focus():t.focus()}}return _e&&t.watch((()=>o.value&&e.retainFocus),(e=>{e?document.addEventListener("focusin",u):document.removeEventListener("focusin",u)}),{immediate:!0}),t.watch(o,(async e=>{var l,a;(await t.nextTick(),e)?null==(l=s.value.contentEl)||l.focus({preventScroll:!0}):null==(a=s.value.activatorEl)||a.focus({preventScroll:!0})})),()=>t.createVNode(Ln,t.mergeProps({modelValue:o.value,"onUpdate:modelValue":e=>o.value=e,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable}],style:r.value,transition:e.transition,ref:s,"aria-role":"dialog","aria-modal":"true",activatorProps:{"aria-haspopup":"dialog","aria-expanded":String(o.value)},"z-index":2400},i,a),{default:n.default,activator:n.activator})}}),ai=Symbol.for("vuetify:v-expansion-panel"),ni=["default","accordion","inset","popout"],oi=he({name:"VExpansionPanels",props:{color:String,variant:{type:String,default:"default",validator:e=>ni.includes(e)},readonly:Boolean,...hl(),...Xt(),...je()},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
1120
|
+
Vl(e,ai)
|
|
1121
|
+
const{themeClasses:n}=Ue(e),o=t.computed((()=>e.variant&&`v-expansion-panels--variant-${e.variant}`))
|
|
1122
|
+
return me({VExpansionPanel:{color:t.toRef(e,"color")},VExpansionPanelTitle:{readonly:t.toRef(e,"readonly")}}),Ae((()=>t.createVNode(e.tag,{class:["v-expansion-panels",n.value,o.value]},a))),{}}}),ri=Ee({color:String,expandIcon:{type:Il,default:"$expand"},collapseIcon:{type:Il,default:"$collapse"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean}),ii=he({name:"VExpansionPanelTitle",directives:{Ripple:pa},props:{...ri()},setup(e,l){let{slots:a}=l
|
|
1123
|
+
const n=t.inject(ai)
|
|
1096
1124
|
if(!n)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel")
|
|
1097
|
-
const{backgroundColorClasses:o,backgroundColorStyles:r}=
|
|
1098
|
-
return
|
|
1099
|
-
return t.withDirectives(t.createVNode("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":n.isSelected.value},o.value],style:r.value,type:"button",tabindex:n.disabled.value?-1:void 0,disabled:n.disabled.value,"aria-expanded":n.isSelected.value,onClick:e.readonly?void 0:n.toggle},[t.createVNode("div",{class:"v-expansion-panel-title__overlay"},null),null==(l=a.default)?void 0:l.call(a,i.value),!e.hideActions&&t.createVNode("div",{class:"v-expansion-panel-title__icon"},[a.actions?a.actions(i.value):t.createVNode(
|
|
1100
|
-
const n=t.inject(
|
|
1125
|
+
const{backgroundColorClasses:o,backgroundColorStyles:r}=ll(e,"color"),i=t.computed((()=>({collapseIcon:e.collapseIcon,disabled:n.disabled.value,expanded:n.isSelected.value,expandIcon:e.expandIcon,readonly:e.readonly})))
|
|
1126
|
+
return Ae((()=>{var l
|
|
1127
|
+
return t.withDirectives(t.createVNode("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":n.isSelected.value},o.value],style:r.value,type:"button",tabindex:n.disabled.value?-1:void 0,disabled:n.disabled.value,"aria-expanded":n.isSelected.value,onClick:e.readonly?void 0:n.toggle},[t.createVNode("div",{class:"v-expansion-panel-title__overlay"},null),null==(l=a.default)?void 0:l.call(a,i.value),!e.hideActions&&t.createVNode("div",{class:"v-expansion-panel-title__icon"},[a.actions?a.actions(i.value):t.createVNode(Ol,{icon:n.isSelected.value?e.collapseIcon:e.expandIcon},null)])]),[[t.resolveDirective("ripple"),e.ripple]])})),{}}}),si=he({name:"VExpansionPanelText",props:{...kn()},setup(e,l){let{slots:a}=l
|
|
1128
|
+
const n=t.inject(ai)
|
|
1101
1129
|
if(!n)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel")
|
|
1102
|
-
const{hasContent:o,onAfterLeave:r}=
|
|
1103
|
-
return
|
|
1104
|
-
return t.createVNode(
|
|
1105
|
-
const n=
|
|
1130
|
+
const{hasContent:o,onAfterLeave:r}=Nn(e,n.isSelected)
|
|
1131
|
+
return Ae((()=>{var e
|
|
1132
|
+
return t.createVNode(zt,{onAfterLeave:r},{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-expansion-panel-text"},[a.default&&o.value&&t.createVNode("div",{class:"v-expansion-panel-text__wrapper"},[null==(e=a.default)?void 0:e.call(a)])]),[[t.vShow,n.isSelected.value]])]})})),{}}}),ui=he({name:"VExpansionPanel",props:{title:String,text:String,bgColor:String,...Kt(),...bl(),...kn(),...Jt(),...Xt(),...ri()},setup(e,l){let{slots:a}=l
|
|
1133
|
+
const n=yl(e,ai),{backgroundColorClasses:o,backgroundColorStyles:r}=ll(e,"bgColor"),{elevationClasses:i}=Zt(e),{roundedClasses:s}=Qt(e),u=t.computed((()=>(null==n?void 0:n.disabled.value)||e.disabled)),c=t.computed((()=>n.group.items.value.reduce(((e,t,l)=>(n.group.selected.value.includes(t.id)&&e.push(l),e)),[]))),d=t.computed((()=>{const e=n.group.items.value.findIndex((e=>e.id===n.id))
|
|
1106
1134
|
return!n.isSelected.value&&c.value.some((t=>t-e==1))})),v=t.computed((()=>{const e=n.group.items.value.findIndex((e=>e.id===n.id))
|
|
1107
1135
|
return!n.isSelected.value&&c.value.some((t=>t-e==-1))}))
|
|
1108
|
-
return t.provide(
|
|
1136
|
+
return t.provide(ai,n),Ae((()=>{var l
|
|
1109
1137
|
const c=!(!a.text&&!e.text),p=!(!a.title&&!e.title)
|
|
1110
|
-
return t.createVNode(e.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":n.isSelected.value,"v-expansion-panel--before-active":d.value,"v-expansion-panel--after-active":v.value,"v-expansion-panel--disabled":u.value},s.value,o.value],style:r.value,"aria-expanded":n.isSelected.value},{default:()=>[t.createVNode("div",{class:["v-expansion-panel__shadow",...i.value]},null),p&&t.createVNode(
|
|
1111
|
-
const{t:r}=
|
|
1138
|
+
return t.createVNode(e.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":n.isSelected.value,"v-expansion-panel--before-active":d.value,"v-expansion-panel--after-active":v.value,"v-expansion-panel--disabled":u.value},s.value,o.value],style:r.value,"aria-expanded":n.isSelected.value},{default:()=>[t.createVNode("div",{class:["v-expansion-panel__shadow",...i.value]},null),p&&t.createVNode(ii,{collapseIcon:e.collapseIcon,color:e.color,expandIcon:e.expandIcon,hideActions:e.hideActions,ripple:e.ripple},{default:()=>[a.title?a.title():e.title]}),c&&t.createVNode(si,{eager:e.eager},{default:()=>[a.text?a.text():e.text]}),null==(l=a.default)?void 0:l.call(a)]})})),{}}}),ci=he({name:"VFileInput",inheritAttrs:!1,props:{chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},multiple:Boolean,hint:String,persistentHint:Boolean,placeholder:String,showSize:{type:[Boolean,Number],default:!1,validator:e=>"boolean"==typeof e||[1e3,1024].includes(e)},...Hn(),prependIcon:{type:Il,default:"$file"},modelValue:{type:Array,default:()=>[],validator:e=>B(e).every((e=>null!=e&&"object"==typeof e))},...lo({clearable:!0})},emits:{"click:clear":e=>!0,"click:control":e=>!0,"update:modelValue":e=>!0},setup(e,l){let{attrs:a,emit:n,slots:o}=l
|
|
1139
|
+
const{t:r}=co(),i=il(e,"modelValue"),s=t.computed((()=>"boolean"!=typeof e.showSize?e.showSize:void 0)),u=t.computed((()=>{var e
|
|
1112
1140
|
return(null!=(e=i.value)?e:[]).reduce(((e,t)=>{let{size:l=0}=t
|
|
1113
|
-
return e+l}),0)})),c=t.computed((()=>
|
|
1141
|
+
return e+l}),0)})),c=t.computed((()=>E(u.value,s.value))),d=t.computed((()=>{var t
|
|
1114
1142
|
return(null!=(t=i.value)?t:[]).map((t=>{const{name:l="",size:a=0}=t
|
|
1115
|
-
return e.showSize?`${l} (${
|
|
1143
|
+
return e.showSize?`${l} (${E(a,s.value)})`:l}))})),v=t.computed((()=>{var t,l
|
|
1116
1144
|
const a=null!=(t=null==(l=i.value)?void 0:l.length)?t:0
|
|
1117
1145
|
return e.showSize?r(e.counterSizeString,a,c.value):r(e.counterString,a)})),p=t.ref(),f=t.ref(),m=t.ref(!1),g=t.ref(),h=t.computed((()=>e.messages.length?e.messages:e.persistentHint?e.hint:""))
|
|
1118
1146
|
function b(){var e
|
|
1119
1147
|
g.value!==document.activeElement&&(null==(e=g.value)||e.focus())
|
|
1120
1148
|
m.value||(m.value=!0)}function y(e){var t
|
|
1121
|
-
null==(t=g.value)||t.click(),n("click:control",e)}function V(e){e.stopPropagation(),b(),t.nextTick((()=>{i.value=[],null!=g&&g.value&&(g.value.value=""),n("click:clear",e)}))}return
|
|
1122
|
-
return t.createVNode(
|
|
1123
|
-
return t.createVNode(
|
|
1149
|
+
null==(t=g.value)||t.click(),n("click:control",e)}function V(e){e.stopPropagation(),b(),t.nextTick((()=>{i.value=[],null!=g&&g.value&&(g.value.value=""),n("click:clear",e)}))}return Ae((()=>{const l=!(!o.counter&&!e.counter),[n,r]=_(a),[{modelValue:s,...S}]=Un(e),[w]=no(e)
|
|
1150
|
+
return t.createVNode(Wn,t.mergeProps({ref:p,modelValue:i.value,"onUpdate:modelValue":e=>i.value=e,class:"v-file-input"},n,S,{"onClick:prepend":y,messages:h.value}),{...o,default:l=>{let{isDisabled:a,isDirty:n,isReadonly:s,isValid:v}=l
|
|
1151
|
+
return t.createVNode(ao,t.mergeProps({ref:f,"prepend-icon":e.prependIcon,"onClick:control":y,"onClick:clear":V},w,{active:n.value||m.value,dirty:n.value,focused:m.value,error:!1===v.value}),{...o,default:l=>{let{props:{class:n,...v}}=l
|
|
1124
1152
|
return t.createVNode(t.Fragment,null,[t.createVNode("input",t.mergeProps({ref:g,type:"file",readonly:s.value,disabled:a.value,multiple:e.multiple,name:e.name,onClick:e=>{e.stopPropagation(),b()},onChange:e=>{var t
|
|
1125
1153
|
if(!e.target)return
|
|
1126
1154
|
const l=e.target
|
|
1127
|
-
i.value=[...null!=(t=l.files)?t:[]]},onFocus:b,onBlur:()=>m.value=!1},v,r),null),i.value.length>0&&t.createVNode("div",{class:n},[o.selection?o.selection({fileNames:d.value,totalBytes:u.value,totalBytesReadable:c.value}):e.chips?d.value.map((l=>t.createVNode(
|
|
1128
|
-
const{themeClasses:n}=
|
|
1129
|
-
return()=>t.createVNode(e.tag,{ref:d,class:["v-footer",n.value,o.value,i.value,s.value,u.value],style:[r,e.app?p.value:void 0]},a)}}),
|
|
1130
|
-
const
|
|
1131
|
-
return t.watch(
|
|
1132
|
-
|
|
1155
|
+
i.value=[...null!=(t=l.files)?t:[]]},onFocus:b,onBlur:()=>m.value=!1},v,r),null),i.value.length>0&&t.createVNode("div",{class:n},[o.selection?o.selection({fileNames:d.value,totalBytes:u.value,totalBytesReadable:c.value}):e.chips?d.value.map((l=>t.createVNode(ka,{key:l,size:"small",color:e.color},{default:()=>[l]}))):d.value.join(", ")])])}})},details:l?()=>t.createVNode(t.Fragment,null,[t.createVNode("span",null,null),t.createVNode(oo,{active:!!i.value.length,value:v.value},o.counter)]):void 0})})),al({},p,f,g)}}),di=he({name:"VFooter",props:{app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...Gt(),...Kt(),...et(),...Jt(),...Xt({tag:"footer"}),...je()},setup(e,l){let{slots:a}=l
|
|
1156
|
+
const{themeClasses:n}=Ue(e),{backgroundColorClasses:o,backgroundColorStyles:r}=ll(t.toRef(e,"color")),{borderClasses:i}=qt(e),{elevationClasses:s}=Zt(e),{roundedClasses:u}=Qt(e),c=t.ref(32),{resizeRef:d}=qe((e=>{e.length&&(c.value=e[0].target.clientHeight)})),v=t.computed((()=>"auto"===e.height?c.value:parseInt(e.height,10))),{layoutItemStyles:p}=lt({id:e.name,order:t.computed((()=>parseInt(e.order,10))),position:t.computed((()=>"bottom")),layoutSize:v,elementSize:t.computed((()=>"auto"===e.height?void 0:v.value)),active:t.computed((()=>e.app)),absolute:t.toRef(e,"absolute")})
|
|
1157
|
+
return()=>t.createVNode(e.tag,{ref:d,class:["v-footer",n.value,o.value,i.value,s.value,u.value],style:[r,e.app?p.value:void 0]},a)}}),vi=he({name:"VForm",props:{...On()},emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,l){let{slots:a,emit:n}=l
|
|
1158
|
+
const o=function(e){const l=il(e,"modelValue"),a=t.computed((()=>e.disabled)),n=t.computed((()=>e.readonly)),o=t.ref(!1),r=t.ref([]),i=t.ref([])
|
|
1159
|
+
return t.watch(r,(()=>{let e=null
|
|
1160
|
+
r.value.some((e=>!1===e.isValid))?e=!1:r.value.every((e=>!0===e.isValid))&&(e=!0),l.value=e}),{deep:!0}),t.provide(Pn,{register:(e,t,l,a,n)=>{r.value.some((t=>t.id===e))&&s(`Duplicate input name "${e}"`),r.value.push({id:e,validate:t,reset:l,resetValidation:a,isValid:n})},unregister:e=>{r.value=r.value.filter((t=>t.id!==e))},isDisabled:a,isReadonly:n,isValidating:o,items:r}),{errorMessages:i,isDisabled:a,isReadonly:n,isValidating:o,items:r,validate:async function(){const t=[]
|
|
1133
1161
|
let l=!0
|
|
1134
|
-
|
|
1135
|
-
for(const a of
|
|
1136
|
-
if(n.length>0&&(l=!1,t.push({id:a.id,errorMessages:n})),!l&&e.fastFail)break}return
|
|
1137
|
-
function
|
|
1162
|
+
i.value=[],o.value=!0
|
|
1163
|
+
for(const a of r.value){const n=await a.validate()
|
|
1164
|
+
if(n.length>0&&(l=!1,t.push({id:a.id,errorMessages:n})),!l&&e.fastFail)break}return i.value=t,o.value=!1,{valid:l,errorMessages:i.value}},reset:function(){r.value.forEach((e=>e.reset())),l.value=null},resetValidation:function(){r.value.forEach((e=>e.resetValidation())),i.value=[],l.value=null}}}(e),r=t.ref()
|
|
1165
|
+
function i(e){e.preventDefault(),o.reset()}function u(e){const t=e,l=o.validate()
|
|
1138
1166
|
t.then=l.then.bind(l),t.catch=l.catch.bind(l),t.finally=l.finally.bind(l),n("submit",t),t.defaultPrevented||l.then((e=>{let{valid:t}=e
|
|
1139
1167
|
var l
|
|
1140
|
-
t&&(null==(l=
|
|
1141
|
-
return t.createVNode("form",{ref:
|
|
1142
|
-
return()=>t.createVNode(e.tag,{class:["v-container",{"v-container--fluid":e.fluid}]},a)}}),
|
|
1143
|
-
function
|
|
1144
|
-
if(null!=l&&!1!==l){if(t){a+=`-${t.replace(e,"")}`}return"col"===e&&(a="v-"+a),"col"!==e||""!==l&&!0!==l?(a+=`-${l}`,a.toLowerCase()):a.toLowerCase()}}const
|
|
1168
|
+
t&&(null==(l=r.value)||l.submit())})),t.preventDefault()}return Ae((()=>{var e
|
|
1169
|
+
return t.createVNode("form",{ref:r,class:"v-form",novalidate:!0,onReset:i,onSubmit:u},[null==(e=a.default)?void 0:e.call(a,o)])})),al(o,r)}}),pi=he({name:"VContainer",props:{fluid:{type:Boolean,default:!1},...Xt()},setup(e,l){let{slots:a}=l
|
|
1170
|
+
return()=>t.createVNode(e.tag,{class:["v-container",{"v-container--fluid":e.fluid}]},a)}}),fi=["sm","md","lg","xl","xxl"],mi=fi.reduce(((e,t)=>(e[t]={type:[Boolean,String,Number],default:!1},e)),{}),gi=fi.reduce(((e,l)=>(e["offset"+t.capitalize(l)]={type:[String,Number],default:null},e)),{}),hi=fi.reduce(((e,l)=>(e["order"+t.capitalize(l)]={type:[String,Number],default:null},e)),{}),bi={col:Object.keys(mi),offset:Object.keys(gi),order:Object.keys(hi)}
|
|
1171
|
+
function yi(e,t,l){let a=e
|
|
1172
|
+
if(null!=l&&!1!==l){if(t){a+=`-${t.replace(e,"")}`}return"col"===e&&(a="v-"+a),"col"!==e||""!==l&&!0!==l?(a+=`-${l}`,a.toLowerCase()):a.toLowerCase()}}const Vi=he({name:"VCol",props:{cols:{type:[Boolean,String,Number],default:!1},...mi,offset:{type:[String,Number],default:null},...gi,order:{type:[String,Number],default:null},...hi,alignSelf:{type:String,default:null,validator:e=>["auto","start","end","center","baseline","stretch"].includes(e)},...Xt()},setup(e,l){let{slots:a}=l
|
|
1145
1173
|
const n=t.computed((()=>{const t=[]
|
|
1146
1174
|
let l
|
|
1147
|
-
for(l in
|
|
1175
|
+
for(l in bi)bi[l].forEach((a=>{const n=e[a],o=yi(l,a,n)
|
|
1148
1176
|
o&&t.push(o)}))
|
|
1149
1177
|
const a=t.some((e=>e.startsWith("v-col-")))
|
|
1150
1178
|
return t.push({"v-col":!a||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),t}))
|
|
1151
1179
|
return()=>{var l
|
|
1152
|
-
return t.h(e.tag,{class:n.value},null==(l=a.default)?void 0:l.call(a))}}}),
|
|
1153
|
-
function
|
|
1154
|
-
function
|
|
1155
|
-
if(null!=l){if(t){a+=`-${t.replace(e,"")}`}return a+=`-${l}`,a.toLowerCase()}}const
|
|
1180
|
+
return t.h(e.tag,{class:n.value},null==(l=a.default)?void 0:l.call(a))}}}),Si=["sm","md","lg","xl","xxl"],wi=["start","end","center"]
|
|
1181
|
+
function xi(e,l){return Si.reduce(((a,n)=>(a[e+t.capitalize(n)]=l(),a)),{})}const Ci=e=>[...wi,"baseline","stretch"].includes(e),ki=xi("align",(()=>({type:String,default:null,validator:Ci}))),Ni=e=>[...wi,"space-between","space-around"].includes(e),_i=xi("justify",(()=>({type:String,default:null,validator:Ni}))),Bi=e=>[...wi,"space-between","space-around","stretch"].includes(e),Ii=xi("alignContent",(()=>({type:String,default:null,validator:Bi}))),$i={align:Object.keys(ki),justify:Object.keys(_i),alignContent:Object.keys(Ii)},Ei={align:"align",justify:"justify",alignContent:"align-content"}
|
|
1182
|
+
function Ai(e,t,l){let a=Ei[e]
|
|
1183
|
+
if(null!=l){if(t){a+=`-${t.replace(e,"")}`}return a+=`-${l}`,a.toLowerCase()}}const Ri=he({name:"VRow",props:{dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:Ci},...ki,justify:{type:String,default:null,validator:Ni},..._i,alignContent:{type:String,default:null,validator:Bi},...Ii,...Xt()},setup(e,l){let{slots:a}=l
|
|
1156
1184
|
const n=t.computed((()=>{const t=[]
|
|
1157
1185
|
let l
|
|
1158
|
-
for(l in
|
|
1186
|
+
for(l in $i)$i[l].forEach((a=>{const n=e[a],o=Ai(l,a,n)
|
|
1159
1187
|
o&&t.push(o)}))
|
|
1160
1188
|
return t.push({"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),t}))
|
|
1161
1189
|
return()=>{var l
|
|
1162
|
-
return t.h(e.tag,{class:["v-row",n.value]},null==(l=a.default)?void 0:l.call(a))}}}),
|
|
1163
|
-
const a=
|
|
1190
|
+
return t.h(e.tag,{class:["v-row",n.value]},null==(l=a.default)?void 0:l.call(a))}}}),Li=ye("flex-grow-1","div","VSpacer"),Ti=he({name:"VHover",props:{disabled:Boolean,modelValue:{type:Boolean,default:void 0},...rn()},emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:l}=t
|
|
1191
|
+
const a=il(e,"modelValue"),{runOpenDelay:n,runCloseDelay:o}=sn(e,(t=>!e.disabled&&(a.value=t)))
|
|
1164
1192
|
return()=>{var e
|
|
1165
|
-
return null==(e=l.default)?void 0:e.call(l,{isHovering:a.value,props:{onMouseenter:n,onMouseleave:o}})}}}),
|
|
1166
|
-
const{themeClasses:n}=
|
|
1193
|
+
return null==(e=l.default)?void 0:e.call(l,{isHovering:a.value,props:{onMouseenter:n,onMouseleave:o}})}}}),zi=Symbol.for("vuetify:v-item-group"),Mi=he({name:"VItemGroup",props:{...hl({selectedClass:"v-item--selected"}),...Xt(),...je()},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
1194
|
+
const{themeClasses:n}=Ue(e),{isSelected:o,select:r,next:i,prev:s,selected:u}=Vl(e,zi)
|
|
1167
1195
|
return()=>{var l
|
|
1168
|
-
return t.createVNode(e.tag,{class:["v-item-group",n.value]},{default:()=>[null==(l=a.default)?void 0:l.call(a,{isSelected:o,select:r,next:i,prev:s,selected:u.value})]})}}}),
|
|
1169
|
-
const{isSelected:a,select:n,toggle:o,selectedClass:r,value:i,disabled:s}=
|
|
1196
|
+
return t.createVNode(e.tag,{class:["v-item-group",n.value]},{default:()=>[null==(l=a.default)?void 0:l.call(a,{isSelected:o,select:r,next:i,prev:s,selected:u.value})]})}}}),Pi=be()({name:"VItem",props:bl(),setup(e,t){let{slots:l}=t
|
|
1197
|
+
const{isSelected:a,select:n,toggle:o,selectedClass:r,value:i,disabled:s}=yl(e,zi)
|
|
1170
1198
|
return()=>{var e
|
|
1171
|
-
return null==(e=l.default)?void 0:e.call(l,{isSelected:a.value,selectedClass:r.value,select:n,toggle:o,value:i.value,disabled:s.value})}}}),
|
|
1172
|
-
const{layoutClasses:n,layoutStyles:o,getLayoutItem:r,items:i,layoutRef:s}=
|
|
1173
|
-
return
|
|
1174
|
-
return t.createVNode("div",{ref:s,class:n.value,style:o.value},[null==(e=a.default)?void 0:e.call(a)])})),{getLayoutItem:r,items:i}}})
|
|
1175
|
-
const{layoutItemStyles:n}=
|
|
1199
|
+
return null==(e=l.default)?void 0:e.call(l,{isSelected:a.value,selectedClass:r.value,select:n,toggle:o,value:i.value,disabled:s.value})}}}),Oi=ye("v-kbd"),Fi=he({name:"VLayout",props:Qe(),setup(e,l){let{slots:a}=l
|
|
1200
|
+
const{layoutClasses:n,layoutStyles:o,getLayoutItem:r,items:i,layoutRef:s}=at(e)
|
|
1201
|
+
return Ae((()=>{var e
|
|
1202
|
+
return t.createVNode("div",{ref:s,class:n.value,style:o.value},[null==(e=a.default)?void 0:e.call(a)])})),{getLayoutItem:r,items:i}}}),Di=he({name:"VLayoutItem",props:{position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...et()},setup(e,l){let{slots:a}=l
|
|
1203
|
+
const{layoutItemStyles:n}=lt({id:e.name,order:t.computed((()=>parseInt(e.order,10))),position:t.toRef(e,"position"),elementSize:t.toRef(e,"size"),layoutSize:t.toRef(e,"size"),active:t.toRef(e,"modelValue"),absolute:t.toRef(e,"absolute")})
|
|
1176
1204
|
return()=>{var e
|
|
1177
|
-
return t.createVNode("div",{class:["v-layout-item"],style:n.value},[null==(e=a.default)?void 0:e.call(a)])}}}),
|
|
1178
|
-
const{dimensionStyles:n}=
|
|
1205
|
+
return t.createVNode("div",{class:["v-layout-item"],style:n.value},[null==(e=a.default)?void 0:e.call(a)])}}}),ji=he({name:"VLazy",directives:{intersect:jt},props:{modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...Pt(),...Xt(),...Ht({transition:"fade-transition"})},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
1206
|
+
const{dimensionStyles:n}=Ot(e),o=il(e,"modelValue")
|
|
1179
1207
|
function r(e){o.value||(o.value=e)}return()=>{var l
|
|
1180
|
-
return t.withDirectives(t.createVNode(e.tag,{class:"v-lazy",style:n.value},{default:()=>[o.value&&t.createVNode(
|
|
1181
|
-
const n=function(e){const l=t.inject(
|
|
1208
|
+
return t.withDirectives(t.createVNode(e.tag,{class:"v-lazy",style:n.value},{default:()=>[o.value&&t.createVNode(Wt,{transition:e.transition},{default:()=>[null==(l=a.default)?void 0:l.call(a)]})]}),[[t.resolveDirective("intersect"),r,e.options]])}}}),Hi=he({name:"VLocaleProvider",props:{locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0}},setup(e,l){let{slots:a}=l
|
|
1209
|
+
const n=function(e){const l=t.inject(so)
|
|
1182
1210
|
if(!l)throw new Error("[Vuetify] Could not find injected locale adapter")
|
|
1183
|
-
return l.createScope(e)}(e),{rtlClasses:o}=
|
|
1211
|
+
return l.createScope(e)}(e),{rtlClasses:o}=st(e,n)
|
|
1184
1212
|
return()=>{var e
|
|
1185
1213
|
return t.createVNode("div",{class:["v-locale-provider",o.value]},[null==(e=a.default)?void 0:e.call(a)])}}})
|
|
1186
|
-
const
|
|
1187
|
-
const{mainStyles:n}=
|
|
1214
|
+
const Wi=he({name:"VMain",props:Xt({tag:"main"}),setup(e,l){let{slots:a}=l
|
|
1215
|
+
const{mainStyles:n}=tt(),{ssrBootStyles:o}=function(){const e=t.ref(!1)
|
|
1188
1216
|
return t.onMounted((()=>{window.requestAnimationFrame((()=>{e.value=!0}))})),{ssrBootStyles:t.computed((()=>e.value?void 0:{transition:"none !important"}))}}()
|
|
1189
1217
|
return()=>{var l
|
|
1190
1218
|
return t.createVNode(e.tag,{class:"v-main",style:[n.value,o.value]},{default:()=>[t.createVNode("div",{class:"v-main__wrap"},[null==(l=a.default)?void 0:l.call(a)])]})}}})
|
|
1191
|
-
function
|
|
1219
|
+
function Ui(e){return(e<0?-1:1)*Math.sqrt(Math.abs(e))*1.41421356237}function Xi(e){if(e.length<2)return 0
|
|
1192
1220
|
if(2===e.length)return e[1].t===e[0].t?0:(e[1].d-e[0].d)/(e[1].t-e[0].t)
|
|
1193
1221
|
let t=0
|
|
1194
1222
|
for(let l=e.length-1;l>0;l--){if(e[l].t===e[l-1].t)continue
|
|
1195
|
-
const a=
|
|
1196
|
-
t+=(n-a)*Math.abs(n),l===e.length-1&&(t*=.5)}return 1e3*
|
|
1197
|
-
return{addMovement:function(t){Array.from(t.changedTouches).forEach((l=>{var a;(null!=(a=e[l.identifier])?a:e[l.identifier]=new
|
|
1223
|
+
const a=Ui(t),n=(e[l].d-e[l-1].d)/(e[l].t-e[l-1].t)
|
|
1224
|
+
t+=(n-a)*Math.abs(n),l===e.length-1&&(t*=.5)}return 1e3*Ui(t)}function Yi(){const e={}
|
|
1225
|
+
return{addMovement:function(t){Array.from(t.changedTouches).forEach((l=>{var a;(null!=(a=e[l.identifier])?a:e[l.identifier]=new O(20)).push([t.timeStamp,l])}))},endTouch:function(t){Array.from(t.changedTouches).forEach((t=>{delete e[t.identifier]}))},getVelocity:function(t){var l
|
|
1198
1226
|
const a=null==(l=e[t])?void 0:l.values().reverse()
|
|
1199
1227
|
if(!a)throw new Error(`No samples for touch id ${t}`)
|
|
1200
1228
|
const n=a[0],o=[],r=[]
|
|
1201
1229
|
for(const e of a){if(n[0]-e[0]>100)break
|
|
1202
|
-
o.push({t:e[0],d:e[1].clientX}),r.push({t:e[0],d:e[1].clientY})}return{x:
|
|
1203
|
-
return l>a&&e>=0?"right":l>a&&e<=0?"left":a>l&&t>=0?"down":a>l&&t<=0?"up":function(){throw new Error}()}}}}}function
|
|
1204
|
-
const{themeClasses:o}=
|
|
1230
|
+
o.push({t:e[0],d:e[1].clientX}),r.push({t:e[0],d:e[1].clientY})}return{x:Xi(o),y:Xi(r),get direction(){const{x:e,y:t}=this,[l,a]=[Math.abs(e),Math.abs(t)]
|
|
1231
|
+
return l>a&&e>=0?"right":l>a&&e<=0?"left":a>l&&t>=0?"down":a>l&&t<=0?"up":function(){throw new Error}()}}}}}function Gi(){throw new Error}const qi=he({name:"VNavigationDrawer",props:{color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:Boolean,railWidth:{type:[Number,String],default:72},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"left",validator:e=>["left","right","bottom"].includes(e)},...Gt(),...Kt(),...et(),...Jt(),...Xt({tag:"nav"}),...je()},emits:{"update:modelValue":e=>!0},setup(e,l){let{attrs:a,slots:n}=l
|
|
1232
|
+
const{themeClasses:o}=Ue(e),{borderClasses:r}=qt(e),{backgroundColorClasses:i,backgroundColorStyles:s}=ll(t.toRef(e,"color")),{elevationClasses:u}=Zt(e),{mobile:c}=Ro(),{roundedClasses:d}=Qt(e),v=Xl(),p=il(e,"modelValue",null,(e=>!!e)),f=t.ref(!1),m=t.computed((()=>e.rail&&e.expandOnHover&&f.value?Number(e.width):Number(e.rail?e.railWidth:e.width))),g=t.computed((()=>!e.permanent&&(c.value||e.temporary)))
|
|
1205
1233
|
e.disableResizeWatcher||t.watch(g,(t=>!e.permanent&&(p.value=!t))),!e.disableRouteWatcher&&v&&t.watch(v.currentRoute,(()=>g.value&&(p.value=!1))),t.watch((()=>e.permanent),(e=>{e&&(p.value=!0)})),t.onBeforeMount((()=>{null!=e.modelValue||g.value||(p.value=e.permanent||!c.value)}))
|
|
1206
|
-
const h=t.ref(),{isDragging:
|
|
1234
|
+
const h=t.ref(),{isDragging:b,dragProgress:y,dragStyles:V}=function(e){let{isActive:l,isTemporary:a,width:n,touchless:o,position:r}=e
|
|
1207
1235
|
t.onMounted((()=>{window.addEventListener("touchstart",b,{passive:!0}),window.addEventListener("touchmove",y,{passive:!1}),window.addEventListener("touchend",V,{passive:!0})})),t.onBeforeUnmount((()=>{window.removeEventListener("touchstart",b),window.removeEventListener("touchmove",y),window.removeEventListener("touchend",V)}))
|
|
1208
|
-
const i=t.computed((()=>"bottom"!==r.value)),{addMovement:s,endTouch:u,getVelocity:c}=
|
|
1236
|
+
const i=t.computed((()=>"bottom"!==r.value)),{addMovement:s,endTouch:u,getVelocity:c}=Yi()
|
|
1209
1237
|
let d=!1
|
|
1210
1238
|
const v=t.ref(!1),p=t.ref(0),f=t.ref(0)
|
|
1211
1239
|
let m
|
|
1212
|
-
function g(e,t){return("left"===r.value?e:"right"===r.value?document.documentElement.clientWidth-e:"bottom"===r.value?document.documentElement.clientHeight-e:
|
|
1213
|
-
const l="left"===r.value?(e-f.value)/n.value:"right"===r.value?(document.documentElement.clientWidth-e-f.value)/n.value:"bottom"===r.value?(document.documentElement.clientHeight-e-f.value)/n.value:
|
|
1240
|
+
function g(e,t){return("left"===r.value?e:"right"===r.value?document.documentElement.clientWidth-e:"bottom"===r.value?document.documentElement.clientHeight-e:Gi())-(t?n.value:0)}function h(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]
|
|
1241
|
+
const l="left"===r.value?(e-f.value)/n.value:"right"===r.value?(document.documentElement.clientWidth-e-f.value)/n.value:"bottom"===r.value?(document.documentElement.clientHeight-e-f.value)/n.value:Gi()
|
|
1214
1242
|
return t?Math.max(0,Math.min(1,l)):l}function b(e){if(o.value)return
|
|
1215
|
-
const t=e.changedTouches[0].clientX,c=e.changedTouches[0].clientY,v="left"===r.value?t<25:"right"===r.value?t>document.documentElement.clientWidth-25:"bottom"===r.value?c>document.documentElement.clientHeight-25:
|
|
1243
|
+
const t=e.changedTouches[0].clientX,c=e.changedTouches[0].clientY,v="left"===r.value?t<25:"right"===r.value?t>document.documentElement.clientWidth-25:"bottom"===r.value?c>document.documentElement.clientHeight-25:Gi(),b=l.value&&("left"===r.value?t<n.value:"right"===r.value?t>document.documentElement.clientWidth-n.value:"bottom"===r.value?c>document.documentElement.clientHeight-n.value:Gi());(v||b||l.value&&a.value)&&(d=!0,m=[t,c],f.value=g(i.value?t:c,l.value),p.value=h(i.value?t:c),u(e),s(e))}function y(e){const t=e.changedTouches[0].clientX,l=e.changedTouches[0].clientY
|
|
1216
1244
|
if(d){if(!e.cancelable)return void(d=!1)
|
|
1217
1245
|
const a=Math.abs(t-m[0]),n=Math.abs(l-m[1]);(i.value?a>n&&a>3:n>a&&n>3)?(v.value=!0,d=!1):(i.value?n:a)>3&&(d=!1)}if(!v.value)return
|
|
1218
1246
|
e.preventDefault(),s(e)
|
|
@@ -1220,51 +1248,51 @@ const a=h(i.value?t:l,!1)
|
|
|
1220
1248
|
p.value=Math.max(0,Math.min(1,a)),a>1?f.value=g(i.value?t:l,!0):a<0&&(f.value=g(i.value?t:l,!1))}function V(e){if(d=!1,!v.value)return
|
|
1221
1249
|
s(e),v.value=!1
|
|
1222
1250
|
const t=c(e.changedTouches[0].identifier),a=Math.abs(t.x),n=Math.abs(t.y),o=i.value?a>n&&a>400:n>a&&n>3
|
|
1223
|
-
l.value=o?t.direction===({left:"right",right:"left",bottom:"up"}[r.value]||
|
|
1224
|
-
return{isDragging:v,dragProgress:p,dragStyles:S}}({isActive:p,isTemporary:g,width:m,touchless:t.toRef(e,"touchless"),position:t.toRef(e,"
|
|
1225
|
-
return
|
|
1251
|
+
l.value=o?t.direction===({left:"right",right:"left",bottom:"up"}[r.value]||Gi()):p.value>.5}const S=t.computed((()=>v.value?{transform:"left"===r.value?`translateX(calc(-100% + ${p.value*n.value}px))`:"right"===r.value?`translateX(calc(100% - ${p.value*n.value}px))`:"bottom"===r.value?`translateY(calc(100% - ${p.value*n.value}px))`:Gi(),transition:"none"}:void 0))
|
|
1252
|
+
return{isDragging:v,dragProgress:p,dragStyles:S}}({isActive:p,isTemporary:g,width:m,touchless:t.toRef(e,"touchless"),position:t.toRef(e,"location")}),w=t.computed((()=>{const t=g.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):m.value
|
|
1253
|
+
return b.value?t*y.value:t})),{layoutItemStyles:x,layoutRect:C,layoutItemScrimStyles:k}=lt({id:e.name,order:t.computed((()=>parseInt(e.order,10))),position:t.toRef(e,"location"),layoutSize:w,elementSize:m,active:t.computed((()=>p.value||b.value)),disableTransitions:t.computed((()=>b.value)),absolute:t.toRef(e,"absolute")}),N=t.computed((()=>({...b.value?{opacity:.2*y.value,transition:"none"}:void 0,...C.value?{left:S(C.value.left),right:S(C.value.right),top:S(C.value.top),bottom:S(C.value.bottom)}:void 0,...k.value})))
|
|
1226
1254
|
return()=>{var l,c,v,m
|
|
1227
|
-
const
|
|
1228
|
-
return t.createVNode(t.Fragment,null,[t.createVNode(e.tag,t.mergeProps({ref:h,onMouseenter:()=>f.value=!0,onMouseleave:()=>f.value=!1,class:["v-navigation-drawer",{"v-navigation-drawer--bottom":"bottom"===e.
|
|
1229
|
-
const
|
|
1255
|
+
const y=n.image||e.image
|
|
1256
|
+
return t.createVNode(t.Fragment,null,[t.createVNode(e.tag,t.mergeProps({ref:h,onMouseenter:()=>f.value=!0,onMouseleave:()=>f.value=!1,class:["v-navigation-drawer",{"v-navigation-drawer--bottom":"bottom"===e.location,"v-navigation-drawer--end":"right"===e.location,"v-navigation-drawer--expand-on-hover":e.expandOnHover,"v-navigation-drawer--floating":e.floating,"v-navigation-drawer--is-hovering":f.value,"v-navigation-drawer--rail":e.rail,"v-navigation-drawer--start":"left"===e.location,"v-navigation-drawer--temporary":g.value,"v-navigation-drawer--active":p.value},o.value,i.value,r.value,u.value,d.value],style:[s.value,x.value,V.value]},a),{default:()=>[y&&t.createVNode("div",{class:"v-navigation-drawer__img"},[n.image?null==(l=n.image)?void 0:l.call(n,{image:e.image}):t.createVNode("img",{src:e.image,alt:""},null)]),n.prepend&&t.createVNode("div",{class:"v-navigation-drawer__prepend"},[null==(c=n.prepend)?void 0:c.call(n)]),t.createVNode("div",{class:"v-navigation-drawer__content"},[null==(v=n.default)?void 0:v.call(n)]),n.append&&t.createVNode("div",{class:"v-navigation-drawer__append"},[null==(m=n.append)?void 0:m.call(n)])]}),t.createVNode(t.Transition,{name:"fade-transition"},{default:()=>[g.value&&(b.value||p.value)&&t.createVNode("div",{class:"v-navigation-drawer__scrim",style:N.value,onClick:()=>p.value=!1},null)]})])}}})
|
|
1257
|
+
const Ki=he({name:"VNoSsr",setup(e,l){let{slots:a}=l
|
|
1230
1258
|
const n=t.ref(!1)
|
|
1231
1259
|
return function(e){var l,a,n
|
|
1232
|
-
if(!
|
|
1233
|
-
const o=
|
|
1260
|
+
if(!_e)return
|
|
1261
|
+
const o=we("useHydration"),r=null==o||null==(l=o.root)||null==(a=l.appContext)||null==(n=a.app)?void 0:n._container
|
|
1234
1262
|
null!=r&&r.__vue_app__?e():t.onMounted(e)}((()=>n.value=!0)),()=>{var e
|
|
1235
1263
|
return n.value&&(null==(e=a.default)?void 0:e.call(a))}}})
|
|
1236
|
-
const
|
|
1237
|
-
const o=
|
|
1238
|
-
|
|
1239
|
-
const{resizeRef:d}=
|
|
1264
|
+
const Zi=he({name:"VPagination",props:{start:{type:[Number,String],default:1},modelValue:{type:Number,default:e=>e.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:e=>e%1==0},totalVisible:[Number,String],firstIcon:{type:Il,default:"$first"},prevIcon:{type:Il,default:"$prev"},nextIcon:{type:Il,default:"$next"},lastIcon:{type:Il,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Jt(),...Gt(),...cl(),...Kt(),...kl(),...Xt({tag:"nav"}),...je(),...fl({variant:"text"})},emits:{"update:modelValue":e=>!0,first:e=>!0,prev:e=>!0,next:e=>!0,last:e=>!0},setup(e,l){let{slots:a,emit:n}=l
|
|
1265
|
+
const o=il(e,"modelValue"),{t:r,n:i}=co(),{isRtl:s}=ut(),{themeClasses:u}=Ue(e),c=t.ref(-1)
|
|
1266
|
+
me(void 0,{scoped:!0})
|
|
1267
|
+
const{resizeRef:d}=qe((e=>{if(!e.length)return
|
|
1240
1268
|
const{target:t,contentRect:l}=e[0],a=t.querySelector(".v-pagination__list > *")
|
|
1241
1269
|
if(!a)return
|
|
1242
1270
|
const n=l.width,o=a.getBoundingClientRect().width+10
|
|
1243
1271
|
c.value=Math.max(0,Math.floor((n-96)/o))})),v=t.computed((()=>parseInt(e.length,10))),p=t.computed((()=>parseInt(e.start,10))),f=t.computed((()=>{var t
|
|
1244
1272
|
return e.totalVisible?Math.min(parseInt(null!=(t=e.totalVisible)?t:"",10),v.value):c.value>=0?c.value:v.value})),m=t.computed((()=>{if(v.value<=0)return[]
|
|
1245
1273
|
if(f.value<=2)return[o.value]
|
|
1246
|
-
if(v.value<=f.value)return
|
|
1274
|
+
if(v.value<=f.value)return V(v.value,p.value)
|
|
1247
1275
|
const t=f.value%2==0,l=t?f.value/2:Math.floor(f.value/2),a=t?l:l+1,n=v.value-l
|
|
1248
|
-
if(a-o.value>=0)return[...
|
|
1276
|
+
if(a-o.value>=0)return[...V(Math.max(1,f.value-1),p.value),e.ellipsis,v.value]
|
|
1249
1277
|
if(o.value-n>=0){const t=f.value-1,l=v.value-t+p.value
|
|
1250
|
-
return[p.value,e.ellipsis,...
|
|
1251
|
-
return[p.value,e.ellipsis,...
|
|
1252
|
-
function g(e,t,l){e.preventDefault(),o.value=t,l&&n(l,t)}const{refs:
|
|
1278
|
+
return[p.value,e.ellipsis,...V(t,l)]}{const t=Math.max(1,f.value-3),l=1===t?o.value:o.value-Math.ceil(t/2)+p.value
|
|
1279
|
+
return[p.value,e.ellipsis,...V(t,l),e.ellipsis,v.value]}}))
|
|
1280
|
+
function g(e,t,l){e.preventDefault(),o.value=t,l&&n(l,t)}const{refs:h,updateRef:b}=function(){const e=t.ref([])
|
|
1253
1281
|
return t.onBeforeUpdate((()=>e.value=[])),{refs:e,updateRef:function(t,l){e.value[l]=t}}}()
|
|
1254
|
-
|
|
1255
|
-
const
|
|
1282
|
+
me({VBtn:{border:t.toRef(e,"border"),density:t.toRef(e,"density"),size:t.toRef(e,"size"),variant:t.toRef(e,"variant")}})
|
|
1283
|
+
const y=t.computed((()=>m.value.map(((t,l)=>{const a=e=>b(e,l)
|
|
1256
1284
|
if("string"==typeof t)return{isActive:!1,page:t,props:{ref:a,ellipsis:!0,icon:!0,disabled:!0}}
|
|
1257
1285
|
{const n=t===o.value
|
|
1258
|
-
return{isActive:n,page:i(t),props:{ref:a,ellipsis:!1,icon:!0,disabled:!!e.disabled||e.length<2,elevation:e.elevation,rounded:e.rounded,color:n?e.color:void 0,ariaCurrent:n,ariaLabel:r(n?e.currentPageAriaLabel:e.pageAriaLabel,l+1),onClick:e=>g(e,t)}}}})))),
|
|
1286
|
+
return{isActive:n,page:i(t),props:{ref:a,ellipsis:!1,icon:!0,disabled:!!e.disabled||e.length<2,elevation:e.elevation,rounded:e.rounded,color:n?e.color:void 0,ariaCurrent:n,ariaLabel:r(n?e.currentPageAriaLabel:e.pageAriaLabel,l+1),onClick:e=>g(e,t)}}}})))),S=t.computed((()=>{const t=!!e.disabled||o.value<=p.value,l=!!e.disabled||o.value>=p.value+v.value-1
|
|
1259
1287
|
return{first:e.showFirstLastPage?{icon:s.value?e.lastIcon:e.firstIcon,onClick:e=>g(e,p.value,"first"),disabled:t,ariaLabel:r(e.firstAriaLabel),ariaDisabled:t}:void 0,prev:{icon:s.value?e.nextIcon:e.prevIcon,onClick:e=>g(e,o.value-1,"prev"),disabled:t,ariaLabel:r(e.previousAriaLabel),ariaDisabled:t},next:{icon:s.value?e.prevIcon:e.nextIcon,onClick:e=>g(e,o.value+1,"next"),disabled:l,ariaLabel:r(e.nextAriaLabel),ariaDisabled:l},last:e.showFirstLastPage?{icon:s.value?e.firstIcon:e.lastIcon,onClick:e=>g(e,p.value+v.value-1,"last"),disabled:l,ariaLabel:r(e.lastAriaLabel),ariaDisabled:l}:void 0}}))
|
|
1260
|
-
function
|
|
1288
|
+
function w(){var e
|
|
1261
1289
|
const t=o.value-p.value
|
|
1262
|
-
null==(e=
|
|
1263
|
-
const
|
|
1264
|
-
const o=t.ref(),{intersectionRef:r,isIntersecting:i}=
|
|
1290
|
+
null==(e=h.value[t])||e.$el.focus()}function x(l){l.key===C.left&&!e.disabled&&o.value>e.start?(o.value=o.value-1,t.nextTick(w)):l.key===C.right&&!e.disabled&&o.value<p.value+v.value-1&&(o.value=o.value+1,t.nextTick(w))}return()=>t.createVNode(e.tag,{ref:d,class:["v-pagination",u.value],role:"navigation","aria-label":r(e.ariaLabel),onKeydown:x,"data-test":"v-pagination-root"},{default:()=>[t.createVNode("ul",{class:"v-pagination__list"},[e.showFirstLastPage&&t.createVNode("li",{class:"v-pagination__first","data-test":"v-pagination-first"},[a.first?a.first(S.value.first):t.createVNode(fa,S.value.first,null)]),t.createVNode("li",{class:"v-pagination__prev","data-test":"v-pagination-prev"},[a.prev?a.prev(S.value.prev):t.createVNode(fa,S.value.prev,null)]),y.value.map(((e,l)=>t.createVNode("li",{key:`${l}_${e.page}`,class:["v-pagination__item",{"v-pagination__item--is-active":e.isActive}],"data-test":"v-pagination-item"},[a.item?a.item(e):t.createVNode(fa,e.props,{default:()=>[e.page]})]))),t.createVNode("li",{class:"v-pagination__next","data-test":"v-pagination-next"},[a.next?a.next(S.value.next):t.createVNode(fa,S.value.next,null)]),e.showFirstLastPage&&t.createVNode("li",{class:"v-pagination__last","data-test":"v-pagination-last"},[a.last?a.last(S.value.last):t.createVNode(fa,S.value.last,null)])])]})}})
|
|
1291
|
+
const Ji=he({name:"VParallax",props:{scale:{type:[Number,String],default:1.3}},setup(e,l){let{attrs:a,slots:n}=l
|
|
1292
|
+
const o=t.ref(),{intersectionRef:r,isIntersecting:i}=Gn()
|
|
1265
1293
|
let s
|
|
1266
1294
|
t.watchEffect((()=>{var e
|
|
1267
|
-
r.value=null==(e=o.value)?void 0:e.$el})),t.watch(i,(e=>{e?(s=
|
|
1295
|
+
r.value=null==(e=o.value)?void 0:e.$el})),t.watch(i,(e=>{e?(s=Ce(r.value),s=s===document.scrollingElement?document:s,s.addEventListener("scroll",c,{passive:!0}),c()):s.removeEventListener("scroll",c)})),t.onBeforeUnmount((()=>{var e
|
|
1268
1296
|
null==(e=s)||e.removeEventListener("scroll",c)}))
|
|
1269
1297
|
let u=-1
|
|
1270
1298
|
function c(){i.value&&(cancelAnimationFrame(u),u=requestAnimationFrame((()=>{var t,l,a
|
|
@@ -1272,74 +1300,74 @@ const n=(null==(t=o.value)?void 0:t.$el).querySelector(".v-img__img")
|
|
|
1272
1300
|
if(!n)return
|
|
1273
1301
|
const i=r.value.getBoundingClientRect(),u=null!=(l=s.clientHeight)?l:window.innerHeight,c=null!=(a=s.scrollTop)?a:window.scrollY,d=(c+u-(i.top+c))/(i.height+u),v=(p=(i.height*+e.scale-i.height)*(.5-d),Math.floor(Math.abs(p))*Math.sign(p))
|
|
1274
1302
|
var p
|
|
1275
|
-
n.style.setProperty("transform",`translateY(${v}px) scale(${e.scale})`)})))}return()=>t.createVNode(
|
|
1276
|
-
const n=2*Math.PI*20,o=t.ref(),{themeClasses:r}=
|
|
1277
|
-
return t.watchEffect((()=>{p.value=o.value,m.value=o.value})),()=>t.createVNode(e.tag,{ref:o,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":f.value,"v-progress-circular--disable-shrink":"disable-shrink"===e.indeterminate},r.value,i.value,u.value],style:[s.value,c.value],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:h.value},{default:()=>[t.createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${
|
|
1278
|
-
return
|
|
1279
|
-
const o
|
|
1280
|
-
return
|
|
1281
|
-
return t.createVNode(
|
|
1282
|
-
return t.createVNode(t.Fragment,null,[d&&t.createVNode(
|
|
1303
|
+
n.style.setProperty("transform",`translateY(${v}px) scale(${e.scale})`)})))}return()=>t.createVNode(Ut,{class:["v-parallax",{"v-parallax--active":i.value}],ref:o,cover:!0,onLoadstart:c,onLoad:c},n)}}),Qi=he({name:"VProgressCircular",props:{bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...kl(),...Xt({tag:"div"}),...je()},setup(e,l){let{slots:a}=l
|
|
1304
|
+
const n=2*Math.PI*20,o=t.ref(),{themeClasses:r}=Ue(e),{sizeClasses:i,sizeStyles:s}=Nl(e),{textColorClasses:u,textColorStyles:c}=tl(t.toRef(e,"color")),{textColorClasses:d,textColorStyles:v}=tl(t.toRef(e,"bgColor")),{intersectionRef:p,isIntersecting:f}=Gn(),{resizeRef:m,contentRect:g}=qe(),h=t.computed((()=>Math.max(0,Math.min(100,parseFloat(e.modelValue))))),b=t.computed((()=>Number(e.width))),y=t.computed((()=>s.value?Number(e.size):g.value?g.value.width:Math.max(b.value,32))),V=t.computed((()=>20/(1-b.value/y.value)*2)),w=t.computed((()=>b.value/y.value*V.value)),x=t.computed((()=>S((100-h.value)/100*n)))
|
|
1305
|
+
return t.watchEffect((()=>{p.value=o.value,m.value=o.value})),()=>t.createVNode(e.tag,{ref:o,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":f.value,"v-progress-circular--disable-shrink":"disable-shrink"===e.indeterminate},r.value,i.value,u.value],style:[s.value,c.value],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:h.value},{default:()=>[t.createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${V.value} ${V.value}`},[t.createVNode("circle",{class:["v-progress-circular__underlay",d.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":w.value,"stroke-dasharray":n,"stroke-dashoffset":0},null),t.createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":w.value,"stroke-dasharray":n,"stroke-dashoffset":x.value},null)]),a.default&&t.createVNode("div",{class:"v-progress-circular__content"},[a.default({value:h.value})])]})}}),es=he({name:"VRadio",props:{falseIcon:{type:Il,default:"$radioOff"},trueIcon:{type:Il,default:"$radioOn"}},setup(e,l){let{slots:a}=l
|
|
1306
|
+
return Ae((()=>t.createVNode(sr,{class:"v-radio",trueIcon:e.trueIcon,falseIcon:e.falseIcon,type:"radio"},a))),{}}}),ts=he({name:"VRadioGroup",inheritAttrs:!1,props:{height:{type:[Number,String],default:"auto"},...Hn(),...ir(),trueIcon:{type:Il,default:"$radioOn"},falseIcon:{type:Il,default:"$radioOff"},type:{type:String,default:"radio"}},setup(e,l){let{attrs:a,slots:n}=l
|
|
1307
|
+
const o=R(),r=t.computed((()=>e.id||`radio-group-${o}`))
|
|
1308
|
+
return Ae((()=>{const[l,o]=_(a),[i,s]=Un(e),[u,c]=ur(e),d=n.label?n.label({label:e.label,props:{for:r.value}}):e.label
|
|
1309
|
+
return t.createVNode(Wn,t.mergeProps({class:"v-radio-group"},l,i),{...n,default:l=>{let{isDisabled:a,isReadonly:i}=l
|
|
1310
|
+
return t.createVNode(t.Fragment,null,[d&&t.createVNode(Xn,{for:r.value},{default:()=>[d]}),t.createVNode(rr,t.mergeProps(u,{id:r.value,trueIcon:e.trueIcon,falseIcon:e.falseIcon,type:e.type,disabled:a.value,readonly:i.value},o),n)])}})})),{}}}),ls=he({name:"VRangeSlider",props:{...Qn(),...Hn(),...mr(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,l){let{slots:a,attrs:n}=l
|
|
1283
1311
|
const o=t.ref(),r=t.ref(),i=t.ref()
|
|
1284
|
-
const{min:s,max:u,mousePressed:c,roundValue:d,onSliderMousedown:v,onSliderTouchstart:p,trackContainerRef:f,position:m,hasLabels:g,activeThumbRef:h}=
|
|
1312
|
+
const{min:s,max:u,mousePressed:c,roundValue:d,onSliderMousedown:v,onSliderTouchstart:p,trackContainerRef:f,position:m,hasLabels:g,activeThumbRef:h}=gr({props:e,handleSliderMouseUp:e=>{var t
|
|
1285
1313
|
b.value=h.value===(null==(t=o.value)?void 0:t.$el)?[e,b.value[1]]:[b.value[0],e]},handleMouseMove:t=>{var l
|
|
1286
1314
|
const[a,n]=b.value
|
|
1287
1315
|
var i,u,c
|
|
1288
1316
|
e.strict||a!==n||a===s.value||(h.value=t>a?null==(i=r.value)?void 0:i.$el:null==(u=o.value)?void 0:u.$el,null==(c=h.value)||c.focus())
|
|
1289
1317
|
h.value===(null==(l=o.value)?void 0:l.$el)?b.value=[Math.min(t,n),n]:b.value=[a,Math.max(a,t)]},getActiveThumb:function(t){if(!o.value||!r.value)return
|
|
1290
|
-
const l=
|
|
1291
|
-
return n<i||n===i&&l<0?o.value.$el:r.value.$el}}),b=
|
|
1292
|
-
return()=>{const[l,n]
|
|
1293
|
-
return t.createVNode(
|
|
1318
|
+
const l=fr(t,o.value.$el,e.direction),a=fr(t,r.value.$el,e.direction),n=Math.abs(l),i=Math.abs(a)
|
|
1319
|
+
return n<i||n===i&&l<0?o.value.$el:r.value.$el}}),b=il(e,"modelValue",void 0,(e=>e&&e.length?e.map((e=>d(e))):[0,0])),{isFocused:y,focus:V,blur:S}=eo(e),w=t.computed((()=>m(b.value[0]))),x=t.computed((()=>m(b.value[1])))
|
|
1320
|
+
return()=>{const[l,n]=Un(e)
|
|
1321
|
+
return t.createVNode(Wn,t.mergeProps({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!a["tick-label"]||g.value,"v-slider--focused":y.value,"v-slider--pressed":c.value,"v-slider--disabled":e.disabled}],ref:i},l,{focused:y.value}),{...a,default:l=>{var n,i
|
|
1294
1322
|
let{id:c}=l
|
|
1295
|
-
return t.createVNode("div",{class:"v-slider__container",onMousedown:v,onTouchstartPassive:p},[t.createVNode("input",{id:`${c.value}_start`,name:e.name||c.value,disabled:e.disabled,readonly:e.readonly,tabindex:"-1",value:b.value[0]},null),t.createVNode("input",{id:`${c.value}_stop`,name:e.name||c.value,disabled:e.disabled,readonly:e.readonly,tabindex:"-1",value:b.value[1]},null),t.createVNode(
|
|
1296
|
-
const{t:n}=
|
|
1323
|
+
return t.createVNode("div",{class:"v-slider__container",onMousedown:v,onTouchstartPassive:p},[t.createVNode("input",{id:`${c.value}_start`,name:e.name||c.value,disabled:e.disabled,readonly:e.readonly,tabindex:"-1",value:b.value[0]},null),t.createVNode("input",{id:`${c.value}_stop`,name:e.name||c.value,disabled:e.disabled,readonly:e.readonly,tabindex:"-1",value:b.value[1]},null),t.createVNode(br,{ref:f,start:w.value,stop:x.value},{"tick-label":a["tick-label"]}),t.createVNode(hr,{ref:o,focused:y&&h.value===(null==(n=o.value)?void 0:n.$el),modelValue:b.value[0],"onUpdate:modelValue":e=>b.value=[e,b.value[1]],onFocus:e=>{var t,l,a,n;(V(),h.value=null==(t=o.value)?void 0:t.$el,b.value[0]===b.value[1]&&b.value[1]===s.value&&e.relatedTarget!==(null==(l=r.value)?void 0:l.$el))&&(null==(a=o.value)||a.$el.blur(),null==(n=r.value)||n.$el.focus())},onBlur:()=>{S(),h.value=void 0},min:s.value,max:b.value[1],position:w.value},{"thumb-label":a["thumb-label"]}),t.createVNode(hr,{ref:r,focused:y&&h.value===(null==(i=r.value)?void 0:i.$el),modelValue:b.value[1],"onUpdate:modelValue":e=>b.value=[b.value[0],e],onFocus:e=>{var t,l,a,n;(V(),h.value=null==(t=r.value)?void 0:t.$el,b.value[0]===b.value[1]&&b.value[0]===u.value&&e.relatedTarget!==(null==(l=o.value)?void 0:l.$el))&&(null==(a=r.value)||a.$el.blur(),null==(n=o.value)||n.$el.focus())},onBlur:()=>{S(),h.value=void 0},min:b.value[0],max:u.value,position:x.value},{"thumb-label":a["thumb-label"]})])}})}}}),as=be()({name:"VRating",props:{name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:Il,default:"$ratingEmpty"},fullIcon:{type:Il,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:Number,default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},ripple:Boolean,...cl(),...kl(),...Xt(),...je()},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
1324
|
+
const{t:n}=co(),{themeClasses:o}=Ue(e),r=il(e,"modelValue"),i=t.computed((()=>V(Number(e.length),1))),s=t.computed((()=>i.value.flatMap((t=>e.halfIncrements?[t-.5,t]:[t])))),u=t.ref(-1),c=t.ref(-1),d=t.ref()
|
|
1297
1325
|
let v=!1
|
|
1298
1326
|
const p=t.computed((()=>s.value.map((t=>{var l
|
|
1299
1327
|
const a=e.hover&&u.value>-1,n=r.value>=t,o=u.value>=t,i=(a?o:n)?e.fullIcon:e.emptyIcon,s=null!=(l=e.activeColor)?l:e.color
|
|
1300
1328
|
return{isFilled:n,isHovered:o,icon:i,color:n||o?s:e.color}})))),f=t.computed((()=>[0,...s.value].map((t=>({onMouseenter:e.hover?function(){u.value=t}:void 0,onMouseleave:e.hover?function(){u.value=-1}:void 0,onFocus:function(){var e
|
|
1301
1329
|
0===t&&0===r.value?null==(e=d.value)||e.focus():c.value=t},onBlur:function(){v||(c.value=-1)},onClick:function(){e.disabled||e.readonly||(r.value=r.value===t&&e.clearable?0:t)}})))))
|
|
1302
|
-
function m(){v=!0}function g(){v=!1}const
|
|
1303
|
-
return null!=(t=e.name)?t:`v-rating-${
|
|
1304
|
-
function
|
|
1330
|
+
function m(){v=!0}function g(){v=!1}const h=t.computed((()=>{var t
|
|
1331
|
+
return null!=(t=e.name)?t:`v-rating-${R()}`}))
|
|
1332
|
+
function b(l){var o,i
|
|
1305
1333
|
let{value:s,index:u,showStar:c=!0}=l
|
|
1306
|
-
const{onMouseenter:v,onMouseleave:
|
|
1307
|
-
return t.createVNode(t.Fragment,null,[t.createVNode("label",{for:w,class:{"v-rating__item--half":e.halfIncrements&&s%1>0,"v-rating__item--full":e.halfIncrements&&s%1==0},onMousedown:m,onMouseup:g,onMouseenter:v,onMouseleave:
|
|
1334
|
+
const{onMouseenter:v,onMouseleave:b,onFocus:y,onBlur:V,onClick:S}=f.value[u+1],w=`${h.value}-${String(s).replace(".","-")}`,x={color:null==(o=p.value[u])?void 0:o.color,density:e.density,disabled:e.disabled,icon:null==(i=p.value[u])?void 0:i.icon,ripple:e.ripple,size:e.size,tag:"span",variant:"plain"}
|
|
1335
|
+
return t.createVNode(t.Fragment,null,[t.createVNode("label",{for:w,class:{"v-rating__item--half":e.halfIncrements&&s%1>0,"v-rating__item--full":e.halfIncrements&&s%1==0},onMousedown:m,onMouseup:g,onMouseenter:v,onMouseleave:b},[t.createVNode("span",{class:"v-rating__hidden"},[n(e.itemAriaLabel,s,e.length)]),c?a.item?a.item({...p.value[u],props:x,value:s,index:u}):t.createVNode(fa,x,null):void 0]),t.createVNode("input",{class:"v-rating__hidden",name:h.value,id:w,type:"radio",value:s,checked:r.value===s,onClick:S,onFocus:y,onBlur:V,ref:0===u?d:void 0,readonly:e.readonly,disabled:e.disabled},null)])}function y(e){return a["item-label"]?a["item-label"](e):e.label?t.createVNode("span",null,[e.label]):t.createVNode("span",null,[t.createTextVNode(" ")])}return()=>{var l
|
|
1308
1336
|
const n=!(null==(l=e.itemLabels)||!l.length)||a["item-label"]
|
|
1309
|
-
return t.createVNode(e.tag,{class:["v-rating",{"v-rating--hover":e.hover,"v-rating--readonly":e.readonly},o.value]},{default:()=>[t.createVNode(
|
|
1310
|
-
return t.createVNode("div",{class:"v-rating__wrapper"},[n&&"top"===e.itemLabelPosition?
|
|
1311
|
-
function
|
|
1312
|
-
return Math.sign(e)*(t/((1/.501-2)*(1-t)+1))}function
|
|
1337
|
+
return t.createVNode(e.tag,{class:["v-rating",{"v-rating--hover":e.hover,"v-rating--readonly":e.readonly},o.value]},{default:()=>[t.createVNode(b,{value:0,index:-1,showStar:!1},null),i.value.map(((l,a)=>{var o,r
|
|
1338
|
+
return t.createVNode("div",{class:"v-rating__wrapper"},[n&&"top"===e.itemLabelPosition?y({value:l,index:a,label:null==(o=e.itemLabels)?void 0:o[a]}):void 0,t.createVNode("div",{class:["v-rating__item",{"v-rating__item--focused":Math.ceil(c.value)===l}]},[e.halfIncrements?t.createVNode(t.Fragment,null,[t.createVNode(b,{value:l-.5,index:2*a},null),t.createVNode(b,{value:l,index:2*a+1},null)]):t.createVNode(b,{value:l,index:a},null)]),n&&"bottom"===e.itemLabelPosition?y({value:l,index:a,label:null==(r=e.itemLabels)?void 0:r[a]}):void 0])}))]})}}})
|
|
1339
|
+
function ns(e){const t=Math.abs(e)
|
|
1340
|
+
return Math.sign(e)*(t/((1/.501-2)*(1-t)+1))}function os(e){let{selectedElement:t,containerSize:l,contentSize:a,isRtl:n,currentScrollOffset:o,isHorizontal:r}=e
|
|
1313
1341
|
const i=r?t.clientWidth:t.clientHeight,s=r?t.offsetLeft:t.offsetTop,u=n?a-s-i:s
|
|
1314
1342
|
n&&(o=-o)
|
|
1315
1343
|
const c=l+o,d=i+u,v=.4*i
|
|
1316
|
-
return u<=o?o=Math.max(u-v,0):c<=d&&(o=Math.min(o-(c-d-v),a-l)),n?-o:o}function
|
|
1344
|
+
return u<=o?o=Math.max(u-v,0):c<=d&&(o=Math.min(o-(c-d-v),a-l)),n?-o:o}function rs(e){let{selectedElement:t,containerSize:l,contentSize:a,isRtl:n,isHorizontal:o}=e
|
|
1317
1345
|
const r=o?t.clientWidth:t.clientHeight,i=o?t.offsetLeft:t.offsetTop
|
|
1318
1346
|
if(n){const e=a-i-r/2-l/2
|
|
1319
1347
|
return-Math.min(a-l,Math.max(0,e))}{const e=i+r/2-l/2
|
|
1320
|
-
return Math.min(a-l,Math.max(0,e))}}const
|
|
1321
|
-
const{isRtl:n}=
|
|
1348
|
+
return Math.min(a-l,Math.max(0,e))}}const is=Symbol.for("vuetify:v-slide-group"),ss=he({name:"VSlideGroup",props:{centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:is},nextIcon:{type:Il,default:"$next"},prevIcon:{type:Il,default:"$prev"},showArrows:{type:[Boolean,String],validator:e=>"boolean"==typeof e||["always","desktop","mobile"].includes(e)},...Xt(),...hl({selectedClass:"v-slide-group-item--active"})},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
1349
|
+
const{isRtl:n}=ut(),{mobile:o}=Ro(),r=Vl(e,e.symbol),i=t.ref(!1),s=t.ref(0),u=t.ref(0),c=t.ref(0),d=t.computed((()=>"horizontal"===e.direction)),{resizeRef:v,contentRect:p}=qe(),{resizeRef:f,contentRect:m}=qe()
|
|
1322
1350
|
t.watchEffect((()=>{if(!p.value||!m.value)return
|
|
1323
1351
|
const e=d.value?"width":"height"
|
|
1324
1352
|
u.value=p.value[e],c.value=m.value[e],i.value=u.value+1<c.value}))
|
|
1325
1353
|
const g=t.computed((()=>r.selected.value.length?r.items.value.findIndex((e=>e.id===r.selected.value[0])):-1)),h=t.computed((()=>r.selected.value.length?r.items.value.findIndex((e=>e.id===r.selected.value[r.selected.value.length-1])):-1))
|
|
1326
1354
|
t.watch(r.selected,(()=>{if(g.value<0||!f.value)return
|
|
1327
1355
|
const t=f.value.children[h.value]
|
|
1328
|
-
0!==g.value&&i.value?e.centerActive?s.value=
|
|
1356
|
+
0!==g.value&&i.value?e.centerActive?s.value=rs({selectedElement:t,containerSize:u.value,contentSize:c.value,isRtl:n.value,isHorizontal:d.value}):i.value&&(s.value=os({selectedElement:t,containerSize:u.value,contentSize:c.value,isRtl:n.value,currentScrollOffset:s.value,isHorizontal:d.value})):s.value=0}))
|
|
1329
1357
|
let b=!0
|
|
1330
1358
|
t.watch(i,(()=>{if(!b||!f.value||g.value<0)return
|
|
1331
1359
|
b=!1
|
|
1332
1360
|
const e=f.value.children[g.value]
|
|
1333
|
-
s.value=
|
|
1361
|
+
s.value=rs({selectedElement:e,containerSize:u.value,contentSize:c.value,isRtl:n.value,isHorizontal:d.value})}))
|
|
1334
1362
|
const y=t.ref(!1)
|
|
1335
1363
|
let V=0,S=0
|
|
1336
1364
|
function w(e){const t=d.value?"clientX":"clientY"
|
|
1337
|
-
S=s.value,V=e.touches[0][t],y.value=!0}function
|
|
1365
|
+
S=s.value,V=e.touches[0][t],y.value=!0}function x(e){if(!i.value)return
|
|
1338
1366
|
const t=d.value?"clientX":"clientY"
|
|
1339
|
-
s.value=S+V-e.touches[0][t]}function
|
|
1340
|
-
n.value?s.value>0||!i.value?s.value=0:s.value<=-t&&(s.value=-t):s.value<0||!i.value?s.value=0:s.value>=t&&(s.value=t),y.value=!1}function k(){v.value&&(v.value.scrollLeft=0)}const
|
|
1341
|
-
function
|
|
1342
|
-
|
|
1367
|
+
s.value=S+V-e.touches[0][t]}function C(e){const t=c.value-u.value
|
|
1368
|
+
n.value?s.value>0||!i.value?s.value=0:s.value<=-t&&(s.value=-t):s.value<0||!i.value?s.value=0:s.value>=t&&(s.value=t),y.value=!1}function k(){v.value&&(v.value.scrollLeft=0)}const N=t.ref(!1)
|
|
1369
|
+
function _(e){if(N.value=!0,i.value&&f.value)for(const t of e.composedPath())for(const e of f.value.children)if(e===t)return void(s.value=os({selectedElement:e,containerSize:u.value,contentSize:c.value,isRtl:n.value,currentScrollOffset:s.value,isHorizontal:d.value}))}function B(e){N.value=!1}function $(e){var t
|
|
1370
|
+
N.value||e.relatedTarget&&null!=(t=f.value)&&t.contains(e.relatedTarget)||A()}function E(e){f.value&&(e.key===(d.value?"ArrowRight":"ArrowDown")?A("next"):e.key===(d.value?"ArrowLeft":"ArrowUp")?A("prev"):"Home"===e.key?A("first"):"End"===e.key&&A("last"))}function A(e){if(f.value)if(e){if("next"===e){var t
|
|
1343
1371
|
const e=null==(t=f.value.querySelector(":focus"))?void 0:t.nextElementSibling
|
|
1344
1372
|
e?e.focus():A("first")}else if("prev"===e){var l
|
|
1345
1373
|
const e=null==(l=f.value.querySelector(":focus"))?void 0:l.previousElementSibling
|
|
@@ -1348,68 +1376,68 @@ null==(a=f.value.firstElementChild)||a.focus()}else if("last"===e){var n
|
|
|
1348
1376
|
null==(n=f.value.lastElementChild)||n.focus()}}else{var o
|
|
1349
1377
|
f.value.querySelector("[tabindex]")
|
|
1350
1378
|
null==(o=[...f.value.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')].filter((e=>!e.hasAttribute("disabled")))[0])||o.focus()}}function R(e){const t=n.value?-1:1,l=t*s.value+("prev"===e?-1:1)*u.value
|
|
1351
|
-
s.value=t*
|
|
1352
|
-
return{transform:`translate${d.value?"X":"Y"}(${e}px)`,transition:y.value?"none":"",willChange:y.value?"transform":""}})),
|
|
1379
|
+
s.value=t*I(l,0,c.value-u.value)}const L=t.computed((()=>{const e=s.value<=0?ns(-s.value):s.value>c.value-u.value?-(c.value-u.value)+ns(c.value-u.value-s.value):-s.value
|
|
1380
|
+
return{transform:`translate${d.value?"X":"Y"}(${e}px)`,transition:y.value?"none":"",willChange:y.value?"transform":""}})),T=t.computed((()=>({next:r.next,prev:r.prev,select:r.select,isSelected:r.isSelected}))),z=t.computed((()=>{switch(e.showArrows){case"always":return!0
|
|
1353
1381
|
case"desktop":return!o.value
|
|
1354
1382
|
case!0:return i.value||Math.abs(s.value)>0
|
|
1355
1383
|
case"mobile":return o.value||i.value||Math.abs(s.value)>0
|
|
1356
|
-
default:return!o.value&&(i.value||Math.abs(s.value)>0)}})),
|
|
1357
|
-
return
|
|
1358
|
-
return t.createVNode(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!d.value,"v-slide-group--has-affixes":
|
|
1359
|
-
const a=
|
|
1384
|
+
default:return!o.value&&(i.value||Math.abs(s.value)>0)}})),M=t.computed((()=>z.value&&s.value>0)),P=t.computed((()=>!!z.value&&c.value>Math.abs(s.value)+u.value))
|
|
1385
|
+
return Ae((()=>{var l,n,o,s,u
|
|
1386
|
+
return t.createVNode(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!d.value,"v-slide-group--has-affixes":z.value,"v-slide-group--is-overflowing":i.value}],tabindex:N.value||r.selected.value.length?-1:0,onFocus:$},{default:()=>[z.value&&t.createVNode("div",{class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!M.value}],onClick:()=>R("prev")},[null!=(l=null==(n=a.prev)?void 0:n.call(a,T.value))?l:t.createVNode(Nt,null,{default:()=>[t.createVNode(Ol,{icon:e.prevIcon},null)]})]),t.createVNode("div",{ref:v,class:"v-slide-group__container",onScroll:k},[t.createVNode("div",{ref:f,class:"v-slide-group__content",style:L.value,onTouchstartPassive:w,onTouchmovePassive:x,onTouchendPassive:C,onFocusin:_,onFocusout:B,onKeydown:E},[null==(o=a.default)?void 0:o.call(a,T.value)])]),z.value&&t.createVNode("div",{class:["v-slide-group__next",{"v-slide-group__next--disabled":!P.value}],onClick:()=>R("next")},[null!=(s=null==(u=a.next)?void 0:u.call(a,T.value))?s:t.createVNode(Nt,null,{default:()=>[t.createVNode(Ol,{icon:e.nextIcon},null)]})])]})})),{selected:r.selected,scrollTo:R,scrollOffset:s,focus:A}}}),us=he({name:"VSlideGroupItem",props:{...bl()},setup(e,t){let{slots:l}=t
|
|
1387
|
+
const a=yl(e,is)
|
|
1360
1388
|
return()=>{var e
|
|
1361
|
-
return null==(e=l.default)?void 0:e.call(l,{isSelected:a.isSelected.value,select:a.select,toggle:a.toggle,selectedClass:a.selectedClass.value})}}}),
|
|
1362
|
-
const n=
|
|
1363
|
-
t.watch(n,
|
|
1364
|
-
let
|
|
1365
|
-
function
|
|
1389
|
+
return null==(e=l.default)?void 0:e.call(l,{isSelected:a.isSelected.value,select:a.select,toggle:a.toggle,selectedClass:a.selectedClass.value})}}}),cs=he({name:"VSnackbar",props:{app:Boolean,contentClass:{type:String,default:""},multiLine:Boolean,timeout:{type:[Number,String],default:5e3},vertical:Boolean,modelValue:Boolean,...Dl({location:"bottom"}),...Wl(),...Jt(),...fl(),...Ht({transition:"v-snackbar-transition"})},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
1390
|
+
const n=il(e,"modelValue"),{locationStyles:o}=jl(e),{positionClasses:r}=Ul(e),{scopeId:i}=Tn(),{colorClasses:s,colorStyles:u,variantClasses:c}=ml(e),{roundedClasses:d}=Qt(e)
|
|
1391
|
+
t.watch(n,p),t.watch((()=>e.timeout),p),t.onMounted((()=>{n.value&&p()}))
|
|
1392
|
+
let v=-1
|
|
1393
|
+
function p(){window.clearTimeout(v)
|
|
1366
1394
|
const t=Number(e.timeout)
|
|
1367
|
-
n.value&&-1!==t&&(
|
|
1368
|
-
return t.createVNode(
|
|
1369
|
-
const o=
|
|
1370
|
-
function s(){o.value&&(o.value=!1)}return
|
|
1395
|
+
n.value&&-1!==t&&(v=window.setTimeout((()=>{n.value=!1}),t))}function f(){window.clearTimeout(v)}Ae((()=>{var l,v
|
|
1396
|
+
return t.createVNode(Ln,t.mergeProps({modelValue:n.value,"onUpdate:modelValue":e=>n.value=e,class:["v-snackbar",{"v-snackbar--active":n.value,"v-snackbar--multi-line":e.multiLine&&!e.vertical,"v-snackbar--vertical":e.vertical},r.value],style:[u.value],contentProps:{style:o.value},persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",transition:e.transition},i),{default:()=>[t.createVNode("div",{class:["v-snackbar__wrapper",s.value,d.value,c.value],onPointerenter:f,onPointerleave:p},[pl(!1,"v-snackbar"),a.default&&t.createVNode("div",{class:["v-snackbar__content",e.contentClass],role:"status","aria-live":"polite"},[null==(l=a.default)?void 0:l.call(a)]),a.actions&&t.createVNode(dt,{defaults:{VBtn:{variant:"text",ripple:!1}}},{default:()=>[t.createVNode("div",{class:"v-snackbar__actions"},[null==(v=a.actions)?void 0:v.call(a)])]})])],activator:a.activator})}))}}),ds=he({name:"VSwitch",inheritAttrs:!1,props:{indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...Hn(),...ir()},emits:{"update:indeterminate":e=>!0},setup(e,l){let{attrs:a,slots:n}=l
|
|
1397
|
+
const o=il(e,"indeterminate"),{loaderClasses:r}=Zn(e),i=t.computed((()=>"string"==typeof e.loading&&""!==e.loading?e.loading:e.color))
|
|
1398
|
+
function s(){o.value&&(o.value=!1)}return Ae((()=>{const[l,u]=_(a),[c,d]=Un(e),[v,p]=ur(e),f=t.ref()
|
|
1371
1399
|
function m(){var e,t
|
|
1372
|
-
null==(e=f.value)||null==(t=e.input)||t.click()}return t.createVNode(
|
|
1373
|
-
return t.createVNode(
|
|
1374
|
-
return t.createVNode("div",{class:["v-switch__thumb",a.value]},[e.loading&&t.createVNode(
|
|
1375
|
-
const{themeClasses:n}=
|
|
1376
|
-
return(null!=(t=e.height)?t:e.window)?32:24})),{layoutItemStyles:c}=
|
|
1377
|
-
return
|
|
1378
|
-
const{textColorClasses:o,textColorStyles:r}=
|
|
1400
|
+
null==(e=f.value)||null==(t=e.input)||t.click()}return t.createVNode(Wn,t.mergeProps({class:["v-switch",{"v-switch--inset":e.inset},{"v-switch--indeterminate":o.value},r.value]},l,c),{...n,default:l=>{let{isDisabled:a,isReadonly:r,isValid:c}=l
|
|
1401
|
+
return t.createVNode(sr,t.mergeProps({ref:f},v,{type:"checkbox","onUpdate:modelValue":s,"aria-checked":o.value?"mixed":void 0,disabled:a.value,readonly:r.value},u),{...n,default:()=>t.createVNode("div",{class:"v-switch__track",onClick:m},null),input:l=>{let{textColorClasses:a}=l
|
|
1402
|
+
return t.createVNode("div",{class:["v-switch__thumb",a.value]},[e.loading&&t.createVNode(Jn,{name:"v-switch",active:!0,color:!1===c.value?void 0:i.value},{default:e=>n.loader?n.loader(e):t.createVNode(Qi,{active:e.isActive,color:e.color,indeterminate:!0,size:"16",width:"2"},null)})])}})}})})),{}}}),vs=he({name:"VSystemBar",props:{color:String,height:[Number,String],window:Boolean,...Kt(),...et(),...Jt(),...Xt(),...je()},setup(e,l){let{slots:a}=l
|
|
1403
|
+
const{themeClasses:n}=Ue(e),{backgroundColorClasses:o,backgroundColorStyles:r}=ll(t.toRef(e,"color")),{elevationClasses:i}=Zt(e),{roundedClasses:s}=Qt(e),u=t.computed((()=>{var t
|
|
1404
|
+
return(null!=(t=e.height)?t:e.window)?32:24})),{layoutItemStyles:c}=lt({id:e.name,order:t.computed((()=>parseInt(e.order,10))),position:t.ref("top"),layoutSize:u,elementSize:u,active:t.computed((()=>!0)),absolute:t.toRef(e,"absolute")})
|
|
1405
|
+
return me({VBtn:{variant:"text",density:"compact"}},{scoped:!0}),()=>t.createVNode(e.tag,{class:["v-system-bar",{"v-system-bar--window":e.window},n.value,o.value,i.value,s.value],style:[r.value,c.value]},a)}}),ps=Symbol.for("vuetify:v-tabs"),fs=he({name:"VTab",props:{fixed:Boolean,icon:[Boolean,String,Function,Object],prependIcon:Il,appendIcon:Il,stacked:Boolean,title:String,ripple:{type:Boolean,default:!0},color:String,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...Xt(),...Gl(),...bl({selectedClass:"v-tab--selected"}),...je()},setup(e,l){let{slots:a,attrs:n}=l
|
|
1406
|
+
const{textColorClasses:o,textColorStyles:r}=tl(e,"sliderColor"),i=t.computed((()=>"horizontal"===e.direction)),s=t.ref(!1),u=t.ref(),c=t.ref()
|
|
1379
1407
|
function d(e){let{value:t}=e
|
|
1380
1408
|
if(s.value=t,t){var l,a
|
|
1381
1409
|
const e=null==(l=u.value)||null==(a=l.$el.parentElement)?void 0:a.querySelector(".v-tab--selected .v-tab__slider"),t=c.value
|
|
1382
1410
|
if(!e||!t)return
|
|
1383
1411
|
const n=getComputedStyle(e).color,o=e.getBoundingClientRect(),r=t.getBoundingClientRect(),s=i.value?"x":"y",d=i.value?"X":"Y",v=i.value?"right":"bottom",p=i.value?"width":"height",f=o[s]>r[s]?o[v]-r[v]:o[s]-r[s],m=Math.sign(f)>0?i.value?"right":"bottom":Math.sign(f)<0?i.value?"left":"top":"center",g=(Math.abs(f)+(Math.sign(f)<0?o[p]:r[p]))/Math.max(o[p],r[p]),h=o[p]/r[p],b=1.5
|
|
1384
|
-
t.animate({backgroundColor:[n,""],transform:[`translate${d}(${f}px) scale${d}(${h})`,`translate${d}(${f/b}px) scale${d}(${(g-1)/b+1})`,""],transformOrigin:Array(3).fill(m)},{duration:225,easing:
|
|
1385
|
-
return t.createVNode(
|
|
1386
|
-
const
|
|
1412
|
+
t.animate({backgroundColor:[n,""],transform:[`translate${d}(${f}px) scale${d}(${h})`,`translate${d}(${f/b}px) scale${d}(${(g-1)/b+1})`,""],transformOrigin:Array(3).fill(m)},{duration:225,easing:Se})}}return Ae((()=>{const[l]=N(e,["href","to","replace","icon","stacked","prependIcon","appendIcon","ripple","theme","disabled","selectedClass","value","color"])
|
|
1413
|
+
return t.createVNode(fa,t.mergeProps({_as:"VTab",symbol:ps,ref:u,class:["v-tab"],tabindex:s.value?0:-1,role:"tab","aria-selected":String(s.value),block:e.fixed,maxWidth:e.fixed?300:void 0,variant:"text",rounded:0},l,n,{"onGroup:selected":d}),{default:()=>[a.default?a.default():e.title,!e.hideSlider&&t.createVNode("div",{ref:c,class:["v-tab__slider",o.value],style:r.value},null)]})})),{}}})
|
|
1414
|
+
const ms=he({name:"VTabs",props:{alignWithTitle:Boolean,color:String,direction:{type:String,default:"horizontal"},fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,backgroundColor:String,centered:Boolean,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,optional:Boolean,end:Boolean,sliderColor:String,modelValue:null,...cl(),...Xt()},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a,emit:n}=l
|
|
1387
1415
|
const o=t.computed((()=>{return(t=e.items)?t.map((e=>"string"==typeof e?{title:e,value:e}:e)):[]
|
|
1388
|
-
var t})),{densityClasses:r}=
|
|
1389
|
-
return
|
|
1390
|
-
const{themeClasses:n}=
|
|
1416
|
+
var t})),{densityClasses:r}=dl(e),{backgroundColorClasses:i,backgroundColorStyles:s}=ll(t.toRef(e,"backgroundColor"))
|
|
1417
|
+
return me({VTab:{color:t.toRef(e,"color"),direction:t.toRef(e,"direction"),stacked:t.toRef(e,"stacked"),fixed:t.toRef(e,"fixedTabs"),sliderColor:t.toRef(e,"sliderColor"),hideSlider:t.toRef(e,"hideSlider")}}),()=>t.createVNode(ss,{class:["v-tabs",`v-tabs--${e.direction}`,{"v-tabs--align-with-title":e.alignWithTitle,"v-tabs--centered":e.centered,"v-tabs--fixed-tabs":e.fixedTabs,"v-tabs--grow":e.grow,"v-tabs--end":e.end,"v-tabs--stacked":e.stacked},r.value,i.value],style:s.value,role:"tablist",symbol:ps,mandatory:"force",direction:e.direction,modelValue:e.modelValue,"onUpdate:modelValue":e=>n("update:modelValue",e)},{default:()=>[a.default?a.default():o.value.map((e=>t.createVNode(fs,t.mergeProps(e,{key:e.title}),null)))]})}}),gs=he({name:"VTable",props:{fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],...cl(),...je(),...Xt()},setup(e,l){let{slots:a}=l
|
|
1418
|
+
const{themeClasses:n}=Ue(e),{densityClasses:o}=dl(e)
|
|
1391
1419
|
return()=>{var l,r,i
|
|
1392
|
-
return t.createVNode(e.tag,{class:["v-table",{"v-table--fixed-height":!!e.height,"v-table--fixed-header":e.fixedHeader,"v-table--fixed-footer":e.fixedFooter,"v-table--has-top":!!a.top,"v-table--has-bottom":!!a.bottom},n.value,o.value]},{default:()=>[null==(l=a.top)?void 0:l.call(a),a.default&&t.createVNode("div",{class:"v-table__wrapper",style:{height:
|
|
1393
|
-
const r=
|
|
1420
|
+
return t.createVNode(e.tag,{class:["v-table",{"v-table--fixed-height":!!e.height,"v-table--fixed-header":e.fixedHeader,"v-table--fixed-footer":e.fixedFooter,"v-table--has-top":!!a.top,"v-table--has-bottom":!!a.bottom},n.value,o.value]},{default:()=>[null==(l=a.top)?void 0:l.call(a),a.default&&t.createVNode("div",{class:"v-table__wrapper",style:{height:S(e.height)}},[t.createVNode("table",null,[null==(r=a.default)?void 0:r.call(a)])]),null==(i=a.bottom)?void 0:i.call(a)]})}}}),hs=he({name:"VTextarea",directives:{Intersect:jt},inheritAttrs:!1,props:{autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,hint:String,persistentHint:Boolean,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:e=>!isNaN(parseFloat(e))},maxRows:{type:[Number,String],validator:e=>!isNaN(parseFloat(e))},suffix:String,...Hn(),...lo()},emits:{"click:clear":e=>!0,"click:control":e=>!0,"update:modelValue":e=>!0},setup(e,l){let{attrs:a,emit:n,slots:o}=l
|
|
1421
|
+
const r=il(e,"modelValue"),i=t.computed((()=>"function"==typeof e.counterValue?e.counterValue(r.value):(r.value||"").toString().length)),s=t.computed((()=>a.maxlength?a.maxlength:!e.counter||"number"!=typeof e.counter&&"string"!=typeof e.counter?void 0:e.counter))
|
|
1394
1422
|
function u(t,l){var a,n
|
|
1395
1423
|
e.autofocus&&t&&(null==(a=l[0].target)||null==(n=a.focus)||n.call(a))}const c=t.ref(),d=t.ref(),v=t.ref(!1),p=t.ref("auto"),f=t.ref(),m=t.computed((()=>v.value||e.persistentPlaceholder)),g=t.computed((()=>e.messages.length?e.messages:m.value||e.persistentHint?e.hint:""))
|
|
1396
1424
|
function h(){var e
|
|
1397
1425
|
f.value!==document.activeElement&&(null==(e=f.value)||e.focus())
|
|
1398
|
-
v.value||(v.value=!0)}function
|
|
1399
|
-
function w(){e.autoGrow&&t.nextTick((()=>{if(!
|
|
1400
|
-
const t=getComputedStyle(
|
|
1401
|
-
p.value=
|
|
1402
|
-
return t.onMounted(w),t.watch(r,w),t.watch((()=>e.rows),w),t.watch((()=>e.maxRows),w),t.watch(
|
|
1403
|
-
e?(
|
|
1404
|
-
null==(e=
|
|
1405
|
-
return t.createVNode(
|
|
1406
|
-
return t.createVNode(
|
|
1407
|
-
return t.createVNode(t.Fragment,null,[e.prefix&&t.createVNode("span",{class:"v-text-field__prefix"},[e.prefix]),t.withDirectives(t.createVNode("textarea",t.mergeProps({ref:f,class:n,"onUpdate:modelValue":e=>r.value=e,autofocus:e.autofocus,readonly:i.value,disabled:a.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:h,onBlur:()=>v.value=!1},o,c),null),[[t.vModelText,r.value],[t.resolveDirective("intersect"),{handler:u},null,{once:!0}]]),e.autoGrow&&t.withDirectives(t.createVNode("textarea",{class:[n,"v-textarea__sizer"],"onUpdate:modelValue":e=>r.value=e,ref:
|
|
1408
|
-
const{themeClasses:n}=
|
|
1426
|
+
v.value||(v.value=!0)}function b(e){h(),n("click:control",e)}function y(e){e.stopPropagation(),h(),t.nextTick((()=>{r.value="",n("click:clear",e)}))}const V=t.ref()
|
|
1427
|
+
function w(){e.autoGrow&&t.nextTick((()=>{if(!V.value)return
|
|
1428
|
+
const t=getComputedStyle(V.value),l=parseFloat(t.getPropertyValue("--v-field-padding-top"))+parseFloat(t.getPropertyValue("--v-field-padding-bottom")),a=V.value.scrollHeight,n=parseFloat(t.lineHeight),o=parseFloat(e.rows)*n+l,r=parseFloat(e.maxRows)*n+l||1/0
|
|
1429
|
+
p.value=S(Math.min(r,Math.max(o,null!=a?a:0)))}))}let x
|
|
1430
|
+
return t.onMounted(w),t.watch(r,w),t.watch((()=>e.rows),w),t.watch((()=>e.maxRows),w),t.watch(V,(e=>{var t
|
|
1431
|
+
e?(x=new ResizeObserver(w),x.observe(V.value)):null==(t=x)||t.disconnect()})),t.onBeforeUnmount((()=>{var e
|
|
1432
|
+
null==(e=x)||e.disconnect()})),Ae((()=>{const l=!!(o.counter||e.counter||e.counterValue),[n,c]=_(a),[{modelValue:d,...S}]=Un(e),[w]=no(e)
|
|
1433
|
+
return t.createVNode(Wn,t.mergeProps({modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,class:["v-textarea",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow}]},n,S,{messages:g.value}),{...o,default:l=>{let{isDisabled:a,isDirty:n,isReadonly:i,isValid:s}=l
|
|
1434
|
+
return t.createVNode(ao,t.mergeProps({style:{"--v-input-control-height":p.value},"onClick:control":b,"onClick:clear":y,role:"textbox"},w,{active:m.value||n.value,dirty:n.value||e.dirty,focused:v.value,error:!1===s.value}),{...o,default:l=>{let{props:{class:n,...o}}=l
|
|
1435
|
+
return t.createVNode(t.Fragment,null,[e.prefix&&t.createVNode("span",{class:"v-text-field__prefix"},[e.prefix]),t.withDirectives(t.createVNode("textarea",t.mergeProps({ref:f,class:n,"onUpdate:modelValue":e=>r.value=e,autofocus:e.autofocus,readonly:i.value,disabled:a.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:h,onBlur:()=>v.value=!1},o,c),null),[[t.vModelText,r.value],[t.resolveDirective("intersect"),{handler:u},null,{once:!0}]]),e.autoGrow&&t.withDirectives(t.createVNode("textarea",{class:[n,"v-textarea__sizer"],"onUpdate:modelValue":e=>r.value=e,ref:V,readonly:!0,"aria-hidden":"true"},null),[[t.vModelText,r.value]]),e.suffix&&t.createVNode("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:l?()=>t.createVNode(t.Fragment,null,[t.createVNode("span",null,null),t.createVNode(oo,{active:e.persistentCounter||v.value,value:i.value,max:s.value},o.counter)]):void 0})})),al({},c,d,f)}}),bs=he({name:"VThemeProvider",props:{withBackground:Boolean,...je(),...Xt()},setup(e,l){let{slots:a}=l
|
|
1436
|
+
const{themeClasses:n}=Ue(e)
|
|
1409
1437
|
return()=>{var l,o
|
|
1410
|
-
return e.withBackground?t.createVNode(e.tag,{class:["v-theme-provider",n.value]},{default:()=>[null==(o=a.default)?void 0:o.call(a)]}):null==(l=a.default)?void 0:l.call(a)}}}),
|
|
1411
|
-
const{themeClasses:n}=
|
|
1412
|
-
t.provide(
|
|
1438
|
+
return e.withBackground?t.createVNode(e.tag,{class:["v-theme-provider",n.value]},{default:()=>[null==(o=a.default)?void 0:o.call(a)]}):null==(l=a.default)?void 0:l.call(a)}}}),ys=Symbol.for("vuetify:timeline"),Vs=he({name:"VTimeline",props:{align:{type:String,default:"center",validator:e=>["center","start"].includes(e)},direction:{type:String,default:"vertical",validator:e=>["vertical","horizontal"].includes(e)},side:{type:String,validator:e=>null==e||["start","end"].includes(e)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:e=>["start","end","both"].includes(e)},...cl(),...Xt(),...je()},setup(e,l){let{slots:a}=l
|
|
1439
|
+
const{themeClasses:n}=Ue(e),{densityClasses:o}=dl(e)
|
|
1440
|
+
t.provide(ys,{density:t.toRef(e,"density"),lineColor:t.toRef(e,"lineColor")})
|
|
1413
1441
|
const r=t.computed((()=>{const t=e.side?e.side:"default"!==e.density?"end":null
|
|
1414
1442
|
return t&&`v-timeline--side-${t}`})),i=t.computed((()=>{const t=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"]
|
|
1415
1443
|
switch(e.truncateLine){case"both":return t
|
|
@@ -1417,53 +1445,51 @@ case"start":return t[0]
|
|
|
1417
1445
|
case"end":return t[1]
|
|
1418
1446
|
default:return null}}))
|
|
1419
1447
|
return()=>{var l
|
|
1420
|
-
return t.createVNode(e.tag,{class:["v-timeline",`v-timeline--${e.direction}`,`v-timeline--align-${e.align}`,!e.lineInset&&i.value,{"v-timeline--inset-line":!!e.lineInset},n.value,o.value,r.value],style:{"--v-timeline-line-thickness":
|
|
1421
|
-
const n=t.inject(
|
|
1448
|
+
return t.createVNode(e.tag,{class:["v-timeline",`v-timeline--${e.direction}`,`v-timeline--align-${e.align}`,!e.lineInset&&i.value,{"v-timeline--inset-line":!!e.lineInset},n.value,o.value,r.value],style:{"--v-timeline-line-thickness":S(e.lineThickness),"--v-timeline-line-inset":S(e.lineInset)}},{default:()=>[null==(l=a.default)?void 0:l.call(a)]})}}}),Ss=he({name:"VTimelineDivider",props:{hideDot:Boolean,lineColor:String,icon:Il,iconColor:String,fillDot:Boolean,dotColor:String,...Jt(),...kl(),...Kt()},setup(e,l){let{slots:a}=l
|
|
1449
|
+
const n=t.inject(ys)
|
|
1422
1450
|
if(!n)throw new Error("[Vuetify] Could not find v-timeline provider")
|
|
1423
|
-
const{sizeClasses:o,sizeStyles:r}=
|
|
1424
|
-
return()=>t.createVNode("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":e.fillDot}]},[!e.hideDot&&t.createVNode("div",{class:["v-timeline-divider__dot",d.value,o.value,v.value],style:r.value},[t.createVNode("div",{class:["v-timeline-divider__inner-dot",d.value,s.value],style:i.value},[a.default?a.default({icon:e.icon,iconColor:e.iconColor,size:e.size}):e.icon?t.createVNode(
|
|
1425
|
-
const n=t.inject(
|
|
1451
|
+
const{sizeClasses:o,sizeStyles:r}=Nl(e,"v-timeline-divider__dot"),{backgroundColorStyles:i,backgroundColorClasses:s}=ll(t.toRef(e,"dotColor")),{backgroundColorStyles:u,backgroundColorClasses:c}=ll(n.lineColor),{roundedClasses:d}=Qt(e,"v-timeline-divider__dot"),{elevationClasses:v}=Zt(e)
|
|
1452
|
+
return()=>t.createVNode("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":e.fillDot}]},[!e.hideDot&&t.createVNode("div",{class:["v-timeline-divider__dot",d.value,o.value,v.value],style:r.value},[t.createVNode("div",{class:["v-timeline-divider__inner-dot",d.value,s.value],style:i.value},[a.default?a.default({icon:e.icon,iconColor:e.iconColor,size:e.size}):e.icon?t.createVNode(Ol,{icon:e.icon,color:e.iconColor,size:e.size},null):void 0])]),t.createVNode("div",{class:["v-timeline-divider__line",c.value],style:u.value},null)])}}),ws=he({name:"VTimelineItem",props:{dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:Il,iconColor:String,...Jt(),...Kt(),...kl(),...Xt(),...Pt()},setup(e,l){let{slots:a}=l
|
|
1453
|
+
const n=t.inject(ys)
|
|
1426
1454
|
if(!n)throw new Error("[Vuetify] Could not find v-timeline provider")
|
|
1427
|
-
const{dimensionStyles:o}=
|
|
1455
|
+
const{dimensionStyles:o}=Ot(e),r=t.ref(0),i=t.ref()
|
|
1428
1456
|
return t.watch(i,(e=>{var t,l
|
|
1429
1457
|
e&&(r.value=null!=(t=null==(l=e.$el.querySelector(".v-timeline-divider__dot"))?void 0:l.getBoundingClientRect().width)?t:0)}),{flush:"post"}),()=>{var l,s
|
|
1430
|
-
return t.createVNode("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":e.fillDot}],style:{"--v-timeline-dot-size":
|
|
1431
|
-
const o=
|
|
1432
|
-
return()=>t.createVNode(
|
|
1433
|
-
return null!=(t=null==(l=n.default)?void 0:l.call(n,...o))?t:e.text}})}}),
|
|
1434
|
-
const a=
|
|
1458
|
+
return t.createVNode("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":e.fillDot}],style:{"--v-timeline-dot-size":S(r.value)}},[t.createVNode("div",{class:"v-timeline-item__body",style:o.value},[null==(l=a.default)?void 0:l.call(a)]),t.createVNode(Ss,{ref:i,hideDot:e.hideDot,icon:e.icon,iconColor:e.iconColor,size:e.size,elevation:e.elevation,dotColor:e.dotColor,fillDot:e.fillDot,rounded:e.rounded},{default:a.icon}),"compact"!==n.density.value&&t.createVNode("div",{class:"v-timeline-item__opposite"},[!e.hideOpposite&&(null==(s=a.opposite)?void 0:s.call(a))])])}}}),xs=be()({name:"VTooltip",inheritAttrs:!1,props:{id:String,modelValue:Boolean,text:String,location:{type:String,default:"end"},origin:{type:String,default:"auto"},...Ht({transition:!1})},emits:{"update:modelValue":e=>!0},setup(e,l){let{attrs:a,slots:n}=l
|
|
1459
|
+
const o=il(e,"modelValue"),{scopeId:r}=Tn(),i=R(),s=t.computed((()=>e.id||`v-tooltip-${i}`)),u=t.computed((()=>e.location.split(" ").length>1?e.location:e.location+" center")),c=t.computed((()=>"auto"===e.origin||"overlap"===e.origin||e.origin.split(" ").length>1||e.location.split(" ").length>1?e.origin:e.origin+" center")),d=t.computed((()=>e.transition?e.transition:o.value?"scale-transition":"fade-transition"))
|
|
1460
|
+
return()=>t.createVNode(Ln,t.mergeProps({modelValue:o.value,"onUpdate:modelValue":e=>o.value=e,class:["v-tooltip"],id:s.value,transition:d.value,absolute:!0,locationStrategy:"connected",scrollStrategy:"reposition",location:u.value,origin:c.value,"min-width":0,offset:10,scrim:!1,persistent:!0,"open-on-click":!1,"open-on-hover":!0,"close-on-back":!1,role:"tooltip",eager:!0,activatorProps:{"aria-describedby":s.value}},r,a),{activator:n.activator,default:function(){for(var t,l,a=arguments.length,o=new Array(a),r=0;r<a;r++)o[r]=arguments[r]
|
|
1461
|
+
return null!=(t=null==(l=n.default)?void 0:l.call(n,...o))?t:e.text}})}}),Cs=he({name:"VValidation",props:{...Dn()},emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:l}=t
|
|
1462
|
+
const a=jn(e,"validation")
|
|
1435
1463
|
return()=>{var e
|
|
1436
1464
|
return null==(e=l.default)?void 0:e.call(l,a)}}})
|
|
1437
|
-
var
|
|
1438
|
-
function
|
|
1439
|
-
null!=(l=e._mutate)&&l[t.instance.$.uid]&&(e._mutate[t.instance.$.uid].observer.disconnect(),delete e._mutate[t.instance.$.uid])}const
|
|
1465
|
+
var ks=Object.freeze({__proto__:null,VApp:ct,VAppBar:sl,VAppBarNavIcon:ma,VAppBarTitle:ha,VAlert:Va,VAlertTitle:ba,VAutocomplete:wo,VAvatar:wa,VBadge:xo,VBanner:Lo,VBannerActions:Co,VBannerAvatar:ko,VBannerIcon:No,VBannerText:_o,VBottomNavigation:To,VBreadcrumbs:Po,VBreadcrumbsItem:zo,VBreadcrumbsDivider:Mo,VBtn:fa,VBtnGroup:gl,VBtnToggle:xl,VCard:Go,VCardActions:Oo,VCardAvatar:Fo,VCardContent:Do,VCardHeader:jo,VCardHeaderText:Ho,VCardImg:Wo,VCardSubtitle:Uo,VCardText:Xo,VCardTitle:Yo,VCarousel:ar,VCarouselItem:nr,VCheckbox:cr,VChip:ka,VChipGroup:Ca,VCode:dr,VColorPicker:ei,VCombobox:ti,VCounter:oo,VDefaultsProvider:dt,VDialog:li,VDivider:Na,VExpansionPanels:oi,VExpansionPanel:ui,VExpansionPanelText:si,VExpansionPanelTitle:ii,VField:ao,VFieldLabel:Yn,VFileInput:ci,VFooter:di,VForm:vi,VContainer:pi,VCol:Vi,VRow:Ri,VSpacer:Li,VHover:Ti,VIcon:Ol,VComponentIcon:Al,VSvgIcon:Rl,VLigatureIcon:Ll,VClassIcon:Tl,VImg:Ut,VInput:Wn,VItemGroup:Mi,VItem:Pi,VKbd:Oi,VLabel:Xn,VLayout:Fi,VLayoutItem:Di,VLazy:ji,VList:ln,VListSubheader:Ga,VListImg:an,VListItem:Ya,VListItemAction:nn,VListItemAvatar:ja,VListItemHeader:Ha,VListItemIcon:Wa,VListItemMedia:on,VListItemSubtitle:Ua,VListItemTitle:Xa,VListGroup:Da,VLocaleProvider:Hi,VMain:Wi,VMenu:zn,VMessages:Mn,VNavigationDrawer:qi,VNoSsr:Ki,VOverlay:Ln,VPagination:Zi,VParallax:Ji,VProgressCircular:Qi,VProgressLinear:qn,VRadio:es,VRadioGroup:ts,VRangeSlider:ls,VRating:as,VResponsive:Ft,VSelect:bo,VSelectionControl:sr,VSelectionControlGroup:rr,VSheet:vr,VSlideGroupSymbol:is,VSlideGroup:ss,VSlideGroupItem:us,VSlider:yr,VSnackbar:cs,VSwitch:ds,VSystemBar:vs,VTabs:ms,VTab:fs,VTable:gs,VTextarea:hs,VTextField:io,VThemeProvider:bs,VTimeline:Vs,VTimelineItem:ws,VToolbar:rl,VToolbarTitle:Yt,VToolbarItems:ga,VTooltip:xs,VValidation:Cs,VWindow:tr,VWindowItem:lr,VDialogTransition:mt,VCarouselTransition:bt,VCarouselReverseTransition:yt,VTabTransition:Vt,VTabReverseTransition:St,VMenuTransition:wt,VFabTransition:xt,VDialogBottomTransition:Ct,VDialogTopTransition:kt,VFadeTransition:Nt,VScaleTransition:_t,VScrollXTransition:Bt,VScrollXReverseTransition:It,VScrollYTransition:$t,VScrollYReverseTransition:Et,VSlideXTransition:At,VSlideXReverseTransition:Rt,VSlideYTransition:Lt,VSlideYReverseTransition:Tt,VExpandTransition:zt,VExpandXTransition:Mt})
|
|
1466
|
+
function Ns(e,t){var l
|
|
1467
|
+
null!=(l=e._mutate)&&l[t.instance.$.uid]&&(e._mutate[t.instance.$.uid].observer.disconnect(),delete e._mutate[t.instance.$.uid])}const _s={mounted:function(e,t){var l,a,n,o
|
|
1440
1468
|
const r=t.modifiers||{},i=t.value,{once:s,immediate:u,...c}=r,d=!Object.keys(c).length,{handler:v,options:p}="object"==typeof i?i:{handler:i,options:{attributes:null!=(l=null==c?void 0:c.attr)?l:d,characterData:null!=(a=null==c?void 0:c.char)?a:d,childList:null!=(n=null==c?void 0:c.child)?n:d,subtree:null!=(o=null==c?void 0:c.sub)?o:d}},f=new MutationObserver((function(){let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0
|
|
1441
|
-
null==v||v(l,a),s&&
|
|
1442
|
-
u&&(null==v||v([],f)),e._mutate=Object(e._mutate),e._mutate[t.instance.$.uid]={observer:f},f.observe(e,p)},unmounted:
|
|
1443
|
-
const
|
|
1469
|
+
null==v||v(l,a),s&&Ns(e,t)}))
|
|
1470
|
+
u&&(null==v||v([],f)),e._mutate=Object(e._mutate),e._mutate[t.instance.$.uid]={observer:f},f.observe(e,p)},unmounted:Ns}
|
|
1471
|
+
const Bs={mounted:function(e,t){var l,a
|
|
1444
1472
|
const n=t.value,o={passive:!(null!=(l=t.modifiers)&&l.active)}
|
|
1445
1473
|
window.addEventListener("resize",n,o),e._onResize=Object(e._onResize),e._onResize[t.instance.$.uid]={handler:n,options:o},null!=(a=t.modifiers)&&a.quiet||n()},unmounted:function(e,t){var l
|
|
1446
1474
|
if(null==(l=e._onResize)||!l[t.instance.$.uid])return
|
|
1447
1475
|
const{handler:a,options:n}=e._onResize[t.instance.$.uid]
|
|
1448
1476
|
window.removeEventListener("resize",a,n),delete e._onResize[t.instance.$.uid]}}
|
|
1449
|
-
function
|
|
1477
|
+
function Is(e,t){var l
|
|
1450
1478
|
const{self:a=!1}=null!=(l=t.modifiers)?l:{},n=t.value,o="object"==typeof n&&n.options||{passive:!0},r="function"==typeof n||"handleEvent"in n?n:n.handler,i=a?e:t.arg?document.querySelector(t.arg):window
|
|
1451
|
-
i&&(i.addEventListener("scroll",r,o),e._onScroll=Object(e._onScroll),e._onScroll[t.instance.$.uid]={handler:r,options:o,target:a?void 0:i})}function
|
|
1479
|
+
i&&(i.addEventListener("scroll",r,o),e._onScroll=Object(e._onScroll),e._onScroll[t.instance.$.uid]={handler:r,options:o,target:a?void 0:i})}function $s(e,t){var l
|
|
1452
1480
|
if(null==(l=e._onScroll)||!l[t.instance.$.uid])return
|
|
1453
1481
|
const{handler:a,options:n,target:o=e}=e._onScroll[t.instance.$.uid]
|
|
1454
|
-
o.removeEventListener("scroll",a,n),delete e._onScroll[t.instance.$.uid]}const
|
|
1455
|
-
var
|
|
1456
|
-
const
|
|
1457
|
-
const l=l=>{const{aliases:a={},components:n={},directives:o={}
|
|
1482
|
+
o.removeEventListener("scroll",a,n),delete e._onScroll[t.instance.$.uid]}const Es={mounted:Is,unmounted:$s,updated:function(e,t){t.value!==t.oldValue&&($s(e,t),Is(e,t))}}
|
|
1483
|
+
var As=Object.freeze({__proto__:null,ClickOutside:An,Intersect:jt,Mutate:_s,Resize:Bs,Ripple:pa,Scroll:Es,Touch:Jo})
|
|
1484
|
+
const Rs=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|
1485
|
+
const l=l=>{const{aliases:a={},components:n={},directives:o={}}=e
|
|
1458
1486
|
for(const e in o)l.directive(e,o[e])
|
|
1459
1487
|
for(const e in n)l.component(e,n[e])
|
|
1460
|
-
for(const e in a)l.component(e,
|
|
1461
|
-
|
|
1462
|
-
const{adapter:i,rootInstance:s}=eo(l,null==e?void 0:e.locale)
|
|
1463
|
-
function u(e){var t,l,a
|
|
1488
|
+
for(const e in a)l.component(e,he({...a[e],name:e}))
|
|
1489
|
+
function r(e){var t,l,a
|
|
1464
1490
|
const n=this.$,o=null!=(t=null==(l=n.parent)?void 0:l.provides)?t:null==(a=n.vnode.appContext)?void 0:a.provides
|
|
1465
|
-
if(o&&e in o)return o[e]}l.provide(
|
|
1491
|
+
if(o&&e in o)return o[e]}l.provide(ve,pe(e.defaults)),l.provide(Bo,Ao(e.display)),l.provide(De,We(l,e.theme)),l.provide($l,Ml(e.icons)),l.provide(so,vo(l,e.locale)),l.mixin({computed:{$vuetify(){return t.reactive({defaults:r.call(this,ve),display:r.call(this,Bo),theme:r.call(this,De),icons:r.call(this,$l),locale:r.call(this,so),rtl:r.call(this,rt)})}}})}
|
|
1466
1492
|
return{install:l}}
|
|
1467
|
-
e.components=
|
|
1468
|
-
return
|
|
1493
|
+
e.components=ks,e.createVuetify=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|
1494
|
+
return Rs({components:ks,directives:As,...e})},e.directives=As,e.provideRtl=st,e.useDisplay=Ro,e.useLayout=tt,e.useRtl=ut,e.useTheme=Xe,e.version="3.0.0-beta.3",Object.defineProperty(e,"__esModule",{value:!0})}))
|
|
1469
1495
|
//# sourceMappingURL=vuetify.min.js.map
|