@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.
- package/Scheduler.d.ts +597 -0
- package/Scheduler.js +1 -1
- package/Scheduler.mjs +1 -1
- package/components/BaseView.d.ts +25 -0
- package/components/BaseView.js +1 -1
- package/components/BaseView.mjs +3 -3
- package/components/CurrentTimeMarket.d.ts +17 -0
- package/components/DateHeaderCell.d.ts +53 -0
- package/components/SchedulerForm.d.ts +87 -0
- package/components/SchedulerForm.mjs +3 -3
- package/components/SchedulerOccurrenceDialog.d.ts +58 -0
- package/components/SchedulerOccurrenceDialog.mjs +2 -2
- package/components/SchedulerRemoveDialog.d.ts +54 -0
- package/components/ShowMoreItemsButton.d.ts +33 -0
- package/components/TimeHeaderCell.d.ts +53 -0
- package/components/footer/SchedulerFooter.d.ts +37 -0
- package/components/footer/bussiness-hours/BussinessHours.d.ts +20 -0
- package/components/header/SchedulerHeader.d.ts +34 -0
- package/components/header/navigation/NavigationDatePicker.d.ts +12 -0
- package/components/header/navigation/SchedulerNavigation.d.ts +31 -0
- package/components/header/view-selector/SchedulerViewSelector.d.ts +31 -0
- package/components/header/view-selector/ViewSelectorItem.d.ts +16 -0
- package/components/header/view-selector/ViewSelectorList.d.ts +10 -0
- package/constants/index.d.ts +61 -0
- package/constants/index.js +1 -1
- package/constants/index.mjs +9 -9
- package/context/SchedulerContext.d.ts +234 -0
- package/context/SchedulerEditItemContext.d.ts +199 -0
- package/context/SchedulerEditSlotContext.d.ts +54 -0
- package/context/SchedulerEditTaskContext.d.ts +36 -0
- package/context/SchedulerResourceIteratorContext.d.ts +23 -0
- package/context/SchedulerViewContext.d.ts +97 -0
- package/context/index.d.ts +12 -0
- package/dist/cdn/js/kendo-react-scheduler.js +1 -1
- package/editors/FilterableComboBox.d.ts +12 -0
- package/editors/ResourceEditor.d.ts +22 -0
- package/editors/SchedulerFormEditor.d.ts +495 -0
- package/editors/SchedulerFormEditor.mjs +3 -3
- package/editors/ZonedDateTime.d.ts +25 -0
- package/editors/common.d.ts +19 -0
- package/hooks/index.d.ts +17 -0
- package/hooks/use-items-focus.d.ts +39 -0
- package/hooks/use-items-selection.d.ts +47 -0
- package/hooks/use-slots-focus.d.ts +47 -0
- package/hooks/use-slots-selection.d.ts +37 -0
- package/hooks/useAsyncMouseEnterLeave.d.ts +18 -0
- package/hooks/useCellSync.d.ts +17 -0
- package/hooks/useControlledState.d.ts +20 -0
- package/hooks/useEditable.d.ts +10 -0
- package/hooks/usePropOrState.d.ts +9 -0
- package/hooks/useRowSync.d.ts +18 -0
- package/hooks/useSchedulerItem.d.ts +14 -0
- package/hooks/useSchedulerSlot.d.ts +14 -0
- package/hooks/useSlotExpand.d.ts +12 -0
- package/hooks/useWorkHours.d.ts +9 -0
- package/index.d.mts +41 -4703
- package/index.d.ts +41 -4703
- package/items/SchedulerEditItem.d.ts +453 -0
- package/items/SchedulerEditItem.mjs +7 -7
- package/items/SchedulerItem.d.ts +222 -0
- package/items/SchedulerItemContent.d.ts +18 -0
- package/items/SchedulerProportionalViewItem.d.ts +19 -0
- package/items/SchedulerViewItem.d.ts +46 -0
- package/items/hooks/use-drag-item.d.ts +51 -0
- package/items/hooks/use-form-item.d.ts +25 -0
- package/items/hooks/use-remove-item.d.ts +33 -0
- package/items/hooks/use-resize-item.d.ts +57 -0
- package/items/hooks/use-series.d.ts +30 -0
- package/items/hooks/use-show-occurrence-dialog.d.ts +34 -0
- package/items/hooks/use-show-remove-item-dialog.d.ts +34 -0
- package/messages/index.d.ts +243 -0
- package/models/DataItem.d.ts +15 -0
- package/models/DateRange.d.ts +25 -0
- package/models/EditableProp.d.ts +36 -0
- package/models/Fields.d.ts +60 -0
- package/models/Group.d.ts +21 -0
- package/models/Item.d.ts +71 -0
- package/models/NavigationAction.d.ts +65 -0
- package/models/Occurrence.d.ts +59 -0
- package/models/Omit.d.ts +11 -0
- package/models/Orientation.d.ts +9 -0
- package/models/Range.d.ts +17 -0
- package/models/Rect.d.ts +22 -0
- package/models/Resource.d.ts +15 -0
- package/models/SchedulerGroup.d.ts +20 -0
- package/models/SchedulerHandle.d.ts +21 -0
- package/models/SchedulerModelFields.d.ts +69 -0
- package/models/SchedulerResource.d.ts +40 -0
- package/models/SchedulerView.d.ts +103 -0
- package/models/Slot.d.ts +57 -0
- package/models/events.d.ts +96 -0
- package/models/index.d.ts +26 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +9 -16
- package/package.json +11 -11
- package/recurrence/RecurrenceEditor.d.ts +19 -0
- package/recurrence/RecurrenceEditor.mjs +3 -3
- package/recurrence/RecurrenceFrequencyEditor.d.ts +17 -0
- package/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +20 -0
- package/recurrence/common.d.ts +64 -0
- package/recurrence/types/EndRule.d.ts +11 -0
- package/recurrence/types/Frequency.d.ts +11 -0
- package/recurrence/types/FrequencyEntity.d.ts +15 -0
- package/recurrence/types/MonthEntity.d.ts +14 -0
- package/recurrence/types/OffsetPosition.d.ts +11 -0
- package/recurrence/types/OffsetPositionEntity.d.ts +14 -0
- package/recurrence/types/RepeatOnRule.d.ts +11 -0
- package/recurrence/types/WeekDayEntity.d.ts +14 -0
- package/recurrence/types/WeekDayRule.d.ts +14 -0
- package/recurrence/utils/index.d.ts +7 -0
- package/reducers/editReducer.d.ts +40 -0
- package/reducers/index.d.ts +8 -0
- package/services/index.d.ts +11 -0
- package/services/itemsService.d.ts +19 -0
- package/services/occurrenceService.d.ts +10 -0
- package/services/occurrenceService.js +1 -1
- package/services/occurrenceService.mjs +12 -10
- package/services/rangeService.d.ts +10 -0
- package/services/slotsService.d.ts +13 -0
- package/slots/SchedulerEditSlot.d.ts +62 -0
- package/slots/SchedulerSlot.d.ts +140 -0
- package/slots/SchedulerViewSlot.d.ts +56 -0
- package/tasks/SchedulerEditTask.d.ts +93 -0
- package/tasks/SchedulerTask.d.ts +70 -0
- package/tasks/SchedulerViewTask.d.ts +44 -0
- package/utils/index.d.ts +177 -0
- package/views/agenda/AgendaView.d.ts +97 -0
- package/views/agenda/AgendaView.js +1 -1
- package/views/agenda/AgendaView.mjs +2 -2
- package/views/agenda/AgendaViewHeaderItem.d.ts +15 -0
- package/views/common/HorizontalResourceIterator.d.ts +33 -0
- package/views/common/HorizontalResourceIterator.js +1 -1
- package/views/common/HorizontalResourceIterator.mjs +33 -39
- package/views/common/SchedulerDrag.d.ts +46 -0
- package/views/common/SchedulerResize.d.ts +48 -0
- package/views/common/VerticalResourceIterator.d.ts +28 -0
- package/views/common/VerticalResourceIterator.js +1 -1
- package/views/common/VerticalResourceIterator.mjs +21 -21
- package/views/common/utils.d.ts +41 -0
- package/views/day/DayView.d.ts +38 -0
- package/views/day/DayView.mjs +3 -3
- package/views/day/DayViewAllDayRowContent.d.ts +15 -0
- package/views/day/DayViewGroupRowContent.d.ts +15 -0
- package/views/day/DayViewRowContent.d.ts +20 -0
- package/views/day/MultiDayView.d.ts +179 -0
- package/views/day/MultiDayView.mjs +8 -8
- package/views/month/MonthView.d.ts +104 -0
- package/views/month/MonthView.js +1 -1
- package/views/month/MonthView.mjs +5 -5
- package/views/time/MultiDayTimelineView.d.ts +183 -0
- package/views/time/MultiDayTimelineView.mjs +5 -5
- package/views/time/TimelineView.d.ts +38 -0
- package/views/time/TimelineView.mjs +3 -3
- package/views/time/TimelineViewAllEventsRowContent.d.ts +14 -0
- package/views/time/TimelineViewRowContent.d.ts +14 -0
- package/views/week/WeekView.d.ts +109 -0
- package/views/week/WeekView.mjs +1 -1
- package/views/week/WorkWeekView.d.ts +27 -0
- package/views/week/WorkWeekView.mjs +1 -1
|
@@ -0,0 +1,222 @@
|
|
|
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 { Item, SchedulerItemDragEvent, SchedulerItemFocusEvent, SchedulerItemMouseEvent, SchedulerItemKeyboardEvent, EditableProp } from '../models/index.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the props of the KendoReact [SchedulerItem](https://www.telerik.com/kendo-react-ui/components/scheduler/api/scheduleritem) component.
|
|
12
|
+
*/
|
|
13
|
+
export interface SchedulerItemProps extends Item {
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the `id` of the wrapping element of the SchedulerItem.
|
|
16
|
+
*/
|
|
17
|
+
id?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Specifies the `tabIndex` attribute of the wrapping element of the SchedulerItem.
|
|
20
|
+
*
|
|
21
|
+
* Providing `null` does not apply any `tabIndex` to the element.
|
|
22
|
+
*/
|
|
23
|
+
tabIndex?: number | null;
|
|
24
|
+
/**
|
|
25
|
+
* Specifies the `className` attribute of the wrapping element of the SchedulerItem.
|
|
26
|
+
*
|
|
27
|
+
* The SchedulerItem applies the following default className:
|
|
28
|
+
* - `k-event`
|
|
29
|
+
* - `k-selected` - if `props.selected` is set to `true`
|
|
30
|
+
* - `k-event-drag-hint` - if `props.dragHint` is set to `true`
|
|
31
|
+
* - `k-scheduler-marquee` - if `props.resizeHint` is set to `true`
|
|
32
|
+
* - `k-marquee`: if `props.resizeHint` is set to `true`
|
|
33
|
+
* - `k-first`: if `props.resizeHint` is set to `true` and `props.tail` is set to `false`
|
|
34
|
+
* - `k-last`: if `props.resizeHint` is set to `true` and `props.head` is set to `false`
|
|
35
|
+
*/
|
|
36
|
+
className?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies the `style` object of the wrapping element of the SchedulerItem.
|
|
39
|
+
*
|
|
40
|
+
* The SchedulerItem applies the following default styles:
|
|
41
|
+
* - `cursor`: `pointer`
|
|
42
|
+
* - `userSelect`: `none`
|
|
43
|
+
* - `borderColor`: `props.color`
|
|
44
|
+
* - `borderColor`: `props.color`
|
|
45
|
+
* - `pointerEvents`: `none` - if `props.dragHint` or `props.resizeHint` is set to `true`
|
|
46
|
+
*/
|
|
47
|
+
style?: React.CSSProperties;
|
|
48
|
+
/**
|
|
49
|
+
* Specifies the `children` of the SchedulerItem.
|
|
50
|
+
*
|
|
51
|
+
* Setting this property overrides the default elements rendered by the SchedulerItem.
|
|
52
|
+
*/
|
|
53
|
+
children?: React.ReactNode;
|
|
54
|
+
/**
|
|
55
|
+
* Overrides the `editable` prop of the `Scheduler` and the active view.
|
|
56
|
+
*/
|
|
57
|
+
editable?: EditableProp | boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Sets the selected state of the SchedulerItem. By default, the `k-selected` className is added if `props.selected` is `true`.
|
|
60
|
+
*/
|
|
61
|
+
selected?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Specifies the orientation of the SchedulerItem.
|
|
64
|
+
*/
|
|
65
|
+
vertical?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Returns true if it is the last item rendered in the current view.
|
|
68
|
+
*/
|
|
69
|
+
isLast?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Specifies if the current SchedulerItem is used as a DragHint.
|
|
72
|
+
*/
|
|
73
|
+
dragHint?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Specifies if the current SchedulerItem is used as a ResizeHint.
|
|
76
|
+
*/
|
|
77
|
+
resizeHint?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Specifies the `format` in which the `zonedStart` and `zonedEnd` properties are displayed.
|
|
80
|
+
*
|
|
81
|
+
* For more information, refer to the [formatDate](https://www.telerik.com/kendo-react-ui/components/intl/api/intlservice#toc-formatdate) method of the [IntlService](https://www.telerik.com/kendo-react-ui/components/intl).
|
|
82
|
+
*/
|
|
83
|
+
format?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Fires each time the element, or any of its child elements, receive focus.
|
|
86
|
+
*/
|
|
87
|
+
onFocus?: (event: SchedulerItemFocusEvent) => void;
|
|
88
|
+
/**
|
|
89
|
+
* Fires each time the element, or any of its child elements, lose focus.
|
|
90
|
+
*/
|
|
91
|
+
onBlur?: (event: SchedulerItemFocusEvent) => void;
|
|
92
|
+
/**
|
|
93
|
+
* Fires each time the element, or any of its child elements, receives a `mousedown` event.
|
|
94
|
+
*/
|
|
95
|
+
onMouseDown?: (event: SchedulerItemMouseEvent) => void;
|
|
96
|
+
/**
|
|
97
|
+
* Fires each time the element, or any of its child elements, receives a `mouseup` event.
|
|
98
|
+
*/
|
|
99
|
+
onMouseUp?: (event: SchedulerItemMouseEvent) => void;
|
|
100
|
+
/**
|
|
101
|
+
* Fires each time the element, or any of its child elements, is clicked.
|
|
102
|
+
*/
|
|
103
|
+
onClick?: (event: SchedulerItemMouseEvent) => void;
|
|
104
|
+
/**
|
|
105
|
+
* Fires each time the element, or any of its child elements, receives a `mouseenter` event.
|
|
106
|
+
*/
|
|
107
|
+
onMouseEnter?: (event: SchedulerItemMouseEvent) => void;
|
|
108
|
+
/**
|
|
109
|
+
* Fires each time the element, or any of its child elements, receives a `mouseleave` event.
|
|
110
|
+
*/
|
|
111
|
+
onMouseLeave?: (event: SchedulerItemMouseEvent) => void;
|
|
112
|
+
/**
|
|
113
|
+
* Fires each time the element, or any of its child elements, receives a `mouseover` event.
|
|
114
|
+
*/
|
|
115
|
+
onMouseOver?: (event: SchedulerItemMouseEvent) => void;
|
|
116
|
+
/**
|
|
117
|
+
* Fires each time the element, or any of its child elements, receives a `mouseout` event.
|
|
118
|
+
*/
|
|
119
|
+
onMouseOut?: (event: SchedulerItemMouseEvent) => void;
|
|
120
|
+
/**
|
|
121
|
+
* Fires each time the element, or any of its child elements, is double-clicked.
|
|
122
|
+
*/
|
|
123
|
+
onDoubleClick?: (event: SchedulerItemMouseEvent) => void;
|
|
124
|
+
/**
|
|
125
|
+
* Fires when you click the `delete` icon.
|
|
126
|
+
*
|
|
127
|
+
* The `delete` icon renders only when `props.editable` or `props.editable.remove` is `true`.
|
|
128
|
+
*/
|
|
129
|
+
onRemoveClick?: (event: SchedulerItemMouseEvent) => void;
|
|
130
|
+
/**
|
|
131
|
+
* Fires each time a `keydown` event propagates to the wrapping element.
|
|
132
|
+
*/
|
|
133
|
+
onKeyDown?: (event: SchedulerItemKeyboardEvent) => void;
|
|
134
|
+
/**
|
|
135
|
+
* Fires each time a `keypress` event propagates to the wrapping element.
|
|
136
|
+
*/
|
|
137
|
+
onKeyPress?: (event: SchedulerItemKeyboardEvent) => void;
|
|
138
|
+
/**
|
|
139
|
+
* Fires each time a `keyup` event propagates to the wrapping element.
|
|
140
|
+
*/
|
|
141
|
+
onKeyUp?: (event: SchedulerItemKeyboardEvent) => void;
|
|
142
|
+
/**
|
|
143
|
+
* Fires each time the element receives a `press` event.
|
|
144
|
+
*
|
|
145
|
+
* This event is used by the [`Drag & Drop`](https://www.telerik.com/kendo-react-ui/components/scheduler/editing) functionality of the SchedulerItem.
|
|
146
|
+
* The SchedulerItem uses the [KendoReactDraggable](https://www.telerik.com/kendo-react-ui/components/common/drag-and-drop/draggable) instead of the `onDragStart` callback.
|
|
147
|
+
*/
|
|
148
|
+
onPress?: (event: SchedulerItemDragEvent) => void;
|
|
149
|
+
/**
|
|
150
|
+
* Fires each time the element is dragged.
|
|
151
|
+
*
|
|
152
|
+
* This event is used by the [`Drag & Drop`](https://www.telerik.com/kendo-react-ui/components/scheduler/editing) functionality of the SchedulerItem.
|
|
153
|
+
* The SchedulerItem uses the [KendoReactDraggable](https://www.telerik.com/kendo-react-ui/components/common/drag-and-drop/draggable) instead of the `onDrag` callback.
|
|
154
|
+
*/
|
|
155
|
+
onDrag?: (event: SchedulerItemDragEvent) => void;
|
|
156
|
+
/**
|
|
157
|
+
* Fires when you release the dragged element.
|
|
158
|
+
*
|
|
159
|
+
* This event is used by the [`Drag & Drop`](https://www.telerik.com/kendo-react-ui/components/scheduler/editing) functionality of the SchedulerItem.
|
|
160
|
+
* The SchedulerItem uses the [KendoReactDraggable](https://www.telerik.com/kendo-react-ui/components/common/drag-and-drop/draggable) instead of the `onDragEnd` callback.
|
|
161
|
+
*/
|
|
162
|
+
onRelease?: (event: SchedulerItemDragEvent) => void;
|
|
163
|
+
/**
|
|
164
|
+
* Fires each time any of the resize handlers receives a `press` event.
|
|
165
|
+
*
|
|
166
|
+
* This event is used by the [`Resize`](https://www.telerik.com/kendo-react-ui/components/scheduler/editing) functionality of the SchedulerItem.
|
|
167
|
+
* The SchedulerItem uses the [KendoReactDraggable](https://www.telerik.com/kendo-react-ui/components/common/drag-and-drop/draggable) instead of the `onDragStart` callback.
|
|
168
|
+
*/
|
|
169
|
+
onResizePress?: (event: SchedulerItemDragEvent) => void;
|
|
170
|
+
/**
|
|
171
|
+
* Fires each time the resize handler responsible for the item `start` is being dragged.
|
|
172
|
+
*
|
|
173
|
+
* This event is used by the [`Resize`](https://www.telerik.com/kendo-react-ui/components/scheduler/editing) functionality of the SchedulerItem.
|
|
174
|
+
* The SchedulerItem uses the [KendoReactDraggable](https://www.telerik.com/kendo-react-ui/components/common/drag-and-drop/draggable) instead of the `onDrag` callback.
|
|
175
|
+
*/
|
|
176
|
+
onResizeStartDrag?: (event: SchedulerItemDragEvent) => void;
|
|
177
|
+
/**
|
|
178
|
+
* Fires each time the resize handler responsible for the item `end` is being dragged.
|
|
179
|
+
*
|
|
180
|
+
* This event is used by the [`Resize`](https://www.telerik.com/kendo-react-ui/components/scheduler/editing) functionality of the SchedulerItem.
|
|
181
|
+
* The SchedulerItem uses the [KendoReactDraggable](https://www.telerik.com/kendo-react-ui/components/common/drag-and-drop/draggable) instead of the `onDrag` callback.
|
|
182
|
+
*/
|
|
183
|
+
onResizeEndDrag?: (event: SchedulerItemDragEvent) => void;
|
|
184
|
+
/**
|
|
185
|
+
* Fires when you release the dragged resize handler.
|
|
186
|
+
*
|
|
187
|
+
* This event is used by the [`Resize`](https://www.telerik.com/kendo-react-ui/components/scheduler/editing) functionality of the SchedulerItem.
|
|
188
|
+
* The SchedulerItem uses the [KendoReactDraggable](https://www.telerik.com/kendo-react-ui/components/common/drag-and-drop/draggable) instead of the `onDragEnd` callback.
|
|
189
|
+
*/
|
|
190
|
+
onResizeRelease?: (event: SchedulerItemDragEvent) => void;
|
|
191
|
+
/** @hidden */
|
|
192
|
+
_maxSiblingsPerSlot?: React.MutableRefObject<number | null>;
|
|
193
|
+
/** @hidden */
|
|
194
|
+
_siblings?: React.MutableRefObject<SchedulerItemHandle[] | null>;
|
|
195
|
+
/** @hidden */
|
|
196
|
+
_order?: React.MutableRefObject<number | null>;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Represents the object which is returned from the `ref` callback of the [SchedulerItem](https://www.telerik.com/kendo-react-ui/components/scheduler/api/scheduleritem).
|
|
200
|
+
*
|
|
201
|
+
* For more information about Refs, refer to the [React Refs & Dom](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) article.
|
|
202
|
+
*/
|
|
203
|
+
export interface SchedulerItemHandle {
|
|
204
|
+
/**
|
|
205
|
+
* The HTML element of the SchedulerItem component.
|
|
206
|
+
*/
|
|
207
|
+
element: HTMLDivElement | null;
|
|
208
|
+
/**
|
|
209
|
+
* The props of the SchedulerItem component.
|
|
210
|
+
*/
|
|
211
|
+
props: SchedulerItemProps;
|
|
212
|
+
/** @hidden */
|
|
213
|
+
_maxSiblingsPerSlot?: number | null;
|
|
214
|
+
/** @hidden */
|
|
215
|
+
_siblings?: SchedulerItemHandle[] | null;
|
|
216
|
+
/** @hidden */
|
|
217
|
+
_order?: number | null;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Represents the default `item` component rendered by the [KendoReact Scheduler component](https://www.telerik.com/kendo-react-ui/components/scheduler).
|
|
221
|
+
*/
|
|
222
|
+
export declare const SchedulerItem: React.ForwardRefExoticComponent<SchedulerItemProps & React.RefAttributes<SchedulerItemHandle>>;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 * as React from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the props of the [SchedulerItemContent](https://www.telerik.com/kendo-react-ui/components/scheduler/api/scheduleritemcontent) component.
|
|
11
|
+
* Extends the [native `div` props`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement).
|
|
12
|
+
*/
|
|
13
|
+
export interface SchedulerItemContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A component which applies the necessary `className` for correct styling of child elements inside the [SchedulerItem](https://www.telerik.com/kendo-react-ui/components/scheduler/api/scheduleritem)
|
|
17
|
+
*/
|
|
18
|
+
export declare const SchedulerItemContent: React.ForwardRefExoticComponent<SchedulerItemContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -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 { SchedulerItemProps, SchedulerItemHandle } from './SchedulerItem.js';
|
|
9
|
+
import { SchedulerViewItemHandle, SchedulerViewItemProps } from './SchedulerViewItem.js';
|
|
10
|
+
import * as React from 'react';
|
|
11
|
+
/**
|
|
12
|
+
* Represents a customized `viewItem` component which position itself proportionally to the duration of the item.
|
|
13
|
+
*
|
|
14
|
+
* This is a composite component of the [`SchedulerItem`](https://www.telerik.com/kendo-react-ui/components/scheduler/api/scheduleritem), extending it to provide extended positioning inside a view.
|
|
15
|
+
*/
|
|
16
|
+
export declare const SchedulerProportionalViewItem: React.ForwardRefExoticComponent<SchedulerViewItemProps & React.RefAttributes<SchedulerViewItemHandle>>;
|
|
17
|
+
export declare const schedulerProportionalViewItemDefaultProps: {
|
|
18
|
+
item: React.ForwardRefExoticComponent<SchedulerItemProps & React.RefAttributes<SchedulerItemHandle>>;
|
|
19
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { SchedulerItemProps, SchedulerItemHandle } from './SchedulerItem.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the props of the KendoReact [SchedulerViewItem](https://www.telerik.com/kendo-react-ui/components/scheduler/api/schedulerviewitem) component.
|
|
12
|
+
*/
|
|
13
|
+
export interface SchedulerViewItemProps extends SchedulerItemProps {
|
|
14
|
+
/** @hidden */
|
|
15
|
+
ignoreIsAllDay?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Overrides the default component responsible for visualizing a single item.
|
|
18
|
+
*
|
|
19
|
+
* The default Component is: [SchedulerItem](https://www.telerik.com/kendo-react-ui/components/scheduler/api/scheduleritem).
|
|
20
|
+
*/
|
|
21
|
+
item?: React.ComponentType<SchedulerItemProps>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Represents the object which is returned from the `ref` callback of the [SchedulerViewItem](https://www.telerik.com/kendo-react-ui/components/scheduler/api/schedulerviewitem).
|
|
25
|
+
*
|
|
26
|
+
* For more information about Refs, refer to the [React Refs & Dom](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) article.
|
|
27
|
+
*/
|
|
28
|
+
export interface SchedulerViewItemHandle {
|
|
29
|
+
/**
|
|
30
|
+
* The HTML element of the SchedulerViewItem component.
|
|
31
|
+
*/
|
|
32
|
+
element: HTMLDivElement | null;
|
|
33
|
+
/**
|
|
34
|
+
* The props of the SchedulerViewItem component.
|
|
35
|
+
*/
|
|
36
|
+
props: SchedulerViewItemProps;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Represents the default `viewItem` component rendered by the [KendoReact Scheduler component](https://www.telerik.com/kendo-react-ui/components/scheduler).
|
|
40
|
+
*
|
|
41
|
+
* This is a composite component of the [`SchedulerItem`](https://www.telerik.com/kendo-react-ui/components/scheduler/api/scheduleritem), extending it to provide proper positioning inside a view.
|
|
42
|
+
*/
|
|
43
|
+
export declare const SchedulerViewItem: React.ForwardRefExoticComponent<SchedulerViewItemProps & React.RefAttributes<SchedulerViewItemHandle>>;
|
|
44
|
+
export declare const schedulerViewItemDefaultProps: {
|
|
45
|
+
item: React.ForwardRefExoticComponent<SchedulerItemProps & React.RefAttributes<SchedulerItemHandle>>;
|
|
46
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
/**
|
|
10
|
+
* Represents the available `action` types for the `SchedulerItemDragItemAction` objects.
|
|
11
|
+
*
|
|
12
|
+
* The available types are:
|
|
13
|
+
* - `DRAG_ITEM_SET'`
|
|
14
|
+
* - `DRAG_ITEM_START'`
|
|
15
|
+
* - `DRAG_ITEM_DRAG'`
|
|
16
|
+
* - `DRAG_ITEM_COMPLETE'`
|
|
17
|
+
* - `DRAG_ITEM_COMPLETE_OCCURRENCE'`
|
|
18
|
+
* - `DRAG_ITEM_COMPLETE_SERIES'`
|
|
19
|
+
* - `DRAG_ITEM_RESET'`
|
|
20
|
+
* - `DRAG_ITEM_DRAG_SELECTED`
|
|
21
|
+
*/
|
|
22
|
+
export declare enum DRAG_ITEM_ACTION {
|
|
23
|
+
set = "DRAG_ITEM_SET",
|
|
24
|
+
start = "DRAG_ITEM_START",
|
|
25
|
+
drag = "DRAG_ITEM_DRAG",
|
|
26
|
+
complete = "DRAG_ITEM_COMPLETE",
|
|
27
|
+
completeOccurrence = "DRAG_ITEM_COMPLETE_OCCURRENCE",
|
|
28
|
+
completeSeries = "DRAG_ITEM_COMPLETE_SERIES",
|
|
29
|
+
reset = "DRAG_ITEM_RESET",
|
|
30
|
+
dragSelected = "DRAG_ITEM_DRAG_SELECTED"
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Represents the object passed to the `drag-item` reducer.
|
|
34
|
+
*/
|
|
35
|
+
export interface SchedulerItemDragItemAction {
|
|
36
|
+
/**
|
|
37
|
+
* The type of drag action to perform.
|
|
38
|
+
*/
|
|
39
|
+
type: DRAG_ITEM_ACTION;
|
|
40
|
+
/**
|
|
41
|
+
* The data item payload for the drag action.
|
|
42
|
+
*/
|
|
43
|
+
payload?: DataItem;
|
|
44
|
+
}
|
|
45
|
+
/** @hidden */
|
|
46
|
+
export declare const useDragItem: (config: {
|
|
47
|
+
dataItem: DataItem;
|
|
48
|
+
ignoreIsAllDay?: boolean;
|
|
49
|
+
isAllDay?: boolean;
|
|
50
|
+
onDataAction?: any;
|
|
51
|
+
}, state: [DataItem, DataItem, any]) => any[];
|
|
@@ -0,0 +1,25 @@
|
|
|
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 declare enum FORM_ITEM_ACTION {
|
|
11
|
+
set = "FORM_ITEM_SET",
|
|
12
|
+
setMaster = "FORM_ITEM_SET_MASTER",
|
|
13
|
+
reset = "FORM_ITEM_RESET",
|
|
14
|
+
complete = "FORM_ITEM_COMPLETE"
|
|
15
|
+
}
|
|
16
|
+
/** @hidden */
|
|
17
|
+
export type SchedulerItemFormItemAction = {
|
|
18
|
+
type: FORM_ITEM_ACTION;
|
|
19
|
+
payload?: DataItem;
|
|
20
|
+
};
|
|
21
|
+
/** @hidden */
|
|
22
|
+
export declare const useFormItem: (config: {
|
|
23
|
+
series: boolean;
|
|
24
|
+
onDataAction?: any;
|
|
25
|
+
}, state: [DataItem, DataItem, any]) => any[];
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
/**
|
|
10
|
+
* Represents the available `action` types for the `SchedulerItemRemoveItemAction` objects.
|
|
11
|
+
*
|
|
12
|
+
* The available types are:
|
|
13
|
+
* - `REMOVE_ITEM_SET`
|
|
14
|
+
* - `REMOVE_ITEM_RESET`
|
|
15
|
+
* - `REMOVE_ITEM_COMPLETE`
|
|
16
|
+
*/
|
|
17
|
+
export declare enum REMOVE_ITEM_ACTION {
|
|
18
|
+
set = "REMOVE_ITEM_SET",
|
|
19
|
+
reset = "REMOVE_ITEM_RESET",
|
|
20
|
+
complete = "REMOVE_ITEM_COMPLETE"
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Represents the object passed to the `remove-item` reducer.
|
|
24
|
+
*/
|
|
25
|
+
export type SchedulerItemRemoveItemAction = {
|
|
26
|
+
type: REMOVE_ITEM_ACTION;
|
|
27
|
+
payload?: DataItem;
|
|
28
|
+
};
|
|
29
|
+
/** @hidden */
|
|
30
|
+
export declare const useRemoveItem: (config: {
|
|
31
|
+
series: boolean;
|
|
32
|
+
onDataAction?: any;
|
|
33
|
+
}, state: [DataItem, DataItem, any]) => any[];
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
/**
|
|
10
|
+
* Represents the available `action` types for the `SchedulerItemResizeItemAction` objects.
|
|
11
|
+
*
|
|
12
|
+
* The available types are:
|
|
13
|
+
* - `RESIZE_ITEM_SET`
|
|
14
|
+
* - `RESIZE_ITEM_START`
|
|
15
|
+
* - `RESIZE_ITEM_START_DRAG`
|
|
16
|
+
* - `RESIZE_ITEM_START_DRAG_SELECTED`
|
|
17
|
+
* - `RESIZE_ITEM_END_DRAG`
|
|
18
|
+
* - `RESIZE_ITEM_END_DRAG_SELECTED`
|
|
19
|
+
* - `RESIZE_ITEM_COMPLETE`
|
|
20
|
+
* - `RESIZE_ITEM_COMPLETE_OCCURRENCE`
|
|
21
|
+
* - `RESIZE_ITEM_COMPLETE_SERIES`
|
|
22
|
+
* - `RESIZE_ITEM_RESET`
|
|
23
|
+
*/
|
|
24
|
+
export declare enum RESIZE_ITEM_ACTION {
|
|
25
|
+
set = "RESIZE_ITEM_SET",
|
|
26
|
+
start = "RESIZE_ITEM_START",
|
|
27
|
+
startDrag = "RESIZE_ITEM_START_DRAG",
|
|
28
|
+
startDragSelected = "RESIZE_ITEM_START_DRAG_SELECTED",
|
|
29
|
+
endDrag = "RESIZE_ITEM_END_DRAG",
|
|
30
|
+
endDragSelected = "RESIZE_ITEM_END_DRAG_SELECTED",
|
|
31
|
+
complete = "RESIZE_ITEM_COMPLETE",
|
|
32
|
+
completeOccurrence = "RESIZE_ITEM_COMPLETE_OCCURRENCE",
|
|
33
|
+
completeSeries = "RESIZE_ITEM_COMPLETE_SERIES",
|
|
34
|
+
reset = "RESIZE_ITEM_RESET"
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Represents the object passed to the `resize-item` reducer.
|
|
38
|
+
*/
|
|
39
|
+
export interface SchedulerItemResizeItemAction {
|
|
40
|
+
/**
|
|
41
|
+
* The type of resize action to perform.
|
|
42
|
+
*/
|
|
43
|
+
type: RESIZE_ITEM_ACTION;
|
|
44
|
+
/**
|
|
45
|
+
* The data item payload for the resize action.
|
|
46
|
+
*/
|
|
47
|
+
payload?: DataItem;
|
|
48
|
+
/**
|
|
49
|
+
* The event associated with the resize action.
|
|
50
|
+
*/
|
|
51
|
+
event?: any;
|
|
52
|
+
}
|
|
53
|
+
/** @hidden */
|
|
54
|
+
export declare const useResizeItem: (config: {
|
|
55
|
+
dataItem: DataItem;
|
|
56
|
+
onDataAction: any;
|
|
57
|
+
}, state: [DataItem, DataItem, any]) => any[];
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
/**
|
|
10
|
+
* Represents the available `action` types for the `SchedulerItemSeriesAction` objects.
|
|
11
|
+
*
|
|
12
|
+
* The available actions are:
|
|
13
|
+
* - `SERIES_RESET`
|
|
14
|
+
* - `SERIES_SET`
|
|
15
|
+
* - `SERIES_TOGGLE`
|
|
16
|
+
*/
|
|
17
|
+
export declare enum SERIES_ACTION {
|
|
18
|
+
reset = "SERIES_RESET",
|
|
19
|
+
set = "SERIES_SET",
|
|
20
|
+
toggle = "SERIES_TOGGLE"
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Represents the object passed to the `series` reducer.
|
|
24
|
+
*/
|
|
25
|
+
export type SchedulerItemSeriesAction = {
|
|
26
|
+
type: SERIES_ACTION;
|
|
27
|
+
payload?: boolean;
|
|
28
|
+
};
|
|
29
|
+
/** @hidden */
|
|
30
|
+
export declare const useSeries: (defaultProp: DataItem, prop?: DataItem, callback?: any) => any[];
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
/**
|
|
10
|
+
* Represents the available `action` types for the `SchedulerItemShowOccurrenceDialogAction` objects.
|
|
11
|
+
*
|
|
12
|
+
* The available actions are:
|
|
13
|
+
* - `SHOW_OCCURRENCE_DIALOG_SET`
|
|
14
|
+
* - `SHOW_OCCURRENCE_DIALOG_OPEN`
|
|
15
|
+
* - `SHOW_OCCURRENCE_DIALOG_CLOSE`
|
|
16
|
+
* - `SHOW_OCCURRENCE_DIALOG_RESET`
|
|
17
|
+
* - `SHOW_OCCURRENCE_DIALOG_TOGGLE`
|
|
18
|
+
*/
|
|
19
|
+
export declare enum SHOW_OCCURRENCE_DIALOG_ACTION {
|
|
20
|
+
set = "SHOW_OCCURRENCE_DIALOG_SET",
|
|
21
|
+
open = "SHOW_OCCURRENCE_DIALOG_OPEN",
|
|
22
|
+
close = "SHOW_OCCURRENCE_DIALOG_CLOSE",
|
|
23
|
+
reset = "SHOW_OCCURRENCE_DIALOG_RESET",
|
|
24
|
+
toggle = "SHOW_OCCURRENCE_DIALOG_TOGGLE"
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Represents the object passed to the `show-occurrence-dialog` reducer.
|
|
28
|
+
*/
|
|
29
|
+
export type SchedulerItemShowOccurrenceDialogAction = {
|
|
30
|
+
type: SHOW_OCCURRENCE_DIALOG_ACTION;
|
|
31
|
+
payload?: boolean;
|
|
32
|
+
};
|
|
33
|
+
/** @hidden */
|
|
34
|
+
export declare const useShowOccurrenceDialog: (defaultProp: DataItem, prop?: DataItem, callback?: any) => any[];
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
/**
|
|
10
|
+
* Represents the available `action` types for the `SchedulerItemShowRemoveDialogAction` objects.
|
|
11
|
+
*
|
|
12
|
+
* The available actions are:
|
|
13
|
+
* - `SHOW_REMOVE_DIALOG_SET`
|
|
14
|
+
* - `SHOW_REMOVE_DIALOG_OPEN`
|
|
15
|
+
* - `SHOW_REMOVE_DIALOG_CLOSE`
|
|
16
|
+
* - `SHOW_REMOVE_DIALOG_RESET`
|
|
17
|
+
* - `SHOW_REMOVE_DIALOG_TOGGLE`
|
|
18
|
+
*/
|
|
19
|
+
export declare enum SHOW_REMOVE_DIALOG_ACTION {
|
|
20
|
+
set = "SHOW_REMOVE_DIALOG_SET",
|
|
21
|
+
open = "SHOW_REMOVE_DIALOG_OPEN",
|
|
22
|
+
close = "SHOW_REMOVE_DIALOG_CLOSE",
|
|
23
|
+
reset = "SHOW_REMOVE_DIALOG_RESET",
|
|
24
|
+
toggle = "SHOW_REMOVE_DIALOG_TOGGLE"
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Represents the object passed to the `show-remove-dialog` reducer.
|
|
28
|
+
*/
|
|
29
|
+
export type SchedulerItemShowRemoveDialogAction = {
|
|
30
|
+
type: SHOW_REMOVE_DIALOG_ACTION;
|
|
31
|
+
payload?: boolean;
|
|
32
|
+
};
|
|
33
|
+
/** @hidden */
|
|
34
|
+
export declare const useShowRemoveDialog: (defaultProp: DataItem, prop?: DataItem, callback?: any) => any[];
|