@progress/kendo-react-scheduler 7.2.4-develop.3 → 7.2.4-develop.4

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 (301) hide show
  1. package/Scheduler.js +8 -0
  2. package/Scheduler.mjs +389 -0
  3. package/components/BaseView.js +8 -0
  4. package/components/BaseView.mjs +61 -0
  5. package/components/CurrentTimeMarket.js +8 -0
  6. package/components/CurrentTimeMarket.mjs +110 -0
  7. package/components/DateHeaderCell.js +8 -0
  8. package/components/DateHeaderCell.mjs +43 -0
  9. package/components/SchedulerForm.js +8 -0
  10. package/components/SchedulerForm.mjs +119 -0
  11. package/components/SchedulerOccurrenceDialog.js +8 -0
  12. package/components/SchedulerOccurrenceDialog.mjs +48 -0
  13. package/components/SchedulerRemoveDialog.js +8 -0
  14. package/components/SchedulerRemoveDialog.mjs +50 -0
  15. package/components/ShowMoreItemsButton.js +8 -0
  16. package/components/ShowMoreItemsButton.mjs +49 -0
  17. package/components/TimeHeaderCell.js +8 -0
  18. package/components/TimeHeaderCell.mjs +43 -0
  19. package/components/footer/SchedulerFooter.js +8 -0
  20. package/components/footer/SchedulerFooter.mjs +35 -0
  21. package/components/footer/bussiness-hours/BussinessHours.js +8 -0
  22. package/components/footer/bussiness-hours/BussinessHours.mjs +31 -0
  23. package/components/header/SchedulerHeader.js +8 -0
  24. package/components/header/SchedulerHeader.mjs +35 -0
  25. package/components/header/navigation/NavigationDatePicker.js +8 -0
  26. package/components/header/navigation/NavigationDatePicker.mjs +113 -0
  27. package/components/header/navigation/SchedulerNavigation.js +8 -0
  28. package/components/header/navigation/SchedulerNavigation.mjs +32 -0
  29. package/components/header/view-selector/SchedulerViewSelector.js +8 -0
  30. package/components/header/view-selector/SchedulerViewSelector.mjs +32 -0
  31. package/components/header/view-selector/ViewSelectorItem.js +8 -0
  32. package/components/header/view-selector/ViewSelectorItem.mjs +39 -0
  33. package/components/header/view-selector/ViewSelectorList.js +8 -0
  34. package/components/header/view-selector/ViewSelectorList.mjs +65 -0
  35. package/constants/index.js +8 -0
  36. package/constants/index.mjs +28 -0
  37. package/context/SchedulerContext.js +8 -0
  38. package/context/SchedulerContext.mjs +78 -0
  39. package/context/SchedulerEditItemContext.js +8 -0
  40. package/context/SchedulerEditItemContext.mjs +51 -0
  41. package/context/SchedulerEditSlotContext.js +8 -0
  42. package/context/SchedulerEditSlotContext.mjs +25 -0
  43. package/context/SchedulerEditTaskContext.js +8 -0
  44. package/context/SchedulerEditTaskContext.mjs +16 -0
  45. package/context/SchedulerResourceIteratorContext.js +8 -0
  46. package/context/SchedulerResourceIteratorContext.mjs +16 -0
  47. package/context/SchedulerViewContext.js +8 -0
  48. package/context/SchedulerViewContext.mjs +60 -0
  49. package/dist/cdn/js/kendo-react-scheduler.js +8 -5
  50. package/editors/FilterableComboBox.js +8 -0
  51. package/editors/FilterableComboBox.mjs +37 -0
  52. package/editors/ResourceEditor.js +8 -0
  53. package/editors/ResourceEditor.mjs +71 -0
  54. package/editors/SchedulerFormEditor.js +8 -0
  55. package/editors/SchedulerFormEditor.mjs +368 -0
  56. package/editors/ZonedDateTime.js +8 -0
  57. package/editors/ZonedDateTime.mjs +44 -0
  58. package/hooks/use-items-focus.js +8 -0
  59. package/hooks/use-items-focus.mjs +42 -0
  60. package/hooks/use-items-selection.js +8 -0
  61. package/hooks/use-items-selection.mjs +67 -0
  62. package/hooks/use-slots-focus.js +8 -0
  63. package/hooks/use-slots-focus.mjs +49 -0
  64. package/hooks/use-slots-selection.js +8 -0
  65. package/hooks/use-slots-selection.mjs +37 -0
  66. package/hooks/useCellSync.js +8 -0
  67. package/hooks/useCellSync.mjs +29 -0
  68. package/hooks/useControlledState.js +8 -0
  69. package/hooks/useControlledState.mjs +21 -0
  70. package/hooks/useEditable.js +8 -0
  71. package/hooks/useEditable.mjs +24 -0
  72. package/hooks/useRowSync.js +8 -0
  73. package/hooks/useRowSync.mjs +32 -0
  74. package/hooks/useSchedulerItem.js +8 -0
  75. package/hooks/useSchedulerItem.mjs +31 -0
  76. package/hooks/useSchedulerSlot.js +8 -0
  77. package/hooks/useSchedulerSlot.mjs +31 -0
  78. package/hooks/useSlotExpand.js +8 -0
  79. package/hooks/useSlotExpand.mjs +67 -0
  80. package/index.d.mts +4220 -5
  81. package/index.d.ts +4220 -45
  82. package/index.js +8 -5
  83. package/index.mjs +145 -5878
  84. package/items/SchedulerEditItem.js +8 -0
  85. package/items/SchedulerEditItem.mjs +610 -0
  86. package/items/SchedulerItem.js +8 -0
  87. package/items/SchedulerItem.mjs +328 -0
  88. package/items/SchedulerItemContent.js +8 -0
  89. package/items/SchedulerItemContent.mjs +23 -0
  90. package/items/SchedulerProportionalViewItem.js +8 -0
  91. package/items/SchedulerProportionalViewItem.mjs +120 -0
  92. package/items/SchedulerViewItem.js +8 -0
  93. package/items/SchedulerViewItem.mjs +128 -0
  94. package/items/hooks/use-drag-item.js +8 -0
  95. package/items/hooks/use-drag-item.mjs +118 -0
  96. package/items/hooks/use-form-item.js +8 -0
  97. package/items/hooks/use-form-item.mjs +46 -0
  98. package/items/hooks/use-remove-item.js +8 -0
  99. package/items/hooks/use-remove-item.mjs +40 -0
  100. package/items/hooks/use-resize-item.js +8 -0
  101. package/items/hooks/use-resize-item.mjs +145 -0
  102. package/items/hooks/use-series.js +8 -0
  103. package/items/hooks/use-series.mjs +32 -0
  104. package/items/hooks/use-show-occurrence-dialog.js +8 -0
  105. package/items/hooks/use-show-occurrence-dialog.mjs +36 -0
  106. package/items/hooks/use-show-remove-item-dialog.js +8 -0
  107. package/items/hooks/use-show-remove-item-dialog.mjs +36 -0
  108. package/messages/index.js +8 -0
  109. package/messages/index.mjs +167 -0
  110. package/package-metadata.js +8 -0
  111. package/package-metadata.mjs +19 -0
  112. package/package.json +10 -10
  113. package/recurrence/RecurrenceEditor.js +8 -0
  114. package/recurrence/RecurrenceEditor.mjs +438 -0
  115. package/recurrence/RecurrenceFrequencyEditor.js +8 -0
  116. package/recurrence/RecurrenceFrequencyEditor.mjs +41 -0
  117. package/recurrence/RecurrenceRepeatOnWeekEditor.js +8 -0
  118. package/recurrence/RecurrenceRepeatOnWeekEditor.mjs +35 -0
  119. package/recurrence/common.js +8 -0
  120. package/recurrence/common.mjs +127 -0
  121. package/services/itemsService.js +8 -0
  122. package/services/itemsService.mjs +56 -0
  123. package/services/occurrenceService.js +8 -0
  124. package/services/occurrenceService.mjs +49 -0
  125. package/services/rangeService.js +8 -0
  126. package/services/rangeService.mjs +26 -0
  127. package/services/slotsService.js +8 -0
  128. package/services/slotsService.mjs +39 -0
  129. package/slots/SchedulerEditSlot.js +8 -0
  130. package/slots/SchedulerEditSlot.mjs +191 -0
  131. package/slots/SchedulerSlot.js +8 -0
  132. package/slots/SchedulerSlot.mjs +175 -0
  133. package/slots/SchedulerViewSlot.js +8 -0
  134. package/slots/SchedulerViewSlot.mjs +24 -0
  135. package/tasks/SchedulerEditTask.js +8 -0
  136. package/tasks/SchedulerEditTask.mjs +157 -0
  137. package/tasks/SchedulerTask.js +8 -0
  138. package/tasks/SchedulerTask.mjs +67 -0
  139. package/tasks/SchedulerViewTask.js +8 -0
  140. package/tasks/SchedulerViewTask.mjs +23 -0
  141. package/utils/index.js +8 -0
  142. package/utils/index.mjs +171 -0
  143. package/views/agenda/AgendaView.js +8 -0
  144. package/views/agenda/AgendaView.mjs +147 -0
  145. package/views/common/HorizontalResourceIterator.js +8 -0
  146. package/views/common/HorizontalResourceIterator.mjs +38 -0
  147. package/views/common/SchedulerDrag.js +8 -0
  148. package/views/common/SchedulerDrag.mjs +44 -0
  149. package/views/common/SchedulerResize.js +8 -0
  150. package/views/common/SchedulerResize.mjs +48 -0
  151. package/views/common/VerticalResourceIterator.js +8 -0
  152. package/views/common/VerticalResourceIterator.mjs +78 -0
  153. package/views/common/utils.js +8 -0
  154. package/views/common/utils.mjs +75 -0
  155. package/views/day/DayView.js +8 -0
  156. package/views/day/DayView.mjs +27 -0
  157. package/views/day/DayViewAllDayRowContent.js +8 -0
  158. package/views/day/DayViewAllDayRowContent.mjs +18 -0
  159. package/views/day/DayViewGroupRowContent.js +8 -0
  160. package/views/day/DayViewGroupRowContent.mjs +13 -0
  161. package/views/day/DayViewRowContent.js +8 -0
  162. package/views/day/DayViewRowContent.mjs +32 -0
  163. package/views/day/MultiDayView.js +8 -0
  164. package/views/day/MultiDayView.mjs +376 -0
  165. package/views/month/MonthView.js +8 -0
  166. package/views/month/MonthView.mjs +155 -0
  167. package/views/time/MultiDayTimelineView.js +8 -0
  168. package/views/time/MultiDayTimelineView.mjs +264 -0
  169. package/views/time/TimelineView.js +8 -0
  170. package/views/time/TimelineView.mjs +27 -0
  171. package/views/time/TimelineViewAllEventsRowContent.js +8 -0
  172. package/views/time/TimelineViewAllEventsRowContent.mjs +18 -0
  173. package/views/time/TimelineViewRowContent.js +8 -0
  174. package/views/time/TimelineViewRowContent.mjs +13 -0
  175. package/views/week/WeekView.js +8 -0
  176. package/views/week/WeekView.mjs +44 -0
  177. package/views/week/WorkWeekView.js +8 -0
  178. package/views/week/WorkWeekView.mjs +55 -0
  179. package/Scheduler.d.ts +0 -373
  180. package/components/BaseView.d.ts +0 -22
  181. package/components/CurrentTimeMarket.d.ts +0 -14
  182. package/components/DateHeaderCell.d.ts +0 -50
  183. package/components/SchedulerForm.d.ts +0 -75
  184. package/components/SchedulerOccurrenceDialog.d.ts +0 -46
  185. package/components/SchedulerRemoveDialog.d.ts +0 -42
  186. package/components/ShowMoreItemsButton.d.ts +0 -30
  187. package/components/TimeHeaderCell.d.ts +0 -50
  188. package/components/footer/SchedulerFooter.d.ts +0 -25
  189. package/components/footer/bussiness-hours/BussinessHours.d.ts +0 -17
  190. package/components/header/SchedulerHeader.d.ts +0 -22
  191. package/components/header/navigation/NavigationDatePicker.d.ts +0 -9
  192. package/components/header/navigation/SchedulerNavigation.d.ts +0 -28
  193. package/components/header/view-selector/SchedulerViewSelector.d.ts +0 -28
  194. package/components/header/view-selector/ViewSelectorItem.d.ts +0 -12
  195. package/components/header/view-selector/ViewSelectorList.d.ts +0 -7
  196. package/constants/index.d.ts +0 -58
  197. package/context/SchedulerContext.d.ts +0 -231
  198. package/context/SchedulerEditItemContext.d.ts +0 -172
  199. package/context/SchedulerEditSlotContext.d.ts +0 -51
  200. package/context/SchedulerEditTaskContext.d.ts +0 -33
  201. package/context/SchedulerResourceIteratorContext.d.ts +0 -20
  202. package/context/SchedulerViewContext.d.ts +0 -76
  203. package/context/index.d.ts +0 -9
  204. package/editors/FilterableComboBox.d.ts +0 -8
  205. package/editors/ResourceEditor.d.ts +0 -18
  206. package/editors/SchedulerFormEditor.d.ts +0 -498
  207. package/editors/ZonedDateTime.d.ts +0 -22
  208. package/hooks/index.d.ts +0 -14
  209. package/hooks/use-items-focus.d.ts +0 -27
  210. package/hooks/use-items-selection.d.ts +0 -35
  211. package/hooks/use-slots-focus.d.ts +0 -38
  212. package/hooks/use-slots-selection.d.ts +0 -28
  213. package/hooks/useAsyncMouseEnterLeave.d.ts +0 -15
  214. package/hooks/useCellSync.d.ts +0 -14
  215. package/hooks/useControlledState.d.ts +0 -17
  216. package/hooks/useEditable.d.ts +0 -7
  217. package/hooks/usePropOrState.d.ts +0 -6
  218. package/hooks/useRowSync.d.ts +0 -15
  219. package/hooks/useSchedulerItem.d.ts +0 -11
  220. package/hooks/useSchedulerSlot.d.ts +0 -11
  221. package/hooks/useSlotExpand.d.ts +0 -9
  222. package/hooks/useWorkHours.d.ts +0 -6
  223. package/items/SchedulerEditItem.d.ts +0 -417
  224. package/items/SchedulerItem.d.ts +0 -203
  225. package/items/SchedulerItemContent.d.ts +0 -15
  226. package/items/SchedulerProportionalViewItem.d.ts +0 -16
  227. package/items/SchedulerViewItem.d.ts +0 -37
  228. package/items/hooks/use-drag-item.d.ts +0 -46
  229. package/items/hooks/use-form-item.d.ts +0 -26
  230. package/items/hooks/use-remove-item.d.ts +0 -34
  231. package/items/hooks/use-resize-item.d.ts +0 -49
  232. package/items/hooks/use-series.d.ts +0 -27
  233. package/items/hooks/use-show-occurrence-dialog.d.ts +0 -31
  234. package/items/hooks/use-show-remove-item-dialog.d.ts +0 -31
  235. package/messages/index.d.ts +0 -240
  236. package/models/DataItem.d.ts +0 -12
  237. package/models/DateRange.d.ts +0 -22
  238. package/models/EditableProp.d.ts +0 -33
  239. package/models/Fields.d.ts +0 -21
  240. package/models/Group.d.ts +0 -12
  241. package/models/Item.d.ts +0 -68
  242. package/models/Occurrence.d.ts +0 -56
  243. package/models/Omit.d.ts +0 -8
  244. package/models/Orientation.d.ts +0 -6
  245. package/models/Range.d.ts +0 -14
  246. package/models/Rect.d.ts +0 -19
  247. package/models/Resource.d.ts +0 -12
  248. package/models/SchedulerGroup.d.ts +0 -17
  249. package/models/SchedulerHandle.d.ts +0 -12
  250. package/models/SchedulerModelFields.d.ts +0 -66
  251. package/models/SchedulerResource.d.ts +0 -37
  252. package/models/SchedulerView.d.ts +0 -80
  253. package/models/Slot.d.ts +0 -54
  254. package/models/events.d.ts +0 -87
  255. package/models/index.d.ts +0 -21
  256. package/package-metadata.d.ts +0 -9
  257. package/recurrence/RecurrenceEditor.d.ts +0 -16
  258. package/recurrence/RecurrenceFrequencyEditor.d.ts +0 -14
  259. package/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +0 -17
  260. package/recurrence/common.d.ts +0 -61
  261. package/recurrence/types/EndRule.d.ts +0 -8
  262. package/recurrence/types/Frequency.d.ts +0 -8
  263. package/recurrence/types/FrequencyEntity.d.ts +0 -12
  264. package/recurrence/types/MonthEntity.d.ts +0 -11
  265. package/recurrence/types/OffsetPosition.d.ts +0 -8
  266. package/recurrence/types/OffsetPositionEntity.d.ts +0 -11
  267. package/recurrence/types/RepeatOnRule.d.ts +0 -8
  268. package/recurrence/types/WeekDayEntity.d.ts +0 -11
  269. package/recurrence/types/WeekDayRule.d.ts +0 -11
  270. package/reducers/editReducer.d.ts +0 -37
  271. package/reducers/index.d.ts +0 -5
  272. package/services/index.d.ts +0 -8
  273. package/services/itemsService.d.ts +0 -16
  274. package/services/occurrenceService.d.ts +0 -7
  275. package/services/rangeService.d.ts +0 -7
  276. package/services/slotsService.d.ts +0 -10
  277. package/slots/SchedulerEditSlot.d.ts +0 -56
  278. package/slots/SchedulerSlot.d.ts +0 -131
  279. package/slots/SchedulerViewSlot.d.ts +0 -50
  280. package/tasks/SchedulerEditTask.d.ts +0 -84
  281. package/tasks/SchedulerTask.d.ts +0 -61
  282. package/tasks/SchedulerViewTask.d.ts +0 -35
  283. package/utils/index.d.ts +0 -172
  284. package/views/agenda/AgendaView.d.ts +0 -96
  285. package/views/common/HorizontalResourceIterator.d.ts +0 -30
  286. package/views/common/SchedulerDrag.d.ts +0 -43
  287. package/views/common/SchedulerResize.d.ts +0 -45
  288. package/views/common/VerticalResourceIterator.d.ts +0 -25
  289. package/views/common/utils.d.ts +0 -38
  290. package/views/day/DayView.d.ts +0 -36
  291. package/views/day/DayViewAllDayRowContent.d.ts +0 -12
  292. package/views/day/DayViewGroupRowContent.d.ts +0 -12
  293. package/views/day/DayViewRowContent.d.ts +0 -17
  294. package/views/day/MultiDayView.d.ts +0 -175
  295. package/views/month/MonthView.d.ts +0 -98
  296. package/views/time/MultiDayTimelineView.d.ts +0 -179
  297. package/views/time/TimelineView.d.ts +0 -36
  298. package/views/time/TimelineViewAllEventsRowContent.d.ts +0 -11
  299. package/views/time/TimelineViewRowContent.d.ts +0 -11
  300. package/views/week/WeekView.d.ts +0 -106
  301. package/views/week/WorkWeekView.d.ts +0 -24
