@progress/kendo-react-scheduler 13.3.0 → 13.4.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 (160) hide show
  1. package/Scheduler.d.ts +597 -0
  2. package/Scheduler.js +1 -1
  3. package/Scheduler.mjs +1 -1
  4. package/components/BaseView.d.ts +25 -0
  5. package/components/BaseView.js +1 -1
  6. package/components/BaseView.mjs +3 -3
  7. package/components/CurrentTimeMarket.d.ts +17 -0
  8. package/components/DateHeaderCell.d.ts +53 -0
  9. package/components/SchedulerForm.d.ts +87 -0
  10. package/components/SchedulerForm.mjs +3 -3
  11. package/components/SchedulerOccurrenceDialog.d.ts +58 -0
  12. package/components/SchedulerOccurrenceDialog.mjs +2 -2
  13. package/components/SchedulerRemoveDialog.d.ts +54 -0
  14. package/components/ShowMoreItemsButton.d.ts +33 -0
  15. package/components/TimeHeaderCell.d.ts +53 -0
  16. package/components/footer/SchedulerFooter.d.ts +37 -0
  17. package/components/footer/bussiness-hours/BussinessHours.d.ts +20 -0
  18. package/components/header/SchedulerHeader.d.ts +34 -0
  19. package/components/header/navigation/NavigationDatePicker.d.ts +12 -0
  20. package/components/header/navigation/SchedulerNavigation.d.ts +31 -0
  21. package/components/header/view-selector/SchedulerViewSelector.d.ts +31 -0
  22. package/components/header/view-selector/ViewSelectorItem.d.ts +16 -0
  23. package/components/header/view-selector/ViewSelectorList.d.ts +10 -0
  24. package/constants/index.d.ts +61 -0
  25. package/constants/index.js +1 -1
  26. package/constants/index.mjs +9 -9
  27. package/context/SchedulerContext.d.ts +234 -0
  28. package/context/SchedulerEditItemContext.d.ts +199 -0
  29. package/context/SchedulerEditSlotContext.d.ts +54 -0
  30. package/context/SchedulerEditTaskContext.d.ts +36 -0
  31. package/context/SchedulerResourceIteratorContext.d.ts +23 -0
  32. package/context/SchedulerViewContext.d.ts +97 -0
  33. package/context/index.d.ts +12 -0
  34. package/dist/cdn/js/kendo-react-scheduler.js +1 -1
  35. package/editors/FilterableComboBox.d.ts +12 -0
  36. package/editors/ResourceEditor.d.ts +22 -0
  37. package/editors/SchedulerFormEditor.d.ts +495 -0
  38. package/editors/SchedulerFormEditor.mjs +3 -3
  39. package/editors/ZonedDateTime.d.ts +25 -0
  40. package/editors/common.d.ts +19 -0
  41. package/hooks/index.d.ts +17 -0
  42. package/hooks/use-items-focus.d.ts +39 -0
  43. package/hooks/use-items-selection.d.ts +47 -0
  44. package/hooks/use-slots-focus.d.ts +47 -0
  45. package/hooks/use-slots-selection.d.ts +37 -0
  46. package/hooks/useAsyncMouseEnterLeave.d.ts +18 -0
  47. package/hooks/useCellSync.d.ts +17 -0
  48. package/hooks/useControlledState.d.ts +20 -0
  49. package/hooks/useEditable.d.ts +10 -0
  50. package/hooks/usePropOrState.d.ts +9 -0
  51. package/hooks/useRowSync.d.ts +18 -0
  52. package/hooks/useSchedulerItem.d.ts +14 -0
  53. package/hooks/useSchedulerSlot.d.ts +14 -0
  54. package/hooks/useSlotExpand.d.ts +12 -0
  55. package/hooks/useWorkHours.d.ts +9 -0
  56. package/index.d.mts +41 -4703
  57. package/index.d.ts +41 -4703
  58. package/items/SchedulerEditItem.d.ts +453 -0
  59. package/items/SchedulerEditItem.mjs +7 -7
  60. package/items/SchedulerItem.d.ts +222 -0
  61. package/items/SchedulerItemContent.d.ts +18 -0
  62. package/items/SchedulerProportionalViewItem.d.ts +19 -0
  63. package/items/SchedulerViewItem.d.ts +46 -0
  64. package/items/hooks/use-drag-item.d.ts +51 -0
  65. package/items/hooks/use-form-item.d.ts +25 -0
  66. package/items/hooks/use-remove-item.d.ts +33 -0
  67. package/items/hooks/use-resize-item.d.ts +57 -0
  68. package/items/hooks/use-series.d.ts +30 -0
  69. package/items/hooks/use-show-occurrence-dialog.d.ts +34 -0
  70. package/items/hooks/use-show-remove-item-dialog.d.ts +34 -0
  71. package/messages/index.d.ts +243 -0
  72. package/models/DataItem.d.ts +15 -0
  73. package/models/DateRange.d.ts +25 -0
  74. package/models/EditableProp.d.ts +36 -0
  75. package/models/Fields.d.ts +60 -0
  76. package/models/Group.d.ts +21 -0
  77. package/models/Item.d.ts +71 -0
  78. package/models/NavigationAction.d.ts +65 -0
  79. package/models/Occurrence.d.ts +59 -0
  80. package/models/Omit.d.ts +11 -0
  81. package/models/Orientation.d.ts +9 -0
  82. package/models/Range.d.ts +17 -0
  83. package/models/Rect.d.ts +22 -0
  84. package/models/Resource.d.ts +15 -0
  85. package/models/SchedulerGroup.d.ts +20 -0
  86. package/models/SchedulerHandle.d.ts +21 -0
  87. package/models/SchedulerModelFields.d.ts +69 -0
  88. package/models/SchedulerResource.d.ts +40 -0
  89. package/models/SchedulerView.d.ts +103 -0
  90. package/models/Slot.d.ts +57 -0
  91. package/models/events.d.ts +96 -0
  92. package/models/index.d.ts +26 -0
  93. package/package-metadata.d.ts +12 -0
  94. package/package-metadata.js +1 -1
  95. package/package-metadata.mjs +9 -16
  96. package/package.json +11 -11
  97. package/recurrence/RecurrenceEditor.d.ts +19 -0
  98. package/recurrence/RecurrenceEditor.mjs +3 -3
  99. package/recurrence/RecurrenceFrequencyEditor.d.ts +17 -0
  100. package/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +20 -0
  101. package/recurrence/common.d.ts +64 -0
  102. package/recurrence/types/EndRule.d.ts +11 -0
  103. package/recurrence/types/Frequency.d.ts +11 -0
  104. package/recurrence/types/FrequencyEntity.d.ts +15 -0
  105. package/recurrence/types/MonthEntity.d.ts +14 -0
  106. package/recurrence/types/OffsetPosition.d.ts +11 -0
  107. package/recurrence/types/OffsetPositionEntity.d.ts +14 -0
  108. package/recurrence/types/RepeatOnRule.d.ts +11 -0
  109. package/recurrence/types/WeekDayEntity.d.ts +14 -0
  110. package/recurrence/types/WeekDayRule.d.ts +14 -0
  111. package/recurrence/utils/index.d.ts +7 -0
  112. package/reducers/editReducer.d.ts +40 -0
  113. package/reducers/index.d.ts +8 -0
  114. package/services/index.d.ts +11 -0
  115. package/services/itemsService.d.ts +19 -0
  116. package/services/occurrenceService.d.ts +10 -0
  117. package/services/occurrenceService.js +1 -1
  118. package/services/occurrenceService.mjs +12 -10
  119. package/services/rangeService.d.ts +10 -0
  120. package/services/slotsService.d.ts +13 -0
  121. package/slots/SchedulerEditSlot.d.ts +62 -0
  122. package/slots/SchedulerSlot.d.ts +140 -0
  123. package/slots/SchedulerViewSlot.d.ts +56 -0
  124. package/tasks/SchedulerEditTask.d.ts +93 -0
  125. package/tasks/SchedulerTask.d.ts +70 -0
  126. package/tasks/SchedulerViewTask.d.ts +44 -0
  127. package/utils/index.d.ts +177 -0
  128. package/views/agenda/AgendaView.d.ts +97 -0
  129. package/views/agenda/AgendaView.js +1 -1
  130. package/views/agenda/AgendaView.mjs +2 -2
  131. package/views/agenda/AgendaViewHeaderItem.d.ts +15 -0
  132. package/views/common/HorizontalResourceIterator.d.ts +33 -0
  133. package/views/common/HorizontalResourceIterator.js +1 -1
  134. package/views/common/HorizontalResourceIterator.mjs +33 -39
  135. package/views/common/SchedulerDrag.d.ts +46 -0
  136. package/views/common/SchedulerResize.d.ts +48 -0
  137. package/views/common/VerticalResourceIterator.d.ts +28 -0
  138. package/views/common/VerticalResourceIterator.js +1 -1
  139. package/views/common/VerticalResourceIterator.mjs +21 -21
  140. package/views/common/utils.d.ts +41 -0
  141. package/views/day/DayView.d.ts +38 -0
  142. package/views/day/DayView.mjs +3 -3
  143. package/views/day/DayViewAllDayRowContent.d.ts +15 -0
  144. package/views/day/DayViewGroupRowContent.d.ts +15 -0
  145. package/views/day/DayViewRowContent.d.ts +20 -0
  146. package/views/day/MultiDayView.d.ts +179 -0
  147. package/views/day/MultiDayView.mjs +8 -8
  148. package/views/month/MonthView.d.ts +104 -0
  149. package/views/month/MonthView.js +1 -1
  150. package/views/month/MonthView.mjs +5 -5
  151. package/views/time/MultiDayTimelineView.d.ts +183 -0
  152. package/views/time/MultiDayTimelineView.mjs +5 -5
  153. package/views/time/TimelineView.d.ts +38 -0
  154. package/views/time/TimelineView.mjs +3 -3
  155. package/views/time/TimelineViewAllEventsRowContent.d.ts +14 -0
  156. package/views/time/TimelineViewRowContent.d.ts +14 -0
  157. package/views/week/WeekView.d.ts +109 -0
  158. package/views/week/WeekView.mjs +1 -1
  159. package/views/week/WorkWeekView.d.ts +27 -0
  160. package/views/week/WorkWeekView.mjs +1 -1
