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