@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, Collection, CollectionConfig, Color, DomConfig, KeyMapConfig, List, MaskConfig, Model, Rectangle, Scroller, ScrollerConfig, Store, StoreConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
13
|
+
import type { AlignSpec, Base, Collection, CollectionConfig, Color, DomConfig, KeyMapConfig, List, MaskConfig, Model, ReactJSX, Rectangle, Scroller, ScrollerConfig, Store, StoreConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { GroupBarListeners } from '@bryntum/grid-thin';
|
|
15
15
|
import { GroupBar } from '@bryntum/grid-thin';
|
|
16
16
|
|
|
@@ -26,14 +26,12 @@ defineProps<{
|
|
|
26
26
|
/**
|
|
27
27
|
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
28
28
|
* content will be placed inside this element.
|
|
29
|
-
* ...
|
|
30
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-adopt)
|
|
29
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-adopt)
|
|
31
30
|
*/
|
|
32
31
|
adopt ? : HTMLElement|string
|
|
33
32
|
/**
|
|
34
33
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
35
|
-
* ...
|
|
36
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-align)
|
|
34
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-align)
|
|
37
35
|
*/
|
|
38
36
|
align ? : AlignSpec|string
|
|
39
37
|
/**
|
|
@@ -60,35 +58,30 @@ 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/GroupBar#config-ariaDescription)
|
|
61
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#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/GroupBar#config-ariaLabel)
|
|
67
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-ariaLabel)
|
|
72
68
|
*/
|
|
73
69
|
ariaLabel ? : string
|
|
74
70
|
/**
|
|
75
71
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
76
72
|
* hierarchy when triggered.
|
|
77
|
-
* ...
|
|
78
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-bubbleEvents)
|
|
73
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-bubbleEvents)
|
|
79
74
|
*/
|
|
80
75
|
bubbleEvents ? : object
|
|
81
76
|
/**
|
|
82
77
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
83
|
-
* ...
|
|
84
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-callOnFunctions)
|
|
78
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-callOnFunctions)
|
|
85
79
|
*/
|
|
86
80
|
callOnFunctions ? : Boolean
|
|
87
81
|
/**
|
|
88
82
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
89
83
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
90
|
-
* ...
|
|
91
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-catchEventHandlerExceptions)
|
|
84
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-catchEventHandlerExceptions)
|
|
92
85
|
*/
|
|
93
86
|
catchEventHandlerExceptions ? : Boolean
|
|
94
87
|
/**
|
|
@@ -101,10 +94,9 @@ defineProps<{
|
|
|
101
94
|
*/
|
|
102
95
|
clearSelectionOnEmptySpaceClick ? : Boolean
|
|
103
96
|
/**
|
|
104
|
-
* Configure as `true` to display a clickable close icon after the [itemTpl](https://bryntum.com/products/grid/docs/api/Core/widget/
|
|
97
|
+
* Configure as `true` to display a clickable close icon after the [itemTpl](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-itemTpl).
|
|
105
98
|
* When tapped, the configured [closeHandler](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-closeHandler) is called passing the associated record.
|
|
106
|
-
* ...
|
|
107
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-closable)
|
|
99
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-closable)
|
|
108
100
|
*/
|
|
109
101
|
closable ? : Boolean
|
|
110
102
|
/**
|
|
@@ -117,8 +109,7 @@ defineProps<{
|
|
|
117
109
|
* Custom CSS classes to add to element.
|
|
118
110
|
* May be specified as a space separated string, or as an object in which property names
|
|
119
111
|
* with truthy values are used as the class names:
|
|
120
|
-
* ...
|
|
121
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-cls)
|
|
112
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-cls)
|
|
122
113
|
*/
|
|
123
114
|
cls ? : string|object
|
|
124
115
|
/**
|
|
@@ -128,8 +119,7 @@ defineProps<{
|
|
|
128
119
|
/**
|
|
129
120
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
130
121
|
* `style` block.
|
|
131
|
-
* ...
|
|
132
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-color)
|
|
122
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-color)
|
|
133
123
|
*/
|
|
134
124
|
color ? : Color
|
|
135
125
|
/**
|
|
@@ -153,8 +143,7 @@ defineProps<{
|
|
|
153
143
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
|
|
154
144
|
* May be specified as a space separated string, or as an object in which property names
|
|
155
145
|
* with truthy values are used as the class names:
|
|
156
|
-
* ...
|
|
157
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-contentElementCls)
|
|
146
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-contentElementCls)
|
|
158
147
|
*/
|
|
159
148
|
contentElementCls ? : string|object
|
|
160
149
|
/**
|
|
@@ -172,16 +161,15 @@ defineProps<{
|
|
|
172
161
|
*/
|
|
173
162
|
defaultBindProperty ? : string
|
|
174
163
|
/**
|
|
175
|
-
* Check for CSS compatibility issues
|
|
176
|
-
*
|
|
177
|
-
* [
|
|
164
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
165
|
+
* checks:
|
|
166
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-detectCSSCompatibilityIssues)
|
|
178
167
|
*/
|
|
179
168
|
detectCSSCompatibilityIssues ? : Boolean
|
|
180
169
|
/**
|
|
181
170
|
* Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
|
|
182
171
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
183
|
-
* ...
|
|
184
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-disabled)
|
|
172
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-disabled)
|
|
185
173
|
*/
|
|
186
174
|
disabled ? : Boolean|'inert'
|
|
187
175
|
/**
|
|
@@ -193,25 +181,21 @@ defineProps<{
|
|
|
193
181
|
* [strips collection](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
194
182
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
195
183
|
* body. Such widgets are called "edge strips".
|
|
196
|
-
* ...
|
|
197
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-dock)
|
|
184
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-dock)
|
|
198
185
|
*/
|
|
199
186
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
200
187
|
/**
|
|
201
188
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
202
189
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
203
190
|
* property which controls when a drag should start.
|
|
204
|
-
* ...
|
|
205
|
-
*
|
|
191
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-draggable)
|
|
192
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
206
193
|
*/
|
|
207
|
-
draggable ? : Boolean|
|
|
208
|
-
handleSelector?: string
|
|
209
|
-
}
|
|
194
|
+
draggable ? : Boolean|object
|
|
210
195
|
/**
|
|
211
196
|
* An object specifying attributes to assign to the root element of this widget.
|
|
212
197
|
* Set `null` value to attribute to remove it.
|
|
213
|
-
* ...
|
|
214
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-elementAttributes)
|
|
198
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-elementAttributes)
|
|
215
199
|
*/
|
|
216
200
|
elementAttributes ? : Record<string, string|null>
|
|
217
201
|
/**
|
|
@@ -266,25 +250,22 @@ defineProps<{
|
|
|
266
250
|
hidden ? : Boolean
|
|
267
251
|
/**
|
|
268
252
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
269
|
-
* ...
|
|
270
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-hideAnimation)
|
|
253
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-hideAnimation)
|
|
271
254
|
*/
|
|
272
255
|
hideAnimation ? : Boolean|object
|
|
273
256
|
/**
|
|
274
257
|
* The HTML to display initially or a function returning the markup (called at widget construction time).
|
|
275
|
-
* ...
|
|
276
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-html)
|
|
258
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-html)
|
|
277
259
|
* @param {Core.widget.Widget} widget The calling Widget
|
|
278
|
-
* @returns {string}
|
|
279
260
|
*/
|
|
280
|
-
html ? : string|((widget: Widget) =>
|
|
261
|
+
html ? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
|
|
281
262
|
/**
|
|
282
263
|
* The CSS class(es) to add when HTML content is being applied to this widget.
|
|
283
264
|
*/
|
|
284
265
|
htmlCls ? : string|object
|
|
285
266
|
/**
|
|
286
267
|
* A template function, which, when passed a record, returns the markup which encapsulates a chip's icon to be
|
|
287
|
-
* placed before the [itemTpl](https://bryntum.com/products/grid/docs/api/Core/widget/
|
|
268
|
+
* placed before the [itemTpl](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-itemTpl).
|
|
288
269
|
* @param {Core.data.Model} record The record to provide an icon for
|
|
289
270
|
* @returns {DomConfig,string,void}
|
|
290
271
|
*/
|
|
@@ -295,8 +276,7 @@ defineProps<{
|
|
|
295
276
|
id ? : string
|
|
296
277
|
/**
|
|
297
278
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
298
|
-
* ...
|
|
299
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-ignoreParentReadOnly)
|
|
279
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-ignoreParentReadOnly)
|
|
300
280
|
*/
|
|
301
281
|
ignoreParentReadOnly ? : Boolean
|
|
302
282
|
/**
|
|
@@ -330,22 +310,19 @@ defineProps<{
|
|
|
330
310
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
331
311
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
332
312
|
* are the name of the instance method to call when the keystroke is received.
|
|
333
|
-
* ...
|
|
334
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-keyMap)
|
|
313
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-keyMap)
|
|
335
314
|
*/
|
|
336
315
|
keyMap ? : Record<string, KeyMapConfig>
|
|
337
316
|
/**
|
|
338
317
|
* The listener set for this object.
|
|
339
|
-
* ...
|
|
340
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-listeners)
|
|
318
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-listeners)
|
|
341
319
|
*/
|
|
342
320
|
listeners ? : GroupBarListeners
|
|
343
321
|
/**
|
|
344
322
|
* A class translations of which are used for translating this entity.
|
|
345
323
|
* This is often used when translations of an item are defined on its container class.
|
|
346
324
|
* For example:
|
|
347
|
-
* ...
|
|
348
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-localeClass)
|
|
325
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-localeClass)
|
|
349
326
|
*/
|
|
350
327
|
localeClass ? : typeof Base
|
|
351
328
|
/**
|
|
@@ -357,8 +334,7 @@ defineProps<{
|
|
|
357
334
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
358
335
|
* you could use 'localeKey' meta configuration.
|
|
359
336
|
* Example:
|
|
360
|
-
* ...
|
|
361
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-localizableProperties)
|
|
337
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-localizableProperties)
|
|
362
338
|
*/
|
|
363
339
|
localizableProperties ? : string[]
|
|
364
340
|
/**
|
|
@@ -384,8 +360,7 @@ defineProps<{
|
|
|
384
360
|
maxHeight ? : string|number
|
|
385
361
|
/**
|
|
386
362
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
387
|
-
* ...
|
|
388
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-maximizeOnMobile)
|
|
363
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-maximizeOnMobile)
|
|
389
364
|
*/
|
|
390
365
|
maximizeOnMobile ? : number|string
|
|
391
366
|
/**
|
|
@@ -407,12 +382,10 @@ defineProps<{
|
|
|
407
382
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
408
383
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
409
384
|
* layout.
|
|
410
|
-
* ...
|
|
411
|
-
*
|
|
385
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-monitorResize)
|
|
386
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
412
387
|
*/
|
|
413
|
-
monitorResize ? : Boolean|
|
|
414
|
-
immediate?: Boolean
|
|
415
|
-
}
|
|
388
|
+
monitorResize ? : Boolean|object
|
|
416
389
|
/**
|
|
417
390
|
* Configure as `true` to allow multi select and allow clicking and key navigation to select multiple chips.
|
|
418
391
|
*/
|
|
@@ -421,8 +394,7 @@ defineProps<{
|
|
|
421
394
|
* 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
|
|
422
395
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
423
396
|
* widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
|
|
424
|
-
* ...
|
|
425
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-positioned)
|
|
397
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-positioned)
|
|
426
398
|
*/
|
|
427
399
|
positioned ? : Boolean
|
|
428
400
|
/**
|
|
@@ -433,8 +405,7 @@ defineProps<{
|
|
|
433
405
|
/**
|
|
434
406
|
* Whether this widget is read-only. This is only valid if the widget is an input
|
|
435
407
|
* field, <strong>or contains input fields at any depth</strong>.
|
|
436
|
-
* ...
|
|
437
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-readOnly)
|
|
408
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-readOnly)
|
|
438
409
|
*/
|
|
439
410
|
readOnly ? : Boolean
|
|
440
411
|
relayStoreEvents ? : Boolean
|
|
@@ -442,23 +413,26 @@ defineProps<{
|
|
|
442
413
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
443
414
|
* [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
|
|
444
415
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
445
|
-
* ...
|
|
446
|
-
* [
|
|
416
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-ripple)
|
|
417
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
418
|
+
* @property {string} [color] A CSS color name or specification.
|
|
419
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
420
|
+
* @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.
|
|
421
|
+
*/
|
|
422
|
+
ripple ? : Boolean|object
|
|
423
|
+
/**
|
|
424
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
425
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
426
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-role)
|
|
447
427
|
*/
|
|
448
|
-
|
|
449
|
-
delegate?: string
|
|
450
|
-
color?: string
|
|
451
|
-
radius?: number
|
|
452
|
-
clip?: string
|
|
453
|
-
}
|
|
428
|
+
role ? : string
|
|
454
429
|
/**
|
|
455
430
|
* 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`
|
|
456
431
|
*/
|
|
457
432
|
rootElement ? : ShadowRoot|HTMLElement
|
|
458
433
|
/**
|
|
459
434
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
460
|
-
* ...
|
|
461
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-rtl)
|
|
435
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-rtl)
|
|
462
436
|
*/
|
|
463
437
|
rtl ? : Boolean
|
|
464
438
|
/**
|
|
@@ -466,8 +440,7 @@ defineProps<{
|
|
|
466
440
|
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
467
441
|
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
468
442
|
* CSS overflow properties thus:
|
|
469
|
-
* ...
|
|
470
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-scrollable)
|
|
443
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-scrollable)
|
|
471
444
|
*/
|
|
472
445
|
scrollable ? : Boolean|ScrollerConfig|Scroller
|
|
473
446
|
/**
|
|
@@ -483,14 +456,12 @@ defineProps<{
|
|
|
483
456
|
/**
|
|
484
457
|
* A [Collection](https://bryntum.com/products/grid/docs/api/Core/util/Collection), or Collection config object to use to contain this List's selected
|
|
485
458
|
* records.
|
|
486
|
-
* ...
|
|
487
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-selected)
|
|
459
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-selected)
|
|
488
460
|
*/
|
|
489
461
|
selected ? : object[]|number[]|string[]|Collection|CollectionConfig|CollectionConfig[]
|
|
490
462
|
/**
|
|
491
463
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
492
|
-
* ...
|
|
493
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-showAnimation)
|
|
464
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-showAnimation)
|
|
494
465
|
*/
|
|
495
466
|
showAnimation ? : Boolean|object
|
|
496
467
|
/**
|
|
@@ -504,16 +475,14 @@ defineProps<{
|
|
|
504
475
|
/**
|
|
505
476
|
* A [Store](https://bryntum.com/products/grid/docs/api/Core/data/Store) which provides the records which map to List items. Each record is passed through the
|
|
506
477
|
* [itemTpl](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-itemTpl) to produce the DOM structure of the List. May be generated from an array of [items](#Core/widget/List#config-items).
|
|
507
|
-
* ...
|
|
508
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-store)
|
|
478
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-store)
|
|
509
479
|
*/
|
|
510
480
|
store ? : object|object[]|StoreConfig|Store|StoreConfig[]
|
|
511
481
|
/**
|
|
512
482
|
* 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
|
|
513
483
|
* [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
|
|
514
484
|
* this widget:
|
|
515
|
-
* ...
|
|
516
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-tab)
|
|
485
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-tab)
|
|
517
486
|
*/
|
|
518
487
|
tab ? : Boolean|TabConfig
|
|
519
488
|
/**
|
|
@@ -522,8 +491,7 @@ defineProps<{
|
|
|
522
491
|
tag ? : string
|
|
523
492
|
/**
|
|
524
493
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
525
|
-
* ...
|
|
526
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-textAlign)
|
|
494
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-textAlign)
|
|
527
495
|
*/
|
|
528
496
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
529
497
|
/**
|
|
@@ -536,8 +504,7 @@ defineProps<{
|
|
|
536
504
|
toggleAllIfCtrlPressed ? : Boolean
|
|
537
505
|
/**
|
|
538
506
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
539
|
-
* ...
|
|
540
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-tooltip)
|
|
507
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-tooltip)
|
|
541
508
|
*/
|
|
542
509
|
tooltip ? : string|TooltipConfig|null
|
|
543
510
|
/**
|
|
@@ -551,16 +518,14 @@ defineProps<{
|
|
|
551
518
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
552
519
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
553
520
|
* values are used as the class names.
|
|
554
|
-
* ...
|
|
555
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-ui)
|
|
521
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-ui)
|
|
556
522
|
*/
|
|
557
523
|
ui ? : string|object
|
|
558
524
|
/**
|
|
559
525
|
* Controls virtualization of list items using the `IntersectionObserver` API to render items only when
|
|
560
526
|
* scrolled into view. This is only useful for lists with complex markup, for simple lists it likely adds
|
|
561
527
|
* overhead.
|
|
562
|
-
* ...
|
|
563
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-virtualize)
|
|
528
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-virtualize)
|
|
564
529
|
*/
|
|
565
530
|
virtualize ? : Boolean|number
|
|
566
531
|
/**
|
|
@@ -576,14 +541,12 @@ defineProps<{
|
|
|
576
541
|
width ? : string|number
|
|
577
542
|
/**
|
|
578
543
|
* The x position for the widget.
|
|
579
|
-
* ...
|
|
580
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-x)
|
|
544
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-x)
|
|
581
545
|
*/
|
|
582
546
|
x ? : number
|
|
583
547
|
/**
|
|
584
548
|
* The y position for the widget.
|
|
585
|
-
* ...
|
|
586
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-y)
|
|
549
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-y)
|
|
587
550
|
*/
|
|
588
551
|
y ? : number
|
|
589
552
|
|
|
@@ -594,94 +557,77 @@ const emit = defineEmits<{
|
|
|
594
557
|
* Fires before an object is destroyed.
|
|
595
558
|
* @param {string} e Event name
|
|
596
559
|
* @param {object} params Event parameters
|
|
597
|
-
* @param {
|
|
598
|
-
* @param {
|
|
599
|
-
* @param {object} params.params.event Event object
|
|
600
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
560
|
+
* @param {object} params.event Event object
|
|
561
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
601
562
|
*/
|
|
602
563
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
603
564
|
/**
|
|
604
565
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
605
566
|
* @param {string} e Event name
|
|
606
567
|
* @param {object} params Event parameters
|
|
607
|
-
* @param {
|
|
608
|
-
* @param {
|
|
609
|
-
* @param {object} params.params.event Event object
|
|
610
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
568
|
+
* @param {object} params.event Event object
|
|
569
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
611
570
|
*/
|
|
612
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
571
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
613
572
|
/**
|
|
614
573
|
* User going to activate an item in the list either by pointer or keyboard.
|
|
615
574
|
* The active record, list item index, and the triggering event are passed.
|
|
616
575
|
* It is preventable by returning `false`
|
|
617
576
|
* @param {string} e Event name
|
|
618
577
|
* @param {object} params Event parameters
|
|
619
|
-
* @param {
|
|
620
|
-
* @param {
|
|
621
|
-
* @param {
|
|
622
|
-
* @param {Core.
|
|
623
|
-
* @param {
|
|
624
|
-
* @param {
|
|
625
|
-
* @param {number} params.params.event.index List item index
|
|
626
|
-
* @param {Event} params.params.event.event Triggering event
|
|
578
|
+
* @param {object} params.event Event object
|
|
579
|
+
* @param {Core.widget.List} params.event.source The List instance
|
|
580
|
+
* @param {HTMLElement} params.event.item The clicked list element
|
|
581
|
+
* @param {Core.data.Model} params.event.record Activated record
|
|
582
|
+
* @param {number} params.event.index List item index
|
|
583
|
+
* @param {Event} params.event.event Triggering event
|
|
627
584
|
*/
|
|
628
|
-
(e: 'beforeItem', params: ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) =>
|
|
585
|
+
(e: 'beforeItem', params: ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) => boolean|void)|string): boolean|void
|
|
629
586
|
/**
|
|
630
587
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
631
588
|
* @param {string} e Event name
|
|
632
589
|
* @param {object} params Event parameters
|
|
633
|
-
* @param {
|
|
634
|
-
* @param {
|
|
635
|
-
* @param {object} params.params.event Event object
|
|
636
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
590
|
+
* @param {object} params.event Event object
|
|
591
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
637
592
|
*/
|
|
638
593
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
639
594
|
/**
|
|
640
595
|
* Fires when any other event is fired from the object.
|
|
641
|
-
* ...
|
|
642
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#event-catchAll)
|
|
596
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#event-catchAll)
|
|
643
597
|
* @param {string} e Event name
|
|
644
598
|
* @param {object} params Event parameters
|
|
645
|
-
* @param {
|
|
646
|
-
* @param {
|
|
647
|
-
* @param {
|
|
648
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
649
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
599
|
+
* @param {object} params.event Event object
|
|
600
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
601
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
650
602
|
*/
|
|
651
603
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
652
604
|
/**
|
|
653
605
|
* Fires when an object is destroyed.
|
|
654
606
|
* @param {string} e Event name
|
|
655
607
|
* @param {object} params Event parameters
|
|
656
|
-
* @param {
|
|
657
|
-
* @param {
|
|
658
|
-
* @param {object} params.params.event Event object
|
|
659
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
608
|
+
* @param {object} params.event Event object
|
|
609
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
660
610
|
*/
|
|
661
611
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
662
612
|
/**
|
|
663
613
|
* Triggered when a widget's [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element) is available.
|
|
664
614
|
* @param {string} e Event name
|
|
665
615
|
* @param {object} params Event parameters
|
|
666
|
-
* @param {
|
|
667
|
-
* @param {
|
|
668
|
-
* @param {object} params.params.event Event object
|
|
669
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
616
|
+
* @param {object} params.event Event object
|
|
617
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
670
618
|
*/
|
|
671
619
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
672
620
|
/**
|
|
673
621
|
* Fired when focus enters this Widget.
|
|
674
622
|
* @param {string} e Event name
|
|
675
623
|
* @param {object} params Event parameters
|
|
676
|
-
* @param {
|
|
677
|
-
* @param {
|
|
678
|
-
* @param {
|
|
679
|
-
* @param {
|
|
680
|
-
* @param {
|
|
681
|
-
* @param {
|
|
682
|
-
* @param {
|
|
683
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
684
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
624
|
+
* @param {object} params.event Event object
|
|
625
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
626
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
627
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
628
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
629
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
630
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
685
631
|
*/
|
|
686
632
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
687
633
|
/**
|
|
@@ -690,25 +636,21 @@ const emit = defineEmits<{
|
|
|
690
636
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
691
637
|
* @param {string} e Event name
|
|
692
638
|
* @param {object} params Event parameters
|
|
693
|
-
* @param {
|
|
694
|
-
* @param {
|
|
695
|
-
* @param {
|
|
696
|
-
* @param {
|
|
697
|
-
* @param {
|
|
698
|
-
* @param {
|
|
699
|
-
* @param {
|
|
700
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
701
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
639
|
+
* @param {object} params.event Event object
|
|
640
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
641
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
642
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
643
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
644
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
645
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
702
646
|
*/
|
|
703
647
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
704
648
|
/**
|
|
705
649
|
* Triggered after a widget was hidden
|
|
706
650
|
* @param {string} e Event name
|
|
707
651
|
* @param {object} params Event parameters
|
|
708
|
-
* @param {
|
|
709
|
-
* @param {
|
|
710
|
-
* @param {object} params.params.event Event object
|
|
711
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
652
|
+
* @param {object} params.event Event object
|
|
653
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
712
654
|
*/
|
|
713
655
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
714
656
|
/**
|
|
@@ -716,38 +658,31 @@ const emit = defineEmits<{
|
|
|
716
658
|
* The active record, list item index, and the triggering event are passed.
|
|
717
659
|
* @param {string} e Event name
|
|
718
660
|
* @param {object} params Event parameters
|
|
719
|
-
* @param {
|
|
720
|
-
* @param {
|
|
721
|
-
* @param {
|
|
722
|
-
* @param {Core.
|
|
723
|
-
* @param {
|
|
724
|
-
* @param {
|
|
725
|
-
* @param {number} params.params.event.index List item index
|
|
726
|
-
* @param {Event} params.params.event.event Triggering event
|
|
661
|
+
* @param {object} params.event Event object
|
|
662
|
+
* @param {Core.widget.List} params.event.source The List instance
|
|
663
|
+
* @param {HTMLElement} params.event.item The clicked list element
|
|
664
|
+
* @param {Core.data.Model} params.event.record Activated record
|
|
665
|
+
* @param {number} params.event.index List item index
|
|
666
|
+
* @param {Event} params.event.event Triggering event
|
|
727
667
|
*/
|
|
728
668
|
(e: 'item', params: ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) => void)|string): void
|
|
729
669
|
/**
|
|
730
670
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
731
671
|
* achieves visibility.
|
|
732
|
-
* ...
|
|
733
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#event-paint)
|
|
672
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#event-paint)
|
|
734
673
|
* @param {string} e Event name
|
|
735
674
|
* @param {object} params Event parameters
|
|
736
|
-
* @param {
|
|
737
|
-
* @param {
|
|
738
|
-
* @param {
|
|
739
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
740
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
675
|
+
* @param {object} params.event Event object
|
|
676
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
677
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
741
678
|
*/
|
|
742
679
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
743
680
|
/**
|
|
744
681
|
* Fired when a Widget's read only state is toggled
|
|
745
682
|
* @param {string} e Event name
|
|
746
683
|
* @param {object} params Event parameters
|
|
747
|
-
* @param {
|
|
748
|
-
* @param {
|
|
749
|
-
* @param {object} params.params.event Event object
|
|
750
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
684
|
+
* @param {object} params.event Event object
|
|
685
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
751
686
|
*/
|
|
752
687
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
753
688
|
/**
|
|
@@ -759,57 +694,47 @@ const emit = defineEmits<{
|
|
|
759
694
|
* 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`*.
|
|
760
695
|
* @param {string} e Event name
|
|
761
696
|
* @param {object} params Event parameters
|
|
762
|
-
* @param {
|
|
763
|
-
* @param {
|
|
764
|
-
* @param {
|
|
765
|
-
* @param {
|
|
766
|
-
* @param {number} params.
|
|
767
|
-
* @param {number} params.
|
|
768
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
769
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
697
|
+
* @param {object} params.event Event object
|
|
698
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
699
|
+
* @param {number} params.event.width The new width
|
|
700
|
+
* @param {number} params.event.height The new height
|
|
701
|
+
* @param {number} params.event.oldWidth The old width
|
|
702
|
+
* @param {number} params.event.oldHeight The old height
|
|
770
703
|
*/
|
|
771
704
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
772
705
|
/**
|
|
773
706
|
* Fired when selection changes
|
|
774
707
|
* @param {string} e Event name
|
|
775
708
|
* @param {object} params Event parameters
|
|
776
|
-
* @param {
|
|
777
|
-
* @param {
|
|
778
|
-
* @param {
|
|
779
|
-
* @param {Core.widget.List} params.params.event.source The List instance
|
|
780
|
-
* @param {Core.data.Model[]} params.params.event.selected An array of the currently selected records
|
|
709
|
+
* @param {object} params.event Event object
|
|
710
|
+
* @param {Core.widget.List} params.event.source The List instance
|
|
711
|
+
* @param {Core.data.Model[]} params.event.selected An array of the currently selected records
|
|
781
712
|
*/
|
|
782
713
|
(e: 'selectionChange', params: ((event: { source: List, selected: Model[] }) => void)|string): void
|
|
783
714
|
/**
|
|
784
715
|
* Triggered after a widget is shown.
|
|
785
716
|
* @param {string} e Event name
|
|
786
717
|
* @param {object} params Event parameters
|
|
787
|
-
* @param {
|
|
788
|
-
* @param {
|
|
789
|
-
* @param {object} params.params.event Event object
|
|
790
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
718
|
+
* @param {object} params.event Event object
|
|
719
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
791
720
|
*/
|
|
792
721
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
793
722
|
/**
|
|
794
723
|
* Group item expanded or collapsed
|
|
795
724
|
* @param {string} e Event name
|
|
796
725
|
* @param {object} params Event parameters
|
|
797
|
-
* @param {
|
|
798
|
-
* @param {
|
|
799
|
-
* @param {
|
|
800
|
-
* @param {Core.data.Model} params.params.event.groupRecord Group record
|
|
801
|
-
* @param {boolean} params.params.event.collapse Collapsed (true) or expanded (false)
|
|
726
|
+
* @param {object} params.event Event object
|
|
727
|
+
* @param {Core.data.Model} params.event.groupRecord Group record
|
|
728
|
+
* @param {boolean} params.event.collapse Collapsed (true) or expanded (false)
|
|
802
729
|
*/
|
|
803
730
|
(e: 'toggleGroup', params: ((event: { groupRecord: Model, collapse: boolean }) => void)|string): void
|
|
804
731
|
/**
|
|
805
732
|
* Tree parent node expanded or collapsed
|
|
806
733
|
* @param {string} e Event name
|
|
807
734
|
* @param {object} params Event parameters
|
|
808
|
-
* @param {
|
|
809
|
-
* @param {
|
|
810
|
-
* @param {
|
|
811
|
-
* @param {Core.data.Model} params.params.event.record The parent record which has been toggled
|
|
812
|
-
* @param {boolean} params.params.event.collapse Collapsed (true) or expanded (false)
|
|
735
|
+
* @param {object} params.event Event object
|
|
736
|
+
* @param {Core.data.Model} params.event.record The parent record which has been toggled
|
|
737
|
+
* @param {boolean} params.event.collapse Collapsed (true) or expanded (false)
|
|
813
738
|
*/
|
|
814
739
|
(e: 'toggleNode', params: ((event: { record: Model, collapse: boolean }) => void)|string): void
|
|
815
740
|
}>();
|
|
@@ -861,6 +786,7 @@ const widgetData = {
|
|
|
861
786
|
'preventTooltipOnTouch',
|
|
862
787
|
'relayStoreEvents',
|
|
863
788
|
'ripple',
|
|
789
|
+
'role',
|
|
864
790
|
'rootElement',
|
|
865
791
|
'scrollAction',
|
|
866
792
|
'selectAllItem',
|
|
@@ -939,8 +865,6 @@ const widgetData = {
|
|
|
939
865
|
'y'
|
|
940
866
|
],
|
|
941
867
|
propertyNames : [
|
|
942
|
-
'anchorSize',
|
|
943
|
-
'focusVisible',
|
|
944
868
|
'parent'
|
|
945
869
|
],
|
|
946
870
|
eventNames : [
|