@vuetify/nightly 3.2.0-dev-20230214.0 → 3.2.0-dev-20230322.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 +5 -17
- package/dist/json/attributes.json +243 -59
- package/dist/json/tags.json +48 -2
- package/dist/json/web-types.json +1648 -279
- package/dist/vuetify-labs.css +666 -482
- package/dist/vuetify-labs.d.ts +59419 -13475
- package/dist/vuetify-labs.esm.js +797 -531
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +797 -531
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +524 -355
- package/dist/vuetify.d.ts +55670 -14368
- package/dist/vuetify.esm.js +607 -462
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +607 -462
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +793 -793
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.ts +6 -9
- package/lib/blueprints/md1.d.ts +6 -9
- package/lib/blueprints/md2.d.ts +6 -9
- package/lib/blueprints/md3.d.ts +6 -9
- package/lib/blueprints/md3.mjs +6 -0
- package/lib/blueprints/md3.mjs.map +1 -1
- package/lib/components/VAlert/VAlert.css +1 -1
- package/lib/components/VAlert/VAlert.mjs +29 -15
- package/lib/components/VAlert/VAlert.mjs.map +1 -1
- package/lib/components/VAlert/_variables.scss +1 -1
- package/lib/components/VAlert/index.d.ts +515 -65
- package/lib/components/VApp/VApp.css +1 -0
- package/lib/components/VApp/VApp.sass +1 -0
- package/lib/components/VApp/index.d.ts +161 -17
- package/lib/components/VAppBar/VAppBar.mjs +9 -4
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/index.d.ts +624 -82
- package/lib/components/VAutocomplete/VAutocomplete.mjs +23 -8
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.ts +1744 -113
- package/lib/components/VAvatar/index.d.ts +207 -25
- package/lib/components/VBadge/index.d.ts +286 -36
- package/lib/components/VBanner/VBanner.mjs +19 -12
- package/lib/components/VBanner/VBanner.mjs.map +1 -1
- package/lib/components/VBanner/index.d.ts +485 -67
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs +6 -2
- package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
- package/lib/components/VBottomNavigation/index.d.ts +323 -36
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +11 -7
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/index.d.ts +346 -42
- package/lib/components/VBtn/VBtn.css +0 -5
- package/lib/components/VBtn/VBtn.mjs +65 -58
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.sass +0 -7
- package/lib/components/VBtn/_variables.scss +0 -2
- package/lib/components/VBtn/index.d.ts +454 -59
- package/lib/components/VBtnGroup/VBtnGroup.mjs +1 -7
- package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -1
- package/lib/components/VBtnGroup/index.d.ts +187 -22
- package/lib/components/VBtnToggle/VBtnToggle.mjs +2 -2
- package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
- package/lib/components/VBtnToggle/index.d.ts +248 -32
- package/lib/components/VCard/VCard.mjs +10 -6
- package/lib/components/VCard/VCard.mjs.map +1 -1
- package/lib/components/VCard/VCardItem.mjs +27 -23
- package/lib/components/VCard/VCardItem.mjs.map +1 -1
- package/lib/components/VCard/index.d.ts +958 -132
- package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/lib/components/VCarousel/index.d.ts +585 -87
- package/lib/components/VCheckbox/VCheckbox.mjs +2 -2
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs +1 -4
- package/lib/components/VCheckbox/VCheckboxBtn.mjs.map +1 -1
- package/lib/components/VCheckbox/index.d.ts +841 -119
- package/lib/components/VChip/VChip.css +110 -90
- package/lib/components/VChip/VChip.mjs +70 -48
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/_mixins.scss +27 -23
- package/lib/components/VChip/index.d.ts +476 -66
- package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
- package/lib/components/VChipGroup/index.d.ts +229 -28
- package/lib/components/VCode/index.d.ts +112 -13
- package/lib/components/VColorPicker/VColorPicker.mjs +9 -1
- package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.css +2 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs +36 -18
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.sass +2 -1
- package/lib/components/VColorPicker/VColorPickerEdit.mjs +4 -4
- package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerPreview.mjs +2 -2
- package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerSwatches.mjs.map +1 -1
- package/lib/components/VColorPicker/index.d.ts +284 -20
- package/lib/components/VColorPicker/util/index.mjs +2 -5
- package/lib/components/VColorPicker/util/index.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.mjs +23 -8
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.ts +1756 -113
- package/lib/components/VCounter/index.d.ts +1909 -78
- package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +4 -1
- package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs.map +1 -1
- package/lib/components/VDefaultsProvider/index.d.ts +136 -18
- package/lib/components/VDialog/VDialog.css +31 -24
- package/lib/components/VDialog/VDialog.mjs +2 -2
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.sass +19 -12
- package/lib/components/VDialog/index.d.ts +2403 -124
- package/lib/components/VDivider/VDivider.mjs.map +1 -1
- package/lib/components/VDivider/index.d.ts +132 -19
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.d.ts +741 -104
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/index.d.ts +179 -23
- package/lib/components/VFileInput/VFileInput.mjs +1 -0
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/index.d.ts +1069 -93
- package/lib/components/VFooter/VFooter.css +2 -0
- package/lib/components/VFooter/VFooter.sass +2 -0
- package/lib/components/VFooter/_variables.scss +2 -0
- package/lib/components/VFooter/index.d.ts +206 -25
- package/lib/components/VForm/index.d.ts +207 -20
- package/lib/components/VGrid/VCol.mjs +6 -5
- package/lib/components/VGrid/VCol.mjs.map +1 -1
- package/lib/components/VGrid/VRow.mjs +4 -4
- package/lib/components/VGrid/VRow.mjs.map +1 -1
- package/lib/components/VGrid/index.d.ts +745 -64
- package/lib/components/VHover/index.d.ts +188 -29
- package/lib/components/VIcon/index.d.ts +500 -44
- package/lib/components/VImg/VImg.mjs +2 -2
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VImg/index.d.ts +281 -40
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/index.d.ts +321 -47
- package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
- package/lib/components/VItemGroup/index.d.ts +313 -45
- package/lib/components/VKbd/VKbd.css +1 -0
- package/lib/components/VKbd/VKbd.sass +1 -0
- package/lib/components/VKbd/_variables.scss +1 -0
- package/lib/components/VKbd/index.d.ts +112 -13
- package/lib/components/VLabel/index.d.ts +115 -16
- package/lib/components/VLayout/index.d.ts +302 -35
- package/lib/components/VLazy/VLazy.mjs +4 -1
- package/lib/components/VLazy/VLazy.mjs.map +1 -1
- package/lib/components/VLazy/index.d.ts +222 -27
- package/lib/components/VList/VListChildren.mjs +2 -2
- package/lib/components/VList/VListChildren.mjs.map +1 -1
- package/lib/components/VList/VListGroup.mjs +1 -4
- package/lib/components/VList/VListGroup.mjs.map +1 -1
- package/lib/components/VList/VListItem.mjs +23 -19
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListSubheader.mjs.map +1 -1
- package/lib/components/VList/index.d.ts +1500 -191
- package/lib/components/VLocaleProvider/index.d.ts +123 -16
- package/lib/components/VMain/index.d.ts +121 -14
- package/lib/components/VMenu/VMenu.css +4 -4
- package/lib/components/VMenu/VMenu.mjs +8 -7
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/VMenu.sass +1 -1
- package/lib/components/VMenu/index.d.ts +2411 -121
- package/lib/components/VMessages/VMessages.mjs.map +1 -1
- package/lib/components/VMessages/index.d.ts +1934 -87
- package/lib/components/VNavigationDrawer/index.d.ts +382 -47
- package/lib/components/VNoSsr/index.d.ts +6 -0
- package/lib/components/VOverlay/VOverlay.css +2 -2
- package/lib/components/VOverlay/VOverlay.mjs +1 -4
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/VOverlay.sass +1 -1
- package/lib/components/VOverlay/_variables.scss +1 -1
- package/lib/components/VOverlay/index.d.ts +527 -75
- package/lib/components/VOverlay/scrollStrategies.mjs +2 -2
- package/lib/components/VOverlay/scrollStrategies.mjs.map +1 -1
- package/lib/components/VPagination/VPagination.mjs.map +1 -1
- package/lib/components/VPagination/index.d.ts +504 -56
- package/lib/components/VParallax/VParallax.mjs +3 -3
- package/lib/components/VParallax/VParallax.mjs.map +1 -1
- package/lib/components/VParallax/index.d.ts +144 -19
- package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
- package/lib/components/VProgressCircular/index.d.ts +189 -22
- package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
- package/lib/components/VProgressLinear/index.d.ts +325 -42
- package/lib/components/VRadio/index.d.ts +318 -46
- package/lib/components/VRadioGroup/VRadioGroup.mjs +4 -6
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.ts +468 -66
- package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
- package/lib/components/VRangeSlider/index.d.ts +530 -66
- package/lib/components/VRating/VRating.css +0 -4
- package/lib/components/VRating/VRating.mjs +6 -35
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VRating/VRating.sass +0 -5
- package/lib/components/VRating/index.d.ts +309 -38
- package/lib/components/VResponsive/index.d.ts +144 -21
- package/lib/components/VSelect/VSelect.mjs +23 -8
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.ts +3150 -247
- package/lib/components/VSelectionControl/VSelectionControl.mjs +1 -4
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControl/index.d.ts +90 -10
- package/lib/components/VSelectionControlGroup/index.d.ts +245 -35
- package/lib/components/VSheet/VSheet.mjs +16 -12
- package/lib/components/VSheet/VSheet.mjs.map +1 -1
- package/lib/components/VSheet/index.d.ts +196 -27
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSlideGroup/index.d.ts +488 -70
- package/lib/components/VSlider/VSliderTrack.mjs +1 -0
- package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
- package/lib/components/VSlider/index.d.ts +523 -65
- package/lib/components/VSlider/slider.mjs +5 -6
- package/lib/components/VSlider/slider.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.css +2 -9
- package/lib/components/VSnackbar/VSnackbar.mjs +10 -11
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.sass +3 -10
- package/lib/components/VSnackbar/index.d.ts +1255 -74
- package/lib/components/VSwitch/VSwitch.mjs +2 -2
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/index.d.ts +503 -75
- package/lib/components/VSystemBar/VSystemBar.css +5 -1
- package/lib/components/VSystemBar/VSystemBar.mjs +6 -2
- package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
- package/lib/components/VSystemBar/VSystemBar.sass +5 -1
- package/lib/components/VSystemBar/_variables.scss +4 -1
- package/lib/components/VSystemBar/index.d.ts +186 -23
- package/lib/components/VTable/VTable.mjs.map +1 -1
- package/lib/components/VTable/index.d.ts +193 -26
- package/lib/components/VTabs/VTab.mjs +7 -23
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTabs/VTabs.mjs.map +1 -1
- package/lib/components/VTabs/index.d.ts +628 -64
- package/lib/components/VTextField/VTextField.mjs +9 -5
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/index.d.ts +1447 -101
- package/lib/components/VTextarea/VTextarea.mjs +8 -1
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/index.d.ts +1043 -93
- package/lib/components/VThemeProvider/index.d.ts +127 -16
- package/lib/components/VTimeline/VTimelineDivider.mjs +18 -10
- package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -1
- package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
- package/lib/components/VTimeline/index.d.ts +446 -60
- package/lib/components/VToolbar/VToolbar.mjs +10 -9
- package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbarTitle.mjs.map +1 -1
- package/lib/components/VToolbar/index.d.ts +552 -73
- package/lib/components/VTooltip/VTooltip.css +3 -3
- package/lib/components/VTooltip/VTooltip.mjs +4 -4
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VTooltip/VTooltip.sass +1 -1
- package/lib/components/VTooltip/index.d.ts +1315 -73
- package/lib/components/VValidation/index.d.ts +204 -27
- package/lib/components/VWindow/index.d.ts +541 -75
- package/lib/components/index.d.ts +55694 -14389
- package/lib/components/transitions/createTransition.mjs +1 -1
- package/lib/components/transitions/createTransition.mjs.map +1 -1
- package/lib/components/transitions/index.d.ts +2144 -259
- package/lib/composables/defaults.mjs +5 -1
- package/lib/composables/defaults.mjs.map +1 -1
- package/lib/composables/display.mjs +15 -10
- package/lib/composables/display.mjs.map +1 -1
- package/lib/composables/form.mjs.map +1 -1
- package/lib/composables/loader.mjs.map +1 -1
- package/lib/composables/nested/nested.mjs +2 -2
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/composables/nested/selectStrategies.mjs +7 -1
- package/lib/composables/nested/selectStrategies.mjs.map +1 -1
- package/lib/composables/proxiedModel.mjs +1 -1
- package/lib/composables/proxiedModel.mjs.map +1 -1
- package/lib/composables/resizeObserver.mjs.map +1 -1
- package/lib/composables/stack.mjs +2 -2
- package/lib/composables/stack.mjs.map +1 -1
- package/lib/composables/theme.mjs +28 -23
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/composables/variant.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.ts +6 -9
- package/lib/labs/VDataTable/VDataTable.css +15 -0
- package/lib/labs/VDataTable/VDataTable.mjs +45 -19
- package/lib/labs/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTable.sass +9 -0
- package/lib/labs/VDataTable/VDataTableFooter.mjs +3 -2
- package/lib/labs/VDataTable/VDataTableFooter.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableHeaders.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableRow.mjs +8 -2
- package/lib/labs/VDataTable/VDataTableRow.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableRows.mjs +6 -7
- package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableServer.mjs +41 -19
- package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableVirtual.mjs +27 -14
- package/lib/labs/VDataTable/VDataTableVirtual.mjs.map +1 -1
- package/lib/labs/VDataTable/composables/expand.mjs +1 -1
- package/lib/labs/VDataTable/composables/expand.mjs.map +1 -1
- package/lib/labs/VDataTable/composables/group.mjs +12 -1
- package/lib/labs/VDataTable/composables/group.mjs.map +1 -1
- package/lib/labs/VDataTable/composables/options.mjs +4 -10
- package/lib/labs/VDataTable/composables/options.mjs.map +1 -1
- package/lib/labs/VDataTable/composables/paginate.mjs +25 -4
- package/lib/labs/VDataTable/composables/paginate.mjs.map +1 -1
- package/lib/labs/VDataTable/composables/select.mjs +1 -1
- package/lib/labs/VDataTable/composables/select.mjs.map +1 -1
- package/lib/labs/VDataTable/composables/sort.mjs +19 -3
- package/lib/labs/VDataTable/composables/sort.mjs.map +1 -1
- package/lib/labs/VDataTable/index.d.ts +4934 -317
- package/lib/labs/VVirtualScroll/VVirtualScroll.mjs +18 -5
- package/lib/labs/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
- package/lib/labs/VVirtualScroll/index.d.ts +41 -7
- package/lib/labs/components.d.ts +4970 -324
- package/lib/locale/adapters/vue-i18n.d.ts +1 -1
- package/lib/locale/adapters/vue-i18n.mjs +1 -1
- package/lib/locale/adapters/vue-i18n.mjs.map +1 -1
- package/lib/locale/index.mjs +1 -1
- package/lib/locale/index.mjs.map +1 -1
- package/lib/styles/elements/_global.sass +0 -4
- package/lib/styles/generic/_index.scss +0 -1
- package/lib/styles/generic/_transitions.scss +111 -9
- package/lib/styles/main.css +316 -167
- package/lib/styles/settings/_utilities.scss +7 -0
- package/lib/styles/tools/_sheet.sass +3 -6
- package/lib/styles/utilities/_display.sass +6 -5
- package/lib/styles/utilities/_elevation.scss +13 -0
- package/lib/styles/utilities/_index.sass +3 -2
- package/lib/styles/utilities/_screenreaders.sass +13 -11
- package/lib/util/animation.mjs +8 -1
- package/lib/util/animation.mjs.map +1 -1
- package/lib/util/colorUtils.mjs +4 -5
- package/lib/util/colorUtils.mjs.map +1 -1
- package/lib/util/defineComponent.mjs +15 -7
- package/lib/util/defineComponent.mjs.map +1 -1
- package/lib/util/helpers.mjs +4 -0
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +15 -7
- package/lib/styles/generic/_elevation.scss +0 -10
|
@@ -1,12 +1,302 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import { JSXComponent, PropType } from 'vue';
|
|
2
|
+
import { ComponentPropsOptions, ExtractPropTypes, JSXComponent, PropType, ComponentPublicInstance, nextTick } from 'vue';
|
|
3
|
+
|
|
4
|
+
interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions>, Props = ExtractPropTypes<PropsOptions>> {
|
|
5
|
+
filterProps<T extends Partial<Props>, U extends Exclude<keyof Props, Exclude<keyof Props, keyof T>>>(props: T): [yes: Partial<Pick<T, U>>, no: Omit<T, U>];
|
|
6
|
+
}
|
|
3
7
|
|
|
4
8
|
type Density = null | 'default' | 'comfortable' | 'compact';
|
|
5
9
|
|
|
6
10
|
type IconValue = string | JSXComponent;
|
|
7
11
|
declare const IconValue: PropType<IconValue>;
|
|
8
12
|
|
|
9
|
-
declare const VPagination:
|
|
13
|
+
declare const VPagination: {
|
|
14
|
+
new (...args: any[]): {
|
|
15
|
+
$: vue.ComponentInternalInstance;
|
|
16
|
+
$data: {};
|
|
17
|
+
$props: Partial<{
|
|
18
|
+
length: string | number;
|
|
19
|
+
start: string | number;
|
|
20
|
+
ariaLabel: string;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
size: string | number;
|
|
23
|
+
tag: string;
|
|
24
|
+
ellipsis: string;
|
|
25
|
+
rounded: string | number | boolean;
|
|
26
|
+
density: Density;
|
|
27
|
+
variant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
28
|
+
modelValue: number;
|
|
29
|
+
nextIcon: IconValue;
|
|
30
|
+
prevIcon: IconValue;
|
|
31
|
+
showFirstLastPage: boolean;
|
|
32
|
+
firstIcon: IconValue;
|
|
33
|
+
lastIcon: IconValue;
|
|
34
|
+
pageAriaLabel: string;
|
|
35
|
+
currentPageAriaLabel: string;
|
|
36
|
+
firstAriaLabel: string;
|
|
37
|
+
previousAriaLabel: string;
|
|
38
|
+
nextAriaLabel: string;
|
|
39
|
+
lastAriaLabel: string;
|
|
40
|
+
}> & Omit<{
|
|
41
|
+
length: string | number;
|
|
42
|
+
start: string | number;
|
|
43
|
+
ariaLabel: string;
|
|
44
|
+
disabled: boolean;
|
|
45
|
+
size: string | number;
|
|
46
|
+
tag: string;
|
|
47
|
+
ellipsis: string;
|
|
48
|
+
density: Density;
|
|
49
|
+
variant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
50
|
+
modelValue: number;
|
|
51
|
+
nextIcon: IconValue;
|
|
52
|
+
prevIcon: IconValue;
|
|
53
|
+
showFirstLastPage: boolean;
|
|
54
|
+
firstIcon: IconValue;
|
|
55
|
+
lastIcon: IconValue;
|
|
56
|
+
pageAriaLabel: string;
|
|
57
|
+
currentPageAriaLabel: string;
|
|
58
|
+
firstAriaLabel: string;
|
|
59
|
+
previousAriaLabel: string;
|
|
60
|
+
nextAriaLabel: string;
|
|
61
|
+
lastAriaLabel: string;
|
|
62
|
+
} & {
|
|
63
|
+
border?: string | number | boolean | undefined;
|
|
64
|
+
color?: string | undefined;
|
|
65
|
+
elevation?: string | number | undefined;
|
|
66
|
+
theme?: string | undefined;
|
|
67
|
+
rounded?: string | number | boolean | undefined;
|
|
68
|
+
activeColor?: string | undefined;
|
|
69
|
+
totalVisible?: string | number | undefined;
|
|
70
|
+
} & {
|
|
71
|
+
$children?: {} | vue.VNodeChild | {
|
|
72
|
+
item?: (() => vue.VNodeChild) | undefined;
|
|
73
|
+
first?: (() => vue.VNodeChild) | undefined;
|
|
74
|
+
next?: (() => vue.VNodeChild) | undefined;
|
|
75
|
+
prev?: (() => vue.VNodeChild) | undefined;
|
|
76
|
+
last?: (() => vue.VNodeChild) | undefined;
|
|
77
|
+
};
|
|
78
|
+
$slots?: {
|
|
79
|
+
item?: (() => vue.VNodeChild) | undefined;
|
|
80
|
+
first?: (() => vue.VNodeChild) | undefined;
|
|
81
|
+
next?: (() => vue.VNodeChild) | undefined;
|
|
82
|
+
prev?: (() => vue.VNodeChild) | undefined;
|
|
83
|
+
last?: (() => vue.VNodeChild) | undefined;
|
|
84
|
+
} | undefined;
|
|
85
|
+
'v-slots'?: {
|
|
86
|
+
item?: false | (() => vue.VNodeChild) | undefined;
|
|
87
|
+
first?: false | (() => vue.VNodeChild) | undefined;
|
|
88
|
+
next?: false | (() => vue.VNodeChild) | undefined;
|
|
89
|
+
prev?: false | (() => vue.VNodeChild) | undefined;
|
|
90
|
+
last?: false | (() => vue.VNodeChild) | undefined;
|
|
91
|
+
} | undefined;
|
|
92
|
+
} & {
|
|
93
|
+
"v-slot:item"?: false | (() => vue.VNodeChild) | undefined;
|
|
94
|
+
"v-slot:first"?: false | (() => vue.VNodeChild) | undefined;
|
|
95
|
+
"v-slot:next"?: false | (() => vue.VNodeChild) | undefined;
|
|
96
|
+
"v-slot:prev"?: false | (() => vue.VNodeChild) | undefined;
|
|
97
|
+
"v-slot:last"?: false | (() => vue.VNodeChild) | undefined;
|
|
98
|
+
} & {
|
|
99
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
100
|
+
onNext?: ((value: number) => any) | undefined;
|
|
101
|
+
onPrev?: ((value: number) => any) | undefined;
|
|
102
|
+
onFirst?: ((value: number) => any) | undefined;
|
|
103
|
+
onLast?: ((value: number) => any) | undefined;
|
|
104
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "length" | "start" | "ariaLabel" | "disabled" | "size" | "tag" | "ellipsis" | "rounded" | "density" | "variant" | "modelValue" | "nextIcon" | "prevIcon" | "showFirstLastPage" | "firstIcon" | "lastIcon" | "pageAriaLabel" | "currentPageAriaLabel" | "firstAriaLabel" | "previousAriaLabel" | "nextAriaLabel" | "lastAriaLabel">;
|
|
105
|
+
$attrs: {
|
|
106
|
+
[x: string]: unknown;
|
|
107
|
+
};
|
|
108
|
+
$refs: {
|
|
109
|
+
[x: string]: unknown;
|
|
110
|
+
};
|
|
111
|
+
$slots: Readonly<{
|
|
112
|
+
[name: string]: vue.Slot | undefined;
|
|
113
|
+
}>;
|
|
114
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
115
|
+
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
116
|
+
$emit: ((event: "next", value: number) => void) & ((event: "prev", value: number) => void) & ((event: "first", value: number) => void) & ((event: "last", value: number) => void) & ((event: "update:modelValue", value: number) => void);
|
|
117
|
+
$el: any;
|
|
118
|
+
$options: vue.ComponentOptionsBase<{
|
|
119
|
+
length: string | number;
|
|
120
|
+
start: string | number;
|
|
121
|
+
ariaLabel: string;
|
|
122
|
+
disabled: boolean;
|
|
123
|
+
size: string | number;
|
|
124
|
+
tag: string;
|
|
125
|
+
ellipsis: string;
|
|
126
|
+
density: Density;
|
|
127
|
+
variant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
128
|
+
modelValue: number;
|
|
129
|
+
nextIcon: IconValue;
|
|
130
|
+
prevIcon: IconValue;
|
|
131
|
+
showFirstLastPage: boolean;
|
|
132
|
+
firstIcon: IconValue;
|
|
133
|
+
lastIcon: IconValue;
|
|
134
|
+
pageAriaLabel: string;
|
|
135
|
+
currentPageAriaLabel: string;
|
|
136
|
+
firstAriaLabel: string;
|
|
137
|
+
previousAriaLabel: string;
|
|
138
|
+
nextAriaLabel: string;
|
|
139
|
+
lastAriaLabel: string;
|
|
140
|
+
} & {
|
|
141
|
+
border?: string | number | boolean | undefined;
|
|
142
|
+
color?: string | undefined;
|
|
143
|
+
elevation?: string | number | undefined;
|
|
144
|
+
theme?: string | undefined;
|
|
145
|
+
rounded?: string | number | boolean | undefined;
|
|
146
|
+
activeColor?: string | undefined;
|
|
147
|
+
totalVisible?: string | number | undefined;
|
|
148
|
+
} & {
|
|
149
|
+
$children?: {} | vue.VNodeChild | {
|
|
150
|
+
item?: (() => vue.VNodeChild) | undefined;
|
|
151
|
+
first?: (() => vue.VNodeChild) | undefined;
|
|
152
|
+
next?: (() => vue.VNodeChild) | undefined;
|
|
153
|
+
prev?: (() => vue.VNodeChild) | undefined;
|
|
154
|
+
last?: (() => vue.VNodeChild) | undefined;
|
|
155
|
+
};
|
|
156
|
+
$slots?: {
|
|
157
|
+
item?: (() => vue.VNodeChild) | undefined;
|
|
158
|
+
first?: (() => vue.VNodeChild) | undefined;
|
|
159
|
+
next?: (() => vue.VNodeChild) | undefined;
|
|
160
|
+
prev?: (() => vue.VNodeChild) | undefined;
|
|
161
|
+
last?: (() => vue.VNodeChild) | undefined;
|
|
162
|
+
} | undefined;
|
|
163
|
+
'v-slots'?: {
|
|
164
|
+
item?: false | (() => vue.VNodeChild) | undefined;
|
|
165
|
+
first?: false | (() => vue.VNodeChild) | undefined;
|
|
166
|
+
next?: false | (() => vue.VNodeChild) | undefined;
|
|
167
|
+
prev?: false | (() => vue.VNodeChild) | undefined;
|
|
168
|
+
last?: false | (() => vue.VNodeChild) | undefined;
|
|
169
|
+
} | undefined;
|
|
170
|
+
} & {
|
|
171
|
+
"v-slot:item"?: false | (() => vue.VNodeChild) | undefined;
|
|
172
|
+
"v-slot:first"?: false | (() => vue.VNodeChild) | undefined;
|
|
173
|
+
"v-slot:next"?: false | (() => vue.VNodeChild) | undefined;
|
|
174
|
+
"v-slot:prev"?: false | (() => vue.VNodeChild) | undefined;
|
|
175
|
+
"v-slot:last"?: false | (() => vue.VNodeChild) | undefined;
|
|
176
|
+
} & {
|
|
177
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
178
|
+
onNext?: ((value: number) => any) | undefined;
|
|
179
|
+
onPrev?: ((value: number) => any) | undefined;
|
|
180
|
+
onFirst?: ((value: number) => any) | undefined;
|
|
181
|
+
onLast?: ((value: number) => any) | undefined;
|
|
182
|
+
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
183
|
+
'update:modelValue': (value: number) => true;
|
|
184
|
+
first: (value: number) => true;
|
|
185
|
+
prev: (value: number) => true;
|
|
186
|
+
next: (value: number) => true;
|
|
187
|
+
last: (value: number) => true;
|
|
188
|
+
}, string, {
|
|
189
|
+
length: string | number;
|
|
190
|
+
start: string | number;
|
|
191
|
+
ariaLabel: string;
|
|
192
|
+
disabled: boolean;
|
|
193
|
+
size: string | number;
|
|
194
|
+
tag: string;
|
|
195
|
+
ellipsis: string;
|
|
196
|
+
rounded: string | number | boolean;
|
|
197
|
+
density: Density;
|
|
198
|
+
variant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
199
|
+
modelValue: number;
|
|
200
|
+
nextIcon: IconValue;
|
|
201
|
+
prevIcon: IconValue;
|
|
202
|
+
showFirstLastPage: boolean;
|
|
203
|
+
firstIcon: IconValue;
|
|
204
|
+
lastIcon: IconValue;
|
|
205
|
+
pageAriaLabel: string;
|
|
206
|
+
currentPageAriaLabel: string;
|
|
207
|
+
firstAriaLabel: string;
|
|
208
|
+
previousAriaLabel: string;
|
|
209
|
+
nextAriaLabel: string;
|
|
210
|
+
lastAriaLabel: string;
|
|
211
|
+
}, {}, string> & {
|
|
212
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
213
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
214
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
215
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
216
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
217
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
218
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
219
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
220
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
221
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
222
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
223
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
224
|
+
renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
|
|
225
|
+
renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
|
|
226
|
+
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
227
|
+
};
|
|
228
|
+
$forceUpdate: () => void;
|
|
229
|
+
$nextTick: typeof nextTick;
|
|
230
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: vue.WatchOptions<boolean> | undefined): vue.WatchStopHandle;
|
|
231
|
+
} & {
|
|
232
|
+
length: string | number;
|
|
233
|
+
start: string | number;
|
|
234
|
+
ariaLabel: string;
|
|
235
|
+
disabled: boolean;
|
|
236
|
+
size: string | number;
|
|
237
|
+
tag: string;
|
|
238
|
+
ellipsis: string;
|
|
239
|
+
density: Density;
|
|
240
|
+
variant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
241
|
+
modelValue: number;
|
|
242
|
+
nextIcon: IconValue;
|
|
243
|
+
prevIcon: IconValue;
|
|
244
|
+
showFirstLastPage: boolean;
|
|
245
|
+
firstIcon: IconValue;
|
|
246
|
+
lastIcon: IconValue;
|
|
247
|
+
pageAriaLabel: string;
|
|
248
|
+
currentPageAriaLabel: string;
|
|
249
|
+
firstAriaLabel: string;
|
|
250
|
+
previousAriaLabel: string;
|
|
251
|
+
nextAriaLabel: string;
|
|
252
|
+
lastAriaLabel: string;
|
|
253
|
+
} & {
|
|
254
|
+
border?: string | number | boolean | undefined;
|
|
255
|
+
color?: string | undefined;
|
|
256
|
+
elevation?: string | number | undefined;
|
|
257
|
+
theme?: string | undefined;
|
|
258
|
+
rounded?: string | number | boolean | undefined;
|
|
259
|
+
activeColor?: string | undefined;
|
|
260
|
+
totalVisible?: string | number | undefined;
|
|
261
|
+
} & {
|
|
262
|
+
$children?: {} | vue.VNodeChild | {
|
|
263
|
+
item?: (() => vue.VNodeChild) | undefined;
|
|
264
|
+
first?: (() => vue.VNodeChild) | undefined;
|
|
265
|
+
next?: (() => vue.VNodeChild) | undefined;
|
|
266
|
+
prev?: (() => vue.VNodeChild) | undefined;
|
|
267
|
+
last?: (() => vue.VNodeChild) | undefined;
|
|
268
|
+
};
|
|
269
|
+
$slots?: {
|
|
270
|
+
item?: (() => vue.VNodeChild) | undefined;
|
|
271
|
+
first?: (() => vue.VNodeChild) | undefined;
|
|
272
|
+
next?: (() => vue.VNodeChild) | undefined;
|
|
273
|
+
prev?: (() => vue.VNodeChild) | undefined;
|
|
274
|
+
last?: (() => vue.VNodeChild) | undefined;
|
|
275
|
+
} | undefined;
|
|
276
|
+
'v-slots'?: {
|
|
277
|
+
item?: false | (() => vue.VNodeChild) | undefined;
|
|
278
|
+
first?: false | (() => vue.VNodeChild) | undefined;
|
|
279
|
+
next?: false | (() => vue.VNodeChild) | undefined;
|
|
280
|
+
prev?: false | (() => vue.VNodeChild) | undefined;
|
|
281
|
+
last?: false | (() => vue.VNodeChild) | undefined;
|
|
282
|
+
} | undefined;
|
|
283
|
+
} & {
|
|
284
|
+
"v-slot:item"?: false | (() => vue.VNodeChild) | undefined;
|
|
285
|
+
"v-slot:first"?: false | (() => vue.VNodeChild) | undefined;
|
|
286
|
+
"v-slot:next"?: false | (() => vue.VNodeChild) | undefined;
|
|
287
|
+
"v-slot:prev"?: false | (() => vue.VNodeChild) | undefined;
|
|
288
|
+
"v-slot:last"?: false | (() => vue.VNodeChild) | undefined;
|
|
289
|
+
} & {
|
|
290
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
291
|
+
onNext?: ((value: number) => any) | undefined;
|
|
292
|
+
onPrev?: ((value: number) => any) | undefined;
|
|
293
|
+
onFirst?: ((value: number) => any) | undefined;
|
|
294
|
+
onLast?: ((value: number) => any) | undefined;
|
|
295
|
+
} & vue.ShallowUnwrapRef<{}> & {} & vue.ComponentCustomProperties & {};
|
|
296
|
+
__isFragment?: undefined;
|
|
297
|
+
__isTeleport?: undefined;
|
|
298
|
+
__isSuspense?: undefined;
|
|
299
|
+
} & vue.ComponentOptionsBase<{
|
|
10
300
|
length: string | number;
|
|
11
301
|
start: string | number;
|
|
12
302
|
ariaLabel: string;
|
|
@@ -44,63 +334,13 @@ declare const VPagination: vue.DefineComponent<{
|
|
|
44
334
|
prev?: (() => vue.VNodeChild) | undefined;
|
|
45
335
|
last?: (() => vue.VNodeChild) | undefined;
|
|
46
336
|
};
|
|
47
|
-
|
|
48
|
-
item?: false | (() => vue.VNodeChild) | undefined;
|
|
49
|
-
first?: false | (() => vue.VNodeChild) | undefined;
|
|
50
|
-
next?: false | (() => vue.VNodeChild) | undefined;
|
|
51
|
-
prev?: false | (() => vue.VNodeChild) | undefined;
|
|
52
|
-
last?: false | (() => vue.VNodeChild) | undefined;
|
|
53
|
-
} | undefined;
|
|
54
|
-
} & {
|
|
55
|
-
"v-slot:item"?: false | (() => vue.VNodeChild) | undefined;
|
|
56
|
-
"v-slot:first"?: false | (() => vue.VNodeChild) | undefined;
|
|
57
|
-
"v-slot:next"?: false | (() => vue.VNodeChild) | undefined;
|
|
58
|
-
"v-slot:prev"?: false | (() => vue.VNodeChild) | undefined;
|
|
59
|
-
"v-slot:last"?: false | (() => vue.VNodeChild) | undefined;
|
|
60
|
-
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
61
|
-
'update:modelValue': (value: number) => true;
|
|
62
|
-
first: (value: number) => true;
|
|
63
|
-
prev: (value: number) => true;
|
|
64
|
-
next: (value: number) => true;
|
|
65
|
-
last: (value: number) => true;
|
|
66
|
-
}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, {
|
|
67
|
-
length: string | number;
|
|
68
|
-
start: string | number;
|
|
69
|
-
ariaLabel: string;
|
|
70
|
-
disabled: boolean;
|
|
71
|
-
size: string | number;
|
|
72
|
-
tag: string;
|
|
73
|
-
ellipsis: string;
|
|
74
|
-
density: Density;
|
|
75
|
-
variant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
76
|
-
modelValue: number;
|
|
77
|
-
nextIcon: IconValue;
|
|
78
|
-
prevIcon: IconValue;
|
|
79
|
-
showFirstLastPage: boolean;
|
|
80
|
-
firstIcon: IconValue;
|
|
81
|
-
lastIcon: IconValue;
|
|
82
|
-
pageAriaLabel: string;
|
|
83
|
-
currentPageAriaLabel: string;
|
|
84
|
-
firstAriaLabel: string;
|
|
85
|
-
previousAriaLabel: string;
|
|
86
|
-
nextAriaLabel: string;
|
|
87
|
-
lastAriaLabel: string;
|
|
88
|
-
} & {
|
|
89
|
-
border?: string | number | boolean | undefined;
|
|
90
|
-
color?: string | undefined;
|
|
91
|
-
elevation?: string | number | undefined;
|
|
92
|
-
theme?: string | undefined;
|
|
93
|
-
rounded?: string | number | boolean | undefined;
|
|
94
|
-
activeColor?: string | undefined;
|
|
95
|
-
totalVisible?: string | number | undefined;
|
|
96
|
-
} & {
|
|
97
|
-
$children?: {} | vue.VNodeChild | {
|
|
337
|
+
$slots?: {
|
|
98
338
|
item?: (() => vue.VNodeChild) | undefined;
|
|
99
339
|
first?: (() => vue.VNodeChild) | undefined;
|
|
100
340
|
next?: (() => vue.VNodeChild) | undefined;
|
|
101
341
|
prev?: (() => vue.VNodeChild) | undefined;
|
|
102
342
|
last?: (() => vue.VNodeChild) | undefined;
|
|
103
|
-
};
|
|
343
|
+
} | undefined;
|
|
104
344
|
'v-slots'?: {
|
|
105
345
|
item?: false | (() => vue.VNodeChild) | undefined;
|
|
106
346
|
first?: false | (() => vue.VNodeChild) | undefined;
|
|
@@ -120,7 +360,13 @@ declare const VPagination: vue.DefineComponent<{
|
|
|
120
360
|
onPrev?: ((value: number) => any) | undefined;
|
|
121
361
|
onFirst?: ((value: number) => any) | undefined;
|
|
122
362
|
onLast?: ((value: number) => any) | undefined;
|
|
123
|
-
}, {
|
|
363
|
+
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
364
|
+
'update:modelValue': (value: number) => true;
|
|
365
|
+
first: (value: number) => true;
|
|
366
|
+
prev: (value: number) => true;
|
|
367
|
+
next: (value: number) => true;
|
|
368
|
+
last: (value: number) => true;
|
|
369
|
+
}, string, {
|
|
124
370
|
length: string | number;
|
|
125
371
|
start: string | number;
|
|
126
372
|
ariaLabel: string;
|
|
@@ -143,7 +389,209 @@ declare const VPagination: vue.DefineComponent<{
|
|
|
143
389
|
previousAriaLabel: string;
|
|
144
390
|
nextAriaLabel: string;
|
|
145
391
|
lastAriaLabel: string;
|
|
146
|
-
}
|
|
392
|
+
}, {}, string> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
|
393
|
+
color: StringConstructor;
|
|
394
|
+
variant: Omit<{
|
|
395
|
+
type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
396
|
+
default: string;
|
|
397
|
+
validator: (v: any) => boolean;
|
|
398
|
+
}, "type" | "default"> & {
|
|
399
|
+
type: vue.PropType<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>;
|
|
400
|
+
default: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
401
|
+
};
|
|
402
|
+
theme: StringConstructor;
|
|
403
|
+
tag: Omit<{
|
|
404
|
+
type: StringConstructor;
|
|
405
|
+
default: string;
|
|
406
|
+
}, "type" | "default"> & {
|
|
407
|
+
type: vue.PropType<string>;
|
|
408
|
+
default: string;
|
|
409
|
+
};
|
|
410
|
+
size: {
|
|
411
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
412
|
+
default: string;
|
|
413
|
+
};
|
|
414
|
+
rounded: {
|
|
415
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
416
|
+
default: undefined;
|
|
417
|
+
};
|
|
418
|
+
elevation: {
|
|
419
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
420
|
+
validator(v: any): boolean;
|
|
421
|
+
};
|
|
422
|
+
density: {
|
|
423
|
+
type: vue.PropType<Density>;
|
|
424
|
+
default: string;
|
|
425
|
+
validator: (v: any) => boolean;
|
|
426
|
+
};
|
|
427
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
428
|
+
activeColor: StringConstructor;
|
|
429
|
+
start: {
|
|
430
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
431
|
+
default: number;
|
|
432
|
+
};
|
|
433
|
+
modelValue: {
|
|
434
|
+
type: NumberConstructor;
|
|
435
|
+
default: (props: any) => any;
|
|
436
|
+
};
|
|
437
|
+
disabled: BooleanConstructor;
|
|
438
|
+
length: {
|
|
439
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
440
|
+
default: number;
|
|
441
|
+
validator: (val: number) => boolean;
|
|
442
|
+
};
|
|
443
|
+
totalVisible: (StringConstructor | NumberConstructor)[];
|
|
444
|
+
firstIcon: {
|
|
445
|
+
type: vue.PropType<IconValue>;
|
|
446
|
+
default: string;
|
|
447
|
+
};
|
|
448
|
+
prevIcon: {
|
|
449
|
+
type: vue.PropType<IconValue>;
|
|
450
|
+
default: string;
|
|
451
|
+
};
|
|
452
|
+
nextIcon: {
|
|
453
|
+
type: vue.PropType<IconValue>;
|
|
454
|
+
default: string;
|
|
455
|
+
};
|
|
456
|
+
lastIcon: {
|
|
457
|
+
type: vue.PropType<IconValue>;
|
|
458
|
+
default: string;
|
|
459
|
+
};
|
|
460
|
+
ariaLabel: {
|
|
461
|
+
type: StringConstructor;
|
|
462
|
+
default: string;
|
|
463
|
+
};
|
|
464
|
+
pageAriaLabel: {
|
|
465
|
+
type: StringConstructor;
|
|
466
|
+
default: string;
|
|
467
|
+
};
|
|
468
|
+
currentPageAriaLabel: {
|
|
469
|
+
type: StringConstructor;
|
|
470
|
+
default: string;
|
|
471
|
+
};
|
|
472
|
+
firstAriaLabel: {
|
|
473
|
+
type: StringConstructor;
|
|
474
|
+
default: string;
|
|
475
|
+
};
|
|
476
|
+
previousAriaLabel: {
|
|
477
|
+
type: StringConstructor;
|
|
478
|
+
default: string;
|
|
479
|
+
};
|
|
480
|
+
nextAriaLabel: {
|
|
481
|
+
type: StringConstructor;
|
|
482
|
+
default: string;
|
|
483
|
+
};
|
|
484
|
+
lastAriaLabel: {
|
|
485
|
+
type: StringConstructor;
|
|
486
|
+
default: string;
|
|
487
|
+
};
|
|
488
|
+
ellipsis: {
|
|
489
|
+
type: StringConstructor;
|
|
490
|
+
default: string;
|
|
491
|
+
};
|
|
492
|
+
showFirstLastPage: BooleanConstructor;
|
|
493
|
+
}, vue.ExtractPropTypes<{
|
|
494
|
+
color: StringConstructor;
|
|
495
|
+
variant: Omit<{
|
|
496
|
+
type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
497
|
+
default: string;
|
|
498
|
+
validator: (v: any) => boolean;
|
|
499
|
+
}, "type" | "default"> & {
|
|
500
|
+
type: vue.PropType<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>;
|
|
501
|
+
default: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
502
|
+
};
|
|
503
|
+
theme: StringConstructor;
|
|
504
|
+
tag: Omit<{
|
|
505
|
+
type: StringConstructor;
|
|
506
|
+
default: string;
|
|
507
|
+
}, "type" | "default"> & {
|
|
508
|
+
type: vue.PropType<string>;
|
|
509
|
+
default: string;
|
|
510
|
+
};
|
|
511
|
+
size: {
|
|
512
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
513
|
+
default: string;
|
|
514
|
+
};
|
|
515
|
+
rounded: {
|
|
516
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
517
|
+
default: undefined;
|
|
518
|
+
};
|
|
519
|
+
elevation: {
|
|
520
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
521
|
+
validator(v: any): boolean;
|
|
522
|
+
};
|
|
523
|
+
density: {
|
|
524
|
+
type: vue.PropType<Density>;
|
|
525
|
+
default: string;
|
|
526
|
+
validator: (v: any) => boolean;
|
|
527
|
+
};
|
|
528
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
529
|
+
activeColor: StringConstructor;
|
|
530
|
+
start: {
|
|
531
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
532
|
+
default: number;
|
|
533
|
+
};
|
|
534
|
+
modelValue: {
|
|
535
|
+
type: NumberConstructor;
|
|
536
|
+
default: (props: any) => any;
|
|
537
|
+
};
|
|
538
|
+
disabled: BooleanConstructor;
|
|
539
|
+
length: {
|
|
540
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
541
|
+
default: number;
|
|
542
|
+
validator: (val: number) => boolean;
|
|
543
|
+
};
|
|
544
|
+
totalVisible: (StringConstructor | NumberConstructor)[];
|
|
545
|
+
firstIcon: {
|
|
546
|
+
type: vue.PropType<IconValue>;
|
|
547
|
+
default: string;
|
|
548
|
+
};
|
|
549
|
+
prevIcon: {
|
|
550
|
+
type: vue.PropType<IconValue>;
|
|
551
|
+
default: string;
|
|
552
|
+
};
|
|
553
|
+
nextIcon: {
|
|
554
|
+
type: vue.PropType<IconValue>;
|
|
555
|
+
default: string;
|
|
556
|
+
};
|
|
557
|
+
lastIcon: {
|
|
558
|
+
type: vue.PropType<IconValue>;
|
|
559
|
+
default: string;
|
|
560
|
+
};
|
|
561
|
+
ariaLabel: {
|
|
562
|
+
type: StringConstructor;
|
|
563
|
+
default: string;
|
|
564
|
+
};
|
|
565
|
+
pageAriaLabel: {
|
|
566
|
+
type: StringConstructor;
|
|
567
|
+
default: string;
|
|
568
|
+
};
|
|
569
|
+
currentPageAriaLabel: {
|
|
570
|
+
type: StringConstructor;
|
|
571
|
+
default: string;
|
|
572
|
+
};
|
|
573
|
+
firstAriaLabel: {
|
|
574
|
+
type: StringConstructor;
|
|
575
|
+
default: string;
|
|
576
|
+
};
|
|
577
|
+
previousAriaLabel: {
|
|
578
|
+
type: StringConstructor;
|
|
579
|
+
default: string;
|
|
580
|
+
};
|
|
581
|
+
nextAriaLabel: {
|
|
582
|
+
type: StringConstructor;
|
|
583
|
+
default: string;
|
|
584
|
+
};
|
|
585
|
+
lastAriaLabel: {
|
|
586
|
+
type: StringConstructor;
|
|
587
|
+
default: string;
|
|
588
|
+
};
|
|
589
|
+
ellipsis: {
|
|
590
|
+
type: StringConstructor;
|
|
591
|
+
default: string;
|
|
592
|
+
};
|
|
593
|
+
showFirstLastPage: BooleanConstructor;
|
|
594
|
+
}>>;
|
|
147
595
|
type VPagination = InstanceType<typeof VPagination>;
|
|
148
596
|
|
|
149
597
|
export { VPagination };
|
|
@@ -70,9 +70,9 @@ export const VParallax = genericComponent()({
|
|
|
70
70
|
frame = requestAnimationFrame(() => {
|
|
71
71
|
const el = (root.value?.$el).querySelector('.v-img__img');
|
|
72
72
|
if (!el) return;
|
|
73
|
-
const scrollHeight = scrollParent
|
|
74
|
-
const scrollPos = scrollParent
|
|
75
|
-
const top = intersectionRef.value.
|
|
73
|
+
const scrollHeight = scrollParent instanceof Document ? document.documentElement.clientHeight : scrollParent.clientHeight;
|
|
74
|
+
const scrollPos = scrollParent instanceof Document ? window.scrollY : scrollParent.scrollTop;
|
|
75
|
+
const top = intersectionRef.value.getBoundingClientRect().top + scrollPos;
|
|
76
76
|
const height = contentRect.value.height;
|
|
77
77
|
const center = top + (height - scrollHeight) / 2;
|
|
78
78
|
const translate = floor((scrollPos - center) * scale.value);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VParallax.mjs","names":["VImg","useDisplay","useIntersectionObserver","useResizeObserver","clamp","genericComponent","getScrollParent","useRender","computed","onBeforeUnmount","ref","watch","watchEffect","floor","val","Math","abs","sign","VParallax","name","props","scale","type","Number","String","default","setup","slots","intersectionRef","isIntersecting","resizeRef","contentRect","height","displayHeight","root","value","$el","scrollParent","document","scrollingElement","addEventListener","onScroll","passive","removeEventListener","frame","cancelAnimationFrame","requestAnimationFrame","el","querySelector","scrollHeight","
|
|
1
|
+
{"version":3,"file":"VParallax.mjs","names":["VImg","useDisplay","useIntersectionObserver","useResizeObserver","clamp","genericComponent","getScrollParent","useRender","computed","onBeforeUnmount","ref","watch","watchEffect","floor","val","Math","abs","sign","VParallax","name","props","scale","type","Number","String","default","setup","slots","intersectionRef","isIntersecting","resizeRef","contentRect","height","displayHeight","root","value","$el","scrollParent","document","scrollingElement","addEventListener","onScroll","passive","removeEventListener","frame","cancelAnimationFrame","requestAnimationFrame","el","querySelector","scrollHeight","Document","documentElement","clientHeight","scrollPos","window","scrollY","scrollTop","top","getBoundingClientRect","center","translate","sizeScale","max","style","setProperty"],"sources":["../../../src/components/VParallax/VParallax.tsx"],"sourcesContent":["// Styles\nimport './VParallax.sass'\n\n// Components\nimport { VImg } from '@/components/VImg'\n\n// Composables\nimport { useDisplay } from '@/composables'\nimport { useIntersectionObserver } from '@/composables/intersectionObserver'\nimport { useResizeObserver } from '@/composables/resizeObserver'\n\n// Utilities\nimport { clamp, genericComponent, getScrollParent, useRender } from '@/util'\nimport { computed, onBeforeUnmount, ref, watch, watchEffect } from 'vue'\n\n// Types\nimport type { VImgSlots } from '../VImg/VImg'\n\nfunction floor (val: number) {\n return Math.floor(Math.abs(val)) * Math.sign(val)\n}\n\nexport const VParallax = genericComponent<VImgSlots>()({\n name: 'VParallax',\n\n props: {\n scale: {\n type: [Number, String],\n default: 0.5,\n },\n },\n\n setup (props, { slots }) {\n const { intersectionRef, isIntersecting } = useIntersectionObserver()\n const { resizeRef, contentRect } = useResizeObserver()\n const { height: displayHeight } = useDisplay()\n\n const root = ref<VImg>()\n\n watchEffect(() => {\n intersectionRef.value = resizeRef.value = root.value?.$el\n })\n\n let scrollParent: Element | Document\n watch(isIntersecting, val => {\n if (val) {\n scrollParent = getScrollParent(intersectionRef.value)\n scrollParent = scrollParent === document.scrollingElement ? document : scrollParent\n scrollParent.addEventListener('scroll', onScroll, { passive: true })\n onScroll()\n } else {\n scrollParent.removeEventListener('scroll', onScroll)\n }\n })\n\n onBeforeUnmount(() => {\n scrollParent?.removeEventListener('scroll', onScroll)\n })\n\n watch(displayHeight, onScroll)\n watch(() => contentRect.value?.height, onScroll)\n\n const scale = computed(() => {\n return 1 - clamp(+props.scale)\n })\n\n let frame = -1\n function onScroll () {\n if (!isIntersecting.value) return\n\n cancelAnimationFrame(frame)\n frame = requestAnimationFrame(() => {\n const el: HTMLElement | null = (root.value?.$el as Element).querySelector('.v-img__img')\n if (!el) return\n\n const scrollHeight = scrollParent instanceof Document ? document.documentElement.clientHeight : scrollParent.clientHeight\n const scrollPos = scrollParent instanceof Document ? window.scrollY : scrollParent.scrollTop\n const top = intersectionRef.value!.getBoundingClientRect().top + scrollPos\n const height = contentRect.value!.height\n\n const center = top + (height - scrollHeight) / 2\n const translate = floor((scrollPos - center) * scale.value)\n const sizeScale = Math.max(1, (scale.value * (scrollHeight - height) + height) / height)\n\n el.style.setProperty('transform', `translateY(${translate}px) scale(${sizeScale})`)\n })\n }\n\n useRender(() => (\n <VImg\n class={[\n 'v-parallax',\n { 'v-parallax--active': isIntersecting.value },\n ]}\n ref={ root }\n cover\n onLoadstart={ onScroll }\n onLoad={ onScroll }\n v-slots={ slots }\n />\n ))\n\n return {}\n },\n})\n\nexport type VParallax = InstanceType<typeof VParallax>\n"],"mappings":"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"}
|