vectis-ui 0.8.1 → 0.9.1
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/README.md +3 -3
- package/dist/components/VAccordion/VAccordionItem.d.ts +4 -6
- package/dist/components/VAccordion/VAccordionItem.js.map +1 -1
- package/dist/components/VAccordion/VAccordionItem.vue_vue_type_script_setup_true_lang.js +21 -19
- package/dist/components/VAccordion/VAccordionItem.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VAccordion/context.d.ts +6 -1
- package/dist/components/VAccordion/context.js.map +1 -1
- package/dist/components/VAvatar/VAvatar.css +1 -1
- package/dist/components/VAvatar/VAvatar.d.ts +5 -3
- package/dist/components/VAvatar/VAvatar.js.map +1 -1
- package/dist/components/VAvatar/VAvatar.vue_vue_type_script_setup_true_lang.js +53 -39
- package/dist/components/VAvatar/VAvatar.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VAvatar/VAvatarGroup.d.ts +12 -3
- package/dist/components/VAvatar/VAvatarGroup.js.map +1 -1
- package/dist/components/VAvatar/VAvatarGroup.vue_vue_type_script_setup_true_lang.js +27 -20
- package/dist/components/VAvatar/VAvatarGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VAvatar/context.d.ts +2 -2
- package/dist/components/VAvatar/context.js.map +1 -1
- package/dist/components/VBadge/VBadge.css +1 -1
- package/dist/components/VBadge/VBadge.d.ts +8 -4
- package/dist/components/VBadge/VBadge.js.map +1 -1
- package/dist/components/VBadge/VBadge.vue_vue_type_script_setup_true_lang.js +6 -3
- package/dist/components/VBadge/VBadge.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VBreadcrumb/VBreadcrumb.d.ts +5 -4
- package/dist/components/VBreadcrumb/VBreadcrumb.js.map +1 -1
- package/dist/components/VBreadcrumb/VBreadcrumb.vue_vue_type_script_setup_true_lang.js +8 -3
- package/dist/components/VBreadcrumb/VBreadcrumb.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VButton/VButton.css +1 -1
- package/dist/components/VButton/VButton.d.ts +4 -1
- package/dist/components/VButton/VButton.js.map +1 -1
- package/dist/components/VButton/VButton.vue_vue_type_script_setup_true_lang.js +8 -7
- package/dist/components/VButton/VButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VButton/VButtonGroup.js.map +1 -1
- package/dist/components/VButton/VButtonGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VCalendar/VCalendar.css +1 -1
- package/dist/components/VCalendar/VCalendar.d.ts +15 -6
- package/dist/components/VCalendar/VCalendar.js.map +1 -1
- package/dist/components/VCalendar/VCalendar.vue_vue_type_script_setup_true_lang.js +144 -126
- package/dist/components/VCalendar/VCalendar.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VCalendar/VCalendarEvent.css +1 -1
- package/dist/components/VCalendar/VCalendarEvent.d.ts +1 -1
- package/dist/components/VCalendar/VCalendarEvent.js.map +1 -1
- package/dist/components/VCalendar/VCalendarEvent.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VCalendar/VCalendarMonth.css +1 -1
- package/dist/components/VCalendar/VCalendarMonth.d.ts +1 -1
- package/dist/components/VCalendar/VCalendarMonth.js.map +1 -1
- package/dist/components/VCalendar/VCalendarMonth.vue_vue_type_script_setup_true_lang.js +99 -90
- package/dist/components/VCalendar/VCalendarMonth.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VCalendar/VCalendarTimeGrid.css +1 -1
- package/dist/components/VCalendar/VCalendarTimeGrid.d.ts +3 -3
- package/dist/components/VCalendar/VCalendarTimeGrid.js.map +1 -1
- package/dist/components/VCalendar/VCalendarTimeGrid.vue_vue_type_script_setup_true_lang.js +256 -246
- package/dist/components/VCalendar/VCalendarTimeGrid.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VCalendar/VCalendarYear.css +1 -1
- package/dist/components/VCalendar/VCalendarYear.d.ts +8 -1
- package/dist/components/VCalendar/VCalendarYear.js.map +1 -1
- package/dist/components/VCalendar/VCalendarYear.vue_vue_type_script_setup_true_lang.js +39 -32
- package/dist/components/VCalendar/VCalendarYear.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VCalendar/color.d.ts +1 -1
- package/dist/components/VCalendar/color.js.map +1 -1
- package/dist/components/VCalendar/edgeStep.d.ts +3 -3
- package/dist/components/VCalendar/edgeStep.js +5 -0
- package/dist/components/VCalendar/edgeStep.js.map +1 -1
- package/dist/components/VCalendar/gesture.d.ts +10 -9
- package/dist/components/VCalendar/gesture.js +60 -45
- package/dist/components/VCalendar/gesture.js.map +1 -1
- package/dist/components/VCalendar/keyboard.d.ts +22 -5
- package/dist/components/VCalendar/keyboard.js +17 -16
- package/dist/components/VCalendar/keyboard.js.map +1 -1
- package/dist/components/VCalendar/layout.d.ts +47 -37
- package/dist/components/VCalendar/layout.js +47 -37
- package/dist/components/VCalendar/layout.js.map +1 -1
- package/dist/components/VCalendar/timeGrid.d.ts +4 -4
- package/dist/components/VCalendar/timeGrid.js +6 -6
- package/dist/components/VCalendar/timeGrid.js.map +1 -1
- package/dist/components/VCalendar/types.d.ts +5 -5
- package/dist/components/VCarousel/VCarousel.css +1 -1
- package/dist/components/VCarousel/VCarousel.d.ts +59 -38
- package/dist/components/VCarousel/VCarousel.js.map +1 -1
- package/dist/components/VCarousel/VCarousel.vue_vue_type_script_setup_true_lang.js +161 -132
- package/dist/components/VCarousel/VCarousel.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VCarousel/VCarouselItem.d.ts +1 -1
- package/dist/components/VCarousel/VCarouselItem.js.map +1 -1
- package/dist/components/VCarousel/VCarouselItem.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VCarousel/context.d.ts +1 -1
- package/dist/components/VCarousel/context.js.map +1 -1
- package/dist/components/VCheckbox/VCheckbox.css +1 -1
- package/dist/components/VCheckbox/VCheckbox.d.ts +2 -2
- package/dist/components/VCheckbox/VCheckbox.js.map +1 -1
- package/dist/components/VCheckbox/VCheckbox.vue_vue_type_script_setup_true_lang.js +10 -8
- package/dist/components/VCheckbox/VCheckbox.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VChip/VChip.css +1 -1
- package/dist/components/VChip/VChip.d.ts +7 -2
- package/dist/components/VChip/VChip.js.map +1 -1
- package/dist/components/VChip/VChip.vue_vue_type_script_setup_true_lang.js +69 -55
- package/dist/components/VChip/VChip.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VCombobox/VCombobox.css +1 -1
- package/dist/components/VCombobox/VCombobox.d.ts +50 -36
- package/dist/components/VCombobox/VCombobox.js.map +1 -1
- package/dist/components/VCombobox/VCombobox.vue_vue_type_script_setup_true_lang.js +167 -161
- package/dist/components/VCombobox/VCombobox.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VCombobox/VComboboxGroup.css +1 -1
- package/dist/components/VCombobox/VComboboxGroup.js.map +1 -1
- package/dist/components/VCombobox/VComboboxGroup.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/VCombobox/VComboboxGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VCombobox/infiniteScroll.d.ts +12 -3
- package/dist/components/VCombobox/infiniteScroll.js +18 -12
- package/dist/components/VCombobox/infiniteScroll.js.map +1 -1
- package/dist/components/VDataTable/VDataTable.css +1 -1
- package/dist/components/VDataTable/VDataTable.d.ts +55 -24
- package/dist/components/VDataTable/VDataTable.js.map +1 -1
- package/dist/components/VDataTable/VDataTable.vue_vue_type_script_setup_true_lang.js +192 -155
- package/dist/components/VDataTable/VDataTable.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VDateInput/VDateInput.css +1 -1
- package/dist/components/VDateInput/VDateInput.d.ts +15 -12
- package/dist/components/VDateInput/VDateInput.js.map +1 -1
- package/dist/components/VDateInput/VDateInput.vue_vue_type_script_setup_true_lang.js +180 -160
- package/dist/components/VDateInput/VDateInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VDateInput/mask.d.ts +95 -0
- package/dist/components/VDateInput/mask.js +118 -0
- package/dist/components/VDateInput/mask.js.map +1 -0
- package/dist/components/VDatePicker/VDatePicker.css +1 -1
- package/dist/components/VDatePicker/VDatePicker.d.ts +6 -5
- package/dist/components/VDatePicker/VDatePicker.js.map +1 -1
- package/dist/components/VDatePicker/VDatePicker.vue_vue_type_script_setup_true_lang.js +204 -173
- package/dist/components/VDatePicker/VDatePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VDatePicker/keyboard.d.ts +3 -3
- package/dist/components/VDatePicker/keyboard.js.map +1 -1
- package/dist/components/VDatePicker/names.d.ts +34 -0
- package/dist/components/VDatePicker/names.js +42 -0
- package/dist/components/VDatePicker/names.js.map +1 -0
- package/dist/components/VDialog/VDialog.css +1 -1
- package/dist/components/VDialog/VDialog.d.ts +2 -2
- package/dist/components/VDialog/VDialog.js.map +1 -1
- package/dist/components/VDialog/VDialog.vue_vue_type_script_setup_true_lang.js +63 -41
- package/dist/components/VDialog/VDialog.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VFileInput/VFileInput.d.ts +38 -25
- package/dist/components/VFileInput/VFileInput.js.map +1 -1
- package/dist/components/VFileInput/VFileInput.vue_vue_type_script_setup_true_lang.js +74 -71
- package/dist/components/VFileInput/VFileInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VFileInput/truncate.d.ts +4 -4
- package/dist/components/VFileInput/truncate.js.map +1 -1
- package/dist/components/VFilePicker/VFilePicker.css +1 -1
- package/dist/components/VFilePicker/VFilePicker.d.ts +54 -37
- package/dist/components/VFilePicker/VFilePicker.js.map +1 -1
- package/dist/components/VFilePicker/VFilePicker.vue_vue_type_script_setup_true_lang.js +152 -135
- package/dist/components/VFilePicker/VFilePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VFilePicker/fileKind.d.ts +2 -2
- package/dist/components/VFilePicker/fileKind.js.map +1 -1
- package/dist/components/VHotkeys/VHotkeys.css +1 -1
- package/dist/components/VHotkeys/VHotkeys.d.ts +10 -8
- package/dist/components/VHotkeys/VHotkeys.js.map +1 -1
- package/dist/components/VHotkeys/VHotkeys.vue_vue_type_script_setup_true_lang.js +22 -20
- package/dist/components/VHotkeys/VHotkeys.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VHotkeys/platform.d.ts +9 -7
- package/dist/components/VHotkeys/platform.js +41 -30
- package/dist/components/VHotkeys/platform.js.map +1 -1
- package/dist/components/VIcon/VIcon.css +1 -1
- package/dist/components/VIcon/VIcon.d.ts +6 -6
- package/dist/components/VIcon/VIcon.js.map +1 -1
- package/dist/components/VIcon/VIcon.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VIcon/iconProps.d.ts +4 -4
- package/dist/components/VIcon/iconProps.js.map +1 -1
- package/dist/components/VIcon/icons/index.d.ts +1 -1
- package/dist/components/VIcon/icons/index.js.map +1 -1
- package/dist/components/VIcon/icons/names.d.ts +1 -1
- package/dist/components/VIcon/icons/names.js.map +1 -1
- package/dist/components/VIcon/resolver.d.ts +3 -3
- package/dist/components/VIcon/resolver.js +23 -20
- package/dist/components/VIcon/resolver.js.map +1 -1
- package/dist/components/VIcon/types.d.ts +4 -4
- package/dist/components/VIconButton/VIconButton.d.ts +4 -4
- package/dist/components/VIconButton/VIconButton.js.map +1 -1
- package/dist/components/VIconButton/VIconButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VInput/VInput.d.ts +16 -8
- package/dist/components/VInput/VInput.js.map +1 -1
- package/dist/components/VInput/VInput.vue_vue_type_script_setup_true_lang.js +22 -16
- package/dist/components/VInput/VInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VInput/VInputGroup.css +1 -1
- package/dist/components/VInput/VInputGroup.js.map +1 -1
- package/dist/components/VInput/VInputGroup.vue_vue_type_script_setup_true_lang.js +43 -28
- package/dist/components/VInput/VInputGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VInputOTP/VInputOTP.css +1 -1
- package/dist/components/VInputOTP/VInputOTP.d.ts +3 -3
- package/dist/components/VInputOTP/VInputOTP.js.map +1 -1
- package/dist/components/VInputOTP/VInputOTP.vue_vue_type_script_setup_true_lang.js +152 -85
- package/dist/components/VInputOTP/VInputOTP.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VMenu/VMenu.d.ts +4 -4
- package/dist/components/VMenu/VMenu.js.map +1 -1
- package/dist/components/VMenu/VMenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VMenu/VMenuGroup.css +1 -1
- package/dist/components/VMenu/VMenuGroup.js.map +1 -1
- package/dist/components/VMenu/VMenuGroup.vue_vue_type_script_setup_true_lang.js +18 -11
- package/dist/components/VMenu/VMenuGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VMenu/VMenuItem.css +1 -1
- package/dist/components/VMenu/VMenuItem.d.ts +6 -6
- package/dist/components/VMenu/VMenuItem.js.map +1 -1
- package/dist/components/VMenu/VMenuItem.vue_vue_type_script_setup_true_lang.js +83 -69
- package/dist/components/VMenu/VMenuItem.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VMenu/VMenuPanel.css +1 -1
- package/dist/components/VMenu/VMenuPanel.d.ts +2 -2
- package/dist/components/VMenu/VMenuPanel.js.map +1 -1
- package/dist/components/VMenu/VMenuPanel.vue_vue_type_script_setup_true_lang.js +56 -55
- package/dist/components/VMenu/VMenuPanel.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VMenu/context.d.ts +2 -2
- package/dist/components/VMenu/context.js.map +1 -1
- package/dist/components/VPagination/VPagination.css +1 -1
- package/dist/components/VPagination/VPagination.d.ts +31 -9
- package/dist/components/VPagination/VPagination.js.map +1 -1
- package/dist/components/VPagination/VPagination.vue_vue_type_script_setup_true_lang.js +82 -52
- package/dist/components/VPagination/VPagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VPopover/VPopover.css +1 -1
- package/dist/components/VPopover/VPopover.d.ts +1 -1
- package/dist/components/VPopover/VPopover.js.map +1 -1
- package/dist/components/VPopover/VPopover.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VProgressCircular/VProgressCircular.css +1 -1
- package/dist/components/VProgressCircular/VProgressCircular.d.ts +12 -7
- package/dist/components/VProgressCircular/VProgressCircular.js.map +1 -1
- package/dist/components/VProgressCircular/VProgressCircular.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VProgressLinear/VProgressLinear.css +1 -1
- package/dist/components/VProgressLinear/VProgressLinear.d.ts +15 -10
- package/dist/components/VProgressLinear/VProgressLinear.js.map +1 -1
- package/dist/components/VProgressLinear/VProgressLinear.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VRadio/VRadio.css +1 -1
- package/dist/components/VRadio/VRadio.js.map +1 -1
- package/dist/components/VRadio/VRadio.vue_vue_type_script_setup_true_lang.js +3 -3
- package/dist/components/VRadio/VRadio.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VSeparator/VSeparator.d.ts +1 -1
- package/dist/components/VSeparator/VSeparator.js.map +1 -1
- package/dist/components/VSeparator/VSeparator.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VSideNavigation/VSideNavigation.d.ts +2 -2
- package/dist/components/VSideNavigation/VSideNavigation.js.map +1 -1
- package/dist/components/VSideNavigation/VSideNavigation.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/VSideNavigation/VSideNavigation.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VSideNavigation/VSideNavigationGroup.css +1 -1
- package/dist/components/VSideNavigation/VSideNavigationGroup.js.map +1 -1
- package/dist/components/VSideNavigation/VSideNavigationGroup.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/VSideNavigation/VSideNavigationGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VSideNavigation/VSideNavigationItem.css +1 -1
- package/dist/components/VSideNavigation/VSideNavigationItem.d.ts +12 -13
- package/dist/components/VSideNavigation/VSideNavigationItem.js.map +1 -1
- package/dist/components/VSideNavigation/VSideNavigationItem.vue_vue_type_script_setup_true_lang.js +87 -68
- package/dist/components/VSideNavigation/VSideNavigationItem.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VSkeletonLoader/VSkeletonLoader.css +1 -1
- package/dist/components/VSkeletonLoader/VSkeletonLoader.d.ts +10 -7
- package/dist/components/VSkeletonLoader/VSkeletonLoader.js.map +1 -1
- package/dist/components/VSkeletonLoader/VSkeletonLoader.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/components/VSkeletonLoader/VSkeletonLoader.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VSlider/VSlider.css +1 -1
- package/dist/components/VSlider/VSlider.d.ts +21 -7
- package/dist/components/VSlider/VSlider.js.map +1 -1
- package/dist/components/VSlider/VSlider.vue_vue_type_script_setup_true_lang.js +159 -140
- package/dist/components/VSlider/VSlider.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VSnackbar/VSnackbar.css +1 -1
- package/dist/components/VSnackbar/VSnackbar.d.ts +4 -4
- package/dist/components/VSnackbar/VSnackbar.js.map +1 -1
- package/dist/components/VSnackbar/VSnackbar.vue_vue_type_script_setup_true_lang.js +85 -59
- package/dist/components/VSnackbar/VSnackbar.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VSnackbar/state.d.ts +7 -7
- package/dist/components/VSnackbar/state.js +13 -11
- package/dist/components/VSnackbar/state.js.map +1 -1
- package/dist/components/VSpinner/VSpinner.css +1 -1
- package/dist/components/VSpinner/VSpinner.js.map +1 -1
- package/dist/components/VSpinner/VSpinner.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VSwitch/VSwitch.css +1 -1
- package/dist/components/VSwitch/VSwitch.d.ts +1 -1
- package/dist/components/VSwitch/VSwitch.js.map +1 -1
- package/dist/components/VSwitch/VSwitch.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/components/VSwitch/VSwitch.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VTabs/VTab.css +1 -1
- package/dist/components/VTabs/VTab.d.ts +4 -0
- package/dist/components/VTabs/VTab.js.map +1 -1
- package/dist/components/VTabs/VTab.vue_vue_type_script_setup_true_lang.js +9 -8
- package/dist/components/VTabs/VTab.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VTabs/VTabs.css +1 -1
- package/dist/components/VTabs/VTabs.d.ts +17 -7
- package/dist/components/VTabs/VTabs.js.map +1 -1
- package/dist/components/VTabs/VTabs.vue_vue_type_script_setup_true_lang.js +84 -77
- package/dist/components/VTabs/VTabs.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VTextarea/VTextarea.d.ts +8 -8
- package/dist/components/VTextarea/VTextarea.js.map +1 -1
- package/dist/components/VTextarea/VTextarea.vue_vue_type_script_setup_true_lang.js +71 -69
- package/dist/components/VTextarea/VTextarea.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VTimeInput/VTimeInput.css +1 -1
- package/dist/components/VTimeInput/VTimeInput.d.ts +21 -12
- package/dist/components/VTimeInput/VTimeInput.js.map +1 -1
- package/dist/components/VTimeInput/VTimeInput.vue_vue_type_script_setup_true_lang.js +230 -206
- package/dist/components/VTimeInput/VTimeInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VTimeInput/search.d.ts +17 -2
- package/dist/components/VTimeInput/search.js +19 -9
- package/dist/components/VTimeInput/search.js.map +1 -1
- package/dist/components/VTimePicker/VTimePicker.css +1 -1
- package/dist/components/VTimePicker/VTimePicker.d.ts +8 -7
- package/dist/components/VTimePicker/VTimePicker.js.map +1 -1
- package/dist/components/VTimePicker/VTimePicker.vue_vue_type_script_setup_true_lang.js +128 -106
- package/dist/components/VTimePicker/VTimePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VTimePicker/limits.d.ts +11 -4
- package/dist/components/VTimePicker/limits.js +3 -2
- package/dist/components/VTimePicker/limits.js.map +1 -1
- package/dist/components/VToast/VToast.css +1 -1
- package/dist/components/VToast/VToast.js.map +1 -1
- package/dist/components/VToast/VToast.vue_vue_type_script_setup_true_lang.js +33 -37
- package/dist/components/VToast/VToast.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VToast/VToaster.js.map +1 -1
- package/dist/components/VToast/VToaster.vue_vue_type_script_setup_true_lang.js +91 -61
- package/dist/components/VToast/VToaster.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VToast/state.d.ts +8 -6
- package/dist/components/VToast/state.js +15 -13
- package/dist/components/VToast/state.js.map +1 -1
- package/dist/components/VToggle/VToggle.css +1 -1
- package/dist/components/VToggle/VToggle.d.ts +9 -4
- package/dist/components/VToggle/VToggle.js.map +1 -1
- package/dist/components/VToggle/VToggle.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/components/VToggle/VToggle.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VToggle/VToggleItem.d.ts +4 -0
- package/dist/components/VToggle/VToggleItem.js.map +1 -1
- package/dist/components/VToggle/VToggleItem.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/components/VToggle/VToggleItem.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VTooltip/VTooltip.css +1 -1
- package/dist/components/VTooltip/VTooltip.d.ts +17 -10
- package/dist/components/VTooltip/VTooltip.js.map +1 -1
- package/dist/components/VTooltip/VTooltip.vue_vue_type_script_setup_true_lang.js +46 -26
- package/dist/components/VTooltip/VTooltip.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/VTypography/VTypography.css +1 -1
- package/dist/components/VTypography/VTypography.d.ts +6 -4
- package/dist/components/VTypography/VTypography.js.map +1 -1
- package/dist/components/VTypography/VTypography.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/composables/useAriaLabel.js +1 -1
- package/dist/composables/useAriaLabel.js.map +1 -1
- package/dist/composables/useClearable.d.ts +2 -2
- package/dist/composables/useClearable.js.map +1 -1
- package/dist/composables/useDetailsOpen.d.ts +3 -3
- package/dist/composables/useDetailsOpen.js +14 -12
- package/dist/composables/useDetailsOpen.js.map +1 -1
- package/dist/composables/useFieldIds.d.ts +2 -1
- package/dist/composables/useFieldIds.js +6 -5
- package/dist/composables/useFieldIds.js.map +1 -1
- package/dist/composables/useFieldPanel.d.ts +2 -2
- package/dist/composables/useFieldPanel.js +47 -37
- package/dist/composables/useFieldPanel.js.map +1 -1
- package/dist/composables/useFileDrop.js +3 -3
- package/dist/composables/useFileDrop.js.map +1 -1
- package/dist/composables/useFileField.d.ts +1 -1
- package/dist/composables/useFileField.js +62 -41
- package/dist/composables/useFileField.js.map +1 -1
- package/dist/composables/useIconClickHandlers.d.ts +3 -3
- package/dist/composables/useIconClickHandlers.js +14 -13
- package/dist/composables/useIconClickHandlers.js.map +1 -1
- package/dist/composables/useInertLink.js +12 -10
- package/dist/composables/useInertLink.js.map +1 -1
- package/dist/composables/useLiveAnnouncer.d.ts +5 -0
- package/dist/composables/useLiveAnnouncer.js +23 -0
- package/dist/composables/useLiveAnnouncer.js.map +1 -0
- package/dist/composables/useMaskedField.d.ts +5 -5
- package/dist/composables/useMaskedField.js.map +1 -1
- package/dist/composables/usePopover.d.ts +3 -3
- package/dist/composables/usePopover.js +6 -4
- package/dist/composables/usePopover.js.map +1 -1
- package/dist/composables/useProgressValue.js +11 -2
- package/dist/composables/useProgressValue.js.map +1 -1
- package/dist/composables/useRootAttrs.d.ts +1 -1
- package/dist/composables/useRootAttrs.js.map +1 -1
- package/dist/composables/useSlotNodes.d.ts +18 -0
- package/dist/composables/useSlotNodes.js +13 -0
- package/dist/composables/useSlotNodes.js.map +1 -0
- package/dist/composables/useTextLimit.d.ts +2 -1
- package/dist/composables/useTextLimit.js +2 -2
- package/dist/composables/useTextLimit.js.map +1 -1
- package/dist/composables/useTimer.d.ts +5 -0
- package/dist/composables/useTimer.js +22 -11
- package/dist/composables/useTimer.js.map +1 -1
- package/dist/i18n/en.js +1 -1
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/fr.js +14 -14
- package/dist/i18n/fr.js.map +1 -1
- package/dist/i18n/state.d.ts +7 -7
- package/dist/i18n/state.js +37 -28
- package/dist/i18n/state.js.map +1 -1
- package/dist/i18n/types.d.ts +12 -12
- package/dist/icons.d.ts +2 -2
- package/dist/index.d.ts +12 -11
- package/dist/styles.css +1 -1
- package/dist/tokens/css.d.ts +1 -1
- package/dist/tokens/css.js.map +1 -1
- package/dist/tokens/index.d.ts +6 -0
- package/dist/tokens/semantic.d.ts +6 -0
- package/dist/tokens/semantic.js +66 -60
- package/dist/tokens/semantic.js.map +1 -1
- package/dist/tokens/themes/dark.js +3 -3
- package/dist/tokens/themes/dark.js.map +1 -1
- package/dist/tokens.json +130 -66
- package/dist/types.d.ts +1 -1
- package/dist/utils/arrowNav.d.ts +4 -1
- package/dist/utils/arrowNav.js +7 -7
- package/dist/utils/arrowNav.js.map +1 -1
- package/dist/utils/chip.d.ts +1 -1
- package/dist/utils/chip.js.map +1 -1
- package/dist/utils/clock.d.ts +113 -0
- package/dist/utils/clock.js +84 -0
- package/dist/utils/clock.js.map +1 -0
- package/dist/utils/css.d.ts +6 -4
- package/dist/utils/css.js +2 -2
- package/dist/utils/css.js.map +1 -1
- package/dist/utils/date.d.ts +7 -102
- package/dist/utils/date.js +33 -160
- package/dist/utils/date.js.map +1 -1
- package/dist/utils/direction.d.ts +1 -1
- package/dist/utils/direction.js.map +1 -1
- package/dist/utils/env.d.ts +12 -3
- package/dist/utils/env.js +6 -0
- package/dist/utils/env.js.map +1 -0
- package/dist/utils/file.d.ts +3 -3
- package/dist/utils/file.js +1 -1
- package/dist/utils/file.js.map +1 -1
- package/dist/utils/focus.d.ts +1 -1
- package/dist/utils/focus.js.map +1 -1
- package/dist/utils/hostWarns.d.ts +1 -1
- package/dist/utils/hostWarns.js.map +1 -1
- package/dist/utils/ids.d.ts +1 -1
- package/dist/utils/ids.js.map +1 -1
- package/dist/utils/matcher.d.ts +2 -2
- package/dist/utils/matcher.js.map +1 -1
- package/dist/utils/memo.d.ts +1 -1
- package/dist/utils/memo.js.map +1 -1
- package/dist/utils/text.d.ts +3 -3
- package/dist/utils/text.js.map +1 -1
- package/dist/utils/time.d.ts +2 -101
- package/dist/utils/time.js +22 -98
- package/dist/utils/time.js.map +1 -1
- package/dist/utils/vnode.d.ts +5 -3
- package/dist/utils/vnode.js.map +1 -1
- package/package.json +2 -2
|
@@ -3,16 +3,16 @@ import { clamp as t } from "../../utils/number.js";
|
|
|
3
3
|
import { formatDateDisplay as n } from "../../utils/date.js";
|
|
4
4
|
import { formatTimeDisplay as r } from "../../utils/time.js";
|
|
5
5
|
import i from "./VCalendarEvent.js";
|
|
6
|
-
import { MINUTES_PER_DAY as a, blockEdgeAt as o, floorToSlot as s, fractionOf as c, isAllDayEvent as l, minutesAt as u, moveEventToDay as d, packAllDay as
|
|
7
|
-
import { calendarIntent as
|
|
8
|
-
import { gridGeometryOf as
|
|
9
|
-
import { drawnSlot as
|
|
10
|
-
import { Fragment as
|
|
6
|
+
import { MINUTES_PER_DAY as a, blockEdgeAt as o, floorToSlot as s, fractionOf as c, isAllDayEvent as l, minutesAt as u, moveEventToDay as d, packAllDay as f, packDayColumn as p, pointToCell as ee, sameTimes as m, snapToSlot as te, spansMidnight as h, timeOf as g, timedSegments as ne, timesOf as _ } from "./layout.js";
|
|
7
|
+
import { calendarIntent as re } from "./keyboard.js";
|
|
8
|
+
import { gridGeometryOf as ie, useCalendarGesture as ae } from "./gesture.js";
|
|
9
|
+
import { drawnSlot as oe, moveTimedEvent as se, resizeTimedEvent as ce, roundToSlot as le } from "./timeGrid.js";
|
|
10
|
+
import { Fragment as v, computed as y, createBlock as ue, createCommentVNode as de, createElementBlock as b, createElementVNode as x, createSlots as fe, createTextVNode as pe, defineComponent as S, mergeModels as C, mergeProps as w, normalizeClass as me, normalizeStyle as he, onBeforeUnmount as ge, openBlock as T, ref as E, renderList as D, renderSlot as O, toDisplayString as k, unref as A, useId as _e, useModel as ve, withCtx as ye } from "vue";
|
|
11
11
|
//#region src/components/VCalendar/VCalendarTimeGrid.vue?vue&type=script&setup=true&lang.ts
|
|
12
|
-
var
|
|
12
|
+
var be = ["data-outside", "data-gesture"], xe = { class: "v-calendar-head" }, Se = { class: "v-calendar-weekday" }, Ce = { class: "v-calendar-allday-label" }, we = ["aria-label"], Te = {
|
|
13
13
|
class: "v-calendar-hours",
|
|
14
14
|
"aria-hidden": "true"
|
|
15
|
-
},
|
|
15
|
+
}, Ee = ["aria-label", "data-edge"], De = [
|
|
16
16
|
"id",
|
|
17
17
|
"data-iso",
|
|
18
18
|
"data-minutes",
|
|
@@ -20,9 +20,9 @@ var Se = ["data-outside", "data-gesture"], Ce = { class: "v-calendar-head" }, we
|
|
|
20
20
|
"tabindex",
|
|
21
21
|
"aria-label",
|
|
22
22
|
"aria-selected"
|
|
23
|
-
],
|
|
23
|
+
], j = "__vectis-calendar-draft__", Oe = 14, ke = /*@__PURE__*/ S({
|
|
24
24
|
__name: "VCalendarTimeGrid",
|
|
25
|
-
props: /*@__PURE__*/
|
|
25
|
+
props: /*@__PURE__*/ C({
|
|
26
26
|
days: {},
|
|
27
27
|
events: {},
|
|
28
28
|
timeWindow: {},
|
|
@@ -42,7 +42,7 @@ var Se = ["data-outside", "data-gesture"], Ce = { class: "v-calendar-head" }, we
|
|
|
42
42
|
focused: { required: !0 },
|
|
43
43
|
focusedModifiers: {}
|
|
44
44
|
}),
|
|
45
|
-
emits: /*@__PURE__*/
|
|
45
|
+
emits: /*@__PURE__*/ C([
|
|
46
46
|
"cell-activate",
|
|
47
47
|
"event-activate",
|
|
48
48
|
"event-drop",
|
|
@@ -50,122 +50,122 @@ var Se = ["data-outside", "data-gesture"], Ce = { class: "v-calendar-head" }, we
|
|
|
50
50
|
"announce",
|
|
51
51
|
"step"
|
|
52
52
|
], ["update:focused"]),
|
|
53
|
-
setup(
|
|
54
|
-
let
|
|
55
|
-
let e = [], { start: t, end: n } =
|
|
53
|
+
setup(S, { expose: C, emit: ke }) {
|
|
54
|
+
let M = S, N = ke, P = ve(S, "focused"), F = e(), Ae = _e(), I = y(() => {
|
|
55
|
+
let e = [], { start: t, end: n } = M.timeWindow;
|
|
56
56
|
for (let r = t; r < n; r += 60) e.push(r);
|
|
57
57
|
return e;
|
|
58
|
-
}),
|
|
59
|
-
events: () =>
|
|
60
|
-
eventOf: (e) =>
|
|
61
|
-
rootEl:
|
|
62
|
-
captureEl:
|
|
63
|
-
measureEl:
|
|
64
|
-
columns: () =>
|
|
65
|
-
editable: () =>
|
|
66
|
-
hintId: () =>
|
|
67
|
-
slotMinutes: () =>
|
|
68
|
-
edgeStepDelay: () =>
|
|
69
|
-
layout: () =>
|
|
70
|
-
applyPoint:
|
|
71
|
-
onEdges: (e, t) =>
|
|
72
|
-
onRelease:
|
|
73
|
-
onLetGo: (e) => e.kind === "create" ? (e.moved &&
|
|
74
|
-
onDrop: (e) =>
|
|
75
|
-
grab: (e) =>
|
|
76
|
-
kind: "move",
|
|
58
|
+
}), L = E(null), je = E(null), R = E(null), { gesture: z, ghostEvent: Me, withPreview: Ne, edgeCue: Pe, isRtl: B, start: V, reapply: Fe, endLastGesture: Ie, consumeDrag: Le, onPointermove: Re, onPointerup: ze, onPointercancel: Be, onPointerleave: Ve, onFocusout: He, onCardKeydown: Ue, focusCell: We, idOfCard: Ge, cardState: Ke } = ae({
|
|
59
|
+
events: () => M.events,
|
|
60
|
+
eventOf: (e) => W(e),
|
|
61
|
+
rootEl: L,
|
|
62
|
+
captureEl: L,
|
|
63
|
+
measureEl: R,
|
|
64
|
+
columns: () => M.days.length,
|
|
65
|
+
editable: () => M.editable,
|
|
66
|
+
hintId: () => M.hintId,
|
|
67
|
+
slotMinutes: () => M.slotDuration,
|
|
68
|
+
edgeStepDelay: () => M.edgeStepDelay,
|
|
69
|
+
layout: () => M.days,
|
|
70
|
+
applyPoint: St,
|
|
71
|
+
onEdges: (e, t) => Dt(M.autoScroll && t ? o(e.lastY, t, 48) : 0),
|
|
72
|
+
onRelease: kt,
|
|
73
|
+
onLetGo: (e) => e.kind === "create" ? (e.moved && N("slot-create", e.preview), !0) : !1,
|
|
74
|
+
onDrop: (e) => N("event-drop", e.id, e.preview, e.kind === "resize" ? "resize" : "move"),
|
|
75
|
+
grab: (e) => M.editable ? X({
|
|
76
|
+
kind: l(e) ? "move-days" : "move",
|
|
77
77
|
id: e.id,
|
|
78
|
-
origin:
|
|
78
|
+
origin: _(e),
|
|
79
79
|
pointerId: null,
|
|
80
80
|
originX: 0,
|
|
81
81
|
originY: 0,
|
|
82
82
|
grabOffset: 0,
|
|
83
83
|
grabColumn: 0
|
|
84
84
|
}) : null,
|
|
85
|
-
onGrabStep:
|
|
86
|
-
step: (e) =>
|
|
87
|
-
announce: (e) =>
|
|
88
|
-
}),
|
|
89
|
-
let e =
|
|
90
|
-
return !t || !n ?
|
|
85
|
+
onGrabStep: Et,
|
|
86
|
+
step: (e) => N("step", e),
|
|
87
|
+
announce: (e) => N("announce", e)
|
|
88
|
+
}), qe = Object.freeze([]), Je = y(() => {
|
|
89
|
+
let e = z.value, t = Me.value, n = e?.ghostColumns;
|
|
90
|
+
return !t || !n ? qe : ne([t], M.days, M.timeWindow, M.slotDuration).flatMap((e) => {
|
|
91
91
|
let t = n[e.part];
|
|
92
92
|
return t ? [{
|
|
93
93
|
...e,
|
|
94
94
|
...t
|
|
95
95
|
}] : [];
|
|
96
96
|
});
|
|
97
|
-
}),
|
|
98
|
-
let e =
|
|
97
|
+
}), Ye = y(() => {
|
|
98
|
+
let e = z.value, t = Me.value;
|
|
99
99
|
if (!t || e?.ghostLane == null) return null;
|
|
100
|
-
let [n] =
|
|
100
|
+
let [n] = f([t], M.days);
|
|
101
101
|
return n ? {
|
|
102
102
|
...n,
|
|
103
103
|
lane: e.ghostLane
|
|
104
104
|
} : null;
|
|
105
|
-
}),
|
|
106
|
-
let e =
|
|
107
|
-
if (!e || e.kind === "move-days") return
|
|
105
|
+
}), H = y(() => M.events.filter((e) => !l(e))), Xe = y(() => M.events.filter((e) => l(e))), Ze = y(() => {
|
|
106
|
+
let e = z.value;
|
|
107
|
+
if (!e || e.kind === "move-days") return H.value;
|
|
108
108
|
if (e.kind === "create") {
|
|
109
|
-
if (!e.moved) return
|
|
109
|
+
if (!e.moved) return H.value;
|
|
110
110
|
let t = {
|
|
111
|
-
id:
|
|
112
|
-
title:
|
|
111
|
+
id: j,
|
|
112
|
+
title: F.value.calendar.untitled,
|
|
113
113
|
...e.preview
|
|
114
114
|
};
|
|
115
|
-
return [...
|
|
115
|
+
return [...H.value, t];
|
|
116
116
|
}
|
|
117
|
-
return
|
|
118
|
-
}),
|
|
119
|
-
let e =
|
|
117
|
+
return Ne(H.value);
|
|
118
|
+
}), U = y(() => z.value?.kind === "move-days" ? Ne(Xe.value) : Xe.value), Qe = y(() => new Map(Ze.value.map((e) => [e.id, e]))), $e = y(() => new Map(U.value.map((e) => [e.id, e]))), W = (e) => Qe.value.get(e) ?? $e.value.get(e), G = y(() => {
|
|
119
|
+
let e = Ye.value, t = f(e ? U.value.filter((t) => t.id !== e.id) : U.value, M.days);
|
|
120
120
|
return e ? [...t, e] : t;
|
|
121
|
-
}),
|
|
122
|
-
if (
|
|
123
|
-
let e =
|
|
124
|
-
return e === -1 ||
|
|
121
|
+
}), et = y(() => G.value.reduce((e, t) => Math.max(e, t.lane + 1), 0)), tt = (e) => t(Math.floor((e - M.timeWindow.start) / 60), 0, I.value.length - 1), K = y(() => {
|
|
122
|
+
if (M.now === null || M.today === null) return null;
|
|
123
|
+
let e = M.days.indexOf(M.today);
|
|
124
|
+
return e === -1 || M.now < M.timeWindow.start || M.now > M.timeWindow.end ? null : {
|
|
125
125
|
day: e,
|
|
126
|
-
row:
|
|
127
|
-
fraction: c(
|
|
126
|
+
row: tt(M.now),
|
|
127
|
+
fraction: c(M.now, M.timeWindow)
|
|
128
128
|
};
|
|
129
|
-
}),
|
|
130
|
-
let e =
|
|
129
|
+
}), nt = y(() => {
|
|
130
|
+
let e = ne(Ze.value, M.days, M.timeWindow, M.slotDuration), t = Je.value, n = t[0]?.id, r = /* @__PURE__ */ new Map();
|
|
131
131
|
for (let t of e) {
|
|
132
132
|
if (n !== void 0 && t.id === n) continue;
|
|
133
133
|
let e = r.get(t.dayIndex);
|
|
134
134
|
e ? e.push(t) : r.set(t.dayIndex, [t]);
|
|
135
135
|
}
|
|
136
|
-
let i = [...r.values()].flatMap((e) =>
|
|
136
|
+
let i = [...r.values()].flatMap((e) => p(e));
|
|
137
137
|
return t.length > 0 ? [...i, ...t] : i;
|
|
138
|
-
}),
|
|
138
|
+
}), q = (e, t) => `${Ae}-c-${e}-${t}`, J = y(() => {
|
|
139
139
|
let e = /* @__PURE__ */ new Map();
|
|
140
|
-
for (let t of
|
|
141
|
-
short: n(t,
|
|
142
|
-
number: n(t,
|
|
143
|
-
full: n(t,
|
|
140
|
+
for (let t of M.days) e.set(t, {
|
|
141
|
+
short: n(t, M.locale, { weekday: "short" }),
|
|
142
|
+
number: n(t, M.locale, { day: "numeric" }),
|
|
143
|
+
full: n(t, M.locale, {
|
|
144
144
|
weekday: "long",
|
|
145
145
|
day: "numeric",
|
|
146
146
|
month: "long"
|
|
147
147
|
})
|
|
148
148
|
});
|
|
149
149
|
return e;
|
|
150
|
-
}),
|
|
150
|
+
}), rt = y(() => {
|
|
151
151
|
let e = /* @__PURE__ */ new Map();
|
|
152
|
-
for (let t of
|
|
152
|
+
for (let t of I.value) e.set(t, r(g(t), M.locale, M.format));
|
|
153
153
|
return e;
|
|
154
|
-
}),
|
|
155
|
-
let e =
|
|
156
|
-
return
|
|
154
|
+
}), it = (e) => rt.value.get(e) ?? "", at = (e) => J.value.get(e)?.short ?? "", ot = (e) => J.value.get(e)?.number ?? "", st = y(() => {
|
|
155
|
+
let e = M.days.length;
|
|
156
|
+
return I.value.map((t, n) => ({
|
|
157
157
|
minutes: t,
|
|
158
|
-
cells:
|
|
158
|
+
cells: M.days.map((r, i) => ({
|
|
159
159
|
iso: r,
|
|
160
160
|
day: i,
|
|
161
161
|
row: n,
|
|
162
162
|
key: n * e + i,
|
|
163
|
-
id:
|
|
164
|
-
label: `${
|
|
163
|
+
id: q(r, t),
|
|
164
|
+
label: `${J.value.get(r)?.full ?? r}, ${it(t)}`
|
|
165
165
|
}))
|
|
166
166
|
}));
|
|
167
|
-
}),
|
|
168
|
-
let { locale: e, format: t } =
|
|
167
|
+
}), ct = y(() => {
|
|
168
|
+
let { locale: e, format: t } = M, n = /* @__PURE__ */ new Map();
|
|
169
169
|
return (i) => {
|
|
170
170
|
let a = `${i.startTime}|${i.endTime}|${i.timezone ?? ""}`, o = n.get(a);
|
|
171
171
|
if (o === void 0) {
|
|
@@ -174,19 +174,19 @@ var Se = ["data-outside", "data-gesture"], Ce = { class: "v-calendar-head" }, we
|
|
|
174
174
|
}
|
|
175
175
|
return o;
|
|
176
176
|
};
|
|
177
|
-
}),
|
|
178
|
-
let e = /* @__PURE__ */ new Map(), t =
|
|
179
|
-
for (let i of
|
|
177
|
+
}), lt = y(() => {
|
|
178
|
+
let e = /* @__PURE__ */ new Map(), t = M.days.length, n = Qe.value, r = ct.value;
|
|
179
|
+
for (let i of nt.value) {
|
|
180
180
|
let a = n.get(i.id);
|
|
181
181
|
if (!a) continue;
|
|
182
|
-
let o =
|
|
182
|
+
let o = tt(i.start) * t + i.dayIndex, s = {
|
|
183
183
|
segment: i,
|
|
184
184
|
event: a,
|
|
185
185
|
timeText: r(a),
|
|
186
186
|
style: {
|
|
187
187
|
"--calendar-day-index": String(i.dayIndex),
|
|
188
|
-
"--calendar-block-start-fraction": String(c(i.start,
|
|
189
|
-
"--calendar-block-end-fraction": String(c(i.end,
|
|
188
|
+
"--calendar-block-start-fraction": String(c(i.start, M.timeWindow)),
|
|
189
|
+
"--calendar-block-end-fraction": String(c(i.end, M.timeWindow)),
|
|
190
190
|
"--calendar-block-column": String(i.column),
|
|
191
191
|
"--calendar-block-span": String(i.span),
|
|
192
192
|
"--calendar-block-columns": String(i.columns)
|
|
@@ -195,68 +195,68 @@ var Se = ["data-outside", "data-gesture"], Ce = { class: "v-calendar-head" }, we
|
|
|
195
195
|
l ? l.push(s) : e.set(o, [s]);
|
|
196
196
|
}
|
|
197
197
|
return e;
|
|
198
|
-
}),
|
|
199
|
-
let e =
|
|
200
|
-
if (
|
|
198
|
+
}), ut = Object.freeze([]), dt = (e) => lt.value.get(e) ?? ut, ft = (e, t) => P.value.iso === e && P.value.minutes === t, Y = y(() => {
|
|
199
|
+
let e = P.value, { start: t, end: n } = M.timeWindow;
|
|
200
|
+
if (M.days.includes(e.iso)) {
|
|
201
201
|
let r = Math.floor((e.minutes - t) / 60) * 60 + t;
|
|
202
202
|
if (r >= t && r < n) return {
|
|
203
203
|
iso: e.iso,
|
|
204
204
|
minutes: r
|
|
205
205
|
};
|
|
206
206
|
}
|
|
207
|
-
let r =
|
|
207
|
+
let r = M.days[0];
|
|
208
208
|
return r ? {
|
|
209
209
|
iso: r,
|
|
210
210
|
minutes: t
|
|
211
211
|
} : null;
|
|
212
|
-
}),
|
|
213
|
-
function
|
|
214
|
-
|
|
212
|
+
}), pt = (e, t) => Y.value?.iso === e && Y.value.minutes === t;
|
|
213
|
+
function mt(e, t) {
|
|
214
|
+
P.value = {
|
|
215
215
|
iso: e,
|
|
216
216
|
minutes: t
|
|
217
|
-
},
|
|
217
|
+
}, We(q(e, t), !0);
|
|
218
218
|
}
|
|
219
|
-
function
|
|
220
|
-
let t = r(e.startTime,
|
|
221
|
-
return `${n(e.start,
|
|
219
|
+
function ht(e) {
|
|
220
|
+
let t = r(e.startTime, M.locale, M.format), i = r(e.endTime, M.locale, M.format);
|
|
221
|
+
return `${n(e.start, M.locale, {
|
|
222
222
|
weekday: "long",
|
|
223
223
|
day: "numeric",
|
|
224
224
|
month: "long"
|
|
225
225
|
})}, ${t} – ${i}`;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function gt(e) {
|
|
228
228
|
let n = e.target, r = n?.closest(".v-calendar-event");
|
|
229
229
|
if (r) {
|
|
230
|
-
|
|
230
|
+
Ue(e, r);
|
|
231
231
|
return;
|
|
232
232
|
}
|
|
233
233
|
let i = n?.closest(".v-calendar-cell");
|
|
234
234
|
if (!i) return;
|
|
235
|
-
let a =
|
|
235
|
+
let a = re(e, "cell", M.slotDuration, B());
|
|
236
236
|
if (!a) return;
|
|
237
|
-
let o = i.dataset.iso, s = Number(i.dataset.minutes), c =
|
|
237
|
+
let o = i.dataset.iso, s = Number(i.dataset.minutes), c = M.days.indexOf(o);
|
|
238
238
|
if (a.kind === "moveFocus") {
|
|
239
|
-
let n =
|
|
240
|
-
e.preventDefault(),
|
|
239
|
+
let n = M.days[t(c + a.days, 0, M.days.length - 1)], r = t(s + a.minutes, M.timeWindow.start, M.timeWindow.end - 60);
|
|
240
|
+
e.preventDefault(), mt(n, r);
|
|
241
241
|
return;
|
|
242
242
|
}
|
|
243
243
|
if (a.kind === "rowEdge") {
|
|
244
|
-
let t = a.edge === "start" ?
|
|
244
|
+
let t = a.edge === "start" ? M.days[0] : M.days.at(-1);
|
|
245
245
|
if (!t) return;
|
|
246
|
-
e.preventDefault(),
|
|
246
|
+
e.preventDefault(), mt(t, s);
|
|
247
247
|
return;
|
|
248
248
|
}
|
|
249
249
|
if (a.kind === "period") {
|
|
250
|
-
e.preventDefault(),
|
|
250
|
+
e.preventDefault(), N("step", a.delta);
|
|
251
251
|
return;
|
|
252
252
|
}
|
|
253
|
-
a.kind === "activate" && (e.preventDefault(),
|
|
253
|
+
(a.kind === "activate" || a.kind === "openDay") && (e.preventDefault(), N("cell-activate", {
|
|
254
254
|
date: o,
|
|
255
255
|
minutes: s
|
|
256
256
|
}));
|
|
257
257
|
}
|
|
258
|
-
function
|
|
259
|
-
let t =
|
|
258
|
+
function X(e) {
|
|
259
|
+
let t = nt.value.filter((t) => t.id === e.id), n = G.value.find((t) => t.id === e.id);
|
|
260
260
|
return {
|
|
261
261
|
...e,
|
|
262
262
|
ghostColumns: t.length > 0 ? Object.fromEntries(t.map((e) => [e.part, {
|
|
@@ -267,44 +267,44 @@ var Se = ["data-outside", "data-gesture"], Ce = { class: "v-calendar-head" }, we
|
|
|
267
267
|
ghostLane: n ? n.lane : null
|
|
268
268
|
};
|
|
269
269
|
}
|
|
270
|
-
let
|
|
270
|
+
let _t = (e, t, n, r) => ee({
|
|
271
271
|
x: e,
|
|
272
272
|
y: t
|
|
273
|
-
},
|
|
273
|
+
}, ie(n, M.days.length, r), M.timeWindow, r);
|
|
274
274
|
function vt(e) {
|
|
275
|
-
if (
|
|
276
|
-
let t = e.target, n =
|
|
275
|
+
if (Ie(), z.value || e.button !== 0) return;
|
|
276
|
+
let t = e.target, n = R.value?.getBoundingClientRect();
|
|
277
277
|
if (!t || !n) return;
|
|
278
|
-
let r =
|
|
278
|
+
let r = B(), i = _t(e.clientX, e.clientY, n, r), o = t.closest(".v-calendar-event");
|
|
279
279
|
if (o) {
|
|
280
|
-
if (!
|
|
281
|
-
let n =
|
|
280
|
+
if (!M.editable) return;
|
|
281
|
+
let n = W(Ge(o));
|
|
282
282
|
if (!n || l(n)) return;
|
|
283
|
-
let s = t.closest("[data-calendar-handle]") !== null, c =
|
|
284
|
-
|
|
283
|
+
let s = t.closest("[data-calendar-handle]") !== null, c = h(n) && M.days[i.columnIndex] === n.end;
|
|
284
|
+
V(X({
|
|
285
285
|
kind: s ? "resize" : "move",
|
|
286
286
|
id: n.id,
|
|
287
|
-
origin:
|
|
287
|
+
origin: _(n),
|
|
288
288
|
pointerId: e.pointerId,
|
|
289
289
|
originX: e.clientX,
|
|
290
290
|
originY: e.clientY,
|
|
291
|
-
grabOffset: s ? 0 : (c ? a : 0) + i.minutes - u(n.startTime,
|
|
291
|
+
grabOffset: s ? 0 : (c ? a : 0) + i.minutes - u(n.startTime, M.timeWindow.start),
|
|
292
292
|
grabColumn: i.columnIndex
|
|
293
293
|
}), r);
|
|
294
294
|
return;
|
|
295
295
|
}
|
|
296
|
-
if (!
|
|
297
|
-
let c =
|
|
296
|
+
if (!M.creatable || !t.closest(".v-calendar-cell")) return;
|
|
297
|
+
let c = M.days[i.columnIndex];
|
|
298
298
|
if (!c) return;
|
|
299
|
-
let d = s(i.minutes,
|
|
300
|
-
|
|
299
|
+
let d = s(i.minutes, M.slotDuration);
|
|
300
|
+
V(X({
|
|
301
301
|
kind: "create",
|
|
302
|
-
id:
|
|
302
|
+
id: j,
|
|
303
303
|
origin: {
|
|
304
304
|
start: c,
|
|
305
305
|
end: c,
|
|
306
|
-
startTime:
|
|
307
|
-
endTime:
|
|
306
|
+
startTime: g(d),
|
|
307
|
+
endTime: g(Math.min(d + M.slotDuration, M.timeWindow.end))
|
|
308
308
|
},
|
|
309
309
|
pointerId: e.pointerId,
|
|
310
310
|
originX: e.clientX,
|
|
@@ -314,166 +314,176 @@ var Se = ["data-outside", "data-gesture"], Ce = { class: "v-calendar-head" }, we
|
|
|
314
314
|
}), r);
|
|
315
315
|
}
|
|
316
316
|
function yt(e) {
|
|
317
|
-
|
|
318
|
-
|
|
317
|
+
let t = e.target?.closest(".v-calendar-event");
|
|
318
|
+
t && Ue(e, t);
|
|
319
|
+
}
|
|
320
|
+
function bt(e) {
|
|
321
|
+
if (Ie(), z.value || !M.editable || e.button !== 0) return;
|
|
322
|
+
let t = e.target?.closest(".v-calendar-event"), n = t ? W(Ge(t)) : void 0, r = R.value?.getBoundingClientRect();
|
|
319
323
|
if (!n || !r) return;
|
|
320
|
-
let i =
|
|
321
|
-
|
|
324
|
+
let i = B();
|
|
325
|
+
V(X({
|
|
322
326
|
kind: "move-days",
|
|
323
327
|
id: n.id,
|
|
324
|
-
origin:
|
|
328
|
+
origin: _(n),
|
|
325
329
|
pointerId: e.pointerId,
|
|
326
330
|
originX: e.clientX,
|
|
327
331
|
originY: e.clientY,
|
|
328
332
|
grabOffset: 0,
|
|
329
|
-
grabColumn:
|
|
333
|
+
grabColumn: _t(e.clientX, e.clientY, r, i).columnIndex
|
|
330
334
|
}), i);
|
|
331
335
|
}
|
|
332
|
-
function
|
|
333
|
-
|
|
334
|
-
|
|
336
|
+
function xt(e, n, r) {
|
|
337
|
+
if (n.kind !== "grabMove" || n.days === 0) return !1;
|
|
338
|
+
let i = (e.keyDays ?? 0) + n.days, a = M.days.indexOf(e.origin.start), o = t(a + i, Math.min(a, 0), M.days.length - 1), s = o < 0 ? e.origin : d(e.origin, M.days[o]);
|
|
339
|
+
return m(s, e.preview) ? !1 : (e.keyDays = i, e.preview = s, N("announce", F.value.calendar.movedTo(r.title, ht(e.preview))), !0);
|
|
340
|
+
}
|
|
341
|
+
function St(e, n) {
|
|
342
|
+
let r = _t(e.lastX, e.lastY, n, e.rtl), i = h(e.origin), a = e.kind === "create" || e.kind === "resize" && !i ? 0 : r.columnIndex, o = e.kind === "move-days" ? 0 : e.kind === "move" ? le(r.minutes - e.grabOffset, M.slotDuration) : e.kind === "create" ? s(r.minutes, M.slotDuration) : te(r.minutes, M.slotDuration);
|
|
343
|
+
if (wt(e, a, o)) return;
|
|
335
344
|
if (e.kind === "create") {
|
|
336
|
-
let t = u(e.origin.startTime,
|
|
337
|
-
|
|
345
|
+
let t = u(e.origin.startTime, M.timeWindow.start);
|
|
346
|
+
Z(e, oe(e.origin.start, t, o, M.slotDuration, M.timeWindow));
|
|
338
347
|
return;
|
|
339
348
|
}
|
|
340
349
|
if (e.kind === "resize") {
|
|
341
|
-
let t =
|
|
342
|
-
|
|
350
|
+
let t = M.days[a] ?? e.origin.end;
|
|
351
|
+
Z(e, ce(e.origin, t, o, M.slotDuration, M.timeWindow, i));
|
|
343
352
|
return;
|
|
344
353
|
}
|
|
345
354
|
if (e.kind === "move-days") {
|
|
346
|
-
let n = t(
|
|
347
|
-
r &&
|
|
355
|
+
let n = t(Tt(e) + (a - e.grabColumn), 0, M.days.length - 1), r = M.days[n];
|
|
356
|
+
r && Z(e, d(e.origin, r));
|
|
348
357
|
return;
|
|
349
358
|
}
|
|
350
|
-
let c =
|
|
351
|
-
c &&
|
|
359
|
+
let c = M.days[a];
|
|
360
|
+
c && Z(e, se(e.origin, c, o, M.timeWindow, i));
|
|
352
361
|
}
|
|
353
|
-
let
|
|
354
|
-
function
|
|
355
|
-
let r =
|
|
356
|
-
return r?.state === e && r.days ===
|
|
362
|
+
let Ct = null;
|
|
363
|
+
function wt(e, t, n) {
|
|
364
|
+
let r = Ct;
|
|
365
|
+
return r?.state === e && r.days === M.days && r.timeWindow === M.timeWindow && r.step === M.slotDuration && r.column === t && r.minutes === n ? !0 : (Ct = {
|
|
357
366
|
state: e,
|
|
358
|
-
days:
|
|
359
|
-
timeWindow:
|
|
360
|
-
step:
|
|
367
|
+
days: M.days,
|
|
368
|
+
timeWindow: M.timeWindow,
|
|
369
|
+
step: M.slotDuration,
|
|
361
370
|
column: t,
|
|
362
371
|
minutes: n
|
|
363
372
|
}, !1);
|
|
364
373
|
}
|
|
365
|
-
function
|
|
366
|
-
|
|
374
|
+
function Z(e, t) {
|
|
375
|
+
m(e.preview, t) || (e.preview = t);
|
|
367
376
|
}
|
|
368
|
-
function
|
|
369
|
-
let t =
|
|
377
|
+
function Tt(e) {
|
|
378
|
+
let t = M.days.indexOf(e.origin.start);
|
|
370
379
|
return t === -1 ? e.grabColumn : t;
|
|
371
380
|
}
|
|
372
|
-
function
|
|
373
|
-
let i =
|
|
374
|
-
if (
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
return j("announce", N.value.calendar.movedTo(r.title, gt(e.preview))), !0;
|
|
381
|
+
function Et(e, n, r) {
|
|
382
|
+
let { origin: i } = e;
|
|
383
|
+
if (e.kind === "move-days") return xt(e, n, r);
|
|
384
|
+
let a = h(i), o = e.keyDays ?? 0, s = e.keyStart ?? 0, c = e.keyEnd ?? 0;
|
|
385
|
+
n.kind === "grabResize" ? c += n.minutes : (o += n.days, s += n.minutes);
|
|
386
|
+
let l = M.days.indexOf(i.start), d = t(l + o, Math.min(l, 0), M.days.length - 1), f = se(i, d < 0 || o === 0 ? i.start : M.days[d], u(i.startTime, M.timeWindow.start) + s, M.timeWindow, a), p = c === 0 ? f : ce(f, f.end, u(f.endTime, M.timeWindow.end) + c, M.slotDuration, M.timeWindow, a);
|
|
387
|
+
return m(p, e.preview) ? !1 : (e.keyDays = o, e.keyStart = s, e.keyEnd = c, e.preview = p, N("announce", F.value.calendar.movedTo(r.title, ht(e.preview))), !0);
|
|
380
388
|
}
|
|
381
|
-
let
|
|
382
|
-
function
|
|
383
|
-
if (
|
|
384
|
-
|
|
389
|
+
let Q = null, $ = 0;
|
|
390
|
+
function Dt(e) {
|
|
391
|
+
if ($ = e, e === 0) {
|
|
392
|
+
kt();
|
|
385
393
|
return;
|
|
386
394
|
}
|
|
387
|
-
|
|
395
|
+
Q ??= requestAnimationFrame(Ot);
|
|
388
396
|
}
|
|
389
|
-
function
|
|
390
|
-
|
|
391
|
-
let e =
|
|
392
|
-
!e || !t ||
|
|
397
|
+
function Ot() {
|
|
398
|
+
Q = null;
|
|
399
|
+
let e = L.value, t = z.value;
|
|
400
|
+
!e || !t || $ === 0 || (e.scrollTop += $ * Oe, Fe(t), Q = requestAnimationFrame(Ot));
|
|
393
401
|
}
|
|
394
|
-
function
|
|
395
|
-
|
|
402
|
+
function kt() {
|
|
403
|
+
Q !== null && cancelAnimationFrame(Q), Q = null, $ = 0;
|
|
396
404
|
}
|
|
397
|
-
|
|
398
|
-
function
|
|
399
|
-
if (
|
|
400
|
-
let t =
|
|
401
|
-
t && e !==
|
|
405
|
+
ge(kt);
|
|
406
|
+
function At(e) {
|
|
407
|
+
if (Le()) return;
|
|
408
|
+
let t = W(e);
|
|
409
|
+
t && e !== j && N("event-activate", t);
|
|
402
410
|
}
|
|
403
|
-
function
|
|
411
|
+
function jt(e) {
|
|
404
412
|
let t = e.target;
|
|
405
|
-
if (t?.closest(".v-calendar-event") ||
|
|
413
|
+
if (t?.closest(".v-calendar-event") || Le()) return;
|
|
406
414
|
let n = t?.closest(".v-calendar-cell");
|
|
407
|
-
n &&
|
|
415
|
+
n && N("cell-activate", {
|
|
408
416
|
date: n.dataset.iso,
|
|
409
417
|
minutes: Number(n.dataset.minutes)
|
|
410
418
|
});
|
|
411
419
|
}
|
|
412
|
-
let
|
|
413
|
-
let e =
|
|
420
|
+
let Mt = y(() => {
|
|
421
|
+
let e = z.value;
|
|
414
422
|
if (!(!e || e.pointerId === null)) {
|
|
415
423
|
if (e.kind === "resize") return "resize";
|
|
416
424
|
if (e.kind === "create" && e.moved) return "create";
|
|
417
425
|
}
|
|
418
426
|
});
|
|
419
|
-
function
|
|
420
|
-
let t =
|
|
421
|
-
if (!t || !n ||
|
|
422
|
-
let r = n.offsetHeight /
|
|
423
|
-
r <= 0 || (t.scrollTop = (e -
|
|
427
|
+
function Nt(e) {
|
|
428
|
+
let t = L.value, n = je.value;
|
|
429
|
+
if (!t || !n || I.value.length === 0) return;
|
|
430
|
+
let r = n.offsetHeight / I.value.length;
|
|
431
|
+
r <= 0 || (t.scrollTop = (e - M.timeWindow.start) / 60 * r);
|
|
424
432
|
}
|
|
425
|
-
return
|
|
426
|
-
focus: () => {
|
|
427
|
-
let
|
|
428
|
-
|
|
433
|
+
return C({
|
|
434
|
+
focus: (e) => {
|
|
435
|
+
let t = Y.value;
|
|
436
|
+
t && We(q(t.iso, t.minutes), !1, e);
|
|
429
437
|
},
|
|
430
|
-
scrollToMinutes:
|
|
431
|
-
}), (e, t) => (
|
|
438
|
+
scrollToMinutes: Nt
|
|
439
|
+
}), (e, t) => (T(), b("div", {
|
|
432
440
|
ref_key: "rootEl",
|
|
433
|
-
ref:
|
|
441
|
+
ref: L,
|
|
434
442
|
class: "v-calendar-time-grid",
|
|
435
|
-
"data-outside":
|
|
436
|
-
"data-gesture":
|
|
437
|
-
style:
|
|
438
|
-
onPointermove: t[0] ||= (...e) =>
|
|
439
|
-
onPointerup: t[1] ||= (...e) =>
|
|
440
|
-
onPointercancel: t[2] ||= (...e) =>
|
|
441
|
-
onPointerleave: t[3] ||= (...e) =>
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
443
|
+
"data-outside": A(z)?.outside ? "" : void 0,
|
|
444
|
+
"data-gesture": Mt.value,
|
|
445
|
+
style: he({ "--calendar-columns": String(S.days.length) }),
|
|
446
|
+
onPointermove: t[0] ||= (...e) => A(Re) && A(Re)(...e),
|
|
447
|
+
onPointerup: t[1] ||= (...e) => A(ze) && A(ze)(...e),
|
|
448
|
+
onPointercancel: t[2] ||= (...e) => A(Be) && A(Be)(...e),
|
|
449
|
+
onPointerleave: t[3] ||= (...e) => A(Ve) && A(Ve)(...e),
|
|
450
|
+
onFocusout: t[4] ||= (...e) => A(He) && A(He)(...e)
|
|
451
|
+
}, [x("div", xe, [
|
|
452
|
+
t[5] ||= x("div", { class: "v-calendar-head-gutter" }, null, -1),
|
|
453
|
+
(T(!0), b(v, null, D(S.days, (t) => (T(), b("div", {
|
|
445
454
|
key: t,
|
|
446
455
|
class: "v-calendar-head-day"
|
|
447
|
-
}, [
|
|
456
|
+
}, [O(e.$slots, "day-header", {
|
|
448
457
|
iso: t,
|
|
449
|
-
weekday:
|
|
450
|
-
dayText:
|
|
451
|
-
today: t ===
|
|
452
|
-
}, () => [
|
|
453
|
-
|
|
458
|
+
weekday: at(t),
|
|
459
|
+
dayText: ot(t),
|
|
460
|
+
today: t === S.today
|
|
461
|
+
}, () => [x("span", Se, k(at(t)), 1), x("span", { class: me(["v-calendar-head-number", { "v-calendar-today": t === S.today }]) }, k(ot(t)), 3)])]))), 128)),
|
|
462
|
+
G.value.length > 0 ? (T(), b(v, { key: 0 }, [x("div", Ce, [O(e.$slots, "all-day-label", {}, () => [pe(k(A(F).calendar.allDay), 1)])]), x("div", {
|
|
454
463
|
class: "v-calendar-allday",
|
|
455
464
|
role: "group",
|
|
456
|
-
"aria-label":
|
|
457
|
-
style:
|
|
458
|
-
onPointerdown:
|
|
459
|
-
|
|
465
|
+
"aria-label": A(F).calendar.allDay,
|
|
466
|
+
style: he({ "--calendar-lanes": String(et.value) }),
|
|
467
|
+
onPointerdown: bt,
|
|
468
|
+
onKeydown: yt
|
|
469
|
+
}, [(T(!0), b(v, null, D(G.value, (t) => (T(), ue(i, w({
|
|
460
470
|
key: t.id,
|
|
461
471
|
class: "v-calendar-bar",
|
|
462
|
-
event:
|
|
472
|
+
event: $e.value.get(t.id),
|
|
463
473
|
layout: "chip",
|
|
464
|
-
disabled:
|
|
474
|
+
disabled: S.disabled,
|
|
465
475
|
"continues-before": t.continuesBefore,
|
|
466
476
|
"continues-after": t.continuesAfter
|
|
467
|
-
}, { ref_for: !0 },
|
|
477
|
+
}, { ref_for: !0 }, A(Ke)(t.id), {
|
|
468
478
|
style: {
|
|
469
479
|
"--calendar-day-index": String(t.startIndex),
|
|
470
480
|
"--calendar-bar-span": String(t.span),
|
|
471
481
|
"--calendar-bar-lane": String(t.lane)
|
|
472
482
|
},
|
|
473
|
-
onClick: (e) =>
|
|
474
|
-
}),
|
|
483
|
+
onClick: (e) => At(t.id)
|
|
484
|
+
}), fe({ _: 2 }, [e.$slots.event ? {
|
|
475
485
|
name: "default",
|
|
476
|
-
fn:
|
|
486
|
+
fn: ye((t) => [O(e.$slots, "event", w({ ref_for: !0 }, t))]),
|
|
477
487
|
key: "0"
|
|
478
488
|
} : void 0]), 1040, [
|
|
479
489
|
"event",
|
|
@@ -482,55 +492,55 @@ var Se = ["data-outside", "data-gesture"], Ce = { class: "v-calendar-head" }, we
|
|
|
482
492
|
"continues-after",
|
|
483
493
|
"style",
|
|
484
494
|
"onClick"
|
|
485
|
-
]))), 128))], 44,
|
|
486
|
-
]),
|
|
495
|
+
]))), 128))], 44, we)], 64)) : de("", !0)
|
|
496
|
+
]), x("div", {
|
|
487
497
|
ref_key: "canvasEl",
|
|
488
|
-
ref:
|
|
498
|
+
ref: je,
|
|
489
499
|
class: "v-calendar-canvas"
|
|
490
|
-
}, [
|
|
500
|
+
}, [x("div", Te, [(T(!0), b(v, null, D(I.value, (e) => (T(), b("span", {
|
|
491
501
|
key: e,
|
|
492
502
|
class: "v-calendar-hour"
|
|
493
|
-
},
|
|
503
|
+
}, k(it(e)), 1))), 128))]), x("div", {
|
|
494
504
|
ref_key: "columnsEl",
|
|
495
|
-
ref:
|
|
505
|
+
ref: R,
|
|
496
506
|
class: "v-calendar-columns v-calendar-edge-cue",
|
|
497
507
|
role: "grid",
|
|
498
|
-
"aria-label":
|
|
499
|
-
"data-edge":
|
|
500
|
-
onKeydown:
|
|
501
|
-
onClick:
|
|
508
|
+
"aria-label": S.label,
|
|
509
|
+
"data-edge": A(Pe),
|
|
510
|
+
onKeydown: gt,
|
|
511
|
+
onClick: jt,
|
|
502
512
|
onPointerdown: vt
|
|
503
|
-
}, [(
|
|
513
|
+
}, [(T(!0), b(v, null, D(st.value, (t) => (T(), b("div", {
|
|
504
514
|
key: t.minutes,
|
|
505
515
|
role: "row",
|
|
506
516
|
class: "v-calendar-row"
|
|
507
|
-
}, [(
|
|
517
|
+
}, [(T(!0), b(v, null, D(t.cells, (n) => (T(), b("div", {
|
|
508
518
|
id: n.id,
|
|
509
519
|
key: n.iso,
|
|
510
520
|
role: "gridcell",
|
|
511
521
|
class: "v-calendar-cell",
|
|
512
522
|
"data-iso": n.iso,
|
|
513
523
|
"data-minutes": t.minutes,
|
|
514
|
-
"data-today": n.iso ===
|
|
515
|
-
tabindex:
|
|
524
|
+
"data-today": n.iso === S.today ? "" : void 0,
|
|
525
|
+
tabindex: pt(n.iso, t.minutes) ? 0 : -1,
|
|
516
526
|
"aria-label": n.label,
|
|
517
|
-
"aria-selected":
|
|
518
|
-
}, [(
|
|
527
|
+
"aria-selected": ft(n.iso, t.minutes) ? !0 : void 0
|
|
528
|
+
}, [(T(!0), b(v, null, D(dt(n.key), (t) => (T(), ue(i, w({
|
|
519
529
|
key: t.segment.id,
|
|
520
530
|
class: "v-calendar-block",
|
|
521
531
|
event: t.event,
|
|
522
532
|
layout: "block",
|
|
523
|
-
disabled:
|
|
533
|
+
disabled: S.disabled,
|
|
524
534
|
"time-text": t.timeText,
|
|
525
535
|
"continues-before": t.segment.clippedStart,
|
|
526
536
|
"continues-after": t.segment.clippedEnd,
|
|
527
|
-
resizable:
|
|
528
|
-
}, { ref_for: !0 },
|
|
537
|
+
resizable: S.editable && t.segment.id !== j && t.segment.part !== "head"
|
|
538
|
+
}, { ref_for: !0 }, A(Ke)(t.segment.id), {
|
|
529
539
|
style: t.style,
|
|
530
|
-
onClick: (e) =>
|
|
531
|
-
}),
|
|
540
|
+
onClick: (e) => At(t.segment.id)
|
|
541
|
+
}), fe({ _: 2 }, [e.$slots.event ? {
|
|
532
542
|
name: "default",
|
|
533
|
-
fn:
|
|
543
|
+
fn: ye((t) => [O(e.$slots, "event", w({ ref_for: !0 }, t))]),
|
|
534
544
|
key: "0"
|
|
535
545
|
} : void 0]), 1040, [
|
|
536
546
|
"event",
|
|
@@ -541,18 +551,18 @@ var Se = ["data-outside", "data-gesture"], Ce = { class: "v-calendar-head" }, we
|
|
|
541
551
|
"resizable",
|
|
542
552
|
"style",
|
|
543
553
|
"onClick"
|
|
544
|
-
]))), 128)),
|
|
554
|
+
]))), 128)), K.value && K.value.day === n.day && K.value.row === n.row ? (T(), b("div", {
|
|
545
555
|
key: 0,
|
|
546
556
|
class: "v-calendar-now",
|
|
547
557
|
"aria-hidden": "true",
|
|
548
|
-
style:
|
|
549
|
-
"--calendar-day-index": String(
|
|
550
|
-
"--calendar-now-fraction": String(
|
|
558
|
+
style: he({
|
|
559
|
+
"--calendar-day-index": String(K.value.day),
|
|
560
|
+
"--calendar-now-fraction": String(K.value.fraction)
|
|
551
561
|
})
|
|
552
|
-
}, null, 4)) :
|
|
562
|
+
}, null, 4)) : de("", !0)], 8, De))), 128))]))), 128))], 40, Ee)], 512)], 44, be));
|
|
553
563
|
}
|
|
554
564
|
});
|
|
555
565
|
//#endregion
|
|
556
|
-
export {
|
|
566
|
+
export { ke as default };
|
|
557
567
|
|
|
558
568
|
//# sourceMappingURL=VCalendarTimeGrid.vue_vue_type_script_setup_true_lang.js.map
|