@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
@@ -10,94 +10,121 @@ type Density = null | 'default' | 'comfortable' | 'compact';
|
|
10
10
|
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
11
11
|
declare const IconValue: PropType<IconValue>;
|
12
12
|
|
13
|
+
type ItemSlot = {
|
14
|
+
isActive: boolean;
|
15
|
+
key: string | number;
|
16
|
+
page: string;
|
17
|
+
props: Record<string, any>;
|
18
|
+
};
|
19
|
+
type ControlSlot = {
|
20
|
+
icon: IconValue;
|
21
|
+
onClick: (e: Event) => void;
|
22
|
+
disabled: boolean;
|
23
|
+
ariaLabel: string;
|
24
|
+
ariaDisabled: boolean;
|
25
|
+
};
|
13
26
|
declare const VPagination: {
|
14
27
|
new (...args: any[]): {
|
15
28
|
$: vue.ComponentInternalInstance;
|
16
29
|
$data: {};
|
17
|
-
$props:
|
18
|
-
length
|
19
|
-
start
|
20
|
-
style
|
21
|
-
ariaLabel
|
22
|
-
disabled
|
23
|
-
size
|
24
|
-
tag
|
25
|
-
ellipsis
|
26
|
-
rounded
|
27
|
-
density
|
28
|
-
variant
|
29
|
-
modelValue
|
30
|
-
nextIcon
|
31
|
-
prevIcon
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
length: string | number;
|
43
|
-
start: string | number;
|
44
|
-
style: vue.StyleValue;
|
45
|
-
ariaLabel: string;
|
46
|
-
disabled: boolean;
|
47
|
-
size: string | number;
|
48
|
-
tag: string;
|
49
|
-
ellipsis: string;
|
50
|
-
density: Density;
|
51
|
-
variant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
52
|
-
modelValue: number;
|
53
|
-
nextIcon: IconValue;
|
54
|
-
prevIcon: IconValue;
|
55
|
-
showFirstLastPage: boolean;
|
56
|
-
firstIcon: IconValue;
|
57
|
-
lastIcon: IconValue;
|
58
|
-
pageAriaLabel: string;
|
59
|
-
currentPageAriaLabel: string;
|
60
|
-
firstAriaLabel: string;
|
61
|
-
previousAriaLabel: string;
|
62
|
-
nextAriaLabel: string;
|
63
|
-
lastAriaLabel: string;
|
64
|
-
} & {
|
30
|
+
$props: {
|
31
|
+
length?: string | number | undefined;
|
32
|
+
start?: string | number | undefined;
|
33
|
+
style?: vue.StyleValue | undefined;
|
34
|
+
ariaLabel?: string | undefined;
|
35
|
+
disabled?: boolean | undefined;
|
36
|
+
size?: string | number | undefined;
|
37
|
+
tag?: string | undefined;
|
38
|
+
ellipsis?: string | undefined;
|
39
|
+
rounded?: string | number | boolean | undefined;
|
40
|
+
density?: Density | undefined;
|
41
|
+
variant?: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain"> | undefined;
|
42
|
+
modelValue?: number | undefined;
|
43
|
+
nextIcon?: IconValue | undefined;
|
44
|
+
prevIcon?: IconValue | undefined;
|
45
|
+
firstIcon?: IconValue | undefined;
|
46
|
+
lastIcon?: IconValue | undefined;
|
47
|
+
pageAriaLabel?: string | undefined;
|
48
|
+
currentPageAriaLabel?: string | undefined;
|
49
|
+
firstAriaLabel?: string | undefined;
|
50
|
+
previousAriaLabel?: string | undefined;
|
51
|
+
nextAriaLabel?: string | undefined;
|
52
|
+
lastAriaLabel?: string | undefined;
|
53
|
+
showFirstLastPage?: boolean | undefined;
|
54
|
+
key?: string | number | symbol | undefined;
|
65
55
|
border?: string | number | boolean | undefined;
|
66
56
|
color?: string | undefined;
|
67
57
|
class?: any;
|
68
|
-
elevation?: string | number | undefined;
|
69
|
-
theme?: string | undefined;
|
70
|
-
rounded?: string | number | boolean | undefined;
|
71
|
-
activeColor?: string | undefined;
|
72
|
-
totalVisible?: string | number | undefined;
|
73
|
-
} & {
|
74
58
|
$children?: {} | vue.VNodeChild | {
|
75
|
-
item?: (() => vue.VNodeChild) | undefined;
|
76
|
-
first?: (() => vue.VNodeChild) | undefined;
|
77
|
-
|
78
|
-
|
79
|
-
last?: (() => vue.VNodeChild) | undefined;
|
59
|
+
item?: ((args_0: ItemSlot) => vue.VNodeChild) | undefined;
|
60
|
+
first?: ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
61
|
+
prev?: ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
62
|
+
next?: ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
63
|
+
last?: ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
80
64
|
};
|
65
|
+
elevation?: string | number | undefined;
|
66
|
+
ref?: vue.VNodeRef | undefined;
|
67
|
+
ref_for?: boolean | undefined;
|
68
|
+
ref_key?: string | undefined;
|
69
|
+
theme?: string | undefined;
|
81
70
|
'v-slots'?: {
|
82
|
-
item?: false | (() => vue.VNodeChild) | undefined;
|
83
|
-
first?: false | (() => vue.VNodeChild) | undefined;
|
84
|
-
|
85
|
-
|
86
|
-
last?: false | (() => vue.VNodeChild) | undefined;
|
71
|
+
item?: false | ((args_0: ItemSlot) => vue.VNodeChild) | undefined;
|
72
|
+
first?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
73
|
+
prev?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
74
|
+
next?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
75
|
+
last?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
87
76
|
} | undefined;
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
77
|
+
onVnodeBeforeMount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
78
|
+
[key: string]: any;
|
79
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
80
|
+
[key: string]: any;
|
81
|
+
}>) => void)[] | undefined;
|
82
|
+
onVnodeMounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
83
|
+
[key: string]: any;
|
84
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
85
|
+
[key: string]: any;
|
86
|
+
}>) => void)[] | undefined;
|
87
|
+
onVnodeBeforeUpdate?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
88
|
+
[key: string]: any;
|
89
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
90
|
+
[key: string]: any;
|
91
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
92
|
+
[key: string]: any;
|
93
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
94
|
+
[key: string]: any;
|
95
|
+
}>) => void)[] | undefined;
|
96
|
+
onVnodeUpdated?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
97
|
+
[key: string]: any;
|
98
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
99
|
+
[key: string]: any;
|
100
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
101
|
+
[key: string]: any;
|
102
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
103
|
+
[key: string]: any;
|
104
|
+
}>) => void)[] | undefined;
|
105
|
+
onVnodeBeforeUnmount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
106
|
+
[key: string]: any;
|
107
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
108
|
+
[key: string]: any;
|
109
|
+
}>) => void)[] | undefined;
|
110
|
+
onVnodeUnmounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
111
|
+
[key: string]: any;
|
112
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
113
|
+
[key: string]: any;
|
114
|
+
}>) => void)[] | undefined;
|
95
115
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
116
|
+
activeColor?: string | undefined;
|
117
|
+
"v-slot:item"?: false | ((args_0: ItemSlot) => vue.VNodeChild) | undefined;
|
118
|
+
"v-slot:next"?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
119
|
+
"v-slot:prev"?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
120
|
+
totalVisible?: string | number | undefined;
|
96
121
|
onNext?: ((value: number) => any) | undefined;
|
97
122
|
onPrev?: ((value: number) => any) | undefined;
|
98
123
|
onFirst?: ((value: number) => any) | undefined;
|
99
124
|
onLast?: ((value: number) => any) | undefined;
|
100
|
-
|
125
|
+
"v-slot:first"?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
126
|
+
"v-slot:last"?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
127
|
+
};
|
101
128
|
$attrs: {
|
102
129
|
[x: string]: unknown;
|
103
130
|
};
|
@@ -105,10 +132,24 @@ declare const VPagination: {
|
|
105
132
|
[x: string]: unknown;
|
106
133
|
};
|
107
134
|
$slots: Readonly<{
|
108
|
-
|
135
|
+
item?: ((args_0: ItemSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
136
|
+
[key: string]: any;
|
137
|
+
}>[]) | undefined;
|
138
|
+
first?: ((args_0: ControlSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
139
|
+
[key: string]: any;
|
140
|
+
}>[]) | undefined;
|
141
|
+
prev?: ((args_0: ControlSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
142
|
+
[key: string]: any;
|
143
|
+
}>[]) | undefined;
|
144
|
+
next?: ((args_0: ControlSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
145
|
+
[key: string]: any;
|
146
|
+
}>[]) | undefined;
|
147
|
+
last?: ((args_0: ControlSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
148
|
+
[key: string]: any;
|
149
|
+
}>[]) | undefined;
|
109
150
|
}>;
|
110
|
-
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
111
|
-
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
151
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
152
|
+
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
112
153
|
$emit: ((event: "next", value: number) => void) & ((event: "prev", value: number) => void) & ((event: "first", value: number) => void) & ((event: "last", value: number) => void) & ((event: "update:modelValue", value: number) => void);
|
113
154
|
$el: any;
|
114
155
|
$options: vue.ComponentOptionsBase<{
|
@@ -125,7 +166,6 @@ declare const VPagination: {
|
|
125
166
|
modelValue: number;
|
126
167
|
nextIcon: IconValue;
|
127
168
|
prevIcon: IconValue;
|
128
|
-
showFirstLastPage: boolean;
|
129
169
|
firstIcon: IconValue;
|
130
170
|
lastIcon: IconValue;
|
131
171
|
pageAriaLabel: string;
|
@@ -134,6 +174,7 @@ declare const VPagination: {
|
|
134
174
|
previousAriaLabel: string;
|
135
175
|
nextAriaLabel: string;
|
136
176
|
lastAriaLabel: string;
|
177
|
+
showFirstLastPage: boolean;
|
137
178
|
} & {
|
138
179
|
border?: string | number | boolean | undefined;
|
139
180
|
color?: string | undefined;
|
@@ -145,25 +186,25 @@ declare const VPagination: {
|
|
145
186
|
totalVisible?: string | number | undefined;
|
146
187
|
} & {
|
147
188
|
$children?: {} | vue.VNodeChild | {
|
148
|
-
item?: (() => vue.VNodeChild) | undefined;
|
149
|
-
first?: (() => vue.VNodeChild) | undefined;
|
150
|
-
|
151
|
-
|
152
|
-
last?: (() => vue.VNodeChild) | undefined;
|
189
|
+
item?: ((args_0: ItemSlot) => vue.VNodeChild) | undefined;
|
190
|
+
first?: ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
191
|
+
prev?: ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
192
|
+
next?: ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
193
|
+
last?: ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
153
194
|
};
|
154
195
|
'v-slots'?: {
|
155
|
-
item?: false | (() => vue.VNodeChild) | undefined;
|
156
|
-
first?: false | (() => vue.VNodeChild) | undefined;
|
157
|
-
|
158
|
-
|
159
|
-
last?: false | (() => vue.VNodeChild) | undefined;
|
196
|
+
item?: false | ((args_0: ItemSlot) => vue.VNodeChild) | undefined;
|
197
|
+
first?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
198
|
+
prev?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
199
|
+
next?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
200
|
+
last?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
160
201
|
} | undefined;
|
161
202
|
} & {
|
162
|
-
"v-slot:item"?: false | (() => vue.VNodeChild) | undefined;
|
163
|
-
"v-slot:first"?: false | (() => vue.VNodeChild) | undefined;
|
164
|
-
"v-slot:
|
165
|
-
"v-slot:
|
166
|
-
"v-slot:last"?: false | (() => vue.VNodeChild) | undefined;
|
203
|
+
"v-slot:item"?: false | ((args_0: ItemSlot) => vue.VNodeChild) | undefined;
|
204
|
+
"v-slot:first"?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
205
|
+
"v-slot:prev"?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
206
|
+
"v-slot:next"?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
207
|
+
"v-slot:last"?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
167
208
|
} & {
|
168
209
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
169
210
|
onNext?: ((value: number) => any) | undefined;
|
@@ -191,7 +232,6 @@ declare const VPagination: {
|
|
191
232
|
modelValue: number;
|
192
233
|
nextIcon: IconValue;
|
193
234
|
prevIcon: IconValue;
|
194
|
-
showFirstLastPage: boolean;
|
195
235
|
firstIcon: IconValue;
|
196
236
|
lastIcon: IconValue;
|
197
237
|
pageAriaLabel: string;
|
@@ -200,7 +240,24 @@ declare const VPagination: {
|
|
200
240
|
previousAriaLabel: string;
|
201
241
|
nextAriaLabel: string;
|
202
242
|
lastAriaLabel: string;
|
203
|
-
|
243
|
+
showFirstLastPage: boolean;
|
244
|
+
}, {}, string, vue.SlotsType<Partial<{
|
245
|
+
item: (args_0: ItemSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
246
|
+
[key: string]: any;
|
247
|
+
}>[];
|
248
|
+
first: (args_0: ControlSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
249
|
+
[key: string]: any;
|
250
|
+
}>[];
|
251
|
+
prev: (args_0: ControlSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
252
|
+
[key: string]: any;
|
253
|
+
}>[];
|
254
|
+
next: (args_0: ControlSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
255
|
+
[key: string]: any;
|
256
|
+
}>[];
|
257
|
+
last: (args_0: ControlSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
258
|
+
[key: string]: any;
|
259
|
+
}>[];
|
260
|
+
}>>> & {
|
204
261
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
205
262
|
created?: ((() => void) | (() => void)[]) | undefined;
|
206
263
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
@@ -215,7 +272,7 @@ declare const VPagination: {
|
|
215
272
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
216
273
|
renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
|
217
274
|
renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
|
218
|
-
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
275
|
+
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
219
276
|
};
|
220
277
|
$forceUpdate: () => void;
|
221
278
|
$nextTick: typeof nextTick;
|
@@ -234,7 +291,6 @@ declare const VPagination: {
|
|
234
291
|
modelValue: number;
|
235
292
|
nextIcon: IconValue;
|
236
293
|
prevIcon: IconValue;
|
237
|
-
showFirstLastPage: boolean;
|
238
294
|
firstIcon: IconValue;
|
239
295
|
lastIcon: IconValue;
|
240
296
|
pageAriaLabel: string;
|
@@ -243,6 +299,7 @@ declare const VPagination: {
|
|
243
299
|
previousAriaLabel: string;
|
244
300
|
nextAriaLabel: string;
|
245
301
|
lastAriaLabel: string;
|
302
|
+
showFirstLastPage: boolean;
|
246
303
|
} & {
|
247
304
|
border?: string | number | boolean | undefined;
|
248
305
|
color?: string | undefined;
|
@@ -254,25 +311,25 @@ declare const VPagination: {
|
|
254
311
|
totalVisible?: string | number | undefined;
|
255
312
|
} & {
|
256
313
|
$children?: {} | vue.VNodeChild | {
|
257
|
-
item?: (() => vue.VNodeChild) | undefined;
|
258
|
-
first?: (() => vue.VNodeChild) | undefined;
|
259
|
-
|
260
|
-
|
261
|
-
last?: (() => vue.VNodeChild) | undefined;
|
314
|
+
item?: ((args_0: ItemSlot) => vue.VNodeChild) | undefined;
|
315
|
+
first?: ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
316
|
+
prev?: ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
317
|
+
next?: ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
318
|
+
last?: ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
262
319
|
};
|
263
320
|
'v-slots'?: {
|
264
|
-
item?: false | (() => vue.VNodeChild) | undefined;
|
265
|
-
first?: false | (() => vue.VNodeChild) | undefined;
|
266
|
-
|
267
|
-
|
268
|
-
last?: false | (() => vue.VNodeChild) | undefined;
|
321
|
+
item?: false | ((args_0: ItemSlot) => vue.VNodeChild) | undefined;
|
322
|
+
first?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
323
|
+
prev?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
324
|
+
next?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
325
|
+
last?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
269
326
|
} | undefined;
|
270
327
|
} & {
|
271
|
-
"v-slot:item"?: false | (() => vue.VNodeChild) | undefined;
|
272
|
-
"v-slot:first"?: false | (() => vue.VNodeChild) | undefined;
|
273
|
-
"v-slot:
|
274
|
-
"v-slot:
|
275
|
-
"v-slot:last"?: false | (() => vue.VNodeChild) | undefined;
|
328
|
+
"v-slot:item"?: false | ((args_0: ItemSlot) => vue.VNodeChild) | undefined;
|
329
|
+
"v-slot:first"?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
330
|
+
"v-slot:prev"?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
331
|
+
"v-slot:next"?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
332
|
+
"v-slot:last"?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
276
333
|
} & {
|
277
334
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
278
335
|
onNext?: ((value: number) => any) | undefined;
|
@@ -297,7 +354,6 @@ declare const VPagination: {
|
|
297
354
|
modelValue: number;
|
298
355
|
nextIcon: IconValue;
|
299
356
|
prevIcon: IconValue;
|
300
|
-
showFirstLastPage: boolean;
|
301
357
|
firstIcon: IconValue;
|
302
358
|
lastIcon: IconValue;
|
303
359
|
pageAriaLabel: string;
|
@@ -306,6 +362,7 @@ declare const VPagination: {
|
|
306
362
|
previousAriaLabel: string;
|
307
363
|
nextAriaLabel: string;
|
308
364
|
lastAriaLabel: string;
|
365
|
+
showFirstLastPage: boolean;
|
309
366
|
} & {
|
310
367
|
border?: string | number | boolean | undefined;
|
311
368
|
color?: string | undefined;
|
@@ -317,25 +374,25 @@ declare const VPagination: {
|
|
317
374
|
totalVisible?: string | number | undefined;
|
318
375
|
} & {
|
319
376
|
$children?: {} | vue.VNodeChild | {
|
320
|
-
item?: (() => vue.VNodeChild) | undefined;
|
321
|
-
first?: (() => vue.VNodeChild) | undefined;
|
322
|
-
|
323
|
-
|
324
|
-
last?: (() => vue.VNodeChild) | undefined;
|
377
|
+
item?: ((args_0: ItemSlot) => vue.VNodeChild) | undefined;
|
378
|
+
first?: ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
379
|
+
prev?: ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
380
|
+
next?: ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
381
|
+
last?: ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
325
382
|
};
|
326
383
|
'v-slots'?: {
|
327
|
-
item?: false | (() => vue.VNodeChild) | undefined;
|
328
|
-
first?: false | (() => vue.VNodeChild) | undefined;
|
329
|
-
|
330
|
-
|
331
|
-
last?: false | (() => vue.VNodeChild) | undefined;
|
384
|
+
item?: false | ((args_0: ItemSlot) => vue.VNodeChild) | undefined;
|
385
|
+
first?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
386
|
+
prev?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
387
|
+
next?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
388
|
+
last?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
332
389
|
} | undefined;
|
333
390
|
} & {
|
334
|
-
"v-slot:item"?: false | (() => vue.VNodeChild) | undefined;
|
335
|
-
"v-slot:first"?: false | (() => vue.VNodeChild) | undefined;
|
336
|
-
"v-slot:
|
337
|
-
"v-slot:
|
338
|
-
"v-slot:last"?: false | (() => vue.VNodeChild) | undefined;
|
391
|
+
"v-slot:item"?: false | ((args_0: ItemSlot) => vue.VNodeChild) | undefined;
|
392
|
+
"v-slot:first"?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
393
|
+
"v-slot:prev"?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
394
|
+
"v-slot:next"?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
395
|
+
"v-slot:last"?: false | ((args_0: ControlSlot) => vue.VNodeChild) | undefined;
|
339
396
|
} & {
|
340
397
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
341
398
|
onNext?: ((value: number) => any) | undefined;
|
@@ -363,7 +420,6 @@ declare const VPagination: {
|
|
363
420
|
modelValue: number;
|
364
421
|
nextIcon: IconValue;
|
365
422
|
prevIcon: IconValue;
|
366
|
-
showFirstLastPage: boolean;
|
367
423
|
firstIcon: IconValue;
|
368
424
|
lastIcon: IconValue;
|
369
425
|
pageAriaLabel: string;
|
@@ -372,7 +428,24 @@ declare const VPagination: {
|
|
372
428
|
previousAriaLabel: string;
|
373
429
|
nextAriaLabel: string;
|
374
430
|
lastAriaLabel: string;
|
375
|
-
|
431
|
+
showFirstLastPage: boolean;
|
432
|
+
}, {}, string, vue.SlotsType<Partial<{
|
433
|
+
item: (args_0: ItemSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
434
|
+
[key: string]: any;
|
435
|
+
}>[];
|
436
|
+
first: (args_0: ControlSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
437
|
+
[key: string]: any;
|
438
|
+
}>[];
|
439
|
+
prev: (args_0: ControlSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
440
|
+
[key: string]: any;
|
441
|
+
}>[];
|
442
|
+
next: (args_0: ControlSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
443
|
+
[key: string]: any;
|
444
|
+
}>[];
|
445
|
+
last: (args_0: ControlSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
446
|
+
[key: string]: any;
|
447
|
+
}>[];
|
448
|
+
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
376
449
|
color: StringConstructor;
|
377
450
|
variant: Omit<{
|
378
451
|
type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
@@ -420,7 +493,7 @@ declare const VPagination: {
|
|
420
493
|
};
|
421
494
|
modelValue: {
|
422
495
|
type: NumberConstructor;
|
423
|
-
default: (props: any) =>
|
496
|
+
default: (props: any) => number;
|
424
497
|
};
|
425
498
|
disabled: BooleanConstructor;
|
426
499
|
length: {
|
@@ -526,7 +599,7 @@ declare const VPagination: {
|
|
526
599
|
};
|
527
600
|
modelValue: {
|
528
601
|
type: NumberConstructor;
|
529
|
-
default: (props: any) =>
|
602
|
+
default: (props: any) => number;
|
530
603
|
};
|
531
604
|
disabled: BooleanConstructor;
|
532
605
|
length: {
|
@@ -8,7 +8,7 @@ import { makeComponentProps } from "../../composables/component.mjs";
|
|
8
8
|
import { useDisplay } from "../../composables/index.mjs";
|
9
9
|
import { useIntersectionObserver } from "../../composables/intersectionObserver.mjs";
|
10
10
|
import { useResizeObserver } from "../../composables/resizeObserver.mjs"; // Utilities
|
11
|
-
import { clamp, genericComponent, getScrollParent, useRender } from "../../util/index.mjs";
|
11
|
+
import { clamp, genericComponent, getScrollParent, propsFactory, useRender } from "../../util/index.mjs";
|
12
12
|
import { computed, onBeforeUnmount, ref, watch, watchEffect } from 'vue';
|
13
13
|
|
14
14
|
// Types
|
@@ -16,15 +16,16 @@ import { computed, onBeforeUnmount, ref, watch, watchEffect } from 'vue';
|
|
16
16
|
function floor(val) {
|
17
17
|
return Math.floor(Math.abs(val)) * Math.sign(val);
|
18
18
|
}
|
19
|
+
export const makeVParallaxProps = propsFactory({
|
20
|
+
scale: {
|
21
|
+
type: [Number, String],
|
22
|
+
default: 0.5
|
23
|
+
},
|
24
|
+
...makeComponentProps()
|
25
|
+
}, 'v-parallax');
|
19
26
|
export const VParallax = genericComponent()({
|
20
27
|
name: 'VParallax',
|
21
|
-
props:
|
22
|
-
scale: {
|
23
|
-
type: [Number, String],
|
24
|
-
default: 0.5
|
25
|
-
},
|
26
|
-
...makeComponentProps()
|
27
|
-
},
|
28
|
+
props: makeVParallaxProps(),
|
28
29
|
setup(props, _ref) {
|
29
30
|
let {
|
30
31
|
slots
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VParallax.mjs","names":["VImg","makeComponentProps","useDisplay","useIntersectionObserver","useResizeObserver","clamp","genericComponent","getScrollParent","useRender","computed","onBeforeUnmount","ref","watch","watchEffect","floor","val","Math","abs","sign","
|
1
|
+
{"version":3,"file":"VParallax.mjs","names":["VImg","makeComponentProps","useDisplay","useIntersectionObserver","useResizeObserver","clamp","genericComponent","getScrollParent","propsFactory","useRender","computed","onBeforeUnmount","ref","watch","watchEffect","floor","val","Math","abs","sign","makeVParallaxProps","scale","type","Number","String","default","VParallax","name","props","setup","_ref","slots","intersectionRef","isIntersecting","resizeRef","contentRect","height","displayHeight","root","value","$el","scrollParent","document","scrollingElement","addEventListener","onScroll","passive","removeEventListener","frame","cancelAnimationFrame","requestAnimationFrame","el","querySelector","scrollHeight","Document","documentElement","clientHeight","scrollPos","window","scrollY","scrollTop","top","getBoundingClientRect","center","translate","sizeScale","max","style","setProperty","_createVNode","class"],"sources":["../../../src/components/VParallax/VParallax.tsx"],"sourcesContent":["// Styles\nimport './VParallax.sass'\n\n// Components\nimport { VImg } from '@/components/VImg'\n\n// Composables\nimport { makeComponentProps } from '@/composables/component'\nimport { useDisplay } from '@/composables'\nimport { useIntersectionObserver } from '@/composables/intersectionObserver'\nimport { useResizeObserver } from '@/composables/resizeObserver'\n\n// Utilities\nimport { clamp, genericComponent, getScrollParent, propsFactory, useRender } from '@/util'\nimport { computed, onBeforeUnmount, ref, watch, watchEffect } from 'vue'\n\n// Types\nimport type { VImgSlots } from '@/components/VImg/VImg'\n\nfunction floor (val: number) {\n return Math.floor(Math.abs(val)) * Math.sign(val)\n}\n\nexport const makeVParallaxProps = propsFactory({\n scale: {\n type: [Number, String],\n default: 0.5,\n },\n\n ...makeComponentProps(),\n}, 'v-parallax')\n\nexport const VParallax = genericComponent<VImgSlots>()({\n name: 'VParallax',\n\n props: makeVParallaxProps(),\n\n setup (props, { slots }) {\n const { intersectionRef, isIntersecting } = useIntersectionObserver()\n const { resizeRef, contentRect } = useResizeObserver()\n const { height: displayHeight } = useDisplay()\n\n const root = ref<VImg>()\n\n watchEffect(() => {\n intersectionRef.value = resizeRef.value = root.value?.$el\n })\n\n let scrollParent: Element | Document\n watch(isIntersecting, val => {\n if (val) {\n scrollParent = getScrollParent(intersectionRef.value)\n scrollParent = scrollParent === document.scrollingElement ? document : scrollParent\n scrollParent.addEventListener('scroll', onScroll, { passive: true })\n onScroll()\n } else {\n scrollParent.removeEventListener('scroll', onScroll)\n }\n })\n\n onBeforeUnmount(() => {\n scrollParent?.removeEventListener('scroll', onScroll)\n })\n\n watch(displayHeight, onScroll)\n watch(() => contentRect.value?.height, onScroll)\n\n const scale = computed(() => {\n return 1 - clamp(+props.scale)\n })\n\n let frame = -1\n function onScroll () {\n if (!isIntersecting.value) return\n\n cancelAnimationFrame(frame)\n frame = requestAnimationFrame(() => {\n const el: HTMLElement | null = (root.value?.$el as Element).querySelector('.v-img__img')\n if (!el) return\n\n const scrollHeight = scrollParent instanceof Document ? document.documentElement.clientHeight : scrollParent.clientHeight\n const scrollPos = scrollParent instanceof Document ? window.scrollY : scrollParent.scrollTop\n const top = intersectionRef.value!.getBoundingClientRect().top + scrollPos\n const height = contentRect.value!.height\n\n const center = top + (height - scrollHeight) / 2\n const translate = floor((scrollPos - center) * scale.value)\n const sizeScale = Math.max(1, (scale.value * (scrollHeight - height) + height) / height)\n\n el.style.setProperty('transform', `translateY(${translate}px) scale(${sizeScale})`)\n })\n }\n\n useRender(() => (\n <VImg\n class={[\n 'v-parallax',\n { 'v-parallax--active': isIntersecting.value },\n props.class,\n ]}\n style={ props.style }\n ref={ root }\n cover\n onLoadstart={ onScroll }\n onLoad={ onScroll }\n v-slots={ slots }\n />\n ))\n\n return {}\n },\n})\n\nexport type VParallax = InstanceType<typeof VParallax>\n"],"mappings":"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"}
|