@bryntum/taskboard-react-thin 7.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/README.md +52 -0
  2. package/lib/BryntumColumnCombo.d.ts +268 -0
  3. package/lib/BryntumColumnCombo.js +203 -0
  4. package/lib/BryntumColumnCombo.js.map +1 -0
  5. package/lib/BryntumColumnFilterField.d.ts +234 -0
  6. package/lib/BryntumColumnFilterField.js +170 -0
  7. package/lib/BryntumColumnFilterField.js.map +1 -0
  8. package/lib/BryntumColumnPickerButton.d.ts +208 -0
  9. package/lib/BryntumColumnPickerButton.js +149 -0
  10. package/lib/BryntumColumnPickerButton.js.map +1 -0
  11. package/lib/BryntumColumnScrollButton.d.ts +208 -0
  12. package/lib/BryntumColumnScrollButton.js +149 -0
  13. package/lib/BryntumColumnScrollButton.js.map +1 -0
  14. package/lib/BryntumProjectCombo.d.ts +269 -0
  15. package/lib/BryntumProjectCombo.js +204 -0
  16. package/lib/BryntumProjectCombo.js.map +1 -0
  17. package/lib/BryntumResourcesCombo.d.ts +268 -0
  18. package/lib/BryntumResourcesCombo.js +203 -0
  19. package/lib/BryntumResourcesCombo.js.map +1 -0
  20. package/lib/BryntumSwimlaneCombo.d.ts +268 -0
  21. package/lib/BryntumSwimlaneCombo.js +203 -0
  22. package/lib/BryntumSwimlaneCombo.js.map +1 -0
  23. package/lib/BryntumSwimlaneFilterField.d.ts +236 -0
  24. package/lib/BryntumSwimlaneFilterField.js +172 -0
  25. package/lib/BryntumSwimlaneFilterField.js.map +1 -0
  26. package/lib/BryntumSwimlanePickerButton.d.ts +208 -0
  27. package/lib/BryntumSwimlanePickerButton.js +149 -0
  28. package/lib/BryntumSwimlanePickerButton.js.map +1 -0
  29. package/lib/BryntumSwimlaneScrollButton.d.ts +208 -0
  30. package/lib/BryntumSwimlaneScrollButton.js +149 -0
  31. package/lib/BryntumSwimlaneScrollButton.js.map +1 -0
  32. package/lib/BryntumTagCombo.d.ts +269 -0
  33. package/lib/BryntumTagCombo.js +204 -0
  34. package/lib/BryntumTagCombo.js.map +1 -0
  35. package/lib/BryntumTaskBoard.d.ts +610 -0
  36. package/lib/BryntumTaskBoard.js +287 -0
  37. package/lib/BryntumTaskBoard.js.map +1 -0
  38. package/lib/BryntumTaskBoardBase.d.ts +609 -0
  39. package/lib/BryntumTaskBoardBase.js +286 -0
  40. package/lib/BryntumTaskBoardBase.js.map +1 -0
  41. package/lib/BryntumTaskBoardFieldFilterPicker.d.ts +201 -0
  42. package/lib/BryntumTaskBoardFieldFilterPicker.js +159 -0
  43. package/lib/BryntumTaskBoardFieldFilterPicker.js.map +1 -0
  44. package/lib/BryntumTaskBoardFieldFilterPickerGroup.d.ts +209 -0
  45. package/lib/BryntumTaskBoardFieldFilterPickerGroup.js +165 -0
  46. package/lib/BryntumTaskBoardFieldFilterPickerGroup.js.map +1 -0
  47. package/lib/BryntumTaskBoardProjectModel.d.ts +218 -0
  48. package/lib/BryntumTaskBoardProjectModel.js +139 -0
  49. package/lib/BryntumTaskBoardProjectModel.js.map +1 -0
  50. package/lib/BryntumTaskColorCombo.d.ts +232 -0
  51. package/lib/BryntumTaskColorCombo.js +169 -0
  52. package/lib/BryntumTaskColorCombo.js.map +1 -0
  53. package/lib/BryntumTaskFilterField.d.ts +236 -0
  54. package/lib/BryntumTaskFilterField.js +172 -0
  55. package/lib/BryntumTaskFilterField.js.map +1 -0
  56. package/lib/BryntumTodoListField.d.ts +230 -0
  57. package/lib/BryntumTodoListField.js +165 -0
  58. package/lib/BryntumTodoListField.js.map +1 -0
  59. package/lib/BryntumUndoRedo.d.ts +188 -0
  60. package/lib/BryntumUndoRedo.js +150 -0
  61. package/lib/BryntumUndoRedo.js.map +1 -0
  62. package/lib/BryntumZoomSlider.d.ts +186 -0
  63. package/lib/BryntumZoomSlider.js +143 -0
  64. package/lib/BryntumZoomSlider.js.map +1 -0
  65. package/lib/WrapperHelper.d.ts +26 -0
  66. package/lib/WrapperHelper.js +569 -0
  67. package/lib/WrapperHelper.js.map +1 -0
  68. package/lib/index.d.ts +21 -0
  69. package/lib/index.js +22 -0
  70. package/lib/index.js.map +1 -0
  71. package/license.pdf +0 -0
  72. package/licenses.md +310 -0
  73. package/package.json +25 -0
  74. package/src/BryntumColumnCombo.tsx +1240 -0
  75. package/src/BryntumColumnFilterField.tsx +1019 -0
  76. package/src/BryntumColumnPickerButton.tsx +896 -0
  77. package/src/BryntumColumnScrollButton.tsx +896 -0
  78. package/src/BryntumProjectCombo.tsx +1241 -0
  79. package/src/BryntumResourcesCombo.tsx +1239 -0
  80. package/src/BryntumSwimlaneCombo.tsx +1239 -0
  81. package/src/BryntumSwimlaneFilterField.tsx +1032 -0
  82. package/src/BryntumSwimlanePickerButton.tsx +896 -0
  83. package/src/BryntumSwimlaneScrollButton.tsx +896 -0
  84. package/src/BryntumTagCombo.tsx +1244 -0
  85. package/src/BryntumTaskBoard.tsx +2021 -0
  86. package/src/BryntumTaskBoardBase.tsx +2019 -0
  87. package/src/BryntumTaskBoardFieldFilterPicker.tsx +930 -0
  88. package/src/BryntumTaskBoardFieldFilterPickerGroup.tsx +983 -0
  89. package/src/BryntumTaskBoardProjectModel.tsx +779 -0
  90. package/src/BryntumTaskColorCombo.tsx +996 -0
  91. package/src/BryntumTaskFilterField.tsx +1032 -0
  92. package/src/BryntumTodoListField.tsx +986 -0
  93. package/src/BryntumUndoRedo.tsx +871 -0
  94. package/src/BryntumZoomSlider.tsx +824 -0
  95. package/src/WrapperHelper.tsx +1125 -0
  96. package/src/index.ts +25 -0
