@progress/kendo-react-scheduler 7.0.0-develop.1 → 7.0.0-develop.10

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 (126) hide show
  1. package/Scheduler.d.ts +362 -0
  2. package/components/BaseView.d.ts +22 -0
  3. package/components/CurrentTimeMarket.d.ts +19 -0
  4. package/components/DateHeaderCell.d.ts +46 -0
  5. package/components/SchedulerForm.d.ts +71 -0
  6. package/components/SchedulerOccurrenceDialog.d.ts +46 -0
  7. package/components/SchedulerRemoveDialog.d.ts +42 -0
  8. package/components/ShowMoreItemsButton.d.ts +30 -0
  9. package/components/TimeHeaderCell.d.ts +46 -0
  10. package/components/footer/SchedulerFooter.d.ts +25 -0
  11. package/components/footer/bussiness-hours/BussinessHours.d.ts +17 -0
  12. package/components/header/SchedulerHeader.d.ts +22 -0
  13. package/components/header/navigation/NavigationDatePicker.d.ts +9 -0
  14. package/components/header/navigation/SchedulerNavigation.d.ts +28 -0
  15. package/components/header/view-selector/SchedulerViewSelector.d.ts +28 -0
  16. package/components/header/view-selector/ViewSelectorItem.d.ts +12 -0
  17. package/components/header/view-selector/ViewSelectorList.d.ts +7 -0
  18. package/constants/index.d.ts +58 -0
  19. package/context/SchedulerContext.d.ts +231 -0
  20. package/context/SchedulerEditItemContext.d.ts +172 -0
  21. package/context/SchedulerEditSlotContext.d.ts +51 -0
  22. package/context/SchedulerEditTaskContext.d.ts +33 -0
  23. package/context/SchedulerResourceIteratorContext.d.ts +20 -0
  24. package/context/SchedulerViewContext.d.ts +76 -0
  25. package/context/index.d.ts +9 -0
  26. package/dist/cdn/js/kendo-react-scheduler.js +5 -0
  27. package/editors/FilterableComboBox.d.ts +8 -0
  28. package/editors/ResourceEditor.d.ts +18 -0
  29. package/editors/SchedulerFormEditor.d.ts +246 -0
  30. package/editors/ZonedDateTime.d.ts +22 -0
  31. package/hooks/index.d.ts +14 -0
  32. package/hooks/use-items-focus.d.ts +27 -0
  33. package/hooks/use-items-selection.d.ts +35 -0
  34. package/hooks/use-slots-focus.d.ts +38 -0
  35. package/hooks/use-slots-selection.d.ts +28 -0
  36. package/hooks/useAsyncMouseEnterLeave.d.ts +15 -0
  37. package/hooks/useCellSync.d.ts +14 -0
  38. package/hooks/useControlledState.d.ts +17 -0
  39. package/hooks/useEditable.d.ts +7 -0
  40. package/hooks/usePropOrState.d.ts +6 -0
  41. package/hooks/useRowSync.d.ts +15 -0
  42. package/hooks/useSchedulerItem.d.ts +11 -0
  43. package/hooks/useSchedulerSlot.d.ts +11 -0
  44. package/hooks/useSlotExpand.d.ts +9 -0
  45. package/hooks/useWorkHours.d.ts +6 -0
  46. package/index.d.ts +45 -0
  47. package/index.js +5 -0
  48. package/index.mjs +5880 -0
  49. package/items/SchedulerEditItem.d.ts +330 -0
  50. package/items/SchedulerItem.d.ts +203 -0
  51. package/items/SchedulerItemContent.d.ts +15 -0
  52. package/items/SchedulerProportionalViewItem.d.ts +12 -0
  53. package/items/SchedulerViewItem.d.ts +34 -0
  54. package/items/hooks/use-drag-item.d.ts +46 -0
  55. package/items/hooks/use-form-item.d.ts +26 -0
  56. package/items/hooks/use-remove-item.d.ts +34 -0
  57. package/items/hooks/use-resize-item.d.ts +49 -0
  58. package/items/hooks/use-series.d.ts +27 -0
  59. package/items/hooks/use-show-occurrence-dialog.d.ts +31 -0
  60. package/items/hooks/use-show-remove-item-dialog.d.ts +31 -0
  61. package/messages/index.d.ts +240 -0
  62. package/models/DataItem.d.ts +12 -0
  63. package/models/DateRange.d.ts +22 -0
  64. package/models/EditableProp.d.ts +33 -0
  65. package/models/Fields.d.ts +21 -0
  66. package/models/Group.d.ts +12 -0
  67. package/models/Item.d.ts +68 -0
  68. package/models/Occurrence.d.ts +56 -0
  69. package/models/Omit.d.ts +8 -0
  70. package/models/Orientation.d.ts +6 -0
  71. package/models/Range.d.ts +14 -0
  72. package/models/Rect.d.ts +19 -0
  73. package/models/Resource.d.ts +12 -0
  74. package/models/SchedulerGroup.d.ts +17 -0
  75. package/models/SchedulerHandle.d.ts +12 -0
  76. package/models/SchedulerModelFields.d.ts +66 -0
  77. package/models/SchedulerResource.d.ts +37 -0
  78. package/models/SchedulerView.d.ts +80 -0
  79. package/models/Slot.d.ts +54 -0
  80. package/models/events.d.ts +87 -0
  81. package/models/index.d.ts +21 -0
  82. package/package-metadata.d.ts +9 -0
  83. package/package.json +12 -17
  84. package/recurrence/RecurrenceEditor.d.ts +16 -0
  85. package/recurrence/RecurrenceFrequencyEditor.d.ts +14 -0
  86. package/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +17 -0
  87. package/recurrence/common.d.ts +61 -0
  88. package/recurrence/types/EndRule.d.ts +8 -0
  89. package/recurrence/types/Frequency.d.ts +8 -0
  90. package/recurrence/types/FrequencyEntity.d.ts +12 -0
  91. package/recurrence/types/MonthEntity.d.ts +11 -0
  92. package/recurrence/types/OffsetPosition.d.ts +8 -0
  93. package/recurrence/types/OffsetPositionEntity.d.ts +11 -0
  94. package/recurrence/types/RepeatOnRule.d.ts +8 -0
  95. package/recurrence/types/WeekDayEntity.d.ts +11 -0
  96. package/recurrence/types/WeekDayRule.d.ts +11 -0
  97. package/services/index.d.ts +8 -0
  98. package/services/itemsService.d.ts +16 -0
  99. package/services/occurrenceService.d.ts +7 -0
  100. package/services/rangeService.d.ts +7 -0
  101. package/services/slotsService.d.ts +10 -0
  102. package/slots/SchedulerEditSlot.d.ts +52 -0
  103. package/slots/SchedulerSlot.d.ts +127 -0
  104. package/slots/SchedulerViewSlot.d.ts +46 -0
  105. package/tasks/SchedulerEditTask.d.ts +79 -0
  106. package/tasks/SchedulerTask.d.ts +61 -0
  107. package/tasks/SchedulerViewTask.d.ts +32 -0
  108. package/utils/index.d.ts +172 -0
  109. package/views/agenda/AgendaView.d.ts +83 -0
  110. package/views/common/HorizontalResourceIterator.d.ts +30 -0
  111. package/views/common/SchedulerDrag.d.ts +39 -0
  112. package/views/common/SchedulerResize.d.ts +41 -0
  113. package/views/common/VerticalResourceIterator.d.ts +25 -0
  114. package/views/common/utils.d.ts +38 -0
  115. package/views/day/DayView.d.ts +15 -0
  116. package/views/day/DayViewAllDayRowContent.d.ts +12 -0
  117. package/views/day/DayViewGroupRowContent.d.ts +12 -0
  118. package/views/day/DayViewRowContent.d.ts +17 -0
  119. package/views/day/MultiDayView.d.ts +175 -0
  120. package/views/month/MonthView.d.ts +86 -0
  121. package/views/time/MultiDayTimelineView.d.ts +179 -0
  122. package/views/time/TimelineView.d.ts +27 -0
  123. package/views/time/TimelineViewAllEventsRowContent.d.ts +11 -0
  124. package/views/time/TimelineViewRowContent.d.ts +11 -0
  125. package/views/week/WeekView.d.ts +106 -0
  126. package/views/week/WorkWeekView.d.ts +9 -0
