@bryntum/chart-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.
@@ -0,0 +1,959 @@
1
+ import * as i0 from '@angular/core';
2
+ import { isDevMode, EventEmitter, Component, Input, Output, NgModule } from '@angular/core';
3
+ import { Widget } from '@bryntum/core-thin';
4
+ import { Chart } from '@bryntum/chart-thin';
5
+
6
+ class WrapperHelper {
7
+ /**
8
+ * Development warning. Showed when environment is set to 'development'.
9
+ */
10
+ static devWarning(clsName, msg) {
11
+ // @ts-ignore
12
+ if (window.bryntum && window.bryntum.isTestEnv || isDevMode()) {
13
+ console.warn(`Bryntum${clsName}Component development warning!\n${msg}\n` +
14
+ 'Please check Angular integration guide: https://bryntum.com/products/chart/docs/guide/Chart/integration/angular/guide');
15
+ }
16
+ }
17
+ /**
18
+ * Development warning for container parameter.
19
+ */
20
+ static devWarningContainer(clsName, containerParam) {
21
+ WrapperHelper.devWarning(clsName, `Using "${containerParam}" parameter for configuration is not recommended.\n` +
22
+ 'Widget is placed automatically inside it\'s container element' +
23
+ `Solution: remove "${containerParam}" parameter from configuration.`);
24
+ }
25
+ /**
26
+ * Development warning for config parameter.
27
+ */
28
+ static devWarningConfigProp(clsName, prop) {
29
+ WrapperHelper.devWarning(clsName, `Using "${prop}" parameter for configuration is not recommended.\n` +
30
+ `Solution: Use separate parameter for each "${prop}" value to enable reactive updates of the API instance`);
31
+ }
32
+ /**
33
+ * Development warning for config property.
34
+ */
35
+ static devWarningUpdateProp(clsName, prop) {
36
+ WrapperHelper.devWarning(clsName, `"${prop}" is a static config option for component constructor only. No runtime changes are supported!`);
37
+ }
38
+ /**
39
+ * Applies property value to Bryntum config or instance.
40
+ * @param {Object} configOrInstance target object
41
+ * @param {string} prop property name
42
+ * @param {any} value value
43
+ * @param {Boolean} isConfig config setting mode
44
+ */
45
+ static applyPropValue(configOrInstance, prop, value, isConfig = true) {
46
+ if (prop === 'project') {
47
+ // Allow use ProjectModel component as project
48
+ if (value && typeof value === 'object') {
49
+ configOrInstance[prop] = value.instance || value;
50
+ }
51
+ }
52
+ else if (prop === 'features' && typeof value === 'object') {
53
+ Object.keys(value).forEach(key => WrapperHelper.applyPropValue(configOrInstance, `${key}Feature`, value[key], isConfig));
54
+ }
55
+ else if (prop === 'config' && typeof value === 'object') {
56
+ Object.keys(value).forEach(key => WrapperHelper.applyPropValue(configOrInstance, key, value[key], isConfig));
57
+ }
58
+ else if (prop === 'columns' && !isConfig) {
59
+ configOrInstance['columns'].data = value;
60
+ }
61
+ else if (prop.endsWith('Feature')) {
62
+ const features = configOrInstance['features'], featureName = prop.replace('Feature', '');
63
+ if (isConfig) {
64
+ features[featureName] = value;
65
+ }
66
+ else {
67
+ const feature = features[featureName];
68
+ if (feature) {
69
+ feature.setConfig(value);
70
+ }
71
+ }
72
+ }
73
+ else {
74
+ configOrInstance[prop] = value;
75
+ }
76
+ }
77
+ }
78
+
79
+ /* eslint-disable @typescript-eslint/no-unused-vars */
80
+ class BryntumChartComponent {
81
+ constructor(element) {
82
+ this.bryntumConfig = {
83
+ adopt: undefined,
84
+ appendTo: undefined,
85
+ href: undefined,
86
+ angularComponent: this,
87
+ features: {},
88
+ listeners: {}
89
+ };
90
+ // Events emitters
91
+ /**
92
+ * Fires before an object is destroyed.
93
+ * @param {object} event Event object
94
+ * @param {Core.Base} event.source The Object that is being destroyed.
95
+ */
96
+ this.onBeforeDestroy = new EventEmitter();
97
+ /**
98
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
99
+ * @param {object} event Event object
100
+ * @param {Core.widget.Widget} event.source The widget being hidden.
101
+ */
102
+ this.onBeforeHide = new EventEmitter();
103
+ /**
104
+ * Fired before this container will load record values into its child fields. This is useful if you
105
+ * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
106
+ * @param {object} event Event object
107
+ * @param {Core.widget.Container} event.source The container
108
+ * @param {Core.data.Model} event.record The record
109
+ */
110
+ this.onBeforeSetRecord = new EventEmitter();
111
+ /**
112
+ * Triggered before a widget is shown. Return `false` to prevent the action.
113
+ * @param {object} event Event object
114
+ * @param {Core.widget.Widget,any} event.source The widget being shown
115
+ */
116
+ this.onBeforeShow = new EventEmitter();
117
+ /**
118
+ * Fires when any other event is fired from the object.
119
+ * ...
120
+ * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#event-catchAll)
121
+ * @param {object} event Event object
122
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
123
+ * @param {string} event.event.type The type of the event which is caught by the listener
124
+ */
125
+ this.onCatchAll = new EventEmitter();
126
+ /**
127
+ * Fires when an object is destroyed.
128
+ * @param {object} event Event object
129
+ * @param {Core.Base} event.source The Object that is being destroyed.
130
+ */
131
+ this.onDestroy = new EventEmitter();
132
+ /**
133
+ * Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/chart/docs/api/Core/widget/Container#property-hasChanges) property changes
134
+ * @param {object} event Event object
135
+ * @param {Core.widget.Container} event.source The container.
136
+ * @param {boolean} event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
137
+ */
138
+ this.onDirtyStateChange = new EventEmitter();
139
+ /**
140
+ * Triggered when a widget's [element](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#property-element) is available.
141
+ * @param {object} event Event object
142
+ * @param {HTMLElement} event.element The Widget's element.
143
+ */
144
+ this.onElementCreated = new EventEmitter();
145
+ /**
146
+ * Fired when focus enters this Widget.
147
+ * @param {object} event Event object
148
+ * @param {Core.widget.Widget} event.source This Widget
149
+ * @param {HTMLElement} event.fromElement The element which lost focus.
150
+ * @param {HTMLElement} event.toElement The element which gained focus.
151
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
152
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
153
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
154
+ */
155
+ this.onFocusIn = new EventEmitter();
156
+ /**
157
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
158
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
159
+ * will not trigger this event. This is when focus exits this widget completely.
160
+ * @param {object} event Event object
161
+ * @param {Core.widget.Widget} event.source This Widget
162
+ * @param {HTMLElement} event.fromElement The element which lost focus.
163
+ * @param {HTMLElement} event.toElement The element which gained focus.
164
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
165
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
166
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
167
+ */
168
+ this.onFocusOut = new EventEmitter();
169
+ /**
170
+ * Triggered after a widget was hidden
171
+ * @param {object} event Event object
172
+ * @param {Core.widget.Widget} event.source The widget
173
+ */
174
+ this.onHide = new EventEmitter();
175
+ /**
176
+ * Triggered when a widget which had been in a non-visible state for any reason
177
+ * achieves visibility.
178
+ * ...
179
+ * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#event-paint)
180
+ * @param {object} event Event object
181
+ * @param {Core.widget.Widget} event.source The widget being painted.
182
+ * @param {boolean} event.firstPaint `true` if this is the first paint.
183
+ */
184
+ this.onPaint = new EventEmitter();
185
+ /**
186
+ * Fired when a Widget's read only state is toggled
187
+ * @param {object} event Event object
188
+ * @param {boolean} event.readOnly Read only or not
189
+ */
190
+ this.onReadOnly = new EventEmitter();
191
+ /**
192
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
193
+ * to [recompose](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.
194
+ */
195
+ this.onRecompose = new EventEmitter();
196
+ /**
197
+ * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
198
+ * @param {object} event Event object
199
+ * @param {Core.widget.Widget} event.source This Widget
200
+ * @param {number} event.width The new width
201
+ * @param {number} event.height The new height
202
+ * @param {number} event.oldWidth The old width
203
+ * @param {number} event.oldHeight The old height
204
+ */
205
+ this.onResize = new EventEmitter();
206
+ /**
207
+ * Triggered after a widget is shown.
208
+ * @param {object} event Event object
209
+ * @param {Core.widget.Widget} event.source The widget
210
+ */
211
+ this.onShow = new EventEmitter();
212
+ this.elementRef = element;
213
+ }
214
+ /**
215
+ * Create and append the underlying widget
216
+ */
217
+ ngOnInit() {
218
+ const me = this, { elementRef, bryntumConfig } = me, { instanceClass, instanceName, bryntumConfigs, bryntumEvents } = BryntumChartComponent;
219
+ bryntumConfigs.filter(prop => prop in this).forEach(prop => {
220
+ // @ts-ignore
221
+ WrapperHelper.applyPropValue(bryntumConfig, prop, this[prop]);
222
+ if (['features', 'config'].includes(prop)) {
223
+ WrapperHelper.devWarningConfigProp(instanceName, prop);
224
+ }
225
+ });
226
+ // @ts-ignore
227
+ bryntumEvents.filter(event => this[event] && this[event].observers.length > 0).forEach(event => {
228
+ const uncapitalize = (str) => str.charAt(0).toLowerCase() + str.slice(1), eventName = (str) => uncapitalize(str.slice(2));
229
+ // @ts-ignore
230
+ bryntumConfig.listeners[eventName(event)] = e => {
231
+ // @ts-ignore
232
+ me[event].emit(e);
233
+ // EventEmitter does not return values in the normal way, work around it by setting `returnValue` flag
234
+ // in Angular listeners
235
+ return e.returnValue;
236
+ };
237
+ });
238
+ // If component has no container specified in config then use adopt to Wrapper's element
239
+ const containerParam = [
240
+ 'adopt',
241
+ 'appendTo',
242
+ 'insertAfter',
243
+ 'insertBefore'
244
+ // @ts-ignore
245
+ ].find(prop => bryntumConfig[prop]);
246
+ if (!containerParam) {
247
+ if (instanceName === 'Button' || elementRef.nativeElement.getRootNode() instanceof ShadowRoot) {
248
+ // Button should always be <a> or <button> inside owner element
249
+ bryntumConfig.appendTo = elementRef.nativeElement;
250
+ }
251
+ else {
252
+ bryntumConfig.adopt = elementRef.nativeElement;
253
+ }
254
+ }
255
+ else {
256
+ WrapperHelper.devWarningContainer(instanceName, containerParam);
257
+ }
258
+ // @ts-ignore
259
+ me.instance = instanceName === 'Widget' ? Widget.create(bryntumConfig) : new instanceClass(bryntumConfig);
260
+ }
261
+ /**
262
+ * Watch for changes
263
+ * @param changes
264
+ */
265
+ ngOnChanges(changes) {
266
+ const { instance } = this, { instanceName } = BryntumChartComponent;
267
+ if (!instance) {
268
+ return;
269
+ }
270
+ // Iterate over all changes
271
+ Object.entries(changes).forEach(([prop, change]) => {
272
+ const newValue = change.currentValue, { instance } = this, { bryntumConfigsOnly, bryntumProps } = BryntumChartComponent;
273
+ if (bryntumProps.includes(prop)) {
274
+ WrapperHelper.applyPropValue(instance, prop, newValue, false);
275
+ if (bryntumConfigsOnly.includes(prop)) {
276
+ WrapperHelper.devWarningUpdateProp(instanceName, prop);
277
+ }
278
+ }
279
+ });
280
+ }
281
+ /**
282
+ * Destroy the component
283
+ */
284
+ ngOnDestroy() {
285
+ // @ts-ignore
286
+ if (this.instance && this.instance.destroy) {
287
+ this.instance.destroy();
288
+ }
289
+ }
290
+ }
291
+ BryntumChartComponent.instanceClass = Chart;
292
+ BryntumChartComponent.instanceName = 'Chart';
293
+ BryntumChartComponent.bryntumEvents = [
294
+ 'onBeforeDestroy',
295
+ 'onBeforeHide',
296
+ 'onBeforeSetRecord',
297
+ 'onBeforeShow',
298
+ 'onCatchAll',
299
+ 'onDestroy',
300
+ 'onDirtyStateChange',
301
+ 'onElementCreated',
302
+ 'onFocusIn',
303
+ 'onFocusOut',
304
+ 'onHide',
305
+ 'onPaint',
306
+ 'onReadOnly',
307
+ 'onRecompose',
308
+ 'onResize',
309
+ 'onShow'
310
+ ];
311
+ BryntumChartComponent.bryntumFeatureNames = [];
312
+ BryntumChartComponent.bryntumConfigs = BryntumChartComponent.bryntumFeatureNames.concat([
313
+ 'adopt',
314
+ 'align',
315
+ 'alignSelf',
316
+ 'anchor',
317
+ 'animate',
318
+ 'animationDuration',
319
+ 'appendTo',
320
+ 'ariaDescription',
321
+ 'ariaLabel',
322
+ 'autoUpdateRecord',
323
+ 'axisColor',
324
+ 'axisLabelColor',
325
+ 'background',
326
+ 'backgroundColorField',
327
+ 'barDirection',
328
+ 'bubbleEvents',
329
+ 'bubbleScaleFactor',
330
+ 'callOnFunctions',
331
+ 'catchEventHandlerExceptions',
332
+ 'centered',
333
+ 'chartPadding',
334
+ 'chartTooltip',
335
+ 'chartType',
336
+ 'cls',
337
+ 'color',
338
+ 'column',
339
+ 'config',
340
+ 'constrainTo',
341
+ 'content',
342
+ 'contentElementCls',
343
+ 'data',
344
+ 'dataField',
345
+ 'dataPointShape',
346
+ 'dataset',
347
+ 'defaultBindProperty',
348
+ 'defaultFocus',
349
+ 'defaults',
350
+ 'detectCSSCompatibilityIssues',
351
+ 'disabled',
352
+ 'dock',
353
+ 'draggable',
354
+ 'elementAttributes',
355
+ 'extraData',
356
+ 'field',
357
+ 'flex',
358
+ 'floating',
359
+ 'gridColor',
360
+ 'height',
361
+ 'hidden',
362
+ 'hideAnimation',
363
+ 'hideWhenEmpty',
364
+ 'html',
365
+ 'htmlCls',
366
+ 'id',
367
+ 'ignoreParentReadOnly',
368
+ 'inputFieldAlign',
369
+ 'insertBefore',
370
+ 'insertFirst',
371
+ 'interactive',
372
+ 'itemCls',
373
+ 'items',
374
+ 'keyMap',
375
+ 'label',
376
+ 'labelPosition',
377
+ 'labels',
378
+ 'layout',
379
+ 'layoutStyle',
380
+ 'lazyItems',
381
+ 'legendPosition',
382
+ 'legendScale',
383
+ 'listeners',
384
+ 'localeClass',
385
+ 'localizable',
386
+ 'localizableProperties',
387
+ 'margin',
388
+ 'maskDefaults',
389
+ 'masked',
390
+ 'max',
391
+ 'maxHeight',
392
+ 'maximizeOnMobile',
393
+ 'maxTickLabelRotation',
394
+ 'maxWidth',
395
+ 'min',
396
+ 'minHeight',
397
+ 'minTickLabelRotation',
398
+ 'minWidth',
399
+ 'monitorResize',
400
+ 'namedItems',
401
+ 'owner',
402
+ 'pointSize',
403
+ 'positioned',
404
+ 'preventTooltipOnTouch',
405
+ 'readOnly',
406
+ 'record',
407
+ 'relayStoreEvents',
408
+ 'rendition',
409
+ 'ripple',
410
+ 'role',
411
+ 'rootElement',
412
+ 'rtl',
413
+ 'scrollable',
414
+ 'scrollAction',
415
+ 'series',
416
+ 'seriesLineDash',
417
+ 'seriesLineOpacity',
418
+ 'seriesLineThickness',
419
+ 'showAnimation',
420
+ 'showControls',
421
+ 'showLegend',
422
+ 'showPoints',
423
+ 'showSubtitle',
424
+ 'showTicks',
425
+ 'showTitle',
426
+ 'showTooltips',
427
+ 'showTooltipWhenDisabled',
428
+ 'span',
429
+ 'strictRecordMapping',
430
+ 'subtitle',
431
+ 'subtitleFont',
432
+ 'subtitlePadding',
433
+ 'tab',
434
+ 'tabBarItems',
435
+ 'tag',
436
+ 'textAlign',
437
+ 'textContent',
438
+ 'tickFont',
439
+ 'tickMarkColor',
440
+ 'title',
441
+ 'titleFont',
442
+ 'titlePadding',
443
+ 'tooltip',
444
+ 'type',
445
+ 'ui',
446
+ 'weight',
447
+ 'width',
448
+ 'x',
449
+ 'y'
450
+ ]);
451
+ BryntumChartComponent.bryntumConfigsOnly = [
452
+ 'adopt',
453
+ 'align',
454
+ 'anchor',
455
+ 'ariaDescription',
456
+ 'ariaLabel',
457
+ 'autoUpdateRecord',
458
+ 'bubbleEvents',
459
+ 'centered',
460
+ 'color',
461
+ 'config',
462
+ 'constrainTo',
463
+ 'contentElementCls',
464
+ 'dataField',
465
+ 'defaultBindProperty',
466
+ 'defaultFocus',
467
+ 'defaults',
468
+ 'detectCSSCompatibilityIssues',
469
+ 'dock',
470
+ 'draggable',
471
+ 'elementAttributes',
472
+ 'floating',
473
+ 'hideAnimation',
474
+ 'hideWhenEmpty',
475
+ 'htmlCls',
476
+ 'ignoreParentReadOnly',
477
+ 'itemCls',
478
+ 'lazyItems',
479
+ 'listeners',
480
+ 'localeClass',
481
+ 'localizable',
482
+ 'localizableProperties',
483
+ 'maskDefaults',
484
+ 'masked',
485
+ 'monitorResize',
486
+ 'namedItems',
487
+ 'owner',
488
+ 'positioned',
489
+ 'preventTooltipOnTouch',
490
+ 'relayStoreEvents',
491
+ 'ripple',
492
+ 'rootElement',
493
+ 'scrollAction',
494
+ 'showAnimation',
495
+ 'showTooltipWhenDisabled',
496
+ 'tab',
497
+ 'tabBarItems',
498
+ 'tag',
499
+ 'textAlign',
500
+ 'textContent',
501
+ 'type',
502
+ 'ui',
503
+ 'weight'
504
+ ];
505
+ BryntumChartComponent.bryntumProps = BryntumChartComponent.bryntumFeatureNames.concat([
506
+ 'alignSelf',
507
+ 'anchorSize',
508
+ 'animate',
509
+ 'animationDuration',
510
+ 'appendTo',
511
+ 'axisColor',
512
+ 'axisLabelColor',
513
+ 'background',
514
+ 'backgroundColorField',
515
+ 'barDirection',
516
+ 'bubbleScaleFactor',
517
+ 'callOnFunctions',
518
+ 'catchEventHandlerExceptions',
519
+ 'chartPadding',
520
+ 'chartTooltip',
521
+ 'chartType',
522
+ 'cls',
523
+ 'column',
524
+ 'content',
525
+ 'data',
526
+ 'dataPointShape',
527
+ 'dataset',
528
+ 'disabled',
529
+ 'extraData',
530
+ 'field',
531
+ 'flex',
532
+ 'focusVisible',
533
+ 'gridColor',
534
+ 'hasChanges',
535
+ 'height',
536
+ 'hidden',
537
+ 'html',
538
+ 'id',
539
+ 'inputFieldAlign',
540
+ 'insertBefore',
541
+ 'insertFirst',
542
+ 'interactive',
543
+ 'isSettingValues',
544
+ 'isValid',
545
+ 'items',
546
+ 'keyMap',
547
+ 'label',
548
+ 'labelPosition',
549
+ 'labels',
550
+ 'layout',
551
+ 'layoutStyle',
552
+ 'legendPosition',
553
+ 'legendScale',
554
+ 'margin',
555
+ 'max',
556
+ 'maxHeight',
557
+ 'maximizeOnMobile',
558
+ 'maxTickLabelRotation',
559
+ 'maxWidth',
560
+ 'min',
561
+ 'minHeight',
562
+ 'minTickLabelRotation',
563
+ 'minWidth',
564
+ 'parent',
565
+ 'pointSize',
566
+ 'readOnly',
567
+ 'record',
568
+ 'rendition',
569
+ 'role',
570
+ 'rtl',
571
+ 'scrollable',
572
+ 'series',
573
+ 'seriesLineDash',
574
+ 'seriesLineOpacity',
575
+ 'seriesLineThickness',
576
+ 'showControls',
577
+ 'showLegend',
578
+ 'showPoints',
579
+ 'showSubtitle',
580
+ 'showTicks',
581
+ 'showTitle',
582
+ 'showTooltips',
583
+ 'span',
584
+ 'strictRecordMapping',
585
+ 'subtitle',
586
+ 'subtitleFont',
587
+ 'subtitlePadding',
588
+ 'tickFont',
589
+ 'tickMarkColor',
590
+ 'title',
591
+ 'titleFont',
592
+ 'titlePadding',
593
+ 'tooltip',
594
+ 'values',
595
+ 'width',
596
+ 'x',
597
+ 'y'
598
+ ]);
599
+ BryntumChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BryntumChartComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
600
+ BryntumChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.0", type: BryntumChartComponent, selector: "bryntum-chart", inputs: { adopt: "adopt", align: "align", anchor: "anchor", ariaDescription: "ariaDescription", ariaLabel: "ariaLabel", autoUpdateRecord: "autoUpdateRecord", bubbleEvents: "bubbleEvents", centered: "centered", color: "color", config: "config", constrainTo: "constrainTo", contentElementCls: "contentElementCls", dataField: "dataField", defaultBindProperty: "defaultBindProperty", defaultFocus: "defaultFocus", defaults: "defaults", detectCSSCompatibilityIssues: "detectCSSCompatibilityIssues", dock: "dock", draggable: "draggable", elementAttributes: "elementAttributes", floating: "floating", hideAnimation: "hideAnimation", hideWhenEmpty: "hideWhenEmpty", htmlCls: "htmlCls", ignoreParentReadOnly: "ignoreParentReadOnly", itemCls: "itemCls", lazyItems: "lazyItems", listeners: "listeners", localeClass: "localeClass", localizable: "localizable", localizableProperties: "localizableProperties", maskDefaults: "maskDefaults", masked: "masked", monitorResize: "monitorResize", namedItems: "namedItems", owner: "owner", positioned: "positioned", preventTooltipOnTouch: "preventTooltipOnTouch", relayStoreEvents: "relayStoreEvents", ripple: "ripple", rootElement: "rootElement", scrollAction: "scrollAction", showAnimation: "showAnimation", showTooltipWhenDisabled: "showTooltipWhenDisabled", tab: "tab", tabBarItems: "tabBarItems", tag: "tag", textAlign: "textAlign", textContent: "textContent", type: "type", ui: "ui", weight: "weight", alignSelf: "alignSelf", animate: "animate", animationDuration: "animationDuration", appendTo: "appendTo", axisColor: "axisColor", axisLabelColor: "axisLabelColor", background: "background", backgroundColorField: "backgroundColorField", barDirection: "barDirection", bubbleScaleFactor: "bubbleScaleFactor", callOnFunctions: "callOnFunctions", catchEventHandlerExceptions: "catchEventHandlerExceptions", chartPadding: "chartPadding", chartTooltip: "chartTooltip", chartType: "chartType", cls: "cls", column: "column", content: "content", data: "data", dataPointShape: "dataPointShape", dataset: "dataset", disabled: "disabled", extraData: "extraData", field: "field", flex: "flex", gridColor: "gridColor", height: "height", hidden: "hidden", html: "html", id: "id", inputFieldAlign: "inputFieldAlign", insertBefore: "insertBefore", insertFirst: "insertFirst", interactive: "interactive", items: "items", keyMap: "keyMap", label: "label", labelPosition: "labelPosition", labels: "labels", layout: "layout", layoutStyle: "layoutStyle", legendPosition: "legendPosition", legendScale: "legendScale", margin: "margin", max: "max", maxHeight: "maxHeight", maximizeOnMobile: "maximizeOnMobile", maxTickLabelRotation: "maxTickLabelRotation", maxWidth: "maxWidth", min: "min", minHeight: "minHeight", minTickLabelRotation: "minTickLabelRotation", minWidth: "minWidth", pointSize: "pointSize", readOnly: "readOnly", record: "record", rendition: "rendition", role: "role", rtl: "rtl", scrollable: "scrollable", series: "series", seriesLineDash: "seriesLineDash", seriesLineOpacity: "seriesLineOpacity", seriesLineThickness: "seriesLineThickness", showControls: "showControls", showLegend: "showLegend", showPoints: "showPoints", showSubtitle: "showSubtitle", showTicks: "showTicks", showTitle: "showTitle", showTooltips: "showTooltips", span: "span", strictRecordMapping: "strictRecordMapping", subtitle: "subtitle", subtitleFont: "subtitleFont", subtitlePadding: "subtitlePadding", tickFont: "tickFont", tickMarkColor: "tickMarkColor", title: "title", titleFont: "titleFont", titlePadding: "titlePadding", tooltip: "tooltip", width: "width", x: "x", y: "y", anchorSize: "anchorSize", focusVisible: "focusVisible", hasChanges: "hasChanges", isSettingValues: "isSettingValues", isValid: "isValid", parent: "parent", values: "values" }, outputs: { onBeforeDestroy: "onBeforeDestroy", onBeforeHide: "onBeforeHide", onBeforeSetRecord: "onBeforeSetRecord", onBeforeShow: "onBeforeShow", onCatchAll: "onCatchAll", onDestroy: "onDestroy", onDirtyStateChange: "onDirtyStateChange", onElementCreated: "onElementCreated", onFocusIn: "onFocusIn", onFocusOut: "onFocusOut", onHide: "onHide", onPaint: "onPaint", onReadOnly: "onReadOnly", onRecompose: "onRecompose", onResize: "onResize", onShow: "onShow" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
601
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BryntumChartComponent, decorators: [{
602
+ type: Component,
603
+ args: [{
604
+ selector: 'bryntum-chart',
605
+ template: ''
606
+ }]
607
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { adopt: [{
608
+ type: Input
609
+ }], align: [{
610
+ type: Input
611
+ }], anchor: [{
612
+ type: Input
613
+ }], ariaDescription: [{
614
+ type: Input
615
+ }], ariaLabel: [{
616
+ type: Input
617
+ }], autoUpdateRecord: [{
618
+ type: Input
619
+ }], bubbleEvents: [{
620
+ type: Input
621
+ }], centered: [{
622
+ type: Input
623
+ }], color: [{
624
+ type: Input
625
+ }], config: [{
626
+ type: Input
627
+ }], constrainTo: [{
628
+ type: Input
629
+ }], contentElementCls: [{
630
+ type: Input
631
+ }], dataField: [{
632
+ type: Input
633
+ }], defaultBindProperty: [{
634
+ type: Input
635
+ }], defaultFocus: [{
636
+ type: Input
637
+ }], defaults: [{
638
+ type: Input
639
+ }], detectCSSCompatibilityIssues: [{
640
+ type: Input
641
+ }], dock: [{
642
+ type: Input
643
+ }], draggable: [{
644
+ type: Input
645
+ }], elementAttributes: [{
646
+ type: Input
647
+ }], floating: [{
648
+ type: Input
649
+ }], hideAnimation: [{
650
+ type: Input
651
+ }], hideWhenEmpty: [{
652
+ type: Input
653
+ }], htmlCls: [{
654
+ type: Input
655
+ }], ignoreParentReadOnly: [{
656
+ type: Input
657
+ }], itemCls: [{
658
+ type: Input
659
+ }], lazyItems: [{
660
+ type: Input
661
+ }], listeners: [{
662
+ type: Input
663
+ }], localeClass: [{
664
+ type: Input
665
+ }], localizable: [{
666
+ type: Input
667
+ }], localizableProperties: [{
668
+ type: Input
669
+ }], maskDefaults: [{
670
+ type: Input
671
+ }], masked: [{
672
+ type: Input
673
+ }], monitorResize: [{
674
+ type: Input
675
+ }], namedItems: [{
676
+ type: Input
677
+ }], owner: [{
678
+ type: Input
679
+ }], positioned: [{
680
+ type: Input
681
+ }], preventTooltipOnTouch: [{
682
+ type: Input
683
+ }], relayStoreEvents: [{
684
+ type: Input
685
+ }], ripple: [{
686
+ type: Input
687
+ }], rootElement: [{
688
+ type: Input
689
+ }], scrollAction: [{
690
+ type: Input
691
+ }], showAnimation: [{
692
+ type: Input
693
+ }], showTooltipWhenDisabled: [{
694
+ type: Input
695
+ }], tab: [{
696
+ type: Input
697
+ }], tabBarItems: [{
698
+ type: Input
699
+ }], tag: [{
700
+ type: Input
701
+ }], textAlign: [{
702
+ type: Input
703
+ }], textContent: [{
704
+ type: Input
705
+ }], type: [{
706
+ type: Input
707
+ }], ui: [{
708
+ type: Input
709
+ }], weight: [{
710
+ type: Input
711
+ }], alignSelf: [{
712
+ type: Input
713
+ }], animate: [{
714
+ type: Input
715
+ }], animationDuration: [{
716
+ type: Input
717
+ }], appendTo: [{
718
+ type: Input
719
+ }], axisColor: [{
720
+ type: Input
721
+ }], axisLabelColor: [{
722
+ type: Input
723
+ }], background: [{
724
+ type: Input
725
+ }], backgroundColorField: [{
726
+ type: Input
727
+ }], barDirection: [{
728
+ type: Input
729
+ }], bubbleScaleFactor: [{
730
+ type: Input
731
+ }], callOnFunctions: [{
732
+ type: Input
733
+ }], catchEventHandlerExceptions: [{
734
+ type: Input
735
+ }], chartPadding: [{
736
+ type: Input
737
+ }], chartTooltip: [{
738
+ type: Input
739
+ }], chartType: [{
740
+ type: Input
741
+ }], cls: [{
742
+ type: Input
743
+ }], column: [{
744
+ type: Input
745
+ }], content: [{
746
+ type: Input
747
+ }], data: [{
748
+ type: Input
749
+ }], dataPointShape: [{
750
+ type: Input
751
+ }], dataset: [{
752
+ type: Input
753
+ }], disabled: [{
754
+ type: Input
755
+ }], extraData: [{
756
+ type: Input
757
+ }], field: [{
758
+ type: Input
759
+ }], flex: [{
760
+ type: Input
761
+ }], gridColor: [{
762
+ type: Input
763
+ }], height: [{
764
+ type: Input
765
+ }], hidden: [{
766
+ type: Input
767
+ }], html: [{
768
+ type: Input
769
+ }], id: [{
770
+ type: Input
771
+ }], inputFieldAlign: [{
772
+ type: Input
773
+ }], insertBefore: [{
774
+ type: Input
775
+ }], insertFirst: [{
776
+ type: Input
777
+ }], interactive: [{
778
+ type: Input
779
+ }], items: [{
780
+ type: Input
781
+ }], keyMap: [{
782
+ type: Input
783
+ }], label: [{
784
+ type: Input
785
+ }], labelPosition: [{
786
+ type: Input
787
+ }], labels: [{
788
+ type: Input
789
+ }], layout: [{
790
+ type: Input
791
+ }], layoutStyle: [{
792
+ type: Input
793
+ }], legendPosition: [{
794
+ type: Input
795
+ }], legendScale: [{
796
+ type: Input
797
+ }], margin: [{
798
+ type: Input
799
+ }], max: [{
800
+ type: Input
801
+ }], maxHeight: [{
802
+ type: Input
803
+ }], maximizeOnMobile: [{
804
+ type: Input
805
+ }], maxTickLabelRotation: [{
806
+ type: Input
807
+ }], maxWidth: [{
808
+ type: Input
809
+ }], min: [{
810
+ type: Input
811
+ }], minHeight: [{
812
+ type: Input
813
+ }], minTickLabelRotation: [{
814
+ type: Input
815
+ }], minWidth: [{
816
+ type: Input
817
+ }], pointSize: [{
818
+ type: Input
819
+ }], readOnly: [{
820
+ type: Input
821
+ }], record: [{
822
+ type: Input
823
+ }], rendition: [{
824
+ type: Input
825
+ }], role: [{
826
+ type: Input
827
+ }], rtl: [{
828
+ type: Input
829
+ }], scrollable: [{
830
+ type: Input
831
+ }], series: [{
832
+ type: Input
833
+ }], seriesLineDash: [{
834
+ type: Input
835
+ }], seriesLineOpacity: [{
836
+ type: Input
837
+ }], seriesLineThickness: [{
838
+ type: Input
839
+ }], showControls: [{
840
+ type: Input
841
+ }], showLegend: [{
842
+ type: Input
843
+ }], showPoints: [{
844
+ type: Input
845
+ }], showSubtitle: [{
846
+ type: Input
847
+ }], showTicks: [{
848
+ type: Input
849
+ }], showTitle: [{
850
+ type: Input
851
+ }], showTooltips: [{
852
+ type: Input
853
+ }], span: [{
854
+ type: Input
855
+ }], strictRecordMapping: [{
856
+ type: Input
857
+ }], subtitle: [{
858
+ type: Input
859
+ }], subtitleFont: [{
860
+ type: Input
861
+ }], subtitlePadding: [{
862
+ type: Input
863
+ }], tickFont: [{
864
+ type: Input
865
+ }], tickMarkColor: [{
866
+ type: Input
867
+ }], title: [{
868
+ type: Input
869
+ }], titleFont: [{
870
+ type: Input
871
+ }], titlePadding: [{
872
+ type: Input
873
+ }], tooltip: [{
874
+ type: Input
875
+ }], width: [{
876
+ type: Input
877
+ }], x: [{
878
+ type: Input
879
+ }], y: [{
880
+ type: Input
881
+ }], anchorSize: [{
882
+ type: Input
883
+ }], focusVisible: [{
884
+ type: Input
885
+ }], hasChanges: [{
886
+ type: Input
887
+ }], isSettingValues: [{
888
+ type: Input
889
+ }], isValid: [{
890
+ type: Input
891
+ }], parent: [{
892
+ type: Input
893
+ }], values: [{
894
+ type: Input
895
+ }], onBeforeDestroy: [{
896
+ type: Output
897
+ }], onBeforeHide: [{
898
+ type: Output
899
+ }], onBeforeSetRecord: [{
900
+ type: Output
901
+ }], onBeforeShow: [{
902
+ type: Output
903
+ }], onCatchAll: [{
904
+ type: Output
905
+ }], onDestroy: [{
906
+ type: Output
907
+ }], onDirtyStateChange: [{
908
+ type: Output
909
+ }], onElementCreated: [{
910
+ type: Output
911
+ }], onFocusIn: [{
912
+ type: Output
913
+ }], onFocusOut: [{
914
+ type: Output
915
+ }], onHide: [{
916
+ type: Output
917
+ }], onPaint: [{
918
+ type: Output
919
+ }], onReadOnly: [{
920
+ type: Output
921
+ }], onRecompose: [{
922
+ type: Output
923
+ }], onResize: [{
924
+ type: Output
925
+ }], onShow: [{
926
+ type: Output
927
+ }] } });
928
+
929
+ /**
930
+ * Angular Bryntum Chart Shared module
931
+ */
932
+ class BryntumChartModule {
933
+ }
934
+ BryntumChartModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BryntumChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
935
+ BryntumChartModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BryntumChartModule, declarations: [BryntumChartComponent], exports: [BryntumChartComponent] });
936
+ BryntumChartModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BryntumChartModule, imports: [[]] });
937
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BryntumChartModule, decorators: [{
938
+ type: NgModule,
939
+ args: [{
940
+ declarations: [
941
+ BryntumChartComponent
942
+ ],
943
+ imports: [],
944
+ exports: [
945
+ BryntumChartComponent
946
+ ]
947
+ }]
948
+ }] });
949
+
950
+ /*
951
+ * Public API Surface of Bryntum Chart
952
+ */
953
+
954
+ /**
955
+ * Generated bundle index. Do not edit.
956
+ */
957
+
958
+ export { BryntumChartComponent, BryntumChartModule };
959
+ //# sourceMappingURL=bryntum-chart-angular-thin.js.map