@kokoccc/vuetify 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/json/attributes.json +690 -0
- package/dist/json/tags.json +784 -0
- package/dist/json/web-types.json +11518 -0
- package/dist/vuetify.css +29663 -0
- package/dist/vuetify.css.map +1 -0
- package/dist/vuetify.js +49117 -0
- package/dist/vuetify.js.map +1 -0
- package/dist/vuetify.min.css +9 -0
- package/dist/vuetify.min.js +6 -0
- package/es5/components/VAlert/VAlert.js +243 -0
- package/es5/components/VAlert/VAlert.js.map +1 -0
- package/es5/components/VAlert/index.js +20 -0
- package/es5/components/VAlert/index.js.map +1 -0
- package/es5/components/VApp/VApp.js +68 -0
- package/es5/components/VApp/VApp.js.map +1 -0
- package/es5/components/VApp/index.js +20 -0
- package/es5/components/VApp/index.js.map +1 -0
- package/es5/components/VAppBar/VAppBar.js +246 -0
- package/es5/components/VAppBar/VAppBar.js.map +1 -0
- package/es5/components/VAppBar/VAppBarNavIcon.js +41 -0
- package/es5/components/VAppBar/VAppBarNavIcon.js.map +1 -0
- package/es5/components/VAppBar/VAppBarTitle.js +72 -0
- package/es5/components/VAppBar/VAppBarTitle.js.map +1 -0
- package/es5/components/VAppBar/index.js +42 -0
- package/es5/components/VAppBar/index.js.map +1 -0
- package/es5/components/VAutocomplete/VAutocomplete.js +406 -0
- package/es5/components/VAutocomplete/VAutocomplete.js.map +1 -0
- package/es5/components/VAutocomplete/index.js +20 -0
- package/es5/components/VAutocomplete/index.js.map +1 -0
- package/es5/components/VAvatar/VAvatar.js +66 -0
- package/es5/components/VAvatar/VAvatar.js.map +1 -0
- package/es5/components/VAvatar/index.js +20 -0
- package/es5/components/VAvatar/index.js.map +1 -0
- package/es5/components/VBadge/VBadge.js +227 -0
- package/es5/components/VBadge/VBadge.js.map +1 -0
- package/es5/components/VBadge/index.js +20 -0
- package/es5/components/VBadge/index.js.map +1 -0
- package/es5/components/VBanner/VBanner.js +187 -0
- package/es5/components/VBanner/VBanner.js.map +1 -0
- package/es5/components/VBanner/index.js +20 -0
- package/es5/components/VBanner/index.js.map +1 -0
- package/es5/components/VBottomNavigation/VBottomNavigation.js +167 -0
- package/es5/components/VBottomNavigation/VBottomNavigation.js.map +1 -0
- package/es5/components/VBottomNavigation/index.js +20 -0
- package/es5/components/VBottomNavigation/index.js.map +1 -0
- package/es5/components/VBottomSheet/VBottomSheet.js +45 -0
- package/es5/components/VBottomSheet/VBottomSheet.js.map +1 -0
- package/es5/components/VBottomSheet/index.js +20 -0
- package/es5/components/VBottomSheet/index.js.map +1 -0
- package/es5/components/VBreadcrumbs/VBreadcrumbs.js +100 -0
- package/es5/components/VBreadcrumbs/VBreadcrumbs.js.map +1 -0
- package/es5/components/VBreadcrumbs/VBreadcrumbsDivider.js +13 -0
- package/es5/components/VBreadcrumbs/VBreadcrumbsDivider.js.map +1 -0
- package/es5/components/VBreadcrumbs/VBreadcrumbsItem.js +63 -0
- package/es5/components/VBreadcrumbs/VBreadcrumbsItem.js.map +1 -0
- package/es5/components/VBreadcrumbs/index.js +42 -0
- package/es5/components/VBreadcrumbs/index.js.map +1 -0
- package/es5/components/VBtn/VBtn.js +214 -0
- package/es5/components/VBtn/VBtn.js.map +1 -0
- package/es5/components/VBtn/index.js +20 -0
- package/es5/components/VBtn/index.js.map +1 -0
- package/es5/components/VBtnToggle/VBtnToggle.js +59 -0
- package/es5/components/VBtnToggle/VBtnToggle.js.map +1 -0
- package/es5/components/VBtnToggle/index.js +20 -0
- package/es5/components/VBtnToggle/index.js.map +1 -0
- package/es5/components/VCalendar/VCalendar.js +398 -0
- package/es5/components/VCalendar/VCalendar.js.map +1 -0
- package/es5/components/VCalendar/VCalendarCategory.js +167 -0
- package/es5/components/VCalendar/VCalendarCategory.js.map +1 -0
- package/es5/components/VCalendar/VCalendarDaily.js +261 -0
- package/es5/components/VCalendar/VCalendarDaily.js.map +1 -0
- package/es5/components/VCalendar/VCalendarMonthly.js +40 -0
- package/es5/components/VCalendar/VCalendarMonthly.js.map +1 -0
- package/es5/components/VCalendar/VCalendarWeekly.js +231 -0
- package/es5/components/VCalendar/VCalendarWeekly.js.map +1 -0
- package/es5/components/VCalendar/index.js +60 -0
- package/es5/components/VCalendar/index.js.map +1 -0
- package/es5/components/VCalendar/mixins/calendar-base.js +115 -0
- package/es5/components/VCalendar/mixins/calendar-base.js.map +1 -0
- package/es5/components/VCalendar/mixins/calendar-with-events.js +487 -0
- package/es5/components/VCalendar/mixins/calendar-with-events.js.map +1 -0
- package/es5/components/VCalendar/mixins/calendar-with-intervals.js +165 -0
- package/es5/components/VCalendar/mixins/calendar-with-intervals.js.map +1 -0
- package/es5/components/VCalendar/mixins/times.js +75 -0
- package/es5/components/VCalendar/mixins/times.js.map +1 -0
- package/es5/components/VCalendar/modes/column.js +29 -0
- package/es5/components/VCalendar/modes/column.js.map +1 -0
- package/es5/components/VCalendar/modes/common.js +169 -0
- package/es5/components/VCalendar/modes/common.js.map +1 -0
- package/es5/components/VCalendar/modes/index.js +17 -0
- package/es5/components/VCalendar/modes/index.js.map +1 -0
- package/es5/components/VCalendar/modes/stack.js +403 -0
- package/es5/components/VCalendar/modes/stack.js.map +1 -0
- package/es5/components/VCalendar/util/events.js +58 -0
- package/es5/components/VCalendar/util/events.js.map +1 -0
- package/es5/components/VCalendar/util/parser.js +36 -0
- package/es5/components/VCalendar/util/parser.js.map +1 -0
- package/es5/components/VCalendar/util/props.js +284 -0
- package/es5/components/VCalendar/util/props.js.map +1 -0
- package/es5/components/VCalendar/util/timestamp.js +570 -0
- package/es5/components/VCalendar/util/timestamp.js.map +1 -0
- package/es5/components/VCard/VCard.js +95 -0
- package/es5/components/VCard/VCard.js.map +1 -0
- package/es5/components/VCard/index.js +38 -0
- package/es5/components/VCard/index.js.map +1 -0
- package/es5/components/VCarousel/VCarousel.js +251 -0
- package/es5/components/VCarousel/VCarousel.js.map +1 -0
- package/es5/components/VCarousel/VCarouselItem.js +77 -0
- package/es5/components/VCarousel/VCarouselItem.js.map +1 -0
- package/es5/components/VCarousel/index.js +33 -0
- package/es5/components/VCarousel/index.js.map +1 -0
- package/es5/components/VCheckbox/VCheckbox.js +155 -0
- package/es5/components/VCheckbox/VCheckbox.js.map +1 -0
- package/es5/components/VCheckbox/VSimpleCheckbox.js +158 -0
- package/es5/components/VCheckbox/VSimpleCheckbox.js.map +1 -0
- package/es5/components/VCheckbox/index.js +33 -0
- package/es5/components/VCheckbox/index.js.map +1 -0
- package/es5/components/VChip/VChip.js +209 -0
- package/es5/components/VChip/VChip.js.map +1 -0
- package/es5/components/VChip/index.js +20 -0
- package/es5/components/VChip/index.js.map +1 -0
- package/es5/components/VChipGroup/VChipGroup.js +57 -0
- package/es5/components/VChipGroup/VChipGroup.js.map +1 -0
- package/es5/components/VChipGroup/index.js +20 -0
- package/es5/components/VChipGroup/index.js.map +1 -0
- package/es5/components/VColorPicker/VColorPicker.js +205 -0
- package/es5/components/VColorPicker/VColorPicker.js.map +1 -0
- package/es5/components/VColorPicker/VColorPickerCanvas.js +169 -0
- package/es5/components/VColorPicker/VColorPickerCanvas.js.map +1 -0
- package/es5/components/VColorPicker/VColorPickerEdit.js +173 -0
- package/es5/components/VColorPicker/VColorPickerEdit.js.map +1 -0
- package/es5/components/VColorPicker/VColorPickerPreview.js +116 -0
- package/es5/components/VColorPicker/VColorPickerPreview.js.map +1 -0
- package/es5/components/VColorPicker/VColorPickerSwatches.js +104 -0
- package/es5/components/VColorPicker/VColorPickerSwatches.js.map +1 -0
- package/es5/components/VColorPicker/index.js +36 -0
- package/es5/components/VColorPicker/index.js.map +1 -0
- package/es5/components/VColorPicker/util/index.js +180 -0
- package/es5/components/VColorPicker/util/index.js.map +1 -0
- package/es5/components/VCombobox/VCombobox.js +262 -0
- package/es5/components/VCombobox/VCombobox.js.map +1 -0
- package/es5/components/VCombobox/index.js +20 -0
- package/es5/components/VCombobox/index.js.map +1 -0
- package/es5/components/VContent/VContent.js +56 -0
- package/es5/components/VContent/VContent.js.map +1 -0
- package/es5/components/VContent/index.js +20 -0
- package/es5/components/VContent/index.js.map +1 -0
- package/es5/components/VCounter/VCounter.js +57 -0
- package/es5/components/VCounter/VCounter.js.map +1 -0
- package/es5/components/VCounter/index.js +20 -0
- package/es5/components/VCounter/index.js.map +1 -0
- package/es5/components/VData/VData.js +441 -0
- package/es5/components/VData/VData.js.map +1 -0
- package/es5/components/VData/index.js +20 -0
- package/es5/components/VData/index.js.map +1 -0
- package/es5/components/VDataIterator/VDataFooter.js +220 -0
- package/es5/components/VDataIterator/VDataFooter.js.map +1 -0
- package/es5/components/VDataIterator/VDataIterator.js +417 -0
- package/es5/components/VDataIterator/VDataIterator.js.map +1 -0
- package/es5/components/VDataIterator/index.js +33 -0
- package/es5/components/VDataIterator/index.js.map +1 -0
- package/es5/components/VDataTable/MobileRow.js +74 -0
- package/es5/components/VDataTable/MobileRow.js.map +1 -0
- package/es5/components/VDataTable/Row.js +75 -0
- package/es5/components/VDataTable/Row.js.map +1 -0
- package/es5/components/VDataTable/RowGroup.js +99 -0
- package/es5/components/VDataTable/RowGroup.js.map +1 -0
- package/es5/components/VDataTable/VDataTable.js +721 -0
- package/es5/components/VDataTable/VDataTable.js.map +1 -0
- package/es5/components/VDataTable/VDataTableHeader.js +47 -0
- package/es5/components/VDataTable/VDataTableHeader.js.map +1 -0
- package/es5/components/VDataTable/VDataTableHeaderDesktop.js +152 -0
- package/es5/components/VDataTable/VDataTableHeaderDesktop.js.map +1 -0
- package/es5/components/VDataTable/VDataTableHeaderMobile.js +131 -0
- package/es5/components/VDataTable/VDataTableHeaderMobile.js.map +1 -0
- package/es5/components/VDataTable/VEditDialog.js +148 -0
- package/es5/components/VDataTable/VEditDialog.js.map +1 -0
- package/es5/components/VDataTable/VSimpleTable.js +62 -0
- package/es5/components/VDataTable/VSimpleTable.js.map +1 -0
- package/es5/components/VDataTable/VVirtualTable.js +152 -0
- package/es5/components/VDataTable/VVirtualTable.js.map +1 -0
- package/es5/components/VDataTable/index.js +65 -0
- package/es5/components/VDataTable/index.js.map +1 -0
- package/es5/components/VDataTable/mixins/header.js +95 -0
- package/es5/components/VDataTable/mixins/header.js.map +1 -0
- package/es5/components/VDatePicker/VDatePicker.js +578 -0
- package/es5/components/VDatePicker/VDatePicker.js.map +1 -0
- package/es5/components/VDatePicker/VDatePickerDateTable.js +161 -0
- package/es5/components/VDatePicker/VDatePickerDateTable.js.map +1 -0
- package/es5/components/VDatePicker/VDatePickerHeader.js +213 -0
- package/es5/components/VDatePicker/VDatePickerHeader.js.map +1 -0
- package/es5/components/VDatePicker/VDatePickerMonthTable.js +73 -0
- package/es5/components/VDatePicker/VDatePickerMonthTable.js.map +1 -0
- package/es5/components/VDatePicker/VDatePickerTitle.js +137 -0
- package/es5/components/VDatePicker/VDatePickerTitle.js.map +1 -0
- package/es5/components/VDatePicker/VDatePickerYears.js +132 -0
- package/es5/components/VDatePicker/VDatePickerYears.js.map +1 -0
- package/es5/components/VDatePicker/index.js +69 -0
- package/es5/components/VDatePicker/index.js.map +1 -0
- package/es5/components/VDatePicker/mixins/date-picker-table.js +293 -0
- package/es5/components/VDatePicker/mixins/date-picker-table.js.map +1 -0
- package/es5/components/VDatePicker/util/createNativeLocaleFormatter.js +58 -0
- package/es5/components/VDatePicker/util/createNativeLocaleFormatter.js.map +1 -0
- package/es5/components/VDatePicker/util/eventHelpers.js +40 -0
- package/es5/components/VDatePicker/util/eventHelpers.js.map +1 -0
- package/es5/components/VDatePicker/util/index.js +54 -0
- package/es5/components/VDatePicker/util/index.js.map +1 -0
- package/es5/components/VDatePicker/util/isDateAllowed.js +11 -0
- package/es5/components/VDatePicker/util/isDateAllowed.js.map +1 -0
- package/es5/components/VDatePicker/util/monthChange.js +44 -0
- package/es5/components/VDatePicker/util/monthChange.js.map +1 -0
- package/es5/components/VDatePicker/util/pad.js +32 -0
- package/es5/components/VDatePicker/util/pad.js.map +1 -0
- package/es5/components/VDatePicker/util/sanitizeDateString.js +41 -0
- package/es5/components/VDatePicker/util/sanitizeDateString.js.map +1 -0
- package/es5/components/VDialog/VDialog.js +342 -0
- package/es5/components/VDialog/VDialog.js.map +1 -0
- package/es5/components/VDialog/index.js +20 -0
- package/es5/components/VDialog/index.js.map +1 -0
- package/es5/components/VDivider/VDivider.js +52 -0
- package/es5/components/VDivider/VDivider.js.map +1 -0
- package/es5/components/VDivider/index.js +20 -0
- package/es5/components/VDivider/index.js.map +1 -0
- package/es5/components/VExpansionPanel/VExpansionPanel.js +95 -0
- package/es5/components/VExpansionPanel/VExpansionPanel.js.map +1 -0
- package/es5/components/VExpansionPanel/VExpansionPanelContent.js +78 -0
- package/es5/components/VExpansionPanel/VExpansionPanelContent.js.map +1 -0
- package/es5/components/VExpansionPanel/VExpansionPanelHeader.js +122 -0
- package/es5/components/VExpansionPanel/VExpansionPanelHeader.js.map +1 -0
- package/es5/components/VExpansionPanel/VExpansionPanels.js +79 -0
- package/es5/components/VExpansionPanel/VExpansionPanels.js.map +1 -0
- package/es5/components/VExpansionPanel/index.js +51 -0
- package/es5/components/VExpansionPanel/index.js.map +1 -0
- package/es5/components/VFileInput/VFileInput.js +322 -0
- package/es5/components/VFileInput/VFileInput.js.map +1 -0
- package/es5/components/VFileInput/index.js +20 -0
- package/es5/components/VFileInput/index.js.map +1 -0
- package/es5/components/VFooter/VFooter.js +99 -0
- package/es5/components/VFooter/VFooter.js.map +1 -0
- package/es5/components/VFooter/index.js +20 -0
- package/es5/components/VFooter/index.js.map +1 -0
- package/es5/components/VForm/VForm.js +182 -0
- package/es5/components/VForm/VForm.js.map +1 -0
- package/es5/components/VForm/index.js +20 -0
- package/es5/components/VForm/index.js.map +1 -0
- package/es5/components/VGrid/VCol.js +171 -0
- package/es5/components/VGrid/VCol.js.map +1 -0
- package/es5/components/VGrid/VContainer.js +89 -0
- package/es5/components/VGrid/VContainer.js.map +1 -0
- package/es5/components/VGrid/VFlex.js +17 -0
- package/es5/components/VGrid/VFlex.js.map +1 -0
- package/es5/components/VGrid/VLayout.js +17 -0
- package/es5/components/VGrid/VLayout.js.map +1 -0
- package/es5/components/VGrid/VRow.js +171 -0
- package/es5/components/VGrid/VRow.js.map +1 -0
- package/es5/components/VGrid/VSpacer.js +15 -0
- package/es5/components/VGrid/VSpacer.js.map +1 -0
- package/es5/components/VGrid/grid.js +79 -0
- package/es5/components/VGrid/grid.js.map +1 -0
- package/es5/components/VGrid/index.js +69 -0
- package/es5/components/VGrid/index.js.map +1 -0
- package/es5/components/VHover/VHover.js +87 -0
- package/es5/components/VHover/VHover.js.map +1 -0
- package/es5/components/VHover/index.js +20 -0
- package/es5/components/VHover/index.js.map +1 -0
- package/es5/components/VIcon/VIcon.js +302 -0
- package/es5/components/VIcon/VIcon.js.map +1 -0
- package/es5/components/VIcon/index.js +20 -0
- package/es5/components/VIcon/index.js.map +1 -0
- package/es5/components/VImg/VImg.js +278 -0
- package/es5/components/VImg/VImg.js.map +1 -0
- package/es5/components/VImg/index.js +20 -0
- package/es5/components/VImg/index.js.map +1 -0
- package/es5/components/VInput/VInput.js +350 -0
- package/es5/components/VInput/VInput.js.map +1 -0
- package/es5/components/VInput/index.js +20 -0
- package/es5/components/VInput/index.js.map +1 -0
- package/es5/components/VItemGroup/VItem.js +96 -0
- package/es5/components/VItemGroup/VItem.js.map +1 -0
- package/es5/components/VItemGroup/VItemGroup.js +259 -0
- package/es5/components/VItemGroup/VItemGroup.js.map +1 -0
- package/es5/components/VItemGroup/index.js +33 -0
- package/es5/components/VItemGroup/index.js.map +1 -0
- package/es5/components/VLabel/VLabel.js +84 -0
- package/es5/components/VLabel/VLabel.js.map +1 -0
- package/es5/components/VLabel/index.js +20 -0
- package/es5/components/VLabel/index.js.map +1 -0
- package/es5/components/VLazy/VLazy.js +83 -0
- package/es5/components/VLazy/VLazy.js.map +1 -0
- package/es5/components/VLazy/index.js +20 -0
- package/es5/components/VLazy/index.js.map +1 -0
- package/es5/components/VList/VList.js +118 -0
- package/es5/components/VList/VList.js.map +1 -0
- package/es5/components/VList/VListGroup.js +230 -0
- package/es5/components/VList/VListGroup.js.map +1 -0
- package/es5/components/VList/VListItem.js +226 -0
- package/es5/components/VList/VListItem.js.map +1 -0
- package/es5/components/VList/VListItemAction.js +43 -0
- package/es5/components/VList/VListItemAction.js.map +1 -0
- package/es5/components/VList/VListItemAvatar.js +47 -0
- package/es5/components/VList/VListItemAvatar.js.map +1 -0
- package/es5/components/VList/VListItemGroup.js +51 -0
- package/es5/components/VList/VListItemGroup.js.map +1 -0
- package/es5/components/VList/VListItemIcon.js +31 -0
- package/es5/components/VList/VListItemIcon.js.map +1 -0
- package/es5/components/VList/index.js +92 -0
- package/es5/components/VList/index.js.map +1 -0
- package/es5/components/VMain/VMain.js +63 -0
- package/es5/components/VMain/VMain.js.map +1 -0
- package/es5/components/VMain/index.js +20 -0
- package/es5/components/VMain/index.js.map +1 -0
- package/es5/components/VMenu/VMenu.js +514 -0
- package/es5/components/VMenu/VMenu.js.map +1 -0
- package/es5/components/VMenu/index.js +20 -0
- package/es5/components/VMenu/index.js.map +1 -0
- package/es5/components/VMessages/VMessages.js +91 -0
- package/es5/components/VMessages/VMessages.js.map +1 -0
- package/es5/components/VMessages/index.js +20 -0
- package/es5/components/VMessages/index.js.map +1 -0
- package/es5/components/VNavigationDrawer/VNavigationDrawer.js +404 -0
- package/es5/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -0
- package/es5/components/VNavigationDrawer/index.js +20 -0
- package/es5/components/VNavigationDrawer/index.js.map +1 -0
- package/es5/components/VOtpInput/VOtpInput.js +394 -0
- package/es5/components/VOtpInput/VOtpInput.js.map +1 -0
- package/es5/components/VOtpInput/index.js +20 -0
- package/es5/components/VOtpInput/index.js.map +1 -0
- package/es5/components/VOverflowBtn/VOverflowBtn.js +125 -0
- package/es5/components/VOverflowBtn/VOverflowBtn.js.map +1 -0
- package/es5/components/VOverflowBtn/index.js +20 -0
- package/es5/components/VOverflowBtn/index.js.map +1 -0
- package/es5/components/VOverlay/VOverlay.js +129 -0
- package/es5/components/VOverlay/VOverlay.js.map +1 -0
- package/es5/components/VOverlay/index.js +20 -0
- package/es5/components/VOverlay/index.js.map +1 -0
- package/es5/components/VPagination/VPagination.js +279 -0
- package/es5/components/VPagination/VPagination.js.map +1 -0
- package/es5/components/VPagination/index.js +20 -0
- package/es5/components/VPagination/index.js.map +1 -0
- package/es5/components/VParallax/VParallax.js +109 -0
- package/es5/components/VParallax/VParallax.js.map +1 -0
- package/es5/components/VParallax/index.js +20 -0
- package/es5/components/VParallax/index.js.map +1 -0
- package/es5/components/VPicker/VPicker.js +101 -0
- package/es5/components/VPicker/VPicker.js.map +1 -0
- package/es5/components/VPicker/index.js +20 -0
- package/es5/components/VPicker/index.js.map +1 -0
- package/es5/components/VProgressCircular/VProgressCircular.js +150 -0
- package/es5/components/VProgressCircular/VProgressCircular.js.map +1 -0
- package/es5/components/VProgressCircular/index.js +20 -0
- package/es5/components/VProgressCircular/index.js.map +1 -0
- package/es5/components/VProgressLinear/VProgressLinear.js +267 -0
- package/es5/components/VProgressLinear/VProgressLinear.js.map +1 -0
- package/es5/components/VProgressLinear/index.js +20 -0
- package/es5/components/VProgressLinear/index.js.map +1 -0
- package/es5/components/VRadioGroup/VRadio.js +203 -0
- package/es5/components/VRadioGroup/VRadio.js.map +1 -0
- package/es5/components/VRadioGroup/VRadioGroup.js +127 -0
- package/es5/components/VRadioGroup/VRadioGroup.js.map +1 -0
- package/es5/components/VRadioGroup/index.js +33 -0
- package/es5/components/VRadioGroup/index.js.map +1 -0
- package/es5/components/VRangeSlider/VRangeSlider.js +295 -0
- package/es5/components/VRangeSlider/VRangeSlider.js.map +1 -0
- package/es5/components/VRangeSlider/index.js +20 -0
- package/es5/components/VRangeSlider/index.js.map +1 -0
- package/es5/components/VRating/VRating.js +284 -0
- package/es5/components/VRating/VRating.js.map +1 -0
- package/es5/components/VRating/index.js +20 -0
- package/es5/components/VRating/index.js.map +1 -0
- package/es5/components/VResponsive/VResponsive.js +63 -0
- package/es5/components/VResponsive/VResponsive.js.map +1 -0
- package/es5/components/VResponsive/index.js +20 -0
- package/es5/components/VResponsive/index.js.map +1 -0
- package/es5/components/VSelect/VSelect.js +937 -0
- package/es5/components/VSelect/VSelect.js.map +1 -0
- package/es5/components/VSelect/VSelectList.js +317 -0
- package/es5/components/VSelect/VSelectList.js.map +1 -0
- package/es5/components/VSelect/index.js +20 -0
- package/es5/components/VSelect/index.js.map +1 -0
- package/es5/components/VSheet/VSheet.js +71 -0
- package/es5/components/VSheet/VSheet.js.map +1 -0
- package/es5/components/VSheet/index.js +20 -0
- package/es5/components/VSheet/index.js.map +1 -0
- package/es5/components/VSkeletonLoader/VSkeletonLoader.js +211 -0
- package/es5/components/VSkeletonLoader/VSkeletonLoader.js.map +1 -0
- package/es5/components/VSkeletonLoader/index.js +20 -0
- package/es5/components/VSkeletonLoader/index.js.map +1 -0
- package/es5/components/VSlideGroup/VSlideGroup.js +500 -0
- package/es5/components/VSlideGroup/VSlideGroup.js.map +1 -0
- package/es5/components/VSlideGroup/VSlideItem.js +26 -0
- package/es5/components/VSlideGroup/VSlideItem.js.map +1 -0
- package/es5/components/VSlideGroup/index.js +33 -0
- package/es5/components/VSlideGroup/index.js.map +1 -0
- package/es5/components/VSlider/VSlider.js +548 -0
- package/es5/components/VSlider/VSlider.js.map +1 -0
- package/es5/components/VSlider/index.js +20 -0
- package/es5/components/VSlider/index.js.map +1 -0
- package/es5/components/VSnackbar/VSnackbar.js +194 -0
- package/es5/components/VSnackbar/VSnackbar.js.map +1 -0
- package/es5/components/VSnackbar/index.js +20 -0
- package/es5/components/VSnackbar/index.js.map +1 -0
- package/es5/components/VSparkline/VSparkline.js +356 -0
- package/es5/components/VSparkline/VSparkline.js.map +1 -0
- package/es5/components/VSparkline/helpers/core.js +63 -0
- package/es5/components/VSparkline/helpers/core.js.map +1 -0
- package/es5/components/VSparkline/helpers/math.js +43 -0
- package/es5/components/VSparkline/helpers/math.js.map +1 -0
- package/es5/components/VSparkline/helpers/path.js +35 -0
- package/es5/components/VSparkline/helpers/path.js.map +1 -0
- package/es5/components/VSparkline/index.js +20 -0
- package/es5/components/VSparkline/index.js.map +1 -0
- package/es5/components/VSpeedDial/VSpeedDial.js +118 -0
- package/es5/components/VSpeedDial/VSpeedDial.js.map +1 -0
- package/es5/components/VSpeedDial/index.js +20 -0
- package/es5/components/VSpeedDial/index.js.map +1 -0
- package/es5/components/VStepper/VStepper.js +137 -0
- package/es5/components/VStepper/VStepper.js.map +1 -0
- package/es5/components/VStepper/VStepperContent.js +143 -0
- package/es5/components/VStepper/VStepperContent.js.map +1 -0
- package/es5/components/VStepper/VStepperStep.js +151 -0
- package/es5/components/VStepper/VStepperStep.js.map +1 -0
- package/es5/components/VStepper/index.js +50 -0
- package/es5/components/VStepper/index.js.map +1 -0
- package/es5/components/VSubheader/VSubheader.js +43 -0
- package/es5/components/VSubheader/VSubheader.js.map +1 -0
- package/es5/components/VSubheader/index.js +20 -0
- package/es5/components/VSubheader/index.js.map +1 -0
- package/es5/components/VSwitch/VSwitch.js +133 -0
- package/es5/components/VSwitch/VSwitch.js.map +1 -0
- package/es5/components/VSwitch/index.js +20 -0
- package/es5/components/VSwitch/index.js.map +1 -0
- package/es5/components/VSystemBar/VSystemBar.js +77 -0
- package/es5/components/VSystemBar/VSystemBar.js.map +1 -0
- package/es5/components/VSystemBar/index.js +20 -0
- package/es5/components/VSystemBar/index.js.map +1 -0
- package/es5/components/VTabs/VTab.js +119 -0
- package/es5/components/VTabs/VTab.js.map +1 -0
- package/es5/components/VTabs/VTabItem.js +34 -0
- package/es5/components/VTabs/VTabItem.js.map +1 -0
- package/es5/components/VTabs/VTabs.js +356 -0
- package/es5/components/VTabs/VTabs.js.map +1 -0
- package/es5/components/VTabs/VTabsBar.js +109 -0
- package/es5/components/VTabs/VTabsBar.js.map +1 -0
- package/es5/components/VTabs/VTabsItems.js +51 -0
- package/es5/components/VTabs/VTabsItems.js.map +1 -0
- package/es5/components/VTabs/VTabsSlider.js +30 -0
- package/es5/components/VTabs/VTabsSlider.js.map +1 -0
- package/es5/components/VTabs/index.js +60 -0
- package/es5/components/VTabs/index.js.map +1 -0
- package/es5/components/VTextField/VTextField.js +535 -0
- package/es5/components/VTextField/VTextField.js.map +1 -0
- package/es5/components/VTextField/index.js +20 -0
- package/es5/components/VTextField/index.js.map +1 -0
- package/es5/components/VTextarea/VTextarea.js +120 -0
- package/es5/components/VTextarea/VTextarea.js.map +1 -0
- package/es5/components/VTextarea/index.js +20 -0
- package/es5/components/VTextarea/index.js.map +1 -0
- package/es5/components/VThemeProvider/VThemeProvider.js +34 -0
- package/es5/components/VThemeProvider/VThemeProvider.js.map +1 -0
- package/es5/components/VThemeProvider/index.js +20 -0
- package/es5/components/VThemeProvider/index.js.map +1 -0
- package/es5/components/VTimePicker/SelectingTimes.js +15 -0
- package/es5/components/VTimePicker/SelectingTimes.js.map +1 -0
- package/es5/components/VTimePicker/VTimePicker.js +431 -0
- package/es5/components/VTimePicker/VTimePicker.js.map +1 -0
- package/es5/components/VTimePicker/VTimePickerClock.js +270 -0
- package/es5/components/VTimePicker/VTimePickerClock.js.map +1 -0
- package/es5/components/VTimePicker/VTimePickerTitle.js +87 -0
- package/es5/components/VTimePicker/VTimePickerTitle.js.map +1 -0
- package/es5/components/VTimePicker/index.js +42 -0
- package/es5/components/VTimePicker/index.js.map +1 -0
- package/es5/components/VTimeline/VTimeline.js +57 -0
- package/es5/components/VTimeline/VTimeline.js.map +1 -0
- package/es5/components/VTimeline/VTimelineItem.js +110 -0
- package/es5/components/VTimeline/VTimelineItem.js.map +1 -0
- package/es5/components/VTimeline/index.js +33 -0
- package/es5/components/VTimeline/index.js.map +1 -0
- package/es5/components/VToolbar/VToolbar.js +172 -0
- package/es5/components/VToolbar/VToolbar.js.map +1 -0
- package/es5/components/VToolbar/index.js +34 -0
- package/es5/components/VToolbar/index.js.map +1 -0
- package/es5/components/VTooltip/VTooltip.js +217 -0
- package/es5/components/VTooltip/VTooltip.js.map +1 -0
- package/es5/components/VTooltip/index.js +20 -0
- package/es5/components/VTooltip/index.js.map +1 -0
- package/es5/components/VTreeview/VTreeview.js +544 -0
- package/es5/components/VTreeview/VTreeview.js.map +1 -0
- package/es5/components/VTreeview/VTreeviewNode.js +373 -0
- package/es5/components/VTreeview/VTreeviewNode.js.map +1 -0
- package/es5/components/VTreeview/index.js +33 -0
- package/es5/components/VTreeview/index.js.map +1 -0
- package/es5/components/VTreeview/util/filterTreeItems.js +38 -0
- package/es5/components/VTreeview/util/filterTreeItems.js.map +1 -0
- package/es5/components/VVirtualScroll/VVirtualScroll.js +125 -0
- package/es5/components/VVirtualScroll/VVirtualScroll.js.map +1 -0
- package/es5/components/VVirtualScroll/index.js +20 -0
- package/es5/components/VVirtualScroll/index.js.map +1 -0
- package/es5/components/VWindow/VWindow.js +271 -0
- package/es5/components/VWindow/VWindow.js.map +1 -0
- package/es5/components/VWindow/VWindowItem.js +150 -0
- package/es5/components/VWindow/VWindowItem.js.map +1 -0
- package/es5/components/VWindow/index.js +33 -0
- package/es5/components/VWindow/index.js.map +1 -0
- package/es5/components/index.js +1059 -0
- package/es5/components/index.js.map +1 -0
- package/es5/components/transitions/createTransition.js +147 -0
- package/es5/components/transitions/createTransition.js.map +1 -0
- package/es5/components/transitions/expand-transition.js +79 -0
- package/es5/components/transitions/expand-transition.js.map +1 -0
- package/es5/components/transitions/index.js +85 -0
- package/es5/components/transitions/index.js.map +1 -0
- package/es5/directives/click-outside/index.js +115 -0
- package/es5/directives/click-outside/index.js.map +1 -0
- package/es5/directives/color/index.js +74 -0
- package/es5/directives/color/index.js.map +1 -0
- package/es5/directives/index.js +62 -0
- package/es5/directives/index.js.map +1 -0
- package/es5/directives/intersect/index.js +80 -0
- package/es5/directives/intersect/index.js.map +1 -0
- package/es5/directives/mutate/index.js +69 -0
- package/es5/directives/mutate/index.js.map +1 -0
- package/es5/directives/resize/index.js +43 -0
- package/es5/directives/resize/index.js.map +1 -0
- package/es5/directives/ripple/index.js +359 -0
- package/es5/directives/ripple/index.js.map +1 -0
- package/es5/directives/scroll/index.js +52 -0
- package/es5/directives/scroll/index.js.map +1 -0
- package/es5/directives/touch/index.js +126 -0
- package/es5/directives/touch/index.js.map +1 -0
- package/es5/entry-lib.js +55 -0
- package/es5/entry-lib.js.map +1 -0
- package/es5/framework.js +86 -0
- package/es5/framework.js.map +1 -0
- package/es5/index.js +40 -0
- package/es5/index.js.map +1 -0
- package/es5/install.js +87 -0
- package/es5/install.js.map +1 -0
- package/es5/locale/af.js +83 -0
- package/es5/locale/af.js.map +1 -0
- package/es5/locale/ar.js +83 -0
- package/es5/locale/ar.js.map +1 -0
- package/es5/locale/az.js +83 -0
- package/es5/locale/az.js.map +1 -0
- package/es5/locale/bg.js +83 -0
- package/es5/locale/bg.js.map +1 -0
- package/es5/locale/ca.js +83 -0
- package/es5/locale/ca.js.map +1 -0
- package/es5/locale/ckb.js +83 -0
- package/es5/locale/ckb.js.map +1 -0
- package/es5/locale/cs.js +83 -0
- package/es5/locale/cs.js.map +1 -0
- package/es5/locale/da.js +83 -0
- package/es5/locale/da.js.map +1 -0
- package/es5/locale/de.js +83 -0
- package/es5/locale/de.js.map +1 -0
- package/es5/locale/el.js +83 -0
- package/es5/locale/el.js.map +1 -0
- package/es5/locale/en.js +83 -0
- package/es5/locale/en.js.map +1 -0
- package/es5/locale/es.js +83 -0
- package/es5/locale/es.js.map +1 -0
- package/es5/locale/et.js +83 -0
- package/es5/locale/et.js.map +1 -0
- package/es5/locale/fa.js +83 -0
- package/es5/locale/fa.js.map +1 -0
- package/es5/locale/fi.js +83 -0
- package/es5/locale/fi.js.map +1 -0
- package/es5/locale/fr.js +83 -0
- package/es5/locale/fr.js.map +1 -0
- package/es5/locale/he.js +83 -0
- package/es5/locale/he.js.map +1 -0
- package/es5/locale/hr.js +83 -0
- package/es5/locale/hr.js.map +1 -0
- package/es5/locale/hu.js +83 -0
- package/es5/locale/hu.js.map +1 -0
- package/es5/locale/id.js +83 -0
- package/es5/locale/id.js.map +1 -0
- package/es5/locale/index.js +344 -0
- package/es5/locale/index.js.map +1 -0
- package/es5/locale/it.js +83 -0
- package/es5/locale/it.js.map +1 -0
- package/es5/locale/ja.js +83 -0
- package/es5/locale/ja.js.map +1 -0
- package/es5/locale/ko.js +83 -0
- package/es5/locale/ko.js.map +1 -0
- package/es5/locale/lt.js +83 -0
- package/es5/locale/lt.js.map +1 -0
- package/es5/locale/lv.js +83 -0
- package/es5/locale/lv.js.map +1 -0
- package/es5/locale/nl.js +83 -0
- package/es5/locale/nl.js.map +1 -0
- package/es5/locale/no.js +83 -0
- package/es5/locale/no.js.map +1 -0
- package/es5/locale/pl.js +83 -0
- package/es5/locale/pl.js.map +1 -0
- package/es5/locale/pt.js +83 -0
- package/es5/locale/pt.js.map +1 -0
- package/es5/locale/ro.js +83 -0
- package/es5/locale/ro.js.map +1 -0
- package/es5/locale/ru.js +83 -0
- package/es5/locale/ru.js.map +1 -0
- package/es5/locale/sk.js +83 -0
- package/es5/locale/sk.js.map +1 -0
- package/es5/locale/sl.js +83 -0
- package/es5/locale/sl.js.map +1 -0
- package/es5/locale/sr-Cyrl.js +83 -0
- package/es5/locale/sr-Cyrl.js.map +1 -0
- package/es5/locale/sr-Latn.js +83 -0
- package/es5/locale/sr-Latn.js.map +1 -0
- package/es5/locale/sv.js +83 -0
- package/es5/locale/sv.js.map +1 -0
- package/es5/locale/th.js +83 -0
- package/es5/locale/th.js.map +1 -0
- package/es5/locale/tr.js +83 -0
- package/es5/locale/tr.js.map +1 -0
- package/es5/locale/uk.js +83 -0
- package/es5/locale/uk.js.map +1 -0
- package/es5/locale/vi.js +83 -0
- package/es5/locale/vi.js.map +1 -0
- package/es5/locale/zh-Hans.js +83 -0
- package/es5/locale/zh-Hans.js.map +1 -0
- package/es5/locale/zh-Hant.js +83 -0
- package/es5/locale/zh-Hant.js.map +1 -0
- package/es5/mixins/activatable/index.js +218 -0
- package/es5/mixins/activatable/index.js.map +1 -0
- package/es5/mixins/applicationable/index.js +74 -0
- package/es5/mixins/applicationable/index.js.map +1 -0
- package/es5/mixins/binds-attrs/index.js +48 -0
- package/es5/mixins/binds-attrs/index.js.map +1 -0
- package/es5/mixins/bootable/index.js +58 -0
- package/es5/mixins/bootable/index.js.map +1 -0
- package/es5/mixins/button-group/index.js +35 -0
- package/es5/mixins/button-group/index.js.map +1 -0
- package/es5/mixins/colorable/index.js +137 -0
- package/es5/mixins/colorable/index.js.map +1 -0
- package/es5/mixins/comparable/index.js +23 -0
- package/es5/mixins/comparable/index.js.map +1 -0
- package/es5/mixins/delayable/index.js +63 -0
- package/es5/mixins/delayable/index.js.map +1 -0
- package/es5/mixins/dependent/index.js +93 -0
- package/es5/mixins/dependent/index.js.map +1 -0
- package/es5/mixins/detachable/index.js +157 -0
- package/es5/mixins/detachable/index.js.map +1 -0
- package/es5/mixins/elevatable/index.js +31 -0
- package/es5/mixins/elevatable/index.js.map +1 -0
- package/es5/mixins/filterable/index.js +22 -0
- package/es5/mixins/filterable/index.js.map +1 -0
- package/es5/mixins/groupable/index.js +71 -0
- package/es5/mixins/groupable/index.js.map +1 -0
- package/es5/mixins/intersectable/index.js +64 -0
- package/es5/mixins/intersectable/index.js.map +1 -0
- package/es5/mixins/loadable/index.js +53 -0
- package/es5/mixins/loadable/index.js.map +1 -0
- package/es5/mixins/localable/index.js +23 -0
- package/es5/mixins/localable/index.js.map +1 -0
- package/es5/mixins/measurable/index.js +45 -0
- package/es5/mixins/measurable/index.js.map +1 -0
- package/es5/mixins/menuable/index.js +397 -0
- package/es5/mixins/menuable/index.js.map +1 -0
- package/es5/mixins/mobile/index.js +50 -0
- package/es5/mixins/mobile/index.js.map +1 -0
- package/es5/mixins/mouse/index.js +134 -0
- package/es5/mixins/mouse/index.js.map +1 -0
- package/es5/mixins/overlayable/index.js +236 -0
- package/es5/mixins/overlayable/index.js.map +1 -0
- package/es5/mixins/picker/index.js +94 -0
- package/es5/mixins/picker/index.js.map +1 -0
- package/es5/mixins/picker-button/index.js +53 -0
- package/es5/mixins/picker-button/index.js.map +1 -0
- package/es5/mixins/positionable/index.js +61 -0
- package/es5/mixins/positionable/index.js.map +1 -0
- package/es5/mixins/proxyable/index.js +52 -0
- package/es5/mixins/proxyable/index.js.map +1 -0
- package/es5/mixins/registrable/index.js +46 -0
- package/es5/mixins/registrable/index.js.map +1 -0
- package/es5/mixins/returnable/index.js +44 -0
- package/es5/mixins/returnable/index.js.map +1 -0
- package/es5/mixins/rippleable/index.js +53 -0
- package/es5/mixins/rippleable/index.js.map +1 -0
- package/es5/mixins/roundable/index.js +58 -0
- package/es5/mixins/roundable/index.js.map +1 -0
- package/es5/mixins/routable/index.js +165 -0
- package/es5/mixins/routable/index.js.map +1 -0
- package/es5/mixins/scrollable/index.js +107 -0
- package/es5/mixins/scrollable/index.js.map +1 -0
- package/es5/mixins/selectable/index.js +178 -0
- package/es5/mixins/selectable/index.js.map +1 -0
- package/es5/mixins/sizeable/index.js +35 -0
- package/es5/mixins/sizeable/index.js.map +1 -0
- package/es5/mixins/ssr-bootable/index.js +40 -0
- package/es5/mixins/ssr-bootable/index.js.map +1 -0
- package/es5/mixins/stackable/index.js +71 -0
- package/es5/mixins/stackable/index.js.map +1 -0
- package/es5/mixins/themeable/index.js +106 -0
- package/es5/mixins/themeable/index.js.map +1 -0
- package/es5/mixins/toggleable/index.js +41 -0
- package/es5/mixins/toggleable/index.js.map +1 -0
- package/es5/mixins/transitionable/index.js +20 -0
- package/es5/mixins/transitionable/index.js.map +1 -0
- package/es5/mixins/translatable/index.js +62 -0
- package/es5/mixins/translatable/index.js.map +1 -0
- package/es5/mixins/validatable/index.js +293 -0
- package/es5/mixins/validatable/index.js.map +1 -0
- package/es5/presets/default/index.js +74 -0
- package/es5/presets/default/index.js.map +1 -0
- package/es5/services/application/index.js +89 -0
- package/es5/services/application/index.js.map +1 -0
- package/es5/services/breakpoint/index.js +196 -0
- package/es5/services/breakpoint/index.js.map +1 -0
- package/es5/services/goto/easing-patterns.js +98 -0
- package/es5/services/goto/easing-patterns.js.map +1 -0
- package/es5/services/goto/index.js +128 -0
- package/es5/services/goto/index.js.map +1 -0
- package/es5/services/goto/util.js +91 -0
- package/es5/services/goto/util.js.map +1 -0
- package/es5/services/icons/index.js +60 -0
- package/es5/services/icons/index.js.map +1 -0
- package/es5/services/icons/presets/fa-svg.js +31 -0
- package/es5/services/icons/presets/fa-svg.js.map +1 -0
- package/es5/services/icons/presets/fa.js +44 -0
- package/es5/services/icons/presets/fa.js.map +1 -0
- package/es5/services/icons/presets/fa4.js +44 -0
- package/es5/services/icons/presets/fa4.js.map +1 -0
- package/es5/services/icons/presets/index.js +32 -0
- package/es5/services/icons/presets/index.js.map +1 -0
- package/es5/services/icons/presets/md.js +44 -0
- package/es5/services/icons/presets/md.js.map +1 -0
- package/es5/services/icons/presets/mdi-svg.js +44 -0
- package/es5/services/icons/presets/mdi-svg.js.map +1 -0
- package/es5/services/icons/presets/mdi.js +44 -0
- package/es5/services/icons/presets/mdi.js.map +1 -0
- package/es5/services/index.js +97 -0
- package/es5/services/index.js.map +1 -0
- package/es5/services/lang/index.js +121 -0
- package/es5/services/lang/index.js.map +1 -0
- package/es5/services/presets/index.js +71 -0
- package/es5/services/presets/index.js.map +1 -0
- package/es5/services/service/index.js +30 -0
- package/es5/services/service/index.js.map +1 -0
- package/es5/services/theme/index.js +273 -0
- package/es5/services/theme/index.js.map +1 -0
- package/es5/services/theme/utils.js +175 -0
- package/es5/services/theme/utils.js.map +1 -0
- package/es5/util/color/transformCIELAB.js +29 -0
- package/es5/util/color/transformCIELAB.js.map +1 -0
- package/es5/util/color/transformSRGB.js +53 -0
- package/es5/util/color/transformSRGB.js.map +1 -0
- package/es5/util/colorUtils.js +310 -0
- package/es5/util/colorUtils.js.map +1 -0
- package/es5/util/colors.js +329 -0
- package/es5/util/colors.js.map +1 -0
- package/es5/util/console.js +156 -0
- package/es5/util/console.js.map +1 -0
- package/es5/util/dateTimeUtils.js +66 -0
- package/es5/util/dateTimeUtils.js.map +1 -0
- package/es5/util/dedupeModelListeners.js +24 -0
- package/es5/util/dedupeModelListeners.js.map +1 -0
- package/es5/util/dom.js +33 -0
- package/es5/util/dom.js.map +1 -0
- package/es5/util/helpers.js +663 -0
- package/es5/util/helpers.js.map +1 -0
- package/es5/util/legacyEventsMixin.js +48 -0
- package/es5/util/legacyEventsMixin.js.map +1 -0
- package/es5/util/make-directive-activatable.js +74 -0
- package/es5/util/make-directive-activatable.js.map +1 -0
- package/es5/util/mergeData.js +205 -0
- package/es5/util/mergeData.js.map +1 -0
- package/es5/util/mixins.js +29 -0
- package/es5/util/mixins.js.map +1 -0
- package/es5/util/rebuildFunctionalSlots.js +21 -0
- package/es5/util/rebuildFunctionalSlots.js.map +1 -0
- package/lib/components/VAlert/VAlert.js +219 -0
- package/lib/components/VAlert/VAlert.js.map +1 -0
- package/lib/components/VAlert/index.js +4 -0
- package/lib/components/VAlert/index.js.map +1 -0
- package/lib/components/VApp/VApp.js +56 -0
- package/lib/components/VApp/VApp.js.map +1 -0
- package/lib/components/VApp/index.js +4 -0
- package/lib/components/VApp/index.js.map +1 -0
- package/lib/components/VAppBar/VAppBar.js +254 -0
- package/lib/components/VAppBar/VAppBar.js.map +1 -0
- package/lib/components/VAppBar/VAppBarNavIcon.js +25 -0
- package/lib/components/VAppBar/VAppBarNavIcon.js.map +1 -0
- package/lib/components/VAppBar/VAppBarTitle.js +64 -0
- package/lib/components/VAppBar/VAppBarTitle.js.map +1 -0
- package/lib/components/VAppBar/index.js +12 -0
- package/lib/components/VAppBar/index.js.map +1 -0
- package/lib/components/VAutocomplete/VAutocomplete.js +400 -0
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -0
- package/lib/components/VAutocomplete/index.js +4 -0
- package/lib/components/VAutocomplete/index.js.map +1 -0
- package/lib/components/VAvatar/VAvatar.js +50 -0
- package/lib/components/VAvatar/VAvatar.js.map +1 -0
- package/lib/components/VAvatar/index.js +4 -0
- package/lib/components/VAvatar/index.js.map +1 -0
- package/lib/components/VBadge/VBadge.js +196 -0
- package/lib/components/VBadge/VBadge.js.map +1 -0
- package/lib/components/VBadge/index.js +4 -0
- package/lib/components/VBadge/index.js.map +1 -0
- package/lib/components/VBanner/VBanner.js +148 -0
- package/lib/components/VBanner/VBanner.js.map +1 -0
- package/lib/components/VBanner/index.js +4 -0
- package/lib/components/VBanner/index.js.map +1 -0
- package/lib/components/VBottomNavigation/VBottomNavigation.js +134 -0
- package/lib/components/VBottomNavigation/VBottomNavigation.js.map +1 -0
- package/lib/components/VBottomNavigation/index.js +4 -0
- package/lib/components/VBottomNavigation/index.js.map +1 -0
- package/lib/components/VBottomSheet/VBottomSheet.js +28 -0
- package/lib/components/VBottomSheet/VBottomSheet.js.map +1 -0
- package/lib/components/VBottomSheet/index.js +4 -0
- package/lib/components/VBottomSheet/index.js.map +1 -0
- package/lib/components/VBreadcrumbs/VBreadcrumbs.js +73 -0
- package/lib/components/VBreadcrumbs/VBreadcrumbs.js.map +1 -0
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.js +3 -0
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.js.map +1 -0
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.js +47 -0
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.js.map +1 -0
- package/lib/components/VBreadcrumbs/index.js +12 -0
- package/lib/components/VBreadcrumbs/index.js.map +1 -0
- package/lib/components/VBtn/VBtn.js +184 -0
- package/lib/components/VBtn/VBtn.js.map +1 -0
- package/lib/components/VBtn/index.js +4 -0
- package/lib/components/VBtn/index.js.map +1 -0
- package/lib/components/VBtnToggle/VBtnToggle.js +46 -0
- package/lib/components/VBtnToggle/VBtnToggle.js.map +1 -0
- package/lib/components/VBtnToggle/index.js +4 -0
- package/lib/components/VBtnToggle/index.js.map +1 -0
- package/lib/components/VCalendar/VCalendar.js +399 -0
- package/lib/components/VCalendar/VCalendar.js.map +1 -0
- package/lib/components/VCalendar/VCalendarCategory.js +132 -0
- package/lib/components/VCalendar/VCalendarCategory.js.map +1 -0
- package/lib/components/VCalendar/VCalendarDaily.js +256 -0
- package/lib/components/VCalendar/VCalendarDaily.js.map +1 -0
- package/lib/components/VCalendar/VCalendarMonthly.js +28 -0
- package/lib/components/VCalendar/VCalendarMonthly.js.map +1 -0
- package/lib/components/VCalendar/VCalendarWeekly.js +212 -0
- package/lib/components/VCalendar/VCalendarWeekly.js.map +1 -0
- package/lib/components/VCalendar/index.js +16 -0
- package/lib/components/VCalendar/index.js.map +1 -0
- package/lib/components/VCalendar/mixins/calendar-base.js +99 -0
- package/lib/components/VCalendar/mixins/calendar-base.js.map +1 -0
- package/lib/components/VCalendar/mixins/calendar-with-events.js +454 -0
- package/lib/components/VCalendar/mixins/calendar-with-events.js.map +1 -0
- package/lib/components/VCalendar/mixins/calendar-with-intervals.js +163 -0
- package/lib/components/VCalendar/mixins/calendar-with-intervals.js.map +1 -0
- package/lib/components/VCalendar/mixins/times.js +70 -0
- package/lib/components/VCalendar/mixins/times.js.map +1 -0
- package/lib/components/VCalendar/modes/column.js +18 -0
- package/lib/components/VCalendar/modes/column.js.map +1 -0
- package/lib/components/VCalendar/modes/common.js +119 -0
- package/lib/components/VCalendar/modes/common.js.map +1 -0
- package/lib/components/VCalendar/modes/index.js +7 -0
- package/lib/components/VCalendar/modes/index.js.map +1 -0
- package/lib/components/VCalendar/modes/stack.js +242 -0
- package/lib/components/VCalendar/modes/stack.js.map +1 -0
- package/lib/components/VCalendar/util/events.js +40 -0
- package/lib/components/VCalendar/util/events.js.map +1 -0
- package/lib/components/VCalendar/util/parser.js +19 -0
- package/lib/components/VCalendar/util/parser.js.map +1 -0
- package/lib/components/VCalendar/util/props.js +258 -0
- package/lib/components/VCalendar/util/props.js.map +1 -0
- package/lib/components/VCalendar/util/timestamp.js +454 -0
- package/lib/components/VCalendar/util/timestamp.js.map +1 -0
- package/lib/components/VCard/VCard.js +83 -0
- package/lib/components/VCard/VCard.js.map +1 -0
- package/lib/components/VCard/index.js +17 -0
- package/lib/components/VCard/index.js.map +1 -0
- package/lib/components/VCarousel/VCarousel.js +224 -0
- package/lib/components/VCarousel/VCarousel.js.map +1 -0
- package/lib/components/VCarousel/VCarouselItem.js +58 -0
- package/lib/components/VCarousel/VCarouselItem.js.map +1 -0
- package/lib/components/VCarousel/index.js +10 -0
- package/lib/components/VCarousel/index.js.map +1 -0
- package/lib/components/VCheckbox/VCheckbox.js +117 -0
- package/lib/components/VCheckbox/VCheckbox.js.map +1 -0
- package/lib/components/VCheckbox/VSimpleCheckbox.js +128 -0
- package/lib/components/VCheckbox/VSimpleCheckbox.js.map +1 -0
- package/lib/components/VCheckbox/index.js +10 -0
- package/lib/components/VCheckbox/index.js.map +1 -0
- package/lib/components/VChip/VChip.js +174 -0
- package/lib/components/VChip/VChip.js.map +1 -0
- package/lib/components/VChip/index.js +4 -0
- package/lib/components/VChip/index.js.map +1 -0
- package/lib/components/VChipGroup/VChipGroup.js +47 -0
- package/lib/components/VChipGroup/VChipGroup.js.map +1 -0
- package/lib/components/VChipGroup/index.js +4 -0
- package/lib/components/VChipGroup/index.js.map +1 -0
- package/lib/components/VColorPicker/VColorPicker.js +166 -0
- package/lib/components/VColorPicker/VColorPicker.js.map +1 -0
- package/lib/components/VColorPicker/VColorPickerCanvas.js +171 -0
- package/lib/components/VColorPicker/VColorPickerCanvas.js.map +1 -0
- package/lib/components/VColorPicker/VColorPickerEdit.js +139 -0
- package/lib/components/VColorPicker/VColorPickerEdit.js.map +1 -0
- package/lib/components/VColorPicker/VColorPickerPreview.js +101 -0
- package/lib/components/VColorPicker/VColorPickerPreview.js.map +1 -0
- package/lib/components/VColorPicker/VColorPickerSwatches.js +83 -0
- package/lib/components/VColorPicker/VColorPickerSwatches.js.map +1 -0
- package/lib/components/VColorPicker/index.js +6 -0
- package/lib/components/VColorPicker/index.js.map +1 -0
- package/lib/components/VColorPicker/util/index.js +149 -0
- package/lib/components/VColorPicker/util/index.js.map +1 -0
- package/lib/components/VCombobox/VCombobox.js +247 -0
- package/lib/components/VCombobox/VCombobox.js.map +1 -0
- package/lib/components/VCombobox/index.js +4 -0
- package/lib/components/VCombobox/index.js.map +1 -0
- package/lib/components/VContent/VContent.js +41 -0
- package/lib/components/VContent/VContent.js.map +1 -0
- package/lib/components/VContent/index.js +4 -0
- package/lib/components/VContent/index.js.map +1 -0
- package/lib/components/VCounter/VCounter.js +37 -0
- package/lib/components/VCounter/VCounter.js.map +1 -0
- package/lib/components/VCounter/index.js +4 -0
- package/lib/components/VCounter/index.js.map +1 -0
- package/lib/components/VData/VData.js +442 -0
- package/lib/components/VData/VData.js.map +1 -0
- package/lib/components/VData/index.js +4 -0
- package/lib/components/VData/index.js.map +1 -0
- package/lib/components/VDataIterator/VDataFooter.js +206 -0
- package/lib/components/VDataIterator/VDataFooter.js.map +1 -0
- package/lib/components/VDataIterator/VDataIterator.js +336 -0
- package/lib/components/VDataIterator/VDataIterator.js.map +1 -0
- package/lib/components/VDataIterator/index.js +10 -0
- package/lib/components/VDataIterator/index.js.map +1 -0
- package/lib/components/VDataTable/MobileRow.js +59 -0
- package/lib/components/VDataTable/MobileRow.js.map +1 -0
- package/lib/components/VDataTable/Row.js +54 -0
- package/lib/components/VDataTable/Row.js.map +1 -0
- package/lib/components/VDataTable/RowGroup.js +64 -0
- package/lib/components/VDataTable/RowGroup.js.map +1 -0
- package/lib/components/VDataTable/VDataTable.js +619 -0
- package/lib/components/VDataTable/VDataTable.js.map +1 -0
- package/lib/components/VDataTable/VDataTableHeader.js +32 -0
- package/lib/components/VDataTable/VDataTableHeader.js.map +1 -0
- package/lib/components/VDataTable/VDataTableHeaderDesktop.js +113 -0
- package/lib/components/VDataTable/VDataTableHeaderDesktop.js.map +1 -0
- package/lib/components/VDataTable/VDataTableHeaderMobile.js +89 -0
- package/lib/components/VDataTable/VDataTableHeaderMobile.js.map +1 -0
- package/lib/components/VDataTable/VEditDialog.js +126 -0
- package/lib/components/VDataTable/VEditDialog.js.map +1 -0
- package/lib/components/VDataTable/VSimpleTable.js +45 -0
- package/lib/components/VDataTable/VSimpleTable.js.map +1 -0
- package/lib/components/VDataTable/VVirtualTable.js +153 -0
- package/lib/components/VDataTable/VVirtualTable.js.map +1 -0
- package/lib/components/VDataTable/index.js +19 -0
- package/lib/components/VDataTable/index.js.map +1 -0
- package/lib/components/VDataTable/mixins/header.js +65 -0
- package/lib/components/VDataTable/mixins/header.js.map +1 -0
- package/lib/components/VDatePicker/VDatePicker.js +532 -0
- package/lib/components/VDatePicker/VDatePicker.js.map +1 -0
- package/lib/components/VDatePicker/VDatePickerDateTable.js +146 -0
- package/lib/components/VDatePicker/VDatePickerDateTable.js.map +1 -0
- package/lib/components/VDatePicker/VDatePickerHeader.js +158 -0
- package/lib/components/VDatePicker/VDatePickerHeader.js.map +1 -0
- package/lib/components/VDatePicker/VDatePickerMonthTable.js +57 -0
- package/lib/components/VDatePicker/VDatePickerMonthTable.js.map +1 -0
- package/lib/components/VDatePicker/VDatePickerTitle.js +105 -0
- package/lib/components/VDatePicker/VDatePickerTitle.js.map +1 -0
- package/lib/components/VDatePicker/VDatePickerYears.js +103 -0
- package/lib/components/VDatePicker/VDatePickerYears.js.map +1 -0
- package/lib/components/VDatePicker/index.js +18 -0
- package/lib/components/VDatePicker/index.js.map +1 -0
- package/lib/components/VDatePicker/mixins/date-picker-table.js +238 -0
- package/lib/components/VDatePicker/mixins/date-picker-table.js.map +1 -0
- package/lib/components/VDatePicker/util/createNativeLocaleFormatter.js +25 -0
- package/lib/components/VDatePicker/util/createNativeLocaleFormatter.js.map +1 -0
- package/lib/components/VDatePicker/util/eventHelpers.js +31 -0
- package/lib/components/VDatePicker/util/eventHelpers.js.map +1 -0
- package/lib/components/VDatePicker/util/index.js +7 -0
- package/lib/components/VDatePicker/util/index.js.map +1 -0
- package/lib/components/VDatePicker/util/isDateAllowed.js +4 -0
- package/lib/components/VDatePicker/util/isDateAllowed.js.map +1 -0
- package/lib/components/VDatePicker/util/monthChange.js +18 -0
- package/lib/components/VDatePicker/util/monthChange.js.map +1 -0
- package/lib/components/VDatePicker/util/pad.js +20 -0
- package/lib/components/VDatePicker/util/pad.js.map +1 -0
- package/lib/components/VDatePicker/util/sanitizeDateString.js +12 -0
- package/lib/components/VDatePicker/util/sanitizeDateString.js.map +1 -0
- package/lib/components/VDialog/VDialog.js +297 -0
- package/lib/components/VDialog/VDialog.js.map +1 -0
- package/lib/components/VDialog/index.js +4 -0
- package/lib/components/VDialog/index.js.map +1 -0
- package/lib/components/VDivider/VDivider.js +39 -0
- package/lib/components/VDivider/VDivider.js.map +1 -0
- package/lib/components/VDivider/index.js +4 -0
- package/lib/components/VDivider/index.js.map +1 -0
- package/lib/components/VExpansionPanel/VExpansionPanel.js +86 -0
- package/lib/components/VExpansionPanel/VExpansionPanel.js.map +1 -0
- package/lib/components/VExpansionPanel/VExpansionPanelContent.js +55 -0
- package/lib/components/VExpansionPanel/VExpansionPanelContent.js.map +1 -0
- package/lib/components/VExpansionPanel/VExpansionPanelHeader.js +97 -0
- package/lib/components/VExpansionPanel/VExpansionPanelHeader.js.map +1 -0
- package/lib/components/VExpansionPanel/VExpansionPanels.js +70 -0
- package/lib/components/VExpansionPanel/VExpansionPanels.js.map +1 -0
- package/lib/components/VExpansionPanel/index.js +14 -0
- package/lib/components/VExpansionPanel/index.js.map +1 -0
- package/lib/components/VFileInput/VFileInput.js +289 -0
- package/lib/components/VFileInput/VFileInput.js.map +1 -0
- package/lib/components/VFileInput/index.js +4 -0
- package/lib/components/VFileInput/index.js.map +1 -0
- package/lib/components/VFooter/VFooter.js +90 -0
- package/lib/components/VFooter/VFooter.js.map +1 -0
- package/lib/components/VFooter/index.js +4 -0
- package/lib/components/VFooter/index.js.map +1 -0
- package/lib/components/VForm/VForm.js +147 -0
- package/lib/components/VForm/VForm.js.map +1 -0
- package/lib/components/VForm/index.js +4 -0
- package/lib/components/VForm/index.js.map +1 -0
- package/lib/components/VGrid/VCol.js +148 -0
- package/lib/components/VGrid/VCol.js.map +1 -0
- package/lib/components/VGrid/VContainer.js +63 -0
- package/lib/components/VGrid/VContainer.js.map +1 -0
- package/lib/components/VGrid/VFlex.js +4 -0
- package/lib/components/VGrid/VFlex.js.map +1 -0
- package/lib/components/VGrid/VLayout.js +4 -0
- package/lib/components/VGrid/VLayout.js.map +1 -0
- package/lib/components/VGrid/VRow.js +140 -0
- package/lib/components/VGrid/VRow.js.map +1 -0
- package/lib/components/VGrid/VSpacer.js +4 -0
- package/lib/components/VGrid/VSpacer.js.map +1 -0
- package/lib/components/VGrid/grid.js +57 -0
- package/lib/components/VGrid/grid.js.map +1 -0
- package/lib/components/VGrid/index.js +18 -0
- package/lib/components/VGrid/index.js.map +1 -0
- package/lib/components/VHover/VHover.js +75 -0
- package/lib/components/VHover/VHover.js.map +1 -0
- package/lib/components/VHover/index.js +4 -0
- package/lib/components/VHover/index.js.map +1 -0
- package/lib/components/VIcon/VIcon.js +285 -0
- package/lib/components/VIcon/VIcon.js.map +1 -0
- package/lib/components/VIcon/index.js +4 -0
- package/lib/components/VIcon/index.js.map +1 -0
- package/lib/components/VImg/VImg.js +261 -0
- package/lib/components/VImg/VImg.js.map +1 -0
- package/lib/components/VImg/index.js +4 -0
- package/lib/components/VImg/index.js.map +1 -0
- package/lib/components/VInput/VInput.js +322 -0
- package/lib/components/VInput/VInput.js.map +1 -0
- package/lib/components/VInput/index.js +4 -0
- package/lib/components/VInput/index.js.map +1 -0
- package/lib/components/VItemGroup/VItem.js +79 -0
- package/lib/components/VItemGroup/VItem.js.map +1 -0
- package/lib/components/VItemGroup/VItemGroup.js +237 -0
- package/lib/components/VItemGroup/VItemGroup.js.map +1 -0
- package/lib/components/VItemGroup/index.js +10 -0
- package/lib/components/VItemGroup/index.js.map +1 -0
- package/lib/components/VLabel/VLabel.js +62 -0
- package/lib/components/VLabel/VLabel.js.map +1 -0
- package/lib/components/VLabel/index.js +4 -0
- package/lib/components/VLabel/index.js.map +1 -0
- package/lib/components/VLazy/VLazy.js +67 -0
- package/lib/components/VLazy/VLazy.js.map +1 -0
- package/lib/components/VLazy/index.js +4 -0
- package/lib/components/VLazy/index.js.map +1 -0
- package/lib/components/VList/VList.js +91 -0
- package/lib/components/VList/VList.js.map +1 -0
- package/lib/components/VList/VListGroup.js +173 -0
- package/lib/components/VList/VListGroup.js.map +1 -0
- package/lib/components/VList/VListItem.js +186 -0
- package/lib/components/VList/VListItem.js.map +1 -0
- package/lib/components/VList/VListItemAction.js +27 -0
- package/lib/components/VList/VListItemAction.js.map +1 -0
- package/lib/components/VList/VListItemAvatar.js +34 -0
- package/lib/components/VList/VListItemAvatar.js.map +1 -0
- package/lib/components/VList/VListItemGroup.js +38 -0
- package/lib/components/VList/VListItemGroup.js.map +1 -0
- package/lib/components/VList/VListItemIcon.js +19 -0
- package/lib/components/VList/VListItemIcon.js.map +1 -0
- package/lib/components/VList/index.js +29 -0
- package/lib/components/VList/index.js.map +1 -0
- package/lib/components/VMain/VMain.js +52 -0
- package/lib/components/VMain/VMain.js.map +1 -0
- package/lib/components/VMain/index.js +4 -0
- package/lib/components/VMain/index.js.map +1 -0
- package/lib/components/VMenu/VMenu.js +472 -0
- package/lib/components/VMenu/VMenu.js.map +1 -0
- package/lib/components/VMenu/index.js +4 -0
- package/lib/components/VMenu/index.js.map +1 -0
- package/lib/components/VMessages/VMessages.js +60 -0
- package/lib/components/VMessages/VMessages.js.map +1 -0
- package/lib/components/VMessages/index.js +4 -0
- package/lib/components/VMessages/index.js.map +1 -0
- package/lib/components/VNavigationDrawer/VNavigationDrawer.js +393 -0
- package/lib/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -0
- package/lib/components/VNavigationDrawer/index.js +4 -0
- package/lib/components/VNavigationDrawer/index.js.map +1 -0
- package/lib/components/VOtpInput/VOtpInput.js +377 -0
- package/lib/components/VOtpInput/VOtpInput.js.map +1 -0
- package/lib/components/VOtpInput/index.js +4 -0
- package/lib/components/VOtpInput/index.js.map +1 -0
- package/lib/components/VOverflowBtn/VOverflowBtn.js +108 -0
- package/lib/components/VOverflowBtn/VOverflowBtn.js.map +1 -0
- package/lib/components/VOverflowBtn/index.js +4 -0
- package/lib/components/VOverflowBtn/index.js.map +1 -0
- package/lib/components/VOverlay/VOverlay.js +100 -0
- package/lib/components/VOverlay/VOverlay.js.map +1 -0
- package/lib/components/VOverlay/index.js +4 -0
- package/lib/components/VOverlay/index.js.map +1 -0
- package/lib/components/VPagination/VPagination.js +237 -0
- package/lib/components/VPagination/VPagination.js.map +1 -0
- package/lib/components/VPagination/index.js +4 -0
- package/lib/components/VPagination/index.js.map +1 -0
- package/lib/components/VParallax/VParallax.js +92 -0
- package/lib/components/VParallax/VParallax.js.map +1 -0
- package/lib/components/VParallax/index.js +4 -0
- package/lib/components/VParallax/index.js.map +1 -0
- package/lib/components/VPicker/VPicker.js +86 -0
- package/lib/components/VPicker/VPicker.js.map +1 -0
- package/lib/components/VPicker/index.js +4 -0
- package/lib/components/VPicker/index.js.map +1 -0
- package/lib/components/VProgressCircular/VProgressCircular.js +150 -0
- package/lib/components/VProgressCircular/VProgressCircular.js.map +1 -0
- package/lib/components/VProgressCircular/index.js +4 -0
- package/lib/components/VProgressCircular/index.js.map +1 -0
- package/lib/components/VProgressLinear/VProgressLinear.js +267 -0
- package/lib/components/VProgressLinear/VProgressLinear.js.map +1 -0
- package/lib/components/VProgressLinear/index.js +4 -0
- package/lib/components/VProgressLinear/index.js.map +1 -0
- package/lib/components/VRadioGroup/VRadio.js +176 -0
- package/lib/components/VRadioGroup/VRadio.js.map +1 -0
- package/lib/components/VRadioGroup/VRadioGroup.js +95 -0
- package/lib/components/VRadioGroup/VRadioGroup.js.map +1 -0
- package/lib/components/VRadioGroup/index.js +10 -0
- package/lib/components/VRadioGroup/index.js.map +1 -0
- package/lib/components/VRangeSlider/VRangeSlider.js +243 -0
- package/lib/components/VRangeSlider/VRangeSlider.js.map +1 -0
- package/lib/components/VRangeSlider/index.js +4 -0
- package/lib/components/VRangeSlider/index.js.map +1 -0
- package/lib/components/VRating/VRating.js +243 -0
- package/lib/components/VRating/VRating.js.map +1 -0
- package/lib/components/VRating/index.js +4 -0
- package/lib/components/VRating/index.js.map +1 -0
- package/lib/components/VResponsive/VResponsive.js +53 -0
- package/lib/components/VResponsive/VResponsive.js.map +1 -0
- package/lib/components/VResponsive/index.js +4 -0
- package/lib/components/VResponsive/index.js.map +1 -0
- package/lib/components/VSelect/VSelect.js +860 -0
- package/lib/components/VSelect/VSelect.js.map +1 -0
- package/lib/components/VSelect/VSelectList.js +265 -0
- package/lib/components/VSelect/VSelectList.js.map +1 -0
- package/lib/components/VSelect/index.js +4 -0
- package/lib/components/VSelect/index.js.map +1 -0
- package/lib/components/VSheet/VSheet.js +57 -0
- package/lib/components/VSheet/VSheet.js.map +1 -0
- package/lib/components/VSheet/index.js +4 -0
- package/lib/components/VSheet/index.js.map +1 -0
- package/lib/components/VSkeletonLoader/VSkeletonLoader.js +188 -0
- package/lib/components/VSkeletonLoader/VSkeletonLoader.js.map +1 -0
- package/lib/components/VSkeletonLoader/index.js +4 -0
- package/lib/components/VSkeletonLoader/index.js.map +1 -0
- package/lib/components/VSlideGroup/VSlideGroup.js +450 -0
- package/lib/components/VSlideGroup/VSlideGroup.js.map +1 -0
- package/lib/components/VSlideGroup/VSlideItem.js +12 -0
- package/lib/components/VSlideGroup/VSlideItem.js.map +1 -0
- package/lib/components/VSlideGroup/index.js +10 -0
- package/lib/components/VSlideGroup/index.js.map +1 -0
- package/lib/components/VSlider/VSlider.js +542 -0
- package/lib/components/VSlider/VSlider.js.map +1 -0
- package/lib/components/VSlider/index.js +4 -0
- package/lib/components/VSlider/index.js.map +1 -0
- package/lib/components/VSnackbar/VSnackbar.js +178 -0
- package/lib/components/VSnackbar/VSnackbar.js.map +1 -0
- package/lib/components/VSnackbar/index.js +4 -0
- package/lib/components/VSnackbar/index.js.map +1 -0
- package/lib/components/VSparkline/VSparkline.js +338 -0
- package/lib/components/VSparkline/VSparkline.js.map +1 -0
- package/lib/components/VSparkline/helpers/core.js +46 -0
- package/lib/components/VSparkline/helpers/core.js.map +1 -0
- package/lib/components/VSparkline/helpers/math.js +32 -0
- package/lib/components/VSparkline/helpers/math.js.map +1 -0
- package/lib/components/VSparkline/helpers/path.js +26 -0
- package/lib/components/VSparkline/helpers/path.js.map +1 -0
- package/lib/components/VSparkline/index.js +4 -0
- package/lib/components/VSparkline/index.js.map +1 -0
- package/lib/components/VSpeedDial/VSpeedDial.js +93 -0
- package/lib/components/VSpeedDial/VSpeedDial.js.map +1 -0
- package/lib/components/VSpeedDial/index.js +4 -0
- package/lib/components/VSpeedDial/index.js.map +1 -0
- package/lib/components/VStepper/VStepper.js +126 -0
- package/lib/components/VStepper/VStepper.js.map +1 -0
- package/lib/components/VStepper/VStepperContent.js +130 -0
- package/lib/components/VStepper/VStepperContent.js.map +1 -0
- package/lib/components/VStepper/VStepperStep.js +145 -0
- package/lib/components/VStepper/VStepperStep.js.map +1 -0
- package/lib/components/VStepper/index.js +17 -0
- package/lib/components/VStepper/index.js.map +1 -0
- package/lib/components/VSubheader/VSubheader.js +27 -0
- package/lib/components/VSubheader/VSubheader.js.map +1 -0
- package/lib/components/VSubheader/index.js +4 -0
- package/lib/components/VSubheader/index.js.map +1 -0
- package/lib/components/VSwitch/VSwitch.js +117 -0
- package/lib/components/VSwitch/VSwitch.js.map +1 -0
- package/lib/components/VSwitch/index.js +4 -0
- package/lib/components/VSwitch/index.js.map +1 -0
- package/lib/components/VSystemBar/VSystemBar.js +64 -0
- package/lib/components/VSystemBar/VSystemBar.js.map +1 -0
- package/lib/components/VSystemBar/index.js +4 -0
- package/lib/components/VSystemBar/index.js.map +1 -0
- package/lib/components/VTabs/VTab.js +99 -0
- package/lib/components/VTabs/VTab.js.map +1 -0
- package/lib/components/VTabs/VTabItem.js +21 -0
- package/lib/components/VTabs/VTabItem.js.map +1 -0
- package/lib/components/VTabs/VTabs.js +323 -0
- package/lib/components/VTabs/VTabs.js.map +1 -0
- package/lib/components/VTabs/VTabsBar.js +81 -0
- package/lib/components/VTabs/VTabsBar.js.map +1 -0
- package/lib/components/VTabs/VTabsItems.js +37 -0
- package/lib/components/VTabs/VTabsItems.js.map +1 -0
- package/lib/components/VTabs/VTabsSlider.js +18 -0
- package/lib/components/VTabs/VTabsSlider.js.map +1 -0
- package/lib/components/VTabs/index.js +16 -0
- package/lib/components/VTabs/index.js.map +1 -0
- package/lib/components/VTextField/VTextField.js +511 -0
- package/lib/components/VTextField/VTextField.js.map +1 -0
- package/lib/components/VTextField/index.js +4 -0
- package/lib/components/VTextField/index.js.map +1 -0
- package/lib/components/VTextarea/VTextarea.js +105 -0
- package/lib/components/VTextarea/VTextarea.js.map +1 -0
- package/lib/components/VTextarea/index.js +4 -0
- package/lib/components/VTextarea/index.js.map +1 -0
- package/lib/components/VThemeProvider/VThemeProvider.js +24 -0
- package/lib/components/VThemeProvider/VThemeProvider.js.map +1 -0
- package/lib/components/VThemeProvider/index.js +4 -0
- package/lib/components/VThemeProvider/index.js.map +1 -0
- package/lib/components/VTimePicker/SelectingTimes.js +10 -0
- package/lib/components/VTimePicker/SelectingTimes.js.map +1 -0
- package/lib/components/VTimePicker/VTimePicker.js +383 -0
- package/lib/components/VTimePicker/VTimePicker.js.map +1 -0
- package/lib/components/VTimePicker/VTimePickerClock.js +270 -0
- package/lib/components/VTimePicker/VTimePickerClock.js.map +1 -0
- package/lib/components/VTimePicker/VTimePickerTitle.js +72 -0
- package/lib/components/VTimePicker/VTimePickerTitle.js.map +1 -0
- package/lib/components/VTimePicker/index.js +12 -0
- package/lib/components/VTimePicker/index.js.map +1 -0
- package/lib/components/VTimeline/VTimeline.js +43 -0
- package/lib/components/VTimeline/VTimeline.js.map +1 -0
- package/lib/components/VTimeline/VTimelineItem.js +97 -0
- package/lib/components/VTimeline/VTimelineItem.js.map +1 -0
- package/lib/components/VTimeline/index.js +10 -0
- package/lib/components/VTimeline/index.js.map +1 -0
- package/lib/components/VToolbar/VToolbar.js +151 -0
- package/lib/components/VToolbar/VToolbar.js.map +1 -0
- package/lib/components/VToolbar/index.js +15 -0
- package/lib/components/VToolbar/index.js.map +1 -0
- package/lib/components/VTooltip/VTooltip.js +201 -0
- package/lib/components/VTooltip/VTooltip.js.map +1 -0
- package/lib/components/VTooltip/index.js +4 -0
- package/lib/components/VTooltip/index.js.map +1 -0
- package/lib/components/VTreeview/VTreeview.js +400 -0
- package/lib/components/VTreeview/VTreeview.js.map +1 -0
- package/lib/components/VTreeview/VTreeviewNode.js +328 -0
- package/lib/components/VTreeview/VTreeviewNode.js.map +1 -0
- package/lib/components/VTreeview/index.js +10 -0
- package/lib/components/VTreeview/index.js.map +1 -0
- package/lib/components/VTreeview/util/filterTreeItems.js +28 -0
- package/lib/components/VTreeview/util/filterTreeItems.js.map +1 -0
- package/lib/components/VVirtualScroll/VVirtualScroll.js +117 -0
- package/lib/components/VVirtualScroll/VVirtualScroll.js.map +1 -0
- package/lib/components/VVirtualScroll/index.js +4 -0
- package/lib/components/VVirtualScroll/index.js.map +1 -0
- package/lib/components/VWindow/VWindow.js +262 -0
- package/lib/components/VWindow/VWindow.js.map +1 -0
- package/lib/components/VWindow/VWindowItem.js +136 -0
- package/lib/components/VWindow/VWindowItem.js.map +1 -0
- package/lib/components/VWindow/index.js +10 -0
- package/lib/components/VWindow/index.js.map +1 -0
- package/lib/components/index.js +82 -0
- package/lib/components/index.js.map +1 -0
- package/lib/components/transitions/createTransition.js +119 -0
- package/lib/components/transitions/createTransition.js.map +1 -0
- package/lib/components/transitions/expand-transition.js +71 -0
- package/lib/components/transitions/expand-transition.js.map +1 -0
- package/lib/components/transitions/index.js +52 -0
- package/lib/components/transitions/index.js.map +1 -0
- package/lib/directives/click-outside/index.js +101 -0
- package/lib/directives/click-outside/index.js.map +1 -0
- package/lib/directives/color/index.js +62 -0
- package/lib/directives/color/index.js.map +1 -0
- package/lib/directives/index.js +8 -0
- package/lib/directives/index.js.map +1 -0
- package/lib/directives/intersect/index.js +63 -0
- package/lib/directives/intersect/index.js.map +1 -0
- package/lib/directives/mutate/index.js +54 -0
- package/lib/directives/mutate/index.js.map +1 -0
- package/lib/directives/resize/index.js +35 -0
- package/lib/directives/resize/index.js.map +1 -0
- package/lib/directives/ripple/index.js +339 -0
- package/lib/directives/ripple/index.js.map +1 -0
- package/lib/directives/scroll/index.js +40 -0
- package/lib/directives/scroll/index.js.map +1 -0
- package/lib/directives/touch/index.js +108 -0
- package/lib/directives/touch/index.js.map +1 -0
- package/lib/framework.js +53 -0
- package/lib/framework.js.map +1 -0
- package/lib/index.js +5 -0
- package/lib/index.js.map +1 -0
- package/lib/install.js +77 -0
- package/lib/install.js.map +1 -0
- package/lib/locale/af.js +76 -0
- package/lib/locale/af.js.map +1 -0
- package/lib/locale/ar.js +76 -0
- package/lib/locale/ar.js.map +1 -0
- package/lib/locale/az.js +76 -0
- package/lib/locale/az.js.map +1 -0
- package/lib/locale/bg.js +76 -0
- package/lib/locale/bg.js.map +1 -0
- package/lib/locale/ca.js +76 -0
- package/lib/locale/ca.js.map +1 -0
- package/lib/locale/ckb.js +76 -0
- package/lib/locale/ckb.js.map +1 -0
- package/lib/locale/cs.js +76 -0
- package/lib/locale/cs.js.map +1 -0
- package/lib/locale/da.js +76 -0
- package/lib/locale/da.js.map +1 -0
- package/lib/locale/de.js +76 -0
- package/lib/locale/de.js.map +1 -0
- package/lib/locale/el.js +76 -0
- package/lib/locale/el.js.map +1 -0
- package/lib/locale/en.js +76 -0
- package/lib/locale/en.js.map +1 -0
- package/lib/locale/es.js +76 -0
- package/lib/locale/es.js.map +1 -0
- package/lib/locale/et.js +76 -0
- package/lib/locale/et.js.map +1 -0
- package/lib/locale/fa.js +76 -0
- package/lib/locale/fa.js.map +1 -0
- package/lib/locale/fi.js +76 -0
- package/lib/locale/fi.js.map +1 -0
- package/lib/locale/fr.js +76 -0
- package/lib/locale/fr.js.map +1 -0
- package/lib/locale/he.js +76 -0
- package/lib/locale/he.js.map +1 -0
- package/lib/locale/hr.js +76 -0
- package/lib/locale/hr.js.map +1 -0
- package/lib/locale/hu.js +76 -0
- package/lib/locale/hu.js.map +1 -0
- package/lib/locale/id.js +76 -0
- package/lib/locale/id.js.map +1 -0
- package/lib/locale/index.js +43 -0
- package/lib/locale/index.js.map +1 -0
- package/lib/locale/it.js +76 -0
- package/lib/locale/it.js.map +1 -0
- package/lib/locale/ja.js +76 -0
- package/lib/locale/ja.js.map +1 -0
- package/lib/locale/ko.js +76 -0
- package/lib/locale/ko.js.map +1 -0
- package/lib/locale/lt.js +76 -0
- package/lib/locale/lt.js.map +1 -0
- package/lib/locale/lv.js +76 -0
- package/lib/locale/lv.js.map +1 -0
- package/lib/locale/nl.js +76 -0
- package/lib/locale/nl.js.map +1 -0
- package/lib/locale/no.js +76 -0
- package/lib/locale/no.js.map +1 -0
- package/lib/locale/pl.js +76 -0
- package/lib/locale/pl.js.map +1 -0
- package/lib/locale/pt.js +76 -0
- package/lib/locale/pt.js.map +1 -0
- package/lib/locale/ro.js +76 -0
- package/lib/locale/ro.js.map +1 -0
- package/lib/locale/ru.js +76 -0
- package/lib/locale/ru.js.map +1 -0
- package/lib/locale/sk.js +76 -0
- package/lib/locale/sk.js.map +1 -0
- package/lib/locale/sl.js +76 -0
- package/lib/locale/sl.js.map +1 -0
- package/lib/locale/sr-Cyrl.js +76 -0
- package/lib/locale/sr-Cyrl.js.map +1 -0
- package/lib/locale/sr-Latn.js +76 -0
- package/lib/locale/sr-Latn.js.map +1 -0
- package/lib/locale/sv.js +76 -0
- package/lib/locale/sv.js.map +1 -0
- package/lib/locale/th.js +76 -0
- package/lib/locale/th.js.map +1 -0
- package/lib/locale/tr.js +76 -0
- package/lib/locale/tr.js.map +1 -0
- package/lib/locale/uk.js +76 -0
- package/lib/locale/uk.js.map +1 -0
- package/lib/locale/vi.js +76 -0
- package/lib/locale/vi.js.map +1 -0
- package/lib/locale/zh-Hans.js +76 -0
- package/lib/locale/zh-Hans.js.map +1 -0
- package/lib/locale/zh-Hant.js +76 -0
- package/lib/locale/zh-Hant.js.map +1 -0
- package/lib/mixins/activatable/index.js +202 -0
- package/lib/mixins/activatable/index.js.map +1 -0
- package/lib/mixins/applicationable/index.js +69 -0
- package/lib/mixins/applicationable/index.js.map +1 -0
- package/lib/mixins/binds-attrs/index.js +39 -0
- package/lib/mixins/binds-attrs/index.js.map +1 -0
- package/lib/mixins/bootable/index.js +50 -0
- package/lib/mixins/bootable/index.js.map +1 -0
- package/lib/mixins/button-group/index.js +27 -0
- package/lib/mixins/button-group/index.js.map +1 -0
- package/lib/mixins/colorable/index.js +111 -0
- package/lib/mixins/colorable/index.js.map +1 -0
- package/lib/mixins/comparable/index.js +12 -0
- package/lib/mixins/comparable/index.js.map +1 -0
- package/lib/mixins/delayable/index.js +51 -0
- package/lib/mixins/delayable/index.js.map +1 -0
- package/lib/mixins/dependent/index.js +76 -0
- package/lib/mixins/dependent/index.js.map +1 -0
- package/lib/mixins/detachable/index.js +143 -0
- package/lib/mixins/detachable/index.js.map +1 -0
- package/lib/mixins/elevatable/index.js +23 -0
- package/lib/mixins/elevatable/index.js.map +1 -0
- package/lib/mixins/filterable/index.js +13 -0
- package/lib/mixins/filterable/index.js.map +1 -0
- package/lib/mixins/groupable/index.js +67 -0
- package/lib/mixins/groupable/index.js.map +1 -0
- package/lib/mixins/intersectable/index.js +54 -0
- package/lib/mixins/intersectable/index.js.map +1 -0
- package/lib/mixins/loadable/index.js +41 -0
- package/lib/mixins/loadable/index.js.map +1 -0
- package/lib/mixins/localable/index.js +14 -0
- package/lib/mixins/localable/index.js.map +1 -0
- package/lib/mixins/measurable/index.js +35 -0
- package/lib/mixins/measurable/index.js.map +1 -0
- package/lib/mixins/menuable/index.js +394 -0
- package/lib/mixins/menuable/index.js.map +1 -0
- package/lib/mixins/mobile/index.js +43 -0
- package/lib/mixins/mobile/index.js.map +1 -0
- package/lib/mixins/mouse/index.js +106 -0
- package/lib/mixins/mouse/index.js.map +1 -0
- package/lib/mixins/overlayable/index.js +228 -0
- package/lib/mixins/overlayable/index.js.map +1 -0
- package/lib/mixins/picker/index.js +72 -0
- package/lib/mixins/picker/index.js.map +1 -0
- package/lib/mixins/picker-button/index.js +33 -0
- package/lib/mixins/picker-button/index.js.map +1 -0
- package/lib/mixins/positionable/index.js +45 -0
- package/lib/mixins/positionable/index.js.map +1 -0
- package/lib/mixins/proxyable/index.js +46 -0
- package/lib/mixins/proxyable/index.js.map +1 -0
- package/lib/mixins/registrable/index.js +37 -0
- package/lib/mixins/registrable/index.js.map +1 -0
- package/lib/mixins/returnable/index.js +33 -0
- package/lib/mixins/returnable/index.js.map +1 -0
- package/lib/mixins/rippleable/index.js +30 -0
- package/lib/mixins/rippleable/index.js.map +1 -0
- package/lib/mixins/roundable/index.js +34 -0
- package/lib/mixins/roundable/index.js.map +1 -0
- package/lib/mixins/routable/index.js +150 -0
- package/lib/mixins/routable/index.js.map +1 -0
- package/lib/mixins/scrollable/index.js +97 -0
- package/lib/mixins/scrollable/index.js.map +1 -0
- package/lib/mixins/selectable/index.js +163 -0
- package/lib/mixins/selectable/index.js.map +1 -0
- package/lib/mixins/sizeable/index.js +27 -0
- package/lib/mixins/sizeable/index.js.map +1 -0
- package/lib/mixins/ssr-bootable/index.js +28 -0
- package/lib/mixins/ssr-bootable/index.js.map +1 -0
- package/lib/mixins/stackable/index.js +52 -0
- package/lib/mixins/stackable/index.js.map +1 -0
- package/lib/mixins/themeable/index.js +105 -0
- package/lib/mixins/themeable/index.js.map +1 -0
- package/lib/mixins/toggleable/index.js +33 -0
- package/lib/mixins/toggleable/index.js.map +1 -0
- package/lib/mixins/transitionable/index.js +10 -0
- package/lib/mixins/transitionable/index.js.map +1 -0
- package/lib/mixins/translatable/index.js +56 -0
- package/lib/mixins/translatable/index.js.map +1 -0
- package/lib/mixins/validatable/index.js +279 -0
- package/lib/mixins/validatable/index.js.map +1 -0
- package/lib/presets/default/index.js +64 -0
- package/lib/presets/default/index.js.map +1 -0
- package/lib/services/application/index.js +41 -0
- package/lib/services/application/index.js.map +1 -0
- package/lib/services/breakpoint/index.js +148 -0
- package/lib/services/breakpoint/index.js.map +1 -0
- package/lib/services/goto/easing-patterns.js +27 -0
- package/lib/services/goto/easing-patterns.js.map +1 -0
- package/lib/services/goto/index.js +76 -0
- package/lib/services/goto/index.js.map +1 -0
- package/lib/services/goto/util.js +82 -0
- package/lib/services/goto/util.js.map +1 -0
- package/lib/services/icons/index.js +22 -0
- package/lib/services/icons/index.js.map +1 -0
- package/lib/services/icons/presets/fa-svg.js +17 -0
- package/lib/services/icons/presets/fa-svg.js.map +1 -0
- package/lib/services/icons/presets/fa.js +37 -0
- package/lib/services/icons/presets/fa.js.map +1 -0
- package/lib/services/icons/presets/fa4.js +37 -0
- package/lib/services/icons/presets/fa4.js.map +1 -0
- package/lib/services/icons/presets/index.js +15 -0
- package/lib/services/icons/presets/index.js.map +1 -0
- package/lib/services/icons/presets/md.js +37 -0
- package/lib/services/icons/presets/md.js.map +1 -0
- package/lib/services/icons/presets/mdi-svg.js +37 -0
- package/lib/services/icons/presets/mdi-svg.js.map +1 -0
- package/lib/services/icons/presets/mdi.js +37 -0
- package/lib/services/icons/presets/mdi.js.map +1 -0
- package/lib/services/index.js +8 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/lang/index.js +64 -0
- package/lib/services/lang/index.js.map +1 -0
- package/lib/services/presets/index.js +31 -0
- package/lib/services/presets/index.js.map +1 -0
- package/lib/services/service/index.js +9 -0
- package/lib/services/service/index.js.map +1 -0
- package/lib/services/theme/index.js +209 -0
- package/lib/services/theme/index.js.map +1 -0
- package/lib/services/theme/utils.js +137 -0
- package/lib/services/theme/utils.js.map +1 -0
- package/lib/util/color/transformCIELAB.js +17 -0
- package/lib/util/color/transformCIELAB.js.map +1 -0
- package/lib/util/color/transformSRGB.js +39 -0
- package/lib/util/color/transformSRGB.js.map +1 -0
- package/lib/util/colorUtils.js +235 -0
- package/lib/util/colorUtils.js.map +1 -0
- package/lib/util/colors.js +320 -0
- package/lib/util/colors.js.map +1 -0
- package/lib/util/console.js +129 -0
- package/lib/util/console.js.map +1 -0
- package/lib/util/dateTimeUtils.js +55 -0
- package/lib/util/dateTimeUtils.js.map +1 -0
- package/lib/util/dedupeModelListeners.js +17 -0
- package/lib/util/dedupeModelListeners.js.map +1 -0
- package/lib/util/dom.js +24 -0
- package/lib/util/dom.js.map +1 -0
- package/lib/util/helpers.js +506 -0
- package/lib/util/helpers.js.map +1 -0
- package/lib/util/legacyEventsMixin.js +37 -0
- package/lib/util/legacyEventsMixin.js.map +1 -0
- package/lib/util/make-directive-activatable.js +49 -0
- package/lib/util/make-directive-activatable.js.map +1 -0
- package/lib/util/mergeData.js +156 -0
- package/lib/util/mergeData.js.map +1 -0
- package/lib/util/mixins.js +14 -0
- package/lib/util/mixins.js.map +1 -0
- package/lib/util/rebuildFunctionalSlots.js +14 -0
- package/lib/util/rebuildFunctionalSlots.js.map +1 -0
- package/package.json +1 -1
- package/src/components/VChip/VChip.ts +2 -2
- package/src/components/VContent/VContent.ts +2 -2
- package/src/components/VFooter/VFooter.ts +2 -2
- package/src/components/VGrid/VCol.ts +2 -2
- package/src/components/VGrid/VContainer.ts +2 -1
- package/src/components/VGrid/VRow.ts +2 -2
- package/src/components/VGrid/grid.ts +2 -1
- package/src/components/VIcon/VIcon.ts +2 -2
- package/src/components/VItemGroup/VItemGroup.ts +2 -2
- package/src/components/VLazy/VLazy.ts +2 -2
- package/src/components/VList/VList.ts +2 -2
- package/src/components/VMain/VMain.ts +2 -2
- package/src/components/VSheet/VSheet.ts +2 -1
- package/src/components/VStepper/VStepper.ts +2 -2
- package/src/components/VToolbar/VToolbar.ts +2 -2
- package/src/components/VTooltip/VTooltip.ts +2 -2
- package/src/util/helpers.ts +8 -2
|
@@ -0,0 +1,532 @@
|
|
|
1
|
+
// Components
|
|
2
|
+
import VDatePickerTitle from './VDatePickerTitle';
|
|
3
|
+
import VDatePickerHeader from './VDatePickerHeader';
|
|
4
|
+
import VDatePickerDateTable from './VDatePickerDateTable';
|
|
5
|
+
import VDatePickerMonthTable from './VDatePickerMonthTable';
|
|
6
|
+
import VDatePickerYears from './VDatePickerYears'; // Mixins
|
|
7
|
+
|
|
8
|
+
import Localable from '../../mixins/localable';
|
|
9
|
+
import Picker from '../../mixins/picker'; // Utils
|
|
10
|
+
|
|
11
|
+
import isDateAllowed from './util/isDateAllowed';
|
|
12
|
+
import mixins from '../../util/mixins';
|
|
13
|
+
import { wrapInArray } from '../../util/helpers';
|
|
14
|
+
import { daysInMonth } from '../VCalendar/util/timestamp';
|
|
15
|
+
import { consoleWarn, breaking } from '../../util/console';
|
|
16
|
+
import { createItemTypeListeners, createNativeLocaleFormatter, pad, sanitizeDateString } from './util';
|
|
17
|
+
import { h } from 'vue';
|
|
18
|
+
export default mixins(Localable, Picker).extend({
|
|
19
|
+
name: 'v-date-picker',
|
|
20
|
+
props: {
|
|
21
|
+
activePicker: String,
|
|
22
|
+
allowedDates: Function,
|
|
23
|
+
// Function formatting the day in date picker table
|
|
24
|
+
dayFormat: Function,
|
|
25
|
+
disabled: Boolean,
|
|
26
|
+
events: {
|
|
27
|
+
type: [Array, Function, Object],
|
|
28
|
+
default: () => null
|
|
29
|
+
},
|
|
30
|
+
eventColor: {
|
|
31
|
+
type: [Array, Function, Object, String],
|
|
32
|
+
default: () => 'warning'
|
|
33
|
+
},
|
|
34
|
+
firstDayOfWeek: {
|
|
35
|
+
type: [String, Number],
|
|
36
|
+
default: 0
|
|
37
|
+
},
|
|
38
|
+
// Function formatting the tableDate in the day/month table header
|
|
39
|
+
headerDateFormat: Function,
|
|
40
|
+
localeFirstDayOfYear: {
|
|
41
|
+
type: [String, Number],
|
|
42
|
+
default: 0
|
|
43
|
+
},
|
|
44
|
+
max: String,
|
|
45
|
+
min: String,
|
|
46
|
+
// Function formatting month in the months table
|
|
47
|
+
monthFormat: Function,
|
|
48
|
+
multiple: Boolean,
|
|
49
|
+
nextIcon: {
|
|
50
|
+
type: String,
|
|
51
|
+
default: '$next'
|
|
52
|
+
},
|
|
53
|
+
nextMonthAriaLabel: {
|
|
54
|
+
type: String,
|
|
55
|
+
default: '$vuetify.datePicker.nextMonthAriaLabel'
|
|
56
|
+
},
|
|
57
|
+
nextYearAriaLabel: {
|
|
58
|
+
type: String,
|
|
59
|
+
default: '$vuetify.datePicker.nextYearAriaLabel'
|
|
60
|
+
},
|
|
61
|
+
pickerDate: String,
|
|
62
|
+
prevIcon: {
|
|
63
|
+
type: String,
|
|
64
|
+
default: '$prev'
|
|
65
|
+
},
|
|
66
|
+
prevMonthAriaLabel: {
|
|
67
|
+
type: String,
|
|
68
|
+
default: '$vuetify.datePicker.prevMonthAriaLabel'
|
|
69
|
+
},
|
|
70
|
+
prevYearAriaLabel: {
|
|
71
|
+
type: String,
|
|
72
|
+
default: '$vuetify.datePicker.prevYearAriaLabel'
|
|
73
|
+
},
|
|
74
|
+
range: Boolean,
|
|
75
|
+
reactive: Boolean,
|
|
76
|
+
readonly: Boolean,
|
|
77
|
+
scrollable: Boolean,
|
|
78
|
+
showCurrent: {
|
|
79
|
+
type: [Boolean, String],
|
|
80
|
+
default: true
|
|
81
|
+
},
|
|
82
|
+
selectedItemsText: {
|
|
83
|
+
type: String,
|
|
84
|
+
default: '$vuetify.datePicker.itemsSelected'
|
|
85
|
+
},
|
|
86
|
+
showAdjacentMonths: Boolean,
|
|
87
|
+
showWeek: Boolean,
|
|
88
|
+
// Function formatting currently selected date in the picker title
|
|
89
|
+
titleDateFormat: Function,
|
|
90
|
+
type: {
|
|
91
|
+
type: String,
|
|
92
|
+
default: 'date',
|
|
93
|
+
validator: type => ['date', 'month'].includes(type) // TODO: year
|
|
94
|
+
|
|
95
|
+
},
|
|
96
|
+
modelValue: [Array, String],
|
|
97
|
+
weekdayFormat: Function,
|
|
98
|
+
// Function formatting the year in table header and pickup title
|
|
99
|
+
yearFormat: Function,
|
|
100
|
+
yearIcon: String
|
|
101
|
+
},
|
|
102
|
+
emits: ['update:modelValue', 'change', 'update:active-picker', 'update:picker-date'],
|
|
103
|
+
|
|
104
|
+
data() {
|
|
105
|
+
const now = new Date();
|
|
106
|
+
return {
|
|
107
|
+
internalActivePicker: this.type.toUpperCase(),
|
|
108
|
+
inputDay: null,
|
|
109
|
+
inputMonth: null,
|
|
110
|
+
inputYear: null,
|
|
111
|
+
isReversing: false,
|
|
112
|
+
now,
|
|
113
|
+
// tableDate is a string in 'YYYY' / 'YYYY-M' format (leading zero for month is not required)
|
|
114
|
+
tableDate: (() => {
|
|
115
|
+
if (this.pickerDate) {
|
|
116
|
+
return this.pickerDate;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
const multipleValue = wrapInArray(this.modelValue);
|
|
120
|
+
const date = multipleValue[multipleValue.length - 1] || (typeof this.showCurrent === 'string' ? this.showCurrent : `${now.getFullYear()}-${now.getMonth() + 1}`);
|
|
121
|
+
return sanitizeDateString(date, this.type === 'date' ? 'month' : 'year');
|
|
122
|
+
})()
|
|
123
|
+
};
|
|
124
|
+
},
|
|
125
|
+
|
|
126
|
+
computed: {
|
|
127
|
+
multipleValue() {
|
|
128
|
+
return wrapInArray(this.modelValue);
|
|
129
|
+
},
|
|
130
|
+
|
|
131
|
+
isMultiple() {
|
|
132
|
+
return this.multiple || this.range;
|
|
133
|
+
},
|
|
134
|
+
|
|
135
|
+
lastValue() {
|
|
136
|
+
return this.isMultiple ? this.multipleValue[this.multipleValue.length - 1] : this.modelValue;
|
|
137
|
+
},
|
|
138
|
+
|
|
139
|
+
selectedMonths() {
|
|
140
|
+
if (!this.modelValue || this.type === 'month') {
|
|
141
|
+
return this.modelValue;
|
|
142
|
+
} else if (this.isMultiple) {
|
|
143
|
+
return this.multipleValue.map(val => val.substr(0, 7));
|
|
144
|
+
} else {
|
|
145
|
+
return this.modelValue.substr(0, 7);
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
|
|
149
|
+
current() {
|
|
150
|
+
if (this.showCurrent === true) {
|
|
151
|
+
return sanitizeDateString(`${this.now.getFullYear()}-${this.now.getMonth() + 1}-${this.now.getDate()}`, this.type);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
return this.showCurrent || null;
|
|
155
|
+
},
|
|
156
|
+
|
|
157
|
+
inputDate() {
|
|
158
|
+
return this.type === 'date' ? `${this.inputYear}-${pad(this.inputMonth + 1)}-${pad(this.inputDay)}` : `${this.inputYear}-${pad(this.inputMonth + 1)}`;
|
|
159
|
+
},
|
|
160
|
+
|
|
161
|
+
tableMonth() {
|
|
162
|
+
return Number((this.pickerDate || this.tableDate).split('-')[1]) - 1;
|
|
163
|
+
},
|
|
164
|
+
|
|
165
|
+
tableYear() {
|
|
166
|
+
return Number((this.pickerDate || this.tableDate).split('-')[0]);
|
|
167
|
+
},
|
|
168
|
+
|
|
169
|
+
minMonth() {
|
|
170
|
+
return this.min ? sanitizeDateString(this.min, 'month') : null;
|
|
171
|
+
},
|
|
172
|
+
|
|
173
|
+
maxMonth() {
|
|
174
|
+
return this.max ? sanitizeDateString(this.max, 'month') : null;
|
|
175
|
+
},
|
|
176
|
+
|
|
177
|
+
minYear() {
|
|
178
|
+
return this.min ? sanitizeDateString(this.min, 'year') : null;
|
|
179
|
+
},
|
|
180
|
+
|
|
181
|
+
maxYear() {
|
|
182
|
+
return this.max ? sanitizeDateString(this.max, 'year') : null;
|
|
183
|
+
},
|
|
184
|
+
|
|
185
|
+
formatters() {
|
|
186
|
+
return {
|
|
187
|
+
year: this.yearFormat || createNativeLocaleFormatter(this.currentLocale, {
|
|
188
|
+
year: 'numeric',
|
|
189
|
+
timeZone: 'UTC'
|
|
190
|
+
}, {
|
|
191
|
+
length: 4
|
|
192
|
+
}),
|
|
193
|
+
titleDate: this.titleDateFormat || (this.isMultiple ? this.defaultTitleMultipleDateFormatter : this.defaultTitleDateFormatter)
|
|
194
|
+
};
|
|
195
|
+
},
|
|
196
|
+
|
|
197
|
+
defaultTitleMultipleDateFormatter() {
|
|
198
|
+
return dates => {
|
|
199
|
+
if (!dates.length) {
|
|
200
|
+
return '-';
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
if (dates.length === 1) {
|
|
204
|
+
return this.defaultTitleDateFormatter(dates[0]);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
return this.$vuetify.lang.t(this.selectedItemsText, dates.length);
|
|
208
|
+
};
|
|
209
|
+
},
|
|
210
|
+
|
|
211
|
+
defaultTitleDateFormatter() {
|
|
212
|
+
const titleFormats = {
|
|
213
|
+
year: {
|
|
214
|
+
year: 'numeric',
|
|
215
|
+
timeZone: 'UTC'
|
|
216
|
+
},
|
|
217
|
+
month: {
|
|
218
|
+
month: 'long',
|
|
219
|
+
timeZone: 'UTC'
|
|
220
|
+
},
|
|
221
|
+
date: {
|
|
222
|
+
weekday: 'short',
|
|
223
|
+
month: 'short',
|
|
224
|
+
day: 'numeric',
|
|
225
|
+
timeZone: 'UTC'
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
const titleDateFormatter = createNativeLocaleFormatter(this.currentLocale, titleFormats[this.type], {
|
|
229
|
+
start: 0,
|
|
230
|
+
length: {
|
|
231
|
+
date: 10,
|
|
232
|
+
month: 7,
|
|
233
|
+
year: 4
|
|
234
|
+
}[this.type]
|
|
235
|
+
});
|
|
236
|
+
|
|
237
|
+
const landscapeFormatter = date => titleDateFormatter(date).replace(/([^\d\s])([\d])/g, (match, nonDigit, digit) => `${nonDigit} ${digit}`).replace(', ', ',<br>');
|
|
238
|
+
|
|
239
|
+
return this.landscape ? landscapeFormatter : titleDateFormatter;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
},
|
|
243
|
+
watch: {
|
|
244
|
+
internalActivePicker: {
|
|
245
|
+
immediate: true,
|
|
246
|
+
|
|
247
|
+
handler(val) {
|
|
248
|
+
this.$emit('update:active-picker', val);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
},
|
|
252
|
+
|
|
253
|
+
activePicker(val) {
|
|
254
|
+
this.internalActivePicker = val;
|
|
255
|
+
},
|
|
256
|
+
|
|
257
|
+
tableDate(val, prev) {
|
|
258
|
+
// Make a ISO 8601 strings from val and prev for comparision, otherwise it will incorrectly
|
|
259
|
+
// compare for example '2000-9' and '2000-10'
|
|
260
|
+
const sanitizeType = this.type === 'month' ? 'year' : 'month';
|
|
261
|
+
this.isReversing = sanitizeDateString(val, sanitizeType) < sanitizeDateString(prev, sanitizeType);
|
|
262
|
+
this.$emit('update:picker-date', val);
|
|
263
|
+
},
|
|
264
|
+
|
|
265
|
+
pickerDate(val) {
|
|
266
|
+
if (val) {
|
|
267
|
+
this.tableDate = val;
|
|
268
|
+
} else if (this.lastValue && this.type === 'date') {
|
|
269
|
+
this.tableDate = sanitizeDateString(this.lastValue, 'month');
|
|
270
|
+
} else if (this.lastValue && this.type === 'month') {
|
|
271
|
+
this.tableDate = sanitizeDateString(this.lastValue, 'year');
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
|
|
275
|
+
modelValue(newValue, oldValue) {
|
|
276
|
+
this.checkMultipleProp();
|
|
277
|
+
this.setInputDate();
|
|
278
|
+
|
|
279
|
+
if (!this.isMultiple && this.modelValue && !this.pickerDate || this.isMultiple && this.multipleValue.length && (!oldValue || !oldValue.length) && !this.pickerDate) {
|
|
280
|
+
this.tableDate = sanitizeDateString(this.inputDate, this.type === 'month' ? 'year' : 'month');
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
|
|
284
|
+
type(type) {
|
|
285
|
+
this.internalActivePicker = type.toUpperCase();
|
|
286
|
+
|
|
287
|
+
if (this.modelValue && this.modelValue.length) {
|
|
288
|
+
const output = this.multipleValue.map(val => sanitizeDateString(val, type)).filter(this.isDateAllowed);
|
|
289
|
+
this.$emit('update:modelValue', this.isMultiple ? output : output[0]);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
},
|
|
294
|
+
|
|
295
|
+
created() {
|
|
296
|
+
const breakingProps = [['value', 'modelValue'], ['onInput', 'onUpdate:modelValue']];
|
|
297
|
+
/* istanbul ignore next */
|
|
298
|
+
|
|
299
|
+
breakingProps.forEach(([original, replacement]) => {
|
|
300
|
+
if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this);
|
|
301
|
+
});
|
|
302
|
+
this.checkMultipleProp();
|
|
303
|
+
|
|
304
|
+
if (this.pickerDate !== this.tableDate) {
|
|
305
|
+
this.$emit('update:picker-date', this.tableDate);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
this.setInputDate();
|
|
309
|
+
},
|
|
310
|
+
|
|
311
|
+
methods: {
|
|
312
|
+
save() {// Метод для совместимости с Picker mixin
|
|
313
|
+
// В VDatePicker нет необходимости в отдельном сохранении
|
|
314
|
+
},
|
|
315
|
+
|
|
316
|
+
cancel() {// Метод для совместимости с Picker mixin
|
|
317
|
+
// В VDatePicker нет необходимости в отдельной отмене
|
|
318
|
+
},
|
|
319
|
+
|
|
320
|
+
emitInput(newInput) {
|
|
321
|
+
if (this.range) {
|
|
322
|
+
if (this.multipleValue.length !== 1) {
|
|
323
|
+
this.$emit('update:modelValue', [newInput]);
|
|
324
|
+
} else {
|
|
325
|
+
const output = [this.multipleValue[0], newInput];
|
|
326
|
+
this.$emit('update:modelValue', output);
|
|
327
|
+
this.$emit('change', output);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
return;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
const output = this.multiple ? this.multipleValue.indexOf(newInput) === -1 ? this.multipleValue.concat([newInput]) : this.multipleValue.filter(x => x !== newInput) : newInput;
|
|
334
|
+
this.$emit('update:modelValue', output);
|
|
335
|
+
this.multiple || this.$emit('change', newInput);
|
|
336
|
+
},
|
|
337
|
+
|
|
338
|
+
checkMultipleProp() {
|
|
339
|
+
if (this.modelValue == null) return;
|
|
340
|
+
const valueType = this.modelValue.constructor.name;
|
|
341
|
+
const expected = this.isMultiple ? 'Array' : 'String';
|
|
342
|
+
|
|
343
|
+
if (valueType !== expected) {
|
|
344
|
+
consoleWarn(`Value must be ${this.isMultiple ? 'an' : 'a'} ${expected}, got ${valueType}`, this);
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
|
|
348
|
+
isDateAllowed(value) {
|
|
349
|
+
return isDateAllowed(value, this.min, this.max, this.allowedDates);
|
|
350
|
+
},
|
|
351
|
+
|
|
352
|
+
yearClick(value) {
|
|
353
|
+
this.inputYear = value;
|
|
354
|
+
|
|
355
|
+
if (this.type === 'month') {
|
|
356
|
+
this.tableDate = `${value}`;
|
|
357
|
+
} else {
|
|
358
|
+
this.tableDate = `${value}-${pad((this.tableMonth || 0) + 1)}`;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
this.internalActivePicker = 'MONTH';
|
|
362
|
+
|
|
363
|
+
if (this.reactive && !this.readonly && !this.isMultiple && this.isDateAllowed(this.inputDate)) {
|
|
364
|
+
this.$emit('update:modelValue', this.inputDate);
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
|
|
368
|
+
monthClick(value) {
|
|
369
|
+
const [year, month] = value.split('-');
|
|
370
|
+
this.inputYear = parseInt(year, 10);
|
|
371
|
+
this.inputMonth = parseInt(month, 10) - 1;
|
|
372
|
+
|
|
373
|
+
if (this.type === 'date') {
|
|
374
|
+
if (this.inputDay) {
|
|
375
|
+
this.inputDay = Math.min(this.inputDay, daysInMonth(this.inputYear, this.inputMonth + 1));
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
this.tableDate = value;
|
|
379
|
+
this.internalActivePicker = 'DATE';
|
|
380
|
+
|
|
381
|
+
if (this.reactive && !this.readonly && !this.isMultiple && this.isDateAllowed(this.inputDate)) {
|
|
382
|
+
this.$emit('update:modelValue', this.inputDate);
|
|
383
|
+
}
|
|
384
|
+
} else {
|
|
385
|
+
this.emitInput(this.inputDate);
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
|
|
389
|
+
dateClick(value) {
|
|
390
|
+
const [year, month, day] = value.split('-');
|
|
391
|
+
this.inputYear = parseInt(year, 10);
|
|
392
|
+
this.inputMonth = parseInt(month, 10) - 1;
|
|
393
|
+
this.inputDay = parseInt(day, 10);
|
|
394
|
+
this.emitInput(this.inputDate);
|
|
395
|
+
},
|
|
396
|
+
|
|
397
|
+
genPickerTitle() {
|
|
398
|
+
const dateValue = this.modelValue ? this.formatters.titleDate(this.isMultiple ? this.multipleValue : this.modelValue) : '';
|
|
399
|
+
return h(VDatePickerTitle, {
|
|
400
|
+
date: dateValue,
|
|
401
|
+
disabled: this.disabled,
|
|
402
|
+
readonly: this.readonly,
|
|
403
|
+
selectingYear: this.internalActivePicker === 'YEAR',
|
|
404
|
+
year: this.formatters.year(this.multipleValue.length ? `${this.inputYear}` : this.tableDate),
|
|
405
|
+
yearIcon: this.yearIcon,
|
|
406
|
+
modelValue: this.multipleValue.length ? this.multipleValue[0] : undefined,
|
|
407
|
+
'onUpdate:selecting-year': value => this.internalActivePicker = value ? 'YEAR' : this.type.toUpperCase()
|
|
408
|
+
});
|
|
409
|
+
},
|
|
410
|
+
|
|
411
|
+
genTableHeader() {
|
|
412
|
+
return h(VDatePickerHeader, {
|
|
413
|
+
nextIcon: this.nextIcon,
|
|
414
|
+
color: this.color,
|
|
415
|
+
dark: this.dark,
|
|
416
|
+
disabled: this.disabled,
|
|
417
|
+
format: this.headerDateFormat,
|
|
418
|
+
light: this.light,
|
|
419
|
+
locale: this.locale,
|
|
420
|
+
min: this.internalActivePicker === 'DATE' ? this.minMonth : this.minYear,
|
|
421
|
+
max: this.internalActivePicker === 'DATE' ? this.maxMonth : this.maxYear,
|
|
422
|
+
nextAriaLabel: this.internalActivePicker === 'DATE' ? this.nextMonthAriaLabel : this.nextYearAriaLabel,
|
|
423
|
+
prevAriaLabel: this.internalActivePicker === 'DATE' ? this.prevMonthAriaLabel : this.prevYearAriaLabel,
|
|
424
|
+
prevIcon: this.prevIcon,
|
|
425
|
+
readonly: this.readonly,
|
|
426
|
+
modelValue: this.internalActivePicker === 'DATE' ? `${pad(this.tableYear, 4)}-${pad(this.tableMonth + 1)}` : `${pad(this.tableYear, 4)}`,
|
|
427
|
+
onToggle: () => this.internalActivePicker = this.internalActivePicker === 'DATE' ? 'MONTH' : 'YEAR',
|
|
428
|
+
'onUpdate:modelValue': value => this.tableDate = value
|
|
429
|
+
});
|
|
430
|
+
},
|
|
431
|
+
|
|
432
|
+
genDateTable() {
|
|
433
|
+
return h(VDatePickerDateTable, {
|
|
434
|
+
allowedDates: this.allowedDates,
|
|
435
|
+
color: this.color,
|
|
436
|
+
current: this.current,
|
|
437
|
+
dark: this.dark,
|
|
438
|
+
disabled: this.disabled,
|
|
439
|
+
events: this.events,
|
|
440
|
+
eventColor: this.eventColor,
|
|
441
|
+
firstDayOfWeek: this.firstDayOfWeek,
|
|
442
|
+
format: this.dayFormat,
|
|
443
|
+
light: this.light,
|
|
444
|
+
locale: this.locale,
|
|
445
|
+
localeFirstDayOfYear: this.localeFirstDayOfYear,
|
|
446
|
+
min: this.min,
|
|
447
|
+
max: this.max,
|
|
448
|
+
range: this.range,
|
|
449
|
+
readonly: this.readonly,
|
|
450
|
+
scrollable: this.scrollable,
|
|
451
|
+
showAdjacentMonths: this.showAdjacentMonths,
|
|
452
|
+
showWeek: this.showWeek,
|
|
453
|
+
tableDate: `${pad(this.tableYear, 4)}-${pad(this.tableMonth + 1)}`,
|
|
454
|
+
modelValue: this.modelValue,
|
|
455
|
+
weekdayFormat: this.weekdayFormat,
|
|
456
|
+
ref: 'table',
|
|
457
|
+
'onUpdate:modelValue': this.dateClick,
|
|
458
|
+
'onUpdate:table-date': value => this.tableDate = value,
|
|
459
|
+
...createItemTypeListeners(this, 'Date')
|
|
460
|
+
});
|
|
461
|
+
},
|
|
462
|
+
|
|
463
|
+
genMonthTable() {
|
|
464
|
+
return h(VDatePickerMonthTable, {
|
|
465
|
+
allowedDates: this.type === 'month' ? this.allowedDates : null,
|
|
466
|
+
color: this.color,
|
|
467
|
+
current: this.current ? sanitizeDateString(this.current, 'month') : null,
|
|
468
|
+
dark: this.dark,
|
|
469
|
+
disabled: this.disabled,
|
|
470
|
+
events: this.type === 'month' ? this.events : null,
|
|
471
|
+
eventColor: this.type === 'month' ? this.eventColor : null,
|
|
472
|
+
format: this.monthFormat,
|
|
473
|
+
light: this.light,
|
|
474
|
+
locale: this.locale,
|
|
475
|
+
min: this.minMonth,
|
|
476
|
+
max: this.maxMonth,
|
|
477
|
+
range: this.range,
|
|
478
|
+
readonly: this.readonly && this.type === 'month',
|
|
479
|
+
scrollable: this.scrollable,
|
|
480
|
+
modelValue: this.selectedMonths,
|
|
481
|
+
tableDate: `${pad(this.tableYear, 4)}`,
|
|
482
|
+
ref: 'table',
|
|
483
|
+
'onUpdate:modelValue': this.monthClick,
|
|
484
|
+
'onUpdate:table-date': value => this.tableDate = value,
|
|
485
|
+
...createItemTypeListeners(this, 'Month')
|
|
486
|
+
});
|
|
487
|
+
},
|
|
488
|
+
|
|
489
|
+
genYears() {
|
|
490
|
+
return h(VDatePickerYears, {
|
|
491
|
+
color: this.color,
|
|
492
|
+
format: this.yearFormat,
|
|
493
|
+
locale: this.locale,
|
|
494
|
+
min: this.minYear,
|
|
495
|
+
max: this.maxYear,
|
|
496
|
+
modelValue: this.tableYear,
|
|
497
|
+
'onUpdate:modelValue': this.yearClick,
|
|
498
|
+
...createItemTypeListeners(this, 'Year')
|
|
499
|
+
});
|
|
500
|
+
},
|
|
501
|
+
|
|
502
|
+
genPickerBody() {
|
|
503
|
+
const children = this.internalActivePicker === 'YEAR' ? [this.genYears()] : [this.genTableHeader(), this.internalActivePicker === 'DATE' ? this.genDateTable() : this.genMonthTable()];
|
|
504
|
+
return h('div', {
|
|
505
|
+
key: this.internalActivePicker
|
|
506
|
+
}, children);
|
|
507
|
+
},
|
|
508
|
+
|
|
509
|
+
setInputDate() {
|
|
510
|
+
if (this.lastValue) {
|
|
511
|
+
const array = this.lastValue.split('-');
|
|
512
|
+
this.inputYear = parseInt(array[0], 10);
|
|
513
|
+
this.inputMonth = parseInt(array[1], 10) - 1;
|
|
514
|
+
|
|
515
|
+
if (this.type === 'date') {
|
|
516
|
+
this.inputDay = parseInt(array[2], 10);
|
|
517
|
+
}
|
|
518
|
+
} else {
|
|
519
|
+
this.inputYear = this.inputYear || this.now.getFullYear();
|
|
520
|
+
this.inputMonth = this.inputMonth == null ? this.inputMonth : this.now.getMonth();
|
|
521
|
+
this.inputDay = this.inputDay || this.now.getDate();
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
},
|
|
526
|
+
|
|
527
|
+
render() {
|
|
528
|
+
return this.genPicker('v-picker--date');
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
});
|
|
532
|
+
//# sourceMappingURL=VDatePicker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/VDatePicker/VDatePicker.ts"],"names":[],"mappings":"AAAA;AACA,OAAO,gBAAP,MAA6B,oBAA7B;AACA,OAAO,iBAAP,MAA8B,qBAA9B;AACA,OAAO,oBAAP,MAAiC,wBAAjC;AACA,OAAO,qBAAP,MAAkC,yBAAlC;AACA,OAAO,gBAAP,MAA6B,oBAA7B,C,CAEA;;AACA,OAAO,SAAP,MAAsB,wBAAtB;AACA,OAAO,MAAP,MAAmB,qBAAnB,C,CAEA;;AACA,OAAO,aAAP,MAA0B,sBAA1B;AACA,OAAO,MAAP,MAAmB,mBAAnB;AACA,SAAS,WAAT,QAA4B,oBAA5B;AACA,SAAS,WAAT,QAA4B,6BAA5B;AACA,SAAS,WAAT,EAAsB,QAAtB,QAAsC,oBAAtC;AACA,SACE,uBADF,EAEE,2BAFF,EAGE,GAHF,EAIE,kBAJF,QAKO,QALP;AAYA,SAAgB,CAAhB,QAAyB,KAAzB;AAkBA,eAAe,MAAM,CACnB,SADmB,EAEnB,MAFmB,CAAN,CAIb,MAJa,CAIN;AACP,EAAA,IAAI,EAAE,eADC;AAGP,EAAA,KAAK,EAAE;AACL,IAAA,YAAY,EAAE,MADT;AAEL,IAAA,YAAY,EAAE,QAFT;AAGL;AACA,IAAA,SAAS,EAAE,QAJN;AAKL,IAAA,QAAQ,EAAE,OALL;AAML,IAAA,MAAM,EAAE;AAC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K,oBAAL,KAA8B,MAA9B,GAAuC,KAAK,YAAL,EAAvC,GAA6D,KAAK,aAAL,EAF3D,CAFJ;AAOA,aAAO,CAAC,CAAC,KAAD,EAAQ;AACd,QAAA,GAAG,EAAE,KAAK;AADI,OAAR,EAEL,QAFK,CAAR;AAGD,KAnMM;;AAoMP,IAAA,YAAY,GAAA;AACV,UAAI,KAAK,SAAT,EAAoB;AAClB,cAAM,KAAK,GAAG,KAAK,SAAL,CAAe,KAAf,CAAqB,GAArB,CAAd;AACA,aAAK,SAAL,GAAiB,QAAQ,CAAC,KAAK,CAAC,CAAD,CAAN,EAAW,EAAX,CAAzB;AACA,aAAK,UAAL,GAAkB,QAAQ,CAAC,KAAK,CAAC,CAAD,CAAN,EAAW,EAAX,CAAR,GAAyB,CAA3C;;AACA,YAAI,KAAK,IAAL,KAAc,MAAlB,EAA0B;AACxB,eAAK,QAAL,GAAgB,QAAQ,CAAC,KAAK,CAAC,CAAD,CAAN,EAAW,EAAX,CAAxB;AACD;AACF,OAPD,MAOO;AACL,aAAK,SAAL,GAAiB,KAAK,SAAL,IAAkB,KAAK,GAAL,CAAS,WAAT,EAAnC;AACA,aAAK,UAAL,GAAkB,KAAK,UAAL,IAAmB,IAAnB,GAA0B,KAAK,UAA/B,GAA4C,KAAK,GAAL,CAAS,QAAT,EAA9D;AACA,aAAK,QAAL,GAAgB,KAAK,QAAL,IAAiB,KAAK,GAAL,CAAS,OAAT,EAAjC;AACD;AACF;;AAjNM,GAhRF;;AAoeP,EAAA,MAAM,GAAA;AACJ,WAAO,KAAK,SAAL,CAAe,gBAAf,CAAP;AACD;;AAteM,CAJM,CAAf","sourcesContent":["// Components\nimport VDatePickerTitle from './VDatePickerTitle'\nimport VDatePickerHeader from './VDatePickerHeader'\nimport VDatePickerDateTable from './VDatePickerDateTable'\nimport VDatePickerMonthTable from './VDatePickerMonthTable'\nimport VDatePickerYears from './VDatePickerYears'\n\n// Mixins\nimport Localable from '../../mixins/localable'\nimport Picker from '../../mixins/picker'\n\n// Utils\nimport isDateAllowed from './util/isDateAllowed'\nimport mixins from '../../util/mixins'\nimport { wrapInArray } from '../../util/helpers'\nimport { daysInMonth } from '../VCalendar/util/timestamp'\nimport { consoleWarn, breaking } from '../../util/console'\nimport {\n createItemTypeListeners,\n createNativeLocaleFormatter,\n pad,\n sanitizeDateString,\n} from './util'\n\n// Types\nimport {\n PropType,\n PropValidator,\n} from 'vue/types/options'\nimport { VNode, h } from 'vue'\nimport {\n DatePickerFormatter,\n DatePickerMultipleFormatter,\n DatePickerAllowedDatesFunction,\n DatePickerEventColors,\n DatePickerEvents,\n DatePickerType,\n} from 'vuetify/types'\n\ntype DatePickerValue = string | string[] | undefined\ninterface Formatters {\n year: DatePickerFormatter\n titleDate: DatePickerFormatter | DatePickerMultipleFormatter\n}\n\ntype ActivePicker = 'DATE' | 'MONTH' | 'YEAR';\n\nexport default mixins(\n Localable,\n Picker,\n/* @vue/component */\n).extend({\n name: 'v-date-picker',\n\n props: {\n activePicker: String as PropType<ActivePicker>,\n allowedDates: Function as PropType<DatePickerAllowedDatesFunction | undefined>,\n // Function formatting the day in date picker table\n dayFormat: Function as PropType<DatePickerAllowedDatesFunction | undefined>,\n disabled: Boolean,\n events: {\n type: [Array, Function, Object],\n default: () => null,\n } as PropValidator<DatePickerEvents | null>,\n eventColor: {\n type: [Array, Function, Object, String],\n default: () => 'warning',\n } as PropValidator<DatePickerEventColors>,\n firstDayOfWeek: {\n type: [String, Number],\n default: 0,\n },\n // Function formatting the tableDate in the day/month table header\n headerDateFormat: Function as PropType<DatePickerFormatter | undefined>,\n localeFirstDayOfYear: {\n type: [String, Number],\n default: 0,\n },\n max: String,\n min: String,\n // Function formatting month in the months table\n monthFormat: Function as PropType<DatePickerFormatter | undefined>,\n multiple: Boolean,\n nextIcon: {\n type: String,\n default: '$next',\n },\n nextMonthAriaLabel: {\n type: String,\n default: '$vuetify.datePicker.nextMonthAriaLabel',\n },\n nextYearAriaLabel: {\n type: String,\n default: '$vuetify.datePicker.nextYearAriaLabel',\n },\n pickerDate: String,\n prevIcon: {\n type: String,\n default: '$prev',\n },\n prevMonthAriaLabel: {\n type: String,\n default: '$vuetify.datePicker.prevMonthAriaLabel',\n },\n prevYearAriaLabel: {\n type: String,\n default: '$vuetify.datePicker.prevYearAriaLabel',\n },\n range: Boolean,\n reactive: Boolean,\n readonly: Boolean,\n scrollable: Boolean,\n showCurrent: {\n type: [Boolean, String],\n default: true,\n },\n selectedItemsText: {\n type: String,\n default: '$vuetify.datePicker.itemsSelected',\n },\n showAdjacentMonths: Boolean,\n showWeek: Boolean,\n // Function formatting currently selected date in the picker title\n titleDateFormat: Function as PropType<DatePickerFormatter | DatePickerMultipleFormatter | undefined>,\n type: {\n type: String,\n default: 'date',\n validator: (type: any) => ['date', 'month'].includes(type), // TODO: year\n } as PropValidator<DatePickerType>,\n modelValue: [Array, String] as PropType<DatePickerValue>,\n weekdayFormat: Function as PropType<DatePickerFormatter | undefined>,\n // Function formatting the year in table header and pickup title\n yearFormat: Function as PropType<DatePickerFormatter | undefined>,\n yearIcon: String,\n },\n\n emits: [\n 'update:modelValue',\n 'change',\n 'update:active-picker',\n 'update:picker-date',\n ],\n\n data () {\n const now = new Date()\n return {\n internalActivePicker: this.type.toUpperCase(),\n inputDay: null as number | null,\n inputMonth: null as number | null,\n inputYear: null as number | null,\n isReversing: false,\n now,\n // tableDate is a string in 'YYYY' / 'YYYY-M' format (leading zero for month is not required)\n tableDate: (() => {\n if (this.pickerDate) {\n return this.pickerDate\n }\n\n const multipleValue = wrapInArray(this.modelValue)\n const date = multipleValue[multipleValue.length - 1] ||\n (typeof this.showCurrent === 'string' ? this.showCurrent : `${now.getFullYear()}-${now.getMonth() + 1}`)\n return sanitizeDateString(date as string, this.type === 'date' ? 'month' : 'year')\n })(),\n }\n },\n\n computed: {\n multipleValue (): string[] {\n return wrapInArray(this.modelValue)\n },\n isMultiple (): boolean {\n return this.multiple || this.range\n },\n lastValue (): string | null {\n return this.isMultiple ? this.multipleValue[this.multipleValue.length - 1] : (this.modelValue as string | null)\n },\n selectedMonths (): string | string[] | undefined {\n if (!this.modelValue || this.type === 'month') {\n return this.modelValue\n } else if (this.isMultiple) {\n return this.multipleValue.map(val => val.substr(0, 7))\n } else {\n return (this.modelValue as string).substr(0, 7)\n }\n },\n current (): string | null {\n if (this.showCurrent === true) {\n return sanitizeDateString(`${this.now.getFullYear()}-${this.now.getMonth() + 1}-${this.now.getDate()}`, this.type)\n }\n\n return this.showCurrent || null\n },\n inputDate (): string {\n return this.type === 'date'\n ? `${this.inputYear}-${pad(this.inputMonth! + 1)}-${pad(this.inputDay!)}`\n : `${this.inputYear}-${pad(this.inputMonth! + 1)}`\n },\n tableMonth (): number {\n return Number((this.pickerDate || this.tableDate).split('-')[1]) - 1\n },\n tableYear (): number {\n return Number((this.pickerDate || this.tableDate).split('-')[0])\n },\n minMonth (): string | null {\n return this.min ? sanitizeDateString(this.min, 'month') : null\n },\n maxMonth (): string | null {\n return this.max ? sanitizeDateString(this.max, 'month') : null\n },\n minYear (): string | null {\n return this.min ? sanitizeDateString(this.min, 'year') : null\n },\n maxYear (): string | null {\n return this.max ? sanitizeDateString(this.max, 'year') : null\n },\n formatters (): Formatters {\n return {\n year: this.yearFormat || createNativeLocaleFormatter(this.currentLocale, { year: 'numeric', timeZone: 'UTC' }, { length: 4 }),\n titleDate: this.titleDateFormat ||\n (this.isMultiple ? this.defaultTitleMultipleDateFormatter : this.defaultTitleDateFormatter),\n }\n },\n defaultTitleMultipleDateFormatter (): DatePickerMultipleFormatter {\n return dates => {\n if (!dates.length) {\n return '-'\n }\n\n if (dates.length === 1) {\n return this.defaultTitleDateFormatter(dates[0])\n }\n\n return this.$vuetify.lang.t(this.selectedItemsText, dates.length)\n }\n },\n defaultTitleDateFormatter (): DatePickerFormatter {\n const titleFormats = {\n year: { year: 'numeric', timeZone: 'UTC' },\n month: { month: 'long', timeZone: 'UTC' },\n date: { weekday: 'short', month: 'short', day: 'numeric', timeZone: 'UTC' },\n } as const\n\n const titleDateFormatter = createNativeLocaleFormatter(this.currentLocale, titleFormats[this.type], {\n start: 0,\n length: { date: 10, month: 7, year: 4 }[this.type],\n })\n\n const landscapeFormatter = (date: string) => titleDateFormatter(date)\n .replace(/([^\\d\\s])([\\d])/g, (match, nonDigit, digit) => `${nonDigit} ${digit}`)\n .replace(', ', ',<br>')\n\n return this.landscape ? landscapeFormatter : titleDateFormatter\n },\n },\n\n watch: {\n internalActivePicker: {\n immediate: true,\n handler (val: ActivePicker) {\n this.$emit('update:active-picker', val)\n },\n },\n activePicker (val: ActivePicker) {\n this.internalActivePicker = val\n },\n tableDate (val: string, prev: string) {\n // Make a ISO 8601 strings from val and prev for comparision, otherwise it will incorrectly\n // compare for example '2000-9' and '2000-10'\n const sanitizeType = this.type === 'month' ? 'year' : 'month'\n this.isReversing = sanitizeDateString(val, sanitizeType) < sanitizeDateString(prev, sanitizeType)\n this.$emit('update:picker-date', val)\n },\n pickerDate (val: string | null) {\n if (val) {\n this.tableDate = val\n } else if (this.lastValue && this.type === 'date') {\n this.tableDate = sanitizeDateString(this.lastValue, 'month')\n } else if (this.lastValue && this.type === 'month') {\n this.tableDate = sanitizeDateString(this.lastValue, 'year')\n }\n },\n modelValue (newValue: DatePickerValue, oldValue: DatePickerValue) {\n this.checkMultipleProp()\n this.setInputDate()\n\n if (\n (!this.isMultiple && this.modelValue && !this.pickerDate) ||\n (this.isMultiple && this.multipleValue.length && (!oldValue || !oldValue.length) && !this.pickerDate)\n ) {\n this.tableDate = sanitizeDateString(this.inputDate, this.type === 'month' ? 'year' : 'month')\n }\n },\n type (type: DatePickerType) {\n this.internalActivePicker = type.toUpperCase()\n\n if (this.modelValue && this.modelValue.length) {\n const output = this.multipleValue\n .map((val: string) => sanitizeDateString(val, type))\n .filter(this.isDateAllowed)\n this.$emit('update:modelValue', this.isMultiple ? output : output[0])\n }\n },\n },\n\n created () {\n const breakingProps = [\n ['value', 'modelValue'],\n ['onInput', 'onUpdate:modelValue'],\n ]\n\n /* istanbul ignore next */\n breakingProps.forEach(([original, replacement]) => {\n if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this)\n })\n\n this.checkMultipleProp()\n\n if (this.pickerDate !== this.tableDate) {\n this.$emit('update:picker-date', this.tableDate)\n }\n this.setInputDate()\n },\n\n methods: {\n save () {\n // Метод для совместимости с Picker mixin\n // В VDatePicker нет необходимости в отдельном сохранении\n },\n cancel () {\n // Метод для совместимости с Picker mixin\n // В VDatePicker нет необходимости в отдельной отмене\n },\n emitInput (newInput: string) {\n if (this.range) {\n if (this.multipleValue.length !== 1) {\n this.$emit('update:modelValue', [newInput])\n } else {\n const output = [this.multipleValue[0], newInput]\n this.$emit('update:modelValue', output)\n this.$emit('change', output)\n }\n return\n }\n\n const output = this.multiple\n ? (\n this.multipleValue.indexOf(newInput) === -1\n ? this.multipleValue.concat([newInput])\n : this.multipleValue.filter(x => x !== newInput)\n )\n : newInput\n\n this.$emit('update:modelValue', output)\n this.multiple || this.$emit('change', newInput)\n },\n checkMultipleProp () {\n if (this.modelValue == null) return\n const valueType = this.modelValue.constructor.name\n const expected = this.isMultiple ? 'Array' : 'String'\n if (valueType !== expected) {\n consoleWarn(`Value must be ${this.isMultiple ? 'an' : 'a'} ${expected}, got ${valueType}`, this)\n }\n },\n isDateAllowed (value: string): boolean {\n return isDateAllowed(value, this.min, this.max, this.allowedDates)\n },\n yearClick (value: number) {\n this.inputYear = value\n if (this.type === 'month') {\n this.tableDate = `${value}`\n } else {\n this.tableDate = `${value}-${pad((this.tableMonth || 0) + 1)}`\n }\n this.internalActivePicker = 'MONTH'\n if (this.reactive && !this.readonly && !this.isMultiple && this.isDateAllowed(this.inputDate)) {\n this.$emit('update:modelValue', this.inputDate)\n }\n },\n monthClick (value: string) {\n const [year, month] = value.split('-')\n\n this.inputYear = parseInt(year, 10)\n this.inputMonth = parseInt(month, 10) - 1\n\n if (this.type === 'date') {\n if (this.inputDay) {\n this.inputDay = Math.min(this.inputDay, daysInMonth(this.inputYear, this.inputMonth + 1))\n }\n\n this.tableDate = value\n this.internalActivePicker = 'DATE'\n if (this.reactive && !this.readonly && !this.isMultiple && this.isDateAllowed(this.inputDate)) {\n this.$emit('update:modelValue', this.inputDate)\n }\n } else {\n this.emitInput(this.inputDate)\n }\n },\n dateClick (value: string) {\n const [year, month, day] = value.split('-')\n\n this.inputYear = parseInt(year, 10)\n this.inputMonth = parseInt(month, 10) - 1\n this.inputDay = parseInt(day, 10)\n\n this.emitInput(this.inputDate)\n },\n genPickerTitle (): VNode {\n const dateValue = this.modelValue ? (this.formatters.titleDate as (value: any) => string)(this.isMultiple ? this.multipleValue : this.modelValue) : ''\n return h(VDatePickerTitle, {\n date: dateValue,\n disabled: this.disabled,\n readonly: this.readonly,\n selectingYear: this.internalActivePicker === 'YEAR',\n year: this.formatters.year(this.multipleValue.length ? `${this.inputYear}` : this.tableDate),\n yearIcon: this.yearIcon,\n modelValue: this.multipleValue.length ? this.multipleValue[0] : undefined,\n 'onUpdate:selecting-year': (value: boolean) => this.internalActivePicker = value ? 'YEAR' : this.type.toUpperCase(),\n })\n },\n genTableHeader (): VNode {\n return h(VDatePickerHeader, {\n nextIcon: this.nextIcon,\n color: this.color,\n dark: this.dark,\n disabled: this.disabled,\n format: this.headerDateFormat,\n light: this.light,\n locale: this.locale,\n min: this.internalActivePicker === 'DATE' ? this.minMonth : this.minYear,\n max: this.internalActivePicker === 'DATE' ? this.maxMonth : this.maxYear,\n nextAriaLabel: this.internalActivePicker === 'DATE' ? this.nextMonthAriaLabel : this.nextYearAriaLabel,\n prevAriaLabel: this.internalActivePicker === 'DATE' ? this.prevMonthAriaLabel : this.prevYearAriaLabel,\n prevIcon: this.prevIcon,\n readonly: this.readonly,\n modelValue: this.internalActivePicker === 'DATE' ? `${pad(this.tableYear, 4)}-${pad(this.tableMonth + 1)}` : `${pad(this.tableYear, 4)}`,\n onToggle: () => this.internalActivePicker = (this.internalActivePicker === 'DATE' ? 'MONTH' : 'YEAR'),\n 'onUpdate:modelValue': (value: string) => this.tableDate = value,\n })\n },\n genDateTable (): VNode {\n return h(VDatePickerDateTable, {\n allowedDates: this.allowedDates,\n color: this.color,\n current: this.current,\n dark: this.dark,\n disabled: this.disabled,\n events: this.events,\n eventColor: this.eventColor,\n firstDayOfWeek: this.firstDayOfWeek,\n format: this.dayFormat,\n light: this.light,\n locale: this.locale,\n localeFirstDayOfYear: this.localeFirstDayOfYear,\n min: this.min,\n max: this.max,\n range: this.range,\n readonly: this.readonly,\n scrollable: this.scrollable,\n showAdjacentMonths: this.showAdjacentMonths,\n showWeek: this.showWeek,\n tableDate: `${pad(this.tableYear, 4)}-${pad(this.tableMonth + 1)}`,\n modelValue: this.modelValue,\n weekdayFormat: this.weekdayFormat,\n ref: 'table',\n 'onUpdate:modelValue': this.dateClick,\n 'onUpdate:table-date': (value: string) => this.tableDate = value,\n ...createItemTypeListeners(this, 'Date'),\n })\n },\n genMonthTable (): VNode {\n return h(VDatePickerMonthTable, {\n allowedDates: this.type === 'month' ? this.allowedDates : null,\n color: this.color,\n current: this.current ? sanitizeDateString(this.current, 'month') : null,\n dark: this.dark,\n disabled: this.disabled,\n events: this.type === 'month' ? this.events : null,\n eventColor: this.type === 'month' ? this.eventColor : null,\n format: this.monthFormat,\n light: this.light,\n locale: this.locale,\n min: this.minMonth,\n max: this.maxMonth,\n range: this.range,\n readonly: this.readonly && this.type === 'month',\n scrollable: this.scrollable,\n modelValue: this.selectedMonths,\n tableDate: `${pad(this.tableYear, 4)}`,\n ref: 'table',\n 'onUpdate:modelValue': this.monthClick,\n 'onUpdate:table-date': (value: string) => this.tableDate = value,\n ...createItemTypeListeners(this, 'Month'),\n })\n },\n genYears (): VNode {\n return h(VDatePickerYears, {\n color: this.color,\n format: this.yearFormat,\n locale: this.locale,\n min: this.minYear,\n max: this.maxYear,\n modelValue: this.tableYear,\n 'onUpdate:modelValue': this.yearClick,\n ...createItemTypeListeners(this, 'Year'),\n })\n },\n genPickerBody (): VNode {\n const children = this.internalActivePicker === 'YEAR' ? [\n this.genYears(),\n ] : [\n this.genTableHeader(),\n this.internalActivePicker === 'DATE' ? this.genDateTable() : this.genMonthTable(),\n ]\n\n return h('div', {\n key: this.internalActivePicker,\n }, children)\n },\n setInputDate () {\n if (this.lastValue) {\n const array = this.lastValue.split('-')\n this.inputYear = parseInt(array[0], 10)\n this.inputMonth = parseInt(array[1], 10) - 1\n if (this.type === 'date') {\n this.inputDay = parseInt(array[2], 10)\n }\n } else {\n this.inputYear = this.inputYear || this.now.getFullYear()\n this.inputMonth = this.inputMonth == null ? this.inputMonth : this.now.getMonth()\n this.inputDay = this.inputDay || this.now.getDate()\n }\n },\n },\n\n render (): VNode {\n return this.genPicker('v-picker--date')\n },\n})\n"],"sourceRoot":"","file":"VDatePicker.js"}
|