@bryntum/scheduler-react-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 (56) hide show
  1. package/README.md +52 -0
  2. package/lib/BryntumEventColorField.d.ts +232 -0
  3. package/lib/BryntumEventColorField.js +169 -0
  4. package/lib/BryntumEventColorField.js.map +1 -0
  5. package/lib/BryntumProjectCombo.d.ts +268 -0
  6. package/lib/BryntumProjectCombo.js +203 -0
  7. package/lib/BryntumProjectCombo.js.map +1 -0
  8. package/lib/BryntumResourceCombo.d.ts +268 -0
  9. package/lib/BryntumResourceCombo.js +203 -0
  10. package/lib/BryntumResourceCombo.js.map +1 -0
  11. package/lib/BryntumResourceFilter.d.ts +215 -0
  12. package/lib/BryntumResourceFilter.js +154 -0
  13. package/lib/BryntumResourceFilter.js.map +1 -0
  14. package/lib/BryntumScheduler.d.ts +2039 -0
  15. package/lib/BryntumScheduler.js +642 -0
  16. package/lib/BryntumScheduler.js.map +1 -0
  17. package/lib/BryntumSchedulerBase.d.ts +2038 -0
  18. package/lib/BryntumSchedulerBase.js +641 -0
  19. package/lib/BryntumSchedulerBase.js.map +1 -0
  20. package/lib/BryntumSchedulerDatePicker.d.ts +314 -0
  21. package/lib/BryntumSchedulerDatePicker.js +216 -0
  22. package/lib/BryntumSchedulerDatePicker.js.map +1 -0
  23. package/lib/BryntumSchedulerProjectModel.d.ts +91 -0
  24. package/lib/BryntumSchedulerProjectModel.js +98 -0
  25. package/lib/BryntumSchedulerProjectModel.js.map +1 -0
  26. package/lib/BryntumTimelineHistogram.d.ts +1185 -0
  27. package/lib/BryntumTimelineHistogram.js +448 -0
  28. package/lib/BryntumTimelineHistogram.js.map +1 -0
  29. package/lib/BryntumUndoRedo.d.ts +190 -0
  30. package/lib/BryntumUndoRedo.js +152 -0
  31. package/lib/BryntumUndoRedo.js.map +1 -0
  32. package/lib/BryntumViewPresetCombo.d.ts +216 -0
  33. package/lib/BryntumViewPresetCombo.js +158 -0
  34. package/lib/BryntumViewPresetCombo.js.map +1 -0
  35. package/lib/WrapperHelper.d.ts +26 -0
  36. package/lib/WrapperHelper.js +569 -0
  37. package/lib/WrapperHelper.js.map +1 -0
  38. package/lib/index.d.ts +11 -0
  39. package/lib/index.js +12 -0
  40. package/lib/index.js.map +1 -0
  41. package/license.pdf +0 -0
  42. package/licenses.md +310 -0
  43. package/package.json +25 -0
  44. package/src/BryntumEventColorField.tsx +996 -0
  45. package/src/BryntumProjectCombo.tsx +1233 -0
  46. package/src/BryntumResourceCombo.tsx +1236 -0
  47. package/src/BryntumResourceFilter.tsx +931 -0
  48. package/src/BryntumScheduler.tsx +5184 -0
  49. package/src/BryntumSchedulerBase.tsx +5182 -0
  50. package/src/BryntumSchedulerDatePicker.tsx +1365 -0
  51. package/src/BryntumSchedulerProjectModel.tsx +424 -0
  52. package/src/BryntumTimelineHistogram.tsx +3427 -0
  53. package/src/BryntumUndoRedo.tsx +886 -0
  54. package/src/BryntumViewPresetCombo.tsx +915 -0
  55. package/src/WrapperHelper.tsx +1125 -0
  56. package/src/index.ts +15 -0
