@bryntum/grid-react-thin 7.2.4 → 7.3.0
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.
- package/README.md +4 -4
- package/lib/BryntumAIFilterField.d.ts +7 -15
- package/lib/BryntumAIFilterField.js +1 -2
- package/lib/BryntumAIFilterField.js.map +1 -1
- package/lib/BryntumChecklistFilterCombo.d.ts +10 -18
- package/lib/BryntumChecklistFilterCombo.js +1 -2
- package/lib/BryntumChecklistFilterCombo.js.map +1 -1
- package/lib/BryntumGrid.d.ts +22 -33
- package/lib/BryntumGrid.js +2 -2
- package/lib/BryntumGrid.js.map +1 -1
- package/lib/BryntumGridBase.d.ts +22 -33
- package/lib/BryntumGridBase.js +2 -2
- package/lib/BryntumGridBase.js.map +1 -1
- package/lib/BryntumGridChartDesigner.d.ts +6 -14
- package/lib/BryntumGridChartDesigner.js +1 -2
- package/lib/BryntumGridChartDesigner.js.map +1 -1
- package/lib/BryntumGridFieldFilterPicker.d.ts +7 -14
- package/lib/BryntumGridFieldFilterPicker.js +2 -5
- package/lib/BryntumGridFieldFilterPicker.js.map +1 -1
- package/lib/BryntumGridFieldFilterPickerGroup.d.ts +7 -14
- package/lib/BryntumGridFieldFilterPickerGroup.js +2 -5
- package/lib/BryntumGridFieldFilterPickerGroup.js.map +1 -1
- package/lib/BryntumGroupBar.d.ts +6 -14
- package/lib/BryntumGroupBar.js +1 -2
- package/lib/BryntumGroupBar.js.map +1 -1
- package/lib/BryntumTreeCombo.d.ts +10 -18
- package/lib/BryntumTreeCombo.js +1 -2
- package/lib/BryntumTreeCombo.js.map +1 -1
- package/lib/BryntumTreeGrid.d.ts +22 -33
- package/lib/BryntumTreeGrid.js +2 -2
- package/lib/BryntumTreeGrid.js.map +1 -1
- package/lib/WrapperHelper.js +2 -2
- package/lib/WrapperHelper.js.map +1 -1
- package/package.json +1 -1
- package/src/BryntumAIFilterField.tsx +74 -119
- package/src/BryntumChecklistFilterCombo.tsx +91 -150
- package/src/BryntumGrid.tsx +204 -291
- package/src/BryntumGridBase.tsx +204 -291
- package/src/BryntumGridChartDesigner.tsx +59 -95
- package/src/BryntumGridFieldFilterPicker.tsx +82 -132
- package/src/BryntumGridFieldFilterPickerGroup.tsx +81 -130
- package/src/BryntumGroupBar.tsx +65 -105
- package/src/BryntumTreeCombo.tsx +92 -152
- package/src/BryntumTreeGrid.tsx +204 -291
- package/src/WrapperHelper.tsx +2 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
5
5
|
import React, { RefObject } from 'react';
|
|
6
|
-
import { AlignSpec, Base, CollectionFilter, CollectionFilterConfig, Color, ComboConfig, Container, DomConfig, FieldFilterPicker, FieldOption, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, ValueFieldPlaceholders, VueConfig, Widget } from '@bryntum/core-thin';
|
|
6
|
+
import { AlignSpec, Base, CollectionFilter, CollectionFilterConfig, Color, ComboConfig, Container, DomConfig, FieldFilterPicker, FieldOption, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, ValueFieldPlaceholders, VueConfig, Widget } from '@bryntum/core-thin';
|
|
7
7
|
import { GridContainerItemConfig, GridContainerLayoutConfig, Grid, GridFieldFilterPicker, GridFieldFilterPickerListeners } from '@bryntum/grid-thin';
|
|
8
8
|
|
|
9
9
|
import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
|
|
@@ -13,14 +13,12 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
13
13
|
/**
|
|
14
14
|
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
15
15
|
* content will be placed inside this element.
|
|
16
|
-
* ...
|
|
17
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-adopt)
|
|
16
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-adopt)
|
|
18
17
|
*/
|
|
19
18
|
adopt? : HTMLElement|string
|
|
20
19
|
/**
|
|
21
20
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
22
|
-
* ...
|
|
23
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-align)
|
|
21
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-align)
|
|
24
22
|
*/
|
|
25
23
|
align? : AlignSpec|string
|
|
26
24
|
/**
|
|
@@ -33,8 +31,7 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
33
31
|
* Optional array of field names that are allowed as selectable properties for filters.
|
|
34
32
|
* This is a subset of the field names found in the [grid](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-grid)'s columns. When supplied, only
|
|
35
33
|
* the named fields will be shown in the property selector combo.
|
|
36
|
-
* ...
|
|
37
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-allowedFieldNames)
|
|
34
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-allowedFieldNames)
|
|
38
35
|
*/
|
|
39
36
|
allowedFieldNames? : string[]
|
|
40
37
|
/**
|
|
@@ -50,15 +47,13 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
50
47
|
/**
|
|
51
48
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
52
49
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
53
|
-
* ...
|
|
54
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-ariaDescription)
|
|
50
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-ariaDescription)
|
|
55
51
|
*/
|
|
56
52
|
ariaDescription? : string
|
|
57
53
|
/**
|
|
58
54
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
59
55
|
* the `aria-label` attribute.
|
|
60
|
-
* ...
|
|
61
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-ariaLabel)
|
|
56
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-ariaLabel)
|
|
62
57
|
*/
|
|
63
58
|
ariaLabel? : string
|
|
64
59
|
/**
|
|
@@ -72,21 +67,18 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
72
67
|
/**
|
|
73
68
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
74
69
|
* hierarchy when triggered.
|
|
75
|
-
* ...
|
|
76
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-bubbleEvents)
|
|
70
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-bubbleEvents)
|
|
77
71
|
*/
|
|
78
72
|
bubbleEvents? : object
|
|
79
73
|
/**
|
|
80
74
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
81
|
-
* ...
|
|
82
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-callOnFunctions)
|
|
75
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-callOnFunctions)
|
|
83
76
|
*/
|
|
84
77
|
callOnFunctions? : boolean
|
|
85
78
|
/**
|
|
86
79
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
87
80
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
88
|
-
* ...
|
|
89
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-catchEventHandlerExceptions)
|
|
81
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-catchEventHandlerExceptions)
|
|
90
82
|
*/
|
|
91
83
|
catchEventHandlerExceptions? : boolean
|
|
92
84
|
/**
|
|
@@ -98,15 +90,13 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
98
90
|
* Custom CSS classes to add to element.
|
|
99
91
|
* May be specified as a space separated string, or as an object in which property names
|
|
100
92
|
* with truthy values are used as the class names:
|
|
101
|
-
* ...
|
|
102
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-cls)
|
|
93
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-cls)
|
|
103
94
|
*/
|
|
104
95
|
cls? : string|object
|
|
105
96
|
/**
|
|
106
97
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
107
98
|
* `style` block.
|
|
108
|
-
* ...
|
|
109
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-color)
|
|
99
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-color)
|
|
110
100
|
*/
|
|
111
101
|
color? : Color
|
|
112
102
|
/**
|
|
@@ -130,8 +120,7 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
130
120
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
|
|
131
121
|
* May be specified as a space separated string, or as an object in which property names
|
|
132
122
|
* with truthy values are used as the class names:
|
|
133
|
-
* ...
|
|
134
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-contentElementCls)
|
|
123
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-contentElementCls)
|
|
135
124
|
*/
|
|
136
125
|
contentElementCls? : string|object
|
|
137
126
|
/**
|
|
@@ -156,8 +145,7 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
156
145
|
/**
|
|
157
146
|
* A [query](https://bryntum.com/products/grid/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
|
|
158
147
|
* focus should be directed by default.
|
|
159
|
-
* ...
|
|
160
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-defaultFocus)
|
|
148
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-defaultFocus)
|
|
161
149
|
* @param {Core.widget.Widget} widget Widget passed to method
|
|
162
150
|
* @returns {boolean} truthy value if widget is the default one
|
|
163
151
|
*/
|
|
@@ -167,9 +155,9 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
167
155
|
*/
|
|
168
156
|
defaults? : GridContainerItemConfig
|
|
169
157
|
/**
|
|
170
|
-
* Check for CSS compatibility issues
|
|
171
|
-
*
|
|
172
|
-
* [
|
|
158
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
159
|
+
* checks:
|
|
160
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-detectCSSCompatibilityIssues)
|
|
173
161
|
*/
|
|
174
162
|
detectCSSCompatibilityIssues? : boolean
|
|
175
163
|
/**
|
|
@@ -181,40 +169,34 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
181
169
|
* [strips collection](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
182
170
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
183
171
|
* body. Such widgets are called "edge strips".
|
|
184
|
-
* ...
|
|
185
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-dock)
|
|
172
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-dock)
|
|
186
173
|
*/
|
|
187
174
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
188
175
|
/**
|
|
189
176
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
190
177
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
191
178
|
* property which controls when a drag should start.
|
|
192
|
-
* ...
|
|
193
|
-
*
|
|
179
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-draggable)
|
|
180
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
194
181
|
*/
|
|
195
|
-
draggable? : boolean|
|
|
196
|
-
handleSelector?: string
|
|
197
|
-
}
|
|
182
|
+
draggable? : boolean|object
|
|
198
183
|
/**
|
|
199
184
|
* An object specifying attributes to assign to the root element of this widget.
|
|
200
185
|
* Set `null` value to attribute to remove it.
|
|
201
|
-
* ...
|
|
202
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-elementAttributes)
|
|
186
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-elementAttributes)
|
|
203
187
|
*/
|
|
204
188
|
elementAttributes? : Record<string, string|null>
|
|
205
189
|
extraData? : any
|
|
206
190
|
/**
|
|
207
191
|
* Dictionary of [FieldOption](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#typedef-FieldOption) representing the fields against which filters can be defined,
|
|
208
192
|
* keyed by field name.
|
|
209
|
-
* ...
|
|
210
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-fields)
|
|
193
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-fields)
|
|
211
194
|
*/
|
|
212
195
|
fields? : Record<string, FieldOption>
|
|
213
196
|
/**
|
|
214
197
|
* Configuration object for the [CollectionFilter](https://bryntum.com/products/grid/docs/api/Core/util/CollectionFilter) displayed
|
|
215
198
|
* and editable in this picker.
|
|
216
|
-
* ...
|
|
217
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-filter)
|
|
199
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-filter)
|
|
218
200
|
*/
|
|
219
201
|
filter? : CollectionFilterConfig
|
|
220
202
|
/**
|
|
@@ -233,8 +215,7 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
233
215
|
/**
|
|
234
216
|
* Optional function that modifies the configuration of value fields shown for a filter. The default configuration
|
|
235
217
|
* is received as an argument and the returned value will be used as the final configuration. For example:
|
|
236
|
-
* ...
|
|
237
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-getValueFieldConfig)
|
|
218
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-getValueFieldConfig)
|
|
238
219
|
* @param {Core.util.CollectionFilter} filter The filter being displayed
|
|
239
220
|
* @param {GridContainerItemConfig} fieldConfig Configuration object for the value field
|
|
240
221
|
* @returns {GridContainerItemConfig} the resulting configuration
|
|
@@ -245,8 +226,7 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
245
226
|
* appear as a selectable property for a filter, a column must have a `field` property.
|
|
246
227
|
* If the column has a `text` property, that will be shown as the displayed text in the
|
|
247
228
|
* selector; otherwise, the `field` property will be shown as-is.
|
|
248
|
-
* ...
|
|
249
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-grid)
|
|
229
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-grid)
|
|
250
230
|
*/
|
|
251
231
|
grid? : Grid
|
|
252
232
|
/**
|
|
@@ -261,25 +241,21 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
261
241
|
hidden? : boolean
|
|
262
242
|
/**
|
|
263
243
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
264
|
-
* ...
|
|
265
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-hideAnimation)
|
|
244
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-hideAnimation)
|
|
266
245
|
*/
|
|
267
246
|
hideAnimation? : boolean|object
|
|
268
247
|
/**
|
|
269
248
|
* Specify `true` to make this container hide when it has no visible children (Either empty
|
|
270
249
|
* or all children hidden).
|
|
271
|
-
* ...
|
|
272
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-hideWhenEmpty)
|
|
250
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-hideWhenEmpty)
|
|
273
251
|
*/
|
|
274
252
|
hideWhenEmpty? : boolean
|
|
275
253
|
/**
|
|
276
254
|
* The HTML to display initially or a function returning the markup (called at widget construction time).
|
|
277
|
-
* ...
|
|
278
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-html)
|
|
255
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-html)
|
|
279
256
|
* @param {Core.widget.Widget} widget The calling Widget
|
|
280
|
-
* @returns {string}
|
|
281
257
|
*/
|
|
282
|
-
html? : string|((widget: Widget) =>
|
|
258
|
+
html? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
|
|
283
259
|
/**
|
|
284
260
|
* The CSS class(es) to add when HTML content is being applied to this widget.
|
|
285
261
|
*/
|
|
@@ -290,16 +266,14 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
290
266
|
id? : string
|
|
291
267
|
/**
|
|
292
268
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
293
|
-
* ...
|
|
294
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-ignoreParentReadOnly)
|
|
269
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-ignoreParentReadOnly)
|
|
295
270
|
*/
|
|
296
271
|
ignoreParentReadOnly? : boolean
|
|
297
272
|
/**
|
|
298
273
|
* Convenience setting to align input fields of child widgets. By default, the Field input element is
|
|
299
274
|
* placed immediately following the `label`. If you prefer to have all input fields aligned to the
|
|
300
275
|
* right, set this config to `'end'`.
|
|
301
|
-
* ...
|
|
302
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-inputFieldAlign)
|
|
276
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-inputFieldAlign)
|
|
303
277
|
*/
|
|
304
278
|
inputFieldAlign? : 'start'|'end'
|
|
305
279
|
/**
|
|
@@ -317,55 +291,52 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
317
291
|
/**
|
|
318
292
|
* An object containing typed child widget config objects or Widgets. May also be specified
|
|
319
293
|
* as an array.
|
|
320
|
-
* ...
|
|
321
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-items)
|
|
294
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-items)
|
|
322
295
|
*/
|
|
323
296
|
items? : Record<string, GridContainerItemConfig|MenuItemEntry>|(GridContainerItemConfig|MenuItemEntry|Widget)[]
|
|
324
297
|
/**
|
|
325
298
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
326
299
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
327
300
|
* are the name of the instance method to call when the keystroke is received.
|
|
328
|
-
* ...
|
|
329
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-keyMap)
|
|
301
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-keyMap)
|
|
330
302
|
*/
|
|
331
303
|
keyMap? : Record<string, KeyMapConfig>
|
|
332
304
|
/**
|
|
333
305
|
* Convenience setting to use same label placement on all child widgets.
|
|
334
|
-
* ...
|
|
335
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-labelPosition)
|
|
306
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-labelPosition)
|
|
336
307
|
*/
|
|
337
308
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
309
|
+
/**
|
|
310
|
+
* Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
|
|
311
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-labelWidth)
|
|
312
|
+
*/
|
|
313
|
+
labelWidth? : number|null
|
|
338
314
|
/**
|
|
339
315
|
* The short name of a helper class which manages rendering and styling of child items.
|
|
340
|
-
* ...
|
|
341
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-layout)
|
|
316
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-layout)
|
|
342
317
|
*/
|
|
343
318
|
layout? : string|GridContainerLayoutConfig
|
|
344
319
|
/**
|
|
345
320
|
* The CSS style properties to apply to the [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
|
|
346
|
-
* ...
|
|
347
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-layoutStyle)
|
|
321
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-layoutStyle)
|
|
348
322
|
*/
|
|
349
323
|
layoutStyle? : object
|
|
350
324
|
/**
|
|
351
325
|
* 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
|
|
352
326
|
* instances only when this Container is rendered, rather than eagerly at construct time.
|
|
353
|
-
* ...
|
|
354
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-lazyItems)
|
|
327
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-lazyItems)
|
|
355
328
|
*/
|
|
356
329
|
lazyItems? : Record<string, GridContainerItemConfig>|GridContainerItemConfig[]|Widget[]
|
|
357
330
|
/**
|
|
358
331
|
* The listener set for this object.
|
|
359
|
-
* ...
|
|
360
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-listeners)
|
|
332
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-listeners)
|
|
361
333
|
*/
|
|
362
334
|
listeners? : GridFieldFilterPickerListeners
|
|
363
335
|
/**
|
|
364
336
|
* A class translations of which are used for translating this entity.
|
|
365
337
|
* This is often used when translations of an item are defined on its container class.
|
|
366
338
|
* For example:
|
|
367
|
-
* ...
|
|
368
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-localeClass)
|
|
339
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-localeClass)
|
|
369
340
|
*/
|
|
370
341
|
localeClass? : typeof Base
|
|
371
342
|
/**
|
|
@@ -377,8 +348,7 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
377
348
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
378
349
|
* you could use 'localeKey' meta configuration.
|
|
379
350
|
* Example:
|
|
380
|
-
* ...
|
|
381
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-localizableProperties)
|
|
351
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-localizableProperties)
|
|
382
352
|
*/
|
|
383
353
|
localizableProperties? : string[]
|
|
384
354
|
/**
|
|
@@ -404,8 +374,7 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
404
374
|
maxHeight? : string|number
|
|
405
375
|
/**
|
|
406
376
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
407
|
-
* ...
|
|
408
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-maximizeOnMobile)
|
|
377
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-maximizeOnMobile)
|
|
409
378
|
*/
|
|
410
379
|
maximizeOnMobile? : number|string
|
|
411
380
|
/**
|
|
@@ -427,18 +396,15 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
427
396
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
428
397
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
429
398
|
* layout.
|
|
430
|
-
* ...
|
|
431
|
-
*
|
|
399
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-monitorResize)
|
|
400
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
432
401
|
*/
|
|
433
|
-
monitorResize? : boolean|
|
|
434
|
-
immediate?: boolean
|
|
435
|
-
}
|
|
402
|
+
monitorResize? : boolean|object
|
|
436
403
|
/**
|
|
437
404
|
* 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)
|
|
438
405
|
* config. For example, a specialized [Menu](https://bryntum.com/products/grid/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
|
|
439
406
|
* value defined like this:
|
|
440
|
-
* ...
|
|
441
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-namedItems)
|
|
407
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-namedItems)
|
|
442
408
|
*/
|
|
443
409
|
namedItems? : Record<string, GridContainerItemConfig>
|
|
444
410
|
/**
|
|
@@ -448,16 +414,14 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
448
414
|
/**
|
|
449
415
|
* Overrides the built-in list of operators that are available for selection. Specify operators as
|
|
450
416
|
* an object with data types as keys and lists of operators as values, like this:
|
|
451
|
-
* ...
|
|
452
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-operators)
|
|
417
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-operators)
|
|
453
418
|
*/
|
|
454
419
|
operators? : object
|
|
455
420
|
/**
|
|
456
421
|
* 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
|
|
457
422
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
458
423
|
* widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
|
|
459
|
-
* ...
|
|
460
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-positioned)
|
|
424
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-positioned)
|
|
461
425
|
*/
|
|
462
426
|
positioned? : boolean
|
|
463
427
|
/**
|
|
@@ -479,39 +443,40 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
479
443
|
readOnly? : boolean
|
|
480
444
|
/**
|
|
481
445
|
* [Record](https://bryntum.com/products/grid/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
|
|
482
|
-
* ...
|
|
483
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-record)
|
|
446
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-record)
|
|
484
447
|
*/
|
|
485
448
|
record? : Model
|
|
486
449
|
relayStoreEvents? : boolean
|
|
487
450
|
/**
|
|
488
451
|
* Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
|
|
489
452
|
* `type`.
|
|
490
|
-
* ...
|
|
491
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-rendition)
|
|
453
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-rendition)
|
|
492
454
|
*/
|
|
493
455
|
rendition? : string|Record<string, string>|null
|
|
494
456
|
/**
|
|
495
457
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
496
458
|
* [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
|
|
497
459
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
498
|
-
* ...
|
|
499
|
-
* [
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
460
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-ripple)
|
|
461
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
462
|
+
* @property {string} [color] A CSS color name or specification.
|
|
463
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
464
|
+
* @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.
|
|
465
|
+
*/
|
|
466
|
+
ripple? : boolean|object
|
|
467
|
+
/**
|
|
468
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
469
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
470
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-role)
|
|
471
|
+
*/
|
|
472
|
+
role? : string
|
|
507
473
|
/**
|
|
508
474
|
* 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`
|
|
509
475
|
*/
|
|
510
476
|
rootElement? : ShadowRoot|HTMLElement
|
|
511
477
|
/**
|
|
512
478
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
513
|
-
* ...
|
|
514
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-rtl)
|
|
479
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-rtl)
|
|
515
480
|
*/
|
|
516
481
|
rtl? : boolean
|
|
517
482
|
/**
|
|
@@ -519,8 +484,7 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
519
484
|
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
520
485
|
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
521
486
|
* CSS overflow properties thus:
|
|
522
|
-
* ...
|
|
523
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-scrollable)
|
|
487
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-scrollable)
|
|
524
488
|
*/
|
|
525
489
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
526
490
|
/**
|
|
@@ -530,8 +494,7 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
530
494
|
scrollAction? : 'hide'|'realign'|null
|
|
531
495
|
/**
|
|
532
496
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
533
|
-
* ...
|
|
534
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-showAnimation)
|
|
497
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-showAnimation)
|
|
535
498
|
*/
|
|
536
499
|
showAnimation? : boolean|object
|
|
537
500
|
/**
|
|
@@ -551,15 +514,13 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
551
514
|
* 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
|
|
552
515
|
* [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
|
|
553
516
|
* this widget:
|
|
554
|
-
* ...
|
|
555
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-tab)
|
|
517
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-tab)
|
|
556
518
|
*/
|
|
557
519
|
tab? : boolean|TabConfig
|
|
558
520
|
/**
|
|
559
521
|
* When this container is used as a tab in a TabPanel, these items are added to the
|
|
560
522
|
* [TabBar](https://bryntum.com/products/grid/docs/api/Core/widget/TabBar) when this container is the active tab.
|
|
561
|
-
* ...
|
|
562
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-tabBarItems)
|
|
523
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-tabBarItems)
|
|
563
524
|
*/
|
|
564
525
|
tabBarItems? : ToolbarItems[]|Widget[]
|
|
565
526
|
/**
|
|
@@ -568,15 +529,13 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
568
529
|
tag? : string
|
|
569
530
|
/**
|
|
570
531
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
571
|
-
* ...
|
|
572
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-textAlign)
|
|
532
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-textAlign)
|
|
573
533
|
*/
|
|
574
534
|
textAlign? : 'left'|'center'|'right'|'start'|'end'
|
|
575
535
|
/**
|
|
576
536
|
* Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
|
|
577
537
|
* which specifies a default max-width that makes long text more readable.
|
|
578
|
-
* ...
|
|
579
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-textContent)
|
|
538
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-textContent)
|
|
580
539
|
*/
|
|
581
540
|
textContent? : boolean
|
|
582
541
|
/**
|
|
@@ -585,8 +544,7 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
585
544
|
title? : string
|
|
586
545
|
/**
|
|
587
546
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
588
|
-
* ...
|
|
589
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-tooltip)
|
|
547
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-tooltip)
|
|
590
548
|
*/
|
|
591
549
|
tooltip? : string|TooltipConfig|null
|
|
592
550
|
/**
|
|
@@ -600,8 +558,7 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
600
558
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
601
559
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
602
560
|
* values are used as the class names.
|
|
603
|
-
* ...
|
|
604
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-ui)
|
|
561
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-ui)
|
|
605
562
|
*/
|
|
606
563
|
ui? : string|object
|
|
607
564
|
/**
|
|
@@ -625,14 +582,12 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
625
582
|
width? : string|number
|
|
626
583
|
/**
|
|
627
584
|
* The x position for the widget.
|
|
628
|
-
* ...
|
|
629
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-x)
|
|
585
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-x)
|
|
630
586
|
*/
|
|
631
587
|
x? : number
|
|
632
588
|
/**
|
|
633
589
|
* The y position for the widget.
|
|
634
|
-
* ...
|
|
635
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-y)
|
|
590
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-y)
|
|
636
591
|
*/
|
|
637
592
|
y? : number
|
|
638
593
|
|
|
@@ -665,8 +620,7 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
665
620
|
onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
|
|
666
621
|
/**
|
|
667
622
|
* Fires when any other event is fired from the object.
|
|
668
|
-
* ...
|
|
669
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#event-catchAll)
|
|
623
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#event-catchAll)
|
|
670
624
|
* @param {object} event Event object
|
|
671
625
|
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
672
626
|
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
@@ -732,8 +686,7 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
732
686
|
/**
|
|
733
687
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
734
688
|
* achieves visibility.
|
|
735
|
-
* ...
|
|
736
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#event-paint)
|
|
689
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#event-paint)
|
|
737
690
|
* @param {object} event Event object
|
|
738
691
|
* @param {Core.widget.Widget} event.source The widget being painted.
|
|
739
692
|
* @param {boolean} event.firstPaint `true` if this is the first paint.
|
|
@@ -828,6 +781,7 @@ export class BryntumGridFieldFilterPicker extends React.Component<BryntumGridFie
|
|
|
828
781
|
'propertyLocked',
|
|
829
782
|
'relayStoreEvents',
|
|
830
783
|
'ripple',
|
|
784
|
+
'role',
|
|
831
785
|
'rootElement',
|
|
832
786
|
'scrollAction',
|
|
833
787
|
'showAnimation',
|
|
@@ -868,6 +822,7 @@ export class BryntumGridFieldFilterPicker extends React.Component<BryntumGridFie
|
|
|
868
822
|
'items',
|
|
869
823
|
'keyMap',
|
|
870
824
|
'labelPosition',
|
|
825
|
+
'labelWidth',
|
|
871
826
|
'layout',
|
|
872
827
|
'layoutStyle',
|
|
873
828
|
'margin',
|
|
@@ -907,11 +862,6 @@ export class BryntumGridFieldFilterPicker extends React.Component<BryntumGridFie
|
|
|
907
862
|
];
|
|
908
863
|
|
|
909
864
|
static propertyNames = [
|
|
910
|
-
'anchorSize',
|
|
911
|
-
'focusVisible',
|
|
912
|
-
'hasChanges',
|
|
913
|
-
'isSettingValues',
|
|
914
|
-
'isValid',
|
|
915
865
|
'parent',
|
|
916
866
|
'values'
|
|
917
867
|
];
|