@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.
Files changed (519) hide show
  1. package/LICENSE.md +1 -1
  2. package/package.json +40 -57
  3. package/about.md +0 -3
  4. package/dist/cdn/js/kendo-react-scheduler.js +0 -2
  5. package/dist/cdn/js/kendo-react-scheduler.js.LICENSE.txt +0 -14
  6. package/dist/es/Scheduler.d.ts +0 -365
  7. package/dist/es/Scheduler.js +0 -432
  8. package/dist/es/components/BaseView.d.ts +0 -18
  9. package/dist/es/components/BaseView.js +0 -34
  10. package/dist/es/components/CurrentTimeMarket.d.ts +0 -15
  11. package/dist/es/components/CurrentTimeMarket.js +0 -140
  12. package/dist/es/components/DateHeaderCell.d.ts +0 -42
  13. package/dist/es/components/DateHeaderCell.js +0 -55
  14. package/dist/es/components/SchedulerForm.d.ts +0 -67
  15. package/dist/es/components/SchedulerForm.js +0 -101
  16. package/dist/es/components/SchedulerOccurrenceDialog.d.ts +0 -42
  17. package/dist/es/components/SchedulerOccurrenceDialog.js +0 -61
  18. package/dist/es/components/SchedulerRemoveDialog.d.ts +0 -38
  19. package/dist/es/components/SchedulerRemoveDialog.js +0 -55
  20. package/dist/es/components/ShowMoreItemsButton.d.ts +0 -26
  21. package/dist/es/components/ShowMoreItemsButton.js +0 -42
  22. package/dist/es/components/TimeHeaderCell.d.ts +0 -42
  23. package/dist/es/components/TimeHeaderCell.js +0 -54
  24. package/dist/es/components/footer/SchedulerFooter.d.ts +0 -21
  25. package/dist/es/components/footer/SchedulerFooter.js +0 -39
  26. package/dist/es/components/footer/bussiness-hours/BussinessHours.d.ts +0 -13
  27. package/dist/es/components/footer/bussiness-hours/BussinessHours.js +0 -34
  28. package/dist/es/components/header/SchedulerHeader.d.ts +0 -18
  29. package/dist/es/components/header/SchedulerHeader.js +0 -40
  30. package/dist/es/components/header/navigation/NavigationDatePicker.d.ts +0 -5
  31. package/dist/es/components/header/navigation/NavigationDatePicker.js +0 -100
  32. package/dist/es/components/header/navigation/SchedulerNavigation.d.ts +0 -24
  33. package/dist/es/components/header/navigation/SchedulerNavigation.js +0 -38
  34. package/dist/es/components/header/view-selector/SchedulerViewSelector.d.ts +0 -24
  35. package/dist/es/components/header/view-selector/SchedulerViewSelector.js +0 -38
  36. package/dist/es/components/header/view-selector/ViewSelectorItem.d.ts +0 -9
  37. package/dist/es/components/header/view-selector/ViewSelectorItem.js +0 -16
  38. package/dist/es/components/header/view-selector/ViewSelectorList.d.ts +0 -3
  39. package/dist/es/components/header/view-selector/ViewSelectorList.js +0 -69
  40. package/dist/es/constants/index.d.ts +0 -46
  41. package/dist/es/constants/index.js +0 -55
  42. package/dist/es/context/SchedulerContext.d.ts +0 -228
  43. package/dist/es/context/SchedulerContext.js +0 -187
  44. package/dist/es/context/SchedulerEditItemContext.d.ts +0 -168
  45. package/dist/es/context/SchedulerEditItemContext.js +0 -118
  46. package/dist/es/context/SchedulerEditSlotContext.d.ts +0 -47
  47. package/dist/es/context/SchedulerEditSlotContext.js +0 -37
  48. package/dist/es/context/SchedulerEditTaskContext.d.ts +0 -29
  49. package/dist/es/context/SchedulerEditTaskContext.js +0 -19
  50. package/dist/es/context/SchedulerResourceIteratorContext.d.ts +0 -16
  51. package/dist/es/context/SchedulerResourceIteratorContext.js +0 -12
  52. package/dist/es/context/SchedulerViewContext.d.ts +0 -71
  53. package/dist/es/context/SchedulerViewContext.js +0 -63
  54. package/dist/es/context/index.d.ts +0 -5
  55. package/dist/es/context/index.js +0 -5
  56. package/dist/es/editors/FilterableComboBox.d.ts +0 -5
  57. package/dist/es/editors/FilterableComboBox.js +0 -36
  58. package/dist/es/editors/ResourceEditor.d.ts +0 -15
  59. package/dist/es/editors/ResourceEditor.js +0 -51
  60. package/dist/es/editors/SchedulerFormEditor.d.ts +0 -242
  61. package/dist/es/editors/SchedulerFormEditor.js +0 -169
  62. package/dist/es/editors/ZonedDateTime.d.ts +0 -18
  63. package/dist/es/editors/ZonedDateTime.js +0 -54
  64. package/dist/es/editors/common.d.ts +0 -13
  65. package/dist/es/editors/common.js +0 -29
  66. package/dist/es/hooks/index.d.ts +0 -10
  67. package/dist/es/hooks/index.js +0 -10
  68. package/dist/es/hooks/use-items-focus.d.ts +0 -23
  69. package/dist/es/hooks/use-items-focus.js +0 -45
  70. package/dist/es/hooks/use-items-selection.d.ts +0 -31
  71. package/dist/es/hooks/use-items-selection.js +0 -87
  72. package/dist/es/hooks/use-slots-focus.d.ts +0 -34
  73. package/dist/es/hooks/use-slots-focus.js +0 -94
  74. package/dist/es/hooks/use-slots-selection.d.ts +0 -24
  75. package/dist/es/hooks/use-slots-selection.js +0 -52
  76. package/dist/es/hooks/useAsyncMouseEnterLeave.d.ts +0 -11
  77. package/dist/es/hooks/useAsyncMouseEnterLeave.js +0 -21
  78. package/dist/es/hooks/useCellSync.d.ts +0 -10
  79. package/dist/es/hooks/useCellSync.js +0 -42
  80. package/dist/es/hooks/useControlledState.d.ts +0 -13
  81. package/dist/es/hooks/useControlledState.js +0 -23
  82. package/dist/es/hooks/useEditable.d.ts +0 -3
  83. package/dist/es/hooks/useEditable.js +0 -27
  84. package/dist/es/hooks/usePropOrState.d.ts +0 -2
  85. package/dist/es/hooks/usePropOrState.js +0 -9
  86. package/dist/es/hooks/useRowSync.d.ts +0 -11
  87. package/dist/es/hooks/useRowSync.js +0 -43
  88. package/dist/es/hooks/useSchedulerItem.d.ts +0 -7
  89. package/dist/es/hooks/useSchedulerItem.js +0 -30
  90. package/dist/es/hooks/useSchedulerSlot.d.ts +0 -7
  91. package/dist/es/hooks/useSchedulerSlot.js +0 -29
  92. package/dist/es/hooks/useSlotExpand.d.ts +0 -5
  93. package/dist/es/hooks/useSlotExpand.js +0 -97
  94. package/dist/es/hooks/useWorkHours.d.ts +0 -2
  95. package/dist/es/hooks/useWorkHours.js +0 -10
  96. package/dist/es/items/SchedulerEditItem.d.ts +0 -326
  97. package/dist/es/items/SchedulerEditItem.js +0 -626
  98. package/dist/es/items/SchedulerItem.d.ts +0 -199
  99. package/dist/es/items/SchedulerItem.js +0 -325
  100. package/dist/es/items/SchedulerItemContent.d.ts +0 -11
  101. package/dist/es/items/SchedulerItemContent.js +0 -21
  102. package/dist/es/items/SchedulerProportionalViewItem.d.ts +0 -8
  103. package/dist/es/items/SchedulerProportionalViewItem.js +0 -233
  104. package/dist/es/items/SchedulerViewItem.d.ts +0 -30
  105. package/dist/es/items/SchedulerViewItem.js +0 -235
  106. package/dist/es/items/hooks/use-drag-item.d.ts +0 -42
  107. package/dist/es/items/hooks/use-drag-item.js +0 -209
  108. package/dist/es/items/hooks/use-form-item.d.ts +0 -22
  109. package/dist/es/items/hooks/use-form-item.js +0 -48
  110. package/dist/es/items/hooks/use-remove-item.d.ts +0 -30
  111. package/dist/es/items/hooks/use-remove-item.js +0 -46
  112. package/dist/es/items/hooks/use-resize-item.d.ts +0 -45
  113. package/dist/es/items/hooks/use-resize-item.js +0 -249
  114. package/dist/es/items/hooks/use-series.d.ts +0 -23
  115. package/dist/es/items/hooks/use-series.js +0 -36
  116. package/dist/es/items/hooks/use-show-occurrence-dialog.d.ts +0 -27
  117. package/dist/es/items/hooks/use-show-occurrence-dialog.js +0 -44
  118. package/dist/es/items/hooks/use-show-remove-item-dialog.d.ts +0 -27
  119. package/dist/es/items/hooks/use-show-remove-item-dialog.js +0 -44
  120. package/dist/es/main.d.ts +0 -40
  121. package/dist/es/main.js +0 -56
  122. package/dist/es/messages/index.d.ts +0 -236
  123. package/dist/es/messages/index.js +0 -237
  124. package/dist/es/models/DataItem.d.ts +0 -8
  125. package/dist/es/models/DataItem.js +0 -1
  126. package/dist/es/models/DateRange.d.ts +0 -18
  127. package/dist/es/models/DateRange.js +0 -1
  128. package/dist/es/models/EditableProp.d.ts +0 -29
  129. package/dist/es/models/EditableProp.js +0 -1
  130. package/dist/es/models/Fields.d.ts +0 -17
  131. package/dist/es/models/Fields.js +0 -1
  132. package/dist/es/models/Group.d.ts +0 -8
  133. package/dist/es/models/Group.js +0 -1
  134. package/dist/es/models/Item.d.ts +0 -65
  135. package/dist/es/models/Item.js +0 -1
  136. package/dist/es/models/NavigationAction.d.ts +0 -58
  137. package/dist/es/models/NavigationAction.js +0 -11
  138. package/dist/es/models/Occurrence.d.ts +0 -52
  139. package/dist/es/models/Occurrence.js +0 -1
  140. package/dist/es/models/Omit.d.ts +0 -4
  141. package/dist/es/models/Omit.js +0 -1
  142. package/dist/es/models/Orientation.d.ts +0 -2
  143. package/dist/es/models/Orientation.js +0 -1
  144. package/dist/es/models/Range.d.ts +0 -10
  145. package/dist/es/models/Range.js +0 -1
  146. package/dist/es/models/Rect.d.ts +0 -15
  147. package/dist/es/models/Rect.js +0 -1
  148. package/dist/es/models/Resource.d.ts +0 -8
  149. package/dist/es/models/Resource.js +0 -1
  150. package/dist/es/models/SchedulerGroup.d.ts +0 -13
  151. package/dist/es/models/SchedulerGroup.js +0 -1
  152. package/dist/es/models/SchedulerHandle.d.ts +0 -8
  153. package/dist/es/models/SchedulerHandle.js +0 -1
  154. package/dist/es/models/SchedulerModelFields.d.ts +0 -62
  155. package/dist/es/models/SchedulerModelFields.js +0 -1
  156. package/dist/es/models/SchedulerResource.d.ts +0 -33
  157. package/dist/es/models/SchedulerResource.js +0 -1
  158. package/dist/es/models/SchedulerView.d.ts +0 -77
  159. package/dist/es/models/SchedulerView.js +0 -1
  160. package/dist/es/models/Slot.d.ts +0 -51
  161. package/dist/es/models/Slot.js +0 -1
  162. package/dist/es/models/events.d.ts +0 -82
  163. package/dist/es/models/events.js +0 -1
  164. package/dist/es/models/index.d.ts +0 -17
  165. package/dist/es/models/index.js +0 -17
  166. package/dist/es/package-metadata.d.ts +0 -5
  167. package/dist/es/package-metadata.js +0 -11
  168. package/dist/es/recurrence/RecurrenceEditor.d.ts +0 -12
  169. package/dist/es/recurrence/RecurrenceEditor.js +0 -309
  170. package/dist/es/recurrence/RecurrenceFrequencyEditor.d.ts +0 -10
  171. package/dist/es/recurrence/RecurrenceFrequencyEditor.js +0 -36
  172. package/dist/es/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +0 -13
  173. package/dist/es/recurrence/RecurrenceRepeatOnWeekEditor.js +0 -55
  174. package/dist/es/recurrence/common.d.ts +0 -57
  175. package/dist/es/recurrence/common.js +0 -212
  176. package/dist/es/recurrence/types/EndRule.d.ts +0 -4
  177. package/dist/es/recurrence/types/EndRule.js +0 -1
  178. package/dist/es/recurrence/types/Frequency.d.ts +0 -4
  179. package/dist/es/recurrence/types/Frequency.js +0 -1
  180. package/dist/es/recurrence/types/FrequencyEntity.d.ts +0 -8
  181. package/dist/es/recurrence/types/FrequencyEntity.js +0 -1
  182. package/dist/es/recurrence/types/MonthEntity.d.ts +0 -7
  183. package/dist/es/recurrence/types/MonthEntity.js +0 -1
  184. package/dist/es/recurrence/types/OffsetPosition.d.ts +0 -4
  185. package/dist/es/recurrence/types/OffsetPosition.js +0 -1
  186. package/dist/es/recurrence/types/OffsetPositionEntity.d.ts +0 -7
  187. package/dist/es/recurrence/types/OffsetPositionEntity.js +0 -1
  188. package/dist/es/recurrence/types/RepeatOnRule.d.ts +0 -4
  189. package/dist/es/recurrence/types/RepeatOnRule.js +0 -1
  190. package/dist/es/recurrence/types/WeekDayEntity.d.ts +0 -7
  191. package/dist/es/recurrence/types/WeekDayEntity.js +0 -1
  192. package/dist/es/recurrence/types/WeekDayRule.d.ts +0 -8
  193. package/dist/es/recurrence/types/WeekDayRule.js +0 -1
  194. package/dist/es/recurrence/utils/index.d.ts +0 -0
  195. package/dist/es/recurrence/utils/index.js +0 -1
  196. package/dist/es/reducers/editReducer.d.ts +0 -33
  197. package/dist/es/reducers/editReducer.js +0 -65
  198. package/dist/es/reducers/index.d.ts +0 -1
  199. package/dist/es/reducers/index.js +0 -1
  200. package/dist/es/services/index.d.ts +0 -4
  201. package/dist/es/services/index.js +0 -4
  202. package/dist/es/services/itemsService.d.ts +0 -12
  203. package/dist/es/services/itemsService.js +0 -77
  204. package/dist/es/services/occurrenceService.d.ts +0 -3
  205. package/dist/es/services/occurrenceService.js +0 -92
  206. package/dist/es/services/rangeService.d.ts +0 -3
  207. package/dist/es/services/rangeService.js +0 -23
  208. package/dist/es/services/slotsService.d.ts +0 -6
  209. package/dist/es/services/slotsService.js +0 -43
  210. package/dist/es/slots/SchedulerEditSlot.d.ts +0 -48
  211. package/dist/es/slots/SchedulerEditSlot.js +0 -228
  212. package/dist/es/slots/SchedulerSlot.d.ts +0 -123
  213. package/dist/es/slots/SchedulerSlot.js +0 -155
  214. package/dist/es/slots/SchedulerViewSlot.d.ts +0 -42
  215. package/dist/es/slots/SchedulerViewSlot.js +0 -49
  216. package/dist/es/tasks/SchedulerEditTask.d.ts +0 -75
  217. package/dist/es/tasks/SchedulerEditTask.js +0 -156
  218. package/dist/es/tasks/SchedulerTask.d.ts +0 -57
  219. package/dist/es/tasks/SchedulerTask.js +0 -42
  220. package/dist/es/tasks/SchedulerViewTask.d.ts +0 -28
  221. package/dist/es/tasks/SchedulerViewTask.js +0 -44
  222. package/dist/es/utils/index.d.ts +0 -168
  223. package/dist/es/utils/index.js +0 -556
  224. package/dist/es/views/agenda/AgendaView.d.ts +0 -79
  225. package/dist/es/views/agenda/AgendaView.js +0 -151
  226. package/dist/es/views/agenda/AgendaViewHeaderItem.d.ts +0 -8
  227. package/dist/es/views/agenda/AgendaViewHeaderItem.js +0 -11
  228. package/dist/es/views/common/HorizontalResourceIterator.d.ts +0 -26
  229. package/dist/es/views/common/HorizontalResourceIterator.js +0 -59
  230. package/dist/es/views/common/SchedulerDrag.d.ts +0 -35
  231. package/dist/es/views/common/SchedulerDrag.js +0 -41
  232. package/dist/es/views/common/SchedulerResize.d.ts +0 -37
  233. package/dist/es/views/common/SchedulerResize.js +0 -41
  234. package/dist/es/views/common/VerticalResourceIterator.d.ts +0 -21
  235. package/dist/es/views/common/VerticalResourceIterator.js +0 -93
  236. package/dist/es/views/common/utils.d.ts +0 -34
  237. package/dist/es/views/common/utils.js +0 -188
  238. package/dist/es/views/day/DayView.d.ts +0 -11
  239. package/dist/es/views/day/DayView.js +0 -31
  240. package/dist/es/views/day/DayViewAllDayRowContent.d.ts +0 -8
  241. package/dist/es/views/day/DayViewAllDayRowContent.js +0 -10
  242. package/dist/es/views/day/DayViewGroupRowContent.d.ts +0 -8
  243. package/dist/es/views/day/DayViewGroupRowContent.js +0 -7
  244. package/dist/es/views/day/DayViewRowContent.d.ts +0 -13
  245. package/dist/es/views/day/DayViewRowContent.js +0 -14
  246. package/dist/es/views/day/MultiDayView.d.ts +0 -171
  247. package/dist/es/views/day/MultiDayView.js +0 -270
  248. package/dist/es/views/month/MonthView.d.ts +0 -82
  249. package/dist/es/views/month/MonthView.js +0 -139
  250. package/dist/es/views/time/MultiDayTimelineView.d.ts +0 -175
  251. package/dist/es/views/time/MultiDayTimelineView.js +0 -209
  252. package/dist/es/views/time/TimelineView.d.ts +0 -23
  253. package/dist/es/views/time/TimelineView.js +0 -32
  254. package/dist/es/views/time/TimelineViewAllEventsRowContent.d.ts +0 -7
  255. package/dist/es/views/time/TimelineViewAllEventsRowContent.js +0 -11
  256. package/dist/es/views/time/TimelineViewRowContent.d.ts +0 -7
  257. package/dist/es/views/time/TimelineViewRowContent.js +0 -8
  258. package/dist/es/views/week/WeekView.d.ts +0 -102
  259. package/dist/es/views/week/WeekView.js +0 -52
  260. package/dist/es/views/week/WorkWeekView.d.ts +0 -5
  261. package/dist/es/views/week/WorkWeekView.js +0 -77
  262. package/dist/npm/Scheduler.d.ts +0 -365
  263. package/dist/npm/Scheduler.js +0 -435
  264. package/dist/npm/components/BaseView.d.ts +0 -18
  265. package/dist/npm/components/BaseView.js +0 -37
  266. package/dist/npm/components/CurrentTimeMarket.d.ts +0 -15
  267. package/dist/npm/components/CurrentTimeMarket.js +0 -144
  268. package/dist/npm/components/DateHeaderCell.d.ts +0 -42
  269. package/dist/npm/components/DateHeaderCell.js +0 -58
  270. package/dist/npm/components/SchedulerForm.d.ts +0 -67
  271. package/dist/npm/components/SchedulerForm.js +0 -104
  272. package/dist/npm/components/SchedulerOccurrenceDialog.d.ts +0 -42
  273. package/dist/npm/components/SchedulerOccurrenceDialog.js +0 -64
  274. package/dist/npm/components/SchedulerRemoveDialog.d.ts +0 -38
  275. package/dist/npm/components/SchedulerRemoveDialog.js +0 -58
  276. package/dist/npm/components/ShowMoreItemsButton.d.ts +0 -26
  277. package/dist/npm/components/ShowMoreItemsButton.js +0 -45
  278. package/dist/npm/components/TimeHeaderCell.d.ts +0 -42
  279. package/dist/npm/components/TimeHeaderCell.js +0 -57
  280. package/dist/npm/components/footer/SchedulerFooter.d.ts +0 -21
  281. package/dist/npm/components/footer/SchedulerFooter.js +0 -42
  282. package/dist/npm/components/footer/bussiness-hours/BussinessHours.d.ts +0 -13
  283. package/dist/npm/components/footer/bussiness-hours/BussinessHours.js +0 -37
  284. package/dist/npm/components/header/SchedulerHeader.d.ts +0 -18
  285. package/dist/npm/components/header/SchedulerHeader.js +0 -43
  286. package/dist/npm/components/header/navigation/NavigationDatePicker.d.ts +0 -5
  287. package/dist/npm/components/header/navigation/NavigationDatePicker.js +0 -103
  288. package/dist/npm/components/header/navigation/SchedulerNavigation.d.ts +0 -24
  289. package/dist/npm/components/header/navigation/SchedulerNavigation.js +0 -41
  290. package/dist/npm/components/header/view-selector/SchedulerViewSelector.d.ts +0 -24
  291. package/dist/npm/components/header/view-selector/SchedulerViewSelector.js +0 -41
  292. package/dist/npm/components/header/view-selector/ViewSelectorItem.d.ts +0 -9
  293. package/dist/npm/components/header/view-selector/ViewSelectorItem.js +0 -20
  294. package/dist/npm/components/header/view-selector/ViewSelectorList.d.ts +0 -3
  295. package/dist/npm/components/header/view-selector/ViewSelectorList.js +0 -72
  296. package/dist/npm/constants/index.d.ts +0 -46
  297. package/dist/npm/constants/index.js +0 -59
  298. package/dist/npm/context/SchedulerContext.d.ts +0 -228
  299. package/dist/npm/context/SchedulerContext.js +0 -203
  300. package/dist/npm/context/SchedulerEditItemContext.d.ts +0 -168
  301. package/dist/npm/context/SchedulerEditItemContext.js +0 -129
  302. package/dist/npm/context/SchedulerEditSlotContext.d.ts +0 -47
  303. package/dist/npm/context/SchedulerEditSlotContext.js +0 -43
  304. package/dist/npm/context/SchedulerEditTaskContext.d.ts +0 -29
  305. package/dist/npm/context/SchedulerEditTaskContext.js +0 -26
  306. package/dist/npm/context/SchedulerResourceIteratorContext.d.ts +0 -16
  307. package/dist/npm/context/SchedulerResourceIteratorContext.js +0 -16
  308. package/dist/npm/context/SchedulerViewContext.d.ts +0 -71
  309. package/dist/npm/context/SchedulerViewContext.js +0 -75
  310. package/dist/npm/context/index.d.ts +0 -5
  311. package/dist/npm/context/index.js +0 -21
  312. package/dist/npm/editors/FilterableComboBox.d.ts +0 -5
  313. package/dist/npm/editors/FilterableComboBox.js +0 -40
  314. package/dist/npm/editors/ResourceEditor.d.ts +0 -15
  315. package/dist/npm/editors/ResourceEditor.js +0 -55
  316. package/dist/npm/editors/SchedulerFormEditor.d.ts +0 -242
  317. package/dist/npm/editors/SchedulerFormEditor.js +0 -172
  318. package/dist/npm/editors/ZonedDateTime.d.ts +0 -18
  319. package/dist/npm/editors/ZonedDateTime.js +0 -58
  320. package/dist/npm/editors/common.d.ts +0 -13
  321. package/dist/npm/editors/common.js +0 -34
  322. package/dist/npm/hooks/index.d.ts +0 -10
  323. package/dist/npm/hooks/index.js +0 -26
  324. package/dist/npm/hooks/use-items-focus.d.ts +0 -23
  325. package/dist/npm/hooks/use-items-focus.js +0 -49
  326. package/dist/npm/hooks/use-items-selection.d.ts +0 -31
  327. package/dist/npm/hooks/use-items-selection.js +0 -91
  328. package/dist/npm/hooks/use-slots-focus.d.ts +0 -34
  329. package/dist/npm/hooks/use-slots-focus.js +0 -102
  330. package/dist/npm/hooks/use-slots-selection.d.ts +0 -24
  331. package/dist/npm/hooks/use-slots-selection.js +0 -56
  332. package/dist/npm/hooks/useAsyncMouseEnterLeave.d.ts +0 -11
  333. package/dist/npm/hooks/useAsyncMouseEnterLeave.js +0 -25
  334. package/dist/npm/hooks/useCellSync.d.ts +0 -10
  335. package/dist/npm/hooks/useCellSync.js +0 -46
  336. package/dist/npm/hooks/useControlledState.d.ts +0 -13
  337. package/dist/npm/hooks/useControlledState.js +0 -27
  338. package/dist/npm/hooks/useEditable.d.ts +0 -3
  339. package/dist/npm/hooks/useEditable.js +0 -31
  340. package/dist/npm/hooks/usePropOrState.d.ts +0 -2
  341. package/dist/npm/hooks/usePropOrState.js +0 -13
  342. package/dist/npm/hooks/useRowSync.d.ts +0 -11
  343. package/dist/npm/hooks/useRowSync.js +0 -47
  344. package/dist/npm/hooks/useSchedulerItem.d.ts +0 -7
  345. package/dist/npm/hooks/useSchedulerItem.js +0 -34
  346. package/dist/npm/hooks/useSchedulerSlot.d.ts +0 -7
  347. package/dist/npm/hooks/useSchedulerSlot.js +0 -33
  348. package/dist/npm/hooks/useSlotExpand.d.ts +0 -5
  349. package/dist/npm/hooks/useSlotExpand.js +0 -101
  350. package/dist/npm/hooks/useWorkHours.d.ts +0 -2
  351. package/dist/npm/hooks/useWorkHours.js +0 -14
  352. package/dist/npm/items/SchedulerEditItem.d.ts +0 -326
  353. package/dist/npm/items/SchedulerEditItem.js +0 -629
  354. package/dist/npm/items/SchedulerItem.d.ts +0 -199
  355. package/dist/npm/items/SchedulerItem.js +0 -328
  356. package/dist/npm/items/SchedulerItemContent.d.ts +0 -11
  357. package/dist/npm/items/SchedulerItemContent.js +0 -24
  358. package/dist/npm/items/SchedulerProportionalViewItem.d.ts +0 -8
  359. package/dist/npm/items/SchedulerProportionalViewItem.js +0 -236
  360. package/dist/npm/items/SchedulerViewItem.d.ts +0 -30
  361. package/dist/npm/items/SchedulerViewItem.js +0 -238
  362. package/dist/npm/items/hooks/use-drag-item.d.ts +0 -42
  363. package/dist/npm/items/hooks/use-drag-item.js +0 -213
  364. package/dist/npm/items/hooks/use-form-item.d.ts +0 -22
  365. package/dist/npm/items/hooks/use-form-item.js +0 -52
  366. package/dist/npm/items/hooks/use-remove-item.d.ts +0 -30
  367. package/dist/npm/items/hooks/use-remove-item.js +0 -50
  368. package/dist/npm/items/hooks/use-resize-item.d.ts +0 -45
  369. package/dist/npm/items/hooks/use-resize-item.js +0 -253
  370. package/dist/npm/items/hooks/use-series.d.ts +0 -23
  371. package/dist/npm/items/hooks/use-series.js +0 -40
  372. package/dist/npm/items/hooks/use-show-occurrence-dialog.d.ts +0 -27
  373. package/dist/npm/items/hooks/use-show-occurrence-dialog.js +0 -48
  374. package/dist/npm/items/hooks/use-show-remove-item-dialog.d.ts +0 -27
  375. package/dist/npm/items/hooks/use-show-remove-item-dialog.js +0 -48
  376. package/dist/npm/main.d.ts +0 -40
  377. package/dist/npm/main.js +0 -127
  378. package/dist/npm/messages/index.d.ts +0 -236
  379. package/dist/npm/messages/index.js +0 -241
  380. package/dist/npm/models/DataItem.d.ts +0 -8
  381. package/dist/npm/models/DataItem.js +0 -2
  382. package/dist/npm/models/DateRange.d.ts +0 -18
  383. package/dist/npm/models/DateRange.js +0 -2
  384. package/dist/npm/models/EditableProp.d.ts +0 -29
  385. package/dist/npm/models/EditableProp.js +0 -2
  386. package/dist/npm/models/Fields.d.ts +0 -17
  387. package/dist/npm/models/Fields.js +0 -2
  388. package/dist/npm/models/Group.d.ts +0 -8
  389. package/dist/npm/models/Group.js +0 -2
  390. package/dist/npm/models/Item.d.ts +0 -65
  391. package/dist/npm/models/Item.js +0 -2
  392. package/dist/npm/models/NavigationAction.d.ts +0 -58
  393. package/dist/npm/models/NavigationAction.js +0 -12
  394. package/dist/npm/models/Occurrence.d.ts +0 -52
  395. package/dist/npm/models/Occurrence.js +0 -2
  396. package/dist/npm/models/Omit.d.ts +0 -4
  397. package/dist/npm/models/Omit.js +0 -2
  398. package/dist/npm/models/Orientation.d.ts +0 -2
  399. package/dist/npm/models/Orientation.js +0 -2
  400. package/dist/npm/models/Range.d.ts +0 -10
  401. package/dist/npm/models/Range.js +0 -2
  402. package/dist/npm/models/Rect.d.ts +0 -15
  403. package/dist/npm/models/Rect.js +0 -2
  404. package/dist/npm/models/Resource.d.ts +0 -8
  405. package/dist/npm/models/Resource.js +0 -2
  406. package/dist/npm/models/SchedulerGroup.d.ts +0 -13
  407. package/dist/npm/models/SchedulerGroup.js +0 -2
  408. package/dist/npm/models/SchedulerHandle.d.ts +0 -8
  409. package/dist/npm/models/SchedulerHandle.js +0 -2
  410. package/dist/npm/models/SchedulerModelFields.d.ts +0 -62
  411. package/dist/npm/models/SchedulerModelFields.js +0 -2
  412. package/dist/npm/models/SchedulerResource.d.ts +0 -33
  413. package/dist/npm/models/SchedulerResource.js +0 -2
  414. package/dist/npm/models/SchedulerView.d.ts +0 -77
  415. package/dist/npm/models/SchedulerView.js +0 -2
  416. package/dist/npm/models/Slot.d.ts +0 -51
  417. package/dist/npm/models/Slot.js +0 -2
  418. package/dist/npm/models/events.d.ts +0 -82
  419. package/dist/npm/models/events.js +0 -2
  420. package/dist/npm/models/index.d.ts +0 -17
  421. package/dist/npm/models/index.js +0 -33
  422. package/dist/npm/package-metadata.d.ts +0 -5
  423. package/dist/npm/package-metadata.js +0 -14
  424. package/dist/npm/recurrence/RecurrenceEditor.d.ts +0 -12
  425. package/dist/npm/recurrence/RecurrenceEditor.js +0 -313
  426. package/dist/npm/recurrence/RecurrenceFrequencyEditor.d.ts +0 -10
  427. package/dist/npm/recurrence/RecurrenceFrequencyEditor.js +0 -40
  428. package/dist/npm/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +0 -13
  429. package/dist/npm/recurrence/RecurrenceRepeatOnWeekEditor.js +0 -59
  430. package/dist/npm/recurrence/common.d.ts +0 -57
  431. package/dist/npm/recurrence/common.js +0 -233
  432. package/dist/npm/recurrence/types/EndRule.d.ts +0 -4
  433. package/dist/npm/recurrence/types/EndRule.js +0 -2
  434. package/dist/npm/recurrence/types/Frequency.d.ts +0 -4
  435. package/dist/npm/recurrence/types/Frequency.js +0 -2
  436. package/dist/npm/recurrence/types/FrequencyEntity.d.ts +0 -8
  437. package/dist/npm/recurrence/types/FrequencyEntity.js +0 -2
  438. package/dist/npm/recurrence/types/MonthEntity.d.ts +0 -7
  439. package/dist/npm/recurrence/types/MonthEntity.js +0 -2
  440. package/dist/npm/recurrence/types/OffsetPosition.d.ts +0 -4
  441. package/dist/npm/recurrence/types/OffsetPosition.js +0 -2
  442. package/dist/npm/recurrence/types/OffsetPositionEntity.d.ts +0 -7
  443. package/dist/npm/recurrence/types/OffsetPositionEntity.js +0 -2
  444. package/dist/npm/recurrence/types/RepeatOnRule.d.ts +0 -4
  445. package/dist/npm/recurrence/types/RepeatOnRule.js +0 -2
  446. package/dist/npm/recurrence/types/WeekDayEntity.d.ts +0 -7
  447. package/dist/npm/recurrence/types/WeekDayEntity.js +0 -2
  448. package/dist/npm/recurrence/types/WeekDayRule.d.ts +0 -8
  449. package/dist/npm/recurrence/types/WeekDayRule.js +0 -2
  450. package/dist/npm/recurrence/utils/index.d.ts +0 -0
  451. package/dist/npm/recurrence/utils/index.js +0 -1
  452. package/dist/npm/reducers/editReducer.d.ts +0 -33
  453. package/dist/npm/reducers/editReducer.js +0 -69
  454. package/dist/npm/reducers/index.d.ts +0 -1
  455. package/dist/npm/reducers/index.js +0 -17
  456. package/dist/npm/services/index.d.ts +0 -4
  457. package/dist/npm/services/index.js +0 -20
  458. package/dist/npm/services/itemsService.d.ts +0 -12
  459. package/dist/npm/services/itemsService.js +0 -84
  460. package/dist/npm/services/occurrenceService.d.ts +0 -3
  461. package/dist/npm/services/occurrenceService.js +0 -96
  462. package/dist/npm/services/rangeService.d.ts +0 -3
  463. package/dist/npm/services/rangeService.js +0 -27
  464. package/dist/npm/services/slotsService.d.ts +0 -6
  465. package/dist/npm/services/slotsService.js +0 -47
  466. package/dist/npm/slots/SchedulerEditSlot.d.ts +0 -48
  467. package/dist/npm/slots/SchedulerEditSlot.js +0 -231
  468. package/dist/npm/slots/SchedulerSlot.d.ts +0 -123
  469. package/dist/npm/slots/SchedulerSlot.js +0 -158
  470. package/dist/npm/slots/SchedulerViewSlot.d.ts +0 -42
  471. package/dist/npm/slots/SchedulerViewSlot.js +0 -52
  472. package/dist/npm/tasks/SchedulerEditTask.d.ts +0 -75
  473. package/dist/npm/tasks/SchedulerEditTask.js +0 -159
  474. package/dist/npm/tasks/SchedulerTask.d.ts +0 -57
  475. package/dist/npm/tasks/SchedulerTask.js +0 -45
  476. package/dist/npm/tasks/SchedulerViewTask.d.ts +0 -28
  477. package/dist/npm/tasks/SchedulerViewTask.js +0 -47
  478. package/dist/npm/utils/index.d.ts +0 -168
  479. package/dist/npm/utils/index.js +0 -606
  480. package/dist/npm/views/agenda/AgendaView.d.ts +0 -79
  481. package/dist/npm/views/agenda/AgendaView.js +0 -155
  482. package/dist/npm/views/agenda/AgendaViewHeaderItem.d.ts +0 -8
  483. package/dist/npm/views/agenda/AgendaViewHeaderItem.js +0 -15
  484. package/dist/npm/views/common/HorizontalResourceIterator.d.ts +0 -26
  485. package/dist/npm/views/common/HorizontalResourceIterator.js +0 -64
  486. package/dist/npm/views/common/SchedulerDrag.d.ts +0 -35
  487. package/dist/npm/views/common/SchedulerDrag.js +0 -45
  488. package/dist/npm/views/common/SchedulerResize.d.ts +0 -37
  489. package/dist/npm/views/common/SchedulerResize.js +0 -45
  490. package/dist/npm/views/common/VerticalResourceIterator.d.ts +0 -21
  491. package/dist/npm/views/common/VerticalResourceIterator.js +0 -97
  492. package/dist/npm/views/common/utils.d.ts +0 -34
  493. package/dist/npm/views/common/utils.js +0 -202
  494. package/dist/npm/views/day/DayView.d.ts +0 -11
  495. package/dist/npm/views/day/DayView.js +0 -35
  496. package/dist/npm/views/day/DayViewAllDayRowContent.d.ts +0 -8
  497. package/dist/npm/views/day/DayViewAllDayRowContent.js +0 -14
  498. package/dist/npm/views/day/DayViewGroupRowContent.d.ts +0 -8
  499. package/dist/npm/views/day/DayViewGroupRowContent.js +0 -11
  500. package/dist/npm/views/day/DayViewRowContent.d.ts +0 -13
  501. package/dist/npm/views/day/DayViewRowContent.js +0 -18
  502. package/dist/npm/views/day/MultiDayView.d.ts +0 -171
  503. package/dist/npm/views/day/MultiDayView.js +0 -274
  504. package/dist/npm/views/month/MonthView.d.ts +0 -82
  505. package/dist/npm/views/month/MonthView.js +0 -143
  506. package/dist/npm/views/time/MultiDayTimelineView.d.ts +0 -175
  507. package/dist/npm/views/time/MultiDayTimelineView.js +0 -213
  508. package/dist/npm/views/time/TimelineView.d.ts +0 -23
  509. package/dist/npm/views/time/TimelineView.js +0 -36
  510. package/dist/npm/views/time/TimelineViewAllEventsRowContent.d.ts +0 -7
  511. package/dist/npm/views/time/TimelineViewAllEventsRowContent.js +0 -15
  512. package/dist/npm/views/time/TimelineViewRowContent.d.ts +0 -7
  513. package/dist/npm/views/time/TimelineViewRowContent.js +0 -12
  514. package/dist/npm/views/week/WeekView.d.ts +0 -102
  515. package/dist/npm/views/week/WeekView.js +0 -56
  516. package/dist/npm/views/week/WorkWeekView.d.ts +0 -5
  517. package/dist/npm/views/week/WorkWeekView.js +0 -81
  518. package/dist/systemjs/kendo-react-scheduler.js +0 -1
  519. 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,187 +0,0 @@
