@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/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,63 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { Ref, DeepReadonly, ToRefs, JSXComponent, PropType, App, ComponentInternalInstance, CSSProperties } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare type DeepPartial<T> = T extends object ? {
|
|
5
|
+
[P in keyof T]?: DeepPartial<T[P]>;
|
|
6
|
+
} : T;
|
|
7
|
+
declare type ThemeOptions = false | {
|
|
8
|
+
cspNonce?: string;
|
|
9
|
+
defaultTheme?: string;
|
|
10
|
+
variations?: false | VariationsOptions;
|
|
11
|
+
themes?: Record<string, ThemeDefinition>;
|
|
12
|
+
};
|
|
13
|
+
declare type ThemeDefinition = DeepPartial<InternalThemeDefinition>;
|
|
14
|
+
interface VariationsOptions {
|
|
15
|
+
colors: string[];
|
|
16
|
+
lighten: number;
|
|
17
|
+
darken: number;
|
|
18
|
+
}
|
|
19
|
+
interface InternalThemeDefinition {
|
|
20
|
+
dark: boolean;
|
|
21
|
+
colors: Colors;
|
|
22
|
+
variables: Record<string, string | number>;
|
|
23
|
+
}
|
|
24
|
+
interface Colors extends BaseColors, OnColors {
|
|
25
|
+
[key: string]: string;
|
|
26
|
+
}
|
|
27
|
+
interface BaseColors {
|
|
28
|
+
background: string;
|
|
29
|
+
surface: string;
|
|
30
|
+
primary: string;
|
|
31
|
+
secondary: string;
|
|
32
|
+
success: string;
|
|
33
|
+
warning: string;
|
|
34
|
+
error: string;
|
|
35
|
+
info: string;
|
|
36
|
+
}
|
|
37
|
+
interface OnColors {
|
|
38
|
+
'on-background': string;
|
|
39
|
+
'on-surface': string;
|
|
40
|
+
'on-primary': string;
|
|
41
|
+
'on-secondary': string;
|
|
42
|
+
'on-success': string;
|
|
43
|
+
'on-warning': string;
|
|
44
|
+
'on-error': string;
|
|
45
|
+
'on-info': string;
|
|
46
|
+
}
|
|
47
|
+
interface ThemeInstance {
|
|
48
|
+
readonly isDisabled: boolean;
|
|
49
|
+
readonly themes: Ref<Record<string, InternalThemeDefinition>>;
|
|
50
|
+
readonly name: Readonly<Ref<string>>;
|
|
51
|
+
readonly current: DeepReadonly<Ref<InternalThemeDefinition>>;
|
|
52
|
+
readonly computedThemes: DeepReadonly<Ref<Record<string, InternalThemeDefinition>>>;
|
|
53
|
+
readonly themeClasses: Readonly<Ref<string | undefined>>;
|
|
54
|
+
readonly styles: Readonly<Ref<string>>;
|
|
55
|
+
readonly global: {
|
|
56
|
+
readonly name: Ref<string>;
|
|
57
|
+
readonly current: DeepReadonly<Ref<InternalThemeDefinition>>;
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
declare function useTheme(): ThemeInstance;
|
|
2
61
|
|
|
3
62
|
declare type DisplayBreakpoint = keyof DisplayThresholds;
|
|
4
63
|
interface DisplayThresholds {
|
|
@@ -53,60 +112,14 @@ interface DisplayInstance {
|
|
|
53
112
|
}
|
|
54
113
|
declare function useDisplay(): ToRefs<DisplayInstance>;
|
|
55
114
|
|
|
56
|
-
|
|
57
|
-
[
|
|
58
|
-
|
|
59
|
-
interface BaseColors {
|
|
60
|
-
background: string;
|
|
61
|
-
surface: string;
|
|
62
|
-
primary: string;
|
|
63
|
-
secondary: string;
|
|
64
|
-
success: string;
|
|
65
|
-
warning: string;
|
|
66
|
-
error: string;
|
|
67
|
-
info: string;
|
|
68
|
-
}
|
|
69
|
-
interface OnColors {
|
|
70
|
-
'on-background': string;
|
|
71
|
-
'on-surface': string;
|
|
72
|
-
'on-primary': string;
|
|
73
|
-
'on-secondary': string;
|
|
74
|
-
'on-success': string;
|
|
75
|
-
'on-warning': string;
|
|
76
|
-
'on-error': string;
|
|
77
|
-
'on-info': string;
|
|
78
|
-
}
|
|
79
|
-
interface Colors extends BaseColors, OnColors {
|
|
80
|
-
[key: string]: string;
|
|
81
|
-
}
|
|
82
|
-
interface InternalThemeDefinition {
|
|
83
|
-
dark: boolean;
|
|
84
|
-
colors: Colors;
|
|
85
|
-
variables: Record<string, string | number>;
|
|
86
|
-
}
|
|
87
|
-
interface VariationsOptions {
|
|
88
|
-
colors: string[];
|
|
89
|
-
lighten: number;
|
|
90
|
-
darken: number;
|
|
91
|
-
}
|
|
92
|
-
declare type ThemeDefinition = DeepPartial<InternalThemeDefinition>;
|
|
93
|
-
declare type ThemeOptions = false | {
|
|
94
|
-
defaultTheme?: string;
|
|
95
|
-
variations?: false | VariationsOptions;
|
|
96
|
-
themes?: Record<string, ThemeDefinition>;
|
|
97
|
-
};
|
|
98
|
-
interface ThemeInstance {
|
|
99
|
-
isDisabled: boolean;
|
|
100
|
-
themes: Ref<Record<string, InternalThemeDefinition>>;
|
|
101
|
-
current: Ref<string>;
|
|
102
|
-
themeClasses: Ref<string | undefined>;
|
|
103
|
-
setTheme: (key: string, theme: InternalThemeDefinition) => void;
|
|
104
|
-
getTheme: (key: string) => InternalThemeDefinition;
|
|
105
|
-
styles: Ref<string>;
|
|
115
|
+
interface DefaultsInstance {
|
|
116
|
+
[key: string]: undefined | Record<string, unknown>;
|
|
117
|
+
global?: Record<string, unknown>;
|
|
106
118
|
}
|
|
107
|
-
declare
|
|
119
|
+
declare type DefaultsOptions = Partial<DefaultsInstance>;
|
|
108
120
|
|
|
109
121
|
declare type IconValue = string | JSXComponent;
|
|
122
|
+
declare const IconValue: PropType<IconValue>;
|
|
110
123
|
interface IconAliases {
|
|
111
124
|
[name: string]: IconValue;
|
|
112
125
|
complete: IconValue;
|
|
@@ -158,6 +171,20 @@ declare type IconOptions = {
|
|
|
158
171
|
sets: Record<string, IconSet>;
|
|
159
172
|
};
|
|
160
173
|
|
|
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
|
+
|
|
161
188
|
interface LocaleMessages {
|
|
162
189
|
[key: string]: LocaleMessages | string;
|
|
163
190
|
}
|
|
@@ -179,31 +206,11 @@ interface LocaleInstance {
|
|
|
179
206
|
n: (value: number) => string;
|
|
180
207
|
}
|
|
181
208
|
interface LocaleAdapter {
|
|
182
|
-
createRoot: (app
|
|
209
|
+
createRoot: (app?: App) => LocaleInstance;
|
|
183
210
|
getScope: () => LocaleInstance;
|
|
184
211
|
createScope: (options?: LocaleProps) => LocaleInstance;
|
|
185
212
|
}
|
|
186
|
-
|
|
187
|
-
interface RtlOptions {
|
|
188
|
-
defaultRtl?: boolean;
|
|
189
|
-
rtl?: Record<string, boolean>;
|
|
190
|
-
}
|
|
191
|
-
interface RtlProps {
|
|
192
|
-
rtl?: boolean;
|
|
193
|
-
}
|
|
194
|
-
interface RtlInstance {
|
|
195
|
-
isRtl: Ref<boolean>;
|
|
196
|
-
rtl: Record<string, boolean>;
|
|
197
|
-
rtlClasses: Ref<string>;
|
|
198
|
-
}
|
|
199
|
-
declare function provideRtl(props: RtlProps, localeScope: LocaleInstance): RtlInstance;
|
|
200
|
-
declare function useRtl(): RtlInstance;
|
|
201
|
-
|
|
202
|
-
interface DefaultsInstance {
|
|
203
|
-
[key: string]: undefined | Record<string, unknown>;
|
|
204
|
-
global?: Record<string, unknown>;
|
|
205
|
-
}
|
|
206
|
-
declare type DefaultsOptions = Partial<DefaultsInstance>;
|
|
213
|
+
declare function useLocale(): LocaleInstance;
|
|
207
214
|
|
|
208
215
|
declare type Position = 'top' | 'left' | 'right' | 'bottom';
|
|
209
216
|
declare type LayoutItem = {
|
|
@@ -217,20 +224,20 @@ declare type LayoutItem = {
|
|
|
217
224
|
interface LayoutProvide {
|
|
218
225
|
register: (vm: ComponentInternalInstance, options: {
|
|
219
226
|
id: string;
|
|
220
|
-
|
|
227
|
+
order: Ref<number>;
|
|
221
228
|
position: Ref<Position>;
|
|
222
229
|
layoutSize: Ref<number | string>;
|
|
223
|
-
elementSize: Ref<number | string>;
|
|
230
|
+
elementSize: Ref<number | string | undefined>;
|
|
224
231
|
active: Ref<boolean>;
|
|
225
232
|
disableTransitions?: Ref<boolean>;
|
|
226
233
|
absolute: Ref<boolean | undefined>;
|
|
227
234
|
}) => {
|
|
228
|
-
layoutItemStyles: Ref<
|
|
229
|
-
layoutItemScrimStyles: Ref<
|
|
235
|
+
layoutItemStyles: Ref<CSSProperties>;
|
|
236
|
+
layoutItemScrimStyles: Ref<CSSProperties>;
|
|
230
237
|
zIndex: Ref<number>;
|
|
231
238
|
};
|
|
232
239
|
unregister: (id: string) => void;
|
|
233
|
-
mainStyles: Ref<
|
|
240
|
+
mainStyles: Ref<CSSProperties>;
|
|
234
241
|
getLayoutItem: (id: string) => LayoutItem | undefined;
|
|
235
242
|
items: Ref<LayoutItem[]>;
|
|
236
243
|
layoutRect: Ref<DOMRectReadOnly | undefined>;
|
|
@@ -238,7 +245,20 @@ interface LayoutProvide {
|
|
|
238
245
|
}
|
|
239
246
|
declare function useLayout(): LayoutProvide;
|
|
240
247
|
|
|
248
|
+
interface FieldValidationResult {
|
|
249
|
+
id: number | string;
|
|
250
|
+
errorMessages: string[];
|
|
251
|
+
}
|
|
252
|
+
interface FormValidationResult {
|
|
253
|
+
valid: boolean;
|
|
254
|
+
errors: FieldValidationResult[];
|
|
255
|
+
}
|
|
256
|
+
interface SubmitEventPromise extends SubmitEvent, Promise<FormValidationResult> {
|
|
257
|
+
}
|
|
258
|
+
|
|
241
259
|
interface VuetifyOptions {
|
|
260
|
+
aliases?: Record<string, any>;
|
|
261
|
+
blueprint?: Blueprint;
|
|
242
262
|
components?: Record<string, any>;
|
|
243
263
|
directives?: Record<string, any>;
|
|
244
264
|
defaults?: DefaultsOptions;
|
|
@@ -246,12 +266,26 @@ interface VuetifyOptions {
|
|
|
246
266
|
theme?: ThemeOptions;
|
|
247
267
|
icons?: IconOptions;
|
|
248
268
|
locale?: (LocaleOptions & RtlOptions) | (LocaleAdapter & RtlOptions);
|
|
269
|
+
ssr?: boolean;
|
|
249
270
|
}
|
|
250
|
-
|
|
271
|
+
interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {
|
|
272
|
+
}
|
|
273
|
+
declare function createVuetify(vuetify?: VuetifyOptions): {
|
|
251
274
|
install: (app: App) => void;
|
|
275
|
+
defaults: vue.Ref<DefaultsInstance>;
|
|
276
|
+
display: vue.ToRefs<DisplayInstance>;
|
|
277
|
+
theme: ThemeInstance & {
|
|
278
|
+
install: (app: App<any>) => void;
|
|
279
|
+
};
|
|
280
|
+
icons: Record<string, any>;
|
|
281
|
+
locale: LocaleAdapter;
|
|
252
282
|
};
|
|
283
|
+
declare namespace createVuetify {
|
|
284
|
+
var version: string;
|
|
285
|
+
}
|
|
286
|
+
declare const version: string;
|
|
253
287
|
|
|
254
|
-
export { DefaultsInstance, DisplayBreakpoint, DisplayInstance, DisplayThresholds, IconAliases, IconOptions, IconProps, IconSet, LocaleAdapter, RtlInstance, ThemeDefinition, ThemeInstance, VuetifyOptions, createVuetify, provideRtl, useDisplay, useLayout, useRtl, useTheme };
|
|
288
|
+
export { Blueprint, DefaultsInstance, DisplayBreakpoint, DisplayInstance, DisplayThresholds, IconAliases, IconOptions, IconProps, IconSet, LocaleAdapter, LocaleInstance, RtlInstance, SubmitEventPromise, ThemeDefinition, ThemeInstance, VuetifyOptions, createVuetify, provideRtl, useDisplay, useLayout, useLocale, useRtl, useTheme, version };
|
|
255
289
|
|
|
256
290
|
import type { ComponentPublicInstance, FunctionalComponent, VNodeChild } from 'vue'
|
|
257
291
|
|
|
@@ -293,6 +327,40 @@ declare module '@vue/runtime-core' {
|
|
|
293
327
|
|
|
294
328
|
export interface GlobalComponents {
|
|
295
329
|
VApp: typeof import('vuetify/components')['VApp']
|
|
330
|
+
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
|
331
|
+
VContainer: typeof import('vuetify/components')['VContainer']
|
|
332
|
+
VCol: typeof import('vuetify/components')['VCol']
|
|
333
|
+
VRow: typeof import('vuetify/components')['VRow']
|
|
334
|
+
VSpacer: typeof import('vuetify/components')['VSpacer']
|
|
335
|
+
VHover: typeof import('vuetify/components')['VHover']
|
|
336
|
+
VForm: typeof import('vuetify/components')['VForm']
|
|
337
|
+
VLayout: typeof import('vuetify/components')['VLayout']
|
|
338
|
+
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
|
339
|
+
VLazy: typeof import('vuetify/components')['VLazy']
|
|
340
|
+
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
|
341
|
+
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
|
342
|
+
VParallax: typeof import('vuetify/components')['VParallax']
|
|
343
|
+
VRadio: typeof import('vuetify/components')['VRadio']
|
|
344
|
+
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
|
345
|
+
VResponsive: typeof import('vuetify/components')['VResponsive']
|
|
346
|
+
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
|
347
|
+
VFabTransition: typeof import('vuetify/components')['VFabTransition']
|
|
348
|
+
VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
|
|
349
|
+
VDialogTopTransition: typeof import('vuetify/components')['VDialogTopTransition']
|
|
350
|
+
VFadeTransition: typeof import('vuetify/components')['VFadeTransition']
|
|
351
|
+
VScaleTransition: typeof import('vuetify/components')['VScaleTransition']
|
|
352
|
+
VScrollXTransition: typeof import('vuetify/components')['VScrollXTransition']
|
|
353
|
+
VScrollXReverseTransition: typeof import('vuetify/components')['VScrollXReverseTransition']
|
|
354
|
+
VScrollYTransition: typeof import('vuetify/components')['VScrollYTransition']
|
|
355
|
+
VScrollYReverseTransition: typeof import('vuetify/components')['VScrollYReverseTransition']
|
|
356
|
+
VSlideXTransition: typeof import('vuetify/components')['VSlideXTransition']
|
|
357
|
+
VSlideXReverseTransition: typeof import('vuetify/components')['VSlideXReverseTransition']
|
|
358
|
+
VSlideYTransition: typeof import('vuetify/components')['VSlideYTransition']
|
|
359
|
+
VSlideYReverseTransition: typeof import('vuetify/components')['VSlideYReverseTransition']
|
|
360
|
+
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
|
361
|
+
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
|
362
|
+
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
|
363
|
+
VValidation: typeof import('vuetify/components')['VValidation']
|
|
296
364
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
|
297
365
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
|
298
366
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
|
@@ -313,23 +381,20 @@ declare module '@vue/runtime-core' {
|
|
|
313
381
|
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
|
314
382
|
VCard: typeof import('vuetify/components')['VCard']
|
|
315
383
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
|
316
|
-
|
|
317
|
-
VCardHeader: typeof import('vuetify/components')['VCardHeader']
|
|
318
|
-
VCardHeaderText: typeof import('vuetify/components')['VCardHeaderText']
|
|
319
|
-
VCardImg: typeof import('vuetify/components')['VCardImg']
|
|
384
|
+
VCardItem: typeof import('vuetify/components')['VCardItem']
|
|
320
385
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
|
321
386
|
VCardText: typeof import('vuetify/components')['VCardText']
|
|
322
387
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
|
323
388
|
VCarousel: typeof import('vuetify/components')['VCarousel']
|
|
324
389
|
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
|
325
390
|
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
|
326
|
-
|
|
391
|
+
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
|
327
392
|
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
|
393
|
+
VChip: typeof import('vuetify/components')['VChip']
|
|
328
394
|
VCode: typeof import('vuetify/components')['VCode']
|
|
329
395
|
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
|
330
396
|
VCombobox: typeof import('vuetify/components')['VCombobox']
|
|
331
397
|
VCounter: typeof import('vuetify/components')['VCounter']
|
|
332
|
-
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
|
333
398
|
VDialog: typeof import('vuetify/components')['VDialog']
|
|
334
399
|
VDivider: typeof import('vuetify/components')['VDivider']
|
|
335
400
|
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
|
@@ -340,56 +405,41 @@ declare module '@vue/runtime-core' {
|
|
|
340
405
|
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
|
341
406
|
VFileInput: typeof import('vuetify/components')['VFileInput']
|
|
342
407
|
VFooter: typeof import('vuetify/components')['VFooter']
|
|
343
|
-
VForm: typeof import('vuetify/components')['VForm']
|
|
344
|
-
VContainer: typeof import('vuetify/components')['VContainer']
|
|
345
|
-
VCol: typeof import('vuetify/components')['VCol']
|
|
346
|
-
VRow: typeof import('vuetify/components')['VRow']
|
|
347
|
-
VSpacer: typeof import('vuetify/components')['VSpacer']
|
|
348
|
-
VHover: typeof import('vuetify/components')['VHover']
|
|
349
408
|
VIcon: typeof import('vuetify/components')['VIcon']
|
|
350
409
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
|
351
410
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
|
352
411
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
|
353
412
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
|
354
|
-
VImg: typeof import('vuetify/components')['VImg']
|
|
355
413
|
VInput: typeof import('vuetify/components')['VInput']
|
|
356
414
|
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
|
357
415
|
VItem: typeof import('vuetify/components')['VItem']
|
|
358
416
|
VKbd: typeof import('vuetify/components')['VKbd']
|
|
359
417
|
VLabel: typeof import('vuetify/components')['VLabel']
|
|
360
|
-
VLayout: typeof import('vuetify/components')['VLayout']
|
|
361
|
-
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
|
362
|
-
VLazy: typeof import('vuetify/components')['VLazy']
|
|
363
418
|
VList: typeof import('vuetify/components')['VList']
|
|
364
|
-
|
|
419
|
+
VListGroup: typeof import('vuetify/components')['VListGroup']
|
|
365
420
|
VListImg: typeof import('vuetify/components')['VListImg']
|
|
366
421
|
VListItem: typeof import('vuetify/components')['VListItem']
|
|
367
|
-
|
|
368
|
-
VListItemHeader: typeof import('vuetify/components')['VListItemHeader']
|
|
422
|
+
VListItemAction: typeof import('vuetify/components')['VListItemAction']
|
|
369
423
|
VListItemMedia: typeof import('vuetify/components')['VListItemMedia']
|
|
370
424
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
|
371
425
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
|
372
|
-
|
|
373
|
-
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
|
426
|
+
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
|
374
427
|
VMain: typeof import('vuetify/components')['VMain']
|
|
375
428
|
VMenu: typeof import('vuetify/components')['VMenu']
|
|
376
429
|
VMessages: typeof import('vuetify/components')['VMessages']
|
|
377
430
|
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
|
378
|
-
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
|
379
431
|
VOverlay: typeof import('vuetify/components')['VOverlay']
|
|
380
432
|
VPagination: typeof import('vuetify/components')['VPagination']
|
|
381
|
-
VParallax: typeof import('vuetify/components')['VParallax']
|
|
382
433
|
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
|
383
434
|
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
|
384
|
-
VRadio: typeof import('vuetify/components')['VRadio']
|
|
385
435
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
|
386
|
-
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
|
387
436
|
VRating: typeof import('vuetify/components')['VRating']
|
|
388
|
-
VResponsive: typeof import('vuetify/components')['VResponsive']
|
|
389
437
|
VSelect: typeof import('vuetify/components')['VSelect']
|
|
390
438
|
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
|
391
439
|
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
|
392
440
|
VSheet: typeof import('vuetify/components')['VSheet']
|
|
441
|
+
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
|
442
|
+
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
|
393
443
|
VSlider: typeof import('vuetify/components')['VSlider']
|
|
394
444
|
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
|
395
445
|
VSwitch: typeof import('vuetify/components')['VSwitch']
|
|
@@ -399,36 +449,14 @@ declare module '@vue/runtime-core' {
|
|
|
399
449
|
VTable: typeof import('vuetify/components')['VTable']
|
|
400
450
|
VTextarea: typeof import('vuetify/components')['VTextarea']
|
|
401
451
|
VTextField: typeof import('vuetify/components')['VTextField']
|
|
402
|
-
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
|
403
452
|
VTimeline: typeof import('vuetify/components')['VTimeline']
|
|
404
453
|
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
|
405
454
|
VToolbar: typeof import('vuetify/components')['VToolbar']
|
|
406
455
|
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
|
407
456
|
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
|
408
457
|
VTooltip: typeof import('vuetify/components')['VTooltip']
|
|
409
|
-
VValidation: typeof import('vuetify/components')['VValidation']
|
|
410
458
|
VWindow: typeof import('vuetify/components')['VWindow']
|
|
411
459
|
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
|
412
|
-
|
|
413
|
-
VCarouselReverseTransition: typeof import('vuetify/components')['VCarouselReverseTransition']
|
|
414
|
-
VTabTransition: typeof import('vuetify/components')['VTabTransition']
|
|
415
|
-
VTabReverseTransition: typeof import('vuetify/components')['VTabReverseTransition']
|
|
416
|
-
VMenuTransition: typeof import('vuetify/components')['VMenuTransition']
|
|
417
|
-
VFabTransition: typeof import('vuetify/components')['VFabTransition']
|
|
418
|
-
VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
|
|
419
|
-
VDialogTopTransition: typeof import('vuetify/components')['VDialogTopTransition']
|
|
420
|
-
VFadeTransition: typeof import('vuetify/components')['VFadeTransition']
|
|
421
|
-
VScaleTransition: typeof import('vuetify/components')['VScaleTransition']
|
|
422
|
-
VScrollXTransition: typeof import('vuetify/components')['VScrollXTransition']
|
|
423
|
-
VScrollXReverseTransition: typeof import('vuetify/components')['VScrollXReverseTransition']
|
|
424
|
-
VScrollYTransition: typeof import('vuetify/components')['VScrollYTransition']
|
|
425
|
-
VScrollYReverseTransition: typeof import('vuetify/components')['VScrollYReverseTransition']
|
|
426
|
-
VSlideXTransition: typeof import('vuetify/components')['VSlideXTransition']
|
|
427
|
-
VSlideXReverseTransition: typeof import('vuetify/components')['VSlideXReverseTransition']
|
|
428
|
-
VSlideYTransition: typeof import('vuetify/components')['VSlideYTransition']
|
|
429
|
-
VSlideYReverseTransition: typeof import('vuetify/components')['VSlideYReverseTransition']
|
|
430
|
-
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
|
431
|
-
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
|
432
|
-
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
|
460
|
+
VImg: typeof import('vuetify/components')['VImg']
|
|
433
461
|
}
|
|
434
462
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { I18n, useI18n } from 'vue-i18n';
|
|
2
|
+
import { App, Ref } from 'vue';
|
|
3
|
+
|
|
4
|
+
interface RtlOptions {
|
|
5
|
+
rtl?: Record<string, boolean>;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
interface LocaleMessages {
|
|
9
|
+
[key: string]: LocaleMessages | string;
|
|
10
|
+
}
|
|
11
|
+
interface LocaleProps {
|
|
12
|
+
locale?: string;
|
|
13
|
+
fallbackLocale?: string;
|
|
14
|
+
messages?: LocaleMessages;
|
|
15
|
+
}
|
|
16
|
+
interface LocaleInstance {
|
|
17
|
+
current: Ref<string>;
|
|
18
|
+
fallback: Ref<string>;
|
|
19
|
+
messages: Ref<LocaleMessages>;
|
|
20
|
+
t: (key: string, ...params: unknown[]) => string;
|
|
21
|
+
n: (value: number) => string;
|
|
22
|
+
}
|
|
23
|
+
interface LocaleAdapter {
|
|
24
|
+
createRoot: (app?: App) => LocaleInstance;
|
|
25
|
+
getScope: () => LocaleInstance;
|
|
26
|
+
createScope: (options?: LocaleProps) => LocaleInstance;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare type VueI18nAdapterParams = {
|
|
30
|
+
i18n: I18n<{}, {}, {}, string, false>;
|
|
31
|
+
useI18n: typeof useI18n;
|
|
32
|
+
} & RtlOptions;
|
|
33
|
+
declare function createVueI18nAdapter({ i18n, useI18n, ...rest }: VueI18nAdapterParams): (LocaleAdapter & RtlOptions);
|
|
34
|
+
|
|
35
|
+
export { createVueI18nAdapter };
|
|
@@ -32,13 +32,11 @@ export function createVueI18nAdapter(_ref) {
|
|
|
32
32
|
return wrapScope(scope);
|
|
33
33
|
},
|
|
34
34
|
createScope: function () {
|
|
35
|
-
var _props$messages;
|
|
36
|
-
|
|
37
35
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
38
36
|
const scope = useI18n({
|
|
39
37
|
legacy: false,
|
|
40
38
|
useScope: 'local',
|
|
41
|
-
messages:
|
|
39
|
+
messages: props.messages ?? i18n.global.messages,
|
|
42
40
|
// TODO: Fix this
|
|
43
41
|
locale: props.locale,
|
|
44
42
|
fallbackLocale: props.fallbackLocale,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"vue-i18n.mjs","names":["computed","watch","wrapScope","scope","current","locale","fallback","fallbackLocale","value","messages","t","n","createVueI18nAdapter","i18n","useI18n","rest","createRoot","global","getScope","legacy","useScope","createScope","props","inheritLocale"],"sources":["../../../src/locale/adapters/vue-i18n.ts"],"sourcesContent":["import { computed, watch } from 'vue'\n\n// Types\nimport type { Composer, I18n, useI18n } from 'vue-i18n'\nimport type { LocaleAdapter, LocaleInstance } from '@/composables/locale'\nimport type { RtlOptions } from '@/composables/rtl'\n\ntype VueI18nAdapterParams = {\n i18n: I18n<{}, {}, {}, string, false>\n useI18n: typeof useI18n\n} & RtlOptions\n\nfunction wrapScope (scope: Composer): LocaleInstance {\n return {\n current: scope.locale,\n fallback: computed(() => {\n // TODO: Handle this better?\n return typeof scope.fallbackLocale.value !== 'string' ? 'en'\n : scope.fallbackLocale.value\n }),\n // TODO: Can this be fixed?\n messages: scope.messages as any,\n t: scope.t,\n n: scope.n,\n }\n}\n\nexport function createVueI18nAdapter ({ i18n, useI18n, ...rest }: VueI18nAdapterParams): (LocaleAdapter & RtlOptions) {\n return {\n createRoot: () => {\n return wrapScope(i18n.global)\n },\n getScope: () => {\n const scope = useI18n({ legacy: false, useScope: 'parent' }) as Composer\n\n return wrapScope(scope)\n },\n createScope: (props = {}) => {\n const scope = useI18n({\n legacy: false,\n useScope: 'local',\n messages: (props.messages ?? i18n.global.messages) as any, // TODO: Fix this\n locale: props.locale,\n fallbackLocale: props.fallbackLocale,\n inheritLocale: !props.locale,\n }) as Composer\n\n watch(() => props.locale, () => {\n if (props.locale) {\n scope.locale.value = props.locale\n } else {\n scope.inheritLocale = true\n }\n })\n\n watch(() => props.fallbackLocale, () => {\n if (props.fallbackLocale) {\n scope.fallbackLocale.value = props.fallbackLocale\n }\n })\n\n return wrapScope(scope)\n },\n ...rest,\n }\n}\n"],"mappings":"AAAA,SAASA,QAAT,EAAmBC,KAAnB,QAAgC,KAAhC,C,CAEA;;AAUA,SAASC,SAAT,CAAoBC,KAApB,EAAqD;EACnD,OAAO;IACLC,OAAO,EAAED,KAAK,CAACE,MADV;IAELC,QAAQ,EAAEN,QAAQ,CAAC,MAAM;MACvB;MACA,OAAO,OAAOG,KAAK,CAACI,cAAN,CAAqBC,KAA5B,KAAsC,QAAtC,GAAiD,IAAjD,GACHL,KAAK,CAACI,cAAN,CAAqBC,KADzB;IAED,CAJiB,CAFb;IAOL;IACAC,QAAQ,EAAEN,KAAK,CAACM,QARX;IASLC,CAAC,EAAEP,KAAK,CAACO,CATJ;IAULC,CAAC,EAAER,KAAK,CAACQ;EAVJ,CAAP;AAYD;;AAED,OAAO,SAASC,oBAAT,OAA+G;EAAA,IAAhF;IAAEC,IAAF;IAAQC,OAAR;IAAiB,GAAGC;EAApB,CAAgF;EACpH,OAAO;IACLC,UAAU,EAAE,MAAM;MAChB,OAAOd,SAAS,CAACW,IAAI,CAACI,MAAN,CAAhB;IACD,CAHI;IAILC,QAAQ,EAAE,MAAM;MACd,MAAMf,KAAK,GAAGW,OAAO,CAAC;QAAEK,MAAM,EAAE,KAAV;QAAiBC,QAAQ,EAAE;MAA3B,CAAD,CAArB;MAEA,OAAOlB,SAAS,CAACC,KAAD,CAAhB;IACD,CARI;IASLkB,WAAW,EAAE,YAAgB;MAAA,IAAfC,KAAe,uEAAP,EAAO;MAC3B,MAAMnB,KAAK,GAAGW,OAAO,CAAC;QACpBK,MAAM,EAAE,KADY;QAEpBC,QAAQ,EAAE,OAFU;QAGpBX,QAAQ,EAAGa,KAAK,CAACb,QAAN,IAAkBI,IAAI,CAACI,MAAL,CAAYR,QAHrB;QAGuC;QAC3DJ,MAAM,EAAEiB,KAAK,CAACjB,MAJM;QAKpBE,cAAc,EAAEe,KAAK,CAACf,cALF;QAMpBgB,aAAa,EAAE,CAACD,KAAK,CAACjB;MANF,CAAD,CAArB;MASAJ,KAAK,CAAC,MAAMqB,KAAK,CAACjB,MAAb,EAAqB,MAAM;QAC9B,IAAIiB,KAAK,CAACjB,MAAV,EAAkB;UAChBF,KAAK,CAACE,MAAN,CAAaG,KAAb,GAAqBc,KAAK,CAACjB,MAA3B;QACD,CAFD,MAEO;UACLF,KAAK,CAACoB,aAAN,GAAsB,IAAtB;QACD;MACF,CANI,CAAL;MAQAtB,KAAK,CAAC,MAAMqB,KAAK,CAACf,cAAb,EAA6B,MAAM;QACtC,IAAIe,KAAK,CAACf,cAAV,EAA0B;UACxBJ,KAAK,CAACI,cAAN,CAAqBC,KAArB,GAA6Bc,KAAK,CAACf,cAAnC;QACD;MACF,CAJI,CAAL;MAMA,OAAOL,SAAS,CAACC,KAAD,CAAhB;IACD,CAlCI;IAmCL,GAAGY;EAnCE,CAAP;AAqCD"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { App, Ref } from 'vue';
|
|
2
|
+
import { createIntl } from '@formatjs/intl';
|
|
3
|
+
|
|
4
|
+
interface RtlOptions {
|
|
5
|
+
rtl?: Record<string, boolean>;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
interface LocaleMessages {
|
|
9
|
+
[key: string]: LocaleMessages | string;
|
|
10
|
+
}
|
|
11
|
+
interface LocaleProps {
|
|
12
|
+
locale?: string;
|
|
13
|
+
fallbackLocale?: string;
|
|
14
|
+
messages?: LocaleMessages;
|
|
15
|
+
}
|
|
16
|
+
interface LocaleInstance {
|
|
17
|
+
current: Ref<string>;
|
|
18
|
+
fallback: Ref<string>;
|
|
19
|
+
messages: Ref<LocaleMessages>;
|
|
20
|
+
t: (key: string, ...params: unknown[]) => string;
|
|
21
|
+
n: (value: number) => string;
|
|
22
|
+
}
|
|
23
|
+
interface LocaleAdapter {
|
|
24
|
+
createRoot: (app?: App) => LocaleInstance;
|
|
25
|
+
getScope: () => LocaleInstance;
|
|
26
|
+
createScope: (options?: LocaleProps) => LocaleInstance;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare type VueIntlAdapterOptions = {
|
|
30
|
+
createIntl: typeof createIntl;
|
|
31
|
+
useIntl: any;
|
|
32
|
+
provideIntl: any;
|
|
33
|
+
locale: string;
|
|
34
|
+
defaultLocale: string;
|
|
35
|
+
messages: Record<string, Record<string, string>>;
|
|
36
|
+
} & RtlOptions;
|
|
37
|
+
/**
|
|
38
|
+
* There is no reactivity in this adapter, because vue-intl package does not seem to support it
|
|
39
|
+
*/
|
|
40
|
+
declare function createVueIntlAdapter({ createIntl, useIntl, provideIntl, locale, defaultLocale, messages, ...rest }: VueIntlAdapterOptions): (LocaleAdapter & RtlOptions);
|
|
41
|
+
|
|
42
|
+
export { createVueIntlAdapter };
|
|
@@ -50,13 +50,11 @@ export function createVueIntlAdapter(_ref) {
|
|
|
50
50
|
return wrapScope(scope);
|
|
51
51
|
},
|
|
52
52
|
createScope: function () {
|
|
53
|
-
var _props$locale, _props$fallbackLocale, _props$locale2;
|
|
54
|
-
|
|
55
53
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
56
54
|
const newScope = createIntl({
|
|
57
|
-
locale:
|
|
58
|
-
defaultLocale:
|
|
59
|
-
messages: messages[
|
|
55
|
+
locale: props.locale ?? locale,
|
|
56
|
+
defaultLocale: props.fallbackLocale ?? defaultLocale,
|
|
57
|
+
messages: messages[props.locale ?? locale]
|
|
60
58
|
});
|
|
61
59
|
provideIntl(newScope);
|
|
62
60
|
return wrapScope(newScope);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"vue-intl.mjs","names":["ref","wrapScope","scope","current","locale","fallback","defaultLocale","messages","t","id","params","formatMessage","reduce","obj","value","index","n","formatNumber","createVueIntlAdapter","createIntl","useIntl","provideIntl","rest","createRoot","getScope","createScope","props","newScope","fallbackLocale"],"sources":["../../../src/locale/adapters/vue-intl.ts"],"sourcesContent":["import { ref } from 'vue'\n\nimport type { LocaleAdapter, LocaleInstance } from '@/composables/locale'\nimport type { RtlOptions } from '@/composables/rtl'\nimport type { createIntl, IntlShape } from '@formatjs/intl'\n\ntype VueIntlAdapterOptions = {\n createIntl: typeof createIntl\n useIntl: any\n provideIntl: any\n locale: string\n defaultLocale: string\n messages: Record<string, Record<string, string>>\n} & RtlOptions\n\nfunction wrapScope (scope: IntlShape<string>): LocaleInstance {\n const current = ref(scope.locale)\n const fallback = ref(scope.defaultLocale)\n const messages = ref(scope.messages)\n\n return {\n current,\n fallback,\n messages: messages as any,\n t: (id, ...params) => {\n return scope.formatMessage({ id }, params.reduce<Record<string, unknown>>((obj, value, index) => ({ ...obj, [index]: value }), {}))\n },\n n: value => scope.formatNumber(value),\n }\n}\n\n/**\n * There is no reactivity in this adapter, because vue-intl package does not seem to support it\n */\nexport function createVueIntlAdapter ({\n createIntl,\n useIntl,\n provideIntl,\n locale,\n defaultLocale,\n messages,\n ...rest\n}: VueIntlAdapterOptions): (LocaleAdapter & RtlOptions) {\n return {\n createRoot: () => {\n return wrapScope(createIntl({\n locale,\n defaultLocale,\n messages: messages[locale],\n }))\n },\n getScope: () => {\n const scope = useIntl()\n return wrapScope(scope)\n },\n createScope: (props = {}) => {\n const newScope = createIntl({\n locale: props.locale ?? locale,\n defaultLocale: props.fallbackLocale ?? defaultLocale,\n messages: messages[props.locale ?? locale],\n })\n\n provideIntl(newScope)\n\n return wrapScope(newScope)\n },\n ...rest,\n }\n}\n"],"mappings":"AAAA,SAASA,GAAT,QAAoB,KAApB;;AAeA,SAASC,SAAT,CAAoBC,KAApB,EAA8D;EAC5D,MAAMC,OAAO,GAAGH,GAAG,CAACE,KAAK,CAACE,MAAP,CAAnB;EACA,MAAMC,QAAQ,GAAGL,GAAG,CAACE,KAAK,CAACI,aAAP,CAApB;EACA,MAAMC,QAAQ,GAAGP,GAAG,CAACE,KAAK,CAACK,QAAP,CAApB;EAEA,OAAO;IACLJ,OADK;IAELE,QAFK;IAGLE,QAAQ,EAAEA,QAHL;IAILC,CAAC,EAAE,UAACC,EAAD,EAAmB;MAAA,kCAAXC,MAAW;QAAXA,MAAW;MAAA;;MACpB,OAAOR,KAAK,CAACS,aAAN,CAAoB;QAAEF;MAAF,CAApB,EAA4BC,MAAM,CAACE,MAAP,CAAuC,CAACC,GAAD,EAAMC,KAAN,EAAaC,KAAb,MAAwB,EAAE,GAAGF,GAAL;QAAU,CAACE,KAAD,GAASD;MAAnB,CAAxB,CAAvC,EAA4F,EAA5F,CAA5B,CAAP;IACD,CANI;IAOLE,CAAC,EAAEF,KAAK,IAAIZ,KAAK,CAACe,YAAN,CAAmBH,KAAnB;EAPP,CAAP;AASD;AAED;AACA;AACA;;;AACA,OAAO,SAASI,oBAAT,OAQiD;EAAA,IARlB;IACpCC,UADoC;IAEpCC,OAFoC;IAGpCC,WAHoC;IAIpCjB,MAJoC;IAKpCE,aALoC;IAMpCC,QANoC;IAOpC,GAAGe;EAPiC,CAQkB;EACtD,OAAO;IACLC,UAAU,EAAE,MAAM;MAChB,OAAOtB,SAAS,CAACkB,UAAU,CAAC;QAC1Bf,MAD0B;QAE1BE,aAF0B;QAG1BC,QAAQ,EAAEA,QAAQ,CAACH,MAAD;MAHQ,CAAD,CAAX,CAAhB;IAKD,CAPI;IAQLoB,QAAQ,EAAE,MAAM;MACd,MAAMtB,KAAK,GAAGkB,OAAO,EAArB;MACA,OAAOnB,SAAS,CAACC,KAAD,CAAhB;IACD,CAXI;IAYLuB,WAAW,EAAE,YAAgB;MAAA,IAAfC,KAAe,uEAAP,EAAO;MAC3B,MAAMC,QAAQ,GAAGR,UAAU,CAAC;QAC1Bf,MAAM,EAAEsB,KAAK,CAACtB,MAAN,IAAgBA,MADE;QAE1BE,aAAa,EAAEoB,KAAK,CAACE,cAAN,IAAwBtB,aAFb;QAG1BC,QAAQ,EAAEA,QAAQ,CAACmB,KAAK,CAACtB,MAAN,IAAgBA,MAAjB;MAHQ,CAAD,CAA3B;MAMAiB,WAAW,CAACM,QAAD,CAAX;MAEA,OAAO1B,SAAS,CAAC0B,QAAD,CAAhB;IACD,CAtBI;IAuBL,GAAGL;EAvBE,CAAP;AAyBD"}
|
package/lib/locale/af.mjs
CHANGED
|
@@ -44,6 +44,11 @@ export default {
|
|
|
44
44
|
calendar: {
|
|
45
45
|
moreEvents: '{0} meer'
|
|
46
46
|
},
|
|
47
|
+
input: {
|
|
48
|
+
clear: 'Clear {0}',
|
|
49
|
+
prependAction: '{0} prepended action',
|
|
50
|
+
appendAction: '{0} appended action'
|
|
51
|
+
},
|
|
47
52
|
fileInput: {
|
|
48
53
|
counter: '{0} files',
|
|
49
54
|
counterSize: '{0} files ({1} in total)'
|
package/lib/locale/af.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"af.mjs","names":["badge","close","dataIterator","noResultsText","loadingText","dataTable","itemsPerPageText","ariaLabel","sortDescending","sortAscending","sortNone","activateNone","activateDescending","activateAscending","sortBy","dataFooter","itemsPerPageAll","nextPage","prevPage","firstPage","lastPage","pageText","datePicker","itemsSelected","nextMonthAriaLabel","nextYearAriaLabel","prevMonthAriaLabel","prevYearAriaLabel","noDataText","carousel","prev","next","delimiter","calendar","moreEvents","input","clear","prependAction","appendAction","fileInput","counter","counterSize","timePicker","am","pm","pagination","root","previous","page","currentPage","first","last","rating","item"],"sources":["../../src/locale/af.ts"],"sourcesContent":["export default {\n badge: 'badge',\n close: 'Close',\n dataIterator: {\n noResultsText: 'Geen ooreenstemmende resultate is gevind nie',\n loadingText: 'Loading item...',\n },\n dataTable: {\n itemsPerPageText: 'Rye per bladsy:',\n ariaLabel: {\n sortDescending: 'Sorted descending.',\n sortAscending: 'Sorted ascending..',\n sortNone: 'Not sorted.',\n activateNone: 'Activate to remove sorting.',\n activateDescending: 'Activate to sort descending.',\n activateAscending: 'Activate to sort ascending.',\n },\n sortBy: 'Sort by',\n },\n dataFooter: {\n itemsPerPageText: 'Aantal per bladsy:',\n itemsPerPageAll: 'Alles',\n nextPage: 'Volgende bladsy',\n prevPage: 'Vorige bladsy',\n firstPage: 'Eerste bladsy',\n lastPage: 'Laaste bladsy',\n pageText: '{0}-{1} van {2}',\n },\n datePicker: {\n itemsSelected: '{0} gekies',\n nextMonthAriaLabel: 'Volgende maand',\n nextYearAriaLabel: 'Volgende jaar',\n prevMonthAriaLabel: 'Vorige maand',\n prevYearAriaLabel: 'Vorige jaar',\n },\n noDataText: 'Geen data is beskikbaar nie',\n carousel: {\n prev: 'Vorige visuele',\n next: 'Volgende visuele',\n ariaLabel: {\n delimiter: 'Carousel slide {0} of {1}',\n },\n },\n calendar: {\n moreEvents: '{0} meer',\n },\n input: {\n clear: 'Clear {0}',\n prependAction: '{0} prepended action',\n appendAction: '{0} appended action',\n },\n fileInput: {\n counter: '{0} files',\n counterSize: '{0} files ({1} in total)',\n },\n timePicker: {\n am: 'AM',\n pm: 'PM',\n },\n pagination: {\n ariaLabel: {\n root: 'Paginasie-navigasie',\n next: 'Volgende bladsy',\n previous: 'Vorige bladsy',\n page: 'Gaan na bladsy {0}',\n currentPage: 'Huidige bladsy, Bladsy {0}',\n first: 'First page',\n last: 'Last page',\n },\n },\n rating: {\n ariaLabel: {\n item: 'Rating {0} of {1}',\n },\n },\n}\n"],"mappings":"AAAA,eAAe;EACbA,KAAK,EAAE,OADM;EAEbC,KAAK,EAAE,OAFM;EAGbC,YAAY,EAAE;IACZC,aAAa,EAAE,8CADH;IAEZC,WAAW,EAAE;EAFD,CAHD;EAObC,SAAS,EAAE;IACTC,gBAAgB,EAAE,iBADT;IAETC,SAAS,EAAE;MACTC,cAAc,EAAE,oBADP;MAETC,aAAa,EAAE,oBAFN;MAGTC,QAAQ,EAAE,aAHD;MAITC,YAAY,EAAE,6BAJL;MAKTC,kBAAkB,EAAE,8BALX;MAMTC,iBAAiB,EAAE;IANV,CAFF;IAUTC,MAAM,EAAE;EAVC,CAPE;EAmBbC,UAAU,EAAE;IACVT,gBAAgB,EAAE,oBADR;IAEVU,eAAe,EAAE,OAFP;IAGVC,QAAQ,EAAE,iBAHA;IAIVC,QAAQ,EAAE,eAJA;IAKVC,SAAS,EAAE,eALD;IAMVC,QAAQ,EAAE,eANA;IAOVC,QAAQ,EAAE;EAPA,CAnBC;EA4BbC,UAAU,EAAE;IACVC,aAAa,EAAE,YADL;IAEVC,kBAAkB,EAAE,gBAFV;IAGVC,iBAAiB,EAAE,eAHT;IAIVC,kBAAkB,EAAE,cAJV;IAKVC,iBAAiB,EAAE;EALT,CA5BC;EAmCbC,UAAU,EAAE,6BAnCC;EAoCbC,QAAQ,EAAE;IACRC,IAAI,EAAE,gBADE;IAERC,IAAI,EAAE,kBAFE;IAGRxB,SAAS,EAAE;MACTyB,SAAS,EAAE;IADF;EAHH,CApCG;EA2CbC,QAAQ,EAAE;IACRC,UAAU,EAAE;EADJ,CA3CG;EA8CbC,KAAK,EAAE;IACLC,KAAK,EAAE,WADF;IAELC,aAAa,EAAE,sBAFV;IAGLC,YAAY,EAAE;EAHT,CA9CM;EAmDbC,SAAS,EAAE;IACTC,OAAO,EAAE,WADA;IAETC,WAAW,EAAE;EAFJ,CAnDE;EAuDbC,UAAU,EAAE;IACVC,EAAE,EAAE,IADM;IAEVC,EAAE,EAAE;EAFM,CAvDC;EA2DbC,UAAU,EAAE;IACVtC,SAAS,EAAE;MACTuC,IAAI,EAAE,qBADG;MAETf,IAAI,EAAE,iBAFG;MAGTgB,QAAQ,EAAE,eAHD;MAITC,IAAI,EAAE,oBAJG;MAKTC,WAAW,EAAE,4BALJ;MAMTC,KAAK,EAAE,YANE;MAOTC,IAAI,EAAE;IAPG;EADD,CA3DC;EAsEbC,MAAM,EAAE;IACN7C,SAAS,EAAE;MACT8C,IAAI,EAAE;IADG;EADL;AAtEK,CAAf"}
|
package/lib/locale/ar.mjs
CHANGED
|
@@ -44,6 +44,11 @@ export default {
|
|
|
44
44
|
calendar: {
|
|
45
45
|
moreEvents: '{0} أكثر'
|
|
46
46
|
},
|
|
47
|
+
input: {
|
|
48
|
+
clear: 'Clear {0}',
|
|
49
|
+
prependAction: '{0} prepended action',
|
|
50
|
+
appendAction: '{0} appended action'
|
|
51
|
+
},
|
|
47
52
|
fileInput: {
|
|
48
53
|
counter: '{0} ملفات',
|
|
49
54
|
counterSize: '{0} ملفات ({1} في المجموع)'
|