@progress/kendo-vue-scheduler 8.0.3-develop.2 → 8.0.3-develop.3
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 +1536 -0
- package/common.d.ts +13 -0
- package/components/BaseView.d.ts +74 -0
- package/components/CurrentTimeMarker.d.ts +35 -0
- package/components/CurrentTimeMarkerArrow.d.ts +33 -0
- package/components/DateHeaderCell.d.ts +70 -0
- package/components/SchedulerActionButtons.d.ts +32 -0
- package/components/SchedulerForm.d.ts +70 -0
- package/components/SchedulerOccurrenceDialog.d.ts +75 -0
- package/components/SchedulerRemoveDialog.d.ts +61 -0
- package/components/ShowMoreItemsButton.d.ts +36 -0
- package/components/TimeHeaderCell.d.ts +70 -0
- package/components/footer/SchedulerFooter.d.ts +20 -0
- package/components/footer/bussiness-hours/BusinessHours.d.ts +27 -0
- package/components/footer/bussiness-hours/BusinessHours.js +1 -1
- package/components/footer/bussiness-hours/BusinessHours.mjs +1 -1
- package/components/header/SchedulerHeader.d.ts +23 -0
- package/components/header/navigation/DatePickerToggleButton.d.ts +16 -0
- package/components/header/navigation/NavigationDatePicker.d.ts +34 -0
- package/components/header/navigation/SchedulerNavigation.d.ts +39 -0
- package/components/header/view-selector/SchedulerViewSelector.d.ts +20 -0
- package/components/header/view-selector/ViewSelectorItem.d.ts +25 -0
- package/components/header/view-selector/ViewSelectorList.d.ts +17 -0
- package/constants/main.d.ts +66 -0
- package/context/SchedulerContext.d.ts +29 -0
- package/context/SchedulerEditItemContext.d.ts +22 -0
- package/context/SchedulerEditSlotContext.d.ts +17 -0
- package/context/SchedulerEditTaskContext.d.ts +18 -0
- package/context/SchedulerResourceIteratorContext.d.ts +47 -0
- package/context/SchedulerViewContext.d.ts +25 -0
- package/context/main.d.ts +12 -0
- package/dist/cdn/js/kendo-vue-scheduler.js +1 -1
- package/editors/FilterableComboBox.d.ts +38 -0
- package/editors/ResourceEditor.d.ts +60 -0
- package/editors/SchedulerFormEditor.d.ts +3858 -0
- package/editors/ZonedDateTime.d.ts +32 -0
- package/editors/common.d.ts +19 -0
- package/hooks/main.d.ts +16 -0
- package/hooks/use-items-focus.d.ts +29 -0
- package/hooks/use-items-focus.js +1 -1
- package/hooks/use-items-focus.mjs +2 -2
- package/hooks/use-items-selection.d.ts +36 -0
- package/hooks/use-items-selection.js +1 -1
- package/hooks/use-items-selection.mjs +2 -2
- package/hooks/use-slots-focus.d.ts +39 -0
- package/hooks/use-slots-focus.js +1 -1
- package/hooks/use-slots-focus.mjs +2 -2
- package/hooks/use-slots-selection.d.ts +29 -0
- package/hooks/use-slots-selection.js +1 -1
- package/hooks/use-slots-selection.mjs +2 -2
- package/hooks/useAsyncMouseEnterLeave.d.ts +17 -0
- package/hooks/useCellSync.d.ts +16 -0
- package/hooks/useEditable.d.ts +10 -0
- package/hooks/usePropOrState.d.ts +9 -0
- package/hooks/useRowSync.d.ts +17 -0
- package/hooks/useSchedulerSlot.d.ts +13 -0
- package/hooks/useSlotExpand.d.ts +10 -0
- package/hooks/useWorkHours.d.ts +9 -0
- package/index.d.mts +45 -10991
- package/index.d.ts +45 -10991
- package/items/SchedulerEditItem.d.ts +896 -0
- package/items/SchedulerItem.d.ts +404 -0
- package/items/SchedulerItemContent.d.ts +27 -0
- package/items/SchedulerViewItem.d.ts +235 -0
- package/items/hooks/use-drag-item.d.ts +40 -0
- package/items/hooks/use-drag-item.js +1 -1
- package/items/hooks/use-drag-item.mjs +2 -2
- package/items/hooks/use-form-item.d.ts +29 -0
- package/items/hooks/use-form-item.js +1 -1
- package/items/hooks/use-form-item.mjs +2 -2
- package/items/hooks/use-remove-item.d.ts +37 -0
- package/items/hooks/use-remove-item.js +1 -1
- package/items/hooks/use-remove-item.mjs +2 -2
- package/items/hooks/use-resize-item.d.ts +45 -0
- package/items/hooks/use-resize-item.js +1 -1
- package/items/hooks/use-resize-item.mjs +2 -2
- package/items/hooks/use-series.d.ts +32 -0
- package/items/hooks/use-series.js +1 -1
- package/items/hooks/use-series.mjs +2 -2
- package/items/hooks/use-show-occurrence-dialog.d.ts +36 -0
- package/items/hooks/use-show-occurrence-dialog.js +1 -1
- package/items/hooks/use-show-occurrence-dialog.mjs +2 -2
- package/items/hooks/use-show-remove-item-dialog.d.ts +36 -0
- package/items/hooks/use-show-remove-item-dialog.js +1 -1
- package/items/hooks/use-show-remove-item-dialog.mjs +2 -2
- package/messages/main.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 +24 -0
- package/models/Group.d.ts +15 -0
- package/models/Item.d.ts +69 -0
- package/models/NavigationAction.d.ts +24 -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 +13 -0
- package/models/SchedulerModelFields.d.ts +69 -0
- package/models/SchedulerResource.d.ts +40 -0
- package/models/SchedulerView.d.ts +90 -0
- package/models/Slot.d.ts +58 -0
- package/models/events.d.ts +88 -0
- package/models/main.d.ts +24 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +19 -13
- package/recurrence/RecurrenceEditor.d.ts +82 -0
- package/recurrence/RecurrenceFrequencyEditor.d.ts +32 -0
- package/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +59 -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/main.d.ts +7 -0
- package/reducers/editReducer.d.ts +40 -0
- package/reducers/main.d.ts +8 -0
- package/services/itemsService.d.ts +21 -0
- package/services/main.d.ts +11 -0
- package/services/occurrenceService.d.ts +14 -0
- package/services/rangeService.d.ts +13 -0
- package/services/slotsService.d.ts +15 -0
- package/slots/SchedulerEditSlot.d.ts +148 -0
- package/slots/SchedulerSlot.d.ts +248 -0
- package/slots/SchedulerViewSlot.d.ts +134 -0
- package/tasks/SchedulerEditTask.d.ts +225 -0
- package/tasks/SchedulerTask.d.ts +139 -0
- package/tasks/SchedulerViewTask.d.ts +120 -0
- package/utils/main.d.ts +192 -0
- package/utils/main.mjs +3 -3
- package/views/agenda/AgendaView.d.ts +173 -0
- package/views/agenda/AgendaView.js +1 -1
- package/views/agenda/AgendaView.mjs +2 -2
- package/views/agenda/AgendaViewBody.d.ts +53 -0
- package/views/agenda/AgendaViewHead.d.ts +24 -0
- package/views/agenda/AgendaViewHeaderItem.d.ts +22 -0
- package/views/common/HorizontalResourceIterator.d.ts +57 -0
- package/views/common/SchedulerDrag.d.ts +459 -0
- package/views/common/SchedulerResize.d.ts +462 -0
- package/views/common/VerticalResourceIterator.d.ts +57 -0
- package/views/common/utils.d.ts +41 -0
- package/views/day/DayView.d.ts +208 -0
- package/views/day/DayViewAllDayRowContent.d.ts +19 -0
- package/views/day/DayViewAllDaySlots.d.ts +63 -0
- package/views/day/DayViewGroupRowContent.d.ts +19 -0
- package/views/day/DayViewHead.d.ts +21 -0
- package/views/day/DayViewMiddleRow.d.ts +82 -0
- package/views/day/DayViewRowContent.d.ts +29 -0
- package/views/day/DayViewVerticalRow.d.ts +43 -0
- package/views/day/DayViewVerticalSlotsRow.d.ts +94 -0
- package/views/day/DayViewVerticalSlotsRow.mjs +3 -3
- package/views/day/MultiDayView.d.ts +411 -0
- package/views/month/MonthView.d.ts +205 -0
- package/views/month/MonthView.js +1 -1
- package/views/month/MonthView.mjs +1 -1
- package/views/month/MonthViewBody.d.ts +57 -0
- package/views/month/MonthViewHead.d.ts +30 -0
- package/views/time/MultiDayTimelineView.d.ts +382 -0
- package/views/time/TimelineView.d.ts +233 -0
- package/views/time/TimelineViewAllEventsRowContent.d.ts +13 -0
- package/views/time/TimelineViewBody.d.ts +66 -0
- package/views/time/TimelineViewBody.mjs +3 -3
- package/views/time/TimelineViewRowContent.d.ts +13 -0
- package/views/week/WeekView.d.ts +270 -0
- package/views/week/WeekView.mjs +1 -1
- package/views/week/WorkWeekView.d.ts +141 -0
|
@@ -0,0 +1,896 @@
|
|
|
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, SchedulerItemDragEvent, SchedulerItemMouseEvent, SchedulerItemKeyboardEvent, SchedulerItemFocusEvent } from '../models/main';
|
|
9
|
+
import { SchedulerOccurrenceDialogStateChangeEvent } from '../components/SchedulerOccurrenceDialog';
|
|
10
|
+
import { SchedulerFormStateChangeEvent } from '../components/SchedulerForm';
|
|
11
|
+
import { SchedulerRemoveDialogStateChangeEvent } from '../components/SchedulerRemoveDialog';
|
|
12
|
+
import { DataAction } from '../Scheduler';
|
|
13
|
+
import { SchedulerViewItemProps } from './SchedulerViewItem';
|
|
14
|
+
import { SchedulerItemsFocusAction, ITEMS_FOCUS_ACTION, SchedulerSlotsFocusAction, SLOTS_FOCUS_ACTION } from '../hooks/main';
|
|
15
|
+
import { FORM_ITEM_ACTION, SchedulerItemFormItemAction } from './hooks/use-form-item';
|
|
16
|
+
import { SchedulerItemShowOccurrenceDialogAction, SHOW_OCCURRENCE_DIALOG_ACTION } from './hooks/use-show-occurrence-dialog';
|
|
17
|
+
import { REMOVE_ITEM_ACTION, SchedulerItemRemoveItemAction } from './hooks/use-remove-item';
|
|
18
|
+
import { SchedulerItemShowRemoveDialogAction, SHOW_REMOVE_DIALOG_ACTION } from './hooks/use-show-remove-item-dialog';
|
|
19
|
+
import { DRAG_ITEM_ACTION, SchedulerItemDragItemAction } from './hooks/use-drag-item';
|
|
20
|
+
import { RESIZE_ITEM_ACTION, SchedulerItemResizeItemAction } from './hooks/use-resize-item';
|
|
21
|
+
import { SchedulerItemSeriesAction, SERIES_ACTION } from './hooks/use-series';
|
|
22
|
+
import { SchedulerItemsSelectAction, ITEMS_SELECT_ACTION } from '../hooks/use-items-selection';
|
|
23
|
+
import { SchedulerSlotsSelectAction } from '../hooks/use-slots-selection';
|
|
24
|
+
import { PropType } from 'vue';
|
|
25
|
+
export interface SchedulerEditItemStateChangeEvent<T> {
|
|
26
|
+
value: T;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Represents the available SchedulerEditItem` actions.
|
|
30
|
+
*
|
|
31
|
+
* Can be one of:
|
|
32
|
+
* - [SchedulerItemDragItemAction]({% slug api_scheduler_scheduleritemdragitemaction %})
|
|
33
|
+
* - [SchedulerItemResizeItemAction]({% slug api_scheduler_scheduleritemresizeitemaction %})
|
|
34
|
+
* - [SchedulerItemRemoveItemAction]({% slug api_scheduler_scheduleritemremoveitemaction %})
|
|
35
|
+
* - [SchedulerItemShowRemoveDialogAction]({% slug api_scheduler_scheduleritemshowremovedialogaction %})
|
|
36
|
+
* - [SchedulerItemShowOccurrenceDialogAction]({% slug api_scheduler_scheduleritemshowoccurrencedialogaction %})
|
|
37
|
+
* - [SchedulerItemSeriesAction]({% slug api_scheduler_scheduleritemseriesaction %})
|
|
38
|
+
* - [SchedulerItemsFocusAction]({% slug api_scheduler_scheduleritemsfocusaction %})
|
|
39
|
+
* - [SchedulerItemsSelectAction]({% slug api_scheduler_scheduleritemsselectaction %})
|
|
40
|
+
* - [SchedulerSlotsFocusAction]({% slug api_scheduler_schedulerslotsfocusaction %})
|
|
41
|
+
* - [SchedulerSlotsSelectAction]({% slug api_scheduler_schedulerslotsselectaction %})
|
|
42
|
+
*
|
|
43
|
+
* The following `falsy` values will be ignored:
|
|
44
|
+
* - `null`
|
|
45
|
+
* - `false`
|
|
46
|
+
* - `undefined`
|
|
47
|
+
*/
|
|
48
|
+
export type SchedulerEditItemAction = SchedulerItemFormItemAction | SchedulerItemDragItemAction | SchedulerItemResizeItemAction | SchedulerItemRemoveItemAction | SchedulerItemShowRemoveDialogAction | SchedulerItemShowOccurrenceDialogAction | SchedulerItemSeriesAction | SchedulerItemsFocusAction | SchedulerItemsSelectAction | SchedulerSlotsFocusAction | SchedulerSlotsSelectAction | null | false | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Represents the props of the Kendo UI for Vue [SchedulerEditItem]() component.
|
|
51
|
+
*/
|
|
52
|
+
export interface SchedulerEditItemProps extends SchedulerViewItemProps {
|
|
53
|
+
/**
|
|
54
|
+
* Overrides the default component responsible for positioning the item inside the view.
|
|
55
|
+
*
|
|
56
|
+
* The default Component is: [SchedulerViewItem]({% slug api_scheduler_schedulerviewitemprops %}).
|
|
57
|
+
*/
|
|
58
|
+
viewItem?: any;
|
|
59
|
+
/**
|
|
60
|
+
* Overrides the default component responsible for visualizing the `dragItem`.
|
|
61
|
+
*
|
|
62
|
+
* The default Component is: [SchedulerDrag]({% slug api_scheduler_schedulerdragprops %}).
|
|
63
|
+
*/
|
|
64
|
+
drag?: any;
|
|
65
|
+
/**
|
|
66
|
+
* Overrides the default component responsible for visualizing the `resizeItem`.
|
|
67
|
+
*
|
|
68
|
+
* The default Component is: [SchedulerResize]({% slug api_scheduler_schedulerresizeprops %}).
|
|
69
|
+
*/
|
|
70
|
+
resize?: any;
|
|
71
|
+
/**
|
|
72
|
+
* Overrides the default component responsible for visualizing the `formItem`.
|
|
73
|
+
*
|
|
74
|
+
* The default Component is: [SchedulerForm]({% slug api_scheduler_schedulerformprops %}).
|
|
75
|
+
*/
|
|
76
|
+
form?: any;
|
|
77
|
+
/**
|
|
78
|
+
* Overrides the default component responsible for visualizing the `removeItem` and confirming the `remove` action.
|
|
79
|
+
*
|
|
80
|
+
* The default Component is: [SchedulerRemoveDialog]({% slug api_scheduler_schedulerremovedialogprops %}).
|
|
81
|
+
*/
|
|
82
|
+
removeDialog?: any;
|
|
83
|
+
/**
|
|
84
|
+
* Overrides the default component responsible for the selection between `occurrence` and `series` edit.
|
|
85
|
+
*
|
|
86
|
+
* The default Component is: [SchedulerOccurrenceDialog]({% slug api_scheduler_scheduleroccurrencedialogprops %}).
|
|
87
|
+
*/
|
|
88
|
+
occurrenceDialog?: any;
|
|
89
|
+
/**
|
|
90
|
+
* Called when the item has been removed or manipulated though dragging, resizing or an external form.
|
|
91
|
+
*/
|
|
92
|
+
onDataaction?: (action: DataAction, event?: any) => void;
|
|
93
|
+
/**
|
|
94
|
+
* Setting this property will force the `formItem` to be in controlled state, allowing further customization.
|
|
95
|
+
*/
|
|
96
|
+
formItem?: DataItem | null;
|
|
97
|
+
/**
|
|
98
|
+
* Called every time the `formItem` changes.
|
|
99
|
+
*/
|
|
100
|
+
onFormItemChange?: (event: SchedulerEditItemStateChangeEvent<DataItem | null>) => void;
|
|
101
|
+
/**
|
|
102
|
+
* Setting this property will force the `dragItem` to be in controlled state, allowing further customization.
|
|
103
|
+
*/
|
|
104
|
+
dragItem?: DataItem | null;
|
|
105
|
+
/**
|
|
106
|
+
* Called every time the `dragItem` changes.
|
|
107
|
+
*/
|
|
108
|
+
onDragItemChange?: (event: SchedulerEditItemStateChangeEvent<DataItem | null>) => void;
|
|
109
|
+
/**
|
|
110
|
+
* Setting this property will force the `resizeItem` to be in controlled state, allowing further customization.
|
|
111
|
+
*/
|
|
112
|
+
resizeItem?: DataItem | null;
|
|
113
|
+
/**
|
|
114
|
+
* Called every time the `resize` changes.
|
|
115
|
+
*/
|
|
116
|
+
onResizeItemChange?: (event: SchedulerEditItemStateChangeEvent<DataItem | null>) => void;
|
|
117
|
+
/**
|
|
118
|
+
* Setting this property will force the `removeItem` to be in controlled state, allowing further customization.
|
|
119
|
+
*
|
|
120
|
+
* Specifies the DataItem which should be removed from the `data` set.
|
|
121
|
+
* The `removeItem` is passed as property to the `removeDialog` and `occurrenceDialog` component;
|
|
122
|
+
*/
|
|
123
|
+
removeItem?: DataItem | null;
|
|
124
|
+
/**
|
|
125
|
+
* Called every time the `removeItem` changes.
|
|
126
|
+
*/
|
|
127
|
+
onRemoveItemChange?: (event: SchedulerEditItemStateChangeEvent<DataItem | null>) => void;
|
|
128
|
+
/**
|
|
129
|
+
* Setting this property will force the `showOccurrenceDialog` to be in controlled state, allowing further control over the display of the `occurrenceDialog` component.
|
|
130
|
+
*/
|
|
131
|
+
showOccurrenceDialog?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Called every time the `showOccurrenceDialog` changes.
|
|
134
|
+
*/
|
|
135
|
+
onShowOccurrenceDialogChange?: (event: SchedulerEditItemStateChangeEvent<boolean>) => void;
|
|
136
|
+
/**
|
|
137
|
+
* Setting this property will force the `showRemoveDialog` to be in controlled state, allowing further control over the display of the `removeDialog` component.
|
|
138
|
+
*/
|
|
139
|
+
showRemoveDialog?: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* Called every time the `showRemoveDialog` changes.
|
|
142
|
+
*/
|
|
143
|
+
onShowRemoveDialogChange?: (event: SchedulerEditItemStateChangeEvent<boolean>) => void;
|
|
144
|
+
/**
|
|
145
|
+
* Indicates if the editing should be applied to the whole `series` or to a single `occurrence` when the item is recurring.
|
|
146
|
+
*
|
|
147
|
+
* By default, the `series` prop is set to `null` and additional selection is done through the `occurrence` dialog.
|
|
148
|
+
* If set ot either `true` or `false`:
|
|
149
|
+
* - `true` — indicates that the editing should always be applied to the whole `series`
|
|
150
|
+
* - `false` — indicates that the editing should always be applied to a single `occurrence`.
|
|
151
|
+
*/
|
|
152
|
+
series?: boolean | null;
|
|
153
|
+
/**
|
|
154
|
+
* Called every time the `series` changes.
|
|
155
|
+
*/
|
|
156
|
+
onSeriesChange?: (event: SchedulerEditItemStateChangeEvent<boolean | null>) => void;
|
|
157
|
+
/**
|
|
158
|
+
* Called whenever the `occurence` option is selected from the `OccurrenceDialog`.
|
|
159
|
+
*/
|
|
160
|
+
onOccurrenceClick?: (event: SchedulerOccurrenceDialogStateChangeEvent<any>) => void;
|
|
161
|
+
/**
|
|
162
|
+
* An action callback. Used to define the component behavior on occurrence click.
|
|
163
|
+
*
|
|
164
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
165
|
+
*/
|
|
166
|
+
onOccurrenceClickAction?: (event: SchedulerOccurrenceDialogStateChangeEvent<any>, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
167
|
+
/**
|
|
168
|
+
* Called whenever the `series` option is selected from the `OccurrenceDialog`.
|
|
169
|
+
*/
|
|
170
|
+
onSeriesClick?: (event: SchedulerOccurrenceDialogStateChangeEvent<any>) => void;
|
|
171
|
+
/**
|
|
172
|
+
* An action callback. Used to define the component behavior on series click.
|
|
173
|
+
*
|
|
174
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
175
|
+
*/
|
|
176
|
+
onSeriesClickAction?: (event: SchedulerOccurrenceDialogStateChangeEvent<any>, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
177
|
+
/**
|
|
178
|
+
* Called whenever the `confirm` option is selected from the `RemoveDialog`.
|
|
179
|
+
*/
|
|
180
|
+
onRemoveConfirm?: (event: SchedulerRemoveDialogStateChangeEvent<any>) => void;
|
|
181
|
+
/**
|
|
182
|
+
* An action callback. Used to define the component behavior on remove confirm click.
|
|
183
|
+
*
|
|
184
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
185
|
+
*/
|
|
186
|
+
onRemoveConfirmAction?: (event: SchedulerRemoveDialogStateChangeEvent<any>, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
187
|
+
/**
|
|
188
|
+
* Called whenever the `form` is submitted.
|
|
189
|
+
*/
|
|
190
|
+
onFormSubmit?: (event: SchedulerFormStateChangeEvent<DataItem | null>) => void;
|
|
191
|
+
/**
|
|
192
|
+
* An action callback. Used to define the component behavior on form submit.
|
|
193
|
+
*
|
|
194
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
195
|
+
*/
|
|
196
|
+
onFormSubmitAction?: (event: SchedulerFormStateChangeEvent<DataItem | null>, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
197
|
+
/**
|
|
198
|
+
* Called whenever the current edit is canceled.
|
|
199
|
+
*/
|
|
200
|
+
onCancel?: (event: SchedulerFormStateChangeEvent<null> | SchedulerOccurrenceDialogStateChangeEvent<null>) => void;
|
|
201
|
+
/**
|
|
202
|
+
* An action callback. Used to define the component behavior on cancel.
|
|
203
|
+
*
|
|
204
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
205
|
+
*/
|
|
206
|
+
onCancelAction?: (event: SchedulerFormStateChangeEvent<null> | SchedulerOccurrenceDialogStateChangeEvent<null>, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
207
|
+
/**
|
|
208
|
+
* An action callback. Used to define the component behavior on click.
|
|
209
|
+
*
|
|
210
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
211
|
+
*/
|
|
212
|
+
onClickAction?: (event: SchedulerItemMouseEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
213
|
+
/**
|
|
214
|
+
* An action callback. Used to define the component behavior on mouse down.
|
|
215
|
+
*
|
|
216
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
217
|
+
*/
|
|
218
|
+
onMouseDownAction?: (event: SchedulerItemMouseEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
219
|
+
/**
|
|
220
|
+
* An action callback. Used to define the component behavior on mouse up.
|
|
221
|
+
*
|
|
222
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
223
|
+
*/
|
|
224
|
+
onMouseUpAction?: (event: SchedulerItemMouseEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
225
|
+
/**
|
|
226
|
+
* An action callback. Used to define the component behavior on double click.
|
|
227
|
+
*
|
|
228
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
229
|
+
*/
|
|
230
|
+
onDoubleClickAction?: (event: SchedulerItemMouseEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
231
|
+
/**
|
|
232
|
+
* An action callback. Used to define the component behavior on remove click.
|
|
233
|
+
*
|
|
234
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
235
|
+
*/
|
|
236
|
+
onRemoveClickAction?: (event: SchedulerItemMouseEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
237
|
+
/**
|
|
238
|
+
* An action callback. Used to define the component behavior on key down.
|
|
239
|
+
*
|
|
240
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
241
|
+
*/
|
|
242
|
+
onKeyDownAction?: (event: SchedulerItemKeyboardEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
243
|
+
/**
|
|
244
|
+
* An action callback. Used to define the component behavior on key up.
|
|
245
|
+
*
|
|
246
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
247
|
+
*/
|
|
248
|
+
onKeyUpAction?: (event: SchedulerItemKeyboardEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
249
|
+
/**
|
|
250
|
+
* An action callback. Used to define the component behavior on focus.
|
|
251
|
+
*
|
|
252
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
253
|
+
*/
|
|
254
|
+
onFocusAction?: (event: SchedulerItemFocusEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
255
|
+
/**
|
|
256
|
+
* An action callback. Used to define the component behavior on blur.
|
|
257
|
+
*
|
|
258
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
259
|
+
*/
|
|
260
|
+
onBlurAction?: (event: SchedulerItemFocusEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
261
|
+
/**
|
|
262
|
+
* An action callback. Used to define the component behavior on press.
|
|
263
|
+
*
|
|
264
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
265
|
+
*/
|
|
266
|
+
onPressAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
267
|
+
/**
|
|
268
|
+
* An action callback. Used to define the component behavior on drag.
|
|
269
|
+
*
|
|
270
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
271
|
+
*/
|
|
272
|
+
onDragAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
273
|
+
/**
|
|
274
|
+
* An action callback. Used to define the component behavior on release.
|
|
275
|
+
*
|
|
276
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
277
|
+
*/
|
|
278
|
+
onReleaseAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
279
|
+
/**
|
|
280
|
+
* An action callback. Used to define the component behavior on resize press.
|
|
281
|
+
*
|
|
282
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
283
|
+
*/
|
|
284
|
+
onResizePressAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
285
|
+
/**
|
|
286
|
+
* An action callback. Used to define the component behavior on resize start drag.
|
|
287
|
+
*
|
|
288
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
289
|
+
*/
|
|
290
|
+
onResizeStartDragAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
291
|
+
/**
|
|
292
|
+
* An action callback. Used to define the component behavior on resize end drag.
|
|
293
|
+
*
|
|
294
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
295
|
+
*/
|
|
296
|
+
onResizeEndDragAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
297
|
+
/**
|
|
298
|
+
* An action callback. Used to define the component behavior on resize release.
|
|
299
|
+
*
|
|
300
|
+
* Internal state change will be triggered depending on the specific action types.
|
|
301
|
+
*/
|
|
302
|
+
onResizeReleaseAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | (SchedulerEditItemAction)[];
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* @hidden
|
|
306
|
+
*/
|
|
307
|
+
export interface SchedulerEditItemState {
|
|
308
|
+
selected: boolean;
|
|
309
|
+
series: boolean | null;
|
|
310
|
+
formItem: DataItem | null;
|
|
311
|
+
dragItem: DataItem | null;
|
|
312
|
+
resizeItem: DataItem | null;
|
|
313
|
+
removeItem: DataItem | null;
|
|
314
|
+
showRemoveDialog: DataItem | null;
|
|
315
|
+
showOccurrenceDialog: DataItem | null;
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* @hidden
|
|
319
|
+
*/
|
|
320
|
+
export interface SchedulerEditItemHandle {
|
|
321
|
+
element: HTMLDivElement | null;
|
|
322
|
+
props: SchedulerEditItemProps;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* @hidden
|
|
326
|
+
*/
|
|
327
|
+
declare const SchedulerEditItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
328
|
+
tabIndex: {
|
|
329
|
+
type: PropType<number>;
|
|
330
|
+
default: any;
|
|
331
|
+
};
|
|
332
|
+
item: PropType<any>;
|
|
333
|
+
viewItem: PropType<any>;
|
|
334
|
+
drag: PropType<any>;
|
|
335
|
+
resize: PropType<any>;
|
|
336
|
+
form: PropType<any>;
|
|
337
|
+
removeDialog: PropType<any>;
|
|
338
|
+
occurrenceDialog: PropType<any>;
|
|
339
|
+
formItem: PropType<any>;
|
|
340
|
+
dragItem: PropType<any>;
|
|
341
|
+
resizeItem: PropType<any>;
|
|
342
|
+
removeItem: PropType<any>;
|
|
343
|
+
showOccurrenceDialog: {
|
|
344
|
+
type: PropType<boolean>;
|
|
345
|
+
default: any;
|
|
346
|
+
};
|
|
347
|
+
showRemoveDialog: {
|
|
348
|
+
type: PropType<boolean>;
|
|
349
|
+
default: any;
|
|
350
|
+
};
|
|
351
|
+
series: {
|
|
352
|
+
type: PropType<boolean>;
|
|
353
|
+
default: any;
|
|
354
|
+
};
|
|
355
|
+
uid: PropType<string | number>;
|
|
356
|
+
start: PropType<Date>;
|
|
357
|
+
end: PropType<Date>;
|
|
358
|
+
originalStart: PropType<Date>;
|
|
359
|
+
startTimezone: PropType<string>;
|
|
360
|
+
endTimezone: PropType<string>;
|
|
361
|
+
isAllDay: PropType<boolean>;
|
|
362
|
+
title: PropType<string>;
|
|
363
|
+
description: PropType<string>;
|
|
364
|
+
occurrenceId: PropType<string>;
|
|
365
|
+
recurrenceExceptions: PropType<Date[]>;
|
|
366
|
+
recurrenceRule: PropType<string>;
|
|
367
|
+
recurrenceId: PropType<string | number>;
|
|
368
|
+
dataItem: PropType<any>;
|
|
369
|
+
head: PropType<boolean>;
|
|
370
|
+
tail: PropType<boolean>;
|
|
371
|
+
order: PropType<number>;
|
|
372
|
+
zonedStart: PropType<import('@progress/kendo-date-math').ZonedDate>;
|
|
373
|
+
zonedEnd: PropType<import('@progress/kendo-date-math').ZonedDate>;
|
|
374
|
+
slots: PropType<import('../models/Slot').Slot[]>;
|
|
375
|
+
group: PropType<import('../models/Group').Group>;
|
|
376
|
+
range: PropType<import('../models/Range').Range>;
|
|
377
|
+
isException: PropType<boolean>;
|
|
378
|
+
isRecurring: PropType<boolean>;
|
|
379
|
+
id: PropType<string>;
|
|
380
|
+
className: PropType<string>;
|
|
381
|
+
itemStyle: PropType<any>;
|
|
382
|
+
editable: PropType<boolean | import('../models/EditableProp').EditableProp>;
|
|
383
|
+
selected: PropType<boolean>;
|
|
384
|
+
vertical: PropType<boolean>;
|
|
385
|
+
dragHint: PropType<boolean>;
|
|
386
|
+
resizeHint: PropType<boolean>;
|
|
387
|
+
format: PropType<string>;
|
|
388
|
+
ignoreIsAllDay: PropType<boolean>;
|
|
389
|
+
itemRef: PropType<any>;
|
|
390
|
+
onRemoveclick: PropType<(e: any) => void>;
|
|
391
|
+
onDataaction: PropType<(action: DataAction, event?: any) => void>;
|
|
392
|
+
onFormItemChange: PropType<(event: SchedulerEditItemStateChangeEvent<DataItem | null>) => void>;
|
|
393
|
+
onDragitemchange: PropType<(event: SchedulerEditItemStateChangeEvent<DataItem | null>) => void>;
|
|
394
|
+
onResizeitemchange: PropType<(event: SchedulerEditItemStateChangeEvent<DataItem | null>) => void>;
|
|
395
|
+
}>, {}, {
|
|
396
|
+
ei: {
|
|
397
|
+
props: {
|
|
398
|
+
readonly drag?: any;
|
|
399
|
+
readonly form?: any;
|
|
400
|
+
readonly head?: boolean;
|
|
401
|
+
readonly title?: string;
|
|
402
|
+
readonly vertical?: boolean;
|
|
403
|
+
readonly id?: string;
|
|
404
|
+
readonly tabIndex?: number;
|
|
405
|
+
readonly resize?: any;
|
|
406
|
+
readonly slots?: import('../models/Slot').Slot[];
|
|
407
|
+
readonly start?: Date;
|
|
408
|
+
readonly end?: Date;
|
|
409
|
+
readonly group?: import('../models/Group').Group;
|
|
410
|
+
readonly item?: any;
|
|
411
|
+
readonly selected?: boolean;
|
|
412
|
+
readonly order?: number;
|
|
413
|
+
readonly range?: import('../models/Range').Range;
|
|
414
|
+
readonly description?: string;
|
|
415
|
+
readonly format?: string;
|
|
416
|
+
readonly dataItem?: any;
|
|
417
|
+
readonly className?: string;
|
|
418
|
+
readonly isAllDay?: boolean;
|
|
419
|
+
readonly zonedStart?: import('@progress/kendo-date-math').ZonedDate;
|
|
420
|
+
readonly zonedEnd?: import('@progress/kendo-date-math').ZonedDate;
|
|
421
|
+
readonly editable?: boolean | import('../models/EditableProp').EditableProp;
|
|
422
|
+
readonly formItem?: any;
|
|
423
|
+
readonly uid?: string | number;
|
|
424
|
+
readonly originalStart?: Date;
|
|
425
|
+
readonly startTimezone?: string;
|
|
426
|
+
readonly endTimezone?: string;
|
|
427
|
+
readonly occurrenceId?: string;
|
|
428
|
+
readonly recurrenceExceptions?: Date[];
|
|
429
|
+
readonly recurrenceRule?: string;
|
|
430
|
+
readonly recurrenceId?: string | number;
|
|
431
|
+
readonly tail?: boolean;
|
|
432
|
+
readonly isException?: boolean;
|
|
433
|
+
readonly isRecurring?: boolean;
|
|
434
|
+
readonly itemStyle?: any;
|
|
435
|
+
readonly dragHint?: boolean;
|
|
436
|
+
readonly resizeHint?: boolean;
|
|
437
|
+
readonly dragItem?: any;
|
|
438
|
+
readonly resizeItem?: any;
|
|
439
|
+
readonly removeItem?: any;
|
|
440
|
+
readonly ignoreIsAllDay?: boolean;
|
|
441
|
+
readonly showOccurrenceDialog?: boolean;
|
|
442
|
+
readonly showRemoveDialog?: boolean;
|
|
443
|
+
readonly onRemoveclick?: (e: any) => void;
|
|
444
|
+
readonly onDataaction?: (action: DataAction, event?: any) => void;
|
|
445
|
+
readonly itemRef?: any;
|
|
446
|
+
readonly removeDialog?: any;
|
|
447
|
+
readonly occurrenceDialog?: any;
|
|
448
|
+
readonly series?: boolean;
|
|
449
|
+
readonly viewItem?: any;
|
|
450
|
+
readonly onFormItemChange?: (event: SchedulerEditItemStateChangeEvent<DataItem | null>) => void;
|
|
451
|
+
readonly onDragitemchange?: (event: SchedulerEditItemStateChangeEvent<DataItem | null>) => void;
|
|
452
|
+
readonly onResizeitemchange?: (event: SchedulerEditItemStateChangeEvent<DataItem | null>) => void;
|
|
453
|
+
} & Readonly<import('vue').ExtractPropTypes<{
|
|
454
|
+
tabIndex: {
|
|
455
|
+
type: PropType<number>;
|
|
456
|
+
default: any;
|
|
457
|
+
};
|
|
458
|
+
item: PropType<any>;
|
|
459
|
+
viewItem: PropType<any>;
|
|
460
|
+
drag: PropType<any>;
|
|
461
|
+
resize: PropType<any>;
|
|
462
|
+
form: PropType<any>;
|
|
463
|
+
removeDialog: PropType<any>;
|
|
464
|
+
occurrenceDialog: PropType<any>;
|
|
465
|
+
formItem: PropType<any>;
|
|
466
|
+
dragItem: PropType<any>;
|
|
467
|
+
resizeItem: PropType<any>;
|
|
468
|
+
removeItem: PropType<any>;
|
|
469
|
+
showOccurrenceDialog: {
|
|
470
|
+
type: PropType<boolean>;
|
|
471
|
+
default: any;
|
|
472
|
+
};
|
|
473
|
+
showRemoveDialog: {
|
|
474
|
+
type: PropType<boolean>;
|
|
475
|
+
default: any;
|
|
476
|
+
};
|
|
477
|
+
series: {
|
|
478
|
+
type: PropType<boolean>;
|
|
479
|
+
default: any;
|
|
480
|
+
};
|
|
481
|
+
uid: PropType<string | number>;
|
|
482
|
+
start: PropType<Date>;
|
|
483
|
+
end: PropType<Date>;
|
|
484
|
+
originalStart: PropType<Date>;
|
|
485
|
+
startTimezone: PropType<string>;
|
|
486
|
+
endTimezone: PropType<string>;
|
|
487
|
+
isAllDay: PropType<boolean>;
|
|
488
|
+
title: PropType<string>;
|
|
489
|
+
description: PropType<string>;
|
|
490
|
+
occurrenceId: PropType<string>;
|
|
491
|
+
recurrenceExceptions: PropType<Date[]>;
|
|
492
|
+
recurrenceRule: PropType<string>;
|
|
493
|
+
recurrenceId: PropType<string | number>;
|
|
494
|
+
dataItem: PropType<any>;
|
|
495
|
+
head: PropType<boolean>;
|
|
496
|
+
tail: PropType<boolean>;
|
|
497
|
+
order: PropType<number>;
|
|
498
|
+
zonedStart: PropType<import('@progress/kendo-date-math').ZonedDate>;
|
|
499
|
+
zonedEnd: PropType<import('@progress/kendo-date-math').ZonedDate>;
|
|
500
|
+
slots: PropType<import('../models/Slot').Slot[]>;
|
|
501
|
+
group: PropType<import('../models/Group').Group>;
|
|
502
|
+
range: PropType<import('../models/Range').Range>;
|
|
503
|
+
isException: PropType<boolean>;
|
|
504
|
+
isRecurring: PropType<boolean>;
|
|
505
|
+
id: PropType<string>;
|
|
506
|
+
className: PropType<string>;
|
|
507
|
+
itemStyle: PropType<any>;
|
|
508
|
+
editable: PropType<boolean | import('../models/EditableProp').EditableProp>;
|
|
509
|
+
selected: PropType<boolean>;
|
|
510
|
+
vertical: PropType<boolean>;
|
|
511
|
+
dragHint: PropType<boolean>;
|
|
512
|
+
resizeHint: PropType<boolean>;
|
|
513
|
+
format: PropType<string>;
|
|
514
|
+
ignoreIsAllDay: PropType<boolean>;
|
|
515
|
+
itemRef: PropType<any>;
|
|
516
|
+
onRemoveclick: PropType<(e: any) => void>;
|
|
517
|
+
onDataaction: PropType<(action: DataAction, event?: any) => void>;
|
|
518
|
+
onFormItemChange: PropType<(event: SchedulerEditItemStateChangeEvent<DataItem | null>) => void>;
|
|
519
|
+
onDragitemchange: PropType<(event: SchedulerEditItemStateChangeEvent<DataItem | null>) => void>;
|
|
520
|
+
onResizeitemchange: PropType<(event: SchedulerEditItemStateChangeEvent<DataItem | null>) => void>;
|
|
521
|
+
}>> & Readonly<{}>;
|
|
522
|
+
form: any;
|
|
523
|
+
drag: any;
|
|
524
|
+
resize: any;
|
|
525
|
+
remove: Function;
|
|
526
|
+
showRemoveDialog: boolean;
|
|
527
|
+
showOccurrenceDialog: boolean;
|
|
528
|
+
};
|
|
529
|
+
currentFormItem: any;
|
|
530
|
+
currentSelected: any;
|
|
531
|
+
currentSeries: any;
|
|
532
|
+
currentRemoveItem: any;
|
|
533
|
+
currentDragItem: any;
|
|
534
|
+
currentResizeItem: any;
|
|
535
|
+
currentShowRemoveDialog: any;
|
|
536
|
+
currentShowOccurrenceDialog: any;
|
|
537
|
+
}, {
|
|
538
|
+
currentTabIndex(): any;
|
|
539
|
+
compSelected(): any;
|
|
540
|
+
compSeries(): any;
|
|
541
|
+
compFormItem(): any;
|
|
542
|
+
compRemoveItem(): any;
|
|
543
|
+
compDragItem(): any;
|
|
544
|
+
compResizeItem(): any;
|
|
545
|
+
compShowRemoveDialog(): any;
|
|
546
|
+
compShowOccurrenceDialog(): any;
|
|
547
|
+
actionsReducerMap(): {
|
|
548
|
+
SERIES_SET: any;
|
|
549
|
+
SERIES_TOGGLE: any;
|
|
550
|
+
SERIES_RESET: any;
|
|
551
|
+
ITEMS_SELECT_SELECT: any;
|
|
552
|
+
ITEMS_SELECT_ADD: any;
|
|
553
|
+
ITEMS_SELECT_REMOVE: any;
|
|
554
|
+
ITEMS_SELECT_RESET: any;
|
|
555
|
+
ITEMS_SELECT_SELECT_NEXT: any;
|
|
556
|
+
ITEMS_SELECT_SELECT_PREV: any;
|
|
557
|
+
FORM_ITEM_SET: any;
|
|
558
|
+
FORM_ITEM_SET_MASTER: any;
|
|
559
|
+
FORM_ITEM_RESET: any;
|
|
560
|
+
FORM_ITEM_COMPLETE: any;
|
|
561
|
+
REMOVE_ITEM_SET: any;
|
|
562
|
+
REMOVE_ITEM_RESET: any;
|
|
563
|
+
REMOVE_ITEM_COMPLETE: any;
|
|
564
|
+
SHOW_OCCURRENCE_DIALOG_CLOSE: any;
|
|
565
|
+
SHOW_OCCURRENCE_DIALOG_OPEN: any;
|
|
566
|
+
SHOW_OCCURRENCE_DIALOG_SET: any;
|
|
567
|
+
SHOW_OCCURRENCE_DIALOG_TOGGLE: any;
|
|
568
|
+
SHOW_OCCURRENCE_DIALOG_RESET: any;
|
|
569
|
+
SHOW_REMOVE_DIALOG_CLOSE: any;
|
|
570
|
+
SHOW_REMOVE_DIALOG_OPEN: any;
|
|
571
|
+
SHOW_REMOVE_DIALOG_SET: any;
|
|
572
|
+
SHOW_REMOVE_DIALOG_TOGGLE: any;
|
|
573
|
+
SHOW_REMOVE_DIALOG_RESET: any;
|
|
574
|
+
DRAG_ITEM_START: any;
|
|
575
|
+
DRAG_ITEM_DRAG: any;
|
|
576
|
+
DRAG_ITEM_COMPLETE: any;
|
|
577
|
+
DRAG_ITEM_COMPLETE_OCCURRENCE: any;
|
|
578
|
+
DRAG_ITEM_COMPLETE_SERIES: any;
|
|
579
|
+
DRAG_ITEM_SET: any;
|
|
580
|
+
DRAG_ITEM_RESET: any;
|
|
581
|
+
DRAG_ITEM_DRAG_SELECTED: any;
|
|
582
|
+
RESIZE_ITEM_START: any;
|
|
583
|
+
RESIZE_ITEM_START_DRAG: any;
|
|
584
|
+
RESIZE_ITEM_START_DRAG_SELECTED: any;
|
|
585
|
+
RESIZE_ITEM_END_DRAG: any;
|
|
586
|
+
RESIZE_ITEM_END_DRAG_SELECTED: any;
|
|
587
|
+
RESIZE_ITEM_COMPLETE: any;
|
|
588
|
+
RESIZE_ITEM_COMPLETE_OCCURRENCE: any;
|
|
589
|
+
RESIZE_ITEM_COMPLETE_SERIES: any;
|
|
590
|
+
RESIZE_ITEM_SET: any;
|
|
591
|
+
RESIZE_ITEM_RESET: any;
|
|
592
|
+
ITEMS_FOCUS_NEXT: any;
|
|
593
|
+
ITEMS_FOCUS_PREV: any;
|
|
594
|
+
SLOT_FOCUS_LEFT: any;
|
|
595
|
+
SLOT_FOCUS_RIGHT: any;
|
|
596
|
+
SLOT_FOCUS_UP: any;
|
|
597
|
+
SLOT_FOCUS_DOWN: any;
|
|
598
|
+
null: () => void;
|
|
599
|
+
};
|
|
600
|
+
}, {
|
|
601
|
+
dispatchSeries(action: any, _event: any): void;
|
|
602
|
+
dispatchItemSelection(action: any, event: any): void;
|
|
603
|
+
dispatchRemoveItem(action: any, _event: any): void;
|
|
604
|
+
dispatchShowOccurrenceDialog(action: any, _event: any): void;
|
|
605
|
+
dispatchShowRemoveDialog(action: any, _event: any): void;
|
|
606
|
+
dispatchDragItem(action: any, _event: any): void;
|
|
607
|
+
dispatchResizeItem(action: any, event: any): void;
|
|
608
|
+
dispatchViewSlotsFocus(action: any, event: any): void;
|
|
609
|
+
dispatchViewItemsFocus(action: any, event: any): void;
|
|
610
|
+
dispatchFormItem(action: any, _event: any): void;
|
|
611
|
+
handleFocus(event: SchedulerItemFocusEvent): void;
|
|
612
|
+
handleMouseDown(event: SchedulerItemMouseEvent): void;
|
|
613
|
+
handleMouseUp(event: SchedulerItemMouseEvent): void;
|
|
614
|
+
handleClick(event: SchedulerItemMouseEvent): void;
|
|
615
|
+
handleDoubleClick(event: SchedulerItemMouseEvent): void;
|
|
616
|
+
handleRemoveClick(event: SchedulerItemMouseEvent): void;
|
|
617
|
+
handlePress(event: SchedulerItemDragEvent): void;
|
|
618
|
+
handleDrag(event: SchedulerItemDragEvent): void;
|
|
619
|
+
handleRelease(event: SchedulerItemDragEvent): void;
|
|
620
|
+
handleResizePress(event: SchedulerItemDragEvent): void;
|
|
621
|
+
handleResizeStartDrag(event: SchedulerItemDragEvent): void;
|
|
622
|
+
handleResizeEndDrag(event: SchedulerItemDragEvent): void;
|
|
623
|
+
handleResizeRelease(event: SchedulerItemDragEvent): void;
|
|
624
|
+
handleFormSubmit(event: SchedulerFormStateChangeEvent<DataItem | null>): void;
|
|
625
|
+
handleCancel(event: SchedulerFormStateChangeEvent<null> | SchedulerOccurrenceDialogStateChangeEvent<null>): void;
|
|
626
|
+
handleOccurrenceClick(event: SchedulerOccurrenceDialogStateChangeEvent<null>): void;
|
|
627
|
+
handleSeriesClick(event: SchedulerOccurrenceDialogStateChangeEvent<null>): void;
|
|
628
|
+
handleKeyDown(event: SchedulerItemKeyboardEvent): void;
|
|
629
|
+
handleKeyUp(event: SchedulerItemKeyboardEvent): void;
|
|
630
|
+
handleRemoveConfirm(event: SchedulerRemoveDialogStateChangeEvent<null>): void;
|
|
631
|
+
onClickAction(event: SchedulerItemMouseEvent, _: SchedulerEditItemProps): {
|
|
632
|
+
type: ITEMS_SELECT_ACTION;
|
|
633
|
+
}[];
|
|
634
|
+
onDoubleClickAction(_: any, props: SchedulerEditItemProps): ({
|
|
635
|
+
type: FORM_ITEM_ACTION;
|
|
636
|
+
payload: any;
|
|
637
|
+
} | {
|
|
638
|
+
type: SHOW_OCCURRENCE_DIALOG_ACTION;
|
|
639
|
+
payload?: undefined;
|
|
640
|
+
})[];
|
|
641
|
+
onRemoveClickAction(_: any, props: SchedulerEditItemProps): ({
|
|
642
|
+
type: REMOVE_ITEM_ACTION;
|
|
643
|
+
payload: any;
|
|
644
|
+
} | {
|
|
645
|
+
type: SHOW_OCCURRENCE_DIALOG_ACTION;
|
|
646
|
+
payload?: undefined;
|
|
647
|
+
} | {
|
|
648
|
+
type: SHOW_REMOVE_DIALOG_ACTION;
|
|
649
|
+
payload?: undefined;
|
|
650
|
+
})[];
|
|
651
|
+
onPressAction(event: SchedulerItemDragEvent, props: SchedulerEditItemProps): any[] | {
|
|
652
|
+
type: DRAG_ITEM_ACTION;
|
|
653
|
+
payload: {
|
|
654
|
+
x: number;
|
|
655
|
+
y: number;
|
|
656
|
+
};
|
|
657
|
+
};
|
|
658
|
+
onDragAction(event: SchedulerItemDragEvent, props: SchedulerEditItemProps): any[] | {
|
|
659
|
+
type: DRAG_ITEM_ACTION;
|
|
660
|
+
payload: {
|
|
661
|
+
x: number;
|
|
662
|
+
y: number;
|
|
663
|
+
};
|
|
664
|
+
};
|
|
665
|
+
onReleaseAction(event: SchedulerItemDragEvent, props: SchedulerEditItemProps): any[] | {
|
|
666
|
+
type: SHOW_OCCURRENCE_DIALOG_ACTION;
|
|
667
|
+
payload?: undefined;
|
|
668
|
+
} | {
|
|
669
|
+
type: DRAG_ITEM_ACTION;
|
|
670
|
+
payload: {
|
|
671
|
+
x: number;
|
|
672
|
+
y: number;
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
onResizePressAction(event: SchedulerItemDragEvent, props: SchedulerEditItemProps): any[] | {
|
|
676
|
+
type: RESIZE_ITEM_ACTION;
|
|
677
|
+
payload: {
|
|
678
|
+
x: number;
|
|
679
|
+
y: number;
|
|
680
|
+
};
|
|
681
|
+
};
|
|
682
|
+
onResizeStartDragAction(event: SchedulerItemDragEvent, props: SchedulerEditItemProps): any[] | {
|
|
683
|
+
type: RESIZE_ITEM_ACTION;
|
|
684
|
+
payload: {
|
|
685
|
+
x: number;
|
|
686
|
+
y: number;
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
onResizeEndDragAction(event: SchedulerItemDragEvent, props: SchedulerEditItemProps): any[] | {
|
|
690
|
+
type: RESIZE_ITEM_ACTION;
|
|
691
|
+
payload: {
|
|
692
|
+
x: number;
|
|
693
|
+
y: number;
|
|
694
|
+
};
|
|
695
|
+
};
|
|
696
|
+
onResizeReleaseAction(event: SchedulerItemDragEvent, props: SchedulerEditItemProps): any[] | {
|
|
697
|
+
type: SHOW_OCCURRENCE_DIALOG_ACTION;
|
|
698
|
+
payload?: undefined;
|
|
699
|
+
} | {
|
|
700
|
+
type: RESIZE_ITEM_ACTION;
|
|
701
|
+
payload: {
|
|
702
|
+
x: number;
|
|
703
|
+
y: number;
|
|
704
|
+
};
|
|
705
|
+
};
|
|
706
|
+
onOccurrenceClickAction(_event: SchedulerOccurrenceDialogStateChangeEvent<any>, props: SchedulerEditItemProps): ({
|
|
707
|
+
type: DRAG_ITEM_ACTION;
|
|
708
|
+
} | {
|
|
709
|
+
type: SHOW_OCCURRENCE_DIALOG_ACTION;
|
|
710
|
+
})[] | ({
|
|
711
|
+
type: RESIZE_ITEM_ACTION;
|
|
712
|
+
} | {
|
|
713
|
+
type: SHOW_OCCURRENCE_DIALOG_ACTION;
|
|
714
|
+
})[] | ({
|
|
715
|
+
type: SERIES_ACTION;
|
|
716
|
+
payload: boolean;
|
|
717
|
+
} | {
|
|
718
|
+
type: FORM_ITEM_ACTION;
|
|
719
|
+
payload: any;
|
|
720
|
+
} | {
|
|
721
|
+
type: SHOW_OCCURRENCE_DIALOG_ACTION;
|
|
722
|
+
payload?: undefined;
|
|
723
|
+
})[] | ({
|
|
724
|
+
type: SERIES_ACTION;
|
|
725
|
+
payload: boolean;
|
|
726
|
+
} | {
|
|
727
|
+
type: REMOVE_ITEM_ACTION;
|
|
728
|
+
payload: any;
|
|
729
|
+
} | {
|
|
730
|
+
type: SHOW_REMOVE_DIALOG_ACTION;
|
|
731
|
+
payload?: undefined;
|
|
732
|
+
} | {
|
|
733
|
+
type: SHOW_OCCURRENCE_DIALOG_ACTION;
|
|
734
|
+
payload?: undefined;
|
|
735
|
+
})[];
|
|
736
|
+
onSeriesClickAction(_event: SchedulerOccurrenceDialogStateChangeEvent<any>, props: SchedulerEditItemProps): ({
|
|
737
|
+
type: DRAG_ITEM_ACTION;
|
|
738
|
+
} | {
|
|
739
|
+
type: SHOW_OCCURRENCE_DIALOG_ACTION;
|
|
740
|
+
})[] | ({
|
|
741
|
+
type: RESIZE_ITEM_ACTION;
|
|
742
|
+
} | {
|
|
743
|
+
type: SHOW_OCCURRENCE_DIALOG_ACTION;
|
|
744
|
+
})[] | ({
|
|
745
|
+
type: SERIES_ACTION;
|
|
746
|
+
payload: boolean;
|
|
747
|
+
} | {
|
|
748
|
+
type: FORM_ITEM_ACTION;
|
|
749
|
+
payload: any;
|
|
750
|
+
} | {
|
|
751
|
+
type: SHOW_OCCURRENCE_DIALOG_ACTION;
|
|
752
|
+
payload?: undefined;
|
|
753
|
+
})[] | ({
|
|
754
|
+
type: SERIES_ACTION;
|
|
755
|
+
payload: boolean;
|
|
756
|
+
} | {
|
|
757
|
+
type: REMOVE_ITEM_ACTION;
|
|
758
|
+
payload: any;
|
|
759
|
+
} | {
|
|
760
|
+
type: SHOW_REMOVE_DIALOG_ACTION;
|
|
761
|
+
payload?: undefined;
|
|
762
|
+
} | {
|
|
763
|
+
type: SHOW_OCCURRENCE_DIALOG_ACTION;
|
|
764
|
+
payload?: undefined;
|
|
765
|
+
})[];
|
|
766
|
+
onKeyDownAction(event: SchedulerItemKeyboardEvent, props: SchedulerEditItemProps): ({
|
|
767
|
+
type: FORM_ITEM_ACTION;
|
|
768
|
+
payload: any;
|
|
769
|
+
} | {
|
|
770
|
+
type: SHOW_OCCURRENCE_DIALOG_ACTION;
|
|
771
|
+
payload?: undefined;
|
|
772
|
+
})[] | ({
|
|
773
|
+
type: ITEMS_FOCUS_ACTION;
|
|
774
|
+
ignoreIsAllDay: boolean;
|
|
775
|
+
} | {
|
|
776
|
+
type: ITEMS_SELECT_ACTION;
|
|
777
|
+
ignoreIsAllDay: boolean;
|
|
778
|
+
})[] | {
|
|
779
|
+
type: SLOTS_FOCUS_ACTION;
|
|
780
|
+
slot: any;
|
|
781
|
+
}[] | ({
|
|
782
|
+
type: REMOVE_ITEM_ACTION;
|
|
783
|
+
payload: any;
|
|
784
|
+
} | {
|
|
785
|
+
type: SHOW_OCCURRENCE_DIALOG_ACTION;
|
|
786
|
+
payload?: undefined;
|
|
787
|
+
} | {
|
|
788
|
+
type: SHOW_REMOVE_DIALOG_ACTION;
|
|
789
|
+
payload?: undefined;
|
|
790
|
+
})[];
|
|
791
|
+
onFormSubmitAction(event: SchedulerFormStateChangeEvent<DataItem | null>): {
|
|
792
|
+
type: FORM_ITEM_ACTION;
|
|
793
|
+
payload: any;
|
|
794
|
+
};
|
|
795
|
+
onRemoveConfirmAction(): ({
|
|
796
|
+
type: REMOVE_ITEM_ACTION;
|
|
797
|
+
} | {
|
|
798
|
+
type: SHOW_OCCURRENCE_DIALOG_ACTION;
|
|
799
|
+
})[];
|
|
800
|
+
onCancelAction(): ({
|
|
801
|
+
type: SERIES_ACTION;
|
|
802
|
+
} | {
|
|
803
|
+
type: REMOVE_ITEM_ACTION;
|
|
804
|
+
} | {
|
|
805
|
+
type: FORM_ITEM_ACTION;
|
|
806
|
+
} | {
|
|
807
|
+
type: DRAG_ITEM_ACTION;
|
|
808
|
+
} | {
|
|
809
|
+
type: RESIZE_ITEM_ACTION;
|
|
810
|
+
} | {
|
|
811
|
+
type: SHOW_REMOVE_DIALOG_ACTION;
|
|
812
|
+
} | {
|
|
813
|
+
type: SHOW_OCCURRENCE_DIALOG_ACTION;
|
|
814
|
+
})[];
|
|
815
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
816
|
+
tabIndex: {
|
|
817
|
+
type: PropType<number>;
|
|
818
|
+
default: any;
|
|
819
|
+
};
|
|
820
|
+
item: PropType<any>;
|
|
821
|
+
viewItem: PropType<any>;
|
|
822
|
+
drag: PropType<any>;
|
|
823
|
+
resize: PropType<any>;
|
|
824
|
+
form: PropType<any>;
|
|
825
|
+
removeDialog: PropType<any>;
|
|
826
|
+
occurrenceDialog: PropType<any>;
|
|
827
|
+
formItem: PropType<any>;
|
|
828
|
+
dragItem: PropType<any>;
|
|
829
|
+
resizeItem: PropType<any>;
|
|
830
|
+
removeItem: PropType<any>;
|
|
831
|
+
showOccurrenceDialog: {
|
|
832
|
+
type: PropType<boolean>;
|
|
833
|
+
default: any;
|
|
834
|
+
};
|
|
835
|
+
showRemoveDialog: {
|
|
836
|
+
type: PropType<boolean>;
|
|
837
|
+
default: any;
|
|
838
|
+
};
|
|
839
|
+
series: {
|
|
840
|
+
type: PropType<boolean>;
|
|
841
|
+
default: any;
|
|
842
|
+
};
|
|
843
|
+
uid: PropType<string | number>;
|
|
844
|
+
start: PropType<Date>;
|
|
845
|
+
end: PropType<Date>;
|
|
846
|
+
originalStart: PropType<Date>;
|
|
847
|
+
startTimezone: PropType<string>;
|
|
848
|
+
endTimezone: PropType<string>;
|
|
849
|
+
isAllDay: PropType<boolean>;
|
|
850
|
+
title: PropType<string>;
|
|
851
|
+
description: PropType<string>;
|
|
852
|
+
occurrenceId: PropType<string>;
|
|
853
|
+
recurrenceExceptions: PropType<Date[]>;
|
|
854
|
+
recurrenceRule: PropType<string>;
|
|
855
|
+
recurrenceId: PropType<string | number>;
|
|
856
|
+
dataItem: PropType<any>;
|
|
857
|
+
head: PropType<boolean>;
|
|
858
|
+
tail: PropType<boolean>;
|
|
859
|
+
order: PropType<number>;
|
|
860
|
+
zonedStart: PropType<import('@progress/kendo-date-math').ZonedDate>;
|
|
861
|
+
zonedEnd: PropType<import('@progress/kendo-date-math').ZonedDate>;
|
|
862
|
+
slots: PropType<import('../models/Slot').Slot[]>;
|
|
863
|
+
group: PropType<import('../models/Group').Group>;
|
|
864
|
+
range: PropType<import('../models/Range').Range>;
|
|
865
|
+
isException: PropType<boolean>;
|
|
866
|
+
isRecurring: PropType<boolean>;
|
|
867
|
+
id: PropType<string>;
|
|
868
|
+
className: PropType<string>;
|
|
869
|
+
itemStyle: PropType<any>;
|
|
870
|
+
editable: PropType<boolean | import('../models/EditableProp').EditableProp>;
|
|
871
|
+
selected: PropType<boolean>;
|
|
872
|
+
vertical: PropType<boolean>;
|
|
873
|
+
dragHint: PropType<boolean>;
|
|
874
|
+
resizeHint: PropType<boolean>;
|
|
875
|
+
format: PropType<string>;
|
|
876
|
+
ignoreIsAllDay: PropType<boolean>;
|
|
877
|
+
itemRef: PropType<any>;
|
|
878
|
+
onRemoveclick: PropType<(e: any) => void>;
|
|
879
|
+
onDataaction: PropType<(action: DataAction, event?: any) => void>;
|
|
880
|
+
onFormItemChange: PropType<(event: SchedulerEditItemStateChangeEvent<DataItem | null>) => void>;
|
|
881
|
+
onDragitemchange: PropType<(event: SchedulerEditItemStateChangeEvent<DataItem | null>) => void>;
|
|
882
|
+
onResizeitemchange: PropType<(event: SchedulerEditItemStateChangeEvent<DataItem | null>) => void>;
|
|
883
|
+
}>> & Readonly<{}>, {
|
|
884
|
+
tabIndex: number;
|
|
885
|
+
showOccurrenceDialog: boolean;
|
|
886
|
+
showRemoveDialog: boolean;
|
|
887
|
+
series: boolean;
|
|
888
|
+
}, {}, {}, {}, string, () => {
|
|
889
|
+
ei: any;
|
|
890
|
+
ksCancel: any;
|
|
891
|
+
ksFormSubmit: any;
|
|
892
|
+
ksOccurrenceClick: any;
|
|
893
|
+
ksSeriesClick: any;
|
|
894
|
+
ksRemoveConfirm: any;
|
|
895
|
+
}, true, {}, any>;
|
|
896
|
+
export { SchedulerEditItem };
|