@progress/kendo-react-scheduler 7.0.0-develop.1 → 7.0.0-develop.2
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 +362 -0
- package/components/BaseView.d.ts +22 -0
- package/components/CurrentTimeMarket.d.ts +19 -0
- package/components/DateHeaderCell.d.ts +46 -0
- package/components/SchedulerForm.d.ts +71 -0
- package/components/SchedulerOccurrenceDialog.d.ts +46 -0
- package/components/SchedulerRemoveDialog.d.ts +42 -0
- package/components/ShowMoreItemsButton.d.ts +30 -0
- package/components/TimeHeaderCell.d.ts +46 -0
- package/components/footer/SchedulerFooter.d.ts +25 -0
- package/components/footer/bussiness-hours/BussinessHours.d.ts +17 -0
- package/components/header/SchedulerHeader.d.ts +22 -0
- package/components/header/navigation/NavigationDatePicker.d.ts +9 -0
- package/components/header/navigation/SchedulerNavigation.d.ts +28 -0
- package/components/header/view-selector/SchedulerViewSelector.d.ts +28 -0
- package/components/header/view-selector/ViewSelectorItem.d.ts +12 -0
- package/components/header/view-selector/ViewSelectorList.d.ts +7 -0
- package/constants/index.d.ts +58 -0
- package/context/SchedulerContext.d.ts +231 -0
- package/context/SchedulerEditItemContext.d.ts +172 -0
- package/context/SchedulerEditSlotContext.d.ts +51 -0
- package/context/SchedulerEditTaskContext.d.ts +33 -0
- package/context/SchedulerResourceIteratorContext.d.ts +20 -0
- package/context/SchedulerViewContext.d.ts +76 -0
- package/context/index.d.ts +9 -0
- package/dist/cdn/js/kendo-react-scheduler.js +5 -0
- package/editors/FilterableComboBox.d.ts +8 -0
- package/editors/ResourceEditor.d.ts +18 -0
- package/editors/SchedulerFormEditor.d.ts +246 -0
- package/editors/ZonedDateTime.d.ts +22 -0
- package/hooks/index.d.ts +14 -0
- package/hooks/use-items-focus.d.ts +27 -0
- package/hooks/use-items-selection.d.ts +35 -0
- package/hooks/use-slots-focus.d.ts +38 -0
- package/hooks/use-slots-selection.d.ts +28 -0
- package/hooks/useAsyncMouseEnterLeave.d.ts +15 -0
- package/hooks/useCellSync.d.ts +14 -0
- package/hooks/useControlledState.d.ts +17 -0
- package/hooks/useEditable.d.ts +7 -0
- package/hooks/usePropOrState.d.ts +6 -0
- package/hooks/useRowSync.d.ts +15 -0
- package/hooks/useSchedulerItem.d.ts +11 -0
- package/hooks/useSchedulerSlot.d.ts +11 -0
- package/hooks/useSlotExpand.d.ts +9 -0
- package/hooks/useWorkHours.d.ts +6 -0
- package/index.d.ts +45 -0
- package/index.js +5 -0
- package/index.mjs +5880 -0
- package/items/SchedulerEditItem.d.ts +330 -0
- package/items/SchedulerItem.d.ts +203 -0
- package/items/SchedulerItemContent.d.ts +15 -0
- package/items/SchedulerProportionalViewItem.d.ts +12 -0
- package/items/SchedulerViewItem.d.ts +34 -0
- package/items/hooks/use-drag-item.d.ts +46 -0
- package/items/hooks/use-form-item.d.ts +26 -0
- package/items/hooks/use-remove-item.d.ts +34 -0
- package/items/hooks/use-resize-item.d.ts +49 -0
- package/items/hooks/use-series.d.ts +27 -0
- package/items/hooks/use-show-occurrence-dialog.d.ts +31 -0
- package/items/hooks/use-show-remove-item-dialog.d.ts +31 -0
- package/messages/index.d.ts +240 -0
- package/models/DataItem.d.ts +12 -0
- package/models/DateRange.d.ts +22 -0
- package/models/EditableProp.d.ts +33 -0
- package/models/Fields.d.ts +21 -0
- package/models/Group.d.ts +12 -0
- package/models/Item.d.ts +68 -0
- package/models/Occurrence.d.ts +56 -0
- package/models/Omit.d.ts +8 -0
- package/models/Orientation.d.ts +6 -0
- package/models/Range.d.ts +14 -0
- package/models/Rect.d.ts +19 -0
- package/models/Resource.d.ts +12 -0
- package/models/SchedulerGroup.d.ts +17 -0
- package/models/SchedulerHandle.d.ts +12 -0
- package/models/SchedulerModelFields.d.ts +66 -0
- package/models/SchedulerResource.d.ts +37 -0
- package/models/SchedulerView.d.ts +80 -0
- package/models/Slot.d.ts +54 -0
- package/models/events.d.ts +87 -0
- package/models/index.d.ts +21 -0
- package/package-metadata.d.ts +9 -0
- package/package.json +12 -17
- package/recurrence/RecurrenceEditor.d.ts +16 -0
- package/recurrence/RecurrenceFrequencyEditor.d.ts +14 -0
- package/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +17 -0
- package/recurrence/common.d.ts +61 -0
- package/recurrence/types/EndRule.d.ts +8 -0
- package/recurrence/types/Frequency.d.ts +8 -0
- package/recurrence/types/FrequencyEntity.d.ts +12 -0
- package/recurrence/types/MonthEntity.d.ts +11 -0
- package/recurrence/types/OffsetPosition.d.ts +8 -0
- package/recurrence/types/OffsetPositionEntity.d.ts +11 -0
- package/recurrence/types/RepeatOnRule.d.ts +8 -0
- package/recurrence/types/WeekDayEntity.d.ts +11 -0
- package/recurrence/types/WeekDayRule.d.ts +11 -0
- package/services/index.d.ts +8 -0
- package/services/itemsService.d.ts +16 -0
- package/services/occurrenceService.d.ts +7 -0
- package/services/rangeService.d.ts +7 -0
- package/services/slotsService.d.ts +10 -0
- package/slots/SchedulerEditSlot.d.ts +52 -0
- package/slots/SchedulerSlot.d.ts +127 -0
- package/slots/SchedulerViewSlot.d.ts +46 -0
- package/tasks/SchedulerEditTask.d.ts +79 -0
- package/tasks/SchedulerTask.d.ts +61 -0
- package/tasks/SchedulerViewTask.d.ts +32 -0
- package/utils/index.d.ts +172 -0
- package/views/agenda/AgendaView.d.ts +83 -0
- package/views/common/HorizontalResourceIterator.d.ts +30 -0
- package/views/common/SchedulerDrag.d.ts +39 -0
- package/views/common/SchedulerResize.d.ts +41 -0
- package/views/common/VerticalResourceIterator.d.ts +25 -0
- package/views/common/utils.d.ts +38 -0
- package/views/day/DayView.d.ts +15 -0
- package/views/day/DayViewAllDayRowContent.d.ts +12 -0
- package/views/day/DayViewGroupRowContent.d.ts +12 -0
- package/views/day/DayViewRowContent.d.ts +17 -0
- package/views/day/MultiDayView.d.ts +175 -0
- package/views/month/MonthView.d.ts +86 -0
- package/views/time/MultiDayTimelineView.d.ts +179 -0
- package/views/time/TimelineView.d.ts +27 -0
- package/views/time/TimelineViewAllEventsRowContent.d.ts +11 -0
- package/views/time/TimelineViewRowContent.d.ts +11 -0
- package/views/week/WeekView.d.ts +106 -0
- package/views/week/WorkWeekView.d.ts +9 -0
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { ErrorProps, LabelProps } from '@progress/kendo-react-labels';
|
|
7
|
+
import { FormRenderProps, FieldProps, FormElementProps } from '@progress/kendo-react-form';
|
|
8
|
+
import { InputProps, CheckboxProps, TextAreaProps } from '@progress/kendo-react-inputs';
|
|
9
|
+
import { ComboBoxProps, DropDownListProps, MultiSelectProps } from '@progress/kendo-react-dropdowns';
|
|
10
|
+
import { Omit } from '../models/Omit';
|
|
11
|
+
import { ZonedDateTimeProps } from './ZonedDateTime';
|
|
12
|
+
/** @hidden */
|
|
13
|
+
type TargetlessChangeEvent<E extends {
|
|
14
|
+
onChange?: any;
|
|
15
|
+
}, T> = Omit<E, 'onChange'> & {
|
|
16
|
+
onChange?: (args: {
|
|
17
|
+
value: T;
|
|
18
|
+
}) => void;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Represents the props of the KendoReact `SchedulerFormEditor` component.
|
|
22
|
+
*/
|
|
23
|
+
export interface SchedulerFormEditorProps extends Omit<FormElementProps, 'children'>, FormRenderProps {
|
|
24
|
+
/** @hidden */
|
|
25
|
+
as?: React.ComponentType<SchedulerFormEditorProps>;
|
|
26
|
+
/**
|
|
27
|
+
* Specifies the `id` attribute of the root element.
|
|
28
|
+
*/
|
|
29
|
+
id?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Specifies the `tabIndex` attribute of the root element.
|
|
32
|
+
*/
|
|
33
|
+
tabIndex?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Overrides the component used for visualizing the `title` field label.
|
|
36
|
+
* The [KendoReact Label]({% slug label_labels %}) component is used, by default.
|
|
37
|
+
*
|
|
38
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
39
|
+
*/
|
|
40
|
+
titleLabel?: React.ComponentType<LabelProps & FieldProps>;
|
|
41
|
+
/**
|
|
42
|
+
* Overrides the component used for visualizing the `title` field error.
|
|
43
|
+
* The [KendoReact Error]({% slug error_labels %}) component is used, by default.
|
|
44
|
+
*
|
|
45
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
46
|
+
*/
|
|
47
|
+
titleError?: React.ComponentType<LabelProps & FieldProps>;
|
|
48
|
+
/**
|
|
49
|
+
* Overrides the component used for visualizing the `title` field editor.
|
|
50
|
+
* The [KendoReact Input]({% slug overview_textbox %}) component is used, by default.
|
|
51
|
+
*
|
|
52
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
53
|
+
*/
|
|
54
|
+
titleEditor?: React.ComponentType<TargetlessChangeEvent<InputProps & FieldProps, string>>;
|
|
55
|
+
/**
|
|
56
|
+
* Overrides the component used for visualizing the `start` field label.
|
|
57
|
+
* The [KendoReact Label]({% slug label_labels %}) component is used, by default.
|
|
58
|
+
*
|
|
59
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
60
|
+
*/
|
|
61
|
+
startLabel?: React.ComponentType<LabelProps & FieldProps>;
|
|
62
|
+
/**
|
|
63
|
+
* Overrides the component used for visualizing the `start` field error.
|
|
64
|
+
* The [KendoReact Error]({% slug error_labels %}) component is used, by default.
|
|
65
|
+
*
|
|
66
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
67
|
+
*/
|
|
68
|
+
startError?: React.ComponentType<ErrorProps & FieldProps>;
|
|
69
|
+
/**
|
|
70
|
+
* Overrides the component used for visualizing the `start` field editor.
|
|
71
|
+
* The [KendoReact DatePicker]({% slug overview_datepicker %}) or [KendoReact DateTimePicker]({% slug overview_datetimepicker %}) component is used by default depending on the `allDay` field value.
|
|
72
|
+
*
|
|
73
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
74
|
+
*/
|
|
75
|
+
startEditor?: React.ComponentType<TargetlessChangeEvent<ZonedDateTimeProps & FieldProps, Date>>;
|
|
76
|
+
/**
|
|
77
|
+
* Overrides the component used for visualizing the `start timezone` field label.
|
|
78
|
+
* The [KendoReact Label]({% slug label_labels %}) component is used, by default.
|
|
79
|
+
*
|
|
80
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
81
|
+
*/
|
|
82
|
+
startTimezoneLabel?: React.ComponentType<LabelProps & FieldProps>;
|
|
83
|
+
/**
|
|
84
|
+
* Overrides the component used for visualizing the `start timezone` field error.
|
|
85
|
+
* The [KendoReact Error]({% slug error_labels %}) component is used, by default.
|
|
86
|
+
*
|
|
87
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
88
|
+
*/
|
|
89
|
+
startTimezoneError?: React.ComponentType<ErrorProps & FieldProps>;
|
|
90
|
+
/**
|
|
91
|
+
* Overrides the component used for visualizing the `start timezone` field editor.
|
|
92
|
+
* An extended [KendoReact ComboBox]({% slug overview_combobox %}) component is used, by default.
|
|
93
|
+
*
|
|
94
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
95
|
+
*/
|
|
96
|
+
startTimezoneEditor?: React.ComponentType<TargetlessChangeEvent<ComboBoxProps & FieldProps, string>>;
|
|
97
|
+
/**
|
|
98
|
+
* Overrides the component used for visualizing the `start timezone checked` label.
|
|
99
|
+
* The [KendoReact Label]({% slug label_labels %}) component is used, by default.
|
|
100
|
+
*
|
|
101
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
102
|
+
*/
|
|
103
|
+
startTimezoneCheckedLabel?: React.ComponentType<LabelProps>;
|
|
104
|
+
/**
|
|
105
|
+
* Overrides the component used for visualizing the `start timezone checked` editor.
|
|
106
|
+
* The [KendoReact Checkbox]({% slug overview_checkbox %}) component is used, by default.
|
|
107
|
+
*
|
|
108
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
109
|
+
*/
|
|
110
|
+
startTimezoneCheckedEditor?: React.ComponentType<TargetlessChangeEvent<CheckboxProps, boolean>>;
|
|
111
|
+
/**
|
|
112
|
+
* Overrides the component used for visualizing the `end` field label.
|
|
113
|
+
* The [KendoReact Label]({% slug label_labels %}) component is used, by default.
|
|
114
|
+
*
|
|
115
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
116
|
+
*/
|
|
117
|
+
endLabel?: React.ComponentType<LabelProps & FieldProps>;
|
|
118
|
+
/**
|
|
119
|
+
* Overrides the component used for visualizing the `end` field error.
|
|
120
|
+
* The [KendoReact Error]({% slug error_labels %}) component is used, by default.
|
|
121
|
+
*
|
|
122
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
123
|
+
*/
|
|
124
|
+
endError?: React.ComponentType<ErrorProps & FieldProps>;
|
|
125
|
+
/**
|
|
126
|
+
* Overrides the component used for visualizing the `end` field editor.
|
|
127
|
+
* The [KendoReact DatePicker]({% slug overview_datepicker %}) or [KendoReact DateTimePicker]({% slug overview_datetimepicker %}) component is used by default depending on the `allDay` field value.
|
|
128
|
+
*
|
|
129
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
130
|
+
*/
|
|
131
|
+
endEditor?: React.ComponentType<TargetlessChangeEvent<ZonedDateTimeProps & FieldProps, Date>>;
|
|
132
|
+
/**
|
|
133
|
+
* Overrides the component used for visualizing the `end timezone` field label.
|
|
134
|
+
* The [KendoReact Label]({% slug label_labels %}) component is used, by default.
|
|
135
|
+
*
|
|
136
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
137
|
+
*/
|
|
138
|
+
endTimezoneLabel?: React.ComponentType<LabelProps>;
|
|
139
|
+
/**
|
|
140
|
+
* Overrides the component used for visualizing the `end timezone` field error.
|
|
141
|
+
* The [KendoReact Error]({% slug error_labels %}) component is used, by default.
|
|
142
|
+
*
|
|
143
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
144
|
+
*/
|
|
145
|
+
endTimezoneError?: React.ComponentType<ErrorProps>;
|
|
146
|
+
/**
|
|
147
|
+
* Overrides the component used for visualizing the `end timezone` field editor.
|
|
148
|
+
* An extended [KendoReact ComboBox]({% slug overview_combobox %}) component is used, by default.
|
|
149
|
+
*
|
|
150
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
151
|
+
*/
|
|
152
|
+
endTimezoneEditor?: React.ComponentType<TargetlessChangeEvent<ComboBoxProps, string>>;
|
|
153
|
+
/**
|
|
154
|
+
* Overrides the component used for visualizing the `start timezone checked` label.
|
|
155
|
+
* The [KendoReact Label]({% slug label_labels %}) component is used, by default.
|
|
156
|
+
*
|
|
157
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
158
|
+
*/
|
|
159
|
+
endTimezoneCheckedLabel?: React.ComponentType<LabelProps>;
|
|
160
|
+
/**
|
|
161
|
+
* Overrides the component used for visualizing the `end timezone checked` editor.
|
|
162
|
+
* The [KendoReact Checkbox]({% slug overview_checkbox %}) component is used, by default.
|
|
163
|
+
*
|
|
164
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
165
|
+
*/
|
|
166
|
+
endTimezoneCheckedEditor?: React.ComponentType<TargetlessChangeEvent<CheckboxProps, boolean>>;
|
|
167
|
+
/**
|
|
168
|
+
* Overrides the component used for visualizing the `allDay` field label.
|
|
169
|
+
* The [KendoReact Label]({% slug label_labels %}) component is used, by default.
|
|
170
|
+
*
|
|
171
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
172
|
+
*/
|
|
173
|
+
allDayLabel?: React.ComponentType<LabelProps & FieldProps>;
|
|
174
|
+
/**
|
|
175
|
+
* Overrides the component used for visualizing the `allDay` field editor.
|
|
176
|
+
* The [KendoReact Checkbox]({% slug overview_checkbox %}) component is used, by default.
|
|
177
|
+
*
|
|
178
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
179
|
+
*/
|
|
180
|
+
allDayEditor?: React.ComponentType<TargetlessChangeEvent<CheckboxProps & FieldProps, boolean>>;
|
|
181
|
+
/**
|
|
182
|
+
* Overrides the component used for visualizing the `recurrenceRule` field editor.
|
|
183
|
+
* A custom made RecurrenceEditor component is used, by default.
|
|
184
|
+
*
|
|
185
|
+
* > We're planing on releasing the `RecurrenceEditor` as a standalone component in the future.
|
|
186
|
+
*
|
|
187
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
188
|
+
*/
|
|
189
|
+
recurrenceEditor?: React.ComponentType<TargetlessChangeEvent<any & FieldProps, string>>;
|
|
190
|
+
/**
|
|
191
|
+
* Overrides the component used for visualizing the `description` field label.
|
|
192
|
+
* The [KendoReact Label]({% slug label_labels %}) component is used, by default.
|
|
193
|
+
*
|
|
194
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
195
|
+
*/
|
|
196
|
+
descriptionLabel?: React.ComponentType<LabelProps & FieldProps>;
|
|
197
|
+
/**
|
|
198
|
+
* Overrides the component used for visualizing the `description` field error.
|
|
199
|
+
* The [KendoReact Error]({% slug error_labels %}) component is used, by default.
|
|
200
|
+
*
|
|
201
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
202
|
+
*/
|
|
203
|
+
descriptionError?: React.ComponentType<ErrorProps & FieldProps>;
|
|
204
|
+
/**
|
|
205
|
+
* Overrides the component used for visualizing the `description` field editor.
|
|
206
|
+
* The [KendoReact TextArea]({% slug overview_textarea %}) component is used, by default.
|
|
207
|
+
*
|
|
208
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
209
|
+
*/
|
|
210
|
+
descriptionEditor?: React.ComponentType<TargetlessChangeEvent<TextAreaProps & FieldProps, string>>;
|
|
211
|
+
/**
|
|
212
|
+
* Overrides the component used for visualizing the `start timezone checked` field label.
|
|
213
|
+
* The [KendoReact Label]({% slug label_labels %}) component is used, by default.
|
|
214
|
+
*
|
|
215
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
216
|
+
*/
|
|
217
|
+
resourceLabel?: React.ComponentType<LabelProps & FieldProps>;
|
|
218
|
+
/**
|
|
219
|
+
* Overrides the component used for visualizing each `resources` field error.
|
|
220
|
+
* The [KendoReact Error]({% slug error_labels %}) component is used, by default.
|
|
221
|
+
*
|
|
222
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
223
|
+
*/
|
|
224
|
+
resourcesError?: React.ComponentType<ErrorProps & FieldProps>;
|
|
225
|
+
/**
|
|
226
|
+
* Overrides the component used for visualizing each `resource` field editor.
|
|
227
|
+
* An extended KendoReact [MultiSelect]({% slug overview_multiselect %}) or [DropDownList]({% slug overview_dropdownlist %}) component is used by default, depending on the `multiple` field of each individual `resource`.
|
|
228
|
+
*
|
|
229
|
+
* For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
|
|
230
|
+
*/
|
|
231
|
+
resourceEditor?: React.ComponentType<TargetlessChangeEvent<(MultiSelectProps | DropDownListProps) & FieldProps, any>>;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Represents the `ref` of the SchedulerFormEditor component.
|
|
235
|
+
*/
|
|
236
|
+
export interface SchedulerFormEditorHandle {
|
|
237
|
+
element: any;
|
|
238
|
+
props: SchedulerFormEditorProps;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* The default `editor` used inside the [`SchedulerForm`]({% slug api_scheduler_schedulerform %}) component.
|
|
242
|
+
*
|
|
243
|
+
* For the full list of the props available for this component, please refer to the [SchedulerFormEditorProps]({% slug api_scheduler_schedulerformeditorprops %}).
|
|
244
|
+
*/
|
|
245
|
+
export declare const SchedulerFormEditor: React.ForwardRefExoticComponent<globalThis.Omit<SchedulerFormEditorProps, "ref"> & React.RefAttributes<SchedulerFormEditorHandle | null>>;
|
|
246
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { DatePickerOpenEvent, DatePickerCloseEvent, DatePickerProps, DateTimePickerCloseEvent, DateTimePickerOpenEvent, DateTimePickerProps } from '@progress/kendo-react-dateinputs';
|
|
7
|
+
import { Omit } from '../models/Omit';
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export type ZonedDateTimeProps = Omit<(DatePickerProps | DateTimePickerProps), 'onChange'> & {
|
|
12
|
+
as?: React.ComponentType<DatePickerProps | DateTimePickerProps>;
|
|
13
|
+
onChange?: (args: {
|
|
14
|
+
value: Date | null;
|
|
15
|
+
}) => void;
|
|
16
|
+
onOpen?: (args: DatePickerOpenEvent | DateTimePickerOpenEvent) => void;
|
|
17
|
+
onClose?: (args: DatePickerCloseEvent | DateTimePickerCloseEvent) => void;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @hidden
|
|
21
|
+
*/
|
|
22
|
+
export declare const ZonedDateTime: (props: ZonedDateTimeProps) => import("react/jsx-runtime").JSX.Element;
|
package/hooks/index.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export * from './usePropOrState';
|
|
6
|
+
export * from './useCellSync';
|
|
7
|
+
export * from './useRowSync';
|
|
8
|
+
export * from './useAsyncMouseEnterLeave';
|
|
9
|
+
export * from './useEditable';
|
|
10
|
+
export * from './useSlotExpand';
|
|
11
|
+
export * from './useWorkHours';
|
|
12
|
+
export * from './useSchedulerItem';
|
|
13
|
+
export * from './use-items-focus';
|
|
14
|
+
export * from './use-slots-focus';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { SchedulerItemHandle } from '../items/SchedulerItem';
|
|
7
|
+
/**
|
|
8
|
+
* Represents the available `action` types for the `SchedulerItemsFocusAction` objects.
|
|
9
|
+
*
|
|
10
|
+
* The available types are:
|
|
11
|
+
* - `ITEMS_FOCUS_NEXT`
|
|
12
|
+
* - `ITEMS_FOCUS_PREV`
|
|
13
|
+
*/
|
|
14
|
+
export declare enum ITEMS_FOCUS_ACTION {
|
|
15
|
+
next = "ITEMS_FOCUS_NEXT",
|
|
16
|
+
prev = "ITEMS_FOCUS_PREV"
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Represents the object passed to the `items-focus` reducer.
|
|
20
|
+
*/
|
|
21
|
+
export interface SchedulerItemsFocusAction {
|
|
22
|
+
type: ITEMS_FOCUS_ACTION;
|
|
23
|
+
item?: React.RefObject<SchedulerItemHandle>;
|
|
24
|
+
ignoreIsAllDay?: boolean;
|
|
25
|
+
}
|
|
26
|
+
/** @hidden */
|
|
27
|
+
export declare const useItemsFocus: (items: React.RefObject<SchedulerItemHandle>[]) => [[], (action: SchedulerItemsFocusAction, event: React.SyntheticEvent) => void];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { SchedulerItemHandle } from '../items/SchedulerItem';
|
|
7
|
+
/**
|
|
8
|
+
* Represents the available `action` types for the `SchedulerItemsSelectAction` objects.
|
|
9
|
+
*
|
|
10
|
+
* The available types are:
|
|
11
|
+
* - 'ITEMS_SELECT_SELECT`
|
|
12
|
+
* - 'ITEMS_SELECT_SELECT_NEXT`
|
|
13
|
+
* - 'ITEMS_SELECT_SELECT_PREV`
|
|
14
|
+
* - 'ITEMS_SELECT_RESET`
|
|
15
|
+
* - 'ITEMS_SELECT_ADD`
|
|
16
|
+
* - 'ITEMS_SELECT_REMOVE`
|
|
17
|
+
*/
|
|
18
|
+
export declare enum ITEMS_SELECT_ACTION {
|
|
19
|
+
select = "ITEMS_SELECT_SELECT",
|
|
20
|
+
selectNext = "ITEMS_SELECT_SELECT_NEXT",
|
|
21
|
+
selectPrev = "ITEMS_SELECT_SELECT_PREV",
|
|
22
|
+
reset = "ITEMS_SELECT_RESET",
|
|
23
|
+
add = "ITEMS_SELECT_ADD",
|
|
24
|
+
remove = "ITEMS_SELECT_REMOVE"
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Represents the object passed to the `items-select` reducer.
|
|
28
|
+
*/
|
|
29
|
+
export interface SchedulerItemsSelectAction {
|
|
30
|
+
type: ITEMS_SELECT_ACTION;
|
|
31
|
+
item?: React.RefObject<SchedulerItemHandle>;
|
|
32
|
+
ignoreIsAllDay?: boolean;
|
|
33
|
+
}
|
|
34
|
+
/** @hidden */
|
|
35
|
+
export declare const useItemsSelection: (items: React.RefObject<SchedulerItemHandle>[]) => [React.RefObject<SchedulerItemHandle>[], (action: SchedulerItemsSelectAction, event: React.SyntheticEvent) => void];
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { SchedulerSlotHandle } from '../slots/SchedulerSlot';
|
|
7
|
+
/**
|
|
8
|
+
* Represents the available `action` types for the `SchedulerSlotsFocusAction` objects.
|
|
9
|
+
*
|
|
10
|
+
* The available actions are:
|
|
11
|
+
* - `SLOT_FOCUS_UP`
|
|
12
|
+
* - `SLOT_FOCUS_DOWN`
|
|
13
|
+
* - `SLOT_FOCUS_LEFT`
|
|
14
|
+
* - `SLOT_FOCUS_RIGHT`
|
|
15
|
+
*/
|
|
16
|
+
export declare enum SLOTS_FOCUS_ACTION {
|
|
17
|
+
up = "SLOT_FOCUS_UP",
|
|
18
|
+
down = "SLOT_FOCUS_DOWN",
|
|
19
|
+
left = "SLOT_FOCUS_LEFT",
|
|
20
|
+
right = "SLOT_FOCUS_RIGHT"
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Represents the object passed to the `slots-focus` reducer.
|
|
24
|
+
*/
|
|
25
|
+
export interface SchedulerSlotsFocusAction {
|
|
26
|
+
type: SLOTS_FOCUS_ACTION;
|
|
27
|
+
slot: React.RefObject<SchedulerSlotHandle | null>;
|
|
28
|
+
}
|
|
29
|
+
/** @hidden */
|
|
30
|
+
export declare const useSlotsFocus: (slots: React.RefObject<SchedulerSlotHandle>[]) => [React.RefObject<SchedulerSlotHandle>[], (action: SchedulerSlotsFocusAction, event: React.SyntheticEvent) => void];
|
|
31
|
+
/** @hidden */
|
|
32
|
+
export declare const findUpSlot: (target: React.RefObject<SchedulerSlotHandle | null>, all: React.RefObject<SchedulerSlotHandle>[]) => React.RefObject<SchedulerSlotHandle> | undefined;
|
|
33
|
+
/** @hidden */
|
|
34
|
+
export declare const findLeftSlot: (target: React.RefObject<SchedulerSlotHandle | null>, all: React.RefObject<SchedulerSlotHandle>[]) => React.RefObject<SchedulerSlotHandle> | undefined;
|
|
35
|
+
/** @hidden */
|
|
36
|
+
export declare const findRightSlot: (target: React.RefObject<SchedulerSlotHandle | null>, all: React.RefObject<SchedulerSlotHandle>[]) => React.RefObject<SchedulerSlotHandle> | undefined;
|
|
37
|
+
/** @hidden */
|
|
38
|
+
export declare const findDownSlot: (target: React.RefObject<SchedulerSlotHandle | null>, all: React.RefObject<SchedulerSlotHandle>[]) => React.RefObject<SchedulerSlotHandle> | undefined;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { SchedulerSlotHandle } from '../slots/SchedulerSlot';
|
|
7
|
+
/**
|
|
8
|
+
* Represents the available `action` types for the `SchedulerSlotsSelectAction` objects.
|
|
9
|
+
*
|
|
10
|
+
* The available actions are:
|
|
11
|
+
* - `SLOTS_SELECT_SELECT`
|
|
12
|
+
* - `SLOTS_SELECT_RESET`
|
|
13
|
+
* - `SLOTS_SELECT_ADD`
|
|
14
|
+
*/
|
|
15
|
+
export declare enum SLOTS_SELECT_ACTION {
|
|
16
|
+
select = "SLOTS_SELECT_SELECT",
|
|
17
|
+
reset = "SLOTS_SELECT_RESET",
|
|
18
|
+
add = "SLOTS_SELECT_ADD"
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Represents the object passed to the `slots-select` reducer.
|
|
22
|
+
*/
|
|
23
|
+
export interface SchedulerSlotsSelectAction {
|
|
24
|
+
type: SLOTS_SELECT_ACTION;
|
|
25
|
+
slot?: React.RefObject<SchedulerSlotHandle>;
|
|
26
|
+
}
|
|
27
|
+
/** @hidden */
|
|
28
|
+
export declare const useSlotsSelection: (_slots: React.RefObject<SchedulerSlotHandle>[]) => [React.RefObject<SchedulerSlotHandle>[], (action: SchedulerSlotsSelectAction) => void];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
/** @hidden */
|
|
7
|
+
export interface AsyncMouseEnterLeaveArgs {
|
|
8
|
+
handleMouseEnter: (event: React.MouseEvent<any>) => void;
|
|
9
|
+
handleMouseLeave: (event: React.MouseEvent<any>) => void;
|
|
10
|
+
}
|
|
11
|
+
/** @hidden */
|
|
12
|
+
export declare const useAsyncMouseEnterLeave: ({ handleMouseEnter, handleMouseLeave }: AsyncMouseEnterLeaveArgs) => {
|
|
13
|
+
onMouseEnter: (event: React.MouseEvent<any>) => void;
|
|
14
|
+
onMouseLeave: (event: React.MouseEvent<any>) => void;
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
/** @hidden */
|
|
7
|
+
export interface CellSyncArgs {
|
|
8
|
+
element: React.RefObject<any>;
|
|
9
|
+
selector: string;
|
|
10
|
+
attribute?: string;
|
|
11
|
+
explicitDepth: boolean;
|
|
12
|
+
}
|
|
13
|
+
/** @hidden */
|
|
14
|
+
export declare const useCellSync: (args: CellSyncArgs, inputs?: any[]) => void;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
/** @hidden */
|
|
7
|
+
export type ControlledStateHook<T> = [
|
|
8
|
+
T,
|
|
9
|
+
(value: T, event?: React.SyntheticEvent | {
|
|
10
|
+
target: any;
|
|
11
|
+
syntheticEvent: React.SyntheticEvent;
|
|
12
|
+
} | {
|
|
13
|
+
preventDefault: any;
|
|
14
|
+
}) => void
|
|
15
|
+
];
|
|
16
|
+
/** @hidden */
|
|
17
|
+
export declare const useControlledState: <T extends unknown>(defaultProp: T, prop?: T | undefined, callback?: any) => ControlledStateHook<T>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { EditableProp } from '../models';
|
|
6
|
+
/** @hidden */
|
|
7
|
+
export declare const useEditable: (editable?: EditableProp | boolean) => EditableProp;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @hidden */
|
|
6
|
+
export declare const usePropOrState: <S extends unknown>(prop?: any, defaultValue?: any) => [S, any];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @hidden */
|
|
6
|
+
export interface RowSyncArgs {
|
|
7
|
+
element: HTMLElement;
|
|
8
|
+
selector: string;
|
|
9
|
+
horizontalAttribute: string;
|
|
10
|
+
verticalAttribute: string;
|
|
11
|
+
applyTo: string;
|
|
12
|
+
syncHeight?: boolean;
|
|
13
|
+
}
|
|
14
|
+
/** @hidden */
|
|
15
|
+
export declare const useRowSync: (args: RowSyncArgs, inputs?: any[]) => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { SchedulerItemHandle, SchedulerItemProps } from '../items/SchedulerItem';
|
|
7
|
+
/** @hidden */
|
|
8
|
+
export declare const useSchedulerItem: (props: SchedulerItemProps, ref?: React.Ref<SchedulerItemHandle | null>) => {
|
|
9
|
+
item: React.RefObject<SchedulerItemHandle>;
|
|
10
|
+
element: React.RefObject<HTMLDivElement>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { SchedulerSlotHandle, SchedulerSlotProps } from '../slots/SchedulerSlot';
|
|
7
|
+
/** @hidden */
|
|
8
|
+
export declare const useSchedulerSlot: (props: SchedulerSlotProps, ref: React.Ref<SchedulerSlotHandle | null>) => {
|
|
9
|
+
slot: React.RefObject<SchedulerSlotHandle>;
|
|
10
|
+
element: React.RefObject<HTMLDivElement>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { SchedulerSlotHandle } from '../slots/SchedulerSlot';
|
|
7
|
+
import { SchedulerSlotExpandableConfig } from '../slots/SchedulerViewSlot';
|
|
8
|
+
/** @hidden */
|
|
9
|
+
export declare const useSlotExpand: (slot: React.RefObject<SchedulerSlotHandle>, config?: boolean | SchedulerSlotExpandableConfig) => void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @hidden */
|
|
6
|
+
export declare const useWorkHours: (showWorkHours?: boolean, defaultShowWorkHours?: boolean) => any[];
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Scheduler, type SchedulerProps, type SchedulerDataChangeEvent, type SchedulerDateChangeEvent, type SchedulerViewChangeEvent, type DataAction } from './Scheduler';
|
|
6
|
+
import { DATA_ACTION } from './constants';
|
|
7
|
+
import { AgendaView } from './views/agenda/AgendaView';
|
|
8
|
+
import { TimelineView } from './views/time/TimelineView';
|
|
9
|
+
import { DayView } from './views/day/DayView';
|
|
10
|
+
import { WeekView } from './views/week/WeekView';
|
|
11
|
+
import { WorkWeekView } from './views/week/WorkWeekView';
|
|
12
|
+
import { MonthView } from './views/month/MonthView';
|
|
13
|
+
import { SchedulerItem, type SchedulerItemProps, type SchedulerItemHandle } from './items/SchedulerItem';
|
|
14
|
+
import { SchedulerItemContent, type SchedulerItemContentProps } from './items/SchedulerItemContent';
|
|
15
|
+
import { SchedulerViewItem, type SchedulerViewItemProps, type SchedulerViewItemHandle } from './items/SchedulerViewItem';
|
|
16
|
+
import { SchedulerProportionalViewItem } from './items/SchedulerProportionalViewItem';
|
|
17
|
+
import { SchedulerEditItem, type SchedulerEditItemProps, type SchedulerEditItemHandle, type SchedulerEditItemAction, type SchedulerEditItemState } from './items/SchedulerEditItem';
|
|
18
|
+
import { SchedulerSlot, type SchedulerSlotProps, type SchedulerSlotHandle } from './slots/SchedulerSlot';
|
|
19
|
+
import { SchedulerViewSlot, type SchedulerViewSlotProps, type SchedulerSlotExpandableConfig, type SchedulerViewSlotHandle } from './slots/SchedulerViewSlot';
|
|
20
|
+
import { SchedulerEditSlot, type SchedulerEditSlotProps, type SchedulerEditSlotHandle } from './slots/SchedulerEditSlot';
|
|
21
|
+
import { SchedulerTask, type SchedulerTaskProps, type SchedulerTaskHandle } from './tasks/SchedulerTask';
|
|
22
|
+
import { SchedulerViewTask, type SchedulerViewTaskProps, type SchedulerViewTaskHandle } from './tasks/SchedulerViewTask';
|
|
23
|
+
import { SchedulerEditTask, type SchedulerEditTaskProps, type SchedulerEditTaskHandle } from './tasks/SchedulerEditTask';
|
|
24
|
+
import { SchedulerDrag, type SchedulerDragProps } from './views/common/SchedulerDrag';
|
|
25
|
+
import { SchedulerResize, type SchedulerResizeProps } from './views/common/SchedulerResize';
|
|
26
|
+
import { SchedulerForm, type SchedulerFormHandle, type SchedulerFormProps } from './components/SchedulerForm';
|
|
27
|
+
import { SchedulerFormEditor, type SchedulerFormEditorHandle, type SchedulerFormEditorProps } from './editors/SchedulerFormEditor';
|
|
28
|
+
import { SchedulerOccurrenceDialog, type SchedulerOccurrenceDialogHandle, type SchedulerOccurrenceDialogProps } from './components/SchedulerOccurrenceDialog';
|
|
29
|
+
import { SchedulerRemoveDialog, type SchedulerRemoveDialogHandle, type SchedulerRemoveDialogProps } from './components/SchedulerRemoveDialog';
|
|
30
|
+
import { SchedulerHeader, type SchedulerHeaderProps, type SchedulerHeaderHandle } from './components/header/SchedulerHeader';
|
|
31
|
+
import { DateHeaderCell, type DateHeaderCellHandle, type DateHeaderCellProps } from './components/DateHeaderCell';
|
|
32
|
+
import { TimeHeaderCell, type TimeHeaderCellHandle, type TimeHeaderCellProps } from './components/TimeHeaderCell';
|
|
33
|
+
import { SchedulerFooter, type SchedulerFooterProps, type SchedulerFooterHandle } from './components/footer/SchedulerFooter';
|
|
34
|
+
import { SchedulerPropsContext, useSchedulerPropsContext, type SchedulerPropsContextType, SchedulerViewsContext, useSchedulerViewsContext, type SchedulerViewsContextType, SchedulerFieldsContext, useSchedulerFieldsContext, type SchedulerFieldsContextType, SchedulerGroupsContext, useSchedulerGroupsContext, type SchedulerGroupsContextType, SchedulerDateRangeContext, useSchedulerDateRangeContext, type SchedulerDateRangeContextType, SchedulerOrientationContext, useSchedulerOrientationContext, type SchedulerOrientationContextType, SchedulerDateContext, useSchedulerDateContext, type SchedulerDateContextType, SchedulerActiveViewContext, useSchedulerActiveViewContext, type SchedulerActiveViewContextType, SchedulerDataContext, useSchedulerDataContext, type SchedulerDataContextType, SchedulerEditItemFormItemContext, useSchedulerEditItemFormItemContext, type SchedulerEditItemFormItemContextType, SchedulerEditItemDragItemContext, useSchedulerEditItemDragItemContext, type SchedulerEditItemDragItemContextType, SchedulerEditItemRemoveItemContext, useSchedulerEditItemRemoveItemContext, type SchedulerEditItemRemoveItemContextType, SchedulerEditItemResizeItemContext, useSchedulerEditItemResizeItemContext, type SchedulerEditItemResizeItemContextType, SchedulerEditItemShowRemoveDialogContext, useSchedulerEditItemShowRemoveDialogContext, type SchedulerEditItemShowRemoveDialogContextType, SchedulerEditItemShowOccurrenceDialogContext, useSchedulerEditItemShowOccurrenceDialogContext, type SchedulerEditItemShowOccurrenceDialogContextType, SchedulerEditItemPropsContext, useSchedulerEditItemPropsContext, type SchedulerEditItemPropsContextType, SchedulerEditSlotPropsContext, useSchedulerEditSlotPropsContext, type SchedulerEditSlotPropsContextType, SchedulerEditSlotFormItemContext, useSchedulerEditSlotFormItemContext, type SchedulerEditSlotFormItemContextType } from './context';
|
|
35
|
+
import { DRAG_ITEM_ACTION, type SchedulerItemDragItemAction } from './items/hooks/use-drag-item';
|
|
36
|
+
import { ITEMS_FOCUS_ACTION, type SchedulerItemsFocusAction, type SchedulerSlotsFocusAction, SLOTS_FOCUS_ACTION } from './hooks';
|
|
37
|
+
import { ITEMS_SELECT_ACTION, type SchedulerItemsSelectAction } from './hooks/use-items-selection';
|
|
38
|
+
import { REMOVE_ITEM_ACTION, type SchedulerItemRemoveItemAction } from './items/hooks/use-remove-item';
|
|
39
|
+
import { RESIZE_ITEM_ACTION, type SchedulerItemResizeItemAction } from './items/hooks/use-resize-item';
|
|
40
|
+
import { type SchedulerItemSeriesAction, SERIES_ACTION } from './items/hooks/use-series';
|
|
41
|
+
import { type SchedulerItemShowOccurrenceDialogAction, SHOW_OCCURRENCE_DIALOG_ACTION } from './items/hooks/use-show-occurrence-dialog';
|
|
42
|
+
import { type SchedulerItemShowRemoveDialogAction, SHOW_REMOVE_DIALOG_ACTION } from './items/hooks/use-show-remove-item-dialog';
|
|
43
|
+
import { type SchedulerSlotsSelectAction, SLOTS_SELECT_ACTION } from './hooks/use-slots-selection';
|
|
44
|
+
import { type SchedulerGroup, type SchedulerResource, type SchedulerItemMouseEvent, type SchedulerItemFocusEvent, type DataItem, type SchedulerModelFields } from './models';
|
|
45
|
+
export { Scheduler, SchedulerProps, AgendaView, TimelineView, DayView, WeekView, WorkWeekView, MonthView, SchedulerDataChangeEvent, SchedulerDateChangeEvent, SchedulerViewChangeEvent, DataAction, DATA_ACTION, SchedulerPropsContext, useSchedulerPropsContext, SchedulerPropsContextType, SchedulerViewsContext, useSchedulerViewsContext, SchedulerViewsContextType, SchedulerFieldsContext, useSchedulerFieldsContext, SchedulerFieldsContextType, SchedulerGroupsContext, useSchedulerGroupsContext, SchedulerGroupsContextType, SchedulerDateRangeContext, useSchedulerDateRangeContext, SchedulerDateRangeContextType, SchedulerOrientationContext, useSchedulerOrientationContext, SchedulerOrientationContextType, SchedulerDateContext, useSchedulerDateContext, SchedulerDateContextType, SchedulerActiveViewContext, useSchedulerActiveViewContext, SchedulerActiveViewContextType, SchedulerDataContext, useSchedulerDataContext, SchedulerDataContextType, SchedulerItem, SchedulerItemProps, SchedulerItemHandle, SchedulerItemContent, SchedulerItemContentProps, SchedulerViewItem, SchedulerViewItemProps, SchedulerViewItemHandle, SchedulerEditItem, SchedulerEditItemProps, SchedulerEditItemState, SchedulerEditItemAction, SchedulerEditItemHandle, SchedulerSlot, SchedulerSlotProps, SchedulerSlotHandle, SchedulerViewSlot, SchedulerViewSlotProps, SchedulerViewSlotHandle, SchedulerSlotExpandableConfig, SchedulerProportionalViewItem, SchedulerEditSlot, SchedulerEditSlotProps, SchedulerEditSlotHandle, SchedulerTask, SchedulerTaskProps, SchedulerTaskHandle, SchedulerViewTask, SchedulerViewTaskProps, SchedulerViewTaskHandle, SchedulerEditTask, SchedulerEditTaskProps, SchedulerEditTaskHandle, SchedulerDrag, SchedulerDragProps, SchedulerResize, SchedulerResizeProps, SchedulerForm, SchedulerFormHandle, SchedulerFormProps, SchedulerFormEditor, SchedulerFormEditorProps, SchedulerFormEditorHandle, SchedulerOccurrenceDialog, SchedulerOccurrenceDialogProps, SchedulerOccurrenceDialogHandle, SchedulerRemoveDialog, SchedulerRemoveDialogProps, SchedulerRemoveDialogHandle, SchedulerEditItemFormItemContext, useSchedulerEditItemFormItemContext, SchedulerEditItemFormItemContextType, SchedulerEditItemDragItemContext, useSchedulerEditItemDragItemContext, SchedulerEditItemDragItemContextType, SchedulerEditItemRemoveItemContext, useSchedulerEditItemRemoveItemContext, SchedulerEditItemRemoveItemContextType, SchedulerEditItemResizeItemContext, useSchedulerEditItemResizeItemContext, SchedulerEditItemResizeItemContextType, SchedulerEditItemShowRemoveDialogContext, useSchedulerEditItemShowRemoveDialogContext, SchedulerEditItemShowRemoveDialogContextType, SchedulerEditItemShowOccurrenceDialogContext, useSchedulerEditItemShowOccurrenceDialogContext, SchedulerEditItemShowOccurrenceDialogContextType, SchedulerEditItemPropsContext, useSchedulerEditItemPropsContext, SchedulerEditItemPropsContextType, SchedulerEditSlotFormItemContext, useSchedulerEditSlotFormItemContext, SchedulerEditSlotFormItemContextType, SchedulerEditSlotPropsContext, useSchedulerEditSlotPropsContext, SchedulerEditSlotPropsContextType, SchedulerHeader, SchedulerHeaderProps, SchedulerHeaderHandle, SchedulerFooter, SchedulerFooterProps, SchedulerFooterHandle, DateHeaderCell, DateHeaderCellHandle, DateHeaderCellProps, TimeHeaderCell, TimeHeaderCellHandle, TimeHeaderCellProps, DRAG_ITEM_ACTION, SchedulerItemDragItemAction, ITEMS_FOCUS_ACTION, SchedulerItemsFocusAction, ITEMS_SELECT_ACTION, SchedulerItemsSelectAction, REMOVE_ITEM_ACTION, SchedulerItemRemoveItemAction, RESIZE_ITEM_ACTION, SchedulerItemResizeItemAction, SERIES_ACTION, SchedulerItemSeriesAction, SHOW_OCCURRENCE_DIALOG_ACTION, SchedulerItemShowOccurrenceDialogAction, SHOW_REMOVE_DIALOG_ACTION, SchedulerItemShowRemoveDialogAction, SLOTS_FOCUS_ACTION, SchedulerSlotsFocusAction, SLOTS_SELECT_ACTION, SchedulerSlotsSelectAction, SchedulerResource, SchedulerGroup, SchedulerItemFocusEvent, SchedulerItemMouseEvent, DataItem, SchedulerModelFields };
|