@@ -0,0 +1,930 @@
1
+ /**
2
+ * React wrapper for Bryntum TaskBoardFieldFilterPicker
3
+ */
4
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
5
+ import React, { RefObject } from 'react';
6
+ import { AlignSpec, Base, CollectionFilter, CollectionFilterConfig, ComboConfig, Container, DomConfig, FieldFilterPicker, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, ValueFieldPlaceholders, VueConfig, Widget } from '@bryntum/core-thin';
7
+ import { TaskBoardContainerItemConfig, TaskBoardContainerLayoutConfig, TaskBoardFieldFilterPicker, TaskBoardFieldFilterPickerListeners } from '@bryntum/taskboard-thin';
8
+
9
+ import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
10
+
11
+ export type BryntumTaskBoardFieldFilterPickerProps = {
12
+ // Configs
13
+ /**
14
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
15
+ * content will be placed inside this element.
16
+ * ...
17
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-adopt)
18
+ */
19
+ adopt? : HTMLElement|string
20
+ /**
21
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating).*
22
+ * ...
23
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-align)
24
+ */
25
+ align? : AlignSpec|string
26
+ /**
27
+ * 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
28
+ * flexbox layout. This config allows you to set this widget's
29
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
30
+ */
31
+ alignSelf? : string
32
+ /**
33
+ * *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).*
34
+ * `true` to show a connector arrow pointing to the align target.
35
+ */
36
+ anchor? : boolean
37
+ /**
38
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
39
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#property-element).
40
+ */
41
+ appendTo? : HTMLElement|string
42
+ /**
43
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
44
+ * into an element which will be linked using the `aria-describedby` attribute.
45
+ * ...
46
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-ariaDescription)
47
+ */
48
+ ariaDescription? : string
49
+ /**
50
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
51
+ * the `aria-label` attribute.
52
+ * ...
53
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-ariaLabel)
54
+ */
55
+ ariaLabel? : string
56
+ /**
57
+ * Update assigned [record](https://bryntum.com/products/taskboard/docs/api/Core/widget/Container#config-record) automatically on field changes
58
+ */
59
+ autoUpdateRecord? : boolean
60
+ /**
61
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
62
+ * hierarchy when triggered.
63
+ * ...
64
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-bubbleEvents)
65
+ */
66
+ bubbleEvents? : object
67
+ /**
68
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
69
+ * ...
70
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-callOnFunctions)
71
+ */
72
+ callOnFunctions? : boolean
73
+ /**
74
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
75
+ * application state is undefined. Code which follows the event handler will *not* be executed.
76
+ * ...
77
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-catchEventHandlerExceptions)
78
+ */
79
+ catchEventHandlerExceptions? : boolean
80
+ /**
81
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating).*
82
+ * Set to `true` to centre the Widget in browser viewport space.
83
+ */
84
+ centered? : boolean
85
+ /**
86
+ * Custom CSS classes to add to element.
87
+ * May be specified as a space separated string, or as an object in which property names
88
+ * with truthy values are used as the class names:
89
+ * ...
90
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-cls)
91
+ */
92
+ cls? : string|object
93
+ /**
94
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
95
+ * `style` block.
96
+ * ...
97
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-color)
98
+ */
99
+ color? : string
100
+ /**
101
+ * Programmatic control over which column to start in when used in a grid layout.
102
+ */
103
+ column? : number
104
+ config? : object
105
+ /**
106
+ * *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).*
107
+ * Element, Widget or Rectangle to which this Widget is constrained.
108
+ */
109
+ constrainTo? : HTMLElement|Widget|Rectangle
110
+ /**
111
+ * The HTML content that coexists with sibling elements which may have been added to the
112
+ * [contentElement](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#property-contentElement) by plugins and features.
113
+ * When specifying html, this widget's element will also have the [htmlCls](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-htmlCls)
114
+ * class added to its classList, to allow targeted styling.
115
+ */
116
+ content? : string
117
+ /**
118
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#property-contentElement).
119
+ * May be specified as a space separated string, or as an object in which property names
120
+ * with truthy values are used as the class names:
121
+ * ...
122
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-contentElementCls)
123
+ */
124
+ contentElementCls? : string|object
125
+ /**
126
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
127
+ * field on the expanded record to use for populating this widget's store (if applicable)
128
+ */
129
+ dataField? : string
130
+ /**
131
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
132
+ */
133
+ dataset? : Record<string, string>
134
+ /**
135
+ * The date format string used to display dates in value input fields. Defaults to the current locale's
136
+ * `FieldFilterPicker.dateFormat` value.
137
+ */
138
+ dateFormat? : string
139
+ /**
140
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
141
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
142
+ */
143
+ defaultBindProperty? : string
144
+ /**
145
+ * A [query](https://bryntum.com/products/taskboard/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
146
+ * focus should be directed by default.
147
+ * ...
148
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-defaultFocus)
149
+ * @param {Core.widget.Widget} widget Widget passed to method
150
+ * @returns {boolean} truthy value if widget is the default one
151
+ */
152
+ defaultFocus? : ((widget: Widget) => boolean)|string
153
+ /**
154
+ * A config object containing default settings to apply to all child widgets.
155
+ */
156
+ defaults? : TaskBoardContainerItemConfig
157
+ /**
158
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
159
+ * ...
160
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-detectCSSCompatibilityIssues)
161
+ */
162
+ detectCSSCompatibilityIssues? : boolean
163
+ /**
164
+ * Make the entire picker disabled.
165
+ */
166
+ disabled? : boolean
167
+ /**
168
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/taskboard/docs/api/Core/widget/Panel)
169
+ * [strips collection](https://bryntum.com/products/taskboard/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
170
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
171
+ * body. Such widgets are called "edge strips".
172
+ * ...
173
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-dock)
174
+ */
175
+ dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
176
+ /**
177
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating).*
178
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
179
+ * property which controls when a drag should start.
180
+ * ...
181
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-draggable)
182
+ */
183
+ draggable? : boolean|{
184
+ handleSelector?: string
185
+ }
186
+ /**
187
+ * An object specifying attributes to assign to the root element of this widget.
188
+ * Set `null` value to attribute to remove it.
189
+ * ...
190
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-elementAttributes)
191
+ */
192
+ elementAttributes? : Record<string, string|null>
193
+ extraData? : any
194
+ /**
195
+ * Configuration object for the [CollectionFilter](https://bryntum.com/products/taskboard/docs/api/Core/util/CollectionFilter) displayed
196
+ * and editable in this picker.
197
+ * ...
198
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-filter)
199
+ */
200
+ filter? : CollectionFilterConfig
201
+ /**
202
+ * 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
203
+ * flexbox layout. This config allows you to set this widget's
204
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
205
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
206
+ * numeric-only values are interpreted as the `flex-grow` value.
207
+ */
208
+ flex? : number|string
209
+ /**
210
+ * Set to `true` to move the widget out of the document flow and position it
211
+ * absolutely in browser viewport space.
212
+ */
213
+ floating? : boolean
214
+ /**
215
+ * Optional function that modifies the configuration of value fields shown for a filter. The default configuration
216
+ * is received as an argument and the returned value will be used as the final configuration. For example:
217
+ * ...
218
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-getValueFieldConfig)
219
+ * @param {Core.util.CollectionFilter} filter The filter being displayed
220
+ * @param {TaskBoardContainerItemConfig} fieldConfig Configuration object for the value field
221
+ * @returns {TaskBoardContainerItemConfig} the resulting configuration
222
+ */
223
+ getValueFieldConfig? : (filter: CollectionFilter, fieldConfig: TaskBoardContainerItemConfig) => TaskBoardContainerItemConfig
224
+ /**
225
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
226
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
227
+ * cases this config is convenient.
228
+ */
229
+ height? : string|number
230
+ /**
231
+ * Configure with true to make widget initially hidden.
232
+ */
233
+ hidden? : boolean
234
+ /**
235
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating).*
236
+ * ...
237
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-hideAnimation)
238
+ */
239
+ hideAnimation? : boolean|object
240
+ /**
241
+ * Specify `true` to make this container hide when it has no visible children (Either empty
242
+ * or all children hidden).
243
+ * ...
244
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-hideWhenEmpty)
245
+ */
246
+ hideWhenEmpty? : boolean
247
+ /**
248
+ * The HTML to display initially or a function returning the markup (called at widget construction time).
249
+ * ...
250
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-html)
251
+ * @param {Core.widget.Widget} widget The calling Widget
252
+ * @returns {string}
253
+ */
254
+ html? : string|((widget: Widget) => string)|DomConfig|DomConfig[]|VueConfig
255
+ /**
256
+ * The CSS class(es) to add when HTML content is being applied to this widget.
257
+ */
258
+ htmlCls? : string|object
259
+ /**
260
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
261
+ */
262
+ id? : string
263
+ /**
264
+ * Determines if the widgets read-only state should be controlled by its parent.
265
+ * ...
266
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-ignoreParentReadOnly)
267
+ */
268
+ ignoreParentReadOnly? : boolean
269
+ /**
270
+ * Convenience setting to align input fields of child widgets. By default, the Field input element is
271
+ * placed immediately following the `label`. If you prefer to have all input fields aligned to the
272
+ * right, set this config to `'end'`.
273
+ * ...
274
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-inputFieldAlign)
275
+ */
276
+ inputFieldAlign? : 'start'|'end'
277
+ /**
278
+ * 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.
279
+ */
280
+ insertBefore? : HTMLElement|string
281
+ /**
282
+ * 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.
283
+ */
284
+ insertFirst? : HTMLElement|string
285
+ /**
286
+ * An optional CSS class to add to child items of this container.
287
+ */
288
+ itemCls? : string
289
+ /**
290
+ * An object containing typed child widget config objects or Widgets. May also be specified
291
+ * as an array.
292
+ * ...
293
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-items)
294
+ */
295
+ items? : Record<string, TaskBoardContainerItemConfig|MenuItemEntry>|(TaskBoardContainerItemConfig|MenuItemEntry|Widget)[]
296
+ /**
297
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
298
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
299
+ * are the name of the instance method to call when the keystroke is received.
300
+ * ...
301
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-keyMap)
302
+ */
303
+ keyMap? : Record<string, KeyMapConfig>
304
+ /**
305
+ * Convenience setting to use same label placement on all child widgets.
306
+ * ...
307
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-labelPosition)
308
+ */
309
+ labelPosition? : 'before'|'above'|'align-before'|'auto'|null
310
+ /**
311
+ * The short name of a helper class which manages rendering and styling of child items.
312
+ * ...
313
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-layout)
314
+ */
315
+ layout? : string|TaskBoardContainerLayoutConfig
316
+ /**
317
+ * The CSS style properties to apply to the [contentElement](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#property-contentElement).
318
+ * ...
319
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-layoutStyle)
320
+ */
321
+ layoutStyle? : object
322
+ /**
323
+ * 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
324
+ * instances only when this Container is rendered, rather than eagerly at construct time.
325
+ * ...
326
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-lazyItems)
327
+ */
328
+ lazyItems? : Record<string, TaskBoardContainerItemConfig>|TaskBoardContainerItemConfig[]|Widget[]
329
+ /**
330
+ * The listener set for this object.
331
+ * ...
332
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-listeners)
333
+ */
334
+ listeners? : TaskBoardFieldFilterPickerListeners
335
+ /**
336
+ * A class translations of which are used for translating this entity.
337
+ * This is often used when translations of an item are defined on its container class.
338
+ * For example:
339
+ * ...
340
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-localeClass)
341
+ */
342
+ localeClass? : typeof Base
343
+ /**
344
+ * Set to `false` to disable localization of this object.
345
+ */
346
+ localizable? : boolean
347
+ /**
348
+ * List of properties which values should be translated automatically upon a locale applying.
349
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
350
+ * you could use 'localeKey' meta configuration.
351
+ * Example:
352
+ * ...
353
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-localizableProperties)
354
+ */
355
+ localizableProperties? : string[]
356
+ /**
357
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
358
+ * numeric-only values are interpreted as pixels.
359
+ */
360
+ margin? : number|string
361
+ /**
362
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/taskboard/docs/api/Core/widget/Mask) created for the
363
+ * [masked](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
364
+ * values.
365
+ */
366
+ maskDefaults? : MaskConfig
367
+ /**
368
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
369
+ * [Mask](https://bryntum.com/products/taskboard/docs/api/Core/widget/Mask) config object.
370
+ */
371
+ masked? : boolean|string|MaskConfig
372
+ /**
373
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
374
+ * like [height](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
375
+ */
376
+ maxHeight? : string|number
377
+ /**
378
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating).*
379
+ * ...
380
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-maximizeOnMobile)
381
+ */
382
+ maximizeOnMobile? : number|string
383
+ /**
384
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
385
+ * like [width](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
386
+ */
387
+ maxWidth? : string|number
388
+ /**
389
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
390
+ * like [height](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
391
+ */
392
+ minHeight? : string|number
393
+ /**
394
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
395
+ * like [width](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
396
+ */
397
+ minWidth? : string|number
398
+ /**
399
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
400
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
401
+ * layout.
402
+ * ...
403
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-monitorResize)
404
+ */
405
+ monitorResize? : boolean|{
406
+ immediate?: boolean
407
+ }
408
+ /**
409
+ * 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)
410
+ * config. For example, a specialized [Menu](https://bryntum.com/products/taskboard/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
411
+ * value defined like this:
412
+ * ...
413
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-namedItems)
414
+ */
415
+ namedItems? : Record<string, TaskBoardContainerItemConfig>
416
+ /**
417
+ * Make only the operator selector readOnly.
418
+ */
419
+ operatorLocked? : boolean
420
+ /**
421
+ * Overrides the built-in list of operators that are available for selection. Specify operators as
422
+ * an object with data types as keys and lists of operators as values, like this:
423
+ * ...
424
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-operators)
425
+ */
426
+ operators? : object
427
+ /**
428
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
429
+ * [items](https://bryntum.com/products/taskboard/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
430
+ * the owner is <strong>always</strong> the encapsulating Container.
431
+ * ...
432
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-owner)
433
+ */
434
+ owner? : Widget|any
435
+ /**
436
+ * 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
437
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
438
+ * widget's [contentElement](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#property-contentElement).
439
+ * ...
440
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-positioned)
441
+ */
442
+ positioned? : boolean
443
+ /**
444
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
445
+ * menu on click etc, since the tooltip would be displayed at the same time.
446
+ */
447
+ preventTooltipOnTouch? : boolean
448
+ /**
449
+ * Optional configuration for the property selector [Combo](https://bryntum.com/products/taskboard/docs/api/Core/widget/Combo).
450
+ */
451
+ propertyFieldConfig? : ComboConfig
452
+ /**
453
+ * Make only the property selector readOnly.
454
+ */
455
+ propertyLocked? : boolean
456
+ /**
457
+ * Make the entire picker read-only.
458
+ */
459
+ readOnly? : boolean
460
+ /**
461
+ * [Record](https://bryntum.com/products/taskboard/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
462
+ * ...
463
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-record)
464
+ */
465
+ record? : Model
466
+ relayStoreEvents? : boolean
467
+ /**
468
+ * Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
469
+ * `type`.
470
+ * ...
471
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-rendition)
472
+ */
473
+ rendition? : string|Record<string, string>|null
474
+ /**
475
+ * Configure as `true` to have the component display a translucent ripple when its
476
+ * [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
477
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
478
+ * ...
479
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-ripple)
480
+ */
481
+ ripple? : boolean|{
482
+ delegate?: string
483
+ color?: string
484
+ radius?: number
485
+ clip?: string
486
+ }
487
+ /**
488
+ * 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`
489
+ */
490
+ rootElement? : ShadowRoot|HTMLElement
491
+ /**
492
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
493
+ * ...
494
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-rtl)
495
+ */
496
+ rtl? : boolean
497
+ /**
498
+ * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll
499
+ * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
500
+ * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
501
+ * CSS overflow properties thus:
502
+ * ...
503
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-scrollable)
504
+ */
505
+ scrollable? : boolean|ScrollerConfig|Scroller
506
+ /**
507
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
508
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
509
+ */
510
+ scrollAction? : 'hide'|'realign'|null
511
+ /**
512
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating).*
513
+ * ...
514
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-showAnimation)
515
+ */
516
+ showAnimation? : boolean|object
517
+ /**
518
+ * 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)
519
+ */
520
+ showTooltipWhenDisabled? : boolean
521
+ /**
522
+ * Programmatic control over how many columns to span when used in a grid layout.
523
+ */
524
+ span? : number
525
+ /**
526
+ * 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),
527
+ * without falling back to `ref`.
528
+ */
529
+ strictRecordMapping? : boolean
530
+ /**
531
+ * 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
532
+ * [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
533
+ * this widget:
534
+ * ...
535
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-tab)
536
+ */
537
+ tab? : boolean|TabConfig
538
+ /**
539
+ * When this container is used as a tab in a TabPanel, these items are added to the
540
+ * [TabBar](https://bryntum.com/products/taskboard/docs/api/Core/widget/TabBar) when this container is the active tab.
541
+ * ...
542
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-tabBarItems)
543
+ */
544
+ tabBarItems? : ToolbarItems[]|Widget[]
545
+ /**
546
+ * The tag name of this Widget's root element
547
+ */
548
+ tag? : string
549
+ /**
550
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
551
+ * ...
552
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-textAlign)
553
+ */
554
+ textAlign? : 'left'|'center'|'right'|'start'|'end'
555
+ /**
556
+ * Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
557
+ * which specifies a default max-width that makes long text more readable.
558
+ * ...
559
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-textContent)
560
+ */
561
+ textContent? : boolean
562
+ /**
563
+ * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)
564
+ */
565
+ title? : string
566
+ /**
567
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
568
+ * ...
569
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-tooltip)
570
+ */
571
+ tooltip? : string|TooltipConfig|null
572
+ /**
573
+ * Whether to raise [change](https://bryntum.com/products/taskboard/docs/api/Core/widget/FieldFilterPicker#event-change) events as the user types into a value field. If `false`,
574
+ * [change](https://bryntum.com/products/taskboard/docs/api/Core/widget/FieldFilterPicker#event-change) events will be raised only when the value input field's own `change` event
575
+ * occurs, for example on field blur.
576
+ */
577
+ triggerChangeOnInput? : boolean
578
+ type? : 'taskboardfieldfilterpicker'
579
+ /**
580
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
581
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
582
+ * values are used as the class names.
583
+ * ...
584
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-ui)
585
+ */
586
+ ui? : string|object
587
+ /**
588
+ * Optional [ValueFieldPlaceholders](https://bryntum.com/products/taskboard/docs/api/Core/widget/FieldFilterPicker#typedef-ValueFieldPlaceholders) object specifying custom placeholder text for value input fields.
589
+ */
590
+ valueFieldPlaceholders? : ValueFieldPlaceholders
591
+ /**
592
+ * Make only the value input(s) readOnly.
593
+ */
594
+ valueLocked? : boolean
595
+ /**
596
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/taskboard/docs/api/Core/widget/Container).
597
+ * Higher weights go further down.
598
+ */
599
+ weight? : number
600
+ /**
601
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
602
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
603
+ * this config is convenient.
604
+ */
605
+ width? : string|number
606
+ /**
607
+ * The x position for the widget.
608
+ * ...
609
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-x)
610
+ */
611
+ x? : number
612
+ /**
613
+ * The y position for the widget.
614
+ * ...
615
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#config-y)
616
+ */
617
+ y? : number
618
+
619
+ // Events
620
+ /**
621
+ * Fires before an object is destroyed.
622
+ * @param {object} event Event object
623
+ * @param {Core.Base} event.source The Object that is being destroyed.
624
+ */
625
+ onBeforeDestroy? : ((event: { source: Base }) => void)|string
626
+ /**
627
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
628
+ * @param {object} event Event object
629
+ * @param {Core.widget.Widget} event.source The widget being hidden.
630
+ */
631
+ onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
632
+ /**
633
+ * Fired before this container will load record values into its child fields. This is useful if you
634
+ * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
635
+ * @param {object} event Event object
636
+ * @param {Core.widget.Container} event.source The container
637
+ * @param {Core.data.Model} event.record The record
638
+ */
639
+ onBeforeSetRecord? : ((event: { source: Container, record: Model }) => void)|string
640
+ /**
641
+ * Triggered before a widget is shown. Return `false` to prevent the action.
642
+ * @param {object} event Event object
643
+ * @param {Core.widget.Widget,any} event.source The widget being shown
644
+ */
645
+ onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
646
+ /**
647
+ * Fires when any other event is fired from the object.
648
+ * ...
649
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#event-catchAll)
650
+ * @param {object} event Event object
651
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
652
+ * @param {string} event.event.type The type of the event which is caught by the listener
653
+ */
654
+ onCatchAll? : ((event: {[key: string]: any, type: string}) => void)|string
655
+ /**
656
+ * Fires when the filter is modified.
657
+ * @param {object} event Event object
658
+ * @param {Core.widget.FieldFilterPicker} event.source The FieldFilterPicker instance that fired the event.
659
+ * @param {any[]} event.filter The [CollectionFilter](https://bryntum.com/products/taskboard/docs/api/Core/util/CollectionFilter) configuration object for the filter represented by this [FieldFilterPicker](https://bryntum.com/products/taskboard/docs/api/Core/widget/FieldFilterPicker).
660
+ * @param {boolean} event.isValid Whether the current configuration object represents a complete and valid filter
661
+ */
662
+ onChange? : ((event: { source: FieldFilterPicker, filter: any[], isValid: boolean }) => void)|string
663
+ /**
664
+ * Fires when an object is destroyed.
665
+ * @param {object} event Event object
666
+ * @param {Core.Base} event.source The Object that is being destroyed.
667
+ */
668
+ onDestroy? : ((event: { source: Base }) => void)|string
669
+ /**
670
+ * 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
671
+ * @param {object} event Event object
672
+ * @param {Core.widget.Container} event.source The container.
673
+ * @param {boolean} event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
674
+ */
675
+ onDirtyStateChange? : ((event: { source: Container, dirty: boolean }) => void)|string
676
+ /**
677
+ * Triggered when a widget's [element](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#property-element) is available.
678
+ * @param {object} event Event object
679
+ * @param {HTMLElement} event.element The Widget's element.
680
+ */
681
+ onElementCreated? : ((event: { element: HTMLElement }) => void)|string
682
+ /**
683
+ * Fired when focus enters this Widget.
684
+ * @param {object} event Event object
685
+ * @param {Core.widget.Widget} event.source This Widget
686
+ * @param {HTMLElement} event.fromElement The element which lost focus.
687
+ * @param {HTMLElement} event.toElement The element which gained focus.
688
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
689
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
690
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
691
+ */
692
+ onFocusIn? : ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string
693
+ /**
694
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
695
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
696
+ * will not trigger this event. This is when focus exits this widget completely.
697
+ * @param {object} event Event object
698
+ * @param {Core.widget.Widget} event.source This Widget
699
+ * @param {HTMLElement} event.fromElement The element which lost focus.
700
+ * @param {HTMLElement} event.toElement The element which gained focus.
701
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
702
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
703
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
704
+ */
705
+ onFocusOut? : ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string
706
+ /**
707
+ * Triggered after a widget was hidden
708
+ * @param {object} event Event object
709
+ * @param {Core.widget.Widget} event.source The widget
710
+ */
711
+ onHide? : ((event: { source: Widget }) => void)|string
712
+ /**
713
+ * Triggered when a widget which had been in a non-visible state for any reason
714
+ * achieves visibility.
715
+ * ...
716
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/TaskBoardFieldFilterPicker#event-paint)
717
+ * @param {object} event Event object
718
+ * @param {Core.widget.Widget} event.source The widget being painted.
719
+ * @param {boolean} event.firstPaint `true` if this is the first paint.
720
+ */
721
+ onPaint? : ((event: { source: Widget, firstPaint: boolean }) => void)|string
722
+ /**
723
+ * Fired when a Widget's read only state is toggled
724
+ * @param {object} event Event object
725
+ * @param {boolean} event.readOnly Read only or not
726
+ */
727
+ onReadOnly? : ((event: { readOnly: boolean }) => void)|string
728
+ /**
729
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
730
+ * 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.
731
+ */
732
+ onRecompose? : (() => void)|string
733
+ /**
734
+ * 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`*.
735
+ * @param {object} event Event object
736
+ * @param {Core.widget.Widget} event.source This Widget
737
+ * @param {number} event.width The new width
738
+ * @param {number} event.height The new height
739
+ * @param {number} event.oldWidth The old width
740
+ * @param {number} event.oldHeight The old height
741
+ */
742
+ onResize? : ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string
743
+ /**
744
+ * Triggered after a widget is shown.
745
+ * @param {object} event Event object
746
+ * @param {Core.widget.Widget} event.source The widget
747
+ */
748
+ onShow? : ((event: { source: Widget }) => void)|string
749
+
750
+ }
751
+
752
+ export class BryntumTaskBoardFieldFilterPicker extends React.Component<BryntumTaskBoardFieldFilterPickerProps> {
753
+
754
+ static instanceClass = TaskBoardFieldFilterPicker;
755
+
756
+ static instanceName = 'TaskBoardFieldFilterPicker';
757
+
758
+ processWidgetContent = processWidgetContent;
759
+
760
+ static configNames = [
761
+ 'adopt',
762
+ 'align',
763
+ 'anchor',
764
+ 'ariaDescription',
765
+ 'ariaLabel',
766
+ 'autoUpdateRecord',
767
+ 'bubbleEvents',
768
+ 'centered',
769
+ 'color',
770
+ 'config',
771
+ 'constrainTo',
772
+ 'contentElementCls',
773
+ 'dataField',
774
+ 'dateFormat',
775
+ 'defaultBindProperty',
776
+ 'defaultFocus',
777
+ 'defaults',
778
+ 'detectCSSCompatibilityIssues',
779
+ 'dock',
780
+ 'draggable',
781
+ 'elementAttributes',
782
+ 'filter',
783
+ 'floating',
784
+ 'getValueFieldConfig',
785
+ 'hideAnimation',
786
+ 'hideWhenEmpty',
787
+ 'htmlCls',
788
+ 'ignoreParentReadOnly',
789
+ 'itemCls',
790
+ 'lazyItems',
791
+ 'listeners',
792
+ 'localeClass',
793
+ 'localizable',
794
+ 'localizableProperties',
795
+ 'maskDefaults',
796
+ 'masked',
797
+ 'monitorResize',
798
+ 'namedItems',
799
+ 'operatorLocked',
800
+ 'operators',
801
+ 'owner',
802
+ 'positioned',
803
+ 'preventTooltipOnTouch',
804
+ 'propertyFieldConfig',
805
+ 'propertyLocked',
806
+ 'relayStoreEvents',
807
+ 'ripple',
808
+ 'rootElement',
809
+ 'scrollAction',
810
+ 'showAnimation',
811
+ 'showTooltipWhenDisabled',
812
+ 'tab',
813
+ 'tabBarItems',
814
+ 'tag',
815
+ 'textAlign',
816
+ 'textContent',
817
+ 'title',
818
+ 'triggerChangeOnInput',
819
+ 'type',
820
+ 'ui',
821
+ 'valueFieldPlaceholders',
822
+ 'valueLocked',
823
+ 'weight'
824
+ ];
825
+
826
+ static propertyConfigNames = [
827
+ 'alignSelf',
828
+ 'appendTo',
829
+ 'callOnFunctions',
830
+ 'catchEventHandlerExceptions',
831
+ 'cls',
832
+ 'column',
833
+ 'content',
834
+ 'dataset',
835
+ 'disabled',
836
+ 'extraData',
837
+ 'flex',
838
+ 'height',
839
+ 'hidden',
840
+ 'html',
841
+ 'id',
842
+ 'inputFieldAlign',
843
+ 'insertBefore',
844
+ 'insertFirst',
845
+ 'items',
846
+ 'keyMap',
847
+ 'labelPosition',
848
+ 'layout',
849
+ 'layoutStyle',
850
+ 'margin',
851
+ 'maxHeight',
852
+ 'maximizeOnMobile',
853
+ 'maxWidth',
854
+ 'minHeight',
855
+ 'minWidth',
856
+ 'onBeforeDestroy',
857
+ 'onBeforeHide',
858
+ 'onBeforeSetRecord',
859
+ 'onBeforeShow',
860
+ 'onCatchAll',
861
+ 'onChange',
862
+ 'onDestroy',
863
+ 'onDirtyStateChange',
864
+ 'onElementCreated',
865
+ 'onFocusIn',
866
+ 'onFocusOut',
867
+ 'onHide',
868
+ 'onPaint',
869
+ 'onReadOnly',
870
+ 'onRecompose',
871
+ 'onResize',
872
+ 'onShow',
873
+ 'readOnly',
874
+ 'record',
875
+ 'rendition',
876
+ 'rtl',
877
+ 'scrollable',
878
+ 'span',
879
+ 'strictRecordMapping',
880
+ 'tooltip',
881
+ 'width',
882
+ 'x',
883
+ 'y'
884
+ ];
885
+
886
+ static propertyNames = [
887
+ 'anchorSize',
888
+ 'focusVisible',
889
+ 'hasChanges',
890
+ 'isSettingValues',
891
+ 'isValid',
892
+ 'parent',
893
+ 'values'
894
+ ];
895
+
896
+ // Component instance
897
+ instance!: TaskBoardFieldFilterPicker;
898
+
899
+ // Component element
900
+ element! : HTMLElement;
901
+
902
+ componentDidMount(): void {
903
+ this.instance = createWidget(this);
904
+ }
905
+
906
+ componentWillUnmount(): void {
907
+ // @ts-ignore
908
+ this.instance?.destroy?.();
909
+ }
910
+
911
+ /**
912
+ * Component about to be updated, from changing a prop using state.
913
+ * React to it depending on what changed and prevent react from re-rendering our component.
914
+ * @param nextProps
915
+ * @param nextState
916
+ * @returns {boolean}
917
+ */
918
+ shouldComponentUpdate(nextProps: Readonly<BryntumTaskBoardFieldFilterPickerProps>, nextState: Readonly<{}>): boolean {
919
+ return shouldComponentUpdate(this, nextProps, nextState);
920
+ }
921
+
922
+ render(): React.ReactNode {
923
+
924
+ const className = `b-react-task-board-field-filter-picker-container`;
925
+ return (
926
+ <div className={className} ref={(element) => (this.element = element!)}></div>
927
+ );
928
+
929
+ }
930
+ }