@vuetify/nightly 3.0.0-beta.0 → 3.0.0-beta.13
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 +13 -2
- package/_settings.scss +2 -0
- package/_styles.scss +1 -0
- package/_tools.scss +1 -0
- package/dist/_component-variables.sass +61 -0
- package/dist/json/attributes.json +898 -526
- package/dist/json/importMap.json +156 -180
- package/dist/json/tags.json +221 -147
- package/dist/json/web-types.json +2698 -1609
- package/dist/vuetify.css +4126 -4566
- package/dist/vuetify.d.ts +13705 -11374
- package/dist/vuetify.esm.js +11107 -9293
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +11015 -9200
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +3 -3
- package/dist/vuetify.min.js +1375 -1254
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.ts +171 -0
- package/lib/blueprints/index.mjs +4 -0
- package/lib/blueprints/index.mjs.map +1 -0
- package/lib/blueprints/md1.d.ts +167 -0
- package/lib/blueprints/md1.mjs +63 -0
- package/lib/blueprints/md1.mjs.map +1 -0
- package/lib/blueprints/md2.d.ts +167 -0
- package/lib/blueprints/md2.mjs +60 -0
- package/lib/blueprints/md2.mjs.map +1 -0
- package/lib/blueprints/md3.d.ts +167 -0
- package/lib/blueprints/md3.mjs +74 -0
- package/lib/blueprints/md3.mjs.map +1 -0
- package/lib/components/VAlert/VAlert.css +36 -19
- package/lib/components/VAlert/VAlert.mjs +69 -40
- package/lib/components/VAlert/VAlert.mjs.map +1 -1
- package/lib/components/VAlert/VAlert.sass +26 -11
- package/lib/components/VAlert/VAlertTitle.mjs +1 -0
- package/lib/components/VAlert/VAlertTitle.mjs.map +1 -1
- package/lib/components/VAlert/_variables.scss +14 -7
- package/lib/components/VAlert/index.d.ts +185 -0
- package/lib/components/VAlert/index.mjs.map +1 -1
- package/lib/components/VApp/VApp.css +2 -15
- package/lib/components/VApp/VApp.mjs +3 -4
- package/lib/components/VApp/VApp.mjs.map +1 -1
- package/lib/components/VApp/VApp.sass +11 -20
- package/lib/components/VApp/index.d.ts +83 -0
- package/lib/components/VApp/index.mjs.map +1 -1
- package/lib/components/VApp/variables.scss +6 -0
- package/lib/components/VAppBar/VAppBar.css +4 -1
- package/lib/components/VAppBar/VAppBar.mjs +15 -10
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBar.sass +3 -1
- package/lib/components/VAppBar/VAppBarNavIcon.mjs +11 -14
- package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBarTitle.mjs +7 -4
- package/lib/components/VAppBar/VAppBarTitle.mjs.map +1 -1
- package/lib/components/VAppBar/_variables.scss +2 -0
- package/lib/components/VAppBar/index.d.ts +156 -0
- package/lib/components/VAppBar/index.mjs.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.css +11 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs +142 -105
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.sass +10 -2
- package/lib/components/VAutocomplete/_variables.scss +1 -0
- package/lib/components/VAutocomplete/index.d.ts +1569 -0
- package/lib/components/VAutocomplete/index.mjs.map +1 -1
- package/lib/components/VAvatar/VAvatar.css +48 -3
- package/lib/components/VAvatar/VAvatar.mjs +29 -23
- package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
- package/lib/components/VAvatar/VAvatar.sass +10 -3
- package/lib/components/VAvatar/_mixins.scss +0 -1
- package/lib/components/VAvatar/_variables.scss +9 -4
- package/lib/components/VAvatar/index.d.ts +80 -0
- package/lib/components/VAvatar/index.mjs.map +1 -1
- package/lib/components/VBadge/VBadge.css +3 -6
- package/lib/components/VBadge/VBadge.mjs +20 -49
- package/lib/components/VBadge/VBadge.mjs.map +1 -1
- package/lib/components/VBadge/VBadge.sass +2 -5
- package/lib/components/VBadge/_variables.scss +3 -4
- package/lib/components/VBadge/index.d.ts +123 -0
- package/lib/components/VBadge/index.mjs.map +1 -1
- package/lib/components/VBanner/VBanner.css +81 -57
- package/lib/components/VBanner/VBanner.mjs +45 -37
- package/lib/components/VBanner/VBanner.mjs.map +1 -1
- package/lib/components/VBanner/VBanner.sass +60 -55
- package/lib/components/VBanner/VBannerActions.mjs +34 -2
- package/lib/components/VBanner/VBannerActions.mjs.map +1 -1
- package/lib/components/VBanner/VBannerText.mjs.map +1 -1
- package/lib/components/VBanner/_variables.scss +10 -14
- package/lib/components/VBanner/index.d.ts +122 -0
- package/lib/components/VBanner/index.mjs.map +1 -1
- package/lib/components/VBottomNavigation/VBottomNavigation.css +6 -13
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs +5 -4
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
- package/lib/components/VBottomNavigation/VBottomNavigation.sass +6 -14
- package/lib/components/VBottomNavigation/_variables.scss +7 -8
- package/lib/components/VBottomNavigation/index.d.ts +143 -0
- 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.css +13 -6
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +35 -21
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbs.sass +8 -4
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +15 -17
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/_variables.scss +2 -1
- package/lib/components/VBreadcrumbs/index.d.ts +301 -0
- package/lib/components/VBreadcrumbs/index.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.css +141 -28
- package/lib/components/VBtn/VBtn.mjs +109 -34
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.sass +119 -16
- package/lib/components/VBtn/_variables.scss +10 -1
- package/lib/components/VBtn/index.d.ts +210 -0
- package/lib/components/VBtn/index.mjs.map +1 -1
- package/lib/components/VBtnGroup/VBtnGroup.css +16 -7
- package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -1
- package/lib/components/VBtnGroup/VBtnGroup.sass +14 -7
- package/lib/components/VBtnGroup/_variables.scss +2 -0
- package/lib/components/VBtnGroup/index.d.ts +65 -0
- package/lib/components/VBtnGroup/index.mjs.map +1 -1
- package/lib/components/VBtnToggle/VBtnToggle.mjs +1 -3
- package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
- package/lib/components/VBtnToggle/VBtnToggle.sass +0 -1
- package/lib/components/VBtnToggle/_variables.scss +1 -0
- package/lib/components/VBtnToggle/index.d.ts +175 -0
- 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 +2 -6
- 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 +108 -84
- package/lib/components/VCard/VCard.mjs +72 -73
- package/lib/components/VCard/VCard.mjs.map +1 -1
- package/lib/components/VCard/VCard.sass +76 -61
- package/lib/components/VCard/VCardActions.mjs +2 -3
- package/lib/components/VCard/VCardActions.mjs.map +1 -1
- package/lib/components/VCard/VCardItem.mjs +88 -0
- package/lib/components/VCard/VCardItem.mjs.map +1 -0
- 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/_variables.scss +45 -23
- package/lib/components/VCard/index.d.ts +230 -0
- package/lib/components/VCard/index.mjs +1 -4
- package/lib/components/VCard/index.mjs.map +1 -1
- package/lib/components/VCarousel/VCarousel.mjs +9 -7
- package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/lib/components/VCarousel/VCarousel.sass +0 -1
- package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
- package/lib/components/VCarousel/_variables.scss +1 -0
- package/lib/components/VCarousel/index.d.ts +80 -0
- package/lib/components/VCarousel/index.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckbox.mjs +15 -47
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckbox.sass +0 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs +67 -0
- package/lib/components/VCheckbox/VCheckboxBtn.mjs.map +1 -0
- package/lib/components/VCheckbox/index.d.ts +291 -0
- package/lib/components/VCheckbox/index.mjs +1 -0
- package/lib/components/VCheckbox/index.mjs.map +1 -1
- package/lib/components/VChip/VChip.css +147 -68
- package/lib/components/VChip/VChip.mjs +83 -43
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/VChip.sass +9 -1
- package/lib/components/VChip/_mixins.scss +26 -6
- package/lib/components/VChip/_variables.scss +4 -5
- package/lib/components/VChip/index.d.ts +195 -0
- package/lib/components/VChip/index.mjs.map +1 -1
- package/lib/components/VChipGroup/VChipGroup.mjs +5 -4
- package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
- package/lib/components/VChipGroup/VChipGroup.sass +1 -1
- package/lib/components/VChipGroup/_variables.scss +1 -1
- package/lib/components/VChipGroup/index.d.ts +89 -0
- package/lib/components/VChipGroup/index.mjs.map +1 -1
- package/lib/components/VCode/VCode.sass +1 -2
- package/lib/components/VCode/_variables.scss +1 -1
- package/lib/components/VCode/index.d.ts +19 -0
- package/lib/components/VCode/index.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPicker.css +3 -3
- package/lib/components/VColorPicker/VColorPicker.mjs +55 -53
- package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPicker.sass +0 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.css +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs +10 -9
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.sass +0 -1
- package/lib/components/VColorPicker/VColorPickerEdit.mjs +4 -3
- package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerEdit.sass +0 -1
- package/lib/components/VColorPicker/VColorPickerPreview.mjs +14 -21
- package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerPreview.sass +0 -1
- package/lib/components/VColorPicker/VColorPickerSwatches.mjs +6 -5
- package/lib/components/VColorPicker/VColorPickerSwatches.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerSwatches.sass +0 -1
- package/lib/components/VColorPicker/_variables.scss +17 -10
- package/lib/components/VColorPicker/index.d.ts +116 -0
- package/lib/components/VColorPicker/index.mjs.map +1 -1
- package/lib/components/VColorPicker/util/index.mjs +1 -3
- package/lib/components/VColorPicker/util/index.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.css +11 -1
- package/lib/components/VCombobox/VCombobox.mjs +145 -116
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.sass +10 -2
- package/lib/components/VCombobox/_variables.scss +1 -0
- package/lib/components/VCombobox/index.d.ts +1590 -0
- package/lib/components/VCombobox/index.mjs.map +1 -1
- package/lib/components/VCounter/VCounter.mjs +16 -16
- package/lib/components/VCounter/VCounter.mjs.map +1 -1
- package/lib/components/VCounter/VCounter.sass +1 -2
- package/lib/components/VCounter/_variables.scss +2 -1
- package/lib/components/VCounter/index.d.ts +223 -0
- 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 +11 -15
- 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 +1 -3
- 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.d.ts +26 -0
- package/lib/components/VDefaultsProvider/index.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.css +36 -17
- package/lib/components/VDialog/VDialog.mjs +46 -38
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.sass +30 -15
- package/lib/components/VDialog/_variables.scss +3 -8
- package/lib/components/VDialog/index.d.ts +859 -0
- package/lib/components/VDialog/index.mjs.map +1 -1
- package/lib/components/VDivider/VDivider.mjs +16 -17
- package/lib/components/VDivider/VDivider.mjs.map +1 -1
- package/lib/components/VDivider/VDivider.sass +0 -1
- package/lib/components/VDivider/_variables.scss +3 -1
- package/lib/components/VDivider/index.d.ts +22 -0
- package/lib/components/VDivider/index.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanel.css +15 -7
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs +15 -6
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanel.sass +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +14 -11
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs +4 -0
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
- package/lib/components/VExpansionPanel/_variables.scss +15 -10
- package/lib/components/VExpansionPanel/index.d.ts +206 -0
- package/lib/components/VExpansionPanel/index.mjs.map +1 -1
- package/lib/components/VField/VField.css +63 -41
- package/lib/components/VField/VField.mjs +52 -36
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VField.sass +49 -35
- package/lib/components/VField/VFieldLabel.mjs +8 -9
- package/lib/components/VField/VFieldLabel.mjs.map +1 -1
- package/lib/components/VField/_variables.scss +6 -5
- package/lib/components/VField/index.d.ts +332 -0
- package/lib/components/VField/index.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.css +3 -3
- package/lib/components/VFileInput/VFileInput.mjs +48 -47
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.sass +3 -4
- package/lib/components/VFileInput/index.d.ts +236 -0
- package/lib/components/VFileInput/index.mjs.map +1 -1
- package/lib/components/VFooter/VFooter.css +8 -1
- package/lib/components/VFooter/VFooter.mjs +36 -18
- package/lib/components/VFooter/VFooter.mjs.map +1 -1
- package/lib/components/VFooter/VFooter.sass +1 -2
- package/lib/components/VFooter/_variables.scss +13 -1
- package/lib/components/VFooter/index.d.ts +76 -0
- package/lib/components/VFooter/index.mjs.map +1 -1
- package/lib/components/VForm/VForm.mjs +27 -13
- package/lib/components/VForm/VForm.mjs.map +1 -1
- package/lib/components/VForm/index.d.ts +72 -0
- package/lib/components/VForm/index.mjs.map +1 -1
- package/lib/components/VGrid/VCol.mjs +2 -1
- package/lib/components/VGrid/VCol.mjs.map +1 -1
- package/lib/components/VGrid/VContainer.mjs +4 -3
- package/lib/components/VGrid/VContainer.mjs.map +1 -1
- package/lib/components/VGrid/VRow.mjs +8 -3
- package/lib/components/VGrid/VRow.mjs.map +1 -1
- package/lib/components/VGrid/VSpacer.mjs.map +1 -1
- package/lib/components/VGrid/index.d.ts +154 -0
- package/lib/components/VGrid/index.mjs.map +1 -1
- package/lib/components/VHover/VHover.mjs.map +1 -1
- package/lib/components/VHover/index.d.ts +30 -0
- package/lib/components/VHover/index.mjs.map +1 -1
- package/lib/components/VIcon/VIcon.css +13 -16
- package/lib/components/VIcon/VIcon.mjs +34 -33
- package/lib/components/VIcon/VIcon.mjs.map +1 -1
- package/lib/components/VIcon/VIcon.sass +8 -16
- package/lib/components/VIcon/_variables.scss +2 -5
- package/lib/components/VIcon/index.d.ts +124 -0
- package/lib/components/VIcon/index.mjs.map +1 -1
- package/lib/components/VImg/VImg.mjs +29 -26
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VImg/VImg.sass +0 -1
- package/lib/components/VImg/index.d.ts +89 -0
- package/lib/components/VImg/index.mjs.map +1 -1
- package/lib/components/VInput/InputIcon.mjs +33 -0
- package/lib/components/VInput/InputIcon.mjs.map +1 -0
- package/lib/components/VInput/VInput.css +5 -2
- package/lib/components/VInput/VInput.mjs +26 -18
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/VInput.sass +5 -3
- package/lib/components/VInput/_variables.scss +4 -1
- package/lib/components/VInput/index.d.ts +325 -0
- package/lib/components/VInput/index.mjs.map +1 -1
- package/lib/components/VItemGroup/VItem.mjs +3 -0
- package/lib/components/VItemGroup/VItem.mjs.map +1 -1
- package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
- package/lib/components/VItemGroup/VItemGroup.sass +0 -1
- package/lib/components/VItemGroup/index.d.ts +210 -0
- package/lib/components/VItemGroup/index.mjs.map +1 -1
- package/lib/components/VKbd/VKbd.css +1 -1
- package/lib/components/VKbd/VKbd.sass +0 -1
- package/lib/components/VKbd/_variables.scss +1 -1
- package/lib/components/VKbd/index.d.ts +19 -0
- package/lib/components/VKbd/index.mjs.map +1 -1
- package/lib/components/VLabel/VLabel.css +4 -1
- package/lib/components/VLabel/VLabel.mjs +8 -4
- package/lib/components/VLabel/VLabel.mjs.map +1 -1
- package/lib/components/VLabel/VLabel.sass +3 -2
- package/lib/components/VLabel/_variables.scss +1 -0
- package/lib/components/VLabel/index.d.ts +16 -0
- package/lib/components/VLabel/index.mjs.map +1 -1
- package/lib/components/VLayout/VLayout.css +0 -2
- package/lib/components/VLayout/VLayout.mjs.map +1 -1
- package/lib/components/VLayout/VLayout.sass +0 -2
- package/lib/components/VLayout/VLayoutItem.mjs +1 -1
- package/lib/components/VLayout/VLayoutItem.mjs.map +1 -1
- package/lib/components/VLayout/index.d.ts +75 -0
- package/lib/components/VLayout/index.mjs.map +1 -1
- package/lib/components/VLazy/VLazy.mjs +5 -3
- package/lib/components/VLazy/VLazy.mjs.map +1 -1
- package/lib/components/VLazy/index.d.ts +85 -0
- package/lib/components/VLazy/index.mjs.map +1 -1
- package/lib/components/VList/VList.css +14 -16
- package/lib/components/VList/VList.mjs +92 -59
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VList.sass +9 -6
- package/lib/components/VList/VListChildren.mjs +69 -13
- package/lib/components/VList/VListChildren.mjs.map +1 -1
- package/lib/components/VList/VListGroup.mjs +52 -19
- package/lib/components/VList/VListGroup.mjs.map +1 -1
- package/lib/components/VList/VListImg.mjs.map +1 -1
- package/lib/components/VList/VListItem.css +181 -73
- package/lib/components/VList/VListItem.mjs +124 -82
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItem.sass +125 -49
- package/lib/components/VList/VListItemAction.mjs +28 -0
- package/lib/components/VList/VListItemAction.mjs.map +1 -0
- package/lib/components/VList/VListItemMedia.mjs +8 -7
- 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 +8 -7
- package/lib/components/VList/VListSubheader.mjs.map +1 -1
- package/lib/components/VList/_variables.scss +24 -9
- package/lib/components/VList/index.d.ts +1250 -0
- package/lib/components/VList/index.mjs +3 -4
- package/lib/components/VList/index.mjs.map +1 -1
- package/lib/components/VList/list.mjs.map +1 -1
- package/lib/components/VLocaleProvider/VLocaleProvider.mjs +5 -3
- package/lib/components/VLocaleProvider/VLocaleProvider.mjs.map +1 -1
- package/lib/components/VLocaleProvider/index.d.ts +23 -0
- package/lib/components/VLocaleProvider/index.mjs.map +1 -1
- package/lib/components/VMain/VMain.css +20 -9
- package/lib/components/VMain/VMain.mjs +17 -11
- package/lib/components/VMain/VMain.mjs.map +1 -1
- package/lib/components/VMain/VMain.sass +17 -11
- package/lib/components/VMain/_variables.scss +1 -1
- package/lib/components/VMain/index.d.ts +26 -0
- package/lib/components/VMain/index.mjs.map +1 -1
- package/lib/components/VMenu/VMenu.css +3 -13
- package/lib/components/VMenu/VMenu.mjs +81 -34
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/VMenu.sass +3 -7
- package/lib/components/VMenu/_variables.scss +0 -1
- package/lib/components/VMenu/index.d.ts +817 -0
- package/lib/components/VMenu/index.mjs.map +1 -1
- package/lib/components/VMenu/shared.mjs +2 -0
- package/lib/components/VMenu/shared.mjs.map +1 -0
- package/lib/components/VMessages/VMessages.mjs +5 -3
- package/lib/components/VMessages/VMessages.mjs.map +1 -1
- package/lib/components/VMessages/VMessages.sass +0 -1
- package/lib/components/VMessages/_variables.scss +1 -1
- package/lib/components/VMessages/index.d.ts +234 -0
- package/lib/components/VMessages/index.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +14 -19
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +60 -21
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.sass +16 -22
- package/lib/components/VNavigationDrawer/_variables.scss +4 -2
- package/lib/components/VNavigationDrawer/index.d.ts +148 -0
- package/lib/components/VNavigationDrawer/index.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/sticky.mjs +70 -0
- package/lib/components/VNavigationDrawer/sticky.mjs.map +1 -0
- package/lib/components/VNavigationDrawer/touch.mjs +5 -2
- package/lib/components/VNavigationDrawer/touch.mjs.map +1 -1
- package/lib/components/VNoSsr/VNoSsr.mjs.map +1 -1
- package/lib/components/VNoSsr/index.d.ts +7 -0
- 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 +7 -0
- package/lib/components/VOverlay/VOverlay.mjs +73 -45
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/VOverlay.sass +8 -1
- package/lib/components/VOverlay/_variables.scss +1 -1
- package/lib/components/VOverlay/index.d.ts +579 -0
- package/lib/components/VOverlay/index.mjs.map +1 -1
- package/lib/components/VOverlay/locationStrategies.mjs +404 -0
- package/lib/components/VOverlay/locationStrategies.mjs.map +1 -0
- package/lib/components/VOverlay/requestNewFrame.mjs.map +1 -1
- package/lib/components/VOverlay/scrollStrategies.mjs +19 -13
- package/lib/components/VOverlay/scrollStrategies.mjs.map +1 -1
- package/lib/components/VOverlay/useActivator.mjs +86 -17
- package/lib/components/VOverlay/useActivator.mjs.map +1 -1
- package/lib/components/VOverlay/util/point.mjs +3 -3
- package/lib/components/VOverlay/util/point.mjs.map +1 -1
- package/lib/components/VPagination/VPagination.mjs +63 -44
- package/lib/components/VPagination/VPagination.mjs.map +1 -1
- package/lib/components/VPagination/VPagination.sass +0 -1
- package/lib/components/VPagination/index.d.ts +247 -0
- package/lib/components/VPagination/index.mjs.map +1 -1
- package/lib/components/VParallax/VParallax.mjs +30 -16
- package/lib/components/VParallax/VParallax.mjs.map +1 -1
- package/lib/components/VParallax/index.d.ts +18 -0
- 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 +6 -5
- package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
- package/lib/components/VProgressCircular/VProgressCircular.sass +0 -1
- package/lib/components/VProgressCircular/_variables.scss +2 -0
- package/lib/components/VProgressCircular/index.d.ts +68 -0
- package/lib/components/VProgressCircular/index.mjs.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.css +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.mjs +5 -3
- package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.sass +0 -1
- package/lib/components/VProgressLinear/_variables.scss +1 -0
- package/lib/components/VProgressLinear/index.d.ts +101 -0
- package/lib/components/VProgressLinear/index.mjs.map +1 -1
- package/lib/components/VRadio/VRadio.mjs +9 -17
- package/lib/components/VRadio/VRadio.mjs.map +1 -1
- package/lib/components/VRadio/index.d.ts +103 -0
- package/lib/components/VRadio/index.mjs.map +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.css +2 -3
- package/lib/components/VRadioGroup/VRadioGroup.mjs +32 -9
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.sass +6 -4
- package/lib/components/VRadioGroup/_variables.scss +2 -4
- package/lib/components/VRadioGroup/index.d.ts +186 -0
- package/lib/components/VRadioGroup/index.mjs.map +1 -1
- package/lib/components/VRangeSlider/VRangeSlider.mjs +27 -15
- package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
- package/lib/components/VRangeSlider/index.d.ts +242 -0
- package/lib/components/VRangeSlider/index.mjs.map +1 -1
- package/lib/components/VRating/VRating.css +2 -2
- package/lib/components/VRating/VRating.mjs +24 -18
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VRating/VRating.sass +4 -3
- package/lib/components/VRating/index.d.ts +356 -0
- package/lib/components/VRating/index.mjs.map +1 -1
- package/lib/components/VResponsive/VResponsive.mjs +7 -6
- package/lib/components/VResponsive/VResponsive.mjs.map +1 -1
- package/lib/components/VResponsive/index.d.ts +23 -0
- package/lib/components/VResponsive/index.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.css +18 -2
- package/lib/components/VSelect/VSelect.mjs +145 -112
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.sass +20 -3
- package/lib/components/VSelect/_variables.scss +1 -0
- package/lib/components/VSelect/index.d.ts +1521 -0
- package/lib/components/VSelect/index.mjs.map +1 -1
- package/lib/components/VSelectionControl/VSelectionControl.css +1 -0
- package/lib/components/VSelectionControl/VSelectionControl.mjs +33 -25
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControl/VSelectionControl.sass +1 -1
- package/lib/components/VSelectionControl/_variables.scss +1 -0
- package/lib/components/VSelectionControl/index.d.ts +275 -0
- package/lib/components/VSelectionControl/index.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +5 -0
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +10 -7
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.sass +6 -6
- package/lib/components/VSelectionControlGroup/_variables.scss +1 -4
- package/lib/components/VSelectionControlGroup/index.d.ts +47 -0
- package/lib/components/VSelectionControlGroup/index.mjs.map +1 -1
- package/lib/components/VSheet/VSheet.css +1 -1
- package/lib/components/VSheet/VSheet.mjs +10 -6
- package/lib/components/VSheet/VSheet.mjs.map +1 -1
- package/lib/components/VSheet/VSheet.sass +0 -1
- package/lib/components/VSheet/_variables.scss +3 -2
- package/lib/components/VSheet/index.d.ts +68 -0
- 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.css +0 -5
- package/lib/components/VSlideGroup/VSlideGroup.mjs +105 -74
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroup.sass +0 -5
- package/lib/components/VSlideGroup/VSlideGroupItem.mjs +10 -4
- package/lib/components/VSlideGroup/VSlideGroupItem.mjs.map +1 -1
- package/lib/components/VSlideGroup/_variables.scss +0 -5
- package/lib/components/VSlideGroup/helpers.mjs +4 -15
- package/lib/components/VSlideGroup/helpers.mjs.map +1 -1
- package/lib/components/VSlideGroup/index.d.ts +151 -0
- package/lib/components/VSlideGroup/index.mjs +2 -2
- package/lib/components/VSlideGroup/index.mjs.map +1 -1
- package/lib/components/VSlider/VSlider.css +14 -4
- package/lib/components/VSlider/VSlider.mjs +17 -9
- package/lib/components/VSlider/VSlider.mjs.map +1 -1
- package/lib/components/VSlider/VSlider.sass +17 -9
- package/lib/components/VSlider/VSliderThumb.css +10 -6
- package/lib/components/VSlider/VSliderThumb.mjs +9 -8
- package/lib/components/VSlider/VSliderThumb.mjs.map +1 -1
- package/lib/components/VSlider/VSliderThumb.sass +11 -10
- package/lib/components/VSlider/VSliderTrack.css +25 -25
- package/lib/components/VSlider/VSliderTrack.mjs +22 -16
- package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
- package/lib/components/VSlider/VSliderTrack.sass +20 -22
- package/lib/components/VSlider/_variables.scss +7 -4
- package/lib/components/VSlider/index.d.ts +239 -0
- package/lib/components/VSlider/index.mjs.map +1 -1
- package/lib/components/VSlider/slider.mjs +15 -25
- package/lib/components/VSlider/slider.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.css +22 -40
- package/lib/components/VSnackbar/VSnackbar.mjs +70 -50
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.sass +15 -35
- package/lib/components/VSnackbar/_variables.scss +3 -7
- package/lib/components/VSnackbar/index.d.ts +892 -0
- 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.css +9 -2
- package/lib/components/VSwitch/VSwitch.mjs +15 -6
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/VSwitch.sass +6 -1
- package/lib/components/VSwitch/_variables.scss +1 -0
- package/lib/components/VSwitch/index.d.ts +175 -0
- package/lib/components/VSwitch/index.mjs.map +1 -1
- package/lib/components/VSystemBar/VSystemBar.css +1 -6
- package/lib/components/VSystemBar/VSystemBar.mjs +22 -17
- package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
- package/lib/components/VSystemBar/VSystemBar.sass +0 -6
- package/lib/components/VSystemBar/_variables.scss +2 -4
- package/lib/components/VSystemBar/index.d.ts +61 -0
- package/lib/components/VSystemBar/index.mjs.map +1 -1
- package/lib/components/VTable/VTable.css +1 -0
- package/lib/components/VTable/VTable.mjs +9 -8
- package/lib/components/VTable/VTable.mjs.map +1 -1
- package/lib/components/VTable/VTable.sass +1 -1
- package/lib/components/VTable/_variables.scss +2 -0
- package/lib/components/VTable/index.d.ts +39 -0
- package/lib/components/VTable/index.mjs.map +1 -1
- package/lib/components/VTabs/VTab.css +6 -3
- package/lib/components/VTabs/VTab.mjs +34 -36
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTabs/VTab.sass +7 -4
- package/lib/components/VTabs/VTabs.css +16 -13
- package/lib/components/VTabs/VTabs.mjs +17 -15
- package/lib/components/VTabs/VTabs.mjs.map +1 -1
- package/lib/components/VTabs/VTabs.sass +11 -8
- package/lib/components/VTabs/_variables.scss +2 -0
- package/lib/components/VTabs/index.d.ts +178 -0
- package/lib/components/VTabs/index.mjs.map +1 -1
- package/lib/components/VTabs/shared.mjs +2 -0
- package/lib/components/VTabs/shared.mjs.map +1 -0
- package/lib/components/VTextField/VTextField.css +5 -5
- package/lib/components/VTextField/VTextField.mjs +42 -37
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/VTextField.sass +5 -7
- package/lib/components/VTextField/_variables.scss +1 -1
- package/lib/components/VTextField/index.d.ts +582 -0
- package/lib/components/VTextField/index.mjs.map +1 -1
- package/lib/components/VTextarea/VTextarea.css +14 -5
- package/lib/components/VTextarea/VTextarea.mjs +47 -26
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/VTextarea.sass +18 -8
- package/lib/components/VTextarea/_variables.scss +1 -1
- package/lib/components/VTextarea/index.d.ts +218 -0
- package/lib/components/VTextarea/index.mjs.map +1 -1
- package/lib/components/VThemeProvider/VThemeProvider.mjs.map +1 -1
- package/lib/components/VThemeProvider/index.d.ts +24 -0
- 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.css +241 -55
- package/lib/components/VTimeline/VTimeline.mjs +52 -32
- package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
- package/lib/components/VTimeline/VTimeline.sass +251 -57
- package/lib/components/VTimeline/VTimelineDivider.mjs +45 -37
- package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -1
- package/lib/components/VTimeline/VTimelineItem.mjs +17 -15
- package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
- package/lib/components/VTimeline/_mixins.sass +10 -0
- package/lib/components/VTimeline/_variables.scss +16 -9
- package/lib/components/VTimeline/index.d.ts +154 -0
- package/lib/components/VTimeline/index.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbar.css +24 -33
- package/lib/components/VToolbar/VToolbar.mjs +32 -31
- package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbar.sass +17 -19
- package/lib/components/VToolbar/VToolbarItems.mjs +12 -9
- package/lib/components/VToolbar/VToolbarItems.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbarTitle.mjs.map +1 -1
- package/lib/components/VToolbar/_variables.scss +20 -8
- package/lib/components/VToolbar/index.d.ts +414 -0
- package/lib/components/VToolbar/index.mjs.map +1 -1
- package/lib/components/VTooltip/VTooltip.mjs +48 -41
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VTooltip/VTooltip.sass +0 -1
- package/lib/components/VTooltip/_variables.scss +1 -0
- package/lib/components/VTooltip/index.d.ts +799 -0
- package/lib/components/VTooltip/index.mjs.map +1 -1
- package/lib/components/VTreeview/VTreeview.mjs +1 -3
- 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.d.ts +61 -0
- 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 +7 -21
- package/lib/components/VWindow/VWindow.mjs.map +1 -1
- package/lib/components/VWindow/VWindow.sass +0 -2
- package/lib/components/VWindow/VWindowItem.mjs +21 -11
- package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
- package/lib/components/VWindow/_variables.scss +1 -0
- package/lib/components/VWindow/index.d.ts +428 -0
- package/lib/components/VWindow/index.mjs.map +1 -1
- package/lib/components/index.d.ts +14675 -12342
- package/lib/components/index.mjs.map +1 -1
- package/lib/components/transitions/createTransition.mjs.map +1 -1
- package/lib/components/transitions/dialog-transition.mjs +66 -10
- 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.d.ts +454 -0
- package/lib/components/transitions/index.mjs +0 -5
- package/lib/components/transitions/index.mjs.map +1 -1
- package/lib/composables/border.mjs +5 -6
- package/lib/composables/border.mjs.map +1 -1
- package/lib/composables/color.mjs +19 -26
- package/lib/composables/color.mjs.map +1 -1
- package/lib/composables/defaults.mjs +2 -2
- package/lib/composables/defaults.mjs.map +1 -1
- package/lib/composables/delay.mjs +1 -3
- 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 +12 -10
- package/lib/composables/display.mjs.map +1 -1
- package/lib/composables/elevation.mjs.map +1 -1
- package/lib/composables/filter.mjs +35 -17
- package/lib/composables/filter.mjs.map +1 -1
- package/lib/composables/focus.mjs.map +1 -1
- package/lib/composables/form.mjs +44 -11
- package/lib/composables/form.mjs.map +1 -1
- package/lib/composables/forwardRefs.mjs +72 -0
- package/lib/composables/forwardRefs.mjs.map +1 -0
- package/lib/composables/group.mjs +16 -12
- package/lib/composables/group.mjs.map +1 -1
- package/lib/composables/hydration.mjs.map +1 -1
- package/lib/composables/icons.mjs +16 -4
- package/lib/composables/icons.mjs.map +1 -1
- package/lib/composables/index.mjs +3 -2
- package/lib/composables/index.mjs.map +1 -1
- package/lib/composables/intersectionObserver.mjs.map +1 -1
- package/lib/composables/items.mjs +84 -0
- package/lib/composables/items.mjs.map +1 -0
- package/lib/composables/layout.mjs +24 -24
- 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 +21 -25
- package/lib/composables/locale.mjs.map +1 -1
- package/lib/composables/location.mjs +66 -0
- package/lib/composables/location.mjs.map +1 -0
- package/lib/composables/mutationObserver.mjs +4 -6
- package/lib/composables/mutationObserver.mjs.map +1 -1
- package/lib/composables/nested/nested.mjs +34 -22
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/composables/nested/openStrategies.mjs +63 -36
- package/lib/composables/nested/openStrategies.mjs.map +1 -1
- package/lib/composables/nested/selectStrategies.mjs +163 -122
- 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 +29 -10
- package/lib/composables/proxiedModel.mjs.map +1 -1
- package/lib/composables/refs.mjs.map +1 -1
- package/lib/composables/resizeObserver.mjs +1 -9
- package/lib/composables/resizeObserver.mjs.map +1 -1
- package/lib/composables/rounded.mjs.map +1 -1
- package/lib/composables/router.mjs +39 -17
- package/lib/composables/router.mjs.map +1 -1
- package/lib/composables/rtl.mjs +2 -4
- 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 +1 -3
- package/lib/composables/scroll.mjs.map +1 -1
- package/lib/composables/selectLink.mjs +19 -0
- package/lib/composables/selectLink.mjs.map +1 -0
- package/lib/composables/size.mjs +18 -14
- package/lib/composables/size.mjs.map +1 -1
- package/lib/composables/ssrBoot.mjs +3 -2
- package/lib/composables/ssrBoot.mjs.map +1 -1
- package/lib/composables/stack.mjs +37 -23
- 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 +123 -112
- 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 +1 -3
- package/lib/composables/touch.mjs.map +1 -1
- package/lib/composables/transition.mjs.map +1 -1
- package/lib/composables/validation.mjs +24 -10
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/composables/variant.mjs +7 -8
- 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 +4 -6
- package/lib/directives/mutate/index.mjs.map +1 -1
- package/lib/directives/resize/index.mjs.map +1 -1
- package/lib/directives/ripple/VRipple.sass +0 -1
- package/lib/directives/ripple/index.mjs +16 -6
- package/lib/directives/ripple/index.mjs.map +1 -1
- package/lib/directives/scroll/index.mjs +1 -3
- package/lib/directives/scroll/index.mjs.map +1 -1
- package/lib/directives/touch/index.mjs +3 -3
- package/lib/directives/touch/index.mjs.map +1 -1
- package/lib/entry-bundler.mjs +2 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +59 -47
- 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 +158 -130
- package/lib/locale/adapters/vue-i18n.d.ts +35 -0
- package/lib/locale/adapters/vue-i18n.mjs +1 -3
- package/lib/locale/adapters/vue-i18n.mjs.map +1 -1
- package/lib/locale/adapters/vue-intl.d.ts +42 -0
- package/lib/locale/adapters/vue-intl.mjs +3 -5
- package/lib/locale/adapters/vue-intl.mjs.map +1 -1
- package/lib/locale/af.mjs +5 -0
- package/lib/locale/af.mjs.map +1 -1
- package/lib/locale/ar.mjs +5 -0
- package/lib/locale/ar.mjs.map +1 -1
- package/lib/locale/az.mjs +5 -0
- package/lib/locale/az.mjs.map +1 -1
- package/lib/locale/bg.mjs +5 -0
- package/lib/locale/bg.mjs.map +1 -1
- package/lib/locale/ca.mjs +14 -9
- package/lib/locale/ca.mjs.map +1 -1
- package/lib/locale/ckb.mjs +5 -0
- package/lib/locale/ckb.mjs.map +1 -1
- package/lib/locale/cs.mjs +5 -0
- package/lib/locale/cs.mjs.map +1 -1
- package/lib/locale/da.mjs +5 -0
- package/lib/locale/da.mjs.map +1 -1
- package/lib/locale/de.mjs +5 -0
- package/lib/locale/de.mjs.map +1 -1
- package/lib/locale/el.mjs +5 -0
- package/lib/locale/el.mjs.map +1 -1
- package/lib/locale/en.mjs +5 -0
- package/lib/locale/en.mjs.map +1 -1
- package/lib/locale/es.mjs +5 -0
- package/lib/locale/es.mjs.map +1 -1
- package/lib/locale/et.mjs +5 -0
- package/lib/locale/et.mjs.map +1 -1
- package/lib/locale/fa.mjs +5 -0
- package/lib/locale/fa.mjs.map +1 -1
- package/lib/locale/fi.mjs +5 -0
- package/lib/locale/fi.mjs.map +1 -1
- package/lib/locale/fr.mjs +5 -0
- package/lib/locale/fr.mjs.map +1 -1
- package/lib/locale/he.mjs +5 -0
- package/lib/locale/he.mjs.map +1 -1
- package/lib/locale/hr.mjs +5 -0
- package/lib/locale/hr.mjs.map +1 -1
- package/lib/locale/hu.mjs +5 -0
- package/lib/locale/hu.mjs.map +1 -1
- package/lib/locale/id.mjs +5 -0
- package/lib/locale/id.mjs.map +1 -1
- package/lib/locale/index.d.ts +210 -0
- package/lib/locale/index.mjs.map +1 -1
- package/lib/locale/it.mjs +5 -0
- package/lib/locale/it.mjs.map +1 -1
- package/lib/locale/ja.mjs +5 -0
- package/lib/locale/ja.mjs.map +1 -1
- package/lib/locale/ko.mjs +5 -0
- package/lib/locale/ko.mjs.map +1 -1
- package/lib/locale/lt.mjs +5 -0
- package/lib/locale/lt.mjs.map +1 -1
- package/lib/locale/lv.mjs +5 -0
- package/lib/locale/lv.mjs.map +1 -1
- package/lib/locale/nl.mjs +5 -0
- package/lib/locale/nl.mjs.map +1 -1
- package/lib/locale/no.mjs +5 -0
- package/lib/locale/no.mjs.map +1 -1
- package/lib/locale/pl.mjs +5 -0
- package/lib/locale/pl.mjs.map +1 -1
- package/lib/locale/pt.mjs +5 -0
- package/lib/locale/pt.mjs.map +1 -1
- package/lib/locale/ro.mjs +5 -0
- package/lib/locale/ro.mjs.map +1 -1
- package/lib/locale/ru.mjs +5 -0
- package/lib/locale/ru.mjs.map +1 -1
- package/lib/locale/sk.mjs +5 -0
- package/lib/locale/sk.mjs.map +1 -1
- package/lib/locale/sl.mjs +5 -0
- package/lib/locale/sl.mjs.map +1 -1
- package/lib/locale/sr-Cyrl.mjs +5 -0
- package/lib/locale/sr-Cyrl.mjs.map +1 -1
- package/lib/locale/sr-Latn.mjs +5 -0
- package/lib/locale/sr-Latn.mjs.map +1 -1
- package/lib/locale/sv.mjs +5 -0
- package/lib/locale/sv.mjs.map +1 -1
- package/lib/locale/th.mjs +5 -0
- package/lib/locale/th.mjs.map +1 -1
- package/lib/locale/tr.mjs +5 -0
- package/lib/locale/tr.mjs.map +1 -1
- package/lib/locale/uk.mjs +5 -0
- package/lib/locale/uk.mjs.map +1 -1
- package/lib/locale/vi.mjs +5 -0
- package/lib/locale/vi.mjs.map +1 -1
- package/lib/locale/zh-Hans.mjs +5 -0
- package/lib/locale/zh-Hans.mjs.map +1 -1
- package/lib/locale/zh-Hant.mjs +5 -0
- package/lib/locale/zh-Hant.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/generic/_colors.scss +17 -10
- package/lib/styles/generic/_transitions.scss +13 -77
- package/lib/styles/main.css +1677 -1919
- package/lib/styles/settings/_colors.scss +84 -84
- package/lib/styles/settings/_elevations.scss +3 -3
- package/lib/styles/settings/_utilities.scss +74 -35
- package/lib/styles/tools/_states.sass +18 -5
- package/lib/styles/tools/_utilities.sass +1 -1
- package/lib/styles/tools/_variant.sass +6 -7
- package/lib/styles/utilities/_index.sass +0 -1
- package/lib/util/anchor.mjs +56 -0
- package/lib/util/anchor.mjs.map +1 -0
- package/lib/util/animation.mjs +18 -2
- package/lib/util/animation.mjs.map +1 -1
- package/lib/util/box.mjs +12 -0
- 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 +2 -2
- package/lib/util/colorUtils.mjs.map +1 -1
- package/lib/util/colors.mjs +1 -1
- package/lib/util/colors.mjs.map +1 -1
- package/lib/util/console.mjs.map +1 -1
- package/lib/util/createSimpleFunctional.mjs +1 -1
- package/lib/util/createSimpleFunctional.mjs.map +1 -1
- package/lib/util/dateTimeUtils.mjs.map +1 -1
- package/lib/util/defineComponent.mjs +37 -11
- 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 +22 -4
- package/lib/util/getCurrentInstance.mjs.map +1 -1
- package/lib/util/getScrollParent.mjs +3 -1
- package/lib/util/getScrollParent.mjs.map +1 -1
- package/lib/util/globals.mjs +1 -4
- package/lib/util/globals.mjs.map +1 -1
- package/lib/util/helpers.mjs +37 -7
- 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/injectSelf.mjs +12 -0
- package/lib/util/injectSelf.mjs.map +1 -0
- 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 +50 -35
- package/lib/components/VBreadcrumbs/shared.mjs +0 -2
- package/lib/components/VBreadcrumbs/shared.mjs.map +0 -1
- package/lib/components/VCard/VCardAvatar.mjs +0 -3
- package/lib/components/VCard/VCardAvatar.mjs.map +0 -1
- package/lib/components/VCard/VCardHeader.mjs +0 -3
- package/lib/components/VCard/VCardHeader.mjs.map +0 -1
- package/lib/components/VCard/VCardHeaderText.mjs +0 -3
- package/lib/components/VCard/VCardHeaderText.mjs.map +0 -1
- package/lib/components/VCard/VCardImg.mjs +0 -3
- package/lib/components/VCard/VCardImg.mjs.map +0 -1
- package/lib/components/VList/VListItemAvatar.mjs +0 -29
- package/lib/components/VList/VListItemAvatar.mjs.map +0 -1
- package/lib/components/VList/VListItemHeader.mjs +0 -3
- package/lib/components/VList/VListItemHeader.mjs.map +0 -1
- package/lib/components/VOverlay/positionStrategies.mjs +0 -203
- package/lib/components/VOverlay/positionStrategies.mjs.map +0 -1
- package/lib/components/VOverlay/util/anchor.mjs +0 -52
- package/lib/components/VOverlay/util/anchor.mjs.map +0 -1
- package/lib/components/VTimeline/shared.mjs +0 -2
- package/lib/components/VTimeline/shared.mjs.map +0 -1
- package/lib/composables/forwardRef.mjs +0 -42
- package/lib/composables/forwardRef.mjs.map +0 -1
- package/lib/composables/overlay.mjs +0 -30
- package/lib/composables/overlay.mjs.map +0 -1
- package/lib/presets/default/index.mjs +0 -71
- package/lib/presets/default/index.mjs.map +0 -1
- package/lib/styles/utilities/_text.sass +0 -9
- package/lib/styles.scss +0 -4
package/dist/vuetify.min.js
CHANGED
|
@@ -1,1398 +1,1519 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.0.0-beta.
|
|
2
|
+
* Vuetify v3.0.0-beta.13
|
|
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
|
-
if(
|
|
10
|
-
|
|
11
|
-
else{if(!n.startsWith("matrix("))return new l(t)
|
|
12
|
-
o=n.slice(7,-1).split(/, /),r=+o[0],i=+o[3],s=+o[4],u=+o[5]}const c=a.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
|
|
13
|
-
return new l({x:d,y:v,width:p,height:f})}return new l(t)}function n(e,t,l){if(l&&(t={_isVue:!0,$parent:l,$options:t}),t){if(t.$_alreadyWarned=t.$_alreadyWarned||[],t.$_alreadyWarned.includes(e))return
|
|
14
|
-
t.$_alreadyWarned.push(e)}return`[Vuetify] ${e}`+(t?function(e){if(e._isVue&&e.$parent){const t=[]
|
|
15
|
-
let l=0
|
|
16
|
-
for(;e;){if(t.length>0){const a=t[t.length-1]
|
|
17
|
-
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)?`${s(e[0])}... (${e[1]} recursive calls)`:s(e)}`)).join("\n")}return`\n\n(found in ${s(e)})`}(t):"")}function o(e,t,l){const a=n(e,t,l)
|
|
19
|
-
null!=a&&console.warn(a)}function r(e,t,l){const a=n(e,t,l)
|
|
20
|
-
null!=a&&console.error(a)}const i=/(?:^|[-_])(\w)/g
|
|
21
|
-
function s(e,t){if(e.$root===e)return"<Root>"
|
|
22
|
-
const l="function"==typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e||{}
|
|
23
|
-
let a=l.name||l._componentTag
|
|
24
|
-
const n=l.__file
|
|
25
|
-
if(!a&&n){const e=n.match(/([^/\\]+)\.vue$/)
|
|
26
|
-
a=null==e?void 0:e[1]}return(a?`<${o=a,o.replace(i,(e=>e.toUpperCase())).replace(/[-_]/g,"")}>`:"<Anonymous>")+(n&&!1!==t?` at ${n}`:"")
|
|
27
|
-
var o}function u(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 c(e,t,l){return function(e,t,l){if(t.set)t.set.call(e,l)
|
|
7
|
+
const l="undefined"!=typeof window,a=l&&"IntersectionObserver"in window,o=l&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),n=l&&"undefined"!=typeof CSS&&CSS.supports("selector(:focus-visible)")
|
|
8
|
+
function r(e){const a=t.ref(),o=t.ref()
|
|
9
|
+
if(l){const l=new ResizeObserver((t=>{null==e||e(t,l),t.length&&(o.value=t[0].contentRect)}))
|
|
10
|
+
t.onBeforeUnmount((()=>{l.disconnect()})),t.watch(a,((e,t)=>{t&&(l.unobserve(t),o.value=void 0),e&&l.observe(e)}),{flush:"post"})}return{resizeRef:a,contentRect:t.readonly(o)}}function i(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 s(e,t,l){return function(e,t,l){if(t.set)t.set.call(e,l)
|
|
28
11
|
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
|
|
12
|
+
t.value=l}}(e,c(e,t,"set"),l),l}function u(e,t){return function(e,t){if(t.get)return t.get.call(e)
|
|
13
|
+
return t.value}(e,c(e,t,"get"))}function c(e,t,l){if(!t.has(e))throw new TypeError("attempted to "+l+" private field on non-instance")
|
|
14
|
+
return t.get(e)}function d(e,t,l){const a=t.length-1
|
|
32
15
|
if(a<0)return void 0===e?l:e
|
|
33
|
-
for(let
|
|
34
|
-
e=e[t[
|
|
16
|
+
for(let o=0;o<a;o++){if(null==e)return l
|
|
17
|
+
e=e[t[o]]}return null==e||void 0===e[t[a]]?l:e[t[a]]}function v(e,t){if(e===t)return!0
|
|
35
18
|
if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime())return!1
|
|
36
19
|
if(e!==Object(e)||t!==Object(t))return!1
|
|
37
20
|
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
|
|
21
|
+
return l.length===Object.keys(t).length&&l.every((l=>v(e[l],t[l])))}function p(e,t,l){return null!=e&&t&&"string"==typeof t?void 0!==e[t]?e[t]:d(e,(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),l):l}function f(e,t,l){if(null==t)return void 0===e?l:e
|
|
22
|
+
if(e!==Object(e))return l
|
|
23
|
+
if("string"==typeof t)return p(e,t,l)
|
|
24
|
+
if(Array.isArray(t))return d(e,t,l)
|
|
42
25
|
if("function"!=typeof t)return l
|
|
43
26
|
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
|
|
48
|
-
for(const
|
|
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
|
|
27
|
+
return void 0===a?l:a}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0
|
|
28
|
+
return Array.from({length:e},((e,l)=>t+l))}function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px"
|
|
29
|
+
return null==e||""===e?void 0:isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function h(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}const y=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}),b=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"})
|
|
30
|
+
function V(e){return Object.keys(e)}function S(e,t){const l=Object.create(null),a=Object.create(null)
|
|
31
|
+
for(const o in e)t.some((e=>e instanceof RegExp?e.test(o):e===o))?l[o]=e[o]:a[o]=e[o]
|
|
32
|
+
return[l,a]}function w(e){return S(e,["class","style","id",/^data-/])}function k(e){return null==e?[]:Array.isArray(e)?e:[e]}function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1
|
|
33
|
+
return Math.max(t,Math.min(l,e))}function C(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0"
|
|
34
|
+
return e+l.repeat(Math.max(0,t-e.length))}function N(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3
|
|
52
35
|
if(e<t)return`${e} B`
|
|
53
36
|
const l=1024===t?["Ki","Mi","Gi"]:["k","M","G"]
|
|
54
37
|
let a=-1
|
|
55
38
|
for(;Math.abs(e)>=t&&a<l.length-1;)e/=t,++a
|
|
56
|
-
return`${e.toFixed(1)} ${l[a]}B`}function
|
|
39
|
+
return`${e.toFixed(1)} ${l[a]}B`}function _(){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
40
|
const a={}
|
|
58
41
|
for(const t in e)a[t]=e[t]
|
|
59
|
-
for(const
|
|
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
|
|
42
|
+
for(const o in t){const n=e[o],r=t[o]
|
|
43
|
+
h(n)&&h(r)?a[o]=_(n,r,l):Array.isArray(n)&&Array.isArray(r)&&l?a[o]=l(n,r):a[o]=r}return a}function B(e){return e.map((e=>e.type===t.Fragment?B(e.children):e)).flat()}function I(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:""
|
|
44
|
+
return e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase()}function $(e,t){if(!t||"object"!=typeof t)return[]
|
|
45
|
+
if(Array.isArray(t))return t.map((t=>$(e,t))).flat(1)
|
|
46
|
+
if(Array.isArray(t.children))return t.children.map((t=>$(e,t))).flat(1)
|
|
64
47
|
if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component]
|
|
65
|
-
if(t.component.subTree)return
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
function
|
|
69
|
-
for(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
return t}
|
|
73
|
-
function
|
|
74
|
-
|
|
75
|
-
|
|
48
|
+
if(t.component.subTree)return $(e,t.component.subTree).flat(1)}return[]}var A=new WeakMap,E=new WeakMap
|
|
49
|
+
class R{constructor(e){i(this,A,{writable:!0,value:[]}),i(this,E,{writable:!0,value:0}),this.size=e}push(e){u(this,A)[u(this,E)]=e,s(this,E,(u(this,E)+1)%this.size)}values(){return u(this,A).slice(u(this,E)).concat(u(this,A).slice(0,u(this,E)))}}function L(e){const l=t.reactive({}),a=t.computed(e)
|
|
50
|
+
return t.watchEffect((()=>{for(const e in a.value)l[e]=a.value[e]}),{flush:"sync"}),t.toRefs(l)}function T(e,t){return e.includes(t)}const P=/^on[^a-z]/,O=e=>P.test(e),M=[Function,Array]
|
|
51
|
+
function z(e){for(var t=arguments.length,l=new Array(t>1?t-1:0),a=1;a<t;a++)l[a-1]=arguments[a]
|
|
52
|
+
if(Array.isArray(e))for(const t of e)t(...l)
|
|
53
|
+
else"function"==typeof e&&e(...l)}const F=["top","bottom"],D=["start","end","left","right"]
|
|
54
|
+
function j(e,t){let[l,a]=e.split(" ")
|
|
55
|
+
return a||(a=T(F,l)?"start":T(D,l)?"top":"center"),{side:H(l,t),align:H(a,t)}}function H(e,t){return"start"===e?t?"right":"left":"end"===e?t?"left":"right":e}function W(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function U(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function Y(e){return{side:e.align,align:e.side}}function X(e){return T(F,e.side)?"y":"x"}class q{constructor(e){let{x:t,y:l,width:a,height:o}=e
|
|
56
|
+
this.x=t,this.y=l,this.width=a,this.height=o}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 G(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function K(e){const t=e.getBoundingClientRect(),l=getComputedStyle(e),a=l.transform
|
|
57
|
+
if(a){let o,n,r,i,s
|
|
58
|
+
if(a.startsWith("matrix3d("))o=a.slice(9,-1).split(/, /),n=+o[0],r=+o[5],i=+o[12],s=+o[13]
|
|
59
|
+
else{if(!a.startsWith("matrix("))return new q(t)
|
|
60
|
+
o=a.slice(7,-1).split(/, /),n=+o[0],r=+o[3],i=+o[4],s=+o[5]}const u=l.transformOrigin,c=t.x-i-(1-n)*parseFloat(u),d=t.y-s-(1-r)*parseFloat(u.slice(u.indexOf(" ")+1)),v=n?t.width/n:e.offsetWidth+1,p=r?t.height/r:e.offsetHeight+1
|
|
61
|
+
return new q({x:c,y:d,width:v,height:p})}return new q(t)}function Z(e,t,l){if(void 0===e.animate)return{finished:Promise.resolve()}
|
|
62
|
+
const a=e.animate(t,l)
|
|
63
|
+
return void 0===a.finished&&(a.finished=new Promise((e=>{a.onfinish=()=>{e(a)}}))),a}function J(e,t,l){if(l&&(t={_isVue:!0,$parent:l,$options:t}),t){if(t.$_alreadyWarned=t.$_alreadyWarned||[],t.$_alreadyWarned.includes(e))return
|
|
64
|
+
t.$_alreadyWarned.push(e)}return`[Vuetify] ${e}`+(t?function(e){if(e._isVue&&e.$parent){const t=[]
|
|
65
|
+
let l=0
|
|
66
|
+
for(;e;){if(t.length>0){const a=t[t.length-1]
|
|
67
|
+
if(a.constructor===e.constructor){l++,e=e.$parent
|
|
68
|
+
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)?`${le(e[0])}... (${e[1]} recursive calls)`:le(e)}`)).join("\n")}return`\n\n(found in ${le(e)})`}(t):"")}function Q(e,t,l){const a=J(e,t,l)
|
|
69
|
+
null!=a&&console.warn(a)}function ee(e,t,l){const a=J(e,t,l)
|
|
70
|
+
null!=a&&console.error(a)}const te=/(?:^|[-_])(\w)/g
|
|
71
|
+
function le(e,t){if(e.$root===e)return"<Root>"
|
|
72
|
+
const l="function"==typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e||{}
|
|
73
|
+
let a=l.name||l._componentTag
|
|
74
|
+
const o=l.__file
|
|
75
|
+
if(!a&&o){const e=o.match(/([^/\\]+)\.vue$/)
|
|
76
|
+
a=null==e?void 0:e[1]}return(a?`<${n=a,n.replace(te,(e=>e.toUpperCase())).replace(/[-_]/g,"")}>`:"<Anonymous>")+(o&&!1!==t?` at ${o}`:"")
|
|
77
|
+
var n}const ae=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],oe=e=>e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055,ne=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],re=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4
|
|
78
|
+
function ie(e){const t=Array(3),l=oe,a=ae
|
|
79
|
+
for(let o=0;o<3;++o)t[o]=Math.round(255*x(l(a[o][0]*e[0]+a[o][1]*e[1]+a[o][2]*e[2])))
|
|
80
|
+
return(t[0]<<16)+(t[1]<<8)+(t[2]<<0)}function se(e){const t=[0,0,0],l=re,a=ne,o=l((e>>16&255)/255),n=l((e>>8&255)/255),r=l((e>>0&255)/255)
|
|
81
|
+
for(let e=0;e<3;++e)t[e]=a[e][0]*o+a[e][1]*n+a[e][2]*r
|
|
82
|
+
return t}const ue=.20689655172413793,ce=e=>e>ue**3?Math.cbrt(e):e/(3*ue**2)+4/29,de=e=>e>ue?e**3:3*ue**2*(e-4/29)
|
|
83
|
+
function ve(e){const t=ce,l=t(e[1])
|
|
84
|
+
return[116*l-16,500*(t(e[0]/.95047)-l),200*(l-t(e[2]/1.08883))]}function pe(e){const t=de,l=(e[0]+16)/116
|
|
85
|
+
return[.95047*t(l+e[1]/500),t(l),1.08883*t(l-e[2]/200)]}function fe(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function me(e){let t
|
|
76
86
|
if("number"==typeof e)t=e
|
|
77
87
|
else{if("string"!=typeof e)throw new TypeError(`Colors can only be numbers or strings, recieved ${null==e?e:e.constructor.name} instead`)
|
|
78
88
|
{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
|
|
81
|
-
return a-a*l*Math.max(Math.min(
|
|
82
|
-
return{r:r[0],g:r[1],b:r[2],a:
|
|
83
|
-
const t=e.r/255,l=e.g/255,a=e.b/255,
|
|
89
|
+
3===l.length&&(l=l.split("").map((e=>e+e)).join("")),6!==l.length&&8!==l.length&&Q(`'${e}' is not a valid rgb color`),t=parseInt(l,16)}}return t<0?(Q(`Colors cannot be negative: '${e}'`),t=0):(t>4294967295||isNaN(t))&&(Q(`'${e}' is not a valid rgb color`),t=16777215),t}function ge(e){let t=e.toString(16)
|
|
90
|
+
return t.length<6&&(t="0".repeat(6-t.length)+t),"#"+t}function he(e){const{h:t,s:l,v:a,a:o}=e,n=e=>{const o=(e+t/60)%6
|
|
91
|
+
return a-a*l*Math.max(Math.min(o,4-o,1),0)},r=[n(5),n(3),n(1)].map((e=>Math.round(255*e)))
|
|
92
|
+
return{r:r[0],g:r[1],b:r[2],a:o}}function ye(e){if(!e)return{h:0,s:1,v:1,a:1}
|
|
93
|
+
const t=e.r/255,l=e.g/255,a=e.b/255,o=Math.max(t,l,a),n=Math.min(t,l,a)
|
|
84
94
|
let r=0
|
|
85
|
-
n
|
|
86
|
-
const i=[r,0===
|
|
87
|
-
return{h:i[0],s:i[1],v:i[2],a:e.a}}function
|
|
88
|
-
return{h:t,s:1===
|
|
89
|
-
return{h:t,s:0===
|
|
95
|
+
o!==n&&(o===t?r=60*(0+(l-a)/(o-n)):o===l?r=60*(2+(a-t)/(o-n)):o===a&&(r=60*(4+(t-l)/(o-n)))),r<0&&(r+=360)
|
|
96
|
+
const i=[r,0===o?0:(o-n)/o,o]
|
|
97
|
+
return{h:i[0],s:i[1],v:i[2],a:e.a}}function be(e){const{h:t,s:l,v:a,a:o}=e,n=a-a*l/2
|
|
98
|
+
return{h:t,s:1===n||0===n?0:(a-n)/Math.min(n,1-n),l:n,a:o}}function Ve(e){const{h:t,s:l,l:a,a:o}=e,n=a+l*Math.min(a,1-a)
|
|
99
|
+
return{h:t,s:0===n?0:2-2*a/n,v:n,a:o}}function Se(e){return function(e){return`rgba(${e.r}, ${e.g}, ${e.b}, ${e.a})`}(he(e))}function we(e){return ye(function(e){const t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1
|
|
90
100
|
const l=[]
|
|
91
101
|
let a=0
|
|
92
102
|
for(;a<e.length;)l.push(e.substr(a,t)),a+=t
|
|
93
103
|
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
|
|
104
|
+
return{r:t[0],g:t[1],b:t[2],a:Math.round(t[3]/255*100)/100}}(e))}function ke(e){return function(e){const t=e=>{const t=Math.round(e).toString(16)
|
|
95
105
|
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
|
-
|
|
106
|
+
return`#${[t(e.r),t(e.g),t(e.b),t(Math.round(255*e.a))].join("")}`}(he(e))}function xe(e){const t=me(e)
|
|
107
|
+
return{r:(16711680&t)>>16,g:(65280&t)>>8,b:255&t}}function Ce(e,t){const l=ve(se(e))
|
|
108
|
+
return l[0]=l[0]+10*t,ie(pe(l))}function Ne(e,t){const l=ve(se(e))
|
|
109
|
+
return l[0]=l[0]-10*t,ie(pe(l))}function _e(e){return se(me(e))[1]}function Be(e,t){const l=_e(e),a=_e(t)
|
|
110
|
+
return(Math.max(l,a)+.05)/(Math.min(l,a)+.05)}function Ie(e,l){const a=t.getCurrentInstance()
|
|
111
|
+
if(!a)throw new Error(`[Vuetify] ${e} ${l||"must be called from inside a setup function"}`)
|
|
112
|
+
return a}function $e(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"composables"
|
|
113
|
+
const t=Ie(e).type
|
|
114
|
+
return I((null==t?void 0:t.aliasName)||(null==t?void 0:t.name))}let Ae=0,Ee=new WeakMap
|
|
115
|
+
function Re(){const e=Ie("getUid")
|
|
116
|
+
if(Ee.has(e))return Ee.get(e)
|
|
117
|
+
{const t=Ae++
|
|
118
|
+
return Ee.set(e,t),t}}Re.reset=()=>{Ae=0,Ee=new WeakMap}
|
|
119
|
+
const Le=Symbol.for("vuetify:defaults")
|
|
120
|
+
function Te(e){return t.ref(e??{})}function Pe(){const e=t.inject(Le)
|
|
102
121
|
if(!e)throw new Error("[Vuetify] Could not find defaults instance")
|
|
103
|
-
return e}function
|
|
104
|
-
let i
|
|
122
|
+
return e}function Oe(e,l){const a=Pe(),o=t.ref(e),n=t.computed((()=>{const e=t.unref(null==l?void 0:l.scoped),n=t.unref(null==l?void 0:l.reset),r=t.unref(null==l?void 0:l.root)
|
|
123
|
+
let i=_(o.value,{prev:a.value})
|
|
105
124
|
if(e)return i
|
|
106
|
-
if(
|
|
125
|
+
if(n||r){const e=Number(n||1/0)
|
|
107
126
|
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
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
return
|
|
127
|
+
return i}return _(i.prev,i)}))
|
|
128
|
+
return t.provide(Le,n),n}function Me(e,t){var l,a
|
|
129
|
+
return(null==(l=e.props)?void 0:l.hasOwnProperty(t))||(null==(a=e.props)?void 0:a.hasOwnProperty(I(t)))}const ze=function(e){return e._setup=e._setup??e.setup,e.name?(e._setup&&(e.props=e.props??{},e.props._as=String,e.setup=function(l,a){const o=t.getCurrentInstance(),n=Pe(),r=t.shallowRef(),i=t.shallowReactive({...t.toRaw(l)})
|
|
130
|
+
t.watchEffect((()=>{const t=n.value.global,a=n.value[l._as??e.name]
|
|
131
|
+
if(a){const e=Object.entries(a).filter((e=>{let[t]=e
|
|
132
|
+
return t.startsWith("V")}))
|
|
133
|
+
e.length&&(r.value=Object.fromEntries(e))}for(const e of Object.keys(l)){let n
|
|
134
|
+
n=Me(o.vnode,e)?l[e]:(null==a?void 0:a[e])??(null==t?void 0:t[e])??l[e],i[e]!==n&&(i[e]=n)}}))
|
|
135
|
+
const s=e._setup(i,a)
|
|
136
|
+
let u
|
|
137
|
+
return t.watch(r,((e,l)=>{!e&&u?u.stop():e&&!l&&(u=t.effectScope(),u.run((()=>{var t
|
|
138
|
+
Oe(_((null==(t=function(e){const{provides:t}=Ie("injectSelf")
|
|
139
|
+
if(t&&e in t)return t[e]}(Le))?void 0:t.value)??{},e))})))}),{immediate:!0}),s}),e):(Q("The component is missing an explicit name, unable to generate default prop value"),e)}
|
|
140
|
+
function Fe(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0]
|
|
141
|
+
return l=>(e?ze:t.defineComponent)(l)}function De(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div",a=arguments.length>2?arguments[2]:void 0
|
|
142
|
+
return ze({name:a??t.capitalize(t.camelize(e.replace(/__/g,"-"))),props:{tag:{type:String,default:l}},setup(l,a){let{slots:o}=a
|
|
121
143
|
return()=>{var a
|
|
122
|
-
return t.h(l.tag,{class:e},null==(a=
|
|
144
|
+
return t.h(l.tag,{class:e},null==(a=o.default)?void 0:a.call(o))}}})}function je(e){if("function"!=typeof e.getRootNode){for(;e.parentNode;)e=e.parentNode
|
|
123
145
|
return e!==document?null:document}const t=e.getRootNode()
|
|
124
|
-
return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const
|
|
125
|
-
function
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
return
|
|
130
|
-
e=e.parentElement}return document.scrollingElement}function we(e){const t=[]
|
|
131
|
-
for(;e;)xe(e)&&t.push(e),e=e.parentElement
|
|
132
|
-
return t}function xe(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1
|
|
146
|
+
return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const He="cubic-bezier(0.4, 0, 0.2, 1)"
|
|
147
|
+
function We(e){for(;e;){if(Ye(e))return e
|
|
148
|
+
e=e.parentElement}return document.scrollingElement}function Ue(e,t){const l=[]
|
|
149
|
+
if(t&&e&&!t.contains(e))return l
|
|
150
|
+
for(;e&&(Ye(e)&&l.push(e),e!==t);)e=e.parentElement
|
|
151
|
+
return l}function Ye(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1
|
|
133
152
|
const t=window.getComputedStyle(e)
|
|
134
|
-
return"scroll"===t.overflowY||"auto"===t.overflowY&&e.scrollHeight>e.clientHeight}const
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
function $e(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]}
|
|
138
|
-
return a[n]=l&&n in l?{...o,default:l[n]}:o,t&&(a[n].source=t),a}),{})}function Ie(e){ye("useRender").render=e}const Ee=2.4,Ae=.2126729,Re=.7151522,Te=.072175,Le=.03,Me=12.82051282051282,ze=.06
|
|
139
|
-
function Oe(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
|
|
140
|
-
if(a<=Le&&(a+=(Le-a)**1.45),n<=Le&&(n+=(Le-n)**1.45),Math.abs(n-a)<5e-4)return 0
|
|
141
|
-
if(n>a){const e=1.25*(n**.55-a**.58)
|
|
142
|
-
l=e<.001?0:e<.078?e-e*Me*ze:e-ze}else{const e=1.25*(n**.62-a**.57)
|
|
143
|
-
l=e>-.001?0:e>-.078?e-e*Me*ze:e+ze}return 100*l}const Pe=Symbol.for("vuetify:theme"),De=$e({theme:String},"theme"),Fe={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"}}}}
|
|
144
|
-
function je(e,l){const a=e._context.provides.usehead,n=function(){var e
|
|
145
|
-
let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Fe
|
|
146
|
-
if(!t)return{...Fe,isDisabled:!0}
|
|
147
|
-
const l=Object.entries(null!=(e=t.themes)?e:{}).reduce(((e,t)=>{var l,a
|
|
148
|
-
let[n,o]=t
|
|
149
|
-
const r=o.dark?null==(l=Fe.themes)?void 0:l.dark:null==(a=Fe.themes)?void 0:a.light
|
|
150
|
-
return e[n]=$(r,o),e}),{})
|
|
151
|
-
return $(Fe,{...t,themes:l})}(l),o=t.ref(),r=t.ref(n.defaultTheme),i=t.ref(n.themes),s=t.ref(n.variations),u=t.computed((()=>Object.entries(i.value).reduce(((e,t)=>{var l
|
|
152
|
-
let[a,o]=t
|
|
153
|
-
const r={...o,colors:{...o.colors,...(null!=(l=n.variations.colors)?l:[]).reduce(((e,t)=>({...e,...c(t,o.colors[t])})),{})}}
|
|
154
|
-
for(const e of Object.keys(r.colors)){if(/on-[a-z]/.test(e)||r.colors[`on-${e}`])continue
|
|
155
|
-
const t=`on-${e}`,l=G(r.colors[e]),a=Math.abs(Oe(0,l)),n=Math.abs(Oe(16777215,l))
|
|
156
|
-
r.colors[t]=n>Math.min(a,50)?"#fff":"#000"}return e[a]=r,e}),{})))
|
|
157
|
-
function c(e,t){const l={}
|
|
158
|
-
for(const a of["lighten","darken"]){const n="lighten"===a?oe:re
|
|
159
|
-
for(const o of h(s.value[a],1))l[`${e}-${a}-${o}`]=K(n(G(t),o))}return l}const d=t.computed((()=>{const e=[]
|
|
160
|
-
for(const t of Object.keys(u.value)){const l=u.value[t].variables
|
|
161
|
-
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
|
|
162
|
-
return`--v-${e}: ${null!=n?n:t}`}))]))}const t=new Set(Object.values(u.value).flatMap((e=>Object.keys(e.colors))))
|
|
163
|
-
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})`]))
|
|
164
|
-
return e.map(((e,t)=>0===t?e:` ${e}`)).join("")}))
|
|
165
|
-
function v(e){const t=u.value[e]
|
|
166
|
-
if(!t)throw new Error(`Could not find theme ${e}`)
|
|
167
|
-
const l=t.dark?2:1,a=t.dark?1:2,n=[]
|
|
168
|
-
for(const[e,o]of Object.entries(t.colors)){const t=ne(o)
|
|
169
|
-
n.push(`--v-theme-${e}: ${t.r},${t.g},${t.b}`),e.startsWith("on-")||n.push(`--v-theme-${e}-overlay-multiplier: ${ie(o)>.18?l:a}`)}return n}function p(e,t){return[`${e} {\n`,...t.map((e=>` ${e};\n`)),"}\n"]}if(a)a.addHeadObjs(t.computed((()=>({style:[{children:d.value,type:"text/css",id:"vuetify-theme-stylesheet"}]})))),ke&&t.watchEffect((()=>a.updateDOM()))
|
|
170
|
-
else{function e(){n.isDisabled||(l(),o.value&&(o.value.innerHTML=d.value))}function l(){if("undefined"==typeof document||o.value)return
|
|
171
|
-
const e=document.createElement("style")
|
|
172
|
-
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")
|
|
173
|
-
const l=t.inject(Pe,null)
|
|
174
|
-
if(!l)throw new Error("Could not find Vuetify theme injection")
|
|
175
|
-
const a=t.computed((()=>{var t
|
|
176
|
-
return null!=(t=e.theme)?t:null==l?void 0:l.current.value})),n=t.computed((()=>l.isDisabled?void 0:`v-theme--${a.value}`)),o={...l,current:a,themeClasses:n}
|
|
177
|
-
return t.provide(Pe,o),o}function We(){ye("useTheme")
|
|
178
|
-
const e=t.inject(Pe,null)
|
|
179
|
-
if(!e)throw new Error("Could not find Vuetify theme injection")
|
|
180
|
-
return e}function Ue(e){const l=t.ref(),a=t.ref(),n=t.ref(),o=t.ref()
|
|
181
|
-
if(ke){const r=new ResizeObserver((t=>{null==e||e(t,r),t.length&&(a.value=t[0].contentRect,n.value=t[0].contentBoxSize[0],o.value=t[0].borderBoxSize[0])}))
|
|
182
|
-
t.onBeforeUnmount((()=>{r.disconnect()})),t.watch(l,((e,t)=>{t&&(r.unobserve(t),a.value=void 0,n.value=void 0,o.value=void 0),e&&r.observe(e)}),{flush:"post"})}return{resizeRef:l,contentRect:t.readonly(a),contentBoxSize:t.readonly(n),borderBoxSize:t.readonly(o)}}const Ye=Symbol.for("vuetify:layout"),Xe=1e3,qe=$e({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),Ge=$e({name:{type:String},priority:{type:[Number,String],default:0},absolute:Boolean},"layout-item")
|
|
183
|
-
function Ke(){const e=t.inject(Ye)
|
|
153
|
+
return"scroll"===t.overflowY||"auto"===t.overflowY&&e.scrollHeight>e.clientHeight}function Xe(e,t){return l=>Object.keys(e).reduce(((a,o)=>{const n="object"==typeof e[o]&&null!=e[o]&&!Array.isArray(e[o])?e[o]:{type:e[o]}
|
|
154
|
+
return a[o]=l&&o in l?{...n,default:l[o]}:n,t&&(a[o].source=t),a}),{})}function qe(e){Ie("useRender").render=e}const Ge=Symbol.for("vuetify:layout"),Ke=Symbol.for("vuetify:layout-item"),Ze=Xe({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),Je=Xe({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item")
|
|
155
|
+
function Qe(){const e=t.inject(Ge)
|
|
184
156
|
if(!e)throw new Error("Could not find injected Vuetify layout")
|
|
185
|
-
return e}function
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
t.
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
const l=new Map,
|
|
193
|
-
for(const e of
|
|
194
|
-
if(!
|
|
195
|
-
const
|
|
196
|
-
|
|
197
|
-
for(const l of e){const e=
|
|
198
|
-
return(null==(t=
|
|
199
|
-
t.push(...e)}return((e,t,l,a)=>{let
|
|
200
|
-
const
|
|
157
|
+
return e}function et(e){const l=t.inject(Ge)
|
|
158
|
+
if(!l)throw new Error("Could not find injected Vuetify layout")
|
|
159
|
+
const a=e.id??`layout-item-${Re()}`,o=Ie("useLayoutItem")
|
|
160
|
+
t.provide(Ke,{id:a})
|
|
161
|
+
const n=t.ref(!1)
|
|
162
|
+
t.onDeactivated((()=>n.value=!0)),t.onActivated((()=>n.value=!1))
|
|
163
|
+
const{layoutItemStyles:r,layoutItemScrimStyles:i}=l.register(o,{...e,active:t.computed((()=>!n.value&&e.active.value)),id:a})
|
|
164
|
+
return t.onBeforeUnmount((()=>l.unregister(a))),{layoutItemStyles:r,layoutRect:l.layoutRect,layoutItemScrimStyles:i}}function tt(e){const l=t.inject(Ge,null),a=t.computed((()=>l?l.rootZIndex.value-100:1e3)),o=t.ref([]),n=t.reactive(new Map),i=t.reactive(new Map),s=t.reactive(new Map),u=t.reactive(new Map),c=t.reactive(new Map),{resizeRef:d,contentRect:v}=r(),p=t.computed((()=>{const t=new Map,l=e.overlaps??[]
|
|
165
|
+
for(const e of l.filter((e=>e.includes(":")))){const[l,a]=e.split(":")
|
|
166
|
+
if(!o.value.includes(l)||!o.value.includes(a))continue
|
|
167
|
+
const r=n.get(l),s=n.get(a),u=i.get(l),c=i.get(a)
|
|
168
|
+
r&&s&&u&&c&&(t.set(a,{position:r.value,amount:parseInt(u.value,10)}),t.set(l,{position:s.value,amount:-parseInt(c.value,10)}))}return t})),f=t.computed((()=>{const e=[...new Set([...s.values()].map((e=>e.value)))].sort(((e,t)=>e-t)),t=[]
|
|
169
|
+
for(const l of e){const e=o.value.filter((e=>{var t
|
|
170
|
+
return(null==(t=s.get(e))?void 0:t.value)===l}))
|
|
171
|
+
t.push(...e)}return((e,t,l,a)=>{let o={top:0,left:0,right:0,bottom:0}
|
|
172
|
+
const n=[{id:"",layer:{...o}}]
|
|
201
173
|
for(const r of e){const e=t.get(r),i=l.get(r),s=a.get(r)
|
|
202
174
|
if(!e||!i||!s)continue
|
|
203
|
-
const u={...
|
|
204
|
-
|
|
205
|
-
return{
|
|
206
|
-
const{layer:a}=
|
|
207
|
-
return{id:l,...a,size:Number(
|
|
208
|
-
t.onMounted((()=>{
|
|
209
|
-
|
|
210
|
-
const
|
|
211
|
-
|
|
212
|
-
const
|
|
213
|
-
return{layoutItemStyles:t.computed((()=>{const e="left"===
|
|
214
|
-
if(!
|
|
215
|
-
if(
|
|
216
|
-
const
|
|
217
|
-
if(!
|
|
218
|
-
const
|
|
219
|
-
return
|
|
220
|
-
return{layoutClasses:t.computed((()=>["v-layout",{"v-layout--full-height":e.fullHeight}])),layoutStyles:t.computed((()=>({zIndex:a.value
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
175
|
+
const u={...o,[e.value]:parseInt(o[e.value],10)+(s.value?parseInt(i.value,10):0)}
|
|
176
|
+
n.push({id:r,layer:u}),o=u}return n})(t,n,i,u)})),m=t.computed((()=>!Array.from(c.values()).some((e=>e.value)))),h=t.computed((()=>{const e=f.value[f.value.length-1].layer
|
|
177
|
+
return{"--v-layout-left":g(e.left),"--v-layout-right":g(e.right),"--v-layout-top":g(e.top),"--v-layout-bottom":g(e.bottom),...m.value?void 0:{transition:"none"}}})),y=t.computed((()=>f.value.slice(1).map(((e,t)=>{let{id:l}=e
|
|
178
|
+
const{layer:a}=f.value[t],o=i.get(l)
|
|
179
|
+
return{id:l,...a,size:Number(o.value)}})))),b=e=>y.value.find((t=>t.id===e)),V=Ie("createLayout"),S=t.ref(!1)
|
|
180
|
+
t.onMounted((()=>{S.value=!0})),t.provide(Ge,{register:(e,l)=>{let{id:r,order:d,position:v,layoutSize:g,elementSize:h,active:b,disableTransitions:w,absolute:k}=l
|
|
181
|
+
s.set(r,d),n.set(r,v),i.set(r,g),u.set(r,b),w&&c.set(r,w)
|
|
182
|
+
const x=$(Ke,null==V?void 0:V.vnode).indexOf(e)
|
|
183
|
+
x>-1?o.value.splice(x,0,r):o.value.push(r)
|
|
184
|
+
const C=t.computed((()=>y.value.findIndex((e=>e.id===r)))),N=t.computed((()=>a.value+2*f.value.length-2*C.value))
|
|
185
|
+
return{layoutItemStyles:t.computed((()=>{const e="left"===v.value||"right"===v.value,t="right"===v.value,l="bottom"===v.value,o={[v.value]:0,zIndex:N.value,transform:`translate${e?"X":"Y"}(${(b.value?0:-110)*(t||l?-1:1)}%)`,position:k.value||1e3!==a.value?"absolute":"fixed",...m.value?void 0:{transition:"none"}}
|
|
186
|
+
if(!S.value)return o
|
|
187
|
+
if(C.value<0)throw new Error(`Layout item "${r}" is missing`)
|
|
188
|
+
const n=y.value[C.value]
|
|
189
|
+
if(!n)throw new Error(`Could not find layout item "${r}`)
|
|
190
|
+
const i=p.value.get(r)
|
|
191
|
+
return i&&(n[i.position]+=i.amount),{...o,height:e?`calc(100% - ${n.top}px - ${n.bottom}px)`:h.value?`${h.value}px`:void 0,left:t?void 0:`${n.left}px`,right:t?`${n.right}px`:void 0,top:"bottom"!==v.value?`${n.top}px`:void 0,bottom:"top"!==v.value?`${n.bottom}px`:void 0,width:e?h.value?`${h.value}px`:void 0:`calc(100% - ${n.left}px - ${n.right}px)`}})),layoutItemScrimStyles:t.computed((()=>({zIndex:N.value-1}))),zIndex:N}},unregister:e=>{s.delete(e),n.delete(e),i.delete(e),u.delete(e),c.delete(e),o.value=o.value.filter((t=>t!==e))},mainStyles:h,getLayoutItem:b,items:y,layoutRect:v,rootZIndex:a})
|
|
192
|
+
return{layoutClasses:t.computed((()=>["v-layout",{"v-layout--full-height":e.fullHeight}])),layoutStyles:t.computed((()=>({zIndex:a.value,position:l?"relative":void 0,overflow:l?"hidden":void 0}))),getLayoutItem:b,items:y,layoutRect:v,layoutRef:d}}const lt=2.4,at=.2126729,ot=.7151522,nt=.072175,rt=.03,it=12.82051282051282,st=.06
|
|
193
|
+
function ut(e,t){let l,a=((e>>16&255)/255)**lt*at+((e>>8&255)/255)**lt*ot+((e>>0&255)/255)**lt*nt,o=((t>>16&255)/255)**lt*at+((t>>8&255)/255)**lt*ot+((t>>0&255)/255)**lt*nt
|
|
194
|
+
if(a<=rt&&(a+=(rt-a)**1.45),o<=rt&&(o+=(rt-o)**1.45),Math.abs(o-a)<5e-4)return 0
|
|
195
|
+
if(o>a){const e=1.25*(o**.55-a**.58)
|
|
196
|
+
l=e<.001?0:e<.078?e-e*it*st:e-st}else{const e=1.25*(o**.62-a**.57)
|
|
197
|
+
l=e>-.001?0:e>-.078?e-e*it*st:e+st}return 100*l}const ct=Symbol.for("vuetify:theme"),dt=Xe({theme:String},"theme"),vt={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"}}}}
|
|
198
|
+
function pt(e){const a=t.reactive(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vt
|
|
199
|
+
if(!e)return{...vt,isDisabled:!0}
|
|
200
|
+
const t={}
|
|
201
|
+
for(const[o,n]of Object.entries(e.themes??{})){var l,a
|
|
202
|
+
const e=n.dark?null==(l=vt.themes)?void 0:l.dark:null==(a=vt.themes)?void 0:a.light
|
|
203
|
+
t[o]=_(e,n)}return _(vt,{...e,themes:t})}(e)),o=t.ref(a.defaultTheme),n=t.ref(a.themes),r=t.computed((()=>{const e={}
|
|
204
|
+
for(const[t,l]of Object.entries(n.value)){const o=e[t]={...l,colors:{...l.colors}}
|
|
205
|
+
if(a.variations)for(const e of a.variations.colors){const t=o.colors[e]
|
|
206
|
+
for(const l of["lighten","darken"]){const n="lighten"===l?Ce:Ne
|
|
207
|
+
for(const r of m(a.variations[l],1))o.colors[`${e}-${l}-${r}`]=ge(n(me(t),r))}}for(const e of Object.keys(o.colors)){if(/^on-[a-z]/.test(e)||o.colors[`on-${e}`])continue
|
|
208
|
+
const t=`on-${e}`,l=me(o.colors[e]),a=Math.abs(ut(0,l)),n=Math.abs(ut(16777215,l))
|
|
209
|
+
o.colors[t]=n>Math.min(a,50)?"#fff":"#000"}}return e})),i=t.computed((()=>r.value[o.value])),s=t.computed((()=>{const e=[]
|
|
210
|
+
i.value.dark&>(e,":root",["color-scheme: dark"])
|
|
211
|
+
for(const[t,l]of Object.entries(r.value)){const{variables:a,dark:o}=l
|
|
212
|
+
gt(e,`.v-theme--${t}`,["color-scheme: "+(o?"dark":"normal"),...ht(l),...Object.keys(a).map((e=>{const t=a[e],l="string"==typeof t&&t.startsWith("#")?xe(t):void 0
|
|
213
|
+
return`--v-${e}: ${(l?`${l.r}, ${l.g}, ${l.b}`:void 0)??t}`}))])}const t=[],l=[],a=new Set(Object.values(r.value).flatMap((e=>Object.keys(e.colors))))
|
|
214
|
+
for(const e of a)/^on-[a-z]/.test(e)?gt(l,`.${e}`,[`color: rgb(var(--v-theme-${e})) !important`]):(gt(t,`.bg-${e}`,[`--v-theme-overlay-multiplier: var(--v-theme-${e}-overlay-multiplier)`,`background: rgb(var(--v-theme-${e})) !important`,`color: rgb(var(--v-theme-on-${e})) !important`]),gt(l,`.text-${e}`,[`color: rgb(var(--v-theme-${e})) !important`]),gt(l,`.border-${e}`,[`--v-border-color: var(--v-theme-${e})`]))
|
|
215
|
+
return e.push(...t,...l),e.map(((e,t)=>0===t?e:` ${e}`)).join("")}))
|
|
216
|
+
const u=t.computed((()=>a.isDisabled?void 0:`v-theme--${o.value}`))
|
|
217
|
+
return{install:function(e){const o=e._context.provides.usehead
|
|
218
|
+
if(o)o.addHeadObjs(t.computed((()=>{const e={children:s.value,type:"text/css",id:"vuetify-theme-stylesheet"}
|
|
219
|
+
return a.cspNonce&&(e.nonce=a.cspNonce),{style:[e]}}))),l&&t.watchEffect((()=>o.updateDOM()))
|
|
220
|
+
else{let e=l?document.getElementById("vuetify-theme-stylesheet"):null
|
|
221
|
+
function o(){if(!a.isDisabled){if("undefined"!=typeof document&&!e){const t=document.createElement("style")
|
|
222
|
+
t.type="text/css",t.id="vuetify-theme-stylesheet",a.cspNonce&&t.setAttribute("nonce",a.cspNonce),e=t,document.head.appendChild(e)}e&&(e.innerHTML=s.value)}}t.watch(s,o,{immediate:!0})}},isDisabled:a.isDisabled,name:o,themes:n,current:i,computedThemes:r,themeClasses:u,styles:s,global:{name:o,current:i}}}function ft(e){Ie("provideTheme")
|
|
223
|
+
const l=t.inject(ct,null)
|
|
224
|
+
if(!l)throw new Error("Could not find Vuetify theme injection")
|
|
225
|
+
const a=t.computed((()=>e.theme??(null==l?void 0:l.name.value))),o=t.computed((()=>l.isDisabled?void 0:`v-theme--${a.value}`)),n={...l,name:a,themeClasses:o}
|
|
226
|
+
return t.provide(ct,n),n}function mt(){Ie("useTheme")
|
|
227
|
+
const e=t.inject(ct,null)
|
|
228
|
+
if(!e)throw new Error("Could not find Vuetify theme injection")
|
|
229
|
+
return e}function gt(e,t,l){e.push(`${t} {\n`,...l.map((e=>` ${e};\n`)),"}\n")}function ht(e){const t=e.dark?2:1,l=e.dark?1:2,a=[]
|
|
230
|
+
for(const[o,n]of Object.entries(e.colors)){const e=xe(n)
|
|
231
|
+
a.push(`--v-theme-${o}: ${e.r},${e.g},${e.b}`),o.startsWith("on-")||a.push(`--v-theme-${o}-overlay-multiplier: ${_e(n)>.18?t:l}`)}return a}var yt={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"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action"},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}"}}}
|
|
232
|
+
const bt={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},Vt=Symbol.for("vuetify:rtl")
|
|
233
|
+
function St(e,l,a){const o=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))
|
|
234
|
+
return{isRtl:o,rtl:e.rtl,rtlClasses:t.computed((()=>"v-locale--is-"+(o.value?"rtl":"ltr")))}}function wt(e,l){const a=t.inject(Vt)
|
|
225
235
|
if(!a)throw new Error("[Vuetify] Could not find injected rtl instance")
|
|
226
|
-
const
|
|
227
|
-
return t.provide(
|
|
236
|
+
const o=St(a,l,e)
|
|
237
|
+
return t.provide(Vt,o),o}function kt(){const e=t.inject(Vt)
|
|
228
238
|
if(!e)throw new Error("[Vuetify] Could not find injected rtl instance")
|
|
229
|
-
return e}const
|
|
230
|
-
const
|
|
231
|
-
return
|
|
232
|
-
return t.createVNode("div",{ref:u,class:["v-application",
|
|
233
|
-
const{defaults:
|
|
234
|
-
return
|
|
235
|
-
return null==(e=a.default)?void 0:e.call(a)}}})
|
|
236
|
-
function
|
|
237
|
-
|
|
238
|
-
return t
|
|
239
|
-
return()
|
|
240
|
-
|
|
241
|
-
function
|
|
239
|
+
return e}const xt=ze({name:"VApp",props:{...Ze({fullHeight:!0}),...dt()},setup(e,l){let{slots:a}=l
|
|
240
|
+
const o=ft(e),{layoutClasses:n,layoutStyles:r,getLayoutItem:i,items:s,layoutRef:u}=tt(e),{rtlClasses:c}=kt()
|
|
241
|
+
return qe((()=>{var e
|
|
242
|
+
return t.createVNode("div",{ref:u,class:["v-application",o.themeClasses.value,n.value,c.value],style:r.value},[t.createVNode("div",{class:"v-application__wrap"},[null==(e=a.default)?void 0:e.call(a)])])})),{getLayoutItem:i,items:s,theme:o}}}),Ct=t.defineComponent({name:"VDefaultsProvider",props:{defaults:Object,reset:[Number,String],root:Boolean,scoped:Boolean},setup(e,l){let{slots:a}=l
|
|
243
|
+
const{defaults:o,reset:n,root:r,scoped:i}=t.toRefs(e)
|
|
244
|
+
return Oe(o,{reset:n,root:r,scoped:i}),()=>{var e
|
|
245
|
+
return null==(e=a.default)?void 0:e.call(a)}}})
|
|
246
|
+
function Nt(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top center 0",a=arguments.length>2?arguments[2]:void 0
|
|
247
|
+
return ze({name:e,props:{group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:{type:String,default:a},origin:{type:String,default:l}},setup(l,a){let{slots:o}=a
|
|
248
|
+
return()=>{const a=l.group?t.TransitionGroup:t.Transition
|
|
249
|
+
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:o}=e
|
|
250
|
+
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=`${o}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:o,height:n}=e._transitionInitialStyles
|
|
251
|
+
delete e._transitionInitialStyles,e.style.position=t||"",e.style.top=l||"",e.style.left=a||"",e.style.width=o||"",e.style.height=n||""}}},o.default)}}})}function _t(e,l){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"in-out"
|
|
252
|
+
return ze({name:e,props:{mode:{type:String,default:a}},setup(a,o){let{slots:n}=o
|
|
253
|
+
return()=>t.h(t.Transition,{name:e,...l},n.default)}})}function Bt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",l=arguments.length>1&&void 0!==arguments[1]&&arguments[1]
|
|
254
|
+
const a=l?"width":"height",o=t.camelize(`offset-${a}`)
|
|
255
|
+
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
|
|
256
|
+
t.style.setProperty("transition","none","important"),t.style.overflow="hidden"
|
|
257
|
+
const n=`${t[o]}px`
|
|
258
|
+
t.style[a]="0",t.offsetHeight,t.style.transition=l.transition,e&&t._parent&&t._parent.classList.add(e),requestAnimationFrame((()=>{t.style[a]=n}))},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[o]}px`,e.offsetHeight,requestAnimationFrame((()=>e.style[a]="0"))},onAfterLeave:n,onLeaveCancelled:n}
|
|
259
|
+
function n(t){e&&t._parent&&t._parent.classList.remove(e),r(t)}function r(e){const t=e._initialStyle[a]
|
|
260
|
+
e.style.overflow=e._initialStyle.overflow,null!=t&&(e.style[a]=t),delete e._initialStyle}}const It=ze({name:"VDialogTransition",props:{target:Object},setup(e,l){let{slots:a}=l
|
|
261
|
+
const o={onBeforeEnter(e){e.style.pointerEvents="none",e.style.visibility="hidden"},async onEnter(t,l){var a
|
|
262
|
+
await new Promise((e=>requestAnimationFrame(e))),await new Promise((e=>requestAnimationFrame(e))),t.style.visibility=""
|
|
263
|
+
const{x:o,y:n,sx:r,sy:i,speed:s}=At(e.target,t),u=Z(t,[{transform:`translate(${o}px, ${n}px) scale(${r}, ${i})`,opacity:0},{transform:""}],{duration:225*s,easing:"cubic-bezier(0.0, 0, 0.2, 1)"})
|
|
264
|
+
null==(a=$t(t))||a.forEach((e=>{Z(e,[{opacity:0},{opacity:0,offset:.33},{opacity:1}],{duration:450*s,easing:He})})),u.finished.then((()=>l()))},onAfterEnter(e){e.style.removeProperty("pointer-events")},onBeforeLeave(e){e.style.pointerEvents="none"},async onLeave(t,l){var a
|
|
265
|
+
await new Promise((e=>requestAnimationFrame(e)))
|
|
266
|
+
const{x:o,y:n,sx:r,sy:i,speed:s}=At(e.target,t)
|
|
267
|
+
Z(t,[{transform:""},{transform:`translate(${o}px, ${n}px) scale(${r}, ${i})`,opacity:0}],{duration:125*s,easing:"cubic-bezier(0.4, 0, 1, 1)"}).finished.then((()=>l())),null==(a=$t(t))||a.forEach((e=>{Z(e,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*s,easing:He})}))},onAfterLeave(e){e.style.removeProperty("pointer-events")}}
|
|
268
|
+
return()=>e.target?t.createVNode(t.Transition,t.mergeProps({name:"dialog-transition"},o,{css:!1}),a):t.createVNode(t.Transition,{name:"dialog-transition"},a)}})
|
|
269
|
+
function $t(e){var t
|
|
270
|
+
const l=null==(t=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))?void 0:t.children
|
|
271
|
+
return l&&[...l]}function At(e,t){const l=e.getBoundingClientRect(),a=K(t),[o,n]=getComputedStyle(t).transformOrigin.split(" ").map((e=>parseFloat(e))),[r,i]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ")
|
|
272
|
+
let s=l.left+l.width/2
|
|
273
|
+
"left"===r||"left"===i?s-=l.width/2:"right"!==r&&"right"!==i||(s+=l.width/2)
|
|
274
|
+
let u=l.top+l.height/2
|
|
275
|
+
"top"===r||"top"===i?u-=l.height/2:"bottom"!==r&&"bottom"!==i||(u+=l.height/2)
|
|
276
|
+
const c=l.width/a.width,d=l.height/a.height,v=Math.max(1,c,d),p=c/v,f=d/v,m=a.width*a.height/(window.innerWidth*window.innerHeight),g=m>.12?Math.min(1.5,10*(m-.12)+1):1
|
|
277
|
+
return{x:s-(o+a.left),y:u-(n+a.top),sx:p,sy:f,speed:g}}const Et=Nt("fab-transition","center center","out-in"),Rt=Nt("dialog-bottom-transition"),Lt=Nt("dialog-top-transition"),Tt=Nt("fade-transition"),Pt=Nt("scale-transition"),Ot=Nt("scroll-x-transition"),Mt=Nt("scroll-x-reverse-transition"),zt=Nt("scroll-y-transition"),Ft=Nt("scroll-y-reverse-transition"),Dt=Nt("slide-x-transition"),jt=Nt("slide-x-reverse-transition"),Ht=Nt("slide-y-transition"),Wt=Nt("slide-y-reverse-transition"),Ut=_t("expand-transition",Bt()),Yt=_t("expand-x-transition",Bt("",!0)),Xt=Xe({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension")
|
|
278
|
+
function qt(e){return{dimensionStyles:t.computed((()=>({height:g(e.height),maxHeight:g(e.maxHeight),maxWidth:g(e.maxWidth),minHeight:g(e.minHeight),minWidth:g(e.minWidth),width:g(e.width)})))}}const Gt=ze({name:"VResponsive",props:{aspectRatio:[String,Number],contentClass:String,...Xt()},setup(e,l){let{slots:a}=l
|
|
279
|
+
const{aspectStyles:o}=function(e){return{aspectStyles:t.computed((()=>{const t=Number(e.aspectRatio)
|
|
280
|
+
return t?{paddingBottom:String(1/t*100)+"%"}:void 0}))}}(e),{dimensionStyles:n}=qt(e)
|
|
281
|
+
return qe((()=>{var l
|
|
282
|
+
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()])])})),{}}})
|
|
283
|
+
function Kt(e,t){var l
|
|
242
284
|
const a=null==(l=e._observe)?void 0:l[t.instance.$.uid]
|
|
243
|
-
a&&(a.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const
|
|
244
|
-
const l=t.modifiers||{},
|
|
285
|
+
a&&(a.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const Zt={mounted:function(e,t){if(!a)return
|
|
286
|
+
const l=t.modifiers||{},o=t.value,{handler:n,options:r}="object"==typeof o?o:{handler:o,options:{}},i=new IntersectionObserver((function(){var a
|
|
245
287
|
let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1?arguments[1]:void 0
|
|
246
288
|
const i=null==(a=e._observe)?void 0:a[t.instance.$.uid]
|
|
247
289
|
if(!i)return
|
|
248
290
|
const s=o.some((e=>e.isIntersecting))
|
|
249
|
-
!n||l.quiet&&!i.init||l.once&&!s&&!i.init||n(s,o,r),s&&l.once?
|
|
250
|
-
e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:
|
|
251
|
-
let{slots:
|
|
252
|
-
const{transition:
|
|
253
|
-
if(!
|
|
254
|
-
const{component:i=t.Transition,...s}="object"==typeof
|
|
255
|
-
return t.h(i,t.mergeProps("string"==typeof
|
|
256
|
-
const
|
|
257
|
-
function
|
|
258
|
-
e.src=
|
|
259
|
-
if(
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
e&&(
|
|
264
|
-
const l=()=>{const{naturalHeight:a,naturalWidth:
|
|
265
|
-
a||
|
|
266
|
-
l()}t.watch((()=>e.src),(()=>{
|
|
267
|
-
const
|
|
268
|
-
if(!
|
|
269
|
-
const a=t.
|
|
270
|
-
return t.createVNode(
|
|
271
|
-
{const e=t.watch(
|
|
272
|
-
return
|
|
273
|
-
const
|
|
274
|
-
return t.createVNode(e.tag,{class:"v-toolbar-title"},{default:()=>[
|
|
275
|
-
function
|
|
276
|
-
const a=t.computed((()=>{const t=[]
|
|
277
|
-
if(
|
|
278
|
-
|
|
279
|
-
return
|
|
291
|
+
!n||l.quiet&&!i.init||l.once&&!s&&!i.init||n(s,o,r),s&&l.once?Kt(e,t):i.init=!0}),r)
|
|
292
|
+
e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:i},i.observe(e)},unmounted:Kt},Jt=Xe({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>!0!==e}},"transition"),Qt=(e,l)=>{var a
|
|
293
|
+
let{slots:o}=l
|
|
294
|
+
const{transition:n,...r}=e
|
|
295
|
+
if(!n||"boolean"==typeof n)return null==(a=o.default)?void 0:a.call(o)
|
|
296
|
+
const{component:i=t.Transition,...s}="object"==typeof n?n:{}
|
|
297
|
+
return t.h(i,t.mergeProps("string"==typeof n?{name:n}:s,r),o)},el=ze({name:"VImg",directives:{intersect:Zt},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],...Jt()},emits:["loadstart","load","error"],setup(e,l){let{emit:o,slots:n}=l
|
|
298
|
+
const r=t.ref(""),i=t.ref(),s=t.ref(e.eager?"loading":"idle"),u=t.ref(),c=t.ref(),d=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)})),v=t.computed((()=>d.value.aspect||u.value/c.value||0))
|
|
299
|
+
function p(l){if((!e.eager||!l)&&(!a||l||e.eager)){if(s.value="loading",d.value.lazySrc){const e=new Image
|
|
300
|
+
e.src=d.value.lazySrc,y(e,null)}d.value.src&&t.nextTick((()=>{var e,t
|
|
301
|
+
if(o("loadstart",(null==(e=i.value)?void 0:e.currentSrc)||d.value.src),null!=(t=i.value)&&t.complete){if(i.value.naturalWidth||m(),"error"===s.value)return
|
|
302
|
+
v.value||y(i.value,null),f()}else v.value||y(i.value),h()}))}}function f(){var e
|
|
303
|
+
h(),s.value="loaded",o("load",(null==(e=i.value)?void 0:e.currentSrc)||d.value.src)}function m(){var e
|
|
304
|
+
s.value="error",o("error",(null==(e=i.value)?void 0:e.currentSrc)||d.value.src)}function h(){const e=i.value
|
|
305
|
+
e&&(r.value=e.currentSrc||e.src)}function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100
|
|
306
|
+
const l=()=>{const{naturalHeight:a,naturalWidth:o}=e
|
|
307
|
+
a||o?(u.value=o,c.value=a):e.complete||"loading"!==s.value||null==t?(e.currentSrc.endsWith(".svg")||e.currentSrc.startsWith("data:image/svg+xml"))&&(u.value=1,c.value=1):setTimeout(l,t)}
|
|
308
|
+
l()}t.watch((()=>e.src),(()=>{p("idle"!==s.value)})),t.onBeforeMount((()=>p()))
|
|
309
|
+
const b=t.computed((()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover}))),V=()=>{var l
|
|
310
|
+
if(!d.value.src||"idle"===s.value)return null
|
|
311
|
+
const a=t.createVNode("img",{class:["v-img__img",b.value],src:d.value.src,srcset:d.value.srcset,alt:"",sizes:e.sizes,ref:i,onLoad:f,onError:m},null),o=null==(l=n.sources)?void 0:l.call(n)
|
|
312
|
+
return t.createVNode(Qt,{transition:e.transition,appear:!0},{default:()=>[t.withDirectives(o?t.createVNode("picture",{class:"v-img__picture"},[o,a]):a,[[t.vShow,"loaded"===s.value]])]})},S=()=>t.createVNode(Qt,{transition:e.transition},{default:()=>[d.value.lazySrc&&"loaded"!==s.value&&t.createVNode("img",{class:["v-img__img","v-img__img--preload",b.value],src:d.value.lazySrc,alt:""},null)]}),w=()=>n.placeholder?t.createVNode(Qt,{transition:e.transition,appear:!0},{default:()=>[("loading"===s.value||"error"===s.value&&!n.error)&&t.createVNode("div",{class:"v-img__placeholder"},[n.placeholder()])]}):null,k=()=>n.error?t.createVNode(Qt,{transition:e.transition,appear:!0},{default:()=>["error"===s.value&&t.createVNode("div",{class:"v-img__error"},[n.error()])]}):null,x=()=>e.gradient?t.createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,C=t.ref(!1)
|
|
313
|
+
{const e=t.watch(v,(t=>{t&&(requestAnimationFrame((()=>{requestAnimationFrame((()=>{C.value=!0}))})),e())}))}return qe((()=>t.withDirectives(t.createVNode(Gt,{class:["v-img",{"v-img--booting":!C.value}],style:{width:g("auto"===e.width?u.value:e.width)},aspectRatio:v.value,"aria-label":e.alt,role:e.alt?"img":void 0},{additional:()=>t.createVNode(t.Fragment,null,[t.createVNode(V,null,null),t.createVNode(S,null,null),t.createVNode(x,null,null),t.createVNode(w,null,null),t.createVNode(k,null,null)]),default:n.default}),[[t.resolveDirective("intersect"),{handler:p,options:e.options},null,{once:!0}]]))),{currentSrc:r,image:i,state:s,naturalWidth:u,naturalHeight:c}}}),tl=Xe({tag:{type:String,default:"div"}},"tag"),ll=Fe()({name:"VToolbarTitle",props:{text:String,...tl()},setup(e,l){let{slots:a}=l
|
|
314
|
+
return qe((()=>{var l
|
|
315
|
+
const o=!!(a.default||a.text||e.text)
|
|
316
|
+
return t.createVNode(e.tag,{class:"v-toolbar-title"},{default:()=>[o&&t.createVNode("div",{class:"v-toolbar-title__placeholder"},[a.text?a.text():e.text,null==(l=a.default)?void 0:l.call(a)])]})})),{}}}),al=Xe({border:[Boolean,Number,String]},"border")
|
|
317
|
+
function ol(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$e()
|
|
318
|
+
const a=t.computed((()=>{const a=t.isRef(e)?e.value:e.border,o=[]
|
|
319
|
+
if(!0===a||""===a)o.push(`${l}--border`)
|
|
320
|
+
else if("string"==typeof a||0===a)for(const e of String(a).split(" "))o.push(`border-${e}`)
|
|
321
|
+
return o}))
|
|
322
|
+
return{borderClasses:a}}const nl=Xe({elevation:{type:[Number,String],validator(e){const t=parseInt(e)
|
|
280
323
|
return!isNaN(t)&&t>=0&&t<=24}}},"elevation")
|
|
281
|
-
function
|
|
282
|
-
return null==l||a.push(`elevation-${l}`),a}))}}const
|
|
283
|
-
function
|
|
284
|
-
const a=t.computed((()=>{const a=t.isRef(e)?e.value:e.rounded,
|
|
285
|
-
if(!0===a||""===a)
|
|
286
|
-
else if("string"==typeof a||0===a)for(const e of String(a).split(" "))
|
|
287
|
-
return
|
|
288
|
-
return{roundedClasses:a}}function
|
|
289
|
-
return{colorClasses:t.computed((()=>{
|
|
290
|
-
return e
|
|
291
|
-
return
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
return
|
|
295
|
-
|
|
296
|
-
return
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
const
|
|
305
|
-
return
|
|
306
|
-
const
|
|
307
|
-
return
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
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 At=fe({name:"VAppBar",props:{modelValue:{type:Boolean,default:!0},position:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...$t(),...Ge(),height:{type:[Number,String],default:64}},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
312
|
-
const n=t.ref(),o=Et(e,"modelValue"),r=t.computed((()=>{var e
|
|
313
|
-
return null==(e=n.value)?void 0:e.contentHeight})),{layoutItemStyles:i}=Ze({id:e.name,priority:t.computed((()=>parseInt(e.priority,10))),position:t.toRef(e,"position"),layoutSize:r,elementSize:r,active:o,absolute:t.toRef(e,"absolute")})
|
|
314
|
-
return()=>{const[l]=function(e){var t
|
|
315
|
-
return x(e,Object.keys(null!=(t=null==It?void 0:It.props)?t:{}))}(e)
|
|
316
|
-
return t.createVNode(It,t.mergeProps({ref:n,class:["v-app-bar",{"v-app-bar--bottom":"bottom"===e.position}],style:i.value},l),a)}}}),Rt=[null,"default","comfortable","compact"],Tt=$e({density:{type:String,default:"default",validator:e=>Rt.includes(e)}},"density")
|
|
317
|
-
function Lt(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ve()
|
|
324
|
+
function rl(e){return{elevationClasses:t.computed((()=>{const l=t.isRef(e)?e.value:e.elevation,a=[]
|
|
325
|
+
return null==l||a.push(`elevation-${l}`),a}))}}const il=Xe({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded")
|
|
326
|
+
function sl(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$e()
|
|
327
|
+
const a=t.computed((()=>{const a=t.isRef(e)?e.value:e.rounded,o=[]
|
|
328
|
+
if(!0===a||""===a)o.push(`${l}--rounded`)
|
|
329
|
+
else if("string"==typeof a||0===a)for(const e of String(a).split(" "))o.push(`rounded-${e}`)
|
|
330
|
+
return o}))
|
|
331
|
+
return{roundedClasses:a}}function ul(e){return L((()=>{const t=[],l={}
|
|
332
|
+
return e.value.background&&(fe(e.value.background)?l.backgroundColor=e.value.background:t.push(`bg-${e.value.background}`)),e.value.text&&(fe(e.value.text)?(l.color=e.value.text,l.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:l}}))}function cl(e,l){const a=t.computed((()=>({text:t.isRef(e)?e.value:l?e[l]:null}))),{colorClasses:o,colorStyles:n}=ul(a)
|
|
333
|
+
return{textColorClasses:o,textColorStyles:n}}function dl(e,l){const a=t.computed((()=>({background:t.isRef(e)?e.value:l?e[l]:null}))),{colorClasses:o,colorStyles:n}=ul(a)
|
|
334
|
+
return{backgroundColorClasses:o,backgroundColorStyles:n}}const vl=[null,"prominent","default","comfortable","compact"],pl=Xe({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>vl.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...al(),...nl(),...il(),...tl({tag:"header"}),...dt()},"v-toolbar"),fl=Fe()({name:"VToolbar",props:pl(),setup(e,l){var a
|
|
335
|
+
let{slots:o}=l
|
|
336
|
+
const{backgroundColorClasses:n,backgroundColorStyles:r}=dl(t.toRef(e,"color")),{borderClasses:i}=ol(e),{elevationClasses:s}=rl(e),{roundedClasses:u}=sl(e),{themeClasses:c}=ft(e),d=t.ref(!!(e.extended||null!=(a=o.extension)&&a.call(o))),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))
|
|
337
|
+
return Oe({VBtn:{variant:"text"}}),qe((()=>{var l,a,f,m,h
|
|
338
|
+
const y=!(!e.title&&!o.title),b=!(!o.image&&!e.image),V=null==(l=o.extension)?void 0:l.call(o)
|
|
339
|
+
return d.value=!(!e.extended&&!V),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},n.value,i.value,s.value,u.value,c.value],style:[r.value]},{default:()=>[b&&t.createVNode("div",{key:"image",class:"v-toolbar__image"},[t.createVNode(Ct,{defaults:{VImg:{cover:!0,src:e.image}}},{default:()=>[o.image?null==(a=o.image)?void 0:a.call(o):t.createVNode(el,null,null)]})]),t.createVNode("div",{class:"v-toolbar__content",style:{height:g(v.value)}},[o.prepend&&t.createVNode("div",{class:"v-toolbar__prepend"},[null==(f=o.prepend)?void 0:f.call(o)]),y&&t.createVNode(ll,{key:"title",text:e.title},{text:o.title}),null==(m=o.default)?void 0:m.call(o),o.append&&t.createVNode("div",{class:"v-toolbar__append"},[null==(h=o.append)?void 0:h.call(o)])]),t.createVNode(Ut,null,{default:()=>[d.value&&t.createVNode("div",{class:"v-toolbar__extension",style:{height:g(p.value)}},[V])]})]})})),{contentHeight:v,extensionHeight:p}}})
|
|
340
|
+
function ml(e,l){let a
|
|
341
|
+
t.watch(e,(e=>{var o
|
|
342
|
+
e&&!a?(a=t.effectScope(),a.run(l)):(null==(o=a)||o.stop(),a=void 0)}),{immediate:!0})}function gl(e,l,a){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e=>e,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e=>e
|
|
343
|
+
const r=Ie("useProxiedModel"),i=t.ref(e[l]),s=I(l),u=s!==l,c=u?t.computed((()=>{var t,a,o,n
|
|
344
|
+
return e[l],!(!(null!=(t=r.vnode.props)&&t.hasOwnProperty(l)||null!=(a=r.vnode.props)&&a.hasOwnProperty(s))||!(null!=(o=r.vnode.props)&&o.hasOwnProperty(`onUpdate:${l}`)||null!=(n=r.vnode.props)&&n.hasOwnProperty(`onUpdate:${s}`)))})):t.computed((()=>{var t,a
|
|
345
|
+
return e[l],!(null==(t=r.vnode.props)||!t.hasOwnProperty(l)||null==(a=r.vnode.props)||!a.hasOwnProperty(`onUpdate:${l}`))}))
|
|
346
|
+
ml((()=>!c.value),(()=>{t.watch((()=>e[l]),(e=>{i.value=e}))}))
|
|
347
|
+
const d=t.computed({get:()=>o(c.value?e[l]:i.value),set(t){o(c.value?e[l]:i.value)!==t&&(t=n(t),i.value=t,null==r||r.emit(`update:${l}`,t))}})
|
|
348
|
+
return Object.defineProperty(d,"externalValue",{get:()=>c.value?e[l]:i.value}),d}const hl=ze({name:"VAppBar",props:{modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...pl(),...Je(),height:{type:[Number,String],default:64}},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
349
|
+
const o=t.ref(),n=gl(e,"modelValue"),r=t.computed((()=>{var e,t
|
|
350
|
+
return((null==(e=o.value)?void 0:e.contentHeight)??0)+((null==(t=o.value)?void 0:t.extensionHeight)??0)})),{layoutItemStyles:i}=et({id:e.name,order:t.computed((()=>parseInt(e.order,10))),position:t.toRef(e,"location"),layoutSize:r,elementSize:r,active:n,absolute:t.toRef(e,"absolute")})
|
|
351
|
+
return qe((()=>{const[l]=function(e){return S(e,Object.keys((null==fl?void 0:fl.props)??{}))}(e)
|
|
352
|
+
return t.createVNode(fl,t.mergeProps({ref:o,class:["v-app-bar",{"v-app-bar--bottom":"bottom"===e.location}],style:{...i.value,height:void 0}},l),a)})),{}}}),yl=[null,"default","comfortable","compact"],bl=Xe({density:{type:String,default:"default",validator:e=>yl.includes(e)}},"density")
|
|
353
|
+
function Vl(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$e()
|
|
318
354
|
const a=t.computed((()=>`${l}--density-${e.density}`))
|
|
319
|
-
return{densityClasses:a}}const
|
|
320
|
-
function
|
|
321
|
-
function
|
|
355
|
+
return{densityClasses:a}}const Sl=["elevated","flat","tonal","outlined","text","plain"]
|
|
356
|
+
function wl(e,l){return t.createVNode(t.Fragment,null,[e&&t.createVNode("span",{key:"overlay",class:`${l}__overlay`},null),t.createVNode("span",{key:"underlay",class:`${l}__underlay`},null)])}const kl=Xe({color:String,variant:{type:String,default:"elevated",validator:e=>Sl.includes(e)}},"variant")
|
|
357
|
+
function xl(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$e()
|
|
322
358
|
const a=t.computed((()=>{const{variant:a}=t.unref(e)
|
|
323
|
-
return`${l}--variant-${a}`})),{colorClasses:
|
|
324
|
-
return{
|
|
325
|
-
return{colorClasses:
|
|
326
|
-
const{themeClasses:
|
|
327
|
-
|
|
328
|
-
function
|
|
329
|
-
const
|
|
330
|
-
if(!
|
|
331
|
-
const
|
|
332
|
-
t.provide(Symbol.for(`${l.description}:id`),
|
|
359
|
+
return`${l}--variant-${a}`})),{colorClasses:o,colorStyles:n}=ul(t.computed((()=>{const{variant:l,color:a}=t.unref(e)
|
|
360
|
+
return{[["elevated","flat"].includes(l)?"background":"text"]:a}})))
|
|
361
|
+
return{colorClasses:o,colorStyles:n,variantClasses:a}}const Cl=ze({name:"VBtnGroup",props:{divided:Boolean,...al(),...bl(),...nl(),...il(),...tl(),...dt(),...kl()},setup(e,l){let{slots:a}=l
|
|
362
|
+
const{themeClasses:o}=ft(e),{densityClasses:n}=Vl(e),{borderClasses:r}=ol(e),{elevationClasses:i}=rl(e),{roundedClasses:s}=sl(e)
|
|
363
|
+
Oe({VBtn:{height:"auto",color:t.toRef(e,"color"),density:t.toRef(e,"density"),flat:!0,variant:t.toRef(e,"variant")}}),qe((()=>t.createVNode(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},o.value,r.value,n.value,i.value,s.value]},a)))}}),Nl=Xe({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),_l=Xe({value:null,disabled:Boolean,selectedClass:String},"group-item")
|
|
364
|
+
function Bl(e,l){let a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2]
|
|
365
|
+
const o=Ie("useGroupItem")
|
|
366
|
+
if(!o)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function")
|
|
367
|
+
const n=Re()
|
|
368
|
+
t.provide(Symbol.for(`${l.description}:id`),n)
|
|
333
369
|
const r=t.inject(l,null)
|
|
334
370
|
if(!r){if(!a)return r
|
|
335
371
|
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))
|
|
336
|
-
r.register({id:
|
|
337
|
-
const u=t.computed((()=>r.isSelected(
|
|
338
|
-
return u.value
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
t.
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
const
|
|
354
|
-
o
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
const a=r.value.slice(),n=a.findIndex((e=>e===t)),i=~n
|
|
360
|
-
if(l=null!=(o=l)?o:!i,i&&e.mandatory&&a.length<=1)return
|
|
361
|
-
if(!i&&null!=e.max&&a.length+1>e.max)return
|
|
362
|
-
n<0&&l?a.push(t):n>=0&&!l&&a.splice(n,1),r.value=a}else{var i
|
|
363
|
-
const a=r.value.includes(t)
|
|
372
|
+
r.register({id:n,value:i,disabled:s},o),t.onBeforeUnmount((()=>{r.unregister(n)}))
|
|
373
|
+
const u=t.computed((()=>r.isSelected(n))),c=t.computed((()=>u.value&&[r.selectedClass.value,e.selectedClass]))
|
|
374
|
+
return t.watch(u,(e=>{o.emit("group:selected",{value:e})})),{id:n,isSelected:u,toggle:()=>r.select(n,!u.value),select:e=>r.select(n,e),selectedClass:c,value:i,disabled:s,group:r}}function Il(e,l){let a=!1
|
|
375
|
+
const o=t.reactive([]),n=gl(e,"modelValue",[],(e=>null==e?[]:$l(o,k(e))),(t=>{const l=function(e,t){const l=[]
|
|
376
|
+
for(let a=0;a<e.length;a++){const o=e[a]
|
|
377
|
+
t.includes(o.id)&&l.push(null!=o.value?o.value:a)}return l}(o,t)
|
|
378
|
+
return e.multiple?l:l[0]})),r=Ie("useGroup")
|
|
379
|
+
function i(){const t=o.find((e=>!e.disabled))
|
|
380
|
+
t&&"force"===e.mandatory&&!n.value.length&&(n.value=[t.id])}function s(t){if(e.multiple&&Q('This method is not supported when using "multiple" prop'),n.value.length){const e=n.value[0],l=o.findIndex((t=>t.id===e))
|
|
381
|
+
let a=(l+t)%o.length,r=o[a]
|
|
382
|
+
for(;r.disabled&&a!==l;)a=(a+t)%o.length,r=o[a]
|
|
383
|
+
if(r.disabled)return
|
|
384
|
+
n.value=[o[a].id]}else{const e=o.find((e=>!e.disabled))
|
|
385
|
+
e&&(n.value=[e.id])}}t.onMounted((()=>{i()})),t.onBeforeUnmount((()=>{a=!0}))
|
|
386
|
+
const u={register:function(e,t){const a=e,n=$(Symbol.for(`${l.description}:id`),null==r?void 0:r.vnode).indexOf(t)
|
|
387
|
+
n>-1?o.splice(n,0,a):o.push(a)},unregister:function(e){if(a)return
|
|
388
|
+
i()
|
|
389
|
+
const t=o.findIndex((t=>t.id===e))
|
|
390
|
+
o.splice(t,1)},selected:n,select:function(t,l){const a=o.find((e=>e.id===t))
|
|
391
|
+
if(!l||null==a||!a.disabled)if(e.multiple){const a=n.value.slice(),o=a.findIndex((e=>e===t)),r=~o
|
|
392
|
+
if(l=l??!r,r&&e.mandatory&&a.length<=1)return
|
|
393
|
+
if(!r&&null!=e.max&&a.length+1>e.max)return
|
|
394
|
+
o<0&&l?a.push(t):o>=0&&!l&&a.splice(o,1),n.value=a}else{const a=n.value.includes(t)
|
|
364
395
|
if(e.mandatory&&a)return
|
|
365
|
-
|
|
366
|
-
return
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
return{
|
|
373
|
-
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)])]})}}),
|
|
396
|
+
n.value=l??!a?[t]:[]}},disabled:t.toRef(e,"disabled"),prev:()=>s(o.length-1),next:()=>s(1),isSelected:e=>n.value.includes(e),selectedClass:t.computed((()=>e.selectedClass)),items:t.computed((()=>o)),getItemIndex:e=>function(e,t){const l=$l(e,[t])
|
|
397
|
+
return l.length?e.findIndex((e=>e.id===l[0])):-1}(o,e)}
|
|
398
|
+
return t.provide(l,u),u}function $l(e,t){const l=[]
|
|
399
|
+
for(let a=0;a<e.length;a++){const o=e[a]
|
|
400
|
+
null!=o.value?null!=t.find((e=>v(e,o.value)))&&l.push(o.id):t.includes(a)&&l.push(o.id)}return l}const Al=Symbol.for("vuetify:v-btn-toggle"),El=Fe()({name:"VBtnToggle",props:Nl(),emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
401
|
+
const{isSelected:o,next:n,prev:r,select:i,selected:s}=Il(e,Al)
|
|
402
|
+
return qe((()=>{var e
|
|
403
|
+
return t.createVNode(Cl,{class:"v-btn-toggle"},{default:()=>[null==(e=a.default)?void 0:e.call(a,{isSelected:o,next:n,prev:r,select:i,selected:s})]})})),{next:n,prev:r,select:i}}}),Rl={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"},Ll={component:e=>t.h(Dl,{...e,class:"mdi"})},Tl=[String,Function,Object],Pl=Symbol.for("vuetify:icons"),Ol=Xe({icon:{type:Tl,required:!0},tag:{type:String,required:!0}},"icon"),Ml=ze({name:"VComponentIcon",props:Ol(),setup:e=>()=>t.createVNode(e.tag,null,{default:()=>[t.createVNode(e.icon,null,null)]})}),zl=ze({name:"VSvgIcon",inheritAttrs:!1,props:Ol(),setup(e,l){let{attrs:a}=l
|
|
404
|
+
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)])]})}}),Fl=ze({name:"VLigatureIcon",props:Ol(),setup:e=>()=>t.createVNode(e.tag,null,{default:()=>[e.icon]})}),Dl=ze({name:"VClassIcon",props:Ol(),setup:e=>()=>t.createVNode(e.tag,{class:e.icon},null)}),jl={svg:{component:zl},class:{component:Dl}}
|
|
405
|
+
function Hl(e){return _({defaultSet:"mdi",sets:{...jl,mdi:Ll},aliases:Rl},e)}const Wl=["x-small","small","default","large","x-large"],Ul=Xe({size:{type:[String,Number],default:"default"}},"size")
|
|
406
|
+
function Yl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$e()
|
|
407
|
+
return L((()=>{let l,a
|
|
408
|
+
return T(Wl,e.size)?l=`${t}--size-${e.size}`:e.size&&(a={width:g(e.size),height:g(e.size)}),{sizeClasses:l,sizeStyles:a}}))}const Xl=Xe({color:String,start:Boolean,end:Boolean,icon:Tl,...Ul(),...tl({tag:"i"}),...dt()},"v-icon"),ql=ze({name:"VIcon",props:Xl(),setup(e,l){let a,{attrs:o,slots:n}=l
|
|
374
409
|
n.default&&(a=t.computed((()=>{var e,t
|
|
375
410
|
const l=null==(e=n.default)?void 0:e.call(n)
|
|
376
|
-
if(l)return null==(t=
|
|
377
|
-
const{themeClasses:
|
|
411
|
+
if(l)return null==(t=B(l).filter((e=>e.children&&"string"==typeof e.children))[0])?void 0:t.children})))
|
|
412
|
+
const{themeClasses:r}=ft(e),{iconData:i}=(e=>{const l=t.inject(Pl)
|
|
378
413
|
if(!l)throw new Error("Missing Vuetify Icons provide!")
|
|
379
414
|
return{iconData:t.computed((()=>{const a=t.isRef(e)?e.value:e.icon
|
|
380
415
|
if(!a)throw new Error("Icon value is undefined or null")
|
|
381
|
-
let
|
|
382
|
-
var
|
|
383
|
-
if("string"==typeof a&&a.includes("$")&&(
|
|
384
|
-
if("string"!=typeof
|
|
385
|
-
const r=Object.keys(l.sets).find((e=>"string"==typeof
|
|
386
|
-
return{component:l.sets[
|
|
387
|
-
return()=>t.createVNode(
|
|
388
|
-
function
|
|
389
|
-
const a=
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
return{
|
|
393
|
-
|
|
394
|
-
if("string"==typeof a)return{isLink:n,isClickable:o,href:t.toRef(e,"href")}
|
|
395
|
-
const r=e.to?a.useLink(e):void 0
|
|
396
|
-
return{...r,isLink:n,isClickable:o,href:t.computed((()=>e.to?null==r?void 0:r.route.value.href:e.href))}}const ul=$e({href:String,replace:Boolean,to:[String,Object]},"router")
|
|
397
|
-
const cl=Symbol("rippleStop")
|
|
398
|
-
function dl(e,t){e.style.transform=t,e.style.webkitTransform=t}function vl(e,t){e.style.opacity=`calc(${t} * var(--v-theme-overlay-multiplier))`}function pl(e){return"TouchEvent"===e.constructor.name}function fl(e){return"KeyboardEvent"===e.constructor.name}const ml={show(e,t){var l
|
|
416
|
+
let o=a
|
|
417
|
+
var n
|
|
418
|
+
if("string"==typeof a&&a.includes("$")&&(o=null==(n=l.aliases)?void 0:n[a.slice(a.indexOf("$")+1)]),!o)throw new Error(`Could not find aliased icon "${a}"`)
|
|
419
|
+
if("string"!=typeof o)return{component:Ml,icon:o}
|
|
420
|
+
const r=Object.keys(l.sets).find((e=>"string"==typeof o&&o.startsWith(`${e}:`))),i=r?o.slice(r.length+1):o
|
|
421
|
+
return{component:l.sets[r??l.defaultSet].component,icon:i}}))}})(a||e),{sizeClasses:s}=Yl(e),{textColorClasses:u,textColorStyles:c}=cl(t.toRef(e,"color"))
|
|
422
|
+
return qe((()=>t.createVNode(i.value.component,{tag:e.tag,icon:i.value.icon,class:["v-icon","notranslate",r.value,s.value,u.value,{"v-icon--clickable":!!o.onClick,"v-icon--start":e.start,"v-icon--end":e.end}],style:[s.value?void 0:{fontSize:g(e.size),height:g(e.size),width:g(e.size)},c.value],role:o.onClick?"button":void 0,"aria-hidden":!o.onClick},null))),{}}})
|
|
423
|
+
function Gl(e){const l=t.ref(),o=t.ref(!1)
|
|
424
|
+
if(a){const a=new IntersectionObserver((t=>{null==e||e(t,a),o.value=!!t.find((e=>e.isIntersecting))}))
|
|
425
|
+
t.onBeforeUnmount((()=>{a.disconnect()})),t.watch(l,((e,t)=>{t&&(a.unobserve(t),o.value=!1),e&&a.observe(e)}),{flush:"post"})}return{intersectionRef:l,isIntersecting:o}}const Kl=ze({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},...Ul(),...tl({tag:"div"}),...dt()},setup(e,l){let{slots:a}=l
|
|
426
|
+
const o=2*Math.PI*20,n=t.ref(),{themeClasses:i}=ft(e),{sizeClasses:s,sizeStyles:u}=Yl(e),{textColorClasses:c,textColorStyles:d}=cl(t.toRef(e,"color")),{textColorClasses:v,textColorStyles:p}=cl(t.toRef(e,"bgColor")),{intersectionRef:f,isIntersecting:m}=Gl(),{resizeRef:h,contentRect:y}=r(),b=t.computed((()=>Math.max(0,Math.min(100,parseFloat(e.modelValue))))),V=t.computed((()=>Number(e.width))),S=t.computed((()=>u.value?Number(e.size):y.value?y.value.width:Math.max(V.value,32))),w=t.computed((()=>20/(1-V.value/S.value)*2)),k=t.computed((()=>V.value/S.value*w.value)),x=t.computed((()=>g((100-b.value)/100*o)))
|
|
427
|
+
return t.watchEffect((()=>{f.value=n.value,h.value=n.value})),qe((()=>t.createVNode(e.tag,{ref:n,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":m.value,"v-progress-circular--disable-shrink":"disable-shrink"===e.indeterminate},i.value,s.value,c.value],style:[u.value,d.value],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:b.value},{default:()=>[t.createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${w.value} ${w.value}`},[t.createVNode("circle",{class:["v-progress-circular__underlay",v.value],style:p.value,fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":k.value,"stroke-dasharray":o,"stroke-dashoffset":0},null),t.createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":k.value,"stroke-dasharray":o,"stroke-dashoffset":x.value},null)]),a.default&&t.createVNode("div",{class:"v-progress-circular__content"},[a.default({value:b.value})])]}))),{}}}),Zl=Symbol("rippleStop")
|
|
428
|
+
function Jl(e,t){e.style.transform=t,e.style.webkitTransform=t}function Ql(e,t){e.style.opacity=`calc(${t} * var(--v-theme-overlay-multiplier))`}function ea(e){return"TouchEvent"===e.constructor.name}function ta(e){return"KeyboardEvent"===e.constructor.name}const la={show(e,t){var l
|
|
399
429
|
let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}
|
|
400
430
|
if(null==t||null==(l=t._ripple)||!l.enabled)return
|
|
401
|
-
const
|
|
402
|
-
|
|
431
|
+
const o=document.createElement("span"),n=document.createElement("span")
|
|
432
|
+
o.appendChild(n),o.className="v-ripple__container",a.class&&(o.className+=` ${a.class}`)
|
|
403
433
|
const{radius:r,scale:i,x:s,y:u,centerX:c,centerY:d}=function(e,t){var l
|
|
404
|
-
let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},
|
|
405
|
-
if(!
|
|
406
|
-
|
|
407
|
-
null!=(l=t._ripple)&&l.circle?(i=.15,r=t.clientWidth/2,r=a.center?r:r+Math.sqrt((
|
|
408
|
-
const s=(t.clientWidth-2*r)/2+"px",u=(t.clientHeight-2*r)/2+"px",c=a.center?s:
|
|
434
|
+
let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=0,n=0
|
|
435
|
+
if(!ta(e)){const l=t.getBoundingClientRect(),a=ea(e)?e.touches[e.touches.length-1]:e
|
|
436
|
+
o=a.clientX-l.left,n=a.clientY-l.top}let r=0,i=.3
|
|
437
|
+
null!=(l=t._ripple)&&l.circle?(i=.15,r=t.clientWidth/2,r=a.center?r:r+Math.sqrt((o-r)**2+(n-r)**2)/4):r=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2
|
|
438
|
+
const s=(t.clientWidth-2*r)/2+"px",u=(t.clientHeight-2*r)/2+"px",c=a.center?s:o-r+"px",d=a.center?u:n-r+"px"
|
|
409
439
|
return{radius:r,scale:i,x:c,y:d,centerX:s,centerY:u}}(e,t,a),v=2*r+"px"
|
|
410
|
-
|
|
440
|
+
n.className="v-ripple__animation",n.style.width=v,n.style.height=v,t.appendChild(o)
|
|
411
441
|
const p=window.getComputedStyle(t)
|
|
412
|
-
p&&"static"===p.position&&(t.style.position="relative",t.dataset.previousPosition="static"),
|
|
442
|
+
p&&"static"===p.position&&(t.style.position="relative",t.dataset.previousPosition="static"),n.classList.add("v-ripple__animation--enter"),n.classList.add("v-ripple__animation--visible"),Jl(n,`translate(${s}, ${u}) scale3d(${i},${i},${i})`),Ql(n,0),n.dataset.activated=String(performance.now()),setTimeout((()=>{n.classList.remove("v-ripple__animation--enter"),n.classList.add("v-ripple__animation--in"),Jl(n,`translate(${c}, ${d}) scale3d(1,1,1)`),Ql(n,.08)}),0)},hide(e){var t
|
|
413
443
|
if(null==e||null==(t=e._ripple)||!t.enabled)return
|
|
414
444
|
const l=e.getElementsByClassName("v-ripple__animation")
|
|
415
445
|
if(0===l.length)return
|
|
416
446
|
const a=l[l.length-1]
|
|
417
447
|
if(a.dataset.isHiding)return
|
|
418
448
|
a.dataset.isHiding="true"
|
|
419
|
-
const
|
|
420
|
-
setTimeout((()=>{a.classList.remove("v-ripple__animation--in"),a.classList.add("v-ripple__animation--out"),
|
|
421
|
-
function
|
|
422
|
-
if(null!=l&&l._ripple&&!l._ripple.touched&&!e[
|
|
449
|
+
const o=performance.now()-Number(a.dataset.activated),n=Math.max(250-o,0)
|
|
450
|
+
setTimeout((()=>{a.classList.remove("v-ripple__animation--in"),a.classList.add("v-ripple__animation--out"),Ql(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)}),n)}}
|
|
451
|
+
function aa(e){return void 0===e||!!e}function oa(e){const t={},l=e.currentTarget
|
|
452
|
+
if(null!=l&&l._ripple&&!l._ripple.touched&&!e[Zl]){if(e[Zl]=!0,ea(e))l._ripple.touched=!0,l._ripple.isTouch=!0
|
|
423
453
|
else if(l._ripple.isTouch)return
|
|
424
|
-
if(t.center=l._ripple.centered||
|
|
425
|
-
l._ripple.showTimerCommit=()=>{
|
|
426
|
-
null!=l&&null!=(e=l._ripple)&&e.showTimerCommit&&(l._ripple.showTimerCommit(),l._ripple.showTimerCommit=null)}),80)}else
|
|
427
|
-
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((()=>{
|
|
428
|
-
window.setTimeout((()=>{t._ripple&&(t._ripple.touched=!1)})),
|
|
429
|
-
t&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let
|
|
430
|
-
function
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
const{
|
|
435
|
-
|
|
436
|
-
const
|
|
437
|
-
return
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
return
|
|
441
|
-
|
|
442
|
-
return
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
function
|
|
447
|
-
|
|
448
|
-
return
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
return
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
return
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
e
|
|
460
|
-
|
|
461
|
-
return
|
|
462
|
-
return(
|
|
463
|
-
const
|
|
464
|
-
return
|
|
465
|
-
t.
|
|
466
|
-
|
|
467
|
-
t.
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
t
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
454
|
+
if(t.center=l._ripple.centered||ta(e),l._ripple.class&&(t.class=l._ripple.class),ea(e)){if(l._ripple.showTimerCommit)return
|
|
455
|
+
l._ripple.showTimerCommit=()=>{la.show(e,l,t)},l._ripple.showTimer=window.setTimeout((()=>{var e
|
|
456
|
+
null!=l&&null!=(e=l._ripple)&&e.showTimerCommit&&(l._ripple.showTimerCommit(),l._ripple.showTimerCommit=null)}),80)}else la.show(e,l,t)}}function na(e){e[Zl]=!0}function ra(e){const t=e.currentTarget
|
|
457
|
+
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((()=>{ra(e)})))
|
|
458
|
+
window.setTimeout((()=>{t._ripple&&(t._ripple.touched=!1)})),la.hide(t)}}function ia(e){const t=e.currentTarget
|
|
459
|
+
t&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let sa=!1
|
|
460
|
+
function ua(e){sa||e.keyCode!==y.enter&&e.keyCode!==y.space||(sa=!0,oa(e))}function ca(e){sa=!1,ra(e)}function da(e){sa&&(sa=!1,ra(e))}function va(e,t,l){const{value:a,modifiers:o}=t,n=aa(a)
|
|
461
|
+
if(n||la.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=n,e._ripple.centered=o.center,e._ripple.circle=o.circle,h(a)&&a.class&&(e._ripple.class=a.class),n&&!l){if(o.stop)return e.addEventListener("touchstart",na,{passive:!0}),void e.addEventListener("mousedown",na)
|
|
462
|
+
e.addEventListener("touchstart",oa,{passive:!0}),e.addEventListener("touchend",ra,{passive:!0}),e.addEventListener("touchmove",ia,{passive:!0}),e.addEventListener("touchcancel",ra),e.addEventListener("mousedown",oa),e.addEventListener("mouseup",ra),e.addEventListener("mouseleave",ra),e.addEventListener("keydown",ua),e.addEventListener("keyup",ca),e.addEventListener("blur",da),e.addEventListener("dragstart",ra,{passive:!0})}else!n&&l&&pa(e)}function pa(e){e.removeEventListener("mousedown",oa),e.removeEventListener("touchstart",oa),e.removeEventListener("touchend",ra),e.removeEventListener("touchmove",ia),e.removeEventListener("touchcancel",ra),e.removeEventListener("mouseup",ra),e.removeEventListener("mouseleave",ra),e.removeEventListener("keydown",ua),e.removeEventListener("keyup",ca),e.removeEventListener("dragstart",ra),e.removeEventListener("blur",da)}const fa={mounted:function(e,t){va(e,t,!1)},unmounted:function(e){delete e._ripple,pa(e)},updated:function(e,t){if(t.value===t.oldValue)return
|
|
463
|
+
va(e,t,aa(t.oldValue))}},ma=ze({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,...il(),...tl(),...dt()},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
464
|
+
const o=gl(e,"modelValue"),{isRtl:n}=kt(),{themeClasses:r}=ft(e),{textColorClasses:i,textColorStyles:s}=cl(e,"color"),{backgroundColorClasses:u,backgroundColorStyles:c}=dl(t.computed((()=>e.bgColor||e.color))),{backgroundColorClasses:d,backgroundColorStyles:v}=dl(e,"color"),{roundedClasses:p}=sl(e),{intersectionRef:f,isIntersecting:m}=Gl(),h=t.computed((()=>parseInt(e.max,10))),y=t.computed((()=>parseInt(e.height,10))),b=t.computed((()=>parseFloat(e.bufferValue)/h.value*100)),V=t.computed((()=>parseFloat(o.value)/h.value*100)),S=t.computed((()=>n.value!==e.reverse)),w=t.computed((()=>e.indeterminate?"fade-transition":"slide-x-transition")),k=t.computed((()=>null==e.bgOpacity?e.bgOpacity:parseFloat(e.bgOpacity)))
|
|
465
|
+
function x(e){if(!f.value)return
|
|
466
|
+
const{left:t,right:l,width:a}=f.value.getBoundingClientRect(),n=S.value?a-e.clientX+(l-a):e.clientX-t
|
|
467
|
+
o.value=Math.round(n/a*h.value)}return qe((()=>t.createVNode(e.tag,{ref:f,class:["v-progress-linear",{"v-progress-linear--active":e.active&&m.value,"v-progress-linear--reverse":S.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?g(y.value):0,"--v-progress-linear-height":g(y.value)},role:"progressbar","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:V.value,onClick:e.clickable&&x},{default:()=>[e.stream&&t.createVNode("div",{key:"stream",class:["v-progress-linear__stream",i.value],style:{...s.value,[S.value?"left":"right"]:g(-y.value),borderTop:`${g(y.value/2)} dotted`,opacity:k.value,top:`calc(50% - ${g(y.value/4)})`,width:g(100-b.value,"%"),"--v-progress-linear-stream-to":g(y.value*(S.value?1:-1))}},null),t.createVNode("div",{class:["v-progress-linear__background",u.value],style:[c.value,{opacity:k.value,width:g(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:g(V.value,"%")}]},null)]}),a.default&&t.createVNode("div",{class:"v-progress-linear__content"},[a.default({value:V.value,buffer:b.value})])]}))),{}}}),ga=Xe({loading:Boolean},"loader")
|
|
468
|
+
function ha(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$e()
|
|
469
|
+
const a=t.computed((()=>({[`${l}--loading`]:e.loading})))
|
|
470
|
+
return{loaderClasses:a}}function ya(e,l){var a
|
|
471
|
+
let{slots:o}=l
|
|
472
|
+
return t.createVNode("div",{class:`${e.name}__loader`},[(null==(a=o.default)?void 0:a.call(o,{color:e.color,isActive:e.active}))||t.createVNode(ma,{active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const ba={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Va=Xe({location:String},"location")
|
|
473
|
+
function Sa(e){let l=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2?arguments[2]:void 0
|
|
474
|
+
const{isRtl:o}=kt(),n=t.computed((()=>{if(!e.location)return{}
|
|
475
|
+
const{side:t,align:n}=j(e.location.split(" ").length>1?e.location:`${e.location} center`,o.value)
|
|
476
|
+
function r(e){return a?a(e):0}const i={}
|
|
477
|
+
return"center"!==t&&(l?i[ba[t]]=`calc(100% - ${r(t)}px)`:i[t]=0),"center"!==n?l?i[ba[n]]=`calc(100% - ${r(n)}px)`:i[n]=0:("center"===t?i.top=i.left="50%":i[{top:"left",bottom:"left",left:"top",right:"top"}[t]]="50%",i.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[t]),i}))
|
|
478
|
+
return{locationStyles:n}}const wa=["static","relative","fixed","absolute","sticky"],ka=Xe({position:{type:String,validator:e=>wa.includes(e)}},"position")
|
|
479
|
+
function xa(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$e()
|
|
480
|
+
const a=t.computed((()=>e.position?`${l}--${e.position}`:void 0))
|
|
481
|
+
return{positionClasses:a}}function Ca(){var e,t
|
|
482
|
+
return null==(e=Ie("useRouter"))||null==(t=e.proxy)?void 0:t.$router}function Na(e,l){const a=t.resolveDynamicComponent("RouterLink"),o=t.computed((()=>!(!e.href&&!e.to))),n=t.computed((()=>(null==o?void 0:o.value)||!(!l.onClick&&!l.onClickOnce)))
|
|
483
|
+
if("string"==typeof a)return{isLink:o,isClickable:n,href:t.toRef(e,"href")}
|
|
484
|
+
const r=e.to?a.useLink(e):void 0
|
|
485
|
+
return{isLink:o,isClickable:n,route:null==r?void 0:r.route,navigate:null==r?void 0:r.navigate,isActive:r&&t.computed((()=>{var t,l
|
|
486
|
+
return e.exact?null==(t=r.isExactActive)?void 0:t.value:null==(l=r.isActive)?void 0:l.value})),href:t.computed((()=>e.to?null==r?void 0:r.route.value.href:e.href))}}const _a=Xe({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router")
|
|
487
|
+
let Ba=!1
|
|
488
|
+
const Ia=ze({name:"VBtn",directives:{Ripple:fa},props:{active:{type:Boolean,default:void 0},symbol:{type:null,default:Al},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:Tl,appendIcon:Tl,block:Boolean,stacked:Boolean,ripple:{type:Boolean,default:!0},...al(),...il(),...bl(),...Xt(),...nl(),..._l(),...ga(),...Va(),...ka(),..._a(),...Ul(),...tl({tag:"button"}),...dt(),...kl({variant:"elevated"})},emits:{"group:selected":e=>!0},setup(e,l){let{attrs:a,slots:o}=l
|
|
489
|
+
const{themeClasses:n}=ft(e),{borderClasses:r}=ol(e),{colorClasses:i,colorStyles:s,variantClasses:u}=xl(e),{densityClasses:c}=Vl(e),{dimensionStyles:d}=qt(e),{elevationClasses:v}=rl(e),{loaderClasses:p}=ha(e),{locationStyles:f}=Sa(e),{positionClasses:m}=xa(e),{roundedClasses:g}=sl(e),{sizeClasses:h,sizeStyles:y}=Yl(e),b=Bl(e,e.symbol,!1),V=Na(e,a),S=t.computed((()=>{var t
|
|
490
|
+
return!1!==e.active&&(e.active||(null==(t=V.isActive)?void 0:t.value)||(null==b?void 0:b.isSelected.value))})),w=t.computed((()=>(null==b?void 0:b.disabled.value)||e.disabled)),k=t.computed((()=>"elevated"===e.variant&&!(e.disabled||e.flat||e.border)))
|
|
491
|
+
return function(e,l){t.watch((()=>{var t
|
|
492
|
+
return null==(t=e.isActive)?void 0:t.value}),(a=>{e.isLink.value&&a&&l&&t.nextTick((()=>{l(!0)}))}),{immediate:!0})}(V,null==b?void 0:b.select),qe((()=>{var l,a,x,C
|
|
493
|
+
const N=V.isLink.value?"a":e.tag,_=!b||b.isSelected.value,B=!(!e.prependIcon&&!o.prepend),I=!(!e.appendIcon&&!o.append),$=!(!e.icon||!0===e.icon)
|
|
494
|
+
return t.withDirectives(t.createVNode(N,{type:"a"===N?void 0:"button",class:["v-btn",null==b?void 0:b.selectedClass.value,{"v-btn--active":S.value,"v-btn--block":e.block,"v-btn--disabled":w.value,"v-btn--elevated":k.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--stacked":e.stacked},n.value,r.value,_?i.value:void 0,c.value,v.value,p.value,m.value,g.value,h.value,u.value],style:[_?s.value:void 0,d.value,f.value,y.value],disabled:w.value||void 0,href:V.href.value,onClick:e=>{var t
|
|
495
|
+
w.value||(null==(t=V.navigate)||t.call(V,e),null==b||b.toggle())}},{default:()=>[wl(!0,"v-btn"),!e.icon&&B&&t.createVNode(Ct,{key:"prepend",defaults:{VIcon:{icon:e.prependIcon}}},{default:()=>[t.createVNode("span",{class:"v-btn__prepend"},[(null==(l=o.prepend)?void 0:l.call(o))??t.createVNode(ql,null,null)])]}),t.createVNode("span",{class:"v-btn__content","data-no-activator":""},[t.createVNode(Ct,{key:"content",defaults:{VIcon:{icon:$?e.icon:void 0}}},{default:()=>[(null==(a=o.default)?void 0:a.call(o))??($&&t.createVNode(ql,{key:"icon"},null))]})]),!e.icon&&I&&t.createVNode(Ct,{key:"append",defaults:{VIcon:{icon:e.appendIcon}}},{default:()=>[t.createVNode("span",{class:"v-btn__append"},[(null==(x=o.append)?void 0:x.call(o))??t.createVNode(ql,null,null)])]}),!!e.loading&&t.createVNode("span",{key:"loader",class:"v-btn__loader"},[(null==(C=o.loader)?void 0:C.call(o))??t.createVNode(Kl,{color:"boolean"==typeof e.loading?void 0:e.loading,indeterminate:!0,size:"23",width:"2"},null)])]}),[[t.resolveDirective("ripple"),!w.value&&e.ripple,null]])})),{}}}),$a=ze({name:"VAppBarNavIcon",props:{icon:{type:Tl,default:"$menu"}},setup(e,l){let{slots:a}=l
|
|
496
|
+
return qe((()=>t.createVNode(Ia,{class:"v-app-bar-nav-icon",icon:e.icon},a))),{}}}),Aa=ze({name:"VToolbarItems",props:kl({variant:"text"}),setup(e,l){let{slots:a}=l
|
|
497
|
+
return Oe({VBtn:{color:t.toRef(e,"color"),height:"inherit",variant:t.toRef(e,"variant")}}),qe((()=>{var e
|
|
498
|
+
return t.createVNode("div",{class:"v-toolbar-items"},[null==(e=a.default)?void 0:e.call(a)])})),{}}}),Ea=ze({name:"VAppBarTitle",props:{...ll.props},setup(e,l){let{slots:a}=l
|
|
499
|
+
return qe((()=>t.createVNode(ll,{class:"v-app-bar-title"},a))),{}}}),Ra=De("v-alert-title"),La=Symbol.for("vuetify:locale-adapter"),Ta=Symbol.for("vuetify:locale")
|
|
500
|
+
function Pa(){const e=t.inject(La)
|
|
501
|
+
if(!e)throw new Error("[Vuetify] Could not find injected locale adapter")
|
|
502
|
+
return e.getScope()}function Oa(e,l){const a=(o=l)&&o.hasOwnProperty("getScope")&&o.hasOwnProperty("createScope")&&o.hasOwnProperty("createRoot")?l:function(e){const l=e=>{const l=t.ref(e.current),a=t.ref(e.fallback),o=t.ref(e.messages)
|
|
503
|
+
return{current:l,fallback:a,messages:o,t:Fa(l,a,o),n:Da(l,a)}}
|
|
504
|
+
return{createRoot:t=>{const a=l({current:(null==e?void 0:e.defaultLocale)??"en",fallback:(null==e?void 0:e.fallbackLocale)??"en",messages:(null==e?void 0:e.messages)??{en:yt}})
|
|
505
|
+
if(!t)throw new Error("[Vuetify] Could not find default app instance")
|
|
506
|
+
return t.provide(Ta,a),a},getScope:()=>{const e=t.inject(Ta)
|
|
507
|
+
if(!e)throw new Error("[Vuetify] Could not find injected locale instance")
|
|
508
|
+
return e},createScope:e=>{const a=t.inject(Ta)
|
|
509
|
+
if(!a)throw new Error("[Vuetify] Could not find injected locale instance")
|
|
510
|
+
const o=l({current:t.computed((()=>(null==e?void 0:e.locale)??a.current.value)),fallback:t.computed((()=>(null==e?void 0:e.locale)??a.fallback.value)),messages:t.computed((()=>(null==e?void 0:e.messages)??a.messages.value))})
|
|
511
|
+
return t.provide(Ta,o),o}}}(l)
|
|
512
|
+
var o
|
|
513
|
+
return{adapter:a,install:function(e){const o=a.createRoot(e)
|
|
514
|
+
e.provide(Vt,function(e,l){return St({rtl:{...bt,...(null==l?void 0:l.rtl)??{}},isRtl:t.ref(!1),rtlClasses:t.ref("")},e)}(o,l))}}}const Ma="$vuetify.",za=(e,t)=>e.replace(/\{(\d+)\}/g,((e,l)=>String(t[+l]))),Fa=(e,t,l)=>function(a){for(var o=arguments.length,n=new Array(o>1?o-1:0),r=1;r<o;r++)n[r-1]=arguments[r]
|
|
515
|
+
if(!a.startsWith(Ma))return za(a,n)
|
|
516
|
+
const i=a.replace(Ma,""),s=e.value&&l.value[e.value],u=t.value&&l.value[t.value]
|
|
517
|
+
let c=p(s,i,null)
|
|
518
|
+
return c||(Q(`Translation key "${a}" not found in "${e.value}", trying fallback locale`),c=p(u,i,null)),c||(ee(`Translation key "${a}" not found in fallback`),c=a),"string"!=typeof c&&(ee(`Translation key "${a}" has a non-string value`),c=a),za(c,n)}
|
|
519
|
+
function Da(e,t){return(l,a)=>new Intl.NumberFormat([e.value,t.value],a).format(l)}const ja=["success","info","warning","error"],Ha=ze({name:"VAlert",props:{border:{type:[Boolean,String],validator:e=>"boolean"==typeof e||["top","end","bottom","start"].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:Tl,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=>ja.includes(e)},...bl(),...Xt(),...nl(),...Va(),...ka(),...il(),...tl(),...dt(),...kl({variant:"flat"})},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
520
|
+
const o=gl(e,"modelValue"),n=t.computed((()=>{if(!1!==e.icon)return e.type?e.icon??`$${e.type}`:e.icon})),r=t.computed((()=>({color:e.color??e.type,variant:e.variant}))),{themeClasses:i}=ft(e),{colorClasses:s,colorStyles:u,variantClasses:c}=xl(r),{densityClasses:d}=Vl(e),{dimensionStyles:v}=qt(e),{elevationClasses:p}=rl(e),{locationStyles:f}=Sa(e),{positionClasses:m}=xa(e),{roundedClasses:g}=sl(e),{textColorClasses:h,textColorStyles:y}=cl(t.toRef(e,"borderColor")),{t:b}=Pa(),V=t.computed((()=>({"aria-label":b(e.closeLabel),onClick(e){o.value=!1}})))
|
|
521
|
+
return()=>{var l,r
|
|
522
|
+
const b=!(!a.prepend&&!n.value),S=!(!a.title&&!e.title),w=!(!e.text&&!a.text),k=!(!a.close&&!e.closable)
|
|
523
|
+
return o.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:()=>[wl(!1,"v-alert"),e.border&&t.createVNode("div",{key:"border",class:["v-alert__border",h.value],style:y.value},null),b&&t.createVNode(Ct,{key:"prepend",defaults:{VIcon:{density:e.density,icon:n.value,size:e.prominent?44:28}}},{default:()=>[t.createVNode("div",{class:"v-alert__prepend"},[a.prepend?a.prepend():n.value&&t.createVNode(ql,null,null)])]}),t.createVNode("div",{class:"v-alert__content"},[S&&t.createVNode(Ra,{key:"title"},{default:()=>[a.title?a.title():e.title]}),w&&(a.text?a.text():e.text),null==(l=a.default)?void 0:l.call(a)]),a.append&&t.createVNode("div",{key:"append",class:"v-alert__append"},[a.append()]),k&&t.createVNode(Ct,{key:"close",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:()=>[t.createVNode("div",{class:"v-alert__close"},[(null==(r=a.close)?void 0:r.call(a,{props:V.value}))??t.createVNode(Ia,V.value,null)])]})]})}}}),Wa=ze({name:"VMessages",props:{active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Jt({transition:{component:Ht,leaveAbsolute:!0,group:!0}})},setup(e,l){let{slots:a}=l
|
|
524
|
+
const o=t.computed((()=>k(e.messages))),{textColorClasses:n,textColorStyles:r}=cl(t.computed((()=>e.color)))
|
|
525
|
+
return qe((()=>t.createVNode(Qt,{transition:e.transition,tag:"div",class:["v-messages",n.value],style:r.value},{default:()=>[e.active&&o.value.map(((e,l)=>t.createVNode("div",{class:"v-messages__message",key:`${l}-${o.value}`},[a.message?a.message({message:e}):e])))]}))),{}}}),Ua=Symbol.for("vuetify:form"),Ya=Xe({disabled:Boolean,fastFail:Boolean,lazyValidation:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null}})
|
|
526
|
+
function Xa(){return t.inject(Ua,null)}const qa=Xe({disabled:Boolean,error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:Boolean,rules:{type:Array,default:()=>[]},modelValue:null,validationValue:null})
|
|
527
|
+
function Ga(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$e(),a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Re()
|
|
528
|
+
const o=gl(e,"modelValue"),n=t.computed((()=>void 0===e.validationValue?o.value:e.validationValue)),r=Xa(),i=t.ref([]),s=t.ref(!0),u=t.computed((()=>!(!k(""===o.value?null:o.value).length&&!k(""===n.value?null:n.value).length))),c=t.computed((()=>!!(e.disabled||null!=r&&r.isDisabled.value))),d=t.computed((()=>!!(e.readonly||null!=r&&r.isReadonly.value))),v=t.computed((()=>e.errorMessages.length?k(e.errorMessages):i.value)),p=t.computed((()=>!e.error&&!v.value.length&&(!e.rules.length||(!s.value||null)))),f=t.ref(!1),m=t.computed((()=>({[`${l}--error`]:!1===p.value,[`${l}--dirty`]:u.value,[`${l}--disabled`]:c.value,[`${l}--readonly`]:d.value}))),g=t.computed((()=>e.name??t.unref(a)))
|
|
529
|
+
function h(){y(),o.value=null}function y(){s.value=!0,i.value=[]}async function b(){const t=[]
|
|
530
|
+
f.value=!0
|
|
531
|
+
for(const l of e.rules){if(t.length>=(e.maxErrors||1))break
|
|
532
|
+
const a="function"==typeof l?l:()=>l,o=await a(n.value)
|
|
533
|
+
!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 i.value=t,f.value=!1,s.value=!1,i.value}return t.onBeforeMount((()=>{null==r||r.register({id:g.value,validate:b,reset:h,resetValidation:y})})),t.onBeforeUnmount((()=>{null==r||r.unregister(g.value)})),t.onMounted((()=>null==r?void 0:r.update(g.value,p.value,v.value))),t.watch(n,(()=>{null!=n.value&&b()})),t.watch(p,(()=>{null==r||r.update(g.value,p.value,v.value)})),{errorMessages:v,isDirty:u,isDisabled:c,isReadonly:d,isPristine:s,isValid:p,isValidating:f,reset:h,resetValidation:y,validate:b,validationClasses:m}}function Ka(e){const{t:l}=Pa()
|
|
534
|
+
return{InputIcon:function(a){let{name:o}=a
|
|
535
|
+
const n={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[o],r=e[`onClick:${o}`],i=r&&n?l(`$vuetify.input.${n}`,e.label??""):void 0
|
|
536
|
+
return t.createVNode(ql,{icon:e[`${o}Icon`],"aria-label":i,onClick:r},null)}}}const Za=Xe({id:String,appendIcon:Tl,prependIcon:Tl,hideDetails:[Boolean,String],messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":M,"onClick:append":M,...bl(),...qa()}),Ja=Fe()({name:"VInput",props:{...Za()},emits:{"update:modelValue":e=>!0},setup(e,l){let{attrs:a,slots:o,emit:n}=l
|
|
537
|
+
const{densityClasses:r}=Vl(e),{InputIcon:i}=Ka(e),s=Re(),u=t.computed((()=>e.id||`input-${s}`)),{errorMessages:c,isDirty:d,isDisabled:v,isReadonly:p,isPristine:f,isValid:m,isValidating:g,reset:h,resetValidation:y,validate:b,validationClasses:V}=Ga(e,"v-input",u),S=t.computed((()=>({id:u,isDirty:d,isDisabled:v,isReadonly:p,isPristine:f,isValid:m,isValidating:g,reset:h,resetValidation:y,validate:b})))
|
|
538
|
+
return qe((()=>{var l,a,n,s,u
|
|
539
|
+
const d=!(!o.prepend&&!e.prependIcon),v=!(!o.append&&!e.appendIcon),p=!!(null!=(l=e.messages)&&l.length||c.value.length),f=!e.hideDetails||"auto"===e.hideDetails&&(p||!!o.details)
|
|
540
|
+
return t.createVNode("div",{class:["v-input",`v-input--${e.direction}`,r.value,V.value]},[d&&t.createVNode("div",{key:"prepend",class:"v-input__prepend"},[null==(a=o.prepend)?void 0:a.call(o,S.value),e.prependIcon&&t.createVNode(i,{key:"prepend-icon",name:"prepend"},null)]),o.default&&t.createVNode("div",{class:"v-input__control"},[null==(n=o.default)?void 0:n.call(o,S.value)]),v&&t.createVNode("div",{key:"append",class:"v-input__append"},[e.appendIcon&&t.createVNode(i,{key:"append-icon",name:"append"},null),null==(s=o.append)?void 0:s.call(o,S.value)]),f&&t.createVNode("div",{class:"v-input__details"},[t.createVNode(Wa,{active:p,messages:c.value.length>0?c.value:e.messages},{message:o.message}),null==(u=o.details)?void 0:u.call(o,S.value)])])})),{reset:h,resetValidation:y,validate:b}}})
|
|
541
|
+
function Qa(e){return S(e,Object.keys(Ja.props).filter((e=>!O(e))))}const eo=ze({name:"VLabel",props:{text:String,clickable:Boolean,...dt()},setup(e,l){let{slots:a}=l
|
|
542
|
+
return qe((()=>{var l
|
|
543
|
+
return t.createVNode("label",{class:["v-label",{"v-label--clickable":e.clickable}]},[e.text,null==(l=a.default)?void 0:l.call(a)])})),{}}}),to=Symbol.for("vuetify:selection-control-group"),lo=ze({name:"VSelectionControlGroup",props:{disabled:Boolean,id:String,inline:Boolean,name:String,falseIcon:Tl,trueIcon:Tl,multiple:{type:Boolean,default:null},readonly:Boolean,type:String,modelValue:null},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
544
|
+
const o=gl(e,"modelValue"),n=Re(),r=t.computed((()=>e.id||`v-selection-control-group-${n}`)),i=t.computed((()=>e.name||r.value))
|
|
545
|
+
return t.provide(to,{disabled:t.toRef(e,"disabled"),inline:t.toRef(e,"inline"),modelValue:o,multiple:t.computed((()=>!!e.multiple||null==e.multiple&&Array.isArray(o.value))),name:i,falseIcon:t.toRef(e,"falseIcon"),trueIcon:t.toRef(e,"trueIcon"),readonly:t.toRef(e,"readonly"),type:t.toRef(e,"type")}),qe((()=>{var l
|
|
546
|
+
return t.createVNode("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":e.inline}],"aria-labelled-by":"radio"===e.type?r.value:void 0,role:"radio"===e.type?"radiogroup":void 0},[null==(l=a.default)?void 0:l.call(a)])})),{}}}),ao=Xe({color:String,disabled:Boolean,error:Boolean,id:String,inline:Boolean,label:String,falseIcon:Tl,trueIcon:Tl,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:v},...dt(),...bl()})
|
|
547
|
+
const oo=Fe()({name:"VSelectionControl",directives:{Ripple:fa},inheritAttrs:!1,props:ao(),emits:{"update:modelValue":e=>!0},setup(e,l){let{attrs:a,slots:o}=l
|
|
548
|
+
const{densityClasses:r,group:i,icon:s,model:u,textColorClasses:c,textColorStyles:d,trueValue:v}=function(e){const l=t.inject(to,void 0),{densityClasses:a}=Vl(e),o=gl(e,"modelValue"),n=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(o.value))),s=t.computed({get(){const t=l?l.modelValue.value:o.value
|
|
549
|
+
return i.value?t.some((t=>e.valueComparator(t,n.value))):e.valueComparator(t,n.value)},set(t){if(e.readonly)return
|
|
550
|
+
const a=t?n.value:r.value
|
|
551
|
+
let s=a
|
|
552
|
+
i.value&&(s=t?[...k(o.value),a]:k(o.value).filter((t=>!e.valueComparator(t,n.value)))),l?l.modelValue.value=s:o.value=s}}),{textColorClasses:u,textColorStyles:c}=cl(t.computed((()=>!s.value||e.error||e.disabled?void 0:e.color))),d=t.computed((()=>s.value?(null==l?void 0:l.trueIcon.value)??e.trueIcon:(null==l?void 0:l.falseIcon.value)??e.falseIcon))
|
|
553
|
+
return{group:l,densityClasses:a,trueValue:n,falseValue:r,model:s,textColorClasses:u,textColorStyles:c,icon:d}}(e),p=Re(),f=t.computed((()=>e.id||`input-${p}`)),m=t.ref(!1),g=t.ref(!1),h=t.ref()
|
|
554
|
+
function y(e){m.value=!0,(!n||n&&e.target.matches(":focus-visible"))&&(g.value=!0)}function b(){m.value=!1,g.value=!1}function V(e){u.value=e.target.checked}return qe((()=>{var l,n
|
|
555
|
+
const p=o.label?o.label({label:e.label,props:{for:f.value}}):e.label,S=(null==i?void 0:i.type.value)??e.type,[k,x]=w(a)
|
|
556
|
+
return t.createVNode("div",t.mergeProps({class:["v-selection-control",{"v-selection-control--dirty":u.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":m.value,"v-selection-control--focus-visible":g.value,"v-selection-control--inline":(null==i?void 0:i.inline.value)||e.inline},r.value]},k),[t.createVNode("div",{class:["v-selection-control__wrapper",c.value],style:d.value},[null==(l=o.default)?void 0:l.call(o),t.withDirectives(t.createVNode("div",{class:["v-selection-control__input"]},[s.value&&t.createVNode(ql,{key:"icon",icon:s.value},null),t.createVNode("input",t.mergeProps({ref:h,checked:u.value,disabled:e.disabled,id:f.value,onBlur:b,onFocus:y,onInput:V,"aria-readonly":e.readonly,type:S,value:v.value,name:(null==i?void 0:i.name.value)??e.name,"aria-checked":"checkbox"===S?u.value:void 0},x),null),null==(n=o.input)?void 0:n.call(o,{model:u,textColorClasses:c,props:{onFocus:y,onBlur:b,id:f.value}})]),[[t.resolveDirective("ripple"),e.ripple&&[!e.disabled&&!e.readonly,null,["center","circle"]]]])]),p&&t.createVNode(eo,{for:f.value,clickable:!0},{default:()=>[p]})])})),{isFocused:m,input:h}}})
|
|
557
|
+
function no(e){return S(e,Object.keys(oo.props))}const ro=Xe({indeterminate:Boolean,indeterminateIcon:{type:Tl,default:"$checkboxIndeterminate"},...ao({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})}),io=ze({name:"VCheckboxBtn",props:ro(),emits:{"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,l){let{slots:a,emit:o}=l
|
|
558
|
+
const n=gl(e,"indeterminate")
|
|
559
|
+
function r(e){n.value&&(n.value=!1),o("update:modelValue",e)}const i=t.computed((()=>e.indeterminate?e.indeterminateIcon:e.falseIcon)),s=t.computed((()=>e.indeterminate?e.indeterminateIcon:e.trueIcon))
|
|
560
|
+
return qe((()=>t.createVNode(oo,t.mergeProps(e,{class:"v-checkbox-btn",type:"checkbox",inline:!0,"onUpdate:modelValue":r,falseIcon:i.value,trueIcon:s.value,"aria-checked":e.indeterminate?"mixed":void 0}),a))),{}}})
|
|
561
|
+
const so=ze({name:"VCheckbox",inheritAttrs:!1,props:{...Za(),...ro()},setup(e,l){let{attrs:a,slots:o}=l
|
|
562
|
+
const n=Re(),r=t.computed((()=>e.id||`checkbox-${n}`))
|
|
563
|
+
return qe((()=>{const[l,n]=w(a),[i,s]=Qa(e),[u,c]=function(e){return S(e,Object.keys(io.props))}(e)
|
|
564
|
+
return t.createVNode(Ja,t.mergeProps({class:"v-checkbox"},l,i,{id:r.value}),{...o,default:e=>{let{id:l,isDisabled:a,isReadonly:r}=e
|
|
565
|
+
return t.createVNode(io,t.mergeProps(u,{id:l.value,disabled:a.value,readonly:r.value},n),o)}})})),{}}}),uo=Xe({start:Boolean,end:Boolean,icon:Tl,image:String,...bl(),...il(),...Ul(),...tl(),...kl({variant:"flat"})}),co=ze({name:"VAvatar",props:uo(),setup(e,l){let{slots:a}=l
|
|
566
|
+
const{colorClasses:o,colorStyles:n,variantClasses:r}=xl(e),{densityClasses:i}=Vl(e),{roundedClasses:s}=sl(e),{sizeClasses:u,sizeStyles:c}=Yl(e)
|
|
567
|
+
return qe((()=>{var l
|
|
568
|
+
return t.createVNode(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},o.value,i.value,s.value,u.value,r.value],style:[n.value,c.value]},{default:()=>[e.image?t.createVNode(el,{key:"image",src:e.image,alt:""},null):e.icon?t.createVNode(ql,{key:"icon",icon:e.icon},null):null==(l=a.default)?void 0:l.call(a),wl(!1,"v-avatar")]})})),{}}}),vo=Symbol.for("vuetify:v-chip-group"),po=ze({name:"VChipGroup",props:{column:Boolean,filter:Boolean,valueComparator:{type:Function,default:v},...Nl({selectedClass:"v-chip--selected"}),...tl(),...dt(),...kl({variant:"tonal"})},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
569
|
+
const{themeClasses:o}=ft(e),{isSelected:n,select:r,next:i,prev:s,selected:u}=Il(e,vo)
|
|
570
|
+
return Oe({VChip:{color:t.toRef(e,"color"),filter:t.toRef(e,"filter"),variant:t.toRef(e,"variant")}}),qe((()=>{var l
|
|
571
|
+
return t.createVNode(e.tag,{class:["v-chip-group",{"v-chip-group--column":e.column},o.value]},{default:()=>[null==(l=a.default)?void 0:l.call(a,{isSelected:n,select:r,next:i,prev:s,selected:u.value})]})})),{}}}),fo=ze({name:"VChip",directives:{Ripple:fa},props:{activeClass:String,appendAvatar:String,appendIcon:Tl,closable:Boolean,closeIcon:{type:Tl,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:Tl,ripple:{type:Boolean,default:!0},text:String,modelValue:{type:Boolean,default:!0},...al(),...bl(),...nl(),..._l(),...il(),..._a(),...Ul(),...tl({tag:"span"}),...dt(),...kl({variant:"tonal"})},emits:{"click:close":e=>!0,"update:active":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0},setup(e,l){let{attrs:a,emit:o,slots:n}=l
|
|
572
|
+
const{borderClasses:r}=ol(e),{colorClasses:i,colorStyles:s,variantClasses:u}=xl(e),{densityClasses:c}=Vl(e),{elevationClasses:d}=rl(e),{roundedClasses:v}=sl(e),{sizeClasses:p}=Yl(e),{themeClasses:f}=ft(e),m=gl(e,"modelValue"),g=Bl(e,vo,!1),h=Na(e,a)
|
|
573
|
+
function y(e){m.value=!1,o("click:close",e)}return()=>{var l
|
|
574
|
+
const a=h.isLink.value?"a":e.tag,o=!!(n.append||e.appendIcon||e.appendAvatar),b=!(!n.close&&!e.closable),V=!(!n.filter&&!e.filter)&&g,S=!!(n.prepend||e.prependIcon||e.prependAvatar),w=!g||g.isSelected.value,k=!e.disabled&&(!!g||h.isClickable.value||e.link),x=e.link?e.link:null==g?void 0:g.toggle
|
|
575
|
+
return m.value&&t.withDirectives(t.createVNode(a,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":k,"v-chip--filter":V,"v-chip--pill":e.pill},f.value,r.value,w?i.value:void 0,c.value,d.value,v.value,p.value,u.value,null==g?void 0:g.selectedClass.value],style:[w?s.value:void 0],disabled:e.disabled||void 0,draggable:e.draggable,href:h.href.value,onClick:k&&x},{default:()=>[wl(k,"v-chip"),V&&t.createVNode(Ct,{key:"filter",defaults:{VIcon:{icon:e.filterIcon}}},{default:()=>[t.createVNode(Yt,null,{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-chip__filter"},[n.filter?n.filter():t.createVNode(ql,null,null)]),[[t.vShow,g.isSelected.value]])]})]}),S&&t.createVNode(Ct,{key:"prepend",defaults:{VAvatar:{image:e.prependAvatar},VIcon:{icon:e.prependIcon}}},{default:()=>[n.prepend?t.createVNode("div",{class:"v-chip__prepend"},[n.prepend()]):e.prependAvatar?t.createVNode(co,{start:!0},null):e.prependIcon?t.createVNode(ql,{start:!0},null):void 0]}),(null==(l=n.default)?void 0:l.call(n,{isSelected:null==g?void 0:g.isSelected.value,selectedClass:null==g?void 0:g.selectedClass.value,select:null==g?void 0:g.select,toggle:null==g?void 0:g.toggle,value:null==g?void 0:g.value.value,disabled:e.disabled}))??e.text,o&&t.createVNode(Ct,{key:"append",defaults:{VAvatar:{image:e.appendAvatar},VIcon:{icon:e.appendIcon}}},{default:()=>[n.append?t.createVNode("div",{class:"v-chip__append"},[n.append()]):e.appendAvatar?t.createVNode(co,{end:!0},null):e.appendIcon?t.createVNode(ql,{end:!0},null):void 0]}),b&&t.createVNode(Ct,{key:"close",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},{default:()=>[t.createVNode("div",{class:"v-chip__close",onClick:y},[n.close?n.close():t.createVNode(ql,null,null)])]})]}),[[t.resolveDirective("ripple"),k&&e.ripple,null]])}}}),mo=ze({name:"VDivider",props:{color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...dt()},setup(e,l){let{attrs:a}=l
|
|
576
|
+
const{themeClasses:o}=ft(e),{backgroundColorClasses:n,backgroundColorStyles:r}=dl(t.toRef(e,"color")),i=t.computed((()=>{const t={}
|
|
577
|
+
return e.length&&(t[e.vertical?"maxHeight":"maxWidth"]=g(e.length)),e.thickness&&(t[e.vertical?"borderRightWidth":"borderTopWidth"]=g(e.thickness)),t}))
|
|
578
|
+
return qe((()=>t.createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},o.value,n.value],style:[i.value,r.value],"aria-orientation":a.role&&"separator"!==a.role?void 0:e.vertical?"vertical":"horizontal",role:`${a.role||"separator"}`},null))),{}}}),go=Symbol.for("vuetify:list")
|
|
579
|
+
function ho(){const e=t.inject(go,{hasPrepend:t.ref(!1),updateHasPrepend:()=>null}),l={hasPrepend:t.ref(!1),updateHasPrepend:e=>{e&&(l.hasPrepend.value=e)}}
|
|
580
|
+
return t.provide(go,l),e}function yo(){return t.inject(go,null)}const bo={open:e=>{let{id:t,value:l,opened:a,parents:o}=e
|
|
490
581
|
if(l){const e=new Set
|
|
491
582
|
e.add(t)
|
|
492
|
-
let l=
|
|
493
|
-
for(;null!=l;)e.add(l),l=
|
|
494
|
-
return e}return a.delete(t),a},
|
|
495
|
-
if(l){let e=
|
|
496
|
-
for(a.add(t);null!=e&&e!==t;)a.add(e),e=
|
|
497
|
-
return a}return a.delete(t),a},
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
583
|
+
let l=o.get(t)
|
|
584
|
+
for(;null!=l;)e.add(l),l=o.get(l)
|
|
585
|
+
return e}return a.delete(t),a},select:()=>null},Vo={open:e=>{let{id:t,value:l,opened:a,parents:o}=e
|
|
586
|
+
if(l){let e=o.get(t)
|
|
587
|
+
for(a.add(t);null!=e&&e!==t;)a.add(e),e=o.get(e)
|
|
588
|
+
return a}return a.delete(t),a},select:()=>null},So={open:Vo.open,select:e=>{let{id:t,value:l,opened:a,parents:o}=e
|
|
589
|
+
if(!l)return a
|
|
590
|
+
const n=[]
|
|
591
|
+
let r=o.get(t)
|
|
592
|
+
for(;null!=r;)n.push(r),r=o.get(r)
|
|
593
|
+
return new Set(n)}},wo=e=>{const t={select:t=>{let{id:l,value:a,selected:o}=t
|
|
594
|
+
if(e&&!a){const e=Array.from(o.entries()).reduce(((e,t)=>{let[l,a]=t
|
|
595
|
+
return"on"===a?[...e,l]:e}),[])
|
|
596
|
+
if(1===e.length&&e[0]===l)return o}return o.set(l,a?"on":"off"),o},in:(e,l,a)=>{let o=new Map
|
|
597
|
+
for(const n of e||[])o=t.select({id:n,value:!0,selected:new Map(o),children:l,parents:a})
|
|
598
|
+
return o},out:e=>{const t=[]
|
|
502
599
|
for(const[l,a]of e.entries())"on"===a&&t.push(l)
|
|
503
|
-
return t}}
|
|
504
|
-
return
|
|
505
|
-
return
|
|
506
|
-
const
|
|
507
|
-
return
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
return
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
return
|
|
525
|
-
const
|
|
526
|
-
return()=>{
|
|
527
|
-
|
|
528
|
-
return
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
return
|
|
532
|
-
|
|
533
|
-
return{color:v.value?l:e.color,textColor:e.textColor,variant:e.variant}}))
|
|
534
|
-
t.onMounted((()=>{var e
|
|
535
|
-
null!=(e=o.isExactActive)&&e.value&&null!=c.value&&u.open(c.value,!0)})),t.watch((()=>{var e
|
|
536
|
-
return null==(e=o.isExactActive)?void 0:e.value}),(e=>{e&&null!=c.value&&u.open(c.value,!0)}))
|
|
537
|
-
const{themeClasses:f}=He(e),{borderClasses:m}=yt(e),{colorClasses:g,colorStyles:h,variantClasses:b}=Pt(p),{densityClasses:y}=Lt(e),{dimensionStyles:V}=ut(e),{elevationClasses:S}=St(e),{roundedClasses:w}=xt(e),x=t.computed((()=>({isActive:v.value,select:i,isSelected:s.value})))
|
|
538
|
-
Ie((()=>{var l
|
|
539
|
-
const a=o.isLink.value?"a":e.tag,r=n.title||e.title,u=n.subtitle||e.subtitle,c=!(!r&&!u),p=!!(n.append||e.appendAvatar||e.appendIcon),C=!!(n.prepend||e.prependAvatar||e.prependIcon),k=!e.disabled&&(o.isClickable.value||e.link||null!=e.value)
|
|
540
|
-
return null==d||d.updateHasPrepend(C),t.withDirectives(t.createVNode(a,{class:["v-list-item",{"v-list-item--active":v.value,"v-list-item--disabled":e.disabled,"v-list-item--link":k,"v-list-item--prepend":!C&&(null==d?void 0:d.hasPrepend.value),[`${e.activeClass}`]:v.value&&e.activeClass},f.value,m.value,g.value,y.value,S.value,w.value,b.value],style:[h.value,V.value],href:o.href.value,tabindex:k?0:void 0,onClick:k&&(e=>{var t
|
|
541
|
-
null==(t=o.navigate)||t.call(o,e),i(!s.value,e)})},{default:()=>[zt(k||v.value,"v-list-item"),C&&(n.prepend?n.prepend(x.value):t.createVNode(ka,{left:!0},{default:()=>[t.createVNode(Tl,{density:e.density,icon:e.prependIcon,image:e.prependAvatar},null)]})),c&&t.createVNode(Na,null,{default:()=>[r&&t.createVNode(Ba,null,{default:()=>[n.title?n.title({title:e.title}):e.title]}),u&&t.createVNode(_a,null,{default:()=>[n.subtitle?n.subtitle({subtitle:e.subtitle}):e.subtitle]})]}),null==(l=n.default)?void 0:l.call(n,x.value),p&&(n.append?n.append(x.value):t.createVNode(ka,{right:!0},{default:()=>[t.createVNode(Tl,{density:e.density,icon:e.appendIcon,image:e.appendAvatar},null)]}))]}),[[t.resolveDirective("ripple"),k]])}))}}),Ia=fe({name:"VListSubheader",props:{color:String,inset:Boolean,sticky:Boolean,text:String,...gt()},setup(e,l){let{slots:a}=l
|
|
542
|
-
const{textColorClasses:n,textColorStyles:o}=kt(t.toRef(e,"color"))
|
|
543
|
-
return()=>{var l,r
|
|
544
|
-
const i=!(!a.default&&!e.text)
|
|
545
|
-
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.text])]})}}}),Ea=me()({name:"VListChildren",props:{items:Array},setup(e,l){let{slots:a}=l
|
|
546
|
-
return da(),()=>{var l,n,o
|
|
547
|
-
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
|
|
548
|
-
return"divider"===o?t.createVNode(ua,n,null):"subheader"===o?t.createVNode(Ia,n,a):l?t.createVNode(Ca,{value:null==n?void 0:n.value},{activator:e=>{let{props:l}=e
|
|
549
|
-
return a.header?a.header({...n,...l}):t.createVNode($a,t.mergeProps(n,l),null)},default:()=>t.createVNode(Ea,{items:l},a)}):a.item?a.item(n):t.createVNode($a,n,a)}))}}}),Aa=e=>{if(e)return e.map((e=>{if("string"==typeof e)return{type:"item",value:e,title:e}
|
|
550
|
-
const{$type:t,$children:l,...a}=e
|
|
551
|
-
return"subheader"===t?{type:"subheader",props:a}:"divider"===t?{type:"divider",props:a}:{type:"item",props:a,children:Aa(l)}}))},Ra=me()({name:"VList",props:{color:String,disabled:Boolean,lines:{type:String,default:"one"},nav:Boolean,items:Array,...Sa({selectStrategy:"single-leaf",openStrategy:"multiple"}),...bt(),...Tt(),...st(),...Vt(),...wt(),...gt(),...De()},emits:{"update:selected":e=>!0,"update:opened":e=>!0,"click:open":e=>!0,"click:select":e=>!0},setup(e,l){let{slots:a}=l
|
|
552
|
-
const n=t.computed((()=>Aa(e.items))),{themeClasses:o}=He(e),{backgroundColorClasses:r,backgroundColorStyles:i}=Nt(t.toRef(e,"color")),{borderClasses:s}=yt(e),{densityClasses:u}=Lt(e),{dimensionStyles:c}=ut(e),{elevationClasses:d}=St(e),{roundedClasses:v}=xt(e),{open:p,select:f}=(e=>{let l=!1
|
|
553
|
-
const a=t.ref(new Map),n=t.ref(new Map),o=Et(e,"opened",e.opened,(e=>new Set(e)),(e=>[...e.values()])),r=t.computed((()=>{if("object"==typeof e.selectStrategy)return e.selectStrategy
|
|
554
|
-
switch(e.selectStrategy){case"single-leaf":return ha(!0)
|
|
555
|
-
case"leaf":return ha()
|
|
556
|
-
case"independent":return ma
|
|
557
|
-
case"single-independent":return ga
|
|
558
|
-
case"classic":default:return ba}})),i=t.computed((()=>{if("function"==typeof e.openStrategy)return e.openStrategy
|
|
559
|
-
switch(e.openStrategy){case"single":return pa
|
|
560
|
-
case"multiple":default:return fa}})),s=Et(e,"selected",e.selected,(e=>r.value.in(e,a.value,n.value)),(e=>r.value.out(e,a.value,n.value)))
|
|
600
|
+
return t}}
|
|
601
|
+
return t},ko=e=>{const t=wo(e)
|
|
602
|
+
return{select:e=>{let{selected:l,id:a,...o}=e
|
|
603
|
+
const n=l.has(a)?new Map([[a,l.get(a)]]):new Map
|
|
604
|
+
return t.select({...o,id:a,selected:n})},in:(e,l,a)=>{let o=new Map
|
|
605
|
+
return null!=e&&e.length&&(o=t.in(e.slice(0,1),l,a)),o},out:(e,l,a)=>t.out(e,l,a)}},xo=Symbol.for("vuetify:nested"),Co={id:t.ref(),root:{register:()=>null,unregister:()=>null,parents:t.ref(new Map),children:t.ref(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:t.ref(new Set),selected:t.ref(new Map),selectedValues:t.ref([])}},No=Xe({selectStrategy:[String,Function],openStrategy:[String,Function],opened:Array,selected:Array,mandatory:Boolean},"nested"),_o=e=>{let l=!1
|
|
606
|
+
const a=t.ref(new Map),o=t.ref(new Map),n=gl(e,"opened",e.opened,(e=>new Set(e)),(e=>[...e.values()])),r=t.computed((()=>{if("object"==typeof e.selectStrategy)return e.selectStrategy
|
|
607
|
+
switch(e.selectStrategy){case"single-leaf":return(e=>{const t=ko(e)
|
|
608
|
+
return{select:e=>{let{id:l,selected:a,children:o,...n}=e
|
|
609
|
+
return o.has(l)?a:t.select({id:l,selected:a,children:o,...n})},in:t.in,out:t.out}})(e.mandatory)
|
|
610
|
+
case"leaf":return(e=>{const t=wo(e)
|
|
611
|
+
return{select:e=>{let{id:l,selected:a,children:o,...n}=e
|
|
612
|
+
return o.has(l)?a:t.select({id:l,selected:a,children:o,...n})},in:t.in,out:t.out}})(e.mandatory)
|
|
613
|
+
case"independent":return wo(e.mandatory)
|
|
614
|
+
case"single-independent":return ko(e.mandatory)
|
|
615
|
+
case"classic":default:return(e=>{const t={select:t=>{let{id:l,value:a,selected:o,children:n,parents:r}=t
|
|
616
|
+
const i=new Map(o),s=[l]
|
|
617
|
+
for(;s.length;){const e=s.shift()
|
|
618
|
+
o.set(e,a?"on":"off"),n.has(e)&&s.push(...n.get(e))}let u=r.get(l)
|
|
619
|
+
for(;u;){const e=n.get(u),t=e.every((e=>"on"===o.get(e))),l=e.every((e=>!o.has(e)||"off"===o.get(e)))
|
|
620
|
+
o.set(u,t?"on":l?"off":"indeterminate"),u=r.get(u)}return e&&!a&&0===Array.from(o.entries()).reduce(((e,t)=>{let[l,a]=t
|
|
621
|
+
return"on"===a?[...e,l]:e}),[]).length?i:o},in:(e,l,a)=>{let o=new Map
|
|
622
|
+
for(const n of e||[])o=t.select({id:n,value:!0,selected:new Map(o),children:l,parents:a})
|
|
623
|
+
return o},out:(e,t)=>{const l=[]
|
|
624
|
+
for(const[a,o]of e.entries())"on"!==o||t.has(a)||l.push(a)
|
|
625
|
+
return l}}
|
|
626
|
+
return t})(e.mandatory)}})),i=t.computed((()=>{if("function"==typeof e.openStrategy)return e.openStrategy
|
|
627
|
+
switch(e.openStrategy){case"list":return So
|
|
628
|
+
case"single":return bo
|
|
629
|
+
case"multiple":default:return Vo}})),s=gl(e,"selected",e.selected,(e=>r.value.in(e,a.value,o.value)),(e=>r.value.out(e,a.value,o.value)))
|
|
561
630
|
function u(e){const t=[]
|
|
562
631
|
let l=e
|
|
563
|
-
for(;null!=l;)t.unshift(l),l=
|
|
632
|
+
for(;null!=l;)t.unshift(l),l=o.value.get(l)
|
|
564
633
|
return t}t.onBeforeUnmount((()=>{l=!0}))
|
|
565
|
-
const c=
|
|
634
|
+
const c=Ie("nested"),d={id:t.ref(),root:{opened:n,selected:s,selectedValues:t.computed((()=>{const e=[]
|
|
566
635
|
for(const[t,l]of s.value.entries())"on"===l&&e.push(t)
|
|
567
|
-
return e})),register:(e,t,l)=>{t&&e!==t&&
|
|
636
|
+
return e})),register:(e,t,l)=>{t&&e!==t&&o.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
|
|
568
637
|
a.value.delete(e)
|
|
569
|
-
const t=
|
|
570
|
-
if(t){
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
const r=i.value({id:e,value:t,opened:new Set(
|
|
574
|
-
r&&(
|
|
575
|
-
const
|
|
576
|
-
|
|
577
|
-
return t.provide(
|
|
578
|
-
return
|
|
579
|
-
return()=>
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
return
|
|
590
|
-
|
|
591
|
-
return
|
|
638
|
+
const t=o.value.get(e)
|
|
639
|
+
if(t){const l=a.value.get(t)??[]
|
|
640
|
+
a.value.set(t,l.filter((t=>t!==e)))}o.value.delete(e),n.value.delete(e)},open:(e,t,l)=>{c.emit("click:open",{id:e,value:t,path:u(e),event:l})
|
|
641
|
+
const r=i.value.open({id:e,value:t,opened:new Set(n.value),children:a.value,parents:o.value,event:l})
|
|
642
|
+
r&&(n.value=r)},openOnSelect:(e,t,l)=>{const r=i.value.select({id:e,value:t,selected:new Map(s.value),opened:new Set(n.value),children:a.value,parents:o.value,event:l})
|
|
643
|
+
r&&(n.value=r)},select:(e,t,l)=>{c.emit("click:select",{id:e,value:t,path:u(e),event:l})
|
|
644
|
+
const n=r.value.select({id:e,value:t,selected:new Map(s.value),children:a.value,parents:o.value,event:l})
|
|
645
|
+
n&&(s.value=n),d.root.openOnSelect(e,t,l)},children:a,parents:o}}
|
|
646
|
+
return t.provide(xo,d),d.root},Bo=(e,l)=>{const a=t.inject(xo,Co),o=t.computed((()=>e.value??Re().toString())),n={...a,id:o,open:(e,t)=>a.root.open(o.value,e,t),openOnSelect:(e,t)=>a.root.openOnSelect(o.value,e,t),isOpen:t.computed((()=>a.root.opened.value.has(o.value))),parent:t.computed((()=>a.root.parents.value.get(o.value))),select:(e,t)=>a.root.select(o.value,e,t),isSelected:t.computed((()=>"on"===a.root.selected.value.get(o.value))),isIndeterminate:t.computed((()=>"indeterminate"===a.root.selected.value.get(o.value))),isLeaf:t.computed((()=>!a.root.children.value.get(o.value))),isGroupActivator:a.isGroupActivator}
|
|
647
|
+
return!a.isGroupActivator&&a.root.register(o.value,a.id.value,l),t.onBeforeUnmount((()=>{!a.isGroupActivator&&a.root.unregister(o.value)})),l&&t.provide(xo,n),n},Io=ze({name:"VListGroupActivator",setup(e,l){let{slots:a}=l
|
|
648
|
+
return(()=>{const e=t.inject(xo,Co)
|
|
649
|
+
t.provide(xo,{...e,isGroupActivator:!0})})(),()=>{var e
|
|
650
|
+
return null==(e=a.default)?void 0:e.call(a)}}}),$o=Xe({activeColor:String,color:String,collapseIcon:{type:Tl,default:"$collapse"},expandIcon:{type:Tl,default:"$expand"},prependIcon:Tl,appendIcon:Tl,fluid:Boolean,subgroup:Boolean,value:null,...tl()}),Ao=Fe()({name:"VListGroup",props:{title:String,...$o()},setup(e,l){let{slots:a}=l
|
|
651
|
+
const{isOpen:o,open:n}=Bo(t.toRef(e,"value"),!0),r=yo(),i=e=>{n(!o.value,e)},s=t.computed((()=>({onClick:i,class:"v-list-group__header"}))),u=t.computed((()=>o.value?e.collapseIcon:e.expandIcon))
|
|
652
|
+
return qe((()=>{var l
|
|
653
|
+
return t.createVNode(e.tag,{class:["v-list-group",{"v-list-group--prepend":null==r?void 0:r.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup}]},{default:()=>[a.activator&&t.createVNode(Ct,{defaults:{VListItem:{active:o.value,activeColor:e.activeColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&u.value,appendIcon:e.appendIcon||!e.subgroup&&u.value,title:e.title,value:e.value}}},{default:()=>[t.createVNode(Io,null,{default:()=>[a.activator({props:s.value,isOpen:o})]})]}),t.createVNode(Ut,null,{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-list-group__items"},[null==(l=a.default)?void 0:l.call(a)]),[[t.vShow,o.value]])]})]})})),{}}})
|
|
654
|
+
const Eo=De("v-list-item-subtitle"),Ro=De("v-list-item-title"),Lo=Fe()({name:"VListItem",directives:{Ripple:fa},props:{active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:Tl,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:Tl,subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,...al(),...bl(),...Xt(),...nl(),...il(),..._a(),...tl(),...dt(),...kl({variant:"text"})},setup(e,l){let{attrs:a,slots:o}=l
|
|
655
|
+
const n=Na(e,a),r=t.computed((()=>e.value??n.href.value)),{select:i,isSelected:s,isIndeterminate:u,isGroupActivator:c,root:d,parent:v,openOnSelect:p}=Bo(r,!1),f=yo(),m=t.computed((()=>{var t
|
|
656
|
+
return!1!==e.active&&(e.active||(null==(t=n.isActive)?void 0:t.value)||s.value)})),g=t.computed((()=>!1!==e.link&&n.isLink.value)),h=t.computed((()=>!e.disabled&&!1!==e.link&&(e.link||n.isClickable.value||null!=e.value&&!!f))),y=t.computed((()=>e.rounded||e.nav)),b=t.computed((()=>({color:m.value?e.activeColor??e.color:e.color,variant:e.variant})))
|
|
657
|
+
t.watch((()=>{var e
|
|
658
|
+
return null==(e=n.isActive)?void 0:e.value}),(e=>{e&&null!=v.value&&d.open(v.value,!0),e&&p(e)}),{immediate:!0})
|
|
659
|
+
const{themeClasses:V}=ft(e),{borderClasses:S}=ol(e),{colorClasses:w,colorStyles:k,variantClasses:x}=xl(b),{densityClasses:C}=Vl(e),{dimensionStyles:N}=qt(e),{elevationClasses:_}=rl(e),{roundedClasses:B}=sl(y),I=t.computed((()=>e.lines?`v-list-item--${e.lines}-line`:void 0)),$=t.computed((()=>({isActive:m.value,select:i,isSelected:s.value,isIndeterminate:u.value})))
|
|
660
|
+
return qe((()=>{var l,a,r,u,d
|
|
661
|
+
const v=g.value?"a":e.tag,p=!f||s.value||m.value,y=o.title||e.title,b=o.subtitle||e.subtitle,A=!!(o.append||e.appendAvatar||e.appendIcon),E=!!(o.prepend||e.prependAvatar||e.prependIcon)
|
|
662
|
+
return null==f||f.updateHasPrepend(E),t.withDirectives(t.createVNode(v,{class:["v-list-item",{"v-list-item--active":m.value,"v-list-item--disabled":e.disabled,"v-list-item--link":h.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!E&&(null==f?void 0:f.hasPrepend.value),[`${e.activeClass}`]:m.value},V.value,S.value,p?w.value:void 0,C.value,_.value,I.value,B.value,x.value],style:[p?k.value:void 0,N.value],href:n.href.value,tabindex:h.value?0:void 0,onClick:h.value&&(t=>{var l
|
|
663
|
+
c||(null==(l=n.navigate)||l.call(n,t),null!=e.value&&i(!s.value,t))})},{default:()=>[wl(h.value||m.value,"v-list-item"),E&&t.createVNode(Ct,{key:"prepend",defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>[t.createVNode("div",{class:"v-list-item__prepend"},[e.prependAvatar&&t.createVNode(co,{key:"prepend-avatar"},null),e.prependIcon&&t.createVNode(ql,{key:"prepend-icon"},null),null==(l=o.prepend)?void 0:l.call(o,$.value)])]}),t.createVNode("div",{class:"v-list-item__content"},[y&&t.createVNode(Ro,{key:"title"},{default:()=>[(null==(a=o.title)?void 0:a.call(o,{title:e.title}))??e.title]}),b&&t.createVNode(Eo,{key:"subtitle"},{default:()=>[(null==(r=o.subtitle)?void 0:r.call(o,{subtitle:e.subtitle}))??e.subtitle]}),null==(u=o.default)?void 0:u.call(o,$.value)]),A&&t.createVNode(Ct,{key:"append",defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>[t.createVNode("div",{class:"v-list-item__append"},[null==(d=o.append)?void 0:d.call(o,$.value),e.appendIcon&&t.createVNode(ql,{key:"append-icon"},null),e.appendAvatar&&t.createVNode(co,{key:"append-avatar"},null)])]})]}),[[t.resolveDirective("ripple"),h.value]])})),{}}}),To=ze({name:"VListSubheader",props:{color:String,inset:Boolean,sticky:Boolean,title:String,...tl()},setup(e,l){let{slots:a}=l
|
|
664
|
+
const{textColorClasses:o,textColorStyles:n}=cl(t.toRef(e,"color"))
|
|
665
|
+
return qe((()=>{var l
|
|
666
|
+
const r=!(!a.default&&!e.title)
|
|
667
|
+
return t.createVNode(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},o.value],style:{textColorStyles:n}},{default:()=>[r&&t.createVNode("div",{class:"v-list-subheader__text"},[(null==(l=a.default)?void 0:l.call(a))??e.title])]})})),{}}}),Po=Fe()({name:"VListChildren",props:{items:Array},setup(e,l){let{slots:a}=l
|
|
668
|
+
return ho(),()=>{var l,o
|
|
669
|
+
return(null==(l=a.default)?void 0:l.call(a))??(null==(o=e.items)?void 0:o.map((e=>{let{children:l,props:o,type:n,raw:r}=e
|
|
670
|
+
var i,s
|
|
671
|
+
if("divider"===n)return(null==(i=a.divider)?void 0:i.call(a,{props:o}))??t.createVNode(mo,o,null)
|
|
672
|
+
if("subheader"===n)return(null==(s=a.subheader)?void 0:s.call(a,{props:o}))??t.createVNode(To,o,{default:a.subheader})
|
|
673
|
+
const u={subtitle:a.subtitle?e=>{var t
|
|
674
|
+
return null==(t=a.subtitle)?void 0:t.call(a,{...e,item:r})}:void 0,prepend:a.prepend?e=>{var t
|
|
675
|
+
return null==(t=a.prepend)?void 0:t.call(a,{...e,item:r})}:void 0,append:a.append?e=>{var t
|
|
676
|
+
return null==(t=a.append)?void 0:t.call(a,{...e,item:r})}:void 0,default:a.default?e=>{var t
|
|
677
|
+
return null==(t=a.default)?void 0:t.call(a,{...e,item:r})}:void 0,title:a.title?e=>{var t
|
|
678
|
+
return null==(t=a.title)?void 0:t.call(a,{...e,item:r})}:void 0},[c,d]=function(e){return S(e,Object.keys(Ao.props))}(o)
|
|
679
|
+
return l?t.createVNode(Ao,t.mergeProps({value:null==o?void 0:o.value},c),{activator:e=>{let{props:l}=e
|
|
680
|
+
return a.header?a.header({...o,...l}):t.createVNode(Lo,t.mergeProps(o,l),u)},default:()=>t.createVNode(Po,{items:l},a)}):a.item?a.item(o):t.createVNode(Lo,o,u)})))}}}),Oo=Xe({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")
|
|
681
|
+
function Mo(e,t){const l=f(t,e.itemTitle,t),a=f(t,e.itemValue,l),o=f(t,e.itemChildren),n={title:l,value:a,...!0===e.itemProps?"object"!=typeof t||null==t||Array.isArray(t)?void 0:"children"in t?S(t,["children"])[1]:t:f(t,e.itemProps)}
|
|
682
|
+
return{title:String(n.title??""),value:n.value,props:n,children:Array.isArray(o)?zo(e,o):void 0,raw:t}}function zo(e,t){const l=[]
|
|
683
|
+
for(const a of t)l.push(Mo(e,a))
|
|
684
|
+
return l}function Fo(e){return{items:t.computed((()=>zo(e,e.items))),transformIn:function(t){return t.map((t=>Mo(e,t)))},transformOut:function(t){return e.returnObject?t.map((e=>{let{raw:t}=e
|
|
685
|
+
return t})):t.map((e=>{let{props:t}=e
|
|
686
|
+
return t.value}))}}}function Do(e,t){const l=f(t,e.itemType,"item"),a="string"==typeof t?t:f(t,e.itemTitle),o=f(t,e.itemValue,void 0),n=f(t,e.itemChildren),r={title:a,value:o,...!0===e.itemProps?S(t,["children"])[1]:f(t,e.itemProps)}
|
|
687
|
+
return{type:l,title:r.title,value:r.value,props:r,children:"item"===l&&n?jo(e,n):void 0,raw:t}}function jo(e,t){const l=[]
|
|
688
|
+
for(const a of t)l.push(Do(e,a))
|
|
689
|
+
return l}const Ho=Fe()({name:"VList",props:{activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...No({selectStrategy:"single-leaf",openStrategy:"list"}),...al(),...bl(),...Xt(),...nl(),itemType:{type:String,default:"type"},...Oo(),...il(),...tl(),...dt(),...kl({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
|
|
690
|
+
const{items:o}=function(e){return{items:t.computed((()=>jo(e,e.items)))}}(e),{themeClasses:n}=ft(e),{backgroundColorClasses:r,backgroundColorStyles:i}=dl(t.toRef(e,"bgColor")),{borderClasses:s}=ol(e),{densityClasses:u}=Vl(e),{dimensionStyles:c}=qt(e),{elevationClasses:d}=rl(e),{roundedClasses:v}=sl(e),{open:p,select:f}=_o(e),m=t.computed((()=>e.lines?`v-list--${e.lines}-line`:void 0)),g=t.toRef(e,"activeColor"),h=t.toRef(e,"color")
|
|
691
|
+
return ho(),Oe({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")}}),qe((()=>t.createVNode(e.tag,{class:["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav},n.value,r.value,s.value,u.value,d.value,m.value,v.value],style:[i.value,c.value]},{default:()=>[t.createVNode(Po,{items:o.value},a)]}))),{open:p,select:f}}}),Wo=De("v-list-img"),Uo=ze({name:"VListItemAction",props:{start:Boolean,end:Boolean,...tl()},setup(e,l){let{slots:a}=l
|
|
692
|
+
return qe((()=>t.createVNode(e.tag,{class:["v-list-item-action",{"v-list-item-action--start":e.start,"v-list-item-action--end":e.end}]},a))),{}}}),Yo=ze({name:"VListItemMedia",props:{start:Boolean,end:Boolean,...tl()},setup(e,l){let{slots:a}=l
|
|
693
|
+
return qe((()=>t.createVNode(e.tag,{class:["v-list-item-media",{"v-list-item-media--start":e.start,"v-list-item-media--end":e.end}]},a))),{}}}),Xo=Xe({closeDelay:[Number,String],openDelay:[Number,String]},"delay")
|
|
694
|
+
function qo(e,t){const a={},o=o=>()=>{if(!l)return Promise.resolve(!0)
|
|
695
|
+
const n="openDelay"===o
|
|
696
|
+
return a.closeDelay&&window.clearTimeout(a.closeDelay),delete a.closeDelay,a.openDelay&&window.clearTimeout(a.openDelay),delete a.openDelay,new Promise((l=>{const r=parseInt(e[o]??0,10)
|
|
697
|
+
a[o]=window.setTimeout((()=>{null==t||t(n),l(n)}),r)}))}
|
|
698
|
+
return{runCloseDelay:o("closeDelay"),runOpenDelay:o("openDelay")}}const Go=Symbol.for("vuetify:v-menu"),Ko=Xe({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...Xo()})
|
|
699
|
+
function Zo(e,a){let{isActive:o,isTop:r}=a
|
|
700
|
+
const i=t.ref()
|
|
701
|
+
let s=!1,u=!1,c=!0
|
|
702
|
+
const d=t.computed((()=>e.openOnFocus||null==e.openOnFocus&&e.openOnHover)),v=t.computed((()=>e.openOnClick||null==e.openOnClick&&!e.openOnHover&&!d.value)),{runOpenDelay:p,runCloseDelay:f}=qo(e,(t=>{t!==(e.openOnHover&&s||d.value&&u)||e.openOnHover&&o.value&&!r.value||(o.value!==t&&(c=!0),o.value=t)})),m=e=>{e.stopPropagation(),i.value=e.currentTarget||e.target,o.value=!o.value},g=e=>{s=!0,i.value=e.currentTarget||e.target,p()},h=e=>{s=!1,f()},y=e=>{n&&!e.target.matches(":focus-visible")||(u=!0,e.stopPropagation(),i.value=e.currentTarget||e.target,p())},b=e=>{u=!1,e.stopPropagation(),f()},V=t.computed((()=>{const t={}
|
|
703
|
+
return v.value&&(t.click=m),e.openOnHover&&(t.mouseenter=g,t.mouseleave=h),d.value&&(t.focus=y,t.blur=b),t})),S=t.computed((()=>{const l={}
|
|
704
|
+
if(e.openOnHover&&(l.mouseenter=()=>{s=!0,p()},l.mouseleave=()=>{s=!1,f()}),e.closeOnContentClick){const e=t.inject(Go,null)
|
|
705
|
+
l.click=()=>{o.value=!1,null==e||e.closeParents()}}return l})),w=t.computed((()=>{const t={}
|
|
706
|
+
return e.openOnHover&&(t.mouseenter=()=>{c&&(s=!0,c=!1,p())},t.mouseleave=()=>{s=!1,f()}),t}))
|
|
707
|
+
t.watch(r,(t=>{!t||(!e.openOnHover||s||d.value&&u)&&(!d.value||u||e.openOnHover&&s)||(o.value=!1)}))
|
|
708
|
+
const k=t.ref()
|
|
709
|
+
t.watchEffect((()=>{k.value&&t.nextTick((()=>{const e=k.value
|
|
592
710
|
var t
|
|
593
|
-
|
|
594
|
-
|
|
711
|
+
i.value=(null==(t=e)?void 0:t.$el)?e.$el:e}))}))
|
|
712
|
+
const x=Ie("useActivator")
|
|
713
|
+
let C
|
|
714
|
+
return t.watch((()=>!!e.activator),(a=>{a&&l?(C=t.effectScope(),C.run((()=>{!function(e,l,a){let{activatorEl:o,activatorEvents:n}=a
|
|
715
|
+
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
|
|
595
716
|
t&&(Object.entries(n.value).forEach((e=>{let[l,a]=e
|
|
596
|
-
t.addEventListener(l,a)})),Object.keys(l).forEach((e=>{null==l[e]?t.removeAttribute(e):t.setAttribute(e,l[e])})))}function
|
|
717
|
+
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
|
|
597
718
|
t&&(Object.entries(n.value).forEach((e=>{let[l,a]=e
|
|
598
|
-
t.removeEventListener(l,a)})),Object.keys(l).forEach((e=>{t.removeAttribute(e)})))}
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
return(
|
|
609
|
-
return
|
|
610
|
-
return Ha({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 Ha({x:t.width/2,y:t.height/2},t)}const Ua={static:function(){},connected:function(e,n,o){const r=function(e){for(;e;){if("fixed"===window.getComputedStyle(e).position)return!0
|
|
719
|
+
t.removeEventListener(l,a)})),Object.keys(l).forEach((e=>{t.removeAttribute(e)})))}function s(){var t
|
|
720
|
+
let a,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.activator
|
|
721
|
+
if(n)if("parent"===n){var r,i
|
|
722
|
+
let e=null==l||null==(r=l.proxy)||null==(i=r.$el)?void 0:i.parentNode
|
|
723
|
+
for(;e.hasAttribute("data-no-activator");)e=e.parentNode
|
|
724
|
+
a=e}else a="string"==typeof n?document.querySelector(n):"$el"in n?n.$el:n
|
|
725
|
+
return o.value=(null==(t=a)?void 0:t.nodeType)===Node.ELEMENT_NODE?a:null,o.value}t.watch((()=>e.activator),((e,l)=>{if(l&&e!==l){const e=s(l)
|
|
726
|
+
e&&i(e)}e&&t.nextTick((()=>r()))}),{immediate:!0}),t.watch((()=>e.activatorProps),(()=>{r()})),t.onScopeDispose((()=>{i()}))}(e,x,{activatorEl:i,activatorEvents:V})}))):C&&C.stop()}),{flush:"post",immediate:!0}),{activatorEl:i,activatorRef:k,activatorEvents:V,contentEvents:S,scrimEvents:w}}const Jo=Xe({eager:Boolean},"lazy")
|
|
727
|
+
function Qo(e,l){const a=t.ref(!1),o=t.computed((()=>a.value||e.eager||l.value))
|
|
728
|
+
return t.watch(l,(()=>a.value=!0)),{isBooted:a,hasContent:o,onAfterLeave:function(){e.eager||(a.value=!1)}}}function en(e,t){return{x:e.x+t.x,y:e.y+t.y}}function tn(e,t){if("top"===e.side||"bottom"===e.side){const{side:l,align:a}=e
|
|
729
|
+
return en({x:"left"===a?0:"center"===a?t.width/2:"right"===a?t.width:a,y:"top"===l?0:"bottom"===l?t.height:l},t)}if("left"===e.side||"right"===e.side){const{side:l,align:a}=e
|
|
730
|
+
return en({x:"left"===l?0:"right"===l?t.width:l,y:"top"===a?0:"center"===a?t.height/2:"bottom"===a?t.height:a},t)}return en({x:t.width/2,y:t.height/2},t)}const ln={static:function(){},connected:function(e,a,o){const n=function(e){for(;e;){if("fixed"===window.getComputedStyle(e).position)return!0
|
|
611
731
|
e=e.offsetParent}return!1}(e.activatorEl.value)
|
|
612
|
-
|
|
613
|
-
const
|
|
614
|
-
return
|
|
615
|
-
return isNaN(
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
const
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
e.contentEl.value.
|
|
625
|
-
const l=
|
|
626
|
-
e
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
let
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
const
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
const
|
|
657
|
-
|
|
658
|
-
|
|
732
|
+
n&&Object.assign(o.value,{position:"fixed"})
|
|
733
|
+
const{preferredAnchor:r,preferredOrigin:i}=L((()=>{const t=j(a.location,e.isRtl.value),l="overlap"===a.origin?t:"auto"===a.origin?W(t):j(a.origin,e.isRtl.value)
|
|
734
|
+
return t.side===l.side&&t.align===U(l).align?{preferredAnchor:Y(t),preferredOrigin:Y(l)}:{preferredAnchor:t,preferredOrigin:l}})),[s,u,c,d]=["minWidth","minHeight","maxWidth","maxHeight"].map((e=>t.computed((()=>{const t=parseFloat(a[e])
|
|
735
|
+
return isNaN(t)?1/0:t})))),v=t.computed((()=>{if(Array.isArray(a.offset))return a.offset
|
|
736
|
+
if("string"==typeof a.offset){const e=a.offset.split(" ").map(parseFloat)
|
|
737
|
+
return e.length<2&&e.push(0),e}return"number"==typeof a.offset?[a.offset,0]:[0,0]}))
|
|
738
|
+
let p=!1
|
|
739
|
+
if(l){const l=new ResizeObserver((()=>{p&&f()}))
|
|
740
|
+
t.watch([e.activatorEl,e.contentEl],((e,t)=>{let[a,o]=e,[n,r]=t
|
|
741
|
+
n&&l.unobserve(n),a&&l.observe(a),r&&l.unobserve(r),o&&l.observe(o)}),{immediate:!0}),t.onScopeDispose((()=>{l.disconnect()}))}function f(){if(p=!1,requestAnimationFrame((()=>{requestAnimationFrame((()=>p=!0))})),!e.activatorEl.value||!e.contentEl.value)return
|
|
742
|
+
const t=e.activatorEl.value.getBoundingClientRect(),l=function(e){const t=K(e)
|
|
743
|
+
return t.x-=parseFloat(e.style.left||0),t.y-=parseFloat(e.style.top||0),t}(e.contentEl.value),a=Ue(e.contentEl.value)
|
|
744
|
+
a.length||(a.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(l.x+=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),l.y+=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)))
|
|
745
|
+
const n=a.reduce(((e,t)=>{const l=t.getBoundingClientRect(),a=new q({x:t===document.documentElement?0:l.x,y:t===document.documentElement?0:l.y,width:t.clientWidth,height:t.clientHeight})
|
|
746
|
+
return e?new q({x:Math.max(e.left,a.left),y:Math.max(e.top,a.top),width:Math.min(e.right,a.right)-Math.max(e.left,a.left),height:Math.min(e.bottom,a.bottom)-Math.max(e.top,a.top)}):a}),void 0)
|
|
747
|
+
n.x+=12,n.y+=12,n.width-=24,n.height-=24
|
|
748
|
+
let f={anchor:r.value,origin:i.value}
|
|
749
|
+
function m(e){const a=new q(l),o=tn(e.anchor,t),r=tn(e.origin,a)
|
|
750
|
+
let{x:i,y:s}=(p=r,{x:(u=o).x-p.x,y:u.y-p.y})
|
|
751
|
+
var u,p
|
|
752
|
+
switch(e.anchor.side){case"top":s-=v.value[0]
|
|
753
|
+
break
|
|
754
|
+
case"bottom":s+=v.value[0]
|
|
755
|
+
break
|
|
756
|
+
case"left":i-=v.value[0]
|
|
757
|
+
break
|
|
758
|
+
case"right":i+=v.value[0]}switch(e.anchor.align){case"top":s-=v.value[1]
|
|
759
|
+
break
|
|
760
|
+
case"bottom":s+=v.value[1]
|
|
761
|
+
break
|
|
762
|
+
case"left":i-=v.value[1]
|
|
763
|
+
break
|
|
764
|
+
case"right":i+=v.value[1]}a.x+=i,a.y+=s,a.width=Math.min(a.width,c.value),a.height=Math.min(a.height,d.value)
|
|
765
|
+
return{overflows:G(a,n),x:i,y:s}}let h=0,y=0
|
|
766
|
+
const b={x:0,y:0},V={x:!1,y:!1}
|
|
767
|
+
let S=-1
|
|
768
|
+
for(;;){if(S++>10){ee("Infinite loop detected in connectedLocationStrategy")
|
|
769
|
+
break}const{x:e,y:t,overflows:a}=m(f)
|
|
770
|
+
h+=e,y+=t,l.x+=e,l.y+=t
|
|
771
|
+
{const e=X(f.anchor),t=a.x.before||a.x.after,l=a.y.before||a.y.after
|
|
772
|
+
let o=!1
|
|
773
|
+
if(["x","y"].forEach((n=>{if("x"===n&&t&&!V.x||"y"===n&&l&&!V.y){const t={anchor:{...f.anchor},origin:{...f.origin}},l="x"===n?"y"===e?U:W:"y"===e?W:U
|
|
774
|
+
t.anchor=l(t.anchor),t.origin=l(t.origin)
|
|
775
|
+
const{overflows:r}=m(t);(r[n].before<=a[n].before&&r[n].after<=a[n].after||r[n].before+r[n].after<(a[n].before+a[n].after)/2)&&(f=t,o=V[n]=!0)}})),o)continue}a.x.before&&(h+=a.x.before,l.x+=a.x.before),a.x.after&&(h-=a.x.after,l.x-=a.x.after),a.y.before&&(y+=a.y.before,l.y+=a.y.before),a.y.after&&(y-=a.y.after,l.y-=a.y.after)
|
|
776
|
+
{const e=G(l,n)
|
|
777
|
+
b.x=n.width-e.x.before-e.x.after,b.y=n.height-e.y.before-e.y.after,h+=e.x.before,l.x+=e.x.before,y+=e.y.before,l.y+=e.y.before}break}const w=X(f.anchor)
|
|
778
|
+
Object.assign(o.value,{"--v-overlay-anchor-origin":`${f.anchor.side} ${f.anchor.align}`,transformOrigin:`${f.origin.side} ${f.origin.align}`,top:g(on(y)),left:g(on(h)),minWidth:g("y"===w?Math.min(s.value,t.width):s.value),maxWidth:g(nn(x(b.x,s.value===1/0?0:s.value,c.value))),maxHeight:g(nn(x(b.y,u.value===1/0?0:u.value,d.value)))})}t.watch((()=>[r.value,i.value,a.offset,a.minWidth,a.minHeight,a.maxWidth,a.maxHeight]),(()=>f()),{immediate:!n}),n&&t.nextTick((()=>f()))
|
|
779
|
+
return requestAnimationFrame((()=>{o.value.maxHeight&&f()})),{updateLocation:f}}},an=Xe({locationStrategy:{type:[String,Function],default:"static",validator:e=>"function"==typeof e||e in ln},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]})
|
|
780
|
+
function on(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function nn(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let rn=!0
|
|
781
|
+
const sn=[]
|
|
782
|
+
let un=-1
|
|
783
|
+
function cn(){cancelAnimationFrame(un),un=requestAnimationFrame((()=>{const e=sn.shift()
|
|
784
|
+
e&&e(),sn.length?cn():rn=!0}))}const dn={none:null,close:function(e){pn(e.activatorEl.value??e.contentEl.value,(function(t){e.isActive.value=!1}))},block:function(e,l){var a
|
|
785
|
+
const o=null==(a=e.root.value)?void 0:a.offsetParent,n=[...new Set([...Ue(e.activatorEl.value,l.contained?o:void 0),...Ue(e.contentEl.value,l.contained?o:void 0)])].filter((e=>!e.classList.contains("v-overlay-scroll-blocked"))),r=window.innerWidth-document.documentElement.offsetWidth,i=(s=o||document.documentElement,Ye(s)&&s)
|
|
786
|
+
var s
|
|
787
|
+
i&&e.root.value.classList.add("v-overlay--scroll-blocked")
|
|
788
|
+
n.forEach(((e,t)=>{e.style.setProperty("--v-body-scroll-x",g(-e.scrollLeft)),e.style.setProperty("--v-body-scroll-y",g(-e.scrollTop)),e.style.setProperty("--v-scrollbar-offset",g(r)),e.classList.add("v-overlay-scroll-blocked")})),t.onScopeDispose((()=>{n.forEach(((e,t)=>{const l=parseFloat(e.style.getPropertyValue("--v-body-scroll-x")),a=parseFloat(e.style.getPropertyValue("--v-body-scroll-y"))
|
|
789
|
+
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})),i&&e.root.value.classList.remove("v-overlay--scroll-blocked")}))},reposition:function(e){let t=!1,l=-1
|
|
790
|
+
function a(l){var a
|
|
791
|
+
a=()=>{var a,o
|
|
792
|
+
const n=performance.now()
|
|
793
|
+
null==(a=(o=e.updateLocation).value)||a.call(o,l)
|
|
794
|
+
const r=performance.now()-n
|
|
795
|
+
t=r/(1e3/60)>2},!rn||sn.length?(sn.push(a),cn()):(rn=!1,a(),cn())}pn(e.activatorEl.value??e.contentEl.value,(e=>{t?(cancelAnimationFrame(l),l=requestAnimationFrame((()=>{l=requestAnimationFrame((()=>{a(e)}))}))):a(e)}))}},vn=Xe({scrollStrategy:{type:[String,Function],default:"block",validator:e=>"function"==typeof e||e in dn}})
|
|
796
|
+
function pn(e,l){const a=[document,...Ue(e)]
|
|
797
|
+
a.forEach((e=>{e.addEventListener("scroll",l,{passive:!0})})),t.onScopeDispose((()=>{a.forEach((e=>{e.removeEventListener("scroll",l)}))}))}const fn=Symbol.for("vuetify:stack"),mn=t.reactive([])
|
|
798
|
+
function gn(e){return{teleportTarget:t.computed((()=>{const a=e.value
|
|
799
|
+
if(!0===a||!l)return
|
|
800
|
+
const o=!1===a?document.body:"string"==typeof a?document.querySelector(a):a
|
|
801
|
+
if(null!=o){if(!gn.cache.has(o)){const e=document.createElement("div")
|
|
802
|
+
e.className="v-overlay-container",o.appendChild(e),gn.cache.set(o,e)}return gn.cache.get(o)}t.warn(`Unable to locate target ${a}`)}))}}function hn(){return!0}function yn(e,t,l){if(!e||!1===bn(e,l))return!1
|
|
803
|
+
const a=je(t)
|
|
659
804
|
if("undefined"!=typeof ShadowRoot&&a instanceof ShadowRoot&&a.host===e.target)return!1
|
|
660
|
-
const
|
|
661
|
-
return
|
|
662
|
-
t(document),"undefined"!=typeof ShadowRoot&&l instanceof ShadowRoot&&t(l)}
|
|
663
|
-
|
|
664
|
-
|
|
805
|
+
const o=("object"==typeof l.value&&l.value.include||(()=>[]))()
|
|
806
|
+
return o.push(t),!o.some((t=>null==t?void 0:t.contains(e.target)))}function bn(e,t){return("object"==typeof t.value&&t.value.closeConditional||hn)(e)}function Vn(e,t){const l=je(e)
|
|
807
|
+
t(document),"undefined"!=typeof ShadowRoot&&l instanceof ShadowRoot&&t(l)}gn.cache=new WeakMap
|
|
808
|
+
const Sn={mounted(e,t){const l=l=>function(e,t,l){const a="function"==typeof l.value?l.value:l.value.handler
|
|
809
|
+
t._clickOutside.lastMousedownWasOutside&&yn(e,t,l)&&setTimeout((()=>{bn(e,l)&&a&&a(e)}),0)}(l,e,t),a=l=>{e._clickOutside.lastMousedownWasOutside=yn(l,e,t)}
|
|
810
|
+
Vn(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&&(Vn(e,(l=>{var a
|
|
665
811
|
if(!l||null==(a=e._clickOutside)||!a[t.instance.$.uid])return
|
|
666
|
-
const{onClick:
|
|
667
|
-
l.removeEventListener("click",
|
|
668
|
-
function
|
|
669
|
-
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},
|
|
670
|
-
const
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
e
|
|
674
|
-
|
|
812
|
+
const{onClick:o,onMousedown:n}=e._clickOutside[t.instance.$.uid]
|
|
813
|
+
l.removeEventListener("click",o,!0),l.removeEventListener("mousedown",n,!0)})),delete e._clickOutside[t.instance.$.uid])}}
|
|
814
|
+
function wn(e){const{modelValue:l,color:a,...o}=e
|
|
815
|
+
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},o),null)]})}const kn=Fe()({name:"VOverlay",directives:{ClickOutside:Sn},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},...Ko(),...Xt(),...Jo(),...an(),...vn(),...dt(),...Jt()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,a){let{slots:o,attrs:n,emit:r}=a
|
|
816
|
+
const i=gl(e,"modelValue"),s=t.computed({get:()=>i.value,set:t=>{t&&e.disabled||(i.value=t)}}),{teleportTarget:u}=gn(t.computed((()=>e.attach||e.contained))),{themeClasses:c}=ft(e),{rtlClasses:d,isRtl:v}=kt(),{hasContent:p,onAfterLeave:f}=Qo(e,s),m=dl(t.computed((()=>"string"==typeof e.scrim?e.scrim:null))),{globalTop:h,localTop:y,stackStyles:b}=function(e,l){const a=Ie("useStack"),o=t.inject(fn,void 0),n=t.reactive({activeChildren:new Set})
|
|
817
|
+
t.provide(fn,n)
|
|
818
|
+
const r=t.ref(+l.value)
|
|
819
|
+
ml(e,(()=>{var e
|
|
820
|
+
const n=null==(e=mn.at(-1))?void 0:e[1]
|
|
821
|
+
r.value=n?n+10:+l.value,mn.push([a.uid,r.value]),null==o||o.activeChildren.add(a.uid),t.onScopeDispose((()=>{const e=mn.findIndex((e=>e[0]===a.uid))
|
|
822
|
+
mn.splice(e,1),null==o||o.activeChildren.delete(a.uid)}))}))
|
|
823
|
+
const i=t.ref(!0)
|
|
824
|
+
t.watchEffect((()=>{var e
|
|
825
|
+
const t=(null==(e=mn.at(-1))?void 0:e[0])===a.uid
|
|
826
|
+
setTimeout((()=>i.value=t))}))
|
|
827
|
+
const s=t.computed((()=>!n.activeChildren.size))
|
|
828
|
+
return{globalTop:t.readonly(i),localTop:s,stackStyles:t.computed((()=>({zIndex:r.value})))}}(s,t.toRef(e,"zIndex")),{activatorEl:V,activatorRef:S,activatorEvents:w,contentEvents:k,scrimEvents:x}=Zo(e,{isActive:s,isTop:y}),{dimensionStyles:C}=qt(e)
|
|
829
|
+
t.watch((()=>e.disabled),(e=>{e&&(s.value=!1)}))
|
|
830
|
+
const N=t.ref(),_=t.ref(),{contentStyles:B,updateLocation:I}=function(e,a){const o=t.ref({}),n=t.ref()
|
|
831
|
+
let r
|
|
832
|
+
function i(e){var t
|
|
833
|
+
null==(t=n.value)||t.call(n,e)}return t.watchEffect((async()=>{var i
|
|
834
|
+
null==(i=r)||i.stop(),n.value=void 0,l&&a.isActive.value&&e.locationStrategy&&(r=t.effectScope(),await t.nextTick(),r.run((()=>{var t,l
|
|
835
|
+
"function"==typeof e.locationStrategy?n.value=null==(t=e.locationStrategy(a,e,o))?void 0:t.updateLocation:n.value=null==(l=ln[e.locationStrategy](a,e,o))?void 0:l.updateLocation})))})),l&&window.addEventListener("resize",i,{passive:!0}),t.onScopeDispose((()=>{var e
|
|
836
|
+
l&&window.removeEventListener("resize",i),n.value=void 0,null==(e=r)||e.stop()})),{contentStyles:o,updateLocation:n}}(e,{isRtl:v,contentEl:_,activatorEl:V,isActive:s})
|
|
837
|
+
function $(t){r("click:outside",t),e.persistent?T():s.value=!1}function A(){return s.value&&h.value}function E(t){"Escape"===t.key&&h.value&&(e.persistent?T():s.value=!1)}!function(e,a){if(!l)return
|
|
675
838
|
let o
|
|
676
|
-
|
|
677
|
-
null==(
|
|
678
|
-
null==(
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
function
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
const
|
|
691
|
-
function
|
|
692
|
-
|
|
693
|
-
e
|
|
694
|
-
const
|
|
695
|
-
return
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
const
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
return
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
function
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
function
|
|
724
|
-
const
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
let{slots:n}=l
|
|
730
|
-
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(Nn,{active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const In=$e({focused:Boolean},"focus")
|
|
731
|
-
function En(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ve()
|
|
732
|
-
const a=Et(e,"focused"),n=t.computed((()=>({[`${l}--focused`]:a.value})))
|
|
733
|
-
function o(){a.value=!0}function r(){a.value=!1}return{focusClasses:n,isFocused:a,focus:o,blur:r}}const An=["underlined","outlined","filled","contained","plain"],Rn=$e({appendInnerIcon:String,bgColor:String,clearable:Boolean,clearIcon:{type:String,default:"$clear"},active:Boolean,color:String,dirty:Boolean,disabled:Boolean,error:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:String,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>An.includes(e)},...De(),..._n()},"v-field"),Tn=me()({name:"VField",inheritAttrs:!1,props:{id:String,...In(),...Rn()},emits:{"click:clear":e=>!0,"click:prepend-inner":e=>!0,"click:append-inner":e=>!0,"click:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,l){let{attrs:n,emit:o,slots:r}=l
|
|
734
|
-
const{themeClasses:i}=He(e),{loaderClasses:s}=Bn(e),{focusClasses:u,isFocused:c,focus:d,blur:v}=En(e),p=t.computed((()=>e.dirty||e.active)),f=t.computed((()=>!(e.singleLine||!e.label&&!r.label))),m=I(),g=t.computed((()=>e.id||`input-${m}`)),h=t.ref(),y=t.ref(),V=t.ref(),{backgroundColorClasses:S,backgroundColorStyles:w}=Nt(t.toRef(e,"bgColor")),{textColorClasses:x,textColorStyles:C}=kt(t.computed((()=>p.value&&c.value&&!e.error&&!e.disabled?e.color:void 0)))
|
|
735
|
-
t.watch(p,(e=>{if(f.value){const t=h.value.$el,l=y.value.$el,n=a(t),o=l.getBoundingClientRect(),r=o.x-n.x,i=o.y-n.y-(n.height/2-o.height/2),s=o.width/.75,u=Math.abs(s-n.width)>1?{maxWidth:b(s)}:void 0,c=1e3*parseFloat(getComputedStyle(t).transitionDuration),d=parseFloat(getComputedStyle(l).getPropertyValue("--v-field-label-scale"))
|
|
736
|
-
t.style.visibility="visible",l.style.visibility="hidden",t.animate([{transform:"translate(0)"},{transform:`translate(${r}px, ${i}px) scale(${d})`,...u}],{duration:c,easing:be,direction:e?"normal":"reverse"}).finished.then((()=>{t.style.removeProperty("visibility"),l.style.removeProperty("visibility")}))}}),{flush:"post"})
|
|
737
|
-
const k=t.computed((()=>({isActive:p,isFocused:c,controlRef:V,blur:v,focus:d})))
|
|
738
|
-
function N(e){e.target!==document.activeElement&&e.preventDefault(),o("click:control",e)}return Ie((()=>{var l,a,c
|
|
739
|
-
const m="outlined"===e.variant,b=r.prependInner||e.prependInnerIcon,V=!(!e.clearable&&!r.clear),_=!!(r.appendInner||e.appendInnerIcon||V),B=r.label?r.label({label:e.label,props:{for:g.value}}):e.label
|
|
740
|
-
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":b,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,[`v-field--variant-${e.variant}`]:!0},i.value,S.value,u.value,s.value],style:[w.value,C.value],onClick:N},n),[t.createVNode("div",{class:"v-field__overlay"},null),t.createVNode($n,{name:"v-field",active:e.loading,color:e.error?"error":e.color},{default:r.loader}),b&&t.createVNode("div",{class:"v-field__prepend-inner"},[e.prependInnerIcon&&t.createVNode(al,{onClick:e=>o("click:prepend-inner",e),icon:e.prependInnerIcon},null),null==r||null==(l=r.prependInner)?void 0:l.call(r,k.value)]),t.createVNode("div",{class:"v-field__field"},[["contained","filled"].includes(e.variant)&&f.value&&t.createVNode(Cn,{ref:y,class:[x.value],floating:!0},{default:()=>[B]}),t.createVNode(Cn,{ref:h,for:g.value},{default:()=>[B]}),null==(a=r.default)?void 0:a.call(r,{...k.value,props:{id:g.value,class:"v-field__input"},focus:d,blur:v})]),V&&t.createVNode(ia,null,{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-field__clearable"},[r.clear?r.clear():t.createVNode(al,{onClick:e=>o("click:clear",e),icon:e.clearIcon},null)]),[[t.vShow,e.dirty]])]}),_&&t.createVNode("div",{class:"v-field__append-inner"},[null==r||null==(c=r.appendInner)?void 0:c.call(r,k.value),e.appendInnerIcon&&t.createVNode(al,{onClick:e=>o("click:append-inner",e),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(Cn,{ref:y,floating:!0},{default:()=>[B]})]),t.createVNode("div",{class:"v-field__outline__end"},null)]),["plain","underlined"].includes(e.variant)&&f.value&&t.createVNode(Cn,{ref:y,floating:!0},{default:()=>[B]})])])})),{controlRef:V}}})
|
|
741
|
-
function Ln(e){return x(e,Object.keys(Tn.props))}const Mn=fe({name:"VCounter",functional:!0,props:{active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...pt({transition:{component:na}})},setup(e,l){let{slots:a}=l
|
|
742
|
-
const n=t.computed((()=>e.max?`${e.value} / ${e.max}`:String(e.value)))
|
|
743
|
-
return()=>t.createVNode(ft,{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]])]})}}),zn=["color","file","time","date","datetime-local","week","month"],On=me()({name:"VTextField",directives:{Intersect:vt},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"},...Vn(),...Rn()},emits:{"click:append":e=>!0,"click:append-inner":e=>!0,"click:clear":e=>!0,"click:control":e=>!0,"click:input":e=>!0,"click:prepend":e=>!0,"click:prepend-inner":e=>!0,"update:modelValue":e=>!0},setup(e,l){let{attrs:a,emit:n,slots:o}=l
|
|
744
|
-
const r=Et(e,"modelValue"),i=t.computed((()=>{var t
|
|
745
|
-
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))
|
|
746
|
-
function u(t,l){var a,n
|
|
747
|
-
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((()=>zn.includes(e.type)||e.persistentPlaceholder||v.value)),m=t.computed((()=>e.messages.length?e.messages:v.value||e.persistentHint?e.hint:""))
|
|
839
|
+
t.watchEffect((async()=>{var l
|
|
840
|
+
null==(l=o)||l.stop(),a.isActive.value&&e.scrollStrategy&&(o=t.effectScope(),await t.nextTick(),o.run((()=>{var t
|
|
841
|
+
"function"==typeof e.scrollStrategy?e.scrollStrategy(a,e):null==(t=dn[e.scrollStrategy])||t.call(dn,a,e)})))}))}(e,{root:N,contentEl:_,activatorEl:V,isActive:s,updateLocation:I}),l&&t.watch(s,(e=>{e?window.addEventListener("keydown",E):window.removeEventListener("keydown",E)}),{immediate:!0})
|
|
842
|
+
const R=Ca()
|
|
843
|
+
ml((()=>e.closeOnBack),(()=>{!function(e,a){let o,n,r=!1
|
|
844
|
+
function i(e){var t
|
|
845
|
+
null!=(t=e.state)&&t.replaced||(r=!0,setTimeout((()=>r=!1)))}l&&(t.nextTick((()=>{window.addEventListener("popstate",i),o=null==e?void 0:e.beforeEach(((e,t,l)=>{Ba?r?a(l):l():setTimeout((()=>r?a(l):l())),Ba=!0})),n=null==e?void 0:e.afterEach((()=>{Ba=!1}))})),t.onScopeDispose((()=>{var e,t
|
|
846
|
+
window.removeEventListener("popstate",i),null==(e=o)||e(),null==(t=n)||t()})))}(R,(t=>{h.value&&s.value?(t(!1),e.persistent?T():s.value=!1):t()}))}))
|
|
847
|
+
const L=t.ref()
|
|
848
|
+
function T(){e.noClickAnimation||_.value&&Z(_.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:He})}return t.watch((()=>s.value&&(e.absolute||e.contained)&&null==u.value),(e=>{if(e){const e=We(N.value)
|
|
849
|
+
e&&e!==document.scrollingElement&&(L.value=e.scrollTop)}})),qe((()=>{var a,i
|
|
850
|
+
return t.createVNode(t.Fragment,null,[null==(a=o.activator)?void 0:a.call(o,{isActive:s.value,props:t.mergeProps({ref:S},t.toHandlers(w.value),e.activatorProps)}),l&&t.createVNode(t.Teleport,{disabled:!u.value,to:u.value},{default:()=>[p.value&&t.createVNode("div",t.mergeProps({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":s.value,"v-overlay--contained":e.contained},c.value,d.value],style:[b.value,{top:g(L.value)}],ref:N},n),[t.createVNode(wn,t.mergeProps({color:m,modelValue:s.value&&!!e.scrim},t.toHandlers(x.value)),null),t.createVNode(Qt,{appear:!0,persisted:!0,transition:e.transition,target:V.value,onAfterLeave:()=>{f(),r("afterLeave")}},{default:()=>[t.withDirectives(t.createVNode("div",t.mergeProps({ref:_,class:["v-overlay__content",e.contentClass],style:[C.value,B.value]},t.toHandlers(k.value),e.contentProps),[null==(i=o.default)?void 0:i.call(o,{isActive:s})]),[[t.vShow,s.value],[t.resolveDirective("click-outside"),{handler:$,closeConditional:A,include:()=>[V.value]}]])]})])]})])})),{activatorEl:V,animateClick:T,contentEl:_,globalTop:h,localTop:y,updateLocation:I}}}),xn=Symbol("Forwarded refs")
|
|
851
|
+
function Cn(e){for(var t=arguments.length,l=new Array(t>1?t-1:0),a=1;a<t;a++)l[a-1]=arguments[a]
|
|
852
|
+
return e[xn]=l,new Proxy(e,{get(e,t){if(Reflect.has(e,t))return Reflect.get(e,t)
|
|
853
|
+
for(const e of l)if(e.value&&Reflect.has(e.value,t)){const l=Reflect.get(e.value,t)
|
|
854
|
+
return"function"==typeof l?l.bind(e.value):l}},getOwnPropertyDescriptor(e,t){const a=Reflect.getOwnPropertyDescriptor(e,t)
|
|
855
|
+
if(a)return a
|
|
856
|
+
if("symbol"!=typeof t&&!t.startsWith("__")){for(const e of l){if(!e.value)continue
|
|
857
|
+
const l=Reflect.getOwnPropertyDescriptor(e.value,t)
|
|
858
|
+
if(l)return l
|
|
859
|
+
if("_"in e.value&&"setupState"in e.value._){const l=Reflect.getOwnPropertyDescriptor(e.value._.setupState,t)
|
|
860
|
+
if(l)return l}}for(const e of l){let l=e.value&&Object.getPrototypeOf(e.value)
|
|
861
|
+
for(;l;){const e=Reflect.getOwnPropertyDescriptor(l,t)
|
|
862
|
+
if(e)return e
|
|
863
|
+
l=Object.getPrototypeOf(l)}}for(const e of l){const l=e.value&&e.value[xn]
|
|
864
|
+
if(!l)continue
|
|
865
|
+
const a=l.slice()
|
|
866
|
+
for(;a.length;){const e=a.shift(),l=Reflect.getOwnPropertyDescriptor(e.value,t)
|
|
867
|
+
if(l)return l
|
|
868
|
+
const o=e.value&&e.value[xn]
|
|
869
|
+
o&&a.push(...o)}}}}})}function Nn(){const e=Ie("useScopeId").vnode.scopeId
|
|
870
|
+
return{scopeId:e?{[e]:""}:void 0}}const _n=Fe()({name:"VMenu",inheritAttrs:!1,props:{modelValue:Boolean,id:String,...Jt({transition:{component:It}})},emits:{"update:modelValue":e=>!0},setup(e,l){let{attrs:a,slots:o}=l
|
|
871
|
+
const n=gl(e,"modelValue"),{scopeId:r}=Nn(),i=Re(),s=t.computed((()=>e.id||`v-menu-${i}`)),u=t.ref(),c=t.inject(Go,null)
|
|
872
|
+
let d=0
|
|
873
|
+
function v(){null==c||c.closeParents()}return t.provide(Go,{register(){++d},unregister(){--d},closeParents(){setTimeout((()=>{d||(n.value=!1,null==c||c.closeParents())}),40)}}),t.watch(n,(e=>{e?null==c||c.register():null==c||c.unregister()})),qe((()=>t.createVNode(kn,t.mergeProps({ref:u,modelValue:n.value,"onUpdate:modelValue":e=>n.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(n.value),"aria-owns":s.value},"onClick:outside":v},r,a),{activator:o.activator,default:function(){for(var e,l=arguments.length,a=new Array(l),n=0;n<l;n++)a[n]=arguments[n]
|
|
874
|
+
return t.createVNode(Ct,{root:!0},{default:()=>[null==(e=o.default)?void 0:e.call(o,...a)]})}}))),Cn({id:s},u)}}),Bn=ze({name:"VFieldLabel",props:{floating:Boolean},setup(e,l){let{slots:a}=l
|
|
875
|
+
return qe((()=>t.createVNode(eo,{class:["v-field-label",{"v-field-label--floating":e.floating}],"aria-hidden":e.floating||void 0},a))),{}}}),In=Xe({focused:Boolean},"focus")
|
|
876
|
+
function $n(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$e()
|
|
877
|
+
const a=gl(e,"focused"),o=t.computed((()=>({[`${l}--focused`]:a.value})))
|
|
878
|
+
function n(){a.value=!0}function r(){a.value=!1}return{focusClasses:o,isFocused:a,focus:n,blur:r}}const An=["underlined","outlined","filled","solo","plain"],En=Xe({appendInnerIcon:Tl,bgColor:String,clearable:Boolean,clearIcon:{type:Tl,default:"$clear"},active:Boolean,color:String,dirty:Boolean,disabled:Boolean,error:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:Tl,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>An.includes(e)},"onClick:clear":M,"onClick:appendInner":M,"onClick:prependInner":M,...dt(),...ga()},"v-field"),Rn=Fe()({name:"VField",inheritAttrs:!1,props:{id:String,...In(),...En()},emits:{"click:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,l){let{attrs:a,emit:o,slots:n}=l
|
|
879
|
+
const{themeClasses:r}=ft(e),{loaderClasses:i}=ha(e),{focusClasses:s,isFocused:u,focus:c,blur:d}=$n(e),{InputIcon:v}=Ka(e),p=t.computed((()=>e.dirty||e.active)),f=t.computed((()=>!(e.singleLine||!e.label&&!n.label))),m=Re(),h=t.computed((()=>e.id||`input-${m}`)),y=t.ref(),b=t.ref(),V=t.ref(),{backgroundColorClasses:S,backgroundColorStyles:w}=dl(t.toRef(e,"bgColor")),{textColorClasses:k,textColorStyles:x}=cl(t.computed((()=>p.value&&u.value&&!e.error&&!e.disabled?e.color:void 0)))
|
|
880
|
+
t.watch(p,(e=>{if(f.value){const t=y.value.$el,l=b.value.$el,a=K(t),o=l.getBoundingClientRect(),n=o.x-a.x,r=o.y-a.y-(a.height/2-o.height/2),i=o.width/.75,s=Math.abs(i-a.width)>1?{maxWidth:g(i)}:void 0,u=getComputedStyle(t),c=getComputedStyle(l),d=1e3*parseFloat(u.transitionDuration)||150,v=parseFloat(c.getPropertyValue("--v-field-label-scale")),p=c.getPropertyValue("color")
|
|
881
|
+
t.style.visibility="visible",l.style.visibility="hidden",Z(t,{transform:`translate(${n}px, ${r}px) scale(${v})`,color:p,...s},{duration:d,easing:He,direction:e?"normal":"reverse"}).finished.then((()=>{t.style.removeProperty("visibility"),l.style.removeProperty("visibility")}))}}),{flush:"post"})
|
|
882
|
+
const C=t.computed((()=>({isActive:p,isFocused:u,controlRef:V,blur:d,focus:c})))
|
|
883
|
+
function N(e){e.target!==document.activeElement&&e.preventDefault(),o("click:control",e)}return qe((()=>{var l,o,u
|
|
884
|
+
const m="outlined"===e.variant,g=n["prepend-inner"]||e.prependInnerIcon,V=!(!e.clearable&&!n.clear),_=!!(n["append-inner"]||e.appendInnerIcon||V),B=n.label?n.label({label:e.label,props:{for:h.value}}):e.label
|
|
885
|
+
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":g,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!B,[`v-field--variant-${e.variant}`]:!0},r.value,S.value,s.value,i.value],style:[w.value,x.value],onClick:N},a),[t.createVNode("div",{class:"v-field__overlay"},null),t.createVNode(ya,{name:"v-field",active:e.loading,color:e.error?"error":e.color},{default:n.loader}),g&&t.createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&t.createVNode(v,{key:"prepend-icon",name:"prependInner"},null),null==(l=n["prepend-inner"])?void 0:l.call(n,C.value)]),t.createVNode("div",{class:"v-field__field","data-no-activator":""},[["solo","filled"].includes(e.variant)&&f.value&&t.createVNode(Bn,{key:"floating-label",ref:b,class:[k.value],floating:!0,for:h.value},{default:()=>[B]}),t.createVNode(Bn,{ref:y,for:h.value},{default:()=>[B]}),null==(o=n.default)?void 0:o.call(n,{...C.value,props:{id:h.value,class:"v-field__input"},focus:c,blur:d})]),V&&t.createVNode(Yt,{key:"clear"},{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-field__clearable"},[n.clear?n.clear():t.createVNode(v,{name:"clear"},null)]),[[t.vShow,e.dirty]])]}),_&&t.createVNode("div",{key:"append",class:"v-field__append-inner"},[null==(u=n["append-inner"])?void 0:u.call(n,C.value),e.appendInnerIcon&&t.createVNode(v,{key:"append-icon",name:"appendInner"},null)]),t.createVNode("div",{class:["v-field__outline",k.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(Bn,{ref:b,floating:!0,for:h.value},{default:()=>[B]})]),t.createVNode("div",{class:"v-field__outline__end"},null)]),["plain","underlined"].includes(e.variant)&&f.value&&t.createVNode(Bn,{ref:b,floating:!0,for:h.value},{default:()=>[B]})])])})),{controlRef:V}}})
|
|
886
|
+
function Ln(e){return S(e,Object.keys(Rn.props).filter((e=>!O(e))))}const Tn=ze({name:"VCounter",functional:!0,props:{active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Jt({transition:{component:Ht}})},setup(e,l){let{slots:a}=l
|
|
887
|
+
const o=t.computed((()=>e.max?`${e.value} / ${e.max}`:String(e.value)))
|
|
888
|
+
return qe((()=>t.createVNode(Qt,{transition:e.transition},{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-counter"},[a.default?a.default({counter:o.value,max:e.max,value:e.value}):o.value]),[[t.vShow,e.active]])]}))),{}}}),Pn=["color","file","time","date","datetime-local","week","month"],On=Fe()({name:"VTextField",directives:{Intersect:Zt},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"},...Za(),...En()},emits:{"click:control":e=>!0,"click:input":e=>!0,"update:modelValue":e=>!0},setup(e,l){let{attrs:a,emit:o,slots:n}=l
|
|
889
|
+
const r=gl(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))
|
|
890
|
+
function u(t,l){var a,o
|
|
891
|
+
e.autofocus&&t&&(null==(a=l[0].target)||null==(o=a.focus)||o.call(a))}const c=t.ref(),d=t.ref(),v=t.ref(!1),p=t.ref(),f=t.computed((()=>Pn.includes(e.type)||e.persistentPlaceholder||v.value)),m=t.computed((()=>e.messages.length?e.messages:v.value||e.persistentHint?e.hint:""))
|
|
748
892
|
function g(){var e
|
|
749
893
|
p.value!==document.activeElement&&(null==(e=p.value)||e.focus())
|
|
750
|
-
v.value||(v.value=!0)}function h(e){g(),
|
|
751
|
-
return t.createVNode(
|
|
752
|
-
return t.createVNode(
|
|
753
|
-
|
|
754
|
-
return t.createVNode(t.Fragment,null,[e.prefix&&t.createVNode("span",{class:"v-text-field__prefix"},[e.prefix]),t.createVNode("div",{class:
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
return e.
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
const
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
return e},
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
return
|
|
767
|
-
|
|
768
|
-
return
|
|
769
|
-
return t.
|
|
770
|
-
|
|
771
|
-
const
|
|
772
|
-
|
|
773
|
-
if(
|
|
774
|
-
const
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
return
|
|
785
|
-
|
|
786
|
-
function
|
|
787
|
-
|
|
788
|
-
const
|
|
789
|
-
|
|
790
|
-
e:
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
const
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
null==
|
|
804
|
-
function
|
|
805
|
-
function
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
return s.value?l.title:function(e,l,a){if(Array.isArray(l))throw new Error("Multiple matches is not implemented")
|
|
810
|
-
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=d.value)?void 0:n.length)?e:0)}})}))]})]}),f.value.map(((n,o)=>{const r={"onClick:close":function(e){e.stopPropagation(),e.preventDefault(),S(n)},modelValue:!0}
|
|
811
|
-
return t.createVNode("div",{class:"v-autocomplete__selection"},[l&&t.createVNode(it,{defaults:{VChip:{closable:e.closableChips,size:"small",text:n.title}}},{default:()=>[a.chip?a.chip({props:r,selection:n}):t.createVNode(sa,r,null)]}),!l&&(a.selection?a.selection({selection:n}):t.createVNode("span",{class:"v-autocomplete__selection-text"},[n.title,e.multiple&&o<f.value.length-1&&t.createVNode("span",{class:"v-autocomplete__selection-comma"},[t.createTextVNode(",")])]))])}))])})})),_t({filteredItems:p},o)}}),eo=fe({name:"VBadge",inheritAttrs:!1,props:{bordered:Boolean,color:String,content:[Number,String],dot:Boolean,floating:Boolean,icon:String,inline:Boolean,label:{type:String,default:"$vuetify.badge"},location:{type:String,default:"top-end",validator:e=>{const[t,l]=(null!=e?e:"").split("-")
|
|
812
|
-
return["top","bottom"].includes(t)&&["start","end"].includes(l)}},max:[Number,String],modelValue:{type:Boolean,default:!0},offsetX:[Number,String],offsetY:[Number,String],textColor:String,...wt(),...gt(),...De(),...pt({transition:"scale-rotate-transition"})},setup(e,l){const{backgroundColorClasses:a,backgroundColorStyles:n}=Nt(t.toRef(e,"color")),{isRtl:o}=ot(),{roundedClasses:r}=xt(e),{t:i}=Fn(),{textColorClasses:s,textColorStyles:u}=kt(t.toRef(e,"textColor")),{themeClasses:c}=We(),d=t.computed((()=>e.floating?e.dot?2:4:e.dot?8:12))
|
|
813
|
-
function v(e){return`calc(100% - ${b(d.value+parseInt(null!=e?e:0,10))})`}const p=t.computed((()=>{var t
|
|
814
|
-
const[l,a]=(null!=(t=e.location)?t:"").split("-"),n={bottom:"auto",left:"auto",right:"auto",top:"auto"}
|
|
815
|
-
if(!e.inline){n[o.value&&"end"===a||!o.value&&"start"===a?"right":"left"]=v(e.offsetX),n["top"===l?"bottom":"top"]=v(e.offsetY)}return n}))
|
|
816
|
-
return()=>{var o,d,v,f
|
|
817
|
-
const m=Number(e.content),g=!e.max||isNaN(m)?e.content:m<=e.max?m:`${e.max}+`,[h,b]=x(l.attrs,["aria-atomic","aria-label","aria-live","role","title"])
|
|
818
|
-
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==(o=(d=l.slots).default)?void 0:o.call(d),t.createVNode(ft,{transition:e.transition},{default:()=>[t.withDirectives(t.createVNode("span",t.mergeProps({class:["v-badge__badge",a.value,r.value,s.value,c.value],style:[n.value,p.value,u.value],"aria-atomic":"true","aria-label":i(e.label,m),"aria-live":"polite",role:"status"},h),[e.dot?void 0:l.slots.badge?null==(v=(f=l.slots).badge)?void 0:v.call(f):e.icon?t.createVNode(al,{icon:e.icon},null):t.createVNode("span",{class:"v-badge__content"},[g])]),[[t.vShow,e.modelValue]])]})])]})}}}),to=ge("v-banner-actions"),lo=ge("v-banner-text"),ao=Symbol.for("vuetify:display"),no={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}}
|
|
819
|
-
function oo(){return ke?Math.max(document.documentElement.clientWidth,window.innerWidth):0}function ro(){return ke?Math.max(document.documentElement.clientHeight,window.innerHeight):0}function io(e){const{thresholds:l,mobileBreakpoint:a}=function(){return $(no,arguments.length>0&&void 0!==arguments[0]?arguments[0]:no)}(e),n=t.ref(ro()),o=function(){const e=ke?window.navigator.userAgent:"ssr"
|
|
820
|
-
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)
|
|
821
|
-
return{android:l,ios:a,cordova:n,electron:o,chrome:r,edge:i,firefox:s,opera:u,win:c,mac:d,linux:v,touch:_e,ssr:p}}(),r=t.reactive({}),i=t.ref(oo())
|
|
822
|
-
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
|
|
823
|
-
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})),ke&&window.addEventListener("resize",(function(){n.value=ro(),i.value=oo()}),{passive:!0}),t.toRefs(r)}function so(){const e=t.inject(ao)
|
|
894
|
+
v.value||(v.value=!0)}function h(e){g(),o("click:control",e)}function y(l){l.stopPropagation(),g(),t.nextTick((()=>{r.value="",z(e["onClick:clear"],l)}))}return qe((()=>{const l=!!(n.counter||e.counter||e.counterValue),b=!(!l&&!n.details),[V,S]=w(a),[{modelValue:k,...x}]=Qa(e),[C]=Ln(e)
|
|
895
|
+
return t.createVNode(Ja,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":e["onClick:prepend"],"onClick:append":e["onClick:append"]},V,x,{messages:m.value}),{...n,default:l=>{let{id:a,isDisabled:i,isDirty:s,isReadonly:c,isValid:m}=l
|
|
896
|
+
return t.createVNode(Rn,t.mergeProps({ref:d,onMousedown:e=>{e.target!==p.value&&e.preventDefault()},"onClick:control":h,"onClick:clear":y,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:"textbox"},C,{id:a.value,active:f.value||s.value,dirty:s.value||e.dirty,focused:v.value,error:!1===m.value}),{...n,default:l=>{let{props:{class:a,...s}}=l
|
|
897
|
+
const d=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},s,S),null),[[t.vModelDynamic,r.value],[t.resolveDirective("intersect"),{handler:u},null,{once:!0}]])
|
|
898
|
+
return t.createVNode(t.Fragment,null,[e.prefix&&t.createVNode("span",{class:"v-text-field__prefix"},[e.prefix]),n.default?t.createVNode("div",{class:a,onClick:e=>o("click:input",e),"data-no-activator":""},[n.default(),d]):t.cloneVNode(d,{class:a}),e.suffix&&t.createVNode("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:b?a=>{var o
|
|
899
|
+
return t.createVNode(t.Fragment,null,[null==(o=n.details)?void 0:o.call(n,a),l&&t.createVNode(t.Fragment,null,[t.createVNode("span",null,null),t.createVNode(Tn,{active:e.persistentCounter||v.value,value:i.value,max:s.value},n.counter)])])}:void 0})})),Cn({},c,d,p)}}),Mn=Xe({chips:Boolean,closableChips:Boolean,eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:Tl,default:"$dropdown"},menuProps:{type:Object},modelValue:{type:null,default:()=>[]},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,readonly:Boolean,...Oo({itemChildren:!1})},"select"),zn=Fe()({name:"VSelect",props:{...Mn(),...Jt({transition:{component:It}})},emits:{"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,l){let{slots:a}=l
|
|
900
|
+
const{t:o}=Pa(),n=t.ref(),r=gl(e,"menu"),{items:i,transformIn:s,transformOut:u}=Fo(e),c=gl(e,"modelValue",[],(e=>s(k(e))),(t=>{const l=u(t)
|
|
901
|
+
return e.multiple?l:l[0]??null})),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))))
|
|
902
|
+
function p(t){c.value=[],e.openOnClear&&(r.value=!0)}function f(){e.hideNoData&&!i.value.length||e.readonly||(r.value=!r.value)}function m(t){e.readonly||(["Enter","ArrowDown"," "].includes(t.key)&&(r.value=!0),["Escape","Tab"].includes(t.key)&&(r.value=!1))}function g(t){if(e.multiple){const e=v.value.findIndex((e=>e===t.value))
|
|
903
|
+
if(-1===e)c.value=[...c.value,t]
|
|
904
|
+
else{const t=[...c.value]
|
|
905
|
+
t.splice(e,1),c.value=t}}else c.value=[t],r.value=!1}return qe((()=>{const l=!(!e.chips&&!a.chip)
|
|
906
|
+
return t.createVNode(On,{ref:n,modelValue:c.value.map((e=>e.props.value)).join(", "),"onUpdate:modelValue":e=>{null==e&&(c.value=[])},validationValue:c.externalValue,dirty:c.value.length>0,class:["v-select",{"v-select--active-menu":r.value,"v-select--chips":!!e.chips,["v-select--"+(e.multiple?"multiple":"single")]:!0,"v-select--selected":c.value.length}],appendInnerIcon:e.menuIcon,readonly:!0,"onClick:clear":p,"onClick:control":f,onBlur:()=>r.value=!1,onKeydown:m},{...a,default:()=>{var n,s,u
|
|
907
|
+
return t.createVNode(t.Fragment,null,[t.createVNode(_n,t.mergeProps({modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,activator:"parent",contentClass:"v-select__content",eager:e.eager,openOnClick:!1,closeOnContentClick:!1,transition:e.transition},e.menuProps),{default:()=>[t.createVNode(Ho,{selected:v.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:e=>e.preventDefault()},{default:()=>[!i.value.length&&!e.hideNoData&&((null==(n=a["no-data"])?void 0:n.call(a))??t.createVNode(Lo,{title:o(e.noDataText)},null)),null==(s=a["prepend-item"])?void 0:s.call(a),i.value.map(((l,o)=>{var n
|
|
908
|
+
return(null==(n=a.item)?void 0:n.call(a,{item:l,index:o,props:t.mergeProps(l.props,{onClick:()=>g(l)})}))??t.createVNode(Lo,t.mergeProps({key:o},l.props,{onClick:()=>g(l)}),{prepend:l=>{let{isSelected:a}=l
|
|
909
|
+
return e.multiple&&!e.hideSelected?t.createVNode(io,{modelValue:a,ripple:!1},null):void 0}})})),null==(u=a["append-item"])?void 0:u.call(a)]})]}),d.value.map(((o,n)=>{const r={"onClick:close":function(e){e.stopPropagation(),e.preventDefault(),g(o)},modelValue:!0}
|
|
910
|
+
return t.createVNode("div",{key:n,class:"v-select__selection"},[l?t.createVNode(Ct,{defaults:{VChip:{closable:e.closableChips,size:"small",text:o.title}}},{default:()=>[a.chip?a.chip({item:o,index:n,props:r}):t.createVNode(fo,r,null)]}):a.selection?a.selection({item:o,index:n}):t.createVNode("span",{class:"v-select__selection-text"},[o.title,e.multiple&&n<d.value.length-1&&t.createVNode("span",{class:"v-select__selection-comma"},[t.createTextVNode(",")])])])}))])}})})),Cn({menu:r,select:g},n)}}),Fn=(e,t,l)=>null==e||null==t?-1:e.toString().toLocaleLowerCase().indexOf(t.toString().toLocaleLowerCase()),Dn=Xe({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter")
|
|
911
|
+
function jn(e,l,a){const o=t.computed((()=>"string"!=typeof(null==a?void 0:a.value)&&"number"!=typeof(null==a?void 0:a.value)?"":String(a.value)))
|
|
912
|
+
return{filteredItems:t.computed((()=>{const a=t.unref(l)
|
|
913
|
+
return function(e,t,l){const a=[],o=(null==l?void 0:l.default)??Fn,n=!(null==l||!l.filterKeys)&&k(l.filterKeys),r=Object.keys((null==l?void 0:l.customKeyFilter)??{}).length
|
|
914
|
+
if(null==e||!e.length)return a
|
|
915
|
+
e:for(let s=0;s<e.length;s++){const u=e[s],c={},d={}
|
|
916
|
+
let v=-1
|
|
917
|
+
if(t&&(null==l||!l.noFilter)){if("object"==typeof u){const e=n||Object.keys(u)
|
|
918
|
+
for(const a of e){var i
|
|
919
|
+
const e=f(u,a,u),n=null==l||null==(i=l.customKeyFilter)?void 0:i[a]
|
|
920
|
+
if(v=n?n(e,t,u):o(e,t,u),-1!==v&&!1!==v)n?c[a]=v:d[a]=v
|
|
921
|
+
else if("every"===(null==l?void 0:l.filterMode))continue e}}else v=o(u,t,u),-1!==v&&!1!==v&&(d.title=v)
|
|
922
|
+
const e=Object.keys(d).length,a=Object.keys(c).length
|
|
923
|
+
if(!e&&!a)continue
|
|
924
|
+
if("union"===(null==l?void 0:l.filterMode)&&a!==r&&!e)continue
|
|
925
|
+
if("intersection"===(null==l?void 0:l.filterMode)&&(a!==r||!e))continue}a.push({index:s,matches:{...d,...c}})}return a}(a,o.value,{customKeyFilter:e.customKeyFilter,default:e.customFilter,filterKeys:e.filterKeys,filterMode:e.filterMode,noFilter:e.noFilter}).map((e=>{let{index:t,matches:l}=e
|
|
926
|
+
return{item:a[t],matches:l}}))}))}}const Hn=Fe()({name:"VAutocomplete",props:{search:String,...Dn({filterKeys:["title"]}),...Mn(),...Jt({transition:!1})},emits:{"update:search":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,l){let{slots:a}=l
|
|
927
|
+
const{t:o}=Pa(),n=t.ref(),r=t.ref(!1),i=t.ref(!0),s=gl(e,"menu"),{items:u,transformIn:c,transformOut:d}=Fo(e),v=gl(e,"search",""),p=gl(e,"modelValue",[],(e=>c(k(e))),(t=>{const l=d(t)
|
|
928
|
+
return e.multiple?l:l[0]??null})),{filteredItems:f}=jn(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))))
|
|
929
|
+
function h(t){p.value=[],e.openOnClear&&(s.value=!0),v.value=""}function y(){e.hideNoData&&!u.value.length||e.readonly||(s.value=!0)}function b(t){e.readonly||(["Enter","ArrowDown"].includes(t.key)&&(s.value=!0),["Escape"].includes(t.key)&&(s.value=!1),["Enter","Escape","Tab"].includes(t.key)&&(i.value=!0))}function V(e){v.value=e.target.value}function S(){r.value&&(i.value=!0)}const w=t.ref(!1)
|
|
930
|
+
function x(l){if(e.multiple){const e=g.value.findIndex((e=>e===l.value))
|
|
931
|
+
if(-1===e)p.value=[...p.value,l],v.value=""
|
|
932
|
+
else{const t=[...p.value]
|
|
933
|
+
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
|
|
934
|
+
l?(w.value=!0,v.value=e.multiple?"":String((null==(a=m.value.at(-1))?void 0:a.props.title)??""),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)})),qe((()=>{const l=!(!e.chips&&!a.chip)
|
|
935
|
+
return t.createVNode(On,{ref:n,modelValue:v.value,"onUpdate:modelValue":e=>{null==e&&(p.value=[])},validationValue:p.externalValue,dirty:p.value.length>0,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,readonly:e.readonly,"onClick:clear":h,"onClick:control":y,"onClick:input":y,onFocus:()=>r.value=!0,onBlur:()=>r.value=!1,onKeydown:b},{...a,default:()=>{var n
|
|
936
|
+
return t.createVNode(t.Fragment,null,[t.createVNode(_n,t.mergeProps({modelValue:s.value,"onUpdate:modelValue":e=>s.value=e,activator:"parent",contentClass:"v-autocomplete__content",eager:e.eager,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:S},e.menuProps),{default:()=>[t.createVNode(Ho,{selected:g.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:e=>e.preventDefault()},{default:()=>[!f.value.length&&!e.hideNoData&&((null==(n=a["no-data"])?void 0:n.call(a))??t.createVNode(Lo,{title:o(e.noDataText)},null)),f.value.map(((l,o)=>{var n
|
|
937
|
+
let{item:r,matches:s}=l
|
|
938
|
+
return(null==(n=a.item)?void 0:n.call(a,{item:r,index:o,props:t.mergeProps(r.props,{onClick:()=>x(r)})}))??t.createVNode(Lo,t.mergeProps({key:o},r.props,{onClick:()=>x(r)}),{prepend:l=>{let{isSelected:a}=l
|
|
939
|
+
return e.multiple&&!e.hideSelected?t.createVNode(io,{modelValue:a,ripple:!1},null):void 0},title:()=>{var e
|
|
940
|
+
return i.value?r.title:function(e,l,a){if(Array.isArray(l))throw new Error("Multiple matches is not implemented")
|
|
941
|
+
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}(r.title,s.title,(null==(e=v.value)?void 0:e.length)??0)}})}))]})]}),m.value.map(((o,n)=>{const r={"onClick:close":function(e){e.stopPropagation(),e.preventDefault(),x(o)},modelValue:!0}
|
|
942
|
+
return t.createVNode("div",{key:n,class:"v-autocomplete__selection"},[l?t.createVNode(Ct,{defaults:{VChip:{closable:e.closableChips,size:"small",text:o.title}}},{default:()=>[a.chip?a.chip({item:o,index:n,props:r}):t.createVNode(fo,r,null)]}):a.selection?a.selection({item:o,index:n}):t.createVNode("span",{class:"v-autocomplete__selection-text"},[o.title,e.multiple&&n<m.value.length-1&&t.createVNode("span",{class:"v-autocomplete__selection-comma"},[t.createTextVNode(",")])])])}))])}})})),Cn({isFocused:r,isPristine:i,menu:s,search:v,filteredItems:f,select:x},n)}}),Wn=ze({name:"VBadge",inheritAttrs:!1,props:{bordered:Boolean,color:String,content:[Number,String],dot:Boolean,floating:Boolean,icon:Tl,inline:Boolean,label:{type:String,default:"$vuetify.badge"},max:[Number,String],modelValue:{type:Boolean,default:!0},offsetX:[Number,String],offsetY:[Number,String],textColor:String,...Va({location:"top end"}),...il(),...tl(),...dt(),...Jt({transition:"scale-rotate-transition"})},setup(e,l){const{backgroundColorClasses:a,backgroundColorStyles:o}=dl(t.toRef(e,"color")),{roundedClasses:n}=sl(e),{t:r}=Pa(),{textColorClasses:i,textColorStyles:s}=cl(t.toRef(e,"textColor")),{themeClasses:u}=mt(),{locationStyles:c}=Sa(e,!0,(t=>(e.floating?e.dot?2:4:e.dot?8:12)+(["top","bottom"].includes(t)?+(e.offsetY??0):["left","right"].includes(t)?+(e.offsetX??0):0)))
|
|
943
|
+
return qe((()=>{var d,v,p,f
|
|
944
|
+
const m=Number(e.content),g=!e.max||isNaN(m)?e.content:m<=e.max?m:`${e.max}+`,[h,y]=S(l.attrs,["aria-atomic","aria-label","aria-live","role","title"])
|
|
945
|
+
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}]},y),{default:()=>[t.createVNode("div",{class:"v-badge__wrapper"},[null==(d=(v=l.slots).default)?void 0:d.call(v),t.createVNode(Qt,{transition:e.transition},{default:()=>[t.withDirectives(t.createVNode("span",t.mergeProps({class:["v-badge__badge",u.value,a.value,n.value,i.value],style:[o.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(ql,{icon:e.icon},null):g]),[[t.vShow,e.modelValue]])]})])]})})),{}}}),Un=ze({name:"VBannerActions",props:{color:String,density:String},setup(e,l){let{slots:a}=l
|
|
946
|
+
return Oe({VBtn:{color:e.color,density:e.density,variant:"text"}}),qe((()=>{var e
|
|
947
|
+
return t.createVNode("div",{class:"v-banner-actions"},[null==(e=a.default)?void 0:e.call(a)])})),{}}}),Yn=De("v-banner-text"),Xn=Symbol.for("vuetify:display"),qn={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}}
|
|
948
|
+
function Gn(e){return l&&!e?window.innerWidth:0}function Kn(e){return l&&!e?window.innerHeight:0}function Zn(e,a){const{thresholds:n,mobileBreakpoint:r}=function(){return _(qn,arguments.length>0&&void 0!==arguments[0]?arguments[0]:qn)}(e),i=t.ref(Kn(a)),s=function(){const e=l?window.navigator.userAgent:"ssr"
|
|
949
|
+
function t(t){return Boolean(e.match(t))}const a=t(/android/i),n=t(/iphone|ipad|ipod/i),r=t(/cordova/i),i=t(/electron/i),s=t(/chrome/i),u=t(/edge/i),c=t(/firefox/i),d=t(/opera/i),v=t(/win/i),p=t(/mac/i),f=t(/linux/i),m=t(/ssr/i)
|
|
950
|
+
return{android:a,ios:n,cordova:r,electron:i,chrome:s,edge:u,firefox:c,opera:d,win:v,mac:p,linux:f,touch:o,ssr:m}}(),u=t.reactive({}),c=t.ref(Gn(a))
|
|
951
|
+
function d(){i.value=Kn(),c.value=Gn()}return a&&l&&requestAnimationFrame((()=>d())),t.watchEffect((()=>{const e=c.value<n.sm,t=c.value<n.md&&!e,l=c.value<n.lg&&!(t||e),a=c.value<n.xl&&!(l||t||e),o=c.value<n.xxl&&!(a||l||t||e),d=c.value>=n.xxl,v=e?"xs":t?"sm":l?"md":a?"lg":o?"xl":"xxl",p="number"==typeof r?r:n[r],f=s.ssr?s.android||s.ios||s.opera:c.value<p
|
|
952
|
+
u.xs=e,u.sm=t,u.md=l,u.lg=a,u.xl=o,u.xxl=d,u.smAndUp=!e,u.mdAndUp=!(e||t),u.lgAndUp=!(e||t||l),u.xlAndUp=!(e||t||l||a),u.smAndDown=!(l||a||o||d),u.mdAndDown=!(a||o||d),u.lgAndDown=!(o||d),u.xlAndDown=!d,u.name=v,u.height=i.value,u.width=c.value,u.mobile=f,u.mobileBreakpoint=r,u.platform=s,u.thresholds=n})),l&&window.addEventListener("resize",d,{passive:!0}),t.toRefs(u)}function Jn(){const e=t.inject(Xn)
|
|
824
953
|
if(!e)throw new Error("Could not find Vuetify display injection")
|
|
825
|
-
return e}const
|
|
826
|
-
const{
|
|
827
|
-
|
|
828
|
-
const
|
|
829
|
-
return t.createVNode(e.tag,{class:["v-banner",{"v-banner--
|
|
830
|
-
const{themeClasses:
|
|
831
|
-
return
|
|
832
|
-
const
|
|
833
|
-
return
|
|
834
|
-
return
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
return t.
|
|
839
|
-
|
|
840
|
-
return
|
|
841
|
-
return
|
|
842
|
-
return
|
|
843
|
-
|
|
844
|
-
return()
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
954
|
+
return e}const Qn=ze({name:"VBanner",props:{avatar:String,color:String,icon:Tl,lines:String,stacked:Boolean,sticky:Boolean,text:String,...al(),...bl(),...Xt(),...nl(),...Va(),...ka(),...il(),...tl(),...dt()},setup(e,l){let{slots:a}=l
|
|
955
|
+
const{borderClasses:o}=ol(e),{densityClasses:n}=Vl(e),{mobile:r}=Jn(),{dimensionStyles:i}=qt(e),{elevationClasses:s}=rl(e),{locationStyles:u}=Sa(e),{positionClasses:c}=xa(e),{roundedClasses:d}=sl(e),{themeClasses:v}=ft(e),p=t.toRef(e,"color"),f=t.toRef(e,"density")
|
|
956
|
+
Oe({VBannerActions:{color:p,density:f}}),qe((()=>{var l
|
|
957
|
+
const m=!(!e.text&&!a.text),g=!!(a.prepend||e.avatar||e.icon)
|
|
958
|
+
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},o.value,n.value,s.value,c.value,d.value,v.value],style:[i.value,u.value],role:"banner"},{default:()=>[g&&t.createVNode(Ct,{key:"prepend",defaults:{VAvatar:{color:p.value,density:f.value,icon:e.icon,image:e.avatar}}},{default:()=>[t.createVNode("div",{class:"v-banner__prepend"},[a.prepend?a.prepend():(e.avatar||e.icon)&&t.createVNode(co,null,null)])]}),t.createVNode("div",{class:"v-banner__content"},[m&&t.createVNode(Yn,{key:"text"},{default:()=>[a.text?a.text():e.text]}),null==(l=a.default)?void 0:l.call(a)]),a.actions&&t.createVNode(Un,null,{default:()=>[a.actions()]})]})}))}}),er=ze({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},...al(),...bl(),...nl(),...il(),...Je({name:"bottom-navigation"}),...tl({tag:"header"}),...Nl({modelValue:!0,selectedClass:"v-btn--selected"}),...dt()},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
959
|
+
const{themeClasses:o}=mt(),{borderClasses:n}=ol(e),{backgroundColorClasses:r,backgroundColorStyles:i}=dl(t.toRef(e,"bgColor")),{densityClasses:s}=Vl(e),{elevationClasses:u}=rl(e),{roundedClasses:c}=sl(e),d=t.computed((()=>Number(e.height)-("comfortable"===e.density?8:0)-("compact"===e.density?16:0))),v=gl(e,"modelValue",e.modelValue),{layoutItemStyles:p}=et({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")})
|
|
960
|
+
return Il(e,Al),Oe({VBtn:{color:t.toRef(e,"color"),density:t.toRef(e,"density"),stacked:t.computed((()=>"horizontal"!==e.mode)),variant:"text"}},{scoped:!0}),qe((()=>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},o.value,r.value,n.value,s.value,u.value,c.value],style:[i.value,p.value,{height:g(d.value),transform:`translateY(${g(v.value?0:100,"%")})`}]},{default:()=>[a.default&&t.createVNode("div",{class:"v-bottom-navigation__content"},[a.default()])]}))),{}}}),tr=De("v-breadcrumbs-divider","li"),lr=ze({name:"VBreadcrumbsItem",props:{active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,..._a(),...tl({tag:"li"})},setup(e,l){let{slots:a,attrs:o}=l
|
|
961
|
+
const n=Na(e,o),r=t.computed((()=>{var t
|
|
962
|
+
return e.active||(null==(t=n.isActive)?void 0:t.value)})),i=t.computed((()=>r.value?e.activeColor:e.color)),{textColorClasses:s,textColorStyles:u}=cl(i)
|
|
963
|
+
return qe((()=>{var l
|
|
964
|
+
const o=n.isLink.value?"a":e.tag
|
|
965
|
+
return t.createVNode(o,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":r.value,"v-breadcrumbs-item--disabled":e.disabled,"v-breadcrumbs-item--link":n.isLink.value,[`${e.activeClass}`]:r.value&&e.activeClass},s.value],style:[u.value],href:n.href.value,"aria-current":r.value?"page":void 0,onClick:n.navigate},{default:()=>[(null==(l=a.default)?void 0:l.call(a))??e.title]})})),{}}}),ar=Fe()({name:"VBreadcrumbs",props:{activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:Tl,items:{type:Array,default:()=>[]},...bl(),...il(),...tl({tag:"ul"})},setup(e,l){let{slots:a}=l
|
|
966
|
+
const{backgroundColorClasses:o,backgroundColorStyles:n}=dl(t.toRef(e,"bgColor")),{densityClasses:r}=Vl(e),{roundedClasses:i}=sl(e)
|
|
967
|
+
return Oe({VBreadcrumbsItem:{activeClass:t.toRef(e,"activeClass"),activeColor:t.toRef(e,"activeColor"),color:t.toRef(e,"color"),disabled:t.toRef(e,"disabled")}}),qe((()=>{var l
|
|
968
|
+
const s=!(!a.prepend&&!e.icon)
|
|
969
|
+
return t.createVNode(e.tag,{class:["v-breadcrumbs",o.value,r.value,i.value],style:n.value},{default:()=>[s&&t.createVNode(Ct,{key:"prepend",defaults:{VIcon:{icon:e.icon,start:!0}}},{default:()=>[t.createVNode("div",{class:"v-breadcrumbs__prepend"},[a.prepend?a.prepend():e.icon&&t.createVNode(ql,null,null)])]}),e.items.map(((l,o,n)=>{var r
|
|
970
|
+
return t.createVNode(t.Fragment,null,[t.createVNode(lr,t.mergeProps({key:o,disabled:o>=n.length-1},"string"==typeof l?{title:l}:l),{default:a.title?()=>{var e
|
|
971
|
+
return null==(e=a.title)?void 0:e.call(a,{item:l,index:o})}:void 0}),o<n.length-1&&t.createVNode(tr,null,{default:()=>[(null==(r=a.divider)?void 0:r.call(a,{item:l,index:o}))??e.divider]})])})),null==(l=a.default)?void 0:l.call(a)]})})),{}}}),or=ze({name:"VCardActions",setup(e,l){let{slots:a}=l
|
|
972
|
+
return Oe({VBtn:{variant:"text"}}),qe((()=>{var e
|
|
973
|
+
return t.createVNode("div",{class:"v-card-actions"},[null==(e=a.default)?void 0:e.call(a)])})),{}}}),nr=De("v-card-subtitle"),rr=De("v-card-title"),ir=t.defineComponent({name:"VCardItem",props:{appendAvatar:String,appendIcon:Tl,prependAvatar:String,prependIcon:Tl,subtitle:String,title:String,...bl()},setup(e,l){let{slots:a}=l
|
|
974
|
+
return qe((()=>{var l,o,n,r,i
|
|
975
|
+
const s=!!(e.prependAvatar||e.prependIcon||a.prepend),u=!!(e.appendAvatar||e.appendIcon||a.append),c=!(!e.title&&!a.title),d=!(!e.subtitle&&!a.subtitle)
|
|
976
|
+
return t.createVNode("div",{class:"v-card-item"},[s&&t.createVNode(Ct,{key:"prepend",defaults:{VAvatar:{density:e.density,icon:e.prependIcon,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon}}},{default:()=>[t.createVNode("div",{class:"v-card-item__prepend"},[(null==(l=a.prepend)?void 0:l.call(a))??t.createVNode(co,null,null)])]}),t.createVNode("div",{class:"v-card-item__content"},[c&&t.createVNode(rr,{key:"title"},{default:()=>[(null==(o=a.title)?void 0:o.call(a))??e.title]}),d&&t.createVNode(nr,{key:"subtitle"},{default:()=>[(null==(n=a.subtitle)?void 0:n.call(a))??e.subtitle]}),null==(r=a.default)?void 0:r.call(a)]),u&&t.createVNode(Ct,{key:"append",defaults:{VAvatar:{density:e.density,icon:e.appendIcon,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon}}},{default:()=>[t.createVNode("div",{class:"v-card-item__append"},[(null==(i=a.append)?void 0:i.call(a))??t.createVNode(co,null,null)])]})])})),{}}}),sr=De("v-card-text"),ur=ze({name:"VCard",directives:{Ripple:fa},props:{appendAvatar:String,appendIcon:Tl,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:Tl,ripple:Boolean,subtitle:String,text:String,title:String,...dt(),...al(),...bl(),...Xt(),...nl(),...ga(),...Va(),...ka(),...il(),..._a(),...tl(),...kl({variant:"elevated"})},setup(e,l){let{attrs:a,slots:o}=l
|
|
977
|
+
const{themeClasses:n}=ft(e),{borderClasses:r}=ol(e),{colorClasses:i,colorStyles:s,variantClasses:u}=xl(e),{densityClasses:c}=Vl(e),{dimensionStyles:d}=qt(e),{elevationClasses:v}=rl(e),{loaderClasses:p}=ha(e),{locationStyles:f}=Sa(e),{positionClasses:m}=xa(e),{roundedClasses:g}=sl(e),h=Na(e,a),y=t.computed((()=>!1!==e.link&&h.isLink.value)),b=t.computed((()=>!e.disabled&&!1!==e.link&&(e.link||h.isClickable.value)))
|
|
978
|
+
return qe((()=>{var l,a,V
|
|
979
|
+
const S=y.value?"a":e.tag,w=!(!o.title&&!e.title),k=!(!o.subtitle&&!e.subtitle),x=w||k,C=!!(o.append||e.appendAvatar||e.appendIcon),N=!!(o.prepend||e.prependAvatar||e.prependIcon),_=!(!o.image&&!e.image),B=x||N||C,I=!(!o.text&&!e.text)
|
|
980
|
+
return t.withDirectives(t.createVNode(S,{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.value},n.value,r.value,i.value,c.value,v.value,p.value,m.value,g.value,u.value],style:[s.value,d.value,f.value],href:h.href.value,onClick:b.value&&h.navigate},{default:()=>[_&&t.createVNode(Ct,{key:"image",defaults:{VImg:{cover:!0,src:e.image}}},{default:()=>[t.createVNode("div",{class:"v-card__image"},[(null==(l=o.image)?void 0:l.call(o))??t.createVNode(el,null,null)])]}),t.createVNode(ya,{name:"v-card",active:!!e.loading,color:"boolean"==typeof e.loading?void 0:e.loading},{default:o.loader}),B&&t.createVNode(ir,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:o.item,prepend:o.prepend,title:o.title,subtitle:o.subtitle,append:o.append}),I&&t.createVNode(sr,{key:"text"},{default:()=>[(null==(a=o.text)?void 0:a.call(o))??e.text]}),null==(V=o.default)?void 0:V.call(o),o.actions&&t.createVNode(or,null,{default:o.actions}),wl(b.value,"v-card")]}),[[t.resolveDirective("ripple"),b.value]])})),{}}})
|
|
981
|
+
function cr(e,t){var l
|
|
848
982
|
const a=e.changedTouches[0]
|
|
849
|
-
t.touchstartX=a.clientX,t.touchstartY=a.clientY,null==(l=t.start)||l.call(t,{originalEvent:e,...t})}function
|
|
983
|
+
t.touchstartX=a.clientX,t.touchstartY=a.clientY,null==(l=t.start)||l.call(t,{originalEvent:e,...t})}function dr(e,t){var l
|
|
850
984
|
const a=e.changedTouches[0]
|
|
851
|
-
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:
|
|
852
|
-
e.offsetX=l-t,e.offsetY=
|
|
985
|
+
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:o}=e
|
|
986
|
+
e.offsetX=l-t,e.offsetY=o-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&&o<a-16&&e.up(e),e.down&&o>a+16&&e.down(e))})(t)}function vr(e,t){var l
|
|
853
987
|
const a=e.changedTouches[0]
|
|
854
|
-
t.touchmoveX=a.clientX,t.touchmoveY=a.clientY,null==(l=t.move)||l.call(t,{originalEvent:e,...t})}const
|
|
855
|
-
const
|
|
856
|
-
if(!r
|
|
857
|
-
const
|
|
988
|
+
t.touchmoveX=a.clientX,t.touchmoveY=a.clientY,null==(l=t.move)||l.call(t,{originalEvent:e,...t})}const pr={mounted:function(e,t){var l
|
|
989
|
+
const a=t.value,o=null!=a&&a.parent?e.parentElement:e,n=(null==a?void 0:a.options)??{passive:!0},r=null==(l=t.instance)?void 0:l.$.uid
|
|
990
|
+
if(!o||!r)return
|
|
991
|
+
const i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|
858
992
|
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}
|
|
859
|
-
return{touchstart:e=>
|
|
860
|
-
|
|
861
|
-
const
|
|
862
|
-
if(null==
|
|
863
|
-
const r=
|
|
864
|
-
|
|
865
|
-
const{themeClasses:
|
|
993
|
+
return{touchstart:e=>cr(e,t),touchend:e=>dr(e,t),touchmove:e=>vr(e,t)}}(t.value)
|
|
994
|
+
o._touchHandlers=o._touchHandlers??Object.create(null),o._touchHandlers[r]=i,V(i).forEach((e=>{o.addEventListener(e,i[e],n)}))},unmounted:function(e,t){var l,a
|
|
995
|
+
const o=null!=(l=t.value)&&l.parent?e.parentElement:e,n=null==(a=t.instance)?void 0:a.$.uid
|
|
996
|
+
if(null==o||!o._touchHandlers||!n)return
|
|
997
|
+
const r=o._touchHandlers[n]
|
|
998
|
+
V(r).forEach((e=>{o.removeEventListener(e,r[e])})),delete o._touchHandlers[n]}},fr=Symbol.for("vuetify:v-window"),mr=Symbol.for("vuetify:v-window-group"),gr=Fe()({name:"VWindow",directives:{Touch:pr},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"},...tl(),...dt()},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
999
|
+
const{themeClasses:o}=ft(e),{isRtl:n}=kt(),{t:r}=Pa(),i=Il(e,mr),s=t.ref(),u=t.computed((()=>n.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)))))
|
|
866
1000
|
t.watch(f,((e,t)=>{const l=i.items.value.length,a=l-1
|
|
867
|
-
c.value=l<=2?e<t:e===a&&0===t||(0!==e||t!==a)&&e<t})),t.provide(
|
|
1001
|
+
c.value=l<=2?e<t:e===a&&0===t||(0!==e||t!==a)&&e<t})),t.provide(fr,{transition:d,isReversed:c,transitionCount:v,transitionHeight:p,rootRef:s})
|
|
868
1002
|
const m=t.computed((()=>e.continuous||0!==f.value)),g=t.computed((()=>e.continuous||f.value!==i.items.value.length-1))
|
|
869
|
-
function h(){m.value&&i.prev()}function
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
return
|
|
874
|
-
return{...{left:()=>{u.value?h():b()},right:()=>{u.value?b():h()},end:e=>{let{originalEvent:t}=e
|
|
875
|
-
t.stopPropagation()},start:e=>{let{originalEvent:t}=e
|
|
1003
|
+
function h(){m.value&&i.prev()}function y(){g.value&&i.next()}const b=t.computed((()=>{const l=[],o={icon:n.value?e.nextIcon:e.prevIcon,class:"v-window__"+(u.value?"right":"left"),onClick:i.prev,ariaLabel:r("$vuetify.carousel.prev")}
|
|
1004
|
+
l.push(m.value?a.prev?a.prev({props:o}):t.createVNode(Ia,o,null):t.createVNode("div",null,null))
|
|
1005
|
+
const s={icon:n.value?e.prevIcon:e.nextIcon,class:"v-window__"+(u.value?"left":"right"),onClick:i.next,ariaLabel:r("$vuetify.carousel.next")}
|
|
1006
|
+
return l.push(g.value?a.next?a.next({props:s}):t.createVNode(Ia,s,null):t.createVNode("div",null,null)),l})),V=t.computed((()=>{if(!1===e.touch)return e.touch
|
|
1007
|
+
return{...{left:()=>{u.value?h():y()},right:()=>{u.value?y():h()},start:e=>{let{originalEvent:t}=e
|
|
876
1008
|
t.stopPropagation()}},...!0===e.touch?{}:e.touch}}))
|
|
877
|
-
return
|
|
878
|
-
return t.withDirectives(t.createVNode(e.tag,{ref:s,class:["v-window",{"v-window--show-arrows-on-hover":"hover"===e.showArrows},
|
|
879
|
-
const
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
if(
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
1009
|
+
return qe((()=>{var l,n
|
|
1010
|
+
return t.withDirectives(t.createVNode(e.tag,{ref:s,class:["v-window",{"v-window--show-arrows-on-hover":"hover"===e.showArrows},o.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"},[b.value])]),null==(n=a.additional)?void 0:n.call(a,{group:i})]}),[[t.resolveDirective("touch"),V.value]])})),{group:i}}})
|
|
1011
|
+
function hr(){const e=t.ref(!1)
|
|
1012
|
+
t.onMounted((()=>{window.requestAnimationFrame((()=>{e.value=!0}))}))
|
|
1013
|
+
return{ssrBootStyles:t.computed((()=>e.value?void 0:{transition:"none !important"})),isBooted:t.readonly(e)}}const yr=ze({name:"VWindowItem",directives:{Touch:pr},props:{reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},..._l(),...Jo()},emits:{"group:selected":e=>!0},setup(e,l){let{slots:a}=l
|
|
1014
|
+
const o=t.inject(fr),n=Bl(e,mr),{isBooted:r}=hr()
|
|
1015
|
+
if(!o||!n)throw new Error("[Vuetify] VWindowItem must be used inside VWindow")
|
|
1016
|
+
const i=t.ref(!1),s=t.computed((()=>o.isReversed.value?!1!==e.reverseTransition:!1!==e.transition))
|
|
1017
|
+
function u(){i.value&&o&&(i.value=!1,o.transitionCount.value>0&&(o.transitionCount.value-=1,0===o.transitionCount.value&&(o.transitionHeight.value=void 0)))}function c(){if(!i.value&&o){var e
|
|
1018
|
+
if(i.value=!0,0===o.transitionCount.value)o.transitionHeight.value=g(null==(e=o.rootRef.value)?void 0:e.clientHeight)
|
|
1019
|
+
o.transitionCount.value+=1}}function d(){u()}function v(e){i.value&&t.nextTick((()=>{s.value&&i.value&&o&&(o.transitionHeight.value=g(e.clientHeight))}))}const p=t.computed((()=>{const t=o.isReversed.value?e.reverseTransition:e.transition
|
|
1020
|
+
return!!s.value&&{name:"string"!=typeof t?o.transition.value:t,onBeforeEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:c,onAfterLeave:u,onLeaveCancelled:d,onEnter:v}})),{hasContent:f}=Qo(e,n.isSelected)
|
|
1021
|
+
return qe((()=>{var e
|
|
1022
|
+
return t.createVNode(Qt,{transition:r.value&&p.value},{default:()=>[t.withDirectives(t.createVNode("div",{class:["v-window-item",n.selectedClass.value]},[f.value&&(null==(e=a.default)?void 0:e.call(a))]),[[t.vShow,n.isSelected.value]])]})})),{}}}),br=ze({name:"VCarousel",props:{color:String,cycle:Boolean,delimiterIcon:{type:Tl,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
|
|
1023
|
+
const o=gl(e,"modelValue"),{t:n}=Pa(),r=t.ref()
|
|
888
1024
|
let i=-1
|
|
889
|
-
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(
|
|
890
|
-
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(
|
|
891
|
-
return a.item?a.item({props:
|
|
892
|
-
|
|
893
|
-
const
|
|
894
|
-
return
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
return
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
function
|
|
914
|
-
|
|
915
|
-
|
|
1025
|
+
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)}return t.watch(o,u),t.watch((()=>e.interval),u),t.watch((()=>e.cycle),(e=>{e?u():window.clearTimeout(i)})),t.onMounted(s),qe((()=>t.createVNode(gr,{ref:r,modelValue:o.value,"onUpdate:modelValue":e=>o.value=e,class:["v-carousel",{"v-carousel--hide-delimiter-background":e.hideDelimiterBackground,"v-carousel--vertical-delimiters":e.verticalDelimiters}],style:{height:g(e.height)},continuous:!0,mandatory:"force",showArrows:e.showArrows},{default:a.default,additional:l=>{let{group:r}=l
|
|
1026
|
+
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(Ct,{defaults:{VBtn:{color:e.color,icon:e.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[r.items.value.map(((e,l)=>{const o={"aria-label":n("$vuetify.carousel.ariaLabel.delimiter",l+1,r.items.value.length),class:[r.isSelected(e.id)&&"v-btn--active"],onClick:()=>r.select(e.id,!0)}
|
|
1027
|
+
return a.item?a.item({props:o,item:e}):t.createVNode(Ia,t.mergeProps(e,o),null)}))]})]),e.progress&&t.createVNode(ma,{class:"v-carousel__progress",color:"string"==typeof e.progress?e.progress:void 0,modelValue:(r.getItemIndex(o.value)+1)/r.items.value.length*100},null)])},prev:a.prev,next:a.next}))),{}}}),Vr=ze({name:"VCarouselItem",inheritAttrs:!1,props:{value:null},setup(e,l){let{slots:a,attrs:o}=l
|
|
1028
|
+
qe((()=>t.createVNode(yr,{class:"v-carousel-item",value:e.value},{default:()=>[t.createVNode(el,o,a)]})))}}),Sr=De("v-code"),wr=ze({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
|
|
1029
|
+
const o=t.ref(!1),n=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
|
|
1030
|
+
return{width:g(e.dotSize),height:g(e.dotSize),transform:`translate(${g(t-a)}, ${g(l-a)})`}})),s=t.ref()
|
|
1031
|
+
function u(e,t,l){const{left:a,top:o,width:n,height:i}=l
|
|
1032
|
+
r.value={x:x(e-a,0,n),y:x(t-o,0,i)}}function c(t){!e.disabled&&s.value&&u(t.clientX,t.clientY,s.value.getBoundingClientRect())}function d(t){t.preventDefault(),e.disabled||(o.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
|
|
1033
|
+
o.value=!0
|
|
1034
|
+
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)
|
|
1035
|
+
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
|
|
1036
|
+
if(!s.value)return
|
|
1037
|
+
const l=s.value,a=l.getContext("2d")
|
|
1038
|
+
if(!a)return
|
|
1039
|
+
const o=a.createLinearGradient(0,0,l.width,0)
|
|
1040
|
+
o.addColorStop(0,"hsla(0, 0%, 100%, 1)"),o.addColorStop(1,`hsla(${(null==(t=e.color)?void 0:t.h)??0}, 100%, 50%, 1)`),a.fillStyle=o,a.fillRect(0,0,l.width,l.height)
|
|
1041
|
+
const n=a.createLinearGradient(0,0,0,l.height)
|
|
1042
|
+
n.addColorStop(0,"hsla(0, 0%, 100%, 0)"),n.addColorStop(1,"hsla(0, 0%, 0%, 1)"),a.fillStyle=n,a.fillRect(0,0,l.width,l.height)}return t.watch(r,(()=>{var t,l
|
|
1043
|
+
if(n.value)return void(n.value=!1)
|
|
1044
|
+
if(!s.value)return
|
|
1045
|
+
const{width:o,height:i}=s.value.getBoundingClientRect(),{x:u,y:c}=r.value
|
|
1046
|
+
a("update:color",{h:(null==(t=e.color)?void 0:t.h)??0,s:x(u,0,o)/o,v:1-x(c,0,i)/i,a:(null==(l=e.color)?void 0:l.a)??1})})),t.watch((()=>{var t
|
|
1047
|
+
return null==(t=e.color)?void 0:t.h}),f,{immediate:!0}),t.watch((()=>e.color),(()=>{o.value?o.value=!1:e.color&&(n.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())),qe((()=>t.createVNode("div",{class:"v-color-picker-canvas",style:{width:g(e.width),height:g(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)]))),{}}})
|
|
1048
|
+
var kr
|
|
1049
|
+
function xr(e,t){return t.every((t=>e.hasOwnProperty(t)))}function Cr(e){if(!e)return null
|
|
1050
|
+
let t=null
|
|
1051
|
+
if("string"==typeof e){t=we(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?C(e,8,"F"):C(C(e,6),8,"F")}`.toUpperCase().substr(0,9)}(e))}return"object"==typeof e&&(xr(e,["r","g","b"])?t=ye(e):xr(e,["h","s","l"])?t=Ve(e):xr(e,["h","s","v"])&&(t=e)),null!=t?{...t,a:t.a??1}:null}const Nr={h:0,s:0,v:1,a:1},_r={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:he,from:ye},Br={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:be,from:Ve},Ir={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:e=>e,getColor:(e,t)=>t}],to:ke,from:we},$r={rgb:{..._r,inputs:null==(kr=_r.inputs)?void 0:kr.slice(0,3)},rgba:_r,hsl:{...Br,inputs:Br.inputs.slice(0,3)},hsla:Br,hex:{...Ir,inputs:[{label:"HEX",getValue:e=>e.slice(0,7),getColor:(e,t)=>t}]},hexa:Ir},Ar=e=>{let{label:l,...a}=e
|
|
1052
|
+
return t.createVNode("div",{class:"v-color-picker-edit__input"},[t.createVNode("input",a,null),t.createVNode("span",null,[l])])},Er=ze({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
|
|
1053
|
+
const o=t.computed((()=>e.modes.map((e=>({...$r[e],name:e}))))),n=t.computed((()=>{var t
|
|
1054
|
+
const l=o.value.find((t=>t.name===e.mode))
|
|
1055
|
+
if(!l)return[]
|
|
1056
|
+
const n=e.color?l.to(e.color):{}
|
|
1057
|
+
return null==(t=l.inputs)?void 0:t.map((t=>{let{getValue:o,getColor:r,...i}=t
|
|
1058
|
+
return{...l.inputProps,...i,disabled:e.disabled,value:o(n),onChange:e=>{const t=e.target
|
|
1059
|
+
t&&a("update:color",l.from(r(n,t.value)))}}}))}))
|
|
1060
|
+
return qe((()=>{var l
|
|
1061
|
+
return t.createVNode("div",{class:"v-color-picker-edit"},[null==(l=n.value)?void 0:l.map((e=>t.createVNode(Ar,e,null))),o.value.length>1&&t.createVNode(Ia,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const t=o.value.findIndex((t=>t.name===e.mode))
|
|
1062
|
+
a("update:mode",o.value[(t+1)%o.value.length].name)}},null)])})),{}}}),Rr=Symbol.for("vuetify:v-slider")
|
|
1063
|
+
function Lr(e,t,l){const a="vertical"===l,o=t.getBoundingClientRect(),n="touches"in e?e.touches[0]:e
|
|
1064
|
+
return a?n.clientY-(o.top+o.height/2):n.clientX-(o.left+o.width/2)}const Tr=Xe({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,...il(),...nl({elevation:2})},"slider"),Pr=e=>{let{props:l,handleSliderMouseUp:a,handleMouseMove:o,getActiveThumb:n}=e
|
|
1065
|
+
const{isRtl:r}=kt(),i=t.computed((()=>r.value!==l.reverse)),s=t.computed((()=>{let e=r.value?"rtl":"ltr"
|
|
916
1066
|
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()
|
|
917
|
-
return e.includes(".")?e.length-e.indexOf(".")-1:0})),p=t.computed((()=>parseInt(l.thumbSize,10))),f=t.computed((()=>parseInt(l.tickSize,10))),
|
|
918
|
-
return l.error||l.disabled?void 0:null!=(e=l.thumbColor)?e:l.color})),S=t.computed((()=>{var e
|
|
919
|
-
return l.error||l.disabled?void 0:null!=(e=l.trackColor)?e:l.color})),w=t.computed((()=>{var e
|
|
920
|
-
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(),_=t.ref()
|
|
1067
|
+
return e.includes(".")?e.length-e.indexOf(".")-1:0})),p=t.computed((()=>parseInt(l.thumbSize,10))),f=t.computed((()=>parseInt(l.tickSize,10))),g=t.computed((()=>parseInt(l.trackSize,10))),h=t.computed((()=>(c.value-u.value)/d.value)),y=t.toRef(l,"disabled"),b=t.computed((()=>"vertical"===l.direction)),V=t.computed((()=>l.error||l.disabled?void 0:l.thumbColor??l.color)),S=t.computed((()=>l.error||l.disabled?void 0:l.trackColor??l.color)),w=t.computed((()=>l.error||l.disabled?void 0:l.trackFillColor??l.color)),k=t.ref(!1),C=t.ref(0),N=t.ref(),_=t.ref()
|
|
921
1068
|
function B(e){if(d.value<=0)return e
|
|
922
|
-
const t=
|
|
923
|
-
return parseFloat(Math.min(a,c.value).toFixed(v.value))}function
|
|
924
|
-
const a="vertical"===l.direction,
|
|
1069
|
+
const t=x(e,u.value,c.value),l=u.value%d.value,a=Math.round((t-l)/d.value)*d.value+l
|
|
1070
|
+
return parseFloat(Math.min(a,c.value).toFixed(v.value))}function I(e){var t
|
|
1071
|
+
const a="vertical"===l.direction,o=a?"top":"left",n=a?"height":"width",r=a?"clientY":"clientX",{[o]:s,[n]:d}=null==(t=N.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)
|
|
925
1072
|
let p=Math.min(Math.max((v-s-C.value)/d,0),1)||0
|
|
926
|
-
return(a||i.value)&&(p=1-p),B(u.value+p*(c.value-u.value))}let
|
|
927
|
-
const
|
|
928
|
-
function
|
|
929
|
-
|
|
930
|
-
return{value:
|
|
931
|
-
return
|
|
932
|
-
return
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
const
|
|
936
|
-
|
|
1073
|
+
return(a||i.value)&&(p=1-p),B(u.value+p*(c.value-u.value))}let $=!1
|
|
1074
|
+
const A=e=>{$||(C.value=0,a(I(e))),k.value=!1,$=!1,C.value=0},E=e=>{_.value=n(e),_.value&&(_.value.focus(),k.value=!0,_.value.contains(e.target)?($=!0,C.value=Lr(e,_.value,l.direction)):(C.value=0,o(I(e))))},R={passive:!0,capture:!0}
|
|
1075
|
+
function L(e){$=!0,o(I(e))}function T(e){e.stopPropagation(),e.preventDefault(),A(e),window.removeEventListener("mousemove",L,R),window.removeEventListener("mouseup",T)}function P(e){var t
|
|
1076
|
+
A(e),window.removeEventListener("touchmove",L,R),null==(t=e.target)||t.removeEventListener("touchend",P)}const O=e=>{const t=(e-u.value)/(c.value-u.value)*100
|
|
1077
|
+
return x(isNaN(t)?0:t,0,100)},M=t.computed((()=>l.ticks?Array.isArray(l.ticks)?l.ticks.map((e=>({value:e,position:O(e),label:e.toString()}))):Object.keys(l.ticks).map((e=>({value:parseFloat(e),position:O(parseFloat(e)),label:l.ticks[e]}))):h.value!==1/0?m(h.value+1).map((e=>{const t=u.value+e*d.value
|
|
1078
|
+
return{value:t,position:O(t)}})):[])),z=t.computed((()=>M.value.some((e=>{let{label:t}=e
|
|
1079
|
+
return!!t})))),F={activeThumbRef:_,color:t.toRef(l,"color"),decimals:v,disabled:y,direction:t.toRef(l,"direction"),elevation:t.toRef(l,"elevation"),hasLabels:z,horizontalDirection:s,isReversed:i,min:u,max:c,mousePressed:k,numTicks:h,onSliderMousedown:function(e){e.preventDefault(),E(e),window.addEventListener("mousemove",L,R),window.addEventListener("mouseup",T,{passive:!1})},onSliderTouchstart:function(e){var t
|
|
1080
|
+
E(e),window.addEventListener("touchmove",L,R),null==(t=e.target)||t.addEventListener("touchend",P,{passive:!1})},parsedTicks:M,parseMouseMove:I,position:O,readonly:t.toRef(l,"readonly"),rounded:t.toRef(l,"rounded"),roundValue:B,showTicks:t.toRef(l,"showTicks"),startOffset:C,step:d,thumbSize:p,thumbColor:V,thumbLabel:t.toRef(l,"thumbLabel"),ticks:t.toRef(l,"ticks"),tickSize:f,trackColor:S,trackContainerRef:N,trackFillColor:w,trackSize:g,vertical:b}
|
|
1081
|
+
return t.provide(Rr,F),F},Or=ze({name:"VSliderThumb",directives:{Ripple:fa},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:o}=l
|
|
1082
|
+
const n=t.inject(Rr)
|
|
1083
|
+
if(!n)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider")
|
|
1084
|
+
const{thumbColor:r,step:i,vertical:s,disabled:u,thumbSize:c,thumbLabel:d,direction:v,readonly:p,elevation:f,isReversed:m,horizontalDirection:h,mousePressed:y,decimals:V}=n,{textColorClasses:S,textColorStyles:w}=cl(r),{pageup:k,pagedown:x,end:C,home:N,left:_,right:B,down:I,up:$}=b,A=[k,x,C,N,_,B,I,$],E=t.computed((()=>i.value?[1,2,3]:[1,5,10]))
|
|
1085
|
+
function R(t){const l=function(t,l){if(!A.includes(t.key))return
|
|
937
1086
|
t.preventDefault()
|
|
938
|
-
const a=i.value||.1,
|
|
939
|
-
if([_,B
|
|
940
|
-
l+=e*a*
|
|
1087
|
+
const a=i.value||.1,o=(e.max-e.min)/a
|
|
1088
|
+
if([_,B,I,$].includes(t.key)){const e=(m.value?[_,$]:[B,$]).includes(t.key)?1:-1,o=t.shiftKey?2:t.ctrlKey?1:0
|
|
1089
|
+
l+=e*a*E.value[o]}else t.key===N?l=e.min:t.key===C?l=e.max:l-=(t.key===x?1:-1)*a*(o>100?o/10:10)
|
|
941
1090
|
return Math.max(e.min,Math.min(e.max,l))}(t,e.modelValue)
|
|
942
|
-
null!=l&&
|
|
943
|
-
const o=
|
|
944
|
-
return t.createVNode("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&
|
|
945
|
-
const
|
|
946
|
-
if(!
|
|
947
|
-
const{
|
|
948
|
-
const
|
|
949
|
-
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:{[
|
|
950
|
-
return()=>t.createVNode("div",{class:["v-slider-track",
|
|
951
|
-
const o=t.ref(),{min:
|
|
952
|
-
return null==(e=o.value)?void 0:e.$el}}),
|
|
953
|
-
return
|
|
954
|
-
return()=>{const[l,
|
|
955
|
-
return t.createVNode(
|
|
956
|
-
return t.createVNode(
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
return()
|
|
963
|
-
return t.createVNode("div",{class:
|
|
964
|
-
return
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
return{
|
|
968
|
-
function u(e,t,l){const{left:a,top:n,width:o,height:i}=l
|
|
969
|
-
r.value={x:N(e-a,0,o),y:N(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
|
|
970
|
-
n.value=!0
|
|
971
|
-
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)
|
|
972
|
-
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
|
|
973
|
-
if(!s.value)return
|
|
974
|
-
const a=s.value,n=a.getContext("2d")
|
|
975
|
-
if(!n)return
|
|
976
|
-
const o=n.createLinearGradient(0,0,a.width,0)
|
|
977
|
-
o.addColorStop(0,"hsla(0, 0%, 100%, 1)"),o.addColorStop(1,`hsla(${null!=(t=null==(l=e.color)?void 0:l.h)?t:0}, 100%, 50%, 1)`),n.fillStyle=o,n.fillRect(0,0,a.width,a.height)
|
|
978
|
-
const r=n.createLinearGradient(0,0,0,a.height)
|
|
979
|
-
r.addColorStop(0,"hsla(0, 0%, 100%, 0)"),r.addColorStop(1,"hsla(0, 0%, 0%, 1)"),n.fillStyle=r,n.fillRect(0,0,a.width,a.height)}return t.watch(r,(()=>{var t,l,n,i
|
|
980
|
-
if(o.value)return void(o.value=!1)
|
|
981
|
-
if(!s.value)return
|
|
982
|
-
const{width:u,height:c}=s.value.getBoundingClientRect(),{x:d,y:v}=r.value
|
|
983
|
-
a("update:color",{h:null!=(t=null==(l=e.color)?void 0:l.h)?t:0,s:N(d,0,u)/u,v:1-N(v,0,c)/c,a:null!=(n=null==(i=e.color)?void 0:i.a)?n:1})})),t.watch((()=>{var t
|
|
984
|
-
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:b(e.width),height:b(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)])}}),or=e=>{let{label:l,...a}=e
|
|
985
|
-
return t.createVNode("div",{class:"v-color-picker-edit__input"},[t.createVNode("input",a,null),t.createVNode("span",null,[l])])},rr=fe({name:"VColorPickerEdit",props:{color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(lr).includes(e)},modes:{type:Array,default:()=>Object.keys(lr),validator:e=>Array.isArray(e)&&e.every((e=>Object.keys(lr).includes(e)))}},emits:{"update:color":e=>!0,"update:mode":e=>!0},setup(e,l){let{emit:a}=l
|
|
986
|
-
const n=t.computed((()=>e.modes.map((e=>({...lr[e],name:e}))))),o=t.computed((()=>{var t
|
|
987
|
-
const l=n.value.find((t=>t.name===e.mode))
|
|
988
|
-
if(!l)return[]
|
|
989
|
-
const o=e.color?l.to(e.color):{}
|
|
990
|
-
return null==(t=l.inputs)?void 0:t.map((t=>{let{getValue:n,getColor:r,...i}=t
|
|
991
|
-
return{...l.inputProps,...i,disabled:e.disabled,value:n(o),onChange:e=>{const t=e.target
|
|
992
|
-
t&&a("update:color",l.from(r(o,t.value)))}}}))}))
|
|
993
|
-
return()=>{var l
|
|
994
|
-
return t.createVNode("div",{class:"v-color-picker-edit"},[null==(l=o.value)?void 0:l.map((e=>t.createVNode(or,e,null))),n.value.length>1&&t.createVNode(_l,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const t=n.value.findIndex((t=>t.name===e.mode))
|
|
995
|
-
a("update:mode",n.value[(t+1)%n.value.length].name)}},null)])}}}),ir=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"}),sr=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"}),ur=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"}),cr=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"}),dr=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"}),vr=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"}),fr=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"}),mr=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"}),gr=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"}),hr=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"}),br=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"}),yr=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"}),Vr=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"}),Sr=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"}),wr=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"}),xr=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),Cr=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"}),Nr=Object.freeze({black:"#000000",white:"#ffffff",transparent:"transparent"})
|
|
996
|
-
var _r=Object.freeze({red:ir,pink:sr,purple:ur,deepPurple:cr,indigo:dr,blue:vr,lightBlue:pr,cyan:fr,teal:mr,green:gr,lightGreen:hr,lime:br,yellow:yr,amber:Vr,orange:Sr,deepOrange:wr,brown:xr,blueGrey:Cr,grey:kr,shades:Nr})
|
|
997
|
-
const Br=fe({name:"VColorPickerSwatches",props:{swatches:{type:Array,default:()=>function(e){return Object.keys(e).map((t=>{const l=e[t]
|
|
998
|
-
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]}))}(_r)},disabled:Boolean,color:Object,maxHeight:[Number,String]},emits:{"update:color":e=>!0},setup(e,l){let{emit:a}=l
|
|
999
|
-
return()=>t.createVNode("div",{class:"v-color-picker-swatches",style:{maxHeight:b(e.maxHeight)}},[t.createVNode("div",null,[e.swatches.map((l=>t.createVNode("div",{class:"v-color-picker-swatches__swatch"},[l.map((l=>{const n=Zo(l)
|
|
1000
|
-
return t.createVNode("div",{class:"v-color-picker-swatches__color",onClick:()=>n&&a("update:color",n)},[t.createVNode("div",{style:{background:l}},[e.color&&f(e.color,n)?t.createVNode(al,{size:"x-small",icon:"$success",color:se(l,"#FFFFFF")>2?"white":"black"},null):void 0])])}))])))])])}}),$r=fe({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(lr).includes(e)},modes:{type:Array,default:()=>Object.keys(lr),validator:e=>Array.isArray(e)&&e.every((e=>Object.keys(lr).includes(e)))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},width:{type:[Number,String],default:300},...Vt(),...wt(),...De()},emits:{"update:modelValue":e=>!0,"update:mode":e=>!0},setup(e){const l=Et(e,"mode"),a=t.ref(null),n=Et(e,"modelValue",void 0,(e=>{let t=Zo(e)
|
|
1001
|
-
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=ae(e)
|
|
1091
|
+
null!=l&&o("update:modelValue",l)}return qe((()=>{var l
|
|
1092
|
+
const o=g(s.value?100-e.position:e.position,"%"),n=s.value?"block":"inline",{elevationClasses:r}=rl(t.computed((()=>u.value?void 0:f.value)))
|
|
1093
|
+
return t.createVNode("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&y.value}],style:{[`inset-${n}-start`]:`calc(${o} - var(--v-slider-thumb-size) / 2)`,"--v-slider-thumb-size":g(c.value),direction:s.value?void 0:h.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",S.value,r.value],style:{...w.value}},null),t.withDirectives(t.createVNode("div",{class:["v-slider-thumb__ripple",S.value],style:w.value},null),[[t.resolveDirective("ripple"),!0,null,{circle:!0,center:!0}]]),t.createVNode(Pt,{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=a["thumb-label"])?void 0:l.call(a,{modelValue:e.modelValue}))??e.modelValue.toFixed(i.value?V.value:1)])])]),[[t.vShow,d.value&&e.focused||"always"===d.value]])]})])})),{}}}),Mr=ze({name:"VSliderTrack",props:{start:{type:Number,required:!0},stop:{type:Number,required:!0}},emits:{},setup(e,l){let{slots:a}=l
|
|
1094
|
+
const o=t.inject(Rr)
|
|
1095
|
+
if(!o)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider")
|
|
1096
|
+
const{color:n,horizontalDirection:r,parsedTicks:i,rounded:s,showTicks:u,tickSize:c,trackColor:d,trackFillColor:v,trackSize:p,vertical:f,min:m,max:h}=o,{roundedClasses:y}=sl(s),{backgroundColorClasses:b,backgroundColorStyles:V}=dl(v),{backgroundColorClasses:S,backgroundColorStyles:w}=dl(d),k=t.computed((()=>"inset-"+(f.value?"block-end":"inline-start"))),x=t.computed((()=>f.value?"height":"width")),C=t.computed((()=>({[k.value]:"0%",[x.value]:"100%"}))),N=t.computed((()=>e.stop-e.start)),_=t.computed((()=>({[k.value]:g(e.start,"%"),[x.value]:g(N.value,"%")}))),B=t.computed((()=>(f.value?i.value.slice().reverse():i.value).map(((l,o)=>{var n
|
|
1097
|
+
const r=f.value?"bottom":"margin-inline-start",i=l.value!==m.value&&l.value!==h.value?g(l.position,"%"):void 0
|
|
1098
|
+
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,"v-slider-track__tick--first":l.value===m.value,"v-slider-track__tick--last":l.value===h.value}],style:{[r]:i}},[(l.label||a["tick-label"])&&t.createVNode("div",{class:"v-slider-track__tick-label"},[(null==(n=a["tick-label"])?void 0:n.call(a,{tick:l,index:o}))??l.label])])}))))
|
|
1099
|
+
return qe((()=>t.createVNode("div",{class:["v-slider-track",y.value],style:{"--v-slider-track-size":g(p.value),"--v-slider-tick-size":g(c.value),direction:f.value?void 0:r.value}},[t.createVNode("div",{class:["v-slider-track__background",S.value,{"v-slider-track__background--opacity":!!n.value||!v.value}],style:{...C.value,...w.value}},null),t.createVNode("div",{class:["v-slider-track__fill",b.value],style:{..._.value,...V.value}},null),u.value&&t.createVNode("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":"always"===u.value}]},[B.value])]))),{}}}),zr=ze({name:"VSlider",props:{...In(),...Tr(),...Za(),modelValue:{type:[Number,String],default:0}},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
1100
|
+
const o=t.ref(),{min:n,max:r,mousePressed:i,roundValue:s,onSliderMousedown:u,onSliderTouchstart:c,trackContainerRef:d,position:v,hasLabels:p,readonly:f}=Pr({props:e,handleSliderMouseUp:e=>m.value=s(e),handleMouseMove:e=>m.value=s(e),getActiveThumb:()=>{var e
|
|
1101
|
+
return null==(e=o.value)?void 0:e.$el}}),m=gl(e,"modelValue",void 0,(e=>{const t="string"==typeof e?parseFloat(e):null==e?n.value:e
|
|
1102
|
+
return s(t)})),{isFocused:g,focus:h,blur:y}=$n(e),b=t.computed((()=>v(m.value)))
|
|
1103
|
+
return qe((()=>{const[l,s]=Qa(e),v=!!(e.label||a.label||a.prepend)
|
|
1104
|
+
return t.createVNode(Ja,t.mergeProps({class:["v-slider",{"v-slider--has-labels":!!a["tick-label"]||p.value,"v-slider--focused":g.value,"v-slider--pressed":i.value,"v-slider--disabled":e.disabled}]},l,{focused:g.value}),{...a,prepend:v?l=>{var o,n
|
|
1105
|
+
return t.createVNode(t.Fragment,null,[(null==(o=a.label)?void 0:o.call(a,l))??e.label?t.createVNode(eo,{class:"v-slider__label",text:e.label},null):void 0,null==(n=a.prepend)?void 0:n.call(a,l)])}:void 0,default:l=>{let{id:i}=l
|
|
1106
|
+
return t.createVNode("div",{class:"v-slider__container",onMousedown:f.value?void 0:u,onTouchstartPassive:f.value?void 0:c},[t.createVNode("input",{id:i.value,name:e.name||i.value,disabled:e.disabled,readonly:e.readonly,tabindex:"-1",value:m.value},null),t.createVNode(Mr,{ref:d,start:0,stop:b.value},{"tick-label":a["tick-label"]}),t.createVNode(Or,{ref:o,focused:g.value,min:n.value,max:r.value,modelValue:m.value,"onUpdate:modelValue":e=>m.value=e,position:b.value,elevation:e.elevation,onFocus:h,onBlur:y},{"thumb-label":a["thumb-label"]})])}})})),{}}}),Fr=ze({name:"VColorPickerPreview",props:{color:{type:Object},disabled:Boolean,hideAlpha:Boolean},emits:{"update:color":e=>!0},setup(e,l){let{emit:a}=l
|
|
1107
|
+
return qe((()=>{var l,o
|
|
1108
|
+
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:Se(e.color??Nr)}},null)]),t.createVNode("div",{class:"v-color-picker-preview__sliders"},[t.createVNode(zr,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:null==(l=e.color)?void 0:l.h,"onUpdate:modelValue":t=>a("update:color",{...e.color??Nr,h:t}),step:0,min:0,max:360,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!e.hideAlpha&&t.createVNode(zr,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:null==(o=e.color)?void 0:o.a,"onUpdate:modelValue":t=>a("update:color",{...e.color??Nr,a:t}),step:0,min:0,max:1,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])})),{}}}),Dr=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"}),jr=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"}),Hr=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"}),Wr=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"}),Ur=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"}),Yr=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"}),Xr=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"}),qr=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"}),Gr=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"}),Kr=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"}),Zr=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"}),Jr=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"}),Qr=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"}),ei=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"}),ti=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"}),li=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"}),ai=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),oi=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),ni=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),ri=Object.freeze({black:"#000000",white:"#ffffff",transparent:"#ffffff00"})
|
|
1109
|
+
var ii=Object.freeze({red:Dr,pink:jr,purple:Hr,deepPurple:Wr,indigo:Ur,blue:Yr,lightBlue:Xr,cyan:qr,teal:Gr,green:Kr,lightGreen:Zr,lime:Jr,yellow:Qr,amber:ei,orange:ti,deepOrange:li,brown:ai,blueGrey:oi,grey:ni,shades:ri})
|
|
1110
|
+
const si=ze({name:"VColorPickerSwatches",props:{swatches:{type:Array,default:()=>function(e){return Object.keys(e).map((t=>{const l=e[t]
|
|
1111
|
+
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]}))}(ii)},disabled:Boolean,color:Object,maxHeight:[Number,String]},emits:{"update:color":e=>!0},setup(e,l){let{emit:a}=l
|
|
1112
|
+
return qe((()=>t.createVNode("div",{class:"v-color-picker-swatches",style:{maxHeight:g(e.maxHeight)}},[t.createVNode("div",null,[e.swatches.map((l=>t.createVNode("div",{class:"v-color-picker-swatches__swatch"},[l.map((l=>{const o=Cr(l)
|
|
1113
|
+
return t.createVNode("div",{class:"v-color-picker-swatches__color",onClick:()=>o&&a("update:color",o)},[t.createVNode("div",{style:{background:l}},[e.color&&v(e.color,o)?t.createVNode(ql,{size:"x-small",icon:"$success",color:Be(l,"#FFFFFF")>2?"white":"black"},null):void 0])])}))])))])]))),{}}}),ui=ze({name:"VSheet",props:{color:String,...al(),...Xt(),...nl(),...Va(),...ka(),...il(),...tl(),...dt()},setup(e,l){let{slots:a}=l
|
|
1114
|
+
const{themeClasses:o}=ft(e),{backgroundColorClasses:n,backgroundColorStyles:r}=dl(t.toRef(e,"color")),{borderClasses:i}=ol(e),{dimensionStyles:s}=qt(e),{elevationClasses:u}=rl(e),{locationStyles:c}=Sa(e),{positionClasses:d}=xa(e),{roundedClasses:v}=sl(e)
|
|
1115
|
+
return()=>t.createVNode(e.tag,{class:["v-sheet",o.value,n.value,i.value,u.value,d.value,v.value],style:[r.value,s.value,c.value]},a)}}),ci=ze({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},...nl(),...il(),...dt()},emits:{"update:modelValue":e=>!0,"update:mode":e=>!0},setup(e){const l=gl(e,"mode"),a=t.ref(null),o=gl(e,"modelValue",void 0,(e=>{let t=Cr(e)
|
|
1116
|
+
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=ke(e)
|
|
1002
1117
|
return 1===e.a?t.slice(0,7):t}if("object"==typeof t){let l
|
|
1003
|
-
return
|
|
1004
|
-
return l}return e}(l,!
|
|
1005
|
-
return t.onMounted((()=>{e.modes.includes(l.value)||(l.value=e.modes[0])})),()=>{
|
|
1006
|
-
|
|
1007
|
-
const
|
|
1008
|
-
|
|
1009
|
-
return
|
|
1010
|
-
if(
|
|
1011
|
-
l.length>1&&(l.forEach((
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
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||
|
|
1017
|
-
|
|
1018
|
-
const e=c.value>-1?c.value-1:
|
|
1019
|
-
|
|
1118
|
+
return xr(t,["r","g","b"])?l=he(e):xr(t,["h","s","l"])?l=be(e):xr(t,["h","s","v"])&&(l=e),function(e,t){if(t){const{a:t,...l}=e
|
|
1119
|
+
return l}return e}(l,!xr(t,["a"]))}return e}(t,e.modelValue):null)),n=e=>{o.value=e,a.value=e}
|
|
1120
|
+
return t.onMounted((()=>{e.modes.includes(l.value)||(l.value=e.modes[0])})),qe((()=>t.createVNode(ui,{rounded:e.rounded,elevation:e.elevation,theme:e.theme,class:["v-color-picker"],style:{"--v-color-picker-color-hsv":Se({...o.value??Nr,a:1})},maxWidth:e.width},{default:()=>[!e.hideCanvas&&t.createVNode(wr,{key:"canvas",color:o.value,"onUpdate:color":n,disabled:e.disabled,dotSize:e.dotSize,width:e.width,height:e.canvasHeight},null),(!e.hideSliders||!e.hideInputs)&&t.createVNode("div",{key:"controls",class:"v-color-picker__controls"},[!e.hideSliders&&t.createVNode(Fr,{key:"preview",color:o.value,"onUpdate:color":n,hideAlpha:!l.value.endsWith("a"),disabled:e.disabled},null),!e.hideInputs&&t.createVNode(Er,{key:"edit",modes:e.modes,mode:l.value,"onUpdate:mode":e=>l.value=e,color:o.value,"onUpdate:color":n,disabled:e.disabled},null)]),e.showSwatches&&t.createVNode(si,{key:"swatches",color:o.value,"onUpdate:color":n,maxHeight:e.swatchesMaxHeight,swatches:e.swatches,disabled:e.disabled},null)]}))),{}}})
|
|
1121
|
+
const di=Fe()({name:"VCombobox",props:{delimiters:Array,...Dn({filterKeys:["title"]}),...Mn({hideNoData:!0,returnObject:!0}),...Jt({transition:!1})},emits:{"update:modelValue":e=>!0,"update:searchInput":e=>!0,"update:menu":e=>!0},setup(e,l){let{emit:a,slots:o}=l
|
|
1122
|
+
const{t:n}=Pa(),r=t.ref(),i=t.ref(!1),s=t.ref(!0),u=gl(e,"menu"),c=t.ref(-1),d=t.computed((()=>{var e
|
|
1123
|
+
return null==(e=r.value)?void 0:e.color})),{items:v,transformIn:p,transformOut:f}=Fo(e),{textColorClasses:m,textColorStyles:g}=cl(d),h=gl(e,"modelValue",[],(e=>p(k(e||[]))),(t=>{const l=f(t)
|
|
1124
|
+
return e.multiple?l:l[0]??null})),y=t.ref(""),b=t.computed({get:()=>y.value,set:t=>{var l
|
|
1125
|
+
if(y.value=t,e.multiple||(h.value=[Mo(e,t)]),t&&e.multiple&&null!=(l=e.delimiters)&&l.length){const l=t.split(new RegExp(`(?:${e.delimiters.join("|")})+`))
|
|
1126
|
+
l.length>1&&(l.forEach((t=>{(t=t.trim())&&I(Mo(e,t))})),y.value="")}t||(c.value=-1),i.value&&(u.value=!0),s.value=!t}})
|
|
1127
|
+
t.watch(y,(e=>{a("update:searchInput",e)}))
|
|
1128
|
+
const{filteredItems:V}=jn(e,v,t.computed((()=>s.value?void 0:b.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]))
|
|
1129
|
+
function C(t){h.value=[],e.openOnClear&&(u.value=!0)}function N(){e.hideNoData&&!v.value.length||e.readonly||(u.value=!0)}function _(l){if(e.readonly)return
|
|
1130
|
+
const a=r.value.selectionStart,o=w.value.length
|
|
1131
|
+
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||b.value||(c.value=o-1))
|
|
1132
|
+
I(x.value),t.nextTick((()=>!x.value&&(c.value=o-2)))}if("ArrowLeft"===l.key){if(c.value<0&&a>0)return
|
|
1133
|
+
const e=c.value>-1?c.value-1:o-1
|
|
1134
|
+
S.value[e]?c.value=e:(c.value=-1,r.value.setSelectionRange(b.value.length,b.value.length))}if("ArrowRight"===l.key){if(c.value<0)return
|
|
1020
1135
|
const e=c.value+1
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
return
|
|
1028
|
-
return t.createVNode(
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1136
|
+
S.value[e]?c.value=e:(c.value=-1,r.value.setSelectionRange(0,0))}"Enter"===l.key&&(I(Mo(e,b.value)),b.value="")}}function B(){i.value&&(s.value=!0)}function I(l){if(e.multiple){const e=w.value.findIndex((e=>e===l.value))
|
|
1137
|
+
if(-1===e)h.value=[...h.value,l]
|
|
1138
|
+
else{const t=[...h.value]
|
|
1139
|
+
t.splice(e,1),h.value=t}b.value=""}else b.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
|
|
1140
|
+
else{if(u.value=!1,!e.multiple||!b.value)return
|
|
1141
|
+
h.value=[...h.value,Mo(e,b.value)],b.value=""}})),qe((()=>{const l=!(!e.chips&&!o.chip)
|
|
1142
|
+
return t.createVNode(On,{ref:r,modelValue:b.value,"onUpdate:modelValue":[e=>b.value=e,e=>{null==e&&(h.value=[])}],validationValue:h.externalValue,dirty:h.value.length>0,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,readonly:e.readonly,"onClick:clear":C,"onClick:control":N,"onClick:input":N,onFocus:()=>i.value=!0,onBlur:()=>i.value=!1,onKeydown:_},{...o,default:()=>{var a
|
|
1143
|
+
return t.createVNode(t.Fragment,null,[t.createVNode(_n,t.mergeProps({modelValue:u.value,"onUpdate:modelValue":e=>u.value=e,activator:"parent",contentClass:"v-combobox__content",eager:e.eager,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:B},e.menuProps),{default:()=>[t.createVNode(Ho,{selected:w.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:e=>e.preventDefault()},{default:()=>[!V.value.length&&!e.hideNoData&&((null==(a=o["no-data"])?void 0:a.call(o))??t.createVNode(Lo,{title:n(e.noDataText)},null)),V.value.map(((l,a)=>{var n
|
|
1144
|
+
let{item:r,matches:i}=l
|
|
1145
|
+
return(null==(n=o.item)?void 0:n.call(o,{item:r,index:a,props:t.mergeProps(r.props,{onClick:()=>I(r)})}))??t.createVNode(Lo,t.mergeProps({key:a},r.props,{onClick:()=>I(r)}),{prepend:l=>{let{isSelected:a}=l
|
|
1146
|
+
return e.multiple&&!e.hideSelected?t.createVNode(io,{modelValue:a,ripple:!1},null):void 0},title:()=>{var e
|
|
1147
|
+
return s.value?r.title:function(e,l,a){if(Array.isArray(l))throw new Error("Multiple matches is not implemented")
|
|
1148
|
+
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}(r.title,i.title,(null==(e=b.value)?void 0:e.length)??0)}})}))]})]}),S.value.map(((a,n)=>{const r={"onClick:close":function(e){e.stopPropagation(),e.preventDefault(),I(a)},modelValue:!0}
|
|
1149
|
+
return t.createVNode("div",{key:n,class:["v-combobox__selection",n===c.value&&["v-combobox__selection--selected",m.value]],style:n===c.value?g.value:{}},[l?t.createVNode(Ct,{defaults:{VChip:{closable:e.closableChips,size:"small",text:a.title}}},{default:()=>[o.chip?o.chip({item:a,index:n,props:r}):t.createVNode(fo,r,null)]}):o.selection?o.selection({item:a,index:n}):t.createVNode("span",{class:"v-combobox__selection-text"},[a.title,e.multiple&&n<S.value.length-1&&t.createVNode("span",{class:"v-combobox__selection-comma"},[t.createTextVNode(",")])])])}))])}})})),Cn({isFocused:i,isPristine:s,menu:u,search:b,selectionIndex:c,filteredItems:V,select:I},r)}}),vi=Fe()({name:"VDialog",inheritAttrs:!1,props:{fullscreen:Boolean,origin:{type:String,default:"center center"},retainFocus:{type:Boolean,default:!0},scrollable:Boolean,modelValue:Boolean,...Jt({transition:{component:It}})},emits:{"update:modelValue":e=>!0},setup(e,a){let{attrs:o,slots:n}=a
|
|
1150
|
+
const r=gl(e,"modelValue"),{scopeId:i}=Nn(),s=t.ref()
|
|
1151
|
+
function u(e){var t,l
|
|
1152
|
+
const a=e.relatedTarget,o=e.target
|
|
1153
|
+
if(a!==o&&null!=(t=s.value)&&t.contentEl&&null!=(l=s.value)&&l.globalTop&&![document,s.value.contentEl].includes(o)&&!s.value.contentEl.contains(o)){const e=[...s.value.contentEl.querySelectorAll('button, [href], input:not([type="hidden"]), select, textarea, [tabindex]:not([tabindex="-1"])')].filter((e=>!e.hasAttribute("disabled")&&!e.matches('[tabindex="-1"]')))
|
|
1033
1154
|
if(!e.length)return
|
|
1034
|
-
const t=e[0],
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
return
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
return
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
return!
|
|
1052
|
-
return
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
return e+l}),0)
|
|
1058
|
-
return(
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
function b(){var e
|
|
1155
|
+
const t=e[0],l=e[e.length-1]
|
|
1156
|
+
a===t?l.focus():t.focus()}}return l&&t.watch((()=>r.value&&e.retainFocus),(e=>{e?document.addEventListener("focusin",u):document.removeEventListener("focusin",u)}),{immediate:!0}),t.watch(r,(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})})),qe((()=>t.createVNode(kn,t.mergeProps({modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable}],transition:e.transition,scrollStrategy:"block",ref:s,"aria-role":"dialog","aria-modal":"true",activatorProps:{"aria-haspopup":"dialog","aria-expanded":String(r.value)},"z-index":2400},i,o),{activator:n.activator,default:function(){for(var e,l=arguments.length,a=new Array(l),o=0;o<l;o++)a[o]=arguments[o]
|
|
1157
|
+
return t.createVNode(Ct,{root:!0},{default:()=>[null==(e=n.default)?void 0:e.call(n,...a)]})}}))),Cn({},s)}}),pi=Symbol.for("vuetify:v-expansion-panel"),fi=["default","accordion","inset","popout"],mi=ze({name:"VExpansionPanels",props:{color:String,variant:{type:String,default:"default",validator:e=>fi.includes(e)},readonly:Boolean,...Nl(),...tl(),...dt()},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
1158
|
+
Il(e,pi)
|
|
1159
|
+
const{themeClasses:o}=ft(e),n=t.computed((()=>e.variant&&`v-expansion-panels--variant-${e.variant}`))
|
|
1160
|
+
return Oe({VExpansionPanel:{color:t.toRef(e,"color")},VExpansionPanelTitle:{readonly:t.toRef(e,"readonly")}}),qe((()=>t.createVNode(e.tag,{class:["v-expansion-panels",o.value,n.value]},a))),{}}}),gi=Xe({color:String,expandIcon:{type:Tl,default:"$expand"},collapseIcon:{type:Tl,default:"$collapse"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean}),hi=ze({name:"VExpansionPanelTitle",directives:{Ripple:fa},props:{...gi()},setup(e,l){let{slots:a}=l
|
|
1161
|
+
const o=t.inject(pi)
|
|
1162
|
+
if(!o)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel")
|
|
1163
|
+
const{backgroundColorClasses:n,backgroundColorStyles:r}=dl(e,"color"),i=t.computed((()=>({collapseIcon:e.collapseIcon,disabled:o.disabled.value,expanded:o.isSelected.value,expandIcon:e.expandIcon,readonly:e.readonly})))
|
|
1164
|
+
return qe((()=>{var l
|
|
1165
|
+
return t.withDirectives(t.createVNode("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":o.isSelected.value},n.value],style:r.value,type:"button",tabindex:o.disabled.value?-1:void 0,disabled:o.disabled.value,"aria-expanded":o.isSelected.value,onClick:e.readonly?void 0:o.toggle},[t.createVNode("span",{class:"v-expansion-panel-title__overlay"},null),null==(l=a.default)?void 0:l.call(a,i.value),!e.hideActions&&t.createVNode("span",{class:"v-expansion-panel-title__icon"},[a.actions?a.actions(i.value):t.createVNode(ql,{icon:o.isSelected.value?e.collapseIcon:e.expandIcon},null)])]),[[t.resolveDirective("ripple"),e.ripple]])})),{}}}),yi=ze({name:"VExpansionPanelText",props:{...Jo()},setup(e,l){let{slots:a}=l
|
|
1166
|
+
const o=t.inject(pi)
|
|
1167
|
+
if(!o)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel")
|
|
1168
|
+
const{hasContent:n,onAfterLeave:r}=Qo(e,o.isSelected)
|
|
1169
|
+
return qe((()=>{var e
|
|
1170
|
+
return t.createVNode(Ut,{onAfterLeave:r},{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-expansion-panel-text"},[a.default&&n.value&&t.createVNode("div",{class:"v-expansion-panel-text__wrapper"},[null==(e=a.default)?void 0:e.call(a)])]),[[t.vShow,o.isSelected.value]])]})})),{}}}),bi=ze({name:"VExpansionPanel",props:{title:String,text:String,bgColor:String,...nl(),..._l(),...Jo(),...il(),...tl(),...gi()},emits:{"group:selected":e=>!0},setup(e,l){let{slots:a}=l
|
|
1171
|
+
const o=Bl(e,pi),{backgroundColorClasses:n,backgroundColorStyles:r}=dl(e,"bgColor"),{elevationClasses:i}=rl(e),{roundedClasses:s}=sl(e),u=t.computed((()=>(null==o?void 0:o.disabled.value)||e.disabled)),c=t.computed((()=>o.group.items.value.reduce(((e,t,l)=>(o.group.selected.value.includes(t.id)&&e.push(l),e)),[]))),d=t.computed((()=>{const e=o.group.items.value.findIndex((e=>e.id===o.id))
|
|
1172
|
+
return!o.isSelected.value&&c.value.some((t=>t-e==1))})),v=t.computed((()=>{const e=o.group.items.value.findIndex((e=>e.id===o.id))
|
|
1173
|
+
return!o.isSelected.value&&c.value.some((t=>t-e==-1))}))
|
|
1174
|
+
return t.provide(pi,o),qe((()=>{var l
|
|
1175
|
+
const c=!(!a.text&&!e.text),p=!(!a.title&&!e.title)
|
|
1176
|
+
return t.createVNode(e.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":o.isSelected.value,"v-expansion-panel--before-active":d.value,"v-expansion-panel--after-active":v.value,"v-expansion-panel--disabled":u.value},s.value,n.value],style:r.value,"aria-expanded":o.isSelected.value},{default:()=>[t.createVNode("div",{class:["v-expansion-panel__shadow",...i.value]},null),p&&t.createVNode(hi,{key:"title",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(yi,{key:"text",eager:e.eager},{default:()=>[a.text?a.text():e.text]}),null==(l=a.default)?void 0:l.call(a)]})})),{}}}),Vi=ze({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)},...Za({prependIcon:"$file"}),modelValue:{type:Array,default:()=>[],validator:e=>k(e).every((e=>null!=e&&"object"==typeof e))},...En({clearable:!0})},emits:{"click:control":e=>!0,"update:modelValue":e=>!0},setup(e,l){let{attrs:a,emit:o,slots:n}=l
|
|
1177
|
+
const{t:r}=Pa(),i=gl(e,"modelValue"),s=t.computed((()=>"boolean"!=typeof e.showSize?e.showSize:void 0)),u=t.computed((()=>(i.value??[]).reduce(((e,t)=>{let{size:l=0}=t
|
|
1178
|
+
return e+l}),0))),c=t.computed((()=>N(u.value,s.value))),d=t.computed((()=>(i.value??[]).map((t=>{const{name:l="",size:a=0}=t
|
|
1179
|
+
return e.showSize?`${l} (${N(a,s.value)})`:l})))),v=t.computed((()=>{var t
|
|
1180
|
+
const l=(null==(t=i.value)?void 0:t.length)??0
|
|
1181
|
+
return e.showSize?r(e.counterSizeString,l,c.value):r(e.counterString,l)})),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:""))
|
|
1182
|
+
function y(){var e
|
|
1063
1183
|
g.value!==document.activeElement&&(null==(e=g.value)||e.focus())
|
|
1064
|
-
m.value||(m.value=!0)}function
|
|
1065
|
-
null==(t=g.value)||t.click(),
|
|
1066
|
-
return t.createVNode(
|
|
1067
|
-
return t.createVNode(
|
|
1068
|
-
return t.createVNode(t.Fragment,null,[t.createVNode("input",t.mergeProps({ref:g,type:"file",readonly:
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
const{themeClasses:
|
|
1073
|
-
return()=>t.createVNode(e.tag,{class:["v-footer",
|
|
1074
|
-
const
|
|
1075
|
-
return t.
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
l
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1184
|
+
m.value||(m.value=!0)}function b(t){z(e["onClick:prepend"],t),V(t)}function V(e){var t
|
|
1185
|
+
null==(t=g.value)||t.click(),o("click:control",e)}function S(l){l.stopPropagation(),y(),t.nextTick((()=>{i.value=[],null!=g&&g.value&&(g.value.value=""),z(e["onClick:clear"],l)}))}return qe((()=>{const l=!(!n.counter&&!e.counter),o=!(!l&&!n.details),[r,s]=w(a),[{modelValue:k,...x}]=Qa(e),[C]=Ln(e)
|
|
1186
|
+
return t.createVNode(Ja,t.mergeProps({ref:p,modelValue:i.value,"onUpdate:modelValue":e=>i.value=e,class:"v-file-input","onClick:prepend":b,"onClick:append":e["onClick:append"]},r,x,{messages:h.value}),{...n,default:l=>{let{isDisabled:a,isDirty:o,isReadonly:r,isValid:v}=l
|
|
1187
|
+
return t.createVNode(Rn,t.mergeProps({ref:f,"prepend-icon":e.prependIcon,"onClick:control":V,"onClick:clear":S,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},C,{active:o.value||m.value,dirty:o.value,focused:m.value,error:!1===v.value}),{...n,default:l=>{let{props:{class:o,...v}}=l
|
|
1188
|
+
return t.createVNode(t.Fragment,null,[t.createVNode("input",t.mergeProps({ref:g,type:"file",readonly:r.value,disabled:a.value,multiple:e.multiple,name:e.name,onClick:e=>{e.stopPropagation(),y()},onChange:e=>{if(!e.target)return
|
|
1189
|
+
const t=e.target
|
|
1190
|
+
i.value=[...t.files??[]]},onFocus:y,onBlur:()=>m.value=!1},v,s),null),t.createVNode("div",{class:o},[i.value.length>0&&(n.selection?n.selection({fileNames:d.value,totalBytes:u.value,totalBytesReadable:c.value}):e.chips?d.value.map((l=>t.createVNode(fo,{key:l,size:"small",color:e.color},{default:()=>[l]}))):d.value.join(", "))])])}})},details:o?e=>{var a
|
|
1191
|
+
return t.createVNode(t.Fragment,null,[null==(a=n.details)?void 0:a.call(n,e),l&&t.createVNode(t.Fragment,null,[t.createVNode("span",null,null),t.createVNode(Tn,{active:!!i.value.length,value:v.value},n.counter)])])}:void 0})})),Cn({},p,f,g)}}),Si=ze({name:"VFooter",props:{app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...al(),...nl(),...Je(),...il(),...tl({tag:"footer"}),...dt()},setup(e,l){let{slots:a}=l
|
|
1192
|
+
const{themeClasses:o}=ft(e),{backgroundColorClasses:n,backgroundColorStyles:i}=dl(t.toRef(e,"color")),{borderClasses:s}=ol(e),{elevationClasses:u}=rl(e),{roundedClasses:c}=sl(e),d=t.ref(32),{resizeRef:v}=r((e=>{e.length&&(d.value=e[0].target.clientHeight)})),p=t.computed((()=>"auto"===e.height?d.value:parseInt(e.height,10))),{layoutItemStyles:f}=et({id:e.name,order:t.computed((()=>parseInt(e.order,10))),position:t.computed((()=>"bottom")),layoutSize:p,elementSize:t.computed((()=>"auto"===e.height?void 0:p.value)),active:t.computed((()=>e.app)),absolute:t.toRef(e,"absolute")})
|
|
1193
|
+
return qe((()=>t.createVNode(e.tag,{ref:v,class:["v-footer",o.value,n.value,s.value,u.value,c.value],style:[i,e.app?f.value:void 0]},a))),{}}}),wi=ze({name:"VForm",props:{...Ya()},emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,l){let{slots:a,emit:o}=l
|
|
1194
|
+
const n=function(e){const l=gl(e,"modelValue"),a=t.computed((()=>e.disabled)),o=t.computed((()=>e.readonly)),n=t.ref(!1),r=t.ref([]),i=t.ref([])
|
|
1195
|
+
return t.watch(r,(()=>{let e=0,t=0
|
|
1196
|
+
const a=[]
|
|
1197
|
+
for(const l of r.value)!1===l.isValid?(t++,a.push({id:l.id,errorMessages:l.errorMessages})):!0===l.isValid&&e++
|
|
1198
|
+
i.value=a,l.value=!(t>0)&&(e===r.value.length||null)}),{deep:!0}),t.provide(Ua,{register:e=>{let{id:t,validate:l,reset:a,resetValidation:o}=e
|
|
1199
|
+
r.value.some((e=>e.id===t))&&Q(`Duplicate input name "${t}"`),r.value.push({id:t,validate:l,reset:a,resetValidation:o,isValid:null,errorMessages:[]})},unregister:e=>{r.value=r.value.filter((t=>t.id!==e))},update:(e,t,l)=>{const a=r.value.find((t=>t.id===e))
|
|
1200
|
+
a&&(a.isValid=t,a.errorMessages=l)},isDisabled:a,isReadonly:o,isValidating:n,items:r}),{errors:i,isDisabled:a,isReadonly:o,isValidating:n,items:r,validate:async function(){const t=[]
|
|
1201
|
+
let l=!0
|
|
1202
|
+
i.value=[],n.value=!0
|
|
1203
|
+
for(const a of r.value){const o=await a.validate()
|
|
1204
|
+
if(o.length>0&&(l=!1,t.push({id:a.id,errorMessages:o})),!l&&e.fastFail)break}return i.value=t,n.value=!1,{valid:l,errors: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()
|
|
1205
|
+
function i(e){e.preventDefault(),n.reset()}function s(e){const t=e,l=n.validate()
|
|
1206
|
+
t.then=l.then.bind(l),t.catch=l.catch.bind(l),t.finally=l.finally.bind(l),o("submit",t),t.defaultPrevented||l.then((e=>{let{valid:t}=e
|
|
1207
|
+
var l
|
|
1208
|
+
t&&(null==(l=r.value)||l.submit())})),t.preventDefault()}return qe((()=>{var e
|
|
1209
|
+
return t.createVNode("form",{ref:r,class:"v-form",novalidate:!0,onReset:i,onSubmit:s},[null==(e=a.default)?void 0:e.call(a,n)])})),Cn(n,r)}}),ki=ze({name:"VContainer",props:{fluid:{type:Boolean,default:!1},...tl()},setup(e,l){let{slots:a}=l
|
|
1210
|
+
return qe((()=>t.createVNode(e.tag,{class:["v-container",{"v-container--fluid":e.fluid}]},a))),{}}}),xi=["sm","md","lg","xl","xxl"],Ci=xi.reduce(((e,t)=>(e[t]={type:[Boolean,String,Number],default:!1},e)),{}),Ni=xi.reduce(((e,l)=>(e["offset"+t.capitalize(l)]={type:[String,Number],default:null},e)),{}),_i=xi.reduce(((e,l)=>(e["order"+t.capitalize(l)]={type:[String,Number],default:null},e)),{}),Bi={col:Object.keys(Ci),offset:Object.keys(Ni),order:Object.keys(_i)}
|
|
1211
|
+
function Ii(e,t,l){let a=e
|
|
1212
|
+
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 $i=["auto","start","end","center","baseline","stretch"],Ai=ze({name:"VCol",props:{cols:{type:[Boolean,String,Number],default:!1},...Ci,offset:{type:[String,Number],default:null},...Ni,order:{type:[String,Number],default:null},..._i,alignSelf:{type:String,default:null,validator:e=>$i.includes(e)},...tl()},setup(e,l){let{slots:a}=l
|
|
1213
|
+
const o=t.computed((()=>{const t=[]
|
|
1087
1214
|
let l
|
|
1088
|
-
for(l in
|
|
1089
|
-
|
|
1215
|
+
for(l in Bi)Bi[l].forEach((a=>{const o=e[a],n=Ii(l,a,o)
|
|
1216
|
+
n&&t.push(n)}))
|
|
1090
1217
|
const a=t.some((e=>e.startsWith("v-col-")))
|
|
1091
1218
|
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}))
|
|
1092
1219
|
return()=>{var l
|
|
1093
|
-
return t.h(e.tag,{class:
|
|
1094
|
-
function
|
|
1095
|
-
function
|
|
1096
|
-
if(null!=l){if(t){a+=`-${t.replace(e,"")}`}return a+=`-${l}`,a.toLowerCase()}}const
|
|
1097
|
-
const
|
|
1220
|
+
return t.h(e.tag,{class:o.value},null==(l=a.default)?void 0:l.call(a))}}}),Ei=["sm","md","lg","xl","xxl"],Ri=["start","end","center"],Li=["space-between","space-around","space-evenly"]
|
|
1221
|
+
function Ti(e,l){return Ei.reduce(((a,o)=>(a[e+t.capitalize(o)]=l(),a)),{})}const Pi=[...Ri,"baseline","stretch"],Oi=e=>Pi.includes(e),Mi=Ti("align",(()=>({type:String,default:null,validator:Oi}))),zi=[...Ri,...Li],Fi=e=>zi.includes(e),Di=Ti("justify",(()=>({type:String,default:null,validator:Fi}))),ji=[...Ri,...Li,"stretch"],Hi=e=>ji.includes(e),Wi=Ti("alignContent",(()=>({type:String,default:null,validator:Hi}))),Ui={align:Object.keys(Mi),justify:Object.keys(Di),alignContent:Object.keys(Wi)},Yi={align:"align",justify:"justify",alignContent:"align-content"}
|
|
1222
|
+
function Xi(e,t,l){let a=Yi[e]
|
|
1223
|
+
if(null!=l){if(t){a+=`-${t.replace(e,"")}`}return a+=`-${l}`,a.toLowerCase()}}const qi=ze({name:"VRow",props:{dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:Oi},...Mi,justify:{type:String,default:null,validator:Fi},...Di,alignContent:{type:String,default:null,validator:Hi},...Wi,...tl()},setup(e,l){let{slots:a}=l
|
|
1224
|
+
const o=t.computed((()=>{const t=[]
|
|
1098
1225
|
let l
|
|
1099
|
-
for(l in
|
|
1100
|
-
|
|
1226
|
+
for(l in Ui)Ui[l].forEach((a=>{const o=e[a],n=Xi(l,a,o)
|
|
1227
|
+
n&&t.push(n)}))
|
|
1101
1228
|
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}))
|
|
1102
1229
|
return()=>{var l
|
|
1103
|
-
return t.h(e.tag,{class:["v-row",
|
|
1104
|
-
const a=
|
|
1230
|
+
return t.h(e.tag,{class:["v-row",o.value]},null==(l=a.default)?void 0:l.call(a))}}}),Gi=De("flex-grow-1","div","VSpacer"),Ki=ze({name:"VHover",props:{disabled:Boolean,modelValue:{type:Boolean,default:void 0},...Xo()},emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:l}=t
|
|
1231
|
+
const a=gl(e,"modelValue"),{runOpenDelay:o,runCloseDelay:n}=qo(e,(t=>!e.disabled&&(a.value=t)))
|
|
1105
1232
|
return()=>{var e
|
|
1106
|
-
return null==(e=l.default)?void 0:e.call(l,{isHovering:a.value,props:{onMouseenter:
|
|
1107
|
-
const{themeClasses:
|
|
1233
|
+
return null==(e=l.default)?void 0:e.call(l,{isHovering:a.value,props:{onMouseenter:o,onMouseleave:n}})}}}),Zi=Symbol.for("vuetify:v-item-group"),Ji=ze({name:"VItemGroup",props:{...Nl({selectedClass:"v-item--selected"}),...tl(),...dt()},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
1234
|
+
const{themeClasses:o}=ft(e),{isSelected:n,select:r,next:i,prev:s,selected:u}=Il(e,Zi)
|
|
1108
1235
|
return()=>{var l
|
|
1109
|
-
return t.createVNode(e.tag,{class:["v-item-group",
|
|
1110
|
-
const{isSelected:a,select:
|
|
1236
|
+
return t.createVNode(e.tag,{class:["v-item-group",o.value]},{default:()=>[null==(l=a.default)?void 0:l.call(a,{isSelected:n,select:r,next:i,prev:s,selected:u.value})]})}}}),Qi=Fe()({name:"VItem",props:_l(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:l}=t
|
|
1237
|
+
const{isSelected:a,select:o,toggle:n,selectedClass:r,value:i,disabled:s}=Bl(e,Zi)
|
|
1111
1238
|
return()=>{var e
|
|
1112
|
-
return null==(e=l.default)?void 0:e.call(l,{isSelected:a.value,selectedClass:r.value,select:
|
|
1113
|
-
const{layoutClasses:
|
|
1114
|
-
return
|
|
1115
|
-
return t.createVNode("div",{ref:s,class:
|
|
1116
|
-
const{layoutItemStyles:
|
|
1239
|
+
return null==(e=l.default)?void 0:e.call(l,{isSelected:a.value,selectedClass:r.value,select:o,toggle:n,value:i.value,disabled:s.value})}}}),es=De("v-kbd"),ts=ze({name:"VLayout",props:Ze(),setup(e,l){let{slots:a}=l
|
|
1240
|
+
const{layoutClasses:o,layoutStyles:n,getLayoutItem:r,items:i,layoutRef:s}=tt(e)
|
|
1241
|
+
return qe((()=>{var e
|
|
1242
|
+
return t.createVNode("div",{ref:s,class:o.value,style:n.value},[null==(e=a.default)?void 0:e.call(a)])})),{getLayoutItem:r,items:i}}}),ls=ze({name:"VLayoutItem",props:{position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...Je()},setup(e,l){let{slots:a}=l
|
|
1243
|
+
const{layoutItemStyles:o}=et({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")})
|
|
1117
1244
|
return()=>{var e
|
|
1118
|
-
return t.createVNode("div",{class:["v-layout-item"],style:
|
|
1119
|
-
const{dimensionStyles:
|
|
1120
|
-
function r(e){
|
|
1121
|
-
return t.withDirectives(t.createVNode(e.tag,{class:"v-lazy",style:
|
|
1122
|
-
const
|
|
1245
|
+
return t.createVNode("div",{class:["v-layout-item"],style:o.value},[null==(e=a.default)?void 0:e.call(a)])}}}),as=ze({name:"VLazy",directives:{intersect:Zt},props:{modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...Xt(),...tl(),...Jt({transition:"fade-transition"})},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
1246
|
+
const{dimensionStyles:o}=qt(e),n=gl(e,"modelValue")
|
|
1247
|
+
function r(e){n.value||(n.value=e)}return qe((()=>{var l
|
|
1248
|
+
return t.withDirectives(t.createVNode(e.tag,{class:"v-lazy",style:o.value},{default:()=>[n.value&&t.createVNode(Qt,{transition:e.transition},{default:()=>[null==(l=a.default)?void 0:l.call(a)]})]}),[[t.resolveDirective("intersect"),r,e.options]])})),{}}}),os=ze({name:"VLocaleProvider",props:{locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0}},setup(e,l){let{slots:a}=l
|
|
1249
|
+
const o=function(e){const l=t.inject(La)
|
|
1123
1250
|
if(!l)throw new Error("[Vuetify] Could not find injected locale adapter")
|
|
1124
|
-
return l.createScope(e)}(e),{rtlClasses:
|
|
1125
|
-
return()=>{var e
|
|
1126
|
-
return t.createVNode("div",{class:["v-locale-provider",
|
|
1127
|
-
const
|
|
1128
|
-
|
|
1129
|
-
return t.
|
|
1130
|
-
return()
|
|
1131
|
-
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)])]})}}})
|
|
1132
|
-
function Vi(e){return(e<0?-1:1)*Math.sqrt(Math.abs(e))*1.41421356237}function Si(e){if(e.length<2)return 0
|
|
1251
|
+
return l.createScope(e)}(e),{rtlClasses:n}=wt(e,o)
|
|
1252
|
+
return qe((()=>{var e
|
|
1253
|
+
return t.createVNode("div",{class:["v-locale-provider",n.value]},[null==(e=a.default)?void 0:e.call(a)])})),{}}}),ns=ze({name:"VMain",props:{scrollable:Boolean,...tl({tag:"main"})},setup(e,l){let{slots:a}=l
|
|
1254
|
+
const{mainStyles:o}=Qe(),{ssrBootStyles:n}=hr()
|
|
1255
|
+
return qe((()=>{var l,r
|
|
1256
|
+
return t.createVNode(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable}],style:[o.value,n.value]},{default:()=>[e.scrollable?t.createVNode("div",{class:"v-main__scroller"},[null==(l=a.default)?void 0:l.call(a)]):null==(r=a.default)?void 0:r.call(a)]})})),{}}})
|
|
1257
|
+
function rs(e){return(e<0?-1:1)*Math.sqrt(Math.abs(e))*1.41421356237}function is(e){if(e.length<2)return 0
|
|
1133
1258
|
if(2===e.length)return e[1].t===e[0].t?0:(e[1].d-e[0].d)/(e[1].t-e[0].t)
|
|
1134
1259
|
let t=0
|
|
1135
1260
|
for(let l=e.length-1;l>0;l--){if(e[l].t===e[l-1].t)continue
|
|
1136
|
-
const a=
|
|
1137
|
-
t+=(
|
|
1138
|
-
return{addMovement:function(t){Array.from(t.changedTouches).forEach((l=>{
|
|
1261
|
+
const a=rs(t),o=(e[l].d-e[l-1].d)/(e[l].t-e[l-1].t)
|
|
1262
|
+
t+=(o-a)*Math.abs(o),l===e.length-1&&(t*=.5)}return 1e3*rs(t)}function ss(){const e={}
|
|
1263
|
+
return{addMovement:function(t){Array.from(t.changedTouches).forEach((l=>{(e[l.identifier]??(e[l.identifier]=new R(20))).push([t.timeStamp,l])}))},endTouch:function(t){Array.from(t.changedTouches).forEach((t=>{delete e[t.identifier]}))},getVelocity:function(t){var l
|
|
1139
1264
|
const a=null==(l=e[t])?void 0:l.values().reverse()
|
|
1140
1265
|
if(!a)throw new Error(`No samples for touch id ${t}`)
|
|
1141
|
-
const
|
|
1142
|
-
for(const e of a){if(
|
|
1143
|
-
|
|
1144
|
-
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
|
|
1145
|
-
const{themeClasses:
|
|
1146
|
-
e.disableResizeWatcher||t.watch(
|
|
1147
|
-
const
|
|
1148
|
-
t.onMounted((()=>{window.addEventListener("touchstart",
|
|
1149
|
-
const i=t.computed((()=>"bottom"!==r.value)),{addMovement:s,endTouch:u,getVelocity:c}=
|
|
1266
|
+
const o=a[0],n=[],r=[]
|
|
1267
|
+
for(const e of a){if(o[0]-e[0]>100)break
|
|
1268
|
+
n.push({t:e[0],d:e[1].clientX}),r.push({t:e[0],d:e[1].clientY})}return{x:is(n),y:is(r),get direction(){const{x:e,y:t}=this,[l,a]=[Math.abs(e),Math.abs(t)]
|
|
1269
|
+
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 us(){throw new Error}const cs=["start","end","left","right","bottom"],ds=ze({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:56},scrim:{type:[String,Boolean],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>cs.includes(e)},sticky:Boolean,...al(),...nl(),...Je(),...il(),...tl({tag:"nav"}),...dt()},emits:{"update:modelValue":e=>!0},setup(e,l){let{attrs:a,slots:o}=l
|
|
1270
|
+
const{isRtl:n}=kt(),{themeClasses:r}=ft(e),{borderClasses:i}=ol(e),{backgroundColorClasses:s,backgroundColorStyles:u}=dl(t.toRef(e,"color")),{elevationClasses:c}=rl(e),{mobile:d}=Jn(),{roundedClasses:v}=sl(e),p=Ca(),f=gl(e,"modelValue",null,(e=>!!e)),{ssrBootStyles:m}=hr(),h=t.ref(),y=t.ref(!1),b=t.computed((()=>e.rail&&e.expandOnHover&&y.value?Number(e.width):Number(e.rail?e.railWidth:e.width))),V=t.computed((()=>H(e.location,n.value))),S=t.computed((()=>!e.permanent&&(d.value||e.temporary))),w=t.computed((()=>e.sticky&&!S.value&&"bottom"!==V.value))
|
|
1271
|
+
e.disableResizeWatcher||t.watch(S,(t=>!e.permanent&&(f.value=!t))),!e.disableRouteWatcher&&p&&t.watch(p.currentRoute,(()=>S.value&&(f.value=!1))),t.watch((()=>e.permanent),(e=>{e&&(f.value=!0)})),t.onBeforeMount((()=>{null!=e.modelValue||S.value||(f.value=e.permanent||!d.value)}))
|
|
1272
|
+
const{isDragging:k,dragProgress:x,dragStyles:C}=function(e){let{isActive:l,isTemporary:a,width:o,touchless:n,position:r}=e
|
|
1273
|
+
t.onMounted((()=>{window.addEventListener("touchstart",y,{passive:!0}),window.addEventListener("touchmove",b,{passive:!1}),window.addEventListener("touchend",V,{passive:!0})})),t.onBeforeUnmount((()=>{window.removeEventListener("touchstart",y),window.removeEventListener("touchmove",b),window.removeEventListener("touchend",V)}))
|
|
1274
|
+
const i=t.computed((()=>"bottom"!==r.value)),{addMovement:s,endTouch:u,getVelocity:c}=ss()
|
|
1150
1275
|
let d=!1
|
|
1151
1276
|
const v=t.ref(!1),p=t.ref(0),f=t.ref(0)
|
|
1152
1277
|
let m
|
|
1153
|
-
function g(e,t){return("left"===r.value?e:"right"===r.value?document.documentElement.clientWidth-e:"bottom"===r.value?document.documentElement.clientHeight-e:
|
|
1154
|
-
const l="left"===r.value?(e-f.value)/
|
|
1155
|
-
return t?Math.max(0,Math.min(1,l)):l}function
|
|
1156
|
-
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:
|
|
1278
|
+
function g(e,t){return("left"===r.value?e:"right"===r.value?document.documentElement.clientWidth-e:"bottom"===r.value?document.documentElement.clientHeight-e:us())-(t?o.value:0)}function h(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]
|
|
1279
|
+
const l="left"===r.value?(e-f.value)/o.value:"right"===r.value?(document.documentElement.clientWidth-e-f.value)/o.value:"bottom"===r.value?(document.documentElement.clientHeight-e-f.value)/o.value:us()
|
|
1280
|
+
return t?Math.max(0,Math.min(1,l)):l}function y(e){if(n.value)return
|
|
1281
|
+
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:us(),y=l.value&&("left"===r.value?t<o.value:"right"===r.value?t>document.documentElement.clientWidth-o.value:"bottom"===r.value?c>document.documentElement.clientHeight-o.value:us());(v||y||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 b(e){const t=e.changedTouches[0].clientX,l=e.changedTouches[0].clientY
|
|
1157
1282
|
if(d){if(!e.cancelable)return void(d=!1)
|
|
1158
|
-
const a=Math.abs(t-m[0]),
|
|
1283
|
+
const a=Math.abs(t-m[0]),o=Math.abs(l-m[1]);(i.value?a>o&&a>3:o>a&&o>3)?(v.value=!0,d=!1):(i.value?o:a)>3&&(d=!1)}if(!v.value)return
|
|
1159
1284
|
e.preventDefault(),s(e)
|
|
1160
1285
|
const a=h(i.value?t:l,!1)
|
|
1161
1286
|
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
|
|
1162
1287
|
s(e),v.value=!1
|
|
1163
|
-
const t=c(e.changedTouches[0].identifier),a=Math.abs(t.x),
|
|
1164
|
-
l.value=
|
|
1165
|
-
return{isDragging:v,dragProgress:p,dragStyles:S}}({isActive:
|
|
1166
|
-
return
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1288
|
+
const t=c(e.changedTouches[0].identifier),a=Math.abs(t.x),o=Math.abs(t.y),n=i.value?a>o&&a>400:o>a&&o>3
|
|
1289
|
+
l.value=n?t.direction===({left:"right",right:"left",bottom:"up"}[r.value]||us()):p.value>.5}const S=t.computed((()=>v.value?{transform:"left"===r.value?`translateX(calc(-100% + ${p.value*o.value}px))`:"right"===r.value?`translateX(calc(100% - ${p.value*o.value}px))`:"bottom"===r.value?`translateY(calc(100% - ${p.value*o.value}px))`:us(),transition:"none"}:void 0))
|
|
1290
|
+
return{isDragging:v,dragProgress:p,dragStyles:S}}({isActive:f,isTemporary:S,width:b,touchless:t.toRef(e,"touchless"),position:V}),N=t.computed((()=>{const t=S.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):b.value
|
|
1291
|
+
return k.value?t*x.value:t})),{layoutItemStyles:_,layoutRect:B,layoutItemScrimStyles:I}=et({id:e.name,order:t.computed((()=>parseInt(e.order,10))),position:V,layoutSize:N,elementSize:b,active:t.computed((()=>f.value||k.value)),disableTransitions:t.computed((()=>k.value)),absolute:t.computed((()=>e.absolute||w.value&&"string"!=typeof $.value))}),{isStuck:$,stickyStyles:A}=function(e){let{rootEl:l,isSticky:a,layoutItemStyles:o}=e
|
|
1292
|
+
const n=t.ref(!1),r=t.ref(0),i=t.computed((()=>{const e="boolean"==typeof n.value?"top":n.value
|
|
1293
|
+
return[a.value?{top:"auto",bottom:"auto",height:void 0}:void 0,n.value?{[e]:g(r.value)}:{top:o.value.top}]}))
|
|
1294
|
+
t.onMounted((()=>{t.watch(a,(e=>{e?window.addEventListener("scroll",u,{passive:!0}):window.removeEventListener("scroll",u)}),{immediate:!0})})),t.onBeforeUnmount((()=>{document.removeEventListener("scroll",u)}))
|
|
1295
|
+
let s=0
|
|
1296
|
+
function u(){const e=s>window.scrollY?"up":"down",t=l.value.getBoundingClientRect(),a=parseFloat(o.value.top??0),i=window.scrollY-Math.max(0,r.value-a),u=t.height+Math.max(r.value,a)-window.scrollY-window.innerHeight
|
|
1297
|
+
t.height<window.innerHeight-a?(n.value="top",r.value=a):"up"===e&&"bottom"===n.value||"down"===e&&"top"===n.value?(r.value=window.scrollY+t.top,n.value=!0):"down"===e&&u<=0?(r.value=0,n.value="bottom"):"up"===e&&i<=0&&(r.value=t.top+i,n.value="top"),s=window.scrollY}return{isStuck:n,stickyStyles:i}}({rootEl:h,isSticky:w,layoutItemStyles:_}),E=dl(t.computed((()=>"string"==typeof e.scrim?e.scrim:null))),R=t.computed((()=>({...k.value?{opacity:.2*x.value,transition:"none"}:void 0,...B.value?{left:g(B.value.left),right:g(B.value.right),top:g(B.value.top),bottom:g(B.value.bottom)}:void 0,...I.value})))
|
|
1298
|
+
return Oe({VList:{bgColor:"transparent"}}),qe((()=>{var l,n,d,p
|
|
1299
|
+
const g=o.image||e.image
|
|
1300
|
+
return t.createVNode(t.Fragment,null,[t.createVNode(e.tag,t.mergeProps({ref:h,onMouseenter:()=>y.value=!0,onMouseleave:()=>y.value=!1,class:["v-navigation-drawer",`v-navigation-drawer--${V.value}`,{"v-navigation-drawer--expand-on-hover":e.expandOnHover,"v-navigation-drawer--floating":e.floating,"v-navigation-drawer--is-hovering":y.value,"v-navigation-drawer--rail":e.rail,"v-navigation-drawer--temporary":S.value,"v-navigation-drawer--active":f.value,"v-navigation-drawer--sticky":w.value},r.value,s.value,i.value,c.value,v.value],style:[u.value,_.value,C.value,m.value,A.value]},a),{default:()=>[g&&t.createVNode("div",{key:"image",class:"v-navigation-drawer__img"},[o.image?null==(l=o.image)?void 0:l.call(o,{image:e.image}):t.createVNode("img",{src:e.image,alt:""},null)]),o.prepend&&t.createVNode("div",{class:"v-navigation-drawer__prepend"},[null==(n=o.prepend)?void 0:n.call(o)]),t.createVNode("div",{class:"v-navigation-drawer__content"},[null==(d=o.default)?void 0:d.call(o)]),o.append&&t.createVNode("div",{class:"v-navigation-drawer__append"},[null==(p=o.append)?void 0:p.call(o)])]}),t.createVNode(t.Transition,{name:"fade-transition"},{default:()=>[S.value&&(k.value||f.value)&&!!e.scrim&&t.createVNode("div",{class:["v-navigation-drawer__scrim",E.backgroundColorClasses.value],style:[R.value,E.backgroundColorStyles.value],onClick:()=>f.value=!1},null)]})])})),{isStuck:$}}})
|
|
1301
|
+
const vs=ze({name:"VNoSsr",setup(e,a){let{slots:o}=a
|
|
1171
1302
|
const n=t.ref(!1)
|
|
1172
|
-
return function(e){var
|
|
1173
|
-
if(!
|
|
1174
|
-
const
|
|
1175
|
-
null!=
|
|
1176
|
-
return n.value&&(null==(e=
|
|
1177
|
-
const
|
|
1178
|
-
const
|
|
1179
|
-
|
|
1180
|
-
const{resizeRef:
|
|
1181
|
-
const{target:
|
|
1182
|
-
if(!
|
|
1183
|
-
const n=
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
if(
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
if(
|
|
1190
|
-
|
|
1191
|
-
return[
|
|
1192
|
-
|
|
1193
|
-
function g(e,t,l){e.preventDefault(),o.value=t,l&&n(l,t)}const{refs:b,updateRef:y}=function(){const e=t.ref([])
|
|
1303
|
+
return function(e){var a,o,n
|
|
1304
|
+
if(!l)return
|
|
1305
|
+
const r=Ie("useHydration"),i=null==r||null==(a=r.root)||null==(o=a.appContext)||null==(n=o.app)?void 0:n._container
|
|
1306
|
+
null!=i&&i.__vue_app__?e():t.onMounted(e)}((()=>n.value=!0)),()=>{var e
|
|
1307
|
+
return n.value&&(null==(e=o.default)?void 0:e.call(o))}}})
|
|
1308
|
+
const ps=ze({name:"VPagination",props:{activeColor:String,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:Tl,default:"$first"},prevIcon:{type:Tl,default:"$prev"},nextIcon:{type:Tl,default:"$next"},lastIcon:{type:Tl,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,...al(),...bl(),...nl(),...il(),...Ul(),...tl({tag:"nav"}),...dt(),...kl({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:o}=l
|
|
1309
|
+
const n=gl(e,"modelValue"),{t:i,n:s}=Pa(),{isRtl:u}=kt(),{themeClasses:c}=ft(e),d=t.ref(-1)
|
|
1310
|
+
Oe(void 0,{scoped:!0})
|
|
1311
|
+
const{resizeRef:v}=r((t=>{if(!t.length)return
|
|
1312
|
+
const{target:l,contentRect:a}=t[0],o=l.querySelector(".v-pagination__list > *")
|
|
1313
|
+
if(!o)return
|
|
1314
|
+
const n=a.width,r=o.offsetWidth+2*parseFloat(getComputedStyle(o).marginRight),i=e.showFirstLastPage?5:3
|
|
1315
|
+
d.value=Math.max(0,Math.floor(+((n-r*i)/r).toFixed(2)))})),p=t.computed((()=>parseInt(e.length,10))),f=t.computed((()=>parseInt(e.start,10))),g=t.computed((()=>e.totalVisible?parseInt(e.totalVisible,10):d.value>=0?d.value:p.value)),h=t.computed((()=>{if(p.value<=0||isNaN(p.value)||p.value>Number.MAX_SAFE_INTEGER)return[]
|
|
1316
|
+
if(g.value<=1)return[n.value]
|
|
1317
|
+
if(p.value<=g.value)return m(p.value,f.value)
|
|
1318
|
+
const t=g.value%2==0,l=t?g.value/2:Math.floor(g.value/2),a=t?l:l+1,o=p.value-l
|
|
1319
|
+
if(a-n.value>=0)return[...m(Math.max(1,g.value-1),f.value),e.ellipsis,p.value]
|
|
1320
|
+
if(n.value-o>=(t?1:0)){const t=g.value-1,l=p.value-t+f.value
|
|
1321
|
+
return[f.value,e.ellipsis,...m(t,l)]}{const t=Math.max(1,g.value-3),l=1===t?n.value:n.value-Math.ceil(t/2)+f.value
|
|
1322
|
+
return[f.value,e.ellipsis,...m(t,l),e.ellipsis,p.value]}}))
|
|
1323
|
+
function y(e,t,l){e.preventDefault(),n.value=t,l&&o(l,t)}const{refs:V,updateRef:S}=function(){const e=t.ref([])
|
|
1194
1324
|
return t.onBeforeUpdate((()=>e.value=[])),{refs:e,updateRef:function(t,l){e.value[l]=t}}}()
|
|
1195
|
-
|
|
1196
|
-
const
|
|
1197
|
-
if("string"==typeof t)return{isActive:!1,page:t,props:{ref:a,ellipsis:!0,icon:!0,disabled:!0}}
|
|
1198
|
-
{const
|
|
1199
|
-
return{isActive:
|
|
1200
|
-
return{first:e.showFirstLastPage?{icon:
|
|
1325
|
+
Oe({VPaginationBtn:{color:t.toRef(e,"color"),border:t.toRef(e,"border"),density:t.toRef(e,"density"),size:t.toRef(e,"size"),variant:t.toRef(e,"variant")}})
|
|
1326
|
+
const w=t.computed((()=>h.value.map(((t,l)=>{const a=e=>S(e,l)
|
|
1327
|
+
if("string"==typeof t)return{isActive:!1,key:`ellipsis-${l}`,page:t,props:{ref:a,ellipsis:!0,icon:!0,disabled:!0}}
|
|
1328
|
+
{const o=t===n.value
|
|
1329
|
+
return{isActive:o,key:t,page:s(t),props:{ref:a,ellipsis:!1,icon:!0,disabled:!!e.disabled||e.length<2,elevation:e.elevation,rounded:e.rounded,color:o?e.activeColor:e.color,ariaCurrent:o,ariaLabel:i(o?e.currentPageAriaLabel:e.pageAriaLabel,l+1),onClick:e=>y(e,t)}}}})))),k=t.computed((()=>{const t=!!e.disabled||n.value<=f.value,l=!!e.disabled||n.value>=f.value+p.value-1
|
|
1330
|
+
return{first:e.showFirstLastPage?{icon:u.value?e.lastIcon:e.firstIcon,onClick:e=>y(e,f.value,"first"),disabled:t,ariaLabel:i(e.firstAriaLabel),ariaDisabled:t}:void 0,prev:{icon:u.value?e.nextIcon:e.prevIcon,onClick:e=>y(e,n.value-1,"prev"),disabled:t,ariaLabel:i(e.previousAriaLabel),ariaDisabled:t},next:{icon:u.value?e.prevIcon:e.nextIcon,onClick:e=>y(e,n.value+1,"next"),disabled:l,ariaLabel:i(e.nextAriaLabel),ariaDisabled:l},last:e.showFirstLastPage?{icon:u.value?e.firstIcon:e.lastIcon,onClick:e=>y(e,f.value+p.value-1,"last"),disabled:l,ariaLabel:i(e.lastAriaLabel),ariaDisabled:l}:void 0}}))
|
|
1201
1331
|
function x(){var e
|
|
1202
|
-
const t=
|
|
1203
|
-
null==(e=
|
|
1204
|
-
const
|
|
1205
|
-
const
|
|
1206
|
-
let
|
|
1332
|
+
const t=n.value-f.value
|
|
1333
|
+
null==(e=V.value[t])||e.$el.focus()}function C(l){l.key===b.left&&!e.disabled&&n.value>e.start?(n.value=n.value-1,t.nextTick(x)):l.key===b.right&&!e.disabled&&n.value<f.value+p.value-1&&(n.value=n.value+1,t.nextTick(x))}return qe((()=>t.createVNode(e.tag,{ref:v,class:["v-pagination",c.value],role:"navigation","aria-label":i(e.ariaLabel),onKeydown:C,"data-test":"v-pagination-root"},{default:()=>[t.createVNode("ul",{class:"v-pagination__list"},[e.showFirstLastPage&&t.createVNode("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[a.first?a.first(k.value.first):t.createVNode(Ia,t.mergeProps({_as:"VPaginationBtn"},k.value.first),null)]),t.createVNode("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[a.prev?a.prev(k.value.prev):t.createVNode(Ia,t.mergeProps({_as:"VPaginationBtn"},k.value.prev),null)]),w.value.map(((e,l)=>t.createVNode("li",{key:e.key,class:["v-pagination__item",{"v-pagination__item--is-active":e.isActive}],"data-test":"v-pagination-item"},[a.item?a.item(e):t.createVNode(Ia,t.mergeProps({_as:"VPaginationBtn"},e.props),{default:()=>[e.page]})]))),t.createVNode("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[a.next?a.next(k.value.next):t.createVNode(Ia,t.mergeProps({_as:"VPaginationBtn"},k.value.next),null)]),e.showFirstLastPage&&t.createVNode("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[a.last?a.last(k.value.last):t.createVNode(Ia,t.mergeProps({_as:"VPaginationBtn"},k.value.last),null)])])]}))),{}}})
|
|
1334
|
+
const fs=ze({name:"VParallax",props:{scale:{type:[Number,String],default:.5}},setup(e,l){let{slots:a}=l
|
|
1335
|
+
const{intersectionRef:o,isIntersecting:n}=Gl(),{resizeRef:i,contentRect:s}=r(),{height:u}=Jn(),c=t.ref()
|
|
1336
|
+
let d
|
|
1207
1337
|
t.watchEffect((()=>{var e
|
|
1208
|
-
|
|
1209
|
-
null==(e=
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
const
|
|
1218
|
-
|
|
1219
|
-
return
|
|
1220
|
-
const
|
|
1221
|
-
return
|
|
1222
|
-
return t.createVNode(
|
|
1223
|
-
return t.createVNode(t.Fragment,null,[
|
|
1224
|
-
const o=t.ref(),
|
|
1225
|
-
const{
|
|
1226
|
-
|
|
1227
|
-
const[a,
|
|
1228
|
-
var
|
|
1229
|
-
e.strict||a!==
|
|
1230
|
-
|
|
1231
|
-
const l=
|
|
1232
|
-
return
|
|
1233
|
-
return()=>{const[l,
|
|
1234
|
-
return t.createVNode(
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1338
|
+
o.value=i.value=null==(e=c.value)?void 0:e.$el})),t.watch(n,(e=>{e?(d=We(o.value),d=d===document.scrollingElement?document:d,d.addEventListener("scroll",f,{passive:!0}),f()):d.removeEventListener("scroll",f)})),t.onBeforeUnmount((()=>{var e
|
|
1339
|
+
null==(e=d)||e.removeEventListener("scroll",f)})),t.watch(u,f)
|
|
1340
|
+
const v=t.computed((()=>1-x(+e.scale)))
|
|
1341
|
+
let p=-1
|
|
1342
|
+
function f(){n.value&&(cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e
|
|
1343
|
+
const t=(null==(e=c.value)?void 0:e.$el).querySelector(".v-img__img")
|
|
1344
|
+
if(!t)return
|
|
1345
|
+
const l=d.clientHeight??document.documentElement.clientHeight,a=d.scrollTop??window.scrollY,n=o.value.offsetTop,r=s.value.height,i=(u=(a-(n+(r-l)/2))*v.value,Math.floor(Math.abs(u))*Math.sign(u))
|
|
1346
|
+
var u
|
|
1347
|
+
const p=Math.max(1,(v.value*(l-r)+r)/r)
|
|
1348
|
+
t.style.setProperty("transform",`translateY(${i}px) scale(${p})`)})))}return qe((()=>t.createVNode(el,{class:["v-parallax",{"v-parallax--active":n.value}],ref:c,cover:!0,onLoadstart:f,onLoad:f},a))),{}}}),ms=ze({name:"VRadio",props:{...ao({falseIcon:"$radioOff",trueIcon:"$radioOn"})},setup(e,l){let{slots:a}=l
|
|
1349
|
+
return qe((()=>t.createVNode(oo,t.mergeProps(e,{class:"v-radio",type:"radio"}),a))),{}}}),gs=ze({name:"VRadioGroup",inheritAttrs:!1,props:{height:{type:[Number,String],default:"auto"},...Za(),...ao(),trueIcon:{type:Tl,default:"$radioOn"},falseIcon:{type:Tl,default:"$radioOff"},type:{type:String,default:"radio"}},emits:{"update:modelValue":e=>!0},setup(e,l){let{attrs:a,slots:o}=l
|
|
1350
|
+
const n=Re(),r=t.computed((()=>e.id||`radio-group-${n}`)),i=gl(e,"modelValue")
|
|
1351
|
+
return Oe({VRadio:{color:t.toRef(e,"color"),density:t.toRef(e,"density")}}),qe((()=>{const[l,n]=w(a),[s,u]=Qa(e),[c,d]=no(e),v=o.label?o.label({label:e.label,props:{for:r.value}}):e.label
|
|
1352
|
+
return t.createVNode(Ja,t.mergeProps({class:"v-radio-group"},l,s,{modelValue:i.value,"onUpdate:modelValue":e=>i.value=e,id:r.value}),{...o,default:l=>{let{id:a,isDisabled:r,isReadonly:s}=l
|
|
1353
|
+
return t.createVNode(t.Fragment,null,[v&&t.createVNode(eo,{for:a.value,clickable:!0},{default:()=>[v]}),t.createVNode(lo,t.mergeProps(c,{id:a.value,trueIcon:e.trueIcon,falseIcon:e.falseIcon,type:e.type,disabled:r.value,readonly:s.value},n,{modelValue:i.value,"onUpdate:modelValue":e=>i.value=e}),o)])}})})),{}}}),hs=ze({name:"VRangeSlider",props:{...In(),...Za(),...Tr(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
1354
|
+
const o=t.ref(),n=t.ref(),r=t.ref()
|
|
1355
|
+
const{activeThumbRef:i,hasLabels:s,max:u,min:c,mousePressed:d,onSliderMousedown:v,onSliderTouchstart:p,position:f,roundValue:m,trackContainerRef:g}=Pr({props:e,handleSliderMouseUp:e=>{var t
|
|
1356
|
+
h.value=i.value===(null==(t=o.value)?void 0:t.$el)?[e,h.value[1]]:[h.value[0],e]},handleMouseMove:t=>{var l
|
|
1357
|
+
const[a,r]=h.value
|
|
1358
|
+
var s,u,d
|
|
1359
|
+
e.strict||a!==r||a===c.value||(i.value=t>a?null==(s=n.value)?void 0:s.$el:null==(u=o.value)?void 0:u.$el,null==(d=i.value)||d.focus())
|
|
1360
|
+
i.value===(null==(l=o.value)?void 0:l.$el)?h.value=[Math.min(t,r),r]:h.value=[a,Math.max(a,t)]},getActiveThumb:function(t){if(!o.value||!n.value)return
|
|
1361
|
+
const l=Lr(t,o.value.$el,e.direction),a=Lr(t,n.value.$el,e.direction),r=Math.abs(l),i=Math.abs(a)
|
|
1362
|
+
return r<i||r===i&&l<0?o.value.$el:n.value.$el}}),h=gl(e,"modelValue",void 0,(e=>e&&e.length?e.map((e=>m(e))):[0,0])),{isFocused:y,focus:b,blur:V}=$n(e),S=t.computed((()=>f(h.value[0]))),w=t.computed((()=>f(h.value[1])))
|
|
1363
|
+
return qe((()=>{const[l,f]=Qa(e),m=!!(e.label||a.label||a.prepend)
|
|
1364
|
+
return t.createVNode(Ja,t.mergeProps({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!a["tick-label"]||s.value,"v-slider--focused":y.value,"v-slider--pressed":d.value,"v-slider--disabled":e.disabled}],ref:r},l,{focused:y.value}),{...a,prepend:m?l=>{var o,n
|
|
1365
|
+
return t.createVNode(t.Fragment,null,[(null==(o=a.label)?void 0:o.call(a,l))??e.label?t.createVNode(eo,{class:"v-slider__label",text:e.label},null):void 0,null==(n=a.prepend)?void 0:n.call(a,l)])}:void 0,default:l=>{var r,s
|
|
1366
|
+
let{id:d}=l
|
|
1367
|
+
return t.createVNode("div",{class:"v-slider__container",onMousedown:v,onTouchstartPassive:p},[t.createVNode("input",{id:`${d.value}_start`,name:e.name||d.value,disabled:e.disabled,readonly:e.readonly,tabindex:"-1",value:h.value[0]},null),t.createVNode("input",{id:`${d.value}_stop`,name:e.name||d.value,disabled:e.disabled,readonly:e.readonly,tabindex:"-1",value:h.value[1]},null),t.createVNode(Mr,{ref:g,start:S.value,stop:w.value},{"tick-label":a["tick-label"]}),t.createVNode(Or,{ref:o,focused:y&&i.value===(null==(r=o.value)?void 0:r.$el),modelValue:h.value[0],"onUpdate:modelValue":e=>h.value=[e,h.value[1]],onFocus:e=>{var t,l,a,r;(b(),i.value=null==(t=o.value)?void 0:t.$el,h.value[0]===h.value[1]&&h.value[1]===c.value&&e.relatedTarget!==(null==(l=n.value)?void 0:l.$el))&&(null==(a=o.value)||a.$el.blur(),null==(r=n.value)||r.$el.focus())},onBlur:()=>{V(),i.value=void 0},min:c.value,max:h.value[1],position:S.value},{"thumb-label":a["thumb-label"]}),t.createVNode(Or,{ref:n,focused:y&&i.value===(null==(s=n.value)?void 0:s.$el),modelValue:h.value[1],"onUpdate:modelValue":e=>h.value=[h.value[0],e],onFocus:e=>{var t,l,a,r;(b(),i.value=null==(t=n.value)?void 0:t.$el,h.value[0]===h.value[1]&&h.value[0]===u.value&&e.relatedTarget!==(null==(l=o.value)?void 0:l.$el))&&(null==(a=n.value)||a.$el.blur(),null==(r=o.value)||r.$el.focus())},onBlur:()=>{V(),i.value=void 0},min:h.value[0],max:u.value,position:w.value},{"thumb-label":a["thumb-label"]})])}})})),{}}}),ys=Fe()({name:"VRating",props:{name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:Tl,default:"$ratingEmpty"},fullIcon:{type:Tl,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,...bl(),...Ul(),...tl(),...dt()},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
1368
|
+
const{t:o}=Pa(),{themeClasses:n}=ft(e),r=gl(e,"modelValue"),i=t.computed((()=>m(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()
|
|
1238
1369
|
let v=!1
|
|
1239
|
-
const p=t.computed((()=>s.value.map((t=>{
|
|
1240
|
-
|
|
1241
|
-
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
|
|
1370
|
+
const p=t.computed((()=>s.value.map((t=>{const l=e.hover&&u.value>-1,a=r.value>=t,o=u.value>=t,n=(l?o:a)?e.fullIcon:e.emptyIcon,i=e.activeColor??e.color
|
|
1371
|
+
return{isFilled:a,isHovered:o,icon:n,color:a||o?i: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
|
|
1242
1372
|
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)}})))))
|
|
1243
|
-
function
|
|
1244
|
-
|
|
1245
|
-
function y(l){var o,i
|
|
1373
|
+
function g(){v=!0}function h(){v=!1}const y=t.computed((()=>e.name??`v-rating-${Re()}`))
|
|
1374
|
+
function b(l){var n,i
|
|
1246
1375
|
let{value:s,index:u,showStar:c=!0}=l
|
|
1247
|
-
const{onMouseenter:v,onMouseleave:
|
|
1248
|
-
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:
|
|
1249
|
-
const
|
|
1250
|
-
return t.createVNode(e.tag,{class:["v-rating",{"v-rating--hover":e.hover,"v-rating--readonly":e.readonly},
|
|
1251
|
-
return t.createVNode("div",{class:"v-rating__wrapper"},[
|
|
1252
|
-
function
|
|
1253
|
-
return Math.sign(e)*(t/((1/.501-2)*(1-t)+1))}function
|
|
1254
|
-
const i=r?t.clientWidth:t.clientHeight,s=r?t.offsetLeft:t.offsetTop,u=
|
|
1255
|
-
n&&(o
|
|
1256
|
-
const
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
0
|
|
1264
|
-
const
|
|
1265
|
-
if(
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
const
|
|
1269
|
-
|
|
1270
|
-
function
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
const
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
return
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
default:return!o.value&&(i.value||Math.abs(s.value)>0)}})),R=t.computed((()=>A.value&&s.value>0)),T=t.computed((()=>!!A.value&&c.value>Math.abs(s.value)+u.value))
|
|
1291
|
-
return Ie((()=>{var l,n,o,s,u
|
|
1292
|
-
return t.createVNode(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!d.value,"v-slide-group--has-affixes":A.value,"v-slide-group--is-overflowing":i.value}],tabindex:w.value||r.selected.value.length?-1:0,onFocus:k},{default:()=>[A.value&&t.createVNode("div",{class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!R.value}],onClick:()=>$("prev")},[null!=(l=null==(n=a.prev)?void 0:n.call(a,E.value))?l:t.createVNode(Kl,null,{default:()=>[t.createVNode(al,{icon:e.prevIcon},null)]})]),t.createVNode("div",{ref:v,class:"v-slide-group__container",onScroll:S},[t.createVNode("div",{ref:f,class:"v-slide-group__content",style:I.value,onTouchstartPassive:b,onTouchmovePassive:y,onTouchendPassive:V,onFocusin:x,onFocusout:C,onKeydown:_},[null==(o=a.default)?void 0:o.call(a,E.value)])]),A.value&&t.createVNode("div",{class:["v-slide-group__next",{"v-slide-group__next--disabled":!T.value}],onClick:()=>$("next")},[null!=(s=null==(u=a.next)?void 0:u.call(a,E.value))?s:t.createVNode(Kl,null,{default:()=>[t.createVNode(al,{icon:e.nextIcon},null)]})])]})})),{selected:r.selected,scrollTo:$,scrollOffset:s,focus:B}}}),zi=fe({name:"VSlideGroupItem",props:{...jt()},setup(e,t){let{slots:l}=t
|
|
1293
|
-
const a=Ht(e,Li)
|
|
1376
|
+
const{onMouseenter:v,onMouseleave:m,onFocus:b,onBlur:V,onClick:S}=f.value[u+1],w=`${y.value}-${String(s).replace(".","-")}`,k={color:null==(n=p.value[u])?void 0:n.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"}
|
|
1377
|
+
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:g,onMouseup:h,onMouseenter:v,onMouseleave:m},[t.createVNode("span",{class:"v-rating__hidden"},[o(e.itemAriaLabel,s,e.length)]),c?a.item?a.item({...p.value[u],props:k,value:s,index:u}):t.createVNode(Ia,k,null):void 0]),t.createVNode("input",{class:"v-rating__hidden",name:y.value,id:w,type:"radio",value:s,checked:r.value===s,onClick:S,onFocus:b,onBlur:V,ref:0===u?d:void 0,readonly:e.readonly,disabled:e.disabled},null)])}function V(e){return a["item-label"]?a["item-label"](e):e.label?t.createVNode("span",null,[e.label]):t.createVNode("span",null,[t.createTextVNode(" ")])}return qe((()=>{var l
|
|
1378
|
+
const o=!(null==(l=e.itemLabels)||!l.length)||a["item-label"]
|
|
1379
|
+
return t.createVNode(e.tag,{class:["v-rating",{"v-rating--hover":e.hover,"v-rating--readonly":e.readonly},n.value]},{default:()=>[t.createVNode(b,{value:0,index:-1,showStar:!1},null),i.value.map(((l,a)=>{var n,r
|
|
1380
|
+
return t.createVNode("div",{class:"v-rating__wrapper"},[o&&"top"===e.itemLabelPosition?V({value:l,index:a,label:null==(n=e.itemLabels)?void 0:n[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)]),o&&"bottom"===e.itemLabelPosition?V({value:l,index:a,label:null==(r=e.itemLabels)?void 0:r[a]}):void 0])}))]})})),{}}})
|
|
1381
|
+
function bs(e){const t=Math.abs(e)
|
|
1382
|
+
return Math.sign(e)*(t/((1/.501-2)*(1-t)+1))}function Vs(e){let{selectedElement:t,containerSize:l,contentSize:a,isRtl:o,currentScrollOffset:n,isHorizontal:r}=e
|
|
1383
|
+
const i=r?t.clientWidth:t.clientHeight,s=r?t.offsetLeft:t.offsetTop,u=o&&r?a-s-i:s,c=l+n,d=i+u,v=.4*i
|
|
1384
|
+
return u<=n?n=Math.max(u-v,0):c<=d&&(n=Math.min(n-(c-d-v),a-l)),n}const Ss=Symbol.for("vuetify:v-slide-group"),ws=ze({name:"VSlideGroup",props:{centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:Ss},nextIcon:{type:Tl,default:"$next"},prevIcon:{type:Tl,default:"$prev"},showArrows:{type:[Boolean,String],validator:e=>"boolean"==typeof e||["always","desktop","mobile"].includes(e)},...tl(),...Nl({selectedClass:"v-slide-group-item--active"})},emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:o}=a
|
|
1385
|
+
const{isRtl:n}=kt(),{mobile:i}=Jn(),s=Il(e,e.symbol),u=t.ref(!1),c=t.ref(0),d=t.ref(0),v=t.ref(0),p=t.computed((()=>"horizontal"===e.direction)),{resizeRef:f,contentRect:m}=r(),{resizeRef:g,contentRect:h}=r(),y=t.computed((()=>s.selected.value.length?s.items.value.findIndex((e=>e.id===s.selected.value[0])):-1)),b=t.computed((()=>s.selected.value.length?s.items.value.findIndex((e=>e.id===s.selected.value[s.selected.value.length-1])):-1))
|
|
1386
|
+
if(l){let l=-1
|
|
1387
|
+
t.watch((()=>[s.selected.value,m.value,h.value,p.value]),(()=>{cancelAnimationFrame(l),l=requestAnimationFrame((()=>{if(m.value&&h.value){const e=p.value?"width":"height"
|
|
1388
|
+
d.value=m.value[e],v.value=h.value[e],u.value=d.value+1<v.value}if(y.value>=0&&g.value){const t=g.value.children[b.value]
|
|
1389
|
+
0!==y.value&&u.value?e.centerActive?c.value=function(e){let{selectedElement:t,containerSize:l,contentSize:a,isRtl:o,isHorizontal:n}=e
|
|
1390
|
+
const r=n?t.clientWidth:t.clientHeight,i=n?t.offsetLeft:t.offsetTop,s=o&&n?a-i-r/2-l/2:i+r/2-l/2
|
|
1391
|
+
return Math.min(a-l,Math.max(0,s))}({selectedElement:t,containerSize:d.value,contentSize:v.value,isRtl:n.value,isHorizontal:p.value}):u.value&&(c.value=Vs({selectedElement:t,containerSize:d.value,contentSize:v.value,isRtl:n.value,currentScrollOffset:c.value,isHorizontal:p.value})):c.value=0}}))}))}const V=t.ref(!1)
|
|
1392
|
+
let S=0,w=0
|
|
1393
|
+
function k(e){const t=p.value?"clientX":"clientY",l=n.value&&p.value?-1:1
|
|
1394
|
+
w=l*c.value,S=e.touches[0][t],V.value=!0}function C(e){if(!u.value)return
|
|
1395
|
+
const t=p.value?"clientX":"clientY",l=n.value&&p.value?-1:1
|
|
1396
|
+
c.value=l*(w+S-e.touches[0][t])}function N(e){const t=v.value-d.value
|
|
1397
|
+
c.value<0||!u.value?c.value=0:c.value>=t&&(c.value=t),V.value=!1}function _(){f.value&&(f.value[p.value?"scrollLeft":"scrollTop"]=0)}const B=t.ref(!1)
|
|
1398
|
+
function I(e){if(B.value=!0,u.value&&g.value)for(const t of e.composedPath())for(const e of g.value.children)if(e===t)return void(c.value=Vs({selectedElement:e,containerSize:d.value,contentSize:v.value,isRtl:n.value,currentScrollOffset:c.value,isHorizontal:p.value}))}function $(e){B.value=!1}function A(e){var t
|
|
1399
|
+
B.value||e.relatedTarget&&null!=(t=g.value)&&t.contains(e.relatedTarget)||R()}function E(e){g.value&&(p.value?"ArrowRight"===e.key?R(n.value?"prev":"next"):"ArrowLeft"===e.key&&R(n.value?"next":"prev"):"ArrowDown"===e.key?R("next"):"ArrowUp"===e.key&&R("prev"),"Home"===e.key?R("first"):"End"===e.key&&R("last"))}function R(e){if(g.value)if(e){if("next"===e){var t
|
|
1400
|
+
const e=null==(t=g.value.querySelector(":focus"))?void 0:t.nextElementSibling
|
|
1401
|
+
e?e.focus():R("first")}else if("prev"===e){var l
|
|
1402
|
+
const e=null==(l=g.value.querySelector(":focus"))?void 0:l.previousElementSibling
|
|
1403
|
+
e?e.focus():R("last")}else if("first"===e){var a
|
|
1404
|
+
null==(a=g.value.firstElementChild)||a.focus()}else if("last"===e){var o
|
|
1405
|
+
null==(o=g.value.lastElementChild)||o.focus()}}else{var n
|
|
1406
|
+
g.value.querySelector("[tabindex]")
|
|
1407
|
+
null==(n=[...g.value.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')].filter((e=>!e.hasAttribute("disabled")))[0])||n.focus()}}function L(e){const t=c.value+("prev"===e?-1:1)*d.value
|
|
1408
|
+
c.value=x(t,0,v.value-d.value)}const T=t.computed((()=>{let e=c.value>v.value-d.value?-(v.value-d.value)+bs(v.value-d.value-c.value):-c.value
|
|
1409
|
+
c.value<=0&&(e=bs(-c.value))
|
|
1410
|
+
const t=n.value&&p.value?-1:1
|
|
1411
|
+
return{transform:`translate${p.value?"X":"Y"}(${t*e}px)`,transition:V.value?"none":"",willChange:V.value?"transform":""}})),P=t.computed((()=>({next:s.next,prev:s.prev,select:s.select,isSelected:s.isSelected}))),O=t.computed((()=>{switch(e.showArrows){case"always":return!0
|
|
1412
|
+
case"desktop":return!i.value
|
|
1413
|
+
case!0:return u.value||Math.abs(c.value)>0
|
|
1414
|
+
case"mobile":return i.value||u.value||Math.abs(c.value)>0
|
|
1415
|
+
default:return!i.value&&(u.value||Math.abs(c.value)>0)}})),M=t.computed((()=>Math.abs(c.value)>0)),z=t.computed((()=>v.value>Math.abs(c.value)+d.value))
|
|
1416
|
+
return qe((()=>{var l,a,r
|
|
1417
|
+
return t.createVNode(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!p.value,"v-slide-group--has-affixes":O.value,"v-slide-group--is-overflowing":u.value}],tabindex:B.value||s.selected.value.length?-1:0,onFocus:A},{default:()=>[O.value&&t.createVNode("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!M.value}],onClick:()=>L("prev")},[(null==(l=o.prev)?void 0:l.call(o,P.value))??t.createVNode(Tt,null,{default:()=>[t.createVNode(ql,{icon:n.value?e.nextIcon:e.prevIcon},null)]})]),t.createVNode("div",{key:"container",ref:f,class:"v-slide-group__container",onScroll:_},[t.createVNode("div",{ref:g,class:"v-slide-group__content",style:T.value,onTouchstartPassive:k,onTouchmovePassive:C,onTouchendPassive:N,onFocusin:I,onFocusout:$,onKeydown:E},[null==(a=o.default)?void 0:a.call(o,P.value)])]),O.value&&t.createVNode("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!z.value}],onClick:()=>L("next")},[(null==(r=o.next)?void 0:r.call(o,P.value))??t.createVNode(Tt,null,{default:()=>[t.createVNode(ql,{icon:n.value?e.prevIcon:e.nextIcon},null)]})])]})})),{selected:s.selected,scrollTo:L,scrollOffset:c,focus:R}}}),ks=ze({name:"VSlideGroupItem",props:{..._l()},emits:{"group:selected":e=>!0},setup(e,t){let{slots:l}=t
|
|
1418
|
+
const a=Bl(e,Ss)
|
|
1294
1419
|
return()=>{var e
|
|
1295
|
-
return null==(e=l.default)?void 0:e.call(l,{isSelected:a.isSelected.value,select:a.select})}}}),
|
|
1296
|
-
const
|
|
1297
|
-
t.watch(
|
|
1298
|
-
let
|
|
1299
|
-
function
|
|
1420
|
+
return null==(e=l.default)?void 0:e.call(l,{isSelected:a.isSelected.value,select:a.select,toggle:a.toggle,selectedClass:a.selectedClass.value})}}}),xs=Fe()({name:"VSnackbar",props:{contentClass:{type:String,default:""},multiLine:Boolean,timeout:{type:[Number,String],default:5e3},vertical:Boolean,modelValue:Boolean,...Va({location:"bottom"}),...ka(),...il(),...kl(),...Jt({transition:"v-snackbar-transition"})},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
1421
|
+
const o=gl(e,"modelValue"),{locationStyles:n}=Sa(e),{positionClasses:r}=xa(e),{scopeId:i}=Nn(),{colorClasses:s,colorStyles:u,variantClasses:c}=xl(e),{roundedClasses:d}=sl(e),v=t.ref()
|
|
1422
|
+
t.watch(o,f),t.watch((()=>e.timeout),f),t.onMounted((()=>{o.value&&f()}))
|
|
1423
|
+
let p=-1
|
|
1424
|
+
function f(){window.clearTimeout(p)
|
|
1300
1425
|
const t=Number(e.timeout)
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
const
|
|
1304
|
-
function
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
return t.createVNode(
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
const
|
|
1314
|
-
|
|
1315
|
-
const e=
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
return
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
const
|
|
1328
|
-
function
|
|
1329
|
-
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:""))
|
|
1330
|
-
function h(){var e
|
|
1426
|
+
o.value&&-1!==t&&(p=window.setTimeout((()=>{o.value=!1}),t))}function m(){window.clearTimeout(p)}return qe((()=>t.createVNode(kn,t.mergeProps({modelValue:o.value,"onUpdate:modelValue":e=>o.value=e,ref:v,class:["v-snackbar",{"v-snackbar--active":o.value,"v-snackbar--multi-line":e.multiLine&&!e.vertical,"v-snackbar--vertical":e.vertical},r.value],style:[u.value],contentProps:{style:n.value},contentClass:e.contentClass,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:m,onPointerleave:f},[wl(!1,"v-snackbar"),a.default&&t.createVNode("div",{class:"v-snackbar__content",role:"status","aria-live":"polite"},[a.default()]),a.actions&&t.createVNode(Ct,{defaults:{VBtn:{variant:"text",ripple:!1}}},{default:()=>[t.createVNode("div",{class:"v-snackbar__actions"},[a.actions()])]})])],activator:a.activator}))),Cn({},v)}}),Cs=ze({name:"VSwitch",inheritAttrs:!1,props:{indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...Za(),...ao()},emits:{"update:indeterminate":e=>!0},setup(e,l){let{attrs:a,slots:o}=l
|
|
1427
|
+
const n=gl(e,"indeterminate"),{loaderClasses:r}=ha(e),i=t.computed((()=>"string"==typeof e.loading&&""!==e.loading?e.loading:e.color)),s=Re(),u=t.computed((()=>e.id||`switch-${s}`))
|
|
1428
|
+
function c(){n.value&&(n.value=!1)}return qe((()=>{const[l,s]=w(a),[d,v]=Qa(e),[p,f]=no(e),m=t.ref()
|
|
1429
|
+
function g(){var e,t
|
|
1430
|
+
null==(e=m.value)||null==(t=e.input)||t.click()}return t.createVNode(Ja,t.mergeProps({class:["v-switch",{"v-switch--inset":e.inset},{"v-switch--indeterminate":n.value},r.value]},l,d,{id:u.value}),{...o,default:l=>{let{id:a,isDisabled:r,isReadonly:u,isValid:d}=l
|
|
1431
|
+
return t.createVNode(oo,t.mergeProps({ref:m},p,{id:a.value,type:"checkbox","onUpdate:modelValue":c,"aria-checked":n.value?"mixed":void 0,disabled:r.value,readonly:u.value},s),{...o,default:()=>t.createVNode("div",{class:"v-switch__track",onClick:g},null),input:l=>{let{textColorClasses:a}=l
|
|
1432
|
+
return t.createVNode("div",{class:["v-switch__thumb",a.value]},[e.loading&&t.createVNode(ya,{name:"v-switch",active:!0,color:!1===d.value?void 0:i.value},{default:e=>o.loader?o.loader(e):t.createVNode(Kl,{active:e.isActive,color:e.color,indeterminate:!0,size:"16",width:"2"},null)})])}})}})})),{}}}),Ns=ze({name:"VSystemBar",props:{color:String,height:[Number,String],window:Boolean,...nl(),...Je(),...il(),...tl(),...dt()},setup(e,l){let{slots:a}=l
|
|
1433
|
+
const{themeClasses:o}=ft(e),{backgroundColorClasses:n,backgroundColorStyles:r}=dl(t.toRef(e,"color")),{elevationClasses:i}=rl(e),{roundedClasses:s}=sl(e),u=t.computed((()=>e.height??(e.window?32:24))),{layoutItemStyles:c}=et({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")})
|
|
1434
|
+
return qe((()=>t.createVNode(e.tag,{class:["v-system-bar",{"v-system-bar--window":e.window},o.value,n.value,i.value,s.value],style:[r.value,c.value]},a))),{}}}),_s=Symbol.for("vuetify:v-tabs"),Bs=ze({name:"VTab",props:{fixed:Boolean,icon:[Boolean,String,Function,Object],prependIcon:Tl,appendIcon:Tl,stacked:Boolean,title:String,ripple:{type:Boolean,default:!0},color:String,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...tl(),..._a(),..._l({selectedClass:"v-tab--selected"}),...dt()},setup(e,l){let{slots:a,attrs:o}=l
|
|
1435
|
+
const{textColorClasses:n,textColorStyles:r}=cl(e,"sliderColor"),i=t.computed((()=>"horizontal"===e.direction)),s=t.ref(!1),u=t.ref(),c=t.ref()
|
|
1436
|
+
function d(e){let{value:t}=e
|
|
1437
|
+
if(s.value=t,t){var l,a
|
|
1438
|
+
const e=null==(l=u.value)||null==(a=l.$el.parentElement)?void 0:a.querySelector(".v-tab--selected .v-tab__slider"),t=c.value
|
|
1439
|
+
if(!e||!t)return
|
|
1440
|
+
const o=getComputedStyle(e).color,n=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=n[s]>r[s]?n[v]-r[v]:n[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?n[p]:r[p]))/Math.max(n[p],r[p]),h=1.5
|
|
1441
|
+
Z(t,{backgroundColor:[o,""],transform:[`translate${d}(${f}px) scale${d}(${n[p]/r[p]})`,`translate${d}(${f/h}px) scale${d}(${(g-1)/h+1})`,""],transformOrigin:Array(3).fill(m)},{duration:225,easing:He})}}return qe((()=>{const[l]=S(e,["href","to","replace","icon","stacked","prependIcon","appendIcon","ripple","theme","disabled","selectedClass","value","color"])
|
|
1442
|
+
return t.createVNode(Ia,t.mergeProps({_as:"VTab",symbol:_s,ref:u,class:["v-tab"],tabindex:s.value?0:-1,role:"tab","aria-selected":String(s.value),active:!1,block:e.fixed,maxWidth:e.fixed?300:void 0,variant:"text",rounded:0},l,o,{"onGroup:selected":d}),{default:()=>[a.default?a.default():e.title,!e.hideSlider&&t.createVNode("div",{ref:c,class:["v-tab__slider",n.value],style:r.value},null)]})})),{}}})
|
|
1443
|
+
const Is=ze({name:"VTabs",props:{alignWithTitle:Boolean,color:String,direction:{type:String,default:"horizontal"},fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,centered:Boolean,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,optional:Boolean,end:Boolean,sliderColor:String,modelValue:null,...bl(),...tl()},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
1444
|
+
const o=gl(e,"modelValue"),n=t.computed((()=>{return(t=e.items)?t.map((e=>"string"==typeof e?{title:e,value:e}:e)):[]
|
|
1445
|
+
var t})),{densityClasses:r}=Vl(e),{backgroundColorClasses:i,backgroundColorStyles:s}=dl(t.toRef(e,"bgColor"))
|
|
1446
|
+
return Oe({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")}}),qe((()=>t.createVNode(ws,{modelValue:o.value,"onUpdate:modelValue":e=>o.value=e,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:_s,mandatory:"force",direction:e.direction},{default:()=>[a.default?a.default():n.value.map((e=>t.createVNode(Bs,t.mergeProps(e,{key:e.title}),null)))]}))),{}}}),$s=ze({name:"VTable",props:{fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],...bl(),...tl(),...dt()},setup(e,l){let{slots:a}=l
|
|
1447
|
+
const{themeClasses:o}=ft(e),{densityClasses:n}=Vl(e)
|
|
1448
|
+
return qe((()=>{var l,r
|
|
1449
|
+
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},o.value,n.value]},{default:()=>[null==(l=a.top)?void 0:l.call(a),a.default&&t.createVNode("div",{class:"v-table__wrapper",style:{height:g(e.height)}},[t.createVNode("table",null,[a.default()])]),null==(r=a.bottom)?void 0:r.call(a)]})})),{}}}),As=ze({name:"VTextarea",directives:{Intersect:Zt},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,...Za(),...En()},emits:{"click:control":e=>!0,"update:modelValue":e=>!0},setup(e,l){let{attrs:a,emit:o,slots:n}=l
|
|
1450
|
+
const r=gl(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))
|
|
1451
|
+
function u(t,l){var a,o
|
|
1452
|
+
e.autofocus&&t&&(null==(a=l[0].target)||null==(o=a.focus)||o.call(a))}const c=t.ref(),d=t.ref(),v=t.ref(!1),p=t.ref(""),f=t.ref(),m=t.computed((()=>v.value||e.persistentPlaceholder)),h=t.computed((()=>e.messages.length?e.messages:m.value||e.persistentHint?e.hint:""))
|
|
1453
|
+
function y(){var e
|
|
1331
1454
|
f.value!==document.activeElement&&(null==(e=f.value)||e.focus())
|
|
1332
|
-
v.value||(v.value=!0)}function
|
|
1333
|
-
function
|
|
1334
|
-
const t=getComputedStyle(
|
|
1335
|
-
p.value=
|
|
1336
|
-
return t.onMounted(
|
|
1337
|
-
e?(
|
|
1338
|
-
null==(e=
|
|
1339
|
-
return t.createVNode(
|
|
1340
|
-
return t.createVNode(
|
|
1341
|
-
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:
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
return
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
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(al,{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)])}}),Gi=fe({name:"VTimelineItem",props:{dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:String,iconColor:String,...wt(),...Vt(),...qt(),...gt(),...st()},setup(e,l){let{slots:a}=l
|
|
1349
|
-
const n=t.inject(Xi)
|
|
1350
|
-
if(!n)throw new Error("[Vuetify] Could not find v-timeline provider")
|
|
1351
|
-
const{dimensionStyles:o}=ut(e),r=t.ref(0),i=t.ref()
|
|
1352
|
-
return t.watch(i,(e=>{var t,l
|
|
1353
|
-
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
|
|
1354
|
-
return t.createVNode("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":e.fillDot}],style:{"--v-timeline-dot-size":b(r.value)}},[t.createVNode("div",{class:"v-timeline-item__body",style:o.value},[null==(l=a.default)?void 0:l.call(a)]),t.createVNode(qi,{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))])])}}}),Ki=fe({name:"VTimeline",props:{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,default:"start",validator:e=>["none","start","end","both"].includes(e)},...Tt(),...gt(),...De()},setup(e,l){let{slots:a}=l
|
|
1355
|
-
const{themeClasses:n}=He(e),{densityClasses:o}=Lt(e)
|
|
1356
|
-
t.provide(Xi,{density:t.toRef(e,"density"),lineColor:t.toRef(e,"lineColor")})
|
|
1455
|
+
v.value||(v.value=!0)}function b(e){y(),o("click:control",e)}function V(l){l.stopPropagation(),y(),t.nextTick((()=>{r.value="",z(e["onClick:clear"],l)}))}function S(e){r.value=e.target.value}const k=t.ref()
|
|
1456
|
+
function C(){e.autoGrow&&t.nextTick((()=>{if(!k.value||!d.value)return
|
|
1457
|
+
const t=getComputedStyle(k.value),l=getComputedStyle(d.value.$el),a=parseFloat(t.getPropertyValue("--v-field-padding-top"))+parseFloat(t.getPropertyValue("--v-input-padding-top"))+parseFloat(t.getPropertyValue("--v-field-padding-bottom")),o=k.value.scrollHeight,n=parseFloat(t.lineHeight),r=Math.max(parseFloat(e.rows)*n+a,parseFloat(l.getPropertyValue("--v-input-control-height"))),i=parseFloat(e.maxRows)*n+a||1/0
|
|
1458
|
+
p.value=g(x(o??0,r,i))}))}let N
|
|
1459
|
+
return t.onMounted(C),t.watch(r,C),t.watch((()=>e.rows),C),t.watch((()=>e.maxRows),C),t.watch((()=>e.density),C),t.watch(k,(e=>{var t
|
|
1460
|
+
e?(N=new ResizeObserver(C),N.observe(k.value)):null==(t=N)||t.disconnect()})),t.onBeforeUnmount((()=>{var e
|
|
1461
|
+
null==(e=N)||e.disconnect()})),qe((()=>{const l=!!(n.counter||e.counter||e.counterValue),o=!(!l&&!n.details),[g,x]=w(a),[{modelValue:C,...N}]=Qa(e),[_]=Ln(e)
|
|
1462
|
+
return t.createVNode(Ja,t.mergeProps({ref:c,modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,class:["v-textarea v-text-field",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-text-field--flush-details":["plain","underlined"].includes(e.variant)}],"onClick:prepend":e["onClick:prepend"],"onClick:append":e["onClick:append"]},g,N,{messages:h.value}),{...n,default:l=>{let{isDisabled:a,isDirty:o,isReadonly:i,isValid:s}=l
|
|
1463
|
+
return t.createVNode(Rn,t.mergeProps({ref:d,style:{"--v-textarea-control-height":p.value},"onClick:control":b,"onClick:clear":V,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:"textbox"},_,{active:m.value||o.value,dirty:o.value||e.dirty,focused:v.value,error:!1===s.value}),{...n,default:l=>{let{props:{class:o,...n}}=l
|
|
1464
|
+
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:o,value:r.value,onInput:S,autofocus:e.autofocus,readonly:i.value,disabled:a.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:y,onBlur:()=>v.value=!1},n,x),null),[[t.resolveDirective("intersect"),{handler:u},null,{once:!0}]]),e.autoGrow&&t.withDirectives(t.createVNode("textarea",{class:[o,"v-textarea__sizer"],"onUpdate:modelValue":e=>r.value=e,ref:k,readonly:!0,"aria-hidden":"true"},null),[[t.vModelText,r.value]]),e.suffix&&t.createVNode("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:o?a=>{var o
|
|
1465
|
+
return t.createVNode(t.Fragment,null,[null==(o=n.details)?void 0:o.call(n,a),l&&t.createVNode(t.Fragment,null,[t.createVNode("span",null,null),t.createVNode(Tn,{active:e.persistentCounter||v.value,value:i.value,max:s.value},n.counter)])])}:void 0})})),Cn({},c,d,f)}}),Es=ze({name:"VThemeProvider",props:{withBackground:Boolean,...dt(),...tl()},setup(e,l){let{slots:a}=l
|
|
1466
|
+
const{themeClasses:o}=ft(e)
|
|
1467
|
+
return()=>{var l,n
|
|
1468
|
+
return e.withBackground?t.createVNode(e.tag,{class:["v-theme-provider",o.value]},{default:()=>[null==(n=a.default)?void 0:n.call(a)]}):null==(l=a.default)?void 0:l.call(a)}}}),Rs=ze({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)},justify:{type:String,default:"auto",validator:e=>["auto","center"].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)},...bl(),...tl(),...dt()},setup(e,l){let{slots:a}=l
|
|
1469
|
+
const{themeClasses:o}=ft(e),{densityClasses:n}=Vl(e)
|
|
1470
|
+
Oe({VTimelineDivider:{lineColor:t.toRef(e,"lineColor")},VTimelineItem:{density:t.toRef(e,"density"),lineInset:t.toRef(e,"lineInset")}})
|
|
1357
1471
|
const r=t.computed((()=>{const t=e.side?e.side:"default"!==e.density?"end":null
|
|
1358
|
-
return t&&`v-timeline--side-${t}`}))
|
|
1359
|
-
|
|
1360
|
-
return t
|
|
1361
|
-
|
|
1362
|
-
return
|
|
1363
|
-
return
|
|
1364
|
-
const
|
|
1472
|
+
return t&&`v-timeline--side-${t}`})),i=t.computed((()=>{const t=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"]
|
|
1473
|
+
switch(e.truncateLine){case"both":return t
|
|
1474
|
+
case"start":return t[0]
|
|
1475
|
+
case"end":return t[1]
|
|
1476
|
+
default:return null}}))
|
|
1477
|
+
return qe((()=>t.createVNode(e.tag,{class:["v-timeline",`v-timeline--${e.direction}`,`v-timeline--align-${e.align}`,`v-timeline--justify-${e.justify}`,i.value,{"v-timeline--inset-line":!!e.lineInset},o.value,n.value,r.value],style:{"--v-timeline-line-thickness":g(e.lineThickness)}},a))),{}}}),Ls=ze({name:"VTimelineDivider",props:{dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:Tl,iconColor:String,lineColor:String,...il(),...Ul(),...nl()},setup(e,l){let{slots:a}=l
|
|
1478
|
+
const{sizeClasses:o,sizeStyles:n}=Yl(e,"v-timeline-divider__dot"),{backgroundColorStyles:r,backgroundColorClasses:i}=dl(t.toRef(e,"dotColor")),{roundedClasses:s}=sl(e,"v-timeline-divider__dot"),{elevationClasses:u}=rl(e),{backgroundColorClasses:c,backgroundColorStyles:d}=dl(t.toRef(e,"lineColor"))
|
|
1479
|
+
return Oe({VIcon:{color:t.toRef(e,"iconColor"),icon:t.toRef(e,"icon"),size:t.toRef(e,"size")}}),qe((()=>{var l
|
|
1480
|
+
return t.createVNode("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":e.fillDot}]},[t.createVNode("div",{class:["v-timeline-divider__before",c.value],style:d.value},null),!e.hideDot&&t.createVNode("div",{key:"dot",class:["v-timeline-divider__dot",u.value,s.value,o.value],style:n.value},[t.createVNode("div",{class:["v-timeline-divider__inner-dot",i.value,s.value],style:r.value},[(null==(l=a.default)?void 0:l.call(a))??(e.icon?t.createVNode(ql,null,null):void 0)])]),t.createVNode("div",{class:["v-timeline-divider__after",c.value],style:d.value},null)])})),{}}}),Ts=ze({name:"VTimelineItem",props:{density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:Tl,iconColor:String,lineInset:[Number,String],...il(),...nl(),...Ul(),...tl(),...Xt()},setup(e,l){let{slots:a}=l
|
|
1481
|
+
const{dimensionStyles:o}=qt(e),n=t.ref(0),r=t.ref()
|
|
1482
|
+
return t.watch(r,(e=>{var t
|
|
1483
|
+
e&&(n.value=(null==(t=e.$el.querySelector(".v-timeline-divider__dot"))?void 0:t.getBoundingClientRect().width)??0)}),{flush:"post"}),qe((()=>{var l,i
|
|
1484
|
+
return t.createVNode("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":e.fillDot}],style:{"--v-timeline-dot-size":g(n.value),"--v-timeline-line-inset":e.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${g(e.lineInset)})`:g(0)}},[t.createVNode("div",{class:"v-timeline-item__body",style:o.value},[null==(l=a.default)?void 0:l.call(a)]),t.createVNode(Ls,{ref:r,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"!==e.density&&t.createVNode("div",{class:"v-timeline-item__opposite"},[!e.hideOpposite&&(null==(i=a.opposite)?void 0:i.call(a))])])})),{}}}),Ps=Fe()({name:"VTooltip",inheritAttrs:!1,props:{id:String,modelValue:Boolean,text:String,location:{type:String,default:"end"},origin:{type:String,default:"auto"},...Jt({transition:!1})},emits:{"update:modelValue":e=>!0},setup(e,l){let{attrs:a,slots:o}=l
|
|
1485
|
+
const n=gl(e,"modelValue"),{scopeId:r}=Nn(),i=Re(),s=t.computed((()=>e.id||`v-tooltip-${i}`)),u=t.ref(),c=t.computed((()=>e.location.split(" ").length>1?e.location:e.location+" center")),d=t.computed((()=>"auto"===e.origin||"overlap"===e.origin||e.origin.split(" ").length>1||e.location.split(" ").length>1?e.origin:e.origin+" center")),v=t.computed((()=>e.transition?e.transition:n.value?"scale-transition":"fade-transition"))
|
|
1486
|
+
return qe((()=>t.createVNode(kn,t.mergeProps({modelValue:n.value,"onUpdate:modelValue":e=>n.value=e,ref:u,class:["v-tooltip"],id:s.value,transition:v.value,absolute:!0,locationStrategy:"connected",scrollStrategy:"reposition",location:c.value,origin:d.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:o.activator,default:function(){for(var t,l=arguments.length,a=new Array(l),n=0;n<l;n++)a[n]=arguments[n]
|
|
1487
|
+
return(null==(t=o.default)?void 0:t.call(o,...a))??e.text}}))),Cn({},u)}}),Os=ze({name:"VValidation",props:{...qa()},emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:l}=t
|
|
1488
|
+
const a=Ga(e,"validation")
|
|
1365
1489
|
return()=>{var e
|
|
1366
1490
|
return null==(e=l.default)?void 0:e.call(l,a)}}})
|
|
1367
|
-
var
|
|
1368
|
-
function
|
|
1369
|
-
null!=(l=e._mutate)&&l[t.instance.$.uid]&&(e._mutate[t.instance.$.uid].observer.disconnect(),delete e._mutate[t.instance.$.uid])}const
|
|
1370
|
-
|
|
1371
|
-
null==
|
|
1372
|
-
|
|
1373
|
-
const
|
|
1374
|
-
|
|
1375
|
-
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
|
|
1491
|
+
var Ms=Object.freeze({__proto__:null,VApp:xt,VAppBar:hl,VAppBarNavIcon:$a,VAppBarTitle:Ea,VAlert:Ha,VAlertTitle:Ra,VAutocomplete:Hn,VAvatar:co,VBadge:Wn,VBanner:Qn,VBannerActions:Un,VBannerText:Yn,VBottomNavigation:er,VBreadcrumbs:ar,VBreadcrumbsItem:lr,VBreadcrumbsDivider:tr,VBtn:Ia,VBtnGroup:Cl,VBtnToggle:El,VCard:ur,VCardActions:or,VCardItem:ir,VCardSubtitle:nr,VCardText:sr,VCardTitle:rr,VCarousel:br,VCarouselItem:Vr,VCheckbox:so,VCheckboxBtn:io,VChip:fo,VChipGroup:po,VCode:Sr,VColorPicker:ci,VCombobox:di,VCounter:Tn,VDefaultsProvider:Ct,VDialog:vi,VDivider:mo,VExpansionPanels:mi,VExpansionPanel:bi,VExpansionPanelText:yi,VExpansionPanelTitle:hi,VField:Rn,VFieldLabel:Bn,VFileInput:Vi,VFooter:Si,VForm:wi,VContainer:ki,VCol:Ai,VRow:qi,VSpacer:Gi,VHover:Ki,VIcon:ql,VComponentIcon:Ml,VSvgIcon:zl,VLigatureIcon:Fl,VClassIcon:Dl,VImg:el,VInput:Ja,VItemGroup:Ji,VItem:Qi,VKbd:es,VLabel:eo,VLayout:ts,VLayoutItem:ls,VLazy:as,VList:Ho,VListGroup:Ao,VListImg:Wo,VListItem:Lo,VListItemAction:Uo,VListItemMedia:Yo,VListItemSubtitle:Eo,VListItemTitle:Ro,VListSubheader:To,VLocaleProvider:os,VMain:ns,VMenu:_n,VMessages:Wa,VNavigationDrawer:ds,VNoSsr:vs,VOverlay:kn,VPagination:ps,VParallax:fs,VProgressCircular:Kl,VProgressLinear:ma,VRadio:ms,VRadioGroup:gs,VRangeSlider:hs,VRating:ys,VResponsive:Gt,VSelect:zn,VSelectionControl:oo,VSelectionControlGroup:lo,VSheet:ui,VSlideGroup:ws,VSlideGroupItem:ks,VSlider:zr,VSnackbar:xs,VSwitch:Cs,VSystemBar:Ns,VTabs:Is,VTab:Bs,VTable:$s,VTextarea:As,VTextField:On,VThemeProvider:Es,VTimeline:Rs,VTimelineItem:Ts,VToolbar:fl,VToolbarTitle:ll,VToolbarItems:Aa,VTooltip:Ps,VValidation:Os,VWindow:gr,VWindowItem:yr,VDialogTransition:It,VFabTransition:Et,VDialogBottomTransition:Rt,VDialogTopTransition:Lt,VFadeTransition:Tt,VScaleTransition:Pt,VScrollXTransition:Ot,VScrollXReverseTransition:Mt,VScrollYTransition:zt,VScrollYReverseTransition:Ft,VSlideXTransition:Dt,VSlideXReverseTransition:jt,VSlideYTransition:Ht,VSlideYReverseTransition:Wt,VExpandTransition:Ut,VExpandXTransition:Yt})
|
|
1492
|
+
function zs(e,t){var l
|
|
1493
|
+
null!=(l=e._mutate)&&l[t.instance.$.uid]&&(e._mutate[t.instance.$.uid].observer.disconnect(),delete e._mutate[t.instance.$.uid])}const Fs={mounted:function(e,t){const l=t.modifiers||{},a=t.value,{once:o,immediate:n,...r}=l,i=!Object.keys(r).length,{handler:s,options:u}="object"==typeof a?a:{handler:a,options:{attributes:(null==r?void 0:r.attr)??i,characterData:(null==r?void 0:r.char)??i,childList:(null==r?void 0:r.child)??i,subtree:(null==r?void 0:r.sub)??i}},c=new MutationObserver((function(){let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0
|
|
1494
|
+
null==s||s(l,a),o&&zs(e,t)}))
|
|
1495
|
+
n&&(null==s||s([],c)),e._mutate=Object(e._mutate),e._mutate[t.instance.$.uid]={observer:c},c.observe(e,u)},unmounted:zs}
|
|
1496
|
+
const Ds={mounted:function(e,t){var l,a
|
|
1497
|
+
const o=t.value,n={passive:!(null!=(l=t.modifiers)&&l.active)}
|
|
1498
|
+
window.addEventListener("resize",o,n),e._onResize=Object(e._onResize),e._onResize[t.instance.$.uid]={handler:o,options:n},null!=(a=t.modifiers)&&a.quiet||o()},unmounted:function(e,t){var l
|
|
1376
1499
|
if(null==(l=e._onResize)||!l[t.instance.$.uid])return
|
|
1377
|
-
const{handler:a,options:
|
|
1378
|
-
window.removeEventListener("resize",a,
|
|
1379
|
-
function
|
|
1380
|
-
|
|
1381
|
-
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 ns(e,t){var l
|
|
1500
|
+
const{handler:a,options:o}=e._onResize[t.instance.$.uid]
|
|
1501
|
+
window.removeEventListener("resize",a,o),delete e._onResize[t.instance.$.uid]}}
|
|
1502
|
+
function js(e,t){const{self:l=!1}=t.modifiers??{},a=t.value,o="object"==typeof a&&a.options||{passive:!0},n="function"==typeof a||"handleEvent"in a?a:a.handler,r=l?e:t.arg?document.querySelector(t.arg):window
|
|
1503
|
+
r&&(r.addEventListener("scroll",n,o),e._onScroll=Object(e._onScroll),e._onScroll[t.instance.$.uid]={handler:n,options:o,target:l?void 0:r})}function Hs(e,t){var l
|
|
1382
1504
|
if(null==(l=e._onScroll)||!l[t.instance.$.uid])return
|
|
1383
|
-
const{handler:a,options:
|
|
1384
|
-
|
|
1385
|
-
var
|
|
1386
|
-
|
|
1387
|
-
const
|
|
1388
|
-
for(const
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
return{
|
|
1396
|
-
e.components=
|
|
1397
|
-
return us({components:Qi,directives:rs,...e})},e.directives=rs,e.provideRtl=nt,e.useDisplay=so,e.useLayout=Ke,e.useRtl=ot,e.useTheme=We,e.version="3.0.0-beta.0",Object.defineProperty(e,"__esModule",{value:!0})}))
|
|
1505
|
+
const{handler:a,options:o,target:n=e}=e._onScroll[t.instance.$.uid]
|
|
1506
|
+
n.removeEventListener("scroll",a,o),delete e._onScroll[t.instance.$.uid]}const Ws={mounted:js,unmounted:Hs,updated:function(e,t){t.value!==t.oldValue&&(Hs(e,t),js(e,t))}}
|
|
1507
|
+
var Us=Object.freeze({__proto__:null,ClickOutside:Sn,Intersect:Zt,Mutate:Fs,Resize:Ds,Ripple:fa,Scroll:Ws,Touch:pr})
|
|
1508
|
+
function Ys(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|
1509
|
+
const{blueprint:l,...a}=e,o=_(l,a),{aliases:n={},components:r={},directives:i={}}=o,s=Te(o.defaults),u=Zn(o.display,o.ssr),c=pt(o.theme),d=Hl(o.icons),v=Oa(o.locale),p=e=>{for(const t in i)e.directive(t,i[t])
|
|
1510
|
+
for(const t in r)e.component(t,r[t])
|
|
1511
|
+
for(const t in n)e.component(t,ze({...n[t],name:t,aliasName:n[t].name}))
|
|
1512
|
+
c.install(e),v.install(e),e.provide(Le,s),e.provide(Xn,u),e.provide(ct,c),e.provide(Pl,d),e.provide(La,v.adapter),Re.reset(),e.mixin({computed:{$vuetify(){return t.reactive({defaults:Xs.call(this,Le),display:Xs.call(this,Xn),theme:Xs.call(this,ct),icons:Xs.call(this,Pl),locale:Xs.call(this,La),rtl:Xs.call(this,Vt)})}}})}
|
|
1513
|
+
return{install:p,defaults:s,display:u,theme:c,icons:d,locale:v.adapter}}function Xs(e){var t,l
|
|
1514
|
+
const a=this.$,o=(null==(t=a.parent)?void 0:t.provides)??(null==(l=a.vnode.appContext)?void 0:l.provides)
|
|
1515
|
+
if(o&&e in o)return o[e]}Ys.version="3.0.0-beta.13"
|
|
1516
|
+
const qs=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|
1517
|
+
return Ys({components:Ms,directives:Us,...e})},Gs="3.0.0-beta.13"
|
|
1518
|
+
qs.version=Gs,e.components=Ms,e.createVuetify=qs,e.directives=Us,e.provideRtl=wt,e.useDisplay=Jn,e.useLayout=Qe,e.useLocale=Pa,e.useRtl=kt,e.useTheme=mt,e.version=Gs,Object.defineProperty(e,"__esModule",{value:!0})}))
|
|
1398
1519
|
//# sourceMappingURL=vuetify.min.js.map
|