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