@bryntum/grid-vue-3-thin 7.1.1

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