@bryntum/calendar-angular-thin 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -0
- package/bryntum-calendar-angular-thin.d.ts +5 -0
- package/bundles/bryntum-calendar-angular-thin.umd.js +22195 -0
- package/bundles/bryntum-calendar-angular-thin.umd.js.map +1 -0
- package/esm2015/bryntum-calendar-angular-thin.js +5 -0
- package/esm2015/lib/bryntum-agenda-view.component.js +2503 -0
- package/esm2015/lib/bryntum-calendar-date-picker.component.js +1045 -0
- package/esm2015/lib/bryntum-calendar-project-model.component.js +369 -0
- package/esm2015/lib/bryntum-calendar.component.js +2355 -0
- package/esm2015/lib/bryntum-day-agenda-view.component.js +1338 -0
- package/esm2015/lib/bryntum-day-resource-view.component.js +1347 -0
- package/esm2015/lib/bryntum-day-view.component.js +1323 -0
- package/esm2015/lib/bryntum-event-list.component.js +2453 -0
- package/esm2015/lib/bryntum-mode-selector.component.js +702 -0
- package/esm2015/lib/bryntum-month-agenda-view.component.js +1201 -0
- package/esm2015/lib/bryntum-month-grid.component.js +1262 -0
- package/esm2015/lib/bryntum-month-view.component.js +1337 -0
- package/esm2015/lib/bryntum-range-menu.component.js +884 -0
- package/esm2015/lib/bryntum-resource-view.component.js +1068 -0
- package/esm2015/lib/bryntum-week-view.component.js +1323 -0
- package/esm2015/lib/bryntum-year-view.component.js +1163 -0
- package/esm2015/lib/calendar.module.js +99 -0
- package/esm2015/lib/wrapper.helper.js +74 -0
- package/esm2015/public-api.js +21 -0
- package/fesm2015/bryntum-calendar-angular-thin.js +21714 -0
- package/fesm2015/bryntum-calendar-angular-thin.js.map +1 -0
- package/lib/bryntum-agenda-view.component.d.ts +2953 -0
- package/lib/bryntum-calendar-date-picker.component.d.ts +1525 -0
- package/lib/bryntum-calendar-project-model.component.d.ts +399 -0
- package/lib/bryntum-calendar.component.d.ts +2577 -0
- package/lib/bryntum-day-agenda-view.component.d.ts +1960 -0
- package/lib/bryntum-day-resource-view.component.d.ts +2025 -0
- package/lib/bryntum-day-view.component.d.ts +1980 -0
- package/lib/bryntum-event-list.component.d.ts +2888 -0
- package/lib/bryntum-mode-selector.component.d.ts +851 -0
- package/lib/bryntum-month-agenda-view.component.d.ts +1765 -0
- package/lib/bryntum-month-grid.component.d.ts +1731 -0
- package/lib/bryntum-month-view.component.d.ts +1897 -0
- package/lib/bryntum-range-menu.component.d.ts +1130 -0
- package/lib/bryntum-resource-view.component.d.ts +1512 -0
- package/lib/bryntum-week-view.component.d.ts +1980 -0
- package/lib/bryntum-year-view.component.d.ts +1661 -0
- package/lib/calendar.module.d.ts +22 -0
- package/lib/wrapper.helper.d.ts +26 -0
- package/package.json +33 -0
- package/public-api.d.ts +17 -0
|
@@ -0,0 +1,2577 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Angular wrapper for Bryntum Calendar
|
|
3
|
+
*/
|
|
4
|
+
import { ElementRef, SimpleChanges, OnDestroy, OnInit } from '@angular/core';
|
|
5
|
+
import { AlignSpec, Base, ButtonConfig, ContainerConfig, DatePickerConfig, DomConfig, KeyMapConfig, Layout, Mask, MaskConfig, MenuItemConfig, Model, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, TextFieldConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget, WidgetConfig } from '@bryntum/core-thin';
|
|
6
|
+
import { AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, CrudManager as SchedulerCrudManager, EventModel, EventModelConfig, EventStore, EventStoreConfig, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, ResourceFilterConfig, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig } from '@bryntum/scheduler-thin';
|
|
7
|
+
import { AgendaViewConfig, Calendar, CalendarDatePickerConfig, CalendarDrag, CalendarDragConfig, CalendarListeners, CalendarToolbarConfig, CalendarView, CalendarContainerItemConfig, CalendarContainerLayoutConfig, CrudManagerConfig, DayAgendaViewConfig, DayResourceViewConfig, DayViewConfig, EventBuffer, EventBufferConfig, EventCopyPaste, EventCopyPasteConfig, EventEdit, EventEditConfig, EventListConfig, EventMenu, EventMenuConfig, EventTooltip, EventTooltipConfig, ExcelExporter, ExcelExporterConfig, ExternalEventSource, ExternalEventSourceConfig, LoadOnDemand, LoadOnDemandConfig, MonthAgendaViewConfig, MonthGridConfig, MonthViewConfig, Print, PrintConfig, ProjectModel, ProjectModelConfig, ResourceViewConfig, ScheduleMenu, ScheduleMenuConfig, ScheduleTooltip, ScheduleTooltipConfig, TimeRangeModel, TimeRangeModelConfig, TimeRangeStore, TimeRangeStoreConfig, TimeRanges, TimeRangesConfig, WeekExpander, WeekExpanderConfig, WeekViewConfig, YearViewConfig } from '@bryntum/calendar-thin';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare type BryntumCalendarProps = {
|
|
10
|
+
/**
|
|
11
|
+
* An optional CSS class name to add to calendar date cells which encapsulate the calendar's
|
|
12
|
+
* active [date](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#property-date).
|
|
13
|
+
* ...
|
|
14
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-activeDateCls)
|
|
15
|
+
*/
|
|
16
|
+
activeDateCls?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
19
|
+
* content will be placed inside this element.
|
|
20
|
+
* ...
|
|
21
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-adopt)
|
|
22
|
+
*/
|
|
23
|
+
adopt?: HTMLElement | string;
|
|
24
|
+
/**
|
|
25
|
+
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
26
|
+
* ...
|
|
27
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-align)
|
|
28
|
+
*/
|
|
29
|
+
align?: AlignSpec | string;
|
|
30
|
+
/**
|
|
31
|
+
* When this widget is a child of a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container), it will by default be participating in a
|
|
32
|
+
* flexbox layout. This config allows you to set this widget's
|
|
33
|
+
* [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
|
|
34
|
+
*/
|
|
35
|
+
alignSelf?: string;
|
|
36
|
+
/**
|
|
37
|
+
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*
|
|
38
|
+
* `true` to show a connector arrow pointing to the align target.
|
|
39
|
+
*/
|
|
40
|
+
anchor?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
43
|
+
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
44
|
+
*/
|
|
45
|
+
appendTo?: HTMLElement | string;
|
|
46
|
+
/**
|
|
47
|
+
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
48
|
+
* into an element which will be linked using the `aria-describedby` attribute.
|
|
49
|
+
* ...
|
|
50
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-ariaDescription)
|
|
51
|
+
*/
|
|
52
|
+
ariaDescription?: string;
|
|
53
|
+
/**
|
|
54
|
+
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
55
|
+
* the `aria-label` attribute.
|
|
56
|
+
* ...
|
|
57
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-ariaLabel)
|
|
58
|
+
*/
|
|
59
|
+
ariaLabel?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Inline assignments, will be loaded into the [assignmentStore](https://bryntum.com/products/calendar/docs/api/Calendar/mixin/CalendarStores#property-assignmentStore).
|
|
62
|
+
*/
|
|
63
|
+
assignments?: AssignmentModel[] | AssignmentModelConfig[];
|
|
64
|
+
/**
|
|
65
|
+
* The [AssignmentStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/AssignmentStore) or a reconfiguring object for a store which will hold assignments linking resources to events.
|
|
66
|
+
*/
|
|
67
|
+
assignmentStore?: AssignmentStore | AssignmentStoreConfig;
|
|
68
|
+
/**
|
|
69
|
+
* If this config is set, then the `gesture` configured (which defaults to `dblclick`) creates a
|
|
70
|
+
* new event at the mouse or touch event's time point.
|
|
71
|
+
* ...
|
|
72
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-autoCreate)
|
|
73
|
+
*/
|
|
74
|
+
autoCreate?: {
|
|
75
|
+
gesture?: string;
|
|
76
|
+
newName?: Function | string;
|
|
77
|
+
step?: string;
|
|
78
|
+
duration?: string;
|
|
79
|
+
startHour?: number | string;
|
|
80
|
+
} | string | boolean;
|
|
81
|
+
/**
|
|
82
|
+
* A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar),
|
|
83
|
+
* or array of config objects representing the child items of a Toolbar. Another way to add a bbar is to use [strips](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips).
|
|
84
|
+
* ...
|
|
85
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-bbar)
|
|
86
|
+
*/
|
|
87
|
+
bbar?: (CalendarContainerItemConfig | string)[] | ToolbarConfig | PagingToolbarConfig | null;
|
|
88
|
+
/**
|
|
89
|
+
* Custom CSS classes to add to the panel's body element.
|
|
90
|
+
* ...
|
|
91
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-bodyCls)
|
|
92
|
+
*/
|
|
93
|
+
bodyCls?: string | object;
|
|
94
|
+
/**
|
|
95
|
+
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
96
|
+
* hierarchy when triggered.
|
|
97
|
+
* ...
|
|
98
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-bubbleEvents)
|
|
99
|
+
*/
|
|
100
|
+
bubbleEvents?: object;
|
|
101
|
+
/**
|
|
102
|
+
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
103
|
+
* ...
|
|
104
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-callOnFunctions)
|
|
105
|
+
*/
|
|
106
|
+
callOnFunctions?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
109
|
+
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
110
|
+
* ...
|
|
111
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-catchEventHandlerExceptions)
|
|
112
|
+
*/
|
|
113
|
+
catchEventHandlerExceptions?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
116
|
+
* Set to `true` to centre the Widget in browser viewport space.
|
|
117
|
+
*/
|
|
118
|
+
centered?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Custom CSS classes to add to element.
|
|
121
|
+
* May be specified as a space separated string, or as an object in which property names
|
|
122
|
+
* with truthy values are used as the class names:
|
|
123
|
+
* ...
|
|
124
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-cls)
|
|
125
|
+
*/
|
|
126
|
+
cls?: string | object;
|
|
127
|
+
/**
|
|
128
|
+
* Controls whether the panel is collapsed (the body of the panel is hidden while only the header is
|
|
129
|
+
* visible). Only valid if the panel is [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible).
|
|
130
|
+
*/
|
|
131
|
+
collapsed?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsed).
|
|
134
|
+
* ...
|
|
135
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-collapsible)
|
|
136
|
+
*/
|
|
137
|
+
collapsible?: boolean | PanelCollapserConfig | PanelCollapserOverlayConfig;
|
|
138
|
+
/**
|
|
139
|
+
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
140
|
+
* `style` block.
|
|
141
|
+
* ...
|
|
142
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-color)
|
|
143
|
+
*/
|
|
144
|
+
color?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Programmatic control over which column to start in when used in a grid layout.
|
|
147
|
+
*/
|
|
148
|
+
column?: number;
|
|
149
|
+
config?: object;
|
|
150
|
+
/**
|
|
151
|
+
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*
|
|
152
|
+
* Element, Widget or Rectangle to which this Widget is constrained.
|
|
153
|
+
*/
|
|
154
|
+
constrainTo?: HTMLElement | Widget | Rectangle;
|
|
155
|
+
/**
|
|
156
|
+
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
|
|
157
|
+
* May be specified as a space separated string, or as an object in which property names
|
|
158
|
+
* with truthy values are used as the class names:
|
|
159
|
+
* ...
|
|
160
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-contentElementCls)
|
|
161
|
+
*/
|
|
162
|
+
contentElementCls?: string | object;
|
|
163
|
+
/**
|
|
164
|
+
* Event which is used to show context menus via the context menu features
|
|
165
|
+
* [EventMenu](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventMenu) and [ScheduleMenu](#Calendar/feature/ScheduleMenu).
|
|
166
|
+
* Available options are: 'contextmenu', 'click', 'dblclick'.
|
|
167
|
+
*/
|
|
168
|
+
contextMenuTriggerEvent?: 'contextmenu' | 'click' | 'dblclick';
|
|
169
|
+
/**
|
|
170
|
+
* Supply a [CrudManager](https://bryntum.com/products/calendar/docs/api/Scheduler/data/CrudManager) instance or a config object if you want to use
|
|
171
|
+
* CrudManager for handling data.
|
|
172
|
+
*/
|
|
173
|
+
crudManager?: CrudManagerConfig | SchedulerCrudManager;
|
|
174
|
+
/**
|
|
175
|
+
* Class that should be used to instantiate a CrudManager in case it's provided as a simple object to
|
|
176
|
+
* [crudManager](https://bryntum.com/products/calendar/docs/api/Calendar/mixin/CalendarStores#config-crudManager) config.
|
|
177
|
+
*/
|
|
178
|
+
crudManagerClass?: SchedulerCrudManager;
|
|
179
|
+
/**
|
|
180
|
+
* When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
|
|
181
|
+
* field on the expanded record to use for populating this widget's store (if applicable)
|
|
182
|
+
*/
|
|
183
|
+
dataField?: string;
|
|
184
|
+
/**
|
|
185
|
+
* Object to apply to elements dataset (each key will be used as a data-attribute on the element)
|
|
186
|
+
*/
|
|
187
|
+
dataset?: Record<string, string>;
|
|
188
|
+
/**
|
|
189
|
+
* The date which the Calendar, its [sidebar](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#property-sidebar)'s date picker, and
|
|
190
|
+
* its active view should encapsulate upon creation.
|
|
191
|
+
* ...
|
|
192
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-date)
|
|
193
|
+
*/
|
|
194
|
+
date?: Date | string;
|
|
195
|
+
/**
|
|
196
|
+
* A [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string to use to create date output for
|
|
197
|
+
* view descriptions.
|
|
198
|
+
*/
|
|
199
|
+
dateFormat?: string;
|
|
200
|
+
/**
|
|
201
|
+
* An optional config object to configure the [CalendarDatePicker](https://bryntum.com/products/calendar/docs/api/Calendar/widget/CalendarDatePicker) which is
|
|
202
|
+
* shown in the [sidebar](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#property-sidebar) next to the calendar views.
|
|
203
|
+
* ...
|
|
204
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-datePicker)
|
|
205
|
+
* @param {boolean,'count','dots'} datePicker.showEvents Displays the presence of events in each cell. values may be: * `false` - Do not show events in cells. * `true` - Show a themeable bullet to indicate the presence of events for a date. * `'count'` - Show a themeable badge containing the event count for a date. * '`dots'` - Show small event-coloured bullets (to a maximum of three) below the date.
|
|
206
|
+
* @param {boolean} datePicker.collapsible `true` to enable collapse into a header.
|
|
207
|
+
* @param {string} datePicker.title The text to place in a header above the picker.
|
|
208
|
+
* @param {boolean} datePicker.editMonth `true` to enable setting the date using the controls in the DatePicker header.
|
|
209
|
+
* @param {boolean,'range'} multiSelect The DatePicker can select [multiple dates](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-multiSelect) in two modes: * `true` to mean many discontiguous dates may be selected. * `'range'` to mean that a start date and end date may be selected. If set up to multi select, views which are not fixed to a date duration will obey the date selection by using a [dateFilter](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#property-dateFilter) to skip days which are not selected. These include: * AgendaView (mode type `'agenda'`) * DayViews (view type `'dayview'`) which you add to the modes - The default `day` and `week` modes have a fixed duration. * ResourceView (view type `'resourceview'`) * DayResourceView (view type `'dayresourceview'`) The `MonthView`, and the `WeekView` and the built-in single day `DayView` <strong>mode</strong> all have fixed duration and will not participate in this. If you select a discontiguous range, then the views which are amenable to being controlled in this way will switch their range to encompass what you have selected. For example, if you select the first to the last days of a month, the view's [range](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DateRangeOwner#property-range) will be set to `'1 month'`. This choice will be maintained, and by navigating using the next and previous tbar buttons, the views will move by exactly one month. If your set of selected dates is enclosed within a two week block, then the [range](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DateRangeOwner#property-range) of the views will be set to `{ unit : 'week', magnitude : 2 }`. If you select the 1st, 3th and 5th of the month, and those days are all on one week row, the [range](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DateRangeOwner#property-range) of the views will be set to `{ unit : 'week', magnitude : 1 }`. For selection ranges other than exactly one month, navigation in time will be in increments of one week for intuitive navigation up and down the date picker. When navigating in time, the selected block of dates moves and *follows the time navigation* so that there are always dates in view, even if they are empty.
|
|
210
|
+
*/
|
|
211
|
+
datePicker?: CalendarDatePickerConfig | boolean | null;
|
|
212
|
+
/**
|
|
213
|
+
* The name of the property to set when a single value is to be applied to this Widget. Such as when used
|
|
214
|
+
* in a grid WidgetColumn, this is the property to which the column's `field` is applied.
|
|
215
|
+
*/
|
|
216
|
+
defaultBindProperty?: string;
|
|
217
|
+
/**
|
|
218
|
+
* The calendar ([Resource](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel)), (or its `id`) to use as the
|
|
219
|
+
* default calendar for new events created using [dblclick](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-autoCreate)
|
|
220
|
+
* or [drag-create](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag), or [dragging in](#Calendar/feature/ExternalEventSource).
|
|
221
|
+
* ...
|
|
222
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-defaultCalendar)
|
|
223
|
+
*/
|
|
224
|
+
defaultCalendar?: string | ResourceModel;
|
|
225
|
+
/**
|
|
226
|
+
* A [query](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
|
|
227
|
+
* focus should be directed by default.
|
|
228
|
+
* ...
|
|
229
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-defaultFocus)
|
|
230
|
+
* @param {Core.widget.Widget} widget Widget passed to method
|
|
231
|
+
* @returns {boolean} truthy value if widget is the default one
|
|
232
|
+
*/
|
|
233
|
+
defaultFocus?: ((widget: Widget) => boolean) | string;
|
|
234
|
+
/**
|
|
235
|
+
* A config object containing default settings to apply to all child widgets.
|
|
236
|
+
*/
|
|
237
|
+
defaults?: CalendarContainerItemConfig;
|
|
238
|
+
/**
|
|
239
|
+
* Configure as `false` to preserve selection when clicking the empty schedule area.
|
|
240
|
+
*/
|
|
241
|
+
deselectAllOnScheduleClick?: boolean;
|
|
242
|
+
/**
|
|
243
|
+
* Configure as `true` to deselect a selected event upon click.
|
|
244
|
+
*/
|
|
245
|
+
deselectOnClick?: boolean;
|
|
246
|
+
/**
|
|
247
|
+
* Configure as `true` to destroy the Project and stores when `this` is destroyed.
|
|
248
|
+
*/
|
|
249
|
+
destroyStores?: boolean;
|
|
250
|
+
/**
|
|
251
|
+
* Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
|
|
252
|
+
* ...
|
|
253
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-detectCSSCompatibilityIssues)
|
|
254
|
+
*/
|
|
255
|
+
detectCSSCompatibilityIssues?: boolean;
|
|
256
|
+
/**
|
|
257
|
+
* Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
|
|
258
|
+
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
259
|
+
* ...
|
|
260
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-disabled)
|
|
261
|
+
*/
|
|
262
|
+
disabled?: boolean | 'inert';
|
|
263
|
+
/**
|
|
264
|
+
* Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel)
|
|
265
|
+
* [strips collection](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
266
|
+
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
267
|
+
* body. Such widgets are called "edge strips".
|
|
268
|
+
* ...
|
|
269
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-dock)
|
|
270
|
+
*/
|
|
271
|
+
dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
|
|
272
|
+
/**
|
|
273
|
+
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
274
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
275
|
+
* property which controls when a drag should start.
|
|
276
|
+
* ...
|
|
277
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-draggable)
|
|
278
|
+
*/
|
|
279
|
+
draggable?: boolean | {
|
|
280
|
+
handleSelector?: string;
|
|
281
|
+
};
|
|
282
|
+
/**
|
|
283
|
+
* Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
|
|
284
|
+
* ...
|
|
285
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-drawer)
|
|
286
|
+
* @param {'start','left','end','right','top','bottom'} side The side of the viewport to dock the drawer to. * `'start'` means the `inline-start` side. * `'end'` means the `inline-end` side.
|
|
287
|
+
* @param {string,number} size The size of the drawer in its collapsible axis.
|
|
288
|
+
* @param {boolean} inline If using the [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-appendTo) config to place the drawer inside a host widget, this may be set to `true` to make the drawer inline within that host. Note that, if using this, the layout of the host element must have `flex-direction` set appropriately.
|
|
289
|
+
* @param {boolean,object} autoClose Specifies what user actions should automatically close the drawer. Defaults to closing when the user clicks outside of the drawer or when focus moves outside of the drawer.
|
|
290
|
+
* @param {boolean,string} autoClose.mousedown If the user clicks outside of the drawer, the drawer will automatically be hidden. If the value is a string, it is used as a CSS selector to filter clicks which should close the drawer.
|
|
291
|
+
* @param {boolean,string} autoClose.focusout If focus moves outside of the drawer, the drawer will automatically be hidden.
|
|
292
|
+
* @param {string} autoClose.mouseout Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
|
|
293
|
+
* @param {number} autoCloseDelay When using `mouseout`, this is the delay in milliseconds
|
|
294
|
+
*/
|
|
295
|
+
drawer?: boolean | {
|
|
296
|
+
side?: 'start' | 'left' | 'end' | 'right' | 'top' | 'bottom';
|
|
297
|
+
size?: string | number;
|
|
298
|
+
inline?: boolean;
|
|
299
|
+
autoClose: {
|
|
300
|
+
mousedown?: boolean | string;
|
|
301
|
+
focusout?: boolean | string;
|
|
302
|
+
mouseout?: string;
|
|
303
|
+
};
|
|
304
|
+
autoCloseDelay?: number;
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* An object specifying attributes to assign to the root element of this widget.
|
|
308
|
+
* Set `null` value to attribute to remove it.
|
|
309
|
+
* ...
|
|
310
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-elementAttributes)
|
|
311
|
+
*/
|
|
312
|
+
elementAttributes?: Record<string, string | null>;
|
|
313
|
+
/**
|
|
314
|
+
* Allow using [Delete] and [Backspace] to remove events/assignments
|
|
315
|
+
*/
|
|
316
|
+
enableDeleteKey?: boolean;
|
|
317
|
+
/**
|
|
318
|
+
* Enables events being recurring and also adds extra recurrence UI fields in the built-in event editor.
|
|
319
|
+
* ...
|
|
320
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-enableRecurringEvents)
|
|
321
|
+
*/
|
|
322
|
+
enableRecurringEvents?: boolean | {
|
|
323
|
+
defaultAction?: 'single' | 'future';
|
|
324
|
+
};
|
|
325
|
+
/**
|
|
326
|
+
* Set to `true` to listen for CTRL-Z (CMD-Z on Mac OS) keyboard event and trigger undo (redo when SHIFT is pressed).
|
|
327
|
+
* Only applicable when using a [StateTrackingManager](https://bryntum.com/products/calendar/docs/api/Core/data/stm/StateTrackingManager).
|
|
328
|
+
*/
|
|
329
|
+
enableUndoRedoKeys?: boolean;
|
|
330
|
+
/**
|
|
331
|
+
* Inline events, will be loaded into the [eventStore](https://bryntum.com/products/calendar/docs/api/Calendar/mixin/CalendarStores#property-eventStore).
|
|
332
|
+
*/
|
|
333
|
+
events?: EventModel[] | EventModelConfig[];
|
|
334
|
+
/**
|
|
335
|
+
* Configure as `true`, or set property to `true` to disable event selection.
|
|
336
|
+
*/
|
|
337
|
+
eventSelectionDisabled?: boolean;
|
|
338
|
+
/**
|
|
339
|
+
* The [EventStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/EventStore) or a reconfiguring object for a store which will hold
|
|
340
|
+
* the events to be rendered into the Calendar.
|
|
341
|
+
*/
|
|
342
|
+
eventStore?: EventStore | EventStoreConfig;
|
|
343
|
+
extraData?: any;
|
|
344
|
+
/**
|
|
345
|
+
* If this is set to `true`, then when determining which assigned resource of a multi assigned event
|
|
346
|
+
* to use to create the event UI, the first resource which is still selected in the
|
|
347
|
+
* [resourceFilter](https://bryntum.com/products/calendar/docs/api/Calendar/widget/Sidebar#property-resourceFilter) is used.
|
|
348
|
+
* ...
|
|
349
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-filterEventResources)
|
|
350
|
+
*/
|
|
351
|
+
filterEventResources?: boolean;
|
|
352
|
+
/**
|
|
353
|
+
* When this widget is a child of a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container), it will by default be participating in a
|
|
354
|
+
* flexbox layout. This config allows you to set this widget's
|
|
355
|
+
* [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
|
|
356
|
+
* This may be configured as a single number or a `<flex-grow> <flex-shrink> <flex-basis>` format string.
|
|
357
|
+
* numeric-only values are interpreted as the `flex-grow` value.
|
|
358
|
+
*/
|
|
359
|
+
flex?: number | string;
|
|
360
|
+
/**
|
|
361
|
+
* Set to `true` to move the widget out of the document flow and position it
|
|
362
|
+
* absolutely in browser viewport space.
|
|
363
|
+
*/
|
|
364
|
+
floating?: boolean;
|
|
365
|
+
/**
|
|
366
|
+
* Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
|
|
367
|
+
* but rather plain HTML that follows the last element of the panel's body and [strips](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips).
|
|
368
|
+
* ...
|
|
369
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-footer)
|
|
370
|
+
*/
|
|
371
|
+
footer?: {
|
|
372
|
+
dock?: 'top' | 'right' | 'bottom' | 'left' | 'start' | 'end';
|
|
373
|
+
html?: string;
|
|
374
|
+
cls?: string;
|
|
375
|
+
} | string;
|
|
376
|
+
/**
|
|
377
|
+
* A config [object](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#typedef-PanelHeader) for the panel's header or a string in place of a `title`.
|
|
378
|
+
* ...
|
|
379
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-header)
|
|
380
|
+
*/
|
|
381
|
+
header?: string | boolean | PanelHeader;
|
|
382
|
+
/**
|
|
383
|
+
* Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
|
|
384
|
+
* which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
|
|
385
|
+
* cases this config is convenient.
|
|
386
|
+
*/
|
|
387
|
+
height?: string | number;
|
|
388
|
+
/**
|
|
389
|
+
* Configure with true to make widget initially hidden.
|
|
390
|
+
*/
|
|
391
|
+
hidden?: boolean;
|
|
392
|
+
/**
|
|
393
|
+
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
394
|
+
* ...
|
|
395
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-hideAnimation)
|
|
396
|
+
*/
|
|
397
|
+
hideAnimation?: boolean | object;
|
|
398
|
+
/**
|
|
399
|
+
* Configure as `true` to hide [nonWorkingDays](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-nonWorkingDays) for each calendar view
|
|
400
|
+
*/
|
|
401
|
+
hideNonWorkingDays?: boolean;
|
|
402
|
+
/**
|
|
403
|
+
* Specify `true` to make this container hide when it has no visible children (Either empty
|
|
404
|
+
* or all children hidden).
|
|
405
|
+
* ...
|
|
406
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-hideWhenEmpty)
|
|
407
|
+
*/
|
|
408
|
+
hideWhenEmpty?: boolean;
|
|
409
|
+
/**
|
|
410
|
+
* Configure this as `true` to make picking a date in the [sidebar](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-sidebar)'s
|
|
411
|
+
* date picker highlight the date cell in the active view.
|
|
412
|
+
* ...
|
|
413
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-highlightDate)
|
|
414
|
+
* @param {Date} date Cell date
|
|
415
|
+
* @returns {boolean} Returns `true` to make picking a date in a date picker
|
|
416
|
+
*/
|
|
417
|
+
highlightDate?: boolean | ((date: Date) => boolean);
|
|
418
|
+
/**
|
|
419
|
+
* Configure as `true`, or set property to `true` to highlight dependent events as well when selecting an event.
|
|
420
|
+
*/
|
|
421
|
+
highlightPredecessors?: boolean;
|
|
422
|
+
/**
|
|
423
|
+
* Configure as `true`, or set property to `true` to highlight dependent events as well when selecting an event.
|
|
424
|
+
*/
|
|
425
|
+
highlightSuccessors?: boolean;
|
|
426
|
+
/**
|
|
427
|
+
* An icon to show before the [title](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-title). Either pass a CSS class as a string, or pass a
|
|
428
|
+
* [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) object describing an element to represent the icon.
|
|
429
|
+
*/
|
|
430
|
+
icon?: string | DomConfig;
|
|
431
|
+
/**
|
|
432
|
+
* Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
|
|
433
|
+
*/
|
|
434
|
+
id?: string;
|
|
435
|
+
/**
|
|
436
|
+
* Determines if the widgets read-only state should be controlled by its parent.
|
|
437
|
+
* ...
|
|
438
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-ignoreParentReadOnly)
|
|
439
|
+
*/
|
|
440
|
+
ignoreParentReadOnly?: boolean;
|
|
441
|
+
/**
|
|
442
|
+
* Set to `true` to show the "Weekends" toggle button of the mode selector. Alternatively, this config
|
|
443
|
+
* can be a [Button](https://bryntum.com/products/calendar/docs/api/Core/widget/Button) config object to configure the button.
|
|
444
|
+
* ...
|
|
445
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-includeWeekendsButton)
|
|
446
|
+
*/
|
|
447
|
+
includeWeekendsButton?: boolean | ButtonConfig;
|
|
448
|
+
/**
|
|
449
|
+
* Convenience setting to align input fields of child widgets. By default, the Field input element is
|
|
450
|
+
* placed immediately following the `label`. If you prefer to have all input fields aligned to the
|
|
451
|
+
* right, set this config to `'end'`.
|
|
452
|
+
* ...
|
|
453
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-inputFieldAlign)
|
|
454
|
+
*/
|
|
455
|
+
inputFieldAlign?: 'start' | 'end';
|
|
456
|
+
/**
|
|
457
|
+
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
458
|
+
*/
|
|
459
|
+
insertBefore?: HTMLElement | string;
|
|
460
|
+
/**
|
|
461
|
+
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
462
|
+
*/
|
|
463
|
+
insertFirst?: HTMLElement | string;
|
|
464
|
+
/**
|
|
465
|
+
* A template method (empty by default) allowing you to control if an event can be selected or not.
|
|
466
|
+
* ...
|
|
467
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-isEventSelectable)
|
|
468
|
+
* @param {Scheduler.model.EventModel} event The event record
|
|
469
|
+
* @returns {boolean} true if event can be selected, otherwise false
|
|
470
|
+
*/
|
|
471
|
+
isEventSelectable?: (event: EventModel) => boolean;
|
|
472
|
+
/**
|
|
473
|
+
* An optional CSS class to add to child items of this container.
|
|
474
|
+
*/
|
|
475
|
+
itemCls?: string;
|
|
476
|
+
/**
|
|
477
|
+
* The child items of the Calendar view.
|
|
478
|
+
* ...
|
|
479
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-items)
|
|
480
|
+
*/
|
|
481
|
+
items?: object;
|
|
482
|
+
/**
|
|
483
|
+
* The default key shortcuts for the Calendar.
|
|
484
|
+
* ...
|
|
485
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-keyMap)
|
|
486
|
+
*/
|
|
487
|
+
keyMap?: Record<string, KeyMapConfig>;
|
|
488
|
+
/**
|
|
489
|
+
* Convenience setting to use same label placement on all child widgets.
|
|
490
|
+
* ...
|
|
491
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-labelPosition)
|
|
492
|
+
*/
|
|
493
|
+
labelPosition?: 'before' | 'above' | 'align-before' | 'auto' | null;
|
|
494
|
+
/**
|
|
495
|
+
* The short name of a helper class which manages rendering and styling of child items.
|
|
496
|
+
* ...
|
|
497
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-layout)
|
|
498
|
+
*/
|
|
499
|
+
layout?: string | CalendarContainerLayoutConfig;
|
|
500
|
+
/**
|
|
501
|
+
* The CSS style properties to apply to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
|
|
502
|
+
* ...
|
|
503
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-layoutStyle)
|
|
504
|
+
*/
|
|
505
|
+
layoutStyle?: object;
|
|
506
|
+
/**
|
|
507
|
+
* An array of [child item](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-items) *config objects* which is to be converted into
|
|
508
|
+
* instances only when this Container is rendered, rather than eagerly at construct time.
|
|
509
|
+
* ...
|
|
510
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-lazyItems)
|
|
511
|
+
*/
|
|
512
|
+
lazyItems?: Record<string, CalendarContainerItemConfig> | CalendarContainerItemConfig[] | Widget[];
|
|
513
|
+
/**
|
|
514
|
+
* The listener set for this object.
|
|
515
|
+
* ...
|
|
516
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-listeners)
|
|
517
|
+
*/
|
|
518
|
+
listeners?: CalendarListeners;
|
|
519
|
+
/**
|
|
520
|
+
* A [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object, or a message to be shown when a store is performing a remote
|
|
521
|
+
* operation, or Crud Manager is loading data from the sever. Set to `null` to disable default load mask.
|
|
522
|
+
*/
|
|
523
|
+
loadMask?: string | MaskConfig | null;
|
|
524
|
+
/**
|
|
525
|
+
* A [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object to adjust the [maskDefaults](#Core/widget/Widget#config-maskDefaults)
|
|
526
|
+
* when data is loading. The message and optional configuration from the
|
|
527
|
+
* [loadMask](https://bryntum.com/products/calendar/docs/api/Core/mixin/LoadMaskable#config-loadMask) config take priority over these options, just as they do
|
|
528
|
+
* for `maskDefaults`, respectively.
|
|
529
|
+
* ...
|
|
530
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-loadMaskDefaults)
|
|
531
|
+
*/
|
|
532
|
+
loadMaskDefaults?: MaskConfig;
|
|
533
|
+
/**
|
|
534
|
+
* A [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object to adjust the [maskDefaults](#Core/widget/Widget#config-maskDefaults)
|
|
535
|
+
* when an error occurs loading data.
|
|
536
|
+
* ...
|
|
537
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-loadMaskError)
|
|
538
|
+
*/
|
|
539
|
+
loadMaskError?: MaskConfig | Mask | boolean;
|
|
540
|
+
/**
|
|
541
|
+
* A class translations of which are used for translating this entity.
|
|
542
|
+
* This is often used when translations of an item are defined on its container class.
|
|
543
|
+
* For example:
|
|
544
|
+
* ...
|
|
545
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-localeClass)
|
|
546
|
+
*/
|
|
547
|
+
localeClass?: typeof Base;
|
|
548
|
+
/**
|
|
549
|
+
* Set to `false` to disable localization of this object.
|
|
550
|
+
*/
|
|
551
|
+
localizable?: boolean;
|
|
552
|
+
/**
|
|
553
|
+
* List of properties which values should be translated automatically upon a locale applying.
|
|
554
|
+
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
555
|
+
* you could use 'localeKey' meta configuration.
|
|
556
|
+
* Example:
|
|
557
|
+
* ...
|
|
558
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-localizableProperties)
|
|
559
|
+
*/
|
|
560
|
+
localizableProperties?: string[];
|
|
561
|
+
/**
|
|
562
|
+
* This flag controls whether Scheduler should preserve its selection of events when loading a new dataset
|
|
563
|
+
* (if selected event ids are included in the newly loaded dataset).
|
|
564
|
+
*/
|
|
565
|
+
maintainSelectionOnDatasetChange?: boolean;
|
|
566
|
+
/**
|
|
567
|
+
* Widget's margin. This may be configured as a single number or a `TRBL` format string.
|
|
568
|
+
* numeric-only values are interpreted as pixels.
|
|
569
|
+
*/
|
|
570
|
+
margin?: number | string;
|
|
571
|
+
/**
|
|
572
|
+
* This config object contains the defaults for the [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) created for the
|
|
573
|
+
* [masked](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
|
|
574
|
+
* values.
|
|
575
|
+
*/
|
|
576
|
+
maskDefaults?: MaskConfig;
|
|
577
|
+
/**
|
|
578
|
+
* Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
|
|
579
|
+
* [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object.
|
|
580
|
+
*/
|
|
581
|
+
masked?: boolean | string | MaskConfig;
|
|
582
|
+
/**
|
|
583
|
+
* The maximum date to which the `endDate` of any child view may be navigated.
|
|
584
|
+
*/
|
|
585
|
+
maxDate?: Date | string;
|
|
586
|
+
/**
|
|
587
|
+
* The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
|
|
588
|
+
* like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
|
|
589
|
+
*/
|
|
590
|
+
maxHeight?: string | number;
|
|
591
|
+
/**
|
|
592
|
+
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
593
|
+
* ...
|
|
594
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-maximizeOnMobile)
|
|
595
|
+
*/
|
|
596
|
+
maximizeOnMobile?: number | string;
|
|
597
|
+
/**
|
|
598
|
+
* The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
|
|
599
|
+
* like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
|
|
600
|
+
*/
|
|
601
|
+
maxWidth?: string | number;
|
|
602
|
+
/**
|
|
603
|
+
* The minimum date to which the `startDate` of any child view may be navigated.
|
|
604
|
+
*/
|
|
605
|
+
minDate?: Date | string;
|
|
606
|
+
/**
|
|
607
|
+
* The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
|
|
608
|
+
* like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
|
|
609
|
+
*/
|
|
610
|
+
minHeight?: string | number;
|
|
611
|
+
/**
|
|
612
|
+
* The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
|
|
613
|
+
* like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
|
|
614
|
+
*/
|
|
615
|
+
minWidth?: string | number;
|
|
616
|
+
/**
|
|
617
|
+
* Which of the built-in [modes](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-modes) should be the initially active view.
|
|
618
|
+
*/
|
|
619
|
+
mode?: 'agenda' | 'year' | 'month' | 'week' | 'day' | 'list' | 'resource' | 'dayresource' | 'dayagenda' | 'monthagenda' | 'monthgrid' | string;
|
|
620
|
+
/**
|
|
621
|
+
* An object to use to configure common properties for all [modes](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-modes) prior to their construction.
|
|
622
|
+
*/
|
|
623
|
+
modeDefaults?: object;
|
|
624
|
+
/**
|
|
625
|
+
* Configures the view modes which are to be available in this Calendar.
|
|
626
|
+
* ...
|
|
627
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-modes)
|
|
628
|
+
*/
|
|
629
|
+
modes?: {
|
|
630
|
+
[mode: string]: CalendarContainerItemConfig | boolean | null | undefined;
|
|
631
|
+
agenda?: AgendaViewConfig | boolean | null;
|
|
632
|
+
year?: YearViewConfig | boolean | null;
|
|
633
|
+
month?: MonthViewConfig | boolean | null;
|
|
634
|
+
week?: WeekViewConfig | boolean | null;
|
|
635
|
+
day?: DayViewConfig | boolean | null;
|
|
636
|
+
list?: EventListConfig | boolean | null;
|
|
637
|
+
resource?: ResourceViewConfig | boolean | null;
|
|
638
|
+
dayresourceview?: DayResourceViewConfig | boolean | null;
|
|
639
|
+
dayagenda?: DayAgendaViewConfig | boolean | null;
|
|
640
|
+
monthagenda?: MonthAgendaViewConfig | boolean | null;
|
|
641
|
+
monthgrid?: MonthGridConfig | boolean | null;
|
|
642
|
+
};
|
|
643
|
+
/**
|
|
644
|
+
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
645
|
+
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
646
|
+
* layout.
|
|
647
|
+
* ...
|
|
648
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-monitorResize)
|
|
649
|
+
*/
|
|
650
|
+
monitorResize?: boolean | {
|
|
651
|
+
immediate?: boolean;
|
|
652
|
+
};
|
|
653
|
+
/**
|
|
654
|
+
* Configure as `true` to allow `CTRL/CMD+click` to select multiple events in the scheduler.
|
|
655
|
+
* ...
|
|
656
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-multiEventSelect)
|
|
657
|
+
*/
|
|
658
|
+
multiEventSelect?: boolean | {
|
|
659
|
+
ctrlKey?: boolean;
|
|
660
|
+
altKey?: boolean;
|
|
661
|
+
shiftKey?: boolean;
|
|
662
|
+
};
|
|
663
|
+
/**
|
|
664
|
+
* An object containing default config objects which may be referenced by name in the [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-items)
|
|
665
|
+
* config. For example, a specialized [Menu](https://bryntum.com/products/calendar/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
|
|
666
|
+
* value defined like this:
|
|
667
|
+
* ...
|
|
668
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-namedItems)
|
|
669
|
+
*/
|
|
670
|
+
namedItems?: Record<string, CalendarContainerItemConfig>;
|
|
671
|
+
/**
|
|
672
|
+
* Indicates where the Next/Previous/Today buttons should be placed.
|
|
673
|
+
*/
|
|
674
|
+
navigatorPlacement?: 'toolbar' | 'sidebar';
|
|
675
|
+
/**
|
|
676
|
+
* Non-working days as an object where keys are day indices, 0-6 (Sunday-Saturday), and the value is `true`.
|
|
677
|
+
* ...
|
|
678
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-nonWorkingDays)
|
|
679
|
+
*/
|
|
680
|
+
nonWorkingDays?: Record<number, boolean>;
|
|
681
|
+
/**
|
|
682
|
+
* By default, the [sidebar](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#property-sidebar) expands and collapses taking width from the
|
|
683
|
+
* calendar UI. Configure `overlaySidebar` as `true` to have it start collapsed, and then
|
|
684
|
+
* <strong>overlay</strong> the calendar UI when the expand/collapse button is toggled.
|
|
685
|
+
*/
|
|
686
|
+
overlaySidebar?: boolean;
|
|
687
|
+
/**
|
|
688
|
+
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
689
|
+
* [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
690
|
+
* the owner is <strong>always</strong> the encapsulating Container.
|
|
691
|
+
* ...
|
|
692
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-owner)
|
|
693
|
+
*/
|
|
694
|
+
owner?: Widget | any;
|
|
695
|
+
/**
|
|
696
|
+
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
697
|
+
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
698
|
+
* widget's [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
|
|
699
|
+
* ...
|
|
700
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-positioned)
|
|
701
|
+
*/
|
|
702
|
+
positioned?: boolean;
|
|
703
|
+
/**
|
|
704
|
+
* Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
|
|
705
|
+
* menu on click etc, since the tooltip would be displayed at the same time.
|
|
706
|
+
*/
|
|
707
|
+
preventTooltipOnTouch?: boolean;
|
|
708
|
+
/**
|
|
709
|
+
* A [ProjectModel](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel) instance or a config object. The project holds all Scheduler data.
|
|
710
|
+
* Can be omitted in favor of individual store configs or [crudManager](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/SchedulerStores#config-crudManager) config.
|
|
711
|
+
* ...
|
|
712
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-project)
|
|
713
|
+
*/
|
|
714
|
+
project?: ProjectModel | ProjectModelConfig | object;
|
|
715
|
+
/**
|
|
716
|
+
* The names of properties which are propagated down from the Calendar to child views
|
|
717
|
+
* unless the view has its own value for that property.
|
|
718
|
+
*/
|
|
719
|
+
propagatedConfigs?: string[];
|
|
720
|
+
/**
|
|
721
|
+
* Configure as `true` to make the calendar read-only, by disabling any UIs for modifying data.
|
|
722
|
+
* ...
|
|
723
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-readOnly)
|
|
724
|
+
*/
|
|
725
|
+
readOnly?: boolean;
|
|
726
|
+
/**
|
|
727
|
+
* The confirmation dialog shown when a recurring event is edited.
|
|
728
|
+
* ...
|
|
729
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-recurrenceConfirmationPopup)
|
|
730
|
+
*/
|
|
731
|
+
recurrenceConfirmationPopup?: RecurrenceConfirmationPopupConfig | RecurrenceConfirmationPopup;
|
|
732
|
+
relayStoreEvents?: boolean;
|
|
733
|
+
/**
|
|
734
|
+
* Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
|
|
735
|
+
* `type`.
|
|
736
|
+
* ...
|
|
737
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-rendition)
|
|
738
|
+
*/
|
|
739
|
+
rendition?: string | Record<string, string> | null;
|
|
740
|
+
/**
|
|
741
|
+
* Path to load resource images from. Used by the resource headers in ResourceView and by
|
|
742
|
+
* [showResourceAvatars](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showResourceAvatars) in event-displaying
|
|
743
|
+
* modes.
|
|
744
|
+
* ...
|
|
745
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-resourceImagePath)
|
|
746
|
+
*/
|
|
747
|
+
resourceImagePath?: string;
|
|
748
|
+
/**
|
|
749
|
+
* Inline resources, will be loaded into the [resourceStore](https://bryntum.com/products/calendar/docs/api/Calendar/mixin/CalendarStores#property-resourceStore).
|
|
750
|
+
*/
|
|
751
|
+
resources?: ResourceModel[] | ResourceModelConfig[];
|
|
752
|
+
/**
|
|
753
|
+
* The [ResourceStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/ResourceStore) or a reconfiguring object for a store which will hold the resources to be rendered into the Calendar.
|
|
754
|
+
*/
|
|
755
|
+
resourceStore?: ResourceStore | ResourceStoreConfig;
|
|
756
|
+
/**
|
|
757
|
+
* Inline resource time ranges, will be loaded into [resourceTimeRangeStore](https://bryntum.com/products/calendar/docs/api/Calendar/mixin/CalendarStores#property-resourceTimeRangeStore).
|
|
758
|
+
* ...
|
|
759
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-resourceTimeRanges)
|
|
760
|
+
*/
|
|
761
|
+
resourceTimeRanges?: ResourceTimeRangeModel[] | ResourceTimeRangeModelConfig[];
|
|
762
|
+
/**
|
|
763
|
+
* The [ResourceTimeRangeStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/ResourceTimeRangeStore) or a reconfiguring object for a store which will hold resource time ranges.
|
|
764
|
+
* These may be used by the [TimeRanges](https://bryntum.com/products/calendar/docs/api/Calendar/feature/TimeRanges) feature.
|
|
765
|
+
*/
|
|
766
|
+
resourceTimeRangeStore?: ResourceTimeRangeStore | ResourceTimeRangeStoreConfig;
|
|
767
|
+
/**
|
|
768
|
+
* Specifies the various responsive state objects keyed by their name. Each key (except `'*'`, see below) in
|
|
769
|
+
* this object is a state name (see [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState)) and its corresponding value is the
|
|
770
|
+
* associated [ResponsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#typedef-ResponsiveState) object.
|
|
771
|
+
* ...
|
|
772
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-responsive)
|
|
773
|
+
*/
|
|
774
|
+
responsive?: object;
|
|
775
|
+
/**
|
|
776
|
+
* Set to `true` to mark this instance as the default [responsiveTarget](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveTarget) for descendants that do
|
|
777
|
+
* not specify an explicit [responsiveTarget](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveTarget) of their own.
|
|
778
|
+
*/
|
|
779
|
+
responsiveRoot?: boolean;
|
|
780
|
+
/**
|
|
781
|
+
* The name of the active state of the [responsive](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsive) config. This is assigned internally
|
|
782
|
+
* and should not be assigned directly.
|
|
783
|
+
*/
|
|
784
|
+
responsiveState?: string;
|
|
785
|
+
/**
|
|
786
|
+
* The widget whose size and other properties drive this object's responsive behavior. If this config is not
|
|
787
|
+
* specified, the closest ancestor that specified [responsiveRoot=true](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveRoot) will be
|
|
788
|
+
* used. If there is no such ancestor, then the instance using this mixin is used.
|
|
789
|
+
* ...
|
|
790
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-responsiveTarget)
|
|
791
|
+
*/
|
|
792
|
+
responsiveTarget?: string | Widget;
|
|
793
|
+
/**
|
|
794
|
+
* Configure as `true` to have the component display a translucent ripple when its
|
|
795
|
+
* [focusElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
|
|
796
|
+
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
797
|
+
* ...
|
|
798
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-ripple)
|
|
799
|
+
*/
|
|
800
|
+
ripple?: boolean | {
|
|
801
|
+
delegate?: string;
|
|
802
|
+
color?: string;
|
|
803
|
+
radius?: number;
|
|
804
|
+
clip?: string;
|
|
805
|
+
};
|
|
806
|
+
/**
|
|
807
|
+
* If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`
|
|
808
|
+
*/
|
|
809
|
+
rootElement?: ShadowRoot | HTMLElement;
|
|
810
|
+
/**
|
|
811
|
+
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
812
|
+
* ...
|
|
813
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-rtl)
|
|
814
|
+
*/
|
|
815
|
+
rtl?: boolean;
|
|
816
|
+
/**
|
|
817
|
+
* Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll
|
|
818
|
+
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
819
|
+
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
820
|
+
* CSS overflow properties thus:
|
|
821
|
+
* ...
|
|
822
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-scrollable)
|
|
823
|
+
*/
|
|
824
|
+
scrollable?: boolean | ScrollerConfig | Scroller;
|
|
825
|
+
/**
|
|
826
|
+
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
827
|
+
* Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
|
|
828
|
+
*/
|
|
829
|
+
scrollAction?: 'hide' | 'realign' | null;
|
|
830
|
+
/**
|
|
831
|
+
* Set to `false` to not select the resource of the event when clicking an event bar.
|
|
832
|
+
*/
|
|
833
|
+
selectResourceOnEventNavigate?: boolean;
|
|
834
|
+
/**
|
|
835
|
+
* Set to `false` to not select the row/resource when clicking the empty area in a time axis cell.
|
|
836
|
+
*/
|
|
837
|
+
selectResourceOnScheduleClick?: boolean;
|
|
838
|
+
/**
|
|
839
|
+
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
840
|
+
* ...
|
|
841
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-showAnimation)
|
|
842
|
+
*/
|
|
843
|
+
showAnimation?: boolean | object;
|
|
844
|
+
/**
|
|
845
|
+
* Set to `false` to hide recurring fields in event editor, even if the
|
|
846
|
+
* [Recurring Events](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/RecurringEvents#config-enableRecurringEvents) is `true`
|
|
847
|
+
* and a recurring event is being edited.
|
|
848
|
+
*/
|
|
849
|
+
showRecurringUI?: boolean;
|
|
850
|
+
/**
|
|
851
|
+
* Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-disabled)
|
|
852
|
+
*/
|
|
853
|
+
showTooltipWhenDisabled?: boolean;
|
|
854
|
+
/**
|
|
855
|
+
* An optional config object to configure the [Sidebar](https://bryntum.com/products/calendar/docs/api/Calendar/widget/Sidebar) which is
|
|
856
|
+
* shown next to the calendar views specified by the [modes](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-modes).
|
|
857
|
+
* ...
|
|
858
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-sidebar)
|
|
859
|
+
* @param {'left','right'} side Which [side](https://bryntum.com/products/calendar/docs/api/Calendar/widget/Sidebar#config-side) to dock to.
|
|
860
|
+
* @param {boolean} collapsed May be initially [collapsed](https://bryntum.com/products/calendar/docs/api/Calendar/widget/Sidebar#config-collapsed).
|
|
861
|
+
* @param {Record<string, CalendarContainerItemConfig>} items Reconfigure or add to the sidebar UI.
|
|
862
|
+
* @param {CalendarContainerItemConfig} items.custom Settings specific to custom item.
|
|
863
|
+
* @param {DatePickerConfig} items.datePicker The [DatePicker](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker) may be reconfigured using an object, or configured away using `null`. Its default [weight](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-weight) is 100.
|
|
864
|
+
* @param {TextFieldConfig} items.eventFilter The eventFilter is a [TextField](https://bryntum.com/products/calendar/docs/api/Core/widget/TextField) which may be used to filter the events by matched name. It may be reconfigured using an object, or configured away using `null`. Its default [weight](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-weight) is 150.
|
|
865
|
+
* @param {ResourceFilterConfig} items.resourceFilter The [ResourceFilter](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/ResourceFilter) may be reconfigured using an object, or configured away using `null`. Its default [weight](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-weight) is 200.
|
|
866
|
+
*/
|
|
867
|
+
sidebar?: {
|
|
868
|
+
side?: 'left' | 'right';
|
|
869
|
+
collapsed?: boolean;
|
|
870
|
+
items: {
|
|
871
|
+
[mode: string]: CalendarContainerItemConfig | null | undefined;
|
|
872
|
+
datePicker?: DatePickerConfig;
|
|
873
|
+
eventFilter?: TextFieldConfig;
|
|
874
|
+
resourceFilter?: ResourceFilterConfig;
|
|
875
|
+
};
|
|
876
|
+
} | boolean;
|
|
877
|
+
/**
|
|
878
|
+
* Programmatic control over how many columns to span when used in a grid layout.
|
|
879
|
+
*/
|
|
880
|
+
span?: number;
|
|
881
|
+
/**
|
|
882
|
+
* This value can be one of the following:
|
|
883
|
+
* ...
|
|
884
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-stateful)
|
|
885
|
+
*/
|
|
886
|
+
stateful?: boolean | object | string[];
|
|
887
|
+
/**
|
|
888
|
+
* The events that, when fired by this component, should trigger it to save its state by calling
|
|
889
|
+
* [saveState](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#function-saveState).
|
|
890
|
+
* ...
|
|
891
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-statefulEvents)
|
|
892
|
+
*/
|
|
893
|
+
statefulEvents?: object | string[];
|
|
894
|
+
/**
|
|
895
|
+
* The key to use when saving this object's state in the [stateProvider](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#config-stateProvider). If this config is
|
|
896
|
+
* not assigned, and [stateful](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#config-stateful) is not set to `false`, the [id](#Core/widget/Widget#config-id)
|
|
897
|
+
* (if explicitly specified) will be used as the `stateId`.
|
|
898
|
+
* ...
|
|
899
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-stateId)
|
|
900
|
+
*/
|
|
901
|
+
stateId?: string;
|
|
902
|
+
/**
|
|
903
|
+
* The `StateProvider` to use to save and restore this object's [state](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#property-state). By default, `state`
|
|
904
|
+
* will be saved using the [default state provider](https://bryntum.com/products/calendar/docs/api/Core/state/StateProvider#property-instance-static).
|
|
905
|
+
* ...
|
|
906
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-stateProvider)
|
|
907
|
+
*/
|
|
908
|
+
stateProvider?: StateProvider;
|
|
909
|
+
/**
|
|
910
|
+
* Specify `true` to match fields by their `name` property only when assigning a [record](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-record),
|
|
911
|
+
* without falling back to `ref`.
|
|
912
|
+
*/
|
|
913
|
+
strictRecordMapping?: boolean;
|
|
914
|
+
/**
|
|
915
|
+
* An object containing widgets keyed by name. By default (when no `type` is given), strips are
|
|
916
|
+
* [toolbars](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
|
|
917
|
+
* the toolbar's [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-items).
|
|
918
|
+
* ...
|
|
919
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-strips)
|
|
920
|
+
*/
|
|
921
|
+
strips?: Record<string, CalendarContainerItemConfig>;
|
|
922
|
+
/**
|
|
923
|
+
* A [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object, or a message to be shown when Crud Manager
|
|
924
|
+
* is persisting changes on the server. Set to `null` to disable default sync mask.
|
|
925
|
+
* ...
|
|
926
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-syncMask)
|
|
927
|
+
*/
|
|
928
|
+
syncMask?: string | MaskConfig | null;
|
|
929
|
+
/**
|
|
930
|
+
* A configuration for the [tab](https://bryntum.com/products/calendar/docs/api/Core/widget/Tab) created for this widget when it is placed in a
|
|
931
|
+
* [TabPanel](https://bryntum.com/products/calendar/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
|
|
932
|
+
* this widget:
|
|
933
|
+
* ...
|
|
934
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-tab)
|
|
935
|
+
*/
|
|
936
|
+
tab?: boolean | TabConfig;
|
|
937
|
+
/**
|
|
938
|
+
* When this container is used as a tab in a TabPanel, these items are added to the
|
|
939
|
+
* [TabBar](https://bryntum.com/products/calendar/docs/api/Core/widget/TabBar) when this container is the active tab.
|
|
940
|
+
* ...
|
|
941
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-tabBarItems)
|
|
942
|
+
*/
|
|
943
|
+
tabBarItems?: ToolbarItems[] | Widget[];
|
|
944
|
+
/**
|
|
945
|
+
* The tag name of this Widget's root element
|
|
946
|
+
*/
|
|
947
|
+
tag?: string;
|
|
948
|
+
/**
|
|
949
|
+
* A config object containing definitions of the toolbar of the Calendar.
|
|
950
|
+
* ...
|
|
951
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-tbar)
|
|
952
|
+
*/
|
|
953
|
+
tbar?: (CalendarContainerItemConfig | string)[] | ToolbarConfig | CalendarToolbarConfig | null;
|
|
954
|
+
/**
|
|
955
|
+
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
956
|
+
* ...
|
|
957
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-textAlign)
|
|
958
|
+
*/
|
|
959
|
+
textAlign?: 'left' | 'center' | 'right' | 'start' | 'end';
|
|
960
|
+
/**
|
|
961
|
+
* Inline time ranges, will be loaded into the [timeRangeStore](https://bryntum.com/products/calendar/docs/api/Calendar/mixin/CalendarStores#property-timeRangeStore).
|
|
962
|
+
* ...
|
|
963
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-timeRanges)
|
|
964
|
+
*/
|
|
965
|
+
timeRanges?: TimeRangeModel[] | TimeRangeModelConfig[];
|
|
966
|
+
/**
|
|
967
|
+
* The [TimeRangeStore](https://bryntum.com/products/calendar/docs/api/Calendar/data/TimeRangeStore) or a reconfiguring object for a store which will hold time ranges.
|
|
968
|
+
* These may be used by the [TimeRanges](https://bryntum.com/products/calendar/docs/api/Calendar/feature/TimeRanges) feature.
|
|
969
|
+
*/
|
|
970
|
+
timeRangeStore?: TimeRangeStore | TimeRangeStoreConfig;
|
|
971
|
+
/**
|
|
972
|
+
* Set to a time zone or a UTC offset. This will set the project's
|
|
973
|
+
* [timeZone](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#config-timeZone) config accordingly. As this config is only a referer,
|
|
974
|
+
* please see project's config [documentation](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#config-timeZone) for more
|
|
975
|
+
* information.
|
|
976
|
+
* ...
|
|
977
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-timeZone)
|
|
978
|
+
*/
|
|
979
|
+
timeZone?: string | number;
|
|
980
|
+
/**
|
|
981
|
+
* A title to display in the header or owning TabPanel. Causes creation and docking of a header
|
|
982
|
+
* to the top if no header is configured.
|
|
983
|
+
* ...
|
|
984
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-title)
|
|
985
|
+
*/
|
|
986
|
+
title?: string;
|
|
987
|
+
/**
|
|
988
|
+
* The [tools](https://bryntum.com/products/calendar/docs/api/Core/widget/Tool) to add either before or after the `title` in the Panel header. Each
|
|
989
|
+
* property name is the reference by which an instantiated tool may be retrieved from the live
|
|
990
|
+
* `[tools](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
|
|
991
|
+
* ...
|
|
992
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-tools)
|
|
993
|
+
*/
|
|
994
|
+
tools?: Record<string, ToolConfig> | null;
|
|
995
|
+
/**
|
|
996
|
+
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
997
|
+
* ...
|
|
998
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-tooltip)
|
|
999
|
+
*/
|
|
1000
|
+
tooltip?: string | TooltipConfig | null;
|
|
1001
|
+
/**
|
|
1002
|
+
* By default, tabbing within a Panel is not contained, ie you can TAB out of the Panel
|
|
1003
|
+
* forwards or backwards.
|
|
1004
|
+
* Configure this as `true` to disallow tabbing out of the Panel, and make tabbing circular within this Panel.
|
|
1005
|
+
*/
|
|
1006
|
+
trapFocus?: boolean;
|
|
1007
|
+
/**
|
|
1008
|
+
* Configure as `true` to trigger `selectionChange` when removing a selected event/assignment.
|
|
1009
|
+
*/
|
|
1010
|
+
triggerSelectionChangeOnRemove?: boolean;
|
|
1011
|
+
type?: 'calendar';
|
|
1012
|
+
/**
|
|
1013
|
+
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
1014
|
+
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
1015
|
+
* values are used as the class names.
|
|
1016
|
+
* ...
|
|
1017
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-ui)
|
|
1018
|
+
*/
|
|
1019
|
+
ui?: 'plain' | 'toolbar' | string | object;
|
|
1020
|
+
/**
|
|
1021
|
+
* By default, the day of week and week of month of the event's start date are used to create
|
|
1022
|
+
* helpful contextual recurrence types when editing a non-recurring event record and choosing
|
|
1023
|
+
* an initial recurrence type.
|
|
1024
|
+
* ...
|
|
1025
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-useContextualRecurrenceRules)
|
|
1026
|
+
*/
|
|
1027
|
+
useContextualRecurrenceRules?: boolean;
|
|
1028
|
+
/**
|
|
1029
|
+
* Configuration options to change how the subordinate [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container) which contains
|
|
1030
|
+
* the calendar's child views is created.
|
|
1031
|
+
* ...
|
|
1032
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-viewContainer)
|
|
1033
|
+
*/
|
|
1034
|
+
viewContainer?: ContainerConfig;
|
|
1035
|
+
/**
|
|
1036
|
+
* The week start day to be used throughout this Calendar, 0 meaning Sunday, 6 meaning Saturday.
|
|
1037
|
+
* ...
|
|
1038
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-weekStartDay)
|
|
1039
|
+
*/
|
|
1040
|
+
weekStartDay?: number;
|
|
1041
|
+
/**
|
|
1042
|
+
* A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container).
|
|
1043
|
+
* Higher weights go further down.
|
|
1044
|
+
*/
|
|
1045
|
+
weight?: number;
|
|
1046
|
+
/**
|
|
1047
|
+
* Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
|
|
1048
|
+
* will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
|
|
1049
|
+
* this config is convenient.
|
|
1050
|
+
*/
|
|
1051
|
+
width?: string | number;
|
|
1052
|
+
/**
|
|
1053
|
+
* The x position for the widget.
|
|
1054
|
+
* ...
|
|
1055
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-x)
|
|
1056
|
+
*/
|
|
1057
|
+
x?: number;
|
|
1058
|
+
/**
|
|
1059
|
+
* The y position for the widget.
|
|
1060
|
+
* ...
|
|
1061
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-y)
|
|
1062
|
+
*/
|
|
1063
|
+
y?: number;
|
|
1064
|
+
/**
|
|
1065
|
+
* This feature provides drag-based event creation and modification for Calendars. When enabled (which is the default
|
|
1066
|
+
* for calendars), the user can do the following via the mouse or touch screen:
|
|
1067
|
+
* ...
|
|
1068
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag)
|
|
1069
|
+
*/
|
|
1070
|
+
dragFeature?: object | boolean | string | CalendarDrag | CalendarDragConfig;
|
|
1071
|
+
/**
|
|
1072
|
+
* A Feature that allows showing additional time before & after an event, to visualize things like travel time - or the time you
|
|
1073
|
+
* need to prepare a room for a meeting + clean it up after.
|
|
1074
|
+
* ...
|
|
1075
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventBuffer)
|
|
1076
|
+
*/
|
|
1077
|
+
eventBufferFeature?: object | boolean | string | EventBuffer | EventBufferConfig;
|
|
1078
|
+
/**
|
|
1079
|
+
* Allow using [Ctrl/CMD + C/X/V] to copy/cut-and-paste events.
|
|
1080
|
+
* ...
|
|
1081
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventCopyPaste)
|
|
1082
|
+
*/
|
|
1083
|
+
eventCopyPasteFeature?: object | boolean | string | EventCopyPaste | EventCopyPasteConfig;
|
|
1084
|
+
/**
|
|
1085
|
+
* Feature that displays a popup containing fields for editing event data.
|
|
1086
|
+
* ...
|
|
1087
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventEdit)
|
|
1088
|
+
*/
|
|
1089
|
+
eventEditFeature?: object | boolean | string | EventEdit | EventEditConfig;
|
|
1090
|
+
/**
|
|
1091
|
+
* A feature which shows a context menu when right-clicking events in the calendar.
|
|
1092
|
+
* ...
|
|
1093
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventMenu)
|
|
1094
|
+
*/
|
|
1095
|
+
eventMenuFeature?: object | boolean | string | EventMenu | EventMenuConfig;
|
|
1096
|
+
/**
|
|
1097
|
+
* A feature which displays a [tooltip](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventTooltip#config-tooltip) containing extra information. The tooltip can
|
|
1098
|
+
* be triggered by clicking or hovering an event bar element (see [showOn](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventTooltip#config-showOn)).
|
|
1099
|
+
* ...
|
|
1100
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventTooltip)
|
|
1101
|
+
*/
|
|
1102
|
+
eventTooltipFeature?: object | boolean | string | EventTooltip | EventTooltipConfig;
|
|
1103
|
+
/**
|
|
1104
|
+
* A feature that allows exporting Calendar data to Excel or CSV without involving the server. It uses
|
|
1105
|
+
* [TableExporter](https://bryntum.com/products/calendar/docs/api/Grid/util/TableExporter) class as data provider, 3rd party provider to generate XLS files, and
|
|
1106
|
+
* [Microsoft XML specification](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.spreadsheet.aspx).
|
|
1107
|
+
* ...
|
|
1108
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/experimental/ExcelExporter)
|
|
1109
|
+
*/
|
|
1110
|
+
excelExporterFeature?: object | boolean | string | ExcelExporter | ExcelExporterConfig;
|
|
1111
|
+
/**
|
|
1112
|
+
* A Calendar feature which allows new events to be dragged into the Calendar from an external source.
|
|
1113
|
+
* ...
|
|
1114
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource)
|
|
1115
|
+
*/
|
|
1116
|
+
externalEventSourceFeature?: object | boolean | string | ExternalEventSource | ExternalEventSourceConfig;
|
|
1117
|
+
/**
|
|
1118
|
+
* Loads the host Calendar's [CrudManager](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/SchedulerStores#config-crudManager) on demand
|
|
1119
|
+
* as the date range required to produce the UI changes.
|
|
1120
|
+
* ...
|
|
1121
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/LoadOnDemand)
|
|
1122
|
+
*/
|
|
1123
|
+
loadOnDemandFeature?: object | boolean | string | LoadOnDemand | LoadOnDemandConfig;
|
|
1124
|
+
/**
|
|
1125
|
+
* This feature enables printing of the current Calendar mode.
|
|
1126
|
+
* ...
|
|
1127
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/print/Print)
|
|
1128
|
+
*/
|
|
1129
|
+
printFeature?: object | boolean | string | Print | PrintConfig;
|
|
1130
|
+
/**
|
|
1131
|
+
* A feature which adds a context menu to the unoccupied parts of calendar views.
|
|
1132
|
+
* ...
|
|
1133
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ScheduleMenu)
|
|
1134
|
+
*/
|
|
1135
|
+
scheduleMenuFeature?: object | boolean | string | ScheduleMenu | ScheduleMenuConfig;
|
|
1136
|
+
/**
|
|
1137
|
+
* A feature that displays a tooltip containing the time at the mouse position when hovering empty parts of the schedule.
|
|
1138
|
+
* ...
|
|
1139
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ScheduleTooltip)
|
|
1140
|
+
*/
|
|
1141
|
+
scheduleTooltipFeature?: object | boolean | string | ScheduleTooltip | ScheduleTooltipConfig;
|
|
1142
|
+
/**
|
|
1143
|
+
* This feature provides an easy way to highlight ranges of time in a calendar's day and week views. Each time range is
|
|
1144
|
+
* represented using the [TimeRangeModel](https://bryntum.com/products/calendar/docs/api/Calendar/model/TimeRangeModel).
|
|
1145
|
+
* ...
|
|
1146
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/TimeRanges)
|
|
1147
|
+
*/
|
|
1148
|
+
timeRangesFeature?: object | boolean | string | TimeRanges | TimeRangesConfig;
|
|
1149
|
+
/**
|
|
1150
|
+
* A Feature which, when present, adds a week row expansion tool to week rows in
|
|
1151
|
+
* [MonthView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView)s so that a row which contains overflowing cells
|
|
1152
|
+
* can be expanded to show all events with no overflow.
|
|
1153
|
+
* ...
|
|
1154
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/WeekExpander)
|
|
1155
|
+
*/
|
|
1156
|
+
weekExpanderFeature?: object | boolean | string | WeekExpander | WeekExpanderConfig;
|
|
1157
|
+
};
|
|
1158
|
+
export declare class BryntumCalendarComponent implements OnInit, OnDestroy {
|
|
1159
|
+
static instanceClass: typeof Calendar;
|
|
1160
|
+
static instanceName: string;
|
|
1161
|
+
private static bryntumEvents;
|
|
1162
|
+
private static bryntumFeatureNames;
|
|
1163
|
+
private static bryntumConfigs;
|
|
1164
|
+
private static bryntumConfigsOnly;
|
|
1165
|
+
private static bryntumProps;
|
|
1166
|
+
private elementRef;
|
|
1167
|
+
instance: Calendar;
|
|
1168
|
+
private bryntumConfig;
|
|
1169
|
+
constructor(element: ElementRef);
|
|
1170
|
+
adopt: HTMLElement | string;
|
|
1171
|
+
align: AlignSpec | string;
|
|
1172
|
+
anchor: boolean;
|
|
1173
|
+
ariaDescription: string;
|
|
1174
|
+
ariaLabel: string;
|
|
1175
|
+
assignmentStore: AssignmentStore | AssignmentStoreConfig;
|
|
1176
|
+
autoCreate: {
|
|
1177
|
+
gesture?: string;
|
|
1178
|
+
newName?: Function | string;
|
|
1179
|
+
step?: string;
|
|
1180
|
+
duration?: string;
|
|
1181
|
+
startHour?: number | string;
|
|
1182
|
+
} | string | boolean;
|
|
1183
|
+
bbar: (CalendarContainerItemConfig | string)[] | ToolbarConfig | PagingToolbarConfig | null;
|
|
1184
|
+
bodyCls: string | object;
|
|
1185
|
+
bubbleEvents: object;
|
|
1186
|
+
centered: boolean;
|
|
1187
|
+
collapsible: boolean | PanelCollapserConfig | PanelCollapserOverlayConfig;
|
|
1188
|
+
color: string;
|
|
1189
|
+
config: object;
|
|
1190
|
+
constrainTo: HTMLElement | Widget | Rectangle;
|
|
1191
|
+
contentElementCls: string | object;
|
|
1192
|
+
contextMenuTriggerEvent: 'contextmenu' | 'click' | 'dblclick';
|
|
1193
|
+
crudManagerClass: SchedulerCrudManager;
|
|
1194
|
+
dataField: string;
|
|
1195
|
+
datePicker: CalendarDatePickerConfig | boolean | null;
|
|
1196
|
+
defaultBindProperty: string;
|
|
1197
|
+
defaultFocus: ((widget: Widget) => boolean) | string;
|
|
1198
|
+
defaults: CalendarContainerItemConfig;
|
|
1199
|
+
deselectOnClick: boolean;
|
|
1200
|
+
destroyStores: boolean;
|
|
1201
|
+
detectCSSCompatibilityIssues: boolean;
|
|
1202
|
+
dock: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
|
|
1203
|
+
draggable: boolean | {
|
|
1204
|
+
handleSelector?: string;
|
|
1205
|
+
};
|
|
1206
|
+
drawer: boolean | {
|
|
1207
|
+
side?: 'start' | 'left' | 'end' | 'right' | 'top' | 'bottom';
|
|
1208
|
+
size?: string | number;
|
|
1209
|
+
inline?: boolean;
|
|
1210
|
+
autoClose: {
|
|
1211
|
+
mousedown?: boolean | string;
|
|
1212
|
+
focusout?: boolean | string;
|
|
1213
|
+
mouseout?: string;
|
|
1214
|
+
};
|
|
1215
|
+
autoCloseDelay?: number;
|
|
1216
|
+
};
|
|
1217
|
+
elementAttributes: Record<string, string | null>;
|
|
1218
|
+
enableDeleteKey: boolean;
|
|
1219
|
+
enableRecurringEvents: boolean | {
|
|
1220
|
+
defaultAction?: 'single' | 'future';
|
|
1221
|
+
};
|
|
1222
|
+
enableUndoRedoKeys: boolean;
|
|
1223
|
+
eventSelectionDisabled: boolean;
|
|
1224
|
+
eventStore: EventStore | EventStoreConfig;
|
|
1225
|
+
filterEventResources: boolean;
|
|
1226
|
+
floating: boolean;
|
|
1227
|
+
footer: {
|
|
1228
|
+
dock?: 'top' | 'right' | 'bottom' | 'left' | 'start' | 'end';
|
|
1229
|
+
html?: string;
|
|
1230
|
+
cls?: string;
|
|
1231
|
+
} | string;
|
|
1232
|
+
header: string | boolean | PanelHeader;
|
|
1233
|
+
hideAnimation: boolean | object;
|
|
1234
|
+
hideWhenEmpty: boolean;
|
|
1235
|
+
highlightDate: boolean | ((date: Date) => boolean);
|
|
1236
|
+
highlightPredecessors: boolean;
|
|
1237
|
+
highlightSuccessors: boolean;
|
|
1238
|
+
icon: string | DomConfig;
|
|
1239
|
+
ignoreParentReadOnly: boolean;
|
|
1240
|
+
includeWeekendsButton: boolean | ButtonConfig;
|
|
1241
|
+
itemCls: string;
|
|
1242
|
+
lazyItems: Record<string, CalendarContainerItemConfig> | CalendarContainerItemConfig[] | Widget[];
|
|
1243
|
+
listeners: CalendarListeners;
|
|
1244
|
+
loadMask: string | MaskConfig | null;
|
|
1245
|
+
loadMaskDefaults: MaskConfig;
|
|
1246
|
+
loadMaskError: MaskConfig | Mask | boolean;
|
|
1247
|
+
localeClass: typeof Base;
|
|
1248
|
+
localizable: boolean;
|
|
1249
|
+
localizableProperties: string[];
|
|
1250
|
+
maintainSelectionOnDatasetChange: boolean;
|
|
1251
|
+
maskDefaults: MaskConfig;
|
|
1252
|
+
masked: boolean | string | MaskConfig;
|
|
1253
|
+
monitorResize: boolean | {
|
|
1254
|
+
immediate?: boolean;
|
|
1255
|
+
};
|
|
1256
|
+
multiEventSelect: boolean | {
|
|
1257
|
+
ctrlKey?: boolean;
|
|
1258
|
+
altKey?: boolean;
|
|
1259
|
+
shiftKey?: boolean;
|
|
1260
|
+
};
|
|
1261
|
+
namedItems: Record<string, CalendarContainerItemConfig>;
|
|
1262
|
+
navigatorPlacement: 'toolbar' | 'sidebar';
|
|
1263
|
+
overlaySidebar: boolean;
|
|
1264
|
+
owner: Widget | any;
|
|
1265
|
+
positioned: boolean;
|
|
1266
|
+
preventTooltipOnTouch: boolean;
|
|
1267
|
+
propagatedConfigs: string[];
|
|
1268
|
+
relayStoreEvents: boolean;
|
|
1269
|
+
resourceImagePath: string;
|
|
1270
|
+
resourceStore: ResourceStore | ResourceStoreConfig;
|
|
1271
|
+
resourceTimeRangeStore: ResourceTimeRangeStore | ResourceTimeRangeStoreConfig;
|
|
1272
|
+
responsive: object;
|
|
1273
|
+
responsiveRoot: boolean;
|
|
1274
|
+
responsiveState: string;
|
|
1275
|
+
responsiveTarget: string | Widget;
|
|
1276
|
+
ripple: boolean | {
|
|
1277
|
+
delegate?: string;
|
|
1278
|
+
color?: string;
|
|
1279
|
+
radius?: number;
|
|
1280
|
+
clip?: string;
|
|
1281
|
+
};
|
|
1282
|
+
rootElement: ShadowRoot | HTMLElement;
|
|
1283
|
+
scrollAction: 'hide' | 'realign' | null;
|
|
1284
|
+
showAnimation: boolean | object;
|
|
1285
|
+
showRecurringUI: boolean;
|
|
1286
|
+
showTooltipWhenDisabled: boolean;
|
|
1287
|
+
sidebar: {
|
|
1288
|
+
side?: 'left' | 'right';
|
|
1289
|
+
collapsed?: boolean;
|
|
1290
|
+
items: {
|
|
1291
|
+
[mode: string]: CalendarContainerItemConfig | null | undefined;
|
|
1292
|
+
datePicker?: DatePickerConfig;
|
|
1293
|
+
eventFilter?: TextFieldConfig;
|
|
1294
|
+
resourceFilter?: ResourceFilterConfig;
|
|
1295
|
+
};
|
|
1296
|
+
} | boolean;
|
|
1297
|
+
stateful: boolean | object | string[];
|
|
1298
|
+
statefulEvents: object | string[];
|
|
1299
|
+
stateId: string;
|
|
1300
|
+
stateProvider: StateProvider;
|
|
1301
|
+
strips: Record<string, CalendarContainerItemConfig>;
|
|
1302
|
+
syncMask: string | MaskConfig | null;
|
|
1303
|
+
tab: boolean | TabConfig;
|
|
1304
|
+
tabBarItems: ToolbarItems[] | Widget[];
|
|
1305
|
+
tag: string;
|
|
1306
|
+
tbar: (CalendarContainerItemConfig | string)[] | ToolbarConfig | CalendarToolbarConfig | null;
|
|
1307
|
+
textAlign: 'left' | 'center' | 'right' | 'start' | 'end';
|
|
1308
|
+
timeRangeStore: TimeRangeStore | TimeRangeStoreConfig;
|
|
1309
|
+
timeZone: string | number;
|
|
1310
|
+
trapFocus: boolean;
|
|
1311
|
+
triggerSelectionChangeOnRemove: boolean;
|
|
1312
|
+
type: 'calendar';
|
|
1313
|
+
ui: 'plain' | 'toolbar' | string | object;
|
|
1314
|
+
viewContainer: ContainerConfig;
|
|
1315
|
+
weekStartDay: number;
|
|
1316
|
+
weight: number;
|
|
1317
|
+
activeDateCls: string;
|
|
1318
|
+
alignSelf: string;
|
|
1319
|
+
appendTo: HTMLElement | string;
|
|
1320
|
+
assignments: AssignmentModel[] | AssignmentModelConfig[];
|
|
1321
|
+
callOnFunctions: boolean;
|
|
1322
|
+
catchEventHandlerExceptions: boolean;
|
|
1323
|
+
cls: string | object;
|
|
1324
|
+
collapsed: boolean;
|
|
1325
|
+
column: number;
|
|
1326
|
+
crudManager: SchedulerCrudManager | CrudManagerConfig;
|
|
1327
|
+
dataset: object | Record<string, string>;
|
|
1328
|
+
date: Date | string;
|
|
1329
|
+
dateFormat: string;
|
|
1330
|
+
defaultCalendar: ResourceModel | string;
|
|
1331
|
+
deselectAllOnScheduleClick: boolean;
|
|
1332
|
+
disabled: boolean | 'inert';
|
|
1333
|
+
events: EventModel[] | EventModelConfig[];
|
|
1334
|
+
extraData: any;
|
|
1335
|
+
flex: number | string;
|
|
1336
|
+
height: number | string;
|
|
1337
|
+
hidden: boolean;
|
|
1338
|
+
hideNonWorkingDays: boolean;
|
|
1339
|
+
id: string;
|
|
1340
|
+
inputFieldAlign: 'start' | 'end';
|
|
1341
|
+
insertBefore: HTMLElement | string;
|
|
1342
|
+
insertFirst: HTMLElement | string;
|
|
1343
|
+
isEventSelectable: (event: EventModel) => boolean;
|
|
1344
|
+
items: (CalendarContainerItemConfig | MenuItemConfig | Widget)[] | Record<string, CalendarContainerItemConfig | MenuItemConfig> | Widget[] | object | WidgetConfig;
|
|
1345
|
+
keyMap: Record<string, KeyMapConfig>;
|
|
1346
|
+
labelPosition: 'before' | 'above' | 'align-before' | 'auto' | null;
|
|
1347
|
+
layout: Layout | string | CalendarContainerLayoutConfig;
|
|
1348
|
+
layoutStyle: object;
|
|
1349
|
+
margin: number | string;
|
|
1350
|
+
maxDate: Date | string;
|
|
1351
|
+
maxHeight: string | number;
|
|
1352
|
+
maximizeOnMobile: number | string;
|
|
1353
|
+
maxWidth: string | number;
|
|
1354
|
+
minDate: Date | string;
|
|
1355
|
+
minHeight: string | number;
|
|
1356
|
+
minWidth: string | number;
|
|
1357
|
+
mode: string | 'agenda' | 'year' | 'month' | 'week' | 'day' | 'list' | 'resource' | 'dayresource' | 'dayagenda' | 'monthagenda' | 'monthgrid';
|
|
1358
|
+
modeDefaults: object;
|
|
1359
|
+
modes: Record<string, CalendarView> | object;
|
|
1360
|
+
nonWorkingDays: Record<number, boolean>;
|
|
1361
|
+
project: ProjectModel | ProjectModelConfig | object;
|
|
1362
|
+
readOnly: boolean;
|
|
1363
|
+
recurrenceConfirmationPopup: RecurrenceConfirmationPopupConfig | RecurrenceConfirmationPopup;
|
|
1364
|
+
rendition: string | Record<string, string> | null;
|
|
1365
|
+
resources: ResourceModel[] | ResourceModelConfig[];
|
|
1366
|
+
resourceTimeRanges: ResourceTimeRangeModel[] | ResourceTimeRangeModelConfig[];
|
|
1367
|
+
rtl: boolean;
|
|
1368
|
+
scrollable: Scroller | boolean | ScrollerConfig;
|
|
1369
|
+
selectResourceOnEventNavigate: boolean;
|
|
1370
|
+
selectResourceOnScheduleClick: boolean;
|
|
1371
|
+
span: number;
|
|
1372
|
+
strictRecordMapping: boolean;
|
|
1373
|
+
timeRanges: TimeRangeModel[] | TimeRangeModelConfig[];
|
|
1374
|
+
title: string;
|
|
1375
|
+
tools: Record<string, Tool | ToolConfig> | null | Record<string, Tool> | Record<string, ToolConfig>;
|
|
1376
|
+
tooltip: string | TooltipConfig | null;
|
|
1377
|
+
useContextualRecurrenceRules: boolean;
|
|
1378
|
+
width: number | string;
|
|
1379
|
+
x: number;
|
|
1380
|
+
y: number;
|
|
1381
|
+
activeSubView: CalendarView;
|
|
1382
|
+
activeView: CalendarView;
|
|
1383
|
+
anchorSize: number[];
|
|
1384
|
+
focusVisible: boolean;
|
|
1385
|
+
hasChanges: boolean;
|
|
1386
|
+
isEngineReady: boolean;
|
|
1387
|
+
isSettingValues: boolean;
|
|
1388
|
+
isValid: boolean;
|
|
1389
|
+
parent: Widget;
|
|
1390
|
+
record: Model;
|
|
1391
|
+
selectedEvents: EventModel[];
|
|
1392
|
+
state: any;
|
|
1393
|
+
values: Record<string, object>;
|
|
1394
|
+
views: CalendarView[];
|
|
1395
|
+
dragFeature: object | boolean | string | CalendarDrag | CalendarDragConfig;
|
|
1396
|
+
eventBufferFeature: object | boolean | string | EventBuffer | EventBufferConfig;
|
|
1397
|
+
eventCopyPasteFeature: object | boolean | string | EventCopyPaste | EventCopyPasteConfig;
|
|
1398
|
+
eventEditFeature: object | boolean | string | EventEdit | EventEditConfig;
|
|
1399
|
+
eventMenuFeature: object | boolean | string | EventMenu | EventMenuConfig;
|
|
1400
|
+
eventTooltipFeature: object | boolean | string | EventTooltip | EventTooltipConfig;
|
|
1401
|
+
excelExporterFeature: object | boolean | string | ExcelExporter | ExcelExporterConfig;
|
|
1402
|
+
externalEventSourceFeature: object | boolean | string | ExternalEventSource | ExternalEventSourceConfig;
|
|
1403
|
+
loadOnDemandFeature: object | boolean | string | LoadOnDemand | LoadOnDemandConfig;
|
|
1404
|
+
printFeature: object | boolean | string | Print | PrintConfig;
|
|
1405
|
+
scheduleMenuFeature: object | boolean | string | ScheduleMenu | ScheduleMenuConfig;
|
|
1406
|
+
scheduleTooltipFeature: object | boolean | string | ScheduleTooltip | ScheduleTooltipConfig;
|
|
1407
|
+
timeRangesFeature: object | boolean | string | TimeRanges | TimeRangesConfig;
|
|
1408
|
+
weekExpanderFeature: object | boolean | string | WeekExpander | WeekExpanderConfig;
|
|
1409
|
+
/**
|
|
1410
|
+
* Fired when a change of view (Calendar mode) has completed. By default, view changes are animated and this
|
|
1411
|
+
* event fires when the view is fully visible.
|
|
1412
|
+
* @param {object} event Event object
|
|
1413
|
+
* @param {Calendar.view.Calendar} event.source This Calendar instance.
|
|
1414
|
+
* @param {CalendarView} event.prevActiveItem The previously active view.
|
|
1415
|
+
* @param {CalendarView} event.activeItem The new active view.
|
|
1416
|
+
* @param {boolean} event.containedFocus `true` if the outgoing view contained focus.
|
|
1417
|
+
*/
|
|
1418
|
+
onActiveItemChange: any;
|
|
1419
|
+
/**
|
|
1420
|
+
* Fires on the owning Scheduler after editor is closed by any action - save, delete or cancel
|
|
1421
|
+
* @param {object} event Event object
|
|
1422
|
+
* @param {Scheduler.view.Scheduler} event.source The scheduler
|
|
1423
|
+
* @param {'save','delete','cancel'} event.action The action that was taken to end the edit. One of 'save', 'delete' or 'cancel'
|
|
1424
|
+
* @param {Scheduler.feature.SchedulerEventEdit} event.eventEdit The eventEdit feature
|
|
1425
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The record that has been edited.
|
|
1426
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The Resource record for the event. If the event is being created, it will not contain a resource, so this parameter specifies the resource the event is being created for.
|
|
1427
|
+
* @param {HTMLElement} event.eventElement The element which represents the event in the scheduler display.
|
|
1428
|
+
* @param {Core.widget.Popup} event.editor The editor
|
|
1429
|
+
*/
|
|
1430
|
+
onAfterEventEdit: any;
|
|
1431
|
+
/**
|
|
1432
|
+
* Fires on the owning Scheduler after an event is successfully saved
|
|
1433
|
+
* @param {object} event Event object
|
|
1434
|
+
* @param {Scheduler.view.Scheduler} event.source The scheduler instance
|
|
1435
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The record about to be saved
|
|
1436
|
+
*/
|
|
1437
|
+
onAfterEventSave: any;
|
|
1438
|
+
/**
|
|
1439
|
+
* Fired before a change of view (Calendar mode) is initiated.
|
|
1440
|
+
* @param {object} event Event object
|
|
1441
|
+
* @param {Calendar.view.Calendar} event.source This Calendar instance.
|
|
1442
|
+
* @param {CalendarView} event.prevActiveItem The previously active view.
|
|
1443
|
+
* @param {CalendarView} event.activeItem The new active view.
|
|
1444
|
+
*/
|
|
1445
|
+
onBeforeActiveItemChange: any;
|
|
1446
|
+
/**
|
|
1447
|
+
* Fires before an assignment is removed. Can be triggered by user pressing [DELETE] or [BACKSPACE] or
|
|
1448
|
+
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
1449
|
+
* case records should be "manually" removed after confirmation:
|
|
1450
|
+
* ...
|
|
1451
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeAssignmentDelete)
|
|
1452
|
+
* @param {object} event Event object
|
|
1453
|
+
* @param {Scheduler.view.Scheduler} event.source The Scheduler instance
|
|
1454
|
+
* @param {Scheduler.model.AssignmentModel[]} event.assignmentRecords The assignment records about to be deleted
|
|
1455
|
+
* @param {object} event.context Additional removal context:
|
|
1456
|
+
* @param {Function} event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
|
|
1457
|
+
* @param {boolean} event.context.finalize.removeRecords Provide `false` to the function to prevent the removal.
|
|
1458
|
+
*/
|
|
1459
|
+
onBeforeAssignmentDelete: any;
|
|
1460
|
+
/**
|
|
1461
|
+
* Fired any time there is going to be a change to the assignments selected in the Scheduler.
|
|
1462
|
+
* Returning `false` prevents the change
|
|
1463
|
+
* @param {object} event Event object
|
|
1464
|
+
* @param {Scheduler.view.Scheduler} event.source This Scheduler instance.
|
|
1465
|
+
* @param {'select','deselect','update','clear'} event.action One of the actions 'select', 'deselect', 'update', 'clear'
|
|
1466
|
+
* @param {Scheduler.model.AssignmentModel[]} event.selected An array of assignments that will be added to the selection.
|
|
1467
|
+
* @param {Scheduler.model.AssignmentModel[]} event.deselected An array of assignments that will be removed from the selection.
|
|
1468
|
+
* @param {Scheduler.model.AssignmentModel[]} event.selection The currently selected assignments, before applying `selected` and `deselected`.
|
|
1469
|
+
*/
|
|
1470
|
+
onBeforeAssignmentSelectionChange: any;
|
|
1471
|
+
/**
|
|
1472
|
+
* This event fires whenever a child view's [autoCreate gesture](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate) is detected and also when a [drag-create](#Calendar/feature/CalendarDrag) gesture is detected.
|
|
1473
|
+
* ...
|
|
1474
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeAutoCreate)
|
|
1475
|
+
* @param {object} event Event object
|
|
1476
|
+
* @param {CalendarView} event.source The child view on which the event was initiated.
|
|
1477
|
+
* @param {Event} event.domEvent The DOM event which initiated the creation.
|
|
1478
|
+
* @param {Date} event.date *DEPRECATED in favour of `startDate`.* The starting time of the event to be created. If this is in a `DayView`, this will be snapped according to the specification in [autoCreate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate)
|
|
1479
|
+
* @param {Date} event.startDate The starting time of the event to be created. If this is in a `DayView`, this will be snapped according to the specification in [autoCreate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate)
|
|
1480
|
+
* @param {Date} event.endDate The ending time of the event to be created.
|
|
1481
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource if the UI includes a resource.
|
|
1482
|
+
*/
|
|
1483
|
+
onBeforeAutoCreate: any;
|
|
1484
|
+
/**
|
|
1485
|
+
* Fires on the owning Scheduler before a copy action is performed, return `false` to prevent the action
|
|
1486
|
+
* @param {object} event Event object
|
|
1487
|
+
* @param {Scheduler.view.Scheduler} event.source Owner scheduler
|
|
1488
|
+
* @param {Scheduler.model.EventModel[]} event.eventRecords The event records about to be copied
|
|
1489
|
+
* @param {Scheduler.model.AssignmentModel[]} event.assignmentRecords The assignment records about to be copied
|
|
1490
|
+
* @param {boolean} event.isCut `true` if this is a cut action
|
|
1491
|
+
* @param {string} event.entityName 'event' to distinguish this event from other beforeCopy events
|
|
1492
|
+
*/
|
|
1493
|
+
onBeforeCopy: any;
|
|
1494
|
+
/**
|
|
1495
|
+
* Fires before a mode is created. The configuration block is passed to the handler for possible modification.
|
|
1496
|
+
* @param {object} event Event object
|
|
1497
|
+
* @param {Calendar.view.Calendar} event.source This Calendar
|
|
1498
|
+
* @param {AgendaViewConfig,DayResourceViewConfig,DayViewConfig,EventListConfig,MonthViewConfig,ResourceViewConfig,WeekViewConfig,YearViewConfig,DayAgendaViewConfig,MonthAgendaViewConfig,CalendarContainerItemConfig} event.config The configuration block of the mode about to be created. Any property, including the `type` may be changed.
|
|
1499
|
+
*/
|
|
1500
|
+
onBeforeCreateMode: any;
|
|
1501
|
+
/**
|
|
1502
|
+
* Fires on the owning Grid before CSV export starts. Return `false` to cancel the export.
|
|
1503
|
+
* @param {object} event Event object
|
|
1504
|
+
* @param {ExportConfig} event.config Export config
|
|
1505
|
+
* @param {Grid.column.Column[]} event.columns An array of columns to export
|
|
1506
|
+
* @param {Core.data.Model[]} event.rows An array of records to export
|
|
1507
|
+
* @param {string} event.lineDelimiter The CSV delimiter to separate lines
|
|
1508
|
+
* @param {string} event.columnDelimiter The CSV delimiter to separate values on one line
|
|
1509
|
+
*/
|
|
1510
|
+
onBeforeCSVExport: any;
|
|
1511
|
+
/**
|
|
1512
|
+
* Fires before an object is destroyed.
|
|
1513
|
+
* @param {object} event Event object
|
|
1514
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
1515
|
+
*/
|
|
1516
|
+
onBeforeDestroy: any;
|
|
1517
|
+
/**
|
|
1518
|
+
* This event fires on the owning Calendar before a drag creation gesture is started. Return `false` to
|
|
1519
|
+
* veto the operation.
|
|
1520
|
+
* @param {object} event Event object
|
|
1521
|
+
* @param {Calendar.view.Calendar} event.source The Calendar instance that fired the event.
|
|
1522
|
+
* @param {Core.util.drag.DragContext} event.drag The drag create context.
|
|
1523
|
+
* @param {Event} event.domEvent The browser event.
|
|
1524
|
+
* @param {Date} event.date The date at the drag DOM event position.
|
|
1525
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1526
|
+
* @param {Calendar.feature.CalendarDrag} event.feature The Calendar drag feature instance.
|
|
1527
|
+
* @param {CalendarView} event.view The Calendar widget in which the drag is being started.
|
|
1528
|
+
*/
|
|
1529
|
+
onBeforeDragCreate: any;
|
|
1530
|
+
/**
|
|
1531
|
+
* This event fires on the owning Calendar before a drag creation gesture is completed. Return `false` to
|
|
1532
|
+
* immediately veto the operation or a Promise yielding `true` or `false` for async vetoing.
|
|
1533
|
+
* @param {object} event Event object
|
|
1534
|
+
* @param {Calendar.view.Calendar} event.source The Calendar instance that fired the event.
|
|
1535
|
+
* @param {Core.util.drag.DragContext} event.drag The drag create context.
|
|
1536
|
+
* @param {Event} event.event The browser event.
|
|
1537
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The `EventModel` record being created that has not yet been added in the store.
|
|
1538
|
+
* @param {Date} event.newStartDate The new start date.
|
|
1539
|
+
* @param {Date} event.newEndDate The new end date.
|
|
1540
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1541
|
+
* @param {Calendar.feature.CalendarDrag} event.feature The Calendar drag feature instance.
|
|
1542
|
+
* @param {boolean,ValidateCreateResult} event.validation The result of the [validateCreateFn](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag#config-validateCreateFn) if one was provided.
|
|
1543
|
+
* @param {CalendarView} event.view The Calendar widget in which the drag completed.
|
|
1544
|
+
*/
|
|
1545
|
+
onBeforeDragCreateEnd: any;
|
|
1546
|
+
/**
|
|
1547
|
+
* This event fires on the owning Calendar before a drag move gesture is started. Return `false` to
|
|
1548
|
+
* veto the operation.
|
|
1549
|
+
* @param {object} event Event object
|
|
1550
|
+
* @param {Calendar.view.Calendar} event.source The Calendar instance that fired the event.
|
|
1551
|
+
* @param {Core.util.drag.DragContext} event.drag The drag move context.
|
|
1552
|
+
* @param {Event} event.domEvent The browser event.
|
|
1553
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The `EventModel` record being moved.
|
|
1554
|
+
* @param {Date} event.date The date at the drag DOM event position.
|
|
1555
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1556
|
+
* @param {Calendar.feature.CalendarDrag} event.feature The Calendar drag feature instance.
|
|
1557
|
+
* @param {CalendarView} event.view The Calendar widget in which the drag is being started.
|
|
1558
|
+
*/
|
|
1559
|
+
onBeforeDragMove: any;
|
|
1560
|
+
/**
|
|
1561
|
+
* This event fires on the owning Calendar before a drag move gesture is completed. Return `false` to immediately veto the operation
|
|
1562
|
+
* or a Promise yielding `true` or `false` for async vetoing.
|
|
1563
|
+
* @param {object} event Event object
|
|
1564
|
+
* @param {Calendar.view.Calendar} event.source The Calendar instance that fired the event.
|
|
1565
|
+
* @param {Core.util.drag.DragContext} event.drag The drag create context.
|
|
1566
|
+
* @param {Event} event.event The browser event.
|
|
1567
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The `EventModel` record that has *not yet been updated* in the store.
|
|
1568
|
+
* @param {Scheduler.model.EventModel} event.proxyEventRecord The `EventModel` record that is being used as a proxy for the drag operation and being updated on every pointer move. This will contain changed values based on the drag position.
|
|
1569
|
+
* @param {Date} event.newStartDate The new start date.
|
|
1570
|
+
* @param {Date} event.newEndDate The new end date.
|
|
1571
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1572
|
+
* @param {Calendar.feature.CalendarDrag} event.feature The Calendar drag feature instance.
|
|
1573
|
+
* @param {boolean,ValidateCreateResult} event.validation The result of the [validateMoveFn](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag#config-validateMoveFn) if one was provided.
|
|
1574
|
+
* @param {CalendarView} event.view The Calendar widget in which the drag completed.
|
|
1575
|
+
*/
|
|
1576
|
+
onBeforeDragMoveEnd: any;
|
|
1577
|
+
/**
|
|
1578
|
+
* This event fires on the owning Calendar before a drag resize gesture is started. Return `false` to
|
|
1579
|
+
* veto the operation.
|
|
1580
|
+
* @param {object} event Event object
|
|
1581
|
+
* @param {Calendar.view.Calendar} event.source The Calendar instance that fired the event.
|
|
1582
|
+
* @param {Core.util.drag.DragContext} event.drag The drag resize context.
|
|
1583
|
+
* @param {Event} event.domEvent The browser event.
|
|
1584
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The `EventModel` record being resized.
|
|
1585
|
+
* @param {Date} event.date The date at the drag DOM event position.
|
|
1586
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1587
|
+
* @param {Calendar.feature.CalendarDrag} event.feature The Calendar drag feature instance.
|
|
1588
|
+
* @param {CalendarView} event.view The Calendar widget in which the drag is being started.
|
|
1589
|
+
*/
|
|
1590
|
+
onBeforeDragResize: any;
|
|
1591
|
+
/**
|
|
1592
|
+
* This event fires on the owning Calendar before a drag resize gesture is completed. Return `false` to immediately veto the operation
|
|
1593
|
+
* or a Promise yielding `true` or `false` for async vetoing.
|
|
1594
|
+
* @param {object} event Event object
|
|
1595
|
+
* @param {Calendar.view.Calendar} event.source The Calendar instance that fired the event.
|
|
1596
|
+
* @param {Core.util.drag.DragContext} event.drag The drag create context.
|
|
1597
|
+
* @param {Event} event.event The browser event.
|
|
1598
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The `EventModel` record that has *not yet been updated* in the store.
|
|
1599
|
+
* @param {Scheduler.model.EventModel} event.proxyEventRecord The `EventModel` record that is being used as a proxy for the drag operation and being updated on every pointer move. This will contain changed values based on the drag position.
|
|
1600
|
+
* @param {Date} event.newStartDate The new start date.
|
|
1601
|
+
* @param {Date} event.newEndDate The new end date.
|
|
1602
|
+
* @param {Calendar.feature.CalendarDrag} event.feature The Calendar drag feature instance.
|
|
1603
|
+
* @param {boolean,ValidateCreateResult} event.validation The result of the [validateResizeFn](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag#config-validateResizeFn) if one was provided.
|
|
1604
|
+
* @param {CalendarView} event.view The Calendar widget in which the drag completed.
|
|
1605
|
+
*/
|
|
1606
|
+
onBeforeDragResizeEnd: any;
|
|
1607
|
+
/**
|
|
1608
|
+
* This event is fired on the owning Calendar when dropping an event from the calendar on the
|
|
1609
|
+
* external source <strong>if the [droppable](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource#config-droppable) was configured</strong>. Returning `false`
|
|
1610
|
+
* prevents the gesture from being completed.
|
|
1611
|
+
* ...
|
|
1612
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeDropExternal)
|
|
1613
|
+
* @param {object} event Event object
|
|
1614
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The event record being dragged.
|
|
1615
|
+
* @param {boolean} event.dropOnCalendar `true` if the drop gesture is over the client Calendar. This feature also allows drag *out* of the Calendar and onto the external event source if the [droppable](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource#config-droppable) config is set.
|
|
1616
|
+
* @param {HTMLElement} event.itemElement The element in which the drag gesture started.
|
|
1617
|
+
* @param {HTMLElement} event.targetElement The current over element.
|
|
1618
|
+
* @param {Event} event.domEvent The pointer event associated with the drag point.
|
|
1619
|
+
* @param {number} event.overIndex *If [grid](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource#config-grid) was specified*, the index of the row being moved over;
|
|
1620
|
+
* @param {Core.data.Model} event.overRecord *If [grid](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource#config-grid) was specified*, the record being moved over;
|
|
1621
|
+
* @param {boolean} event.isAbove *If [grid](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource#config-grid) was specified*, `true` if the pointer position is above the halfway line of the over row.
|
|
1622
|
+
* @param {boolean} event.altKey `true` if the Alt key was down when the last event was processed.
|
|
1623
|
+
* @param {boolean} event.ctrlKey `true` if the Ctrl key was down when the last event was processed.
|
|
1624
|
+
* @param {boolean} event.metaKey `true` if the Meta key was down when the last event was processed.
|
|
1625
|
+
* @param {boolean} event.shiftKey `true` if the Shift key was down when the last event was processed.
|
|
1626
|
+
*/
|
|
1627
|
+
onBeforeDropExternal: any;
|
|
1628
|
+
/**
|
|
1629
|
+
* Fires before an event is removed. Can be triggered by user pressing [DELETE] or [BACKSPACE] or by the
|
|
1630
|
+
* event editor. Can for example be used to display a custom dialog to confirm deletion, in which case
|
|
1631
|
+
* records should be "manually" removed after confirmation:
|
|
1632
|
+
* ...
|
|
1633
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeEventDelete)
|
|
1634
|
+
* @param {object} event Event object
|
|
1635
|
+
* @param {Calendar.view.Calendar} event.source The Calendar instance
|
|
1636
|
+
* @param {Scheduler.model.EventModel[]} event.eventRecords The records about to be deleted
|
|
1637
|
+
* @param {object} event.context Additional removal context:
|
|
1638
|
+
* @param {Function} event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
|
|
1639
|
+
* @param {boolean} event.context.finalize.removeRecords Provide `false` to the function to prevent the removal.
|
|
1640
|
+
*/
|
|
1641
|
+
onBeforeEventDelete: any;
|
|
1642
|
+
/**
|
|
1643
|
+
* Fires on the owning Scheduler before an event is displayed in an editor.
|
|
1644
|
+
* This may be listened for to allow an application to take over event editing duties. Returning `false`
|
|
1645
|
+
* stops the default editing UI from being shown.
|
|
1646
|
+
* ...
|
|
1647
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeEventEdit)
|
|
1648
|
+
* @param {object} event Event object
|
|
1649
|
+
* @param {Scheduler.view.Scheduler} event.source The scheduler
|
|
1650
|
+
* @param {Scheduler.feature.SchedulerEventEdit} event.eventEdit The eventEdit feature
|
|
1651
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The record about to be shown in the event editor.
|
|
1652
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The Resource record for the event. If the event is being created, it will not contain a resource, so this parameter specifies the resource the event is being created for.
|
|
1653
|
+
* @param {HTMLElement} event.eventElement The element which represents the event in the scheduler display.
|
|
1654
|
+
*/
|
|
1655
|
+
onBeforeEventEdit: any;
|
|
1656
|
+
/**
|
|
1657
|
+
* Fires on the owning Scheduler when the editor for an event is available but before it is populated with
|
|
1658
|
+
* data and shown. Allows manipulating fields etc.
|
|
1659
|
+
* @param {object} event Event object
|
|
1660
|
+
* @param {Scheduler.view.Scheduler} event.source The scheduler
|
|
1661
|
+
* @param {Scheduler.feature.SchedulerEventEdit} event.eventEdit The eventEdit feature
|
|
1662
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The record about to be shown in the event editor.
|
|
1663
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The Resource record for the event. If the event is being created, it will not contain a resource, so this parameter specifies the resource the event is being created for.
|
|
1664
|
+
* @param {HTMLElement} event.eventElement The element which represents the event in the scheduler display.
|
|
1665
|
+
* @param {Core.widget.Popup} event.editor The editor
|
|
1666
|
+
*/
|
|
1667
|
+
onBeforeEventEditShow: any;
|
|
1668
|
+
/**
|
|
1669
|
+
* Fires on the owning Scheduler before an event is saved.
|
|
1670
|
+
* Return `false` to immediately prevent saving
|
|
1671
|
+
* ...
|
|
1672
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeEventSave)
|
|
1673
|
+
* @param {object} event Event object
|
|
1674
|
+
* @param {Scheduler.view.Scheduler} event.source The scheduler instance
|
|
1675
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The record about to be saved
|
|
1676
|
+
* @param {Scheduler.model.ResourceModel[]} event.resourceRecords The resources to which the event is assigned
|
|
1677
|
+
* @param {object} event.values The new values
|
|
1678
|
+
* @param {object} event.context Extended save context:
|
|
1679
|
+
* @param {boolean} event.context.async Set this to `true` in a listener to indicate that the listener will asynchronously decide to prevent or not the event save.
|
|
1680
|
+
* @param {Function} event.context.finalize Function to call to finalize the save. Used when `async` is `true`. Provide `false` to the function to prevent the save.
|
|
1681
|
+
*/
|
|
1682
|
+
onBeforeEventSave: any;
|
|
1683
|
+
/**
|
|
1684
|
+
* Fired any time there is going to be a change to the events selected in the Scheduler.
|
|
1685
|
+
* Returning `false` prevents the change
|
|
1686
|
+
* @param {object} event Event object
|
|
1687
|
+
* @param {Scheduler.view.Scheduler} event.source This Scheduler instance.
|
|
1688
|
+
* @param {'select','deselect','update','clear'} event.action One of the actions 'select', 'deselect', 'update', 'clear'
|
|
1689
|
+
* @param {Scheduler.model.EventModel[]} event.selected An array of events that will be added to the selection.
|
|
1690
|
+
* @param {Scheduler.model.EventModel[]} event.deselected An array of events that will be removed from the selection.
|
|
1691
|
+
* @param {Scheduler.model.EventModel[]} event.selection The currently selected events, before applying `selected` and `deselected`.
|
|
1692
|
+
*/
|
|
1693
|
+
onBeforeEventSelectionChange: any;
|
|
1694
|
+
/**
|
|
1695
|
+
* Fires on the owning Grid before Excel export starts. Return `false` to cancel the export.
|
|
1696
|
+
* @param {object} event Event object
|
|
1697
|
+
* @param {ExportConfig} event.config Export config
|
|
1698
|
+
* @param {XLSColumn[]} event.columns An array of columns to export
|
|
1699
|
+
* @param {any[][]} event.rows An array of records to export
|
|
1700
|
+
*/
|
|
1701
|
+
onBeforeExcelExport: any;
|
|
1702
|
+
/**
|
|
1703
|
+
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
1704
|
+
* @param {object} event Event object
|
|
1705
|
+
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
1706
|
+
*/
|
|
1707
|
+
onBeforeHide: any;
|
|
1708
|
+
/**
|
|
1709
|
+
* Fires on the owning Scheduler before a paste action is performed, return `false` to prevent the action.
|
|
1710
|
+
* Depending on if the EventStore is using [singleAssignment](https://bryntum.com/products/calendar/docs/api/Scheduler/data/EventStore#config-singleAssignment) or the
|
|
1711
|
+
* configuration of [copyPasteAction](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/EventCopyPaste#config-copyPasteAction), either the `eventRecords` or the `assignmentRecords` param
|
|
1712
|
+
* will be populated with record copies.
|
|
1713
|
+
* @param {object} event Event object
|
|
1714
|
+
* @param {Scheduler.view.Scheduler} event.source Owner scheduler
|
|
1715
|
+
* @param {Scheduler.model.EventModel[]} event.eventRecords The events about to be pasted
|
|
1716
|
+
* @param {Scheduler.model.AssignmentModel[]} event.assignmentRecords The assignments about to be pasted
|
|
1717
|
+
* @param {Scheduler.model.EventModel[]} event.originalEventRecords The original event records
|
|
1718
|
+
* @param {Scheduler.model.AssignmentModel[]} event.originalAssignmentRecords The original assignment record
|
|
1719
|
+
* @param {Date} event.date The date when the pasted events will be scheduled
|
|
1720
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The target resource record, the clipboard event records will be assigned to this resource.
|
|
1721
|
+
* @param {boolean} event.isCut `true` if this is a cut action
|
|
1722
|
+
* @param {string} event.entityName 'event' to distinguish this event from other beforePaste events
|
|
1723
|
+
*/
|
|
1724
|
+
onBeforePaste: any;
|
|
1725
|
+
/**
|
|
1726
|
+
* Fires on the owning Calendar before print starts. Return `false` to cancel the print.
|
|
1727
|
+
* @param {object} event Event object
|
|
1728
|
+
* @param {object} event.config Print config
|
|
1729
|
+
*/
|
|
1730
|
+
onBeforePrint: any;
|
|
1731
|
+
/**
|
|
1732
|
+
* Triggered before a new [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState) is applied.
|
|
1733
|
+
* @param {object} event Event object
|
|
1734
|
+
* @param {Core.widget.Widget} event.source The widget whose `responsiveState` is to be changed
|
|
1735
|
+
* @param {string} event.state The new value for the widget's `responsiveState`
|
|
1736
|
+
* @param {string} event.oldState The previous value for the widget's `responsiveState`
|
|
1737
|
+
*/
|
|
1738
|
+
onBeforeResponsiveStateChange: any;
|
|
1739
|
+
/**
|
|
1740
|
+
* Fired before this container will load record values into its child fields. This is useful if you
|
|
1741
|
+
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
1742
|
+
* @param {object} event Event object
|
|
1743
|
+
* @param {Core.widget.Container} event.source The container
|
|
1744
|
+
* @param {Core.data.Model} event.record The record
|
|
1745
|
+
*/
|
|
1746
|
+
onBeforeSetRecord: any;
|
|
1747
|
+
/**
|
|
1748
|
+
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
1749
|
+
* @param {object} event Event object
|
|
1750
|
+
* @param {Core.widget.Widget,any} event.source The widget being shown
|
|
1751
|
+
*/
|
|
1752
|
+
onBeforeShow: any;
|
|
1753
|
+
/**
|
|
1754
|
+
* Fired before state is applied to the source. Allows editing the state object or preventing the operation.
|
|
1755
|
+
* @param {object} event Event object
|
|
1756
|
+
* @param {any} event.state State object config
|
|
1757
|
+
*/
|
|
1758
|
+
onBeforeStateApply: any;
|
|
1759
|
+
/**
|
|
1760
|
+
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
1761
|
+
* @param {object} event Event object
|
|
1762
|
+
* @param {any} event.state State object config
|
|
1763
|
+
*/
|
|
1764
|
+
onBeforeStateSave: any;
|
|
1765
|
+
/**
|
|
1766
|
+
* Fires when any other event is fired from the object.
|
|
1767
|
+
* ...
|
|
1768
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-catchAll)
|
|
1769
|
+
* @param {object} event Event object
|
|
1770
|
+
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
1771
|
+
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
1772
|
+
*/
|
|
1773
|
+
onCatchAll: any;
|
|
1774
|
+
/**
|
|
1775
|
+
* Fires when a cell overflow indicator is clicked or activated by the <kbd>ENTER</kbd> key in any view. This will include
|
|
1776
|
+
* the cells of a [YearView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView) and the `+ n more` overflow
|
|
1777
|
+
* indicator of cells in a [MonthView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView), and "all day" events section
|
|
1778
|
+
* of a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView).
|
|
1779
|
+
* @param {object} event Event object
|
|
1780
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
1781
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
1782
|
+
* @param {Date} event.date The date clicked on.
|
|
1783
|
+
*/
|
|
1784
|
+
onCellOverflowClick: any;
|
|
1785
|
+
/**
|
|
1786
|
+
* Fires when a Panel is collapsed using the [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible) setting.
|
|
1787
|
+
* @param {object} event Event object
|
|
1788
|
+
* @param {Core.widget.Panel} event.source This Panel.
|
|
1789
|
+
*/
|
|
1790
|
+
onCollapse: any;
|
|
1791
|
+
/**
|
|
1792
|
+
* This event fires on the owning widget when an item is selected in the context menu.
|
|
1793
|
+
* @param {object} event Event object
|
|
1794
|
+
* @param {Core.widget.Widget} event.source The owning widget
|
|
1795
|
+
* @param {Core.widget.Menu} event.menu The menu
|
|
1796
|
+
* @param {Core.widget.MenuItem} event.item Selected menu item
|
|
1797
|
+
*/
|
|
1798
|
+
onContextMenuItem: any;
|
|
1799
|
+
/**
|
|
1800
|
+
* This event fires on the owning widget when a check item is toggled in the context menu.
|
|
1801
|
+
* @param {object} event Event object
|
|
1802
|
+
* @param {Core.widget.Widget} event.source The owning widget
|
|
1803
|
+
* @param {Core.widget.Menu} event.menu The menu
|
|
1804
|
+
* @param {Core.widget.MenuItem} event.item Selected menu item
|
|
1805
|
+
* @param {boolean} event.checked Checked or not
|
|
1806
|
+
*/
|
|
1807
|
+
onContextMenuToggleItem: any;
|
|
1808
|
+
/**
|
|
1809
|
+
* Fires on the owning Scheduler after a copy action is performed. Depending on if the EventStore is using
|
|
1810
|
+
* [singleAssignment](https://bryntum.com/products/calendar/docs/api/Scheduler/data/EventStore#config-singleAssignment) or the configuration of
|
|
1811
|
+
* [copyPasteAction](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/EventCopyPaste#config-copyPasteAction), either the `eventRecords` or the `assignmentRecords` param will be populated
|
|
1812
|
+
* with record copies.
|
|
1813
|
+
* @param {object} event Event object
|
|
1814
|
+
* @param {Scheduler.view.Scheduler} event.source Owner scheduler
|
|
1815
|
+
* @param {Scheduler.model.EventModel[]} event.eventRecords The event record copies
|
|
1816
|
+
* @param {Scheduler.model.AssignmentModel[]} event.assignmentRecords The assignment record copies
|
|
1817
|
+
* @param {Scheduler.model.EventModel[]} event.originalEventRecords The event records that were copied
|
|
1818
|
+
* @param {Scheduler.model.AssignmentModel[]} event.originalAssignmentRecord The assignment records that were copied
|
|
1819
|
+
* @param {boolean} event.isCut `true` if this is a cut action
|
|
1820
|
+
* @param {string} event.entityName 'event' to distinguish this event from other copy events
|
|
1821
|
+
*/
|
|
1822
|
+
onCopy: any;
|
|
1823
|
+
/**
|
|
1824
|
+
* Fires on the owning Scheduler/Gantt when the line indicating the current time is updated (see [currentTimeLineUpdateInterval](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/TimeRanges#config-currentTimeLineUpdateInterval)).
|
|
1825
|
+
* @param {object} event Event object
|
|
1826
|
+
* @param {Scheduler.view.Scheduler} event.source The scheduler
|
|
1827
|
+
* @param {Date} event.date The current date
|
|
1828
|
+
*/
|
|
1829
|
+
onCurrentTimelineUpdate: any;
|
|
1830
|
+
/**
|
|
1831
|
+
* Fired when data in any of the projects stores changes.
|
|
1832
|
+
* ...
|
|
1833
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dataChange)
|
|
1834
|
+
* @param {object} event Event object
|
|
1835
|
+
* @param {typeof Scheduler.data.mixin.ProjectConsumer,any} event.source Owning component
|
|
1836
|
+
* @param {typeof Scheduler.model.mixin.ProjectModelMixin,any} event.project Project model
|
|
1837
|
+
* @param {Core.data.Store} event.store Affected store
|
|
1838
|
+
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
1839
|
+
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
1840
|
+
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
1841
|
+
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
1842
|
+
*/
|
|
1843
|
+
onDataChange: any;
|
|
1844
|
+
/**
|
|
1845
|
+
* Fires when the calendar changes the date that it orientates its views around.
|
|
1846
|
+
* ...
|
|
1847
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dateChange)
|
|
1848
|
+
* @param {object} event Event object
|
|
1849
|
+
* @param {Calendar.view.Calendar} event.source This Calendar.
|
|
1850
|
+
* @param {Date} event.oldDate The previous Calendar date.
|
|
1851
|
+
* @param {Date} event.date The new Calendar date.
|
|
1852
|
+
*/
|
|
1853
|
+
onDateChange: any;
|
|
1854
|
+
/**
|
|
1855
|
+
* Fired when the eventStore is queried for events by date range, and the date range
|
|
1856
|
+
* requested is different from the last time the store was queried.
|
|
1857
|
+
* ...
|
|
1858
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dateRangeChange)
|
|
1859
|
+
* @param {object} event Event object
|
|
1860
|
+
* @param {Calendar.view.Calendar} event.source This Calendar instance
|
|
1861
|
+
* @param {object} event.old The old date range
|
|
1862
|
+
* @param {Date} event.old.startDate the old start date
|
|
1863
|
+
* @param {Date} event.old.endDate the old end date
|
|
1864
|
+
* @param {object} event.new The new date range
|
|
1865
|
+
* @param {Date} event.new.startDate the new start date
|
|
1866
|
+
* @param {Date} event.new.endDate the new end date
|
|
1867
|
+
*/
|
|
1868
|
+
onDateRangeChange: any;
|
|
1869
|
+
/**
|
|
1870
|
+
* Fires when the [LoadOnDemand](https://bryntum.com/products/calendar/docs/api/Calendar/feature/LoadOnDemand) feature has loaded a range of events.
|
|
1871
|
+
* @param {object} event Event object
|
|
1872
|
+
* @param {object} event.response The decoded JSON response.
|
|
1873
|
+
* @param {object} event.options The options object passed into the CrudManager [CrudManager](https://bryntum.com/products/calendar/docs/api/Scheduler/data/CrudManager) [load](https://bryntum.com/products/calendar/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) method.
|
|
1874
|
+
* @param {Date} event.startDate The start date of the range to request.
|
|
1875
|
+
* @param {Date} event.endDate The end date of the range to request. <strong>Note that Dates are timestamps</strong>.
|
|
1876
|
+
*/
|
|
1877
|
+
onDateRangeLoad: any;
|
|
1878
|
+
/**
|
|
1879
|
+
* Fired <strong>every</strong> time the eventStore is queried for events by date range.
|
|
1880
|
+
* ...
|
|
1881
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dateRangeRequested)
|
|
1882
|
+
* @param {object} event Event object
|
|
1883
|
+
* @param {Calendar.view.Calendar} event.source This Calendar instance
|
|
1884
|
+
* @param {object} event.old The old date range
|
|
1885
|
+
* @param {Date} event.old.startDate the old start date
|
|
1886
|
+
* @param {Date} event.old.endDate the old end date
|
|
1887
|
+
* @param {object} event.new The new date range
|
|
1888
|
+
* @param {Date} event.new.startDate the new start date
|
|
1889
|
+
* @param {Date} event.new.endDate the new end date
|
|
1890
|
+
* @param {boolean} event.changed `true` if the date range is different from the last time a request was made
|
|
1891
|
+
*/
|
|
1892
|
+
onDateRangeRequested: any;
|
|
1893
|
+
/**
|
|
1894
|
+
* Fired by the active view after one day cell's events are collected in sorted order according to the
|
|
1895
|
+
* [eventSorter](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-eventSorter)
|
|
1896
|
+
* ...
|
|
1897
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dayCellPopulated)
|
|
1898
|
+
* @param {object} event Event object
|
|
1899
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
1900
|
+
* @param {Scheduler.model.EventModel[]} event.events The events to be shown for the passed date
|
|
1901
|
+
* @param {Date} event.The date the events are to be shown in.
|
|
1902
|
+
*/
|
|
1903
|
+
onDayCellPopulated: any;
|
|
1904
|
+
/**
|
|
1905
|
+
* Fires when a day number is clicked or activated by the <kbd>ENTER</kbd> key in a view which shows day numbers.
|
|
1906
|
+
* This will include the cells of a [YearView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView), the cell header of cells
|
|
1907
|
+
* in a [MonthView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView), and the day header in a [DayView](#Calendar/widget/DayView).
|
|
1908
|
+
* ...
|
|
1909
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dayNumberClick)
|
|
1910
|
+
* @param {object} event Event object
|
|
1911
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
1912
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
1913
|
+
* @param {Date} event.date The date clicked on.
|
|
1914
|
+
* @param {DayCell} event.cellData An object that contains data about the calendar cell for the date.
|
|
1915
|
+
* @param {boolean} event.fromOverflowPopup `true` if the interaction was through the source view's [overflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellRenderer#property-overflowPopup).
|
|
1916
|
+
*/
|
|
1917
|
+
onDayNumberClick: any;
|
|
1918
|
+
/**
|
|
1919
|
+
* Fires when an object is destroyed.
|
|
1920
|
+
* @param {object} event Event object
|
|
1921
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
1922
|
+
*/
|
|
1923
|
+
onDestroy: any;
|
|
1924
|
+
/**
|
|
1925
|
+
* Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-hasChanges) property changes
|
|
1926
|
+
* @param {object} event Event object
|
|
1927
|
+
* @param {Core.widget.Container} event.source The container.
|
|
1928
|
+
* @param {boolean} event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
|
|
1929
|
+
*/
|
|
1930
|
+
onDirtyStateChange: any;
|
|
1931
|
+
/**
|
|
1932
|
+
* This event fires on the owning Calendar when a drag creation gesture is completed.
|
|
1933
|
+
* @param {object} event Event object
|
|
1934
|
+
* @param {Calendar.view.Calendar} event.source The Calendar instance that fired the event.
|
|
1935
|
+
* @param {Core.util.drag.DragContext} event.drag The drag create context.
|
|
1936
|
+
* @param {Event} event.event The browser event.
|
|
1937
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The new `EventModel` record added in the store.
|
|
1938
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1939
|
+
* @param {Calendar.feature.CalendarDrag} event.feature The Calendar drag feature instance.
|
|
1940
|
+
* @param {boolean,ValidateCreateResult} event.validation The result of the [validateCreateFn](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag#config-validateCreateFn) if one was provided.
|
|
1941
|
+
* @param {CalendarView} event.view The Calendar widget in which the drag completed.
|
|
1942
|
+
*/
|
|
1943
|
+
onDragCreateEnd: any;
|
|
1944
|
+
/**
|
|
1945
|
+
* This event fires on the owning Calendar when a drag move gesture is completed. The `eventRecord` has already been added
|
|
1946
|
+
* to the `eventStore` of the owning calendar.
|
|
1947
|
+
* @param {object} event Event object
|
|
1948
|
+
* @param {Calendar.view.Calendar} event.source The Calendar instance that fired the event.
|
|
1949
|
+
* @param {Core.util.drag.DragContext} event.drag The drag create context.
|
|
1950
|
+
* @param {Event} event.event The browser event.
|
|
1951
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The updated `EventModel` record.
|
|
1952
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1953
|
+
* @param {Calendar.feature.CalendarDrag} event.feature The Calendar drag feature instance.
|
|
1954
|
+
* @param {boolean,ValidateCreateResult} event.validation The result of the [validateMoveFn](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag#config-validateMoveFn) if one was provided.
|
|
1955
|
+
* @param {CalendarView} event.view The Calendar widget in which the drag completed.
|
|
1956
|
+
*/
|
|
1957
|
+
onDragMoveEnd: any;
|
|
1958
|
+
/**
|
|
1959
|
+
* This event is fired on the owning Calendar when dragging an event from the calendar over the
|
|
1960
|
+
* external source <strong>if the [droppable](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource#config-droppable) was configured</strong>.
|
|
1961
|
+
* ...
|
|
1962
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dragMoveExternal)
|
|
1963
|
+
* @param {object} event Event object
|
|
1964
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The event record being dragged.
|
|
1965
|
+
* @param {HTMLElement} event.itemElement The element in which the drag gesture started.
|
|
1966
|
+
* @param {HTMLElement} event.targetElement The current over element.
|
|
1967
|
+
* @param {Event} event.domEvent The pointer event associated with the drag point.
|
|
1968
|
+
* @param {number} event.overIndex *If [grid](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource#config-grid) was specified*, the index of the row being moved over;
|
|
1969
|
+
* @param {Core.data.Model} event.overRecord *If [grid](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource#config-grid) was specified*, the record being moved over;
|
|
1970
|
+
* @param {boolean} event.isAbove *If [grid](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource#config-grid) was specified*, `true` if the pointer position is above the halfway line of the over row.
|
|
1971
|
+
* @param {boolean} event.altKey `true` if the Alt key was down when the last event was processed.
|
|
1972
|
+
* @param {boolean} event.ctrlKey `true` if the Ctrl key was down when the last event was processed.
|
|
1973
|
+
* @param {boolean} event.metaKey `true` if the Meta key was down when the last event was processed.
|
|
1974
|
+
* @param {boolean} event.shiftKey `true` if the Shift key was down when the last event was processed.
|
|
1975
|
+
*/
|
|
1976
|
+
onDragMoveExternal: any;
|
|
1977
|
+
/**
|
|
1978
|
+
* This event fires on the owning Calendar when a drag resize gesture is completed.
|
|
1979
|
+
* @param {object} event Event object
|
|
1980
|
+
* @param {Calendar.view.Calendar} event.source The Calendar instance that fired the event.
|
|
1981
|
+
* @param {Core.util.drag.DragContext} event.drag The drag create context.
|
|
1982
|
+
* @param {Event} event.event The browser event.
|
|
1983
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The updated `EventModel` record.
|
|
1984
|
+
* @param {Calendar.feature.CalendarDrag} event.feature The Calendar drag feature instance.
|
|
1985
|
+
* @param {boolean,ValidateCreateResult} event.validation The result of the [validateResizeFn](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag#config-validateResizeFn) if one was provided.
|
|
1986
|
+
* @param {CalendarView} event.view The Calendar widget in which the drag completed.
|
|
1987
|
+
*/
|
|
1988
|
+
onDragResizeEnd: any;
|
|
1989
|
+
/**
|
|
1990
|
+
* This event is fired on the owning Calendar after dropping an event from the calendar on the
|
|
1991
|
+
* external source has been completed <strong>if the [droppable](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource#config-droppable) was configured</strong>.
|
|
1992
|
+
* ...
|
|
1993
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dropExternal)
|
|
1994
|
+
* @param {object} event Event object
|
|
1995
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The event record that was dropped.
|
|
1996
|
+
* @param {boolean} event.dropOnCalendar `true` if the drop gesture is over the client Calendar. This feature also allows drag *out* of the Calendar and onto the external event source if the [droppable](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource#config-droppable) config is set.
|
|
1997
|
+
* @param {HTMLElement} event.itemElement The element in which the drag gesture started.
|
|
1998
|
+
* @param {HTMLElement} event.targetElement The current over element.
|
|
1999
|
+
* @param {Event} event.domEvent The pointer event associated with the drag point.
|
|
2000
|
+
* @param {number} event.overIndex *If [grid](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource#config-grid) was specified*, the index of the row being moved over;
|
|
2001
|
+
* @param {Core.data.Model} event.overRecord *If [grid](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource#config-grid) was specified*, the record being moved over;
|
|
2002
|
+
* @param {boolean} event.isAbove *If [grid](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource#config-grid) was specified*, `true` if the pointer position is above the halfway line of the over row.
|
|
2003
|
+
* @param {boolean} event.altKey `true` if the Alt key was down when the last event was processed.
|
|
2004
|
+
* @param {boolean} event.ctrlKey `true` if the Ctrl key was down when the last event was processed.
|
|
2005
|
+
* @param {boolean} event.metaKey `true` if the Meta key was down when the last event was processed.
|
|
2006
|
+
* @param {boolean} event.shiftKey `true` if the Shift key was down when the last event was processed.
|
|
2007
|
+
*/
|
|
2008
|
+
onDropExternal: any;
|
|
2009
|
+
/**
|
|
2010
|
+
* Triggered when a widget's [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element) is available.
|
|
2011
|
+
* @param {object} event Event object
|
|
2012
|
+
* @param {HTMLElement} event.element The Widget's element.
|
|
2013
|
+
*/
|
|
2014
|
+
onElementCreated: any;
|
|
2015
|
+
/**
|
|
2016
|
+
* Fired when an empty cell content area is clicked on in a [MonthView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView) or a
|
|
2017
|
+
* [CalendarRow](https://bryntum.com/products/calendar/docs/api/Calendar/widget/CalendarRow).
|
|
2018
|
+
* @param {object} event Event object
|
|
2019
|
+
* @param {CalendarView} event.source The child view on which the event was initiated.
|
|
2020
|
+
* @param {Event} event.domEvent The triggering DOM event.
|
|
2021
|
+
* @param {Date} event.date The date which has no visible events
|
|
2022
|
+
*/
|
|
2023
|
+
onEmptyCellClick: any;
|
|
2024
|
+
/**
|
|
2025
|
+
* Fired when an [autoCreate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate) gesture has
|
|
2026
|
+
* created a new event and added it to the event store.
|
|
2027
|
+
* ...
|
|
2028
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-eventAutoCreated)
|
|
2029
|
+
* @param {object} event Event object
|
|
2030
|
+
* @param {CalendarView} event.source The child view on which the event was initiated.
|
|
2031
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The new event record.
|
|
2032
|
+
*/
|
|
2033
|
+
onEventAutoCreated: any;
|
|
2034
|
+
/**
|
|
2035
|
+
* Fires when an event bar is clicked in any view.
|
|
2036
|
+
* @param {object} event Event object
|
|
2037
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2038
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2039
|
+
* @param {Date} event.date The date of the UI element which contains the event.
|
|
2040
|
+
* @param {HTMLElement} event.eventElement The UI element which represents the event.
|
|
2041
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The event clicked on.
|
|
2042
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource clicked on if the UI includes a resource.
|
|
2043
|
+
* @param {boolean} event.fromOverflowPopup `true` if the interaction was through the source view's [overflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellRenderer#property-overflowPopup).
|
|
2044
|
+
*/
|
|
2045
|
+
onEventClick: any;
|
|
2046
|
+
/**
|
|
2047
|
+
* Fires when an event bar is right-clicked in any view.
|
|
2048
|
+
* @param {object} event Event object
|
|
2049
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2050
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2051
|
+
* @param {Date} event.date The date of the UI element which contains the event.
|
|
2052
|
+
* @param {HTMLElement} event.eventElement The UI element which represents the event.
|
|
2053
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The event right-clicked on.
|
|
2054
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource right-clicked on if the UI includes a resource.
|
|
2055
|
+
* @param {boolean} event.fromOverflowPopup `true` if the interaction was through the source view's [overflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellRenderer#property-overflowPopup).
|
|
2056
|
+
*/
|
|
2057
|
+
onEventContextMenu: any;
|
|
2058
|
+
/**
|
|
2059
|
+
* Fires when an event bar is double clicked in any view.
|
|
2060
|
+
* @param {object} event Event object
|
|
2061
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2062
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2063
|
+
* @param {Date} event.date The date of the UI element which contains the event.
|
|
2064
|
+
* @param {HTMLElement} event.eventElement The UI element which represents the event.
|
|
2065
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The event double clicked on.
|
|
2066
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource double clicked on if the UI includes a resource.
|
|
2067
|
+
* @param {boolean} event.fromOverflowPopup `true` if the interaction was through the source view's [overflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellRenderer#property-overflowPopup).
|
|
2068
|
+
*/
|
|
2069
|
+
onEventDblClick: any;
|
|
2070
|
+
/**
|
|
2071
|
+
* Fired before the editor will load the event record data into its input fields. This is useful if you
|
|
2072
|
+
* want to modify the fields before data is loaded (e.g. set some input field to be readonly)
|
|
2073
|
+
* @param {object} event Event object
|
|
2074
|
+
* @param {Core.widget.Container} event.source The editor widget
|
|
2075
|
+
* @param {Scheduler.model.EventModel} event.record The record
|
|
2076
|
+
*/
|
|
2077
|
+
onEventEditBeforeSetRecord: any;
|
|
2078
|
+
/**
|
|
2079
|
+
* Fires when a key is pressed while an event bar is focused.
|
|
2080
|
+
* @param {object} event Event object
|
|
2081
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2082
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2083
|
+
* @param {Date} event.date The date of the UI element which contains the event.
|
|
2084
|
+
* @param {HTMLElement} event.eventElement The UI element which represents the event.
|
|
2085
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The event in which the key event was detected.
|
|
2086
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource in which the key event was detected if the UI includes a resource.
|
|
2087
|
+
* @param {boolean} event.fromOverflowPopup `true` if the interaction was through the source view's [overflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellRenderer#property-overflowPopup).
|
|
2088
|
+
*/
|
|
2089
|
+
onEventKeyDown: any;
|
|
2090
|
+
/**
|
|
2091
|
+
* This event fires on the owning Scheduler before the context menu is shown for an event. Allows manipulation of the items
|
|
2092
|
+
* to show in the same way as in `processItems`. Returning `false` from a listener prevents the menu from
|
|
2093
|
+
* being shown.
|
|
2094
|
+
* @param {object} event Event object
|
|
2095
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
2096
|
+
* @param {Record<string, MenuItemEntry>} event.items Menu item configs
|
|
2097
|
+
* @param {Scheduler.model.EventModel} event.eventRecord Event record for which the menu was triggered
|
|
2098
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord Resource record
|
|
2099
|
+
* @param {Scheduler.model.AssignmentModel} event.assignmentRecord Assignment record, if assignments are used
|
|
2100
|
+
* @param {HTMLElement} event.eventElement
|
|
2101
|
+
* @param {MouseEvent} event.event Pointer event which triggered the context menu (if any)
|
|
2102
|
+
*/
|
|
2103
|
+
onEventMenuBeforeShow: any;
|
|
2104
|
+
/**
|
|
2105
|
+
* This event fires on the owning Scheduler when an item is selected in the context menu.
|
|
2106
|
+
* @param {object} event Event object
|
|
2107
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
2108
|
+
* @param {Core.widget.MenuItem} event.item
|
|
2109
|
+
* @param {Scheduler.model.EventModel} event.eventRecord
|
|
2110
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord
|
|
2111
|
+
* @param {Scheduler.model.AssignmentModel} event.assignmentRecord Assignment record, if assignments are used
|
|
2112
|
+
* @param {HTMLElement} event.eventElement
|
|
2113
|
+
*/
|
|
2114
|
+
onEventMenuItem: any;
|
|
2115
|
+
/**
|
|
2116
|
+
* This event fires on the owning Scheduler after showing the context menu for an event
|
|
2117
|
+
* @param {object} event Event object
|
|
2118
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
2119
|
+
* @param {Core.widget.Menu} event.menu The menu
|
|
2120
|
+
* @param {Scheduler.model.EventModel} event.eventRecord Event record for which the menu was triggered
|
|
2121
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord Resource record
|
|
2122
|
+
* @param {Scheduler.model.AssignmentModel} event.assignmentRecord Assignment record, if assignments are used
|
|
2123
|
+
* @param {HTMLElement} event.eventElement
|
|
2124
|
+
*/
|
|
2125
|
+
onEventMenuShow: any;
|
|
2126
|
+
/**
|
|
2127
|
+
* Fires when an event bar is mousedowned in any view.
|
|
2128
|
+
* @param {object} event Event object
|
|
2129
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2130
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2131
|
+
* @param {Date} event.date The date of the UI element which contains the event.
|
|
2132
|
+
* @param {HTMLElement} event.eventElement The UI element which represents the event.
|
|
2133
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The event mousedowned on.
|
|
2134
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource mousedowned on if the UI includes a resource.
|
|
2135
|
+
* @param {boolean} event.fromOverflowPopup `true` if the interaction was through the source view's [overflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellRenderer#property-overflowPopup).
|
|
2136
|
+
*/
|
|
2137
|
+
onEventMouseDown: any;
|
|
2138
|
+
/**
|
|
2139
|
+
* Fires when cursor enters an event bar in any view.
|
|
2140
|
+
* @param {object} event Event object
|
|
2141
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2142
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2143
|
+
* @param {Date} event.date The date of the UI element which contains the event.
|
|
2144
|
+
* @param {HTMLElement} event.eventElement The UI element which represents the event.
|
|
2145
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The event record.
|
|
2146
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource if the UI includes a resource.
|
|
2147
|
+
* @param {boolean} event.fromOverflowPopup `true` if the interaction was through the source view's [overflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellRenderer#property-overflowPopup).
|
|
2148
|
+
*/
|
|
2149
|
+
onEventMouseEnter: any;
|
|
2150
|
+
/**
|
|
2151
|
+
* Fires when cursor leaves an event bar in any view.
|
|
2152
|
+
* @param {object} event Event object
|
|
2153
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2154
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2155
|
+
* @param {Date} event.date The date of the UI element which contains the event.
|
|
2156
|
+
* @param {HTMLElement} event.eventElement The UI element which represents the event.
|
|
2157
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The event record.
|
|
2158
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource if the UI includes a resource.
|
|
2159
|
+
* @param {boolean} event.fromOverflowPopup `true` if the interaction was through the source view's [overflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellRenderer#property-overflowPopup).
|
|
2160
|
+
*/
|
|
2161
|
+
onEventMouseLeave: any;
|
|
2162
|
+
/**
|
|
2163
|
+
* Fires when an event bar is mouseouted in any view.
|
|
2164
|
+
* @param {object} event Event object
|
|
2165
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2166
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2167
|
+
* @param {Date} event.date The date of the UI element which contains the event.
|
|
2168
|
+
* @param {HTMLElement} event.eventElement The UI element which represents the event.
|
|
2169
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The event mouseouted.
|
|
2170
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource mouseouted if the UI includes a resource.
|
|
2171
|
+
* @param {boolean} event.fromOverflowPopup `true` if the interaction was through the source view's [overflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellRenderer#property-overflowPopup).
|
|
2172
|
+
*/
|
|
2173
|
+
onEventMouseOut: any;
|
|
2174
|
+
/**
|
|
2175
|
+
* Fires when an event bar is mouseovered in any view.
|
|
2176
|
+
* @param {object} event Event object
|
|
2177
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2178
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2179
|
+
* @param {Date} event.date The date of the UI element which contains the event.
|
|
2180
|
+
* @param {HTMLElement} event.eventElement The UI element which represents the event.
|
|
2181
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The event mouseovered.
|
|
2182
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource mouseovered if the UI includes a resource.
|
|
2183
|
+
* @param {boolean} event.fromOverflowPopup `true` if the interaction was through the source view's [overflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellRenderer#property-overflowPopup).
|
|
2184
|
+
*/
|
|
2185
|
+
onEventMouseOver: any;
|
|
2186
|
+
/**
|
|
2187
|
+
* Fires when an event bar is mouseupped in any view.
|
|
2188
|
+
* @param {object} event Event object
|
|
2189
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2190
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2191
|
+
* @param {Date} event.date The date of the UI element which contains the event.
|
|
2192
|
+
* @param {HTMLElement} event.eventElement The UI element which represents the event.
|
|
2193
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The event mouseupped.
|
|
2194
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource mouseupped if the UI includes a resource.
|
|
2195
|
+
* @param {boolean} event.fromOverflowPopup `true` if the interaction was through the source view's [overflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellRenderer#property-overflowPopup).
|
|
2196
|
+
*/
|
|
2197
|
+
onEventMouseUp: any;
|
|
2198
|
+
/**
|
|
2199
|
+
* Fires when a day spanning event is found, and the date to which its encapsulating event bar
|
|
2200
|
+
* extends has been calculated.
|
|
2201
|
+
* ...
|
|
2202
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-eventPropagate)
|
|
2203
|
+
* @param {object} event Event object
|
|
2204
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2205
|
+
* @param {Date} event.eventEndDate The end date for which to calculate the propagate end date.
|
|
2206
|
+
* @param {Date} event.propagateEndDate The system-calculated end point of the event bar.
|
|
2207
|
+
* @param {boolean} event.isAllDay `true` if the event is an all day event, or spans multiple days.
|
|
2208
|
+
* @param {boolean} event.isOverflow `true` if this is being called as part of further propagation.
|
|
2209
|
+
* @param {boolean} event.overflows `true` if the event extends into future cells.
|
|
2210
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The event record being propagated.
|
|
2211
|
+
* @param {Date} event.date The date from which the event is being propagated.
|
|
2212
|
+
*/
|
|
2213
|
+
onEventPropagate: any;
|
|
2214
|
+
/**
|
|
2215
|
+
* Fires when a Panel is expanded using the [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible) setting.
|
|
2216
|
+
* @param {object} event Event object
|
|
2217
|
+
* @param {Core.widget.Panel} event.source This Panel.
|
|
2218
|
+
*/
|
|
2219
|
+
onExpand: any;
|
|
2220
|
+
/**
|
|
2221
|
+
* Fired when focus enters this Widget.
|
|
2222
|
+
* @param {object} event Event object
|
|
2223
|
+
* @param {Core.widget.Widget} event.source This Widget
|
|
2224
|
+
* @param {HTMLElement} event.fromElement The element which lost focus.
|
|
2225
|
+
* @param {HTMLElement} event.toElement The element which gained focus.
|
|
2226
|
+
* @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
|
|
2227
|
+
* @param {Core.widget.Widget} event.toWidget The widget which gained focus.
|
|
2228
|
+
* @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
2229
|
+
*/
|
|
2230
|
+
onFocusIn: any;
|
|
2231
|
+
/**
|
|
2232
|
+
* Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
|
|
2233
|
+
* focus moving from within this Widget's ownership tree, even if there are floating widgets
|
|
2234
|
+
* will not trigger this event. This is when focus exits this widget completely.
|
|
2235
|
+
* @param {object} event Event object
|
|
2236
|
+
* @param {Core.widget.Widget} event.source This Widget
|
|
2237
|
+
* @param {HTMLElement} event.fromElement The element which lost focus.
|
|
2238
|
+
* @param {HTMLElement} event.toElement The element which gained focus.
|
|
2239
|
+
* @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
|
|
2240
|
+
* @param {Core.widget.Widget} event.toWidget The widget which gained focus.
|
|
2241
|
+
* @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
2242
|
+
*/
|
|
2243
|
+
onFocusOut: any;
|
|
2244
|
+
/**
|
|
2245
|
+
* Triggered after a widget was hidden
|
|
2246
|
+
* @param {object} event Event object
|
|
2247
|
+
* @param {Core.widget.Widget} event.source The widget
|
|
2248
|
+
*/
|
|
2249
|
+
onHide: any;
|
|
2250
|
+
/**
|
|
2251
|
+
* Fires when the [LoadOnDemand](https://bryntum.com/products/calendar/docs/api/Calendar/feature/LoadOnDemand) feature detects that a request
|
|
2252
|
+
* for data from the server has failed.
|
|
2253
|
+
* ...
|
|
2254
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-loadOnDemandFail)
|
|
2255
|
+
* @param {object} event Event object
|
|
2256
|
+
* @param {Response} event.rawResponse The HTTP `fetch` response object.
|
|
2257
|
+
* @param {object} event.request The CrudManager load data block.
|
|
2258
|
+
* @param {object} event.response The decoded JSON response.
|
|
2259
|
+
*/
|
|
2260
|
+
onLoadOnDemandFail: any;
|
|
2261
|
+
/**
|
|
2262
|
+
* Fires when a month name header in a [YearView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView) or a [MonthGrid](#Calendar/widget/MonthGrid) is clicked
|
|
2263
|
+
* or activated by the <kbd>ENTER</kbd> key.
|
|
2264
|
+
* ...
|
|
2265
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-monthNameClick)
|
|
2266
|
+
* @param {object} event Event object
|
|
2267
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2268
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2269
|
+
* @param {number} event.month The month index *(zero based)* clicked on.
|
|
2270
|
+
* @param {Date} event.date The date of the first of the month clicked on.
|
|
2271
|
+
*/
|
|
2272
|
+
onMonthNameClick: any;
|
|
2273
|
+
/**
|
|
2274
|
+
* Fired when a user gesture causes the active item to change.
|
|
2275
|
+
* @param {object} event Event object
|
|
2276
|
+
* @param {Event} event.event The browser event which instigated navigation. May be a click or key or focus event.
|
|
2277
|
+
* @param {HTMLElement,null} event.item The newly active item, or `null` if focus moved out.
|
|
2278
|
+
* @param {HTMLElement,null} event.oldItem The previously active item, or `null` if focus is moving in.
|
|
2279
|
+
*/
|
|
2280
|
+
onNavigate: any;
|
|
2281
|
+
/**
|
|
2282
|
+
* Triggered when a widget which had been in a non-visible state for any reason
|
|
2283
|
+
* achieves visibility.
|
|
2284
|
+
* ...
|
|
2285
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-paint)
|
|
2286
|
+
* @param {object} event Event object
|
|
2287
|
+
* @param {Core.widget.Widget} event.source The widget being painted.
|
|
2288
|
+
* @param {boolean} event.firstPaint `true` if this is the first paint.
|
|
2289
|
+
*/
|
|
2290
|
+
onPaint: any;
|
|
2291
|
+
/**
|
|
2292
|
+
* Fires on the owning Scheduler after a paste action is performed.
|
|
2293
|
+
* @param {object} event Event object
|
|
2294
|
+
* @param {Scheduler.view.Scheduler} event.source Owner scheduler
|
|
2295
|
+
* @param {Scheduler.model.EventModel[]} event.eventRecords The pasted event records
|
|
2296
|
+
* @param {Scheduler.model.AssignmentModel[]} event.assignmentRecords The pasted assignment records
|
|
2297
|
+
* @param {Scheduler.model.EventModel[]} event.pastedEventRecords (DEPRECATED) Use eventRecords instead
|
|
2298
|
+
* @param {Scheduler.model.EventModel[]} event.originalEventRecords The original copied event records
|
|
2299
|
+
* @param {Scheduler.model.AssignmentModel[]} event.originalAssignmentRecords The original copied assignment records
|
|
2300
|
+
* @param {Date} event.date date Pasted to this date
|
|
2301
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The target resource record
|
|
2302
|
+
* @param {boolean} event.isCut `true` if this is a cut action
|
|
2303
|
+
* @param {string} event.entityName 'event' to distinguish this event from other paste events
|
|
2304
|
+
*/
|
|
2305
|
+
onPaste: any;
|
|
2306
|
+
/**
|
|
2307
|
+
* Fires on the owning Scheduler if a paste action is not allowed. Depending on if the EventStore is using
|
|
2308
|
+
* [singleAssignment](https://bryntum.com/products/calendar/docs/api/Scheduler/data/EventStore#config-singleAssignment) or the configuration of
|
|
2309
|
+
* [copyPasteAction](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/EventCopyPaste#config-copyPasteAction), either the `eventRecords` or the `assignmentRecords` param will be populated
|
|
2310
|
+
* with record copies.
|
|
2311
|
+
* @param {object} event Event object
|
|
2312
|
+
* @param {Scheduler.view.Scheduler} event.source Owner scheduler
|
|
2313
|
+
* @param {Scheduler.model.EventModel[]} event.eventRecords The event records about to be pasted
|
|
2314
|
+
* @param {Scheduler.model.AssignmentModel[]} event.assignmentRecords The assignment records about to be pasted
|
|
2315
|
+
* @param {Scheduler.model.EventModel[]} event.originalEventRecords The event records that were copied
|
|
2316
|
+
* @param {Scheduler.model.AssignmentModel[]} event.originalAssignmentRecords The assignment records that were copied
|
|
2317
|
+
* @param {Date} event.date The paste date
|
|
2318
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The target resource record
|
|
2319
|
+
* @param {boolean} event.isCut `true` if this is a cut action
|
|
2320
|
+
* @param {string} event.entityName 'event' to distinguish this event from other `pasteNotAllowed` events
|
|
2321
|
+
* @param {'overlappingEvents','resourceReadOnly'} event.reason A string id to use for displaying an error message to the user.
|
|
2322
|
+
*/
|
|
2323
|
+
onPasteNotAllowed: any;
|
|
2324
|
+
/**
|
|
2325
|
+
* Fired when a Widget's read only state is toggled
|
|
2326
|
+
* @param {object} event Event object
|
|
2327
|
+
* @param {boolean} event.readOnly Read only or not
|
|
2328
|
+
*/
|
|
2329
|
+
onReadOnly: any;
|
|
2330
|
+
/**
|
|
2331
|
+
* This event is fired after a widget's elements have been synchronized due to a direct or indirect call
|
|
2332
|
+
* to [recompose](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.
|
|
2333
|
+
*/
|
|
2334
|
+
onRecompose: any;
|
|
2335
|
+
/**
|
|
2336
|
+
* Fires when one of the views in this Calendar refreshes.
|
|
2337
|
+
* @param {object} event Event object
|
|
2338
|
+
* @param {CalendarView} event.source The view which refreshed.
|
|
2339
|
+
*/
|
|
2340
|
+
onRefresh: any;
|
|
2341
|
+
/**
|
|
2342
|
+
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
2343
|
+
* @param {object} event Event object
|
|
2344
|
+
* @param {Core.widget.Widget} event.source This Widget
|
|
2345
|
+
* @param {number} event.width The new width
|
|
2346
|
+
* @param {number} event.height The new height
|
|
2347
|
+
* @param {number} event.oldWidth The old width
|
|
2348
|
+
* @param {number} event.oldHeight The old height
|
|
2349
|
+
*/
|
|
2350
|
+
onResize: any;
|
|
2351
|
+
/**
|
|
2352
|
+
* Fires when a click event is received by a view which supports resources.
|
|
2353
|
+
* ...
|
|
2354
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-resourceClick)
|
|
2355
|
+
* @param {object} event Event object
|
|
2356
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2357
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2358
|
+
* @param {Date} event.date The date of the UI element which contains the event.
|
|
2359
|
+
* @param {HTMLElement} event.eventElement *If* an event was interacted with, the UI element which represents the event.
|
|
2360
|
+
* @param {Scheduler.model.EventModel} event.eventRecord *If* an event was interacted with.
|
|
2361
|
+
* @param {HTMLElement} event.resourceElement The UI element which encapsulates the resource.
|
|
2362
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource associated with the target element.
|
|
2363
|
+
* @param {boolean} event.fromOverflowPopup `true` if the interaction was through the source view's [overflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellRenderer#property-overflowPopup).
|
|
2364
|
+
*/
|
|
2365
|
+
onResourceClick: any;
|
|
2366
|
+
/**
|
|
2367
|
+
* Triggered when a new [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState) is applied.
|
|
2368
|
+
* @param {object} event Event object
|
|
2369
|
+
* @param {Core.widget.Widget} event.source The widget whose `responsiveState` has changed
|
|
2370
|
+
* @param {string} event.state The new value for the widget's `responsiveState`
|
|
2371
|
+
* @param {string} event.oldState The previous value for the widget's `responsiveState`
|
|
2372
|
+
*/
|
|
2373
|
+
onResponsiveStateChange: any;
|
|
2374
|
+
/**
|
|
2375
|
+
* Fires when a click made its way through to an empty part of any view.
|
|
2376
|
+
* @param {object} event Event object
|
|
2377
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2378
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2379
|
+
* @param {Date} event.date The date clicked on. _Note that in a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView), this will include granular time information. For other views, this is the *start* of the date.
|
|
2380
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource associated with the view if any. Only [ResourceView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView) or a [DayResourceView](#Calendar/widget/DayResourceView) will include this.
|
|
2381
|
+
*/
|
|
2382
|
+
onScheduleClick: any;
|
|
2383
|
+
/**
|
|
2384
|
+
* Fires when a context menu made its way through to an empty part of any view.
|
|
2385
|
+
* @param {object} event Event object
|
|
2386
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2387
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2388
|
+
* @param {Date} event.date The date clicked on. _Note that in a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView), this will include granular time information. For other views, this is the *start* of the date.
|
|
2389
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource associated with the view if any. Only [ResourceView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView) or a [DayResourceView](#Calendar/widget/DayResourceView) will include this.
|
|
2390
|
+
*/
|
|
2391
|
+
onScheduleContextMenu: any;
|
|
2392
|
+
/**
|
|
2393
|
+
* Fires when a dblclick made its way through to an empty part of any view.
|
|
2394
|
+
* @param {object} event Event object
|
|
2395
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2396
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2397
|
+
* @param {Date} event.date The date double clicked on. _Note that in a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView), this will include granular time information. For other views, this is the *start* of the date.
|
|
2398
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource associated with the view if any. Only [ResourceView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView) or a [DayResourceView](#Calendar/widget/DayResourceView) will include this.
|
|
2399
|
+
*/
|
|
2400
|
+
onScheduleDblClick: any;
|
|
2401
|
+
/**
|
|
2402
|
+
* This event fires on the owning Scheduler or Gantt widget before the context menu is shown for the schedule.
|
|
2403
|
+
* Allows manipulation of the items to show in the same way as in `processItems`. Returning `false` from a listener
|
|
2404
|
+
* prevents the menu from being shown.
|
|
2405
|
+
* @param {object} event Event object
|
|
2406
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
2407
|
+
* @param {Record<string, MenuItemEntry>} event.items Menu item configs
|
|
2408
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord Resource record
|
|
2409
|
+
* @param {Date} event.date Clicked date, rounded according to viewPreset's settings
|
|
2410
|
+
* @param {Scheduler.model.AssignmentModel} event.assignmentRecord Assignment record, if assignments are used
|
|
2411
|
+
* @param {HTMLElement} event.eventElement
|
|
2412
|
+
*/
|
|
2413
|
+
onScheduleMenuBeforeShow: any;
|
|
2414
|
+
/**
|
|
2415
|
+
* This event fires on the owning Scheduler or Gantt widget when an item is selected in the context menu.
|
|
2416
|
+
* @param {object} event Event object
|
|
2417
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
2418
|
+
* @param {Core.widget.MenuItem} event.item
|
|
2419
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord
|
|
2420
|
+
* @param {Date} event.date Clicked date, rounded according to viewPreset's settings
|
|
2421
|
+
* @param {HTMLElement} event.element
|
|
2422
|
+
*/
|
|
2423
|
+
onScheduleMenuItem: any;
|
|
2424
|
+
/**
|
|
2425
|
+
* This event fires on the owning Scheduler or Gantt widget after showing the context menu for the schedule.
|
|
2426
|
+
* @param {object} event Event object
|
|
2427
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
2428
|
+
* @param {Record<string, MenuItemEntry>} event.items Menu item configs
|
|
2429
|
+
* @param {Core.widget.Menu} event.menu The menu
|
|
2430
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord
|
|
2431
|
+
* @param {Date} event.date Clicked date, rounded according to viewPreset's settings
|
|
2432
|
+
* @param {HTMLElement} event.targetElement
|
|
2433
|
+
*/
|
|
2434
|
+
onScheduleMenuShow: any;
|
|
2435
|
+
/**
|
|
2436
|
+
* Fires when a mousedown made its way through to an empty part of any view.
|
|
2437
|
+
* @param {object} event Event object
|
|
2438
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2439
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2440
|
+
* @param {Date} event.date The date mousedowned on. _Note that in a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView), this will include granular time information. For other views, this is the *start* of the date.
|
|
2441
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource associated with the view if any. Only [ResourceView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView) or a [DayResourceView](#Calendar/widget/DayResourceView) will include this.
|
|
2442
|
+
*/
|
|
2443
|
+
onScheduleMouseDown: any;
|
|
2444
|
+
/**
|
|
2445
|
+
* Fires when a mouseout made it's way through to an empty part of any view.
|
|
2446
|
+
* @param {object} event Event object
|
|
2447
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2448
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2449
|
+
* @param {Date} event.date The date mouseouted. _Note that in a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView), this will include granular time information. For other views, this is the *start* of the date.
|
|
2450
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource associated with the view if any. Only [ResourceView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView) or a [DayResourceView](#Calendar/widget/DayResourceView) will include this.
|
|
2451
|
+
*/
|
|
2452
|
+
onScheduleMouseOut: any;
|
|
2453
|
+
/**
|
|
2454
|
+
* Fires when a mouseover made its way through to an empty part of any view.
|
|
2455
|
+
* @param {object} event Event object
|
|
2456
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2457
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2458
|
+
* @param {Date} event.date The date mouseovered. _Note that in a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView), this will include granular time information. For other views, this is the *start* of the date.
|
|
2459
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource associated with the view if any. Only [ResourceView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView) or a [DayResourceView](#Calendar/widget/DayResourceView) will include this.
|
|
2460
|
+
*/
|
|
2461
|
+
onScheduleMouseOver: any;
|
|
2462
|
+
/**
|
|
2463
|
+
* Fires when a mouseup made its way through to an empty part of any view.
|
|
2464
|
+
* @param {object} event Event object
|
|
2465
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2466
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2467
|
+
* @param {Date} event.date The date mouseupped on. _Note that in a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView), this will include granular time information. For other views, this is the *start* of the date.
|
|
2468
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource associated with the view if any. Only [ResourceView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView) or a [DayResourceView](#Calendar/widget/DayResourceView) will include this.
|
|
2469
|
+
*/
|
|
2470
|
+
onScheduleMouseUp: any;
|
|
2471
|
+
/**
|
|
2472
|
+
* Fired any time there is a change to the events selected in the Calendar.
|
|
2473
|
+
* @param {object} event Event object
|
|
2474
|
+
* @param {Calendar.view.Calendar} event.source The Calendar instance.
|
|
2475
|
+
* @param {'select','deselect','update','clear'} event.action One of the actions 'select', 'deselect', 'update', 'clear'
|
|
2476
|
+
* @param {Scheduler.model.EventModel[]} event.selected An array of the Events added to the selection.
|
|
2477
|
+
* @param {Scheduler.model.EventModel[]} event.deselected An array of the Event removed from the selection.
|
|
2478
|
+
* @param {Scheduler.model.EventModel[]} event.selection The new selection.
|
|
2479
|
+
*/
|
|
2480
|
+
onSelectionChange: any;
|
|
2481
|
+
/**
|
|
2482
|
+
* Triggered after a widget is shown.
|
|
2483
|
+
* @param {object} event Event object
|
|
2484
|
+
* @param {Core.widget.Widget} event.source The widget
|
|
2485
|
+
*/
|
|
2486
|
+
onShow: any;
|
|
2487
|
+
/**
|
|
2488
|
+
* Fired when the sidebar is collapsed either through the UI or programatically.
|
|
2489
|
+
* @param {object} event Event object
|
|
2490
|
+
* @param {Calendar.view.Calendar} event.source This Calendar instance
|
|
2491
|
+
*/
|
|
2492
|
+
onSidebarCollapse: any;
|
|
2493
|
+
/**
|
|
2494
|
+
* Fired when the sidebar is expanded either through the UI or programatically.
|
|
2495
|
+
* @param {object} event Event object
|
|
2496
|
+
* @param {Calendar.view.Calendar} event.source This Calendar instance
|
|
2497
|
+
*/
|
|
2498
|
+
onSidebarExpand: any;
|
|
2499
|
+
/**
|
|
2500
|
+
* Fired when a time axis of a DayView or WeekView is clicked on. If the handler returns
|
|
2501
|
+
* `false` the current pointer event is not processed further.
|
|
2502
|
+
* @param {object} event Event object
|
|
2503
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2504
|
+
* @param {Event} event.domEvent The triggering DOM event.
|
|
2505
|
+
* @param {Date} event.preciseTime The exact date and time at the clicked position
|
|
2506
|
+
* @param {Date} event.time The date and time at the clicked position snapped according to the [increment](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-increment) and [timeSnapType](#Calendar/widget/DayView#config-timeSnapType)
|
|
2507
|
+
*/
|
|
2508
|
+
onTimeAxisClick: any;
|
|
2509
|
+
/**
|
|
2510
|
+
* Fired on the owning Scheduler or Gantt widget when a click happens on a time range header element
|
|
2511
|
+
* @param {object} event Event object
|
|
2512
|
+
* @param {Scheduler.view.Scheduler} event.source Scheduler instance
|
|
2513
|
+
* @param {Scheduler.model.TimeSpan} event.timeRangeRecord The record
|
|
2514
|
+
* @param {MouseEvent} event.domEvent Browser event
|
|
2515
|
+
*/
|
|
2516
|
+
onTimeRangeHeaderClick: any;
|
|
2517
|
+
/**
|
|
2518
|
+
* Fired on the owning Scheduler or Gantt widget when a right click happens on a time range header element
|
|
2519
|
+
* @param {object} event Event object
|
|
2520
|
+
* @param {Scheduler.view.Scheduler} event.source Scheduler instance
|
|
2521
|
+
* @param {Scheduler.model.TimeSpan} event.timeRangeRecord The record
|
|
2522
|
+
* @param {MouseEvent} event.domEvent Browser event
|
|
2523
|
+
*/
|
|
2524
|
+
onTimeRangeHeaderContextMenu: any;
|
|
2525
|
+
/**
|
|
2526
|
+
* Fired on the owning Scheduler or Gantt widget when a double click happens on a time range header element
|
|
2527
|
+
* @param {object} event Event object
|
|
2528
|
+
* @param {Scheduler.view.Scheduler} event.source Scheduler instance
|
|
2529
|
+
* @param {Scheduler.model.TimeSpan} event.timeRangeRecord The record
|
|
2530
|
+
* @param {MouseEvent} event.domEvent Browser event
|
|
2531
|
+
*/
|
|
2532
|
+
onTimeRangeHeaderDblClick: any;
|
|
2533
|
+
/**
|
|
2534
|
+
* A header [tool](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-tools) has been clicked.
|
|
2535
|
+
* @param {object} event Event object
|
|
2536
|
+
* @param {Core.widget.Tool} event.source This Panel.
|
|
2537
|
+
* @param {Core.widget.Tool} event.tool The tool which is being clicked.
|
|
2538
|
+
*/
|
|
2539
|
+
onToolClick: any;
|
|
2540
|
+
/**
|
|
2541
|
+
* Fires when one of the child views is painted. That is when it becomes visible.
|
|
2542
|
+
* Note that due to the slide-in animation, while the view is visible, it will not
|
|
2543
|
+
* yet be in its final position.
|
|
2544
|
+
* @param {object} event Event object
|
|
2545
|
+
* @param {CalendarView} event.source The widget being painted
|
|
2546
|
+
* @param {boolean} event.firstPaint `true` if this is the first paint
|
|
2547
|
+
*/
|
|
2548
|
+
onViewPaint: any;
|
|
2549
|
+
/**
|
|
2550
|
+
* Fires when a week number is clicked or activated by the <kbd>ENTER</kbd> key. This will include the week number cells of a
|
|
2551
|
+
* [YearView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView), the week number in the first cell
|
|
2552
|
+
* in each row of a [MonthView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView)
|
|
2553
|
+
* ...
|
|
2554
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-weekNumberClick)
|
|
2555
|
+
* @param {object} event Event object
|
|
2556
|
+
* @param {CalendarView} event.source The view which triggered the event.
|
|
2557
|
+
* @param {Event} event.domEvent The initiating DOM event.
|
|
2558
|
+
* @param {number[]} event.week The `[year, week]` clicked on.
|
|
2559
|
+
* @param {Date} event.date The date clicked on.
|
|
2560
|
+
*/
|
|
2561
|
+
onWeekNumberClick: any;
|
|
2562
|
+
/**
|
|
2563
|
+
* Create and append the underlying widget
|
|
2564
|
+
*/
|
|
2565
|
+
ngOnInit(): void;
|
|
2566
|
+
/**
|
|
2567
|
+
* Watch for changes
|
|
2568
|
+
* @param changes
|
|
2569
|
+
*/
|
|
2570
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2571
|
+
/**
|
|
2572
|
+
* Destroy the component
|
|
2573
|
+
*/
|
|
2574
|
+
ngOnDestroy(): void;
|
|
2575
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BryntumCalendarComponent, never>;
|
|
2576
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BryntumCalendarComponent, "bryntum-calendar", never, { "adopt": "adopt"; "align": "align"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "assignmentStore": "assignmentStore"; "autoCreate": "autoCreate"; "bbar": "bbar"; "bodyCls": "bodyCls"; "bubbleEvents": "bubbleEvents"; "centered": "centered"; "collapsible": "collapsible"; "color": "color"; "config": "config"; "constrainTo": "constrainTo"; "contentElementCls": "contentElementCls"; "contextMenuTriggerEvent": "contextMenuTriggerEvent"; "crudManagerClass": "crudManagerClass"; "dataField": "dataField"; "datePicker": "datePicker"; "defaultBindProperty": "defaultBindProperty"; "defaultFocus": "defaultFocus"; "defaults": "defaults"; "deselectOnClick": "deselectOnClick"; "destroyStores": "destroyStores"; "detectCSSCompatibilityIssues": "detectCSSCompatibilityIssues"; "dock": "dock"; "draggable": "draggable"; "drawer": "drawer"; "elementAttributes": "elementAttributes"; "enableDeleteKey": "enableDeleteKey"; "enableRecurringEvents": "enableRecurringEvents"; "enableUndoRedoKeys": "enableUndoRedoKeys"; "eventSelectionDisabled": "eventSelectionDisabled"; "eventStore": "eventStore"; "filterEventResources": "filterEventResources"; "floating": "floating"; "footer": "footer"; "header": "header"; "hideAnimation": "hideAnimation"; "hideWhenEmpty": "hideWhenEmpty"; "highlightDate": "highlightDate"; "highlightPredecessors": "highlightPredecessors"; "highlightSuccessors": "highlightSuccessors"; "icon": "icon"; "ignoreParentReadOnly": "ignoreParentReadOnly"; "includeWeekendsButton": "includeWeekendsButton"; "itemCls": "itemCls"; "lazyItems": "lazyItems"; "listeners": "listeners"; "loadMask": "loadMask"; "loadMaskDefaults": "loadMaskDefaults"; "loadMaskError": "loadMaskError"; "localeClass": "localeClass"; "localizable": "localizable"; "localizableProperties": "localizableProperties"; "maintainSelectionOnDatasetChange": "maintainSelectionOnDatasetChange"; "maskDefaults": "maskDefaults"; "masked": "masked"; "monitorResize": "monitorResize"; "multiEventSelect": "multiEventSelect"; "namedItems": "namedItems"; "navigatorPlacement": "navigatorPlacement"; "overlaySidebar": "overlaySidebar"; "owner": "owner"; "positioned": "positioned"; "preventTooltipOnTouch": "preventTooltipOnTouch"; "propagatedConfigs": "propagatedConfigs"; "relayStoreEvents": "relayStoreEvents"; "resourceImagePath": "resourceImagePath"; "resourceStore": "resourceStore"; "resourceTimeRangeStore": "resourceTimeRangeStore"; "responsive": "responsive"; "responsiveRoot": "responsiveRoot"; "responsiveState": "responsiveState"; "responsiveTarget": "responsiveTarget"; "ripple": "ripple"; "rootElement": "rootElement"; "scrollAction": "scrollAction"; "showAnimation": "showAnimation"; "showRecurringUI": "showRecurringUI"; "showTooltipWhenDisabled": "showTooltipWhenDisabled"; "sidebar": "sidebar"; "stateful": "stateful"; "statefulEvents": "statefulEvents"; "stateId": "stateId"; "stateProvider": "stateProvider"; "strips": "strips"; "syncMask": "syncMask"; "tab": "tab"; "tabBarItems": "tabBarItems"; "tag": "tag"; "tbar": "tbar"; "textAlign": "textAlign"; "timeRangeStore": "timeRangeStore"; "timeZone": "timeZone"; "trapFocus": "trapFocus"; "triggerSelectionChangeOnRemove": "triggerSelectionChangeOnRemove"; "type": "type"; "ui": "ui"; "viewContainer": "viewContainer"; "weekStartDay": "weekStartDay"; "weight": "weight"; "activeDateCls": "activeDateCls"; "alignSelf": "alignSelf"; "appendTo": "appendTo"; "assignments": "assignments"; "callOnFunctions": "callOnFunctions"; "catchEventHandlerExceptions": "catchEventHandlerExceptions"; "cls": "cls"; "collapsed": "collapsed"; "column": "column"; "crudManager": "crudManager"; "dataset": "dataset"; "date": "date"; "dateFormat": "dateFormat"; "defaultCalendar": "defaultCalendar"; "deselectAllOnScheduleClick": "deselectAllOnScheduleClick"; "disabled": "disabled"; "events": "events"; "extraData": "extraData"; "flex": "flex"; "height": "height"; "hidden": "hidden"; "hideNonWorkingDays": "hideNonWorkingDays"; "id": "id"; "inputFieldAlign": "inputFieldAlign"; "insertBefore": "insertBefore"; "insertFirst": "insertFirst"; "isEventSelectable": "isEventSelectable"; "items": "items"; "keyMap": "keyMap"; "labelPosition": "labelPosition"; "layout": "layout"; "layoutStyle": "layoutStyle"; "margin": "margin"; "maxDate": "maxDate"; "maxHeight": "maxHeight"; "maximizeOnMobile": "maximizeOnMobile"; "maxWidth": "maxWidth"; "minDate": "minDate"; "minHeight": "minHeight"; "minWidth": "minWidth"; "mode": "mode"; "modeDefaults": "modeDefaults"; "modes": "modes"; "nonWorkingDays": "nonWorkingDays"; "project": "project"; "readOnly": "readOnly"; "recurrenceConfirmationPopup": "recurrenceConfirmationPopup"; "rendition": "rendition"; "resources": "resources"; "resourceTimeRanges": "resourceTimeRanges"; "rtl": "rtl"; "scrollable": "scrollable"; "selectResourceOnEventNavigate": "selectResourceOnEventNavigate"; "selectResourceOnScheduleClick": "selectResourceOnScheduleClick"; "span": "span"; "strictRecordMapping": "strictRecordMapping"; "timeRanges": "timeRanges"; "title": "title"; "tools": "tools"; "tooltip": "tooltip"; "useContextualRecurrenceRules": "useContextualRecurrenceRules"; "width": "width"; "x": "x"; "y": "y"; "activeSubView": "activeSubView"; "activeView": "activeView"; "anchorSize": "anchorSize"; "focusVisible": "focusVisible"; "hasChanges": "hasChanges"; "isEngineReady": "isEngineReady"; "isSettingValues": "isSettingValues"; "isValid": "isValid"; "parent": "parent"; "record": "record"; "selectedEvents": "selectedEvents"; "state": "state"; "values": "values"; "views": "views"; "dragFeature": "dragFeature"; "eventBufferFeature": "eventBufferFeature"; "eventCopyPasteFeature": "eventCopyPasteFeature"; "eventEditFeature": "eventEditFeature"; "eventMenuFeature": "eventMenuFeature"; "eventTooltipFeature": "eventTooltipFeature"; "excelExporterFeature": "excelExporterFeature"; "externalEventSourceFeature": "externalEventSourceFeature"; "loadOnDemandFeature": "loadOnDemandFeature"; "printFeature": "printFeature"; "scheduleMenuFeature": "scheduleMenuFeature"; "scheduleTooltipFeature": "scheduleTooltipFeature"; "timeRangesFeature": "timeRangesFeature"; "weekExpanderFeature": "weekExpanderFeature"; }, { "onActiveItemChange": "onActiveItemChange"; "onAfterEventEdit": "onAfterEventEdit"; "onAfterEventSave": "onAfterEventSave"; "onBeforeActiveItemChange": "onBeforeActiveItemChange"; "onBeforeAssignmentDelete": "onBeforeAssignmentDelete"; "onBeforeAssignmentSelectionChange": "onBeforeAssignmentSelectionChange"; "onBeforeAutoCreate": "onBeforeAutoCreate"; "onBeforeCopy": "onBeforeCopy"; "onBeforeCreateMode": "onBeforeCreateMode"; "onBeforeCSVExport": "onBeforeCSVExport"; "onBeforeDestroy": "onBeforeDestroy"; "onBeforeDragCreate": "onBeforeDragCreate"; "onBeforeDragCreateEnd": "onBeforeDragCreateEnd"; "onBeforeDragMove": "onBeforeDragMove"; "onBeforeDragMoveEnd": "onBeforeDragMoveEnd"; "onBeforeDragResize": "onBeforeDragResize"; "onBeforeDragResizeEnd": "onBeforeDragResizeEnd"; "onBeforeDropExternal": "onBeforeDropExternal"; "onBeforeEventDelete": "onBeforeEventDelete"; "onBeforeEventEdit": "onBeforeEventEdit"; "onBeforeEventEditShow": "onBeforeEventEditShow"; "onBeforeEventSave": "onBeforeEventSave"; "onBeforeEventSelectionChange": "onBeforeEventSelectionChange"; "onBeforeExcelExport": "onBeforeExcelExport"; "onBeforeHide": "onBeforeHide"; "onBeforePaste": "onBeforePaste"; "onBeforePrint": "onBeforePrint"; "onBeforeResponsiveStateChange": "onBeforeResponsiveStateChange"; "onBeforeSetRecord": "onBeforeSetRecord"; "onBeforeShow": "onBeforeShow"; "onBeforeStateApply": "onBeforeStateApply"; "onBeforeStateSave": "onBeforeStateSave"; "onCatchAll": "onCatchAll"; "onCellOverflowClick": "onCellOverflowClick"; "onCollapse": "onCollapse"; "onContextMenuItem": "onContextMenuItem"; "onContextMenuToggleItem": "onContextMenuToggleItem"; "onCopy": "onCopy"; "onCurrentTimelineUpdate": "onCurrentTimelineUpdate"; "onDataChange": "onDataChange"; "onDateChange": "onDateChange"; "onDateRangeChange": "onDateRangeChange"; "onDateRangeLoad": "onDateRangeLoad"; "onDateRangeRequested": "onDateRangeRequested"; "onDayCellPopulated": "onDayCellPopulated"; "onDayNumberClick": "onDayNumberClick"; "onDestroy": "onDestroy"; "onDirtyStateChange": "onDirtyStateChange"; "onDragCreateEnd": "onDragCreateEnd"; "onDragMoveEnd": "onDragMoveEnd"; "onDragMoveExternal": "onDragMoveExternal"; "onDragResizeEnd": "onDragResizeEnd"; "onDropExternal": "onDropExternal"; "onElementCreated": "onElementCreated"; "onEmptyCellClick": "onEmptyCellClick"; "onEventAutoCreated": "onEventAutoCreated"; "onEventClick": "onEventClick"; "onEventContextMenu": "onEventContextMenu"; "onEventDblClick": "onEventDblClick"; "onEventEditBeforeSetRecord": "onEventEditBeforeSetRecord"; "onEventKeyDown": "onEventKeyDown"; "onEventMenuBeforeShow": "onEventMenuBeforeShow"; "onEventMenuItem": "onEventMenuItem"; "onEventMenuShow": "onEventMenuShow"; "onEventMouseDown": "onEventMouseDown"; "onEventMouseEnter": "onEventMouseEnter"; "onEventMouseLeave": "onEventMouseLeave"; "onEventMouseOut": "onEventMouseOut"; "onEventMouseOver": "onEventMouseOver"; "onEventMouseUp": "onEventMouseUp"; "onEventPropagate": "onEventPropagate"; "onExpand": "onExpand"; "onFocusIn": "onFocusIn"; "onFocusOut": "onFocusOut"; "onHide": "onHide"; "onLoadOnDemandFail": "onLoadOnDemandFail"; "onMonthNameClick": "onMonthNameClick"; "onNavigate": "onNavigate"; "onPaint": "onPaint"; "onPaste": "onPaste"; "onPasteNotAllowed": "onPasteNotAllowed"; "onReadOnly": "onReadOnly"; "onRecompose": "onRecompose"; "onRefresh": "onRefresh"; "onResize": "onResize"; "onResourceClick": "onResourceClick"; "onResponsiveStateChange": "onResponsiveStateChange"; "onScheduleClick": "onScheduleClick"; "onScheduleContextMenu": "onScheduleContextMenu"; "onScheduleDblClick": "onScheduleDblClick"; "onScheduleMenuBeforeShow": "onScheduleMenuBeforeShow"; "onScheduleMenuItem": "onScheduleMenuItem"; "onScheduleMenuShow": "onScheduleMenuShow"; "onScheduleMouseDown": "onScheduleMouseDown"; "onScheduleMouseOut": "onScheduleMouseOut"; "onScheduleMouseOver": "onScheduleMouseOver"; "onScheduleMouseUp": "onScheduleMouseUp"; "onSelectionChange": "onSelectionChange"; "onShow": "onShow"; "onSidebarCollapse": "onSidebarCollapse"; "onSidebarExpand": "onSidebarExpand"; "onTimeAxisClick": "onTimeAxisClick"; "onTimeRangeHeaderClick": "onTimeRangeHeaderClick"; "onTimeRangeHeaderContextMenu": "onTimeRangeHeaderContextMenu"; "onTimeRangeHeaderDblClick": "onTimeRangeHeaderDblClick"; "onToolClick": "onToolClick"; "onViewPaint": "onViewPaint"; "onWeekNumberClick": "onWeekNumberClick"; }, never, never>;
|
|
2577
|
+
}
|