@vuetify/nightly 3.0.0-beta.13 → 3.0.0-beta.15
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 +23 -5
- package/dist/json/importMap.json +26 -30
- package/dist/vuetify.css +262 -173
- package/dist/vuetify.d.ts +16645 -7306
- package/dist/vuetify.esm.js +1040 -2004
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +1038 -2003
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +531 -537
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.ts +24 -32
- package/lib/blueprints/index.mjs.map +1 -1
- package/lib/blueprints/md1.d.ts +24 -32
- package/lib/blueprints/md1.mjs +3 -1
- package/lib/blueprints/md1.mjs.map +1 -1
- package/lib/blueprints/md2.d.ts +24 -32
- package/lib/blueprints/md2.mjs +3 -1
- package/lib/blueprints/md2.mjs.map +1 -1
- package/lib/blueprints/md3.d.ts +24 -32
- package/lib/blueprints/md3.mjs +2 -2
- package/lib/blueprints/md3.mjs.map +1 -1
- package/lib/components/VAlert/VAlert.mjs +2 -9
- package/lib/components/VAlert/VAlert.mjs.map +1 -1
- package/lib/components/VAlert/VAlertTitle.mjs.map +1 -1
- package/lib/components/VAlert/index.d.ts +7 -5
- package/lib/components/VAlert/index.mjs.map +1 -1
- package/lib/components/VApp/VApp.mjs +5 -7
- package/lib/components/VApp/VApp.mjs.map +1 -1
- package/lib/components/VApp/index.d.ts +4 -2
- package/lib/components/VApp/index.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBar.mjs +4 -8
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBarNavIcon.mjs +0 -4
- package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBarTitle.mjs +2 -4
- package/lib/components/VAppBar/VAppBarTitle.mjs.map +1 -1
- package/lib/components/VAppBar/index.d.ts +7 -3
- package/lib/components/VAppBar/index.mjs.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.css +18 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs +16 -35
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.sass +11 -1
- package/lib/components/VAutocomplete/_variables.scss +1 -0
- package/lib/components/VAutocomplete/index.d.ts +267 -376
- package/lib/components/VAutocomplete/index.mjs.map +1 -1
- package/lib/components/VAvatar/VAvatar.mjs +3 -7
- package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
- package/lib/components/VAvatar/index.d.ts +5 -3
- package/lib/components/VAvatar/index.mjs.map +1 -1
- package/lib/components/VBadge/VBadge.mjs +2 -6
- package/lib/components/VBadge/VBadge.mjs.map +1 -1
- package/lib/components/VBadge/index.mjs.map +1 -1
- package/lib/components/VBanner/VBanner.mjs +5 -7
- package/lib/components/VBanner/VBanner.mjs.map +1 -1
- package/lib/components/VBanner/VBannerActions.mjs +0 -4
- package/lib/components/VBanner/VBannerActions.mjs.map +1 -1
- package/lib/components/VBanner/VBannerText.mjs.map +1 -1
- package/lib/components/VBanner/index.d.ts +7 -3
- package/lib/components/VBanner/index.mjs.map +1 -1
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs +2 -5
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
- package/lib/components/VBottomNavigation/index.d.ts +5 -3
- package/lib/components/VBottomNavigation/index.mjs.map +1 -1
- package/lib/components/VBottomSheet/VBottomSheet.mjs +5 -5
- package/lib/components/VBottomSheet/VBottomSheet.mjs.map +1 -1
- package/lib/components/VBottomSheet/index.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +5 -9
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +0 -5
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/index.d.ts +50 -40
- package/lib/components/VBreadcrumbs/index.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.mjs +2 -10
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/index.d.ts +5 -3
- package/lib/components/VBtn/index.mjs.map +1 -1
- package/lib/components/VBtnGroup/VBtnGroup.mjs +2 -4
- package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -1
- package/lib/components/VBtnGroup/index.d.ts +6 -3
- package/lib/components/VBtnGroup/index.mjs.map +1 -1
- package/lib/components/VBtnToggle/VBtnToggle.mjs +2 -7
- package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
- package/lib/components/VBtnToggle/index.d.ts +20 -25
- package/lib/components/VBtnToggle/index.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendar.mjs +6 -67
- package/lib/components/VCalendar/VCalendar.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendarCategory.mjs +7 -18
- package/lib/components/VCalendar/VCalendarCategory.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendarDaily.mjs +3 -34
- package/lib/components/VCalendar/VCalendarDaily.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendarMonthly.mjs +3 -7
- package/lib/components/VCalendar/VCalendarMonthly.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendarWeekly.mjs +3 -32
- 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 +1 -19
- package/lib/components/VCalendar/mixins/calendar-base.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/calendar-with-events.mjs +14 -78
- package/lib/components/VCalendar/mixins/calendar-with-events.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/calendar-with-intervals.mjs +0 -30
- package/lib/components/VCalendar/mixins/calendar-with-intervals.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/mouse.mjs +7 -17
- package/lib/components/VCalendar/mixins/mouse.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/times.mjs +1 -9
- package/lib/components/VCalendar/mixins/times.mjs.map +1 -1
- package/lib/components/VCalendar/modes/column.mjs +0 -3
- package/lib/components/VCalendar/modes/column.mjs.map +1 -1
- package/lib/components/VCalendar/modes/common.mjs +0 -14
- package/lib/components/VCalendar/modes/common.mjs.map +1 -1
- package/lib/components/VCalendar/modes/index.mjs +0 -1
- package/lib/components/VCalendar/modes/index.mjs.map +1 -1
- package/lib/components/VCalendar/modes/stack.mjs +3 -45
- package/lib/components/VCalendar/modes/stack.mjs.map +1 -1
- package/lib/components/VCalendar/util/events.mjs +0 -1
- package/lib/components/VCalendar/util/events.mjs.map +1 -1
- package/lib/components/VCalendar/util/parser.mjs +3 -4
- package/lib/components/VCalendar/util/parser.mjs.map +1 -1
- package/lib/components/VCalendar/util/props.mjs +0 -13
- package/lib/components/VCalendar/util/props.mjs.map +1 -1
- package/lib/components/VCalendar/util/timestamp.mjs +2 -64
- package/lib/components/VCalendar/util/timestamp.mjs.map +1 -1
- package/lib/components/VCard/VCard.mjs +3 -8
- package/lib/components/VCard/VCard.mjs.map +1 -1
- package/lib/components/VCard/VCardActions.mjs +0 -4
- package/lib/components/VCard/VCardActions.mjs.map +1 -1
- package/lib/components/VCard/VCardItem.mjs +0 -5
- package/lib/components/VCard/VCardItem.mjs.map +1 -1
- package/lib/components/VCard/VCardSubtitle.mjs.map +1 -1
- package/lib/components/VCard/VCardText.mjs.map +1 -1
- package/lib/components/VCard/VCardTitle.mjs.map +1 -1
- package/lib/components/VCard/index.d.ts +13 -6
- package/lib/components/VCard/index.mjs.map +1 -1
- package/lib/components/VCarousel/VCarousel.mjs +5 -9
- package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/lib/components/VCarousel/VCarouselItem.mjs +0 -3
- package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
- package/lib/components/VCarousel/index.d.ts +1 -0
- package/lib/components/VCarousel/index.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckbox.mjs +6 -6
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs +7 -15
- package/lib/components/VCheckbox/VCheckboxBtn.mjs.map +1 -1
- package/lib/components/VCheckbox/index.d.ts +24 -22
- package/lib/components/VCheckbox/index.mjs.map +1 -1
- package/lib/components/VChip/VChip.css +25 -0
- package/lib/components/VChip/VChip.mjs +2 -10
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/VChip.sass +1 -0
- package/lib/components/VChip/index.d.ts +5 -3
- package/lib/components/VChip/index.mjs.map +1 -1
- package/lib/components/VChipGroup/VChipGroup.mjs +5 -6
- package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
- package/lib/components/VChipGroup/index.mjs.map +1 -1
- package/lib/components/VCode/index.d.ts +1 -0
- package/lib/components/VCode/index.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPicker.mjs +9 -12
- package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs +5 -20
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerEdit.mjs +6 -10
- package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerPreview.mjs +6 -8
- package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerSwatches.mjs +2 -6
- package/lib/components/VColorPicker/VColorPickerSwatches.mjs.map +1 -1
- package/lib/components/VColorPicker/index.mjs.map +1 -1
- package/lib/components/VColorPicker/util/index.mjs +24 -26
- package/lib/components/VColorPicker/util/index.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.css +13 -0
- package/lib/components/VCombobox/VCombobox.mjs +23 -50
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.sass +5 -0
- package/lib/components/VCombobox/_variables.scss +1 -0
- package/lib/components/VCombobox/index.d.ts +275 -384
- package/lib/components/VCombobox/index.mjs.map +1 -1
- package/lib/components/VCounter/VCounter.mjs +2 -5
- package/lib/components/VCounter/VCounter.mjs.map +1 -1
- package/lib/components/VCounter/index.d.ts +1 -0
- package/lib/components/VCounter/index.mjs.map +1 -1
- package/lib/components/VData/VData.mjs +9 -67
- package/lib/components/VData/VData.mjs.map +1 -1
- package/lib/components/VData/index.mjs.map +1 -1
- package/lib/components/VDataIterator/VDataFooter.mjs +6 -25
- package/lib/components/VDataIterator/VDataFooter.mjs.map +1 -1
- package/lib/components/VDataIterator/VDataIterator.mjs +12 -51
- package/lib/components/VDataIterator/VDataIterator.mjs.map +1 -1
- package/lib/components/VDataIterator/index.mjs.map +1 -1
- package/lib/components/VDataTable/MobileRow.mjs +3 -8
- package/lib/components/VDataTable/MobileRow.mjs.map +1 -1
- package/lib/components/VDataTable/Row.mjs +1 -8
- package/lib/components/VDataTable/Row.mjs.map +1 -1
- package/lib/components/VDataTable/RowGroup.mjs +1 -7
- package/lib/components/VDataTable/RowGroup.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTable.mjs +42 -90
- package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableHeader.mjs +6 -10
- package/lib/components/VDataTable/VDataTableHeader.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaderDesktop.mjs +0 -18
- package/lib/components/VDataTable/VDataTableHeaderDesktop.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaderMobile.mjs +0 -9
- package/lib/components/VDataTable/VDataTableHeaderMobile.mjs.map +1 -1
- package/lib/components/VDataTable/VEditDialog.mjs +3 -17
- package/lib/components/VDataTable/VEditDialog.mjs.map +1 -1
- package/lib/components/VDataTable/VVirtualTable.mjs +3 -28
- package/lib/components/VDataTable/VVirtualTable.mjs.map +1 -1
- package/lib/components/VDataTable/index.mjs +0 -1
- package/lib/components/VDataTable/index.mjs.map +1 -1
- package/lib/components/VDataTable/mixins/header.mjs +0 -5
- package/lib/components/VDataTable/mixins/header.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.mjs +2 -69
- package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerDateTable.mjs +1 -29
- package/lib/components/VDatePicker/VDatePickerDateTable.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerHeader.mjs +4 -17
- package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonthTable.mjs +1 -12
- package/lib/components/VDatePicker/VDatePickerMonthTable.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerTitle.mjs +4 -15
- package/lib/components/VDatePicker/VDatePickerTitle.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerYears.mjs +4 -18
- 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 +6 -33
- package/lib/components/VDatePicker/mixins/date-picker-table.mjs.map +1 -1
- package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs +0 -5
- package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs.map +1 -1
- package/lib/components/VDatePicker/util/eventHelpers.mjs +2 -3
- package/lib/components/VDatePicker/util/eventHelpers.mjs.map +1 -1
- package/lib/components/VDatePicker/util/index.mjs +0 -1
- package/lib/components/VDatePicker/util/index.mjs.map +1 -1
- package/lib/components/VDatePicker/util/isDateAllowed.mjs +1 -1
- package/lib/components/VDatePicker/util/isDateAllowed.mjs.map +1 -1
- package/lib/components/VDatePicker/util/monthChange.mjs +0 -3
- package/lib/components/VDatePicker/util/monthChange.mjs.map +1 -1
- package/lib/components/VDatePicker/util/pad.mjs +1 -6
- 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 +2 -4
- package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs.map +1 -1
- package/lib/components/VDefaultsProvider/index.d.ts +1 -0
- package/lib/components/VDefaultsProvider/index.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.mjs +7 -20
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/index.d.ts +1208 -188
- package/lib/components/VDialog/index.mjs.map +1 -1
- package/lib/components/VDivider/VDivider.mjs +2 -8
- package/lib/components/VDivider/VDivider.mjs.map +1 -1
- package/lib/components/VDivider/index.d.ts +1 -0
- package/lib/components/VDivider/index.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs +0 -5
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +2 -6
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +3 -8
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs +2 -5
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.mjs.map +1 -1
- package/lib/components/VField/VField.css +1 -1
- package/lib/components/VField/VField.mjs +4 -11
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VField.sass +0 -1
- package/lib/components/VField/VFieldLabel.mjs +0 -3
- package/lib/components/VField/VFieldLabel.mjs.map +1 -1
- package/lib/components/VField/index.d.ts +33 -59
- package/lib/components/VField/index.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.css +16 -0
- package/lib/components/VFileInput/VFileInput.mjs +6 -20
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.sass +10 -0
- package/lib/components/VFileInput/_variables.scss +2 -0
- package/lib/components/VFileInput/index.d.ts +233 -5
- package/lib/components/VFileInput/index.mjs.map +1 -1
- package/lib/components/VFooter/VFooter.mjs +2 -4
- package/lib/components/VFooter/VFooter.mjs.map +1 -1
- package/lib/components/VFooter/index.d.ts +1 -0
- package/lib/components/VFooter/index.mjs.map +1 -1
- package/lib/components/VForm/VForm.mjs +2 -13
- package/lib/components/VForm/VForm.mjs.map +1 -1
- package/lib/components/VForm/index.d.ts +1 -1
- package/lib/components/VForm/index.mjs.map +1 -1
- package/lib/components/VGrid/VCol.mjs +8 -23
- package/lib/components/VGrid/VCol.mjs.map +1 -1
- package/lib/components/VGrid/VContainer.mjs +2 -4
- package/lib/components/VGrid/VContainer.mjs.map +1 -1
- package/lib/components/VGrid/VRow.mjs +6 -24
- 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 +2 -0
- package/lib/components/VGrid/index.mjs.map +1 -1
- package/lib/components/VHover/VHover.mjs +0 -4
- package/lib/components/VHover/VHover.mjs.map +1 -1
- package/lib/components/VHover/index.d.ts +1 -0
- package/lib/components/VHover/index.mjs.map +1 -1
- package/lib/components/VIcon/VIcon.mjs +2 -8
- package/lib/components/VIcon/VIcon.mjs.map +1 -1
- package/lib/components/VIcon/index.d.ts +1 -0
- package/lib/components/VIcon/index.mjs.map +1 -1
- package/lib/components/VImg/VImg.mjs +9 -35
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VImg/index.d.ts +8 -4
- package/lib/components/VImg/index.mjs.map +1 -1
- package/lib/components/VInput/InputIcon.mjs +0 -2
- package/lib/components/VInput/InputIcon.mjs.map +1 -1
- package/lib/components/VInput/VInput.mjs +5 -9
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/index.d.ts +29 -45
- package/lib/components/VInput/index.mjs.map +1 -1
- package/lib/components/VItemGroup/VItem.mjs +0 -5
- package/lib/components/VItemGroup/VItem.mjs.map +1 -1
- package/lib/components/VItemGroup/VItemGroup.mjs +4 -6
- package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
- package/lib/components/VItemGroup/index.d.ts +19 -25
- package/lib/components/VItemGroup/index.mjs.map +1 -1
- package/lib/components/VKbd/index.d.ts +1 -0
- package/lib/components/VKbd/index.mjs.map +1 -1
- package/lib/components/VLabel/VLabel.mjs +2 -5
- package/lib/components/VLabel/VLabel.mjs.map +1 -1
- package/lib/components/VLabel/index.mjs.map +1 -1
- package/lib/components/VLayout/VLayout.mjs +2 -5
- package/lib/components/VLayout/VLayout.mjs.map +1 -1
- package/lib/components/VLayout/VLayoutItem.mjs +2 -6
- package/lib/components/VLayout/VLayoutItem.mjs.map +1 -1
- package/lib/components/VLayout/index.d.ts +5 -2
- package/lib/components/VLayout/index.mjs.map +1 -1
- package/lib/components/VLazy/VLazy.mjs +0 -8
- package/lib/components/VLazy/VLazy.mjs.map +1 -1
- package/lib/components/VLazy/index.d.ts +1 -0
- package/lib/components/VLazy/index.mjs.map +1 -1
- package/lib/components/VList/VList.mjs +2 -11
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VListChildren.mjs +12 -21
- package/lib/components/VList/VListChildren.mjs.map +1 -1
- package/lib/components/VList/VListGroup.mjs +1 -12
- package/lib/components/VList/VListGroup.mjs.map +1 -1
- package/lib/components/VList/VListImg.mjs.map +1 -1
- package/lib/components/VList/VListItem.mjs +2 -12
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItemAction.mjs +0 -3
- package/lib/components/VList/VListItemAction.mjs.map +1 -1
- package/lib/components/VList/VListItemMedia.mjs +0 -3
- 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 +0 -4
- package/lib/components/VList/VListSubheader.mjs.map +1 -1
- package/lib/components/VList/index.d.ts +147 -170
- package/lib/components/VList/index.mjs.map +1 -1
- package/lib/components/VList/list.mjs +5 -2
- package/lib/components/VList/list.mjs.map +1 -1
- package/lib/components/VLocaleProvider/VLocaleProvider.mjs +4 -9
- package/lib/components/VLocaleProvider/VLocaleProvider.mjs.map +1 -1
- package/lib/components/VLocaleProvider/index.d.ts +1 -0
- package/lib/components/VLocaleProvider/index.mjs.map +1 -1
- package/lib/components/VMain/VMain.mjs +2 -5
- package/lib/components/VMain/VMain.mjs.map +1 -1
- package/lib/components/VMain/index.d.ts +1 -0
- package/lib/components/VMain/index.mjs.map +1 -1
- package/lib/components/VMenu/VMenu.mjs +3 -14
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.ts +1203 -183
- package/lib/components/VMenu/index.mjs.map +1 -1
- package/lib/components/VMenu/shared.mjs.map +1 -1
- package/lib/components/VMessages/VMessages.mjs +2 -6
- package/lib/components/VMessages/VMessages.mjs.map +1 -1
- package/lib/components/VMessages/index.d.ts +1 -0
- package/lib/components/VMessages/index.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +6 -11
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/index.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/sticky.mjs +0 -4
- package/lib/components/VNavigationDrawer/sticky.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/touch.mjs +2 -15
- package/lib/components/VNavigationDrawer/touch.mjs.map +1 -1
- package/lib/components/VNoSsr/VNoSsr.mjs +0 -4
- package/lib/components/VNoSsr/VNoSsr.mjs.map +1 -1
- package/lib/components/VNoSsr/index.d.ts +1 -0
- package/lib/components/VNoSsr/index.mjs.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.mjs +7 -58
- package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
- package/lib/components/VOtpInput/index.mjs.map +1 -1
- package/lib/components/VOverflowBtn/VOverflowBtn.mjs +7 -19
- package/lib/components/VOverflowBtn/VOverflowBtn.mjs.map +1 -1
- package/lib/components/VOverflowBtn/index.mjs.map +1 -1
- package/lib/components/VOverlay/VOverlay.mjs +8 -17
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/index.d.ts +32 -60
- package/lib/components/VOverlay/index.mjs.map +1 -1
- package/lib/components/VOverlay/locationStrategies.mjs +23 -56
- package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
- package/lib/components/VOverlay/requestNewFrame.mjs +1 -2
- package/lib/components/VOverlay/requestNewFrame.mjs.map +1 -1
- package/lib/components/VOverlay/scrollStrategies.mjs +2 -18
- package/lib/components/VOverlay/scrollStrategies.mjs.map +1 -1
- package/lib/components/VOverlay/useActivator.mjs +6 -32
- package/lib/components/VOverlay/useActivator.mjs.map +1 -1
- package/lib/components/VOverlay/util/point.mjs +3 -4
- package/lib/components/VOverlay/util/point.mjs.map +1 -1
- package/lib/components/VPagination/VPagination.mjs +11 -23
- package/lib/components/VPagination/VPagination.mjs.map +1 -1
- package/lib/components/VPagination/index.d.ts +5 -3
- package/lib/components/VPagination/index.mjs.map +1 -1
- package/lib/components/VParallax/VParallax.mjs +6 -12
- package/lib/components/VParallax/VParallax.mjs.map +1 -1
- package/lib/components/VParallax/index.mjs.map +1 -1
- package/lib/components/VPicker/VPicker.mjs +3 -12
- package/lib/components/VPicker/VPicker.mjs.map +1 -1
- package/lib/components/VPicker/index.mjs.map +1 -1
- package/lib/components/VProgressCircular/VProgressCircular.mjs +2 -5
- package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
- package/lib/components/VProgressCircular/index.d.ts +1 -0
- package/lib/components/VProgressCircular/index.mjs.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.mjs +5 -8
- package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
- package/lib/components/VProgressLinear/index.d.ts +1 -0
- package/lib/components/VProgressLinear/index.mjs.map +1 -1
- package/lib/components/VRadio/VRadio.mjs +2 -4
- package/lib/components/VRadio/VRadio.mjs.map +1 -1
- package/lib/components/VRadio/index.d.ts +13 -11
- package/lib/components/VRadio/index.mjs.map +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.mjs +15 -20
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.ts +26 -38
- package/lib/components/VRadioGroup/index.mjs.map +1 -1
- package/lib/components/VRangeSlider/VRangeSlider.mjs +13 -26
- package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
- package/lib/components/VRangeSlider/index.d.ts +5 -3
- package/lib/components/VRangeSlider/index.mjs.map +1 -1
- package/lib/components/VRating/VRating.mjs +4 -22
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VRating/index.d.ts +32 -40
- package/lib/components/VRating/index.mjs.map +1 -1
- package/lib/components/VResponsive/VResponsive.mjs +2 -5
- package/lib/components/VResponsive/VResponsive.mjs.map +1 -1
- package/lib/components/VResponsive/index.d.ts +1 -0
- package/lib/components/VResponsive/index.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.css +13 -0
- package/lib/components/VSelect/VSelect.mjs +9 -22
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.sass +6 -0
- package/lib/components/VSelect/_variables.scss +1 -0
- package/lib/components/VSelect/index.d.ts +4264 -776
- package/lib/components/VSelect/index.mjs.map +1 -1
- package/lib/components/VSelectionControl/VSelectionControl.mjs +14 -58
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControl/index.d.ts +62 -78
- package/lib/components/VSelectionControl/index.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +1 -0
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +56 -28
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.sass +1 -0
- package/lib/components/VSelectionControlGroup/index.d.ts +53 -4
- package/lib/components/VSelectionControlGroup/index.mjs.map +1 -1
- package/lib/components/VSheet/VSheet.mjs +2 -4
- package/lib/components/VSheet/VSheet.mjs.map +1 -1
- package/lib/components/VSheet/index.d.ts +1 -0
- package/lib/components/VSheet/index.mjs.map +1 -1
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +19 -32
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
- package/lib/components/VSkeletonLoader/index.mjs.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroup.mjs +16 -47
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroupItem.mjs +5 -9
- package/lib/components/VSlideGroup/VSlideGroupItem.mjs.map +1 -1
- package/lib/components/VSlideGroup/helpers.mjs +0 -2
- package/lib/components/VSlideGroup/helpers.mjs.map +1 -1
- package/lib/components/VSlideGroup/index.d.ts +342 -59
- package/lib/components/VSlideGroup/index.mjs.map +1 -1
- package/lib/components/VSlider/VSlider.mjs +6 -9
- package/lib/components/VSlider/VSlider.mjs.map +1 -1
- package/lib/components/VSlider/VSliderThumb.mjs +4 -15
- package/lib/components/VSlider/VSliderThumb.mjs.map +1 -1
- package/lib/components/VSlider/VSliderTrack.mjs +6 -8
- package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
- package/lib/components/VSlider/index.d.ts +5 -3
- package/lib/components/VSlider/index.mjs.map +1 -1
- package/lib/components/VSlider/slider.mjs +6 -27
- package/lib/components/VSlider/slider.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.mjs +3 -10
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.ts +1215 -191
- package/lib/components/VSnackbar/index.mjs.map +1 -1
- package/lib/components/VSparkline/VSparkline.mjs +5 -40
- package/lib/components/VSparkline/VSparkline.mjs.map +1 -1
- package/lib/components/VSparkline/helpers/core.mjs +1 -1
- package/lib/components/VSparkline/helpers/core.mjs.map +1 -1
- package/lib/components/VSparkline/helpers/math.mjs +2 -3
- package/lib/components/VSparkline/helpers/math.mjs.map +1 -1
- package/lib/components/VSparkline/helpers/path.mjs +0 -4
- 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 +3 -12
- package/lib/components/VSpeedDial/VSpeedDial.mjs.map +1 -1
- package/lib/components/VSpeedDial/index.mjs.map +1 -1
- package/lib/components/VStepper/VStepper.mjs +5 -24
- package/lib/components/VStepper/VStepper.mjs.map +1 -1
- package/lib/components/VStepper/VStepperContent.mjs +4 -25
- package/lib/components/VStepper/VStepperContent.mjs.map +1 -1
- package/lib/components/VStepper/VStepperStep.mjs +0 -24
- package/lib/components/VStepper/VStepperStep.mjs.map +1 -1
- package/lib/components/VStepper/index.mjs.map +1 -1
- package/lib/components/VSwitch/VSwitch.mjs +14 -15
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/index.d.ts +15 -11
- package/lib/components/VSwitch/index.mjs.map +1 -1
- package/lib/components/VSystemBar/VSystemBar.mjs +2 -4
- package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
- package/lib/components/VSystemBar/index.d.ts +1 -0
- package/lib/components/VSystemBar/index.mjs.map +1 -1
- package/lib/components/VTable/VTable.css +3 -3
- package/lib/components/VTable/VTable.mjs +5 -6
- package/lib/components/VTable/VTable.mjs.map +1 -1
- package/lib/components/VTable/VTable.sass +9 -3
- package/lib/components/VTable/index.d.ts +8 -3
- package/lib/components/VTable/index.mjs.map +1 -1
- package/lib/components/VTabs/VTab.mjs +2 -10
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTabs/VTabs.css +5 -5
- package/lib/components/VTabs/VTabs.mjs +12 -17
- package/lib/components/VTabs/VTabs.mjs.map +1 -1
- package/lib/components/VTabs/VTabs.sass +4 -4
- package/lib/components/VTabs/_variables.scss +1 -1
- package/lib/components/VTabs/index.d.ts +23 -15
- package/lib/components/VTabs/index.mjs.map +1 -1
- package/lib/components/VTabs/shared.mjs.map +1 -1
- package/lib/components/VTextField/VTextField.mjs +13 -24
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/index.d.ts +1375 -191
- package/lib/components/VTextField/index.mjs.map +1 -1
- package/lib/components/VTextarea/VTextarea.mjs +6 -24
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/index.d.ts +233 -5
- package/lib/components/VTextarea/index.mjs.map +1 -1
- package/lib/components/VThemeProvider/VThemeProvider.mjs +2 -5
- package/lib/components/VThemeProvider/VThemeProvider.mjs.map +1 -1
- package/lib/components/VThemeProvider/index.d.ts +1 -0
- package/lib/components/VThemeProvider/index.mjs.map +1 -1
- package/lib/components/VTimePicker/SelectingTimes.mjs +0 -3
- package/lib/components/VTimePicker/SelectingTimes.mjs.map +1 -1
- package/lib/components/VTimePicker/VTimePicker.mjs +3 -53
- package/lib/components/VTimePicker/VTimePicker.mjs.map +1 -1
- package/lib/components/VTimePicker/VTimePickerClock.mjs +6 -42
- package/lib/components/VTimePicker/VTimePickerClock.mjs.map +1 -1
- package/lib/components/VTimePicker/VTimePickerTitle.mjs +4 -13
- package/lib/components/VTimePicker/VTimePickerTitle.mjs.map +1 -1
- package/lib/components/VTimePicker/index.mjs.map +1 -1
- package/lib/components/VTimeline/VTimeline.mjs +2 -9
- package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
- package/lib/components/VTimeline/VTimelineDivider.mjs +0 -5
- package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -1
- package/lib/components/VTimeline/VTimelineItem.mjs +0 -6
- package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
- package/lib/components/VTimeline/index.d.ts +7 -3
- package/lib/components/VTimeline/index.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbar.mjs +2 -8
- package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbarItems.mjs +0 -4
- package/lib/components/VToolbar/VToolbarItems.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbarTitle.mjs +0 -5
- package/lib/components/VToolbar/VToolbarTitle.mjs.map +1 -1
- package/lib/components/VToolbar/index.d.ts +34 -71
- package/lib/components/VToolbar/index.mjs.map +1 -1
- package/lib/components/VTooltip/VTooltip.mjs +2 -8
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VTooltip/index.d.ts +1196 -176
- package/lib/components/VTooltip/index.mjs.map +1 -1
- package/lib/components/VTreeview/VTreeview.mjs +17 -72
- package/lib/components/VTreeview/VTreeview.mjs.map +1 -1
- package/lib/components/VTreeview/VTreeviewNode.mjs +2 -32
- 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 +0 -6
- package/lib/components/VTreeview/util/filterTreeItems.mjs.map +1 -1
- package/lib/components/VValidation/VValidation.mjs +2 -5
- package/lib/components/VValidation/VValidation.mjs.map +1 -1
- package/lib/components/VValidation/index.d.ts +1 -0
- package/lib/components/VValidation/index.mjs.map +1 -1
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs +3 -18
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
- package/lib/components/VVirtualScroll/index.mjs.map +1 -1
- package/lib/components/VWindow/VWindow.mjs +5 -15
- package/lib/components/VWindow/VWindow.mjs.map +1 -1
- package/lib/components/VWindow/VWindowItem.mjs +8 -21
- package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
- package/lib/components/VWindow/index.d.ts +37 -87
- package/lib/components/VWindow/index.mjs.map +1 -1
- package/lib/components/index.d.ts +16084 -6799
- package/lib/components/index.mjs +0 -11
- package/lib/components/index.mjs.map +1 -1
- package/lib/components/transitions/createTransition.mjs +0 -10
- package/lib/components/transitions/createTransition.mjs.map +1 -1
- package/lib/components/transitions/dialog-transition.mjs +3 -18
- package/lib/components/transitions/dialog-transition.mjs.map +1 -1
- package/lib/components/transitions/expand-transition.mjs +2 -11
- package/lib/components/transitions/expand-transition.mjs.map +1 -1
- package/lib/components/transitions/index.d.ts +16 -0
- package/lib/components/transitions/index.mjs +5 -4
- package/lib/components/transitions/index.mjs.map +1 -1
- package/lib/composables/border.mjs +0 -3
- package/lib/composables/border.mjs.map +1 -1
- package/lib/composables/color.mjs +0 -4
- package/lib/composables/color.mjs.map +1 -1
- package/lib/composables/defaults.mjs +0 -5
- package/lib/composables/defaults.mjs.map +1 -1
- package/lib/composables/delay.mjs +0 -3
- package/lib/composables/delay.mjs.map +1 -1
- package/lib/composables/density.mjs +4 -1
- package/lib/composables/density.mjs.map +1 -1
- package/lib/composables/dimensions.mjs +0 -1
- package/lib/composables/dimensions.mjs.map +1 -1
- package/lib/composables/display.mjs +7 -20
- package/lib/composables/display.mjs.map +1 -1
- package/lib/composables/elevation.mjs +2 -4
- package/lib/composables/elevation.mjs.map +1 -1
- package/lib/composables/filter.mjs +7 -14
- package/lib/composables/filter.mjs.map +1 -1
- package/lib/composables/focus.mjs +0 -5
- package/lib/composables/focus.mjs.map +1 -1
- package/lib/composables/form.mjs +1 -14
- package/lib/composables/form.mjs.map +1 -1
- package/lib/composables/forwardRefs.mjs +9 -16
- package/lib/composables/forwardRefs.mjs.map +1 -1
- package/lib/composables/group.mjs +10 -33
- package/lib/composables/group.mjs.map +1 -1
- package/lib/composables/hydration.mjs +0 -1
- package/lib/composables/hydration.mjs.map +1 -1
- package/lib/composables/icons.mjs +4 -17
- package/lib/composables/icons.mjs.map +1 -1
- package/lib/composables/index.mjs +1 -2
- package/lib/composables/index.mjs.map +1 -1
- package/lib/composables/intersectionObserver.mjs +0 -3
- package/lib/composables/intersectionObserver.mjs.map +1 -1
- package/lib/composables/items.mjs +3 -15
- package/lib/composables/items.mjs.map +1 -1
- package/lib/composables/layout.mjs +29 -31
- package/lib/composables/layout.mjs.map +1 -1
- package/lib/composables/lazy.mjs +2 -3
- package/lib/composables/lazy.mjs.map +1 -1
- package/lib/composables/loader.mjs +0 -3
- package/lib/composables/loader.mjs.map +1 -1
- package/lib/composables/locale.mjs +46 -118
- package/lib/composables/locale.mjs.map +1 -1
- package/lib/composables/location.mjs +1 -8
- package/lib/composables/location.mjs.map +1 -1
- package/lib/composables/mutationObserver.mjs +3 -1
- package/lib/composables/mutationObserver.mjs.map +1 -1
- package/lib/composables/nested/nested.mjs +4 -20
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/composables/nested/openStrategies.mjs +0 -9
- package/lib/composables/nested/openStrategies.mjs.map +1 -1
- package/lib/composables/nested/selectStrategies.mjs +6 -21
- package/lib/composables/nested/selectStrategies.mjs.map +1 -1
- package/lib/composables/position.mjs +1 -4
- package/lib/composables/position.mjs.map +1 -1
- package/lib/composables/proxiedModel.mjs +3 -9
- package/lib/composables/proxiedModel.mjs.map +1 -1
- package/lib/composables/refs.mjs +0 -2
- package/lib/composables/refs.mjs.map +1 -1
- package/lib/composables/resizeObserver.mjs +0 -3
- package/lib/composables/resizeObserver.mjs.map +1 -1
- package/lib/composables/rounded.mjs +0 -3
- package/lib/composables/rounded.mjs.map +1 -1
- package/lib/composables/router.mjs +3 -11
- package/lib/composables/router.mjs.map +1 -1
- package/lib/composables/scopeId.mjs.map +1 -1
- package/lib/composables/scroll.mjs +3 -9
- package/lib/composables/scroll.mjs.map +1 -1
- package/lib/composables/selectLink.mjs +3 -2
- package/lib/composables/selectLink.mjs.map +1 -1
- package/lib/composables/size.mjs +0 -3
- package/lib/composables/size.mjs.map +1 -1
- package/lib/composables/ssrBoot.mjs +2 -1
- package/lib/composables/ssrBoot.mjs.map +1 -1
- package/lib/composables/stack.mjs +0 -6
- package/lib/composables/stack.mjs.map +1 -1
- package/lib/composables/tag.mjs +0 -1
- package/lib/composables/tag.mjs.map +1 -1
- package/lib/composables/teleport.mjs +0 -4
- package/lib/composables/teleport.mjs.map +1 -1
- package/lib/composables/theme.mjs +18 -38
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/composables/toggleScope.mjs +0 -1
- package/lib/composables/toggleScope.mjs.map +1 -1
- package/lib/composables/touch.mjs +5 -28
- package/lib/composables/touch.mjs.map +1 -1
- package/lib/composables/transition.mjs +0 -2
- package/lib/composables/transition.mjs.map +1 -1
- package/lib/composables/validation.mjs +3 -13
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/composables/variant.mjs +0 -2
- package/lib/composables/variant.mjs.map +1 -1
- package/lib/directives/click-outside/index.mjs +10 -22
- package/lib/directives/click-outside/index.mjs.map +1 -1
- package/lib/directives/color/index.mjs +0 -11
- package/lib/directives/color/index.mjs.map +1 -1
- package/lib/directives/index.d.ts +104 -13
- package/lib/directives/index.mjs +0 -1
- package/lib/directives/index.mjs.map +1 -1
- package/lib/directives/intersect/index.mjs +3 -10
- package/lib/directives/intersect/index.mjs.map +1 -1
- package/lib/directives/mutate/index.mjs +1 -5
- package/lib/directives/mutate/index.mjs.map +1 -1
- package/lib/directives/resize/index.mjs +0 -5
- package/lib/directives/resize/index.mjs.map +1 -1
- package/lib/directives/ripple/index.mjs +11 -63
- package/lib/directives/ripple/index.mjs.map +1 -1
- package/lib/directives/scroll/index.mjs +0 -4
- package/lib/directives/scroll/index.mjs.map +1 -1
- package/lib/directives/touch/index.mjs +0 -15
- package/lib/directives/touch/index.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +24 -22
- package/lib/framework.mjs.map +1 -1
- package/lib/iconsets/fa-svg.mjs +0 -1
- package/lib/iconsets/fa-svg.mjs.map +1 -1
- package/lib/iconsets/fa.mjs +0 -1
- package/lib/iconsets/fa.mjs.map +1 -1
- package/lib/iconsets/fa4.mjs +4 -3
- package/lib/iconsets/fa4.mjs.map +1 -1
- package/lib/iconsets/md.mjs +4 -3
- package/lib/iconsets/md.mjs.map +1 -1
- package/lib/iconsets/mdi-svg.mjs +0 -1
- package/lib/iconsets/mdi-svg.mjs.map +1 -1
- package/lib/iconsets/mdi.mjs +4 -3
- package/lib/iconsets/mdi.mjs.map +1 -1
- package/lib/index.d.ts +92 -106
- package/lib/locale/adapters/vue-i18n.d.ts +10 -16
- package/lib/locale/adapters/vue-i18n.mjs +59 -52
- package/lib/locale/adapters/vue-i18n.mjs.map +1 -1
- package/lib/locale/adapters/vuetify.d.ts +24 -0
- package/lib/locale/adapters/vuetify.mjs +97 -0
- package/lib/locale/adapters/vuetify.mjs.map +1 -0
- package/lib/locale/af.mjs.map +1 -1
- package/lib/locale/ar.mjs.map +1 -1
- package/lib/locale/az.mjs.map +1 -1
- package/lib/locale/bg.mjs.map +1 -1
- package/lib/locale/ca.mjs.map +1 -1
- package/lib/locale/ckb.mjs.map +1 -1
- package/lib/locale/cs.mjs.map +1 -1
- package/lib/locale/da.mjs.map +1 -1
- package/lib/locale/de.mjs.map +1 -1
- package/lib/locale/el.mjs.map +1 -1
- package/lib/locale/en.mjs.map +1 -1
- package/lib/locale/es.mjs.map +1 -1
- package/lib/locale/et.mjs.map +1 -1
- package/lib/locale/fa.mjs.map +1 -1
- package/lib/locale/fi.mjs.map +1 -1
- package/lib/locale/fr.mjs.map +1 -1
- package/lib/locale/he.mjs.map +1 -1
- package/lib/locale/hr.mjs.map +1 -1
- package/lib/locale/hu.mjs.map +1 -1
- package/lib/locale/id.mjs.map +1 -1
- package/lib/locale/index.d.ts +2 -2
- package/lib/locale/index.mjs +1 -1
- package/lib/locale/index.mjs.map +1 -1
- package/lib/locale/it.mjs.map +1 -1
- package/lib/locale/ja.mjs.map +1 -1
- package/lib/locale/ko.mjs.map +1 -1
- package/lib/locale/lt.mjs.map +1 -1
- package/lib/locale/lv.mjs.map +1 -1
- package/lib/locale/nl.mjs.map +1 -1
- package/lib/locale/no.mjs.map +1 -1
- package/lib/locale/pl.mjs +7 -7
- package/lib/locale/pl.mjs.map +1 -1
- package/lib/locale/pt.mjs.map +1 -1
- package/lib/locale/ro.mjs.map +1 -1
- package/lib/locale/ru.mjs.map +1 -1
- package/lib/locale/sk.mjs.map +1 -1
- package/lib/locale/sl.mjs.map +1 -1
- package/lib/locale/sr-Cyrl.mjs.map +1 -1
- package/lib/locale/sr-Latn.mjs.map +1 -1
- package/lib/locale/sv.mjs.map +1 -1
- package/lib/locale/th.mjs.map +1 -1
- package/lib/locale/tr.mjs.map +1 -1
- package/lib/locale/uk.mjs.map +1 -1
- package/lib/locale/vi.mjs.map +1 -1
- package/lib/locale/zh-Hans.mjs.map +1 -1
- package/lib/locale/zh-Hant.mjs.map +1 -1
- package/lib/services/goto/easing-patterns.mjs +24 -24
- package/lib/services/goto/easing-patterns.mjs.map +1 -1
- package/lib/services/goto/index.mjs +11 -15
- package/lib/services/goto/index.mjs.map +1 -1
- package/lib/services/goto/util.mjs +1 -8
- package/lib/services/goto/util.mjs.map +1 -1
- package/lib/styles/main.css +4 -0
- package/lib/styles/settings/_utilities.scss +7 -0
- package/lib/util/anchor.mjs +0 -3
- package/lib/util/anchor.mjs.map +1 -1
- package/lib/util/animation.mjs +0 -6
- package/lib/util/animation.mjs.map +1 -1
- package/lib/util/box.mjs +0 -5
- package/lib/util/box.mjs.map +1 -1
- package/lib/util/color/APCA.mjs +23 -21
- package/lib/util/color/APCA.mjs.map +1 -1
- package/lib/util/color/transformCIELAB.mjs +0 -2
- package/lib/util/color/transformCIELAB.mjs.map +1 -1
- package/lib/util/color/transformSRGB.mjs +14 -12
- package/lib/util/color/transformSRGB.mjs.map +1 -1
- package/lib/util/colorUtils.mjs +8 -25
- package/lib/util/colorUtils.mjs.map +1 -1
- package/lib/util/colors.mjs.map +1 -1
- package/lib/util/console.mjs +5 -14
- package/lib/util/console.mjs.map +1 -1
- package/lib/util/createSimpleFunctional.mjs +0 -3
- package/lib/util/createSimpleFunctional.mjs.map +1 -1
- package/lib/util/dateTimeUtils.mjs +0 -10
- package/lib/util/dateTimeUtils.mjs.map +1 -1
- package/lib/util/defineComponent.mjs +6 -22
- package/lib/util/defineComponent.mjs.map +1 -1
- package/lib/util/dom.mjs +4 -4
- package/lib/util/dom.mjs.map +1 -1
- package/lib/util/easing.mjs +0 -1
- package/lib/util/easing.mjs.map +1 -1
- package/lib/util/getCurrentInstance.mjs +1 -7
- package/lib/util/getCurrentInstance.mjs.map +1 -1
- package/lib/util/getScrollParent.mjs +0 -3
- package/lib/util/getScrollParent.mjs.map +1 -1
- package/lib/util/globals.mjs.map +1 -1
- package/lib/util/helpers.mjs +18 -75
- package/lib/util/helpers.mjs.map +1 -1
- package/lib/util/injectSelf.mjs +0 -1
- package/lib/util/injectSelf.mjs.map +1 -1
- package/lib/util/isFixedPosition.mjs +0 -2
- package/lib/util/isFixedPosition.mjs.map +1 -1
- package/lib/util/propsFactory.mjs +11 -5
- package/lib/util/propsFactory.mjs.map +1 -1
- package/lib/util/useRender.mjs +0 -1
- package/lib/util/useRender.mjs.map +1 -1
- package/package.json +6 -10
- package/dist/json/attributes.json +0 -5602
- package/dist/json/tags.json +0 -1945
- package/dist/json/web-types.json +0 -19006
- package/lib/composables/rtl.mjs +0 -42
- package/lib/composables/rtl.mjs.map +0 -1
- package/lib/locale/adapters/vue-intl.d.ts +0 -42
- package/lib/locale/adapters/vue-intl.mjs +0 -65
- package/lib/locale/adapters/vue-intl.mjs.map +0 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import { Ref, DeepReadonly,
|
|
2
|
+
import { Ref, DeepReadonly, JSXComponent, PropType, CSSProperties, App } from 'vue';
|
|
3
|
+
|
|
4
|
+
interface LocaleMessages {
|
|
5
|
+
[key: string]: LocaleMessages | string;
|
|
6
|
+
}
|
|
7
|
+
interface LocaleOptions {
|
|
8
|
+
messages?: LocaleMessages;
|
|
9
|
+
locale?: string;
|
|
10
|
+
fallback?: string;
|
|
11
|
+
adapter?: LocaleInstance;
|
|
12
|
+
}
|
|
13
|
+
interface LocaleInstance {
|
|
14
|
+
name: string;
|
|
15
|
+
messages: Ref<LocaleMessages>;
|
|
16
|
+
current: Ref<string>;
|
|
17
|
+
fallback: Ref<string>;
|
|
18
|
+
t: (key: string, ...params: unknown[]) => string;
|
|
19
|
+
n: (value: number) => string;
|
|
20
|
+
provide: (props: LocaleOptions) => LocaleInstance;
|
|
21
|
+
}
|
|
22
|
+
declare function useLocale(): LocaleInstance & RtlInstance;
|
|
23
|
+
interface RtlOptions {
|
|
24
|
+
rtl?: Record<string, boolean>;
|
|
25
|
+
}
|
|
26
|
+
interface RtlInstance {
|
|
27
|
+
isRtl: Ref<boolean>;
|
|
28
|
+
rtl: Ref<Record<string, boolean>>;
|
|
29
|
+
rtlClasses: Ref<string>;
|
|
30
|
+
}
|
|
31
|
+
declare function useRtl(): {
|
|
32
|
+
isRtl: Ref<boolean>;
|
|
33
|
+
rtlClasses: Ref<string>;
|
|
34
|
+
};
|
|
3
35
|
|
|
4
36
|
declare type DeepPartial<T> = T extends object ? {
|
|
5
37
|
[P in keyof T]?: DeepPartial<T[P]>;
|
|
@@ -88,29 +120,30 @@ interface DisplayPlatform {
|
|
|
88
120
|
ssr: boolean;
|
|
89
121
|
}
|
|
90
122
|
interface DisplayInstance {
|
|
91
|
-
xs: boolean
|
|
92
|
-
sm: boolean
|
|
93
|
-
md: boolean
|
|
94
|
-
lg: boolean
|
|
95
|
-
xl: boolean
|
|
96
|
-
xxl: boolean
|
|
97
|
-
smAndUp: boolean
|
|
98
|
-
mdAndUp: boolean
|
|
99
|
-
lgAndUp: boolean
|
|
100
|
-
xlAndUp: boolean
|
|
101
|
-
smAndDown: boolean
|
|
102
|
-
mdAndDown: boolean
|
|
103
|
-
lgAndDown: boolean
|
|
104
|
-
xlAndDown: boolean
|
|
105
|
-
name: DisplayBreakpoint
|
|
106
|
-
height: number
|
|
107
|
-
width: number
|
|
108
|
-
mobile: boolean
|
|
109
|
-
mobileBreakpoint: number | DisplayBreakpoint
|
|
110
|
-
platform: DisplayPlatform
|
|
111
|
-
thresholds: DisplayThresholds
|
|
112
|
-
|
|
113
|
-
|
|
123
|
+
xs: Ref<boolean>;
|
|
124
|
+
sm: Ref<boolean>;
|
|
125
|
+
md: Ref<boolean>;
|
|
126
|
+
lg: Ref<boolean>;
|
|
127
|
+
xl: Ref<boolean>;
|
|
128
|
+
xxl: Ref<boolean>;
|
|
129
|
+
smAndUp: Ref<boolean>;
|
|
130
|
+
mdAndUp: Ref<boolean>;
|
|
131
|
+
lgAndUp: Ref<boolean>;
|
|
132
|
+
xlAndUp: Ref<boolean>;
|
|
133
|
+
smAndDown: Ref<boolean>;
|
|
134
|
+
mdAndDown: Ref<boolean>;
|
|
135
|
+
lgAndDown: Ref<boolean>;
|
|
136
|
+
xlAndDown: Ref<boolean>;
|
|
137
|
+
name: Ref<DisplayBreakpoint>;
|
|
138
|
+
height: Ref<number>;
|
|
139
|
+
width: Ref<number>;
|
|
140
|
+
mobile: Ref<boolean>;
|
|
141
|
+
mobileBreakpoint: Ref<number | DisplayBreakpoint>;
|
|
142
|
+
platform: Ref<DisplayPlatform>;
|
|
143
|
+
thresholds: Ref<DisplayThresholds>;
|
|
144
|
+
update(): void;
|
|
145
|
+
}
|
|
146
|
+
declare function useDisplay(): DisplayInstance;
|
|
114
147
|
|
|
115
148
|
interface DefaultsInstance {
|
|
116
149
|
[key: string]: undefined | Record<string, unknown>;
|
|
@@ -171,79 +204,23 @@ declare type IconOptions = {
|
|
|
171
204
|
sets: Record<string, IconSet>;
|
|
172
205
|
};
|
|
173
206
|
|
|
174
|
-
interface RtlOptions {
|
|
175
|
-
rtl?: Record<string, boolean>;
|
|
176
|
-
}
|
|
177
|
-
interface RtlProps {
|
|
178
|
-
rtl?: boolean;
|
|
179
|
-
}
|
|
180
|
-
interface RtlInstance {
|
|
181
|
-
isRtl: Ref<boolean>;
|
|
182
|
-
rtl: Record<string, boolean>;
|
|
183
|
-
rtlClasses: Ref<string>;
|
|
184
|
-
}
|
|
185
|
-
declare function provideRtl(props: RtlProps, localeScope: LocaleInstance): RtlInstance;
|
|
186
|
-
declare function useRtl(): RtlInstance;
|
|
187
|
-
|
|
188
|
-
interface LocaleMessages {
|
|
189
|
-
[key: string]: LocaleMessages | string;
|
|
190
|
-
}
|
|
191
|
-
interface LocaleOptions {
|
|
192
|
-
defaultLocale?: string;
|
|
193
|
-
fallbackLocale?: string;
|
|
194
|
-
messages?: LocaleMessages;
|
|
195
|
-
}
|
|
196
|
-
interface LocaleProps {
|
|
197
|
-
locale?: string;
|
|
198
|
-
fallbackLocale?: string;
|
|
199
|
-
messages?: LocaleMessages;
|
|
200
|
-
}
|
|
201
|
-
interface LocaleInstance {
|
|
202
|
-
current: Ref<string>;
|
|
203
|
-
fallback: Ref<string>;
|
|
204
|
-
messages: Ref<LocaleMessages>;
|
|
205
|
-
t: (key: string, ...params: unknown[]) => string;
|
|
206
|
-
n: (value: number) => string;
|
|
207
|
-
}
|
|
208
|
-
interface LocaleAdapter {
|
|
209
|
-
createRoot: (app?: App) => LocaleInstance;
|
|
210
|
-
getScope: () => LocaleInstance;
|
|
211
|
-
createScope: (options?: LocaleProps) => LocaleInstance;
|
|
212
|
-
}
|
|
213
|
-
declare function useLocale(): LocaleInstance;
|
|
214
|
-
|
|
215
207
|
declare type Position = 'top' | 'left' | 'right' | 'bottom';
|
|
216
|
-
|
|
217
|
-
id: string;
|
|
208
|
+
interface Layer {
|
|
218
209
|
top: number;
|
|
219
210
|
bottom: number;
|
|
220
211
|
left: number;
|
|
221
212
|
right: number;
|
|
213
|
+
}
|
|
214
|
+
interface LayoutItem extends Layer {
|
|
215
|
+
id: string;
|
|
222
216
|
size: number;
|
|
223
|
-
|
|
224
|
-
interface LayoutProvide {
|
|
225
|
-
register: (vm: ComponentInternalInstance, options: {
|
|
226
|
-
id: string;
|
|
227
|
-
order: Ref<number>;
|
|
228
|
-
position: Ref<Position>;
|
|
229
|
-
layoutSize: Ref<number | string>;
|
|
230
|
-
elementSize: Ref<number | string | undefined>;
|
|
231
|
-
active: Ref<boolean>;
|
|
232
|
-
disableTransitions?: Ref<boolean>;
|
|
233
|
-
absolute: Ref<boolean | undefined>;
|
|
234
|
-
}) => {
|
|
235
|
-
layoutItemStyles: Ref<CSSProperties>;
|
|
236
|
-
layoutItemScrimStyles: Ref<CSSProperties>;
|
|
237
|
-
zIndex: Ref<number>;
|
|
238
|
-
};
|
|
239
|
-
unregister: (id: string) => void;
|
|
240
|
-
mainStyles: Ref<CSSProperties>;
|
|
241
|
-
getLayoutItem: (id: string) => LayoutItem | undefined;
|
|
242
|
-
items: Ref<LayoutItem[]>;
|
|
243
|
-
layoutRect: Ref<DOMRectReadOnly | undefined>;
|
|
244
|
-
rootZIndex: Ref<number>;
|
|
217
|
+
position: Position;
|
|
245
218
|
}
|
|
246
|
-
declare function useLayout():
|
|
219
|
+
declare function useLayout(): {
|
|
220
|
+
getLayoutItem: (id: string) => LayoutItem | undefined;
|
|
221
|
+
mainRect: Ref<Layer>;
|
|
222
|
+
mainStyles: Ref<CSSProperties>;
|
|
223
|
+
};
|
|
247
224
|
|
|
248
225
|
interface FieldValidationResult {
|
|
249
226
|
id: number | string;
|
|
@@ -265,7 +242,7 @@ interface VuetifyOptions {
|
|
|
265
242
|
display?: DisplayOptions;
|
|
266
243
|
theme?: ThemeOptions;
|
|
267
244
|
icons?: IconOptions;
|
|
268
|
-
locale?:
|
|
245
|
+
locale?: LocaleOptions & RtlOptions;
|
|
269
246
|
ssr?: boolean;
|
|
270
247
|
}
|
|
271
248
|
interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {
|
|
@@ -273,21 +250,32 @@ interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {
|
|
|
273
250
|
declare function createVuetify(vuetify?: VuetifyOptions): {
|
|
274
251
|
install: (app: App) => void;
|
|
275
252
|
defaults: vue.Ref<DefaultsInstance>;
|
|
276
|
-
display:
|
|
253
|
+
display: DisplayInstance;
|
|
277
254
|
theme: ThemeInstance & {
|
|
278
255
|
install: (app: App<any>) => void;
|
|
279
256
|
};
|
|
280
257
|
icons: Record<string, any>;
|
|
281
|
-
locale:
|
|
258
|
+
locale: {
|
|
259
|
+
isRtl: vue.Ref<boolean>;
|
|
260
|
+
rtl: vue.Ref<Record<string, boolean>>;
|
|
261
|
+
rtlClasses: vue.Ref<string>;
|
|
262
|
+
name: string;
|
|
263
|
+
messages: vue.Ref<LocaleMessages>;
|
|
264
|
+
current: vue.Ref<string>;
|
|
265
|
+
fallback: vue.Ref<string>;
|
|
266
|
+
t: (key: string, ...params: unknown[]) => string;
|
|
267
|
+
n: (value: number) => string;
|
|
268
|
+
provide: (props: LocaleOptions) => LocaleInstance;
|
|
269
|
+
};
|
|
282
270
|
};
|
|
283
271
|
declare namespace createVuetify {
|
|
284
272
|
var version: string;
|
|
285
273
|
}
|
|
286
274
|
declare const version: string;
|
|
287
275
|
|
|
288
|
-
export { Blueprint, DefaultsInstance, DisplayBreakpoint, DisplayInstance, DisplayThresholds, IconAliases, IconOptions, IconProps, IconSet,
|
|
276
|
+
export { Blueprint, DefaultsInstance, DisplayBreakpoint, DisplayInstance, DisplayThresholds, IconAliases, IconOptions, IconProps, IconSet, LocaleInstance, LocaleOptions, RtlInstance, RtlOptions, SubmitEventPromise, ThemeDefinition, ThemeInstance, VuetifyOptions, createVuetify, useDisplay, useLayout, useLocale, useRtl, useTheme, version };
|
|
289
277
|
|
|
290
|
-
import type { ComponentPublicInstance, FunctionalComponent, VNodeChild } from 'vue'
|
|
278
|
+
import type { ComponentPublicInstance, FunctionalComponent, UnwrapNestedRefs, VNodeChild } from 'vue'
|
|
291
279
|
|
|
292
280
|
|
|
293
281
|
declare global {
|
|
@@ -314,11 +302,10 @@ declare module '@vue/runtime-dom' {
|
|
|
314
302
|
declare module '@vue/runtime-core' {
|
|
315
303
|
interface Vuetify {
|
|
316
304
|
defaults: DefaultsInstance
|
|
317
|
-
display: DisplayInstance
|
|
305
|
+
display: UnwrapNestedRefs<DisplayInstance>
|
|
318
306
|
theme: ThemeInstance
|
|
319
307
|
icons: IconOptions
|
|
320
|
-
locale:
|
|
321
|
-
rtl: RtlInstance
|
|
308
|
+
locale: LocaleInstance & RtlInstance
|
|
322
309
|
}
|
|
323
310
|
|
|
324
311
|
export interface ComponentCustomProperties {
|
|
@@ -328,12 +315,12 @@ declare module '@vue/runtime-core' {
|
|
|
328
315
|
export interface GlobalComponents {
|
|
329
316
|
VApp: typeof import('vuetify/components')['VApp']
|
|
330
317
|
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
|
318
|
+
VForm: typeof import('vuetify/components')['VForm']
|
|
331
319
|
VContainer: typeof import('vuetify/components')['VContainer']
|
|
332
320
|
VCol: typeof import('vuetify/components')['VCol']
|
|
333
321
|
VRow: typeof import('vuetify/components')['VRow']
|
|
334
322
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
|
335
323
|
VHover: typeof import('vuetify/components')['VHover']
|
|
336
|
-
VForm: typeof import('vuetify/components')['VForm']
|
|
337
324
|
VLayout: typeof import('vuetify/components')['VLayout']
|
|
338
325
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
|
339
326
|
VLazy: typeof import('vuetify/components')['VLazy']
|
|
@@ -344,6 +331,7 @@ declare module '@vue/runtime-core' {
|
|
|
344
331
|
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
|
345
332
|
VResponsive: typeof import('vuetify/components')['VResponsive']
|
|
346
333
|
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
|
334
|
+
VValidation: typeof import('vuetify/components')['VValidation']
|
|
347
335
|
VFabTransition: typeof import('vuetify/components')['VFabTransition']
|
|
348
336
|
VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
|
|
349
337
|
VDialogTopTransition: typeof import('vuetify/components')['VDialogTopTransition']
|
|
@@ -359,8 +347,6 @@ declare module '@vue/runtime-core' {
|
|
|
359
347
|
VSlideYReverseTransition: typeof import('vuetify/components')['VSlideYReverseTransition']
|
|
360
348
|
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
|
361
349
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
|
362
|
-
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
|
363
|
-
VValidation: typeof import('vuetify/components')['VValidation']
|
|
364
350
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
|
365
351
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
|
366
352
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
|
@@ -385,12 +371,12 @@ declare module '@vue/runtime-core' {
|
|
|
385
371
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
|
386
372
|
VCardText: typeof import('vuetify/components')['VCardText']
|
|
387
373
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
|
388
|
-
VCarousel: typeof import('vuetify/components')['VCarousel']
|
|
389
|
-
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
|
390
374
|
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
|
391
375
|
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
|
392
|
-
|
|
376
|
+
VCarousel: typeof import('vuetify/components')['VCarousel']
|
|
377
|
+
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
|
393
378
|
VChip: typeof import('vuetify/components')['VChip']
|
|
379
|
+
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
|
394
380
|
VCode: typeof import('vuetify/components')['VCode']
|
|
395
381
|
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
|
396
382
|
VCombobox: typeof import('vuetify/components')['VCombobox']
|
|
@@ -410,6 +396,7 @@ declare module '@vue/runtime-core' {
|
|
|
410
396
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
|
411
397
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
|
412
398
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
|
399
|
+
VImg: typeof import('vuetify/components')['VImg']
|
|
413
400
|
VInput: typeof import('vuetify/components')['VInput']
|
|
414
401
|
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
|
415
402
|
VItem: typeof import('vuetify/components')['VItem']
|
|
@@ -428,8 +415,8 @@ declare module '@vue/runtime-core' {
|
|
|
428
415
|
VMenu: typeof import('vuetify/components')['VMenu']
|
|
429
416
|
VMessages: typeof import('vuetify/components')['VMessages']
|
|
430
417
|
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
|
431
|
-
VOverlay: typeof import('vuetify/components')['VOverlay']
|
|
432
418
|
VPagination: typeof import('vuetify/components')['VPagination']
|
|
419
|
+
VOverlay: typeof import('vuetify/components')['VOverlay']
|
|
433
420
|
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
|
434
421
|
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
|
435
422
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
|
@@ -457,6 +444,5 @@ declare module '@vue/runtime-core' {
|
|
|
457
444
|
VTooltip: typeof import('vuetify/components')['VTooltip']
|
|
458
445
|
VWindow: typeof import('vuetify/components')['VWindow']
|
|
459
446
|
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
|
460
|
-
VImg: typeof import('vuetify/components')['VImg']
|
|
461
447
|
}
|
|
462
448
|
}
|
|
@@ -1,35 +1,29 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
1
2
|
import { I18n, useI18n } from 'vue-i18n';
|
|
2
|
-
import { App, Ref } from 'vue';
|
|
3
|
-
|
|
4
|
-
interface RtlOptions {
|
|
5
|
-
rtl?: Record<string, boolean>;
|
|
6
|
-
}
|
|
7
3
|
|
|
8
4
|
interface LocaleMessages {
|
|
9
5
|
[key: string]: LocaleMessages | string;
|
|
10
6
|
}
|
|
11
|
-
interface
|
|
12
|
-
locale?: string;
|
|
13
|
-
fallbackLocale?: string;
|
|
7
|
+
interface LocaleOptions {
|
|
14
8
|
messages?: LocaleMessages;
|
|
9
|
+
locale?: string;
|
|
10
|
+
fallback?: string;
|
|
11
|
+
adapter?: LocaleInstance;
|
|
15
12
|
}
|
|
16
13
|
interface LocaleInstance {
|
|
14
|
+
name: string;
|
|
15
|
+
messages: Ref<LocaleMessages>;
|
|
17
16
|
current: Ref<string>;
|
|
18
17
|
fallback: Ref<string>;
|
|
19
|
-
messages: Ref<LocaleMessages>;
|
|
20
18
|
t: (key: string, ...params: unknown[]) => string;
|
|
21
19
|
n: (value: number) => string;
|
|
22
|
-
|
|
23
|
-
interface LocaleAdapter {
|
|
24
|
-
createRoot: (app?: App) => LocaleInstance;
|
|
25
|
-
getScope: () => LocaleInstance;
|
|
26
|
-
createScope: (options?: LocaleProps) => LocaleInstance;
|
|
20
|
+
provide: (props: LocaleOptions) => LocaleInstance;
|
|
27
21
|
}
|
|
28
22
|
|
|
29
23
|
declare type VueI18nAdapterParams = {
|
|
30
24
|
i18n: I18n<{}, {}, {}, string, false>;
|
|
31
25
|
useI18n: typeof useI18n;
|
|
32
|
-
}
|
|
33
|
-
declare function createVueI18nAdapter({ i18n, useI18n
|
|
26
|
+
};
|
|
27
|
+
declare function createVueI18nAdapter({ i18n, useI18n }: VueI18nAdapterParams): LocaleInstance;
|
|
34
28
|
|
|
35
29
|
export { createVueI18nAdapter };
|
|
@@ -1,62 +1,69 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
function
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { watch } from 'vue';
|
|
2
|
+
import { useProxiedModel } from "../../composables/proxiedModel.mjs";
|
|
3
|
+
function useProvided(props, prop, provided) {
|
|
4
|
+
const internal = useProxiedModel(props, prop);
|
|
5
|
+
internal.value = props[prop] ?? provided.value;
|
|
6
|
+
watch(provided, v => {
|
|
7
|
+
if (props[prop] == null) {
|
|
8
|
+
internal.value = v;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
return internal;
|
|
12
|
+
}
|
|
13
|
+
function createProvideFunction(data) {
|
|
14
|
+
return props => {
|
|
15
|
+
const current = useProvided(props, 'locale', data.current);
|
|
16
|
+
const fallback = useProvided(props, 'fallback', data.fallback);
|
|
17
|
+
const messages = useProvided(props, 'messages', data.messages);
|
|
18
|
+
const i18n = data.useI18n({
|
|
19
|
+
locale: current.value,
|
|
20
|
+
fallbackLocale: fallback.value,
|
|
21
|
+
messages: messages.value,
|
|
22
|
+
useScope: 'local',
|
|
23
|
+
legacy: false,
|
|
24
|
+
inheritLocale: false
|
|
25
|
+
});
|
|
26
|
+
watch(current, v => {
|
|
27
|
+
i18n.locale.value = v;
|
|
28
|
+
});
|
|
29
|
+
return {
|
|
30
|
+
name: 'vue-i18n',
|
|
31
|
+
current,
|
|
32
|
+
fallback,
|
|
33
|
+
messages,
|
|
34
|
+
// @ts-expect-error Type instantiation is excessively deep and possibly infinite
|
|
35
|
+
t: i18n.t,
|
|
36
|
+
n: i18n.n,
|
|
37
|
+
provide: createProvideFunction({
|
|
38
|
+
current,
|
|
39
|
+
fallback,
|
|
40
|
+
messages,
|
|
41
|
+
useI18n: data.useI18n
|
|
42
|
+
})
|
|
43
|
+
};
|
|
14
44
|
};
|
|
15
45
|
}
|
|
16
|
-
|
|
17
46
|
export function createVueI18nAdapter(_ref) {
|
|
18
47
|
let {
|
|
19
48
|
i18n,
|
|
20
|
-
useI18n
|
|
21
|
-
...rest
|
|
49
|
+
useI18n
|
|
22
50
|
} = _ref;
|
|
51
|
+
const current = i18n.global.locale;
|
|
52
|
+
const fallback = i18n.global.fallbackLocale;
|
|
53
|
+
const messages = i18n.global.messages;
|
|
23
54
|
return {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
const scope = useI18n({
|
|
37
|
-
legacy: false,
|
|
38
|
-
useScope: 'local',
|
|
39
|
-
messages: props.messages ?? i18n.global.messages,
|
|
40
|
-
// TODO: Fix this
|
|
41
|
-
locale: props.locale,
|
|
42
|
-
fallbackLocale: props.fallbackLocale,
|
|
43
|
-
inheritLocale: !props.locale
|
|
44
|
-
});
|
|
45
|
-
watch(() => props.locale, () => {
|
|
46
|
-
if (props.locale) {
|
|
47
|
-
scope.locale.value = props.locale;
|
|
48
|
-
} else {
|
|
49
|
-
scope.inheritLocale = true;
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
watch(() => props.fallbackLocale, () => {
|
|
53
|
-
if (props.fallbackLocale) {
|
|
54
|
-
scope.fallbackLocale.value = props.fallbackLocale;
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
return wrapScope(scope);
|
|
58
|
-
},
|
|
59
|
-
...rest
|
|
55
|
+
name: 'vue-i18n',
|
|
56
|
+
current,
|
|
57
|
+
fallback,
|
|
58
|
+
messages,
|
|
59
|
+
t: i18n.global.t,
|
|
60
|
+
n: i18n.global.n,
|
|
61
|
+
provide: createProvideFunction({
|
|
62
|
+
current,
|
|
63
|
+
fallback,
|
|
64
|
+
messages,
|
|
65
|
+
useI18n
|
|
66
|
+
})
|
|
60
67
|
};
|
|
61
68
|
}
|
|
62
69
|
//# sourceMappingURL=vue-i18n.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-i18n.mjs","names":["
|
|
1
|
+
{"version":3,"file":"vue-i18n.mjs","names":["watch","useProxiedModel","useProvided","props","prop","provided","internal","value","v","createProvideFunction","data","current","fallback","messages","i18n","useI18n","locale","fallbackLocale","useScope","legacy","inheritLocale","name","t","n","provide","createVueI18nAdapter","global"],"sources":["../../../src/locale/adapters/vue-i18n.ts"],"sourcesContent":["import { watch } from 'vue'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\nimport type { Ref } from 'vue'\nimport type { LocaleInstance, LocaleMessages, LocaleOptions } from '@/composables/locale'\nimport type { I18n, useI18n } from 'vue-i18n'\n\ntype VueI18nAdapterParams = {\n i18n: I18n<{}, {}, {}, string, false>\n useI18n: typeof useI18n\n}\n\nfunction useProvided <T> (props: any, prop: string, provided: Ref<T>) {\n const internal = useProxiedModel(props, prop)\n\n internal.value = props[prop] ?? provided.value\n\n watch(provided, v => {\n if (props[prop] == null) {\n internal.value = v\n }\n })\n\n return internal as Ref<T>\n}\n\nfunction createProvideFunction (data: {\n current: Ref<string>\n fallback: Ref<string>\n messages: Ref<LocaleMessages>\n useI18n: typeof useI18n\n}) {\n return (props: LocaleOptions): LocaleInstance => {\n const current = useProvided(props, 'locale', data.current)\n const fallback = useProvided(props, 'fallback', data.fallback)\n const messages = useProvided(props, 'messages', data.messages)\n\n const i18n = data.useI18n({\n locale: current.value,\n fallbackLocale: fallback.value,\n messages: messages.value as any,\n useScope: 'local',\n legacy: false,\n inheritLocale: false,\n })\n\n watch(current, v => {\n i18n.locale.value = v\n })\n\n return {\n name: 'vue-i18n',\n current,\n fallback,\n messages,\n // @ts-expect-error Type instantiation is excessively deep and possibly infinite\n t: i18n.t,\n n: i18n.n,\n provide: createProvideFunction({ current, fallback, messages, useI18n: data.useI18n }),\n }\n }\n}\n\nexport function createVueI18nAdapter ({ i18n, useI18n }: VueI18nAdapterParams): LocaleInstance {\n const current = i18n.global.locale\n const fallback = i18n.global.fallbackLocale as Ref<any>\n const messages = i18n.global.messages\n\n return {\n name: 'vue-i18n',\n current,\n fallback,\n messages,\n t: i18n.global.t,\n n: i18n.global.n,\n provide: createProvideFunction({ current, fallback, messages, useI18n }),\n }\n}\n"],"mappings":"AAAA,SAASA,KAAK,QAAQ,KAAK;AAAA,SAClBC,eAAe;AAWxB,SAASC,WAAW,CAAMC,KAAU,EAAEC,IAAY,EAAEC,QAAgB,EAAE;EACpE,MAAMC,QAAQ,GAAGL,eAAe,CAACE,KAAK,EAAEC,IAAI,CAAC;EAE7CE,QAAQ,CAACC,KAAK,GAAGJ,KAAK,CAACC,IAAI,CAAC,IAAIC,QAAQ,CAACE,KAAK;EAE9CP,KAAK,CAACK,QAAQ,EAAEG,CAAC,IAAI;IACnB,IAAIL,KAAK,CAACC,IAAI,CAAC,IAAI,IAAI,EAAE;MACvBE,QAAQ,CAACC,KAAK,GAAGC,CAAC;IACpB;EACF,CAAC,CAAC;EAEF,OAAOF,QAAQ;AACjB;AAEA,SAASG,qBAAqB,CAAEC,IAK/B,EAAE;EACD,OAAQP,KAAoB,IAAqB;IAC/C,MAAMQ,OAAO,GAAGT,WAAW,CAACC,KAAK,EAAE,QAAQ,EAAEO,IAAI,CAACC,OAAO,CAAC;IAC1D,MAAMC,QAAQ,GAAGV,WAAW,CAACC,KAAK,EAAE,UAAU,EAAEO,IAAI,CAACE,QAAQ,CAAC;IAC9D,MAAMC,QAAQ,GAAGX,WAAW,CAACC,KAAK,EAAE,UAAU,EAAEO,IAAI,CAACG,QAAQ,CAAC;IAE9D,MAAMC,IAAI,GAAGJ,IAAI,CAACK,OAAO,CAAC;MACxBC,MAAM,EAAEL,OAAO,CAACJ,KAAK;MACrBU,cAAc,EAAEL,QAAQ,CAACL,KAAK;MAC9BM,QAAQ,EAAEA,QAAQ,CAACN,KAAY;MAC/BW,QAAQ,EAAE,OAAO;MACjBC,MAAM,EAAE,KAAK;MACbC,aAAa,EAAE;IACjB,CAAC,CAAC;IAEFpB,KAAK,CAACW,OAAO,EAAEH,CAAC,IAAI;MAClBM,IAAI,CAACE,MAAM,CAACT,KAAK,GAAGC,CAAC;IACvB,CAAC,CAAC;IAEF,OAAO;MACLa,IAAI,EAAE,UAAU;MAChBV,OAAO;MACPC,QAAQ;MACRC,QAAQ;MACR;MACAS,CAAC,EAAER,IAAI,CAACQ,CAAC;MACTC,CAAC,EAAET,IAAI,CAACS,CAAC;MACTC,OAAO,EAAEf,qBAAqB,CAAC;QAAEE,OAAO;QAAEC,QAAQ;QAAEC,QAAQ;QAAEE,OAAO,EAAEL,IAAI,CAACK;MAAQ,CAAC;IACvF,CAAC;EACH,CAAC;AACH;AAEA,OAAO,SAASU,oBAAoB,OAA2D;EAAA,IAAzD;IAAEX,IAAI;IAAEC;EAA8B,CAAC;EAC3E,MAAMJ,OAAO,GAAGG,IAAI,CAACY,MAAM,CAACV,MAAM;EAClC,MAAMJ,QAAQ,GAAGE,IAAI,CAACY,MAAM,CAACT,cAA0B;EACvD,MAAMJ,QAAQ,GAAGC,IAAI,CAACY,MAAM,CAACb,QAAQ;EAErC,OAAO;IACLQ,IAAI,EAAE,UAAU;IAChBV,OAAO;IACPC,QAAQ;IACRC,QAAQ;IACRS,CAAC,EAAER,IAAI,CAACY,MAAM,CAACJ,CAAC;IAChBC,CAAC,EAAET,IAAI,CAACY,MAAM,CAACH,CAAC;IAChBC,OAAO,EAAEf,qBAAqB,CAAC;MAAEE,OAAO;MAAEC,QAAQ;MAAEC,QAAQ;MAAEE;IAAQ,CAAC;EACzE,CAAC;AACH"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
|
|
3
|
+
interface LocaleMessages {
|
|
4
|
+
[key: string]: LocaleMessages | string;
|
|
5
|
+
}
|
|
6
|
+
interface LocaleOptions {
|
|
7
|
+
messages?: LocaleMessages;
|
|
8
|
+
locale?: string;
|
|
9
|
+
fallback?: string;
|
|
10
|
+
adapter?: LocaleInstance;
|
|
11
|
+
}
|
|
12
|
+
interface LocaleInstance {
|
|
13
|
+
name: string;
|
|
14
|
+
messages: Ref<LocaleMessages>;
|
|
15
|
+
current: Ref<string>;
|
|
16
|
+
fallback: Ref<string>;
|
|
17
|
+
t: (key: string, ...params: unknown[]) => string;
|
|
18
|
+
n: (value: number) => string;
|
|
19
|
+
provide: (props: LocaleOptions) => LocaleInstance;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
declare function createVuetifyAdapter(options?: LocaleOptions): LocaleInstance;
|
|
23
|
+
|
|
24
|
+
export { createVuetifyAdapter };
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { ref, watch } from 'vue';
|
|
2
|
+
import { consoleError, consoleWarn, getObjectValueByPath } from "../../util/index.mjs";
|
|
3
|
+
import { useProxiedModel } from "../../composables/proxiedModel.mjs";
|
|
4
|
+
import en from "../en.mjs";
|
|
5
|
+
const LANG_PREFIX = '$vuetify.';
|
|
6
|
+
const replace = (str, params) => {
|
|
7
|
+
return str.replace(/\{(\d+)\}/g, (match, index) => {
|
|
8
|
+
return String(params[+index]);
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
const createTranslateFunction = (current, fallback, messages) => {
|
|
12
|
+
return function (key) {
|
|
13
|
+
for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
14
|
+
params[_key - 1] = arguments[_key];
|
|
15
|
+
}
|
|
16
|
+
if (!key.startsWith(LANG_PREFIX)) {
|
|
17
|
+
return replace(key, params);
|
|
18
|
+
}
|
|
19
|
+
const shortKey = key.replace(LANG_PREFIX, '');
|
|
20
|
+
const currentLocale = current.value && messages.value[current.value];
|
|
21
|
+
const fallbackLocale = fallback.value && messages.value[fallback.value];
|
|
22
|
+
let str = getObjectValueByPath(currentLocale, shortKey, null);
|
|
23
|
+
if (!str) {
|
|
24
|
+
consoleWarn(`Translation key "${key}" not found in "${current.value}", trying fallback locale`);
|
|
25
|
+
str = getObjectValueByPath(fallbackLocale, shortKey, null);
|
|
26
|
+
}
|
|
27
|
+
if (!str) {
|
|
28
|
+
consoleError(`Translation key "${key}" not found in fallback`);
|
|
29
|
+
str = key;
|
|
30
|
+
}
|
|
31
|
+
if (typeof str !== 'string') {
|
|
32
|
+
consoleError(`Translation key "${key}" has a non-string value`);
|
|
33
|
+
str = key;
|
|
34
|
+
}
|
|
35
|
+
return replace(str, params);
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
function createNumberFunction(current, fallback) {
|
|
39
|
+
return (value, options) => {
|
|
40
|
+
const numberFormat = new Intl.NumberFormat([current.value, fallback.value], options);
|
|
41
|
+
return numberFormat.format(value);
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function useProvided(props, prop, provided) {
|
|
45
|
+
const internal = useProxiedModel(props, prop, props[prop] ?? provided.value);
|
|
46
|
+
|
|
47
|
+
// TODO: Remove when defaultValue works
|
|
48
|
+
internal.value = props[prop] ?? provided.value;
|
|
49
|
+
watch(provided, v => {
|
|
50
|
+
if (props[prop] == null) {
|
|
51
|
+
internal.value = provided.value;
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
return internal;
|
|
55
|
+
}
|
|
56
|
+
function createProvideFunction(state) {
|
|
57
|
+
return props => {
|
|
58
|
+
const current = useProvided(props, 'locale', state.current);
|
|
59
|
+
const fallback = useProvided(props, 'fallback', state.fallback);
|
|
60
|
+
const messages = useProvided(props, 'messages', state.messages);
|
|
61
|
+
return {
|
|
62
|
+
name: 'vuetify',
|
|
63
|
+
current,
|
|
64
|
+
fallback,
|
|
65
|
+
messages,
|
|
66
|
+
t: createTranslateFunction(current, fallback, messages),
|
|
67
|
+
n: createNumberFunction(current, fallback),
|
|
68
|
+
provide: createProvideFunction({
|
|
69
|
+
current,
|
|
70
|
+
fallback,
|
|
71
|
+
messages
|
|
72
|
+
})
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
export function createVuetifyAdapter(options) {
|
|
77
|
+
const current = ref((options == null ? void 0 : options.locale) ?? 'en');
|
|
78
|
+
const fallback = ref((options == null ? void 0 : options.fallback) ?? 'en');
|
|
79
|
+
const messages = ref({
|
|
80
|
+
en,
|
|
81
|
+
...(options == null ? void 0 : options.messages)
|
|
82
|
+
});
|
|
83
|
+
return {
|
|
84
|
+
name: 'vuetify',
|
|
85
|
+
current,
|
|
86
|
+
fallback,
|
|
87
|
+
messages,
|
|
88
|
+
t: createTranslateFunction(current, fallback, messages),
|
|
89
|
+
n: createNumberFunction(current, fallback),
|
|
90
|
+
provide: createProvideFunction({
|
|
91
|
+
current,
|
|
92
|
+
fallback,
|
|
93
|
+
messages
|
|
94
|
+
})
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=vuetify.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vuetify.mjs","names":["ref","watch","consoleError","consoleWarn","getObjectValueByPath","useProxiedModel","en","LANG_PREFIX","replace","str","params","match","index","String","createTranslateFunction","current","fallback","messages","key","startsWith","shortKey","currentLocale","value","fallbackLocale","createNumberFunction","options","numberFormat","Intl","NumberFormat","format","useProvided","props","prop","provided","internal","v","createProvideFunction","state","name","t","n","provide","createVuetifyAdapter","locale"],"sources":["../../../src/locale/adapters/vuetify.ts"],"sourcesContent":["import { ref, watch } from 'vue'\nimport { consoleError, consoleWarn, getObjectValueByPath } from '@/util'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport en from '@/locale/en'\n\nimport type { Ref } from 'vue'\nimport type { LocaleInstance, LocaleMessages, LocaleOptions } from '@/composables/locale'\n\nconst LANG_PREFIX = '$vuetify.'\n\nconst replace = (str: string, params: unknown[]) => {\n return str.replace(/\\{(\\d+)\\}/g, (match: string, index: string) => {\n return String(params[+index])\n })\n}\n\nconst createTranslateFunction = (\n current: Ref<string>,\n fallback: Ref<string>,\n messages: Ref<LocaleMessages>,\n) => {\n return (key: string, ...params: unknown[]) => {\n if (!key.startsWith(LANG_PREFIX)) {\n return replace(key, params)\n }\n\n const shortKey = key.replace(LANG_PREFIX, '')\n const currentLocale = current.value && messages.value[current.value]\n const fallbackLocale = fallback.value && messages.value[fallback.value]\n\n let str: string = getObjectValueByPath(currentLocale, shortKey, null)\n\n if (!str) {\n consoleWarn(`Translation key \"${key}\" not found in \"${current.value}\", trying fallback locale`)\n str = getObjectValueByPath(fallbackLocale, shortKey, null)\n }\n\n if (!str) {\n consoleError(`Translation key \"${key}\" not found in fallback`)\n str = key\n }\n\n if (typeof str !== 'string') {\n consoleError(`Translation key \"${key}\" has a non-string value`)\n str = key\n }\n\n return replace(str, params)\n }\n}\n\nfunction createNumberFunction (current: Ref<string>, fallback: Ref<string>) {\n return (value: number, options?: Intl.NumberFormatOptions) => {\n const numberFormat = new Intl.NumberFormat([current.value, fallback.value], options)\n\n return numberFormat.format(value)\n }\n}\n\nfunction useProvided <T> (props: any, prop: string, provided: Ref<T>) {\n const internal = useProxiedModel(props, prop, props[prop] ?? provided.value)\n\n // TODO: Remove when defaultValue works\n internal.value = props[prop] ?? provided.value\n\n watch(provided, v => {\n if (props[prop] == null) {\n internal.value = provided.value\n }\n })\n\n return internal as Ref<T>\n}\n\nfunction createProvideFunction (state: { current: Ref<string>, fallback: Ref<string>, messages: Ref<LocaleMessages> }) {\n return (props: LocaleOptions): LocaleInstance => {\n const current = useProvided(props, 'locale', state.current)\n const fallback = useProvided(props, 'fallback', state.fallback)\n const messages = useProvided(props, 'messages', state.messages)\n\n return {\n name: 'vuetify',\n current,\n fallback,\n messages,\n t: createTranslateFunction(current, fallback, messages),\n n: createNumberFunction(current, fallback),\n provide: createProvideFunction({ current, fallback, messages }),\n }\n }\n}\n\nexport function createVuetifyAdapter (options?: LocaleOptions): LocaleInstance {\n const current = ref(options?.locale ?? 'en')\n const fallback = ref(options?.fallback ?? 'en')\n const messages = ref({ en, ...options?.messages })\n\n return {\n name: 'vuetify',\n current,\n fallback,\n messages,\n t: createTranslateFunction(current, fallback, messages),\n n: createNumberFunction(current, fallback),\n provide: createProvideFunction({ current, fallback, messages }),\n }\n}\n"],"mappings":"AAAA,SAASA,GAAG,EAAEC,KAAK,QAAQ,KAAK;AAAA,SACvBC,YAAY,EAAEC,WAAW,EAAEC,oBAAoB;AAAA,SAC/CC,eAAe;AAAA,OACjBC,EAAE;AAKT,MAAMC,WAAW,GAAG,WAAW;AAE/B,MAAMC,OAAO,GAAG,CAACC,GAAW,EAAEC,MAAiB,KAAK;EAClD,OAAOD,GAAG,CAACD,OAAO,CAAC,YAAY,EAAE,CAACG,KAAa,EAAEC,KAAa,KAAK;IACjE,OAAOC,MAAM,CAACH,MAAM,CAAC,CAACE,KAAK,CAAC,CAAC;EAC/B,CAAC,CAAC;AACJ,CAAC;AAED,MAAME,uBAAuB,GAAG,CAC9BC,OAAoB,EACpBC,QAAqB,EACrBC,QAA6B,KAC1B;EACH,OAAO,UAACC,GAAW,EAA2B;IAAA,kCAAtBR,MAAM;MAANA,MAAM;IAAA;IAC5B,IAAI,CAACQ,GAAG,CAACC,UAAU,CAACZ,WAAW,CAAC,EAAE;MAChC,OAAOC,OAAO,CAACU,GAAG,EAAER,MAAM,CAAC;IAC7B;IAEA,MAAMU,QAAQ,GAAGF,GAAG,CAACV,OAAO,CAACD,WAAW,EAAE,EAAE,CAAC;IAC7C,MAAMc,aAAa,GAAGN,OAAO,CAACO,KAAK,IAAIL,QAAQ,CAACK,KAAK,CAACP,OAAO,CAACO,KAAK,CAAC;IACpE,MAAMC,cAAc,GAAGP,QAAQ,CAACM,KAAK,IAAIL,QAAQ,CAACK,KAAK,CAACN,QAAQ,CAACM,KAAK,CAAC;IAEvE,IAAIb,GAAW,GAAGL,oBAAoB,CAACiB,aAAa,EAAED,QAAQ,EAAE,IAAI,CAAC;IAErE,IAAI,CAACX,GAAG,EAAE;MACRN,WAAW,CAAE,oBAAmBe,GAAI,mBAAkBH,OAAO,CAACO,KAAM,2BAA0B,CAAC;MAC/Fb,GAAG,GAAGL,oBAAoB,CAACmB,cAAc,EAAEH,QAAQ,EAAE,IAAI,CAAC;IAC5D;IAEA,IAAI,CAACX,GAAG,EAAE;MACRP,YAAY,CAAE,oBAAmBgB,GAAI,yBAAwB,CAAC;MAC9DT,GAAG,GAAGS,GAAG;IACX;IAEA,IAAI,OAAOT,GAAG,KAAK,QAAQ,EAAE;MAC3BP,YAAY,CAAE,oBAAmBgB,GAAI,0BAAyB,CAAC;MAC/DT,GAAG,GAAGS,GAAG;IACX;IAEA,OAAOV,OAAO,CAACC,GAAG,EAAEC,MAAM,CAAC;EAC7B,CAAC;AACH,CAAC;AAED,SAASc,oBAAoB,CAAET,OAAoB,EAAEC,QAAqB,EAAE;EAC1E,OAAO,CAACM,KAAa,EAAEG,OAAkC,KAAK;IAC5D,MAAMC,YAAY,GAAG,IAAIC,IAAI,CAACC,YAAY,CAAC,CAACb,OAAO,CAACO,KAAK,EAAEN,QAAQ,CAACM,KAAK,CAAC,EAAEG,OAAO,CAAC;IAEpF,OAAOC,YAAY,CAACG,MAAM,CAACP,KAAK,CAAC;EACnC,CAAC;AACH;AAEA,SAASQ,WAAW,CAAMC,KAAU,EAAEC,IAAY,EAAEC,QAAgB,EAAE;EACpE,MAAMC,QAAQ,GAAG7B,eAAe,CAAC0B,KAAK,EAAEC,IAAI,EAAED,KAAK,CAACC,IAAI,CAAC,IAAIC,QAAQ,CAACX,KAAK,CAAC;;EAE5E;EACAY,QAAQ,CAACZ,KAAK,GAAGS,KAAK,CAACC,IAAI,CAAC,IAAIC,QAAQ,CAACX,KAAK;EAE9CrB,KAAK,CAACgC,QAAQ,EAAEE,CAAC,IAAI;IACnB,IAAIJ,KAAK,CAACC,IAAI,CAAC,IAAI,IAAI,EAAE;MACvBE,QAAQ,CAACZ,KAAK,GAAGW,QAAQ,CAACX,KAAK;IACjC;EACF,CAAC,CAAC;EAEF,OAAOY,QAAQ;AACjB;AAEA,SAASE,qBAAqB,CAAEC,KAAqF,EAAE;EACrH,OAAQN,KAAoB,IAAqB;IAC/C,MAAMhB,OAAO,GAAGe,WAAW,CAACC,KAAK,EAAE,QAAQ,EAAEM,KAAK,CAACtB,OAAO,CAAC;IAC3D,MAAMC,QAAQ,GAAGc,WAAW,CAACC,KAAK,EAAE,UAAU,EAAEM,KAAK,CAACrB,QAAQ,CAAC;IAC/D,MAAMC,QAAQ,GAAGa,WAAW,CAACC,KAAK,EAAE,UAAU,EAAEM,KAAK,CAACpB,QAAQ,CAAC;IAE/D,OAAO;MACLqB,IAAI,EAAE,SAAS;MACfvB,OAAO;MACPC,QAAQ;MACRC,QAAQ;MACRsB,CAAC,EAAEzB,uBAAuB,CAACC,OAAO,EAAEC,QAAQ,EAAEC,QAAQ,CAAC;MACvDuB,CAAC,EAAEhB,oBAAoB,CAACT,OAAO,EAAEC,QAAQ,CAAC;MAC1CyB,OAAO,EAAEL,qBAAqB,CAAC;QAAErB,OAAO;QAAEC,QAAQ;QAAEC;MAAS,CAAC;IAChE,CAAC;EACH,CAAC;AACH;AAEA,OAAO,SAASyB,oBAAoB,CAAEjB,OAAuB,EAAkB;EAC7E,MAAMV,OAAO,GAAGf,GAAG,CAAC,CAAAyB,OAAO,oBAAPA,OAAO,CAAEkB,MAAM,KAAI,IAAI,CAAC;EAC5C,MAAM3B,QAAQ,GAAGhB,GAAG,CAAC,CAAAyB,OAAO,oBAAPA,OAAO,CAAET,QAAQ,KAAI,IAAI,CAAC;EAC/C,MAAMC,QAAQ,GAAGjB,GAAG,CAAC;IAAEM,EAAE;IAAE,IAAGmB,OAAO,oBAAPA,OAAO,CAAER,QAAQ;EAAC,CAAC,CAAC;EAElD,OAAO;IACLqB,IAAI,EAAE,SAAS;IACfvB,OAAO;IACPC,QAAQ;IACRC,QAAQ;IACRsB,CAAC,EAAEzB,uBAAuB,CAACC,OAAO,EAAEC,QAAQ,EAAEC,QAAQ,CAAC;IACvDuB,CAAC,EAAEhB,oBAAoB,CAACT,OAAO,EAAEC,QAAQ,CAAC;IAC1CyB,OAAO,EAAEL,qBAAqB,CAAC;MAAErB,OAAO;MAAEC,QAAQ;MAAEC;IAAS,CAAC;EAChE,CAAC;AACH"}
|