@bryntum/grid-angular-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 (34) hide show
  1. package/README.md +44 -0
  2. package/bryntum-grid-angular-thin.d.ts +5 -0
  3. package/bundles/bryntum-grid-angular-thin.umd.js +12313 -0
  4. package/bundles/bryntum-grid-angular-thin.umd.js.map +1 -0
  5. package/esm2015/bryntum-grid-angular-thin.js +5 -0
  6. package/esm2015/lib/bryntum-a-i-filter-field.component.js +792 -0
  7. package/esm2015/lib/bryntum-checklist-filter-combo.component.js +944 -0
  8. package/esm2015/lib/bryntum-grid-base.component.js +2100 -0
  9. package/esm2015/lib/bryntum-grid-chart-designer.component.js +589 -0
  10. package/esm2015/lib/bryntum-grid-field-filter-picker-group.component.js +755 -0
  11. package/esm2015/lib/bryntum-grid-field-filter-picker.component.js +745 -0
  12. package/esm2015/lib/bryntum-grid.component.js +2104 -0
  13. package/esm2015/lib/bryntum-group-bar.component.js +728 -0
  14. package/esm2015/lib/bryntum-tree-combo.component.js +933 -0
  15. package/esm2015/lib/bryntum-tree-grid.component.js +2104 -0
  16. package/esm2015/lib/grid.module.js +69 -0
  17. package/esm2015/lib/wrapper.helper.js +74 -0
  18. package/esm2015/public-api.js +15 -0
  19. package/fesm2015/bryntum-grid-angular-thin.js +11856 -0
  20. package/fesm2015/bryntum-grid-angular-thin.js.map +1 -0
  21. package/lib/bryntum-a-i-filter-field.component.d.ts +969 -0
  22. package/lib/bryntum-checklist-filter-combo.component.d.ts +1211 -0
  23. package/lib/bryntum-grid-base.component.d.ts +2272 -0
  24. package/lib/bryntum-grid-chart-designer.component.d.ts +692 -0
  25. package/lib/bryntum-grid-field-filter-picker-group.component.d.ts +930 -0
  26. package/lib/bryntum-grid-field-filter-picker.component.d.ts +917 -0
  27. package/lib/bryntum-grid.component.d.ts +2274 -0
  28. package/lib/bryntum-group-bar.component.d.ts +873 -0
  29. package/lib/bryntum-tree-combo.component.d.ts +1200 -0
  30. package/lib/bryntum-tree-grid.component.d.ts +2274 -0
  31. package/lib/grid.module.d.ts +16 -0
  32. package/lib/wrapper.helper.d.ts +26 -0
  33. package/package.json +33 -0
  34. package/public-api.d.ts +11 -0
