@vuetify/nightly 4.0.0-dev-20230426.0 → 4.0.0-dev-20230427.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 +10 -2
- package/dist/json/attributes.json +218 -194
- package/dist/json/importMap.json +12 -12
- package/dist/json/tags.json +7 -1
- package/dist/json/web-types.json +379 -326
- package/dist/vuetify-labs.css +1361 -1362
- package/dist/vuetify-labs.d.ts +5791 -8230
- package/dist/vuetify-labs.esm.js +1286 -1090
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +1285 -1089
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +29 -30
- package/dist/vuetify.d.ts +5991 -7516
- package/dist/vuetify.esm.js +1248 -1063
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +1247 -1062
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +743 -738
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.ts +1 -1
- package/lib/blueprints/md1.d.ts +1 -1
- package/lib/blueprints/md2.d.ts +1 -1
- package/lib/blueprints/md3.d.ts +1 -1
- package/lib/components/VAlert/VAlert.mjs +6 -4
- package/lib/components/VAlert/VAlert.mjs.map +1 -1
- package/lib/components/VAlert/index.d.ts +57 -55
- package/lib/components/VApp/VApp.mjs +4 -2
- package/lib/components/VApp/VApp.mjs.map +1 -1
- package/lib/components/VApp/index.d.ts +22 -13
- package/lib/components/VAppBar/VAppBar.mjs +3 -3
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBarNavIcon.mjs +7 -4
- package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
- package/lib/components/VAppBar/index.d.ts +87 -92
- package/lib/components/VAutocomplete/VAutocomplete.mjs +2 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.ts +225 -403
- package/lib/components/VAvatar/VAvatar.mjs +4 -2
- package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
- package/lib/components/VAvatar/index.d.ts +23 -14
- package/lib/components/VBadge/VBadge.mjs +6 -5
- package/lib/components/VBadge/VBadge.mjs.map +1 -1
- package/lib/components/VBadge/index.d.ts +27 -22
- package/lib/components/VBanner/VBanner.mjs +6 -4
- package/lib/components/VBanner/VBanner.mjs.map +1 -1
- package/lib/components/VBanner/VBannerActions.mjs +5 -2
- package/lib/components/VBanner/VBannerActions.mjs.map +1 -1
- package/lib/components/VBanner/index.d.ts +92 -66
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs +4 -2
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
- package/lib/components/VBottomNavigation/index.d.ts +22 -13
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +35 -18
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs +6 -3
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +4 -2
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/index.d.ts +134 -93
- package/lib/components/VBtn/VBtn.mjs +5 -3
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/index.d.ts +33 -36
- package/lib/components/VBtnGroup/VBtnGroup.mjs +4 -1
- package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -1
- package/lib/components/VBtnGroup/index.d.ts +22 -13
- package/lib/components/VBtnToggle/VBtnToggle.mjs +4 -2
- package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
- package/lib/components/VBtnToggle/index.d.ts +30 -21
- package/lib/components/VCard/VCard.mjs +5 -3
- package/lib/components/VCard/VCard.mjs.map +1 -1
- package/lib/components/VCard/VCardActions.mjs +7 -4
- package/lib/components/VCard/VCardActions.mjs.map +1 -1
- package/lib/components/VCard/VCardItem.mjs +5 -2
- package/lib/components/VCard/VCardItem.mjs.map +1 -1
- package/lib/components/VCard/index.d.ts +250 -141
- package/lib/components/VCarousel/VCarousel.mjs +3 -3
- package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/lib/components/VCarousel/VCarouselItem.mjs +6 -3
- package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
- package/lib/components/VCarousel/index.d.ts +78 -141
- package/lib/components/VCheckbox/VCheckbox.mjs +3 -2
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs +2 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs.map +1 -1
- package/lib/components/VCheckbox/index.d.ts +69 -103
- package/lib/components/VChip/VChip.mjs +7 -8
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/index.d.ts +27 -30
- package/lib/components/VChipGroup/VChipGroup.mjs +4 -1
- package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
- package/lib/components/VChipGroup/index.d.ts +22 -13
- package/lib/components/VCode/index.d.ts +30 -17
- package/lib/components/VColorPicker/VColorPicker.mjs +3 -3
- package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs +5 -2
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerEdit.mjs +6 -3
- package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerPreview.mjs +6 -3
- package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerSwatches.mjs +7 -5
- package/lib/components/VColorPicker/VColorPickerSwatches.mjs.map +1 -1
- package/lib/components/VColorPicker/index.d.ts +34 -1
- package/lib/components/VCombobox/VCombobox.mjs +2 -1
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.ts +225 -403
- package/lib/components/VCounter/VCounter.mjs +4 -1
- package/lib/components/VCounter/VCounter.mjs.map +1 -1
- package/lib/components/VCounter/index.d.ts +22 -145
- package/lib/components/VDefaultsProvider/index.d.ts +0 -12
- package/lib/components/VDialog/VDialog.mjs +4 -3
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/index.d.ts +104 -282
- package/lib/components/VDivider/VDivider.mjs +4 -2
- package/lib/components/VDivider/VDivider.mjs.map +1 -1
- package/lib/components/VDivider/index.d.ts +22 -13
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs +4 -2
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +4 -1
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +4 -2
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs +4 -1
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.d.ts +109 -81
- package/lib/components/VField/VField.css +0 -1
- package/lib/components/VField/VField.mjs +9 -6
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VField.sass +0 -1
- package/lib/components/VField/VFieldLabel.mjs +6 -3
- package/lib/components/VField/VFieldLabel.mjs.map +1 -1
- package/lib/components/VField/index.d.ts +119 -70
- package/lib/components/VFileInput/VFileInput.mjs +2 -1
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/index.d.ts +99 -150
- package/lib/components/VFooter/VFooter.mjs +4 -2
- package/lib/components/VFooter/VFooter.mjs.map +1 -1
- package/lib/components/VFooter/index.d.ts +22 -13
- package/lib/components/VForm/VForm.mjs +5 -2
- package/lib/components/VForm/VForm.mjs.map +1 -1
- package/lib/components/VForm/index.d.ts +30 -17
- package/lib/components/VGrid/VCol.mjs +4 -1
- package/lib/components/VGrid/VCol.mjs.map +1 -1
- package/lib/components/VGrid/VContainer.mjs +4 -1
- package/lib/components/VGrid/VContainer.mjs.map +1 -1
- package/lib/components/VGrid/VRow.mjs +4 -1
- package/lib/components/VGrid/VRow.mjs.map +1 -1
- package/lib/components/VGrid/index.d.ts +104 -60
- package/lib/components/VHover/index.d.ts +20 -44
- package/lib/components/VIcon/VIcon.mjs +4 -2
- package/lib/components/VIcon/VIcon.mjs.map +1 -1
- package/lib/components/VIcon/index.d.ts +23 -26
- package/lib/components/VImg/VImg.mjs +5 -3
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VImg/index.d.ts +26 -29
- package/lib/components/VInput/VInput.mjs +4 -1
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/index.d.ts +31 -34
- package/lib/components/VItemGroup/VItemGroup.mjs +4 -1
- package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
- package/lib/components/VItemGroup/index.d.ts +30 -33
- package/lib/components/VKbd/index.d.ts +30 -17
- package/lib/components/VLabel/VLabel.mjs +4 -1
- package/lib/components/VLabel/VLabel.mjs.map +1 -1
- package/lib/components/VLabel/index.d.ts +22 -13
- package/lib/components/VLayout/VLayout.mjs +8 -4
- package/lib/components/VLayout/VLayout.mjs.map +1 -1
- package/lib/components/VLayout/VLayoutItem.mjs +4 -2
- package/lib/components/VLayout/VLayoutItem.mjs.map +1 -1
- package/lib/components/VLayout/index.d.ts +44 -26
- package/lib/components/VLazy/VLazy.mjs +4 -2
- package/lib/components/VLazy/VLazy.mjs.map +1 -1
- package/lib/components/VLazy/index.d.ts +22 -13
- package/lib/components/VList/VList.mjs +7 -24
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VListChildren.mjs.map +1 -1
- package/lib/components/VList/VListGroup.mjs +5 -2
- package/lib/components/VList/VListGroup.mjs.map +1 -1
- package/lib/components/VList/VListItem.mjs +4 -2
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItemAction.mjs +4 -1
- package/lib/components/VList/VListItemAction.mjs.map +1 -1
- package/lib/components/VList/VListItemMedia.mjs +4 -1
- package/lib/components/VList/VListItemMedia.mjs.map +1 -1
- package/lib/components/VList/VListSubheader.mjs +5 -3
- package/lib/components/VList/VListSubheader.mjs.map +1 -1
- package/lib/components/VList/index.d.ts +932 -826
- package/lib/components/VLocaleProvider/VLocaleProvider.mjs +5 -2
- package/lib/components/VLocaleProvider/VLocaleProvider.mjs.map +1 -1
- package/lib/components/VLocaleProvider/index.d.ts +30 -17
- package/lib/components/VMain/VMain.mjs +4 -2
- package/lib/components/VMain/VMain.mjs.map +1 -1
- package/lib/components/VMain/index.d.ts +30 -17
- package/lib/components/VMenu/VMenu.mjs +2 -1
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.ts +104 -282
- package/lib/components/VMessages/VMessages.mjs +4 -2
- package/lib/components/VMessages/VMessages.mjs.map +1 -1
- package/lib/components/VMessages/index.d.ts +22 -145
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +4 -2
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/index.d.ts +26 -29
- package/lib/components/VNoSsr/VNoSsr.mjs.map +1 -1
- package/lib/components/VNoSsr/index.d.ts +3 -13
- package/lib/components/VOverlay/VOverlay.mjs +5 -3
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/index.d.ts +38 -45
- package/lib/components/VPagination/VPagination.mjs +4 -1
- package/lib/components/VPagination/VPagination.mjs.map +1 -1
- package/lib/components/VPagination/index.d.ts +23 -30
- package/lib/components/VParallax/VParallax.mjs +5 -2
- package/lib/components/VParallax/VParallax.mjs.map +1 -1
- package/lib/components/VParallax/index.d.ts +34 -33
- package/lib/components/VProgressCircular/VProgressCircular.mjs +4 -2
- package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
- package/lib/components/VProgressCircular/index.d.ts +22 -13
- package/lib/components/VProgressLinear/VProgressLinear.mjs +6 -4
- package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
- package/lib/components/VProgressLinear/index.d.ts +42 -45
- package/lib/components/VRadio/VRadio.mjs +2 -1
- package/lib/components/VRadio/VRadio.mjs.map +1 -1
- package/lib/components/VRadio/index.d.ts +27 -38
- package/lib/components/VRadioGroup/VRadioGroup.mjs +2 -1
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.ts +39 -62
- package/lib/components/VRangeSlider/VRangeSlider.mjs +2 -1
- package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
- package/lib/components/VRangeSlider/index.d.ts +27 -38
- package/lib/components/VRating/VRating.mjs +4 -1
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VRating/index.d.ts +23 -18
- package/lib/components/VResponsive/VResponsive.mjs +4 -2
- package/lib/components/VResponsive/VResponsive.mjs.map +1 -1
- package/lib/components/VResponsive/index.d.ts +43 -31
- package/lib/components/VSelect/VSelect.mjs +2 -1
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.ts +194 -552
- package/lib/components/VSelectionControl/VSelectionControl.mjs +6 -2
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControl/index.d.ts +76 -46
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +4 -1
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/index.d.ts +23 -14
- package/lib/components/VSheet/VSheet.mjs +4 -2
- package/lib/components/VSheet/VSheet.mjs.map +1 -1
- package/lib/components/VSheet/index.d.ts +22 -13
- package/lib/components/VSlideGroup/VSlideGroup.mjs +6 -3
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSlideGroup/index.d.ts +59 -90
- package/lib/components/VSlider/VSlider.mjs +2 -1
- package/lib/components/VSlider/VSlider.mjs.map +1 -1
- package/lib/components/VSlider/VSliderThumb.mjs +6 -4
- package/lib/components/VSlider/VSliderThumb.mjs.map +1 -1
- package/lib/components/VSlider/VSliderTrack.mjs +6 -4
- package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
- package/lib/components/VSlider/index.d.ts +27 -38
- package/lib/components/VSnackbar/VSnackbar.mjs +2 -1
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.ts +92 -142
- package/lib/components/VSwitch/VSwitch.mjs +2 -1
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/index.d.ts +39 -66
- package/lib/components/VSystemBar/VSystemBar.mjs +4 -2
- package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
- package/lib/components/VSystemBar/index.d.ts +22 -13
- package/lib/components/VTable/VTable.mjs +4 -1
- package/lib/components/VTable/VTable.mjs.map +1 -1
- package/lib/components/VTable/index.d.ts +26 -29
- package/lib/components/VTabs/VTab.mjs +2 -2
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTabs/VTabs.mjs +2 -2
- package/lib/components/VTabs/VTabs.mjs.map +1 -1
- package/lib/components/VTabs/index.d.ts +45 -27
- package/lib/components/VTextField/VTextField.mjs +2 -1
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/index.d.ts +208 -269
- package/lib/components/VTextarea/VTextarea.mjs +2 -1
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/index.d.ts +79 -122
- package/lib/components/VThemeProvider/VThemeProvider.mjs +6 -3
- package/lib/components/VThemeProvider/VThemeProvider.mjs.map +1 -1
- package/lib/components/VThemeProvider/index.d.ts +22 -13
- package/lib/components/VTimeline/VTimeline.mjs +5 -3
- package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
- package/lib/components/VTimeline/VTimelineDivider.mjs +4 -1
- package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -1
- package/lib/components/VTimeline/VTimelineItem.mjs +8 -6
- package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
- package/lib/components/VTimeline/index.d.ts +67 -57
- package/lib/components/VToolbar/VToolbar.mjs +4 -2
- package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbarItems.mjs +9 -4
- package/lib/components/VToolbar/VToolbarItems.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbarTitle.mjs +5 -2
- package/lib/components/VToolbar/VToolbarTitle.mjs.map +1 -1
- package/lib/components/VToolbar/index.d.ts +74 -71
- package/lib/components/VTooltip/VTooltip.mjs +2 -1
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VTooltip/index.d.ts +104 -150
- package/lib/components/VValidation/index.d.ts +0 -12
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs +21 -23
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
- package/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +5 -2
- package/lib/components/VVirtualScroll/VVirtualScrollItem.mjs.map +1 -1
- package/lib/components/VVirtualScroll/index.d.ts +70 -30
- package/lib/components/VWindow/VWindow.mjs +4 -1
- package/lib/components/VWindow/VWindow.mjs.map +1 -1
- package/lib/components/VWindow/VWindowItem.mjs +4 -1
- package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
- package/lib/components/VWindow/index.d.ts +61 -79
- package/lib/components/index.d.ts +5229 -6754
- package/lib/components/transitions/index.d.ts +0 -192
- package/lib/composables/component.mjs +11 -0
- package/lib/composables/component.mjs.map +1 -0
- package/lib/composables/defaults.mjs +51 -5
- package/lib/composables/defaults.mjs.map +1 -1
- package/lib/composables/icons.mjs +15 -4
- package/lib/composables/icons.mjs.map +1 -1
- package/lib/composables/index.mjs +1 -1
- package/lib/composables/index.mjs.map +1 -1
- package/lib/composables/loader.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +2 -2
- package/lib/framework.mjs.map +1 -1
- package/lib/iconsets/fa-svg.d.ts +1 -1
- package/lib/iconsets/fa.d.ts +1 -1
- package/lib/iconsets/fa4.d.ts +1 -1
- package/lib/iconsets/md.d.ts +1 -1
- package/lib/iconsets/mdi-svg.d.ts +1 -1
- package/lib/iconsets/mdi.d.ts +1 -1
- package/lib/index.d.ts +11 -11
- package/lib/labs/VDataTable/VDataTable.mjs +1 -1
- package/lib/labs/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableHeaders.mjs +34 -20
- package/lib/labs/VDataTable/VDataTableHeaders.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableRow.mjs +2 -4
- package/lib/labs/VDataTable/VDataTableRow.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableRows.mjs +2 -2
- package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableServer.mjs +1 -1
- package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
- package/lib/labs/VDataTable/index.d.ts +61 -933
- package/lib/labs/VInfiniteScroll/index.d.ts +8 -36
- package/lib/labs/VSkeletonLoader/index.d.ts +0 -12
- package/lib/labs/components.d.ts +115 -1027
- package/lib/labs/date/DateAdapter.mjs +2 -0
- package/lib/labs/date/DateAdapter.mjs.map +1 -0
- package/lib/labs/date/adapters/vuetify.d.ts +52 -0
- package/lib/{adapters → labs/date/adapters}/vuetify.mjs +2 -2
- package/lib/labs/date/adapters/vuetify.mjs.map +1 -0
- package/lib/{composables → labs/date}/date.mjs +3 -3
- package/lib/labs/date/date.mjs.map +1 -0
- package/lib/labs/date/index.d.ts +40 -0
- package/lib/labs/date/index.mjs +2 -0
- package/lib/labs/date/index.mjs.map +1 -0
- package/lib/labs/index.mjs +3 -2
- package/lib/labs/index.mjs.map +1 -1
- package/lib/util/createSimpleFunctional.mjs +9 -4
- package/lib/util/createSimpleFunctional.mjs.map +1 -1
- package/lib/util/defineComponent.mjs +11 -43
- package/lib/util/defineComponent.mjs.map +1 -1
- package/lib/util/helpers.mjs +28 -2
- package/lib/util/helpers.mjs.map +1 -1
- package/lib/util/index.mjs +1 -0
- package/lib/util/index.mjs.map +1 -1
- package/package.json +2 -1
- package/lib/adapters/date-adapter.mjs +0 -2
- package/lib/adapters/date-adapter.mjs.map +0 -1
- package/lib/adapters/vuetify.mjs.map +0 -1
- package/lib/composables/date.mjs.map +0 -1
@@ -10,25 +10,25 @@ declare const VLabel: {
|
|
10
10
|
$: vue.ComponentInternalInstance;
|
11
11
|
$data: {};
|
12
12
|
$props: Partial<{
|
13
|
+
style: vue.StyleValue;
|
13
14
|
clickable: boolean;
|
14
15
|
}> & Omit<{
|
16
|
+
style: vue.StyleValue;
|
15
17
|
clickable: boolean;
|
16
18
|
} & {
|
17
19
|
text?: string | undefined;
|
20
|
+
class?: any;
|
18
21
|
theme?: string | undefined;
|
19
22
|
} & {
|
20
23
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
21
24
|
default?: (() => vue.VNodeChild) | undefined;
|
22
25
|
};
|
23
|
-
$slots?: {
|
24
|
-
default?: (() => vue.VNodeChild) | undefined;
|
25
|
-
} | undefined;
|
26
26
|
'v-slots'?: {
|
27
27
|
default?: false | (() => vue.VNodeChild) | undefined;
|
28
28
|
} | undefined;
|
29
29
|
} & {
|
30
30
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
31
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "clickable">;
|
31
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "style" | "clickable">;
|
32
32
|
$attrs: {
|
33
33
|
[x: string]: unknown;
|
34
34
|
};
|
@@ -43,23 +43,23 @@ declare const VLabel: {
|
|
43
43
|
$emit: (event: string, ...args: any[]) => void;
|
44
44
|
$el: any;
|
45
45
|
$options: vue.ComponentOptionsBase<{
|
46
|
+
style: vue.StyleValue;
|
46
47
|
clickable: boolean;
|
47
48
|
} & {
|
48
49
|
text?: string | undefined;
|
50
|
+
class?: any;
|
49
51
|
theme?: string | undefined;
|
50
52
|
} & {
|
51
53
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
52
54
|
default?: (() => vue.VNodeChild) | undefined;
|
53
55
|
};
|
54
|
-
$slots?: {
|
55
|
-
default?: (() => vue.VNodeChild) | undefined;
|
56
|
-
} | undefined;
|
57
56
|
'v-slots'?: {
|
58
57
|
default?: false | (() => vue.VNodeChild) | undefined;
|
59
58
|
} | undefined;
|
60
59
|
} & {
|
61
60
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
62
61
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
62
|
+
style: vue.StyleValue;
|
63
63
|
clickable: boolean;
|
64
64
|
}, {}, string> & {
|
65
65
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
@@ -82,17 +82,16 @@ declare const VLabel: {
|
|
82
82
|
$nextTick: typeof vue.nextTick;
|
83
83
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: vue.WatchOptions<boolean> | undefined): vue.WatchStopHandle;
|
84
84
|
} & {
|
85
|
+
style: vue.StyleValue;
|
85
86
|
clickable: boolean;
|
86
87
|
} & {
|
87
88
|
text?: string | undefined;
|
89
|
+
class?: any;
|
88
90
|
theme?: string | undefined;
|
89
91
|
} & {
|
90
92
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
91
93
|
default?: (() => vue.VNodeChild) | undefined;
|
92
94
|
};
|
93
|
-
$slots?: {
|
94
|
-
default?: (() => vue.VNodeChild) | undefined;
|
95
|
-
} | undefined;
|
96
95
|
'v-slots'?: {
|
97
96
|
default?: false | (() => vue.VNodeChild) | undefined;
|
98
97
|
} | undefined;
|
@@ -103,30 +102,40 @@ declare const VLabel: {
|
|
103
102
|
__isTeleport?: undefined;
|
104
103
|
__isSuspense?: undefined;
|
105
104
|
} & vue.ComponentOptionsBase<{
|
105
|
+
style: vue.StyleValue;
|
106
106
|
clickable: boolean;
|
107
107
|
} & {
|
108
108
|
text?: string | undefined;
|
109
|
+
class?: any;
|
109
110
|
theme?: string | undefined;
|
110
111
|
} & {
|
111
112
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
112
113
|
default?: (() => vue.VNodeChild) | undefined;
|
113
114
|
};
|
114
|
-
$slots?: {
|
115
|
-
default?: (() => vue.VNodeChild) | undefined;
|
116
|
-
} | undefined;
|
117
115
|
'v-slots'?: {
|
118
116
|
default?: false | (() => vue.VNodeChild) | undefined;
|
119
117
|
} | undefined;
|
120
118
|
} & {
|
121
119
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
122
120
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
121
|
+
style: vue.StyleValue;
|
123
122
|
clickable: boolean;
|
124
123
|
}, {}, string> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
125
124
|
theme: StringConstructor;
|
125
|
+
class: vue.PropType<any>;
|
126
|
+
style: {
|
127
|
+
type: vue.PropType<vue.StyleValue>;
|
128
|
+
default: null;
|
129
|
+
};
|
126
130
|
text: StringConstructor;
|
127
131
|
clickable: BooleanConstructor;
|
128
132
|
}, vue.ExtractPropTypes<{
|
129
133
|
theme: StringConstructor;
|
134
|
+
class: vue.PropType<any>;
|
135
|
+
style: {
|
136
|
+
type: vue.PropType<vue.StyleValue>;
|
137
|
+
default: null;
|
138
|
+
};
|
130
139
|
text: StringConstructor;
|
131
140
|
clickable: BooleanConstructor;
|
132
141
|
}>>;
|
@@ -3,11 +3,15 @@ import { createVNode as _createVNode } from "vue";
|
|
3
3
|
import "./VLayout.css";
|
4
4
|
|
5
5
|
// Composables
|
6
|
-
import { createLayout, makeLayoutProps } from "../../composables/layout.mjs";
|
6
|
+
import { createLayout, makeLayoutProps } from "../../composables/layout.mjs";
|
7
|
+
import { makeComponentProps } from "../../composables/component.mjs"; // Utilities
|
7
8
|
import { genericComponent, useRender } from "../../util/index.mjs";
|
8
9
|
export const VLayout = genericComponent()({
|
9
10
|
name: 'VLayout',
|
10
|
-
props:
|
11
|
+
props: {
|
12
|
+
...makeComponentProps(),
|
13
|
+
...makeLayoutProps()
|
14
|
+
},
|
11
15
|
setup(props, _ref) {
|
12
16
|
let {
|
13
17
|
slots
|
@@ -21,8 +25,8 @@ export const VLayout = genericComponent()({
|
|
21
25
|
} = createLayout(props);
|
22
26
|
useRender(() => _createVNode("div", {
|
23
27
|
"ref": layoutRef,
|
24
|
-
"class": layoutClasses.value,
|
25
|
-
"style": layoutStyles.value
|
28
|
+
"class": [layoutClasses.value, props.class],
|
29
|
+
"style": [layoutStyles.value, props.style]
|
26
30
|
}, [slots.default?.()]));
|
27
31
|
return {
|
28
32
|
getLayoutItem,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VLayout.mjs","names":["createLayout","makeLayoutProps","genericComponent","useRender","VLayout","name","props","setup","_ref","slots","layoutClasses","layoutStyles","getLayoutItem","items","layoutRef","_createVNode","value","default"],"sources":["../../../src/components/VLayout/VLayout.tsx"],"sourcesContent":["// Styles\nimport './VLayout.sass'\n\n// Composables\nimport { createLayout, makeLayoutProps } from '@/composables/layout'\n\n// Utilities\nimport { genericComponent, useRender } from '@/util'\n\nexport const VLayout = genericComponent()({\n name: 'VLayout',\n\n props: makeLayoutProps(),\n\n setup (props, { slots }) {\n const { layoutClasses, layoutStyles, getLayoutItem, items, layoutRef } = createLayout(props)\n\n useRender(() => (\n <div
|
1
|
+
{"version":3,"file":"VLayout.mjs","names":["createLayout","makeLayoutProps","makeComponentProps","genericComponent","useRender","VLayout","name","props","setup","_ref","slots","layoutClasses","layoutStyles","getLayoutItem","items","layoutRef","_createVNode","value","class","style","default"],"sources":["../../../src/components/VLayout/VLayout.tsx"],"sourcesContent":["// Styles\nimport './VLayout.sass'\n\n// Composables\nimport { createLayout, makeLayoutProps } from '@/composables/layout'\nimport { makeComponentProps } from '@/composables/component'\n\n// Utilities\nimport { genericComponent, useRender } from '@/util'\n\nexport const VLayout = genericComponent()({\n name: 'VLayout',\n\n props: {\n ...makeComponentProps(),\n ...makeLayoutProps(),\n },\n\n setup (props, { slots }) {\n const { layoutClasses, layoutStyles, getLayoutItem, items, layoutRef } = createLayout(props)\n\n useRender(() => (\n <div\n ref={ layoutRef }\n class={[\n layoutClasses.value,\n props.class,\n ]}\n style={[\n layoutStyles.value,\n props.style,\n ]}\n >\n { slots.default?.() }\n </div>\n ))\n\n return {\n getLayoutItem,\n items,\n }\n },\n})\n\nexport type VLayout = InstanceType<typeof VLayout>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,YAAY,EAAEC,eAAe;AAAA,SAC7BC,kBAAkB,2CAE3B;AAAA,SACSC,gBAAgB,EAAEC,SAAS;AAEpC,OAAO,MAAMC,OAAO,GAAGF,gBAAgB,EAAE,CAAC;EACxCG,IAAI,EAAE,SAAS;EAEfC,KAAK,EAAE;IACL,GAAGL,kBAAkB,EAAE;IACvB,GAAGD,eAAe;EACpB,CAAC;EAEDO,KAAKA,CAAED,KAAK,EAAAE,IAAA,EAAa;IAAA,IAAX;MAAEC;IAAM,CAAC,GAAAD,IAAA;IACrB,MAAM;MAAEE,aAAa;MAAEC,YAAY;MAAEC,aAAa;MAAEC,KAAK;MAAEC;IAAU,CAAC,GAAGf,YAAY,CAACO,KAAK,CAAC;IAE5FH,SAAS,CAAC,MAAAY,YAAA;MAAA,OAEAD,SAAS;MAAA,SACR,CACLJ,aAAa,CAACM,KAAK,EACnBV,KAAK,CAACW,KAAK,CACZ;MAAA,SACM,CACLN,YAAY,CAACK,KAAK,EAClBV,KAAK,CAACY,KAAK;IACZ,IAECT,KAAK,CAACU,OAAO,IAAI,EAEtB,CAAC;IAEF,OAAO;MACLP,aAAa;MACbC;IACF,CAAC;EACH;AACF,CAAC,CAAC"}
|
@@ -3,6 +3,7 @@ import { createVNode as _createVNode } from "vue";
|
|
3
3
|
import "./VLayoutItem.css";
|
4
4
|
|
5
5
|
// Composables
|
6
|
+
import { makeComponentProps } from "../../composables/component.mjs";
|
6
7
|
import { makeLayoutItemProps, useLayoutItem } from "../../composables/layout.mjs"; // Utilities
|
7
8
|
import { computed, toRef } from 'vue';
|
8
9
|
import { genericComponent } from "../../util/index.mjs"; // Types
|
@@ -18,6 +19,7 @@ export const VLayoutItem = genericComponent()({
|
|
18
19
|
default: 300
|
19
20
|
},
|
20
21
|
modelValue: Boolean,
|
22
|
+
...makeComponentProps(),
|
21
23
|
...makeLayoutItemProps()
|
22
24
|
},
|
23
25
|
setup(props, _ref) {
|
@@ -36,8 +38,8 @@ export const VLayoutItem = genericComponent()({
|
|
36
38
|
absolute: toRef(props, 'absolute')
|
37
39
|
});
|
38
40
|
return () => _createVNode("div", {
|
39
|
-
"class": ['v-layout-item'],
|
40
|
-
"style": layoutItemStyles.value
|
41
|
+
"class": ['v-layout-item', props.class],
|
42
|
+
"style": [layoutItemStyles.value, props.style]
|
41
43
|
}, [slots.default?.()]);
|
42
44
|
}
|
43
45
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VLayoutItem.mjs","names":["makeLayoutItemProps","useLayoutItem","computed","toRef","genericComponent","VLayoutItem","name","props","position","type","String","required","size","Number","default","modelValue","Boolean","setup","_ref","slots","layoutItemStyles","id","order","parseInt","elementSize","layoutSize","active","absolute","_createVNode","value"],"sources":["../../../src/components/VLayout/VLayoutItem.tsx"],"sourcesContent":["// Styles\nimport './VLayoutItem.sass'\n\n// Composables\nimport { makeLayoutItemProps, useLayoutItem } from '@/composables/layout'\n\n// Utilities\nimport { computed, toRef } from 'vue'\nimport { genericComponent } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport const VLayoutItem = genericComponent()({\n name: 'VLayoutItem',\n\n props: {\n position: {\n type: String as PropType<'top' | 'right' | 'bottom' | 'left'>,\n required: true,\n },\n size: {\n type: [Number, String],\n default: 300,\n },\n modelValue: Boolean,\n ...makeLayoutItemProps(),\n },\n\n setup (props, { slots }) {\n const { layoutItemStyles } = useLayoutItem({\n id: props.name,\n order: computed(() => parseInt(props.order, 10)),\n position: toRef(props, 'position'),\n elementSize: toRef(props, 'size'),\n layoutSize: toRef(props, 'size'),\n active: toRef(props, 'modelValue'),\n absolute: toRef(props, 'absolute'),\n })\n\n return () => (\n <div\n class={[\n 'v-layout-item',\n ]}\n style={
|
1
|
+
{"version":3,"file":"VLayoutItem.mjs","names":["makeComponentProps","makeLayoutItemProps","useLayoutItem","computed","toRef","genericComponent","VLayoutItem","name","props","position","type","String","required","size","Number","default","modelValue","Boolean","setup","_ref","slots","layoutItemStyles","id","order","parseInt","elementSize","layoutSize","active","absolute","_createVNode","class","value","style"],"sources":["../../../src/components/VLayout/VLayoutItem.tsx"],"sourcesContent":["// Styles\nimport './VLayoutItem.sass'\n\n// Composables\nimport { makeComponentProps } from '@/composables/component'\nimport { makeLayoutItemProps, useLayoutItem } from '@/composables/layout'\n\n// Utilities\nimport { computed, toRef } from 'vue'\nimport { genericComponent } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport const VLayoutItem = genericComponent()({\n name: 'VLayoutItem',\n\n props: {\n position: {\n type: String as PropType<'top' | 'right' | 'bottom' | 'left'>,\n required: true,\n },\n size: {\n type: [Number, String],\n default: 300,\n },\n modelValue: Boolean,\n\n ...makeComponentProps(),\n ...makeLayoutItemProps(),\n },\n\n setup (props, { slots }) {\n const { layoutItemStyles } = useLayoutItem({\n id: props.name,\n order: computed(() => parseInt(props.order, 10)),\n position: toRef(props, 'position'),\n elementSize: toRef(props, 'size'),\n layoutSize: toRef(props, 'size'),\n active: toRef(props, 'modelValue'),\n absolute: toRef(props, 'absolute'),\n })\n\n return () => (\n <div\n class={[\n 'v-layout-item',\n props.class,\n ]}\n style={[\n layoutItemStyles.value,\n props.style,\n ]}\n >\n { slots.default?.() }\n </div>\n )\n },\n})\n\nexport type VLayoutItem = InstanceType<typeof VLayoutItem>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,kBAAkB;AAAA,SAClBC,mBAAmB,EAAEC,aAAa,wCAE3C;AACA,SAASC,QAAQ,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAC5BC,gBAAgB,gCAEzB;AAGA,OAAO,MAAMC,WAAW,GAAGD,gBAAgB,EAAE,CAAC;EAC5CE,IAAI,EAAE,aAAa;EAEnBC,KAAK,EAAE;IACLC,QAAQ,EAAE;MACRC,IAAI,EAAEC,MAAuD;MAC7DC,QAAQ,EAAE;IACZ,CAAC;IACDC,IAAI,EAAE;MACJH,IAAI,EAAE,CAACI,MAAM,EAAEH,MAAM,CAAC;MACtBI,OAAO,EAAE;IACX,CAAC;IACDC,UAAU,EAAEC,OAAO;IAEnB,GAAGjB,kBAAkB,EAAE;IACvB,GAAGC,mBAAmB;EACxB,CAAC;EAEDiB,KAAKA,CAAEV,KAAK,EAAAW,IAAA,EAAa;IAAA,IAAX;MAAEC;IAAM,CAAC,GAAAD,IAAA;IACrB,MAAM;MAAEE;IAAiB,CAAC,GAAGnB,aAAa,CAAC;MACzCoB,EAAE,EAAEd,KAAK,CAACD,IAAI;MACdgB,KAAK,EAAEpB,QAAQ,CAAC,MAAMqB,QAAQ,CAAChB,KAAK,CAACe,KAAK,EAAE,EAAE,CAAC,CAAC;MAChDd,QAAQ,EAAEL,KAAK,CAACI,KAAK,EAAE,UAAU,CAAC;MAClCiB,WAAW,EAAErB,KAAK,CAACI,KAAK,EAAE,MAAM,CAAC;MACjCkB,UAAU,EAAEtB,KAAK,CAACI,KAAK,EAAE,MAAM,CAAC;MAChCmB,MAAM,EAAEvB,KAAK,CAACI,KAAK,EAAE,YAAY,CAAC;MAClCoB,QAAQ,EAAExB,KAAK,CAACI,KAAK,EAAE,UAAU;IACnC,CAAC,CAAC;IAEF,OAAO,MAAAqB,YAAA;MAAA,SAEI,CACL,eAAe,EACfrB,KAAK,CAACsB,KAAK,CACZ;MAAA,SACM,CACLT,gBAAgB,CAACU,KAAK,EACtBvB,KAAK,CAACwB,KAAK;IACZ,IAECZ,KAAK,CAACL,OAAO,IAAI,EAEtB;EACH;AACF,CAAC,CAAC"}
|
@@ -10,24 +10,24 @@ declare const VLayout: {
|
|
10
10
|
$: vue.ComponentInternalInstance;
|
11
11
|
$data: {};
|
12
12
|
$props: Partial<{
|
13
|
+
style: vue.StyleValue;
|
13
14
|
fullHeight: boolean;
|
14
15
|
}> & Omit<{
|
16
|
+
style: vue.StyleValue;
|
15
17
|
fullHeight: boolean;
|
16
18
|
} & {
|
19
|
+
class?: any;
|
17
20
|
overlaps?: string[] | undefined;
|
18
21
|
} & {
|
19
22
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
20
23
|
default?: (() => vue.VNodeChild) | undefined;
|
21
24
|
};
|
22
|
-
$slots?: {
|
23
|
-
default?: (() => vue.VNodeChild) | undefined;
|
24
|
-
} | undefined;
|
25
25
|
'v-slots'?: {
|
26
26
|
default?: false | (() => vue.VNodeChild) | undefined;
|
27
27
|
} | undefined;
|
28
28
|
} & {
|
29
29
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
30
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "fullHeight">;
|
30
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "style" | "fullHeight">;
|
31
31
|
$attrs: {
|
32
32
|
[x: string]: unknown;
|
33
33
|
};
|
@@ -42,16 +42,15 @@ declare const VLayout: {
|
|
42
42
|
$emit: (event: string, ...args: any[]) => void;
|
43
43
|
$el: any;
|
44
44
|
$options: vue.ComponentOptionsBase<{
|
45
|
+
style: vue.StyleValue;
|
45
46
|
fullHeight: boolean;
|
46
47
|
} & {
|
48
|
+
class?: any;
|
47
49
|
overlaps?: string[] | undefined;
|
48
50
|
} & {
|
49
51
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
50
52
|
default?: (() => vue.VNodeChild) | undefined;
|
51
53
|
};
|
52
|
-
$slots?: {
|
53
|
-
default?: (() => vue.VNodeChild) | undefined;
|
54
|
-
} | undefined;
|
55
54
|
'v-slots'?: {
|
56
55
|
default?: false | (() => vue.VNodeChild) | undefined;
|
57
56
|
} | undefined;
|
@@ -77,6 +76,7 @@ declare const VLayout: {
|
|
77
76
|
id: string;
|
78
77
|
}[]>;
|
79
78
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
79
|
+
style: vue.StyleValue;
|
80
80
|
fullHeight: boolean;
|
81
81
|
}, {}, string> & {
|
82
82
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
@@ -99,16 +99,15 @@ declare const VLayout: {
|
|
99
99
|
$nextTick: typeof vue.nextTick;
|
100
100
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: vue.WatchOptions<boolean> | undefined): vue.WatchStopHandle;
|
101
101
|
} & {
|
102
|
+
style: vue.StyleValue;
|
102
103
|
fullHeight: boolean;
|
103
104
|
} & {
|
105
|
+
class?: any;
|
104
106
|
overlaps?: string[] | undefined;
|
105
107
|
} & {
|
106
108
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
107
109
|
default?: (() => vue.VNodeChild) | undefined;
|
108
110
|
};
|
109
|
-
$slots?: {
|
110
|
-
default?: (() => vue.VNodeChild) | undefined;
|
111
|
-
} | undefined;
|
112
111
|
'v-slots'?: {
|
113
112
|
default?: false | (() => vue.VNodeChild) | undefined;
|
114
113
|
} | undefined;
|
@@ -138,16 +137,15 @@ declare const VLayout: {
|
|
138
137
|
__isTeleport?: undefined;
|
139
138
|
__isSuspense?: undefined;
|
140
139
|
} & vue.ComponentOptionsBase<{
|
140
|
+
style: vue.StyleValue;
|
141
141
|
fullHeight: boolean;
|
142
142
|
} & {
|
143
|
+
class?: any;
|
143
144
|
overlaps?: string[] | undefined;
|
144
145
|
} & {
|
145
146
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
146
147
|
default?: (() => vue.VNodeChild) | undefined;
|
147
148
|
};
|
148
|
-
$slots?: {
|
149
|
-
default?: (() => vue.VNodeChild) | undefined;
|
150
|
-
} | undefined;
|
151
149
|
'v-slots'?: {
|
152
150
|
default?: false | (() => vue.VNodeChild) | undefined;
|
153
151
|
} | undefined;
|
@@ -173,13 +171,24 @@ declare const VLayout: {
|
|
173
171
|
id: string;
|
174
172
|
}[]>;
|
175
173
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
174
|
+
style: vue.StyleValue;
|
176
175
|
fullHeight: boolean;
|
177
176
|
}, {}, string> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
178
177
|
overlaps: vue.Prop<string[]>;
|
179
178
|
fullHeight: BooleanConstructor;
|
179
|
+
class: vue.PropType<any>;
|
180
|
+
style: {
|
181
|
+
type: vue.PropType<vue.StyleValue>;
|
182
|
+
default: null;
|
183
|
+
};
|
180
184
|
}, vue.ExtractPropTypes<{
|
181
185
|
overlaps: vue.Prop<string[]>;
|
182
186
|
fullHeight: BooleanConstructor;
|
187
|
+
class: vue.PropType<any>;
|
188
|
+
style: {
|
189
|
+
type: vue.PropType<vue.StyleValue>;
|
190
|
+
default: null;
|
191
|
+
};
|
183
192
|
}>>;
|
184
193
|
type VLayout = InstanceType<typeof VLayout>;
|
185
194
|
|
@@ -190,29 +199,29 @@ declare const VLayoutItem: {
|
|
190
199
|
$props: Partial<{
|
191
200
|
absolute: boolean;
|
192
201
|
order: string | number;
|
202
|
+
style: vue.StyleValue;
|
193
203
|
size: string | number;
|
194
204
|
modelValue: boolean;
|
195
205
|
}> & Omit<{
|
196
206
|
absolute: boolean;
|
197
207
|
order: string | number;
|
198
208
|
position: "left" | "top" | "bottom" | "right";
|
209
|
+
style: vue.StyleValue;
|
199
210
|
size: string | number;
|
200
211
|
modelValue: boolean;
|
201
212
|
} & {
|
202
213
|
name?: string | undefined;
|
214
|
+
class?: any;
|
203
215
|
} & {
|
204
216
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
205
217
|
default?: (() => vue.VNodeChild) | undefined;
|
206
218
|
};
|
207
|
-
$slots?: {
|
208
|
-
default?: (() => vue.VNodeChild) | undefined;
|
209
|
-
} | undefined;
|
210
219
|
'v-slots'?: {
|
211
220
|
default?: false | (() => vue.VNodeChild) | undefined;
|
212
221
|
} | undefined;
|
213
222
|
} & {
|
214
223
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
215
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "absolute" | "order" | "size" | "modelValue">;
|
224
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "absolute" | "order" | "style" | "size" | "modelValue">;
|
216
225
|
$attrs: {
|
217
226
|
[x: string]: unknown;
|
218
227
|
};
|
@@ -230,17 +239,16 @@ declare const VLayoutItem: {
|
|
230
239
|
absolute: boolean;
|
231
240
|
order: string | number;
|
232
241
|
position: "left" | "top" | "bottom" | "right";
|
242
|
+
style: vue.StyleValue;
|
233
243
|
size: string | number;
|
234
244
|
modelValue: boolean;
|
235
245
|
} & {
|
236
246
|
name?: string | undefined;
|
247
|
+
class?: any;
|
237
248
|
} & {
|
238
249
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
239
250
|
default?: (() => vue.VNodeChild) | undefined;
|
240
251
|
};
|
241
|
-
$slots?: {
|
242
|
-
default?: (() => vue.VNodeChild) | undefined;
|
243
|
-
} | undefined;
|
244
252
|
'v-slots'?: {
|
245
253
|
default?: false | (() => vue.VNodeChild) | undefined;
|
246
254
|
} | undefined;
|
@@ -249,6 +257,7 @@ declare const VLayoutItem: {
|
|
249
257
|
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
250
258
|
absolute: boolean;
|
251
259
|
order: string | number;
|
260
|
+
style: vue.StyleValue;
|
252
261
|
size: string | number;
|
253
262
|
modelValue: boolean;
|
254
263
|
}, {}, string> & {
|
@@ -275,17 +284,16 @@ declare const VLayoutItem: {
|
|
275
284
|
absolute: boolean;
|
276
285
|
order: string | number;
|
277
286
|
position: "left" | "top" | "bottom" | "right";
|
287
|
+
style: vue.StyleValue;
|
278
288
|
size: string | number;
|
279
289
|
modelValue: boolean;
|
280
290
|
} & {
|
281
291
|
name?: string | undefined;
|
292
|
+
class?: any;
|
282
293
|
} & {
|
283
294
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
284
295
|
default?: (() => vue.VNodeChild) | undefined;
|
285
296
|
};
|
286
|
-
$slots?: {
|
287
|
-
default?: (() => vue.VNodeChild) | undefined;
|
288
|
-
} | undefined;
|
289
297
|
'v-slots'?: {
|
290
298
|
default?: false | (() => vue.VNodeChild) | undefined;
|
291
299
|
} | undefined;
|
@@ -299,17 +307,16 @@ declare const VLayoutItem: {
|
|
299
307
|
absolute: boolean;
|
300
308
|
order: string | number;
|
301
309
|
position: "left" | "top" | "bottom" | "right";
|
310
|
+
style: vue.StyleValue;
|
302
311
|
size: string | number;
|
303
312
|
modelValue: boolean;
|
304
313
|
} & {
|
305
314
|
name?: string | undefined;
|
315
|
+
class?: any;
|
306
316
|
} & {
|
307
317
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
308
318
|
default?: (() => vue.VNodeChild) | undefined;
|
309
319
|
};
|
310
|
-
$slots?: {
|
311
|
-
default?: (() => vue.VNodeChild) | undefined;
|
312
|
-
} | undefined;
|
313
320
|
'v-slots'?: {
|
314
321
|
default?: false | (() => vue.VNodeChild) | undefined;
|
315
322
|
} | undefined;
|
@@ -318,6 +325,7 @@ declare const VLayoutItem: {
|
|
318
325
|
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
319
326
|
absolute: boolean;
|
320
327
|
order: string | number;
|
328
|
+
style: vue.StyleValue;
|
321
329
|
size: string | number;
|
322
330
|
modelValue: boolean;
|
323
331
|
}, {}, string> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
@@ -329,6 +337,11 @@ declare const VLayoutItem: {
|
|
329
337
|
default: number;
|
330
338
|
};
|
331
339
|
absolute: BooleanConstructor;
|
340
|
+
class: PropType<any>;
|
341
|
+
style: {
|
342
|
+
type: PropType<vue.StyleValue>;
|
343
|
+
default: null;
|
344
|
+
};
|
332
345
|
position: {
|
333
346
|
type: PropType<"left" | "top" | "bottom" | "right">;
|
334
347
|
required: true;
|
@@ -347,6 +360,11 @@ declare const VLayoutItem: {
|
|
347
360
|
default: number;
|
348
361
|
};
|
349
362
|
absolute: BooleanConstructor;
|
363
|
+
class: PropType<any>;
|
364
|
+
style: {
|
365
|
+
type: PropType<vue.StyleValue>;
|
366
|
+
default: null;
|
367
|
+
};
|
350
368
|
position: {
|
351
369
|
type: PropType<"left" | "top" | "bottom" | "right">;
|
352
370
|
required: true;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { withDirectives as _withDirectives, resolveDirective as _resolveDirective, createVNode as _createVNode } from "vue";
|
2
2
|
// Composables
|
3
|
+
import { makeComponentProps } from "../../composables/component.mjs";
|
3
4
|
import { makeDimensionProps, useDimension } from "../../composables/dimensions.mjs";
|
4
5
|
import { makeTagProps } from "../../composables/tag.mjs";
|
5
6
|
import { makeTransitionProps, MaybeTransition } from "../../composables/transition.mjs";
|
@@ -23,6 +24,7 @@ export const VLazy = genericComponent()({
|
|
23
24
|
threshold: undefined
|
24
25
|
})
|
25
26
|
},
|
27
|
+
...makeComponentProps(),
|
26
28
|
...makeDimensionProps(),
|
27
29
|
...makeTagProps(),
|
28
30
|
...makeTransitionProps({
|
@@ -45,8 +47,8 @@ export const VLazy = genericComponent()({
|
|
45
47
|
isActive.value = isIntersecting;
|
46
48
|
}
|
47
49
|
useRender(() => _withDirectives(_createVNode(props.tag, {
|
48
|
-
"class":
|
49
|
-
"style": dimensionStyles.value
|
50
|
+
"class": ['v-lazy', props.class],
|
51
|
+
"style": [dimensionStyles.value, props.style]
|
50
52
|
}, {
|
51
53
|
default: () => [isActive.value && _createVNode(MaybeTransition, {
|
52
54
|
"transition": props.transition,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VLazy.mjs","names":["makeDimensionProps","useDimension","makeTagProps","makeTransitionProps","MaybeTransition","useProxiedModel","intersect","genericComponent","useRender","VLazy","name","directives","props","modelValue","Boolean","options","type","Object","default","root","undefined","rootMargin","threshold","transition","emits","value","setup","_ref","slots","dimensionStyles","isActive","onIntersect","isIntersecting","_withDirectives","_createVNode","tag","_resolveDirective","handler"],"sources":["../../../src/components/VLazy/VLazy.tsx"],"sourcesContent":["// Composables\nimport { makeDimensionProps, useDimension } from '@/composables/dimensions'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeTransitionProps, MaybeTransition } from '@/composables/transition'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Directives\nimport intersect from '@/directives/intersect'\n\n// Utilities\nimport { genericComponent, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport const VLazy = genericComponent()({\n name: 'VLazy',\n\n directives: { intersect },\n\n props: {\n modelValue: Boolean,\n options: {\n type: Object as PropType<IntersectionObserverInit>,\n // For more information on types, navigate to:\n // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API\n default: () => ({\n root: undefined,\n rootMargin: undefined,\n threshold: undefined,\n }),\n },\n\n ...makeDimensionProps(),\n ...makeTagProps(),\n ...makeTransitionProps({ transition: 'fade-transition' }),\n },\n\n emits: {\n 'update:modelValue': (value: boolean) => true,\n },\n\n setup (props, { slots }) {\n const { dimensionStyles } = useDimension(props)\n\n const isActive = useProxiedModel(props, 'modelValue')\n\n function onIntersect (isIntersecting: boolean) {\n if (isActive.value) return\n\n isActive.value = isIntersecting\n }\n\n useRender(() => (\n <props.tag\n class
|
1
|
+
{"version":3,"file":"VLazy.mjs","names":["makeComponentProps","makeDimensionProps","useDimension","makeTagProps","makeTransitionProps","MaybeTransition","useProxiedModel","intersect","genericComponent","useRender","VLazy","name","directives","props","modelValue","Boolean","options","type","Object","default","root","undefined","rootMargin","threshold","transition","emits","value","setup","_ref","slots","dimensionStyles","isActive","onIntersect","isIntersecting","_withDirectives","_createVNode","tag","class","style","_resolveDirective","handler"],"sources":["../../../src/components/VLazy/VLazy.tsx"],"sourcesContent":["// Composables\nimport { makeComponentProps } from '@/composables/component'\nimport { makeDimensionProps, useDimension } from '@/composables/dimensions'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeTransitionProps, MaybeTransition } from '@/composables/transition'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Directives\nimport intersect from '@/directives/intersect'\n\n// Utilities\nimport { genericComponent, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport const VLazy = genericComponent()({\n name: 'VLazy',\n\n directives: { intersect },\n\n props: {\n modelValue: Boolean,\n options: {\n type: Object as PropType<IntersectionObserverInit>,\n // For more information on types, navigate to:\n // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API\n default: () => ({\n root: undefined,\n rootMargin: undefined,\n threshold: undefined,\n }),\n },\n\n ...makeComponentProps(),\n ...makeDimensionProps(),\n ...makeTagProps(),\n ...makeTransitionProps({ transition: 'fade-transition' }),\n },\n\n emits: {\n 'update:modelValue': (value: boolean) => true,\n },\n\n setup (props, { slots }) {\n const { dimensionStyles } = useDimension(props)\n\n const isActive = useProxiedModel(props, 'modelValue')\n\n function onIntersect (isIntersecting: boolean) {\n if (isActive.value) return\n\n isActive.value = isIntersecting\n }\n\n useRender(() => (\n <props.tag\n class={[\n 'v-lazy',\n props.class,\n ]}\n v-intersect={[\n {\n handler: onIntersect,\n options: props.options,\n },\n null,\n isActive.value ? [] : ['once'],\n ]}\n style={[\n dimensionStyles.value,\n props.style,\n ]}\n >\n { isActive.value && (\n <MaybeTransition transition={ props.transition } appear>\n { slots.default?.() }\n </MaybeTransition>\n )}\n </props.tag>\n ))\n\n return {}\n },\n})\n\nexport type VLazy = InstanceType<typeof VLazy>\n"],"mappings":";AAAA;AAAA,SACSA,kBAAkB;AAAA,SAClBC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,YAAY;AAAA,SACZC,mBAAmB,EAAEC,eAAe;AAAA,SACpCC,eAAe,8CAExB;AAAA,OACOC,SAAS,8CAEhB;AAAA,SACSC,gBAAgB,EAAEC,SAAS,gCAEpC;AAGA,OAAO,MAAMC,KAAK,GAAGF,gBAAgB,EAAE,CAAC;EACtCG,IAAI,EAAE,OAAO;EAEbC,UAAU,EAAE;IAAEL;EAAU,CAAC;EAEzBM,KAAK,EAAE;IACLC,UAAU,EAAEC,OAAO;IACnBC,OAAO,EAAE;MACPC,IAAI,EAAEC,MAA4C;MAClD;MACA;MACAC,OAAO,EAAEA,CAAA,MAAO;QACdC,IAAI,EAAEC,SAAS;QACfC,UAAU,EAAED,SAAS;QACrBE,SAAS,EAAEF;MACb,CAAC;IACH,CAAC;IAED,GAAGrB,kBAAkB,EAAE;IACvB,GAAGC,kBAAkB,EAAE;IACvB,GAAGE,YAAY,EAAE;IACjB,GAAGC,mBAAmB,CAAC;MAAEoB,UAAU,EAAE;IAAkB,CAAC;EAC1D,CAAC;EAEDC,KAAK,EAAE;IACL,mBAAmB,EAAGC,KAAc,IAAK;EAC3C,CAAC;EAEDC,KAAKA,CAAEd,KAAK,EAAAe,IAAA,EAAa;IAAA,IAAX;MAAEC;IAAM,CAAC,GAAAD,IAAA;IACrB,MAAM;MAAEE;IAAgB,CAAC,GAAG5B,YAAY,CAACW,KAAK,CAAC;IAE/C,MAAMkB,QAAQ,GAAGzB,eAAe,CAACO,KAAK,EAAE,YAAY,CAAC;IAErD,SAASmB,WAAWA,CAAEC,cAAuB,EAAE;MAC7C,IAAIF,QAAQ,CAACL,KAAK,EAAE;MAEpBK,QAAQ,CAACL,KAAK,GAAGO,cAAc;IACjC;IAEAxB,SAAS,CAAC,MAAAyB,eAAA,CAAAC,YAAA,CAAAtB,KAAA,CAAAuB,GAAA;MAAA,SAEC,CACL,QAAQ,EACRvB,KAAK,CAACwB,KAAK,CACZ;MAAA,SASM,CACLP,eAAe,CAACJ,KAAK,EACrBb,KAAK,CAACyB,KAAK;IACZ;MAAAnB,OAAA,EAAAA,CAAA,MAECY,QAAQ,CAACL,KAAK,IAAAS,YAAA,CAAA9B,eAAA;QAAA,cACgBQ,KAAK,CAACW,UAAU;QAAA;MAAA;QAAAL,OAAA,EAAAA,CAAA,MAC1CU,KAAK,CAACV,OAAO,IAAI;MAAA,EAEtB;IAAA,MAAAoB,iBAAA,eAhBC;MACEC,OAAO,EAAER,WAAW;MACpBhB,OAAO,EAAEH,KAAK,CAACG;IACjB,CAAC,EACD,IAAI,GAcT,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}
|
@@ -13,6 +13,7 @@ declare const VLazy: {
|
|
13
13
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
14
14
|
component?: vue.Component | undefined;
|
15
15
|
})>;
|
16
|
+
style: vue.StyleValue;
|
16
17
|
options: IntersectionObserverInit;
|
17
18
|
tag: string;
|
18
19
|
modelValue: boolean;
|
@@ -20,6 +21,7 @@ declare const VLazy: {
|
|
20
21
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
21
22
|
component?: vue.Component | undefined;
|
22
23
|
})>;
|
24
|
+
style: vue.StyleValue;
|
23
25
|
options: IntersectionObserverInit;
|
24
26
|
tag: string;
|
25
27
|
modelValue: boolean;
|
@@ -30,13 +32,11 @@ declare const VLazy: {
|
|
30
32
|
maxWidth?: string | number | undefined;
|
31
33
|
minHeight?: string | number | undefined;
|
32
34
|
minWidth?: string | number | undefined;
|
35
|
+
class?: any;
|
33
36
|
} & {
|
34
37
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
35
38
|
default?: (() => vue.VNodeChild) | undefined;
|
36
39
|
};
|
37
|
-
$slots?: {
|
38
|
-
default?: (() => vue.VNodeChild) | undefined;
|
39
|
-
} | undefined;
|
40
40
|
'v-slots'?: {
|
41
41
|
default?: false | (() => vue.VNodeChild) | undefined;
|
42
42
|
} | undefined;
|
@@ -44,7 +44,7 @@ declare const VLazy: {
|
|
44
44
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
45
45
|
} & {
|
46
46
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
47
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "transition" | "options" | "tag" | "modelValue">;
|
47
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "transition" | "style" | "options" | "tag" | "modelValue">;
|
48
48
|
$attrs: {
|
49
49
|
[x: string]: unknown;
|
50
50
|
};
|
@@ -62,6 +62,7 @@ declare const VLazy: {
|
|
62
62
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
63
63
|
component?: vue.Component | undefined;
|
64
64
|
})>;
|
65
|
+
style: vue.StyleValue;
|
65
66
|
options: IntersectionObserverInit;
|
66
67
|
tag: string;
|
67
68
|
modelValue: boolean;
|
@@ -72,13 +73,11 @@ declare const VLazy: {
|
|
72
73
|
maxWidth?: string | number | undefined;
|
73
74
|
minHeight?: string | number | undefined;
|
74
75
|
minWidth?: string | number | undefined;
|
76
|
+
class?: any;
|
75
77
|
} & {
|
76
78
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
77
79
|
default?: (() => vue.VNodeChild) | undefined;
|
78
80
|
};
|
79
|
-
$slots?: {
|
80
|
-
default?: (() => vue.VNodeChild) | undefined;
|
81
|
-
} | undefined;
|
82
81
|
'v-slots'?: {
|
83
82
|
default?: false | (() => vue.VNodeChild) | undefined;
|
84
83
|
} | undefined;
|
@@ -92,6 +91,7 @@ declare const VLazy: {
|
|
92
91
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
93
92
|
component?: vue.Component | undefined;
|
94
93
|
})>;
|
94
|
+
style: vue.StyleValue;
|
95
95
|
options: IntersectionObserverInit;
|
96
96
|
tag: string;
|
97
97
|
modelValue: boolean;
|
@@ -119,6 +119,7 @@ declare const VLazy: {
|
|
119
119
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
120
120
|
component?: vue.Component | undefined;
|
121
121
|
})>;
|
122
|
+
style: vue.StyleValue;
|
122
123
|
options: IntersectionObserverInit;
|
123
124
|
tag: string;
|
124
125
|
modelValue: boolean;
|
@@ -129,13 +130,11 @@ declare const VLazy: {
|
|
129
130
|
maxWidth?: string | number | undefined;
|
130
131
|
minHeight?: string | number | undefined;
|
131
132
|
minWidth?: string | number | undefined;
|
133
|
+
class?: any;
|
132
134
|
} & {
|
133
135
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
134
136
|
default?: (() => vue.VNodeChild) | undefined;
|
135
137
|
};
|
136
|
-
$slots?: {
|
137
|
-
default?: (() => vue.VNodeChild) | undefined;
|
138
|
-
} | undefined;
|
139
138
|
'v-slots'?: {
|
140
139
|
default?: false | (() => vue.VNodeChild) | undefined;
|
141
140
|
} | undefined;
|
@@ -151,6 +150,7 @@ declare const VLazy: {
|
|
151
150
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
152
151
|
component?: vue.Component | undefined;
|
153
152
|
})>;
|
153
|
+
style: vue.StyleValue;
|
154
154
|
options: IntersectionObserverInit;
|
155
155
|
tag: string;
|
156
156
|
modelValue: boolean;
|
@@ -161,13 +161,11 @@ declare const VLazy: {
|
|
161
161
|
maxWidth?: string | number | undefined;
|
162
162
|
minHeight?: string | number | undefined;
|
163
163
|
minWidth?: string | number | undefined;
|
164
|
+
class?: any;
|
164
165
|
} & {
|
165
166
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
166
167
|
default?: (() => vue.VNodeChild) | undefined;
|
167
168
|
};
|
168
|
-
$slots?: {
|
169
|
-
default?: (() => vue.VNodeChild) | undefined;
|
170
|
-
} | undefined;
|
171
169
|
'v-slots'?: {
|
172
170
|
default?: false | (() => vue.VNodeChild) | undefined;
|
173
171
|
} | undefined;
|
@@ -181,6 +179,7 @@ declare const VLazy: {
|
|
181
179
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
182
180
|
component?: vue.Component | undefined;
|
183
181
|
})>;
|
182
|
+
style: vue.StyleValue;
|
184
183
|
options: IntersectionObserverInit;
|
185
184
|
tag: string;
|
186
185
|
modelValue: boolean;
|
@@ -209,6 +208,11 @@ declare const VLazy: {
|
|
209
208
|
minHeight: (StringConstructor | NumberConstructor)[];
|
210
209
|
minWidth: (StringConstructor | NumberConstructor)[];
|
211
210
|
width: (StringConstructor | NumberConstructor)[];
|
211
|
+
class: PropType<any>;
|
212
|
+
style: {
|
213
|
+
type: PropType<vue.StyleValue>;
|
214
|
+
default: null;
|
215
|
+
};
|
212
216
|
modelValue: BooleanConstructor;
|
213
217
|
options: {
|
214
218
|
type: PropType<IntersectionObserverInit>;
|
@@ -243,6 +247,11 @@ declare const VLazy: {
|
|
243
247
|
minHeight: (StringConstructor | NumberConstructor)[];
|
244
248
|
minWidth: (StringConstructor | NumberConstructor)[];
|
245
249
|
width: (StringConstructor | NumberConstructor)[];
|
250
|
+
class: PropType<any>;
|
251
|
+
style: {
|
252
|
+
type: PropType<vue.StyleValue>;
|
253
|
+
default: null;
|
254
|
+
};
|
246
255
|
modelValue: BooleanConstructor;
|
247
256
|
options: {
|
248
257
|
type: PropType<IntersectionObserverInit>;
|