@@ -0,0 +1,64 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { OffsetPosition } from './types/OffsetPosition.js';
9
+ import { RecurrenceRule } from '@progress/kendo-recurrence';
10
+ import { Frequency } from './types/Frequency.js';
11
+ import { WeekDayRule } from './types/WeekDayRule.js';
12
+ import { FrequencyEntity } from './types/FrequencyEntity.js';
13
+ import { MonthEntity } from './types/MonthEntity.js';
14
+ import { WeekDayEntity } from './types/WeekDayEntity.js';
15
+ import { OffsetPositionEntity } from './types/OffsetPositionEntity.js';
16
+ import { EndRule } from './types/EndRule.js';
17
+ import { RepeatOnRule } from './types/RepeatOnRule.js';
18
+ import { IntlService } from '@progress/kendo-react-intl';
19
+ /** @hidden */
20
+ export declare const capitalize: (value: string) => string;
21
+ /** @hidden */
22
+ export declare const OFFSET_POSITIONS: OffsetPosition[];
23
+ /** @hidden */
24
+ export declare const FREQUENCIES: Frequency[];
25
+ /** @hidden */
26
+ export declare const dayRule: WeekDayRule[];
27
+ /** @hidden */
28
+ export declare const weekdayRule: WeekDayRule[];
29
+ /** @hidden */
30
+ export declare const weekendRule: WeekDayRule[];
31
+ /** @hidden */
32
+ export declare const weekDayRuleFromString: (weekDay: string) => WeekDayRule[] | undefined;
33
+ /** @hidden */
34
+ export declare const getRule: (recurrenceRule: string) => RecurrenceRule;
35
+ /** @hidden */
36
+ export declare const getFrequencies: (localizeMessage: any) => FrequencyEntity[];
37
+ /** @hidden */
38
+ export declare const getFrequency: (rrule: RecurrenceRule) => Frequency;
39
+ /** @hidden */
40
+ export declare const getUntil: (rrule: RecurrenceRule) => Date | null;
41
+ /** @hidden */
42
+ export declare const getMonths: (intl: IntlService) => MonthEntity[];
43
+ /** @hidden */
44
+ export declare const getWeekDays: (intl: IntlService) => WeekDayEntity[];
45
+ /** @hidden */
46
+ export declare const getWeekDay: (weekDays: WeekDayEntity[], rrule: RecurrenceRule, start: Date) => WeekDayEntity;
47
+ /** @hidden */
48
+ export declare const getExtendedWeekDays: (intl: IntlService, localizeMessage: any) => WeekDayEntity[];
49
+ /** @hidden */
50
+ export declare const getOffset: (offsets: OffsetPositionEntity[], rrule: RecurrenceRule) => OffsetPositionEntity;
51
+ /** @hidden */
52
+ export declare const getOffsets: (localizeMessage: any) => OffsetPositionEntity[];
53
+ /** @hidden */
54
+ export declare const getEndRule: (rrule: RecurrenceRule) => EndRule;
55
+ /** @hidden */
56
+ export declare const getRepeatOnRule: (rrule: RecurrenceRule) => RepeatOnRule | undefined;
57
+ /** @hidden */
58
+ export declare const getMonth: (months: MonthEntity[], rrule: RecurrenceRule) => MonthEntity;
59
+ /** @hidden */
60
+ export declare const getMonthDay: (rrule: RecurrenceRule, start: Date) => number;
61
+ /** @hidden */
62
+ export declare const getUntilEnd: (start: Date, until: Date | null) => Date;
63
+ /** @hidden */
64
+ export declare const getUntilMin: (start: Date, until: Date | null) => Date;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export type EndRule = 'count' | 'never' | 'until';
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export type Frequency = 'never' | 'daily' | 'weekly' | 'monthly' | 'yearly';
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { Frequency } from './Frequency.js';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export interface FrequencyEntity {
13
+ text: string;
14
+ value: Frequency;
15
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export interface MonthEntity {
12
+ text: string;
13
+ value: number;
14
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export type OffsetPosition = 'first' | 'second' | 'third' | 'fourth' | 'last';
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export interface OffsetPositionEntity {
12
+ text: string;
13
+ value: number;
14
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export type RepeatOnRule = 'monthday' | 'weekday';
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export interface WeekDayEntity {
12
+ text: string;
13
+ value: number | string;
14
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export interface WeekDayRule {
12
+ day: number;
13
+ offset: number;
14
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
@@ -0,0 +1,40 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { DataItem } from '../models/index.js';
9
+ /** @hidden */
10
+ export interface SchedulerEditState {
11
+ dataItem?: DataItem;
12
+ editDialog: boolean;
13
+ occurrenceDialog: boolean;
14
+ drop?: boolean;
15
+ removeDialog: boolean;
16
+ removeOccurrenceDialog: boolean;
17
+ }
18
+ /** @hidden */
19
+ export declare const EDIT_INITIAL_STATE: SchedulerEditState;
20
+ /** @hidden */
21
+ export interface SchedulerEditAction {
22
+ type: EDIT_ACTIONS;
23
+ payload?: DataItem;
24
+ original?: DataItem;
25
+ finishCallback?: (event: any) => void;
26
+ }
27
+ /** @hidden */
28
+ export declare enum EDIT_ACTIONS {
29
+ CREATE = 0,
30
+ EDIT = 1,
31
+ EDIT_OCCURRENCE = 2,
32
+ EDIT_CONFIRM = 3,
33
+ EDIT_DROP_OCCURRENCE = 4,
34
+ REMOVE = 5,
35
+ REMOVE_OCCURRENCE = 6,
36
+ REMOVE_CONFIRM = 7,
37
+ RESET = 8
38
+ }
39
+ /** @hidden */
40
+ export declare const editReducer: (state: SchedulerEditState, action: SchedulerEditAction) => SchedulerEditState;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ export * from './editReducer.js';
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ export * from './itemsService.js';
9
+ export * from './slotsService.js';
10
+ export * from './occurrenceService.js';
11
+ export * from './rangeService.js';
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { Occurrence, Group, Range, Item, Slot } from '../models/index.js';
9
+ /** @hidden */
10
+ export declare const toItems: (occurrences: Occurrence[], { timezone }: any, { groups, ranges }: {
11
+ groups: Group[];
12
+ ranges: Range[];
13
+ }) => Item[];
14
+ /** @hidden */
15
+ export declare const inGroup: (occurrence: Occurrence, group: Group) => boolean;
16
+ /** @hidden */
17
+ export declare const inSlot: (occurrence: Occurrence, slot: Slot) => boolean;
18
+ /** @hidden */
19
+ export declare const inRange: (occurrence: Occurrence, range: Range) => boolean;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { DataItem, Occurrence } from '../models/index.js';
9
+ /** @hidden */
10
+ export declare const toOccurrences: (data: DataItem[], { dateRange, fields, timezone }: any) => Occurrence[];
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@progress/kendo-react-common"),R=require("@progress/kendo-recurrence"),d=require("@progress/kendo-date-math"),i=require("../utils/index.js"),L=(e,{dateRange:r,fields:n,timezone:o})=>e.map(E(n)).reduce(T(r,o,n),[]).filter(a=>!i.isMaster(a.dataItem,n)),E=e=>r=>({uid:t.getter(e.id||"id")(r),start:t.getter(e.start||"start")(r),startTimezone:t.getter(e.startTimezone||"startTimezone")(r),originalStart:t.getter(e.originalStart||"originalStart")(r),end:t.getter(e.end||"end")(r),endTimezone:t.getter(e.endTimezone||"endTimezone")(r),isAllDay:t.getter(e.isAllDay||"isAllDay")(r),title:t.getter(e.title||"title")(r),description:t.getter(e.description||"description")(r),occurrenceId:t.getter("occurrenceId")(r),recurrenceRule:t.getter(e.recurrenceRule||"recurrenceRule")(r),recurrenceExceptions:t.getter(e.recurrenceExceptions||"recurrenceExceptions")(r),recurrenceId:t.getter(e.recurrenceId||"recurrenceId")(r),dataItem:t.clone(r)}),T=(e,r,n)=>(o,c)=>[...o,...c.recurrenceRule&&(c.recurrenceId===null||c.recurrenceId===void 0)&&i.isMaster(c.dataItem,n)?[...z(c,{dateRange:e,timezone:r,fields:n})]:[c]],z=(e,{dateRange:r,timezone:n,fields:o})=>{const c=e.recurrenceRule,a=R.parseRule({recurrenceRule:c});a.start||(a.start=d.ZonedDate.fromLocalDate(e.start,n)),a.end||(a.end=d.ZonedDate.fromLocalDate(e.end,n));const g=e.recurrenceExceptions;g&&(a.exceptionDates=g.map(u=>d.ZonedDate.fromLocalDate(u,n)));const S=r.zonedStart,x=r.zonedEnd,D=R.expand(a,{rangeStart:S,rangeEnd:x});return D.events.length?D.events.map((u,p)=>{const s=t.clone(e),l=t.clone(e.dataItem);return s.recurrenceId=s.uid,i.setField(l,o.recurrenceId,e.uid),s.originalStart=u.start.toLocalDate(),i.setField(l,o.originalStart,u.start.toLocalDate()),s.start=u.start.toLocalDate(),i.setField(l,o.start,u.start.toLocalDate()),s.end=u.end.toLocalDate(),i.setField(l,o.end,u.end.toLocalDate()),s.occurrenceId=String(p),i.setField(l,"occurrenceId",String(p)),s.dataItem=l,s}):[]};exports.toOccurrences=L;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@progress/kendo-react-common"),R=require("@progress/kendo-recurrence"),d=require("@progress/kendo-date-math"),i=require("../utils/index.js"),L=(e,{dateRange:r,fields:n,timezone:a})=>e.map(E(n)).reduce(T(r,a,n),[]).filter(o=>!i.isMaster(o.dataItem,n)),E=e=>r=>({uid:t.getter(e.id||"id")(r),start:t.getter(e.start||"start")(r),startTimezone:t.getter(e.startTimezone||"startTimezone")(r),originalStart:t.getter(e.originalStart||"originalStart")(r),end:t.getter(e.end||"end")(r),endTimezone:t.getter(e.endTimezone||"endTimezone")(r),isAllDay:t.getter(e.isAllDay||"isAllDay")(r),title:t.getter(e.title||"title")(r),description:t.getter(e.description||"description")(r),occurrenceId:t.getter("occurrenceId")(r),recurrenceRule:t.getter(e.recurrenceRule||"recurrenceRule")(r),recurrenceExceptions:t.getter(e.recurrenceExceptions||"recurrenceExceptions")(r),recurrenceId:t.getter(e.recurrenceId||"recurrenceId")(r),dataItem:t.clone(r)}),T=(e,r,n)=>(a,c)=>[...a,...c.recurrenceRule&&(c.recurrenceId===null||c.recurrenceId===void 0)&&i.isMaster(c.dataItem,n)?[...z(c,{dateRange:e,timezone:r,fields:n})]:[c]],z=(e,{dateRange:r,timezone:n,fields:a})=>{const c=e.recurrenceRule,o=R.parseRule({recurrenceRule:c});if(!o)return[];o.start||(o.start=d.ZonedDate.fromLocalDate(e.start,n)),o.end||(o.end=d.ZonedDate.fromLocalDate(e.end,n));const g=e.recurrenceExceptions;g&&(o.exceptionDates=g.map(u=>d.ZonedDate.fromLocalDate(u,n)));const S=r.zonedStart,x=r.zonedEnd,D=R.expand(o,{rangeStart:S,rangeEnd:x});return D.events.length?D.events.map((u,p)=>{const s=t.clone(e),l=t.clone(e.dataItem);return s.recurrenceId=s.uid,i.setField(l,a.recurrenceId,e.uid),s.originalStart=u.start.toLocalDate(),i.setField(l,a.originalStart,u.start.toLocalDate()),s.start=u.start.toLocalDate(),i.setField(l,a.start,u.start.toLocalDate()),s.end=u.end.toLocalDate(),i.setField(l,a.end,u.end.toLocalDate()),s.occurrenceId=String(p),i.setField(l,"occurrenceId",String(p)),s.dataItem=l,s}):[]};exports.toOccurrences=L;
@@ -5,11 +5,11 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { getter as t, clone as p } from "@progress/kendo-react-common";
8
+ import { clone as p, getter as t } from "@progress/kendo-react-common";
9
9
  import { parseRule as m, expand as E } from "@progress/kendo-recurrence";
10
10
  import { ZonedDate as d } from "@progress/kendo-date-math";
11
11
  import { isMaster as S, setField as l } from "../utils/index.mjs";
12
- const F = (e, { dateRange: r, fields: n, timezone: o }) => e.map(z(n)).reduce(I(r, o, n), []).filter((a) => !S(a.dataItem, n)), z = (e) => (r) => ({
12
+ const F = (e, { dateRange: r, fields: n, timezone: a }) => e.map(z(n)).reduce(I(r, a, n), []).filter((o) => !S(o.dataItem, n)), z = (e) => (r) => ({
13
13
  uid: t(e.id || "id")(r),
14
14
  start: t(e.start || "start")(r),
15
15
  startTimezone: t(e.startTimezone || "startTimezone")(r),
@@ -24,21 +24,23 @@ const F = (e, { dateRange: r, fields: n, timezone: o }) => e.map(z(n)).reduce(I(
24
24
  recurrenceExceptions: t(e.recurrenceExceptions || "recurrenceExceptions")(r),
25
25
  recurrenceId: t(e.recurrenceId || "recurrenceId")(r),
26
26
  dataItem: p(r)
27
- }), I = (e, r, n) => (o, c) => [
28
- ...o,
27
+ }), I = (e, r, n) => (a, c) => [
28
+ ...a,
29
29
  ...c.recurrenceRule && (c.recurrenceId === null || c.recurrenceId === void 0) && S(c.dataItem, n) ? [...T(c, { dateRange: e, timezone: r, fields: n })] : [c]
30
- ], T = (e, { dateRange: r, timezone: n, fields: o }) => {
31
- const c = e.recurrenceRule, a = m({ recurrenceRule: c });
32
- a.start || (a.start = d.fromLocalDate(e.start, n)), a.end || (a.end = d.fromLocalDate(e.end, n));
30
+ ], T = (e, { dateRange: r, timezone: n, fields: a }) => {
31
+ const c = e.recurrenceRule, o = m({ recurrenceRule: c });
32
+ if (!o)
33
+ return [];
34
+ o.start || (o.start = d.fromLocalDate(e.start, n)), o.end || (o.end = d.fromLocalDate(e.end, n));
33
35
  const D = e.recurrenceExceptions;
34
- D && (a.exceptionDates = D.map((u) => d.fromLocalDate(u, n)));
35
- const x = r.zonedStart, L = r.zonedEnd, g = E(a, {
36
+ D && (o.exceptionDates = D.map((u) => d.fromLocalDate(u, n)));
37
+ const x = r.zonedStart, L = r.zonedEnd, g = E(o, {
36
38
  rangeStart: x,
37
39
  rangeEnd: L
38
40
  });
39
41
  return g.events.length ? g.events.map((u, R) => {
40
42
  const s = p(e), i = p(e.dataItem);
41
- return s.recurrenceId = s.uid, l(i, o.recurrenceId, e.uid), s.originalStart = u.start.toLocalDate(), l(i, o.originalStart, u.start.toLocalDate()), s.start = u.start.toLocalDate(), l(i, o.start, u.start.toLocalDate()), s.end = u.end.toLocalDate(), l(i, o.end, u.end.toLocalDate()), s.occurrenceId = String(R), l(i, "occurrenceId", String(R)), s.dataItem = i, s;
43
+ return s.recurrenceId = s.uid, l(i, a.recurrenceId, e.uid), s.originalStart = u.start.toLocalDate(), l(i, a.originalStart, u.start.toLocalDate()), s.start = u.start.toLocalDate(), l(i, a.start, u.start.toLocalDate()), s.end = u.end.toLocalDate(), l(i, a.end, u.end.toLocalDate()), s.occurrenceId = String(R), l(i, "occurrenceId", String(R)), s.dataItem = i, s;
42
44
  }) : [];
43
45
  };
44
46
  export {
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { Range, DateRange } from '../models/index.js';
9
+ /** @hidden */
10
+ export declare const toRanges: (dateRange: DateRange, { step, timezone }: any) => Range[];
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { Group, Range, Slot, DateRange } from '../models/index.js';
9
+ /** @hidden */
10
+ export declare const toSlots: (_dateRange: DateRange, { step }: any, { groups, ranges }: {
11
+ groups: Group[];
12
+ ranges: Range[];
13
+ }) => Slot[];
@@ -0,0 +1,62 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { DataItem } from '../models/index.js';
9
+ import { DataAction } from '../Scheduler.js';
10
+ import { SchedulerFormProps } from '../components/SchedulerForm.js';
11
+ import { SchedulerViewSlotProps } from './SchedulerViewSlot.js';
12
+ import * as React from 'react';
13
+ /**
14
+ * Represents the props of the KendoReact [SchedulerEditSlot](https://www.telerik.com/kendo-react-ui/components/scheduler/api/schedulereditslot) component.
15
+ */
16
+ export interface SchedulerEditSlotProps extends SchedulerViewSlotProps {
17
+ /**
18
+ * Overrides the default component responsible for view-specific functionality.
19
+ *
20
+ * The default Component is: [SchedulerViewSlot](https://www.telerik.com/kendo-react-ui/components/scheduler/api/schedulerviewslot).
21
+ */
22
+ viewSlot?: React.ComponentType<SchedulerViewSlotProps>;
23
+ /**
24
+ * Overrides the default component responsible for visualizing the `formItem`.
25
+ *
26
+ * The default Component is: [SchedulerForm](https://www.telerik.com/kendo-react-ui/components/scheduler/api/schedulerform).
27
+ */
28
+ form?: React.ComponentType<SchedulerFormProps>;
29
+ /**
30
+ * Setting this property will force the `formItem` to be in controlled state, allowing further customization.
31
+ */
32
+ formItem?: DataItem | null;
33
+ /**
34
+ * Fires every time the `formItem` changes.
35
+ */
36
+ onFormItemChange?: (event: any) => void;
37
+ /**
38
+ * Fires when a new item has been created in the slot.
39
+ */
40
+ onDataAction?: (action: DataAction, event: any) => void;
41
+ }
42
+ /**
43
+ * Represents the object which is returned from the `ref` callback of the [SchedulerEditSlot](https://www.telerik.com/kendo-react-ui/components/scheduler/api/schedulereditslot).
44
+ *
45
+ * For more information about Refs, refer to the [React Refs & Dom](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) article.
46
+ */
47
+ export interface SchedulerEditSlotHandle {
48
+ /**
49
+ * The props of the SchedulerEditSlot component.
50
+ */
51
+ props: SchedulerEditSlotProps;
52
+ }
53
+ /**
54
+ * Represents the default `editSlot` component rendered by the [KendoReact Scheduler component](https://www.telerik.com/kendo-react-ui/components/scheduler).
55
+ *
56
+ * This is a composite component of the [`SchedulerViewSlot`](https://www.telerik.com/kendo-react-ui/components/scheduler/api/schedulerviewslot), extending it to allow creating an item inside the slot.
57
+ */
58
+ export declare const SchedulerEditSlot: React.ForwardRefExoticComponent<SchedulerEditSlotProps & React.RefAttributes<SchedulerEditSlotHandle>>;
59
+ export declare const schedulerEditSlotDefaultProps: {
60
+ viewSlot: React.ForwardRefExoticComponent<SchedulerViewSlotProps & React.RefAttributes<import('./SchedulerViewSlot').SchedulerViewSlotHandle>>;
61
+ form: React.ForwardRefExoticComponent<SchedulerFormProps & React.RefAttributes<import('../components/SchedulerForm').SchedulerFormHandle | null>>;
62
+ };
@@ -0,0 +1,140 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { Slot, SchedulerSlotMouseEvent, SchedulerSlotKeyboardEvent, SchedulerSlotFocusEvent, EditableProp } from '../models/index.js';
9
+ import * as React from 'react';
10
+ /**
11
+ * Represents the props of the KendoReact [SchedulerSlot](https://www.telerik.com/kendo-react-ui/components/scheduler/api/schedulerslot) component.
12
+ */
13
+ export interface SchedulerSlotProps extends Slot {
14
+ /** @hidden */
15
+ _ref: React.RefObject<SchedulerSlotHandle | null>;
16
+ /**
17
+ * Specifies the `id` of the wrapping element of the SchedulerSlot.
18
+ */
19
+ id?: string;
20
+ /**
21
+ * Specifies the `tabIndex` attribute of the wrapping element of the SchedulerSlot.
22
+ *
23
+ * Providing `null` does not apply any `tabIndex` to the element.
24
+ */
25
+ tabIndex?: number;
26
+ /**
27
+ * Specifies the `className` attribute of the wrapping element of the SchedulerSlot.
28
+ *
29
+ * The SchedulerSlot applies the following default className:
30
+ * - `k-scheduler-cell`
31
+ * - `k-slot-cell`
32
+ * - `k-nonwork-hour` - if either `props.isWorkHour` or `props.isWorkDay` is `false`
33
+ * - `k-selected` - if `props.selected` is set to `true`
34
+ */
35
+ className?: string;
36
+ /**
37
+ * Specifies the `style` object of the wrapping element of the SchedulerSlot.
38
+ *
39
+ * The SchedulerSlot applies the following default styles:
40
+ * - `userSelect`: `none`
41
+ */
42
+ style?: React.CSSProperties;
43
+ /**
44
+ * Specifies the `children` of the SchedulerSlot. By default, no child elements are rendered.
45
+ */
46
+ children?: React.ReactNode;
47
+ /**
48
+ * Overrides the `editable` prop of the `Scheduler` and the active view.
49
+ */
50
+ editable?: EditableProp | boolean;
51
+ /**
52
+ * Specifies if the `day` of the SchedulerSlot (in the current timezone) is between the `workDayStart` and `workDayEnd` of the active view.
53
+ */
54
+ isWorkDay?: boolean;
55
+ /**
56
+ * Specifies if the `time` of the SchedulerSlot (in the current timezone) is between the `workDayStart` and `workDayEnd` of the active view.
57
+ */
58
+ isWorkHour?: boolean;
59
+ /**
60
+ * Sets the selected state of the SchedulerSlot. By default, the `k-selected` className is added if `props.selected` is `true`.
61
+ */
62
+ selected?: boolean;
63
+ /**
64
+ * Sets the `row` in the context of the current active view.
65
+ * This property provides keyboard navigation between the SchedulerSlot components.
66
+ */
67
+ row: number;
68
+ /**
69
+ * Sets the `col` in the context of the current active view.
70
+ * This property provides keyboard navigation between the SchedulerSlot components.
71
+ */
72
+ col: number;
73
+ /**
74
+ * Fires each time the element, or any of its child elements, receive focus.
75
+ */
76
+ onFocus?: (event: SchedulerSlotFocusEvent) => void;
77
+ /**
78
+ * Fires each time the element, or any of its child elements, lose focus.
79
+ */
80
+ onBlur?: (event: SchedulerSlotFocusEvent) => void;
81
+ /**
82
+ * Fires each time the element, or any of its child elements, is clicked.
83
+ */
84
+ onClick?: (event: SchedulerSlotMouseEvent) => void;
85
+ /**
86
+ * Fires each time the element, or any of its child elements, receives a `mouseenter` event.
87
+ */
88
+ onMouseEnter?: (event: SchedulerSlotMouseEvent) => void;
89
+ /**
90
+ * Fires each time the element, or any of its child elements, receives a `mouseleave` event.
91
+ */
92
+ onMouseLeave?: (event: SchedulerSlotMouseEvent) => void;
93
+ /**
94
+ * Fires each time the element, or any of its child elements, receives a `mouseover` event.
95
+ */
96
+ onMouseOver?: (event: SchedulerSlotMouseEvent) => void;
97
+ /**
98
+ * Fires each time the element, or any of its child elements, receives a `mouseout` event.
99
+ */
100
+ onMouseOut?: (event: SchedulerSlotMouseEvent) => void;
101
+ /**
102
+ * Fires each time the element, or any of its child elements, is double-clicked.
103
+ */
104
+ onDoubleClick?: (event: SchedulerSlotMouseEvent) => void;
105
+ /**
106
+ * Fires each time a `keydown` event propagates to the wrapping element.
107
+ */
108
+ onKeyDown?: (event: SchedulerSlotKeyboardEvent) => void;
109
+ /**
110
+ * Fires each time a `keypress` event propagates to the wrapping element.
111
+ */
112
+ onKeyPress?: (event: SchedulerSlotKeyboardEvent) => void;
113
+ /**
114
+ * Fires each time a `keyup` event propagates to the wrapping element.
115
+ */
116
+ onKeyUp?: (event: SchedulerSlotKeyboardEvent) => void;
117
+ }
118
+ /**
119
+ * Represents the object which is returned from the `ref` callback of the [SchedulerSlot](https://www.telerik.com/kendo-react-ui/components/scheduler/api/schedulerslot).
120
+ *
121
+ * For more information about Refs, refer to the [React Refs & Dom](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) article.
122
+ */
123
+ export interface SchedulerSlotHandle {
124
+ /**
125
+ * The HTML element of the SchedulerSlot component.
126
+ */
127
+ element: HTMLDivElement | null;
128
+ /**
129
+ * The props of the SchedulerSlot component.
130
+ */
131
+ props: SchedulerSlotProps;
132
+ }
133
+ /**
134
+ * Represents the default `slot` component rendered by the [KendoReact Scheduler component](https://www.telerik.com/kendo-react-ui/components/scheduler).
135
+ */
136
+ export declare const SchedulerSlot: React.ForwardRefExoticComponent<SchedulerSlotProps & React.RefAttributes<SchedulerSlotHandle>>;
137
+ export declare const schedulerSlotDefaultProps: {
138
+ isWorkHour: boolean;
139
+ isWorkDay: boolean;
140
+ };
@@ -0,0 +1,56 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { SchedulerSlotProps, SchedulerSlotHandle } from './SchedulerSlot.js';
9
+ import * as React from 'react';
10
+ /**
11
+ * Represents the extended `expandable` configuration of a `SchedulerSlot`.
12
+ *
13
+ * Settings `offsetTop` or `offsetBottom` would provide an extra space in addition to the space taken by the `items` inside the `slot`.
14
+ */
15
+ export type SchedulerSlotExpandableConfig = {
16
+ offsetTop?: number;
17
+ offsetBottom?: number;
18
+ };
19
+ /**
20
+ * Represents the props of the KendoReact [SchedulerViewSlot](https://www.telerik.com/kendo-react-ui/components/scheduler/api/schedulerviewslot) component.
21
+ */
22
+ export interface SchedulerViewSlotProps extends SchedulerSlotProps {
23
+ /**
24
+ * Overrides the default component responsible for view-specific functionality.
25
+ *
26
+ * The default Component is: [SchedulerSlot](https://www.telerik.com/kendo-react-ui/components/scheduler/api/schedulerslot).
27
+ */
28
+ slot?: React.ComponentType<SchedulerSlotProps>;
29
+ /**
30
+ * Set to `false` renders the `slot` as is, without expanding depending on the `items` inside it.
31
+ *
32
+ * For more information, please refer to the [Adaptive Slot Height](https://www.telerik.com/kendo-react-ui/components/scheduler/recurring) article.
33
+ */
34
+ expandable?: boolean | SchedulerSlotExpandableConfig;
35
+ }
36
+ /**
37
+ * Represents the object which is returned from the `ref` callback of the [SchedulerViewItem](https://www.telerik.com/kendo-react-ui/components/scheduler/api/schedulerviewitem).
38
+ *
39
+ * For more information about Refs, refer to the [React Refs & Dom](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) article.
40
+ */
41
+ export interface SchedulerViewSlotHandle {
42
+ /**
43
+ * The props of the SchedulerViewSlot component.
44
+ */
45
+ props: SchedulerViewSlotProps;
46
+ }
47
+ /**
48
+ * Represents the default `viewSlot` component rendered by the [KendoReact Scheduler component](https://www.telerik.com/kendo-react-ui/components/scheduler).
49
+ *
50
+ * This is a composite component of the [`SchedulerSlot`](https://www.telerik.com/kendo-react-ui/components/scheduler/api/schedulerslot), extending it to provide additional functionality depending on the view.
51
+ */
52
+ export declare const SchedulerViewSlot: React.ForwardRefExoticComponent<SchedulerViewSlotProps & React.RefAttributes<SchedulerViewSlotHandle>>;
53
+ export declare const schedulerViewSlotDefaultProps: {
54
+ slot: React.ForwardRefExoticComponent<SchedulerSlotProps & React.RefAttributes<SchedulerSlotHandle>>;
55
+ expandable: boolean;
56
+ };