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