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