@vuetify/nightly 3.7.4-next.2024-11-06 → 3.7.5-master.2024-12-03
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 +1561 -1561
- package/dist/json/importMap-labs.json +8 -8
- package/dist/json/importMap.json +120 -120
- package/dist/json/web-types.json +2945 -2945
- package/dist/vuetify-labs.css +25432 -23715
- package/dist/vuetify-labs.d.ts +14220 -3389
- package/dist/vuetify-labs.esm.js +73 -70
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +73 -70
- package/dist/vuetify-labs.min.css +4 -3
- package/dist/vuetify.css +23969 -22249
- package/dist/vuetify.d.ts +11832 -2652
- package/dist/vuetify.esm.js +62 -60
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +62 -60
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +4 -3
- package/dist/vuetify.min.js +37 -37
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.css +215 -207
- package/lib/components/VAlert/VAlert.mjs +1 -1
- package/lib/components/VAlert/index.d.mts +86 -8
- package/lib/components/VApp/VApp.css +15 -16
- package/lib/components/VApp/index.d.mts +20 -4
- package/lib/components/VAppBar/VAppBar.css +12 -14
- package/lib/components/VAppBar/VAppBar.mjs +1 -1
- package/lib/components/VAppBar/VAppBarNavIcon.mjs +1 -1
- package/lib/components/VAppBar/VAppBarTitle.mjs +1 -1
- package/lib/components/VAppBar/index.d.mts +148 -12
- package/lib/components/VAutocomplete/VAutocomplete.css +85 -86
- package/lib/components/VAutocomplete/VAutocomplete.mjs +5 -5
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +1396 -237
- package/lib/components/VAvatar/VAvatar.css +106 -108
- package/lib/components/VAvatar/index.d.mts +31 -4
- package/lib/components/VBadge/VBadge.css +77 -73
- package/lib/components/VBadge/VBadge.mjs +1 -1
- package/lib/components/VBadge/VBadge.sass +4 -0
- package/lib/components/VBadge/index.d.mts +41 -4
- package/lib/components/VBanner/VBanner.css +166 -161
- package/lib/components/VBanner/VBanner.mjs +1 -1
- package/lib/components/VBanner/index.d.mts +88 -12
- package/lib/components/VBottomNavigation/VBottomNavigation.css +63 -64
- package/lib/components/VBottomNavigation/index.d.mts +32 -4
- package/lib/components/VBottomSheet/VBottomSheet.css +31 -34
- package/lib/components/VBottomSheet/VBottomSheet.mjs +1 -1
- package/lib/components/VBottomSheet/index.d.mts +88 -4
- package/lib/components/VBreadcrumbs/VBreadcrumbs.css +57 -54
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +1 -1
- package/lib/components/VBreadcrumbs/index.d.mts +65 -12
- package/lib/components/VBtn/VBtn.css +408 -385
- package/lib/components/VBtn/VBtn.mjs +1 -1
- package/lib/components/VBtn/VBtn.sass +4 -4
- package/lib/components/VBtn/index.d.mts +72 -4
- package/lib/components/VBtnGroup/VBtnGroup.css +64 -63
- package/lib/components/VBtnGroup/VBtnGroup.mjs +1 -1
- package/lib/components/VBtnGroup/index.d.mts +28 -4
- package/lib/components/VBtnToggle/VBtnToggle.css +14 -16
- package/lib/components/VBtnToggle/VBtnToggle.mjs +1 -1
- package/lib/components/VBtnToggle/index.d.mts +24 -4
- package/lib/components/VCard/VCard.css +302 -294
- package/lib/components/VCard/VCard.mjs +1 -1
- package/lib/components/VCard/VCardItem.mjs +1 -1
- package/lib/components/VCard/VCardSubtitle.mjs +1 -1
- package/lib/components/VCard/VCardText.mjs +1 -1
- package/lib/components/VCard/index.d.mts +190 -24
- package/lib/components/VCarousel/VCarousel.css +65 -63
- package/lib/components/VCarousel/VCarousel.mjs +1 -1
- package/lib/components/VCarousel/VCarousel.sass +1 -1
- package/lib/components/VCarousel/VCarouselItem.mjs +1 -1
- package/lib/components/VCarousel/index.d.mts +86 -8
- package/lib/components/VCheckbox/VCheckbox.css +5 -7
- package/lib/components/VCheckbox/VCheckbox.mjs +1 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs +1 -1
- package/lib/components/VCheckbox/index.d.mts +90 -8
- package/lib/components/VChip/VChip.css +411 -378
- package/lib/components/VChip/VChip.mjs +4 -3
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/index.d.mts +113 -12
- package/lib/components/VChipGroup/VChipGroup.css +18 -19
- package/lib/components/VChipGroup/VChipGroup.mjs +1 -1
- package/lib/components/VChipGroup/index.d.mts +28 -4
- package/lib/components/VCode/VCode.css +8 -10
- package/lib/components/VCode/index.d.mts +18 -4
- package/lib/components/VColorPicker/VColorPicker.css +22 -22
- package/lib/components/VColorPicker/VColorPicker.mjs +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.css +22 -24
- package/lib/components/VColorPicker/VColorPickerEdit.css +28 -29
- package/lib/components/VColorPicker/VColorPickerPreview.css +67 -69
- package/lib/components/VColorPicker/VColorPickerPreview.sass +2 -4
- package/lib/components/VColorPicker/VColorPickerSwatches.css +34 -34
- package/lib/components/VColorPicker/index.d.mts +68 -4
- package/lib/components/VCombobox/VCombobox.css +85 -86
- package/lib/components/VCombobox/VCombobox.mjs +5 -5
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.mts +1396 -237
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs +9 -7
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs.map +1 -1
- package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs +2 -2
- package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs.map +1 -1
- package/lib/components/VConfirmEdit/index.d.mts +16 -13
- package/lib/components/VCounter/VCounter.css +5 -7
- package/lib/components/VCounter/VCounter.mjs +1 -1
- package/lib/components/VCounter/index.d.mts +31 -9
- package/lib/components/VDataIterator/index.d.mts +56 -12
- package/lib/components/VDataTable/VDataTable.css +186 -189
- package/lib/components/VDataTable/VDataTable.mjs +1 -1
- package/lib/components/VDataTable/VDataTable.sass +10 -20
- package/lib/components/VDataTable/VDataTableFooter.css +31 -33
- package/lib/components/VDataTable/VDataTableFooter.mjs +1 -1
- package/lib/components/VDataTable/VDataTableGroupHeaderRow.mjs +1 -1
- package/lib/components/VDataTable/VDataTableHeaders.mjs +1 -1
- package/lib/components/VDataTable/VDataTableRow.mjs +1 -1
- package/lib/components/VDataTable/VDataTableRows.mjs +1 -1
- package/lib/components/VDataTable/VDataTableServer.mjs +1 -1
- package/lib/components/VDataTable/VDataTableVirtual.mjs +1 -1
- package/lib/components/VDataTable/index.d.mts +388 -36
- package/lib/components/VDatePicker/VDatePicker.css +6 -8
- package/lib/components/VDatePicker/VDatePicker.mjs +1 -1
- package/lib/components/VDatePicker/VDatePickerControls.css +56 -54
- package/lib/components/VDatePicker/VDatePickerHeader.css +60 -56
- package/lib/components/VDatePicker/VDatePickerHeader.mjs +2 -1
- package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.css +55 -51
- package/lib/components/VDatePicker/VDatePickerMonth.mjs +1 -1
- package/lib/components/VDatePicker/VDatePickerMonths.css +19 -20
- package/lib/components/VDatePicker/VDatePickerMonths.mjs +1 -1
- package/lib/components/VDatePicker/VDatePickerYears.css +15 -16
- package/lib/components/VDatePicker/VDatePickerYears.mjs +1 -1
- package/lib/components/VDatePicker/index.d.mts +281 -29
- package/lib/components/VDefaultsProvider/index.d.mts +20 -4
- package/lib/components/VDialog/VDialog.css +95 -95
- package/lib/components/VDialog/VDialog.mjs +1 -1
- package/lib/components/VDialog/__test__/VDialog.spec.cy.mjs +1 -1
- package/lib/components/VDialog/index.d.mts +389 -143
- package/lib/components/VDivider/VDivider.css +52 -52
- package/lib/components/VDivider/index.d.mts +24 -4
- package/lib/components/VEmptyState/VEmptyState.css +67 -62
- package/lib/components/VEmptyState/VEmptyState.mjs +1 -1
- package/lib/components/VEmptyState/index.d.mts +66 -4
- package/lib/components/VExpansionPanel/VExpansionPanel.css +209 -203
- package/lib/components/VExpansionPanel/VExpansionPanel.sass +25 -27
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +1 -1
- package/lib/components/VExpansionPanel/index.d.mts +152 -16
- package/lib/components/VFab/VFab.css +69 -74
- package/lib/components/VFab/VFab.mjs +1 -1
- package/lib/components/VFab/VFab.sass +4 -5
- package/lib/components/VFab/index.d.mts +78 -9
- package/lib/components/VField/VField.css +579 -539
- package/lib/components/VField/VField.mjs +3 -2
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VFieldLabel.mjs +1 -1
- package/lib/components/VField/index.d.mts +59 -11
- package/lib/components/VFileInput/VFileInput.css +29 -31
- package/lib/components/VFileInput/VFileInput.mjs +1 -1
- package/lib/components/VFileInput/index.d.mts +256 -71
- package/lib/components/VFooter/VFooter.css +36 -38
- package/lib/components/VFooter/VFooter.mjs +1 -1
- package/lib/components/VFooter/index.d.mts +29 -4
- package/lib/components/VForm/index.d.mts +175 -267
- package/lib/components/VGrid/VContainer.mjs +1 -1
- package/lib/components/VGrid/VGrid.css +592 -565
- package/lib/components/VGrid/index.d.mts +118 -16
- package/lib/components/VHover/index.d.mts +33 -4
- package/lib/components/VIcon/VIcon.css +52 -51
- package/lib/components/VIcon/index.d.mts +75 -17
- package/lib/components/VImg/VImg.css +51 -50
- package/lib/components/VImg/VImg.mjs +1 -1
- package/lib/components/VImg/index.d.mts +74 -19
- package/lib/components/VInfiniteScroll/VInfiniteScroll.css +37 -36
- package/lib/components/VInfiniteScroll/VInfiniteScroll.mjs +1 -1
- package/lib/components/VInfiniteScroll/index.d.mts +46 -4
- package/lib/components/VInput/VInput.css +142 -131
- package/lib/components/VInput/VInput.mjs +1 -1
- package/lib/components/VInput/index.d.mts +37 -4
- package/lib/components/VItemGroup/VItemGroup.css +5 -7
- package/lib/components/VItemGroup/index.d.mts +65 -8
- package/lib/components/VKbd/VKbd.css +11 -13
- package/lib/components/VKbd/index.d.mts +18 -4
- package/lib/components/VLabel/VLabel.css +15 -16
- package/lib/components/VLabel/index.d.mts +20 -4
- package/lib/components/VLayout/VLayout.css +8 -10
- package/lib/components/VLayout/VLayoutItem.css +7 -8
- package/lib/components/VLayout/index.d.mts +48 -8
- package/lib/components/VLazy/VLazy.mjs +1 -1
- package/lib/components/VLazy/index.d.mts +31 -4
- package/lib/components/VList/VList.css +108 -104
- package/lib/components/VList/VList.mjs +4 -3
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VList.sass +1 -1
- package/lib/components/VList/VListChildren.mjs +1 -1
- package/lib/components/VList/VListGroup.mjs +1 -1
- package/lib/components/VList/VListItem.css +452 -440
- package/lib/components/VList/VListItem.mjs +4 -3
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItem.sass +1 -2
- package/lib/components/VList/VListItemAction.mjs +1 -1
- package/lib/components/VList/VListItemMedia.mjs +1 -1
- package/lib/components/VList/VListItemSubtitle.mjs +1 -1
- package/lib/components/VList/index.d.mts +301 -58
- package/lib/components/VLocaleProvider/VLocaleProvider.css +2 -4
- package/lib/components/VLocaleProvider/index.d.mts +21 -4
- package/lib/components/VMain/VMain.css +30 -32
- package/lib/components/VMain/index.d.mts +25 -4
- package/lib/components/VMenu/VMenu.css +19 -21
- package/lib/components/VMenu/VMenu.mjs +1 -1
- package/lib/components/VMenu/index.d.mts +397 -155
- package/lib/components/VMessages/VMessages.css +15 -17
- package/lib/components/VMessages/index.d.mts +27 -4
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +108 -106
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +1 -1
- package/lib/components/VNavigationDrawer/index.d.mts +62 -7
- package/lib/components/VOtpInput/VOtpInput.css +58 -56
- package/lib/components/VOtpInput/VOtpInput.mjs +1 -1
- package/lib/components/VOtpInput/index.d.mts +52 -7
- package/lib/components/VOverlay/VOverlay.css +63 -60
- package/lib/components/VOverlay/VOverlay.mjs +1 -1
- package/lib/components/VOverlay/VOverlay.sass +13 -14
- package/lib/components/VOverlay/index.d.mts +101 -19
- package/lib/components/VPagination/VPagination.css +8 -10
- package/lib/components/VPagination/VPagination.mjs +1 -1
- package/lib/components/VPagination/index.d.mts +64 -4
- package/lib/components/VParallax/VParallax.css +6 -8
- package/lib/components/VParallax/VParallax.mjs +1 -1
- package/lib/components/VParallax/index.d.mts +27 -4
- package/lib/components/VProgressCircular/VProgressCircular.css +101 -95
- package/lib/components/VProgressCircular/index.d.mts +34 -4
- package/lib/components/VProgressLinear/VProgressLinear.css +222 -209
- package/lib/components/VProgressLinear/index.d.mts +54 -4
- package/lib/components/VRadio/VRadio.mjs +1 -1
- package/lib/components/VRadio/index.d.mts +68 -4
- package/lib/components/VRadioGroup/VRadioGroup.css +12 -14
- package/lib/components/VRadioGroup/VRadioGroup.mjs +1 -1
- package/lib/components/VRadioGroup/index.d.mts +48 -4
- package/lib/components/VRangeSlider/VRangeSlider.mjs +1 -1
- package/lib/components/VRangeSlider/index.d.mts +107 -4
- package/lib/components/VRating/VRating.css +53 -52
- package/lib/components/VRating/VRating.mjs +1 -1
- package/lib/components/VRating/index.d.mts +42 -4
- package/lib/components/VResponsive/VResponsive.css +26 -25
- package/lib/components/VResponsive/index.d.mts +29 -4
- package/lib/components/VSelect/VSelect.css +52 -54
- package/lib/components/VSelect/VSelect.mjs +4 -4
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +1388 -236
- package/lib/components/VSelectionControl/VSelectionControl.css +102 -100
- package/lib/components/VSelectionControl/VSelectionControl.mjs +1 -1
- package/lib/components/VSelectionControl/index.d.mts +37 -10
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +8 -10
- package/lib/components/VSelectionControlGroup/index.d.mts +26 -4
- package/lib/components/VSheet/VSheet.css +36 -38
- package/lib/components/VSheet/VSheet.mjs +1 -1
- package/lib/components/VSheet/index.d.mts +32 -4
- package/lib/components/VSkeletonLoader/VSkeletonLoader.css +224 -225
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +1 -1
- package/lib/components/VSkeletonLoader/index.d.mts +28 -4
- package/lib/components/VSlideGroup/VSlideGroup.css +55 -53
- package/lib/components/VSlideGroup/index.d.mts +70 -14
- package/lib/components/VSlider/VSlider.css +57 -53
- package/lib/components/VSlider/VSlider.mjs +1 -1
- package/lib/components/VSlider/VSliderThumb.css +153 -142
- package/lib/components/VSlider/VSliderThumb.mjs +1 -1
- package/lib/components/VSlider/VSliderTrack.css +174 -155
- package/lib/components/VSlider/index.d.mts +106 -4
- package/lib/components/VSnackbar/VSnackbar.css +140 -140
- package/lib/components/VSnackbar/VSnackbar.mjs +1 -1
- package/lib/components/VSnackbar/index.d.mts +398 -152
- package/lib/components/VSparkline/VBarline.mjs +2 -1
- package/lib/components/VSparkline/VBarline.mjs.map +1 -1
- package/lib/components/VSparkline/VSparkline.mjs +1 -1
- package/lib/components/VSparkline/VTrendline.mjs +2 -1
- package/lib/components/VSparkline/VTrendline.mjs.map +1 -1
- package/lib/components/VSparkline/index.d.mts +49 -4
- package/lib/components/VSpeedDial/VSpeedDial.css +41 -43
- package/lib/components/VSpeedDial/VSpeedDial.mjs +1 -1
- package/lib/components/VSpeedDial/index.d.mts +85 -4
- package/lib/components/VStepper/VStepper.css +56 -55
- package/lib/components/VStepper/VStepper.mjs +6 -5
- package/lib/components/VStepper/VStepper.mjs.map +1 -1
- package/lib/components/VStepper/VStepperItem.css +115 -112
- package/lib/components/VStepper/VStepperItem.mjs +6 -5
- package/lib/components/VStepper/VStepperItem.mjs.map +1 -1
- package/lib/components/VStepper/VStepperWindow.mjs +1 -1
- package/lib/components/VStepper/VStepperWindowItem.mjs +1 -1
- package/lib/components/VStepper/index.d.mts +301 -69
- package/lib/components/VSwitch/VSwitch.css +139 -129
- package/lib/components/VSwitch/VSwitch.mjs +1 -1
- package/lib/components/VSwitch/index.d.mts +59 -4
- package/lib/components/VSystemBar/VSystemBar.css +43 -45
- package/lib/components/VSystemBar/VSystemBar.mjs +1 -1
- package/lib/components/VSystemBar/index.d.mts +28 -4
- package/lib/components/VTable/VTable.css +141 -140
- package/lib/components/VTable/VTable.sass +2 -4
- package/lib/components/VTable/index.d.mts +33 -4
- package/lib/components/VTabs/VTab.css +29 -30
- package/lib/components/VTabs/VTab.mjs +1 -1
- package/lib/components/VTabs/VTabs.css +65 -59
- package/lib/components/VTabs/VTabs.mjs +1 -1
- package/lib/components/VTabs/VTabsWindow.mjs +1 -1
- package/lib/components/VTabs/VTabsWindowItem.mjs +1 -1
- package/lib/components/VTabs/index.d.mts +394 -98
- package/lib/components/VTextField/VTextField.css +68 -65
- package/lib/components/VTextField/VTextField.mjs +1 -1
- package/lib/components/VTextField/index.d.mts +374 -152
- package/lib/components/VTextarea/VTextarea.css +39 -47
- package/lib/components/VTextarea/VTextarea.mjs +1 -1
- package/lib/components/VTextarea/VTextarea.sass +2 -4
- package/lib/components/VTextarea/index.d.mts +244 -71
- package/lib/components/VThemeProvider/VThemeProvider.css +3 -5
- package/lib/components/VThemeProvider/index.d.mts +20 -4
- package/lib/components/VTimeline/VTimeline.css +418 -379
- package/lib/components/VTimeline/VTimeline.mjs +1 -1
- package/lib/components/VTimeline/VTimelineDivider.mjs +1 -1
- package/lib/components/VTimeline/VTimelineItem.mjs +1 -1
- package/lib/components/VTimeline/index.d.mts +75 -8
- package/lib/components/VToolbar/VToolbar.css +143 -136
- package/lib/components/VToolbar/VToolbar.mjs +1 -1
- package/lib/components/VToolbar/index.d.mts +90 -12
- package/lib/components/VTooltip/VTooltip.css +21 -25
- package/lib/components/VTooltip/VTooltip.mjs +1 -1
- package/lib/components/VTooltip/VTooltip.sass +6 -8
- package/lib/components/VTooltip/index.d.mts +386 -147
- package/lib/components/VValidation/index.d.mts +24 -10
- package/lib/components/VVirtualScroll/VVirtualScroll.css +9 -11
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs +1 -1
- package/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +1 -1
- package/lib/components/VVirtualScroll/index.d.mts +15 -4
- package/lib/components/VWindow/VWindow.css +70 -73
- package/lib/components/VWindow/VWindow.mjs +1 -1
- package/lib/components/VWindow/VWindowItem.mjs +1 -1
- package/lib/components/VWindow/index.d.mts +47 -8
- package/lib/components/index.d.mts +11793 -2613
- package/lib/components/transitions/dialog-transition.mjs +2 -1
- package/lib/components/transitions/dialog-transition.mjs.map +1 -1
- package/lib/components/transitions/index.d.mts +309 -64
- package/lib/composables/form.mjs +7 -2
- package/lib/composables/form.mjs.map +1 -1
- package/lib/composables/icons.mjs +1 -1
- package/lib/composables/theme.mjs +4 -4
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/composables/validation.mjs +10 -12
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/composables/variant.mjs +1 -1
- package/lib/composables/virtual.mjs +1 -1
- package/lib/composables/virtual.mjs.map +1 -1
- package/lib/directives/ripple/VRipple.css +36 -38
- package/lib/entry-bundler.mjs +1 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.mts +44 -44
- package/lib/labs/VCalendar/VCalendar.css +225 -219
- package/lib/labs/VCalendar/VCalendar.mjs +1 -1
- package/lib/labs/VCalendar/VCalendarDay.css +32 -33
- package/lib/labs/VCalendar/VCalendarDay.mjs +1 -1
- package/lib/labs/VCalendar/VCalendarHeader.css +13 -13
- package/lib/labs/VCalendar/VCalendarInterval.css +42 -43
- package/lib/labs/VCalendar/VCalendarIntervalEvent.css +5 -7
- package/lib/labs/VCalendar/VCalendarMonthDay.css +58 -61
- package/lib/labs/VCalendar/VCalendarMonthDay.sass +2 -3
- package/lib/labs/VCalendar/index.d.mts +211 -24
- package/lib/labs/VDateInput/VDateInput.mjs +2 -2
- package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
- package/lib/labs/VDateInput/index.d.mts +115 -4
- package/lib/labs/VNumberInput/VNumberInput.css +38 -40
- package/lib/labs/VNumberInput/VNumberInput.mjs +8 -6
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/index.d.mts +1267 -564
- package/lib/labs/VPicker/VPicker.css +57 -53
- package/lib/labs/VPicker/VPicker.mjs +1 -1
- package/lib/labs/VPicker/index.d.mts +63 -8
- package/lib/labs/VPullToRefresh/index.d.mts +35 -4
- package/lib/labs/VSnackbarQueue/VSnackbarQueue.mjs +1 -1
- package/lib/labs/VSnackbarQueue/index.d.mts +453 -156
- package/lib/labs/VStepperVertical/VStepperVertical.mjs +1 -1
- package/lib/labs/VStepperVertical/VStepperVerticalActions.mjs +1 -1
- package/lib/labs/VStepperVertical/VStepperVerticalItem.mjs +1 -1
- package/lib/labs/VStepperVertical/index.d.mts +271 -56
- package/lib/labs/VTimePicker/VTimePicker.css +7 -9
- package/lib/labs/VTimePicker/VTimePicker.mjs +1 -1
- package/lib/labs/VTimePicker/VTimePickerClock.css +129 -126
- package/lib/labs/VTimePicker/VTimePickerControls.css +103 -102
- package/lib/labs/VTimePicker/VTimePickerControls.mjs +1 -1
- package/lib/labs/VTimePicker/index.d.mts +122 -12
- package/lib/labs/VTreeview/VTreeview.mjs +1 -1
- package/lib/labs/VTreeview/VTreeviewChildren.mjs +1 -1
- package/lib/labs/VTreeview/VTreeviewGroup.mjs +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.css +15 -17
- package/lib/labs/VTreeview/VTreeviewItem.mjs +4 -5
- package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.sass +1 -2
- package/lib/labs/VTreeview/index.d.mts +225 -38
- package/lib/labs/components.d.mts +2940 -1043
- package/lib/locale/fr.mjs +1 -1
- package/lib/locale/fr.mjs.map +1 -1
- package/lib/styles/elements/_global.sass +1 -1
- package/lib/styles/generic/_colors.scss +3 -3
- package/lib/styles/generic/_layers.scss +1 -13
- package/lib/styles/generic/_transitions.scss +32 -32
- package/lib/styles/main.css +16139 -14666
- package/lib/styles/settings/_utilities.scss +5 -0
- package/lib/styles/settings/_variables.scss +2 -1
- package/lib/styles/tools/_bootable.sass +3 -0
- package/lib/styles/tools/_border.sass +4 -4
- package/lib/styles/tools/_display.sass +10 -0
- package/lib/styles/tools/_elevation.sass +2 -2
- package/lib/styles/tools/_index.sass +2 -0
- package/lib/styles/tools/_layer.scss +2 -4
- package/lib/styles/tools/_position.sass +2 -2
- package/lib/styles/tools/_radius.sass +10 -0
- package/lib/styles/tools/_rounded.sass +2 -2
- package/lib/styles/tools/_utilities.sass +5 -1
- package/lib/styles/utilities/_elevation.scss +1 -1
- package/package.json +4 -5
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { createVNode as _createVNode, mergeProps as _mergeProps, Fragment as _Fragment } from "vue";
|
2
2
|
// Components
|
3
3
|
import { VBtn } from "../VBtn/index.mjs"; // Composables
|
4
4
|
import { useLocale } from "../../composables/index.mjs";
|
@@ -49,21 +49,23 @@ export const VConfirmEdit = genericComponent()({
|
|
49
49
|
internalModel.value = structuredClone(toRaw(model.value));
|
50
50
|
emit('cancel');
|
51
51
|
}
|
52
|
-
|
53
|
-
|
54
|
-
const actions = _createVNode(_Fragment, null, [_createVNode(VBtn, {
|
52
|
+
function actions(actionsProps) {
|
53
|
+
return _createVNode(_Fragment, null, [_createVNode(VBtn, _mergeProps({
|
55
54
|
"disabled": isPristine.value,
|
56
55
|
"variant": "text",
|
57
56
|
"color": props.color,
|
58
57
|
"onClick": cancel,
|
59
58
|
"text": t(props.cancelText)
|
60
|
-
}, null), _createVNode(VBtn, {
|
59
|
+
}, actionsProps), null), _createVNode(VBtn, _mergeProps({
|
61
60
|
"disabled": isPristine.value,
|
62
61
|
"variant": "text",
|
63
62
|
"color": props.color,
|
64
63
|
"onClick": save,
|
65
64
|
"text": t(props.okText)
|
66
|
-
}, null)]);
|
65
|
+
}, actionsProps), null)]);
|
66
|
+
}
|
67
|
+
let actionsUsed = false;
|
68
|
+
useRender(() => {
|
67
69
|
return _createVNode(_Fragment, null, [slots.default?.({
|
68
70
|
model: internalModel,
|
69
71
|
save,
|
@@ -73,7 +75,7 @@ export const VConfirmEdit = genericComponent()({
|
|
73
75
|
actionsUsed = true;
|
74
76
|
return actions;
|
75
77
|
}
|
76
|
-
}), !actionsUsed && actions]);
|
78
|
+
}), !actionsUsed && actions()]);
|
77
79
|
});
|
78
80
|
return {
|
79
81
|
save,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VConfirmEdit.mjs","names":["VBtn","useLocale","useProxiedModel","computed","ref","toRaw","watchEffect","deepEqual","genericComponent","propsFactory","useRender","makeVConfirmEditProps","modelValue","color","String","cancelText","type","default","okText","VConfirmEdit","name","props","emits","cancel","save","value","setup","_ref","emit","slots","model","internalModel","structuredClone","t","isPristine","
|
1
|
+
{"version":3,"file":"VConfirmEdit.mjs","names":["VBtn","useLocale","useProxiedModel","computed","ref","toRaw","watchEffect","deepEqual","genericComponent","propsFactory","useRender","makeVConfirmEditProps","modelValue","color","String","cancelText","type","default","okText","VConfirmEdit","name","props","emits","cancel","save","value","setup","_ref","emit","slots","model","internalModel","structuredClone","t","isPristine","actions","actionsProps","_createVNode","_Fragment","_mergeProps","actionsUsed"],"sources":["../../../src/components/VConfirmEdit/VConfirmEdit.tsx"],"sourcesContent":["// Components\nimport { VBtn } from '@/components/VBtn'\n\n// Composables\nimport { useLocale } from '@/composables'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, ref, toRaw, watchEffect } from 'vue'\nimport { deepEqual, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { Ref, VNode } from 'vue'\nimport type { GenericProps } from '@/util'\n\nexport type VConfirmEditSlots<T> = {\n default: {\n model: Ref<T>\n save: () => void\n cancel: () => void\n isPristine: boolean\n get actions (): (props?: {}) => VNode\n }\n}\n\nexport const makeVConfirmEditProps = propsFactory({\n modelValue: null,\n color: String,\n cancelText: {\n type: String,\n default: '$vuetify.confirmEdit.cancel',\n },\n okText: {\n type: String,\n default: '$vuetify.confirmEdit.ok',\n },\n}, 'VConfirmEdit')\n\nexport const VConfirmEdit = genericComponent<new <T> (\n props: {\n modelValue?: T\n 'onUpdate:modelValue'?: (value: T) => void\n 'onSave'?: (value: T) => void\n },\n slots: VConfirmEditSlots<T>\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VConfirmEdit',\n\n props: makeVConfirmEditProps(),\n\n emits: {\n cancel: () => true,\n save: (value: any) => true,\n 'update:modelValue': (value: any) => true,\n },\n\n setup (props, { emit, slots }) {\n const model = useProxiedModel(props, 'modelValue')\n const internalModel = ref()\n watchEffect(() => {\n internalModel.value = structuredClone(toRaw(model.value))\n })\n\n const { t } = useLocale()\n\n const isPristine = computed(() => {\n return deepEqual(model.value, internalModel.value)\n })\n\n function save () {\n model.value = internalModel.value\n emit('save', internalModel.value)\n }\n\n function cancel () {\n internalModel.value = structuredClone(toRaw(model.value))\n emit('cancel')\n }\n\n function actions (actionsProps?: {}) {\n return (\n <>\n <VBtn\n disabled={ isPristine.value }\n variant=\"text\"\n color={ props.color }\n onClick={ cancel }\n text={ t(props.cancelText) }\n { ...actionsProps }\n />\n\n <VBtn\n disabled={ isPristine.value }\n variant=\"text\"\n color={ props.color }\n onClick={ save }\n text={ t(props.okText) }\n { ...actionsProps }\n />\n </>\n )\n }\n\n let actionsUsed = false\n useRender(() => {\n return (\n <>\n {\n slots.default?.({\n model: internalModel,\n save,\n cancel,\n isPristine: isPristine.value,\n get actions () {\n actionsUsed = true\n return actions\n },\n })\n }\n\n { !actionsUsed && actions() }\n </>\n )\n })\n\n return {\n save,\n cancel,\n isPristine,\n }\n },\n})\n\nexport type VConfirmEdit = InstanceType<typeof VConfirmEdit>\n"],"mappings":";AAAA;AAAA,SACSA,IAAI,6BAEb;AAAA,SACSC,SAAS;AAAA,SACTC,eAAe,8CAExB;AAC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@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { createTextVNode as _createTextVNode, Fragment as _Fragment, createVNode as _createVNode } from "vue";
|
2
2
|
// Components
|
3
3
|
import { VConfirmEdit } from "../index.mjs"; // Utilities
|
4
4
|
import { render, screen, userEvent } from '@test';
|
@@ -77,7 +77,7 @@ describe('VConfirmEdit', () => {
|
|
77
77
|
let {
|
78
78
|
actions
|
79
79
|
} = _ref5;
|
80
|
-
return actions;
|
80
|
+
return actions();
|
81
81
|
}
|
82
82
|
}));
|
83
83
|
expect(screen.getAllByCSS('button')).toHaveLength(2);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VConfirmEdit.spec.browser.mjs","names":["VConfirmEdit","render","screen","userEvent","nextTick","shallowRef","describe","it","externalModel","_createVNode","value","default","_ref","model","expect","getByText","toBeInTheDocument","$event","_ref2","_Fragment","join","onClick","push","_createTextVNode","click","getByTestId","toEqual","getAllByCSS","toHaveLength","_ref3","_ref4","actions","queryAllByCSS","_ref5"],"sources":["../../../../src/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.tsx"],"sourcesContent":["// Components\nimport { VConfirmEdit } from '../'\n\n// Utilities\nimport { render, screen, userEvent } from '@test'\nimport { nextTick, shallowRef } from 'vue'\n\ndescribe('VConfirmEdit', () => {\n it('mirrors external updates', async () => {\n const externalModel = shallowRef('foo')\n\n render(() => (\n <VConfirmEdit modelValue={ externalModel.value }>\n { ({ model }) => (\n <p>{ model.value }</p>\n )}\n </VConfirmEdit>\n ))\n\n expect(screen.getByText('foo')).toBeInTheDocument()\n\n externalModel.value = 'bar'\n await nextTick()\n expect(screen.getByText('bar')).toBeInTheDocument()\n })\n\n it(\"doesn't mutate the original value\", async () => {\n const externalModel = shallowRef(['foo'])\n\n render(() => (\n <VConfirmEdit v-model={ externalModel.value } modelValue={ externalModel.value }>\n { ({ model }) => (\n <>\n <p>{ model.value.join(',') }</p>\n <button data-testid=\"push\" onClick={ () => model.value.push('bar') }>Push</button>\n </>\n )}\n </VConfirmEdit>\n ))\n\n expect(screen.getByText('foo')).toBeInTheDocument()\n\n await userEvent.click(screen.getByTestId('push'))\n expect(screen.getByText('foo,bar')).toBeInTheDocument()\n expect(externalModel.value).toEqual(['foo'])\n\n await userEvent.click(screen.getByText('OK'))\n expect(externalModel.value).toEqual(['foo', 'bar'])\n })\n\n describe('hides actions if used from the slot', () => {\n it('nothing', () => {\n render(() => <VConfirmEdit />)\n expect(screen.getAllByCSS('button')).toHaveLength(2)\n })\n\n it('consume model', () => {\n render(() => (\n <VConfirmEdit>\n { ({ model }) => {\n void model\n }}\n </VConfirmEdit>\n ))\n expect(screen.getAllByCSS('button')).toHaveLength(2)\n })\n\n it('consume actions', () => {\n render(() => (\n <VConfirmEdit>\n { ({ actions }) => {\n void actions\n }}\n </VConfirmEdit>\n ))\n expect(screen.queryAllByCSS('button')).toHaveLength(0)\n })\n\n it('render actions', () => {\n render(() => (\n <VConfirmEdit>\n { ({ actions }) => actions }\n </VConfirmEdit>\n ))\n expect(screen.getAllByCSS('button')).toHaveLength(2)\n })\n })\n})\n"],"mappings":";AAAA;AAAA,SACSA,YAAY,wBAErB;AACA,SAASC,MAAM,EAAEC,MAAM,EAAEC,SAAS,QAAQ,OAAO;AACjD,SAASC,QAAQ,EAAEC,UAAU,QAAQ,KAAK;AAE1CC,QAAQ,CAAC,cAAc,EAAE,MAAM;EAC7BC,EAAE,CAAC,0BAA0B,EAAE,YAAY;IACzC,MAAMC,aAAa,GAAGH,UAAU,CAAC,KAAK,CAAC;IAEvCJ,MAAM,CAAC,MAAAQ,YAAA,CAAAT,YAAA;MAAA,cACsBQ,aAAa,CAACE;IAAK;MAAAC,OAAA,EAC1CC,IAAA;QAAA,IAAC;UAAEC;QAAM,CAAC,GAAAD,IAAA;QAAA,OAAAH,YAAA,aACLI,KAAK,CAACH,KAAK;MAAA;IACjB,EAEJ,CAAC;IAEFI,MAAM,CAACZ,MAAM,CAACa,SAAS,CAAC,KAAK,CAAC,C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mEdit","render","screen","userEvent","nextTick","shallowRef","describe","it","externalModel","_createVNode","value","default","_ref","model","expect","getByText","toBeInTheDocument","$event","_ref2","_Fragment","join","onClick","push","_createTextVNode","click","getByTestId","toEqual","getAllByCSS","toHaveLength","_ref3","_ref4","actions","queryAllByCSS","_ref5"],"sources":["../../../../src/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.tsx"],"sourcesContent":["// Components\nimport { VConfirmEdit } from '../'\n\n// Utilities\nimport { render, screen, userEvent } from '@test'\nimport { nextTick, shallowRef } from 'vue'\n\ndescribe('VConfirmEdit', () => {\n it('mirrors external updates', async () => {\n const externalModel = shallowRef('foo')\n\n render(() => (\n <VConfirmEdit modelValue={ externalModel.value }>\n { ({ model }) => (\n <p>{ model.value }</p>\n )}\n </VConfirmEdit>\n ))\n\n expect(screen.getByText('foo')).toBeInTheDocument()\n\n externalModel.value = 'bar'\n await nextTick()\n expect(screen.getByText('bar')).toBeInTheDocument()\n })\n\n it(\"doesn't mutate the original value\", async () => {\n const externalModel = shallowRef(['foo'])\n\n render(() => (\n <VConfirmEdit v-model={ externalModel.value } modelValue={ externalModel.value }>\n { ({ model }) => (\n <>\n <p>{ model.value.join(',') }</p>\n <button data-testid=\"push\" onClick={ () => model.value.push('bar') }>Push</button>\n </>\n )}\n </VConfirmEdit>\n ))\n\n expect(screen.getByText('foo')).toBeInTheDocument()\n\n await userEvent.click(screen.getByTestId('push'))\n expect(screen.getByText('foo,bar')).toBeInTheDocument()\n expect(externalModel.value).toEqual(['foo'])\n\n await userEvent.click(screen.getByText('OK'))\n expect(externalModel.value).toEqual(['foo', 'bar'])\n })\n\n describe('hides actions if used from the slot', () => {\n it('nothing', () => {\n render(() => <VConfirmEdit />)\n expect(screen.getAllByCSS('button')).toHaveLength(2)\n })\n\n it('consume model', () => {\n render(() => (\n <VConfirmEdit>\n { ({ model }) => {\n void model\n }}\n </VConfirmEdit>\n ))\n expect(screen.getAllByCSS('button')).toHaveLength(2)\n })\n\n it('consume actions', () => {\n render(() => (\n <VConfirmEdit>\n { ({ actions }) => {\n void actions\n }}\n </VConfirmEdit>\n ))\n expect(screen.queryAllByCSS('button')).toHaveLength(0)\n })\n\n it('render actions', () => {\n render(() => (\n <VConfirmEdit>\n { ({ actions }) => actions() }\n </VConfirmEdit>\n ))\n expect(screen.getAllByCSS('button')).toHaveLength(2)\n })\n })\n})\n"],"mappings":";AAAA;AAAA,SACSA,YAAY,wBAErB;AACA,SAASC,MAAM,EAAEC,MAAM,EAAEC,SAAS,QAAQ,OAAO;AACjD,SAASC,QAAQ,EAAEC,UAAU,QAAQ,KAAK;AAE1CC,QAAQ,CAAC,cAAc,EAAE,MAAM;EAC7BC,EAAE,CAAC,0BAA0B,EAAE,YAAY;IACzC,MAAMC,aAAa,GAAGH,UAAU,CAAC,KAAK,CAAC;IAEvCJ,MAAM,CAAC,MAAAQ,YAAA,CAAAT,YAAA;MAAA,cACsBQ,aAAa,CAACE;IAAK;MAAAC,OAAA,EAC1CC,IAAA;QAAA,IAAC;UAAEC;QAAM,CAAC,GAAAD,IAAA;QAAA,OAAAH,YAAA,aACLI,KAAK,CAACH,KAAK;MAAA;IACjB,EAEJ,CAAC;IAEFI,MAAM,CAACZ,MAAM,CAACa,SAAS,CAAC,KAAK,CAAC,CAAC,CAACC,iBAAiB,CAAC,CAAC;IAEnDR,aAAa,CAACE,KAAK,GAAG,KAAK;IAC3B,MAAMN,QAAQ,CAAC,CAAC;IAChBU,MAAM,CAACZ,MAAM,CAACa,SAAS,CAAC,KAAK,CAAC,CAAC,CAACC,iBAAiB,CAAC,CAAC;EACrD,CAAC,CAAC;EAEFT,EAAE,CAAC,mCAAmC,EAAE,YAAY;IAClD,MAAMC,aAAa,GAAGH,UAAU,CAAC,CAAC,KAAK,CAAC,CAAC;IAEzCJ,MAAM,CAAC,MAAAQ,YAAA,CAAAT,YAAA;MAAA,cACmBQ,aAAa,CAACE,KAAK;MAAA,uBAAAO,MAAA,IAAnBT,aAAa,CAACE,KAAK,GA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A,IAAe;UAAA,IAAd;YAAEhB;UAAM,CAAC,GAAAgB,KAAA;UACV,KAAKhB,KAAK;QACZ;MAAC,EAEJ,CAAC;MACFC,MAAM,CAACZ,MAAM,CAACyB,WAAW,CAAC,QAAQ,CAAC,CAAC,CAACC,YAAY,CAAC,CAAC,CAAC;IACtD,CAAC,CAAC;IAEFrB,EAAE,CAAC,iBAAiB,EAAE,MAAM;MAC1BN,MAAM,CAAC,MAAAQ,YAAA,CAAAT,YAAA;QAAAW,OAAA,EAEDmB,KAAA,IAAiB;UAAA,IAAhB;YAAEC;UAAQ,CAAC,GAAAD,KAAA;UACZ,KAAKC,OAAO;QACd;MAAC,EAEJ,CAAC;MACFjB,MAAM,CAACZ,MAAM,CAAC8B,aAAa,CAAC,QAAQ,CAAC,CAAC,CAACJ,YAAY,CAAC,CAAC,CAAC;IACxD,CAAC,CAAC;IAEFrB,EAAE,CAAC,gBAAgB,EAAE,MAAM;MACzBN,MAAM,CAAC,MAAAQ,YAAA,CAAAT,YAAA;QAAAW,OAAA,EAEDsB,KAAA;UAAA,IAAC;YAAEF;UAAQ,CAAC,GAAAE,KAAA;UAAA,OAAKF,OAAO,CAAC,CAAC;QAAA;MAAA,EAE/B,CAAC;MACFjB,MAAM,CAACZ,MAAM,CAACyB,WAAW,CAAC,QAAQ,CAAC,CAAC,CAACC,YAAY,CAAC,CAAC,CAAC;IACtD,CAAC,CAAC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
@@ -36,11 +36,11 @@ type VConfirmEditSlots<T> = {
|
|
36
36
|
save: () => void;
|
37
37
|
cancel: () => void;
|
38
38
|
isPristine: boolean;
|
39
|
-
get actions(): VNode;
|
39
|
+
get actions(): (props?: {}) => VNode;
|
40
40
|
};
|
41
41
|
};
|
42
42
|
declare const VConfirmEdit: {
|
43
|
-
new (...args: any[]): vue.
|
43
|
+
new (...args: any[]): vue.CreateComponentPublicInstance<{
|
44
44
|
cancelText: string;
|
45
45
|
okText: string;
|
46
46
|
} & {
|
@@ -55,20 +55,25 @@ declare const VConfirmEdit: {
|
|
55
55
|
cancel: () => true;
|
56
56
|
save: (value: any) => true;
|
57
57
|
'update:modelValue': (value: any) => true;
|
58
|
-
}, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue" | "save">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps
|
58
|
+
}, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue" | "save">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
59
|
+
cancelText: string;
|
60
|
+
okText: string;
|
61
|
+
} & {
|
62
|
+
color?: string | undefined;
|
63
|
+
} & {
|
64
|
+
onCancel?: (() => any) | undefined;
|
65
|
+
}, {
|
59
66
|
cancelText: string;
|
60
67
|
okText: string;
|
61
68
|
}, true, {}, vue.SlotsType<Partial<{
|
62
69
|
default: (arg: {
|
63
|
-
model: Ref<unknown
|
70
|
+
model: Ref<unknown>;
|
64
71
|
save: () => void;
|
65
72
|
cancel: () => void;
|
66
73
|
isPristine: boolean;
|
67
|
-
readonly actions:
|
68
|
-
[key: string]: any;
|
69
|
-
}>;
|
74
|
+
readonly actions: (props?: {}) => VNode;
|
70
75
|
}) => VNode[];
|
71
|
-
}>>,
|
76
|
+
}>>, {
|
72
77
|
P: {};
|
73
78
|
B: {};
|
74
79
|
D: {};
|
@@ -113,15 +118,13 @@ declare const VConfirmEdit: {
|
|
113
118
|
okText: string;
|
114
119
|
}, {}, string, vue.SlotsType<Partial<{
|
115
120
|
default: (arg: {
|
116
|
-
model: Ref<unknown
|
121
|
+
model: Ref<unknown>;
|
117
122
|
save: () => void;
|
118
123
|
cancel: () => void;
|
119
124
|
isPristine: boolean;
|
120
|
-
readonly actions:
|
121
|
-
[key: string]: any;
|
122
|
-
}>;
|
125
|
+
readonly actions: (props?: {}) => VNode;
|
123
126
|
}) => VNode[];
|
124
|
-
}
|
127
|
+
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new <T>(props: {
|
125
128
|
modelValue?: T;
|
126
129
|
"onUpdate:modelValue"?: (value: T) => void;
|
127
130
|
"onSave"?: (value: T) => void;
|
@@ -1,8 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
transition-duration: 150ms;
|
7
|
-
}
|
1
|
+
.v-counter {
|
2
|
+
color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity));
|
3
|
+
flex: 0 1 auto;
|
4
|
+
font-size: 12px;
|
5
|
+
transition-duration: 150ms;
|
8
6
|
}
|
@@ -13,7 +13,7 @@ type VCounterSlot = {
|
|
13
13
|
value: string | number | undefined;
|
14
14
|
};
|
15
15
|
declare const VCounter: {
|
16
|
-
new (...args: any[]): vue.
|
16
|
+
new (...args: any[]): vue.CreateComponentPublicInstance<{
|
17
17
|
active: boolean;
|
18
18
|
transition: string | boolean | (vue.TransitionProps & {
|
19
19
|
component?: Component;
|
@@ -27,15 +27,37 @@ declare const VCounter: {
|
|
27
27
|
max?: string | number | undefined;
|
28
28
|
class?: any;
|
29
29
|
} & {
|
30
|
-
$children?: vue.VNodeChild |
|
30
|
+
$children?: vue.VNodeChild | {
|
31
31
|
default?: ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
32
|
+
} | ((arg: VCounterSlot) => vue.VNodeChild);
|
33
|
+
'v-slots'?: {
|
34
|
+
default?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
35
|
+
} | undefined;
|
36
|
+
} & {
|
37
|
+
"v-slot:default"?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
38
|
+
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
39
|
+
active: boolean;
|
40
|
+
transition: string | boolean | (vue.TransitionProps & {
|
41
|
+
component?: Component;
|
42
|
+
}) | {
|
43
|
+
component: Component;
|
32
44
|
};
|
45
|
+
value: string | number;
|
46
|
+
style: vue.StyleValue;
|
47
|
+
disabled: boolean;
|
48
|
+
} & {
|
49
|
+
max?: string | number | undefined;
|
50
|
+
class?: any;
|
51
|
+
} & {
|
52
|
+
$children?: vue.VNodeChild | {
|
53
|
+
default?: ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
54
|
+
} | ((arg: VCounterSlot) => vue.VNodeChild);
|
33
55
|
'v-slots'?: {
|
34
56
|
default?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
35
57
|
} | undefined;
|
36
58
|
} & {
|
37
59
|
"v-slot:default"?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
38
|
-
}, {
|
60
|
+
}, {
|
39
61
|
active: boolean;
|
40
62
|
transition: string | boolean | (vue.TransitionProps & {
|
41
63
|
component?: Component;
|
@@ -47,7 +69,7 @@ declare const VCounter: {
|
|
47
69
|
disabled: boolean;
|
48
70
|
}, true, {}, vue.SlotsType<Partial<{
|
49
71
|
default: (arg: VCounterSlot) => vue.VNode[];
|
50
|
-
}>>,
|
72
|
+
}>>, {
|
51
73
|
P: {};
|
52
74
|
B: {};
|
53
75
|
D: {};
|
@@ -68,9 +90,9 @@ declare const VCounter: {
|
|
68
90
|
max?: string | number | undefined;
|
69
91
|
class?: any;
|
70
92
|
} & {
|
71
|
-
$children?: vue.VNodeChild |
|
93
|
+
$children?: vue.VNodeChild | {
|
72
94
|
default?: ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
73
|
-
};
|
95
|
+
} | ((arg: VCounterSlot) => vue.VNodeChild);
|
74
96
|
'v-slots'?: {
|
75
97
|
default?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
76
98
|
} | undefined;
|
@@ -104,9 +126,9 @@ declare const VCounter: {
|
|
104
126
|
max?: string | number | undefined;
|
105
127
|
class?: any;
|
106
128
|
} & {
|
107
|
-
$children?: vue.VNodeChild |
|
129
|
+
$children?: vue.VNodeChild | {
|
108
130
|
default?: ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
109
|
-
};
|
131
|
+
} | ((arg: VCounterSlot) => vue.VNodeChild);
|
110
132
|
'v-slots'?: {
|
111
133
|
default?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
|
112
134
|
} | undefined;
|
@@ -124,7 +146,7 @@ declare const VCounter: {
|
|
124
146
|
disabled: boolean;
|
125
147
|
}, {}, string, vue.SlotsType<Partial<{
|
126
148
|
default: (arg: VCounterSlot) => vue.VNode[];
|
127
|
-
}
|
149
|
+
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
128
150
|
transition: Omit<{
|
129
151
|
type: vue.PropType<string | boolean | (vue.TransitionProps & {
|
130
152
|
component?: Component;
|
@@ -10,10 +10,10 @@ type ExpandProps = {
|
|
10
10
|
};
|
11
11
|
declare function provideExpanded(props: ExpandProps): {
|
12
12
|
expand: (item: DataTableItem, value: boolean) => void;
|
13
|
-
expanded: Ref<Set<string
|
13
|
+
expanded: Ref<Set<string>> & {
|
14
14
|
readonly externalValue: readonly string[];
|
15
15
|
};
|
16
|
-
expandOnClick: Ref<boolean
|
16
|
+
expandOnClick: Ref<boolean>;
|
17
17
|
isExpanded: (item: DataTableItem) => boolean;
|
18
18
|
toggleExpand: (item: DataTableItem) => void;
|
19
19
|
};
|
@@ -162,7 +162,7 @@ declare function provideSort(options: {
|
|
162
162
|
multiSort: Ref<boolean>;
|
163
163
|
page?: Ref<number>;
|
164
164
|
}): {
|
165
|
-
sortBy: Ref<readonly SortItem[]
|
165
|
+
sortBy: Ref<readonly SortItem[]>;
|
166
166
|
toggleSort: (column: InternalDataTableHeader) => void;
|
167
167
|
isSorted: (column: InternalDataTableHeader) => boolean;
|
168
168
|
};
|
@@ -186,8 +186,8 @@ declare function provideGroupBy(options: {
|
|
186
186
|
}): {
|
187
187
|
sortByWithGroups: vue.ComputedRef<SortItem[]>;
|
188
188
|
toggleGroup: (group: Group) => void;
|
189
|
-
opened: Ref<Set<string> & Omit<Set<string>, keyof Set<any
|
190
|
-
groupBy: Ref<readonly SortItem[]
|
189
|
+
opened: Ref<Set<string> & Omit<Set<string>, keyof Set<any>>>;
|
190
|
+
groupBy: Ref<readonly SortItem[]>;
|
191
191
|
extractRows: <T extends GroupableItem>(items: readonly (T | Group<T>)[]) => T[];
|
192
192
|
isGroupOpen: (group: Group) => boolean;
|
193
193
|
};
|
@@ -207,12 +207,12 @@ declare function providePagination(options: {
|
|
207
207
|
itemsPerPage: Ref<number>;
|
208
208
|
itemsLength: Ref<number>;
|
209
209
|
}): {
|
210
|
-
page: Ref<number
|
211
|
-
itemsPerPage: Ref<number
|
210
|
+
page: Ref<number>;
|
211
|
+
itemsPerPage: Ref<number>;
|
212
212
|
startIndex: vue.ComputedRef<number>;
|
213
213
|
stopIndex: vue.ComputedRef<number>;
|
214
214
|
pageCount: vue.ComputedRef<number>;
|
215
|
-
itemsLength: Ref<number
|
215
|
+
itemsLength: Ref<number>;
|
216
216
|
nextPage: () => void;
|
217
217
|
prevPage: () => void;
|
218
218
|
setPage: (value: number) => void;
|
@@ -253,7 +253,7 @@ type VDataIteratorSlots<T> = {
|
|
253
253
|
'no-data': never;
|
254
254
|
};
|
255
255
|
declare const VDataIterator: {
|
256
|
-
new (...args: any[]): vue.
|
256
|
+
new (...args: any[]): vue.CreateComponentPublicInstance<{
|
257
257
|
page: string | number;
|
258
258
|
transition: string | boolean | (vue.TransitionProps & {
|
259
259
|
component?: Component;
|
@@ -306,7 +306,51 @@ declare const VDataIterator: {
|
|
306
306
|
'update:options': (value: any) => true;
|
307
307
|
'update:expanded': (value: any) => true;
|
308
308
|
'update:currentItems': (value: any) => true;
|
309
|
-
}, "$children" | "v-slots" | "v-slot:default" | "items" | "v-slot:loader" | "v-slot:header" | "v-slot:no-data" | "v-slot:footer">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps
|
309
|
+
}, "$children" | "v-slots" | "v-slot:default" | "items" | "v-slot:loader" | "v-slot:header" | "v-slot:no-data" | "v-slot:footer">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
310
|
+
page: string | number;
|
311
|
+
transition: string | boolean | (vue.TransitionProps & {
|
312
|
+
component?: Component;
|
313
|
+
}) | {
|
314
|
+
component: Component;
|
315
|
+
hideOnLeave: boolean;
|
316
|
+
};
|
317
|
+
expanded: readonly string[];
|
318
|
+
loading: boolean;
|
319
|
+
style: vue.StyleValue;
|
320
|
+
tag: string;
|
321
|
+
sortBy: readonly SortItem[];
|
322
|
+
modelValue: readonly any[];
|
323
|
+
valueComparator: typeof deepEqual;
|
324
|
+
selectStrategy: "all" | "page" | "single";
|
325
|
+
returnObject: boolean;
|
326
|
+
filterMode: FilterMode;
|
327
|
+
noFilter: boolean;
|
328
|
+
itemValue: SelectItemKey;
|
329
|
+
multiSort: boolean;
|
330
|
+
mustSort: boolean;
|
331
|
+
groupBy: readonly SortItem[];
|
332
|
+
itemSelectable: SelectItemKey;
|
333
|
+
showSelect: boolean;
|
334
|
+
expandOnClick: boolean;
|
335
|
+
showExpand: boolean;
|
336
|
+
itemsPerPage: string | number;
|
337
|
+
} & {
|
338
|
+
search?: string | undefined;
|
339
|
+
class?: any;
|
340
|
+
customFilter?: FilterFunction | undefined;
|
341
|
+
customKeyFilter?: FilterKeyFunctions | undefined;
|
342
|
+
filterKeys?: FilterKeys | undefined;
|
343
|
+
customKeySort?: Record<string, DataTableCompareFunction> | undefined;
|
344
|
+
} & {
|
345
|
+
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
346
|
+
"onUpdate:sortBy"?: ((value: any) => any) | undefined;
|
347
|
+
"onUpdate:groupBy"?: ((value: any) => any) | undefined;
|
348
|
+
"onUpdate:expanded"?: ((value: any) => any) | undefined;
|
349
|
+
"onUpdate:page"?: ((value: number) => any) | undefined;
|
350
|
+
"onUpdate:itemsPerPage"?: ((value: number) => any) | undefined;
|
351
|
+
"onUpdate:options"?: ((value: any) => any) | undefined;
|
352
|
+
"onUpdate:currentItems"?: ((value: any) => any) | undefined;
|
353
|
+
}, {
|
310
354
|
page: string | number;
|
311
355
|
transition: string | boolean | (vue.TransitionProps & {
|
312
356
|
component?: Component;
|
@@ -340,7 +384,7 @@ declare const VDataIterator: {
|
|
340
384
|
footer: (arg: VDataIteratorSlotProps<unknown>) => vue.VNode[];
|
341
385
|
loader: (arg: LoaderSlotProps) => vue.VNode[];
|
342
386
|
'no-data': () => vue.VNode[];
|
343
|
-
}>>,
|
387
|
+
}>>, {
|
344
388
|
P: {};
|
345
389
|
B: {};
|
346
390
|
D: {};
|
@@ -510,7 +554,7 @@ declare const VDataIterator: {
|
|
510
554
|
footer: (arg: VDataIteratorSlotProps<unknown>) => vue.VNode[];
|
511
555
|
loader: (arg: LoaderSlotProps) => vue.VNode[];
|
512
556
|
'no-data': () => vue.VNode[];
|
513
|
-
}
|
557
|
+
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new <T>(props: {
|
514
558
|
items?: readonly T[];
|
515
559
|
}, slots: VDataIteratorSlots<T>) => GenericProps<typeof props, typeof slots>) & FilterPropsOptions<{
|
516
560
|
transition: Omit<{
|