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