@bryntum/grid-vue-3-thin 7.2.4 → 7.3.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.
- package/README.md +4 -4
- package/lib/chunks/{MAev_NTD.js → Bc2x_WPR.js} +8 -6
- package/lib/chunks/Bc2x_WPR.js.map +1 -0
- package/lib/chunks/{C3MmNeeF.js → Be7ZZzGW.js} +14 -12
- package/lib/chunks/Be7ZZzGW.js.map +1 -0
- package/lib/chunks/{BQkqLHa6.js → BpNo5v3W.js} +9 -10
- package/lib/chunks/BpNo5v3W.js.map +1 -0
- package/lib/chunks/{CnbA4JoC.js → C87PnYXS.js} +12 -10
- package/lib/chunks/C87PnYXS.js.map +1 -0
- package/lib/chunks/{v3MxzI7J.js → C9RmZYoQ.js} +9 -7
- package/lib/chunks/C9RmZYoQ.js.map +1 -0
- package/lib/chunks/{Da4PP6A-.js → CAlh-Y8B.js} +3 -3
- package/lib/chunks/CAlh-Y8B.js.map +1 -0
- package/lib/chunks/{DkzTNiUv.js → CWYhi4DG.js} +8 -9
- package/lib/chunks/CWYhi4DG.js.map +1 -0
- package/lib/chunks/{D639wy1k.js → CcfDAcJD.js} +9 -9
- package/lib/chunks/CcfDAcJD.js.map +1 -0
- package/lib/chunks/{B5DiBj1m.js → DZ2V6NNc.js} +16 -14
- package/lib/chunks/DZ2V6NNc.js.map +1 -0
- package/lib/chunks/{C8vFKx3Q.js → w2GDktIt.js} +8 -6
- package/lib/chunks/w2GDktIt.js.map +1 -0
- package/lib/components/BryntumAIFilterField.js +1 -1
- package/lib/components/BryntumChecklistFilterCombo.js +1 -1
- package/lib/components/BryntumGrid.js +1 -1
- package/lib/components/BryntumGridBase.js +1 -1
- package/lib/components/BryntumGridChartDesigner.js +1 -1
- package/lib/components/BryntumGridFieldFilterPicker.js +1 -1
- package/lib/components/BryntumGridFieldFilterPickerGroup.js +1 -1
- package/lib/components/BryntumGroupBar.js +1 -1
- package/lib/components/BryntumThemeCombo.js +57 -0
- package/lib/components/BryntumThemeCombo.js.map +1 -0
- package/lib/components/BryntumTreeCombo.js +1 -1
- package/lib/components/BryntumTreeGrid.js +1 -1
- package/lib/index.js +10 -10
- package/package.json +1 -1
- package/src/components/BryntumAIFilterField.vue +153 -224
- package/src/components/BryntumAIFilterFieldProps.ts +78 -110
- package/src/components/BryntumChecklistFilterCombo.vue +171 -258
- package/src/components/BryntumChecklistFilterComboProps.ts +95 -141
- package/src/components/BryntumGrid.vue +723 -1042
- package/src/components/BryntumGridBase.vue +723 -1042
- package/src/components/BryntumGridBaseProps.ts +186 -261
- package/src/components/BryntumGridChartDesigner.vue +101 -163
- package/src/components/BryntumGridChartDesignerProps.ts +55 -88
- package/src/components/BryntumGridFieldFilterPicker.vue +134 -216
- package/src/components/BryntumGridFieldFilterPickerGroup.vue +137 -220
- package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +76 -120
- package/src/components/BryntumGridFieldFilterPickerProps.ts +77 -122
- package/src/components/BryntumGridProps.ts +186 -261
- package/src/components/BryntumGroupBar.vue +129 -205
- package/src/components/BryntumGroupBarProps.ts +61 -98
- package/src/components/BryntumThemeCombo.vue +60 -0
- package/src/components/BryntumTreeCombo.vue +172 -260
- package/src/components/BryntumTreeComboProps.ts +96 -143
- package/src/components/BryntumTreeGrid.vue +723 -1042
- package/src/components/BryntumTreeGridProps.ts +186 -261
- package/lib/chunks/B5DiBj1m.js.map +0 -1
- package/lib/chunks/BQkqLHa6.js.map +0 -1
- package/lib/chunks/C3MmNeeF.js.map +0 -1
- package/lib/chunks/C8vFKx3Q.js.map +0 -1
- package/lib/chunks/CnbA4JoC.js.map +0 -1
- package/lib/chunks/D639wy1k.js.map +0 -1
- package/lib/chunks/Da4PP6A-.js.map +0 -1
- package/lib/chunks/DkzTNiUv.js.map +0 -1
- package/lib/chunks/MAev_NTD.js.map +0 -1
- package/lib/chunks/v3MxzI7J.js.map +0 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AlignSpec, Base, CollectionFilterConfig, Color, Container, DomConfig, FieldFilterPicker, FieldFilterPickerConfig, FieldFilterPickerGroup, KeyMapConfig, MaskConfig, MenuItemEntry, Model, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
13
|
+
import type { AlignSpec, Base, CollectionFilterConfig, Color, Container, DomConfig, FieldFilterPicker, FieldFilterPickerConfig, FieldFilterPickerGroup, KeyMapConfig, MaskConfig, MenuItemEntry, Model, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { GridContainerItemConfig, GridContainerLayoutConfig, Grid, GridFieldFilterPickerGroupListeners } from '@bryntum/grid-thin';
|
|
15
15
|
import { GridFieldFilterPickerGroup } from '@bryntum/grid-thin';
|
|
16
16
|
|
|
@@ -25,14 +25,12 @@ defineProps<{
|
|
|
25
25
|
/**
|
|
26
26
|
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
27
27
|
* content will be placed inside this element.
|
|
28
|
-
* ...
|
|
29
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-adopt)
|
|
28
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-adopt)
|
|
30
29
|
*/
|
|
31
30
|
adopt ? : HTMLElement|string
|
|
32
31
|
/**
|
|
33
32
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
34
|
-
* ...
|
|
35
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-align)
|
|
33
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-align)
|
|
36
34
|
*/
|
|
37
35
|
align ? : AlignSpec|string
|
|
38
36
|
/**
|
|
@@ -60,15 +58,13 @@ defineProps<{
|
|
|
60
58
|
/**
|
|
61
59
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
62
60
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
63
|
-
* ...
|
|
64
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-ariaDescription)
|
|
61
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-ariaDescription)
|
|
65
62
|
*/
|
|
66
63
|
ariaDescription ? : string
|
|
67
64
|
/**
|
|
68
65
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
69
66
|
* the `aria-label` attribute.
|
|
70
|
-
* ...
|
|
71
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-ariaLabel)
|
|
67
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-ariaLabel)
|
|
72
68
|
*/
|
|
73
69
|
ariaLabel ? : string
|
|
74
70
|
/**
|
|
@@ -82,14 +78,12 @@ defineProps<{
|
|
|
82
78
|
/**
|
|
83
79
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
84
80
|
* hierarchy when triggered.
|
|
85
|
-
* ...
|
|
86
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-bubbleEvents)
|
|
81
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-bubbleEvents)
|
|
87
82
|
*/
|
|
88
83
|
bubbleEvents ? : object
|
|
89
84
|
/**
|
|
90
85
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
91
|
-
* ...
|
|
92
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-callOnFunctions)
|
|
86
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-callOnFunctions)
|
|
93
87
|
*/
|
|
94
88
|
callOnFunctions ? : Boolean
|
|
95
89
|
/**
|
|
@@ -111,8 +105,7 @@ defineProps<{
|
|
|
111
105
|
/**
|
|
112
106
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
113
107
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
114
|
-
* ...
|
|
115
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-catchEventHandlerExceptions)
|
|
108
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-catchEventHandlerExceptions)
|
|
116
109
|
*/
|
|
117
110
|
catchEventHandlerExceptions ? : Boolean
|
|
118
111
|
/**
|
|
@@ -124,15 +117,13 @@ defineProps<{
|
|
|
124
117
|
* Custom CSS classes to add to element.
|
|
125
118
|
* May be specified as a space separated string, or as an object in which property names
|
|
126
119
|
* with truthy values are used as the class names:
|
|
127
|
-
* ...
|
|
128
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-cls)
|
|
120
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-cls)
|
|
129
121
|
*/
|
|
130
122
|
cls ? : string|object
|
|
131
123
|
/**
|
|
132
124
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
133
125
|
* `style` block.
|
|
134
|
-
* ...
|
|
135
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-color)
|
|
126
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-color)
|
|
136
127
|
*/
|
|
137
128
|
color ? : Color
|
|
138
129
|
/**
|
|
@@ -156,8 +147,7 @@ defineProps<{
|
|
|
156
147
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
|
|
157
148
|
* May be specified as a space separated string, or as an object in which property names
|
|
158
149
|
* with truthy values are used as the class names:
|
|
159
|
-
* ...
|
|
160
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-contentElementCls)
|
|
150
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-contentElementCls)
|
|
161
151
|
*/
|
|
162
152
|
contentElementCls ? : string|object
|
|
163
153
|
/**
|
|
@@ -182,8 +172,7 @@ defineProps<{
|
|
|
182
172
|
/**
|
|
183
173
|
* A [query](https://bryntum.com/products/grid/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
|
|
184
174
|
* focus should be directed by default.
|
|
185
|
-
* ...
|
|
186
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-defaultFocus)
|
|
175
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-defaultFocus)
|
|
187
176
|
* @param {Core.widget.Widget} widget Widget passed to method
|
|
188
177
|
* @returns {boolean} truthy value if widget is the default one
|
|
189
178
|
*/
|
|
@@ -193,9 +182,9 @@ defineProps<{
|
|
|
193
182
|
*/
|
|
194
183
|
defaults ? : GridContainerItemConfig
|
|
195
184
|
/**
|
|
196
|
-
* Check for CSS compatibility issues
|
|
197
|
-
*
|
|
198
|
-
* [
|
|
185
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
186
|
+
* checks:
|
|
187
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-detectCSSCompatibilityIssues)
|
|
199
188
|
*/
|
|
200
189
|
detectCSSCompatibilityIssues ? : Boolean
|
|
201
190
|
/**
|
|
@@ -207,25 +196,21 @@ defineProps<{
|
|
|
207
196
|
* [strips collection](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
208
197
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
209
198
|
* body. Such widgets are called "edge strips".
|
|
210
|
-
* ...
|
|
211
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-dock)
|
|
199
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-dock)
|
|
212
200
|
*/
|
|
213
201
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
214
202
|
/**
|
|
215
203
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
216
204
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
217
205
|
* property which controls when a drag should start.
|
|
218
|
-
* ...
|
|
219
|
-
*
|
|
206
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-draggable)
|
|
207
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
220
208
|
*/
|
|
221
|
-
draggable ? : Boolean|
|
|
222
|
-
handleSelector?: string
|
|
223
|
-
}
|
|
209
|
+
draggable ? : Boolean|object
|
|
224
210
|
/**
|
|
225
211
|
* An object specifying attributes to assign to the root element of this widget.
|
|
226
212
|
* Set `null` value to attribute to remove it.
|
|
227
|
-
* ...
|
|
228
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-elementAttributes)
|
|
213
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-elementAttributes)
|
|
229
214
|
*/
|
|
230
215
|
elementAttributes ? : Record<string, string|null>
|
|
231
216
|
extraData ? : any
|
|
@@ -233,8 +218,7 @@ defineProps<{
|
|
|
233
218
|
* Array of [CollectionFilter](https://bryntum.com/products/grid/docs/api/Core/util/CollectionFilter) configuration objects. One
|
|
234
219
|
* [FieldFilterPicker](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker) will be created
|
|
235
220
|
* for each object in the array.
|
|
236
|
-
* ...
|
|
237
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-filters)
|
|
221
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-filters)
|
|
238
222
|
*/
|
|
239
223
|
filters ? : CollectionFilterConfig[]
|
|
240
224
|
/**
|
|
@@ -255,8 +239,7 @@ defineProps<{
|
|
|
255
239
|
* a given filter. When `getFieldFilterPickerConfig` is provided, it will be called for each filter and the returned
|
|
256
240
|
* object will be merged with the configuration properties for the individual
|
|
257
241
|
* [FieldFilterPicker](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker) representing that filter.
|
|
258
|
-
* ...
|
|
259
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-getFieldFilterPickerConfig)
|
|
242
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-getFieldFilterPickerConfig)
|
|
260
243
|
* @param {CollectionFilterConfig} filter The filter to be displayed in the FieldFilterPicker being configured
|
|
261
244
|
* @returns {FieldFilterPickerConfig}
|
|
262
245
|
*/
|
|
@@ -266,8 +249,7 @@ defineProps<{
|
|
|
266
249
|
* appear as a selectable property for a filter, a column must have a `field` property.
|
|
267
250
|
* If the column has a `text` property, that will be shown as the displayed text in the
|
|
268
251
|
* selector; otherwise, the `field` property will be shown as-is.
|
|
269
|
-
* ...
|
|
270
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-grid)
|
|
252
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-grid)
|
|
271
253
|
*/
|
|
272
254
|
grid ? : Grid
|
|
273
255
|
/**
|
|
@@ -282,25 +264,21 @@ defineProps<{
|
|
|
282
264
|
hidden ? : Boolean
|
|
283
265
|
/**
|
|
284
266
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
285
|
-
* ...
|
|
286
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-hideAnimation)
|
|
267
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-hideAnimation)
|
|
287
268
|
*/
|
|
288
269
|
hideAnimation ? : Boolean|object
|
|
289
270
|
/**
|
|
290
271
|
* Specify `true` to make this container hide when it has no visible children (Either empty
|
|
291
272
|
* or all children hidden).
|
|
292
|
-
* ...
|
|
293
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-hideWhenEmpty)
|
|
273
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-hideWhenEmpty)
|
|
294
274
|
*/
|
|
295
275
|
hideWhenEmpty ? : Boolean
|
|
296
276
|
/**
|
|
297
277
|
* The HTML to display initially or a function returning the markup (called at widget construction time).
|
|
298
|
-
* ...
|
|
299
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-html)
|
|
278
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-html)
|
|
300
279
|
* @param {Core.widget.Widget} widget The calling Widget
|
|
301
|
-
* @returns {string}
|
|
302
280
|
*/
|
|
303
|
-
html ? : string|((widget: Widget) =>
|
|
281
|
+
html ? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
|
|
304
282
|
/**
|
|
305
283
|
* The CSS class(es) to add when HTML content is being applied to this widget.
|
|
306
284
|
*/
|
|
@@ -311,16 +289,14 @@ defineProps<{
|
|
|
311
289
|
id ? : string
|
|
312
290
|
/**
|
|
313
291
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
314
|
-
* ...
|
|
315
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-ignoreParentReadOnly)
|
|
292
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-ignoreParentReadOnly)
|
|
316
293
|
*/
|
|
317
294
|
ignoreParentReadOnly ? : Boolean
|
|
318
295
|
/**
|
|
319
296
|
* Convenience setting to align input fields of child widgets. By default, the Field input element is
|
|
320
297
|
* placed immediately following the `label`. If you prefer to have all input fields aligned to the
|
|
321
298
|
* right, set this config to `'end'`.
|
|
322
|
-
* ...
|
|
323
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-inputFieldAlign)
|
|
299
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-inputFieldAlign)
|
|
324
300
|
*/
|
|
325
301
|
inputFieldAlign ? : 'start'|'end'
|
|
326
302
|
/**
|
|
@@ -338,63 +314,59 @@ defineProps<{
|
|
|
338
314
|
/**
|
|
339
315
|
* An object containing typed child widget config objects or Widgets. May also be specified
|
|
340
316
|
* as an array.
|
|
341
|
-
* ...
|
|
342
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-items)
|
|
317
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-items)
|
|
343
318
|
*/
|
|
344
319
|
items ? : Record<string, GridContainerItemConfig|MenuItemEntry>|(GridContainerItemConfig|MenuItemEntry|Widget)[]
|
|
345
320
|
/**
|
|
346
321
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
347
322
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
348
323
|
* are the name of the instance method to call when the keystroke is received.
|
|
349
|
-
* ...
|
|
350
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-keyMap)
|
|
324
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-keyMap)
|
|
351
325
|
*/
|
|
352
326
|
keyMap ? : Record<string, KeyMapConfig>
|
|
353
327
|
/**
|
|
354
328
|
* Convenience setting to use same label placement on all child widgets.
|
|
355
|
-
* ...
|
|
356
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-labelPosition)
|
|
329
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-labelPosition)
|
|
357
330
|
*/
|
|
358
331
|
labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
|
|
332
|
+
/**
|
|
333
|
+
* Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
|
|
334
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-labelWidth)
|
|
335
|
+
*/
|
|
336
|
+
labelWidth ? : number|null
|
|
359
337
|
/**
|
|
360
338
|
* The short name of a helper class which manages rendering and styling of child items.
|
|
361
|
-
* ...
|
|
362
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-layout)
|
|
339
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-layout)
|
|
363
340
|
*/
|
|
364
341
|
layout ? : string|GridContainerLayoutConfig
|
|
365
342
|
/**
|
|
366
343
|
* The CSS style properties to apply to the [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
|
|
367
|
-
* ...
|
|
368
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-layoutStyle)
|
|
344
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-layoutStyle)
|
|
369
345
|
*/
|
|
370
346
|
layoutStyle ? : object
|
|
371
347
|
/**
|
|
372
348
|
* 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
|
|
373
349
|
* instances only when this Container is rendered, rather than eagerly at construct time.
|
|
374
|
-
* ...
|
|
375
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-lazyItems)
|
|
350
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-lazyItems)
|
|
376
351
|
*/
|
|
377
352
|
lazyItems ? : Record<string, GridContainerItemConfig>|GridContainerItemConfig[]|Widget[]
|
|
378
353
|
/**
|
|
379
354
|
* When `limitToProperty` is set to the name of an available field (as specified either
|
|
380
355
|
* explicitly in [fields](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPickerGroup#config-fields) or implicitly in the
|
|
381
356
|
* [store](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPickerGroup#config-store)'s model), it has the following effects:
|
|
382
|
-
* ...
|
|
383
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-limitToProperty)
|
|
357
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-limitToProperty)
|
|
384
358
|
*/
|
|
385
359
|
limitToProperty ? : string
|
|
386
360
|
/**
|
|
387
361
|
* The listener set for this object.
|
|
388
|
-
* ...
|
|
389
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-listeners)
|
|
362
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-listeners)
|
|
390
363
|
*/
|
|
391
364
|
listeners ? : GridFieldFilterPickerGroupListeners
|
|
392
365
|
/**
|
|
393
366
|
* A class translations of which are used for translating this entity.
|
|
394
367
|
* This is often used when translations of an item are defined on its container class.
|
|
395
368
|
* For example:
|
|
396
|
-
* ...
|
|
397
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-localeClass)
|
|
369
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-localeClass)
|
|
398
370
|
*/
|
|
399
371
|
localeClass ? : typeof Base
|
|
400
372
|
/**
|
|
@@ -406,8 +378,7 @@ defineProps<{
|
|
|
406
378
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
407
379
|
* you could use 'localeKey' meta configuration.
|
|
408
380
|
* Example:
|
|
409
|
-
* ...
|
|
410
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-localizableProperties)
|
|
381
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-localizableProperties)
|
|
411
382
|
*/
|
|
412
383
|
localizableProperties ? : string[]
|
|
413
384
|
/**
|
|
@@ -433,8 +404,7 @@ defineProps<{
|
|
|
433
404
|
maxHeight ? : string|number
|
|
434
405
|
/**
|
|
435
406
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
436
|
-
* ...
|
|
437
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-maximizeOnMobile)
|
|
407
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-maximizeOnMobile)
|
|
438
408
|
*/
|
|
439
409
|
maximizeOnMobile ? : number|string
|
|
440
410
|
/**
|
|
@@ -456,18 +426,15 @@ defineProps<{
|
|
|
456
426
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
457
427
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
458
428
|
* layout.
|
|
459
|
-
* ...
|
|
460
|
-
*
|
|
429
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-monitorResize)
|
|
430
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
461
431
|
*/
|
|
462
|
-
monitorResize ? : Boolean|
|
|
463
|
-
immediate?: Boolean
|
|
464
|
-
}
|
|
432
|
+
monitorResize ? : Boolean|object
|
|
465
433
|
/**
|
|
466
434
|
* 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)
|
|
467
435
|
* config. For example, a specialized [Menu](https://bryntum.com/products/grid/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
|
|
468
436
|
* value defined like this:
|
|
469
|
-
* ...
|
|
470
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-namedItems)
|
|
437
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-namedItems)
|
|
471
438
|
*/
|
|
472
439
|
namedItems ? : Record<string, GridContainerItemConfig>
|
|
473
440
|
/**
|
|
@@ -479,8 +446,7 @@ defineProps<{
|
|
|
479
446
|
* 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
|
|
480
447
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
481
448
|
* widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
|
|
482
|
-
* ...
|
|
483
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-positioned)
|
|
449
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-positioned)
|
|
484
450
|
*/
|
|
485
451
|
positioned ? : Boolean
|
|
486
452
|
/**
|
|
@@ -490,45 +456,45 @@ defineProps<{
|
|
|
490
456
|
preventTooltipOnTouch ? : Boolean
|
|
491
457
|
/**
|
|
492
458
|
* Whether the picker group is read-only.
|
|
493
|
-
* ...
|
|
494
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-readOnly)
|
|
459
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-readOnly)
|
|
495
460
|
*/
|
|
496
461
|
readOnly ? : Boolean
|
|
497
462
|
/**
|
|
498
463
|
* [Record](https://bryntum.com/products/grid/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
|
|
499
|
-
* ...
|
|
500
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-record)
|
|
464
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-record)
|
|
501
465
|
*/
|
|
502
466
|
record ? : Model
|
|
503
467
|
relayStoreEvents ? : Boolean
|
|
504
468
|
/**
|
|
505
469
|
* Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
|
|
506
470
|
* `type`.
|
|
507
|
-
* ...
|
|
508
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-rendition)
|
|
471
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-rendition)
|
|
509
472
|
*/
|
|
510
473
|
rendition ? : string|Record<string, string>|null
|
|
511
474
|
/**
|
|
512
475
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
513
476
|
* [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
|
|
514
477
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
515
|
-
* ...
|
|
516
|
-
* [
|
|
478
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-ripple)
|
|
479
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
480
|
+
* @property {string} [color] A CSS color name or specification.
|
|
481
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
482
|
+
* @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.
|
|
483
|
+
*/
|
|
484
|
+
ripple ? : Boolean|object
|
|
485
|
+
/**
|
|
486
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
487
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
488
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-role)
|
|
517
489
|
*/
|
|
518
|
-
|
|
519
|
-
delegate?: string
|
|
520
|
-
color?: string
|
|
521
|
-
radius?: number
|
|
522
|
-
clip?: string
|
|
523
|
-
}
|
|
490
|
+
role ? : string
|
|
524
491
|
/**
|
|
525
492
|
* 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`
|
|
526
493
|
*/
|
|
527
494
|
rootElement ? : ShadowRoot|HTMLElement
|
|
528
495
|
/**
|
|
529
496
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
530
|
-
* ...
|
|
531
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-rtl)
|
|
497
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-rtl)
|
|
532
498
|
*/
|
|
533
499
|
rtl ? : Boolean
|
|
534
500
|
/**
|
|
@@ -536,8 +502,7 @@ defineProps<{
|
|
|
536
502
|
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
537
503
|
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
538
504
|
* CSS overflow properties thus:
|
|
539
|
-
* ...
|
|
540
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-scrollable)
|
|
505
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-scrollable)
|
|
541
506
|
*/
|
|
542
507
|
scrollable ? : Boolean|ScrollerConfig|Scroller
|
|
543
508
|
/**
|
|
@@ -551,8 +516,7 @@ defineProps<{
|
|
|
551
516
|
showAddFilterButton ? : Boolean
|
|
552
517
|
/**
|
|
553
518
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
554
|
-
* ...
|
|
555
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-showAnimation)
|
|
519
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-showAnimation)
|
|
556
520
|
*/
|
|
557
521
|
showAnimation ? : Boolean|object
|
|
558
522
|
/**
|
|
@@ -572,15 +536,13 @@ defineProps<{
|
|
|
572
536
|
* 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
|
|
573
537
|
* [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
|
|
574
538
|
* this widget:
|
|
575
|
-
* ...
|
|
576
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-tab)
|
|
539
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-tab)
|
|
577
540
|
*/
|
|
578
541
|
tab ? : Boolean|TabConfig
|
|
579
542
|
/**
|
|
580
543
|
* When this container is used as a tab in a TabPanel, these items are added to the
|
|
581
544
|
* [TabBar](https://bryntum.com/products/grid/docs/api/Core/widget/TabBar) when this container is the active tab.
|
|
582
|
-
* ...
|
|
583
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-tabBarItems)
|
|
545
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-tabBarItems)
|
|
584
546
|
*/
|
|
585
547
|
tabBarItems ? : ToolbarItems[]|Widget[]
|
|
586
548
|
/**
|
|
@@ -589,15 +551,13 @@ defineProps<{
|
|
|
589
551
|
tag ? : string
|
|
590
552
|
/**
|
|
591
553
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
592
|
-
* ...
|
|
593
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-textAlign)
|
|
554
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-textAlign)
|
|
594
555
|
*/
|
|
595
556
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
596
557
|
/**
|
|
597
558
|
* Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
|
|
598
559
|
* which specifies a default max-width that makes long text more readable.
|
|
599
|
-
* ...
|
|
600
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-textContent)
|
|
560
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-textContent)
|
|
601
561
|
*/
|
|
602
562
|
textContent ? : Boolean
|
|
603
563
|
/**
|
|
@@ -606,8 +566,7 @@ defineProps<{
|
|
|
606
566
|
title ? : string
|
|
607
567
|
/**
|
|
608
568
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
609
|
-
* ...
|
|
610
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-tooltip)
|
|
569
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-tooltip)
|
|
611
570
|
*/
|
|
612
571
|
tooltip ? : string|TooltipConfig|null
|
|
613
572
|
/**
|
|
@@ -621,8 +580,7 @@ defineProps<{
|
|
|
621
580
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
622
581
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
623
582
|
* values are used as the class names.
|
|
624
|
-
* ...
|
|
625
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-ui)
|
|
583
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-ui)
|
|
626
584
|
*/
|
|
627
585
|
ui ? : string|object
|
|
628
586
|
/**
|
|
@@ -638,14 +596,12 @@ defineProps<{
|
|
|
638
596
|
width ? : string|number
|
|
639
597
|
/**
|
|
640
598
|
* The x position for the widget.
|
|
641
|
-
* ...
|
|
642
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-x)
|
|
599
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-x)
|
|
643
600
|
*/
|
|
644
601
|
x ? : number
|
|
645
602
|
/**
|
|
646
603
|
* The y position for the widget.
|
|
647
|
-
* ...
|
|
648
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-y)
|
|
604
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-y)
|
|
649
605
|
*/
|
|
650
606
|
y ? : number
|
|
651
607
|
|
|
@@ -657,124 +613,101 @@ const emit = defineEmits<{
|
|
|
657
613
|
* Return `false` from the event handler to prevent the filter being added.
|
|
658
614
|
* @param {string} e Event name
|
|
659
615
|
* @param {object} params Event parameters
|
|
660
|
-
* @param {
|
|
661
|
-
* @param {
|
|
662
|
-
* @param {
|
|
663
|
-
* @param {Core.widget.FieldFilterPicker} params.params.event.source The FieldFilterPicker instance that fired the event.
|
|
664
|
-
* @param {CollectionFilterConfig} params.params.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).
|
|
616
|
+
* @param {object} params.event Event object
|
|
617
|
+
* @param {Core.widget.FieldFilterPicker} params.event.source The FieldFilterPicker instance that fired the event.
|
|
618
|
+
* @param {CollectionFilterConfig} params.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).
|
|
665
619
|
*/
|
|
666
|
-
(e: 'beforeAddFilter', params: ((event: { source: FieldFilterPicker, filter: CollectionFilterConfig }) =>
|
|
620
|
+
(e: 'beforeAddFilter', params: ((event: { source: FieldFilterPicker, filter: CollectionFilterConfig }) => boolean|void)|string): boolean|void
|
|
667
621
|
/**
|
|
668
622
|
* Fires before an object is destroyed.
|
|
669
623
|
* @param {string} e Event name
|
|
670
624
|
* @param {object} params Event parameters
|
|
671
|
-
* @param {
|
|
672
|
-
* @param {
|
|
673
|
-
* @param {object} params.params.event Event object
|
|
674
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
625
|
+
* @param {object} params.event Event object
|
|
626
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
675
627
|
*/
|
|
676
628
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
677
629
|
/**
|
|
678
630
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
679
631
|
* @param {string} e Event name
|
|
680
632
|
* @param {object} params Event parameters
|
|
681
|
-
* @param {
|
|
682
|
-
* @param {
|
|
683
|
-
* @param {object} params.params.event Event object
|
|
684
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
633
|
+
* @param {object} params.event Event object
|
|
634
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
685
635
|
*/
|
|
686
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
636
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
687
637
|
/**
|
|
688
638
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
689
639
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
690
640
|
* @param {string} e Event name
|
|
691
641
|
* @param {object} params Event parameters
|
|
692
|
-
* @param {
|
|
693
|
-
* @param {
|
|
694
|
-
* @param {
|
|
695
|
-
* @param {Core.widget.Container} params.params.event.source The container
|
|
696
|
-
* @param {Core.data.Model} params.params.event.record The record
|
|
642
|
+
* @param {object} params.event Event object
|
|
643
|
+
* @param {Core.widget.Container} params.event.source The container
|
|
644
|
+
* @param {Core.data.Model} params.event.record The record
|
|
697
645
|
*/
|
|
698
646
|
(e: 'beforeSetRecord', params: ((event: { source: Container, record: Model }) => void)|string): void
|
|
699
647
|
/**
|
|
700
648
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
701
649
|
* @param {string} e Event name
|
|
702
650
|
* @param {object} params Event parameters
|
|
703
|
-
* @param {
|
|
704
|
-
* @param {
|
|
705
|
-
* @param {object} params.params.event Event object
|
|
706
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
651
|
+
* @param {object} params.event Event object
|
|
652
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
707
653
|
*/
|
|
708
654
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
709
655
|
/**
|
|
710
656
|
* Fires when any other event is fired from the object.
|
|
711
|
-
* ...
|
|
712
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#event-catchAll)
|
|
657
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#event-catchAll)
|
|
713
658
|
* @param {string} e Event name
|
|
714
659
|
* @param {object} params Event parameters
|
|
715
|
-
* @param {
|
|
716
|
-
* @param {
|
|
717
|
-
* @param {
|
|
718
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
719
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
660
|
+
* @param {object} params.event Event object
|
|
661
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
662
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
720
663
|
*/
|
|
721
664
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
722
665
|
/**
|
|
723
666
|
* Fires when any filter in the group is added, removed, or modified.
|
|
724
667
|
* @param {string} e Event name
|
|
725
668
|
* @param {object} params Event parameters
|
|
726
|
-
* @param {
|
|
727
|
-
* @param {
|
|
728
|
-
* @param {
|
|
729
|
-
* @param {
|
|
730
|
-
* @param {CollectionFilterConfig[]} params.params.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.
|
|
731
|
-
* @param {CollectionFilterConfig[]} params.params.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.
|
|
669
|
+
* @param {object} params.event Event object
|
|
670
|
+
* @param {Core.widget.FieldFilterPickerGroup} params.event.source The FieldFilterPickerGroup instance that fired the event.
|
|
671
|
+
* @param {CollectionFilterConfig[]} params.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.
|
|
672
|
+
* @param {CollectionFilterConfig[]} params.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.
|
|
732
673
|
*/
|
|
733
674
|
(e: 'change', params: ((event: { source: FieldFilterPickerGroup, filters: CollectionFilterConfig[], validFilters: CollectionFilterConfig[] }) => void)|string): void
|
|
734
675
|
/**
|
|
735
676
|
* Fires when an object is destroyed.
|
|
736
677
|
* @param {string} e Event name
|
|
737
678
|
* @param {object} params Event parameters
|
|
738
|
-
* @param {
|
|
739
|
-
* @param {
|
|
740
|
-
* @param {object} params.params.event Event object
|
|
741
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
679
|
+
* @param {object} params.event Event object
|
|
680
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
742
681
|
*/
|
|
743
682
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
744
683
|
/**
|
|
745
684
|
* 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
|
|
746
685
|
* @param {string} e Event name
|
|
747
686
|
* @param {object} params Event parameters
|
|
748
|
-
* @param {
|
|
749
|
-
* @param {
|
|
750
|
-
* @param {
|
|
751
|
-
* @param {Core.widget.Container} params.params.event.source The container.
|
|
752
|
-
* @param {boolean} params.params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
|
|
687
|
+
* @param {object} params.event Event object
|
|
688
|
+
* @param {Core.widget.Container} params.event.source The container.
|
|
689
|
+
* @param {boolean} params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
|
|
753
690
|
*/
|
|
754
691
|
(e: 'dirtyStateChange', params: ((event: { source: Container, dirty: boolean }) => void)|string): void
|
|
755
692
|
/**
|
|
756
693
|
* Triggered when a widget's [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element) is available.
|
|
757
694
|
* @param {string} e Event name
|
|
758
695
|
* @param {object} params Event parameters
|
|
759
|
-
* @param {
|
|
760
|
-
* @param {
|
|
761
|
-
* @param {object} params.params.event Event object
|
|
762
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
696
|
+
* @param {object} params.event Event object
|
|
697
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
763
698
|
*/
|
|
764
699
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
765
700
|
/**
|
|
766
701
|
* Fired when focus enters this Widget.
|
|
767
702
|
* @param {string} e Event name
|
|
768
703
|
* @param {object} params Event parameters
|
|
769
|
-
* @param {
|
|
770
|
-
* @param {
|
|
771
|
-
* @param {
|
|
772
|
-
* @param {
|
|
773
|
-
* @param {
|
|
774
|
-
* @param {
|
|
775
|
-
* @param {
|
|
776
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
777
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
704
|
+
* @param {object} params.event Event object
|
|
705
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
706
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
707
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
708
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
709
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
710
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
778
711
|
*/
|
|
779
712
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
780
713
|
/**
|
|
@@ -783,49 +716,40 @@ const emit = defineEmits<{
|
|
|
783
716
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
784
717
|
* @param {string} e Event name
|
|
785
718
|
* @param {object} params Event parameters
|
|
786
|
-
* @param {
|
|
787
|
-
* @param {
|
|
788
|
-
* @param {
|
|
789
|
-
* @param {
|
|
790
|
-
* @param {
|
|
791
|
-
* @param {
|
|
792
|
-
* @param {
|
|
793
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
794
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
719
|
+
* @param {object} params.event Event object
|
|
720
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
721
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
722
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
723
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
724
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
725
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
795
726
|
*/
|
|
796
727
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
797
728
|
/**
|
|
798
729
|
* Triggered after a widget was hidden
|
|
799
730
|
* @param {string} e Event name
|
|
800
731
|
* @param {object} params Event parameters
|
|
801
|
-
* @param {
|
|
802
|
-
* @param {
|
|
803
|
-
* @param {object} params.params.event Event object
|
|
804
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
732
|
+
* @param {object} params.event Event object
|
|
733
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
805
734
|
*/
|
|
806
735
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
807
736
|
/**
|
|
808
737
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
809
738
|
* achieves visibility.
|
|
810
|
-
* ...
|
|
811
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#event-paint)
|
|
739
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#event-paint)
|
|
812
740
|
* @param {string} e Event name
|
|
813
741
|
* @param {object} params Event parameters
|
|
814
|
-
* @param {
|
|
815
|
-
* @param {
|
|
816
|
-
* @param {
|
|
817
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
818
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
742
|
+
* @param {object} params.event Event object
|
|
743
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
744
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
819
745
|
*/
|
|
820
746
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
821
747
|
/**
|
|
822
748
|
* Fired when a Widget's read only state is toggled
|
|
823
749
|
* @param {string} e Event name
|
|
824
750
|
* @param {object} params Event parameters
|
|
825
|
-
* @param {
|
|
826
|
-
* @param {
|
|
827
|
-
* @param {object} params.params.event Event object
|
|
828
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
751
|
+
* @param {object} params.event Event object
|
|
752
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
829
753
|
*/
|
|
830
754
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
831
755
|
/**
|
|
@@ -837,24 +761,20 @@ const emit = defineEmits<{
|
|
|
837
761
|
* 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`*.
|
|
838
762
|
* @param {string} e Event name
|
|
839
763
|
* @param {object} params Event parameters
|
|
840
|
-
* @param {
|
|
841
|
-
* @param {
|
|
842
|
-
* @param {
|
|
843
|
-
* @param {
|
|
844
|
-
* @param {number} params.
|
|
845
|
-
* @param {number} params.
|
|
846
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
847
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
764
|
+
* @param {object} params.event Event object
|
|
765
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
766
|
+
* @param {number} params.event.width The new width
|
|
767
|
+
* @param {number} params.event.height The new height
|
|
768
|
+
* @param {number} params.event.oldWidth The old width
|
|
769
|
+
* @param {number} params.event.oldHeight The old height
|
|
848
770
|
*/
|
|
849
771
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
850
772
|
/**
|
|
851
773
|
* Triggered after a widget is shown.
|
|
852
774
|
* @param {string} e Event name
|
|
853
775
|
* @param {object} params Event parameters
|
|
854
|
-
* @param {
|
|
855
|
-
* @param {
|
|
856
|
-
* @param {object} params.params.event Event object
|
|
857
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
776
|
+
* @param {object} params.event Event object
|
|
777
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
858
778
|
*/
|
|
859
779
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
860
780
|
}>();
|
|
@@ -914,6 +834,7 @@ const widgetData = {
|
|
|
914
834
|
'preventTooltipOnTouch',
|
|
915
835
|
'relayStoreEvents',
|
|
916
836
|
'ripple',
|
|
837
|
+
'role',
|
|
917
838
|
'rootElement',
|
|
918
839
|
'scrollAction',
|
|
919
840
|
'showAddFilterButton',
|
|
@@ -952,6 +873,7 @@ const widgetData = {
|
|
|
952
873
|
'items',
|
|
953
874
|
'keyMap',
|
|
954
875
|
'labelPosition',
|
|
876
|
+
'labelWidth',
|
|
955
877
|
'layout',
|
|
956
878
|
'layoutStyle',
|
|
957
879
|
'margin',
|
|
@@ -991,11 +913,6 @@ const widgetData = {
|
|
|
991
913
|
'y'
|
|
992
914
|
],
|
|
993
915
|
propertyNames : [
|
|
994
|
-
'anchorSize',
|
|
995
|
-
'focusVisible',
|
|
996
|
-
'hasChanges',
|
|
997
|
-
'isSettingValues',
|
|
998
|
-
'isValid',
|
|
999
916
|
'parent',
|
|
1000
917
|
'value',
|
|
1001
918
|
'values'
|