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