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