vuetify 3.2.1 → 3.2.3
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/dist/json/attributes.json +1302 -870
- package/dist/json/importMap.json +8 -8
- package/dist/json/tags.json +112 -3
- package/dist/json/web-types.json +2973 -1917
- package/dist/vuetify-labs.css +67 -57
- package/dist/vuetify-labs.d.ts +2785 -11610
- package/dist/vuetify-labs.esm.js +2318 -2227
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +2318 -2227
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +31 -21
- package/dist/vuetify.d.ts +1786 -11406
- package/dist/vuetify.esm.js +1785 -1685
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +1785 -1685
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +612 -614
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.ts +1 -3
- package/lib/blueprints/md1.d.ts +1 -3
- package/lib/blueprints/md2.d.ts +1 -3
- package/lib/blueprints/md3.d.ts +1 -3
- package/lib/components/VAlert/VAlert.mjs +47 -46
- package/lib/components/VAlert/VAlert.mjs.map +1 -1
- package/lib/components/VAlert/index.d.ts +2 -2
- package/lib/components/VApp/VApp.mjs +9 -8
- package/lib/components/VApp/VApp.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBar.mjs +28 -31
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBarNavIcon.mjs +14 -17
- package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
- package/lib/components/VAppBar/index.d.ts +394 -28
- package/lib/components/VAutocomplete/VAutocomplete.css +1 -5
- package/lib/components/VAutocomplete/VAutocomplete.mjs +37 -34
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.sass +1 -6
- package/lib/components/VAutocomplete/index.d.ts +67 -1174
- package/lib/components/VBadge/VBadge.mjs +33 -32
- package/lib/components/VBadge/VBadge.mjs.map +1 -1
- 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.ts +2 -2
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs +35 -34
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
- 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.ts +1 -0
- package/lib/components/VBtn/VBtn.mjs +7 -6
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtnToggle/VBtnToggle.mjs +6 -5
- package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
- 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.ts +4 -4
- 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.ts +170 -20
- package/lib/components/VCheckbox/VCheckbox.mjs +6 -5
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs +0 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs.map +1 -1
- package/lib/components/VCheckbox/index.d.ts +24 -12
- package/lib/components/VChip/VChip.css +8 -0
- package/lib/components/VChip/VChip.mjs +60 -57
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/VChip.sass +10 -0
- package/lib/components/VChip/index.d.ts +8 -8
- package/lib/components/VChipGroup/VChipGroup.mjs +19 -18
- package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPicker.mjs +44 -39
- package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs +21 -20
- 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.ts +4 -4
- 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 +40 -37
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.ts +67 -1171
- package/lib/components/VCounter/VCounter.mjs +16 -15
- package/lib/components/VCounter/VCounter.mjs.map +1 -1
- package/lib/components/VCounter/index.d.ts +25 -1774
- package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +9 -8
- package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.mjs +18 -17
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/index.d.ts +130 -1120
- package/lib/components/VDivider/VDivider.mjs +11 -10
- package/lib/components/VDivider/VDivider.mjs.map +1 -1
- 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.ts +15 -15
- package/lib/components/VField/VField.mjs +6 -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/VFileInput/VFileInput.mjs +37 -35
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/index.d.ts +3 -3
- package/lib/components/VFooter/VFooter.mjs +19 -18
- package/lib/components/VFooter/VFooter.mjs.map +1 -1
- package/lib/components/VForm/VForm.mjs +6 -5
- package/lib/components/VForm/VForm.mjs.map +1 -1
- package/lib/components/VForm/index.d.ts +3 -3
- 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/VHover/VHover.mjs +10 -9
- package/lib/components/VHover/VHover.mjs.map +1 -1
- package/lib/components/VIcon/VIcon.mjs +28 -29
- package/lib/components/VIcon/VIcon.mjs.map +1 -1
- package/lib/components/VImg/VImg.mjs +29 -28
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VItemGroup/VItemGroup.mjs +10 -9
- package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
- package/lib/components/VLabel/VLabel.mjs +8 -7
- package/lib/components/VLabel/VLabel.mjs.map +1 -1
- 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/VLazy/VLazy.mjs +21 -20
- package/lib/components/VLazy/VLazy.mjs.map +1 -1
- package/lib/components/VList/VList.mjs +33 -32
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VListChildren.mjs +5 -4
- 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 +42 -41
- 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.ts +30 -30
- package/lib/components/VLocaleProvider/VLocaleProvider.mjs +12 -11
- package/lib/components/VLocaleProvider/VLocaleProvider.mjs.map +1 -1
- package/lib/components/VMain/VMain.mjs +9 -8
- package/lib/components/VMain/VMain.mjs.map +1 -1
- package/lib/components/VMenu/VMenu.mjs +18 -17
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.ts +40 -1030
- package/lib/components/VMessages/VMessages.mjs +18 -17
- package/lib/components/VMessages/VMessages.mjs.map +1 -1
- package/lib/components/VMessages/index.d.ts +25 -1774
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +48 -54
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/sticky.mjs +9 -3
- package/lib/components/VNavigationDrawer/sticky.mjs.map +1 -1
- package/lib/components/VOverlay/locationStrategies.mjs +5 -3
- package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
- package/lib/components/VPagination/VPagination.mjs +82 -81
- package/lib/components/VPagination/VPagination.mjs.map +1 -1
- package/lib/components/VPagination/index.d.ts +8 -8
- package/lib/components/VParallax/VParallax.mjs +9 -8
- package/lib/components/VParallax/VParallax.mjs.map +1 -1
- package/lib/components/VProgressCircular/VProgressCircular.mjs +25 -24
- package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.mjs +44 -42
- package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
- package/lib/components/VProgressLinear/index.d.ts +8 -8
- package/lib/components/VRadio/VRadio.mjs +8 -7
- package/lib/components/VRadio/VRadio.mjs.map +1 -1
- package/lib/components/VRadio/index.d.ts +18 -12
- package/lib/components/VRadioGroup/VRadioGroup.mjs +22 -21
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.ts +16 -10
- package/lib/components/VRangeSlider/VRangeSlider.mjs +18 -13
- package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
- package/lib/components/VRating/VRating.mjs +44 -43
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VRating/index.d.ts +8 -8
- package/lib/components/VResponsive/VResponsive.mjs +8 -7
- package/lib/components/VResponsive/VResponsive.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.mjs +29 -21
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.ts +64 -2506
- package/lib/components/VSelectionControl/index.d.ts +42 -36
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +10 -10
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/index.d.ts +28 -28
- package/lib/components/VSheet/VSheet.css +6 -0
- package/lib/components/VSheet/VSheet.mjs +1 -3
- package/lib/components/VSheet/VSheet.mjs.map +1 -1
- package/lib/components/VSheet/_variables.scss +1 -1
- package/lib/components/VSlideGroup/VSlideGroupItem.mjs +1 -3
- package/lib/components/VSlideGroup/VSlideGroupItem.mjs.map +1 -1
- 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/VSnackbar/VSnackbar.mjs +20 -19
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSwitch/VSwitch.mjs +13 -12
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/index.d.ts +18 -12
- package/lib/components/VSystemBar/VSystemBar.mjs +13 -12
- package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
- package/lib/components/VTable/VTable.mjs +12 -11
- package/lib/components/VTable/VTable.mjs.map +1 -1
- package/lib/components/VTabs/VTab.mjs +15 -14
- 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.ts +12 -12
- package/lib/components/VTextField/VTextField.mjs +1 -1
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/index.d.ts +3 -3
- package/lib/components/VTextarea/VTextarea.mjs +27 -26
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/index.d.ts +3 -3
- package/lib/components/VThemeProvider/VThemeProvider.mjs +8 -7
- package/lib/components/VThemeProvider/VThemeProvider.mjs.map +1 -1
- 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 +21 -20
- package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbar.mjs +6 -2
- 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.ts +11 -11
- package/lib/components/VTooltip/VTooltip.mjs +20 -19
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VTreeview/_mixins.sass +0 -0
- package/lib/components/VTreeview/util/filterTreeItems.mjs +0 -0
- package/lib/components/VValidation/VValidation.mjs +1 -3
- package/lib/components/VValidation/VValidation.mjs.map +1 -1
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs +11 -10
- 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/VWindow/VWindow.mjs.map +1 -1
- package/lib/components/VWindow/VWindowItem.mjs +15 -14
- package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
- package/lib/components/VWindow/index.d.ts +9 -9
- package/lib/components/index.d.ts +1755 -11373
- 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.ts +143 -143
- package/lib/composables/forwardRefs.mjs.map +1 -1
- package/lib/composables/icons.mjs +2 -2
- package/lib/composables/icons.mjs.map +1 -1
- package/lib/composables/scroll.mjs +16 -17
- package/lib/composables/scroll.mjs.map +1 -1
- package/lib/composables/theme.mjs +3 -3
- package/lib/composables/theme.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/framework.mjs.map +1 -1
- package/lib/index.d.ts +4 -6
- package/lib/labs/VDataTable/VDataTable.mjs +53 -59
- 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 +16 -15
- 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 +53 -64
- package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableVirtual.mjs +65 -72
- package/lib/labs/VDataTable/VDataTableVirtual.mjs.map +1 -1
- package/lib/labs/VDataTable/composables/paginate.mjs +6 -1
- package/lib/labs/VDataTable/composables/paginate.mjs.map +1 -1
- package/lib/labs/VDataTable/index.d.ts +991 -206
- package/lib/labs/VInfiniteScroll/VInfiniteScroll.mjs +54 -48
- package/lib/labs/VInfiniteScroll/VInfiniteScroll.mjs.map +1 -1
- package/lib/labs/VInfiniteScroll/index.d.ts +16 -1
- package/lib/labs/VSkeletonLoader/VSkeletonLoader.mjs +18 -17
- package/lib/labs/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
- package/lib/labs/VSkeletonLoader/index.d.ts +9 -9
- package/lib/labs/components.d.ts +1011 -211
- package/lib/labs/date/date.mjs +7 -7
- package/lib/labs/date/date.mjs.map +1 -1
- package/lib/labs/date/index.d.ts +1 -3
- package/lib/locale/el.mjs +0 -0
- package/lib/locale/index.mjs +0 -0
- package/package.json +2 -2
|
@@ -1,28 +1,30 @@
|
|
|
1
|
-
import { createVNode as _createVNode, resolveDirective as _resolveDirective } from "vue";
|
|
1
|
+
import { createVNode as _createVNode, mergeProps as _mergeProps, resolveDirective as _resolveDirective } from "vue";
|
|
2
2
|
// Components
|
|
3
|
-
import { VImg } from "../VImg/
|
|
4
|
-
import { VWindowItem } from "../VWindow/
|
|
5
|
-
import {
|
|
6
|
-
|
|
3
|
+
import { makeVImgProps, VImg } from "../VImg/VImg.mjs";
|
|
4
|
+
import { makeVWindowItemProps, VWindowItem } from "../VWindow/VWindowItem.mjs"; // Utilities
|
|
5
|
+
import { genericComponent, propsFactory, useRender } from "../../util/index.mjs"; // Types
|
|
6
|
+
export const makeVCarouselItemProps = propsFactory({
|
|
7
|
+
...makeVImgProps(),
|
|
8
|
+
...makeVWindowItemProps()
|
|
9
|
+
}, 'v-carousel-item');
|
|
7
10
|
export const VCarouselItem = genericComponent()({
|
|
8
11
|
name: 'VCarouselItem',
|
|
9
12
|
inheritAttrs: false,
|
|
10
|
-
props:
|
|
11
|
-
value: null,
|
|
12
|
-
...makeComponentProps()
|
|
13
|
-
},
|
|
13
|
+
props: makeVCarouselItemProps(),
|
|
14
14
|
setup(props, _ref) {
|
|
15
15
|
let {
|
|
16
16
|
slots,
|
|
17
17
|
attrs
|
|
18
18
|
} = _ref;
|
|
19
|
-
useRender(() =>
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
useRender(() => {
|
|
20
|
+
const [imgProps] = VImg.filterProps(props);
|
|
21
|
+
const [windowItemProps] = VWindowItem.filterProps(props);
|
|
22
|
+
return _createVNode(VWindowItem, _mergeProps({
|
|
23
|
+
"class": "v-carousel-item"
|
|
24
|
+
}, windowItemProps), {
|
|
25
|
+
default: () => [_createVNode(VImg, _mergeProps(attrs, imgProps), slots)]
|
|
26
|
+
});
|
|
27
|
+
});
|
|
26
28
|
}
|
|
27
29
|
});
|
|
28
30
|
//# sourceMappingURL=VCarouselItem.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VCarouselItem.mjs","names":["VImg","
|
|
1
|
+
{"version":3,"file":"VCarouselItem.mjs","names":["makeVImgProps","VImg","makeVWindowItemProps","VWindowItem","genericComponent","propsFactory","useRender","makeVCarouselItemProps","VCarouselItem","name","inheritAttrs","props","setup","_ref","slots","attrs","imgProps","filterProps","windowItemProps","_createVNode","_mergeProps","default"],"sources":["../../../src/components/VCarousel/VCarouselItem.tsx"],"sourcesContent":["// Components\nimport { makeVImgProps, VImg } from '@/components/VImg/VImg'\nimport { makeVWindowItemProps, VWindowItem } from '@/components/VWindow/VWindowItem'\n\n// Utilities\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { VImgSlots } from '@/components/VImg/VImg'\n\nexport const makeVCarouselItemProps = propsFactory({\n ...makeVImgProps(),\n ...makeVWindowItemProps(),\n}, 'v-carousel-item')\n\nexport const VCarouselItem = genericComponent<VImgSlots>()({\n name: 'VCarouselItem',\n\n inheritAttrs: false,\n\n props: makeVCarouselItemProps(),\n\n setup (props, { slots, attrs }) {\n useRender(() => {\n const [imgProps] = VImg.filterProps(props)\n const [windowItemProps] = VWindowItem.filterProps(props)\n\n return (\n <VWindowItem\n class=\"v-carousel-item\"\n { ...windowItemProps }\n >\n <VImg\n { ...attrs }\n { ...imgProps }\n v-slots={ slots }\n />\n </VWindowItem>\n )\n })\n },\n})\n\nexport type VCarouselItem = InstanceType<typeof VCarouselItem>\n"],"mappings":";AAAA;AAAA,SACSA,aAAa,EAAEC,IAAI;AAAA,SACnBC,oBAAoB,EAAEC,WAAW,sCAE1C;AAAA,SACSC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,gCAElD;AAGA,OAAO,MAAMC,sBAAsB,GAAGF,YAAY,CAAC;EACjD,GAAGL,aAAa,EAAE;EAClB,GAAGE,oBAAoB;AACzB,CAAC,EAAE,iBAAiB,CAAC;AAErB,OAAO,MAAMM,aAAa,GAAGJ,gBAAgB,EAAa,CAAC;EACzDK,IAAI,EAAE,eAAe;EAErBC,YAAY,EAAE,KAAK;EAEnBC,KAAK,EAAEJ,sBAAsB,EAAE;EAE/BK,KAAKA,CAAED,KAAK,EAAAE,IAAA,EAAoB;IAAA,IAAlB;MAAEC,KAAK;MAAEC;IAAM,CAAC,GAAAF,IAAA;IAC5BP,SAAS,CAAC,MAAM;MACd,MAAM,CAACU,QAAQ,CAAC,GAAGf,IAAI,CAACgB,WAAW,CAACN,KAAK,CAAC;MAC1C,MAAM,CAACO,eAAe,CAAC,GAAGf,WAAW,CAACc,WAAW,CAACN,KAAK,CAAC;MAExD,OAAAQ,YAAA,CAAAhB,WAAA,EAAAiB,WAAA;QAAA,SAEU;MAAiB,GAClBF,eAAe;QAAAG,OAAA,EAAAA,CAAA,MAAAF,YAAA,CAAAlB,IAAA,EAAAmB,WAAA,CAGbL,KAAK,EACLC,QAAQ,GACHF,KAAK;MAAA;IAIvB,CAAC,CAAC;EACJ;AACF,CAAC,CAAC"}
|
|
@@ -65,7 +65,7 @@ declare const VCarousel: {
|
|
|
65
65
|
reverse: boolean;
|
|
66
66
|
interval: string | number;
|
|
67
67
|
height: string | number;
|
|
68
|
-
direction:
|
|
68
|
+
direction: "horizontal" | "vertical";
|
|
69
69
|
style: vue.StyleValue;
|
|
70
70
|
disabled: boolean;
|
|
71
71
|
tag: string;
|
|
@@ -77,14 +77,14 @@ declare const VCarousel: {
|
|
|
77
77
|
prevIcon: IconValue;
|
|
78
78
|
showArrows: NonNullable<string | boolean>;
|
|
79
79
|
cycle: boolean;
|
|
80
|
+
delimiterIcon: IconValue;
|
|
80
81
|
hideDelimiters: boolean;
|
|
81
82
|
hideDelimiterBackground: boolean;
|
|
82
|
-
delimiterIcon: IconValue;
|
|
83
83
|
}> & Omit<{
|
|
84
84
|
reverse: boolean;
|
|
85
85
|
interval: string | number;
|
|
86
86
|
height: string | number;
|
|
87
|
-
direction:
|
|
87
|
+
direction: "horizontal" | "vertical";
|
|
88
88
|
style: vue.StyleValue;
|
|
89
89
|
disabled: boolean;
|
|
90
90
|
tag: string;
|
|
@@ -95,9 +95,9 @@ declare const VCarousel: {
|
|
|
95
95
|
prevIcon: IconValue;
|
|
96
96
|
showArrows: NonNullable<string | boolean>;
|
|
97
97
|
cycle: boolean;
|
|
98
|
+
delimiterIcon: IconValue;
|
|
98
99
|
hideDelimiters: boolean;
|
|
99
100
|
hideDelimiterBackground: boolean;
|
|
100
|
-
delimiterIcon: IconValue;
|
|
101
101
|
} & {
|
|
102
102
|
progress?: string | boolean | undefined;
|
|
103
103
|
color?: string | undefined;
|
|
@@ -182,7 +182,7 @@ declare const VCarousel: {
|
|
|
182
182
|
}) => vue.VNodeChild) | undefined;
|
|
183
183
|
} & {
|
|
184
184
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
185
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "reverse" | "interval" | "height" | "direction" | "style" | "disabled" | "tag" | "mandatory" | "touch" | "selectedClass" | "continuous" | "nextIcon" | "prevIcon" | "showArrows" | "cycle" | "
|
|
185
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "reverse" | "interval" | "height" | "direction" | "style" | "disabled" | "tag" | "mandatory" | "touch" | "selectedClass" | "continuous" | "nextIcon" | "prevIcon" | "showArrows" | "cycle" | "delimiterIcon" | "hideDelimiters" | "hideDelimiterBackground">;
|
|
186
186
|
$attrs: {
|
|
187
187
|
[x: string]: unknown;
|
|
188
188
|
};
|
|
@@ -200,7 +200,7 @@ declare const VCarousel: {
|
|
|
200
200
|
reverse: boolean;
|
|
201
201
|
interval: string | number;
|
|
202
202
|
height: string | number;
|
|
203
|
-
direction:
|
|
203
|
+
direction: "horizontal" | "vertical";
|
|
204
204
|
style: vue.StyleValue;
|
|
205
205
|
disabled: boolean;
|
|
206
206
|
tag: string;
|
|
@@ -211,9 +211,9 @@ declare const VCarousel: {
|
|
|
211
211
|
prevIcon: IconValue;
|
|
212
212
|
showArrows: NonNullable<string | boolean>;
|
|
213
213
|
cycle: boolean;
|
|
214
|
+
delimiterIcon: IconValue;
|
|
214
215
|
hideDelimiters: boolean;
|
|
215
216
|
hideDelimiterBackground: boolean;
|
|
216
|
-
delimiterIcon: IconValue;
|
|
217
217
|
} & {
|
|
218
218
|
progress?: string | boolean | undefined;
|
|
219
219
|
color?: string | undefined;
|
|
@@ -304,7 +304,7 @@ declare const VCarousel: {
|
|
|
304
304
|
reverse: boolean;
|
|
305
305
|
interval: string | number;
|
|
306
306
|
height: string | number;
|
|
307
|
-
direction:
|
|
307
|
+
direction: "horizontal" | "vertical";
|
|
308
308
|
style: vue.StyleValue;
|
|
309
309
|
disabled: boolean;
|
|
310
310
|
tag: string;
|
|
@@ -316,9 +316,9 @@ declare const VCarousel: {
|
|
|
316
316
|
prevIcon: IconValue;
|
|
317
317
|
showArrows: NonNullable<string | boolean>;
|
|
318
318
|
cycle: boolean;
|
|
319
|
+
delimiterIcon: IconValue;
|
|
319
320
|
hideDelimiters: boolean;
|
|
320
321
|
hideDelimiterBackground: boolean;
|
|
321
|
-
delimiterIcon: IconValue;
|
|
322
322
|
}, {}, string> & {
|
|
323
323
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
324
324
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -343,7 +343,7 @@ declare const VCarousel: {
|
|
|
343
343
|
reverse: boolean;
|
|
344
344
|
interval: string | number;
|
|
345
345
|
height: string | number;
|
|
346
|
-
direction:
|
|
346
|
+
direction: "horizontal" | "vertical";
|
|
347
347
|
style: vue.StyleValue;
|
|
348
348
|
disabled: boolean;
|
|
349
349
|
tag: string;
|
|
@@ -354,9 +354,9 @@ declare const VCarousel: {
|
|
|
354
354
|
prevIcon: IconValue;
|
|
355
355
|
showArrows: NonNullable<string | boolean>;
|
|
356
356
|
cycle: boolean;
|
|
357
|
+
delimiterIcon: IconValue;
|
|
357
358
|
hideDelimiters: boolean;
|
|
358
359
|
hideDelimiterBackground: boolean;
|
|
359
|
-
delimiterIcon: IconValue;
|
|
360
360
|
} & {
|
|
361
361
|
progress?: string | boolean | undefined;
|
|
362
362
|
color?: string | undefined;
|
|
@@ -449,7 +449,7 @@ declare const VCarousel: {
|
|
|
449
449
|
reverse: boolean;
|
|
450
450
|
interval: string | number;
|
|
451
451
|
height: string | number;
|
|
452
|
-
direction:
|
|
452
|
+
direction: "horizontal" | "vertical";
|
|
453
453
|
style: vue.StyleValue;
|
|
454
454
|
disabled: boolean;
|
|
455
455
|
tag: string;
|
|
@@ -460,9 +460,9 @@ declare const VCarousel: {
|
|
|
460
460
|
prevIcon: IconValue;
|
|
461
461
|
showArrows: NonNullable<string | boolean>;
|
|
462
462
|
cycle: boolean;
|
|
463
|
+
delimiterIcon: IconValue;
|
|
463
464
|
hideDelimiters: boolean;
|
|
464
465
|
hideDelimiterBackground: boolean;
|
|
465
|
-
delimiterIcon: IconValue;
|
|
466
466
|
} & {
|
|
467
467
|
progress?: string | boolean | undefined;
|
|
468
468
|
color?: string | undefined;
|
|
@@ -553,7 +553,7 @@ declare const VCarousel: {
|
|
|
553
553
|
reverse: boolean;
|
|
554
554
|
interval: string | number;
|
|
555
555
|
height: string | number;
|
|
556
|
-
direction:
|
|
556
|
+
direction: "horizontal" | "vertical";
|
|
557
557
|
style: vue.StyleValue;
|
|
558
558
|
disabled: boolean;
|
|
559
559
|
tag: string;
|
|
@@ -565,9 +565,9 @@ declare const VCarousel: {
|
|
|
565
565
|
prevIcon: IconValue;
|
|
566
566
|
showArrows: NonNullable<string | boolean>;
|
|
567
567
|
cycle: boolean;
|
|
568
|
+
delimiterIcon: IconValue;
|
|
568
569
|
hideDelimiters: boolean;
|
|
569
570
|
hideDelimiterBackground: boolean;
|
|
570
|
-
delimiterIcon: IconValue;
|
|
571
571
|
}, {}, string> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
|
572
572
|
theme: StringConstructor;
|
|
573
573
|
tag: {
|
|
@@ -604,7 +604,7 @@ declare const VCarousel: {
|
|
|
604
604
|
default: undefined;
|
|
605
605
|
};
|
|
606
606
|
direction: {
|
|
607
|
-
type:
|
|
607
|
+
type: PropType<"horizontal" | "vertical">;
|
|
608
608
|
default: string;
|
|
609
609
|
};
|
|
610
610
|
modelValue: null;
|
|
@@ -674,7 +674,7 @@ declare const VCarousel: {
|
|
|
674
674
|
default: undefined;
|
|
675
675
|
};
|
|
676
676
|
direction: {
|
|
677
|
-
type:
|
|
677
|
+
type: PropType<"horizontal" | "vertical">;
|
|
678
678
|
default: string;
|
|
679
679
|
};
|
|
680
680
|
modelValue: null;
|
|
@@ -711,17 +711,46 @@ declare const VCarousel: {
|
|
|
711
711
|
}>>;
|
|
712
712
|
type VCarousel = InstanceType<typeof VCarousel>;
|
|
713
713
|
|
|
714
|
+
interface srcObject {
|
|
715
|
+
src?: string;
|
|
716
|
+
srcset?: string;
|
|
717
|
+
lazySrc?: string;
|
|
718
|
+
aspect: number;
|
|
719
|
+
}
|
|
720
|
+
|
|
714
721
|
declare const VCarouselItem: {
|
|
715
722
|
new (...args: any[]): {
|
|
716
723
|
$: vue.ComponentInternalInstance;
|
|
717
724
|
$data: {};
|
|
718
725
|
$props: Partial<{
|
|
726
|
+
transition: string | boolean;
|
|
719
727
|
style: vue.StyleValue;
|
|
728
|
+
eager: boolean;
|
|
729
|
+
disabled: boolean;
|
|
730
|
+
options: IntersectionObserverInit;
|
|
731
|
+
cover: boolean;
|
|
732
|
+
src: string | srcObject;
|
|
733
|
+
reverseTransition: string | boolean;
|
|
720
734
|
}> & Omit<{
|
|
721
735
|
style: vue.StyleValue;
|
|
736
|
+
eager: boolean;
|
|
737
|
+
disabled: boolean;
|
|
738
|
+
options: IntersectionObserverInit;
|
|
739
|
+
cover: boolean;
|
|
740
|
+
src: string | srcObject;
|
|
722
741
|
} & {
|
|
742
|
+
width?: string | number | undefined;
|
|
743
|
+
aspectRatio?: string | number | undefined;
|
|
744
|
+
transition?: string | boolean | undefined;
|
|
723
745
|
value?: any;
|
|
724
746
|
class?: any;
|
|
747
|
+
alt?: string | undefined;
|
|
748
|
+
sizes?: string | undefined;
|
|
749
|
+
srcset?: string | undefined;
|
|
750
|
+
gradient?: string | undefined;
|
|
751
|
+
lazySrc?: string | undefined;
|
|
752
|
+
selectedClass?: string | undefined;
|
|
753
|
+
reverseTransition?: string | boolean | undefined;
|
|
725
754
|
} & {
|
|
726
755
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
727
756
|
default?: (() => vue.VNodeChild) | undefined;
|
|
@@ -740,7 +769,7 @@ declare const VCarouselItem: {
|
|
|
740
769
|
"v-slot:placeholder"?: false | (() => vue.VNodeChild) | undefined;
|
|
741
770
|
"v-slot:error"?: false | (() => vue.VNodeChild) | undefined;
|
|
742
771
|
"v-slot:sources"?: false | (() => vue.VNodeChild) | undefined;
|
|
743
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "style">;
|
|
772
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "transition" | "style" | "eager" | "disabled" | "options" | "cover" | "src" | "reverseTransition">;
|
|
744
773
|
$attrs: {
|
|
745
774
|
[x: string]: unknown;
|
|
746
775
|
};
|
|
@@ -756,9 +785,24 @@ declare const VCarouselItem: {
|
|
|
756
785
|
$el: any;
|
|
757
786
|
$options: vue.ComponentOptionsBase<{
|
|
758
787
|
style: vue.StyleValue;
|
|
788
|
+
eager: boolean;
|
|
789
|
+
disabled: boolean;
|
|
790
|
+
options: IntersectionObserverInit;
|
|
791
|
+
cover: boolean;
|
|
792
|
+
src: string | srcObject;
|
|
759
793
|
} & {
|
|
794
|
+
width?: string | number | undefined;
|
|
795
|
+
aspectRatio?: string | number | undefined;
|
|
796
|
+
transition?: string | boolean | undefined;
|
|
760
797
|
value?: any;
|
|
761
798
|
class?: any;
|
|
799
|
+
alt?: string | undefined;
|
|
800
|
+
sizes?: string | undefined;
|
|
801
|
+
srcset?: string | undefined;
|
|
802
|
+
gradient?: string | undefined;
|
|
803
|
+
lazySrc?: string | undefined;
|
|
804
|
+
selectedClass?: string | undefined;
|
|
805
|
+
reverseTransition?: string | boolean | undefined;
|
|
762
806
|
} & {
|
|
763
807
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
764
808
|
default?: (() => vue.VNodeChild) | undefined;
|
|
@@ -778,7 +822,14 @@ declare const VCarouselItem: {
|
|
|
778
822
|
"v-slot:error"?: false | (() => vue.VNodeChild) | undefined;
|
|
779
823
|
"v-slot:sources"?: false | (() => vue.VNodeChild) | undefined;
|
|
780
824
|
}, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
|
825
|
+
transition: string | boolean;
|
|
781
826
|
style: vue.StyleValue;
|
|
827
|
+
eager: boolean;
|
|
828
|
+
disabled: boolean;
|
|
829
|
+
options: IntersectionObserverInit;
|
|
830
|
+
cover: boolean;
|
|
831
|
+
src: string | srcObject;
|
|
832
|
+
reverseTransition: string | boolean;
|
|
782
833
|
}, {}, string> & {
|
|
783
834
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
784
835
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -801,9 +852,24 @@ declare const VCarouselItem: {
|
|
|
801
852
|
$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;
|
|
802
853
|
} & {
|
|
803
854
|
style: vue.StyleValue;
|
|
855
|
+
eager: boolean;
|
|
856
|
+
disabled: boolean;
|
|
857
|
+
options: IntersectionObserverInit;
|
|
858
|
+
cover: boolean;
|
|
859
|
+
src: string | srcObject;
|
|
804
860
|
} & {
|
|
861
|
+
width?: string | number | undefined;
|
|
862
|
+
aspectRatio?: string | number | undefined;
|
|
863
|
+
transition?: string | boolean | undefined;
|
|
805
864
|
value?: any;
|
|
806
865
|
class?: any;
|
|
866
|
+
alt?: string | undefined;
|
|
867
|
+
sizes?: string | undefined;
|
|
868
|
+
srcset?: string | undefined;
|
|
869
|
+
gradient?: string | undefined;
|
|
870
|
+
lazySrc?: string | undefined;
|
|
871
|
+
selectedClass?: string | undefined;
|
|
872
|
+
reverseTransition?: string | boolean | undefined;
|
|
807
873
|
} & {
|
|
808
874
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
809
875
|
default?: (() => vue.VNodeChild) | undefined;
|
|
@@ -828,9 +894,24 @@ declare const VCarouselItem: {
|
|
|
828
894
|
__isSuspense?: undefined;
|
|
829
895
|
} & vue.ComponentOptionsBase<{
|
|
830
896
|
style: vue.StyleValue;
|
|
897
|
+
eager: boolean;
|
|
898
|
+
disabled: boolean;
|
|
899
|
+
options: IntersectionObserverInit;
|
|
900
|
+
cover: boolean;
|
|
901
|
+
src: string | srcObject;
|
|
831
902
|
} & {
|
|
903
|
+
width?: string | number | undefined;
|
|
904
|
+
aspectRatio?: string | number | undefined;
|
|
905
|
+
transition?: string | boolean | undefined;
|
|
832
906
|
value?: any;
|
|
833
907
|
class?: any;
|
|
908
|
+
alt?: string | undefined;
|
|
909
|
+
sizes?: string | undefined;
|
|
910
|
+
srcset?: string | undefined;
|
|
911
|
+
gradient?: string | undefined;
|
|
912
|
+
lazySrc?: string | undefined;
|
|
913
|
+
selectedClass?: string | undefined;
|
|
914
|
+
reverseTransition?: string | boolean | undefined;
|
|
834
915
|
} & {
|
|
835
916
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
836
917
|
default?: (() => vue.VNodeChild) | undefined;
|
|
@@ -850,21 +931,90 @@ declare const VCarouselItem: {
|
|
|
850
931
|
"v-slot:error"?: false | (() => vue.VNodeChild) | undefined;
|
|
851
932
|
"v-slot:sources"?: false | (() => vue.VNodeChild) | undefined;
|
|
852
933
|
}, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
|
934
|
+
transition: string | boolean;
|
|
853
935
|
style: vue.StyleValue;
|
|
936
|
+
eager: boolean;
|
|
937
|
+
disabled: boolean;
|
|
938
|
+
options: IntersectionObserverInit;
|
|
939
|
+
cover: boolean;
|
|
940
|
+
src: string | srcObject;
|
|
941
|
+
reverseTransition: string | boolean;
|
|
854
942
|
}, {}, string> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
|
943
|
+
eager: BooleanConstructor;
|
|
944
|
+
value: null;
|
|
945
|
+
disabled: BooleanConstructor;
|
|
946
|
+
selectedClass: StringConstructor;
|
|
855
947
|
class: vue.PropType<any>;
|
|
856
948
|
style: {
|
|
857
949
|
type: vue.PropType<vue.StyleValue>;
|
|
858
950
|
default: null;
|
|
859
951
|
};
|
|
860
|
-
|
|
952
|
+
reverseTransition: {
|
|
953
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
954
|
+
default: undefined;
|
|
955
|
+
};
|
|
956
|
+
transition: {
|
|
957
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
958
|
+
default: undefined;
|
|
959
|
+
};
|
|
960
|
+
aspectRatio: (StringConstructor | NumberConstructor)[];
|
|
961
|
+
alt: StringConstructor;
|
|
962
|
+
cover: BooleanConstructor;
|
|
963
|
+
gradient: StringConstructor;
|
|
964
|
+
lazySrc: StringConstructor;
|
|
965
|
+
options: {
|
|
966
|
+
type: vue.PropType<IntersectionObserverInit>;
|
|
967
|
+
default: () => {
|
|
968
|
+
root: undefined;
|
|
969
|
+
rootMargin: undefined;
|
|
970
|
+
threshold: undefined;
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
sizes: StringConstructor;
|
|
974
|
+
src: {
|
|
975
|
+
type: vue.PropType<string | srcObject>;
|
|
976
|
+
default: string;
|
|
977
|
+
};
|
|
978
|
+
srcset: StringConstructor;
|
|
979
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
861
980
|
}, vue.ExtractPropTypes<{
|
|
981
|
+
eager: BooleanConstructor;
|
|
982
|
+
value: null;
|
|
983
|
+
disabled: BooleanConstructor;
|
|
984
|
+
selectedClass: StringConstructor;
|
|
862
985
|
class: vue.PropType<any>;
|
|
863
986
|
style: {
|
|
864
987
|
type: vue.PropType<vue.StyleValue>;
|
|
865
988
|
default: null;
|
|
866
989
|
};
|
|
867
|
-
|
|
990
|
+
reverseTransition: {
|
|
991
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
992
|
+
default: undefined;
|
|
993
|
+
};
|
|
994
|
+
transition: {
|
|
995
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
996
|
+
default: undefined;
|
|
997
|
+
};
|
|
998
|
+
aspectRatio: (StringConstructor | NumberConstructor)[];
|
|
999
|
+
alt: StringConstructor;
|
|
1000
|
+
cover: BooleanConstructor;
|
|
1001
|
+
gradient: StringConstructor;
|
|
1002
|
+
lazySrc: StringConstructor;
|
|
1003
|
+
options: {
|
|
1004
|
+
type: vue.PropType<IntersectionObserverInit>;
|
|
1005
|
+
default: () => {
|
|
1006
|
+
root: undefined;
|
|
1007
|
+
rootMargin: undefined;
|
|
1008
|
+
threshold: undefined;
|
|
1009
|
+
};
|
|
1010
|
+
};
|
|
1011
|
+
sizes: StringConstructor;
|
|
1012
|
+
src: {
|
|
1013
|
+
type: vue.PropType<string | srcObject>;
|
|
1014
|
+
default: string;
|
|
1015
|
+
};
|
|
1016
|
+
srcset: StringConstructor;
|
|
1017
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
868
1018
|
}>>;
|
|
869
1019
|
type VCarouselItem = InstanceType<typeof VCarouselItem>;
|
|
870
1020
|
|
|
@@ -7,14 +7,15 @@ import { makeVInputProps, VInput } from "../VInput/VInput.mjs";
|
|
|
7
7
|
import { makeVCheckboxBtnProps, VCheckboxBtn } from "./VCheckboxBtn.mjs"; // Composables
|
|
8
8
|
import { useFocus } from "../../composables/focus.mjs"; // Utilities
|
|
9
9
|
import { computed } from 'vue';
|
|
10
|
-
import { filterInputAttrs, genericComponent, getUid, omit, useRender } from "../../util/index.mjs"; // Types
|
|
10
|
+
import { filterInputAttrs, genericComponent, getUid, omit, propsFactory, useRender } from "../../util/index.mjs"; // Types
|
|
11
|
+
export const makeVCheckboxProps = propsFactory({
|
|
12
|
+
...makeVInputProps(),
|
|
13
|
+
...omit(makeVCheckboxBtnProps(), ['inline'])
|
|
14
|
+
}, 'v-checkbox');
|
|
11
15
|
export const VCheckbox = genericComponent()({
|
|
12
16
|
name: 'VCheckbox',
|
|
13
17
|
inheritAttrs: false,
|
|
14
|
-
props:
|
|
15
|
-
...makeVInputProps(),
|
|
16
|
-
...omit(makeVCheckboxBtnProps(), ['inline'])
|
|
17
|
-
},
|
|
18
|
+
props: makeVCheckboxProps(),
|
|
18
19
|
emits: {
|
|
19
20
|
'update:focused': focused => true
|
|
20
21
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VCheckbox.mjs","names":["makeVInputProps","VInput","makeVCheckboxBtnProps","VCheckboxBtn","useFocus","computed","filterInputAttrs","genericComponent","getUid","omit","useRender","VCheckbox","name","inheritAttrs","props","emits","focused","setup","_ref","attrs","slots","isFocused","focus","blur","uid","id","inputAttrs","controlAttrs","inputProps","_1","filterProps","checkboxProps","_2","_createVNode","_mergeProps","class","value","style","default","_ref2","messagesId","isDisabled","isReadonly"],"sources":["../../../src/components/VCheckbox/VCheckbox.tsx"],"sourcesContent":["// Styles\nimport './VCheckbox.sass'\n\n// Components\nimport type { VInputSlots } from '@/components/VInput/VInput'\nimport { makeVInputProps, VInput } from '@/components/VInput/VInput'\nimport { makeVCheckboxBtnProps, VCheckboxBtn } from './VCheckboxBtn'\n\n// Composables\nimport { useFocus } from '@/composables/focus'\n\n// Utilities\nimport { computed } from 'vue'\nimport { filterInputAttrs, genericComponent, getUid, omit, useRender } from '@/util'\n\n// Types\nimport type { VSelectionControlSlots } from '../VSelectionControl/VSelectionControl'\n\nexport type VCheckboxSlots = VInputSlots & VSelectionControlSlots\n\nexport const VCheckbox = genericComponent<VCheckboxSlots>()({\n name: 'VCheckbox',\n\n inheritAttrs: false,\n\n props:
|
|
1
|
+
{"version":3,"file":"VCheckbox.mjs","names":["makeVInputProps","VInput","makeVCheckboxBtnProps","VCheckboxBtn","useFocus","computed","filterInputAttrs","genericComponent","getUid","omit","propsFactory","useRender","makeVCheckboxProps","VCheckbox","name","inheritAttrs","props","emits","focused","setup","_ref","attrs","slots","isFocused","focus","blur","uid","id","inputAttrs","controlAttrs","inputProps","_1","filterProps","checkboxProps","_2","_createVNode","_mergeProps","class","value","style","default","_ref2","messagesId","isDisabled","isReadonly"],"sources":["../../../src/components/VCheckbox/VCheckbox.tsx"],"sourcesContent":["// Styles\nimport './VCheckbox.sass'\n\n// Components\nimport type { VInputSlots } from '@/components/VInput/VInput'\nimport { makeVInputProps, VInput } from '@/components/VInput/VInput'\nimport { makeVCheckboxBtnProps, VCheckboxBtn } from './VCheckboxBtn'\n\n// Composables\nimport { useFocus } from '@/composables/focus'\n\n// Utilities\nimport { computed } from 'vue'\nimport { filterInputAttrs, genericComponent, getUid, omit, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { VSelectionControlSlots } from '../VSelectionControl/VSelectionControl'\n\nexport type VCheckboxSlots = VInputSlots & VSelectionControlSlots\n\nexport const makeVCheckboxProps = propsFactory({\n ...makeVInputProps(),\n ...omit(makeVCheckboxBtnProps(), ['inline']),\n}, 'v-checkbox')\n\nexport const VCheckbox = genericComponent<VCheckboxSlots>()({\n name: 'VCheckbox',\n\n inheritAttrs: false,\n\n props: makeVCheckboxProps(),\n\n emits: {\n 'update:focused': (focused: boolean) => true,\n },\n\n setup (props, { attrs, slots }) {\n const { isFocused, focus, blur } = useFocus(props)\n\n const uid = getUid()\n const id = computed(() => props.id || `checkbox-${uid}`)\n\n useRender(() => {\n const [inputAttrs, controlAttrs] = filterInputAttrs(attrs)\n const [inputProps, _1] = VInput.filterProps(props)\n const [checkboxProps, _2] = VCheckboxBtn.filterProps(props)\n\n return (\n <VInput\n class={[\n 'v-checkbox',\n props.class,\n ]}\n { ...inputAttrs }\n { ...inputProps }\n id={ id.value }\n focused={ isFocused.value }\n style={ props.style }\n >\n {{\n ...slots,\n default: ({\n id,\n messagesId,\n isDisabled,\n isReadonly,\n }) => (\n <VCheckboxBtn\n { ...checkboxProps }\n id={ id.value }\n aria-describedby={ messagesId.value }\n disabled={ isDisabled.value }\n readonly={ isReadonly.value }\n { ...controlAttrs }\n onFocus={ focus }\n onBlur={ blur }\n v-slots={ slots }\n />\n ),\n }}\n </VInput>\n )\n })\n\n return {}\n },\n})\n\nexport type VCheckbox = InstanceType<typeof VCheckbox>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SAESA,eAAe,EAAEC,MAAM;AAAA,SACvBC,qBAAqB,EAAEC,YAAY,8BAE5C;AAAA,SACSC,QAAQ,uCAEjB;AACA,SAASC,QAAQ,QAAQ,KAAK;AAAA,SACrBC,gBAAgB,EAAEC,gBAAgB,EAAEC,MAAM,EAAEC,IAAI,EAAEC,YAAY,EAAEC,SAAS,gCAElF;AAKA,OAAO,MAAMC,kBAAkB,GAAGF,YAAY,CAAC;EAC7C,GAAGV,eAAe,EAAE;EACpB,GAAGS,IAAI,CAACP,qBAAqB,EAAE,EAAE,CAAC,QAAQ,CAAC;AAC7C,CAAC,EAAE,YAAY,CAAC;AAEhB,OAAO,MAAMW,SAAS,GAAGN,gBAAgB,EAAkB,CAAC;EAC1DO,IAAI,EAAE,WAAW;EAEjBC,YAAY,EAAE,KAAK;EAEnBC,KAAK,EAAEJ,kBAAkB,EAAE;EAE3BK,KAAK,EAAE;IACL,gBAAgB,EAAGC,OAAgB,IAAK;EAC1C,CAAC;EAEDC,KAAKA,CAAEH,KAAK,EAAAI,IAAA,EAAoB;IAAA,IAAlB;MAAEC,KAAK;MAAEC;IAAM,CAAC,GAAAF,IAAA;IAC5B,MAAM;MAAEG,SAAS;MAAEC,KAAK;MAAEC;IAAK,CAAC,GAAGrB,QAAQ,CAACY,KAAK,CAAC;IAElD,MAAMU,GAAG,GAAGlB,MAAM,EAAE;IACpB,MAAMmB,EAAE,GAAGtB,QAAQ,CAAC,MAAMW,KAAK,CAACW,EAAE,IAAK,YAAWD,GAAI,EAAC,CAAC;IAExDf,SAAS,CAAC,MAAM;MACd,MAAM,CAACiB,UAAU,EAAEC,YAAY,CAAC,GAAGvB,gBAAgB,CAACe,KAAK,CAAC;MAC1D,MAAM,CAACS,UAAU,EAAEC,EAAE,CAAC,GAAG9B,MAAM,CAAC+B,WAAW,CAAChB,KAAK,CAAC;MAClD,MAAM,CAACiB,aAAa,EAAEC,EAAE,CAAC,GAAG/B,YAAY,CAAC6B,WAAW,CAAChB,KAAK,CAAC;MAE3D,OAAAmB,YAAA,CAAAlC,MAAA,EAAAmC,WAAA;QAAA,SAEW,CACL,YAAY,EACZpB,KAAK,CAACqB,KAAK;MACZ,GACIT,UAAU,EACVE,UAAU;QAAA,MACVH,EAAE,CAACW,KAAK;QAAA,WACHf,SAAS,CAACe,KAAK;QAAA,SACjBtB,KAAK,CAACuB;MAAK;QAGjB,GAAGjB,KAAK;QACRkB,OAAO,EAAEC,KAAA;UAAA,IAAC;YACRd,EAAE;YACFe,UAAU;YACVC,UAAU;YACVC;UACF,CAAC,GAAAH,KAAA;UAAA,OAAAN,YAAA,CAAAhC,YAAA,EAAAiC,WAAA,CAEQH,aAAa;YAAA,MACbN,EAAE,CAACW,KAAK;YAAA,oBACMI,UAAU,CAACJ,KAAK;YAAA,YACxBK,UAAU,CAACL,KAAK;YAAA,YAChBM,UAAU,CAACN;UAAK,GACtBT,YAAY;YAAA,WACPL,KAAK;YAAA,UACNC;UAAI,IACHH,KAAK;QAAA;MAElB;IAIT,CAAC,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}
|
|
@@ -46,7 +46,6 @@ export const VCheckboxBtn = genericComponent()({
|
|
|
46
46
|
"class": ['v-checkbox-btn', props.class],
|
|
47
47
|
"style": props.style,
|
|
48
48
|
"type": "checkbox",
|
|
49
|
-
"inline": true,
|
|
50
49
|
"falseIcon": falseIcon.value,
|
|
51
50
|
"trueIcon": trueIcon.value,
|
|
52
51
|
"aria-checked": props.indeterminate ? 'mixed' : undefined
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VCheckboxBtn.mjs","names":["makeSelectionControlProps","VSelectionControl","IconValue","useProxiedModel","computed","genericComponent","propsFactory","useRender","makeVCheckboxBtnProps","indeterminate","Boolean","indeterminateIcon","type","default","falseIcon","trueIcon","VCheckboxBtn","name","props","emits","value","val","setup","_ref","slots","model","onChange","v","_createVNode","_mergeProps","$event","class","style","undefined"],"sources":["../../../src/components/VCheckbox/VCheckboxBtn.tsx"],"sourcesContent":["// Components\nimport type { VSelectionControlSlots } from '@/components/VSelectionControl/VSelectionControl'\nimport { makeSelectionControlProps, VSelectionControl } from '@/components/VSelectionControl/VSelectionControl'\n\n// Composables\nimport { IconValue } from '@/composables/icons'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed } from 'vue'\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\nexport const makeVCheckboxBtnProps = propsFactory({\n indeterminate: Boolean,\n indeterminateIcon: {\n type: IconValue,\n default: '$checkboxIndeterminate',\n },\n\n ...makeSelectionControlProps({\n falseIcon: '$checkboxOff',\n trueIcon: '$checkboxOn',\n }),\n}, 'v-checkbox-btn')\n\nexport const VCheckboxBtn = genericComponent<VSelectionControlSlots>()({\n name: 'VCheckboxBtn',\n\n props: makeVCheckboxBtnProps(),\n\n emits: {\n 'update:modelValue': (value: any) => true,\n 'update:indeterminate': (val: boolean) => true,\n },\n\n setup (props, { slots }) {\n const indeterminate = useProxiedModel(props, 'indeterminate')\n const model = useProxiedModel(props, 'modelValue')\n\n function onChange (v: any) {\n if (indeterminate.value) {\n indeterminate.value = false\n }\n }\n\n const falseIcon = computed(() => {\n return props.indeterminate\n ? props.indeterminateIcon\n : props.falseIcon\n })\n\n const trueIcon = computed(() => {\n return props.indeterminate\n ? props.indeterminateIcon\n : props.trueIcon\n })\n\n useRender(() => (\n <VSelectionControl\n { ...props }\n v-model={ model.value }\n class={[\n 'v-checkbox-btn',\n props.class,\n ]}\n style={ props.style }\n type=\"checkbox\"\n
|
|
1
|
+
{"version":3,"file":"VCheckboxBtn.mjs","names":["makeSelectionControlProps","VSelectionControl","IconValue","useProxiedModel","computed","genericComponent","propsFactory","useRender","makeVCheckboxBtnProps","indeterminate","Boolean","indeterminateIcon","type","default","falseIcon","trueIcon","VCheckboxBtn","name","props","emits","value","val","setup","_ref","slots","model","onChange","v","_createVNode","_mergeProps","$event","class","style","undefined"],"sources":["../../../src/components/VCheckbox/VCheckboxBtn.tsx"],"sourcesContent":["// Components\nimport type { VSelectionControlSlots } from '@/components/VSelectionControl/VSelectionControl'\nimport { makeSelectionControlProps, VSelectionControl } from '@/components/VSelectionControl/VSelectionControl'\n\n// Composables\nimport { IconValue } from '@/composables/icons'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed } from 'vue'\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\nexport const makeVCheckboxBtnProps = propsFactory({\n indeterminate: Boolean,\n indeterminateIcon: {\n type: IconValue,\n default: '$checkboxIndeterminate',\n },\n\n ...makeSelectionControlProps({\n falseIcon: '$checkboxOff',\n trueIcon: '$checkboxOn',\n }),\n}, 'v-checkbox-btn')\n\nexport const VCheckboxBtn = genericComponent<VSelectionControlSlots>()({\n name: 'VCheckboxBtn',\n\n props: makeVCheckboxBtnProps(),\n\n emits: {\n 'update:modelValue': (value: any) => true,\n 'update:indeterminate': (val: boolean) => true,\n },\n\n setup (props, { slots }) {\n const indeterminate = useProxiedModel(props, 'indeterminate')\n const model = useProxiedModel(props, 'modelValue')\n\n function onChange (v: any) {\n if (indeterminate.value) {\n indeterminate.value = false\n }\n }\n\n const falseIcon = computed(() => {\n return props.indeterminate\n ? props.indeterminateIcon\n : props.falseIcon\n })\n\n const trueIcon = computed(() => {\n return props.indeterminate\n ? props.indeterminateIcon\n : props.trueIcon\n })\n\n useRender(() => (\n <VSelectionControl\n { ...props }\n v-model={ model.value }\n class={[\n 'v-checkbox-btn',\n props.class,\n ]}\n style={ props.style }\n type=\"checkbox\"\n onUpdate:modelValue={ onChange }\n falseIcon={ falseIcon.value }\n trueIcon={ trueIcon.value }\n aria-checked={ props.indeterminate ? 'mixed' : undefined }\n v-slots={ slots }\n />\n ))\n\n return {}\n },\n})\n\nexport type VCheckboxBtn = InstanceType<typeof VCheckboxBtn>\n"],"mappings":";AAAA;AAAA,SAESA,yBAAyB,EAAEC,iBAAiB,sDAErD;AAAA,SACSC,SAAS;AAAA,SACTC,eAAe,8CAExB;AACA,SAASC,QAAQ,QAAQ,KAAK;AAAA,SACrBC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS;AAElD,OAAO,MAAMC,qBAAqB,GAAGF,YAAY,CAAC;EAChDG,aAAa,EAAEC,OAAO;EACtBC,iBAAiB,EAAE;IACjBC,IAAI,EAAEV,SAAS;IACfW,OAAO,EAAE;EACX,CAAC;EAED,GAAGb,yBAAyB,CAAC;IAC3Bc,SAAS,EAAE,cAAc;IACzBC,QAAQ,EAAE;EACZ,CAAC;AACH,CAAC,EAAE,gBAAgB,CAAC;AAEpB,OAAO,MAAMC,YAAY,GAAGX,gBAAgB,EAA0B,CAAC;EACrEY,IAAI,EAAE,cAAc;EAEpBC,KAAK,EAAEV,qBAAqB,EAAE;EAE9BW,KAAK,EAAE;IACL,mBAAmB,EAAGC,KAAU,IAAK,IAAI;IACzC,sBAAsB,EAAGC,GAAY,IAAK;EAC5C,CAAC;EAEDC,KAAKA,CAAEJ,KAAK,EAAAK,IAAA,EAAa;IAAA,IAAX;MAAEC;IAAM,CAAC,GAAAD,IAAA;IACrB,MAAMd,aAAa,GAAGN,eAAe,CAACe,KAAK,EAAE,eAAe,CAAC;IAC7D,MAAMO,KAAK,GAAGtB,eAAe,CAACe,KAAK,EAAE,YAAY,CAAC;IAElD,SAASQ,QAAQA,CAAEC,CAAM,EAAE;MACzB,IAAIlB,aAAa,CAACW,KAAK,EAAE;QACvBX,aAAa,CAACW,KAAK,GAAG,KAAK;MAC7B;IACF;IAEA,MAAMN,SAAS,GAAGV,QAAQ,CAAC,MAAM;MAC/B,OAAOc,KAAK,CAACT,aAAa,GACtBS,KAAK,CAACP,iBAAiB,GACvBO,KAAK,CAACJ,SAAS;IACrB,CAAC,CAAC;IAEF,MAAMC,QAAQ,GAAGX,QAAQ,CAAC,MAAM;MAC9B,OAAOc,KAAK,CAACT,aAAa,GACtBS,KAAK,CAACP,iBAAiB,GACvBO,KAAK,CAACH,QAAQ;IACpB,CAAC,CAAC;IAEFR,SAAS,CAAC,MAAAqB,YAAA,CAAA3B,iBAAA,EAAA4B,WAAA,CAEDX,KAAK;MAAA,cACAO,KAAK,CAACL,KAAK;MAAA,wBAAAU,MAAA,IAAXL,KAAK,CAACL,KAAK,GAAAU,MAAA,EAOCJ,QAAQ;MAAA,SANvB,CACL,gBAAgB,EAChBR,KAAK,CAACa,KAAK,CACZ;MAAA,SACOb,KAAK,CAACc,KAAK;MAAA,QACd,UAAU;MAAA,aAEHlB,SAAS,CAACM,KAAK;MAAA,YAChBL,QAAQ,CAACK,KAAK;MAAA,gBACVF,KAAK,CAACT,aAAa,GAAG,OAAO,GAAGwB;IAAS,IAC9CT,KAAK,CAElB,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}
|