@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,1380 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@bryntum/core-thin'), require('@bryntum/chart-thin')) :
3
+ typeof define === 'function' && define.amd ? define('@bryntum/chart-angular-thin', ['exports', '@angular/core', '@bryntum/core-thin', '@bryntum/chart-thin'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.bryntum = global.bryntum || {}, global.bryntum["chart-angular-thin"] = {}), global.ng.core, global["@bryntum/core-thin"], global["@bryntum/chart-thin"]));
5
+ })(this, (function (exports, i0, coreThin, chartThin) { 'use strict';
6
+
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+
27
+ /******************************************************************************
28
+ Copyright (c) Microsoft Corporation.
29
+
30
+ Permission to use, copy, modify, and/or distribute this software for any
31
+ purpose with or without fee is hereby granted.
32
+
33
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
34
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
35
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
36
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
37
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
38
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
39
+ PERFORMANCE OF THIS SOFTWARE.
40
+ ***************************************************************************** */
41
+ /* global Reflect, Promise */
42
+ var extendStatics = function (d, b) {
43
+ extendStatics = Object.setPrototypeOf ||
44
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
45
+ function (d, b) { for (var p in b)
46
+ if (Object.prototype.hasOwnProperty.call(b, p))
47
+ d[p] = b[p]; };
48
+ return extendStatics(d, b);
49
+ };
50
+ function __extends(d, b) {
51
+ if (typeof b !== "function" && b !== null)
52
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
53
+ extendStatics(d, b);
54
+ function __() { this.constructor = d; }
55
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
56
+ }
57
+ var __assign = function () {
58
+ __assign = Object.assign || function __assign(t) {
59
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
60
+ s = arguments[i];
61
+ for (var p in s)
62
+ if (Object.prototype.hasOwnProperty.call(s, p))
63
+ t[p] = s[p];
64
+ }
65
+ return t;
66
+ };
67
+ return __assign.apply(this, arguments);
68
+ };
69
+ function __rest(s, e) {
70
+ var t = {};
71
+ for (var p in s)
72
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
73
+ t[p] = s[p];
74
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
75
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
76
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
77
+ t[p[i]] = s[p[i]];
78
+ }
79
+ return t;
80
+ }
81
+ function __decorate(decorators, target, key, desc) {
82
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
83
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
84
+ r = Reflect.decorate(decorators, target, key, desc);
85
+ else
86
+ for (var i = decorators.length - 1; i >= 0; i--)
87
+ if (d = decorators[i])
88
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
89
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
90
+ }
91
+ function __param(paramIndex, decorator) {
92
+ return function (target, key) { decorator(target, key, paramIndex); };
93
+ }
94
+ function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
95
+ function accept(f) { if (f !== void 0 && typeof f !== "function")
96
+ throw new TypeError("Function expected"); return f; }
97
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
98
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
99
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
100
+ var _, done = false;
101
+ for (var i = decorators.length - 1; i >= 0; i--) {
102
+ var context = {};
103
+ for (var p in contextIn)
104
+ context[p] = p === "access" ? {} : contextIn[p];
105
+ for (var p in contextIn.access)
106
+ context.access[p] = contextIn.access[p];
107
+ context.addInitializer = function (f) { if (done)
108
+ throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
109
+ var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
110
+ if (kind === "accessor") {
111
+ if (result === void 0)
112
+ continue;
113
+ if (result === null || typeof result !== "object")
114
+ throw new TypeError("Object expected");
115
+ if (_ = accept(result.get))
116
+ descriptor.get = _;
117
+ if (_ = accept(result.set))
118
+ descriptor.set = _;
119
+ if (_ = accept(result.init))
120
+ initializers.push(_);
121
+ }
122
+ else if (_ = accept(result)) {
123
+ if (kind === "field")
124
+ initializers.push(_);
125
+ else
126
+ descriptor[key] = _;
127
+ }
128
+ }
129
+ if (target)
130
+ Object.defineProperty(target, contextIn.name, descriptor);
131
+ done = true;
132
+ }
133
+ ;
134
+ function __runInitializers(thisArg, initializers, value) {
135
+ var useValue = arguments.length > 2;
136
+ for (var i = 0; i < initializers.length; i++) {
137
+ value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
138
+ }
139
+ return useValue ? value : void 0;
140
+ }
141
+ ;
142
+ function __propKey(x) {
143
+ return typeof x === "symbol" ? x : "".concat(x);
144
+ }
145
+ ;
146
+ function __setFunctionName(f, name, prefix) {
147
+ if (typeof name === "symbol")
148
+ name = name.description ? "[".concat(name.description, "]") : "";
149
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
150
+ }
151
+ ;
152
+ function __metadata(metadataKey, metadataValue) {
153
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
154
+ return Reflect.metadata(metadataKey, metadataValue);
155
+ }
156
+ function __awaiter(thisArg, _arguments, P, generator) {
157
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
158
+ return new (P || (P = Promise))(function (resolve, reject) {
159
+ function fulfilled(value) { try {
160
+ step(generator.next(value));
161
+ }
162
+ catch (e) {
163
+ reject(e);
164
+ } }
165
+ function rejected(value) { try {
166
+ step(generator["throw"](value));
167
+ }
168
+ catch (e) {
169
+ reject(e);
170
+ } }
171
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
172
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
173
+ });
174
+ }
175
+ function __generator(thisArg, body) {
176
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
177
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
178
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
179
+ function verb(n) { return function (v) { return step([n, v]); }; }
180
+ function step(op) {
181
+ if (f)
182
+ throw new TypeError("Generator is already executing.");
183
+ while (g && (g = 0, op[0] && (_ = 0)), _)
184
+ try {
185
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
186
+ return t;
187
+ if (y = 0, t)
188
+ op = [op[0] & 2, t.value];
189
+ switch (op[0]) {
190
+ case 0:
191
+ case 1:
192
+ t = op;
193
+ break;
194
+ case 4:
195
+ _.label++;
196
+ return { value: op[1], done: false };
197
+ case 5:
198
+ _.label++;
199
+ y = op[1];
200
+ op = [0];
201
+ continue;
202
+ case 7:
203
+ op = _.ops.pop();
204
+ _.trys.pop();
205
+ continue;
206
+ default:
207
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
208
+ _ = 0;
209
+ continue;
210
+ }
211
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
212
+ _.label = op[1];
213
+ break;
214
+ }
215
+ if (op[0] === 6 && _.label < t[1]) {
216
+ _.label = t[1];
217
+ t = op;
218
+ break;
219
+ }
220
+ if (t && _.label < t[2]) {
221
+ _.label = t[2];
222
+ _.ops.push(op);
223
+ break;
224
+ }
225
+ if (t[2])
226
+ _.ops.pop();
227
+ _.trys.pop();
228
+ continue;
229
+ }
230
+ op = body.call(thisArg, _);
231
+ }
232
+ catch (e) {
233
+ op = [6, e];
234
+ y = 0;
235
+ }
236
+ finally {
237
+ f = t = 0;
238
+ }
239
+ if (op[0] & 5)
240
+ throw op[1];
241
+ return { value: op[0] ? op[1] : void 0, done: true };
242
+ }
243
+ }
244
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
245
+ if (k2 === undefined)
246
+ k2 = k;
247
+ var desc = Object.getOwnPropertyDescriptor(m, k);
248
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
249
+ desc = { enumerable: true, get: function () { return m[k]; } };
250
+ }
251
+ Object.defineProperty(o, k2, desc);
252
+ }) : (function (o, m, k, k2) {
253
+ if (k2 === undefined)
254
+ k2 = k;
255
+ o[k2] = m[k];
256
+ });
257
+ function __exportStar(m, o) {
258
+ for (var p in m)
259
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
260
+ __createBinding(o, m, p);
261
+ }
262
+ function __values(o) {
263
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
264
+ if (m)
265
+ return m.call(o);
266
+ if (o && typeof o.length === "number")
267
+ return {
268
+ next: function () {
269
+ if (o && i >= o.length)
270
+ o = void 0;
271
+ return { value: o && o[i++], done: !o };
272
+ }
273
+ };
274
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
275
+ }
276
+ function __read(o, n) {
277
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
278
+ if (!m)
279
+ return o;
280
+ var i = m.call(o), r, ar = [], e;
281
+ try {
282
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
283
+ ar.push(r.value);
284
+ }
285
+ catch (error) {
286
+ e = { error: error };
287
+ }
288
+ finally {
289
+ try {
290
+ if (r && !r.done && (m = i["return"]))
291
+ m.call(i);
292
+ }
293
+ finally {
294
+ if (e)
295
+ throw e.error;
296
+ }
297
+ }
298
+ return ar;
299
+ }
300
+ /** @deprecated */
301
+ function __spread() {
302
+ for (var ar = [], i = 0; i < arguments.length; i++)
303
+ ar = ar.concat(__read(arguments[i]));
304
+ return ar;
305
+ }
306
+ /** @deprecated */
307
+ function __spreadArrays() {
308
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
309
+ s += arguments[i].length;
310
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
311
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
312
+ r[k] = a[j];
313
+ return r;
314
+ }
315
+ function __spreadArray(to, from, pack) {
316
+ if (pack || arguments.length === 2)
317
+ for (var i = 0, l = from.length, ar; i < l; i++) {
318
+ if (ar || !(i in from)) {
319
+ if (!ar)
320
+ ar = Array.prototype.slice.call(from, 0, i);
321
+ ar[i] = from[i];
322
+ }
323
+ }
324
+ return to.concat(ar || Array.prototype.slice.call(from));
325
+ }
326
+ function __await(v) {
327
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
328
+ }
329
+ function __asyncGenerator(thisArg, _arguments, generator) {
330
+ if (!Symbol.asyncIterator)
331
+ throw new TypeError("Symbol.asyncIterator is not defined.");
332
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
333
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
334
+ function verb(n) { if (g[n])
335
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
336
+ function resume(n, v) { try {
337
+ step(g[n](v));
338
+ }
339
+ catch (e) {
340
+ settle(q[0][3], e);
341
+ } }
342
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
343
+ function fulfill(value) { resume("next", value); }
344
+ function reject(value) { resume("throw", value); }
345
+ function settle(f, v) { if (f(v), q.shift(), q.length)
346
+ resume(q[0][0], q[0][1]); }
347
+ }
348
+ function __asyncDelegator(o) {
349
+ var i, p;
350
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
351
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
352
+ }
353
+ function __asyncValues(o) {
354
+ if (!Symbol.asyncIterator)
355
+ throw new TypeError("Symbol.asyncIterator is not defined.");
356
+ var m = o[Symbol.asyncIterator], i;
357
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
358
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
359
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
360
+ }
361
+ function __makeTemplateObject(cooked, raw) {
362
+ if (Object.defineProperty) {
363
+ Object.defineProperty(cooked, "raw", { value: raw });
364
+ }
365
+ else {
366
+ cooked.raw = raw;
367
+ }
368
+ return cooked;
369
+ }
370
+ ;
371
+ var __setModuleDefault = Object.create ? (function (o, v) {
372
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
373
+ }) : function (o, v) {
374
+ o["default"] = v;
375
+ };
376
+ function __importStar(mod) {
377
+ if (mod && mod.__esModule)
378
+ return mod;
379
+ var result = {};
380
+ if (mod != null)
381
+ for (var k in mod)
382
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
383
+ __createBinding(result, mod, k);
384
+ __setModuleDefault(result, mod);
385
+ return result;
386
+ }
387
+ function __importDefault(mod) {
388
+ return (mod && mod.__esModule) ? mod : { default: mod };
389
+ }
390
+ function __classPrivateFieldGet(receiver, state, kind, f) {
391
+ if (kind === "a" && !f)
392
+ throw new TypeError("Private accessor was defined without a getter");
393
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
394
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
395
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
396
+ }
397
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
398
+ if (kind === "m")
399
+ throw new TypeError("Private method is not writable");
400
+ if (kind === "a" && !f)
401
+ throw new TypeError("Private accessor was defined without a setter");
402
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
403
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
404
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
405
+ }
406
+ function __classPrivateFieldIn(state, receiver) {
407
+ if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
408
+ throw new TypeError("Cannot use 'in' operator on non-object");
409
+ return typeof state === "function" ? receiver === state : state.has(receiver);
410
+ }
411
+
412
+ var WrapperHelper = /** @class */ (function () {
413
+ function WrapperHelper() {
414
+ }
415
+ /**
416
+ * Development warning. Showed when environment is set to 'development'.
417
+ */
418
+ WrapperHelper.devWarning = function (clsName, msg) {
419
+ // @ts-ignore
420
+ if (window.bryntum && window.bryntum.isTestEnv || i0.isDevMode()) {
421
+ console.warn("Bryntum" + clsName + "Component development warning!\n" + msg + "\n" +
422
+ 'Please check Angular integration guide: https://bryntum.com/products/chart/docs/guide/Chart/integration/angular/guide');
423
+ }
424
+ };
425
+ /**
426
+ * Development warning for container parameter.
427
+ */
428
+ WrapperHelper.devWarningContainer = function (clsName, containerParam) {
429
+ WrapperHelper.devWarning(clsName, "Using \"" + containerParam + "\" parameter for configuration is not recommended.\n" +
430
+ 'Widget is placed automatically inside it\'s container element' +
431
+ ("Solution: remove \"" + containerParam + "\" parameter from configuration."));
432
+ };
433
+ /**
434
+ * Development warning for config parameter.
435
+ */
436
+ WrapperHelper.devWarningConfigProp = function (clsName, prop) {
437
+ WrapperHelper.devWarning(clsName, "Using \"" + prop + "\" parameter for configuration is not recommended.\n" +
438
+ ("Solution: Use separate parameter for each \"" + prop + "\" value to enable reactive updates of the API instance"));
439
+ };
440
+ /**
441
+ * Development warning for config property.
442
+ */
443
+ WrapperHelper.devWarningUpdateProp = function (clsName, prop) {
444
+ WrapperHelper.devWarning(clsName, "\"" + prop + "\" is a static config option for component constructor only. No runtime changes are supported!");
445
+ };
446
+ /**
447
+ * Applies property value to Bryntum config or instance.
448
+ * @param {Object} configOrInstance target object
449
+ * @param {string} prop property name
450
+ * @param {any} value value
451
+ * @param {Boolean} isConfig config setting mode
452
+ */
453
+ WrapperHelper.applyPropValue = function (configOrInstance, prop, value, isConfig) {
454
+ if (isConfig === void 0) { isConfig = true; }
455
+ if (prop === 'project') {
456
+ // Allow use ProjectModel component as project
457
+ if (value && typeof value === 'object') {
458
+ configOrInstance[prop] = value.instance || value;
459
+ }
460
+ }
461
+ else if (prop === 'features' && typeof value === 'object') {
462
+ Object.keys(value).forEach(function (key) { return WrapperHelper.applyPropValue(configOrInstance, key + "Feature", value[key], isConfig); });
463
+ }
464
+ else if (prop === 'config' && typeof value === 'object') {
465
+ Object.keys(value).forEach(function (key) { return WrapperHelper.applyPropValue(configOrInstance, key, value[key], isConfig); });
466
+ }
467
+ else if (prop === 'columns' && !isConfig) {
468
+ configOrInstance['columns'].data = value;
469
+ }
470
+ else if (prop.endsWith('Feature')) {
471
+ var features = configOrInstance['features'], featureName = prop.replace('Feature', '');
472
+ if (isConfig) {
473
+ features[featureName] = value;
474
+ }
475
+ else {
476
+ var feature = features[featureName];
477
+ if (feature) {
478
+ feature.setConfig(value);
479
+ }
480
+ }
481
+ }
482
+ else {
483
+ configOrInstance[prop] = value;
484
+ }
485
+ };
486
+ return WrapperHelper;
487
+ }());
488
+
489
+ var BryntumChartComponent = /** @class */ (function () {
490
+ function BryntumChartComponent(element) {
491
+ this.bryntumConfig = {
492
+ adopt: undefined,
493
+ appendTo: undefined,
494
+ href: undefined,
495
+ angularComponent: this,
496
+ features: {},
497
+ listeners: {}
498
+ };
499
+ // Events emitters
500
+ /**
501
+ * Fires before an object is destroyed.
502
+ * @param {object} event Event object
503
+ * @param {Core.Base} event.source The Object that is being destroyed.
504
+ */
505
+ this.onBeforeDestroy = new i0.EventEmitter();
506
+ /**
507
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
508
+ * @param {object} event Event object
509
+ * @param {Core.widget.Widget} event.source The widget being hidden.
510
+ */
511
+ this.onBeforeHide = new i0.EventEmitter();
512
+ /**
513
+ * Fired before this container will load record values into its child fields. This is useful if you
514
+ * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
515
+ * @param {object} event Event object
516
+ * @param {Core.widget.Container} event.source The container
517
+ * @param {Core.data.Model} event.record The record
518
+ */
519
+ this.onBeforeSetRecord = new i0.EventEmitter();
520
+ /**
521
+ * Triggered before a widget is shown. Return `false` to prevent the action.
522
+ * @param {object} event Event object
523
+ * @param {Core.widget.Widget,any} event.source The widget being shown
524
+ */
525
+ this.onBeforeShow = new i0.EventEmitter();
526
+ /**
527
+ * Fires when any other event is fired from the object.
528
+ * ...
529
+ * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#event-catchAll)
530
+ * @param {object} event Event object
531
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
532
+ * @param {string} event.event.type The type of the event which is caught by the listener
533
+ */
534
+ this.onCatchAll = new i0.EventEmitter();
535
+ /**
536
+ * Fires when an object is destroyed.
537
+ * @param {object} event Event object
538
+ * @param {Core.Base} event.source The Object that is being destroyed.
539
+ */
540
+ this.onDestroy = new i0.EventEmitter();
541
+ /**
542
+ * 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
543
+ * @param {object} event Event object
544
+ * @param {Core.widget.Container} event.source The container.
545
+ * @param {boolean} event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
546
+ */
547
+ this.onDirtyStateChange = new i0.EventEmitter();
548
+ /**
549
+ * Triggered when a widget's [element](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#property-element) is available.
550
+ * @param {object} event Event object
551
+ * @param {HTMLElement} event.element The Widget's element.
552
+ */
553
+ this.onElementCreated = new i0.EventEmitter();
554
+ /**
555
+ * Fired when focus enters this Widget.
556
+ * @param {object} event Event object
557
+ * @param {Core.widget.Widget} event.source This Widget
558
+ * @param {HTMLElement} event.fromElement The element which lost focus.
559
+ * @param {HTMLElement} event.toElement The element which gained focus.
560
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
561
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
562
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
563
+ */
564
+ this.onFocusIn = new i0.EventEmitter();
565
+ /**
566
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
567
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
568
+ * will not trigger this event. This is when focus exits this widget completely.
569
+ * @param {object} event Event object
570
+ * @param {Core.widget.Widget} event.source This Widget
571
+ * @param {HTMLElement} event.fromElement The element which lost focus.
572
+ * @param {HTMLElement} event.toElement The element which gained focus.
573
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
574
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
575
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
576
+ */
577
+ this.onFocusOut = new i0.EventEmitter();
578
+ /**
579
+ * Triggered after a widget was hidden
580
+ * @param {object} event Event object
581
+ * @param {Core.widget.Widget} event.source The widget
582
+ */
583
+ this.onHide = new i0.EventEmitter();
584
+ /**
585
+ * Triggered when a widget which had been in a non-visible state for any reason
586
+ * achieves visibility.
587
+ * ...
588
+ * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#event-paint)
589
+ * @param {object} event Event object
590
+ * @param {Core.widget.Widget} event.source The widget being painted.
591
+ * @param {boolean} event.firstPaint `true` if this is the first paint.
592
+ */
593
+ this.onPaint = new i0.EventEmitter();
594
+ /**
595
+ * Fired when a Widget's read only state is toggled
596
+ * @param {object} event Event object
597
+ * @param {boolean} event.readOnly Read only or not
598
+ */
599
+ this.onReadOnly = new i0.EventEmitter();
600
+ /**
601
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
602
+ * 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.
603
+ */
604
+ this.onRecompose = new i0.EventEmitter();
605
+ /**
606
+ * 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`*.
607
+ * @param {object} event Event object
608
+ * @param {Core.widget.Widget} event.source This Widget
609
+ * @param {number} event.width The new width
610
+ * @param {number} event.height The new height
611
+ * @param {number} event.oldWidth The old width
612
+ * @param {number} event.oldHeight The old height
613
+ */
614
+ this.onResize = new i0.EventEmitter();
615
+ /**
616
+ * Triggered after a widget is shown.
617
+ * @param {object} event Event object
618
+ * @param {Core.widget.Widget} event.source The widget
619
+ */
620
+ this.onShow = new i0.EventEmitter();
621
+ this.elementRef = element;
622
+ }
623
+ /**
624
+ * Create and append the underlying widget
625
+ */
626
+ BryntumChartComponent.prototype.ngOnInit = function () {
627
+ var _this = this;
628
+ var me = this, elementRef = me.elementRef, bryntumConfig = me.bryntumConfig, instanceClass = BryntumChartComponent.instanceClass, instanceName = BryntumChartComponent.instanceName, bryntumConfigs = BryntumChartComponent.bryntumConfigs, bryntumEvents = BryntumChartComponent.bryntumEvents;
629
+ bryntumConfigs.filter(function (prop) { return prop in _this; }).forEach(function (prop) {
630
+ // @ts-ignore
631
+ WrapperHelper.applyPropValue(bryntumConfig, prop, _this[prop]);
632
+ if (['features', 'config'].includes(prop)) {
633
+ WrapperHelper.devWarningConfigProp(instanceName, prop);
634
+ }
635
+ });
636
+ // @ts-ignore
637
+ bryntumEvents.filter(function (event) { return _this[event] && _this[event].observers.length > 0; }).forEach(function (event) {
638
+ var uncapitalize = function (str) { return str.charAt(0).toLowerCase() + str.slice(1); }, eventName = function (str) { return uncapitalize(str.slice(2)); };
639
+ // @ts-ignore
640
+ bryntumConfig.listeners[eventName(event)] = function (e) {
641
+ // @ts-ignore
642
+ me[event].emit(e);
643
+ // EventEmitter does not return values in the normal way, work around it by setting `returnValue` flag
644
+ // in Angular listeners
645
+ return e.returnValue;
646
+ };
647
+ });
648
+ // If component has no container specified in config then use adopt to Wrapper's element
649
+ var containerParam = [
650
+ 'adopt',
651
+ 'appendTo',
652
+ 'insertAfter',
653
+ 'insertBefore'
654
+ // @ts-ignore
655
+ ].find(function (prop) { return bryntumConfig[prop]; });
656
+ if (!containerParam) {
657
+ if (instanceName === 'Button' || elementRef.nativeElement.getRootNode() instanceof ShadowRoot) {
658
+ // Button should always be <a> or <button> inside owner element
659
+ bryntumConfig.appendTo = elementRef.nativeElement;
660
+ }
661
+ else {
662
+ bryntumConfig.adopt = elementRef.nativeElement;
663
+ }
664
+ }
665
+ else {
666
+ WrapperHelper.devWarningContainer(instanceName, containerParam);
667
+ }
668
+ // @ts-ignore
669
+ me.instance = instanceName === 'Widget' ? coreThin.Widget.create(bryntumConfig) : new instanceClass(bryntumConfig);
670
+ };
671
+ /**
672
+ * Watch for changes
673
+ * @param changes
674
+ */
675
+ BryntumChartComponent.prototype.ngOnChanges = function (changes) {
676
+ var _this = this;
677
+ var instance = this.instance, instanceName = BryntumChartComponent.instanceName;
678
+ if (!instance) {
679
+ return;
680
+ }
681
+ // Iterate over all changes
682
+ Object.entries(changes).forEach(function (_a) {
683
+ var _b = __read(_a, 2), prop = _b[0], change = _b[1];
684
+ var newValue = change.currentValue, instance = _this.instance, bryntumConfigsOnly = BryntumChartComponent.bryntumConfigsOnly, bryntumProps = BryntumChartComponent.bryntumProps;
685
+ if (bryntumProps.includes(prop)) {
686
+ WrapperHelper.applyPropValue(instance, prop, newValue, false);
687
+ if (bryntumConfigsOnly.includes(prop)) {
688
+ WrapperHelper.devWarningUpdateProp(instanceName, prop);
689
+ }
690
+ }
691
+ });
692
+ };
693
+ /**
694
+ * Destroy the component
695
+ */
696
+ BryntumChartComponent.prototype.ngOnDestroy = function () {
697
+ // @ts-ignore
698
+ if (this.instance && this.instance.destroy) {
699
+ this.instance.destroy();
700
+ }
701
+ };
702
+ return BryntumChartComponent;
703
+ }());
704
+ BryntumChartComponent.instanceClass = chartThin.Chart;
705
+ BryntumChartComponent.instanceName = 'Chart';
706
+ BryntumChartComponent.bryntumEvents = [
707
+ 'onBeforeDestroy',
708
+ 'onBeforeHide',
709
+ 'onBeforeSetRecord',
710
+ 'onBeforeShow',
711
+ 'onCatchAll',
712
+ 'onDestroy',
713
+ 'onDirtyStateChange',
714
+ 'onElementCreated',
715
+ 'onFocusIn',
716
+ 'onFocusOut',
717
+ 'onHide',
718
+ 'onPaint',
719
+ 'onReadOnly',
720
+ 'onRecompose',
721
+ 'onResize',
722
+ 'onShow'
723
+ ];
724
+ BryntumChartComponent.bryntumFeatureNames = [];
725
+ BryntumChartComponent.bryntumConfigs = BryntumChartComponent.bryntumFeatureNames.concat([
726
+ 'adopt',
727
+ 'align',
728
+ 'alignSelf',
729
+ 'anchor',
730
+ 'animate',
731
+ 'animationDuration',
732
+ 'appendTo',
733
+ 'ariaDescription',
734
+ 'ariaLabel',
735
+ 'autoUpdateRecord',
736
+ 'axisColor',
737
+ 'axisLabelColor',
738
+ 'background',
739
+ 'backgroundColorField',
740
+ 'barDirection',
741
+ 'bubbleEvents',
742
+ 'bubbleScaleFactor',
743
+ 'callOnFunctions',
744
+ 'catchEventHandlerExceptions',
745
+ 'centered',
746
+ 'chartPadding',
747
+ 'chartTooltip',
748
+ 'chartType',
749
+ 'cls',
750
+ 'color',
751
+ 'column',
752
+ 'config',
753
+ 'constrainTo',
754
+ 'content',
755
+ 'contentElementCls',
756
+ 'data',
757
+ 'dataField',
758
+ 'dataPointShape',
759
+ 'dataset',
760
+ 'defaultBindProperty',
761
+ 'defaultFocus',
762
+ 'defaults',
763
+ 'detectCSSCompatibilityIssues',
764
+ 'disabled',
765
+ 'dock',
766
+ 'draggable',
767
+ 'elementAttributes',
768
+ 'extraData',
769
+ 'field',
770
+ 'flex',
771
+ 'floating',
772
+ 'gridColor',
773
+ 'height',
774
+ 'hidden',
775
+ 'hideAnimation',
776
+ 'hideWhenEmpty',
777
+ 'html',
778
+ 'htmlCls',
779
+ 'id',
780
+ 'ignoreParentReadOnly',
781
+ 'inputFieldAlign',
782
+ 'insertBefore',
783
+ 'insertFirst',
784
+ 'interactive',
785
+ 'itemCls',
786
+ 'items',
787
+ 'keyMap',
788
+ 'label',
789
+ 'labelPosition',
790
+ 'labels',
791
+ 'layout',
792
+ 'layoutStyle',
793
+ 'lazyItems',
794
+ 'legendPosition',
795
+ 'legendScale',
796
+ 'listeners',
797
+ 'localeClass',
798
+ 'localizable',
799
+ 'localizableProperties',
800
+ 'margin',
801
+ 'maskDefaults',
802
+ 'masked',
803
+ 'max',
804
+ 'maxHeight',
805
+ 'maximizeOnMobile',
806
+ 'maxTickLabelRotation',
807
+ 'maxWidth',
808
+ 'min',
809
+ 'minHeight',
810
+ 'minTickLabelRotation',
811
+ 'minWidth',
812
+ 'monitorResize',
813
+ 'namedItems',
814
+ 'owner',
815
+ 'pointSize',
816
+ 'positioned',
817
+ 'preventTooltipOnTouch',
818
+ 'readOnly',
819
+ 'record',
820
+ 'relayStoreEvents',
821
+ 'rendition',
822
+ 'ripple',
823
+ 'role',
824
+ 'rootElement',
825
+ 'rtl',
826
+ 'scrollable',
827
+ 'scrollAction',
828
+ 'series',
829
+ 'seriesLineDash',
830
+ 'seriesLineOpacity',
831
+ 'seriesLineThickness',
832
+ 'showAnimation',
833
+ 'showControls',
834
+ 'showLegend',
835
+ 'showPoints',
836
+ 'showSubtitle',
837
+ 'showTicks',
838
+ 'showTitle',
839
+ 'showTooltips',
840
+ 'showTooltipWhenDisabled',
841
+ 'span',
842
+ 'strictRecordMapping',
843
+ 'subtitle',
844
+ 'subtitleFont',
845
+ 'subtitlePadding',
846
+ 'tab',
847
+ 'tabBarItems',
848
+ 'tag',
849
+ 'textAlign',
850
+ 'textContent',
851
+ 'tickFont',
852
+ 'tickMarkColor',
853
+ 'title',
854
+ 'titleFont',
855
+ 'titlePadding',
856
+ 'tooltip',
857
+ 'type',
858
+ 'ui',
859
+ 'weight',
860
+ 'width',
861
+ 'x',
862
+ 'y'
863
+ ]);
864
+ BryntumChartComponent.bryntumConfigsOnly = [
865
+ 'adopt',
866
+ 'align',
867
+ 'anchor',
868
+ 'ariaDescription',
869
+ 'ariaLabel',
870
+ 'autoUpdateRecord',
871
+ 'bubbleEvents',
872
+ 'centered',
873
+ 'color',
874
+ 'config',
875
+ 'constrainTo',
876
+ 'contentElementCls',
877
+ 'dataField',
878
+ 'defaultBindProperty',
879
+ 'defaultFocus',
880
+ 'defaults',
881
+ 'detectCSSCompatibilityIssues',
882
+ 'dock',
883
+ 'draggable',
884
+ 'elementAttributes',
885
+ 'floating',
886
+ 'hideAnimation',
887
+ 'hideWhenEmpty',
888
+ 'htmlCls',
889
+ 'ignoreParentReadOnly',
890
+ 'itemCls',
891
+ 'lazyItems',
892
+ 'listeners',
893
+ 'localeClass',
894
+ 'localizable',
895
+ 'localizableProperties',
896
+ 'maskDefaults',
897
+ 'masked',
898
+ 'monitorResize',
899
+ 'namedItems',
900
+ 'owner',
901
+ 'positioned',
902
+ 'preventTooltipOnTouch',
903
+ 'relayStoreEvents',
904
+ 'ripple',
905
+ 'rootElement',
906
+ 'scrollAction',
907
+ 'showAnimation',
908
+ 'showTooltipWhenDisabled',
909
+ 'tab',
910
+ 'tabBarItems',
911
+ 'tag',
912
+ 'textAlign',
913
+ 'textContent',
914
+ 'type',
915
+ 'ui',
916
+ 'weight'
917
+ ];
918
+ BryntumChartComponent.bryntumProps = BryntumChartComponent.bryntumFeatureNames.concat([
919
+ 'alignSelf',
920
+ 'anchorSize',
921
+ 'animate',
922
+ 'animationDuration',
923
+ 'appendTo',
924
+ 'axisColor',
925
+ 'axisLabelColor',
926
+ 'background',
927
+ 'backgroundColorField',
928
+ 'barDirection',
929
+ 'bubbleScaleFactor',
930
+ 'callOnFunctions',
931
+ 'catchEventHandlerExceptions',
932
+ 'chartPadding',
933
+ 'chartTooltip',
934
+ 'chartType',
935
+ 'cls',
936
+ 'column',
937
+ 'content',
938
+ 'data',
939
+ 'dataPointShape',
940
+ 'dataset',
941
+ 'disabled',
942
+ 'extraData',
943
+ 'field',
944
+ 'flex',
945
+ 'focusVisible',
946
+ 'gridColor',
947
+ 'hasChanges',
948
+ 'height',
949
+ 'hidden',
950
+ 'html',
951
+ 'id',
952
+ 'inputFieldAlign',
953
+ 'insertBefore',
954
+ 'insertFirst',
955
+ 'interactive',
956
+ 'isSettingValues',
957
+ 'isValid',
958
+ 'items',
959
+ 'keyMap',
960
+ 'label',
961
+ 'labelPosition',
962
+ 'labels',
963
+ 'layout',
964
+ 'layoutStyle',
965
+ 'legendPosition',
966
+ 'legendScale',
967
+ 'margin',
968
+ 'max',
969
+ 'maxHeight',
970
+ 'maximizeOnMobile',
971
+ 'maxTickLabelRotation',
972
+ 'maxWidth',
973
+ 'min',
974
+ 'minHeight',
975
+ 'minTickLabelRotation',
976
+ 'minWidth',
977
+ 'parent',
978
+ 'pointSize',
979
+ 'readOnly',
980
+ 'record',
981
+ 'rendition',
982
+ 'role',
983
+ 'rtl',
984
+ 'scrollable',
985
+ 'series',
986
+ 'seriesLineDash',
987
+ 'seriesLineOpacity',
988
+ 'seriesLineThickness',
989
+ 'showControls',
990
+ 'showLegend',
991
+ 'showPoints',
992
+ 'showSubtitle',
993
+ 'showTicks',
994
+ 'showTitle',
995
+ 'showTooltips',
996
+ 'span',
997
+ 'strictRecordMapping',
998
+ 'subtitle',
999
+ 'subtitleFont',
1000
+ 'subtitlePadding',
1001
+ 'tickFont',
1002
+ 'tickMarkColor',
1003
+ 'title',
1004
+ 'titleFont',
1005
+ 'titlePadding',
1006
+ 'tooltip',
1007
+ 'values',
1008
+ 'width',
1009
+ 'x',
1010
+ 'y'
1011
+ ]);
1012
+ BryntumChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0__namespace, type: BryntumChartComponent, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
1013
+ BryntumChartComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
1014
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0__namespace, type: BryntumChartComponent, decorators: [{
1015
+ type: i0.Component,
1016
+ args: [{
1017
+ selector: 'bryntum-chart',
1018
+ template: ''
1019
+ }]
1020
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; }, propDecorators: { adopt: [{
1021
+ type: i0.Input
1022
+ }], align: [{
1023
+ type: i0.Input
1024
+ }], anchor: [{
1025
+ type: i0.Input
1026
+ }], ariaDescription: [{
1027
+ type: i0.Input
1028
+ }], ariaLabel: [{
1029
+ type: i0.Input
1030
+ }], autoUpdateRecord: [{
1031
+ type: i0.Input
1032
+ }], bubbleEvents: [{
1033
+ type: i0.Input
1034
+ }], centered: [{
1035
+ type: i0.Input
1036
+ }], color: [{
1037
+ type: i0.Input
1038
+ }], config: [{
1039
+ type: i0.Input
1040
+ }], constrainTo: [{
1041
+ type: i0.Input
1042
+ }], contentElementCls: [{
1043
+ type: i0.Input
1044
+ }], dataField: [{
1045
+ type: i0.Input
1046
+ }], defaultBindProperty: [{
1047
+ type: i0.Input
1048
+ }], defaultFocus: [{
1049
+ type: i0.Input
1050
+ }], defaults: [{
1051
+ type: i0.Input
1052
+ }], detectCSSCompatibilityIssues: [{
1053
+ type: i0.Input
1054
+ }], dock: [{
1055
+ type: i0.Input
1056
+ }], draggable: [{
1057
+ type: i0.Input
1058
+ }], elementAttributes: [{
1059
+ type: i0.Input
1060
+ }], floating: [{
1061
+ type: i0.Input
1062
+ }], hideAnimation: [{
1063
+ type: i0.Input
1064
+ }], hideWhenEmpty: [{
1065
+ type: i0.Input
1066
+ }], htmlCls: [{
1067
+ type: i0.Input
1068
+ }], ignoreParentReadOnly: [{
1069
+ type: i0.Input
1070
+ }], itemCls: [{
1071
+ type: i0.Input
1072
+ }], lazyItems: [{
1073
+ type: i0.Input
1074
+ }], listeners: [{
1075
+ type: i0.Input
1076
+ }], localeClass: [{
1077
+ type: i0.Input
1078
+ }], localizable: [{
1079
+ type: i0.Input
1080
+ }], localizableProperties: [{
1081
+ type: i0.Input
1082
+ }], maskDefaults: [{
1083
+ type: i0.Input
1084
+ }], masked: [{
1085
+ type: i0.Input
1086
+ }], monitorResize: [{
1087
+ type: i0.Input
1088
+ }], namedItems: [{
1089
+ type: i0.Input
1090
+ }], owner: [{
1091
+ type: i0.Input
1092
+ }], positioned: [{
1093
+ type: i0.Input
1094
+ }], preventTooltipOnTouch: [{
1095
+ type: i0.Input
1096
+ }], relayStoreEvents: [{
1097
+ type: i0.Input
1098
+ }], ripple: [{
1099
+ type: i0.Input
1100
+ }], rootElement: [{
1101
+ type: i0.Input
1102
+ }], scrollAction: [{
1103
+ type: i0.Input
1104
+ }], showAnimation: [{
1105
+ type: i0.Input
1106
+ }], showTooltipWhenDisabled: [{
1107
+ type: i0.Input
1108
+ }], tab: [{
1109
+ type: i0.Input
1110
+ }], tabBarItems: [{
1111
+ type: i0.Input
1112
+ }], tag: [{
1113
+ type: i0.Input
1114
+ }], textAlign: [{
1115
+ type: i0.Input
1116
+ }], textContent: [{
1117
+ type: i0.Input
1118
+ }], type: [{
1119
+ type: i0.Input
1120
+ }], ui: [{
1121
+ type: i0.Input
1122
+ }], weight: [{
1123
+ type: i0.Input
1124
+ }], alignSelf: [{
1125
+ type: i0.Input
1126
+ }], animate: [{
1127
+ type: i0.Input
1128
+ }], animationDuration: [{
1129
+ type: i0.Input
1130
+ }], appendTo: [{
1131
+ type: i0.Input
1132
+ }], axisColor: [{
1133
+ type: i0.Input
1134
+ }], axisLabelColor: [{
1135
+ type: i0.Input
1136
+ }], background: [{
1137
+ type: i0.Input
1138
+ }], backgroundColorField: [{
1139
+ type: i0.Input
1140
+ }], barDirection: [{
1141
+ type: i0.Input
1142
+ }], bubbleScaleFactor: [{
1143
+ type: i0.Input
1144
+ }], callOnFunctions: [{
1145
+ type: i0.Input
1146
+ }], catchEventHandlerExceptions: [{
1147
+ type: i0.Input
1148
+ }], chartPadding: [{
1149
+ type: i0.Input
1150
+ }], chartTooltip: [{
1151
+ type: i0.Input
1152
+ }], chartType: [{
1153
+ type: i0.Input
1154
+ }], cls: [{
1155
+ type: i0.Input
1156
+ }], column: [{
1157
+ type: i0.Input
1158
+ }], content: [{
1159
+ type: i0.Input
1160
+ }], data: [{
1161
+ type: i0.Input
1162
+ }], dataPointShape: [{
1163
+ type: i0.Input
1164
+ }], dataset: [{
1165
+ type: i0.Input
1166
+ }], disabled: [{
1167
+ type: i0.Input
1168
+ }], extraData: [{
1169
+ type: i0.Input
1170
+ }], field: [{
1171
+ type: i0.Input
1172
+ }], flex: [{
1173
+ type: i0.Input
1174
+ }], gridColor: [{
1175
+ type: i0.Input
1176
+ }], height: [{
1177
+ type: i0.Input
1178
+ }], hidden: [{
1179
+ type: i0.Input
1180
+ }], html: [{
1181
+ type: i0.Input
1182
+ }], id: [{
1183
+ type: i0.Input
1184
+ }], inputFieldAlign: [{
1185
+ type: i0.Input
1186
+ }], insertBefore: [{
1187
+ type: i0.Input
1188
+ }], insertFirst: [{
1189
+ type: i0.Input
1190
+ }], interactive: [{
1191
+ type: i0.Input
1192
+ }], items: [{
1193
+ type: i0.Input
1194
+ }], keyMap: [{
1195
+ type: i0.Input
1196
+ }], label: [{
1197
+ type: i0.Input
1198
+ }], labelPosition: [{
1199
+ type: i0.Input
1200
+ }], labels: [{
1201
+ type: i0.Input
1202
+ }], layout: [{
1203
+ type: i0.Input
1204
+ }], layoutStyle: [{
1205
+ type: i0.Input
1206
+ }], legendPosition: [{
1207
+ type: i0.Input
1208
+ }], legendScale: [{
1209
+ type: i0.Input
1210
+ }], margin: [{
1211
+ type: i0.Input
1212
+ }], max: [{
1213
+ type: i0.Input
1214
+ }], maxHeight: [{
1215
+ type: i0.Input
1216
+ }], maximizeOnMobile: [{
1217
+ type: i0.Input
1218
+ }], maxTickLabelRotation: [{
1219
+ type: i0.Input
1220
+ }], maxWidth: [{
1221
+ type: i0.Input
1222
+ }], min: [{
1223
+ type: i0.Input
1224
+ }], minHeight: [{
1225
+ type: i0.Input
1226
+ }], minTickLabelRotation: [{
1227
+ type: i0.Input
1228
+ }], minWidth: [{
1229
+ type: i0.Input
1230
+ }], pointSize: [{
1231
+ type: i0.Input
1232
+ }], readOnly: [{
1233
+ type: i0.Input
1234
+ }], record: [{
1235
+ type: i0.Input
1236
+ }], rendition: [{
1237
+ type: i0.Input
1238
+ }], role: [{
1239
+ type: i0.Input
1240
+ }], rtl: [{
1241
+ type: i0.Input
1242
+ }], scrollable: [{
1243
+ type: i0.Input
1244
+ }], series: [{
1245
+ type: i0.Input
1246
+ }], seriesLineDash: [{
1247
+ type: i0.Input
1248
+ }], seriesLineOpacity: [{
1249
+ type: i0.Input
1250
+ }], seriesLineThickness: [{
1251
+ type: i0.Input
1252
+ }], showControls: [{
1253
+ type: i0.Input
1254
+ }], showLegend: [{
1255
+ type: i0.Input
1256
+ }], showPoints: [{
1257
+ type: i0.Input
1258
+ }], showSubtitle: [{
1259
+ type: i0.Input
1260
+ }], showTicks: [{
1261
+ type: i0.Input
1262
+ }], showTitle: [{
1263
+ type: i0.Input
1264
+ }], showTooltips: [{
1265
+ type: i0.Input
1266
+ }], span: [{
1267
+ type: i0.Input
1268
+ }], strictRecordMapping: [{
1269
+ type: i0.Input
1270
+ }], subtitle: [{
1271
+ type: i0.Input
1272
+ }], subtitleFont: [{
1273
+ type: i0.Input
1274
+ }], subtitlePadding: [{
1275
+ type: i0.Input
1276
+ }], tickFont: [{
1277
+ type: i0.Input
1278
+ }], tickMarkColor: [{
1279
+ type: i0.Input
1280
+ }], title: [{
1281
+ type: i0.Input
1282
+ }], titleFont: [{
1283
+ type: i0.Input
1284
+ }], titlePadding: [{
1285
+ type: i0.Input
1286
+ }], tooltip: [{
1287
+ type: i0.Input
1288
+ }], width: [{
1289
+ type: i0.Input
1290
+ }], x: [{
1291
+ type: i0.Input
1292
+ }], y: [{
1293
+ type: i0.Input
1294
+ }], anchorSize: [{
1295
+ type: i0.Input
1296
+ }], focusVisible: [{
1297
+ type: i0.Input
1298
+ }], hasChanges: [{
1299
+ type: i0.Input
1300
+ }], isSettingValues: [{
1301
+ type: i0.Input
1302
+ }], isValid: [{
1303
+ type: i0.Input
1304
+ }], parent: [{
1305
+ type: i0.Input
1306
+ }], values: [{
1307
+ type: i0.Input
1308
+ }], onBeforeDestroy: [{
1309
+ type: i0.Output
1310
+ }], onBeforeHide: [{
1311
+ type: i0.Output
1312
+ }], onBeforeSetRecord: [{
1313
+ type: i0.Output
1314
+ }], onBeforeShow: [{
1315
+ type: i0.Output
1316
+ }], onCatchAll: [{
1317
+ type: i0.Output
1318
+ }], onDestroy: [{
1319
+ type: i0.Output
1320
+ }], onDirtyStateChange: [{
1321
+ type: i0.Output
1322
+ }], onElementCreated: [{
1323
+ type: i0.Output
1324
+ }], onFocusIn: [{
1325
+ type: i0.Output
1326
+ }], onFocusOut: [{
1327
+ type: i0.Output
1328
+ }], onHide: [{
1329
+ type: i0.Output
1330
+ }], onPaint: [{
1331
+ type: i0.Output
1332
+ }], onReadOnly: [{
1333
+ type: i0.Output
1334
+ }], onRecompose: [{
1335
+ type: i0.Output
1336
+ }], onResize: [{
1337
+ type: i0.Output
1338
+ }], onShow: [{
1339
+ type: i0.Output
1340
+ }] } });
1341
+
1342
+ /**
1343
+ * Angular Bryntum Chart Shared module
1344
+ */
1345
+ var BryntumChartModule = /** @class */ (function () {
1346
+ function BryntumChartModule() {
1347
+ }
1348
+ return BryntumChartModule;
1349
+ }());
1350
+ BryntumChartModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0__namespace, type: BryntumChartModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1351
+ BryntumChartModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0__namespace, type: BryntumChartModule, declarations: [BryntumChartComponent], exports: [BryntumChartComponent] });
1352
+ BryntumChartModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0__namespace, type: BryntumChartModule, imports: [[]] });
1353
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0__namespace, type: BryntumChartModule, decorators: [{
1354
+ type: i0.NgModule,
1355
+ args: [{
1356
+ declarations: [
1357
+ BryntumChartComponent
1358
+ ],
1359
+ imports: [],
1360
+ exports: [
1361
+ BryntumChartComponent
1362
+ ]
1363
+ }]
1364
+ }] });
1365
+
1366
+ /*
1367
+ * Public API Surface of Bryntum Chart
1368
+ */
1369
+
1370
+ /**
1371
+ * Generated bundle index. Do not edit.
1372
+ */
1373
+
1374
+ exports.BryntumChartComponent = BryntumChartComponent;
1375
+ exports.BryntumChartModule = BryntumChartModule;
1376
+
1377
+ Object.defineProperty(exports, '__esModule', { value: true });
1378
+
1379
+ }));
1380
+ //# sourceMappingURL=bryntum-chart-angular-thin.umd.js.map