@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,1980 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Angular wrapper for Bryntum DayView
|
|
3
|
+
*/
|
|
4
|
+
import { ElementRef, SimpleChanges, OnDestroy, OnInit } from '@angular/core';
|
|
5
|
+
import { AlignSpec, Base, BryntumScrollOptions, ButtonConfig, DomConfig, DurationConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
6
|
+
import { EventModel, ResourceModel } from '@bryntum/scheduler-thin';
|
|
7
|
+
import { ActionButtonsConfig, CalendarRow, CalendarRowConfig, CalendarView, CalendarContainerItemConfig, CalendarContainerLayoutConfig, DayCell, DayCellWithEvents, DayView, DayViewListeners, EventBar, FluidDayLayoutConfig, OverflowPopupConfig } from '@bryntum/calendar-thin';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare type BryntumDayViewProps = {
|
|
10
|
+
/**
|
|
11
|
+
* An object or an array of button specifications which add clickable icon buttons to
|
|
12
|
+
* the rendered event blocks which contain the following properties.
|
|
13
|
+
* ...
|
|
14
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-actionButtons)
|
|
15
|
+
*/
|
|
16
|
+
actionButtons?: ActionButtonsConfig[] | Record<string, ActionButtonsConfig>;
|
|
17
|
+
/**
|
|
18
|
+
* A key to use to activate this view.
|
|
19
|
+
* ...
|
|
20
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-activationKey)
|
|
21
|
+
*/
|
|
22
|
+
activationKey?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
25
|
+
* content will be placed inside this element.
|
|
26
|
+
* ...
|
|
27
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-adopt)
|
|
28
|
+
*/
|
|
29
|
+
adopt?: HTMLElement | string;
|
|
30
|
+
/**
|
|
31
|
+
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
32
|
+
* ...
|
|
33
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-align)
|
|
34
|
+
*/
|
|
35
|
+
align?: AlignSpec | string;
|
|
36
|
+
/**
|
|
37
|
+
* 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
|
|
38
|
+
* flexbox layout. This config allows you to set this widget's
|
|
39
|
+
* [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
|
|
40
|
+
*/
|
|
41
|
+
alignSelf?: string;
|
|
42
|
+
/**
|
|
43
|
+
* A [CalendarRow](https://bryntum.com/products/calendar/docs/api/Calendar/widget/CalendarRow) widget containing the horizontal series of calendar cells with the
|
|
44
|
+
* day headers and any all-day, or day-spanning events which fall inside this view's time range.
|
|
45
|
+
* ...
|
|
46
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-allDayEvents)
|
|
47
|
+
*/
|
|
48
|
+
allDayEvents?: CalendarRow | CalendarRowConfig | null;
|
|
49
|
+
/**
|
|
50
|
+
* Configure this as `false` to disable drag-creating events in this view.
|
|
51
|
+
*/
|
|
52
|
+
allowDragCreate?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Configure this as `false` to disable drag-moving events in this view.
|
|
55
|
+
*/
|
|
56
|
+
allowDragMove?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Configure this as `false` to disable drag-resizing events in this view.
|
|
59
|
+
*/
|
|
60
|
+
allowDragResize?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* By default, when mousewheel zooming out from *overflowing* the client height, it is not permitted to zoom
|
|
63
|
+
* further out so that the hours *underflow* the client height.
|
|
64
|
+
* ...
|
|
65
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-allowZoomUnderflow)
|
|
66
|
+
*/
|
|
67
|
+
allowZoomUnderflow?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* *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).*
|
|
70
|
+
* `true` to show a connector arrow pointing to the align target.
|
|
71
|
+
*/
|
|
72
|
+
anchor?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* By default, when navigating through time, the next time
|
|
75
|
+
* block will be animated in from the appropriate direction.
|
|
76
|
+
* ...
|
|
77
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-animateTimeShift)
|
|
78
|
+
*/
|
|
79
|
+
animateTimeShift?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
82
|
+
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
83
|
+
*/
|
|
84
|
+
appendTo?: HTMLElement | string;
|
|
85
|
+
/**
|
|
86
|
+
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
87
|
+
* into an element which will be linked using the `aria-describedby` attribute.
|
|
88
|
+
* ...
|
|
89
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-ariaDescription)
|
|
90
|
+
*/
|
|
91
|
+
ariaDescription?: string;
|
|
92
|
+
/**
|
|
93
|
+
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
94
|
+
* the `aria-label` attribute.
|
|
95
|
+
* ...
|
|
96
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-ariaLabel)
|
|
97
|
+
*/
|
|
98
|
+
ariaLabel?: string;
|
|
99
|
+
/**
|
|
100
|
+
* If this config is set, then the `gesture` configured (which defaults to `dblclick`) creates a
|
|
101
|
+
* new event at the mouse or touch event's time point.
|
|
102
|
+
* ...
|
|
103
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-autoCreate)
|
|
104
|
+
*/
|
|
105
|
+
autoCreate?: {
|
|
106
|
+
gesture?: string;
|
|
107
|
+
newName?: Function | string;
|
|
108
|
+
step?: string;
|
|
109
|
+
snapType?: 'round' | 'ceil' | 'floor';
|
|
110
|
+
duration?: string;
|
|
111
|
+
startHour?: number;
|
|
112
|
+
} | string | boolean;
|
|
113
|
+
/**
|
|
114
|
+
* A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar),
|
|
115
|
+
* 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).
|
|
116
|
+
* ...
|
|
117
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-bbar)
|
|
118
|
+
*/
|
|
119
|
+
bbar?: (CalendarContainerItemConfig | string)[] | ToolbarConfig | PagingToolbarConfig | null;
|
|
120
|
+
/**
|
|
121
|
+
* Custom CSS classes to add to the panel's body element.
|
|
122
|
+
* ...
|
|
123
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-bodyCls)
|
|
124
|
+
*/
|
|
125
|
+
bodyCls?: string | object;
|
|
126
|
+
/**
|
|
127
|
+
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
128
|
+
* hierarchy when triggered.
|
|
129
|
+
* ...
|
|
130
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-bubbleEvents)
|
|
131
|
+
*/
|
|
132
|
+
bubbleEvents?: object;
|
|
133
|
+
/**
|
|
134
|
+
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
135
|
+
* ...
|
|
136
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-callOnFunctions)
|
|
137
|
+
*/
|
|
138
|
+
callOnFunctions?: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
141
|
+
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
142
|
+
* ...
|
|
143
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-catchEventHandlerExceptions)
|
|
144
|
+
*/
|
|
145
|
+
catchEventHandlerExceptions?: boolean;
|
|
146
|
+
/**
|
|
147
|
+
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
148
|
+
* Set to `true` to centre the Widget in browser viewport space.
|
|
149
|
+
*/
|
|
150
|
+
centered?: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* Custom CSS classes to add to element.
|
|
153
|
+
* May be specified as a space separated string, or as an object in which property names
|
|
154
|
+
* with truthy values are used as the class names:
|
|
155
|
+
* ...
|
|
156
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-cls)
|
|
157
|
+
*/
|
|
158
|
+
cls?: string | object;
|
|
159
|
+
/**
|
|
160
|
+
* Controls whether the panel is collapsed (the body of the panel is hidden while only the header is
|
|
161
|
+
* visible). Only valid if the panel is [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible).
|
|
162
|
+
*/
|
|
163
|
+
collapsed?: boolean;
|
|
164
|
+
/**
|
|
165
|
+
* This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsed).
|
|
166
|
+
* ...
|
|
167
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-collapsible)
|
|
168
|
+
*/
|
|
169
|
+
collapsible?: boolean | PanelCollapserConfig | PanelCollapserOverlayConfig;
|
|
170
|
+
/**
|
|
171
|
+
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
172
|
+
* `style` block.
|
|
173
|
+
* ...
|
|
174
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-color)
|
|
175
|
+
*/
|
|
176
|
+
color?: string;
|
|
177
|
+
/**
|
|
178
|
+
* Programmatic control over which column to start in when used in a grid layout.
|
|
179
|
+
*/
|
|
180
|
+
column?: number;
|
|
181
|
+
/**
|
|
182
|
+
* A function, or name of a function which is passed the [DayCellWithEvents](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#typedef-DayCellWithEvents) object which
|
|
183
|
+
* describes the events and details of the day.
|
|
184
|
+
* ...
|
|
185
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-columnHeaderRenderer)
|
|
186
|
+
* @param {DayCellWithEvents} cellData A data block describing the date and the events for that date.
|
|
187
|
+
* @returns {string,object}
|
|
188
|
+
*/
|
|
189
|
+
columnHeaderRenderer?: ((cellData: DayCellWithEvents) => string | object) | string;
|
|
190
|
+
/**
|
|
191
|
+
* Configure this property as `true` to show the day name and date headers in a more compact style.
|
|
192
|
+
* ...
|
|
193
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-compactHeader)
|
|
194
|
+
*/
|
|
195
|
+
compactHeader?: boolean;
|
|
196
|
+
config?: object;
|
|
197
|
+
/**
|
|
198
|
+
* *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).*
|
|
199
|
+
* Element, Widget or Rectangle to which this Widget is constrained.
|
|
200
|
+
*/
|
|
201
|
+
constrainTo?: HTMLElement | Widget | Rectangle;
|
|
202
|
+
/**
|
|
203
|
+
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
|
|
204
|
+
* May be specified as a space separated string, or as an object in which property names
|
|
205
|
+
* with truthy values are used as the class names:
|
|
206
|
+
* ...
|
|
207
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-contentElementCls)
|
|
208
|
+
*/
|
|
209
|
+
contentElementCls?: string | object;
|
|
210
|
+
/**
|
|
211
|
+
* An object containing two properties, `start` and `end` representing the start and
|
|
212
|
+
* end of core working hours.
|
|
213
|
+
* ...
|
|
214
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-coreHours)
|
|
215
|
+
* @param {Date} date Date for hours calculation
|
|
216
|
+
* @returns {object[]}
|
|
217
|
+
*/
|
|
218
|
+
coreHours?: object | ((date: Date) => object[]) | string;
|
|
219
|
+
/**
|
|
220
|
+
* A function, or name of a function which produces a [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) block to create the current time indicator
|
|
221
|
+
* which is displayed in a day column which represents the current date. It is the developer's responsibility
|
|
222
|
+
* to add CSS classes and the appropriate CSS rules to produce the desire appearance.
|
|
223
|
+
* ...
|
|
224
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-currentTimeIndicatorRenderer)
|
|
225
|
+
* @returns {DomConfig} An object which describes the DOM structure of the today indicator element.
|
|
226
|
+
*/
|
|
227
|
+
currentTimeIndicatorRenderer?: (() => DomConfig) | string;
|
|
228
|
+
/**
|
|
229
|
+
* By default, half hour, fifteen minute tick lines are rendered in a lower contrast
|
|
230
|
+
* colour than hour lines.
|
|
231
|
+
* ...
|
|
232
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-dashedSubticks)
|
|
233
|
+
*/
|
|
234
|
+
dashedSubticks?: boolean;
|
|
235
|
+
/**
|
|
236
|
+
* When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
|
|
237
|
+
* field on the expanded record to use for populating this widget's store (if applicable)
|
|
238
|
+
*/
|
|
239
|
+
dataField?: string;
|
|
240
|
+
/**
|
|
241
|
+
* Object to apply to elements dataset (each key will be used as a data-attribute on the element)
|
|
242
|
+
*/
|
|
243
|
+
dataset?: Record<string, string>;
|
|
244
|
+
/**
|
|
245
|
+
* The date to orient this view's [range](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DateRangeOwner#config-range) around.
|
|
246
|
+
* ...
|
|
247
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-date)
|
|
248
|
+
*/
|
|
249
|
+
date?: Date;
|
|
250
|
+
/**
|
|
251
|
+
* A callback function, or the name of a function in the ownership hierarchy which an
|
|
252
|
+
* application may provide to filter out day columns for individual dates.
|
|
253
|
+
* @param {DayCell} context Information about the day column to be created.
|
|
254
|
+
* @returns {boolean} Return `false` to not display a column for the passed date.
|
|
255
|
+
*/
|
|
256
|
+
dateFilter?: ((context: DayCell) => boolean) | string;
|
|
257
|
+
/**
|
|
258
|
+
* A [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function to use to create date output for view descriptions.
|
|
259
|
+
* @param {Date} date The date to format.
|
|
260
|
+
* @returns {string} The formatted date.
|
|
261
|
+
*/
|
|
262
|
+
dateFormat?: string | ((date: Date) => string);
|
|
263
|
+
/**
|
|
264
|
+
* A string used to separate start and end dates in the [descriptionFormat](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/Describable#config-descriptionFormat).
|
|
265
|
+
*/
|
|
266
|
+
dateSeparator?: string;
|
|
267
|
+
/**
|
|
268
|
+
* A function, or name of a function which is passed the [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) object which
|
|
269
|
+
* will be used to sync with a day column.
|
|
270
|
+
* ...
|
|
271
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-dayCellRenderer)
|
|
272
|
+
* @param {DomConfig,object} domConfig A [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) config object which is used to sync the day column element.
|
|
273
|
+
* @param {object} domConfig.className An object who's truthy property names will be applied as class names.
|
|
274
|
+
* @param {object} domConfig.style A CSS style definition object.
|
|
275
|
+
* @param {object} domConfig.dataset The DOM data properties to set.
|
|
276
|
+
* @param {DomConfig[]} children The [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) definitions for the events in the day.
|
|
277
|
+
* @param {DayCell} cellData A `DayCell` object that contains data about the cell.
|
|
278
|
+
* @returns {string}
|
|
279
|
+
*/
|
|
280
|
+
dayCellRenderer?: ((domConfig: {
|
|
281
|
+
className: object;
|
|
282
|
+
style: object;
|
|
283
|
+
dataset: object;
|
|
284
|
+
}, children: DomConfig[], cellData: DayCell) => string) | string;
|
|
285
|
+
/**
|
|
286
|
+
* Either the end hour of the day, or a *24 hour* `HH:MM` string denoting the end date of the last rendered time block.
|
|
287
|
+
* You can also set this value to a ms timestamp representing time from midnight.
|
|
288
|
+
* ...
|
|
289
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-dayEndTime)
|
|
290
|
+
*/
|
|
291
|
+
dayEndTime?: string | number;
|
|
292
|
+
/**
|
|
293
|
+
* A function, or name of a function which is passed the [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) object which
|
|
294
|
+
* will be used to sync with a day cell header <strong>in the all day row</strong>.
|
|
295
|
+
* ...
|
|
296
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-dayHeaderRenderer)
|
|
297
|
+
* @param {DomConfig,object} headerDomConfig A [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) config object which is used to sync the day header element.
|
|
298
|
+
* @param {object} headerDomConfig.className An object who's truthy property names will be applied as class names.
|
|
299
|
+
* @param {object} headerDomConfig.style A CSS style definition object.
|
|
300
|
+
* @param {object} headerDomConfig.dataset The DOM data properties to set.
|
|
301
|
+
* @param {DomConfig[]} headerDomConfig.children The [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) definitions the header content. There will be 2 `children` encapsulating the day name and the date.
|
|
302
|
+
* @param {DayCell} cellData A `DayCell` object that contains data about the cell.
|
|
303
|
+
* @returns {string}
|
|
304
|
+
*/
|
|
305
|
+
dayHeaderRenderer?: ((headerDomConfig: {
|
|
306
|
+
className: object;
|
|
307
|
+
style: object;
|
|
308
|
+
dataset: object;
|
|
309
|
+
children: DomConfig[];
|
|
310
|
+
}, cellData: DayCell) => string) | string;
|
|
311
|
+
/**
|
|
312
|
+
* The [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function for day names in the header row (e.g., "ddd" for "Mon", "Tue", ...)
|
|
313
|
+
* @param {Date} date The date to format.
|
|
314
|
+
* @returns {string} The formatted date.
|
|
315
|
+
*/
|
|
316
|
+
dayNameFormat?: string | ((date: Date) => string);
|
|
317
|
+
/**
|
|
318
|
+
* Either the start hour of the day, or a *24 hour* `HH:MM` string denoting the start time for days. This
|
|
319
|
+
* is midnight by default.
|
|
320
|
+
* ...
|
|
321
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-dayStartShift)
|
|
322
|
+
*/
|
|
323
|
+
dayStartShift?: string | number;
|
|
324
|
+
/**
|
|
325
|
+
* Either the start hour of the day, or a *24 hour* `HH:MM` string denoting the start of the first rendered
|
|
326
|
+
* daily time block. You can also set this value to a ms timestamp representing time from midnight.
|
|
327
|
+
* ...
|
|
328
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-dayStartTime)
|
|
329
|
+
*/
|
|
330
|
+
dayStartTime?: string | number;
|
|
331
|
+
/**
|
|
332
|
+
* The name of the property to set when a single value is to be applied to this Widget. Such as when used
|
|
333
|
+
* in a grid WidgetColumn, this is the property to which the column's `field` is applied.
|
|
334
|
+
*/
|
|
335
|
+
defaultBindProperty?: string;
|
|
336
|
+
/**
|
|
337
|
+
* A [query](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
|
|
338
|
+
* focus should be directed by default.
|
|
339
|
+
* ...
|
|
340
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-defaultFocus)
|
|
341
|
+
* @param {Core.widget.Widget} widget Widget passed to method
|
|
342
|
+
* @returns {boolean} truthy value if widget is the default one
|
|
343
|
+
*/
|
|
344
|
+
defaultFocus?: ((widget: Widget) => boolean) | string;
|
|
345
|
+
/**
|
|
346
|
+
* A config object containing default settings to apply to all child widgets.
|
|
347
|
+
*/
|
|
348
|
+
defaults?: CalendarContainerItemConfig;
|
|
349
|
+
/**
|
|
350
|
+
* Options to add into scroll options when the [scrollTo](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#function-scrollTo) method is called.
|
|
351
|
+
* ...
|
|
352
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-defaultScrollOptions)
|
|
353
|
+
*/
|
|
354
|
+
defaultScrollOptions?: BryntumScrollOptions;
|
|
355
|
+
/**
|
|
356
|
+
* The date format used by the default [descriptionRenderer](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/Describable#config-descriptionRenderer) for rendering the view's description.
|
|
357
|
+
* If this value is `null`, the [dateFormat](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/Describable#config-dateFormat) (and potentially [dateSeparator](#Scheduler/view/mixin/Describable#config-dateSeparator)) will
|
|
358
|
+
* be used.
|
|
359
|
+
* ...
|
|
360
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-descriptionFormat)
|
|
361
|
+
* @param {Date} date The date to format.
|
|
362
|
+
* @returns {string} The formatted date.
|
|
363
|
+
*/
|
|
364
|
+
descriptionFormat?: string | string[] | boolean[] | ((date: Date) => string) | Function[];
|
|
365
|
+
/**
|
|
366
|
+
* A function that provides the textual description for this view. If provided, this function overrides the
|
|
367
|
+
* [descriptionFormat](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/Describable#config-descriptionFormat).
|
|
368
|
+
* ...
|
|
369
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-descriptionRenderer)
|
|
370
|
+
* @param {Core.widget.Widget} view The active view in case the function is in another scope.
|
|
371
|
+
* @returns {string} Description string
|
|
372
|
+
*/
|
|
373
|
+
descriptionRenderer?: (view: Widget) => string;
|
|
374
|
+
/**
|
|
375
|
+
* Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
|
|
376
|
+
* ...
|
|
377
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-detectCSSCompatibilityIssues)
|
|
378
|
+
*/
|
|
379
|
+
detectCSSCompatibilityIssues?: boolean;
|
|
380
|
+
/**
|
|
381
|
+
* 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
|
|
382
|
+
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
383
|
+
* ...
|
|
384
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-disabled)
|
|
385
|
+
*/
|
|
386
|
+
disabled?: boolean | 'inert';
|
|
387
|
+
/**
|
|
388
|
+
* Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel)
|
|
389
|
+
* [strips collection](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
390
|
+
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
391
|
+
* body. Such widgets are called "edge strips".
|
|
392
|
+
* ...
|
|
393
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-dock)
|
|
394
|
+
*/
|
|
395
|
+
dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
|
|
396
|
+
/**
|
|
397
|
+
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
398
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
399
|
+
* property which controls when a drag should start.
|
|
400
|
+
* ...
|
|
401
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-draggable)
|
|
402
|
+
*/
|
|
403
|
+
draggable?: boolean | {
|
|
404
|
+
handleSelector?: string;
|
|
405
|
+
};
|
|
406
|
+
/**
|
|
407
|
+
* The [durationUnit](https://bryntum.com/products/calendar/docs/api/Scheduler/model/EventModel#field-durationUnit) to use when drag-creating events
|
|
408
|
+
* in this view.
|
|
409
|
+
* ...
|
|
410
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-dragUnit)
|
|
411
|
+
*/
|
|
412
|
+
dragUnit?: string;
|
|
413
|
+
/**
|
|
414
|
+
* Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
|
|
415
|
+
* ...
|
|
416
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-drawer)
|
|
417
|
+
* @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.
|
|
418
|
+
* @param {string,number} size The size of the drawer in its collapsible axis.
|
|
419
|
+
* @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.
|
|
420
|
+
* @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.
|
|
421
|
+
* @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.
|
|
422
|
+
* @param {boolean,string} autoClose.focusout If focus moves outside of the drawer, the drawer will automatically be hidden.
|
|
423
|
+
* @param {string} autoClose.mouseout Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
|
|
424
|
+
* @param {number} autoCloseDelay When using `mouseout`, this is the delay in milliseconds
|
|
425
|
+
*/
|
|
426
|
+
drawer?: boolean | {
|
|
427
|
+
side?: 'start' | 'left' | 'end' | 'right' | 'top' | 'bottom';
|
|
428
|
+
size?: string | number;
|
|
429
|
+
inline?: boolean;
|
|
430
|
+
autoClose: {
|
|
431
|
+
mousedown?: boolean | string;
|
|
432
|
+
focusout?: boolean | string;
|
|
433
|
+
mouseout?: string;
|
|
434
|
+
};
|
|
435
|
+
autoCloseDelay?: number;
|
|
436
|
+
};
|
|
437
|
+
/**
|
|
438
|
+
* An object specifying attributes to assign to the root element of this widget.
|
|
439
|
+
* Set `null` value to attribute to remove it.
|
|
440
|
+
* ...
|
|
441
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-elementAttributes)
|
|
442
|
+
*/
|
|
443
|
+
elementAttributes?: Record<string, string | null>;
|
|
444
|
+
/**
|
|
445
|
+
* The end date (Time component is zeroed) of this view. Note that in terms of full days,
|
|
446
|
+
* this is exclusive, ie: 2020-01-012 to 2020-01-08 is *seven* days. The end is 00:00:00 on
|
|
447
|
+
* the 8th.
|
|
448
|
+
* ...
|
|
449
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-endDate)
|
|
450
|
+
*/
|
|
451
|
+
endDate?: Date;
|
|
452
|
+
/**
|
|
453
|
+
* A function, or the name of a function in the ownership hierarchy to filter which events
|
|
454
|
+
* are collected into the day cell data blocks.
|
|
455
|
+
* Return `true` to include the passed event, or a *falsy* value to exclude the event.
|
|
456
|
+
* @param {Scheduler.model.EventModel} event the passed event
|
|
457
|
+
* @returns {boolean}
|
|
458
|
+
*/
|
|
459
|
+
eventFilter?: ((event: EventModel) => boolean) | string;
|
|
460
|
+
/**
|
|
461
|
+
* A function, or the name of a function in the ownership hierarchy which you
|
|
462
|
+
* can specify to customize event DOM content.
|
|
463
|
+
* ...
|
|
464
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-eventHeaderRenderer)
|
|
465
|
+
* @param {object} detail An object that contains data about the event being rendered
|
|
466
|
+
* @param {CalendarView} detail.view The view rendering the event
|
|
467
|
+
* @param {Scheduler.model.EventModel} detail.eventRecord The event record
|
|
468
|
+
* @param {Scheduler.model.ResourceModel} detail.resourceRecord The resource record
|
|
469
|
+
* @param {object} detail.renderData A data object containing properties that will be used to create the event element
|
|
470
|
+
* @param {object} detail.renderData.style The style property is an object containing style properties for the event element
|
|
471
|
+
* @param {object} detail.renderData.cls The cls property is an object whose property names will be added to the event element if the property value is truthy
|
|
472
|
+
* @param {object} detail.renderData.iconStyle The iconStyle property is an object containing style properties for the icon element if an icon element is to be used
|
|
473
|
+
* @param {object} detail.renderData.iconCls The iconCls property is an object whose property names will be added to the icon element. Initially set from the event record's [iconCls](https://bryntum.com/products/calendar/docs/api/Scheduler/model/EventModel#field-iconCls). Can be mutated by the renderer. If null, or no properties are set, no icon will be rendered
|
|
474
|
+
* @param {string} detail.renderData.eventColor Color to be applied to the event
|
|
475
|
+
* @param {object} detail.renderData.dataset An object which produces the `dataset` of the resulting event bar
|
|
476
|
+
* @param {boolean} detail.renderData.solidBar This is valid for views which create event bars. This is set to `true` by default for all day and interday events so that these appear as a solid block of background color. An eventRenderer may mutate this flag to change in what manner the event bar is colored - as a solid bar of color, or using the foreground color (text and icons) such as the MonthView, the CalendarRow (all day events in a DayView), and OverflowPopups
|
|
477
|
+
* @param {string} detail.renderData.bodyColor When used in a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView), this color is applied to the body of the event element. Note that this must be light enough that the text color (From the SASS variable `$dayview-event-color`) is visible
|
|
478
|
+
* @param {boolean} detail.showBullet If there is no `iconCls`, and the event is not recurring, then by default a "bullet" circular icon is shown if the view's [showBullet](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showBullet) if set. Setting this property in an event renderer overrides this behaviour.
|
|
479
|
+
* @returns {DomConfig,DomConfig[],string,void}
|
|
480
|
+
*/
|
|
481
|
+
eventHeaderRenderer?: ((detail: {
|
|
482
|
+
view: CalendarView;
|
|
483
|
+
eventRecord: EventModel;
|
|
484
|
+
resourceRecord: ResourceModel;
|
|
485
|
+
renderData: {
|
|
486
|
+
style: object;
|
|
487
|
+
cls: object;
|
|
488
|
+
iconStyle: object;
|
|
489
|
+
iconCls: object;
|
|
490
|
+
eventColor: string;
|
|
491
|
+
dataset: object;
|
|
492
|
+
solidBar: boolean;
|
|
493
|
+
bodyColor: string;
|
|
494
|
+
};
|
|
495
|
+
showBullet: boolean;
|
|
496
|
+
}) => DomConfig | DomConfig[] | string | void) | string;
|
|
497
|
+
/**
|
|
498
|
+
* Configuration to manage event layout class.
|
|
499
|
+
* See [FluidDayLayout](https://bryntum.com/products/calendar/docs/api/Calendar/layout/day/FluidDayLayout) class docs to see all possible configurations.
|
|
500
|
+
* ...
|
|
501
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-eventLayout)
|
|
502
|
+
*/
|
|
503
|
+
eventLayout?: FluidDayLayoutConfig;
|
|
504
|
+
/**
|
|
505
|
+
* A function, or the name of a function in the ownership hierarchy which you
|
|
506
|
+
* can specify to customize event DOM content.
|
|
507
|
+
* ...
|
|
508
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-eventRenderer)
|
|
509
|
+
* @param {object} detail An object that contains data about the event being rendered
|
|
510
|
+
* @param {CalendarView} detail.view The view rendering the event
|
|
511
|
+
* @param {Scheduler.model.EventModel} detail.eventRecord The event record
|
|
512
|
+
* @param {Scheduler.model.ResourceModel} detail.resourceRecord The Resource record
|
|
513
|
+
* @param {object} detail.renderData A data object containing properties that will be used to create the event element
|
|
514
|
+
* @param {object} detail.renderData.style The style property is an object containing style properties for the event element
|
|
515
|
+
* @param {object} detail.renderData.cls The cls property is an object whose property names will be added to the event element if the property value is truthy
|
|
516
|
+
* @param {object} detail.renderData.iconStyle The iconStyle property is an object containing style properties for the icon element if an icon element is to be used
|
|
517
|
+
* @param {object} detail.renderData.iconCls The iconCls property is an object whose property names will be added to the icon element. Initially set from the event record's [iconCls](https://bryntum.com/products/calendar/docs/api/Scheduler/model/EventModel#field-iconCls). Can be mutated by the renderer. If null, or no properties are set, no icon will be rendered
|
|
518
|
+
* @param {string} detail.renderData.eventColor Color to be applied to the event. This may be a CSS color name or a CSS color value in any of the supported CSS color formats such as `#RRGGBB`, `rgb(255, 0, 0)`, or `rgba(255, 0, 0, 0.5)`.
|
|
519
|
+
* @param {string} detail.renderData.eventBackground A CSS background style to be applied to the event. This is not set by default, but can be set by the renderer to provide a background image or gradient for the event bar. This overrides the `eventColor` property if present.
|
|
520
|
+
* @param {string} detail.renderData.textColor A CSS color to be applied to the event text. This is not set by default, but can be set by the renderer to provide a custom color for the event name text in the event bar. This may be a CSS color name or a CSS color value in any of the supported CSS color formats such as `#RRGGBB`, `rgb(255, 0, 0)`, or `rgba(255, 0, 0, 0.5)`.
|
|
521
|
+
* @param {object} detail.renderData.eventInnerStyle The eventInnerStyle property is an object containing style properties for the inner part of the event element, the `.b-cal-event` element.
|
|
522
|
+
* @param {object} detail.renderData.dataset An object which produces the `dataset` of the resulting event bar
|
|
523
|
+
* @param {boolean} detail.renderData.solidBar This is valid for views which create event bars. This is set to `true` by default for all day and interday events so that these appear as a solid block of background color. An eventRenderer may mutate this flag to change in what manner the event bar is colored - as a solid bar of color, or using the foreground color (text and icons) such as the MonthView, the CalendarRow (all day events in a DayView), and OverflowPopups
|
|
524
|
+
* @param {string} detail.renderData.bodyColor When used in a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView), this color is applied to the body of the event element. Note that this must be light enough that the text color (From the SASS variable `$dayview-event-color`) is visible
|
|
525
|
+
* @param {boolean} detail.renderData.showBullet If there is no `iconCls`, and the event is not recurring, then by default a "bullet" circular icon is shown if the view's [showBullet](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showBullet) if set. Setting this property in an event renderer overrides this behaviour.
|
|
526
|
+
* @returns {DomConfig,DomConfig[],string,void} The content to be used as the event body.
|
|
527
|
+
*/
|
|
528
|
+
eventRenderer?: ((detail: {
|
|
529
|
+
view: CalendarView;
|
|
530
|
+
eventRecord: EventModel;
|
|
531
|
+
resourceRecord: ResourceModel;
|
|
532
|
+
renderData: {
|
|
533
|
+
style: object;
|
|
534
|
+
cls: object;
|
|
535
|
+
iconStyle: object;
|
|
536
|
+
iconCls: object;
|
|
537
|
+
eventColor: string;
|
|
538
|
+
eventBackground: string;
|
|
539
|
+
textColor: string;
|
|
540
|
+
eventInnerStyle: object;
|
|
541
|
+
dataset: object;
|
|
542
|
+
solidBar: boolean;
|
|
543
|
+
bodyColor: string;
|
|
544
|
+
showBullet: boolean;
|
|
545
|
+
};
|
|
546
|
+
}) => DomConfig | DomConfig[] | string | void) | string;
|
|
547
|
+
/**
|
|
548
|
+
* A function which compares events which some views use to decide upon rendering order.
|
|
549
|
+
* ...
|
|
550
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-eventSorter)
|
|
551
|
+
* @param {Scheduler.model.EventModel,EventBar} lhs The left side value to conpare
|
|
552
|
+
* @param {Scheduler.model.EventModel,EventBar} rhs The right side value to conpare
|
|
553
|
+
* @returns {number}
|
|
554
|
+
*/
|
|
555
|
+
eventSorter?: (lhs: EventModel | EventBar, rhs: EventModel | EventBar) => number;
|
|
556
|
+
/**
|
|
557
|
+
* Number of pixels to reduce the height of events by, to leave a gap between them.
|
|
558
|
+
*/
|
|
559
|
+
eventSpacing?: number;
|
|
560
|
+
/**
|
|
561
|
+
* By default, the end date of an all day event is displayed in the UI as
|
|
562
|
+
* the last calendar date on which the event falls. For most end users, this is the
|
|
563
|
+
* expected value.
|
|
564
|
+
* ...
|
|
565
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-extendAllDayEndDay)
|
|
566
|
+
*/
|
|
567
|
+
extendAllDayEndDay?: boolean;
|
|
568
|
+
extraData?: any;
|
|
569
|
+
/**
|
|
570
|
+
* If this is set to `true`, then when determining which assigned resource of a multi assigned event
|
|
571
|
+
* to use to create the event UI, the first resource which is still selected in the
|
|
572
|
+
* [resourceFilter](https://bryntum.com/products/calendar/docs/api/Calendar/widget/Sidebar#property-resourceFilter) is used.
|
|
573
|
+
* ...
|
|
574
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-filterEventResources)
|
|
575
|
+
*/
|
|
576
|
+
filterEventResources?: boolean;
|
|
577
|
+
/**
|
|
578
|
+
* When set to `true`, the hours in the day will be sized so that they fit in the available
|
|
579
|
+
* height.
|
|
580
|
+
* ...
|
|
581
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-fitHours)
|
|
582
|
+
*/
|
|
583
|
+
fitHours?: boolean | {
|
|
584
|
+
minHeight?: number;
|
|
585
|
+
};
|
|
586
|
+
/**
|
|
587
|
+
* By default, reconfiguring the [startDate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-startDate) maintains the current duration
|
|
588
|
+
* of the view and moves the [endDate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-endDate).
|
|
589
|
+
* ...
|
|
590
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-fixedDuration)
|
|
591
|
+
*/
|
|
592
|
+
fixedDuration?: boolean;
|
|
593
|
+
/**
|
|
594
|
+
* 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
|
|
595
|
+
* flexbox layout. This config allows you to set this widget's
|
|
596
|
+
* [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
|
|
597
|
+
* This may be configured as a single number or a `<flex-grow> <flex-shrink> <flex-basis>` format string.
|
|
598
|
+
* numeric-only values are interpreted as the `flex-grow` value.
|
|
599
|
+
*/
|
|
600
|
+
flex?: number | string;
|
|
601
|
+
/**
|
|
602
|
+
* Set to `true` to move the widget out of the document flow and position it
|
|
603
|
+
* absolutely in browser viewport space.
|
|
604
|
+
*/
|
|
605
|
+
floating?: boolean;
|
|
606
|
+
/**
|
|
607
|
+
* Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
|
|
608
|
+
* 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).
|
|
609
|
+
* ...
|
|
610
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-footer)
|
|
611
|
+
*/
|
|
612
|
+
footer?: {
|
|
613
|
+
dock?: 'top' | 'right' | 'bottom' | 'left' | 'start' | 'end';
|
|
614
|
+
html?: string;
|
|
615
|
+
cls?: string;
|
|
616
|
+
} | string;
|
|
617
|
+
/**
|
|
618
|
+
* A Function (or name of a function in the ownership hierarchy) which returns the
|
|
619
|
+
* [resource record](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel) to use to create the UI for an event.
|
|
620
|
+
* ...
|
|
621
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-getPrimaryResource)
|
|
622
|
+
* @param {Scheduler.model.EventModel} eventRecord The event from which to extract the primary resource.
|
|
623
|
+
* @returns {Scheduler.model.ResourceModel} The resource to be used to render the event.
|
|
624
|
+
*/
|
|
625
|
+
getPrimaryResource?: ((eventRecord: EventModel) => ResourceModel) | string;
|
|
626
|
+
/**
|
|
627
|
+
* 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`.
|
|
628
|
+
* ...
|
|
629
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-header)
|
|
630
|
+
*/
|
|
631
|
+
header?: string | boolean | PanelHeader;
|
|
632
|
+
/**
|
|
633
|
+
* Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
|
|
634
|
+
* which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
|
|
635
|
+
* cases this config is convenient.
|
|
636
|
+
*/
|
|
637
|
+
height?: string | number;
|
|
638
|
+
/**
|
|
639
|
+
* Configure with true to make widget initially hidden.
|
|
640
|
+
*/
|
|
641
|
+
hidden?: boolean;
|
|
642
|
+
/**
|
|
643
|
+
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
644
|
+
* ...
|
|
645
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-hideAnimation)
|
|
646
|
+
*/
|
|
647
|
+
hideAnimation?: boolean | object;
|
|
648
|
+
/**
|
|
649
|
+
* Configure this as `true` to hide day columns which contain no events.
|
|
650
|
+
* ...
|
|
651
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-hideEmptyDays)
|
|
652
|
+
*/
|
|
653
|
+
hideEmptyDays?: boolean;
|
|
654
|
+
/**
|
|
655
|
+
* Configure as `true` to hide [nonWorkingDays](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-nonWorkingDays)
|
|
656
|
+
*/
|
|
657
|
+
hideNonWorkingDays?: boolean;
|
|
658
|
+
/**
|
|
659
|
+
* Specify `true` to make this container hide when it has no visible children (Either empty
|
|
660
|
+
* or all children hidden).
|
|
661
|
+
* ...
|
|
662
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-hideWhenEmpty)
|
|
663
|
+
*/
|
|
664
|
+
hideWhenEmpty?: boolean;
|
|
665
|
+
/**
|
|
666
|
+
* The height <strong>in pixels</strong> of one hour cell in a day column.
|
|
667
|
+
* ...
|
|
668
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-hourHeight)
|
|
669
|
+
*/
|
|
670
|
+
hourHeight?: number;
|
|
671
|
+
/**
|
|
672
|
+
* An array which encapsulates a set of [hourHeight](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-hourHeight) breakpoints which
|
|
673
|
+
* dictate when subticks - intervening time indicators - are introduced into the DayView's
|
|
674
|
+
* time axis.
|
|
675
|
+
* ...
|
|
676
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-hourHeightBreakpoints)
|
|
677
|
+
*/
|
|
678
|
+
hourHeightBreakpoints?: number[];
|
|
679
|
+
/**
|
|
680
|
+
* 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
|
|
681
|
+
* [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) object describing an element to represent the icon.
|
|
682
|
+
*/
|
|
683
|
+
icon?: string | DomConfig;
|
|
684
|
+
/**
|
|
685
|
+
* Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
|
|
686
|
+
*/
|
|
687
|
+
id?: string;
|
|
688
|
+
/**
|
|
689
|
+
* Determines if the widgets read-only state should be controlled by its parent.
|
|
690
|
+
* ...
|
|
691
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-ignoreParentReadOnly)
|
|
692
|
+
*/
|
|
693
|
+
ignoreParentReadOnly?: boolean;
|
|
694
|
+
/**
|
|
695
|
+
* A millisecond value to which to snap pointer times when clicking or dragging within a day column
|
|
696
|
+
* and when calculating the hovered time for the [ScheduleTooltip](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ScheduleTooltip) tooltip.
|
|
697
|
+
* ...
|
|
698
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-increment)
|
|
699
|
+
*/
|
|
700
|
+
increment?: string | number;
|
|
701
|
+
/**
|
|
702
|
+
* Convenience setting to align input fields of child widgets. By default, the Field input element is
|
|
703
|
+
* placed immediately following the `label`. If you prefer to have all input fields aligned to the
|
|
704
|
+
* right, set this config to `'end'`.
|
|
705
|
+
* ...
|
|
706
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-inputFieldAlign)
|
|
707
|
+
*/
|
|
708
|
+
inputFieldAlign?: 'start' | 'end';
|
|
709
|
+
/**
|
|
710
|
+
* 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.
|
|
711
|
+
*/
|
|
712
|
+
insertBefore?: HTMLElement | string;
|
|
713
|
+
/**
|
|
714
|
+
* 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.
|
|
715
|
+
*/
|
|
716
|
+
insertFirst?: HTMLElement | string;
|
|
717
|
+
/**
|
|
718
|
+
* By default, drag-moving an event allows the drag gesture to move the event into other day columns.
|
|
719
|
+
* ...
|
|
720
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-interDayDrag)
|
|
721
|
+
*/
|
|
722
|
+
interDayDrag?: boolean;
|
|
723
|
+
/**
|
|
724
|
+
* By default, drag-resizing an event (including creating a new event) allows the drag gesture to span multiple day
|
|
725
|
+
* columns to make the event an inter day event.
|
|
726
|
+
* ...
|
|
727
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-interDayResize)
|
|
728
|
+
*/
|
|
729
|
+
interDayResize?: boolean;
|
|
730
|
+
/**
|
|
731
|
+
* An optional CSS class to add to child items of this container.
|
|
732
|
+
*/
|
|
733
|
+
itemCls?: string;
|
|
734
|
+
/**
|
|
735
|
+
* An object containing typed child widget config objects or Widgets. May also be specified
|
|
736
|
+
* as an array.
|
|
737
|
+
* ...
|
|
738
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-items)
|
|
739
|
+
*/
|
|
740
|
+
items?: Record<string, CalendarContainerItemConfig | MenuItemEntry> | (CalendarContainerItemConfig | MenuItemEntry | Widget)[];
|
|
741
|
+
/**
|
|
742
|
+
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
743
|
+
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
744
|
+
* are the name of the instance method to call when the keystroke is received.
|
|
745
|
+
* ...
|
|
746
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-keyMap)
|
|
747
|
+
*/
|
|
748
|
+
keyMap?: Record<string, KeyMapConfig>;
|
|
749
|
+
/**
|
|
750
|
+
* Convenience setting to use same label placement on all child widgets.
|
|
751
|
+
* ...
|
|
752
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-labelPosition)
|
|
753
|
+
*/
|
|
754
|
+
labelPosition?: 'before' | 'above' | 'align-before' | 'auto' | null;
|
|
755
|
+
/**
|
|
756
|
+
* The short name of a helper class which manages rendering and styling of child items.
|
|
757
|
+
* ...
|
|
758
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-layout)
|
|
759
|
+
*/
|
|
760
|
+
layout?: string | CalendarContainerLayoutConfig;
|
|
761
|
+
/**
|
|
762
|
+
* The CSS style properties to apply to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
|
|
763
|
+
* ...
|
|
764
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-layoutStyle)
|
|
765
|
+
*/
|
|
766
|
+
layoutStyle?: object;
|
|
767
|
+
/**
|
|
768
|
+
* 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
|
|
769
|
+
* instances only when this Container is rendered, rather than eagerly at construct time.
|
|
770
|
+
* ...
|
|
771
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-lazyItems)
|
|
772
|
+
*/
|
|
773
|
+
lazyItems?: Record<string, CalendarContainerItemConfig> | CalendarContainerItemConfig[] | Widget[];
|
|
774
|
+
/**
|
|
775
|
+
* The listener set for this object.
|
|
776
|
+
* ...
|
|
777
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-listeners)
|
|
778
|
+
*/
|
|
779
|
+
listeners?: DayViewListeners;
|
|
780
|
+
/**
|
|
781
|
+
* A class translations of which are used for translating this entity.
|
|
782
|
+
* This is often used when translations of an item are defined on its container class.
|
|
783
|
+
* For example:
|
|
784
|
+
* ...
|
|
785
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-localeClass)
|
|
786
|
+
*/
|
|
787
|
+
localeClass?: typeof Base;
|
|
788
|
+
/**
|
|
789
|
+
* Set to `false` to disable localization of this object.
|
|
790
|
+
*/
|
|
791
|
+
localizable?: boolean;
|
|
792
|
+
/**
|
|
793
|
+
* List of properties which values should be translated automatically upon a locale applying.
|
|
794
|
+
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
795
|
+
* you could use 'localeKey' meta configuration.
|
|
796
|
+
* Example:
|
|
797
|
+
* ...
|
|
798
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-localizableProperties)
|
|
799
|
+
*/
|
|
800
|
+
localizableProperties?: string[];
|
|
801
|
+
/**
|
|
802
|
+
* Widget's margin. This may be configured as a single number or a `TRBL` format string.
|
|
803
|
+
* numeric-only values are interpreted as pixels.
|
|
804
|
+
*/
|
|
805
|
+
margin?: number | string;
|
|
806
|
+
/**
|
|
807
|
+
* This config object contains the defaults for the [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) created for the
|
|
808
|
+
* [masked](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
|
|
809
|
+
* values.
|
|
810
|
+
*/
|
|
811
|
+
maskDefaults?: MaskConfig;
|
|
812
|
+
/**
|
|
813
|
+
* Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
|
|
814
|
+
* [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object.
|
|
815
|
+
*/
|
|
816
|
+
masked?: boolean | string | MaskConfig;
|
|
817
|
+
/**
|
|
818
|
+
* The maximum height the all day event row is allowed to grow within this view
|
|
819
|
+
* when it is expanded to show all its "all day" events.
|
|
820
|
+
* ...
|
|
821
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-maxAllDayHeight)
|
|
822
|
+
*/
|
|
823
|
+
maxAllDayHeight?: number | string;
|
|
824
|
+
/**
|
|
825
|
+
* The maximum date to which the `endDate` of this view may be navigated.
|
|
826
|
+
*/
|
|
827
|
+
maxDate?: Date | string;
|
|
828
|
+
/**
|
|
829
|
+
* The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
|
|
830
|
+
* like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
|
|
831
|
+
*/
|
|
832
|
+
maxHeight?: string | number;
|
|
833
|
+
/**
|
|
834
|
+
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
835
|
+
* ...
|
|
836
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-maximizeOnMobile)
|
|
837
|
+
*/
|
|
838
|
+
maximizeOnMobile?: number | string;
|
|
839
|
+
/**
|
|
840
|
+
* The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
|
|
841
|
+
* like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
|
|
842
|
+
*/
|
|
843
|
+
maxWidth?: string | number;
|
|
844
|
+
/**
|
|
845
|
+
* The minimum date to which the `startDate` of this view may be navigated.
|
|
846
|
+
*/
|
|
847
|
+
minDate?: Date | string;
|
|
848
|
+
/**
|
|
849
|
+
* The minimum width of a day column.
|
|
850
|
+
* ...
|
|
851
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-minDayWidth)
|
|
852
|
+
*/
|
|
853
|
+
minDayWidth?: number | string;
|
|
854
|
+
/**
|
|
855
|
+
* The minimum height to which event blocks in a day cell may shrink. If an event has very
|
|
856
|
+
* short duration, whatever the [hourHeight](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-hourHeight), and regardless of
|
|
857
|
+
* [timeline zooming](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#function-zoomTo), the event block will never drop below this height.
|
|
858
|
+
*/
|
|
859
|
+
minEventHeight?: number | string;
|
|
860
|
+
/**
|
|
861
|
+
* The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
|
|
862
|
+
* like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
|
|
863
|
+
*/
|
|
864
|
+
minHeight?: string | number;
|
|
865
|
+
/**
|
|
866
|
+
* The minimum height <strong>in pixels</strong> to allow a zoom request to zoom out to.
|
|
867
|
+
*/
|
|
868
|
+
minHourHeight?: number;
|
|
869
|
+
/**
|
|
870
|
+
* The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
|
|
871
|
+
* like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
|
|
872
|
+
*/
|
|
873
|
+
minWidth?: string | number;
|
|
874
|
+
/**
|
|
875
|
+
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
876
|
+
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
877
|
+
* layout.
|
|
878
|
+
* ...
|
|
879
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-monitorResize)
|
|
880
|
+
*/
|
|
881
|
+
monitorResize?: boolean | {
|
|
882
|
+
immediate?: boolean;
|
|
883
|
+
};
|
|
884
|
+
/**
|
|
885
|
+
* 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)
|
|
886
|
+
* config. For example, a specialized [Menu](https://bryntum.com/products/calendar/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
|
|
887
|
+
* value defined like this:
|
|
888
|
+
* ...
|
|
889
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-namedItems)
|
|
890
|
+
*/
|
|
891
|
+
namedItems?: Record<string, CalendarContainerItemConfig>;
|
|
892
|
+
/**
|
|
893
|
+
* Text or HTML, or a [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) block to display when all dates in the range have been filtered out.
|
|
894
|
+
*/
|
|
895
|
+
noMatchingDates?: string | DomConfig;
|
|
896
|
+
/**
|
|
897
|
+
* Non-working days as an object where keys are day indices, 0-6 (Sunday-Saturday), and the value is `true`.
|
|
898
|
+
* Defaults to [nonWorkingDays](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper#property-nonWorkingDays-static).
|
|
899
|
+
*/
|
|
900
|
+
nonWorkingDays?: Record<number, boolean>;
|
|
901
|
+
/**
|
|
902
|
+
* A config object used to create the [OverflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/OverflowPopup) that the
|
|
903
|
+
* [allDayEvents](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#property-allDayEvents) may show when events for one day overflow the available space.
|
|
904
|
+
* ...
|
|
905
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-overflowPopup)
|
|
906
|
+
*/
|
|
907
|
+
overflowPopup?: OverflowPopupConfig;
|
|
908
|
+
/**
|
|
909
|
+
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
910
|
+
* [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
911
|
+
* the owner is <strong>always</strong> the encapsulating Container.
|
|
912
|
+
* ...
|
|
913
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-owner)
|
|
914
|
+
*/
|
|
915
|
+
owner?: Widget | any;
|
|
916
|
+
/**
|
|
917
|
+
* The class name to add to events which have an end date in the past. Defaults to `'b-past-event'`.
|
|
918
|
+
* ...
|
|
919
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-pastEventCls)
|
|
920
|
+
*/
|
|
921
|
+
pastEventCls?: string;
|
|
922
|
+
/**
|
|
923
|
+
* 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
|
|
924
|
+
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
925
|
+
* widget's [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
|
|
926
|
+
* ...
|
|
927
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-positioned)
|
|
928
|
+
*/
|
|
929
|
+
positioned?: boolean;
|
|
930
|
+
/**
|
|
931
|
+
* Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
|
|
932
|
+
* menu on click etc, since the tooltip would be displayed at the same time.
|
|
933
|
+
*/
|
|
934
|
+
preventTooltipOnTouch?: boolean;
|
|
935
|
+
/**
|
|
936
|
+
* The time range around the [date](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DateRangeOwner#config-date) to display events for.
|
|
937
|
+
* ...
|
|
938
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-range)
|
|
939
|
+
*/
|
|
940
|
+
range?: string | DurationConfig;
|
|
941
|
+
/**
|
|
942
|
+
* Whether this widget is read-only. This is only valid if the widget is an input
|
|
943
|
+
* field, <strong>or contains input fields at any depth</strong>.
|
|
944
|
+
* ...
|
|
945
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-readOnly)
|
|
946
|
+
*/
|
|
947
|
+
readOnly?: boolean;
|
|
948
|
+
relayStoreEvents?: boolean;
|
|
949
|
+
/**
|
|
950
|
+
* Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
|
|
951
|
+
* `type`.
|
|
952
|
+
* ...
|
|
953
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-rendition)
|
|
954
|
+
*/
|
|
955
|
+
rendition?: string | Record<string, string> | null;
|
|
956
|
+
/**
|
|
957
|
+
* Path to load resource images from. Used by the [showResourceAvatars](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showResourceAvatars) config
|
|
958
|
+
* to create URLs using the resource's
|
|
959
|
+
* [image](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel#field-image) or
|
|
960
|
+
* [imageUrl](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel#field-imageUrl) fields:
|
|
961
|
+
* ...
|
|
962
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-resourceImagePath)
|
|
963
|
+
*/
|
|
964
|
+
resourceImagePath?: string;
|
|
965
|
+
/**
|
|
966
|
+
* Specifies the various responsive state objects keyed by their name. Each key (except `'*'`, see below) in
|
|
967
|
+
* 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
|
|
968
|
+
* associated [ResponsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#typedef-ResponsiveState) object.
|
|
969
|
+
* ...
|
|
970
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-responsive)
|
|
971
|
+
*/
|
|
972
|
+
responsive?: object;
|
|
973
|
+
/**
|
|
974
|
+
* 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
|
|
975
|
+
* not specify an explicit [responsiveTarget](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveTarget) of their own.
|
|
976
|
+
*/
|
|
977
|
+
responsiveRoot?: boolean;
|
|
978
|
+
/**
|
|
979
|
+
* 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
|
|
980
|
+
* and should not be assigned directly.
|
|
981
|
+
*/
|
|
982
|
+
responsiveState?: string;
|
|
983
|
+
/**
|
|
984
|
+
* The widget whose size and other properties drive this object's responsive behavior. If this config is not
|
|
985
|
+
* specified, the closest ancestor that specified [responsiveRoot=true](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveRoot) will be
|
|
986
|
+
* used. If there is no such ancestor, then the instance using this mixin is used.
|
|
987
|
+
* ...
|
|
988
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-responsiveTarget)
|
|
989
|
+
*/
|
|
990
|
+
responsiveTarget?: string | Widget;
|
|
991
|
+
/**
|
|
992
|
+
* Configure as `true` to have the component display a translucent ripple when its
|
|
993
|
+
* [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
|
|
994
|
+
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
995
|
+
* ...
|
|
996
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-ripple)
|
|
997
|
+
*/
|
|
998
|
+
ripple?: boolean | {
|
|
999
|
+
delegate?: string;
|
|
1000
|
+
color?: string;
|
|
1001
|
+
radius?: number;
|
|
1002
|
+
clip?: string;
|
|
1003
|
+
};
|
|
1004
|
+
/**
|
|
1005
|
+
* 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`
|
|
1006
|
+
*/
|
|
1007
|
+
rootElement?: ShadowRoot | HTMLElement;
|
|
1008
|
+
/**
|
|
1009
|
+
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
1010
|
+
* ...
|
|
1011
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-rtl)
|
|
1012
|
+
*/
|
|
1013
|
+
rtl?: boolean;
|
|
1014
|
+
/**
|
|
1015
|
+
* Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll
|
|
1016
|
+
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
1017
|
+
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
1018
|
+
* CSS overflow properties thus:
|
|
1019
|
+
* ...
|
|
1020
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-scrollable)
|
|
1021
|
+
*/
|
|
1022
|
+
scrollable?: boolean | ScrollerConfig | Scroller;
|
|
1023
|
+
/**
|
|
1024
|
+
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
1025
|
+
* Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
|
|
1026
|
+
*/
|
|
1027
|
+
scrollAction?: 'hide' | 'realign' | null;
|
|
1028
|
+
/**
|
|
1029
|
+
* A button configuration object to use for the automatically created mode selector button for this mode.
|
|
1030
|
+
*/
|
|
1031
|
+
selectorButton?: ButtonConfig;
|
|
1032
|
+
/**
|
|
1033
|
+
* A menu item configuration object to use for the automatically created mode selector menu item for this mode.
|
|
1034
|
+
*/
|
|
1035
|
+
selectorMenuItem?: MenuItemConfig;
|
|
1036
|
+
/**
|
|
1037
|
+
* The time range to move by when [next](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DateRangeOwner#function-next) or [previous](#Calendar/widget/mixin/DateRangeOwner#function-previous) is called.
|
|
1038
|
+
* ...
|
|
1039
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-shiftIncrement)
|
|
1040
|
+
*/
|
|
1041
|
+
shiftIncrement?: string | DurationConfig;
|
|
1042
|
+
/**
|
|
1043
|
+
* A [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function to use to create date output for
|
|
1044
|
+
* abbreviated view descriptions.
|
|
1045
|
+
* @param {Date} date The date to format.
|
|
1046
|
+
* @returns {string} The formatted date.
|
|
1047
|
+
*/
|
|
1048
|
+
shortDateFormat?: string | ((date: Date) => string);
|
|
1049
|
+
/**
|
|
1050
|
+
* A [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function to use to create date and time output for
|
|
1051
|
+
* abbreviated view descriptions.
|
|
1052
|
+
* @param {Date} date The date to format.
|
|
1053
|
+
* @returns {string} The formatted date.
|
|
1054
|
+
*/
|
|
1055
|
+
shortDateTimeFormat?: string | ((date: Date) => string);
|
|
1056
|
+
/**
|
|
1057
|
+
* The class name to add to events which have duration less than or equal to
|
|
1058
|
+
* [shortEventDuration](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventDuration).
|
|
1059
|
+
*/
|
|
1060
|
+
shortEventCls?: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* The duration at which below and equal to this value, an event's encapsulating element gets
|
|
1063
|
+
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have style rearrangements.
|
|
1064
|
+
* ...
|
|
1065
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-shortEventDuration)
|
|
1066
|
+
*/
|
|
1067
|
+
shortEventDuration?: string | number;
|
|
1068
|
+
/**
|
|
1069
|
+
* Shows an all day header above the main schedule for All Day events.
|
|
1070
|
+
* Set to `false` to not show all day, or multi-day events in an all day header, but
|
|
1071
|
+
* to have them showing wrapping through the day cells.
|
|
1072
|
+
*/
|
|
1073
|
+
showAllDayHeader?: boolean;
|
|
1074
|
+
/**
|
|
1075
|
+
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
1076
|
+
* ...
|
|
1077
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-showAnimation)
|
|
1078
|
+
*/
|
|
1079
|
+
showAnimation?: boolean | object;
|
|
1080
|
+
/**
|
|
1081
|
+
* <strong>Not applicable in a `DayView`</strong>
|
|
1082
|
+
* ...
|
|
1083
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-showBullet)
|
|
1084
|
+
* @param {boolean} bar This is `false` by default. Set this to `true` in modes where a solid event bar should show a bullet icon
|
|
1085
|
+
* @param {boolean} noBar This is `true` by default. Events with no background colour, use this to show the event's defined `eventColor`
|
|
1086
|
+
*/
|
|
1087
|
+
showBullet?: boolean | {
|
|
1088
|
+
bar?: boolean;
|
|
1089
|
+
noBar?: boolean;
|
|
1090
|
+
};
|
|
1091
|
+
/**
|
|
1092
|
+
* By default <b>today's</b> date shows a current time line to indicate the current time. This
|
|
1093
|
+
* line is confined to the day cell for <b>today</b>.
|
|
1094
|
+
* ...
|
|
1095
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-showCurrentTime)
|
|
1096
|
+
*/
|
|
1097
|
+
showCurrentTime?: boolean | {
|
|
1098
|
+
fullWidth?: boolean;
|
|
1099
|
+
showTime?: boolean;
|
|
1100
|
+
onTop?: boolean;
|
|
1101
|
+
};
|
|
1102
|
+
/**
|
|
1103
|
+
* Configure as `true` to show avatars of the assigned resources (calendars) at the
|
|
1104
|
+
* start of the event bar.
|
|
1105
|
+
* ...
|
|
1106
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-showResourceAvatars)
|
|
1107
|
+
*/
|
|
1108
|
+
showResourceAvatars?: boolean | string;
|
|
1109
|
+
/**
|
|
1110
|
+
* Configure as `false` to hide the start time normally shown at the top of the events.
|
|
1111
|
+
* ...
|
|
1112
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-showTime)
|
|
1113
|
+
*/
|
|
1114
|
+
showTime?: boolean | Record<('startTime' | 'endTime' | 'duration'), boolean | string | Function>;
|
|
1115
|
+
/**
|
|
1116
|
+
* 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)
|
|
1117
|
+
*/
|
|
1118
|
+
showTooltipWhenDisabled?: boolean;
|
|
1119
|
+
/**
|
|
1120
|
+
* By default, the most granular time tick level in the DayView's time axis is five minutes.
|
|
1121
|
+
* ...
|
|
1122
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-sixMinuteTicks)
|
|
1123
|
+
*/
|
|
1124
|
+
sixMinuteTicks?: boolean;
|
|
1125
|
+
/**
|
|
1126
|
+
* Affects drag drop and moving of events with regard to the [increment](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#property-increment)
|
|
1127
|
+
* ...
|
|
1128
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-snapRelativeToEventStartDate)
|
|
1129
|
+
*/
|
|
1130
|
+
snapRelativeToEventStartDate?: boolean;
|
|
1131
|
+
/**
|
|
1132
|
+
* Programmatic control over how many columns to span when used in a grid layout.
|
|
1133
|
+
*/
|
|
1134
|
+
span?: number;
|
|
1135
|
+
/**
|
|
1136
|
+
* Set to `true` to stack multi-day events within each cell in the order of their start time.
|
|
1137
|
+
* ...
|
|
1138
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-stackMultiDayEvents)
|
|
1139
|
+
*/
|
|
1140
|
+
stackMultiDayEvents?: boolean;
|
|
1141
|
+
/**
|
|
1142
|
+
* The start date (Time component is zeroed) of this view.
|
|
1143
|
+
*/
|
|
1144
|
+
startDate?: Date;
|
|
1145
|
+
/**
|
|
1146
|
+
* This value can be one of the following:
|
|
1147
|
+
* ...
|
|
1148
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-stateful)
|
|
1149
|
+
*/
|
|
1150
|
+
stateful?: boolean | object | string[];
|
|
1151
|
+
/**
|
|
1152
|
+
* The events that, when fired by this component, should trigger it to save its state by calling
|
|
1153
|
+
* [saveState](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#function-saveState).
|
|
1154
|
+
* ...
|
|
1155
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-statefulEvents)
|
|
1156
|
+
*/
|
|
1157
|
+
statefulEvents?: object | string[];
|
|
1158
|
+
/**
|
|
1159
|
+
* 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
|
|
1160
|
+
* 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)
|
|
1161
|
+
* (if explicitly specified) will be used as the `stateId`.
|
|
1162
|
+
* ...
|
|
1163
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-stateId)
|
|
1164
|
+
*/
|
|
1165
|
+
stateId?: string;
|
|
1166
|
+
/**
|
|
1167
|
+
* 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`
|
|
1168
|
+
* will be saved using the [default state provider](https://bryntum.com/products/calendar/docs/api/Core/state/StateProvider#property-instance-static).
|
|
1169
|
+
* ...
|
|
1170
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-stateProvider)
|
|
1171
|
+
*/
|
|
1172
|
+
stateProvider?: StateProvider;
|
|
1173
|
+
/**
|
|
1174
|
+
* 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),
|
|
1175
|
+
* without falling back to `ref`.
|
|
1176
|
+
*/
|
|
1177
|
+
strictRecordMapping?: boolean;
|
|
1178
|
+
/**
|
|
1179
|
+
* An object containing widgets keyed by name. By default (when no `type` is given), strips are
|
|
1180
|
+
* [toolbars](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
|
|
1181
|
+
* the toolbar's [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-items).
|
|
1182
|
+
* ...
|
|
1183
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-strips)
|
|
1184
|
+
*/
|
|
1185
|
+
strips?: Record<string, CalendarContainerItemConfig>;
|
|
1186
|
+
/**
|
|
1187
|
+
* The converse of [syncViewDate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#property-syncViewDate)
|
|
1188
|
+
* ...
|
|
1189
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-syncCalendarDate)
|
|
1190
|
+
*/
|
|
1191
|
+
syncCalendarDate?: boolean;
|
|
1192
|
+
/**
|
|
1193
|
+
* The converse of [syncCalendarDate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#property-syncCalendarDate)
|
|
1194
|
+
* ...
|
|
1195
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-syncViewDate)
|
|
1196
|
+
*/
|
|
1197
|
+
syncViewDate?: boolean;
|
|
1198
|
+
/**
|
|
1199
|
+
* 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
|
|
1200
|
+
* [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
|
|
1201
|
+
* this widget:
|
|
1202
|
+
* ...
|
|
1203
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-tab)
|
|
1204
|
+
*/
|
|
1205
|
+
tab?: boolean | TabConfig;
|
|
1206
|
+
/**
|
|
1207
|
+
* When this container is used as a tab in a TabPanel, these items are added to the
|
|
1208
|
+
* [TabBar](https://bryntum.com/products/calendar/docs/api/Core/widget/TabBar) when this container is the active tab.
|
|
1209
|
+
* ...
|
|
1210
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-tabBarItems)
|
|
1211
|
+
*/
|
|
1212
|
+
tabBarItems?: ToolbarItems[] | Widget[];
|
|
1213
|
+
/**
|
|
1214
|
+
* The tag name of this Widget's root element
|
|
1215
|
+
*/
|
|
1216
|
+
tag?: string;
|
|
1217
|
+
/**
|
|
1218
|
+
* A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar),
|
|
1219
|
+
* or array of config objects representing the child items of a Toolbar.
|
|
1220
|
+
* This creates a toolbar docked to the top of the panel immediately below the header.
|
|
1221
|
+
* ...
|
|
1222
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-tbar)
|
|
1223
|
+
*/
|
|
1224
|
+
tbar?: (CalendarContainerItemConfig | string)[] | ToolbarConfig | PagingToolbarConfig | null;
|
|
1225
|
+
/**
|
|
1226
|
+
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
1227
|
+
* ...
|
|
1228
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-textAlign)
|
|
1229
|
+
*/
|
|
1230
|
+
textAlign?: 'left' | 'center' | 'right' | 'start' | 'end';
|
|
1231
|
+
/**
|
|
1232
|
+
* A function, or name of a function which yields a [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) object to use as a tick background element
|
|
1233
|
+
* for the tick context passed.
|
|
1234
|
+
* ...
|
|
1235
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-tickRenderer)
|
|
1236
|
+
* @param {object} tickContext An object containing the context for the tick being rendered.
|
|
1237
|
+
* @param {Date} tickContext.startTime The start time of the tick.
|
|
1238
|
+
* @param {Date} tickContext.endTime The end time of the tick.
|
|
1239
|
+
* @param {Scheduler.model.EventModel[]} tickContext.events The events that visually intersect with the tick.
|
|
1240
|
+
* @param {number} tickContext.tickIndex The zero-based overall tick index.
|
|
1241
|
+
* @param {number} tickContext.subtickIndex The zero-based subtick index *within* the hour.
|
|
1242
|
+
* @param {number} tickContext.subtickCount The total number of visible subticks in an hour.
|
|
1243
|
+
* @param {Scheduler.model.ResourceModel} tickContext.resourceRecord *If* this view is a resource view, the resource record.
|
|
1244
|
+
* @returns {DomConfig} The DOM config object to use for the tick.
|
|
1245
|
+
*/
|
|
1246
|
+
tickRenderer?: ((tickContext: {
|
|
1247
|
+
startTime: Date;
|
|
1248
|
+
endTime: Date;
|
|
1249
|
+
events: EventModel[];
|
|
1250
|
+
tickIndex: number;
|
|
1251
|
+
subtickIndex: number;
|
|
1252
|
+
subtickCount: number;
|
|
1253
|
+
resourceRecord: ResourceModel;
|
|
1254
|
+
}) => DomConfig) | string;
|
|
1255
|
+
/**
|
|
1256
|
+
* A [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function used to format the time displayed in the
|
|
1257
|
+
* time axis at the left side of the view.
|
|
1258
|
+
* @param {Date} date The date to format.
|
|
1259
|
+
* @returns {string} The formatted date.
|
|
1260
|
+
*/
|
|
1261
|
+
timeAxisTimeFormat?: string | ((date: Date) => string);
|
|
1262
|
+
/**
|
|
1263
|
+
* A [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function used to format the time displayed in events
|
|
1264
|
+
* @param {Date} date The date to format.
|
|
1265
|
+
* @returns {string} The formatted date.
|
|
1266
|
+
*/
|
|
1267
|
+
timeFormat?: string | ((date: Date) => string);
|
|
1268
|
+
/**
|
|
1269
|
+
* The type of rounding to apply when calculating a date from a pointer position in a day
|
|
1270
|
+
* column.
|
|
1271
|
+
* ...
|
|
1272
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-timeSnapType)
|
|
1273
|
+
*/
|
|
1274
|
+
timeSnapType?: 'round' | 'ceil' | 'floor' | null;
|
|
1275
|
+
/**
|
|
1276
|
+
* A title to display in the header or owning TabPanel. Causes creation and docking of a header
|
|
1277
|
+
* to the top if no header is configured.
|
|
1278
|
+
* ...
|
|
1279
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-title)
|
|
1280
|
+
*/
|
|
1281
|
+
title?: string;
|
|
1282
|
+
/**
|
|
1283
|
+
* 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
|
|
1284
|
+
* property name is the reference by which an instantiated tool may be retrieved from the live
|
|
1285
|
+
* `[tools](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
|
|
1286
|
+
* ...
|
|
1287
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-tools)
|
|
1288
|
+
*/
|
|
1289
|
+
tools?: Record<string, ToolConfig> | null;
|
|
1290
|
+
/**
|
|
1291
|
+
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
1292
|
+
* ...
|
|
1293
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-tooltip)
|
|
1294
|
+
*/
|
|
1295
|
+
tooltip?: string | TooltipConfig | null;
|
|
1296
|
+
/**
|
|
1297
|
+
* By default, tabbing within a Panel is not contained, ie you can TAB out of the Panel
|
|
1298
|
+
* forwards or backwards.
|
|
1299
|
+
* Configure this as `true` to disallow tabbing out of the Panel, and make tabbing circular within this Panel.
|
|
1300
|
+
*/
|
|
1301
|
+
trapFocus?: boolean;
|
|
1302
|
+
type?: 'dayview' | 'day';
|
|
1303
|
+
/**
|
|
1304
|
+
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
1305
|
+
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
1306
|
+
* values are used as the class names.
|
|
1307
|
+
* ...
|
|
1308
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-ui)
|
|
1309
|
+
*/
|
|
1310
|
+
ui?: 'plain' | 'toolbar' | string | object;
|
|
1311
|
+
/**
|
|
1312
|
+
* Either the start hour of the day, or a *24 hour* `HH:MM` string denoting the initially visible start
|
|
1313
|
+
* time of the day. Defaults to 7am.
|
|
1314
|
+
* ...
|
|
1315
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-visibleStartTime)
|
|
1316
|
+
*/
|
|
1317
|
+
visibleStartTime?: string | number | {
|
|
1318
|
+
time?: string | number;
|
|
1319
|
+
block?: 'start' | 'end' | 'center' | 'nearest';
|
|
1320
|
+
edgeOffset?: number;
|
|
1321
|
+
animate?: object | boolean | number;
|
|
1322
|
+
duration?: number;
|
|
1323
|
+
easing?: string;
|
|
1324
|
+
} | null;
|
|
1325
|
+
/**
|
|
1326
|
+
* The week start day, 0 meaning Sunday, 6 meaning Saturday.
|
|
1327
|
+
* Defaults to [weekStartDay](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper#property-weekStartDay-static).
|
|
1328
|
+
*/
|
|
1329
|
+
weekStartDay?: number;
|
|
1330
|
+
/**
|
|
1331
|
+
* A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container).
|
|
1332
|
+
* Higher weights go further down.
|
|
1333
|
+
*/
|
|
1334
|
+
weight?: number;
|
|
1335
|
+
/**
|
|
1336
|
+
* Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
|
|
1337
|
+
* will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
|
|
1338
|
+
* this config is convenient.
|
|
1339
|
+
*/
|
|
1340
|
+
width?: string | number;
|
|
1341
|
+
/**
|
|
1342
|
+
* The x position for the widget.
|
|
1343
|
+
* ...
|
|
1344
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-x)
|
|
1345
|
+
*/
|
|
1346
|
+
x?: number;
|
|
1347
|
+
/**
|
|
1348
|
+
* The y position for the widget.
|
|
1349
|
+
* ...
|
|
1350
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-y)
|
|
1351
|
+
*/
|
|
1352
|
+
y?: number;
|
|
1353
|
+
/**
|
|
1354
|
+
* You can zoom in and out on the time axis using CTRL-key + mouse wheel
|
|
1355
|
+
* on mouse-based devices or pinch-zoom on touch devices.
|
|
1356
|
+
* See also the [hourHeightBreakpoints](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-hourHeightBreakpoints) config option.
|
|
1357
|
+
* ...
|
|
1358
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-zoomOnMouseWheel)
|
|
1359
|
+
*/
|
|
1360
|
+
zoomOnMouseWheel?: boolean | number;
|
|
1361
|
+
};
|
|
1362
|
+
export declare class BryntumDayViewComponent implements OnInit, OnDestroy {
|
|
1363
|
+
static instanceClass: typeof DayView;
|
|
1364
|
+
static instanceName: string;
|
|
1365
|
+
private static bryntumEvents;
|
|
1366
|
+
private static bryntumFeatureNames;
|
|
1367
|
+
private static bryntumConfigs;
|
|
1368
|
+
private static bryntumConfigsOnly;
|
|
1369
|
+
private static bryntumProps;
|
|
1370
|
+
private elementRef;
|
|
1371
|
+
instance: DayView;
|
|
1372
|
+
private bryntumConfig;
|
|
1373
|
+
constructor(element: ElementRef);
|
|
1374
|
+
actionButtons: ActionButtonsConfig[] | Record<string, ActionButtonsConfig>;
|
|
1375
|
+
activationKey: string;
|
|
1376
|
+
adopt: HTMLElement | string;
|
|
1377
|
+
align: AlignSpec | string;
|
|
1378
|
+
allDayEvents: CalendarRow | CalendarRowConfig | null;
|
|
1379
|
+
anchor: boolean;
|
|
1380
|
+
ariaDescription: string;
|
|
1381
|
+
ariaLabel: string;
|
|
1382
|
+
bbar: (CalendarContainerItemConfig | string)[] | ToolbarConfig | PagingToolbarConfig | null;
|
|
1383
|
+
bodyCls: string | object;
|
|
1384
|
+
bubbleEvents: object;
|
|
1385
|
+
centered: boolean;
|
|
1386
|
+
collapsible: boolean | PanelCollapserConfig | PanelCollapserOverlayConfig;
|
|
1387
|
+
color: string;
|
|
1388
|
+
columnHeaderRenderer: ((cellData: DayCellWithEvents) => string | object) | string;
|
|
1389
|
+
config: object;
|
|
1390
|
+
constrainTo: HTMLElement | Widget | Rectangle;
|
|
1391
|
+
contentElementCls: string | object;
|
|
1392
|
+
currentTimeIndicatorRenderer: (() => DomConfig) | string;
|
|
1393
|
+
dataField: string;
|
|
1394
|
+
dayCellRenderer: ((domConfig: {
|
|
1395
|
+
className: object;
|
|
1396
|
+
style: object;
|
|
1397
|
+
dataset: object;
|
|
1398
|
+
}, children: DomConfig[], cellData: DayCell) => string) | string;
|
|
1399
|
+
dayHeaderRenderer: ((headerDomConfig: {
|
|
1400
|
+
className: object;
|
|
1401
|
+
style: object;
|
|
1402
|
+
dataset: object;
|
|
1403
|
+
children: DomConfig[];
|
|
1404
|
+
}, cellData: DayCell) => string) | string;
|
|
1405
|
+
dayNameFormat: string | ((date: Date) => string);
|
|
1406
|
+
dayStartShift: string | number;
|
|
1407
|
+
defaultBindProperty: string;
|
|
1408
|
+
defaultFocus: ((widget: Widget) => boolean) | string;
|
|
1409
|
+
defaults: CalendarContainerItemConfig;
|
|
1410
|
+
descriptionRenderer: (view: Widget) => string;
|
|
1411
|
+
detectCSSCompatibilityIssues: boolean;
|
|
1412
|
+
dock: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
|
|
1413
|
+
draggable: boolean | {
|
|
1414
|
+
handleSelector?: string;
|
|
1415
|
+
};
|
|
1416
|
+
drawer: boolean | {
|
|
1417
|
+
side?: 'start' | 'left' | 'end' | 'right' | 'top' | 'bottom';
|
|
1418
|
+
size?: string | number;
|
|
1419
|
+
inline?: boolean;
|
|
1420
|
+
autoClose: {
|
|
1421
|
+
mousedown?: boolean | string;
|
|
1422
|
+
focusout?: boolean | string;
|
|
1423
|
+
mouseout?: string;
|
|
1424
|
+
};
|
|
1425
|
+
autoCloseDelay?: number;
|
|
1426
|
+
};
|
|
1427
|
+
elementAttributes: Record<string, string | null>;
|
|
1428
|
+
endDate: Date;
|
|
1429
|
+
eventFilter: ((event: EventModel) => boolean) | string;
|
|
1430
|
+
eventHeaderRenderer: ((detail: {
|
|
1431
|
+
view: CalendarView;
|
|
1432
|
+
eventRecord: EventModel;
|
|
1433
|
+
resourceRecord: ResourceModel;
|
|
1434
|
+
renderData: {
|
|
1435
|
+
style: object;
|
|
1436
|
+
cls: object;
|
|
1437
|
+
iconStyle: object;
|
|
1438
|
+
iconCls: object;
|
|
1439
|
+
eventColor: string;
|
|
1440
|
+
dataset: object;
|
|
1441
|
+
solidBar: boolean;
|
|
1442
|
+
bodyColor: string;
|
|
1443
|
+
};
|
|
1444
|
+
showBullet: boolean;
|
|
1445
|
+
}) => DomConfig | DomConfig[] | string | void) | string;
|
|
1446
|
+
eventLayout: FluidDayLayoutConfig;
|
|
1447
|
+
eventRenderer: ((detail: {
|
|
1448
|
+
view: CalendarView;
|
|
1449
|
+
eventRecord: EventModel;
|
|
1450
|
+
resourceRecord: ResourceModel;
|
|
1451
|
+
renderData: {
|
|
1452
|
+
style: object;
|
|
1453
|
+
cls: object;
|
|
1454
|
+
iconStyle: object;
|
|
1455
|
+
iconCls: object;
|
|
1456
|
+
eventColor: string;
|
|
1457
|
+
eventBackground: string;
|
|
1458
|
+
textColor: string;
|
|
1459
|
+
eventInnerStyle: object;
|
|
1460
|
+
dataset: object;
|
|
1461
|
+
solidBar: boolean;
|
|
1462
|
+
bodyColor: string;
|
|
1463
|
+
showBullet: boolean;
|
|
1464
|
+
};
|
|
1465
|
+
}) => DomConfig | DomConfig[] | string | void) | string;
|
|
1466
|
+
eventSorter: (lhs: EventModel | EventBar, rhs: EventModel | EventBar) => number;
|
|
1467
|
+
eventSpacing: number;
|
|
1468
|
+
floating: boolean;
|
|
1469
|
+
footer: {
|
|
1470
|
+
dock?: 'top' | 'right' | 'bottom' | 'left' | 'start' | 'end';
|
|
1471
|
+
html?: string;
|
|
1472
|
+
cls?: string;
|
|
1473
|
+
} | string;
|
|
1474
|
+
getPrimaryResource: ((eventRecord: EventModel) => ResourceModel) | string;
|
|
1475
|
+
header: string | boolean | PanelHeader;
|
|
1476
|
+
hideAnimation: boolean | object;
|
|
1477
|
+
hideWhenEmpty: boolean;
|
|
1478
|
+
icon: string | DomConfig;
|
|
1479
|
+
ignoreParentReadOnly: boolean;
|
|
1480
|
+
itemCls: string;
|
|
1481
|
+
lazyItems: Record<string, CalendarContainerItemConfig> | CalendarContainerItemConfig[] | Widget[];
|
|
1482
|
+
listeners: DayViewListeners;
|
|
1483
|
+
localeClass: typeof Base;
|
|
1484
|
+
localizable: boolean;
|
|
1485
|
+
localizableProperties: string[];
|
|
1486
|
+
maskDefaults: MaskConfig;
|
|
1487
|
+
masked: boolean | string | MaskConfig;
|
|
1488
|
+
maxAllDayHeight: number | string;
|
|
1489
|
+
monitorResize: boolean | {
|
|
1490
|
+
immediate?: boolean;
|
|
1491
|
+
};
|
|
1492
|
+
namedItems: Record<string, CalendarContainerItemConfig>;
|
|
1493
|
+
overflowPopup: OverflowPopupConfig;
|
|
1494
|
+
owner: Widget | any;
|
|
1495
|
+
positioned: boolean;
|
|
1496
|
+
preventTooltipOnTouch: boolean;
|
|
1497
|
+
relayStoreEvents: boolean;
|
|
1498
|
+
resourceImagePath: string;
|
|
1499
|
+
responsive: object;
|
|
1500
|
+
responsiveRoot: boolean;
|
|
1501
|
+
responsiveState: string;
|
|
1502
|
+
responsiveTarget: string | Widget;
|
|
1503
|
+
ripple: boolean | {
|
|
1504
|
+
delegate?: string;
|
|
1505
|
+
color?: string;
|
|
1506
|
+
radius?: number;
|
|
1507
|
+
clip?: string;
|
|
1508
|
+
};
|
|
1509
|
+
rootElement: ShadowRoot | HTMLElement;
|
|
1510
|
+
scrollAction: 'hide' | 'realign' | null;
|
|
1511
|
+
selectorButton: ButtonConfig;
|
|
1512
|
+
selectorMenuItem: MenuItemConfig;
|
|
1513
|
+
shortEventCls: string;
|
|
1514
|
+
shortEventDuration: string | number;
|
|
1515
|
+
showAllDayHeader: boolean;
|
|
1516
|
+
showAnimation: boolean | object;
|
|
1517
|
+
showBullet: boolean | {
|
|
1518
|
+
bar?: boolean;
|
|
1519
|
+
noBar?: boolean;
|
|
1520
|
+
};
|
|
1521
|
+
showResourceAvatars: boolean | string;
|
|
1522
|
+
showTooltipWhenDisabled: boolean;
|
|
1523
|
+
startDate: Date;
|
|
1524
|
+
stateful: boolean | object | string[];
|
|
1525
|
+
statefulEvents: object | string[];
|
|
1526
|
+
stateId: string;
|
|
1527
|
+
stateProvider: StateProvider;
|
|
1528
|
+
strips: Record<string, CalendarContainerItemConfig>;
|
|
1529
|
+
tab: boolean | TabConfig;
|
|
1530
|
+
tabBarItems: ToolbarItems[] | Widget[];
|
|
1531
|
+
tag: string;
|
|
1532
|
+
tbar: (CalendarContainerItemConfig | string)[] | ToolbarConfig | PagingToolbarConfig | null;
|
|
1533
|
+
textAlign: 'left' | 'center' | 'right' | 'start' | 'end';
|
|
1534
|
+
tickRenderer: ((tickContext: {
|
|
1535
|
+
startTime: Date;
|
|
1536
|
+
endTime: Date;
|
|
1537
|
+
events: EventModel[];
|
|
1538
|
+
tickIndex: number;
|
|
1539
|
+
subtickIndex: number;
|
|
1540
|
+
subtickCount: number;
|
|
1541
|
+
resourceRecord: ResourceModel;
|
|
1542
|
+
}) => DomConfig) | string;
|
|
1543
|
+
timeAxisTimeFormat: string | ((date: Date) => string);
|
|
1544
|
+
timeFormat: string | ((date: Date) => string);
|
|
1545
|
+
trapFocus: boolean;
|
|
1546
|
+
type: 'dayview' | 'day';
|
|
1547
|
+
ui: 'plain' | 'toolbar' | string | object;
|
|
1548
|
+
visibleStartTime: string | number | {
|
|
1549
|
+
time?: string | number;
|
|
1550
|
+
block?: 'start' | 'end' | 'center' | 'nearest';
|
|
1551
|
+
edgeOffset?: number;
|
|
1552
|
+
animate?: object | boolean | number;
|
|
1553
|
+
duration?: number;
|
|
1554
|
+
easing?: string;
|
|
1555
|
+
} | null;
|
|
1556
|
+
weekStartDay: number;
|
|
1557
|
+
weight: number;
|
|
1558
|
+
zoomOnMouseWheel: boolean | number;
|
|
1559
|
+
alignSelf: string;
|
|
1560
|
+
allowDragCreate: boolean;
|
|
1561
|
+
allowDragMove: boolean;
|
|
1562
|
+
allowDragResize: boolean;
|
|
1563
|
+
allowZoomUnderflow: boolean;
|
|
1564
|
+
animateTimeShift: boolean;
|
|
1565
|
+
appendTo: HTMLElement | string;
|
|
1566
|
+
autoCreate: {
|
|
1567
|
+
gesture?: string;
|
|
1568
|
+
newName?: Function | string;
|
|
1569
|
+
step?: string;
|
|
1570
|
+
snapType?: 'round' | 'ceil' | 'floor';
|
|
1571
|
+
duration?: string;
|
|
1572
|
+
startHour?: number;
|
|
1573
|
+
} | string | boolean;
|
|
1574
|
+
callOnFunctions: boolean;
|
|
1575
|
+
catchEventHandlerExceptions: boolean;
|
|
1576
|
+
cls: string | object;
|
|
1577
|
+
collapsed: boolean;
|
|
1578
|
+
column: number;
|
|
1579
|
+
compactHeader: boolean;
|
|
1580
|
+
coreHours: object | ((date: Date) => object[]) | string;
|
|
1581
|
+
dashedSubticks: boolean;
|
|
1582
|
+
dataset: object | Record<string, string>;
|
|
1583
|
+
date: Date;
|
|
1584
|
+
dateFilter: ((context: DayCell) => boolean) | string;
|
|
1585
|
+
dateFormat: string | ((date: Date) => string);
|
|
1586
|
+
dateSeparator: string;
|
|
1587
|
+
dayEndTime: string | number;
|
|
1588
|
+
dayStartTime: string | number;
|
|
1589
|
+
defaultScrollOptions: BryntumScrollOptions;
|
|
1590
|
+
descriptionFormat: string | string[] | boolean[] | ((date: Date) => string) | Function[];
|
|
1591
|
+
disabled: boolean | 'inert';
|
|
1592
|
+
dragUnit: string;
|
|
1593
|
+
extendAllDayEndDay: boolean;
|
|
1594
|
+
extraData: any;
|
|
1595
|
+
filterEventResources: boolean;
|
|
1596
|
+
fitHours: boolean | {
|
|
1597
|
+
minHeight?: number;
|
|
1598
|
+
};
|
|
1599
|
+
fixedDuration: boolean;
|
|
1600
|
+
flex: number | string;
|
|
1601
|
+
height: number | string;
|
|
1602
|
+
hidden: boolean;
|
|
1603
|
+
hideEmptyDays: boolean;
|
|
1604
|
+
hideNonWorkingDays: boolean;
|
|
1605
|
+
hourHeight: number;
|
|
1606
|
+
hourHeightBreakpoints: number[];
|
|
1607
|
+
id: string;
|
|
1608
|
+
increment: string | number;
|
|
1609
|
+
inputFieldAlign: 'start' | 'end';
|
|
1610
|
+
insertBefore: HTMLElement | string;
|
|
1611
|
+
insertFirst: HTMLElement | string;
|
|
1612
|
+
interDayDrag: boolean;
|
|
1613
|
+
interDayResize: boolean;
|
|
1614
|
+
items: (CalendarContainerItemConfig | MenuItemConfig | Widget)[] | Record<string, CalendarContainerItemConfig | MenuItemConfig> | Widget[] | Record<string, CalendarContainerItemConfig | MenuItemEntry> | (CalendarContainerItemConfig | MenuItemEntry | Widget)[];
|
|
1615
|
+
keyMap: Record<string, KeyMapConfig>;
|
|
1616
|
+
labelPosition: 'before' | 'above' | 'align-before' | 'auto' | null;
|
|
1617
|
+
layout: Layout | string | CalendarContainerLayoutConfig;
|
|
1618
|
+
layoutStyle: object;
|
|
1619
|
+
margin: number | string;
|
|
1620
|
+
maxDate: Date | string;
|
|
1621
|
+
maxHeight: string | number;
|
|
1622
|
+
maximizeOnMobile: number | string;
|
|
1623
|
+
maxWidth: string | number;
|
|
1624
|
+
minDate: Date | string;
|
|
1625
|
+
minDayWidth: number | string;
|
|
1626
|
+
minEventHeight: number | string;
|
|
1627
|
+
minHeight: string | number;
|
|
1628
|
+
minHourHeight: number;
|
|
1629
|
+
minWidth: string | number;
|
|
1630
|
+
noMatchingDates: string | DomConfig;
|
|
1631
|
+
nonWorkingDays: Record<number, boolean>;
|
|
1632
|
+
pastEventCls: string;
|
|
1633
|
+
range: string | DurationConfig;
|
|
1634
|
+
readOnly: boolean;
|
|
1635
|
+
rendition: string | Record<string, string> | null;
|
|
1636
|
+
rtl: boolean;
|
|
1637
|
+
scrollable: Scroller | boolean | ScrollerConfig;
|
|
1638
|
+
shiftIncrement: string | DurationConfig;
|
|
1639
|
+
shortDateFormat: string | ((date: Date) => string);
|
|
1640
|
+
shortDateTimeFormat: string | ((date: Date) => string);
|
|
1641
|
+
showCurrentTime: boolean | {
|
|
1642
|
+
fullWidth?: boolean;
|
|
1643
|
+
showTime?: boolean;
|
|
1644
|
+
onTop?: boolean;
|
|
1645
|
+
};
|
|
1646
|
+
showTime: boolean | Record<('startTime' | 'endTime' | 'duration'), boolean | string | Function>;
|
|
1647
|
+
sixMinuteTicks: boolean;
|
|
1648
|
+
snapRelativeToEventStartDate: boolean;
|
|
1649
|
+
span: number;
|
|
1650
|
+
stackMultiDayEvents: boolean;
|
|
1651
|
+
strictRecordMapping: boolean;
|
|
1652
|
+
syncCalendarDate: boolean;
|
|
1653
|
+
syncViewDate: boolean;
|
|
1654
|
+
timeSnapType: 'round' | 'ceil' | 'floor' | null;
|
|
1655
|
+
title: string;
|
|
1656
|
+
tools: Record<string, Tool | ToolConfig> | null | Record<string, Tool> | Record<string, ToolConfig>;
|
|
1657
|
+
tooltip: string | TooltipConfig | null;
|
|
1658
|
+
width: number | string;
|
|
1659
|
+
x: number;
|
|
1660
|
+
y: number;
|
|
1661
|
+
anchorSize: number[];
|
|
1662
|
+
dayCellCls: string;
|
|
1663
|
+
firstVisibleCell: HTMLElement;
|
|
1664
|
+
firstVisibleDate: Date;
|
|
1665
|
+
focusVisible: boolean;
|
|
1666
|
+
hasChanges: boolean;
|
|
1667
|
+
horizontalScroller: Scroller;
|
|
1668
|
+
isSettingValues: boolean;
|
|
1669
|
+
isValid: boolean;
|
|
1670
|
+
lastVisibleCell: HTMLElement;
|
|
1671
|
+
lastVisibleDate: Date;
|
|
1672
|
+
parent: Widget;
|
|
1673
|
+
record: Model;
|
|
1674
|
+
state: any;
|
|
1675
|
+
values: Record<string, object>;
|
|
1676
|
+
/**
|
|
1677
|
+
* This event fires whenever the [autoCreate gesture](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate) is detected
|
|
1678
|
+
* and also when a [drag-create](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag) gesture is detected.
|
|
1679
|
+
* ...
|
|
1680
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#event-beforeAutoCreate)
|
|
1681
|
+
* @param {object} event Event object
|
|
1682
|
+
* @param {Event} event.domEvent The DOM event which initiated the creation.
|
|
1683
|
+
* @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)
|
|
1684
|
+
* @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)
|
|
1685
|
+
* @param {Date} event.endDate The ending time of the event to be created.
|
|
1686
|
+
* @param {Scheduler.model.ResourceModel} event.resourceRecord The resource if the UI includes a resource.
|
|
1687
|
+
* @param {CalendarView} event.view This view.
|
|
1688
|
+
*/
|
|
1689
|
+
onBeforeAutoCreate: any;
|
|
1690
|
+
/**
|
|
1691
|
+
* Triggered before a view's orientating date changes.
|
|
1692
|
+
* ...
|
|
1693
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#event-beforeChangeDate)
|
|
1694
|
+
* @param {object} event Event object
|
|
1695
|
+
* @param {Date} event.oldDate The current orientating date of this view.
|
|
1696
|
+
* @param {Date} event.date The new date to which this view is to be orientated.
|
|
1697
|
+
*/
|
|
1698
|
+
onBeforeChangeDate: any;
|
|
1699
|
+
/**
|
|
1700
|
+
* Fires before an object is destroyed.
|
|
1701
|
+
* @param {object} event Event object
|
|
1702
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
1703
|
+
*/
|
|
1704
|
+
onBeforeDestroy: any;
|
|
1705
|
+
/**
|
|
1706
|
+
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
1707
|
+
* @param {object} event Event object
|
|
1708
|
+
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
1709
|
+
*/
|
|
1710
|
+
onBeforeHide: any;
|
|
1711
|
+
/**
|
|
1712
|
+
* Triggered before a new [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState) is applied.
|
|
1713
|
+
* @param {object} event Event object
|
|
1714
|
+
* @param {Core.widget.Widget} event.source The widget whose `responsiveState` is to be changed
|
|
1715
|
+
* @param {string} event.state The new value for the widget's `responsiveState`
|
|
1716
|
+
* @param {string} event.oldState The previous value for the widget's `responsiveState`
|
|
1717
|
+
*/
|
|
1718
|
+
onBeforeResponsiveStateChange: any;
|
|
1719
|
+
/**
|
|
1720
|
+
* Fired before this container will load record values into its child fields. This is useful if you
|
|
1721
|
+
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
1722
|
+
* @param {object} event Event object
|
|
1723
|
+
* @param {Core.widget.Container} event.source The container
|
|
1724
|
+
* @param {Core.data.Model} event.record The record
|
|
1725
|
+
*/
|
|
1726
|
+
onBeforeSetRecord: any;
|
|
1727
|
+
/**
|
|
1728
|
+
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
1729
|
+
* @param {object} event Event object
|
|
1730
|
+
* @param {Core.widget.Widget,any} event.source The widget being shown
|
|
1731
|
+
*/
|
|
1732
|
+
onBeforeShow: any;
|
|
1733
|
+
/**
|
|
1734
|
+
* Fired before state is applied to the source. Allows editing the state object or preventing the operation.
|
|
1735
|
+
* @param {object} event Event object
|
|
1736
|
+
* @param {any} event.state State object config
|
|
1737
|
+
*/
|
|
1738
|
+
onBeforeStateApply: any;
|
|
1739
|
+
/**
|
|
1740
|
+
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
1741
|
+
* @param {object} event Event object
|
|
1742
|
+
* @param {any} event.state State object config
|
|
1743
|
+
*/
|
|
1744
|
+
onBeforeStateSave: any;
|
|
1745
|
+
/**
|
|
1746
|
+
* Fires when any other event is fired from the object.
|
|
1747
|
+
* ...
|
|
1748
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#event-catchAll)
|
|
1749
|
+
* @param {object} event Event object
|
|
1750
|
+
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
1751
|
+
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
1752
|
+
*/
|
|
1753
|
+
onCatchAll: any;
|
|
1754
|
+
/**
|
|
1755
|
+
* Fired when a new set of events has been gathered for this view's date range.
|
|
1756
|
+
* @param {object} event Event object
|
|
1757
|
+
* @param {Map<any, any>} event.cellMap The map of date keys to [day cell](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellCollecter#typedef-DayCell) data blocks.
|
|
1758
|
+
*/
|
|
1759
|
+
onCellMapPopulated: any;
|
|
1760
|
+
/**
|
|
1761
|
+
* Fires when a Panel is collapsed using the [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible) setting.
|
|
1762
|
+
* @param {object} event Event object
|
|
1763
|
+
* @param {Core.widget.Panel} event.source This Panel.
|
|
1764
|
+
*/
|
|
1765
|
+
onCollapse: any;
|
|
1766
|
+
/**
|
|
1767
|
+
* Fired after one day cell's events are collected in sorted order according to the
|
|
1768
|
+
* [eventSorter](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-eventSorter)
|
|
1769
|
+
* ...
|
|
1770
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#event-dayCellPopulated)
|
|
1771
|
+
* @param {object} event Event object
|
|
1772
|
+
* @param {Scheduler.model.EventModel[]} event.events The events to be shown for the passed date
|
|
1773
|
+
* @param {Date} event.The date the events are to be shown in.
|
|
1774
|
+
*/
|
|
1775
|
+
onDayCellPopulated: any;
|
|
1776
|
+
/**
|
|
1777
|
+
* Fires when an object is destroyed.
|
|
1778
|
+
* @param {object} event Event object
|
|
1779
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
1780
|
+
*/
|
|
1781
|
+
onDestroy: any;
|
|
1782
|
+
/**
|
|
1783
|
+
* 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
|
|
1784
|
+
* @param {object} event Event object
|
|
1785
|
+
* @param {Core.widget.Container} event.source The container.
|
|
1786
|
+
* @param {boolean} event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
|
|
1787
|
+
*/
|
|
1788
|
+
onDirtyStateChange: any;
|
|
1789
|
+
/**
|
|
1790
|
+
* Triggered when a widget's [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element) is available.
|
|
1791
|
+
* @param {object} event Event object
|
|
1792
|
+
* @param {HTMLElement} event.element The Widget's element.
|
|
1793
|
+
*/
|
|
1794
|
+
onElementCreated: any;
|
|
1795
|
+
/**
|
|
1796
|
+
* Fired when an [autoCreate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate) gesture has created a new event
|
|
1797
|
+
* and added it to the event store.
|
|
1798
|
+
* ...
|
|
1799
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#event-eventAutoCreated)
|
|
1800
|
+
* @param {object} event Event object
|
|
1801
|
+
* @param {CalendarView} event.source This Calendar view instance.
|
|
1802
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The new event record.
|
|
1803
|
+
*/
|
|
1804
|
+
onEventAutoCreated: any;
|
|
1805
|
+
/**
|
|
1806
|
+
* Fires when a day spanning event is found, and the date to which its encapsulating event bar
|
|
1807
|
+
* extends has been calculated.
|
|
1808
|
+
* ...
|
|
1809
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#event-eventPropagate)
|
|
1810
|
+
* @param {object} event Event object
|
|
1811
|
+
* @param {Date} event.eventEndDate The end date for which to calculate the propagate end date.
|
|
1812
|
+
* @param {Date} event.propagateEndDate The system-calculated end point of the event bar.
|
|
1813
|
+
* @param {boolean} event.isAllDay `true` if the event is an all day event, or spans multiple days.
|
|
1814
|
+
* @param {boolean} event.isOverflow `true` if this is being called as part of further propagation.
|
|
1815
|
+
* @param {boolean} event.overflows `true` if the event extends into future cells.
|
|
1816
|
+
* @param {Scheduler.model.EventModel} event.eventRecord The event record being propagated.
|
|
1817
|
+
* @param {Date} event.date The date from which the event is being propagated.
|
|
1818
|
+
*/
|
|
1819
|
+
onEventPropagate: any;
|
|
1820
|
+
/**
|
|
1821
|
+
* Fires when a Panel is expanded using the [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible) setting.
|
|
1822
|
+
* @param {object} event Event object
|
|
1823
|
+
* @param {Core.widget.Panel} event.source This Panel.
|
|
1824
|
+
*/
|
|
1825
|
+
onExpand: any;
|
|
1826
|
+
/**
|
|
1827
|
+
* Fired when focus enters this Widget.
|
|
1828
|
+
* @param {object} event Event object
|
|
1829
|
+
* @param {Core.widget.Widget} event.source This Widget
|
|
1830
|
+
* @param {HTMLElement} event.fromElement The element which lost focus.
|
|
1831
|
+
* @param {HTMLElement} event.toElement The element which gained focus.
|
|
1832
|
+
* @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
|
|
1833
|
+
* @param {Core.widget.Widget} event.toWidget The widget which gained focus.
|
|
1834
|
+
* @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
1835
|
+
*/
|
|
1836
|
+
onFocusIn: any;
|
|
1837
|
+
/**
|
|
1838
|
+
* Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
|
|
1839
|
+
* focus moving from within this Widget's ownership tree, even if there are floating widgets
|
|
1840
|
+
* will not trigger this event. This is when focus exits this widget completely.
|
|
1841
|
+
* @param {object} event Event object
|
|
1842
|
+
* @param {Core.widget.Widget} event.source This Widget
|
|
1843
|
+
* @param {HTMLElement} event.fromElement The element which lost focus.
|
|
1844
|
+
* @param {HTMLElement} event.toElement The element which gained focus.
|
|
1845
|
+
* @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
|
|
1846
|
+
* @param {Core.widget.Widget} event.toWidget The widget which gained focus.
|
|
1847
|
+
* @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
1848
|
+
*/
|
|
1849
|
+
onFocusOut: any;
|
|
1850
|
+
/**
|
|
1851
|
+
* Triggered after a widget was hidden
|
|
1852
|
+
* @param {object} event Event object
|
|
1853
|
+
* @param {Core.widget.Widget} event.source The widget
|
|
1854
|
+
*/
|
|
1855
|
+
onHide: any;
|
|
1856
|
+
/**
|
|
1857
|
+
* Fires when this DayView changes an aspect of its layout. This happens when changing
|
|
1858
|
+
* [hourHeight](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#property-hourHeight), [minDayWidth](#Calendar/widget/DayView#property-minDayWidth), and when the available
|
|
1859
|
+
* day container height changes.
|
|
1860
|
+
* @param {object} event Event object
|
|
1861
|
+
* @param {Calendar.widget.DayView} event.source The triggering instance.
|
|
1862
|
+
*/
|
|
1863
|
+
onLayoutUpdate: any;
|
|
1864
|
+
/**
|
|
1865
|
+
* Triggered when a widget which had been in a non-visible state for any reason
|
|
1866
|
+
* achieves visibility.
|
|
1867
|
+
* ...
|
|
1868
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#event-paint)
|
|
1869
|
+
* @param {object} event Event object
|
|
1870
|
+
* @param {Core.widget.Widget} event.source The widget being painted.
|
|
1871
|
+
* @param {boolean} event.firstPaint `true` if this is the first paint.
|
|
1872
|
+
*/
|
|
1873
|
+
onPaint: any;
|
|
1874
|
+
/**
|
|
1875
|
+
* Fired when the range of dates encapsulated by this view changes.
|
|
1876
|
+
* ...
|
|
1877
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#event-rangeChange)
|
|
1878
|
+
* @param {object} event Event object
|
|
1879
|
+
* @param {typeof DateRangeOwner} event.source This calendar view instance.
|
|
1880
|
+
* @param {object} event.old The old date range <strong>if any</strong>.
|
|
1881
|
+
* @param {Date} event.old.startDate the old start date.
|
|
1882
|
+
* @param {Date} event.old.endDate the old end date.
|
|
1883
|
+
* @param {object} event.new The new date range
|
|
1884
|
+
* @param {Date} event.new.startDate the new start date.
|
|
1885
|
+
* @param {Date} event.new.endDate the new end date.
|
|
1886
|
+
*/
|
|
1887
|
+
onRangeChange: any;
|
|
1888
|
+
/**
|
|
1889
|
+
* Fired when a Widget's read only state is toggled
|
|
1890
|
+
* @param {object} event Event object
|
|
1891
|
+
* @param {boolean} event.readOnly Read only or not
|
|
1892
|
+
*/
|
|
1893
|
+
onReadOnly: any;
|
|
1894
|
+
/**
|
|
1895
|
+
* This event is fired after a widget's elements have been synchronized due to a direct or indirect call
|
|
1896
|
+
* 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.
|
|
1897
|
+
*/
|
|
1898
|
+
onRecompose: any;
|
|
1899
|
+
/**
|
|
1900
|
+
* Fires when this DayView refreshes.
|
|
1901
|
+
* @param {object} event Event object
|
|
1902
|
+
* @param {Calendar.widget.DayView} event.source The triggering instance.
|
|
1903
|
+
*/
|
|
1904
|
+
onRefresh: any;
|
|
1905
|
+
/**
|
|
1906
|
+
* 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`*.
|
|
1907
|
+
* @param {object} event Event object
|
|
1908
|
+
* @param {Core.widget.Widget} event.source This Widget
|
|
1909
|
+
* @param {number} event.width The new width
|
|
1910
|
+
* @param {number} event.height The new height
|
|
1911
|
+
* @param {number} event.oldWidth The old width
|
|
1912
|
+
* @param {number} event.oldHeight The old height
|
|
1913
|
+
*/
|
|
1914
|
+
onResize: any;
|
|
1915
|
+
/**
|
|
1916
|
+
* Triggered when a new [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState) is applied.
|
|
1917
|
+
* @param {object} event Event object
|
|
1918
|
+
* @param {Core.widget.Widget} event.source The widget whose `responsiveState` has changed
|
|
1919
|
+
* @param {string} event.state The new value for the widget's `responsiveState`
|
|
1920
|
+
* @param {string} event.oldState The previous value for the widget's `responsiveState`
|
|
1921
|
+
*/
|
|
1922
|
+
onResponsiveStateChange: any;
|
|
1923
|
+
/**
|
|
1924
|
+
* Fired when the [shiftIncrement](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DateRangeOwner#property-shiftIncrement) of this view changes.
|
|
1925
|
+
* @param {object} event Event object
|
|
1926
|
+
* @param {object} event.old The shift increment *if any*.
|
|
1927
|
+
* @param {object} event.new The shift increment
|
|
1928
|
+
*/
|
|
1929
|
+
onShiftIncrementChange: any;
|
|
1930
|
+
/**
|
|
1931
|
+
* Triggered after a widget is shown.
|
|
1932
|
+
* @param {object} event Event object
|
|
1933
|
+
* @param {Core.widget.Widget} event.source The widget
|
|
1934
|
+
*/
|
|
1935
|
+
onShow: any;
|
|
1936
|
+
/**
|
|
1937
|
+
* Triggered when changing the [hourHeight](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#property-hourHeight) causes an
|
|
1938
|
+
* [hour height breakpoint](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-hourHeightBreakpoints) to be crossed
|
|
1939
|
+
* and the displayed subTick intervals in the time axis change.
|
|
1940
|
+
* @param {object} event Event object
|
|
1941
|
+
* @param {object} event.old The old hour height tick resolution object.
|
|
1942
|
+
* @param {number} event.old.level The level `0` to `4` where `0` is the default with no subTick times displayed, and `4` means every 5 minute time is displayed.
|
|
1943
|
+
* @param {string} event.old.step The time duration of visible subTicks. This is a string in the format required by [parseDuration](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper#function-parseDuration-static)
|
|
1944
|
+
* @param {object} event.new The new hour height tick resolution object.
|
|
1945
|
+
* @param {number} event.new.level The level `0` to `4` where `0` is the default with no subTick times displayed, and `4` means every 5 minute time is displayed.
|
|
1946
|
+
* @param {string} event.new.step The time duration of visible subTicks. This is a string in the format required by [parseDuration](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper#function-parseDuration-static)
|
|
1947
|
+
*/
|
|
1948
|
+
onTickChange: any;
|
|
1949
|
+
/**
|
|
1950
|
+
* Fired when a time axis is clicked on. If the handler returns
|
|
1951
|
+
* `false` the current pointer event is not processed further.
|
|
1952
|
+
* @param {object} event Event object
|
|
1953
|
+
* @param {Event} event.domEvent The triggering DOM event.
|
|
1954
|
+
* @param {Date} event.preciseTime The exact date and time at the clicked position
|
|
1955
|
+
* @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)
|
|
1956
|
+
*/
|
|
1957
|
+
onTimeAxisClick: any;
|
|
1958
|
+
/**
|
|
1959
|
+
* A header [tool](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-tools) has been clicked.
|
|
1960
|
+
* @param {object} event Event object
|
|
1961
|
+
* @param {Core.widget.Tool} event.source This Panel.
|
|
1962
|
+
* @param {Core.widget.Tool} event.tool The tool which is being clicked.
|
|
1963
|
+
*/
|
|
1964
|
+
onToolClick: any;
|
|
1965
|
+
/**
|
|
1966
|
+
* Create and append the underlying widget
|
|
1967
|
+
*/
|
|
1968
|
+
ngOnInit(): void;
|
|
1969
|
+
/**
|
|
1970
|
+
* Watch for changes
|
|
1971
|
+
* @param changes
|
|
1972
|
+
*/
|
|
1973
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1974
|
+
/**
|
|
1975
|
+
* Destroy the component
|
|
1976
|
+
*/
|
|
1977
|
+
ngOnDestroy(): void;
|
|
1978
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BryntumDayViewComponent, never>;
|
|
1979
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BryntumDayViewComponent, "bryntum-day-view", never, { "actionButtons": "actionButtons"; "activationKey": "activationKey"; "adopt": "adopt"; "align": "align"; "allDayEvents": "allDayEvents"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "bbar": "bbar"; "bodyCls": "bodyCls"; "bubbleEvents": "bubbleEvents"; "centered": "centered"; "collapsible": "collapsible"; "color": "color"; "columnHeaderRenderer": "columnHeaderRenderer"; "config": "config"; "constrainTo": "constrainTo"; "contentElementCls": "contentElementCls"; "currentTimeIndicatorRenderer": "currentTimeIndicatorRenderer"; "dataField": "dataField"; "dayCellRenderer": "dayCellRenderer"; "dayHeaderRenderer": "dayHeaderRenderer"; "dayNameFormat": "dayNameFormat"; "dayStartShift": "dayStartShift"; "defaultBindProperty": "defaultBindProperty"; "defaultFocus": "defaultFocus"; "defaults": "defaults"; "descriptionRenderer": "descriptionRenderer"; "detectCSSCompatibilityIssues": "detectCSSCompatibilityIssues"; "dock": "dock"; "draggable": "draggable"; "drawer": "drawer"; "elementAttributes": "elementAttributes"; "endDate": "endDate"; "eventFilter": "eventFilter"; "eventHeaderRenderer": "eventHeaderRenderer"; "eventLayout": "eventLayout"; "eventRenderer": "eventRenderer"; "eventSorter": "eventSorter"; "eventSpacing": "eventSpacing"; "floating": "floating"; "footer": "footer"; "getPrimaryResource": "getPrimaryResource"; "header": "header"; "hideAnimation": "hideAnimation"; "hideWhenEmpty": "hideWhenEmpty"; "icon": "icon"; "ignoreParentReadOnly": "ignoreParentReadOnly"; "itemCls": "itemCls"; "lazyItems": "lazyItems"; "listeners": "listeners"; "localeClass": "localeClass"; "localizable": "localizable"; "localizableProperties": "localizableProperties"; "maskDefaults": "maskDefaults"; "masked": "masked"; "maxAllDayHeight": "maxAllDayHeight"; "monitorResize": "monitorResize"; "namedItems": "namedItems"; "overflowPopup": "overflowPopup"; "owner": "owner"; "positioned": "positioned"; "preventTooltipOnTouch": "preventTooltipOnTouch"; "relayStoreEvents": "relayStoreEvents"; "resourceImagePath": "resourceImagePath"; "responsive": "responsive"; "responsiveRoot": "responsiveRoot"; "responsiveState": "responsiveState"; "responsiveTarget": "responsiveTarget"; "ripple": "ripple"; "rootElement": "rootElement"; "scrollAction": "scrollAction"; "selectorButton": "selectorButton"; "selectorMenuItem": "selectorMenuItem"; "shortEventCls": "shortEventCls"; "shortEventDuration": "shortEventDuration"; "showAllDayHeader": "showAllDayHeader"; "showAnimation": "showAnimation"; "showBullet": "showBullet"; "showResourceAvatars": "showResourceAvatars"; "showTooltipWhenDisabled": "showTooltipWhenDisabled"; "startDate": "startDate"; "stateful": "stateful"; "statefulEvents": "statefulEvents"; "stateId": "stateId"; "stateProvider": "stateProvider"; "strips": "strips"; "tab": "tab"; "tabBarItems": "tabBarItems"; "tag": "tag"; "tbar": "tbar"; "textAlign": "textAlign"; "tickRenderer": "tickRenderer"; "timeAxisTimeFormat": "timeAxisTimeFormat"; "timeFormat": "timeFormat"; "trapFocus": "trapFocus"; "type": "type"; "ui": "ui"; "visibleStartTime": "visibleStartTime"; "weekStartDay": "weekStartDay"; "weight": "weight"; "zoomOnMouseWheel": "zoomOnMouseWheel"; "alignSelf": "alignSelf"; "allowDragCreate": "allowDragCreate"; "allowDragMove": "allowDragMove"; "allowDragResize": "allowDragResize"; "allowZoomUnderflow": "allowZoomUnderflow"; "animateTimeShift": "animateTimeShift"; "appendTo": "appendTo"; "autoCreate": "autoCreate"; "callOnFunctions": "callOnFunctions"; "catchEventHandlerExceptions": "catchEventHandlerExceptions"; "cls": "cls"; "collapsed": "collapsed"; "column": "column"; "compactHeader": "compactHeader"; "coreHours": "coreHours"; "dashedSubticks": "dashedSubticks"; "dataset": "dataset"; "date": "date"; "dateFilter": "dateFilter"; "dateFormat": "dateFormat"; "dateSeparator": "dateSeparator"; "dayEndTime": "dayEndTime"; "dayStartTime": "dayStartTime"; "defaultScrollOptions": "defaultScrollOptions"; "descriptionFormat": "descriptionFormat"; "disabled": "disabled"; "dragUnit": "dragUnit"; "extendAllDayEndDay": "extendAllDayEndDay"; "extraData": "extraData"; "filterEventResources": "filterEventResources"; "fitHours": "fitHours"; "fixedDuration": "fixedDuration"; "flex": "flex"; "height": "height"; "hidden": "hidden"; "hideEmptyDays": "hideEmptyDays"; "hideNonWorkingDays": "hideNonWorkingDays"; "hourHeight": "hourHeight"; "hourHeightBreakpoints": "hourHeightBreakpoints"; "id": "id"; "increment": "increment"; "inputFieldAlign": "inputFieldAlign"; "insertBefore": "insertBefore"; "insertFirst": "insertFirst"; "interDayDrag": "interDayDrag"; "interDayResize": "interDayResize"; "items": "items"; "keyMap": "keyMap"; "labelPosition": "labelPosition"; "layout": "layout"; "layoutStyle": "layoutStyle"; "margin": "margin"; "maxDate": "maxDate"; "maxHeight": "maxHeight"; "maximizeOnMobile": "maximizeOnMobile"; "maxWidth": "maxWidth"; "minDate": "minDate"; "minDayWidth": "minDayWidth"; "minEventHeight": "minEventHeight"; "minHeight": "minHeight"; "minHourHeight": "minHourHeight"; "minWidth": "minWidth"; "noMatchingDates": "noMatchingDates"; "nonWorkingDays": "nonWorkingDays"; "pastEventCls": "pastEventCls"; "range": "range"; "readOnly": "readOnly"; "rendition": "rendition"; "rtl": "rtl"; "scrollable": "scrollable"; "shiftIncrement": "shiftIncrement"; "shortDateFormat": "shortDateFormat"; "shortDateTimeFormat": "shortDateTimeFormat"; "showCurrentTime": "showCurrentTime"; "showTime": "showTime"; "sixMinuteTicks": "sixMinuteTicks"; "snapRelativeToEventStartDate": "snapRelativeToEventStartDate"; "span": "span"; "stackMultiDayEvents": "stackMultiDayEvents"; "strictRecordMapping": "strictRecordMapping"; "syncCalendarDate": "syncCalendarDate"; "syncViewDate": "syncViewDate"; "timeSnapType": "timeSnapType"; "title": "title"; "tools": "tools"; "tooltip": "tooltip"; "width": "width"; "x": "x"; "y": "y"; "anchorSize": "anchorSize"; "dayCellCls": "dayCellCls"; "firstVisibleCell": "firstVisibleCell"; "firstVisibleDate": "firstVisibleDate"; "focusVisible": "focusVisible"; "hasChanges": "hasChanges"; "horizontalScroller": "horizontalScroller"; "isSettingValues": "isSettingValues"; "isValid": "isValid"; "lastVisibleCell": "lastVisibleCell"; "lastVisibleDate": "lastVisibleDate"; "parent": "parent"; "record": "record"; "state": "state"; "values": "values"; }, { "onBeforeAutoCreate": "onBeforeAutoCreate"; "onBeforeChangeDate": "onBeforeChangeDate"; "onBeforeDestroy": "onBeforeDestroy"; "onBeforeHide": "onBeforeHide"; "onBeforeResponsiveStateChange": "onBeforeResponsiveStateChange"; "onBeforeSetRecord": "onBeforeSetRecord"; "onBeforeShow": "onBeforeShow"; "onBeforeStateApply": "onBeforeStateApply"; "onBeforeStateSave": "onBeforeStateSave"; "onCatchAll": "onCatchAll"; "onCellMapPopulated": "onCellMapPopulated"; "onCollapse": "onCollapse"; "onDayCellPopulated": "onDayCellPopulated"; "onDestroy": "onDestroy"; "onDirtyStateChange": "onDirtyStateChange"; "onElementCreated": "onElementCreated"; "onEventAutoCreated": "onEventAutoCreated"; "onEventPropagate": "onEventPropagate"; "onExpand": "onExpand"; "onFocusIn": "onFocusIn"; "onFocusOut": "onFocusOut"; "onHide": "onHide"; "onLayoutUpdate": "onLayoutUpdate"; "onPaint": "onPaint"; "onRangeChange": "onRangeChange"; "onReadOnly": "onReadOnly"; "onRecompose": "onRecompose"; "onRefresh": "onRefresh"; "onResize": "onResize"; "onResponsiveStateChange": "onResponsiveStateChange"; "onShiftIncrementChange": "onShiftIncrementChange"; "onShow": "onShow"; "onTickChange": "onTickChange"; "onTimeAxisClick": "onTimeAxisClick"; "onToolClick": "onToolClick"; }, never, never>;
|
|
1980
|
+
}
|