@@ -0,0 +1,692 @@
1
+ /**
2
+ * Angular wrapper for Bryntum GridChartDesigner
3
+ */
4
+ import { ElementRef, SimpleChanges, OnDestroy, OnInit } from '@angular/core';
5
+ import { AlignSpec, Base, DomConfig, KeyMapConfig, MaskConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
6
+ import { Grid, GridChartDesigner, GridChartDesignerListeners } from '@bryntum/grid-thin';
7
+ import * as i0 from "@angular/core";
8
+ export declare type BryntumGridChartDesignerProps = {
9
+ /**
10
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
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)
14
+ */
15
+ adopt?: HTMLElement | string;
16
+ /**
17
+ * *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)
20
+ */
21
+ align?: AlignSpec | string;
22
+ /**
23
+ * 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
24
+ * flexbox layout. This config allows you to set this widget's
25
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
26
+ */
27
+ alignSelf?: string;
28
+ /**
29
+ * *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).*
30
+ * `true` to show a connector arrow pointing to the align target.
31
+ */
32
+ anchor?: boolean;
33
+ /**
34
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
35
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element).
36
+ */
37
+ appendTo?: HTMLElement | string;
38
+ /**
39
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
40
+ * 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)
43
+ */
44
+ ariaDescription?: string;
45
+ /**
46
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
47
+ * the `aria-label` attribute.
48
+ * ...
49
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ariaLabel)
50
+ */
51
+ ariaLabel?: string;
52
+ /**
53
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
54
+ * hierarchy when triggered.
55
+ * ...
56
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-bubbleEvents)
57
+ */
58
+ bubbleEvents?: object;
59
+ /**
60
+ * 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)
63
+ */
64
+ callOnFunctions?: boolean;
65
+ /**
66
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
67
+ * 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)
70
+ */
71
+ catchEventHandlerExceptions?: boolean;
72
+ /**
73
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
74
+ * Set to `true` to centre the Widget in browser viewport space.
75
+ */
76
+ centered?: boolean;
77
+ /**
78
+ * Custom CSS classes to add to element.
79
+ * May be specified as a space separated string, or as an object in which property names
80
+ * 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)
83
+ */
84
+ cls?: string | object;
85
+ /**
86
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
87
+ * `style` block.
88
+ * ...
89
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-color)
90
+ */
91
+ color?: string;
92
+ /**
93
+ * Programmatic control over which column to start in when used in a grid layout.
94
+ */
95
+ column?: number;
96
+ config?: object;
97
+ /**
98
+ * *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).*
99
+ * Element, Widget or Rectangle to which this Widget is constrained.
100
+ */
101
+ constrainTo?: HTMLElement | Widget | Rectangle;
102
+ /**
103
+ * The HTML content that coexists with sibling elements which may have been added to the
104
+ * [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement) by plugins and features.
105
+ * When specifying html, this widget's element will also have the [htmlCls](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-htmlCls)
106
+ * class added to its classList, to allow targeted styling.
107
+ */
108
+ content?: string;
109
+ /**
110
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
111
+ * May be specified as a space separated string, or as an object in which property names
112
+ * 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)
115
+ */
116
+ contentElementCls?: string | object;
117
+ /**
118
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
119
+ * field on the expanded record to use for populating this widget's store (if applicable)
120
+ */
121
+ dataField?: string;
122
+ /**
123
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
124
+ */
125
+ dataset?: Record<string, string>;
126
+ /**
127
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
128
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
129
+ */
130
+ defaultBindProperty?: string;
131
+ /**
132
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
133
+ * ...
134
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-detectCSSCompatibilityIssues)
135
+ */
136
+ detectCSSCompatibilityIssues?: boolean;
137
+ /**
138
+ * 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
+ * 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)
142
+ */
143
+ disabled?: boolean | 'inert';
144
+ /**
145
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/grid/docs/api/Core/widget/Panel)
146
+ * [strips collection](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
147
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
148
+ * body. Such widgets are called "edge strips".
149
+ * ...
150
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-dock)
151
+ */
152
+ dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
153
+ /**
154
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
155
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
156
+ * property which controls when a drag should start.
157
+ * ...
158
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-draggable)
159
+ */
160
+ draggable?: boolean | {
161
+ handleSelector?: string;
162
+ };
163
+ /**
164
+ * An object specifying attributes to assign to the root element of this widget.
165
+ * 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)
168
+ */
169
+ elementAttributes?: Record<string, string | null>;
170
+ extraData?: any;
171
+ /**
172
+ * 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
173
+ * flexbox layout. This config allows you to set this widget's
174
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
175
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
176
+ * numeric-only values are interpreted as the `flex-grow` value.
177
+ */
178
+ flex?: number | string;
179
+ /**
180
+ * Set to `true` to move the widget out of the document flow and position it
181
+ * absolutely in browser viewport space.
182
+ */
183
+ floating?: boolean;
184
+ /**
185
+ * [Grid](https://bryntum.com/products/grid/docs/api/Grid/view/Grid) whose selected cells will provide the data series for the chart.
186
+ * Columns in the grid will become series available for use in the chart designer, and cell values
187
+ * in the selected cells becomes data values shown in the preview chart.
188
+ */
189
+ grid?: Grid;
190
+ /**
191
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
192
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
193
+ * cases this config is convenient.
194
+ */
195
+ height?: string | number;
196
+ /**
197
+ * Configure with true to make widget initially hidden.
198
+ */
199
+ hidden?: boolean;
200
+ /**
201
+ * *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)
204
+ */
205
+ hideAnimation?: boolean | object;
206
+ /**
207
+ * 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)
210
+ * @param {Core.widget.Widget} widget The calling Widget
211
+ * @returns {string}
212
+ */
213
+ html?: string | ((widget: Widget) => string) | DomConfig | DomConfig[] | VueConfig;
214
+ /**
215
+ * The CSS class(es) to add when HTML content is being applied to this widget.
216
+ */
217
+ htmlCls?: string | object;
218
+ /**
219
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
220
+ */
221
+ id?: string;
222
+ /**
223
+ * 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)
226
+ */
227
+ ignoreParentReadOnly?: boolean;
228
+ /**
229
+ * 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.
230
+ */
231
+ insertBefore?: HTMLElement | string;
232
+ /**
233
+ * 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.
234
+ */
235
+ insertFirst?: HTMLElement | string;
236
+ /**
237
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
238
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
239
+ * 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)
242
+ */
243
+ keyMap?: Record<string, KeyMapConfig>;
244
+ /**
245
+ * The listener set for this object.
246
+ * ...
247
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-listeners)
248
+ */
249
+ listeners?: GridChartDesignerListeners;
250
+ /**
251
+ * A class translations of which are used for translating this entity.
252
+ * This is often used when translations of an item are defined on its container class.
253
+ * For example:
254
+ * ...
255
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-localeClass)
256
+ */
257
+ localeClass?: typeof Base;
258
+ /**
259
+ * Set to `false` to disable localization of this object.
260
+ */
261
+ localizable?: boolean;
262
+ /**
263
+ * List of properties which values should be translated automatically upon a locale applying.
264
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
265
+ * you could use 'localeKey' meta configuration.
266
+ * Example:
267
+ * ...
268
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-localizableProperties)
269
+ */
270
+ localizableProperties?: string[];
271
+ /**
272
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
273
+ * numeric-only values are interpreted as pixels.
274
+ */
275
+ margin?: number | string;
276
+ /**
277
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/grid/docs/api/Core/widget/Mask) created for the
278
+ * [masked](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
279
+ * values.
280
+ */
281
+ maskDefaults?: MaskConfig;
282
+ /**
283
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
284
+ * [Mask](https://bryntum.com/products/grid/docs/api/Core/widget/Mask) config object.
285
+ */
286
+ masked?: boolean | string | MaskConfig;
287
+ /**
288
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
289
+ * like [height](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
290
+ */
291
+ maxHeight?: string | number;
292
+ /**
293
+ * *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)
296
+ */
297
+ maximizeOnMobile?: number | string;
298
+ /**
299
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
300
+ * like [width](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
301
+ */
302
+ maxWidth?: string | number;
303
+ /**
304
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
305
+ * like [height](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
306
+ */
307
+ minHeight?: string | number;
308
+ /**
309
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
310
+ * like [width](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
311
+ */
312
+ minWidth?: string | number;
313
+ /**
314
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
315
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
316
+ * layout.
317
+ * ...
318
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-monitorResize)
319
+ */
320
+ monitorResize?: boolean | {
321
+ immediate?: boolean;
322
+ };
323
+ /**
324
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
325
+ * [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
326
+ * the owner is <strong>always</strong> the encapsulating Container.
327
+ * ...
328
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-owner)
329
+ */
330
+ owner?: Widget | any;
331
+ /**
332
+ * 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
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
334
+ * 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)
337
+ */
338
+ positioned?: boolean;
339
+ /**
340
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
341
+ * menu on click etc, since the tooltip would be displayed at the same time.
342
+ */
343
+ preventTooltipOnTouch?: boolean;
344
+ /**
345
+ * Whether this widget is read-only. This is only valid if the widget is an input
346
+ * 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)
349
+ */
350
+ readOnly?: boolean;
351
+ relayStoreEvents?: boolean;
352
+ /**
353
+ * Configure as `true` to have the component display a translucent ripple when its
354
+ * [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
+ * 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
+ };
365
+ /**
366
+ * 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
+ */
368
+ rootElement?: ShadowRoot | HTMLElement;
369
+ /**
370
+ * 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)
373
+ */
374
+ rtl?: boolean;
375
+ /**
376
+ * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll
377
+ * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
378
+ * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
379
+ * CSS overflow properties thus:
380
+ * ...
381
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-scrollable)
382
+ */
383
+ scrollable?: boolean | ScrollerConfig | Scroller;
384
+ /**
385
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
386
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
387
+ */
388
+ scrollAction?: 'hide' | 'realign' | null;
389
+ /**
390
+ * *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)
393
+ */
394
+ showAnimation?: boolean | object;
395
+ /**
396
+ * 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)
397
+ */
398
+ showTooltipWhenDisabled?: boolean;
399
+ /**
400
+ * Programmatic control over how many columns to span when used in a grid layout.
401
+ */
402
+ span?: number;
403
+ /**
404
+ * Whether to update the chart designer's data series options and preview data as the
405
+ * grid selection changes.
406
+ */
407
+ sync?: boolean;
408
+ /**
409
+ * 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
+ * [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
+ * this widget:
412
+ * ...
413
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-tab)
414
+ */
415
+ tab?: boolean | TabConfig;
416
+ /**
417
+ * The tag name of this Widget's root element
418
+ */
419
+ tag?: string;
420
+ /**
421
+ * 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)
424
+ */
425
+ textAlign?: 'left' | 'center' | 'right' | 'start' | 'end';
426
+ /**
427
+ * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)
428
+ */
429
+ title?: string;
430
+ /**
431
+ * 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)
434
+ */
435
+ tooltip?: string | TooltipConfig | null;
436
+ type?: 'gridchartdesigner';
437
+ /**
438
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
439
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
440
+ * values are used as the class names.
441
+ * ...
442
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ui)
443
+ */
444
+ ui?: string | object;
445
+ /**
446
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/grid/docs/api/Core/widget/Container).
447
+ * Higher weights go further down.
448
+ */
449
+ weight?: number;
450
+ /**
451
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
452
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
453
+ * this config is convenient.
454
+ */
455
+ width?: string | number;
456
+ /**
457
+ * The x position for the widget.
458
+ * ...
459
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-x)
460
+ */
461
+ x?: number;
462
+ /**
463
+ * The y position for the widget.
464
+ * ...
465
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-y)
466
+ */
467
+ y?: number;
468
+ };
469
+ export declare class BryntumGridChartDesignerComponent implements OnInit, OnDestroy {
470
+ static instanceClass: typeof GridChartDesigner;
471
+ static instanceName: string;
472
+ private static bryntumEvents;
473
+ private static bryntumFeatureNames;
474
+ private static bryntumConfigs;
475
+ private static bryntumConfigsOnly;
476
+ private static bryntumProps;
477
+ private elementRef;
478
+ instance: GridChartDesigner;
479
+ private bryntumConfig;
480
+ constructor(element: ElementRef);
481
+ adopt: HTMLElement | string;
482
+ align: AlignSpec | string;
483
+ anchor: boolean;
484
+ ariaDescription: string;
485
+ ariaLabel: string;
486
+ bubbleEvents: object;
487
+ centered: boolean;
488
+ color: string;
489
+ config: object;
490
+ constrainTo: HTMLElement | Widget | Rectangle;
491
+ contentElementCls: string | object;
492
+ dataField: string;
493
+ defaultBindProperty: string;
494
+ detectCSSCompatibilityIssues: boolean;
495
+ dock: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
496
+ draggable: boolean | {
497
+ handleSelector?: string;
498
+ };
499
+ elementAttributes: Record<string, string | null>;
500
+ floating: boolean;
501
+ grid: Grid;
502
+ hideAnimation: boolean | object;
503
+ htmlCls: string | object;
504
+ ignoreParentReadOnly: boolean;
505
+ listeners: GridChartDesignerListeners;
506
+ localeClass: typeof Base;
507
+ localizable: boolean;
508
+ localizableProperties: string[];
509
+ maskDefaults: MaskConfig;
510
+ masked: boolean | string | MaskConfig;
511
+ monitorResize: boolean | {
512
+ immediate?: boolean;
513
+ };
514
+ owner: Widget | any;
515
+ positioned: boolean;
516
+ preventTooltipOnTouch: boolean;
517
+ relayStoreEvents: boolean;
518
+ ripple: boolean | {
519
+ delegate?: string;
520
+ color?: string;
521
+ radius?: number;
522
+ clip?: string;
523
+ };
524
+ rootElement: ShadowRoot | HTMLElement;
525
+ scrollAction: 'hide' | 'realign' | null;
526
+ showAnimation: boolean | object;
527
+ showTooltipWhenDisabled: boolean;
528
+ sync: boolean;
529
+ tab: boolean | TabConfig;
530
+ tag: string;
531
+ textAlign: 'left' | 'center' | 'right' | 'start' | 'end';
532
+ title: string;
533
+ type: 'gridchartdesigner';
534
+ ui: string | object;
535
+ weight: number;
536
+ alignSelf: string;
537
+ appendTo: HTMLElement | string;
538
+ callOnFunctions: boolean;
539
+ catchEventHandlerExceptions: boolean;
540
+ cls: string | object;
541
+ column: number;
542
+ content: string;
543
+ dataset: object | Record<string, string>;
544
+ disabled: boolean | 'inert';
545
+ extraData: any;
546
+ flex: number | string;
547
+ height: number | string;
548
+ hidden: boolean;
549
+ html: string | ((widget: Widget) => string) | DomConfig | DomConfig[] | VueConfig;
550
+ id: string;
551
+ insertBefore: HTMLElement | string;
552
+ insertFirst: HTMLElement | string;
553
+ keyMap: Record<string, KeyMapConfig>;
554
+ margin: number | string;
555
+ maxHeight: string | number;
556
+ maximizeOnMobile: number | string;
557
+ maxWidth: string | number;
558
+ minHeight: string | number;
559
+ minWidth: string | number;
560
+ readOnly: boolean;
561
+ rtl: boolean;
562
+ scrollable: Scroller | boolean | ScrollerConfig;
563
+ span: number;
564
+ tooltip: string | TooltipConfig | null;
565
+ width: number | string;
566
+ x: number;
567
+ y: number;
568
+ anchorSize: number[];
569
+ focusVisible: boolean;
570
+ parent: Widget;
571
+ /**
572
+ * Fires before an object is destroyed.
573
+ * @param {object} event Event object
574
+ * @param {Core.Base} event.source The Object that is being destroyed.
575
+ */
576
+ onBeforeDestroy: any;
577
+ /**
578
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
579
+ * @param {object} event Event object
580
+ * @param {Core.widget.Widget} event.source The widget being hidden.
581
+ */
582
+ onBeforeHide: any;
583
+ /**
584
+ * Triggered before a widget is shown. Return `false` to prevent the action.
585
+ * @param {object} event Event object
586
+ * @param {Core.widget.Widget,any} event.source The widget being shown
587
+ */
588
+ onBeforeShow: any;
589
+ /**
590
+ * Fires when any other event is fired from the object.
591
+ * ...
592
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#event-catchAll)
593
+ * @param {object} event Event object
594
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
595
+ * @param {string} event.event.type The type of the event which is caught by the listener
596
+ */
597
+ onCatchAll: any;
598
+ /**
599
+ * Fires when an object is destroyed.
600
+ * @param {object} event Event object
601
+ * @param {Core.Base} event.source The Object that is being destroyed.
602
+ */
603
+ onDestroy: any;
604
+ /**
605
+ * Triggered when a widget's [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element) is available.
606
+ * @param {object} event Event object
607
+ * @param {HTMLElement} event.element The Widget's element.
608
+ */
609
+ onElementCreated: any;
610
+ /**
611
+ * Fired when focus enters this Widget.
612
+ * @param {object} event Event object
613
+ * @param {Core.widget.Widget} event.source This Widget
614
+ * @param {HTMLElement} event.fromElement The element which lost focus.
615
+ * @param {HTMLElement} event.toElement The element which gained focus.
616
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
617
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
618
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
619
+ */
620
+ onFocusIn: any;
621
+ /**
622
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
623
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
624
+ * will not trigger this event. This is when focus exits this widget completely.
625
+ * @param {object} event Event object
626
+ * @param {Core.widget.Widget} event.source This Widget
627
+ * @param {HTMLElement} event.fromElement The element which lost focus.
628
+ * @param {HTMLElement} event.toElement The element which gained focus.
629
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
630
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
631
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
632
+ */
633
+ onFocusOut: any;
634
+ /**
635
+ * Triggered after a widget was hidden
636
+ * @param {object} event Event object
637
+ * @param {Core.widget.Widget} event.source The widget
638
+ */
639
+ onHide: any;
640
+ /**
641
+ * Triggered when a widget which had been in a non-visible state for any reason
642
+ * achieves visibility.
643
+ * ...
644
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#event-paint)
645
+ * @param {object} event Event object
646
+ * @param {Core.widget.Widget} event.source The widget being painted.
647
+ * @param {boolean} event.firstPaint `true` if this is the first paint.
648
+ */
649
+ onPaint: any;
650
+ /**
651
+ * Fired when a Widget's read only state is toggled
652
+ * @param {object} event Event object
653
+ * @param {boolean} event.readOnly Read only or not
654
+ */
655
+ onReadOnly: any;
656
+ /**
657
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
658
+ * 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.
659
+ */
660
+ onRecompose: any;
661
+ /**
662
+ * 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`*.
663
+ * @param {object} event Event object
664
+ * @param {Core.widget.Widget} event.source This Widget
665
+ * @param {number} event.width The new width
666
+ * @param {number} event.height The new height
667
+ * @param {number} event.oldWidth The old width
668
+ * @param {number} event.oldHeight The old height
669
+ */
670
+ onResize: any;
671
+ /**
672
+ * Triggered after a widget is shown.
673
+ * @param {object} event Event object
674
+ * @param {Core.widget.Widget} event.source The widget
675
+ */
676
+ onShow: any;
677
+ /**
678
+ * Create and append the underlying widget
679
+ */
680
+ ngOnInit(): void;
681
+ /**
682
+ * Watch for changes
683
+ * @param changes
684
+ */
685
+ ngOnChanges(changes: SimpleChanges): void;
686
+ /**
687
+ * Destroy the component
688
+ */
689
+ ngOnDestroy(): void;
690
+ static ɵfac: i0.ɵɵFactoryDeclaration<BryntumGridChartDesignerComponent, never>;
691
+ 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"; "owner": "owner"; "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"; "anchorSize": "anchorSize"; "focusVisible": "focusVisible"; "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>;
692
+ }