1
- import * as React from 'react';
2
- import { defaultModelFields, noop } from '../utils';
3
- import { DEFAULT_GROUP } from '../constants';
4
- import { ZonedDate } from '@progress/kendo-date-math';
5
- /** @hidden */
6
- export var SchedulerElementContext = React.createContext({ current: null });
7
- /** @hidden */
8
- export var useSchedulerElementContext = function () { return React.useContext(SchedulerElementContext); };
9
- SchedulerElementContext.displayName = 'SchedulerElementContext';
10
- /**
11
- * A [React Context](https://reactjs.org/docs/context.html) providing access to the [Scheduler]({% slug api_scheduler_scheduler %}) props.
12
- *
13
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
14
- */
15
- export var SchedulerPropsContext = React.createContext({});
16
- /**
17
- * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [Scheduler]({% slug api_scheduler_scheduler %}) props.
18
- *
19
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
20
- *
21
- * @returns
22
- */
23
- export var useSchedulerPropsContext = function () { return React.useContext(SchedulerPropsContext); };
24
- SchedulerPropsContext.displayName = 'SchedulerPropsContext';
25
- /**
26
- * A [React Context](https://reactjs.org/docs/context.html) providing access to the available Scheduler [views]({% slug views_scheduler %}).
27
- *
28
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
29
- */
30
- export var SchedulerViewsContext = React.createContext([]);
31
- /**
32
- * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the available Scheduler [views]({% slug views_scheduler %}).
33
- *
34
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
35
- *
36
- * @returns
37
- */
38
- export var useSchedulerViewsContext = function () { return React.useContext(SchedulerViewsContext); };
39
- SchedulerViewsContext.displayName = 'SchedulerViewsContext';
40
- /**
41
- * 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.
42
- *
43
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
44
- */
45
- export var SchedulerFieldsContext = React.createContext(defaultModelFields);
46
- /**
47
- * 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.
48
- *
49
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
50
- *
51
- * @returns
52
- */
53
- export var useSchedulerFieldsContext = function () { return React.useContext(SchedulerFieldsContext); };
54
- SchedulerFieldsContext.displayName = 'SchedulerFieldsContext';
55
- /**
56
- * 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.
57
- *
58
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
59
- */
60
- export var SchedulerDateFormatContext = React.createContext({ dateFormat: '{0:D}', shortDateFormat: '{0:d}' });
61
- /**
62
- * 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.
63
- *
64
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
65
- *
66
- * @returns
67
- */
68
- export var useSchedulerDateFormatContext = function () { return React.useContext(SchedulerDateFormatContext); };
69
- SchedulerDateFormatContext.displayName = 'SchedulerDateFormatContext';
70
- /**
71
- * 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).
72
- *
73
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
74
- */
75
- export var SchedulerGroupsContext = React.createContext([DEFAULT_GROUP]);
76
- /**
77
- * 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).
78
- *
79
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
80
- *
81
- * @returns
82
- */
83
- export var useSchedulerGroupsContext = function () { return React.useContext(SchedulerGroupsContext); };
84
- SchedulerGroupsContext.displayName = 'SchedulerGroupsContext';
85
- /**
86
- * A [React Context](https://reactjs.org/docs/context.html) providing access to the `dateRange` of the current view.
87
- *
88
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
89
- */
90
- export var SchedulerDateRangeContext = React.createContext({ start: new Date(), end: new Date(), zonedStart: ZonedDate.fromLocalDate(new Date()), zonedEnd: ZonedDate.fromLocalDate(new Date()) });
91
- /**
92
- * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the `dateRange` of the current view.
93
- *
94
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
95
- *
96
- * @returns
97
- */
98
- export var useSchedulerDateRangeContext = function () { return React.useContext(SchedulerDateRangeContext); };
99
- SchedulerDateRangeContext.displayName = 'SchedulerDateRangeContext';
100
- /**
101
- * A [React Context](https://reactjs.org/docs/context.html) providing access to the grouping orientation of the Scheduler.
102
- *
103
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
104
- */
105
- export var SchedulerOrientationContext = React.createContext(null);
106
- /**
107
- * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the grouping orientation of the Scheduler.
108
- *
109
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
110
- *
111
- * @returns
112
- */
113
- export var useSchedulerOrientationContext = function () { return React.useContext(SchedulerOrientationContext); };
114
- SchedulerOrientationContext.displayName = 'SchedulerOrientationContext';
115
- /**
116
- * A [React Context](https://reactjs.org/docs/context.html) providing access to the Scheduler internal `date` state.
117
- *
118
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
119
- */
120
- export var SchedulerDateContext = React.createContext([new Date(), noop]);
121
- /**
122
- * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the Scheduler internal `date` state.
123
- *
124
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
125
- *
126
- * @returns
127
- */
128
- export var useSchedulerDateContext = function () { return React.useContext(SchedulerDateContext); };
129
- SchedulerDateContext.displayName = 'SchedulerDateContext';
130
- /**
131
- * A [React Context](https://reactjs.org/docs/context.html) providing access to the Scheduler internal `data` reducer.
132
- *
133
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
134
- */
135
- export var SchedulerDataContext = React.createContext([[], noop]);
136
- /**
137
- * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the Scheduler internal `data` reducer.
138
- *
139
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
140
- *
141
- * @returns
142
- */
143
- export var useSchedulerDataContext = function () { return React.useContext(SchedulerDataContext); };
144
- SchedulerDataContext.displayName = 'SchedulerDataContext';
145
- /**
146
- * A [React Context](https://reactjs.org/docs/context.html) providing access to the Scheduler internal `activeView` state.
147
- *
148
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
149
- */
150
- export var SchedulerActiveViewContext = React.createContext(['day', noop]);
151
- /**
152
- * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the Scheduler internal `activeView` state.
153
- *
154
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
155
- *
156
- * @returns
157
- */
158
- export var useSchedulerActiveViewContext = function () { return React.useContext(SchedulerActiveViewContext); };
159
- SchedulerActiveViewContext.displayName = 'SchedulerActiveViewContext';
160
- /**
161
- * @hidden
162
- */
163
- export var SchedulerItemSelectionContext = React.createContext([null, function () { }]);
164
- /**
165
- * @hidden
166
- */
167
- export var useSchedulerItemSelectionContext = function () { return React.useContext(SchedulerItemSelectionContext); };
168
- SchedulerItemSelectionContext.displayName = 'SchedulerItemSelectionContext';
169
- /**
170
- *
171
- */
172
- /** @hidden */
173
- export var SchedulerContext = function (_a) {
174
- 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;
175
- return (React.createElement(SchedulerElementContext.Provider, { value: element },
176
- React.createElement(SchedulerPropsContext.Provider, { value: props },
177
- React.createElement(SchedulerViewsContext.Provider, { value: views },
178
- React.createElement(SchedulerFieldsContext.Provider, { value: fields },
179
- React.createElement(SchedulerDateFormatContext.Provider, { value: dateFormat },
180
- React.createElement(SchedulerGroupsContext.Provider, { value: groups },
181
- React.createElement(SchedulerDateRangeContext.Provider, { value: dateRange },
182
- React.createElement(SchedulerOrientationContext.Provider, { value: orientation },
183
- React.createElement(SchedulerDateContext.Provider, { value: date },
184
- React.createElement(SchedulerDataContext.Provider, { value: data },
185
- React.createElement(SchedulerActiveViewContext.Provider, { value: activeView },
186
- React.createElement(SchedulerItemSelectionContext.Provider, { value: selection }, children)))))))))))));
187
- };
@@ -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;