@bryntum/grid-angular-thin 7.2.4 → 7.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/README.md +4 -4
  2. package/bundles/bryntum-grid-angular-thin.umd.js +761 -230
  3. package/bundles/bryntum-grid-angular-thin.umd.js.map +1 -1
  4. package/esm2015/lib/bryntum-a-i-filter-field.component.js +62 -14
  5. package/esm2015/lib/bryntum-checklist-filter-combo.component.js +62 -14
  6. package/esm2015/lib/bryntum-grid-base.component.js +78 -35
  7. package/esm2015/lib/bryntum-grid-chart-designer.component.js +61 -12
  8. package/esm2015/lib/bryntum-grid-field-filter-picker-group.component.js +65 -21
  9. package/esm2015/lib/bryntum-grid-field-filter-picker.component.js +65 -21
  10. package/esm2015/lib/bryntum-grid.component.js +78 -35
  11. package/esm2015/lib/bryntum-group-bar.component.js +61 -12
  12. package/esm2015/lib/bryntum-tree-combo.component.js +62 -14
  13. package/esm2015/lib/bryntum-tree-grid.component.js +78 -35
  14. package/esm2015/lib/grid.module.js +5 -4
  15. package/esm2015/lib/shadowdom.helper.js +82 -0
  16. package/fesm2015/bryntum-grid-angular-thin.js +738 -207
  17. package/fesm2015/bryntum-grid-angular-thin.js.map +1 -1
  18. package/lib/bryntum-a-i-filter-field.component.d.ts +87 -133
  19. package/lib/bryntum-checklist-filter-combo.component.d.ts +106 -166
  20. package/lib/bryntum-grid-base.component.d.ts +238 -303
  21. package/lib/bryntum-grid-chart-designer.component.d.ts +71 -108
  22. package/lib/bryntum-grid-field-filter-picker-group.component.d.ts +93 -143
  23. package/lib/bryntum-grid-field-filter-picker.component.d.ts +94 -145
  24. package/lib/bryntum-grid.component.d.ts +238 -303
  25. package/lib/bryntum-group-bar.component.d.ts +77 -118
  26. package/lib/bryntum-tree-combo.component.d.ts +107 -168
  27. package/lib/bryntum-tree-grid.component.d.ts +238 -303
  28. package/lib/grid.module.d.ts +2 -1
  29. package/lib/shadowdom.helper.d.ts +3 -0
  30. package/package.json +1 -1
  31. package/src/lib/bryntum-a-i-filter-field.component.ts +146 -141
  32. package/src/lib/bryntum-checklist-filter-combo.component.ts +166 -175
  33. package/src/lib/bryntum-grid-base.component.ts +275 -319
  34. package/src/lib/bryntum-grid-chart-designer.component.ts +126 -112
  35. package/src/lib/bryntum-grid-field-filter-picker-group.component.ts +152 -152
  36. package/src/lib/bryntum-grid-field-filter-picker.component.ts +152 -153
  37. package/src/lib/bryntum-grid.component.ts +275 -319
  38. package/src/lib/bryntum-group-bar.component.ts +132 -122
  39. package/src/lib/bryntum-theme-combo.component.ts +128 -0
  40. package/src/lib/bryntum-tree-combo.component.ts +166 -176
  41. package/src/lib/bryntum-tree-grid.component.ts +275 -319
  42. package/src/lib/grid.module.ts +2 -1
  43. package/src/lib/shadowdom.helper.ts +91 -0
