@chartts/angular 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js ADDED
@@ -0,0 +1,587 @@
1
+ import { ViewChild, Input, Component } from '@angular/core';
2
+ import { lineChartType, barChartType, stackedBarChartType, horizontalBarChartType, pieChartType, donutChartType, scatterChartType, sparklineChartType, areaChartType, radarChartType, bubbleChartType, candlestickChartType, gaugeChartType, waterfallChartType, funnelChartType, heatmapChartType, boxplotChartType, histogramChartType, treemapChartType, polarChartType, radialBarChartType, lollipopChartType, bulletChartType, dumbbellChartType, calendarChartType, comboChartType, sankeyChartType, sunburstChartType, treeChartType, graphChartType, parallelChartType, themeRiverChartType, pictorialBarChartType, chordChartType, geoChartType, linesChartType, matrixChartType, customChartType, ohlcChartType, stepChartType, volumeChartType, rangeChartType, baselineChartType, kagiChartType, renkoChartType, createChart } from '@chartts/core';
3
+ export { areaChartType, barChartType, baselineChartType, boxplotChartType, bubbleChartType, bulletChartType, calendarChartType, candlestickChartType, chordChartType, comboChartType, customChartType, donutChartType, dumbbellChartType, funnelChartType, gaugeChartType, geoChartType, graphChartType, heatmapChartType, histogramChartType, horizontalBarChartType, kagiChartType, lineChartType, linesChartType, lollipopChartType, matrixChartType, ohlcChartType, parallelChartType, pictorialBarChartType, pieChartType, polarChartType, radarChartType, radialBarChartType, rangeChartType, renkoChartType, sankeyChartType, scatterChartType, sparklineChartType, stackedBarChartType, stepChartType, sunburstChartType, themeRiverChartType, treeChartType, treemapChartType, volumeChartType, waterfallChartType } from '@chartts/core';
4
+
5
+ var __create = Object.create;
6
+ var __defProp = Object.defineProperty;
7
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
8
+ var __knownSymbol = (name, symbol) => (symbol = Symbol[name]) ? symbol : /* @__PURE__ */ Symbol.for("Symbol." + name);
9
+ var __typeError = (msg) => {
10
+ throw TypeError(msg);
11
+ };
12
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
14
+ var __decoratorStart = (base) => [, , , __create(base?.[__knownSymbol("metadata")] ?? null)];
15
+ var __decoratorStrings = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"];
16
+ var __expectFn = (fn) => fn !== void 0 && typeof fn !== "function" ? __typeError("Function expected") : fn;
17
+ var __decoratorContext = (kind, name, done, metadata, fns) => ({ kind: __decoratorStrings[kind], name, metadata, addInitializer: (fn) => done._ ? __typeError("Already initialized") : fns.push(__expectFn(fn || null)) });
18
+ var __decoratorMetadata = (array, target) => __defNormalProp(target, __knownSymbol("metadata"), array[3]);
19
+ var __runInitializers = (array, flags, self, value) => {
20
+ for (var i = 0, fns = array[flags >> 1], n = fns && fns.length; i < n; i++) flags & 1 ? fns[i].call(self) : value = fns[i].call(self, value);
21
+ return value;
22
+ };
23
+ var __decorateElement = (array, flags, name, decorators, target, extra) => {
24
+ var fn, it, done, ctx, access, k = flags & 7, s = !!(flags & 8), p = !!(flags & 16);
25
+ var j = k > 3 ? array.length + 1 : k ? s ? 1 : 2 : 0, key = __decoratorStrings[k + 5];
26
+ var initializers = k > 3 && (array[j - 1] = []), extraInitializers = array[j] || (array[j] = []);
27
+ var desc = k && (!p && !s && (target = target.prototype), k < 5 && (k > 3 || !p) && __getOwnPropDesc(k < 4 ? target : { get [name]() {
28
+ return __privateGet(this, extra);
29
+ }, set [name](x) {
30
+ return __privateSet(this, extra, x);
31
+ } }, name));
32
+ k ? p && k < 4 && __name(extra, (k > 2 ? "set " : k > 1 ? "get " : "") + name) : __name(target, name);
33
+ for (var i = decorators.length - 1; i >= 0; i--) {
34
+ ctx = __decoratorContext(k, name, done = {}, array[3], extraInitializers);
35
+ if (k) {
36
+ ctx.static = s, ctx.private = p, access = ctx.access = { has: p ? (x) => __privateIn(target, x) : (x) => name in x };
37
+ if (k ^ 3) access.get = p ? (x) => (k ^ 1 ? __privateGet : __privateMethod)(x, target, k ^ 4 ? extra : desc.get) : (x) => x[name];
38
+ if (k > 2) access.set = p ? (x, y) => __privateSet(x, target, y, k ^ 4 ? extra : desc.set) : (x, y) => x[name] = y;
39
+ }
40
+ it = (0, decorators[i])(k ? k < 4 ? p ? extra : desc[key] : k > 4 ? void 0 : { get: desc.get, set: desc.set } : target, ctx), done._ = 1;
41
+ if (k ^ 4 || it === void 0) __expectFn(it) && (k > 4 ? initializers.unshift(it) : k ? p ? extra = it : desc[key] = it : target = it);
42
+ else if (typeof it !== "object" || it === null) __typeError("Object expected");
43
+ else __expectFn(fn = it.get) && (desc.get = fn), __expectFn(fn = it.set) && (desc.set = fn), __expectFn(fn = it.init) && initializers.unshift(fn);
44
+ }
45
+ return k || __decoratorMetadata(array, target), desc && __defProp(target, name, desc), p ? k ^ 4 ? extra : desc : target;
46
+ };
47
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
48
+ var __privateIn = (member, obj) => Object(obj) !== obj ? __typeError('Cannot use the "in" operator on this value') : member.has(obj);
49
+ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
50
+ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
51
+ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
52
+ var BASE_TEMPLATE = `<div #container></div>`;
53
+ var BASE_STYLES = [":host { display: block; }"];
54
+ var _options_dec, _data_dec, _containerRef_dec, _init;
55
+ _containerRef_dec = [ViewChild("container", { static: true })], _data_dec = [Input({ required: true })], _options_dec = [Input()];
56
+ var BaseChart = class {
57
+ constructor() {
58
+ this.containerRef = __runInitializers(_init, 8, this), __runInitializers(_init, 11, this);
59
+ this.data = __runInitializers(_init, 12, this), __runInitializers(_init, 15, this);
60
+ this.options = __runInitializers(_init, 16, this, {}), __runInitializers(_init, 19, this);
61
+ this.instance = null;
62
+ }
63
+ ngAfterViewInit() {
64
+ this.instance = createChart(
65
+ this.containerRef.nativeElement,
66
+ this.chartType,
67
+ this.data,
68
+ this.options
69
+ );
70
+ }
71
+ ngOnChanges(changes) {
72
+ if (!this.instance) return;
73
+ if (changes["data"]) this.instance.setData(this.data);
74
+ if (changes["options"]) this.instance.setOptions(this.options);
75
+ }
76
+ ngOnDestroy() {
77
+ this.instance?.destroy();
78
+ this.instance = null;
79
+ }
80
+ getInstance() {
81
+ return this.instance;
82
+ }
83
+ };
84
+ _init = __decoratorStart(null);
85
+ __decorateElement(_init, 5, "containerRef", _containerRef_dec, BaseChart);
86
+ __decorateElement(_init, 5, "data", _data_dec, BaseChart);
87
+ __decorateElement(_init, 5, "options", _options_dec, BaseChart);
88
+ __decoratorMetadata(_init, BaseChart);
89
+ var _LineChartComponent_decorators, _init2, _a;
90
+ _LineChartComponent_decorators = [Component({ selector: "chartts-line", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
91
+ var LineChartComponent = class extends (_a = BaseChart) {
92
+ constructor() {
93
+ super(...arguments);
94
+ this.chartType = lineChartType;
95
+ }
96
+ };
97
+ _init2 = __decoratorStart(_a);
98
+ LineChartComponent = __decorateElement(_init2, 0, "LineChartComponent", _LineChartComponent_decorators, LineChartComponent);
99
+ __runInitializers(_init2, 1, LineChartComponent);
100
+ var _BarChartComponent_decorators, _init3, _a2;
101
+ _BarChartComponent_decorators = [Component({ selector: "chartts-bar", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
102
+ var BarChartComponent = class extends (_a2 = BaseChart) {
103
+ constructor() {
104
+ super(...arguments);
105
+ this.chartType = barChartType;
106
+ }
107
+ };
108
+ _init3 = __decoratorStart(_a2);
109
+ BarChartComponent = __decorateElement(_init3, 0, "BarChartComponent", _BarChartComponent_decorators, BarChartComponent);
110
+ __runInitializers(_init3, 1, BarChartComponent);
111
+ var _StackedBarChartComponent_decorators, _init4, _a3;
112
+ _StackedBarChartComponent_decorators = [Component({ selector: "chartts-stacked-bar", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
113
+ var StackedBarChartComponent = class extends (_a3 = BaseChart) {
114
+ constructor() {
115
+ super(...arguments);
116
+ this.chartType = stackedBarChartType;
117
+ }
118
+ };
119
+ _init4 = __decoratorStart(_a3);
120
+ StackedBarChartComponent = __decorateElement(_init4, 0, "StackedBarChartComponent", _StackedBarChartComponent_decorators, StackedBarChartComponent);
121
+ __runInitializers(_init4, 1, StackedBarChartComponent);
122
+ var _HorizontalBarChartComponent_decorators, _init5, _a4;
123
+ _HorizontalBarChartComponent_decorators = [Component({ selector: "chartts-horizontal-bar", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
124
+ var HorizontalBarChartComponent = class extends (_a4 = BaseChart) {
125
+ constructor() {
126
+ super(...arguments);
127
+ this.chartType = horizontalBarChartType;
128
+ }
129
+ };
130
+ _init5 = __decoratorStart(_a4);
131
+ HorizontalBarChartComponent = __decorateElement(_init5, 0, "HorizontalBarChartComponent", _HorizontalBarChartComponent_decorators, HorizontalBarChartComponent);
132
+ __runInitializers(_init5, 1, HorizontalBarChartComponent);
133
+ var _PieChartComponent_decorators, _init6, _a5;
134
+ _PieChartComponent_decorators = [Component({ selector: "chartts-pie", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
135
+ var PieChartComponent = class extends (_a5 = BaseChart) {
136
+ constructor() {
137
+ super(...arguments);
138
+ this.chartType = pieChartType;
139
+ }
140
+ };
141
+ _init6 = __decoratorStart(_a5);
142
+ PieChartComponent = __decorateElement(_init6, 0, "PieChartComponent", _PieChartComponent_decorators, PieChartComponent);
143
+ __runInitializers(_init6, 1, PieChartComponent);
144
+ var _DonutChartComponent_decorators, _init7, _a6;
145
+ _DonutChartComponent_decorators = [Component({ selector: "chartts-donut", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
146
+ var DonutChartComponent = class extends (_a6 = BaseChart) {
147
+ constructor() {
148
+ super(...arguments);
149
+ this.chartType = donutChartType;
150
+ }
151
+ };
152
+ _init7 = __decoratorStart(_a6);
153
+ DonutChartComponent = __decorateElement(_init7, 0, "DonutChartComponent", _DonutChartComponent_decorators, DonutChartComponent);
154
+ __runInitializers(_init7, 1, DonutChartComponent);
155
+ var _ScatterChartComponent_decorators, _init8, _a7;
156
+ _ScatterChartComponent_decorators = [Component({ selector: "chartts-scatter", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
157
+ var ScatterChartComponent = class extends (_a7 = BaseChart) {
158
+ constructor() {
159
+ super(...arguments);
160
+ this.chartType = scatterChartType;
161
+ }
162
+ };
163
+ _init8 = __decoratorStart(_a7);
164
+ ScatterChartComponent = __decorateElement(_init8, 0, "ScatterChartComponent", _ScatterChartComponent_decorators, ScatterChartComponent);
165
+ __runInitializers(_init8, 1, ScatterChartComponent);
166
+ var _SparklineChartComponent_decorators, _init9, _a8;
167
+ _SparklineChartComponent_decorators = [Component({ selector: "chartts-sparkline", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
168
+ var SparklineChartComponent = class extends (_a8 = BaseChart) {
169
+ constructor() {
170
+ super(...arguments);
171
+ this.chartType = sparklineChartType;
172
+ }
173
+ };
174
+ _init9 = __decoratorStart(_a8);
175
+ SparklineChartComponent = __decorateElement(_init9, 0, "SparklineChartComponent", _SparklineChartComponent_decorators, SparklineChartComponent);
176
+ __runInitializers(_init9, 1, SparklineChartComponent);
177
+ var _AreaChartComponent_decorators, _init10, _a9;
178
+ _AreaChartComponent_decorators = [Component({ selector: "chartts-area", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
179
+ var AreaChartComponent = class extends (_a9 = BaseChart) {
180
+ constructor() {
181
+ super(...arguments);
182
+ this.chartType = areaChartType;
183
+ }
184
+ };
185
+ _init10 = __decoratorStart(_a9);
186
+ AreaChartComponent = __decorateElement(_init10, 0, "AreaChartComponent", _AreaChartComponent_decorators, AreaChartComponent);
187
+ __runInitializers(_init10, 1, AreaChartComponent);
188
+ var _RadarChartComponent_decorators, _init11, _a10;
189
+ _RadarChartComponent_decorators = [Component({ selector: "chartts-radar", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
190
+ var RadarChartComponent = class extends (_a10 = BaseChart) {
191
+ constructor() {
192
+ super(...arguments);
193
+ this.chartType = radarChartType;
194
+ }
195
+ };
196
+ _init11 = __decoratorStart(_a10);
197
+ RadarChartComponent = __decorateElement(_init11, 0, "RadarChartComponent", _RadarChartComponent_decorators, RadarChartComponent);
198
+ __runInitializers(_init11, 1, RadarChartComponent);
199
+ var _BubbleChartComponent_decorators, _init12, _a11;
200
+ _BubbleChartComponent_decorators = [Component({ selector: "chartts-bubble", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
201
+ var BubbleChartComponent = class extends (_a11 = BaseChart) {
202
+ constructor() {
203
+ super(...arguments);
204
+ this.chartType = bubbleChartType;
205
+ }
206
+ };
207
+ _init12 = __decoratorStart(_a11);
208
+ BubbleChartComponent = __decorateElement(_init12, 0, "BubbleChartComponent", _BubbleChartComponent_decorators, BubbleChartComponent);
209
+ __runInitializers(_init12, 1, BubbleChartComponent);
210
+ var _CandlestickChartComponent_decorators, _init13, _a12;
211
+ _CandlestickChartComponent_decorators = [Component({ selector: "chartts-candlestick", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
212
+ var CandlestickChartComponent = class extends (_a12 = BaseChart) {
213
+ constructor() {
214
+ super(...arguments);
215
+ this.chartType = candlestickChartType;
216
+ }
217
+ };
218
+ _init13 = __decoratorStart(_a12);
219
+ CandlestickChartComponent = __decorateElement(_init13, 0, "CandlestickChartComponent", _CandlestickChartComponent_decorators, CandlestickChartComponent);
220
+ __runInitializers(_init13, 1, CandlestickChartComponent);
221
+ var _GaugeChartComponent_decorators, _init14, _a13;
222
+ _GaugeChartComponent_decorators = [Component({ selector: "chartts-gauge", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
223
+ var GaugeChartComponent = class extends (_a13 = BaseChart) {
224
+ constructor() {
225
+ super(...arguments);
226
+ this.chartType = gaugeChartType;
227
+ }
228
+ };
229
+ _init14 = __decoratorStart(_a13);
230
+ GaugeChartComponent = __decorateElement(_init14, 0, "GaugeChartComponent", _GaugeChartComponent_decorators, GaugeChartComponent);
231
+ __runInitializers(_init14, 1, GaugeChartComponent);
232
+ var _WaterfallChartComponent_decorators, _init15, _a14;
233
+ _WaterfallChartComponent_decorators = [Component({ selector: "chartts-waterfall", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
234
+ var WaterfallChartComponent = class extends (_a14 = BaseChart) {
235
+ constructor() {
236
+ super(...arguments);
237
+ this.chartType = waterfallChartType;
238
+ }
239
+ };
240
+ _init15 = __decoratorStart(_a14);
241
+ WaterfallChartComponent = __decorateElement(_init15, 0, "WaterfallChartComponent", _WaterfallChartComponent_decorators, WaterfallChartComponent);
242
+ __runInitializers(_init15, 1, WaterfallChartComponent);
243
+ var _FunnelChartComponent_decorators, _init16, _a15;
244
+ _FunnelChartComponent_decorators = [Component({ selector: "chartts-funnel", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
245
+ var FunnelChartComponent = class extends (_a15 = BaseChart) {
246
+ constructor() {
247
+ super(...arguments);
248
+ this.chartType = funnelChartType;
249
+ }
250
+ };
251
+ _init16 = __decoratorStart(_a15);
252
+ FunnelChartComponent = __decorateElement(_init16, 0, "FunnelChartComponent", _FunnelChartComponent_decorators, FunnelChartComponent);
253
+ __runInitializers(_init16, 1, FunnelChartComponent);
254
+ var _HeatmapChartComponent_decorators, _init17, _a16;
255
+ _HeatmapChartComponent_decorators = [Component({ selector: "chartts-heatmap", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
256
+ var HeatmapChartComponent = class extends (_a16 = BaseChart) {
257
+ constructor() {
258
+ super(...arguments);
259
+ this.chartType = heatmapChartType;
260
+ }
261
+ };
262
+ _init17 = __decoratorStart(_a16);
263
+ HeatmapChartComponent = __decorateElement(_init17, 0, "HeatmapChartComponent", _HeatmapChartComponent_decorators, HeatmapChartComponent);
264
+ __runInitializers(_init17, 1, HeatmapChartComponent);
265
+ var _BoxplotChartComponent_decorators, _init18, _a17;
266
+ _BoxplotChartComponent_decorators = [Component({ selector: "chartts-boxplot", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
267
+ var BoxplotChartComponent = class extends (_a17 = BaseChart) {
268
+ constructor() {
269
+ super(...arguments);
270
+ this.chartType = boxplotChartType;
271
+ }
272
+ };
273
+ _init18 = __decoratorStart(_a17);
274
+ BoxplotChartComponent = __decorateElement(_init18, 0, "BoxplotChartComponent", _BoxplotChartComponent_decorators, BoxplotChartComponent);
275
+ __runInitializers(_init18, 1, BoxplotChartComponent);
276
+ var _HistogramChartComponent_decorators, _init19, _a18;
277
+ _HistogramChartComponent_decorators = [Component({ selector: "chartts-histogram", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
278
+ var HistogramChartComponent = class extends (_a18 = BaseChart) {
279
+ constructor() {
280
+ super(...arguments);
281
+ this.chartType = histogramChartType;
282
+ }
283
+ };
284
+ _init19 = __decoratorStart(_a18);
285
+ HistogramChartComponent = __decorateElement(_init19, 0, "HistogramChartComponent", _HistogramChartComponent_decorators, HistogramChartComponent);
286
+ __runInitializers(_init19, 1, HistogramChartComponent);
287
+ var _TreemapChartComponent_decorators, _init20, _a19;
288
+ _TreemapChartComponent_decorators = [Component({ selector: "chartts-treemap", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
289
+ var TreemapChartComponent = class extends (_a19 = BaseChart) {
290
+ constructor() {
291
+ super(...arguments);
292
+ this.chartType = treemapChartType;
293
+ }
294
+ };
295
+ _init20 = __decoratorStart(_a19);
296
+ TreemapChartComponent = __decorateElement(_init20, 0, "TreemapChartComponent", _TreemapChartComponent_decorators, TreemapChartComponent);
297
+ __runInitializers(_init20, 1, TreemapChartComponent);
298
+ var _PolarChartComponent_decorators, _init21, _a20;
299
+ _PolarChartComponent_decorators = [Component({ selector: "chartts-polar", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
300
+ var PolarChartComponent = class extends (_a20 = BaseChart) {
301
+ constructor() {
302
+ super(...arguments);
303
+ this.chartType = polarChartType;
304
+ }
305
+ };
306
+ _init21 = __decoratorStart(_a20);
307
+ PolarChartComponent = __decorateElement(_init21, 0, "PolarChartComponent", _PolarChartComponent_decorators, PolarChartComponent);
308
+ __runInitializers(_init21, 1, PolarChartComponent);
309
+ var _RadialBarChartComponent_decorators, _init22, _a21;
310
+ _RadialBarChartComponent_decorators = [Component({ selector: "chartts-radialbar", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
311
+ var RadialBarChartComponent = class extends (_a21 = BaseChart) {
312
+ constructor() {
313
+ super(...arguments);
314
+ this.chartType = radialBarChartType;
315
+ }
316
+ };
317
+ _init22 = __decoratorStart(_a21);
318
+ RadialBarChartComponent = __decorateElement(_init22, 0, "RadialBarChartComponent", _RadialBarChartComponent_decorators, RadialBarChartComponent);
319
+ __runInitializers(_init22, 1, RadialBarChartComponent);
320
+ var _LollipopChartComponent_decorators, _init23, _a22;
321
+ _LollipopChartComponent_decorators = [Component({ selector: "chartts-lollipop", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
322
+ var LollipopChartComponent = class extends (_a22 = BaseChart) {
323
+ constructor() {
324
+ super(...arguments);
325
+ this.chartType = lollipopChartType;
326
+ }
327
+ };
328
+ _init23 = __decoratorStart(_a22);
329
+ LollipopChartComponent = __decorateElement(_init23, 0, "LollipopChartComponent", _LollipopChartComponent_decorators, LollipopChartComponent);
330
+ __runInitializers(_init23, 1, LollipopChartComponent);
331
+ var _BulletChartComponent_decorators, _init24, _a23;
332
+ _BulletChartComponent_decorators = [Component({ selector: "chartts-bullet", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
333
+ var BulletChartComponent = class extends (_a23 = BaseChart) {
334
+ constructor() {
335
+ super(...arguments);
336
+ this.chartType = bulletChartType;
337
+ }
338
+ };
339
+ _init24 = __decoratorStart(_a23);
340
+ BulletChartComponent = __decorateElement(_init24, 0, "BulletChartComponent", _BulletChartComponent_decorators, BulletChartComponent);
341
+ __runInitializers(_init24, 1, BulletChartComponent);
342
+ var _DumbbellChartComponent_decorators, _init25, _a24;
343
+ _DumbbellChartComponent_decorators = [Component({ selector: "chartts-dumbbell", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
344
+ var DumbbellChartComponent = class extends (_a24 = BaseChart) {
345
+ constructor() {
346
+ super(...arguments);
347
+ this.chartType = dumbbellChartType;
348
+ }
349
+ };
350
+ _init25 = __decoratorStart(_a24);
351
+ DumbbellChartComponent = __decorateElement(_init25, 0, "DumbbellChartComponent", _DumbbellChartComponent_decorators, DumbbellChartComponent);
352
+ __runInitializers(_init25, 1, DumbbellChartComponent);
353
+ var _CalendarChartComponent_decorators, _init26, _a25;
354
+ _CalendarChartComponent_decorators = [Component({ selector: "chartts-calendar", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
355
+ var CalendarChartComponent = class extends (_a25 = BaseChart) {
356
+ constructor() {
357
+ super(...arguments);
358
+ this.chartType = calendarChartType;
359
+ }
360
+ };
361
+ _init26 = __decoratorStart(_a25);
362
+ CalendarChartComponent = __decorateElement(_init26, 0, "CalendarChartComponent", _CalendarChartComponent_decorators, CalendarChartComponent);
363
+ __runInitializers(_init26, 1, CalendarChartComponent);
364
+ var _ComboChartComponent_decorators, _init27, _a26;
365
+ _ComboChartComponent_decorators = [Component({ selector: "chartts-combo", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
366
+ var ComboChartComponent = class extends (_a26 = BaseChart) {
367
+ constructor() {
368
+ super(...arguments);
369
+ this.chartType = comboChartType;
370
+ }
371
+ };
372
+ _init27 = __decoratorStart(_a26);
373
+ ComboChartComponent = __decorateElement(_init27, 0, "ComboChartComponent", _ComboChartComponent_decorators, ComboChartComponent);
374
+ __runInitializers(_init27, 1, ComboChartComponent);
375
+ var _SankeyChartComponent_decorators, _init28, _a27;
376
+ _SankeyChartComponent_decorators = [Component({ selector: "chartts-sankey", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
377
+ var SankeyChartComponent = class extends (_a27 = BaseChart) {
378
+ constructor() {
379
+ super(...arguments);
380
+ this.chartType = sankeyChartType;
381
+ }
382
+ };
383
+ _init28 = __decoratorStart(_a27);
384
+ SankeyChartComponent = __decorateElement(_init28, 0, "SankeyChartComponent", _SankeyChartComponent_decorators, SankeyChartComponent);
385
+ __runInitializers(_init28, 1, SankeyChartComponent);
386
+ var _SunburstChartComponent_decorators, _init29, _a28;
387
+ _SunburstChartComponent_decorators = [Component({ selector: "chartts-sunburst", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
388
+ var SunburstChartComponent = class extends (_a28 = BaseChart) {
389
+ constructor() {
390
+ super(...arguments);
391
+ this.chartType = sunburstChartType;
392
+ }
393
+ };
394
+ _init29 = __decoratorStart(_a28);
395
+ SunburstChartComponent = __decorateElement(_init29, 0, "SunburstChartComponent", _SunburstChartComponent_decorators, SunburstChartComponent);
396
+ __runInitializers(_init29, 1, SunburstChartComponent);
397
+ var _TreeChartComponent_decorators, _init30, _a29;
398
+ _TreeChartComponent_decorators = [Component({ selector: "chartts-tree", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
399
+ var TreeChartComponent = class extends (_a29 = BaseChart) {
400
+ constructor() {
401
+ super(...arguments);
402
+ this.chartType = treeChartType;
403
+ }
404
+ };
405
+ _init30 = __decoratorStart(_a29);
406
+ TreeChartComponent = __decorateElement(_init30, 0, "TreeChartComponent", _TreeChartComponent_decorators, TreeChartComponent);
407
+ __runInitializers(_init30, 1, TreeChartComponent);
408
+ var _GraphChartComponent_decorators, _init31, _a30;
409
+ _GraphChartComponent_decorators = [Component({ selector: "chartts-graph", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
410
+ var GraphChartComponent = class extends (_a30 = BaseChart) {
411
+ constructor() {
412
+ super(...arguments);
413
+ this.chartType = graphChartType;
414
+ }
415
+ };
416
+ _init31 = __decoratorStart(_a30);
417
+ GraphChartComponent = __decorateElement(_init31, 0, "GraphChartComponent", _GraphChartComponent_decorators, GraphChartComponent);
418
+ __runInitializers(_init31, 1, GraphChartComponent);
419
+ var _ParallelChartComponent_decorators, _init32, _a31;
420
+ _ParallelChartComponent_decorators = [Component({ selector: "chartts-parallel", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
421
+ var ParallelChartComponent = class extends (_a31 = BaseChart) {
422
+ constructor() {
423
+ super(...arguments);
424
+ this.chartType = parallelChartType;
425
+ }
426
+ };
427
+ _init32 = __decoratorStart(_a31);
428
+ ParallelChartComponent = __decorateElement(_init32, 0, "ParallelChartComponent", _ParallelChartComponent_decorators, ParallelChartComponent);
429
+ __runInitializers(_init32, 1, ParallelChartComponent);
430
+ var _ThemeRiverChartComponent_decorators, _init33, _a32;
431
+ _ThemeRiverChartComponent_decorators = [Component({ selector: "chartts-themeriver", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
432
+ var ThemeRiverChartComponent = class extends (_a32 = BaseChart) {
433
+ constructor() {
434
+ super(...arguments);
435
+ this.chartType = themeRiverChartType;
436
+ }
437
+ };
438
+ _init33 = __decoratorStart(_a32);
439
+ ThemeRiverChartComponent = __decorateElement(_init33, 0, "ThemeRiverChartComponent", _ThemeRiverChartComponent_decorators, ThemeRiverChartComponent);
440
+ __runInitializers(_init33, 1, ThemeRiverChartComponent);
441
+ var _PictorialBarChartComponent_decorators, _init34, _a33;
442
+ _PictorialBarChartComponent_decorators = [Component({ selector: "chartts-pictorialbar", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
443
+ var PictorialBarChartComponent = class extends (_a33 = BaseChart) {
444
+ constructor() {
445
+ super(...arguments);
446
+ this.chartType = pictorialBarChartType;
447
+ }
448
+ };
449
+ _init34 = __decoratorStart(_a33);
450
+ PictorialBarChartComponent = __decorateElement(_init34, 0, "PictorialBarChartComponent", _PictorialBarChartComponent_decorators, PictorialBarChartComponent);
451
+ __runInitializers(_init34, 1, PictorialBarChartComponent);
452
+ var _ChordChartComponent_decorators, _init35, _a34;
453
+ _ChordChartComponent_decorators = [Component({ selector: "chartts-chord", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
454
+ var ChordChartComponent = class extends (_a34 = BaseChart) {
455
+ constructor() {
456
+ super(...arguments);
457
+ this.chartType = chordChartType;
458
+ }
459
+ };
460
+ _init35 = __decoratorStart(_a34);
461
+ ChordChartComponent = __decorateElement(_init35, 0, "ChordChartComponent", _ChordChartComponent_decorators, ChordChartComponent);
462
+ __runInitializers(_init35, 1, ChordChartComponent);
463
+ var _GeoChartComponent_decorators, _init36, _a35;
464
+ _GeoChartComponent_decorators = [Component({ selector: "chartts-geo", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
465
+ var GeoChartComponent = class extends (_a35 = BaseChart) {
466
+ constructor() {
467
+ super(...arguments);
468
+ this.chartType = geoChartType;
469
+ }
470
+ };
471
+ _init36 = __decoratorStart(_a35);
472
+ GeoChartComponent = __decorateElement(_init36, 0, "GeoChartComponent", _GeoChartComponent_decorators, GeoChartComponent);
473
+ __runInitializers(_init36, 1, GeoChartComponent);
474
+ var _LinesChartComponent_decorators, _init37, _a36;
475
+ _LinesChartComponent_decorators = [Component({ selector: "chartts-lines", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
476
+ var LinesChartComponent = class extends (_a36 = BaseChart) {
477
+ constructor() {
478
+ super(...arguments);
479
+ this.chartType = linesChartType;
480
+ }
481
+ };
482
+ _init37 = __decoratorStart(_a36);
483
+ LinesChartComponent = __decorateElement(_init37, 0, "LinesChartComponent", _LinesChartComponent_decorators, LinesChartComponent);
484
+ __runInitializers(_init37, 1, LinesChartComponent);
485
+ var _MatrixChartComponent_decorators, _init38, _a37;
486
+ _MatrixChartComponent_decorators = [Component({ selector: "chartts-matrix", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
487
+ var MatrixChartComponent = class extends (_a37 = BaseChart) {
488
+ constructor() {
489
+ super(...arguments);
490
+ this.chartType = matrixChartType;
491
+ }
492
+ };
493
+ _init38 = __decoratorStart(_a37);
494
+ MatrixChartComponent = __decorateElement(_init38, 0, "MatrixChartComponent", _MatrixChartComponent_decorators, MatrixChartComponent);
495
+ __runInitializers(_init38, 1, MatrixChartComponent);
496
+ var _CustomChartComponent_decorators, _init39, _a38;
497
+ _CustomChartComponent_decorators = [Component({ selector: "chartts-custom", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
498
+ var CustomChartComponent = class extends (_a38 = BaseChart) {
499
+ constructor() {
500
+ super(...arguments);
501
+ this.chartType = customChartType;
502
+ }
503
+ };
504
+ _init39 = __decoratorStart(_a38);
505
+ CustomChartComponent = __decorateElement(_init39, 0, "CustomChartComponent", _CustomChartComponent_decorators, CustomChartComponent);
506
+ __runInitializers(_init39, 1, CustomChartComponent);
507
+ var _OHLCChartComponent_decorators, _init40, _a39;
508
+ _OHLCChartComponent_decorators = [Component({ selector: "chartts-ohlc", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
509
+ var OHLCChartComponent = class extends (_a39 = BaseChart) {
510
+ constructor() {
511
+ super(...arguments);
512
+ this.chartType = ohlcChartType;
513
+ }
514
+ };
515
+ _init40 = __decoratorStart(_a39);
516
+ OHLCChartComponent = __decorateElement(_init40, 0, "OHLCChartComponent", _OHLCChartComponent_decorators, OHLCChartComponent);
517
+ __runInitializers(_init40, 1, OHLCChartComponent);
518
+ var _StepChartComponent_decorators, _init41, _a40;
519
+ _StepChartComponent_decorators = [Component({ selector: "chartts-step", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
520
+ var StepChartComponent = class extends (_a40 = BaseChart) {
521
+ constructor() {
522
+ super(...arguments);
523
+ this.chartType = stepChartType;
524
+ }
525
+ };
526
+ _init41 = __decoratorStart(_a40);
527
+ StepChartComponent = __decorateElement(_init41, 0, "StepChartComponent", _StepChartComponent_decorators, StepChartComponent);
528
+ __runInitializers(_init41, 1, StepChartComponent);
529
+ var _VolumeChartComponent_decorators, _init42, _a41;
530
+ _VolumeChartComponent_decorators = [Component({ selector: "chartts-volume", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
531
+ var VolumeChartComponent = class extends (_a41 = BaseChart) {
532
+ constructor() {
533
+ super(...arguments);
534
+ this.chartType = volumeChartType;
535
+ }
536
+ };
537
+ _init42 = __decoratorStart(_a41);
538
+ VolumeChartComponent = __decorateElement(_init42, 0, "VolumeChartComponent", _VolumeChartComponent_decorators, VolumeChartComponent);
539
+ __runInitializers(_init42, 1, VolumeChartComponent);
540
+ var _RangeChartComponent_decorators, _init43, _a42;
541
+ _RangeChartComponent_decorators = [Component({ selector: "chartts-range", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
542
+ var RangeChartComponent = class extends (_a42 = BaseChart) {
543
+ constructor() {
544
+ super(...arguments);
545
+ this.chartType = rangeChartType;
546
+ }
547
+ };
548
+ _init43 = __decoratorStart(_a42);
549
+ RangeChartComponent = __decorateElement(_init43, 0, "RangeChartComponent", _RangeChartComponent_decorators, RangeChartComponent);
550
+ __runInitializers(_init43, 1, RangeChartComponent);
551
+ var _BaselineChartComponent_decorators, _init44, _a43;
552
+ _BaselineChartComponent_decorators = [Component({ selector: "chartts-baseline", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
553
+ var BaselineChartComponent = class extends (_a43 = BaseChart) {
554
+ constructor() {
555
+ super(...arguments);
556
+ this.chartType = baselineChartType;
557
+ }
558
+ };
559
+ _init44 = __decoratorStart(_a43);
560
+ BaselineChartComponent = __decorateElement(_init44, 0, "BaselineChartComponent", _BaselineChartComponent_decorators, BaselineChartComponent);
561
+ __runInitializers(_init44, 1, BaselineChartComponent);
562
+ var _KagiChartComponent_decorators, _init45, _a44;
563
+ _KagiChartComponent_decorators = [Component({ selector: "chartts-kagi", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
564
+ var KagiChartComponent = class extends (_a44 = BaseChart) {
565
+ constructor() {
566
+ super(...arguments);
567
+ this.chartType = kagiChartType;
568
+ }
569
+ };
570
+ _init45 = __decoratorStart(_a44);
571
+ KagiChartComponent = __decorateElement(_init45, 0, "KagiChartComponent", _KagiChartComponent_decorators, KagiChartComponent);
572
+ __runInitializers(_init45, 1, KagiChartComponent);
573
+ var _RenkoChartComponent_decorators, _init46, _a45;
574
+ _RenkoChartComponent_decorators = [Component({ selector: "chartts-renko", standalone: true, template: BASE_TEMPLATE, styles: BASE_STYLES })];
575
+ var RenkoChartComponent = class extends (_a45 = BaseChart) {
576
+ constructor() {
577
+ super(...arguments);
578
+ this.chartType = renkoChartType;
579
+ }
580
+ };
581
+ _init46 = __decoratorStart(_a45);
582
+ RenkoChartComponent = __decorateElement(_init46, 0, "RenkoChartComponent", _RenkoChartComponent_decorators, RenkoChartComponent);
583
+ __runInitializers(_init46, 1, RenkoChartComponent);
584
+
585
+ export { AreaChartComponent, BarChartComponent, BaselineChartComponent, BoxplotChartComponent, BubbleChartComponent, BulletChartComponent, CalendarChartComponent, CandlestickChartComponent, ChordChartComponent, ComboChartComponent, CustomChartComponent, DonutChartComponent, DumbbellChartComponent, FunnelChartComponent, GaugeChartComponent, GeoChartComponent, GraphChartComponent, HeatmapChartComponent, HistogramChartComponent, HorizontalBarChartComponent, KagiChartComponent, LineChartComponent, LinesChartComponent, LollipopChartComponent, MatrixChartComponent, OHLCChartComponent, ParallelChartComponent, PictorialBarChartComponent, PieChartComponent, PolarChartComponent, RadarChartComponent, RadialBarChartComponent, RangeChartComponent, RenkoChartComponent, SankeyChartComponent, ScatterChartComponent, SparklineChartComponent, StackedBarChartComponent, StepChartComponent, SunburstChartComponent, ThemeRiverChartComponent, TreeChartComponent, TreemapChartComponent, VolumeChartComponent, WaterfallChartComponent };
586
+ //# sourceMappingURL=index.js.map
587
+ //# sourceMappingURL=index.js.map