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