@@ -7,24 +7,23 @@ import { Component, ElementRef, EventEmitter, Output, Input, SimpleChange, Simpl
7
7
 
8
8
  import WrapperHelper from './wrapper.helper';
9
9
 
10
- import { AlignSpec, Base, Color, DomConfig, KeyMapConfig, MaskConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
10
+ import { AlignSpec, Base, Color, DomConfig, KeyMapConfig, MaskConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
11
11
  import { Grid, GridChartDesigner, GridChartDesignerListeners } from '@bryntum/grid-thin';
12
12
 
13
- import { StringHelper } from '@bryntum/core-thin';
13
+ import { DomHelper, StringHelper } from '@bryntum/core-thin';
14
+ import { initThemeInShadowRoots } from './shadowdom.helper';
14
15
 
15
16
  export type BryntumGridChartDesignerProps = {
16
17
  // Configs
17
18
  /**
18
19
  * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
19
20
  * content will be placed inside this element.
20
- * ...
21
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-adopt)
21
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-adopt)
22
22
  */
23
23
  adopt ? : HTMLElement|string
24
24
  /**
25
25
  * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
26
- * ...
27
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-align)
26
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-align)
28
27
  */
29
28
  align ? : AlignSpec|string
30
29
  /**
@@ -46,35 +45,30 @@ export type BryntumGridChartDesignerProps = {
46
45
  /**
47
46
  * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
48
47
  * into an element which will be linked using the `aria-describedby` attribute.
49
- * ...
50
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ariaDescription)
48
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ariaDescription)
51
49
  */
52
50
  ariaDescription ? : string
53
51
  /**
54
52
  * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
55
53
  * the `aria-label` attribute.
56
- * ...
57
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ariaLabel)
54
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ariaLabel)
58
55
  */
59
56
  ariaLabel ? : string
60
57
  /**
61
58
  * An object where property names with a truthy value indicate which events should bubble up the ownership
62
59
  * hierarchy when triggered.
63
- * ...
64
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-bubbleEvents)
60
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-bubbleEvents)
65
61
  */
66
62
  bubbleEvents ? : object
67
63
  /**
68
64
  * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
69
- * ...
70
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-callOnFunctions)
65
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-callOnFunctions)
71
66
  */
72
67
  callOnFunctions ? : boolean
73
68
  /**
74
69
  * By default, if an event handler throws an exception, the error propagates up the stack and the
75
70
  * application state is undefined. Code which follows the event handler will *not* be executed.
76
- * ...
77
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-catchEventHandlerExceptions)
71
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-catchEventHandlerExceptions)
78
72
  */
79
73
  catchEventHandlerExceptions ? : boolean
80
74
  /**
@@ -86,15 +80,13 @@ export type BryntumGridChartDesignerProps = {
86
80
  * Custom CSS classes to add to element.
87
81
  * May be specified as a space separated string, or as an object in which property names
88
82
  * with truthy values are used as the class names:
89
- * ...
90
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-cls)
83
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-cls)
91
84
  */
92
85
  cls ? : string|object
93
86
  /**
94
87
  * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
95
88
  * `style` block.
96
- * ...
97
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-color)
89
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-color)
98
90
  */
99
91
  color ? : Color
100
92
  /**
@@ -118,8 +110,7 @@ export type BryntumGridChartDesignerProps = {
118
110
  * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
119
111
  * May be specified as a space separated string, or as an object in which property names
120
112
  * with truthy values are used as the class names:
121
- * ...
122
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-contentElementCls)
113
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-contentElementCls)
123
114
  */
124
115
  contentElementCls ? : string|object
125
116
  /**
@@ -137,16 +128,15 @@ export type BryntumGridChartDesignerProps = {
137
128
  */
138
129
  defaultBindProperty ? : string
139
130
  /**
140
- * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
141
- * ...
142
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-detectCSSCompatibilityIssues)
131
+ * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
132
+ * checks:
133
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-detectCSSCompatibilityIssues)
143
134
  */
144
135
  detectCSSCompatibilityIssues ? : boolean
145
136
  /**
146
137
  * 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
147
138
  * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
148
- * ...
149
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-disabled)
139
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-disabled)
150
140
  */
151
141
  disabled ? : boolean|'inert'
152
142
  /**
@@ -154,25 +144,21 @@ export type BryntumGridChartDesignerProps = {
154
144
  * [strips collection](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
155
145
  * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
156
146
  * body. Such widgets are called "edge strips".
157
- * ...
158
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-dock)
147
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-dock)
159
148
  */
160
149
  dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
161
150
  /**
162
151
  * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
163
152
  * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
164
153
  * property which controls when a drag should start.
165
- * ...
166
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-draggable)
154
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-draggable)
155
+ * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
167
156
  */
168
- draggable ? : boolean|{
169
- handleSelector?: string
170
- }
157
+ draggable ? : boolean|object
171
158
  /**
172
159
  * An object specifying attributes to assign to the root element of this widget.
173
160
  * Set `null` value to attribute to remove it.
174
- * ...
175
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-elementAttributes)
161
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-elementAttributes)
176
162
  */
177
163
  elementAttributes ? : Record<string, string|null>
178
164
  extraData ? : any
@@ -207,18 +193,15 @@ export type BryntumGridChartDesignerProps = {
207
193
  hidden ? : boolean
208
194
  /**
209
195
  * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
210
- * ...
211
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-hideAnimation)
196
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-hideAnimation)
212
197
  */
213
198
  hideAnimation ? : boolean|object
214
199
  /**
215
200
  * The HTML to display initially or a function returning the markup (called at widget construction time).
216
- * ...
217
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-html)
201
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-html)
218
202
  * @param {Core.widget.Widget} widget The calling Widget
219
- * @returns {string}
220
203
  */
221
- html ? : string|((widget: Widget) => string)|DomConfig|DomConfig[]|VueConfig
204
+ html ? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
222
205
  /**
223
206
  * The CSS class(es) to add when HTML content is being applied to this widget.
224
207
  */
@@ -229,8 +212,7 @@ export type BryntumGridChartDesignerProps = {
229
212
  id ? : string
230
213
  /**
231
214
  * Determines if the widgets read-only state should be controlled by its parent.
232
- * ...
233
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ignoreParentReadOnly)
215
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ignoreParentReadOnly)
234
216
  */
235
217
  ignoreParentReadOnly ? : boolean
236
218
  /**
@@ -245,22 +227,19 @@ export type BryntumGridChartDesignerProps = {
245
227
  * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
246
228
  * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
247
229
  * are the name of the instance method to call when the keystroke is received.
248
- * ...
249
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-keyMap)
230
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-keyMap)
250
231
  */
251
232
  keyMap ? : Record<string, KeyMapConfig>
252
233
  /**
253
234
  * The listener set for this object.
254
- * ...
255
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-listeners)
235
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-listeners)
256
236
  */
257
237
  listeners ? : GridChartDesignerListeners
258
238
  /**
259
239
  * A class translations of which are used for translating this entity.
260
240
  * This is often used when translations of an item are defined on its container class.
261
241
  * For example:
262
- * ...
263
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-localeClass)
242
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-localeClass)
264
243
  */
265
244
  localeClass ? : typeof Base
266
245
  /**
@@ -272,8 +251,7 @@ export type BryntumGridChartDesignerProps = {
272
251
  * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
273
252
  * you could use 'localeKey' meta configuration.
274
253
  * Example:
275
- * ...
276
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-localizableProperties)
254
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-localizableProperties)
277
255
  */
278
256
  localizableProperties ? : string[]
279
257
  /**
@@ -299,8 +277,7 @@ export type BryntumGridChartDesignerProps = {
299
277
  maxHeight ? : string|number
300
278
  /**
301
279
  * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
302
- * ...
303
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-maximizeOnMobile)
280
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-maximizeOnMobile)
304
281
  */
305
282
  maximizeOnMobile ? : number|string
306
283
  /**
@@ -322,18 +299,15 @@ export type BryntumGridChartDesignerProps = {
322
299
  * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
323
300
  * is used to monitor this element for size changes caused by either style manipulation, or by CSS
324
301
  * layout.
325
- * ...
326
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-monitorResize)
302
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-monitorResize)
303
+ * @property {boolean} immediate Set to `true` to receive resize notifications immediately.
327
304
  */
328
- monitorResize ? : boolean|{
329
- immediate?: boolean
330
- }
305
+ monitorResize ? : boolean|object
331
306
  /**
332
307
  * 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
333
308
  * not participate in the standard layout of that widget, and must be positioned relatively to that
334
309
  * widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
335
- * ...
336
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-positioned)
310
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-positioned)
337
311
  */
338
312
  positioned ? : boolean
339
313
  /**
@@ -344,8 +318,7 @@ export type BryntumGridChartDesignerProps = {
344
318
  /**
345
319
  * Whether this widget is read-only. This is only valid if the widget is an input
346
320
  * field, <strong>or contains input fields at any depth</strong>.
347
- * ...
348
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-readOnly)
321
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-readOnly)
349
322
  */
350
323
  readOnly ? : boolean
351
324
  relayStoreEvents ? : boolean
@@ -353,23 +326,26 @@ export type BryntumGridChartDesignerProps = {
353
326
  * Configure as `true` to have the component display a translucent ripple when its
354
327
  * [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
355
328
  * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
356
- * ...
357
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ripple)
358
- */
359
- ripple ? : boolean|{
360
- delegate?: string
361
- color?: string
362
- radius?: number
363
- clip?: string
364
- }
329
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ripple)
330
+ * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
331
+ * @property {string} [color] A CSS color name or specification.
332
+ * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
333
+ * @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.
334
+ */
335
+ ripple ? : boolean|object
336
+ /**
337
+ * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
338
+ * accidentally applying a role which may interfere with screen readers.
339
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-role)
340
+ */
341
+ role ? : string
365
342
  /**
366
343
  * 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`
367
344
  */
368
345
  rootElement ? : ShadowRoot|HTMLElement
369
346
  /**
370
347
  * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
371
- * ...
372
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-rtl)
348
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-rtl)
373
349
  */
374
350
  rtl ? : boolean
375
351
  /**
@@ -377,8 +353,7 @@ export type BryntumGridChartDesignerProps = {
377
353
  * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
378
354
  * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
379
355
  * CSS overflow properties thus:
380
- * ...
381
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-scrollable)
356
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-scrollable)
382
357
  */
383
358
  scrollable ? : boolean|ScrollerConfig|Scroller
384
359
  /**
@@ -388,8 +363,7 @@ export type BryntumGridChartDesignerProps = {
388
363
  scrollAction ? : 'hide'|'realign'|null
389
364
  /**
390
365
  * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
391
- * ...
392
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-showAnimation)
366
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-showAnimation)
393
367
  */
394
368
  showAnimation ? : boolean|object
395
369
  /**
@@ -409,8 +383,7 @@ export type BryntumGridChartDesignerProps = {
409
383
  * 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
410
384
  * [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
411
385
  * this widget:
412
- * ...
413
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-tab)
386
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-tab)
414
387
  */
415
388
  tab ? : boolean|TabConfig
416
389
  /**
@@ -419,8 +392,7 @@ export type BryntumGridChartDesignerProps = {
419
392
  tag ? : string
420
393
  /**
421
394
  * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
422
- * ...
423
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-textAlign)
395
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-textAlign)
424
396
  */
425
397
  textAlign ? : 'left'|'center'|'right'|'start'|'end'
426
398
  /**
@@ -429,8 +401,7 @@ export type BryntumGridChartDesignerProps = {
429
401
  title ? : string
430
402
  /**
431
403
  * Tooltip for the widget, either as a string or as a Tooltip config object.
432
- * ...
433
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-tooltip)
404
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-tooltip)
434
405
  */
435
406
  tooltip ? : string|TooltipConfig|null
436
407
  type ? : 'gridchartdesigner'
@@ -438,8 +409,7 @@ export type BryntumGridChartDesignerProps = {
438
409
  * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
439
410
  * as a space separated string, an array of strings, or as an object in which property names with truthy
440
411
  * values are used as the class names.
441
- * ...
442
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ui)
412
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ui)
443
413
  */
444
414
  ui ? : string|object
445
415
  /**
@@ -455,14 +425,12 @@ export type BryntumGridChartDesignerProps = {
455
425
  width ? : string|number
456
426
  /**
457
427
  * The x position for the widget.
458
- * ...
459
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-x)
428
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-x)
460
429
  */
461
430
  x ? : number
462
431
  /**
463
432
  * The y position for the widget.
464
- * ...
465
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-y)
433
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-y)
466
434
  */
467
435
  y ? : number
468
436
 
@@ -558,6 +526,7 @@ export class BryntumGridChartDesignerComponent implements OnInit, OnDestroy {
558
526
  'readOnly',
559
527
  'relayStoreEvents',
560
528
  'ripple',
529
+ 'role',
561
530
  'rootElement',
562
531
  'rtl',
563
532
  'scrollable',
@@ -613,6 +582,7 @@ export class BryntumGridChartDesignerComponent implements OnInit, OnDestroy {
613
582
  'preventTooltipOnTouch',
614
583
  'relayStoreEvents',
615
584
  'ripple',
585
+ 'role',
616
586
  'rootElement',
617
587
  'scrollAction',
618
588
  'showAnimation',
@@ -629,7 +599,6 @@ export class BryntumGridChartDesignerComponent implements OnInit, OnDestroy {
629
599
 
630
600
  private static bryntumProps: string[] = BryntumGridChartDesignerComponent.bryntumFeatureNames.concat([
631
601
  'alignSelf',
632
- 'anchorSize',
633
602
  'appendTo',
634
603
  'callOnFunctions',
635
604
  'catchEventHandlerExceptions',
@@ -640,7 +609,6 @@ export class BryntumGridChartDesignerComponent implements OnInit, OnDestroy {
640
609
  'disabled',
641
610
  'extraData',
642
611
  'flex',
643
- 'focusVisible',
644
612
  'height',
645
613
  'hidden',
646
614
  'html',
@@ -697,9 +665,7 @@ export class BryntumGridChartDesignerComponent implements OnInit, OnDestroy {
697
665
  @Input() defaultBindProperty ! : string;
698
666
  @Input() detectCSSCompatibilityIssues ! : boolean;
699
667
  @Input() dock ! : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object;
700
- @Input() draggable ! : boolean|{
701
- handleSelector?: string
702
- };
668
+ @Input() draggable ! : boolean|object;
703
669
  @Input() elementAttributes ! : Record<string, string|null>;
704
670
  @Input() floating ! : boolean;
705
671
  @Input() grid ! : Grid;
@@ -712,18 +678,12 @@ export class BryntumGridChartDesignerComponent implements OnInit, OnDestroy {
712
678
  @Input() localizableProperties ! : string[];
713
679
  @Input() maskDefaults ! : MaskConfig;
714
680
  @Input() masked ! : boolean|string|MaskConfig;
715
- @Input() monitorResize ! : boolean|{
716
- immediate?: boolean
717
- };
681
+ @Input() monitorResize ! : boolean|object;
718
682
  @Input() positioned ! : boolean;
719
683
  @Input() preventTooltipOnTouch ! : boolean;
720
684
  @Input() relayStoreEvents ! : boolean;
721
- @Input() ripple ! : boolean|{
722
- delegate?: string
723
- color?: string
724
- radius?: number
725
- clip?: string
726
- };
685
+ @Input() ripple ! : boolean|object;
686
+ @Input() role ! : string;
727
687
  @Input() rootElement ! : ShadowRoot|HTMLElement;
728
688
  @Input() scrollAction ! : 'hide'|'realign'|null;
729
689
  @Input() showAnimation ! : boolean|object;
@@ -751,7 +711,7 @@ export class BryntumGridChartDesignerComponent implements OnInit, OnDestroy {
751
711
  @Input() flex ! : number|string;
752
712
  @Input() height ! : number|string;
753
713
  @Input() hidden ! : boolean;
754
- @Input() html ! : string|((widget: Widget) => string)|DomConfig|DomConfig[]|VueConfig;
714
+ @Input() html ! : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX|(string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX);
755
715
  @Input() id ! : string;
756
716
  @Input() insertBefore ! : HTMLElement|string;
757
717
  @Input() insertFirst ! : HTMLElement|string;
@@ -772,9 +732,7 @@ export class BryntumGridChartDesignerComponent implements OnInit, OnDestroy {
772
732
  @Input() y ! : number;
773
733
 
774
734
  // Properties only
775
- @Input() anchorSize ! : number[];
776
- @Input() focusVisible ! : boolean;
777
- @Input() parent ! : Widget;
735
+ @Input() parent ! : Widget;
778
736
 
779
737
  // Events emitters
780
738
  /**
@@ -797,8 +755,7 @@ export class BryntumGridChartDesignerComponent implements OnInit, OnDestroy {
797
755
  @Output() onBeforeShow: any = new EventEmitter<((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string>();
798
756
  /**
799
757
  * Fires when any other event is fired from the object.
800
- * ...
801
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#event-catchAll)
758
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#event-catchAll)
802
759
  * @param {object} event Event object
803
760
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
804
761
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -849,8 +806,7 @@ export class BryntumGridChartDesignerComponent implements OnInit, OnDestroy {
849
806
  /**
850
807
  * Triggered when a widget which had been in a non-visible state for any reason
851
808
  * achieves visibility.
852
- * ...
853
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#event-paint)
809
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#event-paint)
854
810
  * @param {object} event Event object
855
811
  * @param {Core.widget.Widget} event.source The widget being painted.
856
812
  * @param {boolean} event.firstPaint `true` if this is the first paint.
@@ -946,11 +902,69 @@ export class BryntumGridChartDesignerComponent implements OnInit, OnDestroy {
946
902
  WrapperHelper.devWarningContainer(instanceName, containerParam);
947
903
  }
948
904
 
905
+ // In shadow DOM (e.g. Angular ViewEncapsulation.ShadowDom), theme CSS from document.head
906
+ // does not cascade into the shadow root. Inject a matching <link> so Bryntum's CSS check
907
+ // finds the theme. The @font-face rules from component styles are also extracted to
908
+ // document scope so document.fonts detects them (shadow-root @font-face is not reliably
909
+ // included in document.fonts across all browsers).
910
+ const shadowRoot = elementRef.nativeElement.getRootNode();
911
+ if (shadowRoot instanceof ShadowRoot) {
912
+ initThemeInShadowRoots();
913
+ BryntumGridChartDesignerComponent.ensureFontsInDocument(shadowRoot);
914
+ }
915
+
949
916
  // @ts-ignore
950
917
  me.instance = instanceName === 'Widget' ? Widget.create(bryntumConfig) : new instanceClass(bryntumConfig);
951
918
 
952
919
  }
953
920
 
921
+ /**
922
+ * Extracts all @font-face declarations from a shadow root's stylesheets and adds them to
923
+ * document.head as a single <style> element. This is needed because @font-face rules inside
924
+ * a shadow root are not reliably included in document.fonts across all browsers, causing
925
+ * Bryntum's CSS compatibility check to incorrectly report missing fonts.
926
+ * Safe to call multiple times — the extraction runs only once per page.
927
+ */
928
+ private static ensureFontsInDocument(shadowRoot: ShadowRoot): void {
929
+ if (document.querySelector('#b-shadow-root-fonts')) {
930
+ return;
931
+ }
932
+
933
+ const fontFaceRules: string[] = [];
934
+
935
+ const extractFromSheet = (sheet: CSSStyleSheet): void => {
936
+ try {
937
+ const rules = sheet.cssRules;
938
+ for (let i = 0; i < rules.length; i++) {
939
+ if (rules[i].type === CSSRule.FONT_FACE_RULE) {
940
+ fontFaceRules.push(rules[i].cssText);
941
+ }
942
+ }
943
+ }
944
+ catch (_e) {
945
+ // Cross-origin access may throw; silently skip
946
+ }
947
+ };
948
+
949
+ // adoptedStyleSheets (Angular 14+ / modern browsers)
950
+ const adoptedSheets: CSSStyleSheet[] = (shadowRoot as any).adoptedStyleSheets ?? [];
951
+ adoptedSheets.forEach(sheet => extractFromSheet(sheet));
952
+
953
+ // <style> elements (older Angular or fallback)
954
+ shadowRoot.querySelectorAll('style').forEach(el => {
955
+ if (el.sheet) {
956
+ extractFromSheet(el.sheet);
957
+ }
958
+ });
959
+
960
+ if (fontFaceRules.length > 0) {
961
+ const style = document.createElement('style');
962
+ style.id = 'b-shadow-root-fonts';
963
+ style.textContent = fontFaceRules.join('\n');
964
+ document.head.appendChild(style);
965
+ }
966
+ }
967
+
954
968
  /**
955
969
  * Watch for changes
956
970
  * @param changes