@@ -1,50 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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 { DateFormatOptions } from '@progress/kendo-react-intl';
7
- /**
8
- * Represents the properties of [TimeHeaderCell]({% slug api_scheduler_timeheadercell %}) component.
9
- */
10
- export interface TimeHeaderCellProps extends React.HTMLAttributes<HTMLDivElement> {
11
- /** @hidden */
12
- as?: React.ComponentType<TimeHeaderCellProps>;
13
- /**
14
- * Represents the date format.
15
- */
16
- format?: string | DateFormatOptions;
17
- /**
18
- * Represents the current date.
19
- */
20
- date: Date;
21
- /**
22
- * Represents the start date.
23
- */
24
- start: Date;
25
- /**
26
- * Represents the end date.
27
- */
28
- end: Date;
29
- }
30
- /**
31
- * Represents the target(element and props).
32
- */
33
- export interface TimeHeaderCellHandle {
34
- /**
35
- * The current element or `null` if there is no one.
36
- */
37
- element: HTMLElement | null;
38
- /**
39
- * The props values of the TimeHeaderCell.
40
- */
41
- props: TimeHeaderCellProps;
42
- }
43
- /**
44
- * Represents the TimeHeaderCell component.
45
- */
46
- export declare const TimeHeaderCell: React.ForwardRefExoticComponent<TimeHeaderCellProps & React.RefAttributes<TimeHeaderCellHandle | null>>;
47
- export declare const timeHeaderCellDefaultProps: {
48
- as: React.ForwardRefExoticComponent<TimeHeaderCellProps & React.RefAttributes<unknown>>;
49
- format: string;
50
- };
@@ -1,25 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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 { ToolbarProps } from '@progress/kendo-react-buttons';
7
- /**
8
- * Represents the props of the KendoReact [SchedulerFooter]({% slug api_scheduler_schedulerfooter %}) component.
9
- */
10
- export interface SchedulerFooterProps extends ToolbarProps {
11
- children?: React.ReactNode;
12
- }
13
- /**
14
- * Represents the object which is returned from the `ref` callback of the [SchedulerFooter]({% slug api_scheduler_schedulerfooter %}).
15
- *
16
- * For more information about Refs, refer to the [React Refs & Dom](https://reactjs.org/docs/refs-and-the-dom.html) article.
17
- */
18
- export interface SchedulerFooterHandle {
19
- element: HTMLDivElement | null;
20
- props: SchedulerFooterProps;
21
- }
22
- /**
23
- * Represents the default `footer` component rendered by the [KendoReact Scheduler component]({% slug overview_scheduler %}).
24
- */
25
- export declare const SchedulerFooter: React.ForwardRefExoticComponent<SchedulerFooterProps & React.RefAttributes<SchedulerFooterHandle>>;
@@ -1,17 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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 { ToolbarItemProps } from '@progress/kendo-react-buttons';
7
- /** @hidden */
8
- export interface BusinessHoursProps extends ToolbarItemProps {
9
- children?: React.ReactNode;
10
- }
11
- /** @hidden */
12
- export interface BusinessHoursHandle {
13
- element: HTMLSpanElement | null;
14
- props: BusinessHoursProps;
15
- }
16
- /** @hidden */
17
- export declare const BusinessHours: React.ForwardRefExoticComponent<BusinessHoursProps & React.RefAttributes<BusinessHoursHandle>>;
@@ -1,22 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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 { ToolbarProps } from '@progress/kendo-react-buttons';
7
- export interface SchedulerHeaderProps extends ToolbarProps {
8
- children?: React.ReactNode;
9
- }
10
- /**
11
- * Represents the object which is returned from the `ref` callback of the [SchedulerHeader]({% slug api_scheduler_schedulerheader %}).
12
- *
13
- * For more information about Refs, refer to the [React Refs & Dom](https://reactjs.org/docs/refs-and-the-dom.html) article.
14
- */
15
- export interface SchedulerHeaderHandle {
16
- element: HTMLDivElement | null;
17
- props: SchedulerHeaderProps;
18
- }
19
- /**
20
- * Represents the default `header` component rendered by the [KendoReact Scheduler component]({% slug overview_scheduler %}).
21
- */
22
- export declare const SchedulerHeader: React.ForwardRefExoticComponent<SchedulerHeaderProps & React.RefAttributes<SchedulerHeaderHandle>>;
@@ -1,9 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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 { DatePickerProps } from '@progress/kendo-react-dateinputs';
7
- import { Button } from '@progress/kendo-react-buttons';
8
- /** @hidden */
9
- export declare const NavigationDatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<Button>>;
@@ -1,28 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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 { ToolbarItemProps } from '@progress/kendo-react-buttons';
7
- /**
8
- * Represents the props of the KendoReact [SchedulerNavigation]({% slug api_scheduler_schedulernavigation %}) component.
9
- */
10
- /** @hidden */
11
- export interface SchedulerNavigationProps extends ToolbarItemProps {
12
- children?: React.ReactNode;
13
- }
14
- /**
15
- * Represents the object which is returned from the `ref` callback of the [SchedulerNavigation]({% slug api_scheduler_schedulernavigation %}).
16
- *
17
- * For more information about Refs, refer to the [React Refs & Dom](https://reactjs.org/docs/refs-and-the-dom.html) article.
18
- */
19
- /** @hidden */
20
- export interface SchedulerNavigationHandle {
21
- props: SchedulerNavigationProps;
22
- element: HTMLSpanElement | null;
23
- }
24
- /**
25
- * Represents the default `navigation` component rendered by the [KendoReact Scheduler component]({% slug overview_scheduler %}).
26
- */
27
- /** @hidden */
28
- export declare const SchedulerNavigation: React.ForwardRefExoticComponent<SchedulerNavigationProps & React.RefAttributes<SchedulerNavigationHandle>>;
@@ -1,28 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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 { ToolbarItemProps } from '@progress/kendo-react-buttons';
7
- /**
8
- * Represents the props of the KendoReact [SchedulerViewSelector]({% slug api_scheduler_schedulerviewselector %}) component.
9
- */
10
- /** @hidden */
11
- export interface SchedulerViewSelectorProps extends ToolbarItemProps {
12
- children?: React.ReactNode;
13
- }
14
- /**
15
- * Represents the object which is returned from the `ref` callback of the [SchedulerViewSelector]({% slug api_scheduler_schedulerviewselector %}).
16
- *
17
- * For more information about Refs, refer to the [React Refs & Dom](https://reactjs.org/docs/refs-and-the-dom.html) article.
18
- */
19
- /** @hidden */
20
- export interface SchedulerViewSelectorHandle {
21
- element: HTMLSpanElement | null;
22
- props: SchedulerViewSelectorProps;
23
- }
24
- /**
25
- * Represents the default `viewSelector` component rendered by the [KendoReact Scheduler component]({% slug overview_scheduler %}).
26
- */
27
- /** @hidden */
28
- export declare const SchedulerViewSelector: React.ForwardRefExoticComponent<SchedulerViewSelectorProps & React.RefAttributes<SchedulerViewSelectorHandle>>;
@@ -1,12 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { ButtonProps } from '@progress/kendo-react-buttons';
6
- import { SchedulerViewProps } from '../../../models';
7
- /** @hidden */
8
- export interface ViewSelectorItemProps extends ButtonProps {
9
- view: SchedulerViewProps;
10
- }
11
- /** @hidden */
12
- export declare const ViewSelectorItem: (props: ViewSelectorItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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
- /** @hidden */
7
- export declare const ViewSelectorList: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
@@ -1,58 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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 { Range, Group } from '../models';
7
- /** @hidden */
8
- export { MS_PER_DAY } from '@progress/kendo-date-math';
9
- /** @hidden */
10
- export declare const MIDNIGHT_INVARIANT: Date;
11
- /** @hidden */
12
- export declare const MS_PER_SECOND = 1000;
13
- /** @hidden */
14
- export declare const MS_PER_MINUTE: number;
15
- /** @hidden */
16
- export declare const MS_PER_HOUR: number;
17
- /** @hidden */
18
- export declare const TIME_FORMAT = "t";
19
- /** @hidden */
20
- export declare const BORDER_WIDTH = 1;
21
- /** @hidden */
22
- export declare const DEFAULT_EVENT_HEIGHT = 25;
23
- /** @hidden */
24
- export declare const DAYS_IN_WEEK_COUNT = 7;
25
- /** @hidden */
26
- export declare const WEEKS_COUNT = 6;
27
- /** @hidden */
28
- export declare const HOURS_IN_DAY_COUNT = 24;
29
- /** @hidden */
30
- export declare const EMPTY_RESOURCE: {}[];
31
- /** @hidden */
32
- export declare const OCCURRENCE_ID = 0;
33
- /** @hidden */
34
- export declare const DEFAULT_ID: undefined;
35
- /** @hidden */
36
- export declare const DISPLAY_NONE_STYLES: React.CSSProperties;
37
- /** @hidden */
38
- export declare const VISIBILITY_HIDDEN_STYLES: React.CSSProperties;
39
- /** @hidden */
40
- export declare const DEFAULT_GROUP: Group;
41
- /**
42
- * @hidden
43
- */
44
- export declare const MIN_DATE: Date;
45
- /**
46
- * @hidden
47
- */
48
- export declare const MAX_DATE: Date;
49
- /** @hidden */
50
- export declare const DEFAULT_RANGE: Range;
51
- /**
52
- * Specifies the available [DataAction]({% slug api_scheduler_data_action %}) types.
53
- */
54
- export declare enum DATA_ACTION {
55
- create = 0,
56
- update = 1,
57
- remove = 2
58
- }
@@ -1,231 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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, DateRange, SchedulerView, Group } from '../models';
7
- import { DataAction, SchedulerProps } from '../Scheduler';
8
- import { Fields } from '../models/Fields';
9
- import { Orientation } from '../models/Orientation';
10
- /** @hidden */
11
- export interface SchedulerContextProps {
12
- children?: React.ReactNode;
13
- element: SchedulerElementContextType;
14
- props: SchedulerPropsContextType;
15
- views: SchedulerViewsContextType;
16
- fields: SchedulerFieldsContextType;
17
- groups: SchedulerGroupsContextType;
18
- dateRange: SchedulerDateRangeContextType;
19
- dateFormat: SchedulerDateFormatContextType;
20
- orientation: SchedulerOrientationContextType;
21
- date: SchedulerDateContextType;
22
- activeView: SchedulerActiveViewContextType;
23
- selection: SchedulerItemSelectionContextType;
24
- data: SchedulerDataContextType;
25
- }
26
- /** @hidden */
27
- export type SchedulerElementContextType = React.RefObject<HTMLElement | null>;
28
- /** @hidden */
29
- export declare const SchedulerElementContext: React.Context<SchedulerElementContextType>;
30
- /** @hidden */
31
- export declare const useSchedulerElementContext: () => SchedulerElementContextType;
32
- /**
33
- * Specifies the result of the [useSchedulerPropsContext]({% slug api_scheduler_useschedulerpropscontext %}) and [SchedulerPropsContext]({% slug api_scheduler_schedulerpropscontext %}).
34
- */
35
- export type SchedulerPropsContextType = SchedulerProps;
36
- /**
37
- * A [React Context](https://reactjs.org/docs/context.html) providing access to the [Scheduler]({% slug api_scheduler_scheduler %}) props.
38
- *
39
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
40
- */
41
- export declare const SchedulerPropsContext: React.Context<SchedulerProps>;
42
- /**
43
- * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [Scheduler]({% slug api_scheduler_scheduler %}) props.
44
- *
45
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
46
- *
47
- * @returns
48
- */
49
- export declare const useSchedulerPropsContext: () => SchedulerPropsContextType;
50
- /**
51
- * Specifies the result of the [useSchedulerViewsContext]({% slug api_scheduler_useschedulerviewscontext %}) and [SchedulerViewsContext]({% slug api_scheduler_schedulerviewscontext %}).
52
- */
53
- export type SchedulerViewsContextType = SchedulerView[];
54
- /**
55
- * A [React Context](https://reactjs.org/docs/context.html) providing access to the available Scheduler [views]({% slug views_scheduler %}).
56
- *
57
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
58
- */
59
- export declare const SchedulerViewsContext: React.Context<SchedulerViewsContextType>;
60
- /**
61
- * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the available Scheduler [views]({% slug views_scheduler %}).
62
- *
63
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
64
- *
65
- * @returns
66
- */
67
- export declare const useSchedulerViewsContext: () => SchedulerViewsContextType;
68
- /**
69
- * Specifies the result of the [useSchedulerFieldsContext]({% slug api_scheduler_useschedulerfieldscontext %}) and [SchedulerFieldsContext]({% slug api_scheduler_schedulerfieldscontext %}).
70
- */
71
- export type SchedulerFieldsContextType = Fields;
72
- /**
73
- * 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.
74
- *
75
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
76
- */
77
- export declare const SchedulerFieldsContext: React.Context<Fields>;
78
- /**
79
- * 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.
80
- *
81
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
82
- *
83
- * @returns
84
- */
85
- export declare const useSchedulerFieldsContext: () => SchedulerFieldsContextType;
86
- /**
87
- * Specifies the result of the [useSchedulerFieldsContext]({% slug api_scheduler_useschedulerfieldscontext %}) and [SchedulerFieldsContext]({% slug api_scheduler_schedulerfieldscontext %}).
88
- */
89
- export type SchedulerDateFormatContextType = {
90
- dateFormat: string;
91
- shortDateFormat: string;
92
- };
93
- /**
94
- * 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.
95
- *
96
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
97
- */
98
- export declare const SchedulerDateFormatContext: React.Context<SchedulerDateFormatContextType>;
99
- /**
100
- * 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.
101
- *
102
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
103
- *
104
- * @returns
105
- */
106
- export declare const useSchedulerDateFormatContext: () => SchedulerDateFormatContextType;
107
- /**
108
- * Specifies the result of the [useSchedulerGroupsContext]({% slug api_scheduler_useschedulergroupscontext %}) and [SchedulerGroupsContext]({% slug api_scheduler_schedulergroupscontext %}).
109
- */
110
- export type SchedulerGroupsContextType = Group[];
111
- /**
112
- * 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).
113
- *
114
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
115
- */
116
- export declare const SchedulerGroupsContext: React.Context<SchedulerGroupsContextType>;
117
- /**
118
- * 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).
119
- *
120
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
121
- *
122
- * @returns
123
- */
124
- export declare const useSchedulerGroupsContext: () => SchedulerGroupsContextType;
125
- /**
126
- * Specifies the result of the [useSchedulerDateRangeContext]({% slug api_scheduler_useschedulerdaterangecontext %}) and [SchedulerDateRangeContext]({% slug api_scheduler_schedulerdaterangecontext %}).
127
- */
128
- export type SchedulerDateRangeContextType = DateRange;
129
- /**
130
- * A [React Context](https://reactjs.org/docs/context.html) providing access to the `dateRange` of the current view.
131
- *
132
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
133
- */
134
- export declare const SchedulerDateRangeContext: React.Context<DateRange>;
135
- /**
136
- * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the `dateRange` of the current view.
137
- *
138
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
139
- *
140
- * @returns
141
- */
142
- export declare const useSchedulerDateRangeContext: () => SchedulerDateRangeContextType;
143
- /**
144
- * Specifies the result of the [useSchedulerOrientationContext]({% slug api_scheduler_useschedulerorientationcontext %}) and [SchedulerOrientationContext]({% slug api_scheduler_schedulerorientationcontext %}).
145
- */
146
- export type SchedulerOrientationContextType = Orientation;
147
- /**
148
- * A [React Context](https://reactjs.org/docs/context.html) providing access to the grouping orientation of the Scheduler.
149
- *
150
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
151
- */
152
- export declare const SchedulerOrientationContext: React.Context<Orientation>;
153
- /**
154
- * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the grouping orientation of the Scheduler.
155
- *
156
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
157
- *
158
- * @returns
159
- */
160
- export declare const useSchedulerOrientationContext: () => SchedulerOrientationContextType;
161
- /**
162
- * Specifies the result of the [useSchedulerDateContext]({% slug api_scheduler_useschedulerdatecontext %}) and [SchedulerDateContext]({% slug api_scheduler_schedulerdatecontext %}).
163
- */
164
- export type SchedulerDateContextType = [Date, (date: Date, event?: any) => void];
165
- /**
166
- * A [React Context](https://reactjs.org/docs/context.html) providing access to the Scheduler internal `date` state.
167
- *
168
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
169
- */
170
- export declare const SchedulerDateContext: React.Context<SchedulerDateContextType>;
171
- /**
172
- * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the Scheduler internal `date` state.
173
- *
174
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
175
- *
176
- * @returns
177
- */
178
- export declare const useSchedulerDateContext: () => SchedulerDateContextType;
179
- /**
180
- * Specifies the result of the [useSchedulerDataContext]({% slug api_scheduler_useschedulerdatacontext %}) and [SchedulerDataContext]({% slug api_scheduler_schedulerdatacontext %}).
181
- */
182
- export type SchedulerDataContextType = [DataItem[], (action: DataAction, event?: any) => void];
183
- /**
184
- * A [React Context](https://reactjs.org/docs/context.html) providing access to the Scheduler internal `data` reducer.
185
- *
186
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
187
- */
188
- export declare const SchedulerDataContext: React.Context<SchedulerDataContextType>;
189
- /**
190
- * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the Scheduler internal `data` reducer.
191
- *
192
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
193
- *
194
- * @returns
195
- */
196
- export declare const useSchedulerDataContext: () => SchedulerDataContextType;
197
- /**
198
- * Specifies the result of the [useSchedulerActiveViewContext]({% slug api_scheduler_usescheduleractiveviewcontext %}) and [SchedulerActiveViewContext]({% slug api_scheduler_scheduleractiveviewcontext %}).
199
- */
200
- export type SchedulerActiveViewContextType = [string, (activeView: string, event?: any) => void];
201
- /**
202
- * A [React Context](https://reactjs.org/docs/context.html) providing access to the Scheduler internal `activeView` state.
203
- *
204
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
205
- */
206
- export declare const SchedulerActiveViewContext: React.Context<SchedulerActiveViewContextType>;
207
- /**
208
- * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the Scheduler internal `activeView` state.
209
- *
210
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
211
- *
212
- * @returns
213
- */
214
- export declare const useSchedulerActiveViewContext: () => SchedulerActiveViewContextType;
215
- /**
216
- * @hidden
217
- */
218
- export type SchedulerItemSelectionContextType = [any, any];
219
- /**
220
- * @hidden
221
- */
222
- export declare const SchedulerItemSelectionContext: React.Context<SchedulerItemSelectionContextType>;
223
- /**
224
- * @hidden
225
- */
226
- export declare const useSchedulerItemSelectionContext: () => SchedulerItemSelectionContextType;
227
- /**
228
- *
229
- */
230
- /** @hidden */
231
- export declare const SchedulerContext: ({ children, element, props, views, fields, groups, dateRange, dateFormat, orientation, date, data, activeView, selection }: SchedulerContextProps) => import("react/jsx-runtime").JSX.Element;