@progress/kendo-react-scheduler 6.1.1 → 7.0.0-develop.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/LICENSE.md +1 -1
- package/package.json +40 -57
- package/about.md +0 -3
- package/dist/cdn/js/kendo-react-scheduler.js +0 -2
- package/dist/cdn/js/kendo-react-scheduler.js.LICENSE.txt +0 -14
- package/dist/es/Scheduler.d.ts +0 -365
- package/dist/es/Scheduler.js +0 -432
- package/dist/es/components/BaseView.d.ts +0 -18
- package/dist/es/components/BaseView.js +0 -34
- package/dist/es/components/CurrentTimeMarket.d.ts +0 -15
- package/dist/es/components/CurrentTimeMarket.js +0 -140
- package/dist/es/components/DateHeaderCell.d.ts +0 -42
- package/dist/es/components/DateHeaderCell.js +0 -55
- package/dist/es/components/SchedulerForm.d.ts +0 -67
- package/dist/es/components/SchedulerForm.js +0 -101
- package/dist/es/components/SchedulerOccurrenceDialog.d.ts +0 -42
- package/dist/es/components/SchedulerOccurrenceDialog.js +0 -61
- package/dist/es/components/SchedulerRemoveDialog.d.ts +0 -38
- package/dist/es/components/SchedulerRemoveDialog.js +0 -55
- package/dist/es/components/ShowMoreItemsButton.d.ts +0 -26
- package/dist/es/components/ShowMoreItemsButton.js +0 -42
- package/dist/es/components/TimeHeaderCell.d.ts +0 -42
- package/dist/es/components/TimeHeaderCell.js +0 -54
- package/dist/es/components/footer/SchedulerFooter.d.ts +0 -21
- package/dist/es/components/footer/SchedulerFooter.js +0 -39
- package/dist/es/components/footer/bussiness-hours/BussinessHours.d.ts +0 -13
- package/dist/es/components/footer/bussiness-hours/BussinessHours.js +0 -34
- package/dist/es/components/header/SchedulerHeader.d.ts +0 -18
- package/dist/es/components/header/SchedulerHeader.js +0 -40
- package/dist/es/components/header/navigation/NavigationDatePicker.d.ts +0 -5
- package/dist/es/components/header/navigation/NavigationDatePicker.js +0 -100
- package/dist/es/components/header/navigation/SchedulerNavigation.d.ts +0 -24
- package/dist/es/components/header/navigation/SchedulerNavigation.js +0 -38
- package/dist/es/components/header/view-selector/SchedulerViewSelector.d.ts +0 -24
- package/dist/es/components/header/view-selector/SchedulerViewSelector.js +0 -38
- package/dist/es/components/header/view-selector/ViewSelectorItem.d.ts +0 -9
- package/dist/es/components/header/view-selector/ViewSelectorItem.js +0 -16
- package/dist/es/components/header/view-selector/ViewSelectorList.d.ts +0 -3
- package/dist/es/components/header/view-selector/ViewSelectorList.js +0 -69
- package/dist/es/constants/index.d.ts +0 -46
- package/dist/es/constants/index.js +0 -55
- package/dist/es/context/SchedulerContext.d.ts +0 -228
- package/dist/es/context/SchedulerContext.js +0 -187
- package/dist/es/context/SchedulerEditItemContext.d.ts +0 -168
- package/dist/es/context/SchedulerEditItemContext.js +0 -118
- package/dist/es/context/SchedulerEditSlotContext.d.ts +0 -47
- package/dist/es/context/SchedulerEditSlotContext.js +0 -37
- package/dist/es/context/SchedulerEditTaskContext.d.ts +0 -29
- package/dist/es/context/SchedulerEditTaskContext.js +0 -19
- package/dist/es/context/SchedulerResourceIteratorContext.d.ts +0 -16
- package/dist/es/context/SchedulerResourceIteratorContext.js +0 -12
- package/dist/es/context/SchedulerViewContext.d.ts +0 -71
- package/dist/es/context/SchedulerViewContext.js +0 -63
- package/dist/es/context/index.d.ts +0 -5
- package/dist/es/context/index.js +0 -5
- package/dist/es/editors/FilterableComboBox.d.ts +0 -5
- package/dist/es/editors/FilterableComboBox.js +0 -36
- package/dist/es/editors/ResourceEditor.d.ts +0 -15
- package/dist/es/editors/ResourceEditor.js +0 -51
- package/dist/es/editors/SchedulerFormEditor.d.ts +0 -242
- package/dist/es/editors/SchedulerFormEditor.js +0 -169
- package/dist/es/editors/ZonedDateTime.d.ts +0 -18
- package/dist/es/editors/ZonedDateTime.js +0 -54
- package/dist/es/editors/common.d.ts +0 -13
- package/dist/es/editors/common.js +0 -29
- package/dist/es/hooks/index.d.ts +0 -10
- package/dist/es/hooks/index.js +0 -10
- package/dist/es/hooks/use-items-focus.d.ts +0 -23
- package/dist/es/hooks/use-items-focus.js +0 -45
- package/dist/es/hooks/use-items-selection.d.ts +0 -31
- package/dist/es/hooks/use-items-selection.js +0 -87
- package/dist/es/hooks/use-slots-focus.d.ts +0 -34
- package/dist/es/hooks/use-slots-focus.js +0 -94
- package/dist/es/hooks/use-slots-selection.d.ts +0 -24
- package/dist/es/hooks/use-slots-selection.js +0 -52
- package/dist/es/hooks/useAsyncMouseEnterLeave.d.ts +0 -11
- package/dist/es/hooks/useAsyncMouseEnterLeave.js +0 -21
- package/dist/es/hooks/useCellSync.d.ts +0 -10
- package/dist/es/hooks/useCellSync.js +0 -42
- package/dist/es/hooks/useControlledState.d.ts +0 -13
- package/dist/es/hooks/useControlledState.js +0 -23
- package/dist/es/hooks/useEditable.d.ts +0 -3
- package/dist/es/hooks/useEditable.js +0 -27
- package/dist/es/hooks/usePropOrState.d.ts +0 -2
- package/dist/es/hooks/usePropOrState.js +0 -9
- package/dist/es/hooks/useRowSync.d.ts +0 -11
- package/dist/es/hooks/useRowSync.js +0 -43
- package/dist/es/hooks/useSchedulerItem.d.ts +0 -7
- package/dist/es/hooks/useSchedulerItem.js +0 -30
- package/dist/es/hooks/useSchedulerSlot.d.ts +0 -7
- package/dist/es/hooks/useSchedulerSlot.js +0 -29
- package/dist/es/hooks/useSlotExpand.d.ts +0 -5
- package/dist/es/hooks/useSlotExpand.js +0 -97
- package/dist/es/hooks/useWorkHours.d.ts +0 -2
- package/dist/es/hooks/useWorkHours.js +0 -10
- package/dist/es/items/SchedulerEditItem.d.ts +0 -326
- package/dist/es/items/SchedulerEditItem.js +0 -626
- package/dist/es/items/SchedulerItem.d.ts +0 -199
- package/dist/es/items/SchedulerItem.js +0 -325
- package/dist/es/items/SchedulerItemContent.d.ts +0 -11
- package/dist/es/items/SchedulerItemContent.js +0 -21
- package/dist/es/items/SchedulerProportionalViewItem.d.ts +0 -8
- package/dist/es/items/SchedulerProportionalViewItem.js +0 -233
- package/dist/es/items/SchedulerViewItem.d.ts +0 -30
- package/dist/es/items/SchedulerViewItem.js +0 -235
- package/dist/es/items/hooks/use-drag-item.d.ts +0 -42
- package/dist/es/items/hooks/use-drag-item.js +0 -209
- package/dist/es/items/hooks/use-form-item.d.ts +0 -22
- package/dist/es/items/hooks/use-form-item.js +0 -48
- package/dist/es/items/hooks/use-remove-item.d.ts +0 -30
- package/dist/es/items/hooks/use-remove-item.js +0 -46
- package/dist/es/items/hooks/use-resize-item.d.ts +0 -45
- package/dist/es/items/hooks/use-resize-item.js +0 -249
- package/dist/es/items/hooks/use-series.d.ts +0 -23
- package/dist/es/items/hooks/use-series.js +0 -36
- package/dist/es/items/hooks/use-show-occurrence-dialog.d.ts +0 -27
- package/dist/es/items/hooks/use-show-occurrence-dialog.js +0 -44
- package/dist/es/items/hooks/use-show-remove-item-dialog.d.ts +0 -27
- package/dist/es/items/hooks/use-show-remove-item-dialog.js +0 -44
- package/dist/es/main.d.ts +0 -40
- package/dist/es/main.js +0 -56
- package/dist/es/messages/index.d.ts +0 -236
- package/dist/es/messages/index.js +0 -237
- package/dist/es/models/DataItem.d.ts +0 -8
- package/dist/es/models/DataItem.js +0 -1
- package/dist/es/models/DateRange.d.ts +0 -18
- package/dist/es/models/DateRange.js +0 -1
- package/dist/es/models/EditableProp.d.ts +0 -29
- package/dist/es/models/EditableProp.js +0 -1
- package/dist/es/models/Fields.d.ts +0 -17
- package/dist/es/models/Fields.js +0 -1
- package/dist/es/models/Group.d.ts +0 -8
- package/dist/es/models/Group.js +0 -1
- package/dist/es/models/Item.d.ts +0 -65
- package/dist/es/models/Item.js +0 -1
- package/dist/es/models/NavigationAction.d.ts +0 -58
- package/dist/es/models/NavigationAction.js +0 -11
- package/dist/es/models/Occurrence.d.ts +0 -52
- package/dist/es/models/Occurrence.js +0 -1
- package/dist/es/models/Omit.d.ts +0 -4
- package/dist/es/models/Omit.js +0 -1
- package/dist/es/models/Orientation.d.ts +0 -2
- package/dist/es/models/Orientation.js +0 -1
- package/dist/es/models/Range.d.ts +0 -10
- package/dist/es/models/Range.js +0 -1
- package/dist/es/models/Rect.d.ts +0 -15
- package/dist/es/models/Rect.js +0 -1
- package/dist/es/models/Resource.d.ts +0 -8
- package/dist/es/models/Resource.js +0 -1
- package/dist/es/models/SchedulerGroup.d.ts +0 -13
- package/dist/es/models/SchedulerGroup.js +0 -1
- package/dist/es/models/SchedulerHandle.d.ts +0 -8
- package/dist/es/models/SchedulerHandle.js +0 -1
- package/dist/es/models/SchedulerModelFields.d.ts +0 -62
- package/dist/es/models/SchedulerModelFields.js +0 -1
- package/dist/es/models/SchedulerResource.d.ts +0 -33
- package/dist/es/models/SchedulerResource.js +0 -1
- package/dist/es/models/SchedulerView.d.ts +0 -77
- package/dist/es/models/SchedulerView.js +0 -1
- package/dist/es/models/Slot.d.ts +0 -51
- package/dist/es/models/Slot.js +0 -1
- package/dist/es/models/events.d.ts +0 -82
- package/dist/es/models/events.js +0 -1
- package/dist/es/models/index.d.ts +0 -17
- package/dist/es/models/index.js +0 -17
- package/dist/es/package-metadata.d.ts +0 -5
- package/dist/es/package-metadata.js +0 -11
- package/dist/es/recurrence/RecurrenceEditor.d.ts +0 -12
- package/dist/es/recurrence/RecurrenceEditor.js +0 -309
- package/dist/es/recurrence/RecurrenceFrequencyEditor.d.ts +0 -10
- package/dist/es/recurrence/RecurrenceFrequencyEditor.js +0 -36
- package/dist/es/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +0 -13
- package/dist/es/recurrence/RecurrenceRepeatOnWeekEditor.js +0 -55
- package/dist/es/recurrence/common.d.ts +0 -57
- package/dist/es/recurrence/common.js +0 -212
- package/dist/es/recurrence/types/EndRule.d.ts +0 -4
- package/dist/es/recurrence/types/EndRule.js +0 -1
- package/dist/es/recurrence/types/Frequency.d.ts +0 -4
- package/dist/es/recurrence/types/Frequency.js +0 -1
- package/dist/es/recurrence/types/FrequencyEntity.d.ts +0 -8
- package/dist/es/recurrence/types/FrequencyEntity.js +0 -1
- package/dist/es/recurrence/types/MonthEntity.d.ts +0 -7
- package/dist/es/recurrence/types/MonthEntity.js +0 -1
- package/dist/es/recurrence/types/OffsetPosition.d.ts +0 -4
- package/dist/es/recurrence/types/OffsetPosition.js +0 -1
- package/dist/es/recurrence/types/OffsetPositionEntity.d.ts +0 -7
- package/dist/es/recurrence/types/OffsetPositionEntity.js +0 -1
- package/dist/es/recurrence/types/RepeatOnRule.d.ts +0 -4
- package/dist/es/recurrence/types/RepeatOnRule.js +0 -1
- package/dist/es/recurrence/types/WeekDayEntity.d.ts +0 -7
- package/dist/es/recurrence/types/WeekDayEntity.js +0 -1
- package/dist/es/recurrence/types/WeekDayRule.d.ts +0 -8
- package/dist/es/recurrence/types/WeekDayRule.js +0 -1
- package/dist/es/recurrence/utils/index.d.ts +0 -0
- package/dist/es/recurrence/utils/index.js +0 -1
- package/dist/es/reducers/editReducer.d.ts +0 -33
- package/dist/es/reducers/editReducer.js +0 -65
- package/dist/es/reducers/index.d.ts +0 -1
- package/dist/es/reducers/index.js +0 -1
- package/dist/es/services/index.d.ts +0 -4
- package/dist/es/services/index.js +0 -4
- package/dist/es/services/itemsService.d.ts +0 -12
- package/dist/es/services/itemsService.js +0 -77
- package/dist/es/services/occurrenceService.d.ts +0 -3
- package/dist/es/services/occurrenceService.js +0 -92
- package/dist/es/services/rangeService.d.ts +0 -3
- package/dist/es/services/rangeService.js +0 -23
- package/dist/es/services/slotsService.d.ts +0 -6
- package/dist/es/services/slotsService.js +0 -43
- package/dist/es/slots/SchedulerEditSlot.d.ts +0 -48
- package/dist/es/slots/SchedulerEditSlot.js +0 -228
- package/dist/es/slots/SchedulerSlot.d.ts +0 -123
- package/dist/es/slots/SchedulerSlot.js +0 -155
- package/dist/es/slots/SchedulerViewSlot.d.ts +0 -42
- package/dist/es/slots/SchedulerViewSlot.js +0 -49
- package/dist/es/tasks/SchedulerEditTask.d.ts +0 -75
- package/dist/es/tasks/SchedulerEditTask.js +0 -156
- package/dist/es/tasks/SchedulerTask.d.ts +0 -57
- package/dist/es/tasks/SchedulerTask.js +0 -42
- package/dist/es/tasks/SchedulerViewTask.d.ts +0 -28
- package/dist/es/tasks/SchedulerViewTask.js +0 -44
- package/dist/es/utils/index.d.ts +0 -168
- package/dist/es/utils/index.js +0 -556
- package/dist/es/views/agenda/AgendaView.d.ts +0 -79
- package/dist/es/views/agenda/AgendaView.js +0 -151
- package/dist/es/views/agenda/AgendaViewHeaderItem.d.ts +0 -8
- package/dist/es/views/agenda/AgendaViewHeaderItem.js +0 -11
- package/dist/es/views/common/HorizontalResourceIterator.d.ts +0 -26
- package/dist/es/views/common/HorizontalResourceIterator.js +0 -59
- package/dist/es/views/common/SchedulerDrag.d.ts +0 -35
- package/dist/es/views/common/SchedulerDrag.js +0 -41
- package/dist/es/views/common/SchedulerResize.d.ts +0 -37
- package/dist/es/views/common/SchedulerResize.js +0 -41
- package/dist/es/views/common/VerticalResourceIterator.d.ts +0 -21
- package/dist/es/views/common/VerticalResourceIterator.js +0 -93
- package/dist/es/views/common/utils.d.ts +0 -34
- package/dist/es/views/common/utils.js +0 -188
- package/dist/es/views/day/DayView.d.ts +0 -11
- package/dist/es/views/day/DayView.js +0 -31
- package/dist/es/views/day/DayViewAllDayRowContent.d.ts +0 -8
- package/dist/es/views/day/DayViewAllDayRowContent.js +0 -10
- package/dist/es/views/day/DayViewGroupRowContent.d.ts +0 -8
- package/dist/es/views/day/DayViewGroupRowContent.js +0 -7
- package/dist/es/views/day/DayViewRowContent.d.ts +0 -13
- package/dist/es/views/day/DayViewRowContent.js +0 -14
- package/dist/es/views/day/MultiDayView.d.ts +0 -171
- package/dist/es/views/day/MultiDayView.js +0 -270
- package/dist/es/views/month/MonthView.d.ts +0 -82
- package/dist/es/views/month/MonthView.js +0 -139
- package/dist/es/views/time/MultiDayTimelineView.d.ts +0 -175
- package/dist/es/views/time/MultiDayTimelineView.js +0 -209
- package/dist/es/views/time/TimelineView.d.ts +0 -23
- package/dist/es/views/time/TimelineView.js +0 -32
- package/dist/es/views/time/TimelineViewAllEventsRowContent.d.ts +0 -7
- package/dist/es/views/time/TimelineViewAllEventsRowContent.js +0 -11
- package/dist/es/views/time/TimelineViewRowContent.d.ts +0 -7
- package/dist/es/views/time/TimelineViewRowContent.js +0 -8
- package/dist/es/views/week/WeekView.d.ts +0 -102
- package/dist/es/views/week/WeekView.js +0 -52
- package/dist/es/views/week/WorkWeekView.d.ts +0 -5
- package/dist/es/views/week/WorkWeekView.js +0 -77
- package/dist/npm/Scheduler.d.ts +0 -365
- package/dist/npm/Scheduler.js +0 -435
- package/dist/npm/components/BaseView.d.ts +0 -18
- package/dist/npm/components/BaseView.js +0 -37
- package/dist/npm/components/CurrentTimeMarket.d.ts +0 -15
- package/dist/npm/components/CurrentTimeMarket.js +0 -144
- package/dist/npm/components/DateHeaderCell.d.ts +0 -42
- package/dist/npm/components/DateHeaderCell.js +0 -58
- package/dist/npm/components/SchedulerForm.d.ts +0 -67
- package/dist/npm/components/SchedulerForm.js +0 -104
- package/dist/npm/components/SchedulerOccurrenceDialog.d.ts +0 -42
- package/dist/npm/components/SchedulerOccurrenceDialog.js +0 -64
- package/dist/npm/components/SchedulerRemoveDialog.d.ts +0 -38
- package/dist/npm/components/SchedulerRemoveDialog.js +0 -58
- package/dist/npm/components/ShowMoreItemsButton.d.ts +0 -26
- package/dist/npm/components/ShowMoreItemsButton.js +0 -45
- package/dist/npm/components/TimeHeaderCell.d.ts +0 -42
- package/dist/npm/components/TimeHeaderCell.js +0 -57
- package/dist/npm/components/footer/SchedulerFooter.d.ts +0 -21
- package/dist/npm/components/footer/SchedulerFooter.js +0 -42
- package/dist/npm/components/footer/bussiness-hours/BussinessHours.d.ts +0 -13
- package/dist/npm/components/footer/bussiness-hours/BussinessHours.js +0 -37
- package/dist/npm/components/header/SchedulerHeader.d.ts +0 -18
- package/dist/npm/components/header/SchedulerHeader.js +0 -43
- package/dist/npm/components/header/navigation/NavigationDatePicker.d.ts +0 -5
- package/dist/npm/components/header/navigation/NavigationDatePicker.js +0 -103
- package/dist/npm/components/header/navigation/SchedulerNavigation.d.ts +0 -24
- package/dist/npm/components/header/navigation/SchedulerNavigation.js +0 -41
- package/dist/npm/components/header/view-selector/SchedulerViewSelector.d.ts +0 -24
- package/dist/npm/components/header/view-selector/SchedulerViewSelector.js +0 -41
- package/dist/npm/components/header/view-selector/ViewSelectorItem.d.ts +0 -9
- package/dist/npm/components/header/view-selector/ViewSelectorItem.js +0 -20
- package/dist/npm/components/header/view-selector/ViewSelectorList.d.ts +0 -3
- package/dist/npm/components/header/view-selector/ViewSelectorList.js +0 -72
- package/dist/npm/constants/index.d.ts +0 -46
- package/dist/npm/constants/index.js +0 -59
- package/dist/npm/context/SchedulerContext.d.ts +0 -228
- package/dist/npm/context/SchedulerContext.js +0 -203
- package/dist/npm/context/SchedulerEditItemContext.d.ts +0 -168
- package/dist/npm/context/SchedulerEditItemContext.js +0 -129
- package/dist/npm/context/SchedulerEditSlotContext.d.ts +0 -47
- package/dist/npm/context/SchedulerEditSlotContext.js +0 -43
- package/dist/npm/context/SchedulerEditTaskContext.d.ts +0 -29
- package/dist/npm/context/SchedulerEditTaskContext.js +0 -26
- package/dist/npm/context/SchedulerResourceIteratorContext.d.ts +0 -16
- package/dist/npm/context/SchedulerResourceIteratorContext.js +0 -16
- package/dist/npm/context/SchedulerViewContext.d.ts +0 -71
- package/dist/npm/context/SchedulerViewContext.js +0 -75
- package/dist/npm/context/index.d.ts +0 -5
- package/dist/npm/context/index.js +0 -21
- package/dist/npm/editors/FilterableComboBox.d.ts +0 -5
- package/dist/npm/editors/FilterableComboBox.js +0 -40
- package/dist/npm/editors/ResourceEditor.d.ts +0 -15
- package/dist/npm/editors/ResourceEditor.js +0 -55
- package/dist/npm/editors/SchedulerFormEditor.d.ts +0 -242
- package/dist/npm/editors/SchedulerFormEditor.js +0 -172
- package/dist/npm/editors/ZonedDateTime.d.ts +0 -18
- package/dist/npm/editors/ZonedDateTime.js +0 -58
- package/dist/npm/editors/common.d.ts +0 -13
- package/dist/npm/editors/common.js +0 -34
- package/dist/npm/hooks/index.d.ts +0 -10
- package/dist/npm/hooks/index.js +0 -26
- package/dist/npm/hooks/use-items-focus.d.ts +0 -23
- package/dist/npm/hooks/use-items-focus.js +0 -49
- package/dist/npm/hooks/use-items-selection.d.ts +0 -31
- package/dist/npm/hooks/use-items-selection.js +0 -91
- package/dist/npm/hooks/use-slots-focus.d.ts +0 -34
- package/dist/npm/hooks/use-slots-focus.js +0 -102
- package/dist/npm/hooks/use-slots-selection.d.ts +0 -24
- package/dist/npm/hooks/use-slots-selection.js +0 -56
- package/dist/npm/hooks/useAsyncMouseEnterLeave.d.ts +0 -11
- package/dist/npm/hooks/useAsyncMouseEnterLeave.js +0 -25
- package/dist/npm/hooks/useCellSync.d.ts +0 -10
- package/dist/npm/hooks/useCellSync.js +0 -46
- package/dist/npm/hooks/useControlledState.d.ts +0 -13
- package/dist/npm/hooks/useControlledState.js +0 -27
- package/dist/npm/hooks/useEditable.d.ts +0 -3
- package/dist/npm/hooks/useEditable.js +0 -31
- package/dist/npm/hooks/usePropOrState.d.ts +0 -2
- package/dist/npm/hooks/usePropOrState.js +0 -13
- package/dist/npm/hooks/useRowSync.d.ts +0 -11
- package/dist/npm/hooks/useRowSync.js +0 -47
- package/dist/npm/hooks/useSchedulerItem.d.ts +0 -7
- package/dist/npm/hooks/useSchedulerItem.js +0 -34
- package/dist/npm/hooks/useSchedulerSlot.d.ts +0 -7
- package/dist/npm/hooks/useSchedulerSlot.js +0 -33
- package/dist/npm/hooks/useSlotExpand.d.ts +0 -5
- package/dist/npm/hooks/useSlotExpand.js +0 -101
- package/dist/npm/hooks/useWorkHours.d.ts +0 -2
- package/dist/npm/hooks/useWorkHours.js +0 -14
- package/dist/npm/items/SchedulerEditItem.d.ts +0 -326
- package/dist/npm/items/SchedulerEditItem.js +0 -629
- package/dist/npm/items/SchedulerItem.d.ts +0 -199
- package/dist/npm/items/SchedulerItem.js +0 -328
- package/dist/npm/items/SchedulerItemContent.d.ts +0 -11
- package/dist/npm/items/SchedulerItemContent.js +0 -24
- package/dist/npm/items/SchedulerProportionalViewItem.d.ts +0 -8
- package/dist/npm/items/SchedulerProportionalViewItem.js +0 -236
- package/dist/npm/items/SchedulerViewItem.d.ts +0 -30
- package/dist/npm/items/SchedulerViewItem.js +0 -238
- package/dist/npm/items/hooks/use-drag-item.d.ts +0 -42
- package/dist/npm/items/hooks/use-drag-item.js +0 -213
- package/dist/npm/items/hooks/use-form-item.d.ts +0 -22
- package/dist/npm/items/hooks/use-form-item.js +0 -52
- package/dist/npm/items/hooks/use-remove-item.d.ts +0 -30
- package/dist/npm/items/hooks/use-remove-item.js +0 -50
- package/dist/npm/items/hooks/use-resize-item.d.ts +0 -45
- package/dist/npm/items/hooks/use-resize-item.js +0 -253
- package/dist/npm/items/hooks/use-series.d.ts +0 -23
- package/dist/npm/items/hooks/use-series.js +0 -40
- package/dist/npm/items/hooks/use-show-occurrence-dialog.d.ts +0 -27
- package/dist/npm/items/hooks/use-show-occurrence-dialog.js +0 -48
- package/dist/npm/items/hooks/use-show-remove-item-dialog.d.ts +0 -27
- package/dist/npm/items/hooks/use-show-remove-item-dialog.js +0 -48
- package/dist/npm/main.d.ts +0 -40
- package/dist/npm/main.js +0 -127
- package/dist/npm/messages/index.d.ts +0 -236
- package/dist/npm/messages/index.js +0 -241
- package/dist/npm/models/DataItem.d.ts +0 -8
- package/dist/npm/models/DataItem.js +0 -2
- package/dist/npm/models/DateRange.d.ts +0 -18
- package/dist/npm/models/DateRange.js +0 -2
- package/dist/npm/models/EditableProp.d.ts +0 -29
- package/dist/npm/models/EditableProp.js +0 -2
- package/dist/npm/models/Fields.d.ts +0 -17
- package/dist/npm/models/Fields.js +0 -2
- package/dist/npm/models/Group.d.ts +0 -8
- package/dist/npm/models/Group.js +0 -2
- package/dist/npm/models/Item.d.ts +0 -65
- package/dist/npm/models/Item.js +0 -2
- package/dist/npm/models/NavigationAction.d.ts +0 -58
- package/dist/npm/models/NavigationAction.js +0 -12
- package/dist/npm/models/Occurrence.d.ts +0 -52
- package/dist/npm/models/Occurrence.js +0 -2
- package/dist/npm/models/Omit.d.ts +0 -4
- package/dist/npm/models/Omit.js +0 -2
- package/dist/npm/models/Orientation.d.ts +0 -2
- package/dist/npm/models/Orientation.js +0 -2
- package/dist/npm/models/Range.d.ts +0 -10
- package/dist/npm/models/Range.js +0 -2
- package/dist/npm/models/Rect.d.ts +0 -15
- package/dist/npm/models/Rect.js +0 -2
- package/dist/npm/models/Resource.d.ts +0 -8
- package/dist/npm/models/Resource.js +0 -2
- package/dist/npm/models/SchedulerGroup.d.ts +0 -13
- package/dist/npm/models/SchedulerGroup.js +0 -2
- package/dist/npm/models/SchedulerHandle.d.ts +0 -8
- package/dist/npm/models/SchedulerHandle.js +0 -2
- package/dist/npm/models/SchedulerModelFields.d.ts +0 -62
- package/dist/npm/models/SchedulerModelFields.js +0 -2
- package/dist/npm/models/SchedulerResource.d.ts +0 -33
- package/dist/npm/models/SchedulerResource.js +0 -2
- package/dist/npm/models/SchedulerView.d.ts +0 -77
- package/dist/npm/models/SchedulerView.js +0 -2
- package/dist/npm/models/Slot.d.ts +0 -51
- package/dist/npm/models/Slot.js +0 -2
- package/dist/npm/models/events.d.ts +0 -82
- package/dist/npm/models/events.js +0 -2
- package/dist/npm/models/index.d.ts +0 -17
- package/dist/npm/models/index.js +0 -33
- package/dist/npm/package-metadata.d.ts +0 -5
- package/dist/npm/package-metadata.js +0 -14
- package/dist/npm/recurrence/RecurrenceEditor.d.ts +0 -12
- package/dist/npm/recurrence/RecurrenceEditor.js +0 -313
- package/dist/npm/recurrence/RecurrenceFrequencyEditor.d.ts +0 -10
- package/dist/npm/recurrence/RecurrenceFrequencyEditor.js +0 -40
- package/dist/npm/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +0 -13
- package/dist/npm/recurrence/RecurrenceRepeatOnWeekEditor.js +0 -59
- package/dist/npm/recurrence/common.d.ts +0 -57
- package/dist/npm/recurrence/common.js +0 -233
- package/dist/npm/recurrence/types/EndRule.d.ts +0 -4
- package/dist/npm/recurrence/types/EndRule.js +0 -2
- package/dist/npm/recurrence/types/Frequency.d.ts +0 -4
- package/dist/npm/recurrence/types/Frequency.js +0 -2
- package/dist/npm/recurrence/types/FrequencyEntity.d.ts +0 -8
- package/dist/npm/recurrence/types/FrequencyEntity.js +0 -2
- package/dist/npm/recurrence/types/MonthEntity.d.ts +0 -7
- package/dist/npm/recurrence/types/MonthEntity.js +0 -2
- package/dist/npm/recurrence/types/OffsetPosition.d.ts +0 -4
- package/dist/npm/recurrence/types/OffsetPosition.js +0 -2
- package/dist/npm/recurrence/types/OffsetPositionEntity.d.ts +0 -7
- package/dist/npm/recurrence/types/OffsetPositionEntity.js +0 -2
- package/dist/npm/recurrence/types/RepeatOnRule.d.ts +0 -4
- package/dist/npm/recurrence/types/RepeatOnRule.js +0 -2
- package/dist/npm/recurrence/types/WeekDayEntity.d.ts +0 -7
- package/dist/npm/recurrence/types/WeekDayEntity.js +0 -2
- package/dist/npm/recurrence/types/WeekDayRule.d.ts +0 -8
- package/dist/npm/recurrence/types/WeekDayRule.js +0 -2
- package/dist/npm/recurrence/utils/index.d.ts +0 -0
- package/dist/npm/recurrence/utils/index.js +0 -1
- package/dist/npm/reducers/editReducer.d.ts +0 -33
- package/dist/npm/reducers/editReducer.js +0 -69
- package/dist/npm/reducers/index.d.ts +0 -1
- package/dist/npm/reducers/index.js +0 -17
- package/dist/npm/services/index.d.ts +0 -4
- package/dist/npm/services/index.js +0 -20
- package/dist/npm/services/itemsService.d.ts +0 -12
- package/dist/npm/services/itemsService.js +0 -84
- package/dist/npm/services/occurrenceService.d.ts +0 -3
- package/dist/npm/services/occurrenceService.js +0 -96
- package/dist/npm/services/rangeService.d.ts +0 -3
- package/dist/npm/services/rangeService.js +0 -27
- package/dist/npm/services/slotsService.d.ts +0 -6
- package/dist/npm/services/slotsService.js +0 -47
- package/dist/npm/slots/SchedulerEditSlot.d.ts +0 -48
- package/dist/npm/slots/SchedulerEditSlot.js +0 -231
- package/dist/npm/slots/SchedulerSlot.d.ts +0 -123
- package/dist/npm/slots/SchedulerSlot.js +0 -158
- package/dist/npm/slots/SchedulerViewSlot.d.ts +0 -42
- package/dist/npm/slots/SchedulerViewSlot.js +0 -52
- package/dist/npm/tasks/SchedulerEditTask.d.ts +0 -75
- package/dist/npm/tasks/SchedulerEditTask.js +0 -159
- package/dist/npm/tasks/SchedulerTask.d.ts +0 -57
- package/dist/npm/tasks/SchedulerTask.js +0 -45
- package/dist/npm/tasks/SchedulerViewTask.d.ts +0 -28
- package/dist/npm/tasks/SchedulerViewTask.js +0 -47
- package/dist/npm/utils/index.d.ts +0 -168
- package/dist/npm/utils/index.js +0 -606
- package/dist/npm/views/agenda/AgendaView.d.ts +0 -79
- package/dist/npm/views/agenda/AgendaView.js +0 -155
- package/dist/npm/views/agenda/AgendaViewHeaderItem.d.ts +0 -8
- package/dist/npm/views/agenda/AgendaViewHeaderItem.js +0 -15
- package/dist/npm/views/common/HorizontalResourceIterator.d.ts +0 -26
- package/dist/npm/views/common/HorizontalResourceIterator.js +0 -64
- package/dist/npm/views/common/SchedulerDrag.d.ts +0 -35
- package/dist/npm/views/common/SchedulerDrag.js +0 -45
- package/dist/npm/views/common/SchedulerResize.d.ts +0 -37
- package/dist/npm/views/common/SchedulerResize.js +0 -45
- package/dist/npm/views/common/VerticalResourceIterator.d.ts +0 -21
- package/dist/npm/views/common/VerticalResourceIterator.js +0 -97
- package/dist/npm/views/common/utils.d.ts +0 -34
- package/dist/npm/views/common/utils.js +0 -202
- package/dist/npm/views/day/DayView.d.ts +0 -11
- package/dist/npm/views/day/DayView.js +0 -35
- package/dist/npm/views/day/DayViewAllDayRowContent.d.ts +0 -8
- package/dist/npm/views/day/DayViewAllDayRowContent.js +0 -14
- package/dist/npm/views/day/DayViewGroupRowContent.d.ts +0 -8
- package/dist/npm/views/day/DayViewGroupRowContent.js +0 -11
- package/dist/npm/views/day/DayViewRowContent.d.ts +0 -13
- package/dist/npm/views/day/DayViewRowContent.js +0 -18
- package/dist/npm/views/day/MultiDayView.d.ts +0 -171
- package/dist/npm/views/day/MultiDayView.js +0 -274
- package/dist/npm/views/month/MonthView.d.ts +0 -82
- package/dist/npm/views/month/MonthView.js +0 -143
- package/dist/npm/views/time/MultiDayTimelineView.d.ts +0 -175
- package/dist/npm/views/time/MultiDayTimelineView.js +0 -213
- package/dist/npm/views/time/TimelineView.d.ts +0 -23
- package/dist/npm/views/time/TimelineView.js +0 -36
- package/dist/npm/views/time/TimelineViewAllEventsRowContent.d.ts +0 -7
- package/dist/npm/views/time/TimelineViewAllEventsRowContent.js +0 -15
- package/dist/npm/views/time/TimelineViewRowContent.d.ts +0 -7
- package/dist/npm/views/time/TimelineViewRowContent.js +0 -12
- package/dist/npm/views/week/WeekView.d.ts +0 -102
- package/dist/npm/views/week/WeekView.js +0 -56
- package/dist/npm/views/week/WorkWeekView.d.ts +0 -5
- package/dist/npm/views/week/WorkWeekView.js +0 -81
- package/dist/systemjs/kendo-react-scheduler.js +0 -1
- package/e2e-next/basic.tests.ts +0 -24
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
14
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
15
|
-
if (ar || !(i in from)) {
|
|
16
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
17
|
-
ar[i] = from[i];
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
21
|
-
};
|
|
22
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
-
exports.setRect = exports.getBorders = exports.getPadding = exports.getRect = exports.resourcesByIndex = exports.expandResources = exports.addUTCDays = exports.toGroupResources = exports.calculateEventRect = exports.toFlatGroupResources = exports.last = void 0;
|
|
24
|
-
/** @hidden */
|
|
25
|
-
var last = function (arr) { return arr[arr.length - 1]; };
|
|
26
|
-
exports.last = last;
|
|
27
|
-
/** @hidden */
|
|
28
|
-
var toFlatGroupResources = function (resources, index, depth, parents) {
|
|
29
|
-
if (index === void 0) { index = 0; }
|
|
30
|
-
if (depth === void 0) { depth = 0; }
|
|
31
|
-
if (parents === void 0) { parents = []; }
|
|
32
|
-
if (resources.length <= index) {
|
|
33
|
-
return [parents];
|
|
34
|
-
}
|
|
35
|
-
var result = [];
|
|
36
|
-
resources[index].data.map(function (item) {
|
|
37
|
-
result.push.apply(result, (0, exports.toFlatGroupResources)(resources, index + 1, depth + 1, __spreadArray(__spreadArray([], parents, true), [__assign(__assign({}, item), { field: resources[index].field, valueField: resources[index].valueField, colorField: resources[index].colorField, multiple: resources[index].multiple })], false)));
|
|
38
|
-
});
|
|
39
|
-
return result;
|
|
40
|
-
};
|
|
41
|
-
exports.toFlatGroupResources = toFlatGroupResources;
|
|
42
|
-
/** @hidden */
|
|
43
|
-
var calculateEventRect = function (slots, vertical) {
|
|
44
|
-
// console.log(slots.length && slots[0]);
|
|
45
|
-
if (slots.length < 1 || !slots[0]._ref || !slots[0]._ref.current) {
|
|
46
|
-
return null;
|
|
47
|
-
}
|
|
48
|
-
var firstSlotRect = (0, exports.getRect)(slots[0]._ref.current.element);
|
|
49
|
-
var rect = {
|
|
50
|
-
top: firstSlotRect.top,
|
|
51
|
-
left: firstSlotRect.left,
|
|
52
|
-
right: firstSlotRect.right,
|
|
53
|
-
width: firstSlotRect.width,
|
|
54
|
-
height: 0
|
|
55
|
-
};
|
|
56
|
-
slots.forEach(function (slot) {
|
|
57
|
-
if (!slot._ref.current) {
|
|
58
|
-
return;
|
|
59
|
-
}
|
|
60
|
-
var height = (0, exports.getRect)(slot._ref.current.element).height;
|
|
61
|
-
if (height !== undefined) {
|
|
62
|
-
if (!vertical && height >= rect.height) {
|
|
63
|
-
rect.height = height;
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
rect.height += height;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
return rect;
|
|
71
|
-
};
|
|
72
|
-
exports.calculateEventRect = calculateEventRect;
|
|
73
|
-
/**
|
|
74
|
-
* @hidden
|
|
75
|
-
*/
|
|
76
|
-
function toGroupResources(group, resources) {
|
|
77
|
-
var result = [];
|
|
78
|
-
if (!resources || !resources.length) {
|
|
79
|
-
return result;
|
|
80
|
-
}
|
|
81
|
-
if (group && group.resources && group.resources.length) {
|
|
82
|
-
var groups_1 = group.resources;
|
|
83
|
-
var _loop_1 = function (idx) {
|
|
84
|
-
var resource = resources.find(function (r) { return r.name === groups_1[idx]; });
|
|
85
|
-
result.push(resource);
|
|
86
|
-
};
|
|
87
|
-
for (var idx = 0; idx < groups_1.length; idx++) {
|
|
88
|
-
_loop_1(idx);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
return result;
|
|
92
|
-
}
|
|
93
|
-
exports.toGroupResources = toGroupResources;
|
|
94
|
-
/**
|
|
95
|
-
* @hidden
|
|
96
|
-
* TODO Move to date-math
|
|
97
|
-
*/
|
|
98
|
-
function addUTCDays(date, offset) {
|
|
99
|
-
var newDate = new Date(date.getTime());
|
|
100
|
-
newDate.setUTCDate(newDate.getUTCDate() + offset);
|
|
101
|
-
return newDate;
|
|
102
|
-
}
|
|
103
|
-
exports.addUTCDays = addUTCDays;
|
|
104
|
-
/**
|
|
105
|
-
* @hidden
|
|
106
|
-
* ResourceIterator:
|
|
107
|
-
*/
|
|
108
|
-
var expandResources = function (resources, lastIndex) {
|
|
109
|
-
if (lastIndex === void 0) { lastIndex = resources.length - 1; }
|
|
110
|
-
var currentLastIndex = Math.max(0, lastIndex);
|
|
111
|
-
var data = [];
|
|
112
|
-
if (!(resources && resources.length)) {
|
|
113
|
-
resources = [{}];
|
|
114
|
-
}
|
|
115
|
-
var lastData = (resources[currentLastIndex].data || []).map(function (d) { return (__assign(__assign({}, d), { text: d[resources[currentLastIndex].textField] })); }) || [];
|
|
116
|
-
var length = lastData.length;
|
|
117
|
-
var count = 1;
|
|
118
|
-
for (var idx = 0; idx <= currentLastIndex; idx++) {
|
|
119
|
-
count *= (resources[idx].data || []).length || 1;
|
|
120
|
-
}
|
|
121
|
-
for (var idx = 0; idx < count; idx++) {
|
|
122
|
-
if (lastData[idx % length]) {
|
|
123
|
-
data.push(lastData[idx % length]);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
return data;
|
|
127
|
-
};
|
|
128
|
-
exports.expandResources = expandResources;
|
|
129
|
-
/**
|
|
130
|
-
* @hidden
|
|
131
|
-
*/
|
|
132
|
-
var resourcesByIndex = function (index, taskResources, spans) {
|
|
133
|
-
// TODO: introduce cache mechanism
|
|
134
|
-
// if (!this.resourcesCache[index]) {
|
|
135
|
-
var resources = taskResources;
|
|
136
|
-
var result = [];
|
|
137
|
-
var currentIndex = index;
|
|
138
|
-
for (var idx = 0; idx < resources.length; idx++) {
|
|
139
|
-
var data = resources[idx].data || [];
|
|
140
|
-
var dataIdx = Math.floor(currentIndex / spans[idx]);
|
|
141
|
-
result.push(data[dataIdx]);
|
|
142
|
-
currentIndex -= dataIdx * spans[idx];
|
|
143
|
-
}
|
|
144
|
-
return result;
|
|
145
|
-
};
|
|
146
|
-
exports.resourcesByIndex = resourcesByIndex;
|
|
147
|
-
/** @hidden */
|
|
148
|
-
var getRect = function (el) {
|
|
149
|
-
if (!el) {
|
|
150
|
-
return { top: 0, left: 0, width: 0, height: 0, right: 0 };
|
|
151
|
-
}
|
|
152
|
-
var top = el.offsetTop;
|
|
153
|
-
var left = el.offsetLeft;
|
|
154
|
-
var right = el.offsetParent ? el.offsetParent.offsetWidth - (el.offsetLeft + el.offsetWidth) : 0;
|
|
155
|
-
var width = el.offsetWidth;
|
|
156
|
-
var height = el.offsetHeight;
|
|
157
|
-
return {
|
|
158
|
-
top: top,
|
|
159
|
-
left: left,
|
|
160
|
-
right: right,
|
|
161
|
-
width: width,
|
|
162
|
-
height: height
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
exports.getRect = getRect;
|
|
166
|
-
/** @hidden */
|
|
167
|
-
var getPadding = function (el, horizontal) {
|
|
168
|
-
if (horizontal === void 0) { horizontal = false; }
|
|
169
|
-
return parseFloat(window.getComputedStyle(el)[horizontal ? 'paddingLeft' : 'paddingTop'] || '0')
|
|
170
|
-
+ parseFloat(window.getComputedStyle(el)[horizontal ? 'paddingRight' : 'paddingBottom'] || '0');
|
|
171
|
-
};
|
|
172
|
-
exports.getPadding = getPadding;
|
|
173
|
-
/** @hidden */
|
|
174
|
-
var getBorders = function (el, horizontal) {
|
|
175
|
-
if (horizontal === void 0) { horizontal = false; }
|
|
176
|
-
return parseFloat(window.getComputedStyle(el)[horizontal ? 'borderLeftWidth' : 'borderTopWidth'] || '0')
|
|
177
|
-
+ parseFloat(window.getComputedStyle(el)[horizontal ? 'borderRightWidth' : 'borderBottomWidth'] || '0');
|
|
178
|
-
};
|
|
179
|
-
exports.getBorders = getBorders;
|
|
180
|
-
/** @hidden */
|
|
181
|
-
var setRect = function (el, rect, minHeightInsteadOfHeight) {
|
|
182
|
-
if (minHeightInsteadOfHeight === void 0) { minHeightInsteadOfHeight = false; }
|
|
183
|
-
if (!el) {
|
|
184
|
-
return;
|
|
185
|
-
}
|
|
186
|
-
if (rect.top !== undefined) {
|
|
187
|
-
el.style.top = "".concat(rect.top, "px");
|
|
188
|
-
}
|
|
189
|
-
if (rect.left !== undefined) {
|
|
190
|
-
el.style.left = "".concat(rect.left, "px");
|
|
191
|
-
}
|
|
192
|
-
if (rect.width !== undefined) {
|
|
193
|
-
el.style.width = "".concat(rect.width, "px");
|
|
194
|
-
}
|
|
195
|
-
if (rect.height !== undefined && !minHeightInsteadOfHeight) {
|
|
196
|
-
el.style.height = typeof rect.height === 'number' ? "".concat(rect.height, "px") : rect.height;
|
|
197
|
-
}
|
|
198
|
-
if (minHeightInsteadOfHeight) {
|
|
199
|
-
el.style.minHeight = rect.height !== undefined && rect.height > 0 ? "".concat(rect.height, "px") : '';
|
|
200
|
-
}
|
|
201
|
-
};
|
|
202
|
-
exports.setRect = setRect;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { MultiDayViewProps } from '../day/MultiDayView';
|
|
3
|
-
/**
|
|
4
|
-
* Represents the properties of the [DayView]({% slug api_scheduler_dayviewprops %}) Component.
|
|
5
|
-
*/
|
|
6
|
-
export interface DayViewProps extends MultiDayViewProps {
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Represents the KendoReact [DayView]({% slug day_view_scheduler %}) Component.
|
|
10
|
-
*/
|
|
11
|
-
export declare const DayView: React.FunctionComponent<DayViewProps>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.DayView = void 0;
|
|
15
|
-
var React = require("react");
|
|
16
|
-
var MultiDayView_1 = require("../day/MultiDayView");
|
|
17
|
-
var messages_1 = require("../../messages");
|
|
18
|
-
/**
|
|
19
|
-
* Represents the KendoReact [DayView]({% slug day_view_scheduler %}) Component.
|
|
20
|
-
*/
|
|
21
|
-
var DayView = function (props) { return React.createElement(MultiDayView_1.MultiDayView, __assign({}, props)); };
|
|
22
|
-
exports.DayView = DayView;
|
|
23
|
-
var defaultProps = {
|
|
24
|
-
name: 'day',
|
|
25
|
-
title: function (localization) { return localization.toLanguageString(messages_1.dayViewTitle, messages_1.messages[messages_1.dayViewTitle]); },
|
|
26
|
-
dateRange: MultiDayView_1.defaultProps.dateRange,
|
|
27
|
-
step: 1,
|
|
28
|
-
numberOfDays: 1,
|
|
29
|
-
slotDuration: 60,
|
|
30
|
-
slotDivisions: 2,
|
|
31
|
-
selectedDateFormat: '{0:D}',
|
|
32
|
-
selectedShortDateFormat: '{0:d}'
|
|
33
|
-
};
|
|
34
|
-
exports.DayView.defaultProps = defaultProps;
|
|
35
|
-
exports.DayView.displayName = 'KendoReactSchedulerDayView';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
/** @hidden */
|
|
3
|
-
export interface DayViewAllDayRowContentProps {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
groupIndex?: number;
|
|
6
|
-
}
|
|
7
|
-
/** @hidden */
|
|
8
|
-
export declare const DayViewAllDayRowContent: (props: DayViewAllDayRowContentProps) => JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DayViewAllDayRowContent = void 0;
|
|
4
|
-
var React = require("react");
|
|
5
|
-
var kendo_react_intl_1 = require("@progress/kendo-react-intl");
|
|
6
|
-
var messages_1 = require("../../messages");
|
|
7
|
-
/** @hidden */
|
|
8
|
-
var DayViewAllDayRowContent = function (props) {
|
|
9
|
-
var localization = (0, kendo_react_intl_1.useLocalization)();
|
|
10
|
-
return (React.createElement(React.Fragment, null,
|
|
11
|
-
React.createElement("div", { className: "k-scheduler-cell k-heading-cell k-side-cell k-scheduler-times-all-day" }, localization.toLanguageString(messages_1.allDay, messages_1.messages[messages_1.allDay])),
|
|
12
|
-
props.children));
|
|
13
|
-
};
|
|
14
|
-
exports.DayViewAllDayRowContent = DayViewAllDayRowContent;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
/** @hidden */
|
|
3
|
-
export interface DayViewGroupRowContentArgs {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
rangeIndex: number;
|
|
6
|
-
}
|
|
7
|
-
/** @hidden */
|
|
8
|
-
export declare const DayViewGroupRowContent: React.FunctionComponent<DayViewGroupRowContentArgs>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DayViewGroupRowContent = void 0;
|
|
4
|
-
var React = require("react");
|
|
5
|
-
/** @hidden */
|
|
6
|
-
var DayViewGroupRowContent = function (props) {
|
|
7
|
-
return (React.createElement(React.Fragment, null,
|
|
8
|
-
React.createElement("div", { className: "k-scheduler-cell k-side-cell", "data-range-index": props.rangeIndex }),
|
|
9
|
-
props.children));
|
|
10
|
-
};
|
|
11
|
-
exports.DayViewGroupRowContent = DayViewGroupRowContent;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Slot } from '../../models';
|
|
3
|
-
import { TimeHeaderCellProps } from '../../components/TimeHeaderCell';
|
|
4
|
-
/** @hidden */
|
|
5
|
-
export interface DayViewRowContentArgs {
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
slot: Slot;
|
|
8
|
-
isMaster?: boolean;
|
|
9
|
-
isLast?: boolean;
|
|
10
|
-
timeHeaderCell?: React.ComponentType<TimeHeaderCellProps>;
|
|
11
|
-
}
|
|
12
|
-
/** @hidden */
|
|
13
|
-
export declare const DayViewRowContent: (props: DayViewRowContentArgs) => JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DayViewRowContent = void 0;
|
|
4
|
-
var React = require("react");
|
|
5
|
-
var kendo_react_common_1 = require("@progress/kendo-react-common");
|
|
6
|
-
var TimeHeaderCell_1 = require("../../components/TimeHeaderCell");
|
|
7
|
-
/** @hidden */
|
|
8
|
-
var DayViewRowContent = function (props) {
|
|
9
|
-
var slot = props.slot, children = props.children;
|
|
10
|
-
return (React.createElement(React.Fragment, null,
|
|
11
|
-
props.isMaster
|
|
12
|
-
? React.createElement(TimeHeaderCell_1.TimeHeaderCell, { as: props.timeHeaderCell, date: slot.zonedStart, start: slot.zonedStart, end: slot.zonedEnd, className: (0, kendo_react_common_1.classNames)('k-side-cell', {
|
|
13
|
-
'k-major-cell': !props.isLast
|
|
14
|
-
}) })
|
|
15
|
-
: React.createElement("div", { className: 'k-scheduler-cell k-heading-cell k-side-cell' }),
|
|
16
|
-
children));
|
|
17
|
-
};
|
|
18
|
-
exports.DayViewRowContent = DayViewRowContent;
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Day } from '@progress/kendo-date-math';
|
|
3
|
-
import { DateRange, SchedulerViewProps, SchedulerViewDateRangeArgs } from '../../models';
|
|
4
|
-
import { SchedulerItemProps } from '../../items/SchedulerItem';
|
|
5
|
-
import { SchedulerSlotProps } from '../../slots/SchedulerSlot';
|
|
6
|
-
import { SchedulerViewItemProps } from '../../items/SchedulerViewItem';
|
|
7
|
-
import { SchedulerViewSlotProps } from '../../slots/SchedulerViewSlot';
|
|
8
|
-
import { SchedulerEditSlotProps } from '../../slots/SchedulerEditSlot';
|
|
9
|
-
import { SchedulerEditItemProps } from '../../items/SchedulerEditItem';
|
|
10
|
-
import { DateHeaderCellProps } from '../../components/DateHeaderCell';
|
|
11
|
-
import { TimeHeaderCellProps } from '../../components/TimeHeaderCell';
|
|
12
|
-
import { SchedulerFormProps } from '../../main';
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export interface MultiDayViewProps extends SchedulerViewProps {
|
|
17
|
-
/**
|
|
18
|
-
* The long-date format for displaying the
|
|
19
|
-
* selected date in the Scheduler toolbar.
|
|
20
|
-
* Defaults to `{0:D} - {1:D}`
|
|
21
|
-
* ([more information](https://www.github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md))
|
|
22
|
-
*/
|
|
23
|
-
selectedDateFormat?: string;
|
|
24
|
-
/**
|
|
25
|
-
* The short-date format for displaying the
|
|
26
|
-
* selected date in the Scheduler toolbar.
|
|
27
|
-
* Defaults to `{0:d} - {1-d}`
|
|
28
|
-
* ([more information](https://www.github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md))
|
|
29
|
-
*/
|
|
30
|
-
selectedShortDateFormat?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Overrides the general `editable` prop of the Scheduler for the specified view only.
|
|
33
|
-
*/
|
|
34
|
-
editable?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Specifies the number of days that the view will render.
|
|
37
|
-
* Defaults to `1`.
|
|
38
|
-
*/
|
|
39
|
-
numberOfDays?: number;
|
|
40
|
-
/**
|
|
41
|
-
* The start time of the view. The MultiDayView displays events which are visible after the start time.
|
|
42
|
-
* Accepts string values in the `HH:mm` format.
|
|
43
|
-
*/
|
|
44
|
-
startTime?: string;
|
|
45
|
-
/**
|
|
46
|
-
* The end time of the view. The MultiDayView displays events which are visible before the end time.
|
|
47
|
-
* Accepts string values in the `HH:mm` format.
|
|
48
|
-
*/
|
|
49
|
-
endTime?: string;
|
|
50
|
-
/**
|
|
51
|
-
* The number of steps (in days) to change, when using the back and forwards buttons in the toolbar navigation.
|
|
52
|
-
* The default value is 1 days.
|
|
53
|
-
*/
|
|
54
|
-
step?: number;
|
|
55
|
-
/**
|
|
56
|
-
* The start time of the view when `showWorkHours` is set to `true`.
|
|
57
|
-
* Accepts string values in the `HH:mm` format.
|
|
58
|
-
*/
|
|
59
|
-
workDayStart?: string;
|
|
60
|
-
/** @hidden */
|
|
61
|
-
isWorkDayStart?: string;
|
|
62
|
-
/**
|
|
63
|
-
* The end time of the view when `showWorkHours` is set to `true`.
|
|
64
|
-
* Accepts string values in the `HH:mm` format.
|
|
65
|
-
*/
|
|
66
|
-
workDayEnd?: string;
|
|
67
|
-
/** @hidden */
|
|
68
|
-
isWorkDayEnd?: string;
|
|
69
|
-
/**
|
|
70
|
-
* The start of the work week.
|
|
71
|
-
*/
|
|
72
|
-
workWeekStart?: Day;
|
|
73
|
-
/**
|
|
74
|
-
* The end of the work week.
|
|
75
|
-
*/
|
|
76
|
-
workWeekEnd?: Day;
|
|
77
|
-
/**
|
|
78
|
-
* The number of divisions of the time slots.
|
|
79
|
-
*/
|
|
80
|
-
slotDivisions?: number;
|
|
81
|
-
/**
|
|
82
|
-
* The duration (in minutes) of the time slots.
|
|
83
|
-
*/
|
|
84
|
-
slotDuration?: number;
|
|
85
|
-
/**
|
|
86
|
-
* If set to `true`, the view will be shown in the business-hours mode only.
|
|
87
|
-
*
|
|
88
|
-
* This will always override the internal `showWorkHours` state.
|
|
89
|
-
*/
|
|
90
|
-
showWorkHours?: boolean;
|
|
91
|
-
/**
|
|
92
|
-
* Sets the initial business-hour mode. Default `true`.
|
|
93
|
-
*
|
|
94
|
-
* This option applies only the initial `showWorkHours` state.
|
|
95
|
-
*/
|
|
96
|
-
defaultShowWorkHours?: boolean;
|
|
97
|
-
/**
|
|
98
|
-
* Sets a custom `className` to the wrapping element of the `DayView`.
|
|
99
|
-
*/
|
|
100
|
-
className?: string;
|
|
101
|
-
/**
|
|
102
|
-
* Sets a custom `id` to the wrapping element of the `DayView`.
|
|
103
|
-
*/
|
|
104
|
-
id?: string;
|
|
105
|
-
/**
|
|
106
|
-
* Sets a custom `style` property to the wrapping element of the `DayView`.
|
|
107
|
-
*/
|
|
108
|
-
style?: React.CSSProperties;
|
|
109
|
-
/**
|
|
110
|
-
* Overrides the `item` prop of the Scheduler for the specified view only.
|
|
111
|
-
*/
|
|
112
|
-
item?: React.ComponentType<SchedulerItemProps>;
|
|
113
|
-
/**
|
|
114
|
-
* Overrides the `viewItem` prop of the Scheduler for the specified view only.
|
|
115
|
-
*/
|
|
116
|
-
viewItem?: React.ComponentType<SchedulerViewItemProps>;
|
|
117
|
-
/**
|
|
118
|
-
* Overrides the `editableItem` prop of the Scheduler for the specified view only.
|
|
119
|
-
*/
|
|
120
|
-
editItem?: React.ComponentType<SchedulerEditItemProps>;
|
|
121
|
-
/**
|
|
122
|
-
* Overrides the `slot` prop of the Scheduler for the specified view only.
|
|
123
|
-
*/
|
|
124
|
-
slot?: React.ComponentType<SchedulerSlotProps>;
|
|
125
|
-
/**
|
|
126
|
-
* Overrides the `viewSlot` prop of the Scheduler for the specified view only.
|
|
127
|
-
*/
|
|
128
|
-
viewSlot?: React.ComponentType<SchedulerViewSlotProps>;
|
|
129
|
-
/**
|
|
130
|
-
* Overrides the `editSlot` prop of the Scheduler for the specified view only.
|
|
131
|
-
*/
|
|
132
|
-
editSlot?: React.ComponentType<SchedulerEditSlotProps>;
|
|
133
|
-
form?: React.ComponentType<SchedulerFormProps>;
|
|
134
|
-
/**
|
|
135
|
-
* If set to `false` the "current time" marker of the scheduler would not be displayed.
|
|
136
|
-
*/
|
|
137
|
-
currentTimeMarker?: boolean;
|
|
138
|
-
/**
|
|
139
|
-
* Represents component based on the DateHeaderCellProps.
|
|
140
|
-
*/
|
|
141
|
-
dateHeaderCell?: React.ComponentType<DateHeaderCellProps>;
|
|
142
|
-
/**
|
|
143
|
-
* Represents component based on the TimeHeaderCellProps.
|
|
144
|
-
*/
|
|
145
|
-
timeHeaderCell?: React.ComponentType<TimeHeaderCellProps>;
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* @hidden
|
|
149
|
-
*/
|
|
150
|
-
export declare const MultiDayView: React.FunctionComponent<MultiDayViewProps>;
|
|
151
|
-
/** @hidden */
|
|
152
|
-
export declare const defaultProps: {
|
|
153
|
-
name: string;
|
|
154
|
-
title: string;
|
|
155
|
-
currentTimeMarker: boolean;
|
|
156
|
-
dateRange: ({ date, numberOfDays, timezone }: SchedulerViewDateRangeArgs) => DateRange;
|
|
157
|
-
selectedDateFormat: string;
|
|
158
|
-
selectedShortDateFormat: string;
|
|
159
|
-
numberOfDays: number;
|
|
160
|
-
startTime: string;
|
|
161
|
-
endTime: string;
|
|
162
|
-
isWorkDayStart: string;
|
|
163
|
-
isWorkDayEnd: string;
|
|
164
|
-
workWeekStart: Day;
|
|
165
|
-
workWeekEnd: Day;
|
|
166
|
-
step: number;
|
|
167
|
-
slotDivisions: number;
|
|
168
|
-
slotDuration: number;
|
|
169
|
-
showCurrentTime: boolean;
|
|
170
|
-
defaultShowWorkHours: boolean;
|
|
171
|
-
};
|