@vuetify/nightly 4.0.0-dev-20230511.0 → 4.0.0-dev-20230512.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -14
- package/dist/json/attributes.json +564 -256
- package/dist/json/importMap-labs.json +4 -4
- package/dist/json/tags.json +80 -2
- package/dist/json/web-types.json +2399 -606
- package/dist/vuetify-labs.css +45 -42
- package/dist/vuetify-labs.d.ts +26350 -24518
- package/dist/vuetify-labs.esm.js +2485 -2382
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +2485 -2382
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +11 -8
- package/dist/vuetify.d.ts +23046 -23682
- package/dist/vuetify.esm.js +1865 -1748
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +1865 -1748
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +658 -658
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.mts +1 -3
- package/lib/blueprints/md1.d.mts +1 -3
- package/lib/blueprints/md2.d.mts +1 -3
- package/lib/blueprints/md3.d.mts +1 -3
- package/lib/components/VAlert/VAlert.mjs +48 -48
- package/lib/components/VAlert/VAlert.mjs.map +1 -1
- package/lib/components/VAlert/index.d.mts +228 -71
- package/lib/components/VApp/VApp.mjs +9 -8
- package/lib/components/VApp/VApp.mjs.map +1 -1
- package/lib/components/VApp/index.d.mts +65 -19
- package/lib/components/VAppBar/VAppBar.mjs +23 -22
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBarNavIcon.mjs +9 -7
- package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBarTitle.mjs +1 -2
- package/lib/components/VAppBar/VAppBarTitle.mjs.map +1 -1
- package/lib/components/VAppBar/index.d.mts +314 -123
- package/lib/components/VAutocomplete/VAutocomplete.css +0 -4
- package/lib/components/VAutocomplete/VAutocomplete.mjs +36 -39
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.sass +0 -5
- package/lib/components/VAutocomplete/index.d.mts +1264 -2467
- package/lib/components/VAvatar/index.d.mts +70 -30
- package/lib/components/VBadge/VBadge.mjs +33 -32
- package/lib/components/VBadge/VBadge.mjs.map +1 -1
- package/lib/components/VBadge/index.d.mts +86 -42
- package/lib/components/VBanner/VBanner.mjs +21 -20
- package/lib/components/VBanner/VBanner.mjs.map +1 -1
- package/lib/components/VBanner/VBannerActions.mjs +7 -6
- package/lib/components/VBanner/VBannerActions.mjs.map +1 -1
- package/lib/components/VBanner/index.d.mts +227 -65
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs +35 -34
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
- package/lib/components/VBottomNavigation/index.d.mts +78 -45
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +24 -23
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs +6 -5
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +15 -14
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/index.d.mts +311 -208
- package/lib/components/VBtn/index.d.mts +112 -53
- package/lib/components/VBtnGroup/index.d.mts +69 -27
- package/lib/components/VBtnToggle/VBtnToggle.mjs +6 -5
- package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
- package/lib/components/VBtnToggle/index.d.mts +73 -35
- package/lib/components/VCard/VCard.mjs +38 -37
- package/lib/components/VCard/VCard.mjs.map +1 -1
- package/lib/components/VCard/VCardItem.mjs +12 -11
- package/lib/components/VCard/VCardItem.mjs.map +1 -1
- package/lib/components/VCard/index.d.mts +764 -368
- package/lib/components/VCarousel/VCarousel.mjs +28 -27
- package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/lib/components/VCarousel/VCarouselItem.mjs +18 -16
- package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
- package/lib/components/VCarousel/index.d.mts +600 -103
- package/lib/components/VCheckbox/VCheckbox.mjs +6 -5
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/index.d.mts +304 -125
- package/lib/components/VChip/VChip.css +7 -0
- package/lib/components/VChip/VChip.mjs +60 -57
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/VChip.sass +9 -0
- package/lib/components/VChip/index.d.mts +318 -90
- package/lib/components/VChipGroup/VChipGroup.mjs +19 -18
- package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
- package/lib/components/VChipGroup/index.d.mts +204 -53
- package/lib/components/VCode/index.d.mts +63 -17
- package/lib/components/VColorPicker/VColorPicker.mjs +44 -39
- package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs +26 -25
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerEdit.mjs +17 -16
- package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerPreview.mjs +10 -9
- package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerSwatches.mjs +12 -11
- package/lib/components/VColorPicker/VColorPickerSwatches.mjs.map +1 -1
- package/lib/components/VColorPicker/index.d.mts +74 -85
- package/lib/components/VColorPicker/util/index.mjs +2 -2
- package/lib/components/VColorPicker/util/index.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.mjs +39 -42
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.mts +1264 -2488
- package/lib/components/VCounter/VCounter.mjs +16 -15
- package/lib/components/VCounter/VCounter.mjs.map +1 -1
- package/lib/components/VCounter/index.d.mts +113 -1817
- package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +9 -8
- package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs.map +1 -1
- package/lib/components/VDefaultsProvider/index.d.mts +67 -20
- package/lib/components/VDialog/VDialog.mjs +18 -17
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/index.d.mts +551 -1401
- package/lib/components/VDivider/VDivider.mjs +11 -10
- package/lib/components/VDivider/VDivider.mjs.map +1 -1
- package/lib/components/VDivider/index.d.mts +66 -21
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs +15 -15
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +6 -5
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +3 -5
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs +15 -14
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.d.mts +317 -125
- package/lib/components/VField/VField.mjs +7 -2
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VFieldLabel.mjs +6 -5
- package/lib/components/VField/VFieldLabel.mjs.map +1 -1
- package/lib/components/VField/index.d.mts +310 -230
- package/lib/components/VFileInput/VFileInput.mjs +35 -34
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/index.d.mts +760 -320
- package/lib/components/VFooter/VFooter.mjs +21 -20
- package/lib/components/VFooter/VFooter.mjs.map +1 -1
- package/lib/components/VFooter/index.d.mts +70 -29
- package/lib/components/VForm/VForm.mjs +6 -5
- package/lib/components/VForm/VForm.mjs.map +1 -1
- package/lib/components/VForm/index.d.mts +568 -52
- package/lib/components/VGrid/VCol.mjs +26 -25
- package/lib/components/VGrid/VCol.mjs.map +1 -1
- package/lib/components/VGrid/VContainer.mjs +16 -11
- package/lib/components/VGrid/VContainer.mjs.map +1 -1
- package/lib/components/VGrid/VRow.mjs +26 -25
- package/lib/components/VGrid/VRow.mjs.map +1 -1
- package/lib/components/VGrid/index.d.mts +274 -100
- package/lib/components/VHover/VHover.mjs +10 -9
- package/lib/components/VHover/VHover.mjs.map +1 -1
- package/lib/components/VHover/index.d.mts +93 -37
- package/lib/components/VIcon/VIcon.mjs +28 -29
- package/lib/components/VIcon/VIcon.mjs.map +1 -1
- package/lib/components/VIcon/index.d.mts +292 -81
- package/lib/components/VImg/VImg.mjs +34 -33
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VImg/index.d.mts +118 -53
- package/lib/components/VInput/VInput.mjs +1 -1
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/index.d.mts +137 -50
- package/lib/components/VItemGroup/VItem.mjs +1 -1
- package/lib/components/VItemGroup/VItem.mjs.map +1 -1
- package/lib/components/VItemGroup/VItemGroup.mjs +10 -9
- package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
- package/lib/components/VItemGroup/index.d.mts +414 -111
- package/lib/components/VKbd/index.d.mts +63 -17
- package/lib/components/VLabel/VLabel.mjs +8 -7
- package/lib/components/VLabel/VLabel.mjs.map +1 -1
- package/lib/components/VLabel/index.d.mts +64 -18
- package/lib/components/VLayout/VLayout.mjs +6 -5
- package/lib/components/VLayout/VLayout.mjs.map +1 -1
- package/lib/components/VLayout/VLayoutItem.mjs +15 -14
- package/lib/components/VLayout/VLayoutItem.mjs.map +1 -1
- package/lib/components/VLayout/index.d.mts +131 -42
- package/lib/components/VLazy/VLazy.mjs +21 -20
- package/lib/components/VLazy/VLazy.mjs.map +1 -1
- package/lib/components/VLazy/index.d.mts +67 -27
- package/lib/components/VList/VList.mjs +37 -36
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VListChildren.mjs +9 -12
- package/lib/components/VList/VListChildren.mjs.map +1 -1
- package/lib/components/VList/VListGroup.mjs +2 -4
- package/lib/components/VList/VListGroup.mjs.map +1 -1
- package/lib/components/VList/VListItem.mjs +44 -43
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItemAction.mjs +8 -7
- package/lib/components/VList/VListItemAction.mjs.map +1 -1
- package/lib/components/VList/VListItemMedia.mjs +8 -7
- package/lib/components/VList/VListItemMedia.mjs.map +1 -1
- package/lib/components/VList/VListSubheader.mjs +10 -9
- package/lib/components/VList/VListSubheader.mjs.map +1 -1
- package/lib/components/VList/index.d.mts +1069 -617
- package/lib/components/VList/list.mjs +4 -4
- package/lib/components/VList/list.mjs.map +1 -1
- package/lib/components/VLocaleProvider/VLocaleProvider.mjs +12 -11
- package/lib/components/VLocaleProvider/VLocaleProvider.mjs.map +1 -1
- package/lib/components/VLocaleProvider/index.d.mts +65 -19
- package/lib/components/VMain/VMain.mjs +9 -8
- package/lib/components/VMain/VMain.mjs.map +1 -1
- package/lib/components/VMain/index.d.mts +64 -19
- package/lib/components/VMenu/VMenu.mjs +21 -20
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.mts +479 -1327
- package/lib/components/VMessages/VMessages.mjs +18 -17
- package/lib/components/VMessages/VMessages.mjs.map +1 -1
- package/lib/components/VMessages/index.d.mts +88 -1799
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +50 -49
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/index.d.mts +115 -60
- package/lib/components/VNavigationDrawer/sticky.mjs +14 -7
- package/lib/components/VNavigationDrawer/sticky.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/touch.mjs +4 -4
- package/lib/components/VNavigationDrawer/touch.mjs.map +1 -1
- package/lib/components/VOverlay/index.d.mts +120 -75
- package/lib/components/VOverlay/locationStrategies.mjs +5 -3
- package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
- package/lib/components/VPagination/VPagination.mjs +84 -83
- package/lib/components/VPagination/VPagination.mjs.map +1 -1
- package/lib/components/VPagination/index.d.mts +203 -130
- package/lib/components/VParallax/VParallax.mjs +9 -8
- package/lib/components/VParallax/VParallax.mjs.map +1 -1
- package/lib/components/VParallax/index.d.mts +91 -18
- package/lib/components/VProgressCircular/VProgressCircular.mjs +25 -24
- package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
- package/lib/components/VProgressCircular/index.d.mts +125 -45
- package/lib/components/VProgressLinear/VProgressLinear.mjs +44 -42
- package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
- package/lib/components/VProgressLinear/index.d.mts +97 -57
- package/lib/components/VRadio/VRadio.mjs +8 -7
- package/lib/components/VRadio/VRadio.mjs.map +1 -1
- package/lib/components/VRadio/index.d.mts +121 -51
- package/lib/components/VRadioGroup/VRadioGroup.mjs +22 -21
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.mts +189 -76
- package/lib/components/VRangeSlider/VRangeSlider.mjs +18 -13
- package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
- package/lib/components/VRangeSlider/index.d.mts +192 -80
- package/lib/components/VRating/VRating.mjs +49 -45
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VRating/index.d.mts +94 -54
- package/lib/components/VResponsive/index.d.mts +73 -18
- package/lib/components/VSelect/VSelect.mjs +22 -21
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +1192 -3713
- package/lib/components/VSelectionControl/VSelectionControl.mjs +3 -3
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControl/index.d.mts +212 -194
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +10 -10
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/index.d.mts +100 -63
- package/lib/components/VSheet/VSheet.mjs +1 -3
- package/lib/components/VSheet/VSheet.mjs.map +1 -1
- package/lib/components/VSheet/index.d.mts +66 -21
- package/lib/components/VSlideGroup/VSlideGroup.mjs +7 -7
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroupItem.mjs +1 -3
- package/lib/components/VSlideGroup/VSlideGroupItem.mjs.map +1 -1
- package/lib/components/VSlideGroup/index.d.mts +181 -64
- package/lib/components/VSlider/VSlider.mjs +18 -13
- package/lib/components/VSlider/VSlider.mjs.map +1 -1
- package/lib/components/VSlider/VSliderThumb.mjs +26 -25
- package/lib/components/VSlider/VSliderThumb.mjs.map +1 -1
- package/lib/components/VSlider/VSliderTrack.mjs +13 -12
- package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
- package/lib/components/VSlider/index.d.mts +194 -81
- package/lib/components/VSlider/slider.mjs +3 -3
- package/lib/components/VSlider/slider.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.mjs +20 -19
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.mts +444 -297
- package/lib/components/VSwitch/VSwitch.css +3 -3
- package/lib/components/VSwitch/VSwitch.mjs +13 -12
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/VSwitch.sass +4 -3
- package/lib/components/VSwitch/index.d.mts +206 -86
- package/lib/components/VSystemBar/VSystemBar.mjs +15 -14
- package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
- package/lib/components/VSystemBar/index.d.mts +69 -27
- package/lib/components/VTable/VTable.mjs +12 -11
- package/lib/components/VTable/VTable.mjs.map +1 -1
- package/lib/components/VTable/index.d.mts +95 -26
- package/lib/components/VTabs/VTab.mjs +19 -19
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTabs/VTabs.mjs +28 -27
- package/lib/components/VTabs/VTabs.mjs.map +1 -1
- package/lib/components/VTabs/index.d.mts +175 -115
- package/lib/components/VTextField/VTextField.mjs +1 -1
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/index.d.mts +1254 -770
- package/lib/components/VTextarea/VTextarea.mjs +32 -28
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/index.d.mts +683 -313
- package/lib/components/VThemeProvider/VThemeProvider.mjs +8 -7
- package/lib/components/VThemeProvider/VThemeProvider.mjs.map +1 -1
- package/lib/components/VThemeProvider/index.d.mts +65 -20
- package/lib/components/VTimeline/VTimeline.mjs +46 -41
- package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
- package/lib/components/VTimeline/VTimelineDivider.mjs +14 -13
- package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -1
- package/lib/components/VTimeline/VTimelineItem.mjs +23 -22
- package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
- package/lib/components/VTimeline/index.d.mts +163 -62
- package/lib/components/VToolbar/VToolbar.mjs +8 -4
- package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbarItems.mjs +8 -7
- package/lib/components/VToolbar/VToolbarItems.mjs.map +1 -1
- package/lib/components/VToolbar/index.d.mts +265 -82
- package/lib/components/VTooltip/VTooltip.mjs +20 -19
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VTooltip/index.d.mts +442 -297
- package/lib/components/VValidation/VValidation.mjs +1 -3
- package/lib/components/VValidation/VValidation.mjs.map +1 -1
- package/lib/components/VValidation/index.d.mts +358 -50
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs +14 -13
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
- package/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +6 -5
- package/lib/components/VVirtualScroll/VVirtualScrollItem.mjs.map +1 -1
- package/lib/components/VVirtualScroll/index.d.mts +110 -82
- package/lib/components/VWindow/VWindow.mjs +3 -3
- package/lib/components/VWindow/VWindow.mjs.map +1 -1
- package/lib/components/VWindow/VWindowItem.mjs +18 -17
- package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
- package/lib/components/VWindow/index.d.mts +204 -75
- package/lib/components/index.d.mts +23230 -23871
- package/lib/components/transitions/createTransition.mjs +16 -15
- package/lib/components/transitions/createTransition.mjs.map +1 -1
- package/lib/components/transitions/dialog-transition.mjs +5 -4
- package/lib/components/transitions/dialog-transition.mjs.map +1 -1
- package/lib/components/transitions/index.d.mts +1207 -472
- package/lib/composables/display.mjs +3 -3
- package/lib/composables/display.mjs.map +1 -1
- package/lib/composables/form.mjs +4 -4
- package/lib/composables/form.mjs.map +1 -1
- package/lib/composables/forwardRefs.mjs.map +1 -1
- package/lib/composables/group.mjs +13 -13
- package/lib/composables/group.mjs.map +1 -1
- package/lib/composables/hydration.mjs +6 -6
- package/lib/composables/hydration.mjs.map +1 -1
- package/lib/composables/icons.mjs +2 -2
- package/lib/composables/icons.mjs.map +1 -1
- package/lib/composables/intersectionObserver.mjs +2 -2
- package/lib/composables/intersectionObserver.mjs.map +1 -1
- package/lib/composables/layout.mjs +3 -3
- package/lib/composables/layout.mjs.map +1 -1
- package/lib/composables/lazy.mjs +2 -2
- package/lib/composables/lazy.mjs.map +1 -1
- package/lib/composables/nested/nested.mjs +5 -4
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/composables/scroll.mjs +6 -6
- package/lib/composables/scroll.mjs.map +1 -1
- package/lib/composables/ssrBoot.mjs +2 -2
- package/lib/composables/ssrBoot.mjs.map +1 -1
- package/lib/composables/stack.mjs +5 -4
- package/lib/composables/stack.mjs.map +1 -1
- package/lib/composables/theme.mjs +3 -3
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/composables/transition.mjs +5 -2
- package/lib/composables/transition.mjs.map +1 -1
- package/lib/composables/validation.mjs +3 -3
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/directives/click-outside/index.mjs +1 -1
- package/lib/directives/click-outside/index.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +10 -5
- package/lib/labs/VDataTable/VDataTable.mjs +54 -66
- package/lib/labs/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableFooter.mjs +64 -63
- package/lib/labs/VDataTable/VDataTableFooter.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableGroupHeaderRow.mjs +8 -7
- package/lib/labs/VDataTable/VDataTableGroupHeaderRow.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableHeaders.mjs +17 -16
- package/lib/labs/VDataTable/VDataTableHeaders.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableRow.mjs +7 -6
- package/lib/labs/VDataTable/VDataTableRow.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableRows.mjs +20 -19
- package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableServer.mjs +54 -59
- package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableVirtual.mjs +72 -80
- package/lib/labs/VDataTable/VDataTableVirtual.mjs.map +1 -1
- package/lib/labs/VDataTable/composables/virtual.mjs +3 -3
- package/lib/labs/VDataTable/composables/virtual.mjs.map +1 -1
- package/lib/labs/VDataTable/index.d.mts +2974 -631
- package/lib/labs/VInfiniteScroll/VInfiniteScroll.mjs +54 -48
- package/lib/labs/VInfiniteScroll/VInfiniteScroll.mjs.map +1 -1
- package/lib/labs/VInfiniteScroll/index.d.mts +143 -52
- package/lib/labs/VSkeletonLoader/VSkeletonLoader.mjs +18 -17
- package/lib/labs/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
- package/lib/labs/VSkeletonLoader/index.d.mts +77 -31
- package/lib/labs/components.d.mts +3188 -708
- package/lib/labs/date/date.mjs +7 -7
- package/lib/labs/date/date.mjs.map +1 -1
- package/lib/labs/date/index.d.mts +1 -3
- package/lib/locale/adapters/vuetify.mjs +8 -5
- package/lib/locale/adapters/vuetify.mjs.map +1 -1
- package/lib/util/defineComponent.mjs.map +1 -1
- package/lib/util/propsFactory.mjs +2 -0
- package/lib/util/propsFactory.mjs.map +1 -1
- package/package.json +3 -3
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VProgressLinear.mjs","names":["makeComponentProps","makeLocationProps","useLocation","makeRoundedProps","useRounded","makeTagProps","makeThemeProps","provideTheme","useBackgroundColor","useTextColor","useIntersectionObserver","useProxiedModel","useRtl","computed","Transition","convertToUnit","genericComponent","useRender","VProgressLinear","name","props","absolute","Boolean","active","type","default","bgColor","String","bgOpacity","Number","bufferValue","clickable","color","height","indeterminate","max","modelValue","reverse","stream","striped","roundedBar","location","emits","value","setup","_ref","slots","progress","isRtl","themeClasses","locationStyles","textColorClasses","textColorStyles","backgroundColorClasses","backgroundColorStyles","barColorClasses","barColorStyles","roundedClasses","intersectionRef","isIntersecting","parseInt","normalizedBuffer","parseFloat","normalizedValue","isReversed","transition","opacity","handleClick","e","left","right","width","getBoundingClientRect","clientX","Math","round","_createVNode","tag","rounded","class","bottom","undefined","top","style","borderTop","map","bar","buffer"],"sources":["../../../src/components/VProgressLinear/VProgressLinear.tsx"],"sourcesContent":["// Styles\nimport './VProgressLinear.sass'\n\n// Composables\nimport { makeComponentProps } from '@/composables/component'\nimport { makeLocationProps, useLocation } from '@/composables/location'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { useBackgroundColor, useTextColor } from '@/composables/color'\nimport { useIntersectionObserver } from '@/composables/intersectionObserver'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { useRtl } from '@/composables/locale'\n\n// Utilities\nimport { computed, Transition } from 'vue'\nimport { convertToUnit, genericComponent, useRender } from '@/util'\n\ntype VProgressLinearSlots = {\n default: [{ value: number, buffer: number }]\n}\n\nexport const VProgressLinear = genericComponent<VProgressLinearSlots>()({\n name: 'VProgressLinear',\n\n props: {\n absolute: Boolean,\n active: {\n type: Boolean,\n default: true,\n },\n bgColor: String,\n bgOpacity: [Number, String],\n bufferValue: {\n type: [Number, String],\n default: 0,\n },\n clickable: Boolean,\n color: String,\n height: {\n type: [Number, String],\n default: 4,\n },\n indeterminate: Boolean,\n max: {\n type: [Number, String],\n default: 100,\n },\n modelValue: {\n type: [Number, String],\n default: 0,\n },\n reverse: Boolean,\n stream: Boolean,\n striped: Boolean,\n roundedBar: Boolean,\n\n ...makeComponentProps(),\n ...makeLocationProps({ location: 'top' } as const),\n ...makeRoundedProps(),\n ...makeTagProps(),\n ...makeThemeProps(),\n },\n\n emits: {\n 'update:modelValue': (value: number) => true,\n },\n\n setup (props, { slots }) {\n const progress = useProxiedModel(props, 'modelValue')\n const { isRtl } = useRtl()\n const { themeClasses } = provideTheme(props)\n const { locationStyles } = useLocation(props)\n const { textColorClasses, textColorStyles } = useTextColor(props, 'color')\n const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(computed(() => props.bgColor || props.color))\n const { backgroundColorClasses: barColorClasses, backgroundColorStyles: barColorStyles } = useBackgroundColor(props, 'color')\n const { roundedClasses } = useRounded(props)\n const { intersectionRef, isIntersecting } = useIntersectionObserver()\n\n const max = computed(() => parseInt(props.max, 10))\n const height = computed(() => parseInt(props.height, 10))\n const normalizedBuffer = computed(() => parseFloat(props.bufferValue) / max.value * 100)\n const normalizedValue = computed(() => parseFloat(progress.value) / max.value * 100)\n const isReversed = computed(() => isRtl.value !== props.reverse)\n const transition = computed(() => props.indeterminate ? 'fade-transition' : 'slide-x-transition')\n const opacity = computed(() => {\n return props.bgOpacity == null\n ? props.bgOpacity\n : parseFloat(props.bgOpacity)\n })\n\n function handleClick (e: MouseEvent) {\n if (!intersectionRef.value) return\n\n const { left, right, width } = intersectionRef.value.getBoundingClientRect()\n const value = isReversed.value ? (width - e.clientX) + (right - width) : e.clientX - left\n\n progress.value = Math.round(value / width * max.value)\n }\n\n useRender(() => (\n <props.tag\n ref={ intersectionRef }\n class={[\n 'v-progress-linear',\n {\n 'v-progress-linear--absolute': props.absolute,\n 'v-progress-linear--active': props.active && isIntersecting.value,\n 'v-progress-linear--reverse': isReversed.value,\n 'v-progress-linear--rounded': props.rounded,\n 'v-progress-linear--rounded-bar': props.roundedBar,\n 'v-progress-linear--striped': props.striped,\n },\n roundedClasses.value,\n themeClasses.value,\n props.class,\n ]}\n style={[\n {\n bottom: props.location === 'bottom' ? 0 : undefined,\n top: props.location === 'top' ? 0 : undefined,\n height: props.active ? convertToUnit(height.value) : 0,\n '--v-progress-linear-height': convertToUnit(height.value),\n ...locationStyles.value,\n },\n props.style,\n ]}\n role=\"progressbar\"\n aria-hidden={ props.active ? 'false' : 'true' }\n aria-valuemin=\"0\"\n aria-valuemax={ props.max }\n aria-valuenow={ props.indeterminate ? undefined : normalizedValue.value }\n onClick={ props.clickable && handleClick }\n >\n { props.stream && (\n <div\n key=\"stream\"\n class={[\n 'v-progress-linear__stream',\n textColorClasses.value,\n ]}\n style={{\n ...textColorStyles.value,\n [isReversed.value ? 'left' : 'right']: convertToUnit(-height.value),\n borderTop: `${convertToUnit(height.value / 2)} dotted`,\n opacity: opacity.value,\n top: `calc(50% - ${convertToUnit(height.value / 4)})`,\n width: convertToUnit(100 - normalizedBuffer.value, '%'),\n '--v-progress-linear-stream-to': convertToUnit(height.value * (isReversed.value ? 1 : -1)),\n }}\n />\n )}\n\n <div\n class={[\n 'v-progress-linear__background',\n backgroundColorClasses.value,\n ]}\n style={[\n backgroundColorStyles.value,\n {\n opacity: opacity.value,\n width: convertToUnit((!props.stream ? 100 : normalizedBuffer.value), '%'),\n },\n ]}\n />\n\n <Transition name={ transition.value }>\n { !props.indeterminate ? (\n <div\n class={[\n 'v-progress-linear__determinate',\n barColorClasses.value,\n ]}\n style={[\n barColorStyles.value,\n { width: convertToUnit(normalizedValue.value, '%') },\n ]}\n />\n ) : (\n <div class=\"v-progress-linear__indeterminate\">\n {['long', 'short'].map(bar => (\n <div\n key={ bar }\n class={[\n 'v-progress-linear__indeterminate',\n bar,\n barColorClasses.value,\n ]}\n style={ barColorStyles.value }\n />\n ))}\n </div>\n )}\n </Transition>\n\n { slots.default && (\n <div class=\"v-progress-linear__content\">\n { slots.default({ value: normalizedValue.value, buffer: normalizedBuffer.value }) }\n </div>\n )}\n </props.tag>\n ))\n\n return {}\n },\n})\n\nexport type VProgressLinear = InstanceType<typeof VProgressLinear>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,kBAAkB;AAAA,SAClBC,iBAAiB,EAAEC,WAAW;AAAA,SAC9BC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,YAAY;AAAA,SACZC,cAAc,EAAEC,YAAY;AAAA,SAC5BC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,uBAAuB;AAAA,SACvBC,eAAe;AAAA,SACfC,MAAM,wCAEf;AACA,SAASC,QAAQ,EAAEC,UAAU,QAAQ,KAAK;AAAA,SACjCC,aAAa,EAAEC,gBAAgB,EAAEC,SAAS;AAMnD,OAAO,MAAMC,eAAe,GAAGF,gBAAgB,EAAwB,CAAC;EACtEG,IAAI,EAAE,iBAAiB;EAEvBC,KAAK,EAAE;IACLC,QAAQ,EAAEC,OAAO;IACjBC,MAAM,EAAE;MACNC,IAAI,EAAEF,OAAO;MACbG,OAAO,EAAE;IACX,CAAC;IACDC,OAAO,EAAEC,MAAM;IACfC,SAAS,EAAE,CAACC,MAAM,EAAEF,MAAM,CAAC;IAC3BG,WAAW,EAAE;MACXN,IAAI,EAAE,CAACK,MAAM,EAAEF,MAAM,CAAC;MACtBF,OAAO,EAAE;IACX,CAAC;IACDM,SAAS,EAAET,OAAO;IAClBU,KAAK,EAAEL,MAAM;IACbM,MAAM,EAAE;MACNT,IAAI,EAAE,CAACK,MAAM,EAAEF,MAAM,CAAC;MACtB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AClB,KAAK,EAAG,GAAG;QAC1E,CAAC;MACF,UAAAiC,YAAA,CAAA9D,UAAA;QAAA,QAGgBmD,UAAU,CAACtB;MAAK;QAAAlB,OAAA,EAAAA,CAAA,MAC/B,CAACL,KAAK,CAACc,aAAa,GAAA0C,YAAA;UAAA,SAEX,CACL,gCAAgC,EAChCrB,eAAe,CAACZ,KAAK,CACtB;UAAA,SACM,CACLa,cAAc,CAACb,KAAK,EACpB;YAAE4B,KAAK,EAAExD,aAAa,CAACgD,eAAe,CAACpB,KAAK,EAAE,GAAG;UAAE,CAAC;QACrD,WAAAiC,YAAA;UAAA,SAGQ;QAAkC,IAC1C,CAAC,MAAM,EAAE,OAAO,CAAC,CAACS,GAAG,CAACC,GAAG,IAAAV,YAAA;UAAA,OAEhBU,GAAG;UAAA,SACF,CACL,kCAAkC,EAClCA,GAAG,EACH/B,eAAe,CAACZ,KAAK,CACtB;UAAA,SACOa,cAAc,CAACb;QAAK,QAE/B,CAAC,EAEL;MAAA,IAGDG,KAAK,CAACrB,OAAO,IAAAmD,YAAA;QAAA,SACF;MAA4B,IACnC9B,KAAK,CAACrB,OAAO,CAAC;QAAEkB,KAAK,EAAEoB,eAAe,CAACpB,KAAK;QAAE4C,MAAM,EAAE1B,gBAAgB,CAAClB;MAAM,CAAC,CAAC,EAEpF;IAAA,EAEJ,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"VProgressLinear.mjs","names":["makeComponentProps","makeLocationProps","useLocation","makeRoundedProps","useRounded","makeTagProps","makeThemeProps","provideTheme","useBackgroundColor","useTextColor","useIntersectionObserver","useProxiedModel","useRtl","computed","Transition","convertToUnit","genericComponent","propsFactory","useRender","makeVProgressLinearProps","absolute","Boolean","active","type","default","bgColor","String","bgOpacity","Number","bufferValue","clickable","color","height","indeterminate","max","modelValue","reverse","stream","striped","roundedBar","location","VProgressLinear","name","props","emits","value","setup","_ref","slots","progress","isRtl","rtlClasses","themeClasses","locationStyles","textColorClasses","textColorStyles","backgroundColorClasses","backgroundColorStyles","barColorClasses","barColorStyles","roundedClasses","intersectionRef","isIntersecting","parseInt","normalizedBuffer","parseFloat","normalizedValue","isReversed","transition","opacity","handleClick","e","left","right","width","getBoundingClientRect","clientX","Math","round","_createVNode","tag","rounded","class","bottom","undefined","top","style","borderTop","map","bar","buffer"],"sources":["../../../src/components/VProgressLinear/VProgressLinear.tsx"],"sourcesContent":["// Styles\nimport './VProgressLinear.sass'\n\n// Composables\nimport { makeComponentProps } from '@/composables/component'\nimport { makeLocationProps, useLocation } from '@/composables/location'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { useBackgroundColor, useTextColor } from '@/composables/color'\nimport { useIntersectionObserver } from '@/composables/intersectionObserver'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { useRtl } from '@/composables/locale'\n\n// Utilities\nimport { computed, Transition } from 'vue'\nimport { convertToUnit, genericComponent, propsFactory, useRender } from '@/util'\n\ntype VProgressLinearSlots = {\n default: [{ value: number, buffer: number }]\n}\n\nexport const makeVProgressLinearProps = propsFactory({\n absolute: Boolean,\n active: {\n type: Boolean,\n default: true,\n },\n bgColor: String,\n bgOpacity: [Number, String],\n bufferValue: {\n type: [Number, String],\n default: 0,\n },\n clickable: Boolean,\n color: String,\n height: {\n type: [Number, String],\n default: 4,\n },\n indeterminate: Boolean,\n max: {\n type: [Number, String],\n default: 100,\n },\n modelValue: {\n type: [Number, String],\n default: 0,\n },\n reverse: Boolean,\n stream: Boolean,\n striped: Boolean,\n roundedBar: Boolean,\n\n ...makeComponentProps(),\n ...makeLocationProps({ location: 'top' } as const),\n ...makeRoundedProps(),\n ...makeTagProps(),\n ...makeThemeProps(),\n}, 'v-progress-linear')\n\nexport const VProgressLinear = genericComponent<VProgressLinearSlots>()({\n name: 'VProgressLinear',\n\n props: makeVProgressLinearProps(),\n\n emits: {\n 'update:modelValue': (value: number) => true,\n },\n\n setup (props, { slots }) {\n const progress = useProxiedModel(props, 'modelValue')\n const { isRtl, rtlClasses } = useRtl()\n const { themeClasses } = provideTheme(props)\n const { locationStyles } = useLocation(props)\n const { textColorClasses, textColorStyles } = useTextColor(props, 'color')\n const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(computed(() => props.bgColor || props.color))\n const { backgroundColorClasses: barColorClasses, backgroundColorStyles: barColorStyles } = useBackgroundColor(props, 'color')\n const { roundedClasses } = useRounded(props)\n const { intersectionRef, isIntersecting } = useIntersectionObserver()\n\n const max = computed(() => parseInt(props.max, 10))\n const height = computed(() => parseInt(props.height, 10))\n const normalizedBuffer = computed(() => parseFloat(props.bufferValue) / max.value * 100)\n const normalizedValue = computed(() => parseFloat(progress.value) / max.value * 100)\n const isReversed = computed(() => isRtl.value !== props.reverse)\n const transition = computed(() => props.indeterminate ? 'fade-transition' : 'slide-x-transition')\n const opacity = computed(() => {\n return props.bgOpacity == null\n ? props.bgOpacity\n : parseFloat(props.bgOpacity)\n })\n\n function handleClick (e: MouseEvent) {\n if (!intersectionRef.value) return\n\n const { left, right, width } = intersectionRef.value.getBoundingClientRect()\n const value = isReversed.value ? (width - e.clientX) + (right - width) : e.clientX - left\n\n progress.value = Math.round(value / width * max.value)\n }\n\n useRender(() => (\n <props.tag\n ref={ intersectionRef }\n class={[\n 'v-progress-linear',\n {\n 'v-progress-linear--absolute': props.absolute,\n 'v-progress-linear--active': props.active && isIntersecting.value,\n 'v-progress-linear--reverse': isReversed.value,\n 'v-progress-linear--rounded': props.rounded,\n 'v-progress-linear--rounded-bar': props.roundedBar,\n 'v-progress-linear--striped': props.striped,\n },\n roundedClasses.value,\n themeClasses.value,\n rtlClasses.value,\n props.class,\n ]}\n style={[\n {\n bottom: props.location === 'bottom' ? 0 : undefined,\n top: props.location === 'top' ? 0 : undefined,\n height: props.active ? convertToUnit(height.value) : 0,\n '--v-progress-linear-height': convertToUnit(height.value),\n ...locationStyles.value,\n },\n props.style,\n ]}\n role=\"progressbar\"\n aria-hidden={ props.active ? 'false' : 'true' }\n aria-valuemin=\"0\"\n aria-valuemax={ props.max }\n aria-valuenow={ props.indeterminate ? undefined : normalizedValue.value }\n onClick={ props.clickable && handleClick }\n >\n { props.stream && (\n <div\n key=\"stream\"\n class={[\n 'v-progress-linear__stream',\n textColorClasses.value,\n ]}\n style={{\n ...textColorStyles.value,\n [isReversed.value ? 'left' : 'right']: convertToUnit(-height.value),\n borderTop: `${convertToUnit(height.value / 2)} dotted`,\n opacity: opacity.value,\n top: `calc(50% - ${convertToUnit(height.value / 4)})`,\n width: convertToUnit(100 - normalizedBuffer.value, '%'),\n '--v-progress-linear-stream-to': convertToUnit(height.value * (isReversed.value ? 1 : -1)),\n }}\n />\n )}\n\n <div\n class={[\n 'v-progress-linear__background',\n backgroundColorClasses.value,\n ]}\n style={[\n backgroundColorStyles.value,\n {\n opacity: opacity.value,\n width: convertToUnit((!props.stream ? 100 : normalizedBuffer.value), '%'),\n },\n ]}\n />\n\n <Transition name={ transition.value }>\n { !props.indeterminate ? (\n <div\n class={[\n 'v-progress-linear__determinate',\n barColorClasses.value,\n ]}\n style={[\n barColorStyles.value,\n { width: convertToUnit(normalizedValue.value, '%') },\n ]}\n />\n ) : (\n <div class=\"v-progress-linear__indeterminate\">\n {['long', 'short'].map(bar => (\n <div\n key={ bar }\n class={[\n 'v-progress-linear__indeterminate',\n bar,\n barColorClasses.value,\n ]}\n style={ barColorStyles.value }\n />\n ))}\n </div>\n )}\n </Transition>\n\n { slots.default && (\n <div class=\"v-progress-linear__content\">\n { slots.default({ value: normalizedValue.value, buffer: normalizedBuffer.value }) }\n </div>\n )}\n </props.tag>\n ))\n\n return {}\n },\n})\n\nexport type VProgressLinear = InstanceType<typeof VProgressLinear>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,kBAAkB;AAAA,SAClBC,iBAAiB,EAAEC,WAAW;AAAA,SAC9BC,gBAAgB,EAAE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AAE,GAAG;UAAE,CAAC;QACrD,WAAAkC,YAAA;UAAA,SAGQ;QAAkC,IAC1C,CAAC,MAAM,EAAE,OAAO,CAAC,CAACS,GAAG,CAACC,GAAG,IAAAV,YAAA;UAAA,OAEhBU,GAAG;UAAA,SACF,CACL,kCAAkC,EAClCA,GAAG,EACH/B,eAAe,CAACb,KAAK,CACtB;UAAA,SACOc,cAAc,CAACd;QAAK,QAE/B,CAAC,EAEL;MAAA,IAGDG,KAAK,CAACxB,OAAO,IAAAuD,YAAA;QAAA,SACF;MAA4B,IACnC/B,KAAK,CAACxB,OAAO,CAAC;QAAEqB,KAAK,EAAEqB,eAAe,CAACrB,KAAK;QAAE6C,MAAM,EAAE1B,gBAAgB,CAACnB;MAAM,CAAC,CAAC,EAEpF;IAAA,EAEJ,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}
|
@@ -15,47 +15,26 @@ declare const VProgressLinear: {
|
|
15
15
|
new (...args: any[]): {
|
16
16
|
$: vue.ComponentInternalInstance;
|
17
17
|
$data: {};
|
18
|
-
$props:
|
19
|
-
reverse
|
20
|
-
max
|
21
|
-
absolute
|
22
|
-
location
|
23
|
-
height
|
24
|
-
active
|
25
|
-
style
|
26
|
-
tag
|
27
|
-
indeterminate
|
28
|
-
rounded
|
29
|
-
modelValue
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
reverse: boolean;
|
37
|
-
max: string | number;
|
38
|
-
absolute: boolean;
|
39
|
-
location: NonNullable<Anchor>;
|
40
|
-
height: string | number;
|
41
|
-
active: boolean;
|
42
|
-
style: vue.StyleValue;
|
43
|
-
tag: string;
|
44
|
-
indeterminate: boolean;
|
45
|
-
modelValue: string | number;
|
46
|
-
clickable: boolean;
|
47
|
-
stream: boolean;
|
48
|
-
striped: boolean;
|
49
|
-
roundedBar: boolean;
|
50
|
-
bufferValue: string | number;
|
51
|
-
} & {
|
18
|
+
$props: {
|
19
|
+
reverse?: boolean | undefined;
|
20
|
+
max?: string | number | undefined;
|
21
|
+
absolute?: boolean | undefined;
|
22
|
+
location?: NonNullable<Anchor> | undefined;
|
23
|
+
height?: string | number | undefined;
|
24
|
+
active?: boolean | undefined;
|
25
|
+
style?: vue.StyleValue | undefined;
|
26
|
+
tag?: string | undefined;
|
27
|
+
indeterminate?: boolean | undefined;
|
28
|
+
rounded?: string | number | boolean | undefined;
|
29
|
+
modelValue?: string | number | undefined;
|
30
|
+
bufferValue?: string | number | undefined;
|
31
|
+
clickable?: boolean | undefined;
|
32
|
+
stream?: boolean | undefined;
|
33
|
+
striped?: boolean | undefined;
|
34
|
+
roundedBar?: boolean | undefined;
|
35
|
+
key?: string | number | symbol | undefined;
|
52
36
|
color?: string | undefined;
|
53
37
|
class?: any;
|
54
|
-
theme?: string | undefined;
|
55
|
-
rounded?: string | number | boolean | undefined;
|
56
|
-
bgColor?: string | undefined;
|
57
|
-
bgOpacity?: string | number | undefined;
|
58
|
-
} & {
|
59
38
|
$children?: vue.VNodeChild | {
|
60
39
|
default?: ((args_0: {
|
61
40
|
value: number;
|
@@ -65,20 +44,62 @@ declare const VProgressLinear: {
|
|
65
44
|
value: number;
|
66
45
|
buffer: number;
|
67
46
|
}) => vue.VNodeChild);
|
47
|
+
ref?: vue.VNodeRef | undefined;
|
48
|
+
ref_for?: boolean | undefined;
|
49
|
+
ref_key?: string | undefined;
|
50
|
+
theme?: string | undefined;
|
51
|
+
"v-slot:default"?: false | ((args_0: {
|
52
|
+
value: number;
|
53
|
+
buffer: number;
|
54
|
+
}) => vue.VNodeChild) | undefined;
|
68
55
|
'v-slots'?: {
|
69
56
|
default?: false | ((args_0: {
|
70
57
|
value: number;
|
71
58
|
buffer: number;
|
72
59
|
}) => vue.VNodeChild) | undefined;
|
73
60
|
} | undefined;
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
}) =>
|
79
|
-
|
61
|
+
onVnodeBeforeMount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
62
|
+
[key: string]: any;
|
63
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
64
|
+
[key: string]: any;
|
65
|
+
}>) => void)[] | undefined;
|
66
|
+
onVnodeMounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
67
|
+
[key: string]: any;
|
68
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
69
|
+
[key: string]: any;
|
70
|
+
}>) => void)[] | undefined;
|
71
|
+
onVnodeBeforeUpdate?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
72
|
+
[key: string]: any;
|
73
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
74
|
+
[key: string]: any;
|
75
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
76
|
+
[key: string]: any;
|
77
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
78
|
+
[key: string]: any;
|
79
|
+
}>) => void)[] | undefined;
|
80
|
+
onVnodeUpdated?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
81
|
+
[key: string]: any;
|
82
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
83
|
+
[key: string]: any;
|
84
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
85
|
+
[key: string]: any;
|
86
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
87
|
+
[key: string]: any;
|
88
|
+
}>) => void)[] | undefined;
|
89
|
+
onVnodeBeforeUnmount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
90
|
+
[key: string]: any;
|
91
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
92
|
+
[key: string]: any;
|
93
|
+
}>) => void)[] | undefined;
|
94
|
+
onVnodeUnmounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
95
|
+
[key: string]: any;
|
96
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
97
|
+
[key: string]: any;
|
98
|
+
}>) => void)[] | undefined;
|
80
99
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
81
|
-
|
100
|
+
bgColor?: string | undefined;
|
101
|
+
bgOpacity?: string | number | undefined;
|
102
|
+
};
|
82
103
|
$attrs: {
|
83
104
|
[x: string]: unknown;
|
84
105
|
};
|
@@ -86,10 +107,15 @@ declare const VProgressLinear: {
|
|
86
107
|
[x: string]: unknown;
|
87
108
|
};
|
88
109
|
$slots: Readonly<{
|
89
|
-
|
110
|
+
default?: ((args_0: {
|
111
|
+
value: number;
|
112
|
+
buffer: number;
|
113
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
114
|
+
[key: string]: any;
|
115
|
+
}>[]) | undefined;
|
90
116
|
}>;
|
91
|
-
$root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
92
|
-
$parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
117
|
+
$root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
118
|
+
$parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
93
119
|
$emit: (event: "update:modelValue", value: number) => void;
|
94
120
|
$el: any;
|
95
121
|
$options: vue.ComponentOptionsBase<{
|
@@ -103,11 +129,11 @@ declare const VProgressLinear: {
|
|
103
129
|
tag: string;
|
104
130
|
indeterminate: boolean;
|
105
131
|
modelValue: string | number;
|
132
|
+
bufferValue: string | number;
|
106
133
|
clickable: boolean;
|
107
134
|
stream: boolean;
|
108
135
|
striped: boolean;
|
109
136
|
roundedBar: boolean;
|
110
|
-
bufferValue: string | number;
|
111
137
|
} & {
|
112
138
|
color?: string | undefined;
|
113
139
|
class?: any;
|
@@ -152,12 +178,19 @@ declare const VProgressLinear: {
|
|
152
178
|
indeterminate: boolean;
|
153
179
|
rounded: string | number | boolean;
|
154
180
|
modelValue: string | number;
|
181
|
+
bufferValue: string | number;
|
155
182
|
clickable: boolean;
|
156
183
|
stream: boolean;
|
157
184
|
striped: boolean;
|
158
185
|
roundedBar: boolean;
|
159
|
-
|
160
|
-
|
186
|
+
}, {}, string, vue.SlotsType<Partial<{
|
187
|
+
default: (args_0: {
|
188
|
+
value: number;
|
189
|
+
buffer: number;
|
190
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
191
|
+
[key: string]: any;
|
192
|
+
}>[];
|
193
|
+
}>>> & {
|
161
194
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
162
195
|
created?: ((() => void) | (() => void)[]) | undefined;
|
163
196
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
@@ -172,7 +205,7 @@ declare const VProgressLinear: {
|
|
172
205
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
173
206
|
renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
|
174
207
|
renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
|
175
|
-
errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
208
|
+
errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
176
209
|
};
|
177
210
|
$forceUpdate: () => void;
|
178
211
|
$nextTick: typeof vue.nextTick;
|
@@ -188,11 +221,11 @@ declare const VProgressLinear: {
|
|
188
221
|
tag: string;
|
189
222
|
indeterminate: boolean;
|
190
223
|
modelValue: string | number;
|
224
|
+
bufferValue: string | number;
|
191
225
|
clickable: boolean;
|
192
226
|
stream: boolean;
|
193
227
|
striped: boolean;
|
194
228
|
roundedBar: boolean;
|
195
|
-
bufferValue: string | number;
|
196
229
|
} & {
|
197
230
|
color?: string | undefined;
|
198
231
|
class?: any;
|
@@ -238,11 +271,11 @@ declare const VProgressLinear: {
|
|
238
271
|
tag: string;
|
239
272
|
indeterminate: boolean;
|
240
273
|
modelValue: string | number;
|
274
|
+
bufferValue: string | number;
|
241
275
|
clickable: boolean;
|
242
276
|
stream: boolean;
|
243
277
|
striped: boolean;
|
244
278
|
roundedBar: boolean;
|
245
|
-
bufferValue: string | number;
|
246
279
|
} & {
|
247
280
|
color?: string | undefined;
|
248
281
|
class?: any;
|
@@ -287,12 +320,19 @@ declare const VProgressLinear: {
|
|
287
320
|
indeterminate: boolean;
|
288
321
|
rounded: string | number | boolean;
|
289
322
|
modelValue: string | number;
|
323
|
+
bufferValue: string | number;
|
290
324
|
clickable: boolean;
|
291
325
|
stream: boolean;
|
292
326
|
striped: boolean;
|
293
327
|
roundedBar: boolean;
|
294
|
-
|
295
|
-
|
328
|
+
}, {}, string, vue.SlotsType<Partial<{
|
329
|
+
default: (args_0: {
|
330
|
+
value: number;
|
331
|
+
buffer: number;
|
332
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
333
|
+
[key: string]: any;
|
334
|
+
}>[];
|
335
|
+
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
296
336
|
theme: StringConstructor;
|
297
337
|
tag: {
|
298
338
|
type: StringConstructor;
|
@@ -1,15 +1,16 @@
|
|
1
1
|
import { createVNode as _createVNode, mergeProps as _mergeProps, resolveDirective as _resolveDirective } from "vue";
|
2
2
|
// Components
|
3
3
|
import { makeSelectionControlProps, VSelectionControl } from "../VSelectionControl/VSelectionControl.mjs"; // Utilities
|
4
|
-
import { genericComponent, useRender } from "../../util/index.mjs"; // Types
|
4
|
+
import { genericComponent, propsFactory, useRender } from "../../util/index.mjs"; // Types
|
5
|
+
export const makeVRadioProps = propsFactory({
|
6
|
+
...makeSelectionControlProps({
|
7
|
+
falseIcon: '$radioOff',
|
8
|
+
trueIcon: '$radioOn'
|
9
|
+
})
|
10
|
+
}, 'v-radio');
|
5
11
|
export const VRadio = genericComponent()({
|
6
12
|
name: 'VRadio',
|
7
|
-
props:
|
8
|
-
...makeSelectionControlProps({
|
9
|
-
falseIcon: '$radioOff',
|
10
|
-
trueIcon: '$radioOn'
|
11
|
-
})
|
12
|
-
},
|
13
|
+
props: makeVRadioProps(),
|
13
14
|
setup(props, _ref) {
|
14
15
|
let {
|
15
16
|
slots
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VRadio.mjs","names":["makeSelectionControlProps","VSelectionControl","genericComponent","useRender","
|
1
|
+
{"version":3,"file":"VRadio.mjs","names":["makeSelectionControlProps","VSelectionControl","genericComponent","propsFactory","useRender","makeVRadioProps","falseIcon","trueIcon","VRadio","name","props","setup","_ref","slots","_createVNode","_mergeProps","class","style"],"sources":["../../../src/components/VRadio/VRadio.tsx"],"sourcesContent":["// Components\nimport { makeSelectionControlProps, VSelectionControl } from '@/components/VSelectionControl/VSelectionControl'\n\n// Utilities\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { VSelectionControlSlots } from '@/components/VSelectionControl/VSelectionControl'\n\nexport const makeVRadioProps = propsFactory({\n ...makeSelectionControlProps({\n falseIcon: '$radioOff',\n trueIcon: '$radioOn',\n }),\n}, 'v-radio')\n\nexport const VRadio = genericComponent<VSelectionControlSlots>()({\n name: 'VRadio',\n\n props: makeVRadioProps(),\n\n setup (props, { slots }) {\n useRender(() => (\n <VSelectionControl\n { ...props }\n class={[\n 'v-radio',\n props.class,\n ]}\n style={ props.style }\n type=\"radio\"\n v-slots={ slots }\n />\n ))\n\n return {}\n },\n})\n\nexport type VRadio = InstanceType<typeof VRadio>\n"],"mappings":";AAAA;AAAA,SACSA,yBAAyB,EAAEC,iBAAiB,sDAErD;AAAA,SACSC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,gCAElD;AAGA,OAAO,MAAMC,eAAe,GAAGF,YAAY,CAAC;EAC1C,GAAGH,yBAAyB,CAAC;IAC3BM,SAAS,EAAE,WAAW;IACtBC,QAAQ,EAAE;EACZ,CAAC;AACH,CAAC,EAAE,SAAS,CAAC;AAEb,OAAO,MAAMC,MAAM,GAAGN,gBAAgB,EAA0B,CAAC;EAC/DO,IAAI,EAAE,QAAQ;EAEdC,KAAK,EAAEL,eAAe,EAAE;EAExBM,KAAKA,CAAED,KAAK,EAAAE,IAAA,EAAa;IAAA,IAAX;MAAEC;IAAM,CAAC,GAAAD,IAAA;IACrBR,SAAS,CAAC,MAAAU,YAAA,CAAAb,iBAAA,EAAAc,WAAA,CAEDL,KAAK;MAAA,SACH,CACL,SAAS,EACTA,KAAK,CAACM,KAAK,CACZ;MAAA,SACON,KAAK,CAACO,KAAK;MAAA,QACd;IAAO,IACFJ,KAAK,CAElB,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}
|
@@ -27,43 +27,26 @@ declare const VRadio: {
|
|
27
27
|
new (...args: any[]): {
|
28
28
|
$: vue.ComponentInternalInstance;
|
29
29
|
$data: {};
|
30
|
-
$props:
|
31
|
-
inline
|
32
|
-
error
|
33
|
-
style
|
34
|
-
disabled
|
35
|
-
multiple
|
36
|
-
readonly
|
37
|
-
density
|
38
|
-
ripple
|
39
|
-
falseIcon
|
40
|
-
trueIcon
|
41
|
-
valueComparator
|
42
|
-
}> & Omit<{
|
43
|
-
inline: boolean;
|
44
|
-
error: boolean;
|
45
|
-
style: vue.StyleValue;
|
46
|
-
disabled: boolean;
|
47
|
-
multiple: boolean | null;
|
48
|
-
readonly: boolean;
|
49
|
-
density: Density;
|
50
|
-
ripple: boolean;
|
51
|
-
falseIcon: NonNullable<IconValue>;
|
52
|
-
trueIcon: NonNullable<IconValue>;
|
53
|
-
valueComparator: typeof deepEqual;
|
54
|
-
} & {
|
30
|
+
$props: {
|
31
|
+
inline?: boolean | undefined;
|
32
|
+
error?: boolean | undefined;
|
33
|
+
style?: vue.StyleValue | undefined;
|
34
|
+
disabled?: boolean | undefined;
|
35
|
+
multiple?: boolean | null | undefined;
|
36
|
+
readonly?: boolean | undefined;
|
37
|
+
density?: Density | undefined;
|
38
|
+
ripple?: boolean | undefined;
|
39
|
+
falseIcon?: NonNullable<IconValue> | undefined;
|
40
|
+
trueIcon?: NonNullable<IconValue> | undefined;
|
41
|
+
valueComparator?: typeof deepEqual | undefined;
|
55
42
|
type?: string | undefined;
|
43
|
+
key?: string | number | symbol | undefined;
|
56
44
|
id?: string | undefined;
|
57
45
|
name?: string | undefined;
|
58
46
|
color?: string | undefined;
|
59
47
|
value?: any;
|
60
48
|
label?: string | undefined;
|
61
49
|
class?: any;
|
62
|
-
theme?: string | undefined;
|
63
|
-
modelValue?: any;
|
64
|
-
trueValue?: any;
|
65
|
-
falseValue?: any;
|
66
|
-
} & {
|
67
50
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
68
51
|
default?: (() => vue.VNodeChild) | undefined;
|
69
52
|
label?: ((args_0: {
|
@@ -72,6 +55,11 @@ declare const VRadio: {
|
|
72
55
|
}) => vue.VNodeChild) | undefined;
|
73
56
|
input?: ((args_0: SelectionControlSlot) => vue.VNodeChild) | undefined;
|
74
57
|
};
|
58
|
+
ref?: vue.VNodeRef | undefined;
|
59
|
+
ref_for?: boolean | undefined;
|
60
|
+
ref_key?: string | undefined;
|
61
|
+
theme?: string | undefined;
|
62
|
+
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
75
63
|
'v-slots'?: {
|
76
64
|
default?: false | (() => vue.VNodeChild) | undefined;
|
77
65
|
label?: false | ((args_0: {
|
@@ -80,14 +68,54 @@ declare const VRadio: {
|
|
80
68
|
}) => vue.VNodeChild) | undefined;
|
81
69
|
input?: false | ((args_0: SelectionControlSlot) => vue.VNodeChild) | undefined;
|
82
70
|
} | undefined;
|
83
|
-
|
84
|
-
|
71
|
+
onVnodeBeforeMount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
72
|
+
[key: string]: any;
|
73
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
74
|
+
[key: string]: any;
|
75
|
+
}>) => void)[] | undefined;
|
76
|
+
onVnodeMounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
77
|
+
[key: string]: any;
|
78
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
79
|
+
[key: string]: any;
|
80
|
+
}>) => void)[] | undefined;
|
81
|
+
onVnodeBeforeUpdate?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
82
|
+
[key: string]: any;
|
83
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
84
|
+
[key: string]: any;
|
85
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
86
|
+
[key: string]: any;
|
87
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
88
|
+
[key: string]: any;
|
89
|
+
}>) => void)[] | undefined;
|
90
|
+
onVnodeUpdated?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
91
|
+
[key: string]: any;
|
92
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
93
|
+
[key: string]: any;
|
94
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
95
|
+
[key: string]: any;
|
96
|
+
}>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
97
|
+
[key: string]: any;
|
98
|
+
}>) => void)[] | undefined;
|
99
|
+
onVnodeBeforeUnmount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
100
|
+
[key: string]: any;
|
101
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
102
|
+
[key: string]: any;
|
103
|
+
}>) => void)[] | undefined;
|
104
|
+
onVnodeUnmounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
105
|
+
[key: string]: any;
|
106
|
+
}>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
|
107
|
+
[key: string]: any;
|
108
|
+
}>) => void)[] | undefined;
|
109
|
+
modelValue?: any;
|
85
110
|
"v-slot:label"?: false | ((args_0: {
|
86
111
|
label: string | undefined;
|
87
112
|
props: Record<string, unknown>;
|
88
113
|
}) => vue.VNodeChild) | undefined;
|
114
|
+
defaultsTarget?: string | undefined;
|
115
|
+
trueValue?: any;
|
116
|
+
falseValue?: any;
|
89
117
|
"v-slot:input"?: false | ((args_0: SelectionControlSlot) => vue.VNodeChild) | undefined;
|
90
|
-
}
|
118
|
+
};
|
91
119
|
$attrs: {
|
92
120
|
[x: string]: unknown;
|
93
121
|
};
|
@@ -95,10 +123,21 @@ declare const VRadio: {
|
|
95
123
|
[x: string]: unknown;
|
96
124
|
};
|
97
125
|
$slots: Readonly<{
|
98
|
-
|
126
|
+
default?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
127
|
+
[key: string]: any;
|
128
|
+
}>[]) | undefined;
|
129
|
+
label?: ((args_0: {
|
130
|
+
label: string | undefined;
|
131
|
+
props: Record<string, unknown>;
|
132
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
133
|
+
[key: string]: any;
|
134
|
+
}>[]) | undefined;
|
135
|
+
input?: ((args_0: SelectionControlSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
136
|
+
[key: string]: any;
|
137
|
+
}>[]) | undefined;
|
99
138
|
}>;
|
100
|
-
$root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
101
|
-
$parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
139
|
+
$root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
140
|
+
$parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
102
141
|
$emit: (event: string, ...args: any[]) => void;
|
103
142
|
$el: any;
|
104
143
|
$options: vue.ComponentOptionsBase<{
|
@@ -123,6 +162,7 @@ declare const VRadio: {
|
|
123
162
|
class?: any;
|
124
163
|
theme?: string | undefined;
|
125
164
|
modelValue?: any;
|
165
|
+
defaultsTarget?: string | undefined;
|
126
166
|
trueValue?: any;
|
127
167
|
falseValue?: any;
|
128
168
|
} & {
|
@@ -161,7 +201,20 @@ declare const VRadio: {
|
|
161
201
|
falseIcon: NonNullable<IconValue>;
|
162
202
|
trueIcon: NonNullable<IconValue>;
|
163
203
|
valueComparator: typeof deepEqual;
|
164
|
-
}, {}, string
|
204
|
+
}, {}, string, vue.SlotsType<Partial<{
|
205
|
+
default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
206
|
+
[key: string]: any;
|
207
|
+
}>[];
|
208
|
+
label: (args_0: {
|
209
|
+
label: string | undefined;
|
210
|
+
props: Record<string, unknown>;
|
211
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
212
|
+
[key: string]: any;
|
213
|
+
}>[];
|
214
|
+
input: (args_0: SelectionControlSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
215
|
+
[key: string]: any;
|
216
|
+
}>[];
|
217
|
+
}>>> & {
|
165
218
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
166
219
|
created?: ((() => void) | (() => void)[]) | undefined;
|
167
220
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
@@ -176,7 +229,7 @@ declare const VRadio: {
|
|
176
229
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
177
230
|
renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
|
178
231
|
renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
|
179
|
-
errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
232
|
+
errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
180
233
|
};
|
181
234
|
$forceUpdate: () => void;
|
182
235
|
$nextTick: typeof vue.nextTick;
|
@@ -203,6 +256,7 @@ declare const VRadio: {
|
|
203
256
|
class?: any;
|
204
257
|
theme?: string | undefined;
|
205
258
|
modelValue?: any;
|
259
|
+
defaultsTarget?: string | undefined;
|
206
260
|
trueValue?: any;
|
207
261
|
falseValue?: any;
|
208
262
|
} & {
|
@@ -255,6 +309,7 @@ declare const VRadio: {
|
|
255
309
|
class?: any;
|
256
310
|
theme?: string | undefined;
|
257
311
|
modelValue?: any;
|
312
|
+
defaultsTarget?: string | undefined;
|
258
313
|
trueValue?: any;
|
259
314
|
falseValue?: any;
|
260
315
|
} & {
|
@@ -293,15 +348,34 @@ declare const VRadio: {
|
|
293
348
|
falseIcon: NonNullable<IconValue>;
|
294
349
|
trueIcon: NonNullable<IconValue>;
|
295
350
|
valueComparator: typeof deepEqual;
|
296
|
-
}, {}, string
|
351
|
+
}, {}, string, vue.SlotsType<Partial<{
|
352
|
+
default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
353
|
+
[key: string]: any;
|
354
|
+
}>[];
|
355
|
+
label: (args_0: {
|
356
|
+
label: string | undefined;
|
357
|
+
props: Record<string, unknown>;
|
358
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
359
|
+
[key: string]: any;
|
360
|
+
}>[];
|
361
|
+
input: (args_0: SelectionControlSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
362
|
+
[key: string]: any;
|
363
|
+
}>[];
|
364
|
+
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
365
|
+
theme: StringConstructor;
|
297
366
|
density: {
|
298
367
|
type: vue.PropType<Density>;
|
299
368
|
default: string;
|
300
369
|
validator: (v: any) => boolean;
|
301
370
|
};
|
302
|
-
|
371
|
+
class: vue.PropType<any>;
|
372
|
+
style: {
|
373
|
+
type: vue.PropType<vue.StyleValue>;
|
374
|
+
default: null;
|
375
|
+
};
|
303
376
|
color: StringConstructor;
|
304
377
|
disabled: BooleanConstructor;
|
378
|
+
defaultsTarget: StringConstructor;
|
305
379
|
error: BooleanConstructor;
|
306
380
|
id: StringConstructor;
|
307
381
|
inline: BooleanConstructor;
|
@@ -329,24 +403,25 @@ declare const VRadio: {
|
|
329
403
|
type: vue.PropType<typeof deepEqual>;
|
330
404
|
default: typeof deepEqual;
|
331
405
|
};
|
332
|
-
class: vue.PropType<any>;
|
333
|
-
style: {
|
334
|
-
type: vue.PropType<vue.StyleValue>;
|
335
|
-
default: null;
|
336
|
-
};
|
337
406
|
label: StringConstructor;
|
338
407
|
trueValue: null;
|
339
408
|
falseValue: null;
|
340
409
|
value: null;
|
341
410
|
}, vue.ExtractPropTypes<{
|
411
|
+
theme: StringConstructor;
|
342
412
|
density: {
|
343
413
|
type: vue.PropType<Density>;
|
344
414
|
default: string;
|
345
415
|
validator: (v: any) => boolean;
|
346
416
|
};
|
347
|
-
|
417
|
+
class: vue.PropType<any>;
|
418
|
+
style: {
|
419
|
+
type: vue.PropType<vue.StyleValue>;
|
420
|
+
default: null;
|
421
|
+
};
|
348
422
|
color: StringConstructor;
|
349
423
|
disabled: BooleanConstructor;
|
424
|
+
defaultsTarget: StringConstructor;
|
350
425
|
error: BooleanConstructor;
|
351
426
|
id: StringConstructor;
|
352
427
|
inline: BooleanConstructor;
|
@@ -374,11 +449,6 @@ declare const VRadio: {
|
|
374
449
|
type: vue.PropType<typeof deepEqual>;
|
375
450
|
default: typeof deepEqual;
|
376
451
|
};
|
377
|
-
class: vue.PropType<any>;
|
378
|
-
style: {
|
379
|
-
type: vue.PropType<vue.StyleValue>;
|
380
|
-
default: null;
|
381
|
-
};
|
382
452
|
label: StringConstructor;
|
383
453
|
trueValue: null;
|
384
454
|
falseValue: null;
|