@@ -0,0 +1,172 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as React from 'react';
6
+ import { DataItem } from '../models';
7
+ import { SchedulerItemFormItemAction } from '../items/hooks/use-form-item';
8
+ import { BaseEvent } from '@progress/kendo-react-common';
9
+ import { SchedulerEditItemProps } from '../items/SchedulerEditItem';
10
+ /** @hidden */
11
+ export interface SchedulerEditItemContextProps {
12
+ props: SchedulerEditItemPropsContextType;
13
+ form: SchedulerEditItemFormItemContextType;
14
+ drag: SchedulerEditItemDragItemContextType;
15
+ resize: SchedulerEditItemResizeItemContextType;
16
+ remove: SchedulerEditItemRemoveItemContextType;
17
+ showRemoveDialog: SchedulerEditItemShowRemoveDialogContextType;
18
+ showOccurrenceDialog: SchedulerEditItemShowOccurrenceDialogContextType;
19
+ children?: React.ReactNode;
20
+ }
21
+ /**
22
+ * Specifies the result of the [useSchedulerEditItemPropsContext]({% slug api_scheduler_usescheduleredititempropscontext %}) and [SchedulerEditItemPropsContext]({% slug api_scheduler_scheduleredititempropscontext %}).
23
+ */
24
+ export type SchedulerEditItemPropsContextType = SchedulerEditItemProps;
25
+ /**
26
+ * A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) `props`.
27
+ *
28
+ * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
29
+ */
30
+ export declare const SchedulerEditItemPropsContext: React.Context<SchedulerEditItemProps>;
31
+ /**
32
+ * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) `props`.
33
+ *
34
+ * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
35
+ *
36
+ * @returns
37
+ */
38
+ export declare const useSchedulerEditItemPropsContext: () => SchedulerEditItemPropsContextType;
39
+ /**
40
+ * Specifies the result of the [useSchedulerEditItemFormItemContext]({% slug api_scheduler_usescheduleredititemformitemcontext %}) and [SchedulerEditItemFormItemContext]({% slug api_scheduler_scheduleredititemformitemcontext %}).
41
+ */
42
+ export type SchedulerEditItemFormItemContextType = [DataItem | null, (newValue: DataItem | null, event?: React.SyntheticEvent | BaseEvent<any> | {
43
+ preventDefault: any;
44
+ }) => void, (action: SchedulerItemFormItemAction, event?: React.SyntheticEvent | BaseEvent<any> | {
45
+ preventDefault: any;
46
+ }) => void];
47
+ /**
48
+ * A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `formItem` state.
49
+ *
50
+ * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
51
+ */
52
+ export declare const SchedulerEditItemFormItemContext: React.Context<SchedulerEditItemFormItemContextType>;
53
+ /**
54
+ * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `formItem` state.
55
+ *
56
+ * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
57
+ *
58
+ * @returns
59
+ */
60
+ export declare const useSchedulerEditItemFormItemContext: () => SchedulerEditItemFormItemContextType;
61
+ /**
62
+ * Specifies the result of the [useSchedulerEditItemDragItemContext]({% slug api_scheduler_usescheduleredititemdragitemcontext %}) and [SchedulerEditItemDragItemContext]({% slug api_scheduler_scheduleredititemdragitemcontext %}).
63
+ */
64
+ export type SchedulerEditItemDragItemContextType = [DataItem | null, (newValue?: DataItem | null, event?: React.SyntheticEvent | BaseEvent<any> | {
65
+ preventDefault: any;
66
+ }) => void, (action: SchedulerItemFormItemAction, event?: React.SyntheticEvent | BaseEvent<any> | {
67
+ preventDefault: any;
68
+ }) => void];
69
+ /**
70
+ * A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `dragItem` state.
71
+ *
72
+ * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
73
+ */
74
+ export declare const SchedulerEditItemDragItemContext: React.Context<SchedulerEditItemDragItemContextType>;
75
+ /**
76
+ * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `dragItem` state.
77
+ *
78
+ * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
79
+ *
80
+ * @returns
81
+ */
82
+ export declare const useSchedulerEditItemDragItemContext: () => SchedulerEditItemDragItemContextType;
83
+ /**
84
+ * Specifies the result of the [useSchedulerEditItemResizeItemContext]({% slug api_scheduler_usescheduleredititemresizeitemcontext %}) and [SchedulerEditItemResizeItemContext]({% slug api_scheduler_scheduleredititemresizeitemcontext %}).
85
+ */
86
+ export type SchedulerEditItemResizeItemContextType = [DataItem | null, (newValue?: DataItem | null, event?: React.SyntheticEvent | BaseEvent<any> | {
87
+ preventDefault: any;
88
+ }) => void, (action: SchedulerItemFormItemAction, event?: React.SyntheticEvent | BaseEvent<any> | {
89
+ preventDefault: any;
90
+ }) => void];
91
+ /**
92
+ * A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `resizeItem` state.
93
+ *
94
+ * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
95
+ */
96
+ export declare const SchedulerEditItemResizeItemContext: React.Context<SchedulerEditItemResizeItemContextType>;
97
+ /**
98
+ * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `resizeItem` state.
99
+ *
100
+ * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
101
+ *
102
+ * @returns
103
+ */
104
+ export declare const useSchedulerEditItemResizeItemContext: () => SchedulerEditItemResizeItemContextType;
105
+ /**
106
+ * Specifies the result of the [useSchedulerEditItemRemoveItemContext]({% slug api_scheduler_usescheduleredititemremoveitemcontext %}) and [SchedulerEditItemRemoveItemContext]({% slug api_scheduler_scheduleredititemremoveitemcontext %}).
107
+ */
108
+ export type SchedulerEditItemRemoveItemContextType = [DataItem | null, (newValue?: any, event?: React.SyntheticEvent | BaseEvent<any> | {
109
+ preventDefault: any;
110
+ }) => void, (action: SchedulerItemFormItemAction, event?: React.SyntheticEvent | BaseEvent<any> | {
111
+ preventDefault: any;
112
+ }) => void];
113
+ /**
114
+ * A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `removeItem` state.
115
+ *
116
+ * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
117
+ */
118
+ export declare const SchedulerEditItemRemoveItemContext: React.Context<SchedulerEditItemRemoveItemContextType>;
119
+ /**
120
+ * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `removeItem` state.
121
+ *
122
+ * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
123
+ *
124
+ * @returns
125
+ */
126
+ export declare const useSchedulerEditItemRemoveItemContext: () => SchedulerEditItemRemoveItemContextType;
127
+ /**
128
+ * Specifies the result of the [useSchedulerEditItemShowRemoveDialogContext]({% slug api_scheduler_usescheduleredititemshowremovedialogcontext %}) and [SchedulerEditItemShowRemoveDialogContext]({% slug api_scheduler_scheduleredititemshowremovedialogcontext %}).
129
+ */
130
+ export type SchedulerEditItemShowRemoveDialogContextType = [boolean, (newValue?: boolean, event?: React.SyntheticEvent | BaseEvent<any> | {
131
+ preventDefault: any;
132
+ }) => void, (action: SchedulerItemFormItemAction, event?: React.SyntheticEvent | BaseEvent<any> | {
133
+ preventDefault: any;
134
+ }) => void];
135
+ /**
136
+ * A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `showRemoveDialog` state.
137
+ *
138
+ * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
139
+ */
140
+ export declare const SchedulerEditItemShowRemoveDialogContext: React.Context<SchedulerEditItemShowRemoveDialogContextType>;
141
+ /**
142
+ * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `showRemoveDialog` state.
143
+ *
144
+ * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
145
+ *
146
+ * @returns
147
+ */
148
+ export declare const useSchedulerEditItemShowRemoveDialogContext: () => SchedulerEditItemShowRemoveDialogContextType;
149
+ /**
150
+ * Specifies the result of the [useSchedulerEditItemShowOccurrenceDialogContext]({% slug api_scheduler_usescheduleredititemshowoccurrencedialogcontext %}) and [SchedulerEditItemShowOccurrenceDialogContext]({% slug api_scheduler_scheduleredititemshowoccurrencedialogcontext %}).
151
+ */
152
+ export type SchedulerEditItemShowOccurrenceDialogContextType = [boolean, (newValue?: boolean, event?: React.SyntheticEvent | BaseEvent<any> | {
153
+ preventDefault: any;
154
+ }) => void, (action: SchedulerItemFormItemAction, event?: React.SyntheticEvent | BaseEvent<any> | {
155
+ preventDefault: any;
156
+ }) => void];
157
+ /**
158
+ * A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `showOccurrenceDialog` state.
159
+ *
160
+ * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
161
+ */
162
+ export declare const SchedulerEditItemShowOccurrenceDialogContext: React.Context<SchedulerEditItemShowOccurrenceDialogContextType>;
163
+ /**
164
+ * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `showOccurrenceDialog` state.
165
+ *
166
+ * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
167
+ *
168
+ * @returns
169
+ */
170
+ export declare const useSchedulerEditItemShowOccurrenceDialogContext: () => SchedulerEditItemShowOccurrenceDialogContextType;
171
+ /** @hidden */
172
+ export declare const SchedulerEditItemContext: ({ props, form, drag, resize, remove, showRemoveDialog, showOccurrenceDialog, children }: SchedulerEditItemContextProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,51 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as React from 'react';
6
+ import { DataItem } from '../models';
7
+ import { SchedulerEditSlotProps } from '../slots/SchedulerEditSlot';
8
+ /** @hidden */
9
+ export interface SchedulerEditSlotContextProps {
10
+ props: SchedulerEditSlotProps;
11
+ form: SchedulerEditSlotFormItemContextType;
12
+ children?: React.ReactNode;
13
+ }
14
+ /**
15
+ * Specifies the result of the [useSchedulerEditSlotPropsContext]({% slug api_scheduler_useschedulereditslotpropscontext %}) and [SchedulerEditSlotPropsContext]({% slug api_scheduler_schedulereditslotpropscontext %}).
16
+ */
17
+ export type SchedulerEditSlotPropsContextType = SchedulerEditSlotProps;
18
+ /**
19
+ * A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditSlot]({% slug api_scheduler_schedulereditslot %}) `props`.
20
+ *
21
+ * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
22
+ */
23
+ export declare const SchedulerEditSlotPropsContext: React.Context<SchedulerEditSlotProps>;
24
+ /**
25
+ * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditSlot]({% slug api_scheduler_schedulereditslot %}) `props`.
26
+ *
27
+ * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
28
+ *
29
+ * @returns
30
+ */
31
+ export declare const useSchedulerEditSlotPropsContext: () => SchedulerEditSlotPropsContextType;
32
+ /**
33
+ * Specifies the result of the [useSchedulerEditSlotFormItemContext]({% slug api_scheduler_useschedulereditslotformitemcontext %}) and [SchedulerEditSlotFormItemContext]({% slug api_scheduler_schedulereditslotformitemcontext %}).
34
+ */
35
+ export type SchedulerEditSlotFormItemContextType = [DataItem | null, (event?: any) => void];
36
+ /**
37
+ * A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditSlot]({% slug api_scheduler_schedulereditslot %}) internal `formItem` state.
38
+ *
39
+ * For more information, refer to the [Slots Context]({% slug state-update_slots_scheduler %}) article.
40
+ */
41
+ export declare const SchedulerEditSlotFormItemContext: React.Context<SchedulerEditSlotFormItemContextType>;
42
+ /**
43
+ * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditSlot]({% slug api_scheduler_schedulereditslot %}) internal `formItem` state.
44
+ *
45
+ * For more information, refer to the [Slots Context]({% slug state-update_slots_scheduler %}) article.
46
+ *
47
+ * @returns
48
+ */
49
+ export declare const useSchedulerEditSlotFormItemContext: () => SchedulerEditSlotFormItemContextType;
50
+ /** @hidden */
51
+ export declare const SchedulerEditSlotContext: ({ props, form, children }: SchedulerEditSlotContextProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,33 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as React from 'react';
6
+ import { DataItem } from '../models';
7
+ /** @hidden */
8
+ export interface SchedulerEditTaskContextProps {
9
+ remove: SchedulerEditTaskRemoveItemContextType;
10
+ showRemoveDialog: SchedulerEditTaskShowRemoveDialogContextType;
11
+ showOccurrenceDialog: SchedulerEditTaskShowOccurrenceDialogContextType;
12
+ children?: React.ReactNode;
13
+ }
14
+ /** @hidden */
15
+ export type SchedulerEditTaskRemoveItemContextType = [DataItem | null, (event?: any) => void];
16
+ /** @hidden */
17
+ export declare const SchedulerEditTaskRemoveItemContext: React.Context<SchedulerEditTaskRemoveItemContextType>;
18
+ /** @hidden */
19
+ export declare const useSchedulerEditTaskRemoveItemContext: () => SchedulerEditTaskRemoveItemContextType;
20
+ /** @hidden */
21
+ export type SchedulerEditTaskShowRemoveDialogContextType = [boolean, (event?: any) => void];
22
+ /** @hidden */
23
+ export declare const SchedulerEditTaskShowRemoveDialogContext: React.Context<SchedulerEditTaskShowRemoveDialogContextType>;
24
+ /** @hidden */
25
+ export declare const useSchedulerEditTaskShowRemoveDialogContext: () => SchedulerEditTaskShowRemoveDialogContextType;
26
+ /** @hidden */
27
+ export type SchedulerEditTaskShowOccurrenceDialogContextType = [boolean, (event?: any) => void];
28
+ /** @hidden */
29
+ export declare const SchedulerEditTaskShowOccurrenceDialogContext: React.Context<SchedulerEditTaskShowOccurrenceDialogContextType>;
30
+ /** @hidden */
31
+ export declare const useSchedulerEditTaskShowOccurrenceDialogContext: () => SchedulerEditTaskShowOccurrenceDialogContextType;
32
+ /** @hidden */
33
+ export declare const SchedulerEditTaskContext: (props: SchedulerEditTaskContextProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,20 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as React from 'react';
6
+ /**
7
+ * @hidden
8
+ */
9
+ export type SchedulerResourceIteratorContextType = {
10
+ resource: any;
11
+ groupIndex: number;
12
+ };
13
+ /**
14
+ * @hidden
15
+ */
16
+ export declare const SchedulerResourceIteratorContext: React.Context<SchedulerResourceIteratorContextType>;
17
+ /**
18
+ * @hidden
19
+ */
20
+ export declare const useSchedulerResourceIteratorContext: () => SchedulerResourceIteratorContextType;
@@ -0,0 +1,76 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as React from 'react';
6
+ import { SchedulerViewProps, Range } from '../models';
7
+ import { SchedulerItemsFocusAction, SchedulerSlotsFocusAction } from '../hooks';
8
+ import { SchedulerSlotHandle } from '../slots/SchedulerSlot';
9
+ import { SchedulerItemHandle } from '../items/SchedulerItem';
10
+ import { SchedulerItemsSelectAction } from '../hooks/use-items-selection';
11
+ import { SchedulerSlotsSelectAction } from '../hooks/use-slots-selection';
12
+ import { CollectionAction } from '@progress/kendo-react-common';
13
+ /**
14
+ * @hidden
15
+ */
16
+ export interface SchedulerViewContextProps {
17
+ children?: React.ReactNode;
18
+ props: SchedulerViewPropsContextType;
19
+ ranges: SchedulerViewRangesContextType;
20
+ slots: SchedulerViewSlotsContextType;
21
+ items: SchedulerViewItemsContextType;
22
+ selectedSlots: SchedulerViewSelectedSlotsContextType;
23
+ selectedItems: SchedulerViewSelectedItemsContextType;
24
+ focusedItems: SchedulerViewFocusedItemsContextType;
25
+ focusedSlots: SchedulerViewFocusedSlotsContextType;
26
+ }
27
+ /** @hidden */
28
+ export type SchedulerViewPropsContextType = SchedulerViewProps;
29
+ /** @hidden */
30
+ export declare const SchedulerViewPropsContext: React.Context<SchedulerViewProps>;
31
+ /** @hidden */
32
+ export declare const useSchedulerViewPropsContext: () => SchedulerViewProps;
33
+ /** @hidden */
34
+ export type SchedulerViewRangesContextType = Range[];
35
+ /** @hidden */
36
+ export declare const SchedulerViewRangesContext: React.Context<SchedulerViewRangesContextType>;
37
+ /** @hidden */
38
+ export declare const useSchedulerViewRangesContext: () => SchedulerViewRangesContextType;
39
+ /** @hidden */
40
+ export type SchedulerViewSlotsContextType = [React.RefObject<SchedulerSlotHandle>[], (action: CollectionAction<React.RefObject<SchedulerSlotHandle>>) => void];
41
+ /** @hidden */
42
+ export declare const SchedulerViewSlotsContext: React.Context<SchedulerViewSlotsContextType>;
43
+ /** @hidden */
44
+ export declare const useSchedulerViewSlotsContext: () => SchedulerViewSlotsContextType;
45
+ /** @hidden */
46
+ export type SchedulerViewItemsContextType = [React.RefObject<SchedulerItemHandle>[], (action: CollectionAction<React.RefObject<SchedulerItemHandle>>) => void];
47
+ /** @hidden */
48
+ export declare const SchedulerViewItemsContext: React.Context<SchedulerViewItemsContextType>;
49
+ /** @hidden */
50
+ export declare const useSchedulerViewItemsContext: () => SchedulerViewItemsContextType;
51
+ /** @hidden */
52
+ export type SchedulerViewSelectedSlotsContextType = [React.RefObject<SchedulerSlotHandle>[], (action: SchedulerSlotsSelectAction, event: React.SyntheticEvent) => void];
53
+ /** @hidden */
54
+ export declare const SchedulerViewSelectedSlotsContext: React.Context<SchedulerViewSelectedSlotsContextType>;
55
+ /** @hidden */
56
+ export declare const useSchedulerViewSelectedSlotsContext: () => SchedulerViewSelectedSlotsContextType;
57
+ /** @hidden */
58
+ export type SchedulerViewSelectedItemsContextType = [React.RefObject<SchedulerItemHandle>[], (action: SchedulerItemsSelectAction, event: React.SyntheticEvent) => void];
59
+ /** @hidden */
60
+ export declare const SchedulerViewSelectedItemsContext: React.Context<SchedulerViewSelectedItemsContextType>;
61
+ /** @hidden */
62
+ export declare const useSchedulerViewSelectedItemsContext: () => SchedulerViewSelectedItemsContextType;
63
+ /** @hidden */
64
+ export type SchedulerViewFocusedItemsContextType = [React.RefObject<SchedulerItemHandle>[], (action: SchedulerItemsFocusAction, event: React.SyntheticEvent) => void];
65
+ /** @hidden */
66
+ export declare const SchedulerViewFocusedItemsContext: React.Context<SchedulerViewFocusedItemsContextType>;
67
+ /** @hidden */
68
+ export declare const useSchedulerViewFocusedItemsContext: () => SchedulerViewFocusedItemsContextType;
69
+ /** @hidden */
70
+ export type SchedulerViewFocusedSlotsContextType = [React.RefObject<SchedulerSlotHandle>[], (action: SchedulerSlotsFocusAction, event: React.SyntheticEvent) => void];
71
+ /** @hidden */
72
+ export declare const SchedulerViewFocusedSlotsContext: React.Context<SchedulerViewFocusedSlotsContextType>;
73
+ /** @hidden */
74
+ export declare const useSchedulerViewFocusedSlotsContext: () => SchedulerViewFocusedSlotsContextType;
75
+ /** @hidden */
76
+ export declare const SchedulerViewContext: ({ children, props, ranges, slots, items, selectedSlots, selectedItems, focusedItems, focusedSlots }: SchedulerViewContextProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export * from './SchedulerContext';
6
+ export * from './SchedulerEditItemContext';
7
+ export * from './SchedulerEditSlotContext';
8
+ export * from './SchedulerEditTaskContext';
9
+ export * from './SchedulerViewContext';