@progress/kendo-react-scheduler 6.1.1-dev.202311151536 → 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,228 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SchedulerProps } from '../main';
|
|
3
|
-
import { DataItem, DateRange, SchedulerView, Group } from '../models';
|
|
4
|
-
import { DataAction } from '../Scheduler';
|
|
5
|
-
import { Fields } from '../models/Fields';
|
|
6
|
-
import { Orientation } from '../models/Orientation';
|
|
7
|
-
/** @hidden */
|
|
8
|
-
export interface SchedulerContextProps {
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
element: SchedulerElementContextType;
|
|
11
|
-
props: SchedulerPropsContextType;
|
|
12
|
-
views: SchedulerViewsContextType;
|
|
13
|
-
fields: SchedulerFieldsContextType;
|
|
14
|
-
groups: SchedulerGroupsContextType;
|
|
15
|
-
dateRange: SchedulerDateRangeContextType;
|
|
16
|
-
dateFormat: SchedulerDateFormatContextType;
|
|
17
|
-
orientation: SchedulerOrientationContextType;
|
|
18
|
-
date: SchedulerDateContextType;
|
|
19
|
-
activeView: SchedulerActiveViewContextType;
|
|
20
|
-
selection: SchedulerItemSelectionContextType;
|
|
21
|
-
data: SchedulerDataContextType;
|
|
22
|
-
}
|
|
23
|
-
/** @hidden */
|
|
24
|
-
export declare type SchedulerElementContextType = React.RefObject<HTMLElement | null>;
|
|
25
|
-
/** @hidden */
|
|
26
|
-
export declare const SchedulerElementContext: React.Context<SchedulerElementContextType>;
|
|
27
|
-
/** @hidden */
|
|
28
|
-
export declare const useSchedulerElementContext: () => SchedulerElementContextType;
|
|
29
|
-
/**
|
|
30
|
-
* Specifies the result of the [useSchedulerPropsContext]({% slug api_scheduler_useschedulerpropscontext %}) and [SchedulerPropsContext]({% slug api_scheduler_schedulerpropscontext %}).
|
|
31
|
-
*/
|
|
32
|
-
export declare type SchedulerPropsContextType = SchedulerProps;
|
|
33
|
-
/**
|
|
34
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the [Scheduler]({% slug api_scheduler_scheduler %}) props.
|
|
35
|
-
*
|
|
36
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
37
|
-
*/
|
|
38
|
-
export declare const SchedulerPropsContext: React.Context<SchedulerProps>;
|
|
39
|
-
/**
|
|
40
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [Scheduler]({% slug api_scheduler_scheduler %}) props.
|
|
41
|
-
*
|
|
42
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
43
|
-
*
|
|
44
|
-
* @returns
|
|
45
|
-
*/
|
|
46
|
-
export declare const useSchedulerPropsContext: () => SchedulerPropsContextType;
|
|
47
|
-
/**
|
|
48
|
-
* Specifies the result of the [useSchedulerViewsContext]({% slug api_scheduler_useschedulerviewscontext %}) and [SchedulerViewsContext]({% slug api_scheduler_schedulerviewscontext %}).
|
|
49
|
-
*/
|
|
50
|
-
export declare type SchedulerViewsContextType = SchedulerView[];
|
|
51
|
-
/**
|
|
52
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the available Scheduler [views]({% slug views_scheduler %}).
|
|
53
|
-
*
|
|
54
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
55
|
-
*/
|
|
56
|
-
export declare const SchedulerViewsContext: React.Context<SchedulerViewsContextType>;
|
|
57
|
-
/**
|
|
58
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the available Scheduler [views]({% slug views_scheduler %}).
|
|
59
|
-
*
|
|
60
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
61
|
-
*
|
|
62
|
-
* @returns
|
|
63
|
-
*/
|
|
64
|
-
export declare const useSchedulerViewsContext: () => SchedulerViewsContextType;
|
|
65
|
-
/**
|
|
66
|
-
* Specifies the result of the [useSchedulerFieldsContext]({% slug api_scheduler_useschedulerfieldscontext %}) and [SchedulerFieldsContext]({% slug api_scheduler_schedulerfieldscontext %}).
|
|
67
|
-
*/
|
|
68
|
-
export declare type SchedulerFieldsContextType = Fields;
|
|
69
|
-
/**
|
|
70
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the combined default and custom [modelFields]({% slug api_scheduler_schedulerprops %}#toc-modelfields) of the Scheduler.
|
|
71
|
-
*
|
|
72
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
73
|
-
*/
|
|
74
|
-
export declare const SchedulerFieldsContext: React.Context<Fields>;
|
|
75
|
-
/**
|
|
76
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the combined default and custom [modelFields]({% slug api_scheduler_schedulerprops %}#toc-modelfields) of the Scheduler.
|
|
77
|
-
*
|
|
78
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
79
|
-
*
|
|
80
|
-
* @returns
|
|
81
|
-
*/
|
|
82
|
-
export declare const useSchedulerFieldsContext: () => SchedulerFieldsContextType;
|
|
83
|
-
/**
|
|
84
|
-
* Specifies the result of the [useSchedulerFieldsContext]({% slug api_scheduler_useschedulerfieldscontext %}) and [SchedulerFieldsContext]({% slug api_scheduler_schedulerfieldscontext %}).
|
|
85
|
-
*/
|
|
86
|
-
export declare type SchedulerDateFormatContextType = {
|
|
87
|
-
dateFormat: string;
|
|
88
|
-
shortDateFormat: string;
|
|
89
|
-
};
|
|
90
|
-
/**
|
|
91
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the combined default and custom [modelFields]({% slug api_scheduler_schedulerprops %}#toc-modelfields) of the Scheduler.
|
|
92
|
-
*
|
|
93
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
94
|
-
*/
|
|
95
|
-
export declare const SchedulerDateFormatContext: React.Context<SchedulerDateFormatContextType>;
|
|
96
|
-
/**
|
|
97
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the combined default and custom [modelFields]({% slug api_scheduler_schedulerprops %}#toc-modelfields) of the Scheduler.
|
|
98
|
-
*
|
|
99
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
100
|
-
*
|
|
101
|
-
* @returns
|
|
102
|
-
*/
|
|
103
|
-
export declare const useSchedulerDateFormatContext: () => SchedulerDateFormatContextType;
|
|
104
|
-
/**
|
|
105
|
-
* Specifies the result of the [useSchedulerGroupsContext]({% slug api_scheduler_useschedulergroupscontext %}) and [SchedulerGroupsContext]({% slug api_scheduler_schedulergroupscontext %}).
|
|
106
|
-
*/
|
|
107
|
-
export declare type SchedulerGroupsContextType = Group[];
|
|
108
|
-
/**
|
|
109
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the Scheduler `Group` object, calculated based on the [group]({% slug api_scheduler_schedulerprops %}#toc-group) and [resources]({% slug api_scheduler_schedulerprops %}#toc-resources).
|
|
110
|
-
*
|
|
111
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
112
|
-
*/
|
|
113
|
-
export declare const SchedulerGroupsContext: React.Context<SchedulerGroupsContextType>;
|
|
114
|
-
/**
|
|
115
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the Scheduler `Group` object, calculated based on the [group]({% slug api_scheduler_schedulerprops %}#toc-group) and [resources]({% slug api_scheduler_schedulerprops %}#toc-resources).
|
|
116
|
-
*
|
|
117
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
118
|
-
*
|
|
119
|
-
* @returns
|
|
120
|
-
*/
|
|
121
|
-
export declare const useSchedulerGroupsContext: () => SchedulerGroupsContextType;
|
|
122
|
-
/**
|
|
123
|
-
* Specifies the result of the [useSchedulerDateRangeContext]({% slug api_scheduler_useschedulerdaterangecontext %}) and [SchedulerDateRangeContext]({% slug api_scheduler_schedulerdaterangecontext %}).
|
|
124
|
-
*/
|
|
125
|
-
export declare type SchedulerDateRangeContextType = DateRange;
|
|
126
|
-
/**
|
|
127
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the `dateRange` of the current view.
|
|
128
|
-
*
|
|
129
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
130
|
-
*/
|
|
131
|
-
export declare const SchedulerDateRangeContext: React.Context<DateRange>;
|
|
132
|
-
/**
|
|
133
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the `dateRange` of the current view.
|
|
134
|
-
*
|
|
135
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
136
|
-
*
|
|
137
|
-
* @returns
|
|
138
|
-
*/
|
|
139
|
-
export declare const useSchedulerDateRangeContext: () => SchedulerDateRangeContextType;
|
|
140
|
-
/**
|
|
141
|
-
* Specifies the result of the [useSchedulerOrientationContext]({% slug api_scheduler_useschedulerorientationcontext %}) and [SchedulerOrientationContext]({% slug api_scheduler_schedulerorientationcontext %}).
|
|
142
|
-
*/
|
|
143
|
-
export declare type SchedulerOrientationContextType = Orientation;
|
|
144
|
-
/**
|
|
145
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the grouping orientation of the Scheduler.
|
|
146
|
-
*
|
|
147
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
148
|
-
*/
|
|
149
|
-
export declare const SchedulerOrientationContext: React.Context<Orientation>;
|
|
150
|
-
/**
|
|
151
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the grouping orientation of the Scheduler.
|
|
152
|
-
*
|
|
153
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
154
|
-
*
|
|
155
|
-
* @returns
|
|
156
|
-
*/
|
|
157
|
-
export declare const useSchedulerOrientationContext: () => SchedulerOrientationContextType;
|
|
158
|
-
/**
|
|
159
|
-
* Specifies the result of the [useSchedulerDateContext]({% slug api_scheduler_useschedulerdatecontext %}) and [SchedulerDateContext]({% slug api_scheduler_schedulerdatecontext %}).
|
|
160
|
-
*/
|
|
161
|
-
export declare type SchedulerDateContextType = [Date, (date: Date, event?: any) => void];
|
|
162
|
-
/**
|
|
163
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the Scheduler internal `date` state.
|
|
164
|
-
*
|
|
165
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
166
|
-
*/
|
|
167
|
-
export declare const SchedulerDateContext: React.Context<SchedulerDateContextType>;
|
|
168
|
-
/**
|
|
169
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the Scheduler internal `date` state.
|
|
170
|
-
*
|
|
171
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
172
|
-
*
|
|
173
|
-
* @returns
|
|
174
|
-
*/
|
|
175
|
-
export declare const useSchedulerDateContext: () => SchedulerDateContextType;
|
|
176
|
-
/**
|
|
177
|
-
* Specifies the result of the [useSchedulerDataContext]({% slug api_scheduler_useschedulerdatacontext %}) and [SchedulerDataContext]({% slug api_scheduler_schedulerdatacontext %}).
|
|
178
|
-
*/
|
|
179
|
-
export declare type SchedulerDataContextType = [DataItem[], (action: DataAction, event?: any) => void];
|
|
180
|
-
/**
|
|
181
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the Scheduler internal `data` reducer.
|
|
182
|
-
*
|
|
183
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
184
|
-
*/
|
|
185
|
-
export declare const SchedulerDataContext: React.Context<SchedulerDataContextType>;
|
|
186
|
-
/**
|
|
187
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the Scheduler internal `data` reducer.
|
|
188
|
-
*
|
|
189
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
190
|
-
*
|
|
191
|
-
* @returns
|
|
192
|
-
*/
|
|
193
|
-
export declare const useSchedulerDataContext: () => SchedulerDataContextType;
|
|
194
|
-
/**
|
|
195
|
-
* Specifies the result of the [useSchedulerActiveViewContext]({% slug api_scheduler_usescheduleractiveviewcontext %}) and [SchedulerActiveViewContext]({% slug api_scheduler_scheduleractiveviewcontext %}).
|
|
196
|
-
*/
|
|
197
|
-
export declare type SchedulerActiveViewContextType = [string, (activeView: string, event?: any) => void];
|
|
198
|
-
/**
|
|
199
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the Scheduler internal `activeView` state.
|
|
200
|
-
*
|
|
201
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
202
|
-
*/
|
|
203
|
-
export declare const SchedulerActiveViewContext: React.Context<SchedulerActiveViewContextType>;
|
|
204
|
-
/**
|
|
205
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the Scheduler internal `activeView` state.
|
|
206
|
-
*
|
|
207
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
208
|
-
*
|
|
209
|
-
* @returns
|
|
210
|
-
*/
|
|
211
|
-
export declare const useSchedulerActiveViewContext: () => SchedulerActiveViewContextType;
|
|
212
|
-
/**
|
|
213
|
-
* @hidden
|
|
214
|
-
*/
|
|
215
|
-
export declare type SchedulerItemSelectionContextType = [any, any];
|
|
216
|
-
/**
|
|
217
|
-
* @hidden
|
|
218
|
-
*/
|
|
219
|
-
export declare const SchedulerItemSelectionContext: React.Context<SchedulerItemSelectionContextType>;
|
|
220
|
-
/**
|
|
221
|
-
* @hidden
|
|
222
|
-
*/
|
|
223
|
-
export declare const useSchedulerItemSelectionContext: () => SchedulerItemSelectionContextType;
|
|
224
|
-
/**
|
|
225
|
-
*
|
|
226
|
-
*/
|
|
227
|
-
/** @hidden */
|
|
228
|
-
export declare const SchedulerContext: ({ children, element, props, views, fields, groups, dateRange, dateFormat, orientation, date, data, activeView, selection }: SchedulerContextProps) => JSX.Element;
|
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SchedulerContext = exports.useSchedulerItemSelectionContext = exports.SchedulerItemSelectionContext = exports.useSchedulerActiveViewContext = exports.SchedulerActiveViewContext = exports.useSchedulerDataContext = exports.SchedulerDataContext = exports.useSchedulerDateContext = exports.SchedulerDateContext = exports.useSchedulerOrientationContext = exports.SchedulerOrientationContext = exports.useSchedulerDateRangeContext = exports.SchedulerDateRangeContext = exports.useSchedulerGroupsContext = exports.SchedulerGroupsContext = exports.useSchedulerDateFormatContext = exports.SchedulerDateFormatContext = exports.useSchedulerFieldsContext = exports.SchedulerFieldsContext = exports.useSchedulerViewsContext = exports.SchedulerViewsContext = exports.useSchedulerPropsContext = exports.SchedulerPropsContext = exports.useSchedulerElementContext = exports.SchedulerElementContext = void 0;
|
|
4
|
-
var React = require("react");
|
|
5
|
-
var utils_1 = require("../utils");
|
|
6
|
-
var constants_1 = require("../constants");
|
|
7
|
-
var kendo_date_math_1 = require("@progress/kendo-date-math");
|
|
8
|
-
/** @hidden */
|
|
9
|
-
exports.SchedulerElementContext = React.createContext({ current: null });
|
|
10
|
-
/** @hidden */
|
|
11
|
-
var useSchedulerElementContext = function () { return React.useContext(exports.SchedulerElementContext); };
|
|
12
|
-
exports.useSchedulerElementContext = useSchedulerElementContext;
|
|
13
|
-
exports.SchedulerElementContext.displayName = 'SchedulerElementContext';
|
|
14
|
-
/**
|
|
15
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the [Scheduler]({% slug api_scheduler_scheduler %}) props.
|
|
16
|
-
*
|
|
17
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
18
|
-
*/
|
|
19
|
-
exports.SchedulerPropsContext = React.createContext({});
|
|
20
|
-
/**
|
|
21
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [Scheduler]({% slug api_scheduler_scheduler %}) props.
|
|
22
|
-
*
|
|
23
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
24
|
-
*
|
|
25
|
-
* @returns
|
|
26
|
-
*/
|
|
27
|
-
var useSchedulerPropsContext = function () { return React.useContext(exports.SchedulerPropsContext); };
|
|
28
|
-
exports.useSchedulerPropsContext = useSchedulerPropsContext;
|
|
29
|
-
exports.SchedulerPropsContext.displayName = 'SchedulerPropsContext';
|
|
30
|
-
/**
|
|
31
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the available Scheduler [views]({% slug views_scheduler %}).
|
|
32
|
-
*
|
|
33
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
34
|
-
*/
|
|
35
|
-
exports.SchedulerViewsContext = React.createContext([]);
|
|
36
|
-
/**
|
|
37
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the available Scheduler [views]({% slug views_scheduler %}).
|
|
38
|
-
*
|
|
39
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
40
|
-
*
|
|
41
|
-
* @returns
|
|
42
|
-
*/
|
|
43
|
-
var useSchedulerViewsContext = function () { return React.useContext(exports.SchedulerViewsContext); };
|
|
44
|
-
exports.useSchedulerViewsContext = useSchedulerViewsContext;
|
|
45
|
-
exports.SchedulerViewsContext.displayName = 'SchedulerViewsContext';
|
|
46
|
-
/**
|
|
47
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the combined default and custom [modelFields]({% slug api_scheduler_schedulerprops %}#toc-modelfields) of the Scheduler.
|
|
48
|
-
*
|
|
49
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
50
|
-
*/
|
|
51
|
-
exports.SchedulerFieldsContext = React.createContext(utils_1.defaultModelFields);
|
|
52
|
-
/**
|
|
53
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the combined default and custom [modelFields]({% slug api_scheduler_schedulerprops %}#toc-modelfields) of the Scheduler.
|
|
54
|
-
*
|
|
55
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
56
|
-
*
|
|
57
|
-
* @returns
|
|
58
|
-
*/
|
|
59
|
-
var useSchedulerFieldsContext = function () { return React.useContext(exports.SchedulerFieldsContext); };
|
|
60
|
-
exports.useSchedulerFieldsContext = useSchedulerFieldsContext;
|
|
61
|
-
exports.SchedulerFieldsContext.displayName = 'SchedulerFieldsContext';
|
|
62
|
-
/**
|
|
63
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the combined default and custom [modelFields]({% slug api_scheduler_schedulerprops %}#toc-modelfields) of the Scheduler.
|
|
64
|
-
*
|
|
65
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
66
|
-
*/
|
|
67
|
-
exports.SchedulerDateFormatContext = React.createContext({ dateFormat: '{0:D}', shortDateFormat: '{0:d}' });
|
|
68
|
-
/**
|
|
69
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the combined default and custom [modelFields]({% slug api_scheduler_schedulerprops %}#toc-modelfields) of the Scheduler.
|
|
70
|
-
*
|
|
71
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
72
|
-
*
|
|
73
|
-
* @returns
|
|
74
|
-
*/
|
|
75
|
-
var useSchedulerDateFormatContext = function () { return React.useContext(exports.SchedulerDateFormatContext); };
|
|
76
|
-
exports.useSchedulerDateFormatContext = useSchedulerDateFormatContext;
|
|
77
|
-
exports.SchedulerDateFormatContext.displayName = 'SchedulerDateFormatContext';
|
|
78
|
-
/**
|
|
79
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the Scheduler `Group` object, calculated based on the [group]({% slug api_scheduler_schedulerprops %}#toc-group) and [resources]({% slug api_scheduler_schedulerprops %}#toc-resources).
|
|
80
|
-
*
|
|
81
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
82
|
-
*/
|
|
83
|
-
exports.SchedulerGroupsContext = React.createContext([constants_1.DEFAULT_GROUP]);
|
|
84
|
-
/**
|
|
85
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the Scheduler `Group` object, calculated based on the [group]({% slug api_scheduler_schedulerprops %}#toc-group) and [resources]({% slug api_scheduler_schedulerprops %}#toc-resources).
|
|
86
|
-
*
|
|
87
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
88
|
-
*
|
|
89
|
-
* @returns
|
|
90
|
-
*/
|
|
91
|
-
var useSchedulerGroupsContext = function () { return React.useContext(exports.SchedulerGroupsContext); };
|
|
92
|
-
exports.useSchedulerGroupsContext = useSchedulerGroupsContext;
|
|
93
|
-
exports.SchedulerGroupsContext.displayName = 'SchedulerGroupsContext';
|
|
94
|
-
/**
|
|
95
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the `dateRange` of the current view.
|
|
96
|
-
*
|
|
97
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
98
|
-
*/
|
|
99
|
-
exports.SchedulerDateRangeContext = React.createContext({ start: new Date(), end: new Date(), zonedStart: kendo_date_math_1.ZonedDate.fromLocalDate(new Date()), zonedEnd: kendo_date_math_1.ZonedDate.fromLocalDate(new Date()) });
|
|
100
|
-
/**
|
|
101
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the `dateRange` of the current view.
|
|
102
|
-
*
|
|
103
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
104
|
-
*
|
|
105
|
-
* @returns
|
|
106
|
-
*/
|
|
107
|
-
var useSchedulerDateRangeContext = function () { return React.useContext(exports.SchedulerDateRangeContext); };
|
|
108
|
-
exports.useSchedulerDateRangeContext = useSchedulerDateRangeContext;
|
|
109
|
-
exports.SchedulerDateRangeContext.displayName = 'SchedulerDateRangeContext';
|
|
110
|
-
/**
|
|
111
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the grouping orientation of the Scheduler.
|
|
112
|
-
*
|
|
113
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
114
|
-
*/
|
|
115
|
-
exports.SchedulerOrientationContext = React.createContext(null);
|
|
116
|
-
/**
|
|
117
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the grouping orientation of the Scheduler.
|
|
118
|
-
*
|
|
119
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
120
|
-
*
|
|
121
|
-
* @returns
|
|
122
|
-
*/
|
|
123
|
-
var useSchedulerOrientationContext = function () { return React.useContext(exports.SchedulerOrientationContext); };
|
|
124
|
-
exports.useSchedulerOrientationContext = useSchedulerOrientationContext;
|
|
125
|
-
exports.SchedulerOrientationContext.displayName = 'SchedulerOrientationContext';
|
|
126
|
-
/**
|
|
127
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the Scheduler internal `date` state.
|
|
128
|
-
*
|
|
129
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
130
|
-
*/
|
|
131
|
-
exports.SchedulerDateContext = React.createContext([new Date(), utils_1.noop]);
|
|
132
|
-
/**
|
|
133
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the Scheduler internal `date` state.
|
|
134
|
-
*
|
|
135
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
136
|
-
*
|
|
137
|
-
* @returns
|
|
138
|
-
*/
|
|
139
|
-
var useSchedulerDateContext = function () { return React.useContext(exports.SchedulerDateContext); };
|
|
140
|
-
exports.useSchedulerDateContext = useSchedulerDateContext;
|
|
141
|
-
exports.SchedulerDateContext.displayName = 'SchedulerDateContext';
|
|
142
|
-
/**
|
|
143
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the Scheduler internal `data` reducer.
|
|
144
|
-
*
|
|
145
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
146
|
-
*/
|
|
147
|
-
exports.SchedulerDataContext = React.createContext([[], utils_1.noop]);
|
|
148
|
-
/**
|
|
149
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the Scheduler internal `data` reducer.
|
|
150
|
-
*
|
|
151
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
152
|
-
*
|
|
153
|
-
* @returns
|
|
154
|
-
*/
|
|
155
|
-
var useSchedulerDataContext = function () { return React.useContext(exports.SchedulerDataContext); };
|
|
156
|
-
exports.useSchedulerDataContext = useSchedulerDataContext;
|
|
157
|
-
exports.SchedulerDataContext.displayName = 'SchedulerDataContext';
|
|
158
|
-
/**
|
|
159
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the Scheduler internal `activeView` state.
|
|
160
|
-
*
|
|
161
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
162
|
-
*/
|
|
163
|
-
exports.SchedulerActiveViewContext = React.createContext(['day', utils_1.noop]);
|
|
164
|
-
/**
|
|
165
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the Scheduler internal `activeView` state.
|
|
166
|
-
*
|
|
167
|
-
* For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
168
|
-
*
|
|
169
|
-
* @returns
|
|
170
|
-
*/
|
|
171
|
-
var useSchedulerActiveViewContext = function () { return React.useContext(exports.SchedulerActiveViewContext); };
|
|
172
|
-
exports.useSchedulerActiveViewContext = useSchedulerActiveViewContext;
|
|
173
|
-
exports.SchedulerActiveViewContext.displayName = 'SchedulerActiveViewContext';
|
|
174
|
-
/**
|
|
175
|
-
* @hidden
|
|
176
|
-
*/
|
|
177
|
-
exports.SchedulerItemSelectionContext = React.createContext([null, function () { }]);
|
|
178
|
-
/**
|
|
179
|
-
* @hidden
|
|
180
|
-
*/
|
|
181
|
-
var useSchedulerItemSelectionContext = function () { return React.useContext(exports.SchedulerItemSelectionContext); };
|
|
182
|
-
exports.useSchedulerItemSelectionContext = useSchedulerItemSelectionContext;
|
|
183
|
-
exports.SchedulerItemSelectionContext.displayName = 'SchedulerItemSelectionContext';
|
|
184
|
-
/**
|
|
185
|
-
*
|
|
186
|
-
*/
|
|
187
|
-
/** @hidden */
|
|
188
|
-
var SchedulerContext = function (_a) {
|
|
189
|
-
var children = _a.children, element = _a.element, props = _a.props, views = _a.views, fields = _a.fields, groups = _a.groups, dateRange = _a.dateRange, dateFormat = _a.dateFormat, orientation = _a.orientation, date = _a.date, data = _a.data, activeView = _a.activeView, selection = _a.selection;
|
|
190
|
-
return (React.createElement(exports.SchedulerElementContext.Provider, { value: element },
|
|
191
|
-
React.createElement(exports.SchedulerPropsContext.Provider, { value: props },
|
|
192
|
-
React.createElement(exports.SchedulerViewsContext.Provider, { value: views },
|
|
193
|
-
React.createElement(exports.SchedulerFieldsContext.Provider, { value: fields },
|
|
194
|
-
React.createElement(exports.SchedulerDateFormatContext.Provider, { value: dateFormat },
|
|
195
|
-
React.createElement(exports.SchedulerGroupsContext.Provider, { value: groups },
|
|
196
|
-
React.createElement(exports.SchedulerDateRangeContext.Provider, { value: dateRange },
|
|
197
|
-
React.createElement(exports.SchedulerOrientationContext.Provider, { value: orientation },
|
|
198
|
-
React.createElement(exports.SchedulerDateContext.Provider, { value: date },
|
|
199
|
-
React.createElement(exports.SchedulerDataContext.Provider, { value: data },
|
|
200
|
-
React.createElement(exports.SchedulerActiveViewContext.Provider, { value: activeView },
|
|
201
|
-
React.createElement(exports.SchedulerItemSelectionContext.Provider, { value: selection }, children)))))))))))));
|
|
202
|
-
};
|
|
203
|
-
exports.SchedulerContext = SchedulerContext;
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { DataItem } from '../models';
|
|
3
|
-
import { SchedulerEditItemProps } from '../main';
|
|
4
|
-
import { SchedulerItemFormItemAction } from '../items/hooks/use-form-item';
|
|
5
|
-
import { BaseEvent } from '@progress/kendo-react-common';
|
|
6
|
-
/** @hidden */
|
|
7
|
-
export interface SchedulerEditItemContextProps {
|
|
8
|
-
props: SchedulerEditItemPropsContextType;
|
|
9
|
-
form: SchedulerEditItemFormItemContextType;
|
|
10
|
-
drag: SchedulerEditItemDragItemContextType;
|
|
11
|
-
resize: SchedulerEditItemResizeItemContextType;
|
|
12
|
-
remove: SchedulerEditItemRemoveItemContextType;
|
|
13
|
-
showRemoveDialog: SchedulerEditItemShowRemoveDialogContextType;
|
|
14
|
-
showOccurrenceDialog: SchedulerEditItemShowOccurrenceDialogContextType;
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Specifies the result of the [useSchedulerEditItemPropsContext]({% slug api_scheduler_usescheduleredititempropscontext %}) and [SchedulerEditItemPropsContext]({% slug api_scheduler_scheduleredititempropscontext %}).
|
|
19
|
-
*/
|
|
20
|
-
export declare type SchedulerEditItemPropsContextType = SchedulerEditItemProps;
|
|
21
|
-
/**
|
|
22
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) `props`.
|
|
23
|
-
*
|
|
24
|
-
* For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
25
|
-
*/
|
|
26
|
-
export declare const SchedulerEditItemPropsContext: React.Context<SchedulerEditItemProps>;
|
|
27
|
-
/**
|
|
28
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) `props`.
|
|
29
|
-
*
|
|
30
|
-
* For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
31
|
-
*
|
|
32
|
-
* @returns
|
|
33
|
-
*/
|
|
34
|
-
export declare const useSchedulerEditItemPropsContext: () => SchedulerEditItemPropsContextType;
|
|
35
|
-
/**
|
|
36
|
-
* Specifies the result of the [useSchedulerEditItemFormItemContext]({% slug api_scheduler_usescheduleredititemformitemcontext %}) and [SchedulerEditItemFormItemContext]({% slug api_scheduler_scheduleredititemformitemcontext %}).
|
|
37
|
-
*/
|
|
38
|
-
export declare type SchedulerEditItemFormItemContextType = [DataItem | null, (newValue: DataItem | null, event?: React.SyntheticEvent | BaseEvent<any> | {
|
|
39
|
-
preventDefault: any;
|
|
40
|
-
}) => void, (action: SchedulerItemFormItemAction, event?: React.SyntheticEvent | BaseEvent<any> | {
|
|
41
|
-
preventDefault: any;
|
|
42
|
-
}) => void];
|
|
43
|
-
/**
|
|
44
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `formItem` state.
|
|
45
|
-
*
|
|
46
|
-
* For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
47
|
-
*/
|
|
48
|
-
export declare const SchedulerEditItemFormItemContext: React.Context<SchedulerEditItemFormItemContextType>;
|
|
49
|
-
/**
|
|
50
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `formItem` state.
|
|
51
|
-
*
|
|
52
|
-
* For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
53
|
-
*
|
|
54
|
-
* @returns
|
|
55
|
-
*/
|
|
56
|
-
export declare const useSchedulerEditItemFormItemContext: () => SchedulerEditItemFormItemContextType;
|
|
57
|
-
/**
|
|
58
|
-
* Specifies the result of the [useSchedulerEditItemDragItemContext]({% slug api_scheduler_usescheduleredititemdragitemcontext %}) and [SchedulerEditItemDragItemContext]({% slug api_scheduler_scheduleredititemdragitemcontext %}).
|
|
59
|
-
*/
|
|
60
|
-
export declare type SchedulerEditItemDragItemContextType = [DataItem | null, (newValue?: DataItem | null, event?: React.SyntheticEvent | BaseEvent<any> | {
|
|
61
|
-
preventDefault: any;
|
|
62
|
-
}) => void, (action: SchedulerItemFormItemAction, event?: React.SyntheticEvent | BaseEvent<any> | {
|
|
63
|
-
preventDefault: any;
|
|
64
|
-
}) => void];
|
|
65
|
-
/**
|
|
66
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `dragItem` state.
|
|
67
|
-
*
|
|
68
|
-
* For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
69
|
-
*/
|
|
70
|
-
export declare const SchedulerEditItemDragItemContext: React.Context<SchedulerEditItemDragItemContextType>;
|
|
71
|
-
/**
|
|
72
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `dragItem` state.
|
|
73
|
-
*
|
|
74
|
-
* For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
75
|
-
*
|
|
76
|
-
* @returns
|
|
77
|
-
*/
|
|
78
|
-
export declare const useSchedulerEditItemDragItemContext: () => SchedulerEditItemDragItemContextType;
|
|
79
|
-
/**
|
|
80
|
-
* Specifies the result of the [useSchedulerEditItemResizeItemContext]({% slug api_scheduler_usescheduleredititemresizeitemcontext %}) and [SchedulerEditItemResizeItemContext]({% slug api_scheduler_scheduleredititemresizeitemcontext %}).
|
|
81
|
-
*/
|
|
82
|
-
export declare type SchedulerEditItemResizeItemContextType = [DataItem | null, (newValue?: DataItem | null, event?: React.SyntheticEvent | BaseEvent<any> | {
|
|
83
|
-
preventDefault: any;
|
|
84
|
-
}) => void, (action: SchedulerItemFormItemAction, event?: React.SyntheticEvent | BaseEvent<any> | {
|
|
85
|
-
preventDefault: any;
|
|
86
|
-
}) => void];
|
|
87
|
-
/**
|
|
88
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `resizeItem` state.
|
|
89
|
-
*
|
|
90
|
-
* For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
91
|
-
*/
|
|
92
|
-
export declare const SchedulerEditItemResizeItemContext: React.Context<SchedulerEditItemResizeItemContextType>;
|
|
93
|
-
/**
|
|
94
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `resizeItem` state.
|
|
95
|
-
*
|
|
96
|
-
* For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
97
|
-
*
|
|
98
|
-
* @returns
|
|
99
|
-
*/
|
|
100
|
-
export declare const useSchedulerEditItemResizeItemContext: () => SchedulerEditItemResizeItemContextType;
|
|
101
|
-
/**
|
|
102
|
-
* Specifies the result of the [useSchedulerEditItemRemoveItemContext]({% slug api_scheduler_usescheduleredititemremoveitemcontext %}) and [SchedulerEditItemRemoveItemContext]({% slug api_scheduler_scheduleredititemremoveitemcontext %}).
|
|
103
|
-
*/
|
|
104
|
-
export declare type SchedulerEditItemRemoveItemContextType = [DataItem | null, (newValue?: any, event?: React.SyntheticEvent | BaseEvent<any> | {
|
|
105
|
-
preventDefault: any;
|
|
106
|
-
}) => void, (action: SchedulerItemFormItemAction, event?: React.SyntheticEvent | BaseEvent<any> | {
|
|
107
|
-
preventDefault: any;
|
|
108
|
-
}) => void];
|
|
109
|
-
/**
|
|
110
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `removeItem` state.
|
|
111
|
-
*
|
|
112
|
-
* For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
113
|
-
*/
|
|
114
|
-
export declare const SchedulerEditItemRemoveItemContext: React.Context<SchedulerEditItemRemoveItemContextType>;
|
|
115
|
-
/**
|
|
116
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `removeItem` state.
|
|
117
|
-
*
|
|
118
|
-
* For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
119
|
-
*
|
|
120
|
-
* @returns
|
|
121
|
-
*/
|
|
122
|
-
export declare const useSchedulerEditItemRemoveItemContext: () => SchedulerEditItemRemoveItemContextType;
|
|
123
|
-
/**
|
|
124
|
-
* Specifies the result of the [useSchedulerEditItemShowRemoveDialogContext]({% slug api_scheduler_usescheduleredititemshowremovedialogcontext %}) and [SchedulerEditItemShowRemoveDialogContext]({% slug api_scheduler_scheduleredititemshowremovedialogcontext %}).
|
|
125
|
-
*/
|
|
126
|
-
export declare type SchedulerEditItemShowRemoveDialogContextType = [boolean, (newValue?: boolean, event?: React.SyntheticEvent | BaseEvent<any> | {
|
|
127
|
-
preventDefault: any;
|
|
128
|
-
}) => void, (action: SchedulerItemFormItemAction, event?: React.SyntheticEvent | BaseEvent<any> | {
|
|
129
|
-
preventDefault: any;
|
|
130
|
-
}) => void];
|
|
131
|
-
/**
|
|
132
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `showRemoveDialog` state.
|
|
133
|
-
*
|
|
134
|
-
* For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
135
|
-
*/
|
|
136
|
-
export declare const SchedulerEditItemShowRemoveDialogContext: React.Context<SchedulerEditItemShowRemoveDialogContextType>;
|
|
137
|
-
/**
|
|
138
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `showRemoveDialog` state.
|
|
139
|
-
*
|
|
140
|
-
* For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
141
|
-
*
|
|
142
|
-
* @returns
|
|
143
|
-
*/
|
|
144
|
-
export declare const useSchedulerEditItemShowRemoveDialogContext: () => SchedulerEditItemShowRemoveDialogContextType;
|
|
145
|
-
/**
|
|
146
|
-
* Specifies the result of the [useSchedulerEditItemShowOccurrenceDialogContext]({% slug api_scheduler_usescheduleredititemshowoccurrencedialogcontext %}) and [SchedulerEditItemShowOccurrenceDialogContext]({% slug api_scheduler_scheduleredititemshowoccurrencedialogcontext %}).
|
|
147
|
-
*/
|
|
148
|
-
export declare type SchedulerEditItemShowOccurrenceDialogContextType = [boolean, (newValue?: boolean, event?: React.SyntheticEvent | BaseEvent<any> | {
|
|
149
|
-
preventDefault: any;
|
|
150
|
-
}) => void, (action: SchedulerItemFormItemAction, event?: React.SyntheticEvent | BaseEvent<any> | {
|
|
151
|
-
preventDefault: any;
|
|
152
|
-
}) => void];
|
|
153
|
-
/**
|
|
154
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `showOccurrenceDialog` state.
|
|
155
|
-
*
|
|
156
|
-
* For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
157
|
-
*/
|
|
158
|
-
export declare const SchedulerEditItemShowOccurrenceDialogContext: React.Context<SchedulerEditItemShowOccurrenceDialogContextType>;
|
|
159
|
-
/**
|
|
160
|
-
* A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `showOccurrenceDialog` state.
|
|
161
|
-
*
|
|
162
|
-
* For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
163
|
-
*
|
|
164
|
-
* @returns
|
|
165
|
-
*/
|
|
166
|
-
export declare const useSchedulerEditItemShowOccurrenceDialogContext: () => SchedulerEditItemShowOccurrenceDialogContextType;
|
|
167
|
-
/** @hidden */
|
|
168
|
-
export declare const SchedulerEditItemContext: ({ props, form, drag, resize, remove, showRemoveDialog, showOccurrenceDialog, children }: SchedulerEditItemContextProps) => JSX.Element;
|