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