@@ -0,0 +1,1365 @@
1
+ /**
2
+ * React wrapper for Bryntum SchedulerDatePicker
3
+ */
4
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
5
+ import React, { RefObject } from 'react';
6
+ import { AlignSpec, Base, CalendarPanel, Container, DatePicker, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Month, MonthConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
7
+ import { SchedulerContainerItemConfig, SchedulerContainerLayoutConfig, EventModel, EventStore, SchedulerDatePicker, SchedulerDatePickerListeners } from '@bryntum/scheduler-thin';
8
+
9
+ import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
10
+
11
+ export type BryntumSchedulerDatePickerProps = {
12
+ // Configs
13
+ /**
14
+ * The date that the user has navigated to using the UI *prior* to setting the widget's
15
+ * value by selecting it. The initial default is today's date. Can also be supplied as a `YYYY-MM-DD` date
16
+ * string.
17
+ * ...
18
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-activeDate)
19
+ */
20
+ activeDate? : Date|'today'|string
21
+ /**
22
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
23
+ * content will be placed inside this element.
24
+ * ...
25
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-adopt)
26
+ */
27
+ adopt? : HTMLElement|string
28
+ /**
29
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
30
+ * ...
31
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-align)
32
+ */
33
+ align? : AlignSpec|string
34
+ /**
35
+ * When this widget is a child of a [Container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container), it will by default be participating in a
36
+ * flexbox layout. This config allows you to set this widget's
37
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
38
+ */
39
+ alignSelf? : string
40
+ /**
41
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*
42
+ * `true` to show a connector arrow pointing to the align target.
43
+ */
44
+ anchor? : boolean
45
+ /**
46
+ * By default, when navigating through time, the next time
47
+ * block will be animated in from the appropriate direction.
48
+ * ...
49
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-animateTimeShift)
50
+ */
51
+ animateTimeShift? : boolean
52
+ /**
53
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
54
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-element).
55
+ */
56
+ appendTo? : HTMLElement|string
57
+ /**
58
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
59
+ * into an element which will be linked using the `aria-describedby` attribute.
60
+ * ...
61
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-ariaDescription)
62
+ */
63
+ ariaDescription? : string
64
+ /**
65
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
66
+ * the `aria-label` attribute.
67
+ * ...
68
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-ariaLabel)
69
+ */
70
+ ariaLabel? : string
71
+ /**
72
+ * Update assigned [record](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-record) automatically on field changes
73
+ */
74
+ autoUpdateRecord? : boolean
75
+ /**
76
+ * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/scheduler/docs/api/Core/widget/Toolbar),
77
+ * 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/scheduler/docs/api/Core/widget/Panel#config-strips).
78
+ * ...
79
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-bbar)
80
+ */
81
+ bbar? : (SchedulerContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
82
+ /**
83
+ * Custom CSS classes to add to the panel's body element.
84
+ * ...
85
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-bodyCls)
86
+ */
87
+ bodyCls? : string|object
88
+ /**
89
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
90
+ * hierarchy when triggered.
91
+ * ...
92
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-bubbleEvents)
93
+ */
94
+ bubbleEvents? : object
95
+ /**
96
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
97
+ * ...
98
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-callOnFunctions)
99
+ */
100
+ callOnFunctions? : boolean
101
+ /**
102
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
103
+ * application state is undefined. Code which follows the event handler will *not* be executed.
104
+ * ...
105
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-catchEventHandlerExceptions)
106
+ */
107
+ catchEventHandlerExceptions? : boolean
108
+ /**
109
+ * A function (or the name of a function) which creates content in, and may mutate a day cell element.
110
+ * ...
111
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-cellRenderer)
112
+ * @param {object} renderData
113
+ * @param {HTMLElement} renderData.cell The cell's encapsulating element. This has the `b-calendar-panel-cell` class and is the element which receives focus, so this should be the target of any accessibility attributes.
114
+ * @param {HTMLElement} renderData.innerCell The inner element of the cell which contains the date number. This is the `aspect-ratio : 1` element which contains the date. It is not recommeneded to mutate this element. Instead use the `cellPayload` element (see below).
115
+ * @param {HTMLElement} renderData.cellPayload An empty, absolutely positioned element, by default docked at the bottom of the cell. Content may be added to this element to augment cell content.
116
+ * @param {Date} renderData.date The date for the cell
117
+ * @param {number} renderData.day The day for the cell (`0` to `6` for Sunday to Saturday)
118
+ * @param {number[]} renderData.rowIndex The row index, 0 to month row count (6 if [sixWeeks](https://bryntum.com/products/scheduler/docs/api/Core/widget/DatePicker#config-sixWeeks) is `true`)
119
+ * @param {HTMLElement} renderData.row The row element encapsulating the week which the cell is a part of
120
+ * @param {Core.widget.CalendarPanel} renderData.source The widget being rendered
121
+ * @param {number[]} renderData.cellIndex The cell index in the whole panel. May be from `0` to up to `42`
122
+ * @param {number[]} renderData.columnIndex The column index, `0` to `6`
123
+ * @param {number[]} renderData.visibleColumnIndex The visible column index taking hidden non working days into account
124
+ * @returns {string,DomConfig,void}
125
+ */
126
+ cellRenderer? : ((renderData: { cell: HTMLElement, innerCell: HTMLElement, cellPayload: HTMLElement, date: Date, day: number, rowIndex: number[], row: HTMLElement, source: CalendarPanel, cellIndex: number[], columnIndex: number[], visibleColumnIndex: number[] }) => string|DomConfig|void)|string
127
+ /**
128
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
129
+ * Set to `true` to centre the Widget in browser viewport space.
130
+ */
131
+ centered? : boolean
132
+ /**
133
+ * Custom CSS classes to add to element.
134
+ * May be specified as a space separated string, or as an object in which property names
135
+ * with truthy values are used as the class names:
136
+ * ...
137
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-cls)
138
+ */
139
+ cls? : string|object
140
+ /**
141
+ * Controls whether the panel is collapsed (the body of the panel is hidden while only the header is
142
+ * visible). Only valid if the panel is [collapsible](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-collapsible).
143
+ */
144
+ collapsed? : boolean
145
+ /**
146
+ * This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-collapsed).
147
+ * ...
148
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-collapsible)
149
+ */
150
+ collapsible? : boolean|PanelCollapserConfig|PanelCollapserOverlayConfig
151
+ /**
152
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
153
+ * `style` block.
154
+ * ...
155
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-color)
156
+ */
157
+ color? : string
158
+ /**
159
+ * Programmatic control over which column to start in when used in a grid layout.
160
+ */
161
+ column? : number
162
+ config? : object
163
+ /**
164
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*
165
+ * Element, Widget or Rectangle to which this Widget is constrained.
166
+ */
167
+ constrainTo? : HTMLElement|Widget|Rectangle
168
+ /**
169
+ * The HTML content that coexists with sibling elements which may have been added to the
170
+ * [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement) by plugins and features.
171
+ * When specifying html, this widget's element will also have the [htmlCls](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-htmlCls)
172
+ * class added to its classList, to allow targeted styling.
173
+ */
174
+ content? : string
175
+ /**
176
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
177
+ * May be specified as a space separated string, or as an object in which property names
178
+ * with truthy values are used as the class names:
179
+ * ...
180
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-contentElementCls)
181
+ */
182
+ contentElementCls? : string|object
183
+ /**
184
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
185
+ * field on the expanded record to use for populating this widget's store (if applicable)
186
+ */
187
+ dataField? : string
188
+ /**
189
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
190
+ */
191
+ dataset? : Record<string, string>
192
+ /**
193
+ * The initially selected date (or a `YYYY-MM-DD` date string).
194
+ */
195
+ date? : Date|string
196
+ /**
197
+ * The [DateHelper](https://bryntum.com/products/scheduler/docs/api/Core/helper/DateHelper) format string to format the day names.
198
+ */
199
+ dayNameFormat? : string
200
+ /**
201
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
202
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
203
+ */
204
+ defaultBindProperty? : string
205
+ /**
206
+ * A [query](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
207
+ * focus should be directed by default.
208
+ * ...
209
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-defaultFocus)
210
+ * @param {Core.widget.Widget} widget Widget passed to method
211
+ * @returns {boolean} truthy value if widget is the default one
212
+ */
213
+ defaultFocus? : ((widget: Widget) => boolean)|string
214
+ /**
215
+ * A config object containing default settings to apply to all child widgets.
216
+ */
217
+ defaults? : SchedulerContainerItemConfig
218
+ /**
219
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
220
+ * ...
221
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-detectCSSCompatibilityIssues)
222
+ */
223
+ detectCSSCompatibilityIssues? : boolean
224
+ /**
225
+ * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
226
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
227
+ * ...
228
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-disabled)
229
+ */
230
+ disabled? : boolean|'inert'
231
+ /**
232
+ * The class name to add to disabled calendar cells.
233
+ */
234
+ disabledCls? : string
235
+ /**
236
+ * Either an array of `Date` objects which are to be disabled (or date strings), or
237
+ * a function (or the name of a function), which, when passed a `Date` returns `true` if the
238
+ * date is disabled. Disabled dates cannot be interacted with.
239
+ * @param {Date} date Date to check
240
+ * @returns {boolean} Returns `true` if the provided date is disabled
241
+ */
242
+ disabledDates? : ((date: Date) => boolean)|string|Date[]|string[]
243
+ /**
244
+ * Configure as `true` to render non working days as [disabledDates](https://bryntum.com/products/scheduler/docs/api/Core/widget/CalendarPanel#config-disabledDates).
245
+ * ...
246
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-disableNonWorkingDays)
247
+ */
248
+ disableNonWorkingDays? : boolean
249
+ /**
250
+ * Configure this as true to disable pointer interaction with cells which are outside the
251
+ * range of the current month.
252
+ */
253
+ disableOtherMonthCells? : boolean
254
+ /**
255
+ * Configure as `true` to render Saturdays and Sundays as [disabledDates](https://bryntum.com/products/scheduler/docs/api/Core/widget/CalendarPanel#config-disabledDates).
256
+ */
257
+ disableWeekends? : boolean
258
+ /**
259
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel)
260
+ * [strips collection](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
261
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
262
+ * body. Such widgets are called "edge strips".
263
+ * ...
264
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-dock)
265
+ */
266
+ dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
267
+ /**
268
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
269
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
270
+ * property which controls when a drag should start.
271
+ * ...
272
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-draggable)
273
+ */
274
+ draggable? : boolean|{
275
+ handleSelector?: string
276
+ }
277
+ /**
278
+ * This property is only valid if [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/DatePicker#config-multiSelect) is set to `'range'`
279
+ * or `true`.
280
+ * ...
281
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-dragSelect)
282
+ */
283
+ dragSelect? : boolean
284
+ /**
285
+ * Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
286
+ * ...
287
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-drawer)
288
+ * @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.
289
+ * @param {string,number} size The size of the drawer in its collapsible axis.
290
+ * @param {boolean} inline If using the [appendTo](https://bryntum.com/products/scheduler/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.
291
+ * @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.
292
+ * @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.
293
+ * @param {boolean,string} autoClose.focusout If focus moves outside of the drawer, the drawer will automatically be hidden.
294
+ * @param {string} autoClose.mouseout Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
295
+ * @param {number} autoCloseDelay When using `mouseout`, this is the delay in milliseconds
296
+ */
297
+ drawer? : boolean|{side?: 'start'|'left'|'end'|'right'|'top'|'bottom', size?: string|number, inline?: boolean, autoClose: { mousedown?: boolean|string, focusout?: boolean|string, mouseout?: string }, autoCloseDelay?: number}
298
+ /**
299
+ * By default, the month and year are editable. Configure this as `false` to prevent that.
300
+ */
301
+ editMonth? : boolean
302
+ /**
303
+ * An object specifying attributes to assign to the root element of this widget.
304
+ * Set `null` value to attribute to remove it.
305
+ * ...
306
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-elementAttributes)
307
+ */
308
+ elementAttributes? : Record<string, string|null>
309
+ /**
310
+ * A function, or the name of a function in the ownership hierarchy to filter which events
311
+ * are collected into the day cell data blocks.
312
+ * ...
313
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-eventFilter)
314
+ * @param {Scheduler.model.EventModel} event Event for filtering
315
+ * @returns {boolean} Return `true` to include the passed event
316
+ */
317
+ eventFilter? : ((event: EventModel) => boolean)|string
318
+ /**
319
+ * The [event store](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/EventStore) from which the in-cell event presence
320
+ * indicators are drawn.
321
+ */
322
+ eventStore? : EventStore
323
+ extraData? : any
324
+ /**
325
+ * When this widget is a child of a [Container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container), it will by default be participating in a
326
+ * flexbox layout. This config allows you to set this widget's
327
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
328
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
329
+ * numeric-only values are interpreted as the `flex-grow` value.
330
+ */
331
+ flex? : number|string
332
+ /**
333
+ * Set to `true` to move the widget out of the document flow and position it
334
+ * absolutely in browser viewport space.
335
+ */
336
+ floating? : boolean
337
+ /**
338
+ * By default, disabled dates cannot be navigated to, and they are skipped over
339
+ * during keyboard navigation. Configure this as `true` to enable navigation to
340
+ * disabled dates.
341
+ */
342
+ focusDisabledDates? : boolean
343
+ /**
344
+ * Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
345
+ * but rather plain HTML that follows the last element of the panel's body and [strips](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-strips).
346
+ * ...
347
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-footer)
348
+ */
349
+ footer? : {
350
+ dock?: 'top'|'right'|'bottom'|'left'|'start'|'end'
351
+ html?: string
352
+ cls?: string
353
+ }|string
354
+ /**
355
+ * A config [object](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#typedef-PanelHeader) for the panel's header or a string in place of a `title`.
356
+ * ...
357
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-header)
358
+ */
359
+ header? : string|boolean|PanelHeader
360
+ /**
361
+ * A function (or the name of a function) which creates content in, and may mutate a day header element.
362
+ * ...
363
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-headerRenderer)
364
+ * @param {HTMLElement} cell The header element
365
+ * @param {number} columnIndex The day column. Will be in the range `0` to `6`
366
+ * @param {number} weekDay The canonical day number where Monday is `0` and Sunday is `6`
367
+ * @returns {string,DomConfig,void}
368
+ */
369
+ headerRenderer? : ((cell: HTMLElement, columnIndex: number, weekDay: number) => string|DomConfig|void)|string
370
+ /**
371
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
372
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
373
+ * cases this config is convenient.
374
+ */
375
+ height? : string|number
376
+ /**
377
+ * Configure with true to make widget initially hidden.
378
+ */
379
+ hidden? : boolean
380
+ /**
381
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
382
+ * ...
383
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-hideAnimation)
384
+ */
385
+ hideAnimation? : boolean|object
386
+ /**
387
+ * Configure this as `true` to hide cells which are outside the range of the current month.
388
+ */
389
+ hideOtherMonthCells? : boolean
390
+ /**
391
+ * Specify `true` to make this container hide when it has no visible children (Either empty
392
+ * or all children hidden).
393
+ * ...
394
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-hideWhenEmpty)
395
+ */
396
+ hideWhenEmpty? : boolean
397
+ /**
398
+ * Configure as `true` to add a highlighted border and background to the week row which
399
+ * encapsulates the selected date.
400
+ */
401
+ highlightSelectedWeek? : boolean
402
+ /**
403
+ * The HTML to display initially or a function returning the markup (called at widget construction time).
404
+ * ...
405
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-html)
406
+ * @param {Core.widget.Widget} widget The calling Widget
407
+ * @returns {string}
408
+ */
409
+ html? : string|((widget: Widget) => string)|DomConfig|DomConfig[]|VueConfig
410
+ /**
411
+ * The CSS class(es) to add when HTML content is being applied to this widget.
412
+ */
413
+ htmlCls? : string|object
414
+ /**
415
+ * An icon to show before the [title](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-title). Either pass a CSS class as a string, or pass a
416
+ * [DomConfig](https://bryntum.com/products/scheduler/docs/api/Core/helper/DomHelper#typedef-DomConfig) object describing an element to represent the icon.
417
+ */
418
+ icon? : string|DomConfig
419
+ /**
420
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
421
+ */
422
+ id? : string
423
+ /**
424
+ * Determines if the widgets read-only state should be controlled by its parent.
425
+ * ...
426
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-ignoreParentReadOnly)
427
+ */
428
+ ignoreParentReadOnly? : boolean
429
+ /**
430
+ * By default, the year is visible. Configure this as `false` to prevent that.
431
+ */
432
+ includeYear? : boolean
433
+ /**
434
+ * Convenience setting to align input fields of child widgets. By default, the Field input element is
435
+ * placed immediately following the `label`. If you prefer to have all input fields aligned to the
436
+ * right, set this config to `'end'`.
437
+ * ...
438
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-inputFieldAlign)
439
+ */
440
+ inputFieldAlign? : 'start'|'end'
441
+ /**
442
+ * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
443
+ */
444
+ insertBefore? : HTMLElement|string
445
+ /**
446
+ * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
447
+ */
448
+ insertFirst? : HTMLElement|string
449
+ /**
450
+ * An optional CSS class to add to child items of this container.
451
+ */
452
+ itemCls? : string
453
+ /**
454
+ * An object containing typed child widget config objects or Widgets. May also be specified
455
+ * as an array.
456
+ * ...
457
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-items)
458
+ */
459
+ items? : Record<string, SchedulerContainerItemConfig|MenuItemEntry>|(SchedulerContainerItemConfig|MenuItemEntry|Widget)[]
460
+ /**
461
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
462
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
463
+ * are the name of the instance method to call when the keystroke is received.
464
+ * ...
465
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-keyMap)
466
+ */
467
+ keyMap? : Record<string, KeyMapConfig>
468
+ /**
469
+ * Convenience setting to use same label placement on all child widgets.
470
+ * ...
471
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-labelPosition)
472
+ */
473
+ labelPosition? : 'before'|'above'|'align-before'|'auto'|null
474
+ /**
475
+ * The short name of a helper class which manages rendering and styling of child items.
476
+ * ...
477
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-layout)
478
+ */
479
+ layout? : string|SchedulerContainerLayoutConfig
480
+ /**
481
+ * The CSS style properties to apply to the [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
482
+ * ...
483
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-layoutStyle)
484
+ */
485
+ layoutStyle? : object
486
+ /**
487
+ * An array of [child item](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-items) *config objects* which is to be converted into
488
+ * instances only when this Container is rendered, rather than eagerly at construct time.
489
+ * ...
490
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-lazyItems)
491
+ */
492
+ lazyItems? : Record<string, SchedulerContainerItemConfig>|SchedulerContainerItemConfig[]|Widget[]
493
+ /**
494
+ * The listener set for this object.
495
+ * ...
496
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-listeners)
497
+ */
498
+ listeners? : SchedulerDatePickerListeners
499
+ /**
500
+ * A class translations of which are used for translating this entity.
501
+ * This is often used when translations of an item are defined on its container class.
502
+ * For example:
503
+ * ...
504
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-localeClass)
505
+ */
506
+ localeClass? : typeof Base
507
+ /**
508
+ * Set to `false` to disable localization of this object.
509
+ */
510
+ localizable? : boolean
511
+ /**
512
+ * List of properties which values should be translated automatically upon a locale applying.
513
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
514
+ * you could use 'localeKey' meta configuration.
515
+ * Example:
516
+ * ...
517
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-localizableProperties)
518
+ */
519
+ localizableProperties? : string[]
520
+ /**
521
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
522
+ * numeric-only values are interpreted as pixels.
523
+ */
524
+ margin? : number|string
525
+ /**
526
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/scheduler/docs/api/Core/widget/Mask) created for the
527
+ * [masked](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
528
+ * values.
529
+ */
530
+ maskDefaults? : MaskConfig
531
+ /**
532
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
533
+ * [Mask](https://bryntum.com/products/scheduler/docs/api/Core/widget/Mask) config object.
534
+ */
535
+ masked? : boolean|string|MaskConfig
536
+ /**
537
+ * The maximum selectable date. Selection of and navigation to dates after
538
+ * this date will not be possible.
539
+ */
540
+ maxDate? : Date
541
+ /**
542
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
543
+ * like [height](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
544
+ */
545
+ maxHeight? : string|number
546
+ /**
547
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
548
+ * ...
549
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-maximizeOnMobile)
550
+ */
551
+ maximizeOnMobile? : number|string
552
+ /**
553
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
554
+ * like [width](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
555
+ */
556
+ maxWidth? : string|number
557
+ /**
558
+ * By default, day cells flex to share available Panel width equally.
559
+ * ...
560
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-minColumnWidth)
561
+ */
562
+ minColumnWidth? : number
563
+ /**
564
+ * The minimum selectable date. Selection of and navigation to dates prior
565
+ * to this date will not be possible.
566
+ */
567
+ minDate? : Date
568
+ /**
569
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
570
+ * like [height](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
571
+ */
572
+ minHeight? : string|number
573
+ /**
574
+ * By default, week rows flex to share available Panel height equally.
575
+ * ...
576
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-minRowHeight)
577
+ */
578
+ minRowHeight? : number|string
579
+ /**
580
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
581
+ * like [width](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
582
+ */
583
+ minWidth? : string|number
584
+ /**
585
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
586
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
587
+ * layout.
588
+ * ...
589
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-monitorResize)
590
+ */
591
+ monitorResize? : boolean|{
592
+ immediate?: boolean
593
+ }
594
+ /**
595
+ * A [Month](https://bryntum.com/products/scheduler/docs/api/Core/util/Month) Month utility object which encapsulates this Panel's month
596
+ * and provides contextual information and navigation services.
597
+ */
598
+ month? : Month|MonthConfig
599
+ /**
600
+ * The format string to use to create the text of the month button.
601
+ * ...
602
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-monthButtonFormat)
603
+ */
604
+ monthButtonFormat? : string
605
+ /**
606
+ * Configure as `true` to enable selecting multiple discontiguous date ranges using
607
+ * click and Shift+click to create ranges and Ctrl+click to select/deselect individual dates.
608
+ * ...
609
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-multiSelect)
610
+ */
611
+ multiSelect? : boolean|'range'|'simple'
612
+ /**
613
+ * An object containing default config objects which may be referenced by name in the [items](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-items)
614
+ * config. For example, a specialized [Menu](https://bryntum.com/products/scheduler/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
615
+ * value defined like this:
616
+ * ...
617
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-namedItems)
618
+ */
619
+ namedItems? : Record<string, SchedulerContainerItemConfig>
620
+ /**
621
+ * The class name to add to calendar cells which are [nonWorkingDays](https://bryntum.com/products/scheduler/docs/api/Core/widget/CalendarPanel#config-nonWorkingDays).
622
+ */
623
+ nonWorkingDayCls? : string
624
+ /**
625
+ * Non-working days as an object where keys are day indices, 0-6 (Sunday-Saturday), and the value is `true`.
626
+ * Defaults to [nonWorkingDays](https://bryntum.com/products/scheduler/docs/api/Core/helper/DateHelper#property-nonWorkingDays-static).
627
+ */
628
+ nonWorkingDays? : Record<number, boolean>
629
+ /**
630
+ * The class name to add to calendar cells which are in the previous or next month.
631
+ */
632
+ otherMonthCls? : string
633
+ /**
634
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
635
+ * [items](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
636
+ * the owner is <strong>always</strong> the encapsulating Container.
637
+ * ...
638
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-owner)
639
+ */
640
+ owner? : Widget|any
641
+ /**
642
+ * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement), but must
643
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
644
+ * widget's [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
645
+ * ...
646
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-positioned)
647
+ */
648
+ positioned? : boolean
649
+ /**
650
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
651
+ * menu on click etc, since the tooltip would be displayed at the same time.
652
+ */
653
+ preventTooltipOnTouch? : boolean
654
+ /**
655
+ * Whether this widget is read-only. This is only valid if the widget is an input
656
+ * field, <strong>or contains input fields at any depth</strong>.
657
+ * ...
658
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-readOnly)
659
+ */
660
+ readOnly? : boolean
661
+ /**
662
+ * [Record](https://bryntum.com/products/scheduler/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
663
+ * ...
664
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-record)
665
+ */
666
+ record? : Model
667
+ relayStoreEvents? : boolean
668
+ /**
669
+ * Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
670
+ * `type`.
671
+ * ...
672
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-rendition)
673
+ */
674
+ rendition? : string|Record<string, string>|null
675
+ /**
676
+ * Configure as `true` to have the component display a translucent ripple when its
677
+ * [focusElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
678
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
679
+ * ...
680
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-ripple)
681
+ */
682
+ ripple? : boolean|{
683
+ delegate?: string
684
+ color?: string
685
+ radius?: number
686
+ clip?: string
687
+ }
688
+ /**
689
+ * 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`
690
+ */
691
+ rootElement? : ShadowRoot|HTMLElement
692
+ /**
693
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
694
+ * ...
695
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-rtl)
696
+ */
697
+ rtl? : boolean
698
+ /**
699
+ * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll
700
+ * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
701
+ * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
702
+ * CSS overflow properties thus:
703
+ * ...
704
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-scrollable)
705
+ */
706
+ scrollable? : boolean|ScrollerConfig|Scroller
707
+ /**
708
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
709
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
710
+ */
711
+ scrollAction? : 'hide'|'realign'|null
712
+ /**
713
+ * If [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/DatePicker#config-multiSelect) is configured as `true`, this is an array of dates
714
+ * which are selected. There may be multiple, discontiguous date ranges.
715
+ * ...
716
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-selection)
717
+ */
718
+ selection? : Date[]|string[]
719
+ /**
720
+ * Configure as `true` to render past dates in a lighter text color.
721
+ */
722
+ shadePastDates? : boolean
723
+ /**
724
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
725
+ * ...
726
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-showAnimation)
727
+ */
728
+ showAnimation? : boolean|object
729
+ /**
730
+ * How to show presence of events in the configured [eventStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-eventStore) in the
731
+ * day cells. Values may be:
732
+ * ...
733
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-showEvents)
734
+ */
735
+ showEvents? : boolean|'count'|'heatmap'
736
+ /**
737
+ * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-disabled)
738
+ */
739
+ showTooltipWhenDisabled? : boolean
740
+ /**
741
+ * Configure as `true` to show a week number column at the start of the calendar block.
742
+ */
743
+ showWeekColumn? : boolean
744
+ /**
745
+ * Configure as `true` to always show a six-week calendar.
746
+ */
747
+ sixWeeks? : boolean
748
+ /**
749
+ * Programmatic control over how many columns to span when used in a grid layout.
750
+ */
751
+ span? : number
752
+ /**
753
+ * This value can be one of the following:
754
+ * ...
755
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-stateful)
756
+ */
757
+ stateful? : boolean|object|string[]
758
+ /**
759
+ * The events that, when fired by this component, should trigger it to save its state by calling
760
+ * [saveState](https://bryntum.com/products/scheduler/docs/api/Core/mixin/State#function-saveState).
761
+ * ...
762
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-statefulEvents)
763
+ */
764
+ statefulEvents? : object|string[]
765
+ /**
766
+ * The key to use when saving this object's state in the [stateProvider](https://bryntum.com/products/scheduler/docs/api/Core/mixin/State#config-stateProvider). If this config is
767
+ * not assigned, and [stateful](https://bryntum.com/products/scheduler/docs/api/Core/mixin/State#config-stateful) is not set to `false`, the [id](#Core/widget/Widget#config-id)
768
+ * (if explicitly specified) will be used as the `stateId`.
769
+ * ...
770
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-stateId)
771
+ */
772
+ stateId? : string
773
+ /**
774
+ * The `StateProvider` to use to save and restore this object's [state](https://bryntum.com/products/scheduler/docs/api/Core/mixin/State#property-state). By default, `state`
775
+ * will be saved using the [default state provider](https://bryntum.com/products/scheduler/docs/api/Core/state/StateProvider#property-instance-static).
776
+ * ...
777
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-stateProvider)
778
+ */
779
+ stateProvider? : StateProvider
780
+ /**
781
+ * Specify `true` to match fields by their `name` property only when assigning a [record](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-record),
782
+ * without falling back to `ref`.
783
+ */
784
+ strictRecordMapping? : boolean
785
+ /**
786
+ * An object containing widgets keyed by name. By default (when no `type` is given), strips are
787
+ * [toolbars](https://bryntum.com/products/scheduler/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
788
+ * the toolbar's [items](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-items).
789
+ * ...
790
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-strips)
791
+ */
792
+ strips? : Record<string, SchedulerContainerItemConfig>
793
+ /**
794
+ * A configuration for the [tab](https://bryntum.com/products/scheduler/docs/api/Core/widget/Tab) created for this widget when it is placed in a
795
+ * [TabPanel](https://bryntum.com/products/scheduler/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
796
+ * this widget:
797
+ * ...
798
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-tab)
799
+ */
800
+ tab? : boolean|TabConfig
801
+ /**
802
+ * When this container is used as a tab in a TabPanel, these items are added to the
803
+ * [TabBar](https://bryntum.com/products/scheduler/docs/api/Core/widget/TabBar) when this container is the active tab.
804
+ * ...
805
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-tabBarItems)
806
+ */
807
+ tabBarItems? : ToolbarItems[]|Widget[]
808
+ /**
809
+ * The tag name of this Widget's root element
810
+ */
811
+ tag? : string
812
+ /**
813
+ * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/scheduler/docs/api/Core/widget/Toolbar),
814
+ * or array of config objects representing the child items of a Toolbar.
815
+ * This creates a toolbar docked to the top of the panel immediately below the header.
816
+ * ...
817
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-tbar)
818
+ */
819
+ tbar? : (SchedulerContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
820
+ /**
821
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
822
+ * ...
823
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-textAlign)
824
+ */
825
+ textAlign? : 'left'|'center'|'right'|'start'|'end'
826
+ /**
827
+ * Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
828
+ * which specifies a default max-width that makes long text more readable.
829
+ * ...
830
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-textContent)
831
+ */
832
+ textContent? : boolean
833
+ /**
834
+ * A config object to create a tooltip which will show on hover of a date cell including disabled, weekend,
835
+ * and "other month" cells.
836
+ * ...
837
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-tip)
838
+ */
839
+ tip? : TooltipConfig
840
+ /**
841
+ * A title to display in the header or owning TabPanel. Causes creation and docking of a header
842
+ * to the top if no header is configured.
843
+ * ...
844
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-title)
845
+ */
846
+ title? : string
847
+ /**
848
+ * The class name to add to the calendar cell which contains today's date.
849
+ */
850
+ todayCls? : string
851
+ /**
852
+ * The [tools](https://bryntum.com/products/scheduler/docs/api/Core/widget/Tool) to add either before or after the `title` in the Panel header. Each
853
+ * property name is the reference by which an instantiated tool may be retrieved from the live
854
+ * `[tools](https://bryntum.com/products/scheduler/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
855
+ * ...
856
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-tools)
857
+ */
858
+ tools? : Record<string, ToolConfig>|null
859
+ /**
860
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
861
+ * ...
862
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-tooltip)
863
+ */
864
+ tooltip? : string|TooltipConfig|null
865
+ /**
866
+ * By default, tabbing within a Panel is not contained, ie you can TAB out of the Panel
867
+ * forwards or backwards.
868
+ * Configure this as `true` to disallow tabbing out of the Panel, and make tabbing circular within this Panel.
869
+ */
870
+ trapFocus? : boolean
871
+ type? : 'datepicker'
872
+ /**
873
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
874
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
875
+ * values are used as the class names.
876
+ * ...
877
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-ui)
878
+ */
879
+ ui? : 'plain'|'toolbar'|string|object
880
+ /**
881
+ * The header text for the week number column, if shown.
882
+ */
883
+ weekColumnHeader? : string
884
+ /**
885
+ * The class name to add to calendar cells which are weekend dates.
886
+ */
887
+ weekendCls? : string
888
+ /**
889
+ * A function (or the name of a function) which creates content in, and may mutate the week cell element at the start of a week row.
890
+ * ...
891
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-weekRenderer)
892
+ * @param {HTMLElement} weekCell The header element
893
+ * @param {number[]} week An array containing `[year, weekNumber]`
894
+ * @returns {string,DomConfig,void}
895
+ */
896
+ weekRenderer? : ((weekCell: HTMLElement, week: number[]) => string|DomConfig|void)|string
897
+ /**
898
+ * The week start day, 0 meaning Sunday, 6 meaning Saturday.
899
+ * Defaults to [weekStartDay](https://bryntum.com/products/scheduler/docs/api/Core/helper/DateHelper#property-weekStartDay-static).
900
+ */
901
+ weekStartDay? : number
902
+ /**
903
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container).
904
+ * Higher weights go further down.
905
+ */
906
+ weight? : number
907
+ /**
908
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
909
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
910
+ * this config is convenient.
911
+ */
912
+ width? : string|number
913
+ /**
914
+ * The x position for the widget.
915
+ * ...
916
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-x)
917
+ */
918
+ x? : number
919
+ /**
920
+ * The y position for the widget.
921
+ * ...
922
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-y)
923
+ */
924
+ y? : number
925
+
926
+ // Events
927
+ /**
928
+ * Fires before an object is destroyed.
929
+ * @param {object} event Event object
930
+ * @param {Core.Base} event.source The Object that is being destroyed.
931
+ */
932
+ onBeforeDestroy? : ((event: { source: Base }) => void)|string
933
+ /**
934
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
935
+ * @param {object} event Event object
936
+ * @param {Core.widget.Widget} event.source The widget being hidden.
937
+ */
938
+ onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
939
+ /**
940
+ * Fires before this CalendarPanel refreshes in response to changes in its month.
941
+ * @param {object} event Event object
942
+ * @param {Core.widget.DatePicker} event.source This DatePicker.
943
+ */
944
+ onBeforeRefresh? : ((event: { source: DatePicker }) => void)|string
945
+ /**
946
+ * Fired before this container will load record values into its child fields. This is useful if you
947
+ * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
948
+ * @param {object} event Event object
949
+ * @param {Core.widget.Container} event.source The container
950
+ * @param {Core.data.Model} event.record The record
951
+ */
952
+ onBeforeSetRecord? : ((event: { source: Container, record: Model }) => void)|string
953
+ /**
954
+ * Triggered before a widget is shown. Return `false` to prevent the action.
955
+ * @param {object} event Event object
956
+ * @param {Core.widget.Widget,any} event.source The widget being shown
957
+ */
958
+ onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
959
+ /**
960
+ * Fired before state is applied to the source. Allows editing the state object or preventing the operation.
961
+ * @param {object} event Event object
962
+ * @param {any} event.state State object config
963
+ */
964
+ onBeforeStateApply? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
965
+ /**
966
+ * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
967
+ * @param {object} event Event object
968
+ * @param {any} event.state State object config
969
+ */
970
+ onBeforeStateSave? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
971
+ /**
972
+ * Fires when any other event is fired from the object.
973
+ * ...
974
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#event-catchAll)
975
+ * @param {object} event Event object
976
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
977
+ * @param {string} event.event.type The type of the event which is caught by the listener
978
+ */
979
+ onCatchAll? : ((event: {[key: string]: any, type: string}) => void)|string
980
+ /**
981
+ * Fired when a date cell is clicked.
982
+ * @param {object} event Event object
983
+ * @param {HTMLElement} event.cell The clicked cell element.
984
+ * @param {Date} event.date The date represented by the cell.
985
+ * @param {number[]} event.week The week array `[year, weekNumber]`.
986
+ * @param {Event} event.domEvent The original DOM event.
987
+ */
988
+ onCellClick? : ((event: { cell: HTMLElement, date: Date, week: number[], domEvent: Event }) => void)|string
989
+ /**
990
+ * Fires when a Panel is collapsed using the [collapsible](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-collapsible) setting.
991
+ * @param {object} event Event object
992
+ * @param {Core.widget.Panel} event.source This Panel.
993
+ */
994
+ onCollapse? : ((event: { source: Panel }) => void)|string
995
+ /**
996
+ * Fires when the date of this CalendarPanel is set.
997
+ * @param {object} event Event object
998
+ * @param {Date} event.value The new date.
999
+ * @param {Date} event.oldValue The old date.
1000
+ * @param {object} event.changes An object which contains properties which indicate what part of the date changed.
1001
+ * @param {boolean} event.changes.d True if the date changed in any way.
1002
+ * @param {boolean} event.changes.w True if the week changed (including same week in a different year).
1003
+ * @param {boolean} event.changes.m True if the month changed (including same month in a different year).
1004
+ * @param {boolean} event.changes.y True if the year changed.
1005
+ */
1006
+ onDateChange? : ((event: { value: Date, oldValue: Date, changes: { d: boolean, w: boolean, m: boolean, y: boolean } }) => void)|string
1007
+ /**
1008
+ * Fires when an object is destroyed.
1009
+ * @param {object} event Event object
1010
+ * @param {Core.Base} event.source The Object that is being destroyed.
1011
+ */
1012
+ onDestroy? : ((event: { source: Base }) => void)|string
1013
+ /**
1014
+ * Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-hasChanges) property changes
1015
+ * @param {object} event Event object
1016
+ * @param {Core.widget.Container} event.source The container.
1017
+ * @param {boolean} event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
1018
+ */
1019
+ onDirtyStateChange? : ((event: { source: Container, dirty: boolean }) => void)|string
1020
+ /**
1021
+ * Triggered when a widget's [element](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-element) is available.
1022
+ * @param {object} event Event object
1023
+ * @param {HTMLElement} event.element The Widget's element.
1024
+ */
1025
+ onElementCreated? : ((event: { element: HTMLElement }) => void)|string
1026
+ /**
1027
+ * Fires when a Panel is expanded using the [collapsible](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-collapsible) setting.
1028
+ * @param {object} event Event object
1029
+ * @param {Core.widget.Panel} event.source This Panel.
1030
+ */
1031
+ onExpand? : ((event: { source: Panel }) => void)|string
1032
+ /**
1033
+ * Fired when focus enters this Widget.
1034
+ * @param {object} event Event object
1035
+ * @param {Core.widget.Widget} event.source This Widget
1036
+ * @param {HTMLElement} event.fromElement The element which lost focus.
1037
+ * @param {HTMLElement} event.toElement The element which gained focus.
1038
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
1039
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
1040
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
1041
+ */
1042
+ onFocusIn? : ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string
1043
+ /**
1044
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
1045
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
1046
+ * will not trigger this event. This is when focus exits this widget completely.
1047
+ * @param {object} event Event object
1048
+ * @param {Core.widget.Widget} event.source This Widget
1049
+ * @param {HTMLElement} event.fromElement The element which lost focus.
1050
+ * @param {HTMLElement} event.toElement The element which gained focus.
1051
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
1052
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
1053
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
1054
+ */
1055
+ onFocusOut? : ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string
1056
+ /**
1057
+ * Triggered after a widget was hidden
1058
+ * @param {object} event Event object
1059
+ * @param {Core.widget.Widget} event.source The widget
1060
+ */
1061
+ onHide? : ((event: { source: Widget }) => void)|string
1062
+ /**
1063
+ * Triggered when a widget which had been in a non-visible state for any reason
1064
+ * achieves visibility.
1065
+ * ...
1066
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#event-paint)
1067
+ * @param {object} event Event object
1068
+ * @param {Core.widget.Widget} event.source The widget being painted.
1069
+ * @param {boolean} event.firstPaint `true` if this is the first paint.
1070
+ */
1071
+ onPaint? : ((event: { source: Widget, firstPaint: boolean }) => void)|string
1072
+ /**
1073
+ * Fired when a Widget's read only state is toggled
1074
+ * @param {object} event Event object
1075
+ * @param {boolean} event.readOnly Read only or not
1076
+ */
1077
+ onReadOnly? : ((event: { readOnly: boolean }) => void)|string
1078
+ /**
1079
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
1080
+ * to [recompose](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.
1081
+ */
1082
+ onRecompose? : (() => void)|string
1083
+ /**
1084
+ * Fires when this CalendarPanel refreshes.
1085
+ */
1086
+ onRefresh? : (() => void)|string
1087
+ /**
1088
+ * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
1089
+ * @param {object} event Event object
1090
+ * @param {Core.widget.Widget} event.source This Widget
1091
+ * @param {number} event.width The new width
1092
+ * @param {number} event.height The new height
1093
+ * @param {number} event.oldWidth The old width
1094
+ * @param {number} event.oldHeight The old height
1095
+ */
1096
+ onResize? : ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string
1097
+ /**
1098
+ * Fires when a date or date range is selected. If [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/DatePicker#config-multiSelect) is specified,
1099
+ * this will fire upon deselection and selection of dates.
1100
+ * @param {object} event Event object
1101
+ * @param {Date[]} event.selection The selected dates. If [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/DatePicker#config-multiSelect) is specified this may be a two element array specifying start and end dates.
1102
+ * @param {Date[]} event.oldSelection The previously selected dates. If [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/DatePicker#config-multiSelect) is specified this may be a two element array specifying start and end dates.
1103
+ * @param {boolean} event.userAction This will be `true` if the change was caused by user interaction as opposed to programmatic setting.
1104
+ */
1105
+ onSelectionChange? : ((event: { selection: Date[], oldSelection: Date[], userAction: boolean }) => void)|string
1106
+ /**
1107
+ * Triggered after a widget is shown.
1108
+ * @param {object} event Event object
1109
+ * @param {Core.widget.Widget} event.source The widget
1110
+ */
1111
+ onShow? : ((event: { source: Widget }) => void)|string
1112
+ /**
1113
+ * A header [tool](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-tools) has been clicked.
1114
+ * @param {object} event Event object
1115
+ * @param {Core.widget.Tool} event.source This Panel.
1116
+ * @param {Core.widget.Tool} event.tool The tool which is being clicked.
1117
+ */
1118
+ onToolClick? : ((event: { source: Tool, tool: Tool }) => void)|string
1119
+ /**
1120
+ * Fired when a week number cell is clicked.
1121
+ * @param {object} event Event object
1122
+ * @param {Date} event.date The start date of the week.
1123
+ * @param {number[]} event.week The week array `[year, weekNumber]`.
1124
+ * @param {Event} event.domEvent The original DOM event.
1125
+ */
1126
+ onWeekCellClick? : ((event: { date: Date, week: number[], domEvent: Event }) => void)|string
1127
+
1128
+ }
1129
+
1130
+ export class BryntumSchedulerDatePicker extends React.Component<BryntumSchedulerDatePickerProps> {
1131
+
1132
+ static instanceClass = SchedulerDatePicker;
1133
+
1134
+ static instanceName = 'SchedulerDatePicker';
1135
+
1136
+ processWidgetContent = processWidgetContent;
1137
+
1138
+ static configNames = [
1139
+ 'activeDate',
1140
+ 'adopt',
1141
+ 'align',
1142
+ 'anchor',
1143
+ 'ariaDescription',
1144
+ 'ariaLabel',
1145
+ 'autoUpdateRecord',
1146
+ 'bbar',
1147
+ 'bodyCls',
1148
+ 'bubbleEvents',
1149
+ 'cellRenderer',
1150
+ 'centered',
1151
+ 'collapsible',
1152
+ 'color',
1153
+ 'config',
1154
+ 'constrainTo',
1155
+ 'contentElementCls',
1156
+ 'dataField',
1157
+ 'dayNameFormat',
1158
+ 'defaultBindProperty',
1159
+ 'defaultFocus',
1160
+ 'defaults',
1161
+ 'detectCSSCompatibilityIssues',
1162
+ 'disabledCls',
1163
+ 'disabledDates',
1164
+ 'disableNonWorkingDays',
1165
+ 'disableOtherMonthCells',
1166
+ 'disableWeekends',
1167
+ 'dock',
1168
+ 'draggable',
1169
+ 'drawer',
1170
+ 'editMonth',
1171
+ 'elementAttributes',
1172
+ 'eventFilter',
1173
+ 'eventStore',
1174
+ 'floating',
1175
+ 'focusDisabledDates',
1176
+ 'footer',
1177
+ 'header',
1178
+ 'headerRenderer',
1179
+ 'hideAnimation',
1180
+ 'hideOtherMonthCells',
1181
+ 'hideWhenEmpty',
1182
+ 'htmlCls',
1183
+ 'icon',
1184
+ 'ignoreParentReadOnly',
1185
+ 'includeYear',
1186
+ 'itemCls',
1187
+ 'lazyItems',
1188
+ 'listeners',
1189
+ 'localeClass',
1190
+ 'localizable',
1191
+ 'localizableProperties',
1192
+ 'maskDefaults',
1193
+ 'masked',
1194
+ 'maxDate',
1195
+ 'minColumnWidth',
1196
+ 'minDate',
1197
+ 'minRowHeight',
1198
+ 'monitorResize',
1199
+ 'month',
1200
+ 'monthButtonFormat',
1201
+ 'multiSelect',
1202
+ 'namedItems',
1203
+ 'nonWorkingDayCls',
1204
+ 'nonWorkingDays',
1205
+ 'otherMonthCls',
1206
+ 'owner',
1207
+ 'positioned',
1208
+ 'preventTooltipOnTouch',
1209
+ 'relayStoreEvents',
1210
+ 'ripple',
1211
+ 'rootElement',
1212
+ 'scrollAction',
1213
+ 'showAnimation',
1214
+ 'showEvents',
1215
+ 'showTooltipWhenDisabled',
1216
+ 'showWeekColumn',
1217
+ 'sixWeeks',
1218
+ 'stateful',
1219
+ 'statefulEvents',
1220
+ 'stateId',
1221
+ 'stateProvider',
1222
+ 'strips',
1223
+ 'tab',
1224
+ 'tabBarItems',
1225
+ 'tag',
1226
+ 'tbar',
1227
+ 'textAlign',
1228
+ 'textContent',
1229
+ 'tip',
1230
+ 'todayCls',
1231
+ 'trapFocus',
1232
+ 'type',
1233
+ 'ui',
1234
+ 'weekendCls',
1235
+ 'weekRenderer',
1236
+ 'weekStartDay',
1237
+ 'weight'
1238
+ ];
1239
+
1240
+ static propertyConfigNames = [
1241
+ 'alignSelf',
1242
+ 'animateTimeShift',
1243
+ 'appendTo',
1244
+ 'callOnFunctions',
1245
+ 'catchEventHandlerExceptions',
1246
+ 'cls',
1247
+ 'collapsed',
1248
+ 'column',
1249
+ 'content',
1250
+ 'dataset',
1251
+ 'date',
1252
+ 'disabled',
1253
+ 'dragSelect',
1254
+ 'extraData',
1255
+ 'flex',
1256
+ 'height',
1257
+ 'hidden',
1258
+ 'highlightSelectedWeek',
1259
+ 'html',
1260
+ 'id',
1261
+ 'inputFieldAlign',
1262
+ 'insertBefore',
1263
+ 'insertFirst',
1264
+ 'items',
1265
+ 'keyMap',
1266
+ 'labelPosition',
1267
+ 'layout',
1268
+ 'layoutStyle',
1269
+ 'margin',
1270
+ 'maxHeight',
1271
+ 'maximizeOnMobile',
1272
+ 'maxWidth',
1273
+ 'minHeight',
1274
+ 'minWidth',
1275
+ 'onBeforeDestroy',
1276
+ 'onBeforeHide',
1277
+ 'onBeforeRefresh',
1278
+ 'onBeforeSetRecord',
1279
+ 'onBeforeShow',
1280
+ 'onBeforeStateApply',
1281
+ 'onBeforeStateSave',
1282
+ 'onCatchAll',
1283
+ 'onCellClick',
1284
+ 'onCollapse',
1285
+ 'onDateChange',
1286
+ 'onDestroy',
1287
+ 'onDirtyStateChange',
1288
+ 'onElementCreated',
1289
+ 'onExpand',
1290
+ 'onFocusIn',
1291
+ 'onFocusOut',
1292
+ 'onHide',
1293
+ 'onPaint',
1294
+ 'onReadOnly',
1295
+ 'onRecompose',
1296
+ 'onRefresh',
1297
+ 'onResize',
1298
+ 'onSelectionChange',
1299
+ 'onShow',
1300
+ 'onToolClick',
1301
+ 'onWeekCellClick',
1302
+ 'readOnly',
1303
+ 'record',
1304
+ 'rendition',
1305
+ 'rtl',
1306
+ 'scrollable',
1307
+ 'selection',
1308
+ 'shadePastDates',
1309
+ 'span',
1310
+ 'strictRecordMapping',
1311
+ 'title',
1312
+ 'tools',
1313
+ 'tooltip',
1314
+ 'weekColumnHeader',
1315
+ 'width',
1316
+ 'x',
1317
+ 'y'
1318
+ ];
1319
+
1320
+ static propertyNames = [
1321
+ 'anchorSize',
1322
+ 'focusVisible',
1323
+ 'hasChanges',
1324
+ 'isSettingValues',
1325
+ 'isValid',
1326
+ 'parent',
1327
+ 'state',
1328
+ 'values'
1329
+ ];
1330
+
1331
+ // Component instance
1332
+ instance!: SchedulerDatePicker;
1333
+
1334
+ // Component element
1335
+ element! : HTMLElement;
1336
+
1337
+ componentDidMount(): void {
1338
+ this.instance = createWidget(this);
1339
+ }
1340
+
1341
+ componentWillUnmount(): void {
1342
+ // @ts-ignore
1343
+ this.instance?.destroy?.();
1344
+ }
1345
+
1346
+ /**
1347
+ * Component about to be updated, from changing a prop using state.
1348
+ * React to it depending on what changed and prevent react from re-rendering our component.
1349
+ * @param nextProps
1350
+ * @param nextState
1351
+ * @returns {boolean}
1352
+ */
1353
+ shouldComponentUpdate(nextProps: Readonly<BryntumSchedulerDatePickerProps>, nextState: Readonly<{}>): boolean {
1354
+ return shouldComponentUpdate(this, nextProps, nextState);
1355
+ }
1356
+
1357
+ render(): React.ReactNode {
1358
+
1359
+ const className = `b-react-scheduler-date-picker-container`;
1360
+ return (
1361
+ <div className={className} ref={(element) => (this.element = element!)}></div>
1362
+ );
1363
+
1364
+ }
1365
+ }