@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.
- package/README.md +4 -4
- package/bundles/bryntum-grid-angular-thin.umd.js +761 -230
- package/bundles/bryntum-grid-angular-thin.umd.js.map +1 -1
- package/esm2015/lib/bryntum-a-i-filter-field.component.js +62 -14
- package/esm2015/lib/bryntum-checklist-filter-combo.component.js +62 -14
- package/esm2015/lib/bryntum-grid-base.component.js +78 -35
- package/esm2015/lib/bryntum-grid-chart-designer.component.js +61 -12
- package/esm2015/lib/bryntum-grid-field-filter-picker-group.component.js +65 -21
- package/esm2015/lib/bryntum-grid-field-filter-picker.component.js +65 -21
- package/esm2015/lib/bryntum-grid.component.js +78 -35
- package/esm2015/lib/bryntum-group-bar.component.js +61 -12
- package/esm2015/lib/bryntum-tree-combo.component.js +62 -14
- package/esm2015/lib/bryntum-tree-grid.component.js +78 -35
- package/esm2015/lib/grid.module.js +5 -4
- package/esm2015/lib/shadowdom.helper.js +82 -0
- package/fesm2015/bryntum-grid-angular-thin.js +738 -207
- package/fesm2015/bryntum-grid-angular-thin.js.map +1 -1
- package/lib/bryntum-a-i-filter-field.component.d.ts +87 -133
- package/lib/bryntum-checklist-filter-combo.component.d.ts +106 -166
- package/lib/bryntum-grid-base.component.d.ts +238 -303
- package/lib/bryntum-grid-chart-designer.component.d.ts +71 -108
- package/lib/bryntum-grid-field-filter-picker-group.component.d.ts +93 -143
- package/lib/bryntum-grid-field-filter-picker.component.d.ts +94 -145
- package/lib/bryntum-grid.component.d.ts +238 -303
- package/lib/bryntum-group-bar.component.d.ts +77 -118
- package/lib/bryntum-tree-combo.component.d.ts +107 -168
- package/lib/bryntum-tree-grid.component.d.ts +238 -303
- package/lib/grid.module.d.ts +2 -1
- package/lib/shadowdom.helper.d.ts +3 -0
- package/package.json +1 -1
- package/src/lib/bryntum-a-i-filter-field.component.ts +146 -141
- package/src/lib/bryntum-checklist-filter-combo.component.ts +166 -175
- package/src/lib/bryntum-grid-base.component.ts +275 -319
- package/src/lib/bryntum-grid-chart-designer.component.ts +126 -112
- package/src/lib/bryntum-grid-field-filter-picker-group.component.ts +152 -152
- package/src/lib/bryntum-grid-field-filter-picker.component.ts +152 -153
- package/src/lib/bryntum-grid.component.ts +275 -319
- package/src/lib/bryntum-group-bar.component.ts +132 -122
- package/src/lib/bryntum-theme-combo.component.ts +128 -0
- package/src/lib/bryntum-tree-combo.component.ts +166 -176
- package/src/lib/bryntum-tree-grid.component.ts +275 -319
- package/src/lib/grid.module.ts +2 -1
- package/src/lib/shadowdom.helper.ts +91 -0
|
@@ -2,21 +2,19 @@
|
|
|
2
2
|
* Angular wrapper for Bryntum GridChartDesigner
|
|
3
3
|
*/
|
|
4
4
|
import { ElementRef, SimpleChanges, OnDestroy, OnInit } from '@angular/core';
|
|
5
|
-
import { AlignSpec, Base, Color, DomConfig, KeyMapConfig, MaskConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
5
|
+
import { AlignSpec, Base, Color, DomConfig, KeyMapConfig, MaskConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
6
6
|
import { Grid, GridChartDesigner, GridChartDesignerListeners } from '@bryntum/grid-thin';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare type BryntumGridChartDesignerProps = {
|
|
9
9
|
/**
|
|
10
10
|
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
11
11
|
* content will be placed inside this element.
|
|
12
|
-
* ...
|
|
13
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-adopt)
|
|
12
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-adopt)
|
|
14
13
|
*/
|
|
15
14
|
adopt?: HTMLElement | string;
|
|
16
15
|
/**
|
|
17
16
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
18
|
-
* ...
|
|
19
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-align)
|
|
17
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-align)
|
|
20
18
|
*/
|
|
21
19
|
align?: AlignSpec | string;
|
|
22
20
|
/**
|
|
@@ -38,35 +36,30 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
38
36
|
/**
|
|
39
37
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
40
38
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
41
|
-
* ...
|
|
42
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ariaDescription)
|
|
39
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ariaDescription)
|
|
43
40
|
*/
|
|
44
41
|
ariaDescription?: string;
|
|
45
42
|
/**
|
|
46
43
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
47
44
|
* the `aria-label` attribute.
|
|
48
|
-
* ...
|
|
49
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ariaLabel)
|
|
45
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ariaLabel)
|
|
50
46
|
*/
|
|
51
47
|
ariaLabel?: string;
|
|
52
48
|
/**
|
|
53
49
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
54
50
|
* hierarchy when triggered.
|
|
55
|
-
* ...
|
|
56
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-bubbleEvents)
|
|
51
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-bubbleEvents)
|
|
57
52
|
*/
|
|
58
53
|
bubbleEvents?: object;
|
|
59
54
|
/**
|
|
60
55
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
61
|
-
* ...
|
|
62
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-callOnFunctions)
|
|
56
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-callOnFunctions)
|
|
63
57
|
*/
|
|
64
58
|
callOnFunctions?: boolean;
|
|
65
59
|
/**
|
|
66
60
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
67
61
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
68
|
-
* ...
|
|
69
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-catchEventHandlerExceptions)
|
|
62
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-catchEventHandlerExceptions)
|
|
70
63
|
*/
|
|
71
64
|
catchEventHandlerExceptions?: boolean;
|
|
72
65
|
/**
|
|
@@ -78,15 +71,13 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
78
71
|
* Custom CSS classes to add to element.
|
|
79
72
|
* May be specified as a space separated string, or as an object in which property names
|
|
80
73
|
* with truthy values are used as the class names:
|
|
81
|
-
* ...
|
|
82
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-cls)
|
|
74
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-cls)
|
|
83
75
|
*/
|
|
84
76
|
cls?: string | object;
|
|
85
77
|
/**
|
|
86
78
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
87
79
|
* `style` block.
|
|
88
|
-
* ...
|
|
89
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-color)
|
|
80
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-color)
|
|
90
81
|
*/
|
|
91
82
|
color?: Color;
|
|
92
83
|
/**
|
|
@@ -110,8 +101,7 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
110
101
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
|
|
111
102
|
* May be specified as a space separated string, or as an object in which property names
|
|
112
103
|
* with truthy values are used as the class names:
|
|
113
|
-
* ...
|
|
114
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-contentElementCls)
|
|
104
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-contentElementCls)
|
|
115
105
|
*/
|
|
116
106
|
contentElementCls?: string | object;
|
|
117
107
|
/**
|
|
@@ -129,16 +119,15 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
129
119
|
*/
|
|
130
120
|
defaultBindProperty?: string;
|
|
131
121
|
/**
|
|
132
|
-
* Check for CSS compatibility issues
|
|
133
|
-
*
|
|
134
|
-
* [
|
|
122
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
123
|
+
* checks:
|
|
124
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-detectCSSCompatibilityIssues)
|
|
135
125
|
*/
|
|
136
126
|
detectCSSCompatibilityIssues?: boolean;
|
|
137
127
|
/**
|
|
138
128
|
* 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
|
|
139
129
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
140
|
-
* ...
|
|
141
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-disabled)
|
|
130
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-disabled)
|
|
142
131
|
*/
|
|
143
132
|
disabled?: boolean | 'inert';
|
|
144
133
|
/**
|
|
@@ -146,25 +135,21 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
146
135
|
* [strips collection](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
147
136
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
148
137
|
* body. Such widgets are called "edge strips".
|
|
149
|
-
* ...
|
|
150
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-dock)
|
|
138
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-dock)
|
|
151
139
|
*/
|
|
152
140
|
dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
|
|
153
141
|
/**
|
|
154
142
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
155
143
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
156
144
|
* property which controls when a drag should start.
|
|
157
|
-
* ...
|
|
158
|
-
*
|
|
145
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-draggable)
|
|
146
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
159
147
|
*/
|
|
160
|
-
draggable?: boolean |
|
|
161
|
-
handleSelector?: string;
|
|
162
|
-
};
|
|
148
|
+
draggable?: boolean | object;
|
|
163
149
|
/**
|
|
164
150
|
* An object specifying attributes to assign to the root element of this widget.
|
|
165
151
|
* Set `null` value to attribute to remove it.
|
|
166
|
-
* ...
|
|
167
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-elementAttributes)
|
|
152
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-elementAttributes)
|
|
168
153
|
*/
|
|
169
154
|
elementAttributes?: Record<string, string | null>;
|
|
170
155
|
extraData?: any;
|
|
@@ -199,18 +184,15 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
199
184
|
hidden?: boolean;
|
|
200
185
|
/**
|
|
201
186
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
202
|
-
* ...
|
|
203
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-hideAnimation)
|
|
187
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-hideAnimation)
|
|
204
188
|
*/
|
|
205
189
|
hideAnimation?: boolean | object;
|
|
206
190
|
/**
|
|
207
191
|
* The HTML to display initially or a function returning the markup (called at widget construction time).
|
|
208
|
-
* ...
|
|
209
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-html)
|
|
192
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-html)
|
|
210
193
|
* @param {Core.widget.Widget} widget The calling Widget
|
|
211
|
-
* @returns {string}
|
|
212
194
|
*/
|
|
213
|
-
html?: string | ((widget: Widget) =>
|
|
195
|
+
html?: string | ((widget: Widget) => void) | DomConfig | DomConfig[] | VueConfig | ReactJSX;
|
|
214
196
|
/**
|
|
215
197
|
* The CSS class(es) to add when HTML content is being applied to this widget.
|
|
216
198
|
*/
|
|
@@ -221,8 +203,7 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
221
203
|
id?: string;
|
|
222
204
|
/**
|
|
223
205
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
224
|
-
* ...
|
|
225
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ignoreParentReadOnly)
|
|
206
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ignoreParentReadOnly)
|
|
226
207
|
*/
|
|
227
208
|
ignoreParentReadOnly?: boolean;
|
|
228
209
|
/**
|
|
@@ -237,22 +218,19 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
237
218
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
238
219
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
239
220
|
* are the name of the instance method to call when the keystroke is received.
|
|
240
|
-
* ...
|
|
241
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-keyMap)
|
|
221
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-keyMap)
|
|
242
222
|
*/
|
|
243
223
|
keyMap?: Record<string, KeyMapConfig>;
|
|
244
224
|
/**
|
|
245
225
|
* The listener set for this object.
|
|
246
|
-
* ...
|
|
247
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-listeners)
|
|
226
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-listeners)
|
|
248
227
|
*/
|
|
249
228
|
listeners?: GridChartDesignerListeners;
|
|
250
229
|
/**
|
|
251
230
|
* A class translations of which are used for translating this entity.
|
|
252
231
|
* This is often used when translations of an item are defined on its container class.
|
|
253
232
|
* For example:
|
|
254
|
-
* ...
|
|
255
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-localeClass)
|
|
233
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-localeClass)
|
|
256
234
|
*/
|
|
257
235
|
localeClass?: typeof Base;
|
|
258
236
|
/**
|
|
@@ -264,8 +242,7 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
264
242
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
265
243
|
* you could use 'localeKey' meta configuration.
|
|
266
244
|
* Example:
|
|
267
|
-
* ...
|
|
268
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-localizableProperties)
|
|
245
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-localizableProperties)
|
|
269
246
|
*/
|
|
270
247
|
localizableProperties?: string[];
|
|
271
248
|
/**
|
|
@@ -291,8 +268,7 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
291
268
|
maxHeight?: string | number;
|
|
292
269
|
/**
|
|
293
270
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
294
|
-
* ...
|
|
295
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-maximizeOnMobile)
|
|
271
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-maximizeOnMobile)
|
|
296
272
|
*/
|
|
297
273
|
maximizeOnMobile?: number | string;
|
|
298
274
|
/**
|
|
@@ -314,18 +290,15 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
314
290
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
315
291
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
316
292
|
* layout.
|
|
317
|
-
* ...
|
|
318
|
-
*
|
|
293
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-monitorResize)
|
|
294
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
319
295
|
*/
|
|
320
|
-
monitorResize?: boolean |
|
|
321
|
-
immediate?: boolean;
|
|
322
|
-
};
|
|
296
|
+
monitorResize?: boolean | object;
|
|
323
297
|
/**
|
|
324
298
|
* 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
|
|
325
299
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
326
300
|
* widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
|
|
327
|
-
* ...
|
|
328
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-positioned)
|
|
301
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-positioned)
|
|
329
302
|
*/
|
|
330
303
|
positioned?: boolean;
|
|
331
304
|
/**
|
|
@@ -336,8 +309,7 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
336
309
|
/**
|
|
337
310
|
* Whether this widget is read-only. This is only valid if the widget is an input
|
|
338
311
|
* field, <strong>or contains input fields at any depth</strong>.
|
|
339
|
-
* ...
|
|
340
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-readOnly)
|
|
312
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-readOnly)
|
|
341
313
|
*/
|
|
342
314
|
readOnly?: boolean;
|
|
343
315
|
relayStoreEvents?: boolean;
|
|
@@ -345,23 +317,26 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
345
317
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
346
318
|
* [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
|
|
347
319
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
348
|
-
* ...
|
|
349
|
-
* [
|
|
320
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ripple)
|
|
321
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
322
|
+
* @property {string} [color] A CSS color name or specification.
|
|
323
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
324
|
+
* @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.
|
|
350
325
|
*/
|
|
351
|
-
ripple?: boolean |
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
326
|
+
ripple?: boolean | object;
|
|
327
|
+
/**
|
|
328
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
329
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
330
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-role)
|
|
331
|
+
*/
|
|
332
|
+
role?: string;
|
|
357
333
|
/**
|
|
358
334
|
* 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`
|
|
359
335
|
*/
|
|
360
336
|
rootElement?: ShadowRoot | HTMLElement;
|
|
361
337
|
/**
|
|
362
338
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
363
|
-
* ...
|
|
364
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-rtl)
|
|
339
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-rtl)
|
|
365
340
|
*/
|
|
366
341
|
rtl?: boolean;
|
|
367
342
|
/**
|
|
@@ -369,8 +344,7 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
369
344
|
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
370
345
|
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
371
346
|
* CSS overflow properties thus:
|
|
372
|
-
* ...
|
|
373
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-scrollable)
|
|
347
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-scrollable)
|
|
374
348
|
*/
|
|
375
349
|
scrollable?: boolean | ScrollerConfig | Scroller;
|
|
376
350
|
/**
|
|
@@ -380,8 +354,7 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
380
354
|
scrollAction?: 'hide' | 'realign' | null;
|
|
381
355
|
/**
|
|
382
356
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
383
|
-
* ...
|
|
384
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-showAnimation)
|
|
357
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-showAnimation)
|
|
385
358
|
*/
|
|
386
359
|
showAnimation?: boolean | object;
|
|
387
360
|
/**
|
|
@@ -401,8 +374,7 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
401
374
|
* 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
|
|
402
375
|
* [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
|
|
403
376
|
* this widget:
|
|
404
|
-
* ...
|
|
405
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-tab)
|
|
377
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-tab)
|
|
406
378
|
*/
|
|
407
379
|
tab?: boolean | TabConfig;
|
|
408
380
|
/**
|
|
@@ -411,8 +383,7 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
411
383
|
tag?: string;
|
|
412
384
|
/**
|
|
413
385
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
414
|
-
* ...
|
|
415
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-textAlign)
|
|
386
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-textAlign)
|
|
416
387
|
*/
|
|
417
388
|
textAlign?: 'left' | 'center' | 'right' | 'start' | 'end';
|
|
418
389
|
/**
|
|
@@ -421,8 +392,7 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
421
392
|
title?: string;
|
|
422
393
|
/**
|
|
423
394
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
424
|
-
* ...
|
|
425
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-tooltip)
|
|
395
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-tooltip)
|
|
426
396
|
*/
|
|
427
397
|
tooltip?: string | TooltipConfig | null;
|
|
428
398
|
type?: 'gridchartdesigner';
|
|
@@ -430,8 +400,7 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
430
400
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
431
401
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
432
402
|
* values are used as the class names.
|
|
433
|
-
* ...
|
|
434
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ui)
|
|
403
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ui)
|
|
435
404
|
*/
|
|
436
405
|
ui?: string | object;
|
|
437
406
|
/**
|
|
@@ -447,14 +416,12 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
447
416
|
width?: string | number;
|
|
448
417
|
/**
|
|
449
418
|
* The x position for the widget.
|
|
450
|
-
* ...
|
|
451
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-x)
|
|
419
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-x)
|
|
452
420
|
*/
|
|
453
421
|
x?: number;
|
|
454
422
|
/**
|
|
455
423
|
* The y position for the widget.
|
|
456
|
-
* ...
|
|
457
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-y)
|
|
424
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-y)
|
|
458
425
|
*/
|
|
459
426
|
y?: number;
|
|
460
427
|
};
|
|
@@ -485,9 +452,7 @@ export declare class BryntumGridChartDesignerComponent implements OnInit, OnDest
|
|
|
485
452
|
defaultBindProperty: string;
|
|
486
453
|
detectCSSCompatibilityIssues: boolean;
|
|
487
454
|
dock: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
|
|
488
|
-
draggable: boolean |
|
|
489
|
-
handleSelector?: string;
|
|
490
|
-
};
|
|
455
|
+
draggable: boolean | object;
|
|
491
456
|
elementAttributes: Record<string, string | null>;
|
|
492
457
|
floating: boolean;
|
|
493
458
|
grid: Grid;
|
|
@@ -500,18 +465,12 @@ export declare class BryntumGridChartDesignerComponent implements OnInit, OnDest
|
|
|
500
465
|
localizableProperties: string[];
|
|
501
466
|
maskDefaults: MaskConfig;
|
|
502
467
|
masked: boolean | string | MaskConfig;
|
|
503
|
-
monitorResize: boolean |
|
|
504
|
-
immediate?: boolean;
|
|
505
|
-
};
|
|
468
|
+
monitorResize: boolean | object;
|
|
506
469
|
positioned: boolean;
|
|
507
470
|
preventTooltipOnTouch: boolean;
|
|
508
471
|
relayStoreEvents: boolean;
|
|
509
|
-
ripple: boolean |
|
|
510
|
-
|
|
511
|
-
color?: string;
|
|
512
|
-
radius?: number;
|
|
513
|
-
clip?: string;
|
|
514
|
-
};
|
|
472
|
+
ripple: boolean | object;
|
|
473
|
+
role: string;
|
|
515
474
|
rootElement: ShadowRoot | HTMLElement;
|
|
516
475
|
scrollAction: 'hide' | 'realign' | null;
|
|
517
476
|
showAnimation: boolean | object;
|
|
@@ -537,7 +496,7 @@ export declare class BryntumGridChartDesignerComponent implements OnInit, OnDest
|
|
|
537
496
|
flex: number | string;
|
|
538
497
|
height: number | string;
|
|
539
498
|
hidden: boolean;
|
|
540
|
-
html: string | ((widget: Widget) => string) | DomConfig | DomConfig[] | VueConfig;
|
|
499
|
+
html: string | ((widget: Widget) => void) | DomConfig | DomConfig[] | VueConfig | ReactJSX | (string | ((widget: Widget) => void) | DomConfig | DomConfig[] | VueConfig | ReactJSX);
|
|
541
500
|
id: string;
|
|
542
501
|
insertBefore: HTMLElement | string;
|
|
543
502
|
insertFirst: HTMLElement | string;
|
|
@@ -556,8 +515,6 @@ export declare class BryntumGridChartDesignerComponent implements OnInit, OnDest
|
|
|
556
515
|
width: number | string;
|
|
557
516
|
x: number;
|
|
558
517
|
y: number;
|
|
559
|
-
anchorSize: number[];
|
|
560
|
-
focusVisible: boolean;
|
|
561
518
|
parent: Widget;
|
|
562
519
|
/**
|
|
563
520
|
* Fires before an object is destroyed.
|
|
@@ -579,8 +536,7 @@ export declare class BryntumGridChartDesignerComponent implements OnInit, OnDest
|
|
|
579
536
|
onBeforeShow: any;
|
|
580
537
|
/**
|
|
581
538
|
* Fires when any other event is fired from the object.
|
|
582
|
-
* ...
|
|
583
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#event-catchAll)
|
|
539
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#event-catchAll)
|
|
584
540
|
* @param {object} event Event object
|
|
585
541
|
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
586
542
|
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
@@ -631,8 +587,7 @@ export declare class BryntumGridChartDesignerComponent implements OnInit, OnDest
|
|
|
631
587
|
/**
|
|
632
588
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
633
589
|
* achieves visibility.
|
|
634
|
-
* ...
|
|
635
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#event-paint)
|
|
590
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#event-paint)
|
|
636
591
|
* @param {object} event Event object
|
|
637
592
|
* @param {Core.widget.Widget} event.source The widget being painted.
|
|
638
593
|
* @param {boolean} event.firstPaint `true` if this is the first paint.
|
|
@@ -669,6 +624,14 @@ export declare class BryntumGridChartDesignerComponent implements OnInit, OnDest
|
|
|
669
624
|
* Create and append the underlying widget
|
|
670
625
|
*/
|
|
671
626
|
ngOnInit(): void;
|
|
627
|
+
/**
|
|
628
|
+
* Extracts all @font-face declarations from a shadow root's stylesheets and adds them to
|
|
629
|
+
* document.head as a single <style> element. This is needed because @font-face rules inside
|
|
630
|
+
* a shadow root are not reliably included in document.fonts across all browsers, causing
|
|
631
|
+
* Bryntum's CSS compatibility check to incorrectly report missing fonts.
|
|
632
|
+
* Safe to call multiple times — the extraction runs only once per page.
|
|
633
|
+
*/
|
|
634
|
+
private static ensureFontsInDocument;
|
|
672
635
|
/**
|
|
673
636
|
* Watch for changes
|
|
674
637
|
* @param changes
|
|
@@ -679,5 +642,5 @@ export declare class BryntumGridChartDesignerComponent implements OnInit, OnDest
|
|
|
679
642
|
*/
|
|
680
643
|
ngOnDestroy(): void;
|
|
681
644
|
static ɵfac: i0.ɵɵFactoryDeclaration<BryntumGridChartDesignerComponent, never>;
|
|
682
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BryntumGridChartDesignerComponent, "bryntum-grid-chart-designer", never, { "adopt": "adopt"; "align": "align"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "bubbleEvents": "bubbleEvents"; "centered": "centered"; "color": "color"; "config": "config"; "constrainTo": "constrainTo"; "contentElementCls": "contentElementCls"; "dataField": "dataField"; "defaultBindProperty": "defaultBindProperty"; "detectCSSCompatibilityIssues": "detectCSSCompatibilityIssues"; "dock": "dock"; "draggable": "draggable"; "elementAttributes": "elementAttributes"; "floating": "floating"; "grid": "grid"; "hideAnimation": "hideAnimation"; "htmlCls": "htmlCls"; "ignoreParentReadOnly": "ignoreParentReadOnly"; "listeners": "listeners"; "localeClass": "localeClass"; "localizable": "localizable"; "localizableProperties": "localizableProperties"; "maskDefaults": "maskDefaults"; "masked": "masked"; "monitorResize": "monitorResize"; "positioned": "positioned"; "preventTooltipOnTouch": "preventTooltipOnTouch"; "relayStoreEvents": "relayStoreEvents"; "ripple": "ripple"; "rootElement": "rootElement"; "scrollAction": "scrollAction"; "showAnimation": "showAnimation"; "showTooltipWhenDisabled": "showTooltipWhenDisabled"; "sync": "sync"; "tab": "tab"; "tag": "tag"; "textAlign": "textAlign"; "title": "title"; "type": "type"; "ui": "ui"; "weight": "weight"; "alignSelf": "alignSelf"; "appendTo": "appendTo"; "callOnFunctions": "callOnFunctions"; "catchEventHandlerExceptions": "catchEventHandlerExceptions"; "cls": "cls"; "column": "column"; "content": "content"; "dataset": "dataset"; "disabled": "disabled"; "extraData": "extraData"; "flex": "flex"; "height": "height"; "hidden": "hidden"; "html": "html"; "id": "id"; "insertBefore": "insertBefore"; "insertFirst": "insertFirst"; "keyMap": "keyMap"; "margin": "margin"; "maxHeight": "maxHeight"; "maximizeOnMobile": "maximizeOnMobile"; "maxWidth": "maxWidth"; "minHeight": "minHeight"; "minWidth": "minWidth"; "readOnly": "readOnly"; "rtl": "rtl"; "scrollable": "scrollable"; "span": "span"; "tooltip": "tooltip"; "width": "width"; "x": "x"; "y": "y"; "
|
|
645
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BryntumGridChartDesignerComponent, "bryntum-grid-chart-designer", never, { "adopt": "adopt"; "align": "align"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "bubbleEvents": "bubbleEvents"; "centered": "centered"; "color": "color"; "config": "config"; "constrainTo": "constrainTo"; "contentElementCls": "contentElementCls"; "dataField": "dataField"; "defaultBindProperty": "defaultBindProperty"; "detectCSSCompatibilityIssues": "detectCSSCompatibilityIssues"; "dock": "dock"; "draggable": "draggable"; "elementAttributes": "elementAttributes"; "floating": "floating"; "grid": "grid"; "hideAnimation": "hideAnimation"; "htmlCls": "htmlCls"; "ignoreParentReadOnly": "ignoreParentReadOnly"; "listeners": "listeners"; "localeClass": "localeClass"; "localizable": "localizable"; "localizableProperties": "localizableProperties"; "maskDefaults": "maskDefaults"; "masked": "masked"; "monitorResize": "monitorResize"; "positioned": "positioned"; "preventTooltipOnTouch": "preventTooltipOnTouch"; "relayStoreEvents": "relayStoreEvents"; "ripple": "ripple"; "role": "role"; "rootElement": "rootElement"; "scrollAction": "scrollAction"; "showAnimation": "showAnimation"; "showTooltipWhenDisabled": "showTooltipWhenDisabled"; "sync": "sync"; "tab": "tab"; "tag": "tag"; "textAlign": "textAlign"; "title": "title"; "type": "type"; "ui": "ui"; "weight": "weight"; "alignSelf": "alignSelf"; "appendTo": "appendTo"; "callOnFunctions": "callOnFunctions"; "catchEventHandlerExceptions": "catchEventHandlerExceptions"; "cls": "cls"; "column": "column"; "content": "content"; "dataset": "dataset"; "disabled": "disabled"; "extraData": "extraData"; "flex": "flex"; "height": "height"; "hidden": "hidden"; "html": "html"; "id": "id"; "insertBefore": "insertBefore"; "insertFirst": "insertFirst"; "keyMap": "keyMap"; "margin": "margin"; "maxHeight": "maxHeight"; "maximizeOnMobile": "maximizeOnMobile"; "maxWidth": "maxWidth"; "minHeight": "minHeight"; "minWidth": "minWidth"; "readOnly": "readOnly"; "rtl": "rtl"; "scrollable": "scrollable"; "span": "span"; "tooltip": "tooltip"; "width": "width"; "x": "x"; "y": "y"; "parent": "parent"; }, { "onBeforeDestroy": "onBeforeDestroy"; "onBeforeHide": "onBeforeHide"; "onBeforeShow": "onBeforeShow"; "onCatchAll": "onCatchAll"; "onDestroy": "onDestroy"; "onElementCreated": "onElementCreated"; "onFocusIn": "onFocusIn"; "onFocusOut": "onFocusOut"; "onHide": "onHide"; "onPaint": "onPaint"; "onReadOnly": "onReadOnly"; "onRecompose": "onRecompose"; "onResize": "onResize"; "onShow": "onShow"; }, never, never>;
|
|
683
646
|
}
|