@vuetify/nightly 4.0.0-dev-20230511.0 → 4.0.0-dev-20230512.0
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 +6 -14
- package/dist/json/attributes.json +564 -256
- package/dist/json/importMap-labs.json +4 -4
- package/dist/json/tags.json +80 -2
- package/dist/json/web-types.json +2399 -606
- package/dist/vuetify-labs.css +45 -42
- package/dist/vuetify-labs.d.ts +26350 -24518
- package/dist/vuetify-labs.esm.js +2485 -2382
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +2485 -2382
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +11 -8
- package/dist/vuetify.d.ts +23046 -23682
- package/dist/vuetify.esm.js +1865 -1748
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +1865 -1748
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +658 -658
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.mts +1 -3
- package/lib/blueprints/md1.d.mts +1 -3
- package/lib/blueprints/md2.d.mts +1 -3
- package/lib/blueprints/md3.d.mts +1 -3
- package/lib/components/VAlert/VAlert.mjs +48 -48
- package/lib/components/VAlert/VAlert.mjs.map +1 -1
- package/lib/components/VAlert/index.d.mts +228 -71
- package/lib/components/VApp/VApp.mjs +9 -8
- package/lib/components/VApp/VApp.mjs.map +1 -1
- package/lib/components/VApp/index.d.mts +65 -19
- package/lib/components/VAppBar/VAppBar.mjs +23 -22
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBarNavIcon.mjs +9 -7
- package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBarTitle.mjs +1 -2
- package/lib/components/VAppBar/VAppBarTitle.mjs.map +1 -1
- package/lib/components/VAppBar/index.d.mts +314 -123
- package/lib/components/VAutocomplete/VAutocomplete.css +0 -4
- package/lib/components/VAutocomplete/VAutocomplete.mjs +36 -39
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.sass +0 -5
- package/lib/components/VAutocomplete/index.d.mts +1264 -2467
- package/lib/components/VAvatar/index.d.mts +70 -30
- package/lib/components/VBadge/VBadge.mjs +33 -32
- package/lib/components/VBadge/VBadge.mjs.map +1 -1
- package/lib/components/VBadge/index.d.mts +86 -42
- package/lib/components/VBanner/VBanner.mjs +21 -20
- package/lib/components/VBanner/VBanner.mjs.map +1 -1
- package/lib/components/VBanner/VBannerActions.mjs +7 -6
- package/lib/components/VBanner/VBannerActions.mjs.map +1 -1
- package/lib/components/VBanner/index.d.mts +227 -65
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs +35 -34
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
- package/lib/components/VBottomNavigation/index.d.mts +78 -45
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +24 -23
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs +6 -5
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +15 -14
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/index.d.mts +311 -208
- package/lib/components/VBtn/index.d.mts +112 -53
- package/lib/components/VBtnGroup/index.d.mts +69 -27
- package/lib/components/VBtnToggle/VBtnToggle.mjs +6 -5
- package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
- package/lib/components/VBtnToggle/index.d.mts +73 -35
- package/lib/components/VCard/VCard.mjs +38 -37
- package/lib/components/VCard/VCard.mjs.map +1 -1
- package/lib/components/VCard/VCardItem.mjs +12 -11
- package/lib/components/VCard/VCardItem.mjs.map +1 -1
- package/lib/components/VCard/index.d.mts +764 -368
- package/lib/components/VCarousel/VCarousel.mjs +28 -27
- package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/lib/components/VCarousel/VCarouselItem.mjs +18 -16
- package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
- package/lib/components/VCarousel/index.d.mts +600 -103
- package/lib/components/VCheckbox/VCheckbox.mjs +6 -5
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/index.d.mts +304 -125
- package/lib/components/VChip/VChip.css +7 -0
- package/lib/components/VChip/VChip.mjs +60 -57
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/VChip.sass +9 -0
- package/lib/components/VChip/index.d.mts +318 -90
- package/lib/components/VChipGroup/VChipGroup.mjs +19 -18
- package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
- package/lib/components/VChipGroup/index.d.mts +204 -53
- package/lib/components/VCode/index.d.mts +63 -17
- package/lib/components/VColorPicker/VColorPicker.mjs +44 -39
- package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs +26 -25
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerEdit.mjs +17 -16
- package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerPreview.mjs +10 -9
- package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerSwatches.mjs +12 -11
- package/lib/components/VColorPicker/VColorPickerSwatches.mjs.map +1 -1
- package/lib/components/VColorPicker/index.d.mts +74 -85
- package/lib/components/VColorPicker/util/index.mjs +2 -2
- package/lib/components/VColorPicker/util/index.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.mjs +39 -42
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.mts +1264 -2488
- package/lib/components/VCounter/VCounter.mjs +16 -15
- package/lib/components/VCounter/VCounter.mjs.map +1 -1
- package/lib/components/VCounter/index.d.mts +113 -1817
- package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +9 -8
- package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs.map +1 -1
- package/lib/components/VDefaultsProvider/index.d.mts +67 -20
- package/lib/components/VDialog/VDialog.mjs +18 -17
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/index.d.mts +551 -1401
- package/lib/components/VDivider/VDivider.mjs +11 -10
- package/lib/components/VDivider/VDivider.mjs.map +1 -1
- package/lib/components/VDivider/index.d.mts +66 -21
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs +15 -15
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +6 -5
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +3 -5
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs +15 -14
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.d.mts +317 -125
- package/lib/components/VField/VField.mjs +7 -2
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VFieldLabel.mjs +6 -5
- package/lib/components/VField/VFieldLabel.mjs.map +1 -1
- package/lib/components/VField/index.d.mts +310 -230
- package/lib/components/VFileInput/VFileInput.mjs +35 -34
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/index.d.mts +760 -320
- package/lib/components/VFooter/VFooter.mjs +21 -20
- package/lib/components/VFooter/VFooter.mjs.map +1 -1
- package/lib/components/VFooter/index.d.mts +70 -29
- package/lib/components/VForm/VForm.mjs +6 -5
- package/lib/components/VForm/VForm.mjs.map +1 -1
- package/lib/components/VForm/index.d.mts +568 -52
- package/lib/components/VGrid/VCol.mjs +26 -25
- package/lib/components/VGrid/VCol.mjs.map +1 -1
- package/lib/components/VGrid/VContainer.mjs +16 -11
- package/lib/components/VGrid/VContainer.mjs.map +1 -1
- package/lib/components/VGrid/VRow.mjs +26 -25
- package/lib/components/VGrid/VRow.mjs.map +1 -1
- package/lib/components/VGrid/index.d.mts +274 -100
- package/lib/components/VHover/VHover.mjs +10 -9
- package/lib/components/VHover/VHover.mjs.map +1 -1
- package/lib/components/VHover/index.d.mts +93 -37
- package/lib/components/VIcon/VIcon.mjs +28 -29
- package/lib/components/VIcon/VIcon.mjs.map +1 -1
- package/lib/components/VIcon/index.d.mts +292 -81
- package/lib/components/VImg/VImg.mjs +34 -33
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VImg/index.d.mts +118 -53
- package/lib/components/VInput/VInput.mjs +1 -1
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/index.d.mts +137 -50
- package/lib/components/VItemGroup/VItem.mjs +1 -1
- package/lib/components/VItemGroup/VItem.mjs.map +1 -1
- package/lib/components/VItemGroup/VItemGroup.mjs +10 -9
- package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
- package/lib/components/VItemGroup/index.d.mts +414 -111
- package/lib/components/VKbd/index.d.mts +63 -17
- package/lib/components/VLabel/VLabel.mjs +8 -7
- package/lib/components/VLabel/VLabel.mjs.map +1 -1
- package/lib/components/VLabel/index.d.mts +64 -18
- package/lib/components/VLayout/VLayout.mjs +6 -5
- package/lib/components/VLayout/VLayout.mjs.map +1 -1
- package/lib/components/VLayout/VLayoutItem.mjs +15 -14
- package/lib/components/VLayout/VLayoutItem.mjs.map +1 -1
- package/lib/components/VLayout/index.d.mts +131 -42
- package/lib/components/VLazy/VLazy.mjs +21 -20
- package/lib/components/VLazy/VLazy.mjs.map +1 -1
- package/lib/components/VLazy/index.d.mts +67 -27
- package/lib/components/VList/VList.mjs +37 -36
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VListChildren.mjs +9 -12
- package/lib/components/VList/VListChildren.mjs.map +1 -1
- package/lib/components/VList/VListGroup.mjs +2 -4
- package/lib/components/VList/VListGroup.mjs.map +1 -1
- package/lib/components/VList/VListItem.mjs +44 -43
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItemAction.mjs +8 -7
- package/lib/components/VList/VListItemAction.mjs.map +1 -1
- package/lib/components/VList/VListItemMedia.mjs +8 -7
- package/lib/components/VList/VListItemMedia.mjs.map +1 -1
- package/lib/components/VList/VListSubheader.mjs +10 -9
- package/lib/components/VList/VListSubheader.mjs.map +1 -1
- package/lib/components/VList/index.d.mts +1069 -617
- package/lib/components/VList/list.mjs +4 -4
- package/lib/components/VList/list.mjs.map +1 -1
- package/lib/components/VLocaleProvider/VLocaleProvider.mjs +12 -11
- package/lib/components/VLocaleProvider/VLocaleProvider.mjs.map +1 -1
- package/lib/components/VLocaleProvider/index.d.mts +65 -19
- package/lib/components/VMain/VMain.mjs +9 -8
- package/lib/components/VMain/VMain.mjs.map +1 -1
- package/lib/components/VMain/index.d.mts +64 -19
- package/lib/components/VMenu/VMenu.mjs +21 -20
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.mts +479 -1327
- package/lib/components/VMessages/VMessages.mjs +18 -17
- package/lib/components/VMessages/VMessages.mjs.map +1 -1
- package/lib/components/VMessages/index.d.mts +88 -1799
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +50 -49
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/index.d.mts +115 -60
- package/lib/components/VNavigationDrawer/sticky.mjs +14 -7
- package/lib/components/VNavigationDrawer/sticky.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/touch.mjs +4 -4
- package/lib/components/VNavigationDrawer/touch.mjs.map +1 -1
- package/lib/components/VOverlay/index.d.mts +120 -75
- package/lib/components/VOverlay/locationStrategies.mjs +5 -3
- package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
- package/lib/components/VPagination/VPagination.mjs +84 -83
- package/lib/components/VPagination/VPagination.mjs.map +1 -1
- package/lib/components/VPagination/index.d.mts +203 -130
- package/lib/components/VParallax/VParallax.mjs +9 -8
- package/lib/components/VParallax/VParallax.mjs.map +1 -1
- package/lib/components/VParallax/index.d.mts +91 -18
- package/lib/components/VProgressCircular/VProgressCircular.mjs +25 -24
- package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
- package/lib/components/VProgressCircular/index.d.mts +125 -45
- package/lib/components/VProgressLinear/VProgressLinear.mjs +44 -42
- package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
- package/lib/components/VProgressLinear/index.d.mts +97 -57
- package/lib/components/VRadio/VRadio.mjs +8 -7
- package/lib/components/VRadio/VRadio.mjs.map +1 -1
- package/lib/components/VRadio/index.d.mts +121 -51
- package/lib/components/VRadioGroup/VRadioGroup.mjs +22 -21
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.mts +189 -76
- package/lib/components/VRangeSlider/VRangeSlider.mjs +18 -13
- package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
- package/lib/components/VRangeSlider/index.d.mts +192 -80
- package/lib/components/VRating/VRating.mjs +49 -45
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VRating/index.d.mts +94 -54
- package/lib/components/VResponsive/index.d.mts +73 -18
- package/lib/components/VSelect/VSelect.mjs +22 -21
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +1192 -3713
- package/lib/components/VSelectionControl/VSelectionControl.mjs +3 -3
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControl/index.d.mts +212 -194
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +10 -10
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/index.d.mts +100 -63
- package/lib/components/VSheet/VSheet.mjs +1 -3
- package/lib/components/VSheet/VSheet.mjs.map +1 -1
- package/lib/components/VSheet/index.d.mts +66 -21
- package/lib/components/VSlideGroup/VSlideGroup.mjs +7 -7
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroupItem.mjs +1 -3
- package/lib/components/VSlideGroup/VSlideGroupItem.mjs.map +1 -1
- package/lib/components/VSlideGroup/index.d.mts +181 -64
- package/lib/components/VSlider/VSlider.mjs +18 -13
- package/lib/components/VSlider/VSlider.mjs.map +1 -1
- package/lib/components/VSlider/VSliderThumb.mjs +26 -25
- package/lib/components/VSlider/VSliderThumb.mjs.map +1 -1
- package/lib/components/VSlider/VSliderTrack.mjs +13 -12
- package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
- package/lib/components/VSlider/index.d.mts +194 -81
- package/lib/components/VSlider/slider.mjs +3 -3
- package/lib/components/VSlider/slider.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.mjs +20 -19
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.mts +444 -297
- package/lib/components/VSwitch/VSwitch.css +3 -3
- package/lib/components/VSwitch/VSwitch.mjs +13 -12
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/VSwitch.sass +4 -3
- package/lib/components/VSwitch/index.d.mts +206 -86
- package/lib/components/VSystemBar/VSystemBar.mjs +15 -14
- package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
- package/lib/components/VSystemBar/index.d.mts +69 -27
- package/lib/components/VTable/VTable.mjs +12 -11
- package/lib/components/VTable/VTable.mjs.map +1 -1
- package/lib/components/VTable/index.d.mts +95 -26
- package/lib/components/VTabs/VTab.mjs +19 -19
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTabs/VTabs.mjs +28 -27
- package/lib/components/VTabs/VTabs.mjs.map +1 -1
- package/lib/components/VTabs/index.d.mts +175 -115
- package/lib/components/VTextField/VTextField.mjs +1 -1
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/index.d.mts +1254 -770
- package/lib/components/VTextarea/VTextarea.mjs +32 -28
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/index.d.mts +683 -313
- package/lib/components/VThemeProvider/VThemeProvider.mjs +8 -7
- package/lib/components/VThemeProvider/VThemeProvider.mjs.map +1 -1
- package/lib/components/VThemeProvider/index.d.mts +65 -20
- package/lib/components/VTimeline/VTimeline.mjs +46 -41
- package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
- package/lib/components/VTimeline/VTimelineDivider.mjs +14 -13
- package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -1
- package/lib/components/VTimeline/VTimelineItem.mjs +23 -22
- package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
- package/lib/components/VTimeline/index.d.mts +163 -62
- package/lib/components/VToolbar/VToolbar.mjs +8 -4
- package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbarItems.mjs +8 -7
- package/lib/components/VToolbar/VToolbarItems.mjs.map +1 -1
- package/lib/components/VToolbar/index.d.mts +265 -82
- package/lib/components/VTooltip/VTooltip.mjs +20 -19
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VTooltip/index.d.mts +442 -297
- package/lib/components/VValidation/VValidation.mjs +1 -3
- package/lib/components/VValidation/VValidation.mjs.map +1 -1
- package/lib/components/VValidation/index.d.mts +358 -50
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs +14 -13
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
- package/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +6 -5
- package/lib/components/VVirtualScroll/VVirtualScrollItem.mjs.map +1 -1
- package/lib/components/VVirtualScroll/index.d.mts +110 -82
- package/lib/components/VWindow/VWindow.mjs +3 -3
- package/lib/components/VWindow/VWindow.mjs.map +1 -1
- package/lib/components/VWindow/VWindowItem.mjs +18 -17
- package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
- package/lib/components/VWindow/index.d.mts +204 -75
- package/lib/components/index.d.mts +23230 -23871
- package/lib/components/transitions/createTransition.mjs +16 -15
- package/lib/components/transitions/createTransition.mjs.map +1 -1
- package/lib/components/transitions/dialog-transition.mjs +5 -4
- package/lib/components/transitions/dialog-transition.mjs.map +1 -1
- package/lib/components/transitions/index.d.mts +1207 -472
- package/lib/composables/display.mjs +3 -3
- package/lib/composables/display.mjs.map +1 -1
- package/lib/composables/form.mjs +4 -4
- package/lib/composables/form.mjs.map +1 -1
- package/lib/composables/forwardRefs.mjs.map +1 -1
- package/lib/composables/group.mjs +13 -13
- package/lib/composables/group.mjs.map +1 -1
- package/lib/composables/hydration.mjs +6 -6
- package/lib/composables/hydration.mjs.map +1 -1
- package/lib/composables/icons.mjs +2 -2
- package/lib/composables/icons.mjs.map +1 -1
- package/lib/composables/intersectionObserver.mjs +2 -2
- package/lib/composables/intersectionObserver.mjs.map +1 -1
- package/lib/composables/layout.mjs +3 -3
- package/lib/composables/layout.mjs.map +1 -1
- package/lib/composables/lazy.mjs +2 -2
- package/lib/composables/lazy.mjs.map +1 -1
- package/lib/composables/nested/nested.mjs +5 -4
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/composables/scroll.mjs +6 -6
- package/lib/composables/scroll.mjs.map +1 -1
- package/lib/composables/ssrBoot.mjs +2 -2
- package/lib/composables/ssrBoot.mjs.map +1 -1
- package/lib/composables/stack.mjs +5 -4
- package/lib/composables/stack.mjs.map +1 -1
- package/lib/composables/theme.mjs +3 -3
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/composables/transition.mjs +5 -2
- package/lib/composables/transition.mjs.map +1 -1
- package/lib/composables/validation.mjs +3 -3
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/directives/click-outside/index.mjs +1 -1
- package/lib/directives/click-outside/index.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +10 -5
- package/lib/labs/VDataTable/VDataTable.mjs +54 -66
- package/lib/labs/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableFooter.mjs +64 -63
- package/lib/labs/VDataTable/VDataTableFooter.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableGroupHeaderRow.mjs +8 -7
- package/lib/labs/VDataTable/VDataTableGroupHeaderRow.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableHeaders.mjs +17 -16
- package/lib/labs/VDataTable/VDataTableHeaders.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableRow.mjs +7 -6
- package/lib/labs/VDataTable/VDataTableRow.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableRows.mjs +20 -19
- package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableServer.mjs +54 -59
- package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableVirtual.mjs +72 -80
- package/lib/labs/VDataTable/VDataTableVirtual.mjs.map +1 -1
- package/lib/labs/VDataTable/composables/virtual.mjs +3 -3
- package/lib/labs/VDataTable/composables/virtual.mjs.map +1 -1
- package/lib/labs/VDataTable/index.d.mts +2974 -631
- package/lib/labs/VInfiniteScroll/VInfiniteScroll.mjs +54 -48
- package/lib/labs/VInfiniteScroll/VInfiniteScroll.mjs.map +1 -1
- package/lib/labs/VInfiniteScroll/index.d.mts +143 -52
- package/lib/labs/VSkeletonLoader/VSkeletonLoader.mjs +18 -17
- package/lib/labs/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
- package/lib/labs/VSkeletonLoader/index.d.mts +77 -31
- package/lib/labs/components.d.mts +3188 -708
- package/lib/labs/date/date.mjs +7 -7
- package/lib/labs/date/date.mjs.map +1 -1
- package/lib/labs/date/index.d.mts +1 -3
- package/lib/locale/adapters/vuetify.mjs +8 -5
- package/lib/locale/adapters/vuetify.mjs.map +1 -1
- package/lib/util/defineComponent.mjs.map +1 -1
- package/lib/util/propsFactory.mjs +2 -0
- package/lib/util/propsFactory.mjs.map +1 -1
- package/package.json +3 -3
@@ -9,33 +9,69 @@ declare const VParallax: {
|
|
9
9
|
new (...args: any[]): {
|
10
10
|
$: vue.ComponentInternalInstance;
|
11
11
|
$data: {};
|
12
|
-
$props:
|
13
|
-
scale
|
14
|
-
style
|
15
|
-
|
16
|
-
scale: string | number;
|
17
|
-
style: vue.StyleValue;
|
18
|
-
} & {
|
12
|
+
$props: {
|
13
|
+
scale?: string | number | undefined;
|
14
|
+
style?: vue.StyleValue | undefined;
|
15
|
+
key?: string | number | symbol | undefined;
|
19
16
|
class?: any;
|
20
|
-
} & {
|
21
17
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
22
18
|
default?: (() => vue.VNodeChild) | undefined;
|
23
19
|
placeholder?: (() => vue.VNodeChild) | undefined;
|
24
20
|
error?: (() => vue.VNodeChild) | undefined;
|
25
21
|
sources?: (() => vue.VNodeChild) | undefined;
|
26
22
|
};
|
23
|
+
ref?: vue.VNodeRef | undefined;
|
24
|
+
ref_for?: boolean | undefined;
|
25
|
+
ref_key?: string | undefined;
|
26
|
+
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
27
27
|
'v-slots'?: {
|
28
28
|
default?: false | (() => vue.VNodeChild) | undefined;
|
29
29
|
placeholder?: false | (() => vue.VNodeChild) | undefined;
|
30
30
|
error?: false | (() => vue.VNodeChild) | undefined;
|
31
31
|
sources?: false | (() => vue.VNodeChild) | undefined;
|
32
32
|
} | undefined;
|
33
|
-
} & {
|
34
|
-
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
35
|
-
"v-slot:placeholder"?: false | (() => vue.VNodeChild) | undefined;
|
36
33
|
"v-slot:error"?: false | (() => vue.VNodeChild) | undefined;
|
37
34
|
"v-slot:sources"?: false | (() => vue.VNodeChild) | undefined;
|
38
|
-
|
35
|
+
"v-slot:placeholder"?: false | (() => vue.VNodeChild) | undefined;
|
36
|
+
onVnodeBeforeMount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
37
|
+
[key: string]: any;
|
38
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
39
|
+
[key: string]: any;
|
40
|
+
}>) => void)[] | undefined;
|
41
|
+
onVnodeMounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
42
|
+
[key: string]: any;
|
43
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
44
|
+
[key: string]: any;
|
45
|
+
}>) => void)[] | undefined;
|
46
|
+
onVnodeBeforeUpdate?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
47
|
+
[key: string]: any;
|
48
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
49
|
+
[key: string]: any;
|
50
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
51
|
+
[key: string]: any;
|
52
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
53
|
+
[key: string]: any;
|
54
|
+
}>) => void)[] | undefined;
|
55
|
+
onVnodeUpdated?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
56
|
+
[key: string]: any;
|
57
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
58
|
+
[key: string]: any;
|
59
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
60
|
+
[key: string]: any;
|
61
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
62
|
+
[key: string]: any;
|
63
|
+
}>) => void)[] | undefined;
|
64
|
+
onVnodeBeforeUnmount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
65
|
+
[key: string]: any;
|
66
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
67
|
+
[key: string]: any;
|
68
|
+
}>) => void)[] | undefined;
|
69
|
+
onVnodeUnmounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
70
|
+
[key: string]: any;
|
71
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
72
|
+
[key: string]: any;
|
73
|
+
}>) => void)[] | undefined;
|
74
|
+
};
|
39
75
|
$attrs: {
|
40
76
|
[x: string]: unknown;
|
41
77
|
};
|
@@ -43,10 +79,21 @@ declare const VParallax: {
|
|
43
79
|
[x: string]: unknown;
|
44
80
|
};
|
45
81
|
$slots: Readonly<{
|
46
|
-
|
82
|
+
default?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
83
|
+
[key: string]: any;
|
84
|
+
}>[]) | undefined;
|
85
|
+
placeholder?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
86
|
+
[key: string]: any;
|
87
|
+
}>[]) | undefined;
|
88
|
+
error?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
89
|
+
[key: string]: any;
|
90
|
+
}>[]) | undefined;
|
91
|
+
sources?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
92
|
+
[key: string]: any;
|
93
|
+
}>[]) | undefined;
|
47
94
|
}>;
|
48
|
-
$root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
49
|
-
$parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
95
|
+
$root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
96
|
+
$parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
50
97
|
$emit: (event: string, ...args: any[]) => void;
|
51
98
|
$el: any;
|
52
99
|
$options: vue.ComponentOptionsBase<{
|
@@ -75,7 +122,20 @@ declare const VParallax: {
|
|
75
122
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
76
123
|
scale: string | number;
|
77
124
|
style: vue.StyleValue;
|
78
|
-
}, {}, string
|
125
|
+
}, {}, string, vue.SlotsType<Partial<{
|
126
|
+
default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
127
|
+
[key: string]: any;
|
128
|
+
}>[];
|
129
|
+
placeholder: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
130
|
+
[key: string]: any;
|
131
|
+
}>[];
|
132
|
+
error: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
133
|
+
[key: string]: any;
|
134
|
+
}>[];
|
135
|
+
sources: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
136
|
+
[key: string]: any;
|
137
|
+
}>[];
|
138
|
+
}>>> & {
|
79
139
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
80
140
|
created?: ((() => void) | (() => void)[]) | undefined;
|
81
141
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
@@ -90,7 +150,7 @@ declare const VParallax: {
|
|
90
150
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
91
151
|
renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
|
92
152
|
renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
|
93
|
-
errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
153
|
+
errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
94
154
|
};
|
95
155
|
$forceUpdate: () => void;
|
96
156
|
$nextTick: typeof vue.nextTick;
|
@@ -148,7 +208,20 @@ declare const VParallax: {
|
|
148
208
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
149
209
|
scale: string | number;
|
150
210
|
style: vue.StyleValue;
|
151
|
-
}, {}, string
|
211
|
+
}, {}, string, vue.SlotsType<Partial<{
|
212
|
+
default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
213
|
+
[key: string]: any;
|
214
|
+
}>[];
|
215
|
+
placeholder: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
216
|
+
[key: string]: any;
|
217
|
+
}>[];
|
218
|
+
error: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
219
|
+
[key: string]: any;
|
220
|
+
}>[];
|
221
|
+
sources: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
222
|
+
[key: string]: any;
|
223
|
+
}>[];
|
224
|
+
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
152
225
|
class: vue.PropType<any>;
|
153
226
|
style: {
|
154
227
|
type: vue.PropType<vue.StyleValue>;
|
@@ -11,32 +11,33 @@ import { useIntersectionObserver } from "../../composables/intersectionObserver.
|
|
11
11
|
import { useResizeObserver } from "../../composables/resizeObserver.mjs";
|
12
12
|
import { useTextColor } from "../../composables/color.mjs"; // Utilities
|
13
13
|
import { computed, ref, toRef, watchEffect } from 'vue';
|
14
|
-
import { convertToUnit, genericComponent, useRender } from "../../util/index.mjs"; // Types
|
14
|
+
import { convertToUnit, genericComponent, propsFactory, useRender } from "../../util/index.mjs"; // Types
|
15
|
+
export const makeVProgressCircularProps = propsFactory({
|
16
|
+
bgColor: String,
|
17
|
+
color: String,
|
18
|
+
indeterminate: [Boolean, String],
|
19
|
+
modelValue: {
|
20
|
+
type: [Number, String],
|
21
|
+
default: 0
|
22
|
+
},
|
23
|
+
rotate: {
|
24
|
+
type: [Number, String],
|
25
|
+
default: 0
|
26
|
+
},
|
27
|
+
width: {
|
28
|
+
type: [Number, String],
|
29
|
+
default: 4
|
30
|
+
},
|
31
|
+
...makeComponentProps(),
|
32
|
+
...makeSizeProps(),
|
33
|
+
...makeTagProps({
|
34
|
+
tag: 'div'
|
35
|
+
}),
|
36
|
+
...makeThemeProps()
|
37
|
+
}, 'v-progress-circular');
|
15
38
|
export const VProgressCircular = genericComponent()({
|
16
39
|
name: 'VProgressCircular',
|
17
|
-
props:
|
18
|
-
bgColor: String,
|
19
|
-
color: String,
|
20
|
-
indeterminate: [Boolean, String],
|
21
|
-
modelValue: {
|
22
|
-
type: [Number, String],
|
23
|
-
default: 0
|
24
|
-
},
|
25
|
-
rotate: {
|
26
|
-
type: [Number, String],
|
27
|
-
default: 0
|
28
|
-
},
|
29
|
-
width: {
|
30
|
-
type: [Number, String],
|
31
|
-
default: 4
|
32
|
-
},
|
33
|
-
...makeComponentProps(),
|
34
|
-
...makeSizeProps(),
|
35
|
-
...makeTagProps({
|
36
|
-
tag: 'div'
|
37
|
-
}),
|
38
|
-
...makeThemeProps()
|
39
|
-
},
|
40
|
+
props: makeVProgressCircularProps(),
|
40
41
|
setup(props, _ref) {
|
41
42
|
let {
|
42
43
|
slots
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VProgressCircular.mjs","names":["makeComponentProps","makeSizeProps","useSize","makeTagProps","makeThemeProps","provideTheme","useIntersectionObserver","useResizeObserver","useTextColor","computed","ref","toRef","watchEffect","convertToUnit","genericComponent","useRender","VProgressCircular","name","props","bgColor","String","color","indeterminate","Boolean","modelValue","type","Number","default","rotate","width","tag","setup","_ref","slots","MAGIC_RADIUS_CONSTANT","CIRCUMFERENCE","Math","PI","root","themeClasses","sizeClasses","sizeStyles","textColorClasses","textColorStyles","underlayColorClasses","underlayColorStyles","intersectionRef","isIntersecting","resizeRef","contentRect","normalizedValue","max","min","parseFloat","size","value","diameter","strokeWidth","strokeDashOffset","_createVNode","class","style","undefined","transform"],"sources":["../../../src/components/VProgressCircular/VProgressCircular.tsx"],"sourcesContent":["// Styles\nimport './VProgressCircular.sass'\n\n// Composables\nimport { makeComponentProps } from '@/composables/component'\nimport { makeSizeProps, useSize } from '@/composables/size'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { useIntersectionObserver } from '@/composables/intersectionObserver'\nimport { useResizeObserver } from '@/composables/resizeObserver'\nimport { useTextColor } from '@/composables/color'\n\n// Utilities\nimport { computed, ref, toRef, watchEffect } from 'vue'\nimport { convertToUnit, genericComponent, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport const VProgressCircular = genericComponent()({\n name: 'VProgressCircular',\n\n props: {\n bgColor: String,\n color: String,\n indeterminate: [Boolean, String] as PropType<boolean | 'disable-shrink'>,\n modelValue: {\n type: [Number, String],\n default: 0,\n },\n rotate: {\n type: [Number, String],\n default: 0,\n },\n width: {\n type: [Number, String],\n default: 4,\n },\n\n ...makeComponentProps(),\n ...makeSizeProps(),\n ...makeTagProps({ tag: 'div' }),\n ...makeThemeProps(),\n },\n\n setup (props, { slots }) {\n const MAGIC_RADIUS_CONSTANT = 20\n const CIRCUMFERENCE = 2 * Math.PI * MAGIC_RADIUS_CONSTANT\n\n const root = ref<HTMLElement>()\n\n const { themeClasses } = provideTheme(props)\n const { sizeClasses, sizeStyles } = useSize(props)\n const { textColorClasses, textColorStyles } = useTextColor(toRef(props, 'color'))\n const { textColorClasses: underlayColorClasses, textColorStyles: underlayColorStyles } = useTextColor(toRef(props, 'bgColor'))\n const { intersectionRef, isIntersecting } = useIntersectionObserver()\n const { resizeRef, contentRect } = useResizeObserver()\n\n const normalizedValue = computed(() => Math.max(0, Math.min(100, parseFloat(props.modelValue))))\n const width = computed(() => Number(props.width))\n const size = computed(() => {\n // Get size from element if size prop value is small, large etc\n return sizeStyles.value\n ? Number(props.size)\n : contentRect.value\n ? contentRect.value.width\n : Math.max(width.value, 32)\n })\n const diameter = computed(() => (MAGIC_RADIUS_CONSTANT / (1 - width.value / size.value)) * 2)\n const strokeWidth = computed(() => width.value / size.value * diameter.value)\n const strokeDashOffset = computed(() => convertToUnit(((100 - normalizedValue.value) / 100) * CIRCUMFERENCE))\n\n watchEffect(() => {\n intersectionRef.value = root.value\n resizeRef.value = root.value\n })\n\n useRender(() => (\n <props.tag\n ref={ root }\n class={[\n 'v-progress-circular',\n {\n 'v-progress-circular--indeterminate': !!props.indeterminate,\n 'v-progress-circular--visible': isIntersecting.value,\n 'v-progress-circular--disable-shrink': props.indeterminate === 'disable-shrink',\n },\n themeClasses.value,\n sizeClasses.value,\n textColorClasses.value,\n props.class,\n ]}\n style={[\n sizeStyles.value,\n textColorStyles.value,\n props.style,\n ]}\n role=\"progressbar\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n aria-valuenow={ props.indeterminate ? undefined : normalizedValue.value }\n >\n <svg\n style={{\n transform: `rotate(calc(-90deg + ${Number(props.rotate)}deg))`,\n }}\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox={ `0 0 ${diameter.value} ${diameter.value}` }\n >\n <circle\n class={[\n 'v-progress-circular__underlay',\n underlayColorClasses.value,\n ]}\n style={ underlayColorStyles.value }\n fill=\"transparent\"\n cx=\"50%\"\n cy=\"50%\"\n r={ MAGIC_RADIUS_CONSTANT }\n stroke-width={ strokeWidth.value }\n stroke-dasharray={ CIRCUMFERENCE }\n stroke-dashoffset={ 0 }\n />\n\n <circle\n class=\"v-progress-circular__overlay\"\n fill=\"transparent\"\n cx=\"50%\"\n cy=\"50%\"\n r={ MAGIC_RADIUS_CONSTANT }\n stroke-width={ strokeWidth.value }\n stroke-dasharray={ CIRCUMFERENCE }\n stroke-dashoffset={ strokeDashOffset.value }\n />\n </svg>\n\n { slots.default && (\n <div class=\"v-progress-circular__content\">\n { slots.default({ value: normalizedValue.value }) }\n </div>\n )}\n </props.tag>\n ))\n\n return {}\n },\n})\n\nexport type VProgressCircular = InstanceType<typeof VProgressCircular>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,kBAAkB;AAAA,SAClBC,aAAa,EAAEC,OAAO;AAAA,SACtBC,YAAY;AAAA,SACZC,cAAc,EAAEC,YAAY;AAAA,SAC5BC,uBAAuB;AAAA,SACvBC,iBAAiB;AAAA,SACjBC,YAAY,uCAErB;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,KAAK,EAAEC,WAAW,QAAQ,KAAK;AAAA,SAC9CC,aAAa,EAAEC,gBAAgB,EAAEC,SAAS,gCAEnD;AAGA,OAAO,MAAMC,iBAAiB,GAAGF,gBAAgB,EAAE,CAAC;EAClDG,IAAI,EAAE,mBAAmB;EAEzBC,KAAK,EAAE;IACLC,OAAO,EAAEC,MAAM;IACfC,KAAK,EAAED,MAAM;IACbE,aAAa,EAAE,CAACC,OAAO,EAAEH,MAAM,CAAyC;IACxEI,UAAU,EAAE;MACVC,IAAI,EAAE,CAACC,MAAM,EAAEN,MAAM,CAAC;MACtBO,OAAO,EAAE;IACX,CAAC;IACDC,MAAM,EAAE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,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"VProgressCircular.mjs","names":["makeComponentProps","makeSizeProps","useSize","makeTagProps","makeThemeProps","provideTheme","useIntersectionObserver","useResizeObserver","useTextColor","computed","ref","toRef","watchEffect","convertToUnit","genericComponent","propsFactory","useRender","makeVProgressCircularProps","bgColor","String","color","indeterminate","Boolean","modelValue","type","Number","default","rotate","width","tag","VProgressCircular","name","props","setup","_ref","slots","MAGIC_RADIUS_CONSTANT","CIRCUMFERENCE","Math","PI","root","themeClasses","sizeClasses","sizeStyles","textColorClasses","textColorStyles","underlayColorClasses","underlayColorStyles","intersectionRef","isIntersecting","resizeRef","contentRect","normalizedValue","max","min","parseFloat","size","value","diameter","strokeWidth","strokeDashOffset","_createVNode","class","style","undefined","transform"],"sources":["../../../src/components/VProgressCircular/VProgressCircular.tsx"],"sourcesContent":["// Styles\nimport './VProgressCircular.sass'\n\n// Composables\nimport { makeComponentProps } from '@/composables/component'\nimport { makeSizeProps, useSize } from '@/composables/size'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { useIntersectionObserver } from '@/composables/intersectionObserver'\nimport { useResizeObserver } from '@/composables/resizeObserver'\nimport { useTextColor } from '@/composables/color'\n\n// Utilities\nimport { computed, ref, toRef, watchEffect } from 'vue'\nimport { convertToUnit, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport const makeVProgressCircularProps = propsFactory({\n bgColor: String,\n color: String,\n indeterminate: [Boolean, String] as PropType<boolean | 'disable-shrink'>,\n modelValue: {\n type: [Number, String],\n default: 0,\n },\n rotate: {\n type: [Number, String],\n default: 0,\n },\n width: {\n type: [Number, String],\n default: 4,\n },\n\n ...makeComponentProps(),\n ...makeSizeProps(),\n ...makeTagProps({ tag: 'div' }),\n ...makeThemeProps(),\n}, 'v-progress-circular')\n\ntype VProgressCircularSlots = {\n default: [{ value: number }]\n}\n\nexport const VProgressCircular = genericComponent<VProgressCircularSlots>()({\n name: 'VProgressCircular',\n\n props: makeVProgressCircularProps(),\n\n setup (props, { slots }) {\n const MAGIC_RADIUS_CONSTANT = 20\n const CIRCUMFERENCE = 2 * Math.PI * MAGIC_RADIUS_CONSTANT\n\n const root = ref<HTMLElement>()\n\n const { themeClasses } = provideTheme(props)\n const { sizeClasses, sizeStyles } = useSize(props)\n const { textColorClasses, textColorStyles } = useTextColor(toRef(props, 'color'))\n const { textColorClasses: underlayColorClasses, textColorStyles: underlayColorStyles } = useTextColor(toRef(props, 'bgColor'))\n const { intersectionRef, isIntersecting } = useIntersectionObserver()\n const { resizeRef, contentRect } = useResizeObserver()\n\n const normalizedValue = computed(() => Math.max(0, Math.min(100, parseFloat(props.modelValue))))\n const width = computed(() => Number(props.width))\n const size = computed(() => {\n // Get size from element if size prop value is small, large etc\n return sizeStyles.value\n ? Number(props.size)\n : contentRect.value\n ? contentRect.value.width\n : Math.max(width.value, 32)\n })\n const diameter = computed(() => (MAGIC_RADIUS_CONSTANT / (1 - width.value / size.value)) * 2)\n const strokeWidth = computed(() => width.value / size.value * diameter.value)\n const strokeDashOffset = computed(() => convertToUnit(((100 - normalizedValue.value) / 100) * CIRCUMFERENCE))\n\n watchEffect(() => {\n intersectionRef.value = root.value\n resizeRef.value = root.value\n })\n\n useRender(() => (\n <props.tag\n ref={ root }\n class={[\n 'v-progress-circular',\n {\n 'v-progress-circular--indeterminate': !!props.indeterminate,\n 'v-progress-circular--visible': isIntersecting.value,\n 'v-progress-circular--disable-shrink': props.indeterminate === 'disable-shrink',\n },\n themeClasses.value,\n sizeClasses.value,\n textColorClasses.value,\n props.class,\n ]}\n style={[\n sizeStyles.value,\n textColorStyles.value,\n props.style,\n ]}\n role=\"progressbar\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n aria-valuenow={ props.indeterminate ? undefined : normalizedValue.value }\n >\n <svg\n style={{\n transform: `rotate(calc(-90deg + ${Number(props.rotate)}deg))`,\n }}\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox={ `0 0 ${diameter.value} ${diameter.value}` }\n >\n <circle\n class={[\n 'v-progress-circular__underlay',\n underlayColorClasses.value,\n ]}\n style={ underlayColorStyles.value }\n fill=\"transparent\"\n cx=\"50%\"\n cy=\"50%\"\n r={ MAGIC_RADIUS_CONSTANT }\n stroke-width={ strokeWidth.value }\n stroke-dasharray={ CIRCUMFERENCE }\n stroke-dashoffset={ 0 }\n />\n\n <circle\n class=\"v-progress-circular__overlay\"\n fill=\"transparent\"\n cx=\"50%\"\n cy=\"50%\"\n r={ MAGIC_RADIUS_CONSTANT }\n stroke-width={ strokeWidth.value }\n stroke-dasharray={ CIRCUMFERENCE }\n stroke-dashoffset={ strokeDashOffset.value }\n />\n </svg>\n\n { slots.default && (\n <div class=\"v-progress-circular__content\">\n { slots.default({ value: normalizedValue.value }) }\n </div>\n )}\n </props.tag>\n ))\n\n return {}\n },\n})\n\nexport type VProgressCircular = InstanceType<typeof VProgressCircular>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,kBAAkB;AAAA,SAClBC,aAAa,EAAEC,OAAO;AAAA,SACtBC,YAAY;AAAA,SACZC,cAAc,EAAEC,YAAY;AAAA,SAC5BC,uBAAuB;AAAA,SACvBC,iBAAiB;AAAA,SACjBC,YAAY,uCAErB;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,KAAK,EAAEC,WAAW,QAAQ,KAAK;AAAA,SAC9CC,aAAa,EAAEC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,gCAEjE;AAGA,OAAO,MAAMC,0BAA0B,GAAGF,YAAY,CAAC;EACrDG,OAAO,EAAEC,MAAM;EACfC,KAAK,EAAED,MAAM;EACbE,aAAa,EAAE,CAACC,OAAO,EAAEH,MAAM,CAAyC;EACxEI,UAAU,EAAE;IACVC,IAAI,EAAE,CAACC,MAAM,EAAEN,MAAM,CAAC;IACtBO,OAAO,EAAE;EACX,CAAC;EACDC,MAAM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O,IAAAmC,YAAA;QAAA,SACF;MAA8B,IACrC1B,KAAK,CAACT,OAAO,CAAC;QAAE+B,KAAK,EAAEL,eAAe,CAACK;MAAM,CAAC,CAAC,EAEpD;IAAA,EAEJ,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}
|
@@ -9,36 +9,76 @@ declare const VProgressCircular: {
|
|
9
9
|
new (...args: any[]): {
|
10
10
|
$: vue.ComponentInternalInstance;
|
11
11
|
$data: {};
|
12
|
-
$props:
|
13
|
-
width
|
14
|
-
rotate
|
15
|
-
style
|
16
|
-
size
|
17
|
-
tag
|
18
|
-
modelValue
|
19
|
-
|
20
|
-
width: string | number;
|
21
|
-
rotate: string | number;
|
22
|
-
style: vue.StyleValue;
|
23
|
-
size: string | number;
|
24
|
-
tag: string;
|
25
|
-
modelValue: string | number;
|
26
|
-
} & {
|
12
|
+
$props: {
|
13
|
+
width?: string | number | undefined;
|
14
|
+
rotate?: string | number | undefined;
|
15
|
+
style?: vue.StyleValue | undefined;
|
16
|
+
size?: string | number | undefined;
|
17
|
+
tag?: string | undefined;
|
18
|
+
modelValue?: string | number | undefined;
|
19
|
+
key?: string | number | symbol | undefined;
|
27
20
|
color?: string | undefined;
|
28
21
|
class?: any;
|
22
|
+
$children?: vue.VNodeChild | {
|
23
|
+
default?: ((args_0: {
|
24
|
+
value: number;
|
25
|
+
}) => vue.VNodeChild) | undefined;
|
26
|
+
} | ((args_0: {
|
27
|
+
value: number;
|
28
|
+
}) => vue.VNodeChild);
|
29
29
|
indeterminate?: boolean | "disable-shrink" | undefined;
|
30
|
+
ref?: vue.VNodeRef | undefined;
|
31
|
+
ref_for?: boolean | undefined;
|
32
|
+
ref_key?: string | undefined;
|
30
33
|
theme?: string | undefined;
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
default?: (() => vue.VNodeChild) | undefined;
|
35
|
-
};
|
34
|
+
"v-slot:default"?: false | ((args_0: {
|
35
|
+
value: number;
|
36
|
+
}) => vue.VNodeChild) | undefined;
|
36
37
|
'v-slots'?: {
|
37
|
-
default?: false | ((
|
38
|
+
default?: false | ((args_0: {
|
39
|
+
value: number;
|
40
|
+
}) => vue.VNodeChild) | undefined;
|
38
41
|
} | undefined;
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
+
onVnodeBeforeMount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
43
|
+
[key: string]: any;
|
44
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
45
|
+
[key: string]: any;
|
46
|
+
}>) => void)[] | undefined;
|
47
|
+
onVnodeMounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
48
|
+
[key: string]: any;
|
49
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
50
|
+
[key: string]: any;
|
51
|
+
}>) => void)[] | undefined;
|
52
|
+
onVnodeBeforeUpdate?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
53
|
+
[key: string]: any;
|
54
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
55
|
+
[key: string]: any;
|
56
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
57
|
+
[key: string]: any;
|
58
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
59
|
+
[key: string]: any;
|
60
|
+
}>) => void)[] | undefined;
|
61
|
+
onVnodeUpdated?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
62
|
+
[key: string]: any;
|
63
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
64
|
+
[key: string]: any;
|
65
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
66
|
+
[key: string]: any;
|
67
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
68
|
+
[key: string]: any;
|
69
|
+
}>) => void)[] | undefined;
|
70
|
+
onVnodeBeforeUnmount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
71
|
+
[key: string]: any;
|
72
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
73
|
+
[key: string]: any;
|
74
|
+
}>) => void)[] | undefined;
|
75
|
+
onVnodeUnmounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
76
|
+
[key: string]: any;
|
77
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
78
|
+
[key: string]: any;
|
79
|
+
}>) => void)[] | undefined;
|
80
|
+
bgColor?: string | undefined;
|
81
|
+
};
|
42
82
|
$attrs: {
|
43
83
|
[x: string]: unknown;
|
44
84
|
};
|
@@ -46,10 +86,14 @@ declare const VProgressCircular: {
|
|
46
86
|
[x: string]: unknown;
|
47
87
|
};
|
48
88
|
$slots: Readonly<{
|
49
|
-
|
89
|
+
default?: ((args_0: {
|
90
|
+
value: number;
|
91
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
92
|
+
[key: string]: any;
|
93
|
+
}>[]) | undefined;
|
50
94
|
}>;
|
51
|
-
$root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
52
|
-
$parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
95
|
+
$root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
96
|
+
$parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
53
97
|
$emit: (event: string, ...args: any[]) => void;
|
54
98
|
$el: any;
|
55
99
|
$options: vue.ComponentOptionsBase<{
|
@@ -66,14 +110,22 @@ declare const VProgressCircular: {
|
|
66
110
|
theme?: string | undefined;
|
67
111
|
bgColor?: string | undefined;
|
68
112
|
} & {
|
69
|
-
$children?: vue.VNodeChild |
|
70
|
-
default?: ((
|
71
|
-
|
113
|
+
$children?: vue.VNodeChild | {
|
114
|
+
default?: ((args_0: {
|
115
|
+
value: number;
|
116
|
+
}) => vue.VNodeChild) | undefined;
|
117
|
+
} | ((args_0: {
|
118
|
+
value: number;
|
119
|
+
}) => vue.VNodeChild);
|
72
120
|
'v-slots'?: {
|
73
|
-
default?: false | ((
|
121
|
+
default?: false | ((args_0: {
|
122
|
+
value: number;
|
123
|
+
}) => vue.VNodeChild) | undefined;
|
74
124
|
} | undefined;
|
75
125
|
} & {
|
76
|
-
"v-slot:default"?: false | ((
|
126
|
+
"v-slot:default"?: false | ((args_0: {
|
127
|
+
value: number;
|
128
|
+
}) => vue.VNodeChild) | undefined;
|
77
129
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
78
130
|
width: string | number;
|
79
131
|
rotate: string | number;
|
@@ -81,7 +133,13 @@ declare const VProgressCircular: {
|
|
81
133
|
size: string | number;
|
82
134
|
tag: string;
|
83
135
|
modelValue: string | number;
|
84
|
-
}, {}, string
|
136
|
+
}, {}, string, vue.SlotsType<Partial<{
|
137
|
+
default: (args_0: {
|
138
|
+
value: number;
|
139
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
140
|
+
[key: string]: any;
|
141
|
+
}>[];
|
142
|
+
}>>> & {
|
85
143
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
86
144
|
created?: ((() => void) | (() => void)[]) | undefined;
|
87
145
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
@@ -96,7 +154,7 @@ declare const VProgressCircular: {
|
|
96
154
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
97
155
|
renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
|
98
156
|
renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
|
99
|
-
errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
157
|
+
errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
100
158
|
};
|
101
159
|
$forceUpdate: () => void;
|
102
160
|
$nextTick: typeof vue.nextTick;
|
@@ -115,14 +173,22 @@ declare const VProgressCircular: {
|
|
115
173
|
theme?: string | undefined;
|
116
174
|
bgColor?: string | undefined;
|
117
175
|
} & {
|
118
|
-
$children?: vue.VNodeChild |
|
119
|
-
default?: ((
|
120
|
-
|
176
|
+
$children?: vue.VNodeChild | {
|
177
|
+
default?: ((args_0: {
|
178
|
+
value: number;
|
179
|
+
}) => vue.VNodeChild) | undefined;
|
180
|
+
} | ((args_0: {
|
181
|
+
value: number;
|
182
|
+
}) => vue.VNodeChild);
|
121
183
|
'v-slots'?: {
|
122
|
-
default?: false | ((
|
184
|
+
default?: false | ((args_0: {
|
185
|
+
value: number;
|
186
|
+
}) => vue.VNodeChild) | undefined;
|
123
187
|
} | undefined;
|
124
188
|
} & {
|
125
|
-
"v-slot:default"?: false | ((
|
189
|
+
"v-slot:default"?: false | ((args_0: {
|
190
|
+
value: number;
|
191
|
+
}) => vue.VNodeChild) | undefined;
|
126
192
|
} & vue.ShallowUnwrapRef<{}> & {} & vue.ComponentCustomProperties & {};
|
127
193
|
__isFragment?: undefined;
|
128
194
|
__isTeleport?: undefined;
|
@@ -141,14 +207,22 @@ declare const VProgressCircular: {
|
|
141
207
|
theme?: string | undefined;
|
142
208
|
bgColor?: string | undefined;
|
143
209
|
} & {
|
144
|
-
$children?: vue.VNodeChild |
|
145
|
-
default?: ((
|
146
|
-
|
210
|
+
$children?: vue.VNodeChild | {
|
211
|
+
default?: ((args_0: {
|
212
|
+
value: number;
|
213
|
+
}) => vue.VNodeChild) | undefined;
|
214
|
+
} | ((args_0: {
|
215
|
+
value: number;
|
216
|
+
}) => vue.VNodeChild);
|
147
217
|
'v-slots'?: {
|
148
|
-
default?: false | ((
|
218
|
+
default?: false | ((args_0: {
|
219
|
+
value: number;
|
220
|
+
}) => vue.VNodeChild) | undefined;
|
149
221
|
} | undefined;
|
150
222
|
} & {
|
151
|
-
"v-slot:default"?: false | ((
|
223
|
+
"v-slot:default"?: false | ((args_0: {
|
224
|
+
value: number;
|
225
|
+
}) => vue.VNodeChild) | undefined;
|
152
226
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
153
227
|
width: string | number;
|
154
228
|
rotate: string | number;
|
@@ -156,7 +230,13 @@ declare const VProgressCircular: {
|
|
156
230
|
size: string | number;
|
157
231
|
tag: string;
|
158
232
|
modelValue: string | number;
|
159
|
-
}, {}, string
|
233
|
+
}, {}, string, vue.SlotsType<Partial<{
|
234
|
+
default: (args_0: {
|
235
|
+
value: number;
|
236
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
237
|
+
[key: string]: any;
|
238
|
+
}>[];
|
239
|
+
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
160
240
|
theme: StringConstructor;
|
161
241
|
tag: Omit<{
|
162
242
|
type: StringConstructor;
|
@@ -13,48 +13,49 @@ import { useIntersectionObserver } from "../../composables/intersectionObserver.
|
|
13
13
|
import { useProxiedModel } from "../../composables/proxiedModel.mjs";
|
14
14
|
import { useRtl } from "../../composables/locale.mjs"; // Utilities
|
15
15
|
import { computed, Transition } from 'vue';
|
16
|
-
import { convertToUnit, genericComponent, useRender } from "../../util/index.mjs";
|
16
|
+
import { convertToUnit, genericComponent, propsFactory, useRender } from "../../util/index.mjs";
|
17
|
+
export const makeVProgressLinearProps = propsFactory({
|
18
|
+
absolute: Boolean,
|
19
|
+
active: {
|
20
|
+
type: Boolean,
|
21
|
+
default: true
|
22
|
+
},
|
23
|
+
bgColor: String,
|
24
|
+
bgOpacity: [Number, String],
|
25
|
+
bufferValue: {
|
26
|
+
type: [Number, String],
|
27
|
+
default: 0
|
28
|
+
},
|
29
|
+
clickable: Boolean,
|
30
|
+
color: String,
|
31
|
+
height: {
|
32
|
+
type: [Number, String],
|
33
|
+
default: 4
|
34
|
+
},
|
35
|
+
indeterminate: Boolean,
|
36
|
+
max: {
|
37
|
+
type: [Number, String],
|
38
|
+
default: 100
|
39
|
+
},
|
40
|
+
modelValue: {
|
41
|
+
type: [Number, String],
|
42
|
+
default: 0
|
43
|
+
},
|
44
|
+
reverse: Boolean,
|
45
|
+
stream: Boolean,
|
46
|
+
striped: Boolean,
|
47
|
+
roundedBar: Boolean,
|
48
|
+
...makeComponentProps(),
|
49
|
+
...makeLocationProps({
|
50
|
+
location: 'top'
|
51
|
+
}),
|
52
|
+
...makeRoundedProps(),
|
53
|
+
...makeTagProps(),
|
54
|
+
...makeThemeProps()
|
55
|
+
}, 'v-progress-linear');
|
17
56
|
export const VProgressLinear = genericComponent()({
|
18
57
|
name: 'VProgressLinear',
|
19
|
-
props:
|
20
|
-
absolute: Boolean,
|
21
|
-
active: {
|
22
|
-
type: Boolean,
|
23
|
-
default: true
|
24
|
-
},
|
25
|
-
bgColor: String,
|
26
|
-
bgOpacity: [Number, String],
|
27
|
-
bufferValue: {
|
28
|
-
type: [Number, String],
|
29
|
-
default: 0
|
30
|
-
},
|
31
|
-
clickable: Boolean,
|
32
|
-
color: String,
|
33
|
-
height: {
|
34
|
-
type: [Number, String],
|
35
|
-
default: 4
|
36
|
-
},
|
37
|
-
indeterminate: Boolean,
|
38
|
-
max: {
|
39
|
-
type: [Number, String],
|
40
|
-
default: 100
|
41
|
-
},
|
42
|
-
modelValue: {
|
43
|
-
type: [Number, String],
|
44
|
-
default: 0
|
45
|
-
},
|
46
|
-
reverse: Boolean,
|
47
|
-
stream: Boolean,
|
48
|
-
striped: Boolean,
|
49
|
-
roundedBar: Boolean,
|
50
|
-
...makeComponentProps(),
|
51
|
-
...makeLocationProps({
|
52
|
-
location: 'top'
|
53
|
-
}),
|
54
|
-
...makeRoundedProps(),
|
55
|
-
...makeTagProps(),
|
56
|
-
...makeThemeProps()
|
57
|
-
},
|
58
|
+
props: makeVProgressLinearProps(),
|
58
59
|
emits: {
|
59
60
|
'update:modelValue': value => true
|
60
61
|
},
|
@@ -64,7 +65,8 @@ export const VProgressLinear = genericComponent()({
|
|
64
65
|
} = _ref;
|
65
66
|
const progress = useProxiedModel(props, 'modelValue');
|
66
67
|
const {
|
67
|
-
isRtl
|
68
|
+
isRtl,
|
69
|
+
rtlClasses
|
68
70
|
} = useRtl();
|
69
71
|
const {
|
70
72
|
themeClasses
|
@@ -119,7 +121,7 @@ export const VProgressLinear = genericComponent()({
|
|
119
121
|
'v-progress-linear--rounded': props.rounded,
|
120
122
|
'v-progress-linear--rounded-bar': props.roundedBar,
|
121
123
|
'v-progress-linear--striped': props.striped
|
122
|
-
}, roundedClasses.value, themeClasses.value, props.class],
|
124
|
+
}, roundedClasses.value, themeClasses.value, rtlClasses.value, props.class],
|
123
125
|
"style": [{
|
124
126
|
bottom: props.location === 'bottom' ? 0 : undefined,
|
125
127
|
top: props.location === 'top' ? 0 : undefined,
|