@progress/kendo-vue-scheduler 3.0.8 → 3.0.9-dev.202203010857
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/cdn/js/kendo-vue-scheduler.js +16 -1
- package/dist/es/Scheduler.d.ts +315 -0
- package/dist/es/Scheduler.js +1166 -0
- package/dist/es/additionalTypes.ts +9 -0
- package/dist/es/components/BaseView.d.ts +45 -0
- package/dist/es/components/BaseView.js +145 -0
- package/dist/es/components/CurrentTimeMarket.d.ts +44 -0
- package/dist/es/components/CurrentTimeMarket.js +193 -0
- package/dist/es/components/DateHeaderCell.d.ts +72 -0
- package/dist/es/components/DateHeaderCell.js +46 -0
- package/dist/es/components/SchedulerForm.d.ts +86 -0
- package/dist/es/components/SchedulerForm.js +260 -0
- package/dist/es/components/SchedulerOccurrenceDialog.d.ts +72 -0
- package/dist/es/components/SchedulerOccurrenceDialog.js +116 -0
- package/dist/es/components/SchedulerRemoveDialog.d.ts +68 -0
- package/dist/es/components/SchedulerRemoveDialog.js +97 -0
- package/dist/es/components/ShowMoreItemsButton.d.ts +50 -0
- package/dist/es/components/ShowMoreItemsButton.js +62 -0
- package/dist/es/components/TimeHeaderCell.d.ts +72 -0
- package/dist/es/components/TimeHeaderCell.js +44 -0
- package/dist/es/components/footer/SchedulerFooter.d.ts +50 -0
- package/dist/es/components/footer/SchedulerFooter.js +35 -0
- package/dist/es/components/footer/bussiness-hours/BussinessHours.d.ts +43 -0
- package/dist/es/components/footer/bussiness-hours/BussinessHours.js +33 -0
- package/dist/es/components/header/SchedulerHeader.d.ts +50 -0
- package/dist/es/components/header/SchedulerHeader.js +31 -0
- package/dist/es/components/header/navigation/DatePickerToggleButton.d.ts +36 -0
- package/dist/es/components/header/navigation/DatePickerToggleButton.js +94 -0
- package/dist/es/components/header/navigation/NavigationDatePicker.d.ts +36 -0
- package/dist/es/components/header/navigation/NavigationDatePicker.js +90 -0
- package/dist/es/components/header/navigation/SchedulerNavigation.d.ts +43 -0
- package/dist/es/components/header/navigation/SchedulerNavigation.js +30 -0
- package/dist/es/components/header/view-selector/SchedulerViewSelector.d.ts +43 -0
- package/dist/es/components/header/view-selector/SchedulerViewSelector.js +33 -0
- package/dist/es/components/header/view-selector/ViewSelectorItem.d.ts +41 -0
- package/dist/es/components/header/view-selector/ViewSelectorItem.js +73 -0
- package/dist/es/components/header/view-selector/ViewSelectorList.d.ts +36 -0
- package/dist/es/components/header/view-selector/ViewSelectorList.js +153 -0
- package/dist/es/constants/index.d.ts +49 -0
- package/dist/es/constants/index.js +55 -0
- package/dist/es/context/SchedulerContext.d.ts +34 -0
- package/dist/es/context/SchedulerContext.js +205 -0
- package/dist/es/context/SchedulerEditItemContext.d.ts +23 -0
- package/dist/es/context/SchedulerEditItemContext.js +180 -0
- package/dist/es/context/SchedulerEditSlotContext.d.ts +13 -0
- package/dist/es/context/SchedulerEditSlotContext.js +47 -0
- package/dist/es/context/SchedulerEditTaskContext.d.ts +13 -0
- package/dist/es/context/SchedulerEditTaskContext.js +36 -0
- package/dist/es/context/SchedulerResourceIteratorContext.d.ts +40 -0
- package/dist/es/context/SchedulerResourceIteratorContext.js +52 -0
- package/dist/es/context/SchedulerViewContext.d.ts +19 -0
- package/dist/es/context/SchedulerViewContext.js +95 -0
- package/dist/es/context/index.d.ts +5 -0
- package/dist/es/context/index.js +5 -0
- package/dist/es/editors/FilterableComboBox.d.ts +36 -0
- package/dist/es/editors/FilterableComboBox.js +86 -0
- package/dist/es/editors/ResourceEditor.d.ts +47 -0
- package/dist/es/editors/ResourceEditor.js +131 -0
- package/dist/es/editors/SchedulerFormEditor.d.ts +258 -0
- package/dist/es/editors/SchedulerFormEditor.js +491 -0
- package/dist/es/editors/ZonedDateTime.d.ts +46 -0
- package/dist/es/editors/ZonedDateTime.js +85 -0
- package/dist/es/editors/common.d.ts +12 -0
- package/dist/es/editors/common.js +29 -0
- package/dist/es/hooks/index.d.ts +10 -0
- package/dist/es/hooks/index.js +10 -0
- package/dist/es/hooks/use-items-focus.d.ts +22 -0
- package/dist/es/hooks/use-items-focus.js +56 -0
- package/dist/es/hooks/use-items-selection.d.ts +30 -0
- package/dist/es/hooks/use-items-selection.js +113 -0
- package/dist/es/hooks/use-slots-focus.d.ts +33 -0
- package/dist/es/hooks/use-slots-focus.js +118 -0
- package/dist/es/hooks/use-slots-selection.d.ts +23 -0
- package/dist/es/hooks/use-slots-selection.js +64 -0
- package/dist/es/hooks/useAsyncMouseEnterLeave.d.ts +10 -0
- package/dist/es/hooks/useAsyncMouseEnterLeave.js +29 -0
- package/dist/es/hooks/useCellSync.d.ts +9 -0
- package/dist/es/hooks/useCellSync.js +51 -0
- package/dist/es/hooks/useEditable.d.ts +3 -0
- package/dist/es/hooks/useEditable.js +22 -0
- package/dist/es/hooks/usePropOrState.d.ts +2 -0
- package/dist/es/hooks/usePropOrState.js +8 -0
- package/dist/es/hooks/useRowSync.d.ts +10 -0
- package/dist/es/hooks/useRowSync.js +56 -0
- package/dist/es/hooks/useSchedulerItem.d.ts +6 -0
- package/dist/es/hooks/useSchedulerItem.js +33 -0
- package/dist/es/hooks/useSchedulerSlot.d.ts +6 -0
- package/dist/es/hooks/useSchedulerSlot.js +32 -0
- package/dist/es/hooks/useSlotExpand.d.ts +3 -0
- package/dist/es/hooks/useSlotExpand.js +103 -0
- package/dist/es/hooks/useWorkHours.d.ts +2 -0
- package/dist/es/hooks/useWorkHours.js +11 -0
- package/dist/es/items/SchedulerEditItem.d.ts +353 -0
- package/dist/es/items/SchedulerEditItem.js +954 -0
- package/dist/es/items/SchedulerItem.d.ts +219 -0
- package/dist/es/items/SchedulerItem.js +444 -0
- package/dist/es/items/SchedulerItemContent.d.ts +41 -0
- package/dist/es/items/SchedulerItemContent.js +27 -0
- package/dist/es/items/SchedulerViewItem.d.ts +58 -0
- package/dist/es/items/SchedulerViewItem.js +421 -0
- package/dist/es/items/hooks/use-drag-item.d.ts +38 -0
- package/dist/es/items/hooks/use-drag-item.js +182 -0
- package/dist/es/items/hooks/use-form-item.d.ts +18 -0
- package/dist/es/items/hooks/use-form-item.js +50 -0
- package/dist/es/items/hooks/use-remove-item.d.ts +26 -0
- package/dist/es/items/hooks/use-remove-item.js +48 -0
- package/dist/es/items/hooks/use-resize-item.d.ts +41 -0
- package/dist/es/items/hooks/use-resize-item.js +209 -0
- package/dist/es/items/hooks/use-series.d.ts +23 -0
- package/dist/es/items/hooks/use-series.js +43 -0
- package/dist/es/items/hooks/use-show-occurrence-dialog.d.ts +27 -0
- package/dist/es/items/hooks/use-show-occurrence-dialog.js +54 -0
- package/dist/es/items/hooks/use-show-remove-item-dialog.d.ts +27 -0
- package/dist/es/items/hooks/use-show-remove-item-dialog.js +53 -0
- package/dist/es/main.d.ts +38 -1
- package/dist/es/main.js +82 -0
- package/dist/es/messages/index.d.ts +233 -0
- package/dist/es/messages/index.js +234 -0
- package/dist/es/models/DataItem.d.ts +8 -0
- package/dist/es/models/DataItem.js +0 -0
- package/dist/es/models/DateRange.d.ts +18 -0
- package/dist/es/models/DateRange.js +0 -0
- package/dist/es/models/EditableProp.d.ts +29 -0
- package/dist/es/models/EditableProp.js +0 -0
- package/dist/es/models/Fields.d.ts +17 -0
- package/dist/es/models/Fields.js +0 -0
- package/dist/es/models/Group.d.ts +8 -0
- package/dist/es/models/Group.js +0 -0
- package/dist/es/models/Item.d.ts +62 -0
- package/dist/es/models/Item.js +0 -0
- package/dist/es/models/NavigationAction.d.ts +58 -0
- package/dist/es/models/NavigationAction.js +10 -0
- package/dist/es/models/Occurrence.d.ts +52 -0
- package/dist/es/models/Occurrence.js +0 -0
- package/dist/es/models/Omit.d.ts +4 -0
- package/dist/es/models/Omit.js +0 -0
- package/dist/es/models/Orientation.d.ts +2 -0
- package/dist/es/models/Orientation.js +0 -0
- package/dist/es/models/Range.d.ts +10 -0
- package/dist/es/models/Range.js +0 -0
- package/dist/es/models/Rect.d.ts +15 -0
- package/dist/es/models/Rect.js +0 -0
- package/dist/es/models/Resource.d.ts +8 -0
- package/dist/es/models/Resource.js +0 -0
- package/dist/es/models/SchedulerGroup.d.ts +13 -0
- package/dist/es/models/SchedulerGroup.js +0 -0
- package/dist/es/models/SchedulerHandle.d.ts +8 -0
- package/dist/es/models/SchedulerHandle.js +0 -0
- package/dist/es/models/SchedulerModelFields.d.ts +62 -0
- package/dist/es/models/SchedulerModelFields.js +0 -0
- package/dist/es/models/SchedulerResource.d.ts +33 -0
- package/dist/es/models/SchedulerResource.js +0 -0
- package/dist/es/models/SchedulerView.d.ts +74 -0
- package/dist/es/models/SchedulerView.js +0 -0
- package/dist/es/models/Slot.d.ts +49 -0
- package/dist/es/models/Slot.js +0 -0
- package/dist/es/models/events.d.ts +81 -0
- package/dist/es/models/events.js +0 -0
- package/dist/es/models/index.d.ts +17 -0
- package/dist/es/models/index.js +17 -0
- package/dist/es/package-metadata.d.ts +5 -0
- package/dist/es/package-metadata.js +11 -0
- package/dist/es/recurrence/RecurrenceEditor.d.ts +44 -0
- package/dist/es/recurrence/RecurrenceEditor.js +909 -0
- package/dist/es/recurrence/RecurrenceFrequencyEditor.d.ts +42 -0
- package/dist/es/recurrence/RecurrenceFrequencyEditor.js +63 -0
- package/dist/es/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +45 -0
- package/dist/es/recurrence/RecurrenceRepeatOnWeekEditor.js +127 -0
- package/dist/es/recurrence/common.d.ts +57 -0
- package/dist/es/recurrence/common.js +211 -0
- package/dist/es/recurrence/types/EndRule.d.ts +4 -0
- package/dist/es/recurrence/types/EndRule.js +0 -0
- package/dist/es/recurrence/types/Frequency.d.ts +4 -0
- package/dist/es/recurrence/types/Frequency.js +0 -0
- package/dist/es/recurrence/types/FrequencyEntity.d.ts +8 -0
- package/dist/es/recurrence/types/FrequencyEntity.js +0 -0
- package/dist/es/recurrence/types/MonthEntity.d.ts +7 -0
- package/dist/es/recurrence/types/MonthEntity.js +0 -0
- package/dist/es/recurrence/types/OffsetPosition.d.ts +4 -0
- package/dist/es/recurrence/types/OffsetPosition.js +0 -0
- package/dist/es/recurrence/types/OffsetPositionEntity.d.ts +7 -0
- package/dist/es/recurrence/types/OffsetPositionEntity.js +0 -0
- package/dist/es/recurrence/types/RepeatOnRule.d.ts +4 -0
- package/dist/es/recurrence/types/RepeatOnRule.js +0 -0
- package/dist/es/recurrence/types/WeekDayEntity.d.ts +7 -0
- package/dist/es/recurrence/types/WeekDayEntity.js +0 -0
- package/dist/es/recurrence/types/WeekDayRule.d.ts +8 -0
- package/dist/es/recurrence/types/WeekDayRule.js +0 -0
- package/dist/es/recurrence/utils/index.d.ts +1 -0
- package/dist/es/recurrence/utils/index.js +0 -0
- package/dist/es/reducers/editReducer.d.ts +33 -0
- package/dist/es/reducers/editReducer.js +65 -0
- package/dist/es/reducers/index.d.ts +1 -0
- package/dist/es/reducers/index.js +1 -0
- package/dist/es/services/index.d.ts +4 -0
- package/dist/es/services/index.js +4 -0
- package/dist/es/services/itemsService.d.ts +14 -0
- package/dist/es/services/itemsService.js +82 -0
- package/dist/es/services/occurrenceService.d.ts +7 -0
- package/dist/es/services/occurrenceService.js +90 -0
- package/dist/es/services/rangeService.d.ts +6 -0
- package/dist/es/services/rangeService.js +23 -0
- package/dist/es/services/slotsService.d.ts +8 -0
- package/dist/es/services/slotsService.js +42 -0
- package/dist/es/slots/SchedulerEditSlot.d.ts +78 -0
- package/dist/es/slots/SchedulerEditSlot.js +309 -0
- package/dist/es/slots/SchedulerSlot.d.ts +142 -0
- package/dist/es/slots/SchedulerSlot.js +218 -0
- package/dist/es/slots/SchedulerViewSlot.d.ts +72 -0
- package/dist/es/slots/SchedulerViewSlot.js +121 -0
- package/dist/es/tasks/SchedulerEditTask.d.ts +102 -0
- package/dist/es/tasks/SchedulerEditTask.js +282 -0
- package/dist/es/tasks/SchedulerTask.d.ts +75 -0
- package/dist/es/tasks/SchedulerTask.js +110 -0
- package/dist/es/tasks/SchedulerViewTask.d.ts +56 -0
- package/dist/es/tasks/SchedulerViewTask.js +127 -0
- package/dist/es/utils/index.d.ts +172 -0
- package/dist/es/utils/index.js +561 -0
- package/dist/es/views/agenda/AgendaView.d.ts +105 -0
- package/dist/es/views/agenda/AgendaView.js +266 -0
- package/dist/es/views/agenda/AgendaViewBody.d.ts +41 -0
- package/dist/es/views/agenda/AgendaViewBody.js +211 -0
- package/dist/es/views/agenda/AgendaViewHead.d.ts +40 -0
- package/dist/es/views/agenda/AgendaViewHead.js +50 -0
- package/dist/es/views/agenda/AgendaViewHeaderItem.d.ts +40 -0
- package/dist/es/views/agenda/AgendaViewHeaderItem.js +41 -0
- package/dist/es/views/common/HorizontalResourceIterator.d.ts +57 -0
- package/dist/es/views/common/HorizontalResourceIterator.js +179 -0
- package/dist/es/views/common/SchedulerDrag.d.ts +63 -0
- package/dist/es/views/common/SchedulerDrag.js +95 -0
- package/dist/es/views/common/SchedulerResize.d.ts +65 -0
- package/dist/es/views/common/SchedulerResize.js +97 -0
- package/dist/es/views/common/VerticalResourceIterator.d.ts +53 -0
- package/dist/es/views/common/VerticalResourceIterator.js +266 -0
- package/dist/es/views/common/utils.d.ts +34 -0
- package/dist/es/views/common/utils.js +187 -0
- package/dist/es/views/day/DayView.d.ts +41 -0
- package/dist/es/views/day/DayView.js +149 -0
- package/dist/es/views/day/DayViewAllDayRowContent.d.ts +39 -0
- package/dist/es/views/day/DayViewAllDayRowContent.js +38 -0
- package/dist/es/views/day/DayViewAllDaySlots.d.ts +43 -0
- package/dist/es/views/day/DayViewAllDaySlots.js +99 -0
- package/dist/es/views/day/DayViewGroupRowContent.d.ts +39 -0
- package/dist/es/views/day/DayViewGroupRowContent.js +31 -0
- package/dist/es/views/day/DayViewHead.d.ts +40 -0
- package/dist/es/views/day/DayViewHead.js +60 -0
- package/dist/es/views/day/DayViewMiddleRow.d.ts +38 -0
- package/dist/es/views/day/DayViewMiddleRow.js +109 -0
- package/dist/es/views/day/DayViewRowContent.d.ts +43 -0
- package/dist/es/views/day/DayViewRowContent.js +49 -0
- package/dist/es/views/day/MultiDayView.d.ts +169 -0
- package/dist/es/views/day/MultiDayView.js +1401 -0
- package/dist/es/views/month/MonthView.d.ts +100 -0
- package/dist/es/views/month/MonthView.js +533 -0
- package/dist/es/views/month/MonthViewBody.d.ts +42 -0
- package/dist/es/views/month/MonthViewBody.js +152 -0
- package/dist/es/views/month/MonthViewHead.d.ts +40 -0
- package/dist/es/views/month/MonthViewHead.js +68 -0
- package/dist/es/views/time/MultiDayTimelineView.d.ts +173 -0
- package/dist/es/views/time/MultiDayTimelineView.js +677 -0
- package/dist/es/views/time/TimelineView.d.ts +41 -0
- package/dist/es/views/time/TimelineView.js +145 -0
- package/dist/es/views/time/TimelineViewAllEventsRowContent.d.ts +38 -0
- package/dist/es/views/time/TimelineViewAllEventsRowContent.js +40 -0
- package/dist/es/views/time/TimelineViewBody.d.ts +42 -0
- package/dist/es/views/time/TimelineViewBody.js +98 -0
- package/dist/es/views/time/TimelineViewRowContent.d.ts +38 -0
- package/dist/es/views/time/TimelineViewRowContent.js +29 -0
- package/dist/es/views/week/WeekView.d.ts +116 -0
- package/dist/es/views/week/WeekView.js +175 -0
- package/dist/es/views/week/WorkWeekView.d.ts +38 -0
- package/dist/es/views/week/WorkWeekView.js +162 -0
- package/dist/npm/Scheduler.d.ts +315 -0
- package/dist/npm/Scheduler.js +1193 -0
- package/dist/npm/additionalTypes.ts +9 -0
- package/dist/npm/components/BaseView.d.ts +45 -0
- package/dist/npm/components/BaseView.js +159 -0
- package/dist/npm/components/CurrentTimeMarket.d.ts +44 -0
- package/dist/npm/components/CurrentTimeMarket.js +205 -0
- package/dist/npm/components/DateHeaderCell.d.ts +72 -0
- package/dist/npm/components/DateHeaderCell.js +56 -0
- package/dist/npm/components/SchedulerForm.d.ts +86 -0
- package/dist/npm/components/SchedulerForm.js +275 -0
- package/dist/npm/components/SchedulerOccurrenceDialog.d.ts +72 -0
- package/dist/npm/components/SchedulerOccurrenceDialog.js +129 -0
- package/dist/npm/components/SchedulerRemoveDialog.d.ts +68 -0
- package/dist/npm/components/SchedulerRemoveDialog.js +110 -0
- package/dist/npm/components/ShowMoreItemsButton.d.ts +50 -0
- package/dist/npm/components/ShowMoreItemsButton.js +72 -0
- package/dist/npm/components/TimeHeaderCell.d.ts +72 -0
- package/dist/npm/components/TimeHeaderCell.js +54 -0
- package/dist/npm/components/footer/SchedulerFooter.d.ts +50 -0
- package/dist/npm/components/footer/SchedulerFooter.js +46 -0
- package/dist/npm/components/footer/bussiness-hours/BussinessHours.d.ts +43 -0
- package/dist/npm/components/footer/bussiness-hours/BussinessHours.js +44 -0
- package/dist/npm/components/header/SchedulerHeader.d.ts +50 -0
- package/dist/npm/components/header/SchedulerHeader.js +42 -0
- package/dist/npm/components/header/navigation/DatePickerToggleButton.d.ts +36 -0
- package/dist/npm/components/header/navigation/DatePickerToggleButton.js +106 -0
- package/dist/npm/components/header/navigation/NavigationDatePicker.d.ts +36 -0
- package/dist/npm/components/header/navigation/NavigationDatePicker.js +102 -0
- package/dist/npm/components/header/navigation/SchedulerNavigation.d.ts +43 -0
- package/dist/npm/components/header/navigation/SchedulerNavigation.js +41 -0
- package/dist/npm/components/header/view-selector/SchedulerViewSelector.d.ts +43 -0
- package/dist/npm/components/header/view-selector/SchedulerViewSelector.js +44 -0
- package/dist/npm/components/header/view-selector/ViewSelectorItem.d.ts +41 -0
- package/dist/npm/components/header/view-selector/ViewSelectorItem.js +84 -0
- package/dist/npm/components/header/view-selector/ViewSelectorList.d.ts +36 -0
- package/dist/npm/components/header/view-selector/ViewSelectorList.js +163 -0
- package/dist/npm/constants/index.d.ts +49 -0
- package/dist/npm/constants/index.js +59 -0
- package/dist/npm/context/SchedulerContext.d.ts +34 -0
- package/dist/npm/context/SchedulerContext.js +211 -0
- package/dist/npm/context/SchedulerEditItemContext.d.ts +23 -0
- package/dist/npm/context/SchedulerEditItemContext.js +187 -0
- package/dist/npm/context/SchedulerEditSlotContext.d.ts +13 -0
- package/dist/npm/context/SchedulerEditSlotContext.js +53 -0
- package/dist/npm/context/SchedulerEditTaskContext.d.ts +13 -0
- package/dist/npm/context/SchedulerEditTaskContext.js +43 -0
- package/dist/npm/context/SchedulerResourceIteratorContext.d.ts +40 -0
- package/dist/npm/context/SchedulerResourceIteratorContext.js +62 -0
- package/dist/npm/context/SchedulerViewContext.d.ts +19 -0
- package/dist/npm/context/SchedulerViewContext.js +102 -0
- package/dist/npm/context/index.d.ts +5 -0
- package/dist/npm/context/index.js +17 -0
- package/dist/npm/editors/FilterableComboBox.d.ts +36 -0
- package/dist/npm/editors/FilterableComboBox.js +97 -0
- package/dist/npm/editors/ResourceEditor.d.ts +47 -0
- package/dist/npm/editors/ResourceEditor.js +141 -0
- package/dist/npm/editors/SchedulerFormEditor.d.ts +258 -0
- package/dist/npm/editors/SchedulerFormEditor.js +505 -0
- package/dist/npm/editors/ZonedDateTime.d.ts +46 -0
- package/dist/npm/editors/ZonedDateTime.js +96 -0
- package/dist/npm/editors/common.d.ts +12 -0
- package/dist/npm/editors/common.js +32 -0
- package/dist/npm/hooks/index.d.ts +10 -0
- package/dist/npm/hooks/index.js +22 -0
- package/dist/npm/hooks/use-items-focus.d.ts +22 -0
- package/dist/npm/hooks/use-items-focus.js +64 -0
- package/dist/npm/hooks/use-items-selection.d.ts +30 -0
- package/dist/npm/hooks/use-items-selection.js +121 -0
- package/dist/npm/hooks/use-slots-focus.d.ts +33 -0
- package/dist/npm/hooks/use-slots-focus.js +129 -0
- package/dist/npm/hooks/use-slots-selection.d.ts +23 -0
- package/dist/npm/hooks/use-slots-selection.js +70 -0
- package/dist/npm/hooks/useAsyncMouseEnterLeave.d.ts +10 -0
- package/dist/npm/hooks/useAsyncMouseEnterLeave.js +36 -0
- package/dist/npm/hooks/useCellSync.d.ts +9 -0
- package/dist/npm/hooks/useCellSync.js +60 -0
- package/dist/npm/hooks/useEditable.d.ts +3 -0
- package/dist/npm/hooks/useEditable.js +28 -0
- package/dist/npm/hooks/usePropOrState.d.ts +2 -0
- package/dist/npm/hooks/usePropOrState.js +16 -0
- package/dist/npm/hooks/useRowSync.d.ts +10 -0
- package/dist/npm/hooks/useRowSync.js +64 -0
- package/dist/npm/hooks/useSchedulerItem.d.ts +6 -0
- package/dist/npm/hooks/useSchedulerItem.js +39 -0
- package/dist/npm/hooks/useSchedulerSlot.d.ts +6 -0
- package/dist/npm/hooks/useSchedulerSlot.js +38 -0
- package/dist/npm/hooks/useSlotExpand.d.ts +3 -0
- package/dist/npm/hooks/useSlotExpand.js +112 -0
- package/dist/npm/hooks/useWorkHours.d.ts +2 -0
- package/dist/npm/hooks/useWorkHours.js +18 -0
- package/dist/npm/items/SchedulerEditItem.d.ts +353 -0
- package/dist/npm/items/SchedulerEditItem.js +974 -0
- package/dist/npm/items/SchedulerItem.d.ts +219 -0
- package/dist/npm/items/SchedulerItem.js +459 -0
- package/dist/npm/items/SchedulerItemContent.d.ts +41 -0
- package/dist/npm/items/SchedulerItemContent.js +36 -0
- package/dist/npm/items/SchedulerViewItem.d.ts +58 -0
- package/dist/npm/items/SchedulerViewItem.js +436 -0
- package/dist/npm/items/hooks/use-drag-item.d.ts +38 -0
- package/dist/npm/items/hooks/use-drag-item.js +189 -0
- package/dist/npm/items/hooks/use-form-item.d.ts +18 -0
- package/dist/npm/items/hooks/use-form-item.js +57 -0
- package/dist/npm/items/hooks/use-remove-item.d.ts +26 -0
- package/dist/npm/items/hooks/use-remove-item.js +55 -0
- package/dist/npm/items/hooks/use-resize-item.d.ts +41 -0
- package/dist/npm/items/hooks/use-resize-item.js +216 -0
- package/dist/npm/items/hooks/use-series.d.ts +23 -0
- package/dist/npm/items/hooks/use-series.js +50 -0
- package/dist/npm/items/hooks/use-show-occurrence-dialog.d.ts +27 -0
- package/dist/npm/items/hooks/use-show-occurrence-dialog.js +61 -0
- package/dist/npm/items/hooks/use-show-remove-item-dialog.d.ts +27 -0
- package/dist/npm/items/hooks/use-show-remove-item-dialog.js +60 -0
- package/dist/npm/main.d.ts +38 -1
- package/dist/npm/main.js +85 -0
- package/dist/npm/messages/index.d.ts +233 -0
- package/dist/npm/messages/index.js +237 -0
- package/dist/npm/models/DataItem.d.ts +8 -0
- package/dist/npm/models/DataItem.js +2 -0
- package/dist/npm/models/DateRange.d.ts +18 -0
- package/dist/npm/models/DateRange.js +2 -0
- package/dist/npm/models/EditableProp.d.ts +29 -0
- package/dist/npm/models/EditableProp.js +2 -0
- package/dist/npm/models/Fields.d.ts +17 -0
- package/dist/npm/models/Fields.js +2 -0
- package/dist/npm/models/Group.d.ts +8 -0
- package/dist/npm/models/Group.js +2 -0
- package/dist/npm/models/Item.d.ts +62 -0
- package/dist/npm/models/Item.js +2 -0
- package/dist/npm/models/NavigationAction.d.ts +58 -0
- package/dist/npm/models/NavigationAction.js +12 -0
- package/dist/npm/models/Occurrence.d.ts +52 -0
- package/dist/npm/models/Occurrence.js +2 -0
- package/dist/npm/models/Omit.d.ts +4 -0
- package/dist/npm/models/Omit.js +2 -0
- package/dist/npm/models/Orientation.d.ts +2 -0
- package/dist/npm/models/Orientation.js +2 -0
- package/dist/npm/models/Range.d.ts +10 -0
- package/dist/npm/models/Range.js +2 -0
- package/dist/npm/models/Rect.d.ts +15 -0
- package/dist/npm/models/Rect.js +2 -0
- package/dist/npm/models/Resource.d.ts +8 -0
- package/dist/npm/models/Resource.js +2 -0
- package/dist/npm/models/SchedulerGroup.d.ts +13 -0
- package/dist/npm/models/SchedulerGroup.js +2 -0
- package/dist/npm/models/SchedulerHandle.d.ts +8 -0
- package/dist/npm/models/SchedulerHandle.js +5 -0
- package/dist/npm/models/SchedulerModelFields.d.ts +62 -0
- package/dist/npm/models/SchedulerModelFields.js +2 -0
- package/dist/npm/models/SchedulerResource.d.ts +33 -0
- package/dist/npm/models/SchedulerResource.js +2 -0
- package/dist/npm/models/SchedulerView.d.ts +74 -0
- package/dist/npm/models/SchedulerView.js +2 -0
- package/dist/npm/models/Slot.d.ts +49 -0
- package/dist/npm/models/Slot.js +2 -0
- package/dist/npm/models/events.d.ts +81 -0
- package/dist/npm/models/events.js +2 -0
- package/dist/npm/models/index.d.ts +17 -0
- package/dist/npm/models/index.js +29 -0
- package/dist/npm/package-metadata.d.ts +5 -0
- package/dist/npm/package-metadata.js +14 -0
- package/dist/npm/recurrence/RecurrenceEditor.d.ts +44 -0
- package/dist/npm/recurrence/RecurrenceEditor.js +929 -0
- package/dist/npm/recurrence/RecurrenceFrequencyEditor.d.ts +42 -0
- package/dist/npm/recurrence/RecurrenceFrequencyEditor.js +73 -0
- package/dist/npm/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +45 -0
- package/dist/npm/recurrence/RecurrenceRepeatOnWeekEditor.js +138 -0
- package/dist/npm/recurrence/common.d.ts +57 -0
- package/dist/npm/recurrence/common.js +214 -0
- package/dist/npm/recurrence/types/EndRule.d.ts +4 -0
- package/dist/npm/recurrence/types/EndRule.js +2 -0
- package/dist/npm/recurrence/types/Frequency.d.ts +4 -0
- package/dist/npm/recurrence/types/Frequency.js +2 -0
- package/dist/npm/recurrence/types/FrequencyEntity.d.ts +8 -0
- package/dist/npm/recurrence/types/FrequencyEntity.js +2 -0
- package/dist/npm/recurrence/types/MonthEntity.d.ts +7 -0
- package/dist/npm/recurrence/types/MonthEntity.js +2 -0
- package/dist/npm/recurrence/types/OffsetPosition.d.ts +4 -0
- package/dist/npm/recurrence/types/OffsetPosition.js +2 -0
- package/dist/npm/recurrence/types/OffsetPositionEntity.d.ts +7 -0
- package/dist/npm/recurrence/types/OffsetPositionEntity.js +2 -0
- package/dist/npm/recurrence/types/RepeatOnRule.d.ts +4 -0
- package/dist/npm/recurrence/types/RepeatOnRule.js +2 -0
- package/dist/npm/recurrence/types/WeekDayEntity.d.ts +7 -0
- package/dist/npm/recurrence/types/WeekDayEntity.js +2 -0
- package/dist/npm/recurrence/types/WeekDayRule.d.ts +8 -0
- package/dist/npm/recurrence/types/WeekDayRule.js +2 -0
- package/dist/npm/recurrence/utils/index.d.ts +1 -0
- package/dist/npm/recurrence/utils/index.js +0 -0
- package/dist/npm/reducers/editReducer.d.ts +33 -0
- package/dist/npm/reducers/editReducer.js +68 -0
- package/dist/npm/reducers/index.d.ts +1 -0
- package/dist/npm/reducers/index.js +13 -0
- package/dist/npm/services/index.d.ts +4 -0
- package/dist/npm/services/index.js +16 -0
- package/dist/npm/services/itemsService.d.ts +14 -0
- package/dist/npm/services/itemsService.js +85 -0
- package/dist/npm/services/occurrenceService.d.ts +7 -0
- package/dist/npm/services/occurrenceService.js +93 -0
- package/dist/npm/services/rangeService.d.ts +6 -0
- package/dist/npm/services/rangeService.js +26 -0
- package/dist/npm/services/slotsService.d.ts +8 -0
- package/dist/npm/services/slotsService.js +45 -0
- package/dist/npm/slots/SchedulerEditSlot.d.ts +78 -0
- package/dist/npm/slots/SchedulerEditSlot.js +324 -0
- package/dist/npm/slots/SchedulerSlot.d.ts +142 -0
- package/dist/npm/slots/SchedulerSlot.js +230 -0
- package/dist/npm/slots/SchedulerViewSlot.d.ts +72 -0
- package/dist/npm/slots/SchedulerViewSlot.js +133 -0
- package/dist/npm/tasks/SchedulerEditTask.d.ts +102 -0
- package/dist/npm/tasks/SchedulerEditTask.js +295 -0
- package/dist/npm/tasks/SchedulerTask.d.ts +75 -0
- package/dist/npm/tasks/SchedulerTask.js +122 -0
- package/dist/npm/tasks/SchedulerViewTask.d.ts +56 -0
- package/dist/npm/tasks/SchedulerViewTask.js +137 -0
- package/dist/npm/utils/index.d.ts +172 -0
- package/dist/npm/utils/index.js +571 -0
- package/dist/npm/views/agenda/AgendaView.d.ts +105 -0
- package/dist/npm/views/agenda/AgendaView.js +290 -0
- package/dist/npm/views/agenda/AgendaViewBody.d.ts +41 -0
- package/dist/npm/views/agenda/AgendaViewBody.js +224 -0
- package/dist/npm/views/agenda/AgendaViewHead.d.ts +40 -0
- package/dist/npm/views/agenda/AgendaViewHead.js +61 -0
- package/dist/npm/views/agenda/AgendaViewHeaderItem.d.ts +40 -0
- package/dist/npm/views/agenda/AgendaViewHeaderItem.js +51 -0
- package/dist/npm/views/common/HorizontalResourceIterator.d.ts +57 -0
- package/dist/npm/views/common/HorizontalResourceIterator.js +193 -0
- package/dist/npm/views/common/SchedulerDrag.d.ts +63 -0
- package/dist/npm/views/common/SchedulerDrag.js +108 -0
- package/dist/npm/views/common/SchedulerResize.d.ts +65 -0
- package/dist/npm/views/common/SchedulerResize.js +110 -0
- package/dist/npm/views/common/VerticalResourceIterator.d.ts +53 -0
- package/dist/npm/views/common/VerticalResourceIterator.js +278 -0
- package/dist/npm/views/common/utils.d.ts +34 -0
- package/dist/npm/views/common/utils.js +192 -0
- package/dist/npm/views/day/DayView.d.ts +41 -0
- package/dist/npm/views/day/DayView.js +162 -0
- package/dist/npm/views/day/DayViewAllDayRowContent.d.ts +39 -0
- package/dist/npm/views/day/DayViewAllDayRowContent.js +49 -0
- package/dist/npm/views/day/DayViewAllDaySlots.d.ts +43 -0
- package/dist/npm/views/day/DayViewAllDaySlots.js +109 -0
- package/dist/npm/views/day/DayViewGroupRowContent.d.ts +39 -0
- package/dist/npm/views/day/DayViewGroupRowContent.js +39 -0
- package/dist/npm/views/day/DayViewHead.d.ts +40 -0
- package/dist/npm/views/day/DayViewHead.js +71 -0
- package/dist/npm/views/day/DayViewMiddleRow.d.ts +38 -0
- package/dist/npm/views/day/DayViewMiddleRow.js +122 -0
- package/dist/npm/views/day/DayViewRowContent.d.ts +43 -0
- package/dist/npm/views/day/DayViewRowContent.js +60 -0
- package/dist/npm/views/day/MultiDayView.d.ts +169 -0
- package/dist/npm/views/day/MultiDayView.js +1429 -0
- package/dist/npm/views/month/MonthView.d.ts +100 -0
- package/dist/npm/views/month/MonthView.js +558 -0
- package/dist/npm/views/month/MonthViewBody.d.ts +42 -0
- package/dist/npm/views/month/MonthViewBody.js +164 -0
- package/dist/npm/views/month/MonthViewHead.d.ts +40 -0
- package/dist/npm/views/month/MonthViewHead.js +79 -0
- package/dist/npm/views/time/MultiDayTimelineView.d.ts +173 -0
- package/dist/npm/views/time/MultiDayTimelineView.js +704 -0
- package/dist/npm/views/time/TimelineView.d.ts +41 -0
- package/dist/npm/views/time/TimelineView.js +156 -0
- package/dist/npm/views/time/TimelineViewAllEventsRowContent.d.ts +38 -0
- package/dist/npm/views/time/TimelineViewAllEventsRowContent.js +51 -0
- package/dist/npm/views/time/TimelineViewBody.d.ts +42 -0
- package/dist/npm/views/time/TimelineViewBody.js +109 -0
- package/dist/npm/views/time/TimelineViewRowContent.d.ts +38 -0
- package/dist/npm/views/time/TimelineViewRowContent.js +39 -0
- package/dist/npm/views/week/WeekView.d.ts +116 -0
- package/dist/npm/views/week/WeekView.js +190 -0
- package/dist/npm/views/week/WorkWeekView.d.ts +38 -0
- package/dist/npm/views/week/WorkWeekView.js +177 -0
- package/package.json +12 -12
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../../additionalTypes';
|
|
2
|
+
declare type DefaultData<V> = object | ((this: V) => {});
|
|
3
|
+
declare type DefaultMethods<V> = {
|
|
4
|
+
[key: string]: (this: V, ...args: any[]) => any;
|
|
5
|
+
};
|
|
6
|
+
import { SchedulerViewProps } from '../../models';
|
|
7
|
+
/**
|
|
8
|
+
* Represents the props of the Kendo UI for Vue [MonthView]({% slug api_scheduler_monthview %}) Component.
|
|
9
|
+
*/
|
|
10
|
+
export interface MonthViewProps extends SchedulerViewProps {
|
|
11
|
+
/**
|
|
12
|
+
* Sets the maximum number of `items` to be rendered in a single `slot`, before adding the `show-more` button.
|
|
13
|
+
*/
|
|
14
|
+
itemsPerSlot?: number;
|
|
15
|
+
/**
|
|
16
|
+
* The long-date format for displaying the
|
|
17
|
+
* selected date in the Scheduler toolbar.
|
|
18
|
+
* Defaults to `{0:Y}`
|
|
19
|
+
* ([more information](https://www.github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md))
|
|
20
|
+
*/
|
|
21
|
+
selectedDateFormat?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The short-date format for displaying the
|
|
24
|
+
* selected date in the Scheduler toolbar.
|
|
25
|
+
* Defaults to `{0:Y}`
|
|
26
|
+
* ([more information](https://www.github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md))
|
|
27
|
+
*/
|
|
28
|
+
selectedShortDateFormat?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Overrides the general `editable` prop of the Scheduler for the specified view only.
|
|
31
|
+
*/
|
|
32
|
+
editable?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Sets a custom `className` to the wrapping element of the `DayView`.
|
|
35
|
+
*/
|
|
36
|
+
className?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Sets a custom `id` to the wrapping element of the `DayView`.
|
|
39
|
+
*/
|
|
40
|
+
id?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Overrides the `item` prop of the Scheduler for the specified view only.
|
|
43
|
+
*/
|
|
44
|
+
item?: any;
|
|
45
|
+
/**
|
|
46
|
+
* Overrides the `viewItem` prop of the Scheduler for the specified view only.
|
|
47
|
+
*/
|
|
48
|
+
viewItem?: any;
|
|
49
|
+
/**
|
|
50
|
+
* Overrides the `editableItem` prop of the Scheduler for the specified view only.
|
|
51
|
+
*/
|
|
52
|
+
editItem?: any;
|
|
53
|
+
/**
|
|
54
|
+
* Overrides the `slot` prop of the Scheduler for the specified view only.
|
|
55
|
+
*/
|
|
56
|
+
slot?: any;
|
|
57
|
+
/**
|
|
58
|
+
* Overrides the `viewSlot` prop of the Scheduler for the specified view only.
|
|
59
|
+
*/
|
|
60
|
+
viewSlot?: any;
|
|
61
|
+
/**
|
|
62
|
+
* Overrides the `editSlot` prop of the Scheduler for the specified view only.
|
|
63
|
+
*/
|
|
64
|
+
editSlot?: any;
|
|
65
|
+
/**
|
|
66
|
+
* Represents component based on the DateHeaderCellProps.
|
|
67
|
+
*/
|
|
68
|
+
dateHeaderCell?: any;
|
|
69
|
+
form?: any;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* @hidden
|
|
73
|
+
*/
|
|
74
|
+
export interface MonthViewState {
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* @hidden
|
|
78
|
+
*/
|
|
79
|
+
export interface MonthViewComputed {
|
|
80
|
+
[key: string]: any;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* @hidden
|
|
84
|
+
*/
|
|
85
|
+
export interface MonthViewMethods {
|
|
86
|
+
[key: string]: any;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* @hidden
|
|
90
|
+
*/
|
|
91
|
+
export interface MonthViewData {
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* @hidden
|
|
95
|
+
*/
|
|
96
|
+
export interface MonthViewAll extends Vue2type, MonthViewMethods, MonthViewData, MonthViewComputed, MonthViewState {
|
|
97
|
+
}
|
|
98
|
+
declare let MonthViewVue2: ComponentOptions<MonthViewAll, DefaultData<MonthViewData>, DefaultMethods<MonthViewAll>, MonthViewComputed, RecordPropsDefinition<MonthViewProps>>;
|
|
99
|
+
declare const MonthView: DefineComponent<MonthViewProps, any, MonthViewData, MonthViewComputed, MonthViewMethods, {}, {}, {}, string, MonthViewProps, MonthViewProps, {}>;
|
|
100
|
+
export { MonthView, MonthViewVue2 };
|
|
@@ -0,0 +1,558 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.MonthViewVue2 = exports.MonthView = void 0; // @ts-ignore
|
|
7
|
+
|
|
8
|
+
var Vue = require("vue");
|
|
9
|
+
|
|
10
|
+
var allVue = Vue;
|
|
11
|
+
var gh = allVue.h;
|
|
12
|
+
var inject = allVue.inject;
|
|
13
|
+
|
|
14
|
+
var BaseView_1 = require("../../components/BaseView");
|
|
15
|
+
|
|
16
|
+
var kendo_date_math_1 = require("@progress/kendo-date-math");
|
|
17
|
+
|
|
18
|
+
var VerticalResourceIterator_1 = require("../common/VerticalResourceIterator");
|
|
19
|
+
|
|
20
|
+
var HorizontalResourceIterator_1 = require("../common/HorizontalResourceIterator");
|
|
21
|
+
|
|
22
|
+
var utils_1 = require("../../utils");
|
|
23
|
+
|
|
24
|
+
var messages_1 = require("../../messages");
|
|
25
|
+
|
|
26
|
+
var SchedulerEditSlot_1 = require("../../slots/SchedulerEditSlot");
|
|
27
|
+
|
|
28
|
+
var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
29
|
+
|
|
30
|
+
var constants_1 = require("../../constants");
|
|
31
|
+
|
|
32
|
+
var rangeService_1 = require("../../services/rangeService");
|
|
33
|
+
|
|
34
|
+
var slotsService_1 = require("../../services/slotsService");
|
|
35
|
+
|
|
36
|
+
var occurrenceService_1 = require("../../services/occurrenceService");
|
|
37
|
+
|
|
38
|
+
var itemsService_1 = require("../../services/itemsService");
|
|
39
|
+
|
|
40
|
+
var MonthViewHead_1 = require("./MonthViewHead");
|
|
41
|
+
|
|
42
|
+
var MonthViewBody_1 = require("./MonthViewBody");
|
|
43
|
+
|
|
44
|
+
var SchedulerEditItem_1 = require("../../items/SchedulerEditItem");
|
|
45
|
+
|
|
46
|
+
var DAY_FORMAT = {
|
|
47
|
+
skeleton: 'dd'
|
|
48
|
+
}; // tslint:enable:max-line-length
|
|
49
|
+
|
|
50
|
+
var MonthViewVue2 = {
|
|
51
|
+
name: 'KendoMonthView',
|
|
52
|
+
props: {
|
|
53
|
+
itemsPerSlot: {
|
|
54
|
+
type: Number,
|
|
55
|
+
default: 2
|
|
56
|
+
},
|
|
57
|
+
name: {
|
|
58
|
+
type: String,
|
|
59
|
+
default: 'month'
|
|
60
|
+
},
|
|
61
|
+
dateRange: {
|
|
62
|
+
type: [Function, Object],
|
|
63
|
+
default: function _default() {
|
|
64
|
+
return monthViewDateRange;
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
slotDuration: {
|
|
68
|
+
type: Number,
|
|
69
|
+
default: 24 * 60
|
|
70
|
+
},
|
|
71
|
+
slotDivisions: {
|
|
72
|
+
type: Number,
|
|
73
|
+
default: 1
|
|
74
|
+
},
|
|
75
|
+
numberOfDays: {
|
|
76
|
+
type: Number,
|
|
77
|
+
default: 31
|
|
78
|
+
},
|
|
79
|
+
title: String,
|
|
80
|
+
selectedDateFormat: {
|
|
81
|
+
type: String,
|
|
82
|
+
default: '{0:Y}'
|
|
83
|
+
},
|
|
84
|
+
selectedShortDateFormat: {
|
|
85
|
+
type: String,
|
|
86
|
+
default: '{0:Y}'
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
inject: {
|
|
90
|
+
ks: {
|
|
91
|
+
default: null
|
|
92
|
+
},
|
|
93
|
+
kendoLocalizationService: {
|
|
94
|
+
default: null
|
|
95
|
+
},
|
|
96
|
+
kendoIntlService: {
|
|
97
|
+
default: null
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
created: function created() {
|
|
101
|
+
this.intl = kendo_vue_intl_1.provideIntlService(this);
|
|
102
|
+
},
|
|
103
|
+
computed: {
|
|
104
|
+
ranges: function ranges() {
|
|
105
|
+
return rangeService_1.toRanges(this.ks.dateRange, {
|
|
106
|
+
step: kendo_date_math_1.MS_PER_DAY * constants_1.DAYS_IN_WEEK_COUNT,
|
|
107
|
+
timezone: this.ks.timezone
|
|
108
|
+
});
|
|
109
|
+
},
|
|
110
|
+
monthSlots: function monthSlots() {
|
|
111
|
+
return slotsService_1.toSlots(this.ks.dateRange, {
|
|
112
|
+
step: kendo_date_math_1.MS_PER_DAY
|
|
113
|
+
}, {
|
|
114
|
+
groups: this.ks.groups,
|
|
115
|
+
ranges: this.ranges
|
|
116
|
+
});
|
|
117
|
+
},
|
|
118
|
+
occurrences: function occurrences() {
|
|
119
|
+
return occurrenceService_1.toOccurrences(this.ks.dataItems, {
|
|
120
|
+
dateRange: this.ks.dateRange,
|
|
121
|
+
fields: this.ks.fields,
|
|
122
|
+
timezone: this.ks.timezone
|
|
123
|
+
});
|
|
124
|
+
},
|
|
125
|
+
items: function items() {
|
|
126
|
+
var items = itemsService_1.toItems(this.occurrences, {
|
|
127
|
+
timezone: this.ks.timezone
|
|
128
|
+
}, {
|
|
129
|
+
groups: this.ks.groups,
|
|
130
|
+
ranges: this.ranges
|
|
131
|
+
});
|
|
132
|
+
utils_1.mapItemsToSlots(items, this.monthSlots, false);
|
|
133
|
+
utils_1.mapSlotsToItems(items, this.monthSlots, false);
|
|
134
|
+
return items;
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
// @ts-ignore
|
|
138
|
+
setup: !gh ? undefined : function () {
|
|
139
|
+
var v3 = !!gh;
|
|
140
|
+
return {
|
|
141
|
+
v3: v3
|
|
142
|
+
};
|
|
143
|
+
},
|
|
144
|
+
// @ts-ignore
|
|
145
|
+
render: function render(createElement) {
|
|
146
|
+
var _this2 = this;
|
|
147
|
+
|
|
148
|
+
var h = gh || createElement; // const {
|
|
149
|
+
// group,
|
|
150
|
+
// timezone,
|
|
151
|
+
// resources: propResources
|
|
152
|
+
// } = useSchedulerPropsContext();
|
|
153
|
+
|
|
154
|
+
this.localization = kendo_vue_intl_1.provideLocalizationService(this);
|
|
155
|
+
var title = this.localization.toLanguageString(messages_1.monthViewTitle, messages_1.messages[messages_1.monthViewTitle]);
|
|
156
|
+
var EditItem = this.$props.editItem || SchedulerEditItem_1.SchedulerEditItem;
|
|
157
|
+
var EditSlot = this.$props.editSlot || SchedulerEditSlot_1.SchedulerEditSlot;
|
|
158
|
+
var items = this.items;
|
|
159
|
+
var monthSlots = this.monthSlots; // const [dataItems] = useSchedulerDataContext();
|
|
160
|
+
// const [, setDate] = useSchedulerDateContext();
|
|
161
|
+
// const [, setView] = useSchedulerActiveViewContext();
|
|
162
|
+
// const views = useSchedulerViewsContext();
|
|
163
|
+
// const groups = useSchedulerGroupsContext();
|
|
164
|
+
// const orientation = useSchedulerOrientationContext();
|
|
165
|
+
// const dateRange = useSchedulerDateRangeContext();
|
|
166
|
+
|
|
167
|
+
this.intl = kendo_vue_intl_1.provideIntlService(this); // const fields = useSchedulerFieldsContext();
|
|
168
|
+
|
|
169
|
+
var itemsPerSlot = this.$props.itemsPerSlot;
|
|
170
|
+
var body = this.ranges.map(function (_, rangeIndex) {
|
|
171
|
+
var _this = this;
|
|
172
|
+
|
|
173
|
+
return this.ks.orientation === 'horizontal' ? // @ts-ignore function children
|
|
174
|
+
h(HorizontalResourceIterator_1.HorizontalResourceIterator, {
|
|
175
|
+
resources: this.ks.props.resources,
|
|
176
|
+
attrs: this.v3 ? undefined : {
|
|
177
|
+
resources: this.ks.props.resources,
|
|
178
|
+
group: this.ks.props.group
|
|
179
|
+
},
|
|
180
|
+
group: this.ks.props.group
|
|
181
|
+
}, this.v3 ? function () {
|
|
182
|
+
return [h(MonthViewBody_1.MonthViewBody, {
|
|
183
|
+
monthSlots: monthSlots,
|
|
184
|
+
attrs: _this.v3 ? undefined : {
|
|
185
|
+
monthSlots: monthSlots,
|
|
186
|
+
rangeIndex: rangeIndex,
|
|
187
|
+
itemsPerSlot: itemsPerSlot
|
|
188
|
+
},
|
|
189
|
+
rangeIndex: rangeIndex,
|
|
190
|
+
itemsPerSlot: itemsPerSlot,
|
|
191
|
+
onDataaction: _this.handleDataAction,
|
|
192
|
+
on: _this.v3 ? undefined : {
|
|
193
|
+
"dataaction": _this.handleDataAction
|
|
194
|
+
}
|
|
195
|
+
})];
|
|
196
|
+
} : [h(MonthViewBody_1.MonthViewBody, {
|
|
197
|
+
monthSlots: monthSlots,
|
|
198
|
+
attrs: _this.v3 ? undefined : {
|
|
199
|
+
monthSlots: monthSlots,
|
|
200
|
+
rangeIndex: rangeIndex,
|
|
201
|
+
itemsPerSlot: itemsPerSlot
|
|
202
|
+
},
|
|
203
|
+
rangeIndex: rangeIndex,
|
|
204
|
+
itemsPerSlot: itemsPerSlot,
|
|
205
|
+
onDataaction: _this.handleDataAction,
|
|
206
|
+
on: _this.v3 ? undefined : {
|
|
207
|
+
"dataaction": _this.handleDataAction
|
|
208
|
+
}
|
|
209
|
+
})]) : // @ts-ignore function children
|
|
210
|
+
h(VerticalResourceIterator_1.VerticalResourceIterator, {
|
|
211
|
+
nested: true,
|
|
212
|
+
attrs: this.v3 ? undefined : {
|
|
213
|
+
nested: true,
|
|
214
|
+
resources: this.ks.props.resources,
|
|
215
|
+
group: this.ks.props.group
|
|
216
|
+
},
|
|
217
|
+
resources: this.ks.props.resources,
|
|
218
|
+
group: this.ks.props.group
|
|
219
|
+
}, this.v3 ? function () {
|
|
220
|
+
return [h(MonthViewBody_1.MonthViewBody, {
|
|
221
|
+
monthSlots: monthSlots,
|
|
222
|
+
attrs: _this.v3 ? undefined : {
|
|
223
|
+
monthSlots: monthSlots,
|
|
224
|
+
ranges: _this.ranges,
|
|
225
|
+
rangeIndex: rangeIndex,
|
|
226
|
+
itemsPerSlot: itemsPerSlot
|
|
227
|
+
},
|
|
228
|
+
ranges: _this.ranges,
|
|
229
|
+
rangeIndex: rangeIndex,
|
|
230
|
+
itemsPerSlot: itemsPerSlot,
|
|
231
|
+
onDataaction: _this.handleDataAction,
|
|
232
|
+
on: _this.v3 ? undefined : {
|
|
233
|
+
"dataaction": _this.handleDataAction
|
|
234
|
+
}
|
|
235
|
+
})];
|
|
236
|
+
} : [h(MonthViewBody_1.MonthViewBody, {
|
|
237
|
+
monthSlots: monthSlots,
|
|
238
|
+
attrs: _this.v3 ? undefined : {
|
|
239
|
+
monthSlots: monthSlots,
|
|
240
|
+
ranges: _this.ranges,
|
|
241
|
+
rangeIndex: rangeIndex,
|
|
242
|
+
itemsPerSlot: itemsPerSlot
|
|
243
|
+
},
|
|
244
|
+
ranges: _this.ranges,
|
|
245
|
+
rangeIndex: rangeIndex,
|
|
246
|
+
itemsPerSlot: itemsPerSlot,
|
|
247
|
+
onDataaction: _this.handleDataAction,
|
|
248
|
+
on: _this.v3 ? undefined : {
|
|
249
|
+
"dataaction": _this.handleDataAction
|
|
250
|
+
}
|
|
251
|
+
})]);
|
|
252
|
+
}, this);
|
|
253
|
+
return (// @ts-ignore function children
|
|
254
|
+
h(BaseView_1.BaseView, {
|
|
255
|
+
props: this.$props,
|
|
256
|
+
attrs: this.v3 ? undefined : {
|
|
257
|
+
props: this.$props,
|
|
258
|
+
baseSlots: monthSlots,
|
|
259
|
+
ranges: this.ranges
|
|
260
|
+
},
|
|
261
|
+
baseSlots: monthSlots,
|
|
262
|
+
ranges: this.ranges,
|
|
263
|
+
"class": 'k-scheduler-monthview'
|
|
264
|
+
}, this.v3 ? function () {
|
|
265
|
+
return [h("div", {
|
|
266
|
+
"class": "k-scheduler-head"
|
|
267
|
+
}, [_this2.ks.orientation === 'horizontal' ? // @ts-ignore function children
|
|
268
|
+
h(HorizontalResourceIterator_1.HorizontalResourceIterator, {
|
|
269
|
+
nested: true,
|
|
270
|
+
attrs: _this2.v3 ? undefined : {
|
|
271
|
+
nested: true,
|
|
272
|
+
resources: _this2.ks.props.resources,
|
|
273
|
+
group: _this2.ks.props.group
|
|
274
|
+
},
|
|
275
|
+
resources: _this2.ks.props.resources,
|
|
276
|
+
group: _this2.ks.props.group
|
|
277
|
+
}, _this2.v3 ? function () {
|
|
278
|
+
return [h(MonthViewHead_1.MonthViewHead, {
|
|
279
|
+
monthSlots: monthSlots,
|
|
280
|
+
attrs: _this2.v3 ? undefined : {
|
|
281
|
+
monthSlots: monthSlots,
|
|
282
|
+
dateHeaderCell: _this2.$props.dateHeaderCell
|
|
283
|
+
},
|
|
284
|
+
dateHeaderCell: _this2.$props.dateHeaderCell
|
|
285
|
+
})];
|
|
286
|
+
} : [h(MonthViewHead_1.MonthViewHead, {
|
|
287
|
+
monthSlots: monthSlots,
|
|
288
|
+
attrs: _this2.v3 ? undefined : {
|
|
289
|
+
monthSlots: monthSlots,
|
|
290
|
+
dateHeaderCell: _this2.$props.dateHeaderCell
|
|
291
|
+
},
|
|
292
|
+
dateHeaderCell: _this2.$props.dateHeaderCell
|
|
293
|
+
})]) : // @ts-ignore function children
|
|
294
|
+
h(VerticalResourceIterator_1.VerticalResourceIterator, {
|
|
295
|
+
resources: _this2.ks.props.resources,
|
|
296
|
+
attrs: _this2.v3 ? undefined : {
|
|
297
|
+
resources: _this2.ks.props.resources,
|
|
298
|
+
group: _this2.ks.props.group
|
|
299
|
+
},
|
|
300
|
+
group: _this2.ks.props.group
|
|
301
|
+
}, _this2.v3 ? function () {
|
|
302
|
+
return [h(MonthViewHead_1.MonthViewHead, {
|
|
303
|
+
monthSlots: monthSlots,
|
|
304
|
+
attrs: _this2.v3 ? undefined : {
|
|
305
|
+
monthSlots: monthSlots,
|
|
306
|
+
dateHeaderCell: _this2.$props.dateHeaderCell
|
|
307
|
+
},
|
|
308
|
+
dateHeaderCell: _this2.$props.dateHeaderCell
|
|
309
|
+
})];
|
|
310
|
+
} : [h(MonthViewHead_1.MonthViewHead, {
|
|
311
|
+
monthSlots: monthSlots,
|
|
312
|
+
attrs: _this2.v3 ? undefined : {
|
|
313
|
+
monthSlots: monthSlots,
|
|
314
|
+
dateHeaderCell: _this2.$props.dateHeaderCell
|
|
315
|
+
},
|
|
316
|
+
dateHeaderCell: _this2.$props.dateHeaderCell
|
|
317
|
+
})])]), h("div", {
|
|
318
|
+
"class": "k-scheduler-body"
|
|
319
|
+
}, [body, items.filter(function (item) {
|
|
320
|
+
return item.order === null || item.order < itemsPerSlot;
|
|
321
|
+
}).sort(utils_1.orderSort).map(function (item) {
|
|
322
|
+
return h(EditItem, {
|
|
323
|
+
item: this.$props.item,
|
|
324
|
+
attrs: this.v3 ? undefined : {
|
|
325
|
+
item: this.$props.item,
|
|
326
|
+
viewItem: this.$props.viewItem,
|
|
327
|
+
form: this.$props.form,
|
|
328
|
+
uid: item.uid,
|
|
329
|
+
start: item.start,
|
|
330
|
+
end: item.end,
|
|
331
|
+
originalStart: item.originalStart,
|
|
332
|
+
startTimezone: item.startTimezone,
|
|
333
|
+
endTimezone: item.endTimezone,
|
|
334
|
+
isAllDay: item.isAllDay,
|
|
335
|
+
title: item.title,
|
|
336
|
+
description: item.description,
|
|
337
|
+
occurrenceId: item.occurrenceId,
|
|
338
|
+
recurrenceExceptions: item.recurrenceExceptions,
|
|
339
|
+
recurrenceRule: item.recurrenceRule,
|
|
340
|
+
recurrenceId: item.recurrenceId,
|
|
341
|
+
dataItem: item.dataItem,
|
|
342
|
+
itemRef: item.itemRef,
|
|
343
|
+
head: item.head,
|
|
344
|
+
tail: item.tail,
|
|
345
|
+
order: item.order,
|
|
346
|
+
zonedStart: item.zonedStart,
|
|
347
|
+
zonedEnd: item.zonedEnd,
|
|
348
|
+
slots: item.slots,
|
|
349
|
+
group: item.group,
|
|
350
|
+
range: item.range,
|
|
351
|
+
isException: item.isException,
|
|
352
|
+
isRecurring: item.isRecurring,
|
|
353
|
+
vertical: false,
|
|
354
|
+
editable: this.$props.editable,
|
|
355
|
+
ignoreIsAllDay: true
|
|
356
|
+
},
|
|
357
|
+
viewItem: this.$props.viewItem,
|
|
358
|
+
form: this.$props.form,
|
|
359
|
+
key: item.isRecurring ? item.uid + ":" + item.group.index + ":" + item.range.index + ":" + item.originalStart : item.uid + ":" + item.group.index + ":" + item.range.index,
|
|
360
|
+
uid: item.uid,
|
|
361
|
+
start: item.start,
|
|
362
|
+
end: item.end,
|
|
363
|
+
originalStart: item.originalStart,
|
|
364
|
+
startTimezone: item.startTimezone,
|
|
365
|
+
endTimezone: item.endTimezone,
|
|
366
|
+
isAllDay: item.isAllDay,
|
|
367
|
+
title: item.title,
|
|
368
|
+
description: item.description,
|
|
369
|
+
occurrenceId: item.occurrenceId,
|
|
370
|
+
recurrenceExceptions: item.recurrenceExceptions,
|
|
371
|
+
recurrenceRule: item.recurrenceRule,
|
|
372
|
+
recurrenceId: item.recurrenceId,
|
|
373
|
+
dataItem: item.dataItem,
|
|
374
|
+
itemRef: item.itemRef,
|
|
375
|
+
head: item.head,
|
|
376
|
+
tail: item.tail,
|
|
377
|
+
order: item.order,
|
|
378
|
+
zonedStart: item.zonedStart,
|
|
379
|
+
zonedEnd: item.zonedEnd,
|
|
380
|
+
slots: item.slots,
|
|
381
|
+
group: item.group,
|
|
382
|
+
range: item.range,
|
|
383
|
+
isException: item.isException,
|
|
384
|
+
isRecurring: item.isRecurring,
|
|
385
|
+
onDataaction: this.handleDataAction,
|
|
386
|
+
on: this.v3 ? undefined : {
|
|
387
|
+
"dataaction": this.handleDataAction
|
|
388
|
+
},
|
|
389
|
+
style: {
|
|
390
|
+
transform: 'translateY(30px)'
|
|
391
|
+
},
|
|
392
|
+
vertical: false,
|
|
393
|
+
editable: this.$props.editable,
|
|
394
|
+
ignoreIsAllDay: true
|
|
395
|
+
});
|
|
396
|
+
}, _this2)])];
|
|
397
|
+
} : [h("div", {
|
|
398
|
+
"class": "k-scheduler-head"
|
|
399
|
+
}, [_this2.ks.orientation === 'horizontal' ? h(HorizontalResourceIterator_1.HorizontalResourceIterator, {
|
|
400
|
+
nested: true,
|
|
401
|
+
attrs: _this2.v3 ? undefined : {
|
|
402
|
+
nested: true,
|
|
403
|
+
resources: _this2.ks.props.resources,
|
|
404
|
+
group: _this2.ks.props.group
|
|
405
|
+
},
|
|
406
|
+
resources: _this2.ks.props.resources,
|
|
407
|
+
group: _this2.ks.props.group
|
|
408
|
+
}, _this2.v3 ? function () {
|
|
409
|
+
return [h(MonthViewHead_1.MonthViewHead, {
|
|
410
|
+
monthSlots: monthSlots,
|
|
411
|
+
attrs: _this2.v3 ? undefined : {
|
|
412
|
+
monthSlots: monthSlots,
|
|
413
|
+
dateHeaderCell: _this2.$props.dateHeaderCell
|
|
414
|
+
},
|
|
415
|
+
dateHeaderCell: _this2.$props.dateHeaderCell
|
|
416
|
+
})];
|
|
417
|
+
} : [h(MonthViewHead_1.MonthViewHead, {
|
|
418
|
+
monthSlots: monthSlots,
|
|
419
|
+
attrs: _this2.v3 ? undefined : {
|
|
420
|
+
monthSlots: monthSlots,
|
|
421
|
+
dateHeaderCell: _this2.$props.dateHeaderCell
|
|
422
|
+
},
|
|
423
|
+
dateHeaderCell: _this2.$props.dateHeaderCell
|
|
424
|
+
})]) : h(VerticalResourceIterator_1.VerticalResourceIterator, {
|
|
425
|
+
resources: _this2.ks.props.resources,
|
|
426
|
+
attrs: _this2.v3 ? undefined : {
|
|
427
|
+
resources: _this2.ks.props.resources,
|
|
428
|
+
group: _this2.ks.props.group
|
|
429
|
+
},
|
|
430
|
+
group: _this2.ks.props.group
|
|
431
|
+
}, _this2.v3 ? function () {
|
|
432
|
+
return [h(MonthViewHead_1.MonthViewHead, {
|
|
433
|
+
monthSlots: monthSlots,
|
|
434
|
+
attrs: _this2.v3 ? undefined : {
|
|
435
|
+
monthSlots: monthSlots,
|
|
436
|
+
dateHeaderCell: _this2.$props.dateHeaderCell
|
|
437
|
+
},
|
|
438
|
+
dateHeaderCell: _this2.$props.dateHeaderCell
|
|
439
|
+
})];
|
|
440
|
+
} : [h(MonthViewHead_1.MonthViewHead, {
|
|
441
|
+
monthSlots: monthSlots,
|
|
442
|
+
attrs: _this2.v3 ? undefined : {
|
|
443
|
+
monthSlots: monthSlots,
|
|
444
|
+
dateHeaderCell: _this2.$props.dateHeaderCell
|
|
445
|
+
},
|
|
446
|
+
dateHeaderCell: _this2.$props.dateHeaderCell
|
|
447
|
+
})])]), h("div", {
|
|
448
|
+
"class": "k-scheduler-body"
|
|
449
|
+
}, [body, items.filter(function (item) {
|
|
450
|
+
return item.order === null || item.order < itemsPerSlot;
|
|
451
|
+
}).sort(utils_1.orderSort).map(function (item) {
|
|
452
|
+
return h(EditItem, {
|
|
453
|
+
item: this.$props.item,
|
|
454
|
+
attrs: this.v3 ? undefined : {
|
|
455
|
+
item: this.$props.item,
|
|
456
|
+
viewItem: this.$props.viewItem,
|
|
457
|
+
form: this.$props.form,
|
|
458
|
+
uid: item.uid,
|
|
459
|
+
start: item.start,
|
|
460
|
+
end: item.end,
|
|
461
|
+
originalStart: item.originalStart,
|
|
462
|
+
startTimezone: item.startTimezone,
|
|
463
|
+
endTimezone: item.endTimezone,
|
|
464
|
+
isAllDay: item.isAllDay,
|
|
465
|
+
title: item.title,
|
|
466
|
+
description: item.description,
|
|
467
|
+
occurrenceId: item.occurrenceId,
|
|
468
|
+
recurrenceExceptions: item.recurrenceExceptions,
|
|
469
|
+
recurrenceRule: item.recurrenceRule,
|
|
470
|
+
recurrenceId: item.recurrenceId,
|
|
471
|
+
dataItem: item.dataItem,
|
|
472
|
+
itemRef: item.itemRef,
|
|
473
|
+
head: item.head,
|
|
474
|
+
tail: item.tail,
|
|
475
|
+
order: item.order,
|
|
476
|
+
zonedStart: item.zonedStart,
|
|
477
|
+
zonedEnd: item.zonedEnd,
|
|
478
|
+
slots: item.slots,
|
|
479
|
+
group: item.group,
|
|
480
|
+
range: item.range,
|
|
481
|
+
isException: item.isException,
|
|
482
|
+
isRecurring: item.isRecurring,
|
|
483
|
+
vertical: false,
|
|
484
|
+
editable: this.$props.editable,
|
|
485
|
+
ignoreIsAllDay: true
|
|
486
|
+
},
|
|
487
|
+
viewItem: this.$props.viewItem,
|
|
488
|
+
form: this.$props.form,
|
|
489
|
+
key: item.isRecurring ? item.uid + ":" + item.group.index + ":" + item.range.index + ":" + item.originalStart : item.uid + ":" + item.group.index + ":" + item.range.index,
|
|
490
|
+
uid: item.uid,
|
|
491
|
+
start: item.start,
|
|
492
|
+
end: item.end,
|
|
493
|
+
originalStart: item.originalStart,
|
|
494
|
+
startTimezone: item.startTimezone,
|
|
495
|
+
endTimezone: item.endTimezone,
|
|
496
|
+
isAllDay: item.isAllDay,
|
|
497
|
+
title: item.title,
|
|
498
|
+
description: item.description,
|
|
499
|
+
occurrenceId: item.occurrenceId,
|
|
500
|
+
recurrenceExceptions: item.recurrenceExceptions,
|
|
501
|
+
recurrenceRule: item.recurrenceRule,
|
|
502
|
+
recurrenceId: item.recurrenceId,
|
|
503
|
+
dataItem: item.dataItem,
|
|
504
|
+
itemRef: item.itemRef,
|
|
505
|
+
head: item.head,
|
|
506
|
+
tail: item.tail,
|
|
507
|
+
order: item.order,
|
|
508
|
+
zonedStart: item.zonedStart,
|
|
509
|
+
zonedEnd: item.zonedEnd,
|
|
510
|
+
slots: item.slots,
|
|
511
|
+
group: item.group,
|
|
512
|
+
range: item.range,
|
|
513
|
+
isException: item.isException,
|
|
514
|
+
isRecurring: item.isRecurring,
|
|
515
|
+
onDataaction: this.handleDataAction,
|
|
516
|
+
on: this.v3 ? undefined : {
|
|
517
|
+
"dataaction": this.handleDataAction
|
|
518
|
+
},
|
|
519
|
+
style: {
|
|
520
|
+
transform: 'translateY(30px)'
|
|
521
|
+
},
|
|
522
|
+
vertical: false,
|
|
523
|
+
editable: this.$props.editable,
|
|
524
|
+
ignoreIsAllDay: true
|
|
525
|
+
});
|
|
526
|
+
}, _this2)])])
|
|
527
|
+
);
|
|
528
|
+
},
|
|
529
|
+
methods: {
|
|
530
|
+
handleDataAction: function handleDataAction(action) {
|
|
531
|
+
this.$emit('dataaction', action);
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
};
|
|
535
|
+
exports.MonthViewVue2 = MonthViewVue2;
|
|
536
|
+
|
|
537
|
+
var monthViewDateRange = function monthViewDateRange(_a) {
|
|
538
|
+
var intl = _a.intl,
|
|
539
|
+
date = _a.date,
|
|
540
|
+
timezone = _a.timezone; // The DateRange start from the first day of the week containing the first day of the month.
|
|
541
|
+
// I know it sounds strange, but take a look and a wall-calendar!
|
|
542
|
+
|
|
543
|
+
var firstDay = kendo_date_math_1.firstDayInWeek(kendo_date_math_1.firstDayOfMonth(kendo_date_math_1.getDate(date)), intl.firstDay());
|
|
544
|
+
var lastDay = kendo_date_math_1.addDays(kendo_date_math_1.firstDayInWeek(kendo_date_math_1.lastDayOfMonth(kendo_date_math_1.getDate(date)), intl.firstDay()), constants_1.DAYS_IN_WEEK_COUNT);
|
|
545
|
+
var zonedStart = kendo_date_math_1.ZonedDate.fromUTCDate(utils_1.toUTCDateTime(firstDay), timezone);
|
|
546
|
+
var zonedEnd = kendo_date_math_1.ZonedDate.fromUTCDate(utils_1.toUTCDateTime(lastDay), timezone);
|
|
547
|
+
var start = new Date(zonedStart.getTime());
|
|
548
|
+
var end = new Date(zonedEnd.getTime());
|
|
549
|
+
return {
|
|
550
|
+
start: start,
|
|
551
|
+
end: end,
|
|
552
|
+
zonedStart: zonedStart,
|
|
553
|
+
zonedEnd: zonedEnd
|
|
554
|
+
};
|
|
555
|
+
};
|
|
556
|
+
|
|
557
|
+
var MonthView = MonthViewVue2;
|
|
558
|
+
exports.MonthView = MonthView;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../../additionalTypes';
|
|
2
|
+
declare type DefaultData<V> = object | ((this: V) => {});
|
|
3
|
+
declare type DefaultMethods<V> = {
|
|
4
|
+
[key: string]: (this: V, ...args: any[]) => any;
|
|
5
|
+
};
|
|
6
|
+
/** @hidden */
|
|
7
|
+
export interface MonthViewBodyProps {
|
|
8
|
+
rangeIndex: number;
|
|
9
|
+
itemsPerSlot: number;
|
|
10
|
+
monthSlots: any[];
|
|
11
|
+
ranges: any[];
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export interface MonthViewBodyState {
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
export interface MonthViewBodyComputed {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @hidden
|
|
26
|
+
*/
|
|
27
|
+
export interface MonthViewBodyMethods {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
export interface MonthViewBodyData {
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @hidden
|
|
37
|
+
*/
|
|
38
|
+
export interface MonthViewBodyAll extends Vue2type, MonthViewBodyMethods, MonthViewBodyData, MonthViewBodyComputed, MonthViewBodyState {
|
|
39
|
+
}
|
|
40
|
+
declare let MonthViewBodyVue2: ComponentOptions<MonthViewBodyAll, DefaultData<MonthViewBodyData>, DefaultMethods<MonthViewBodyAll>, MonthViewBodyComputed, RecordPropsDefinition<MonthViewBodyProps>>;
|
|
41
|
+
declare const MonthViewBody: DefineComponent<MonthViewBodyProps, any, MonthViewBodyData, MonthViewBodyComputed, MonthViewBodyMethods, {}, {}, {}, string, MonthViewBodyProps, MonthViewBodyProps, {}>;
|
|
42
|
+
export { MonthViewBody, MonthViewBodyVue2 };
|