@covalent/echarts 6.3.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bar/bar.component.d.ts +1 -1
- package/base/axis/axis.component.d.ts +1 -1
- package/base/axis/x-axis.component.d.ts +1 -1
- package/base/axis/y-axis.component.d.ts +1 -1
- package/base/chart.component.d.ts +1 -1
- package/base/dataset/dataset.component.d.ts +1 -1
- package/base/series/series.component.d.ts +1 -1
- package/clustering/clustering.component.d.ts +1 -1
- package/esm2022/bar/bar.component.mjs +163 -0
- package/{esm2020 → esm2022}/bar/bar.module.mjs +5 -5
- package/esm2022/base/axis/axis.component.mjs +157 -0
- package/esm2022/base/axis/x-axis.component.mjs +56 -0
- package/esm2022/base/axis/y-axis.component.mjs +56 -0
- package/{esm2020 → esm2022}/base/base.module.mjs +11 -11
- package/esm2022/base/chart-options.service.mjs +63 -0
- package/esm2022/base/chart.component.mjs +211 -0
- package/esm2022/base/dataset/dataset.component.mjs +57 -0
- package/esm2022/base/series/series.component.mjs +106 -0
- package/esm2022/clustering/clustering.component.mjs +275 -0
- package/{esm2020 → esm2022}/clustering/clustering.module.mjs +5 -5
- package/esm2022/graph/graph.component.mjs +230 -0
- package/{esm2020 → esm2022}/graph/graph.module.mjs +5 -5
- package/esm2022/histogram/histogram.component.mjs +127 -0
- package/{esm2020 → esm2022}/histogram/histogram.module.mjs +5 -5
- package/esm2022/line/line.component.mjs +195 -0
- package/{esm2020 → esm2022}/line/line.module.mjs +5 -5
- package/esm2022/map/map.component.mjs +159 -0
- package/{esm2020 → esm2022}/map/map.module.mjs +5 -5
- package/esm2022/pie/pie.component.mjs +153 -0
- package/{esm2020 → esm2022}/pie/pie.module.mjs +5 -5
- package/esm2022/regression/regression.component.mjs +140 -0
- package/{esm2020 → esm2022}/regression/regression.module.mjs +5 -5
- package/esm2022/sankey/sankey.component.mjs +139 -0
- package/{esm2020 → esm2022}/sankey/sankey.module.mjs +5 -5
- package/esm2022/scatter/scatter.component.mjs +175 -0
- package/{esm2020 → esm2022}/scatter/scatter.module.mjs +5 -5
- package/esm2022/toolbox/toolbox.component.mjs +149 -0
- package/{esm2020 → esm2022}/toolbox/toolbox.module.mjs +7 -7
- package/esm2022/tooltip/series-tooltip.component.mjs +112 -0
- package/esm2022/tooltip/tooltip.component.mjs +168 -0
- package/{esm2020 → esm2022}/tooltip/tooltip.module.mjs +9 -9
- package/esm2022/tree/tree.component.mjs +139 -0
- package/{esm2020 → esm2022}/tree/tree.module.mjs +5 -5
- package/esm2022/treemap/treemap.component.mjs +182 -0
- package/{esm2020 → esm2022}/treemap/treemap.module.mjs +5 -5
- package/esm2022/wordcloud/wordcloud.component.mjs +106 -0
- package/{esm2020 → esm2022}/wordcloud/wordcloud.module.mjs +5 -5
- package/{fesm2015 → fesm2022}/covalent-echarts-bar.mjs +40 -12
- package/fesm2022/covalent-echarts-bar.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/covalent-echarts-base.mjs +135 -69
- package/{fesm2015 → fesm2022}/covalent-echarts-base.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/covalent-echarts-clustering.mjs +54 -12
- package/{fesm2020 → fesm2022}/covalent-echarts-clustering.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-graph.mjs +57 -12
- package/{fesm2015 → fesm2022}/covalent-echarts-graph.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-histogram.mjs +14 -12
- package/{fesm2020 → fesm2022}/covalent-echarts-histogram.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-line.mjs +48 -12
- package/fesm2022/covalent-echarts-line.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/covalent-echarts-map.mjs +39 -12
- package/{fesm2020 → fesm2022}/covalent-echarts-map.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-pie.mjs +38 -12
- package/fesm2022/covalent-echarts-pie.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/covalent-echarts-regression.mjs +15 -12
- package/fesm2022/covalent-echarts-regression.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/covalent-echarts-sankey.mjs +34 -12
- package/fesm2022/covalent-echarts-sankey.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/covalent-echarts-scatter.mjs +43 -12
- package/fesm2022/covalent-echarts-scatter.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/covalent-echarts-toolbox.mjs +37 -23
- package/{fesm2020 → fesm2022}/covalent-echarts-toolbox.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-tooltip.mjs +69 -47
- package/{fesm2015 → fesm2022}/covalent-echarts-tooltip.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-tree.mjs +34 -12
- package/{fesm2015 → fesm2022}/covalent-echarts-tree.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-treemap.mjs +46 -13
- package/fesm2022/covalent-echarts-treemap.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/covalent-echarts-wordcloud.mjs +26 -12
- package/fesm2022/covalent-echarts-wordcloud.mjs.map +1 -0
- package/graph/graph.component.d.ts +1 -1
- package/histogram/histogram.component.d.ts +1 -1
- package/line/line.component.d.ts +1 -1
- package/map/map.component.d.ts +1 -1
- package/package.json +57 -96
- package/pie/pie.component.d.ts +1 -1
- package/regression/regression.component.d.ts +1 -1
- package/sankey/sankey.component.d.ts +1 -1
- package/scatter/scatter.component.d.ts +1 -1
- package/toolbox/toolbox.component.d.ts +1 -1
- package/tooltip/series-tooltip.component.d.ts +1 -1
- package/tooltip/tooltip.component.d.ts +1 -1
- package/tree/tree.component.d.ts +1 -1
- package/treemap/treemap.component.d.ts +2 -2
- package/wordcloud/wordcloud.component.d.ts +1 -1
- package/base/src/axis/README.md +0 -58
- package/base/src/dataset/README.md +0 -80
- package/esm2020/bar/bar.component.mjs +0 -135
- package/esm2020/base/axis/axis.component.mjs +0 -127
- package/esm2020/base/axis/x-axis.component.mjs +0 -55
- package/esm2020/base/axis/y-axis.component.mjs +0 -55
- package/esm2020/base/chart-options.service.mjs +0 -65
- package/esm2020/base/chart.component.mjs +0 -195
- package/esm2020/base/dataset/dataset.component.mjs +0 -52
- package/esm2020/base/series/series.component.mjs +0 -91
- package/esm2020/clustering/clustering.component.mjs +0 -233
- package/esm2020/graph/graph.component.mjs +0 -185
- package/esm2020/histogram/histogram.component.mjs +0 -125
- package/esm2020/line/line.component.mjs +0 -159
- package/esm2020/map/map.component.mjs +0 -132
- package/esm2020/pie/pie.component.mjs +0 -127
- package/esm2020/regression/regression.component.mjs +0 -137
- package/esm2020/sankey/sankey.component.mjs +0 -117
- package/esm2020/scatter/scatter.component.mjs +0 -144
- package/esm2020/toolbox/toolbox.component.mjs +0 -135
- package/esm2020/tooltip/series-tooltip.component.mjs +0 -102
- package/esm2020/tooltip/tooltip.component.mjs +0 -156
- package/esm2020/tree/tree.component.mjs +0 -117
- package/esm2020/treemap/treemap.component.mjs +0 -149
- package/esm2020/wordcloud/wordcloud.component.mjs +0 -92
- package/fesm2015/covalent-echarts-bar.mjs.map +0 -1
- package/fesm2015/covalent-echarts-base.mjs +0 -4931
- package/fesm2015/covalent-echarts-clustering.mjs.map +0 -1
- package/fesm2015/covalent-echarts-graph.mjs +0 -210
- package/fesm2015/covalent-echarts-histogram.mjs +0 -151
- package/fesm2015/covalent-echarts-histogram.mjs.map +0 -1
- package/fesm2015/covalent-echarts-line.mjs +0 -182
- package/fesm2015/covalent-echarts-line.mjs.map +0 -1
- package/fesm2015/covalent-echarts-map.mjs.map +0 -1
- package/fesm2015/covalent-echarts-pie.mjs +0 -150
- package/fesm2015/covalent-echarts-pie.mjs.map +0 -1
- package/fesm2015/covalent-echarts-regression.mjs +0 -163
- package/fesm2015/covalent-echarts-regression.mjs.map +0 -1
- package/fesm2015/covalent-echarts-sankey.mjs.map +0 -1
- package/fesm2015/covalent-echarts-scatter.mjs.map +0 -1
- package/fesm2015/covalent-echarts-toolbox.mjs +0 -158
- package/fesm2015/covalent-echarts-toolbox.mjs.map +0 -1
- package/fesm2015/covalent-echarts-tooltip.mjs +0 -283
- package/fesm2015/covalent-echarts-tree.mjs +0 -140
- package/fesm2015/covalent-echarts-treemap.mjs +0 -174
- package/fesm2015/covalent-echarts-treemap.mjs.map +0 -1
- package/fesm2015/covalent-echarts-wordcloud.mjs +0 -117
- package/fesm2015/covalent-echarts-wordcloud.mjs.map +0 -1
- package/fesm2020/covalent-echarts-bar.mjs +0 -158
- package/fesm2020/covalent-echarts-bar.mjs.map +0 -1
- package/fesm2020/covalent-echarts-base.mjs.map +0 -1
- package/fesm2020/covalent-echarts-clustering.mjs +0 -258
- package/fesm2020/covalent-echarts-graph.mjs.map +0 -1
- package/fesm2020/covalent-echarts-line.mjs.map +0 -1
- package/fesm2020/covalent-echarts-map.mjs +0 -155
- package/fesm2020/covalent-echarts-pie.mjs.map +0 -1
- package/fesm2020/covalent-echarts-regression.mjs.map +0 -1
- package/fesm2020/covalent-echarts-sankey.mjs +0 -142
- package/fesm2020/covalent-echarts-sankey.mjs.map +0 -1
- package/fesm2020/covalent-echarts-scatter.mjs +0 -169
- package/fesm2020/covalent-echarts-scatter.mjs.map +0 -1
- package/fesm2020/covalent-echarts-tooltip.mjs.map +0 -1
- package/fesm2020/covalent-echarts-tree.mjs.map +0 -1
- package/fesm2020/covalent-echarts-treemap.mjs.map +0 -1
- package/fesm2020/covalent-echarts-wordcloud.mjs.map +0 -1
- package/fesm2020/covalent-echarts.mjs +0 -4
- package/fesm2020/covalent-echarts.mjs.map +0 -1
- /package/{esm2020 → esm2022}/bar/covalent-echarts-bar.mjs +0 -0
- /package/{esm2020 → esm2022}/bar/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/base/axis/axis.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/base/base.types.mjs +0 -0
- /package/{esm2020 → esm2022}/base/covalent-echarts-base.mjs +0 -0
- /package/{esm2020 → esm2022}/base/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/base/series/series.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/aqua-splash.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/california-coast.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/hawaiian-sunrise.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/passion-flower.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/razzleberry-pie.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/teradata-classic.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/teradata-default.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/urban-sunrise.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/volcanic-eruption.mjs +0 -0
- /package/{esm2020 → esm2022}/base/utils/assign-defined.mjs +0 -0
- /package/{esm2020 → esm2022}/base/utils/echarts.mjs +0 -0
- /package/{esm2020 → esm2022}/base/utils/index.mjs +0 -0
- /package/{esm2020 → esm2022}/clustering/covalent-echarts-clustering.mjs +0 -0
- /package/{esm2020 → esm2022}/clustering/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/covalent-echarts.mjs +0 -0
- /package/{esm2020 → esm2022}/graph/covalent-echarts-graph.mjs +0 -0
- /package/{esm2020 → esm2022}/graph/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/histogram/covalent-echarts-histogram.mjs +0 -0
- /package/{esm2020 → esm2022}/histogram/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/line/covalent-echarts-line.mjs +0 -0
- /package/{esm2020 → esm2022}/line/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/map/covalent-echarts-map.mjs +0 -0
- /package/{esm2020 → esm2022}/map/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/pie/covalent-echarts-pie.mjs +0 -0
- /package/{esm2020 → esm2022}/pie/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/regression/covalent-echarts-regression.mjs +0 -0
- /package/{esm2020 → esm2022}/regression/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/sankey/covalent-echarts-sankey.mjs +0 -0
- /package/{esm2020 → esm2022}/sankey/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/scatter/covalent-echarts-scatter.mjs +0 -0
- /package/{esm2020 → esm2022}/scatter/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/toolbox/covalent-echarts-toolbox.mjs +0 -0
- /package/{esm2020 → esm2022}/toolbox/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/covalent-echarts-tooltip.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/covalent-echarts-tree.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/treemap/covalent-echarts-treemap.mjs +0 -0
- /package/{esm2020 → esm2022}/treemap/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/wordcloud/covalent-echarts-wordcloud.mjs +0 -0
- /package/{esm2020 → esm2022}/wordcloud/public_api.mjs +0 -0
- /package/{fesm2015 → fesm2022}/covalent-echarts.mjs +0 -0
- /package/{fesm2015 → fesm2022}/covalent-echarts.mjs.map +0 -0
|
@@ -6,11 +6,11 @@ export const TREEMAP_MODULE_COMPONENTS = [
|
|
|
6
6
|
TdChartSeriesTreemapComponent,
|
|
7
7
|
];
|
|
8
8
|
export class CovalentTreemapEchartsModule {
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentTreemapEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: CovalentTreemapEchartsModule, declarations: [TdChartSeriesTreemapComponent], imports: [CommonModule], exports: [TdChartSeriesTreemapComponent] });
|
|
11
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentTreemapEchartsModule, imports: [CommonModule] });
|
|
9
12
|
}
|
|
10
|
-
|
|
11
|
-
CovalentTreemapEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.5", ngImport: i0, type: CovalentTreemapEchartsModule, declarations: [TdChartSeriesTreemapComponent], imports: [CommonModule], exports: [TdChartSeriesTreemapComponent] });
|
|
12
|
-
CovalentTreemapEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: CovalentTreemapEchartsModule, imports: [CommonModule] });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: CovalentTreemapEchartsModule, decorators: [{
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentTreemapEchartsModule, decorators: [{
|
|
14
14
|
type: NgModule,
|
|
15
15
|
args: [{
|
|
16
16
|
imports: [CommonModule],
|
|
@@ -18,4 +18,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImpor
|
|
|
18
18
|
exports: [TREEMAP_MODULE_COMPONENTS],
|
|
19
19
|
}]
|
|
20
20
|
}] });
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZW1hcC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItZWNoYXJ0cy90cmVlbWFwL3NyYy90cmVlbWFwLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFRLE1BQU0sZUFBZSxDQUFDO0FBQy9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EVUxFX0NPTVBPTkVOVFNdLFxufSlcbmV4cG9ydCBjbGFzcyBDb3ZhbGVudFRyZWVtYXBFY2hhcnRzTW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { Component, Input, ChangeDetectionStrategy, forwardRef, } from '@angular/core';
|
|
2
|
+
import { TdChartOptionsService, TdSeriesDirective, } from '@covalent/echarts/base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@covalent/echarts/base";
|
|
5
|
+
export class TdChartSeriesWordcloudComponent extends TdSeriesDirective {
|
|
6
|
+
data;
|
|
7
|
+
shape;
|
|
8
|
+
left;
|
|
9
|
+
top;
|
|
10
|
+
width;
|
|
11
|
+
height;
|
|
12
|
+
right;
|
|
13
|
+
bottom;
|
|
14
|
+
sizeRange;
|
|
15
|
+
rotationRange;
|
|
16
|
+
rotationStep;
|
|
17
|
+
gridSize;
|
|
18
|
+
drawOutOfBound;
|
|
19
|
+
textStyle;
|
|
20
|
+
constructor(_optionsService) {
|
|
21
|
+
super('wordCloud', _optionsService);
|
|
22
|
+
}
|
|
23
|
+
getConfig() {
|
|
24
|
+
return {
|
|
25
|
+
shape: this.shape,
|
|
26
|
+
left: this.left,
|
|
27
|
+
top: this.top,
|
|
28
|
+
width: this.width,
|
|
29
|
+
height: this.height,
|
|
30
|
+
right: this.right,
|
|
31
|
+
bottom: this.bottom,
|
|
32
|
+
sizeRange: this.sizeRange,
|
|
33
|
+
rotationRange: this.rotationRange,
|
|
34
|
+
rotationStep: this.rotationStep,
|
|
35
|
+
gridSize: this.gridSize,
|
|
36
|
+
drawOutOfBound: this.drawOutOfBound,
|
|
37
|
+
textStyle: this.textStyle,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartSeriesWordcloudComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: TdChartSeriesWordcloudComponent, selector: "td-chart-series[td-wordCloud]", inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", shape: "shape", left: "left", top: "top", width: "width", height: "height", right: "right", bottom: "bottom", sizeRange: "sizeRange", rotationRange: "rotationRange", rotationStep: "rotationStep", gridSize: "gridSize", drawOutOfBound: "drawOutOfBound", textStyle: "textStyle" }, providers: [
|
|
42
|
+
{
|
|
43
|
+
provide: TdSeriesDirective,
|
|
44
|
+
useExisting: forwardRef(() => TdChartSeriesWordcloudComponent),
|
|
45
|
+
},
|
|
46
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
47
|
+
}
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartSeriesWordcloudComponent, decorators: [{
|
|
49
|
+
type: Component,
|
|
50
|
+
args: [{
|
|
51
|
+
selector: 'td-chart-series[td-wordCloud]',
|
|
52
|
+
template: '',
|
|
53
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
54
|
+
inputs: [
|
|
55
|
+
'config',
|
|
56
|
+
'id',
|
|
57
|
+
'name',
|
|
58
|
+
'color',
|
|
59
|
+
'data',
|
|
60
|
+
'animation',
|
|
61
|
+
'animationThreshold',
|
|
62
|
+
'animationDuration',
|
|
63
|
+
'animationEasing',
|
|
64
|
+
'animationDelay',
|
|
65
|
+
'animationDurationUpdate',
|
|
66
|
+
'animationEasingUpdate',
|
|
67
|
+
'animationDelayUpdate',
|
|
68
|
+
'tooltip',
|
|
69
|
+
],
|
|
70
|
+
providers: [
|
|
71
|
+
{
|
|
72
|
+
provide: TdSeriesDirective,
|
|
73
|
+
useExisting: forwardRef(() => TdChartSeriesWordcloudComponent),
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
}]
|
|
77
|
+
}], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { data: [{
|
|
78
|
+
type: Input
|
|
79
|
+
}], shape: [{
|
|
80
|
+
type: Input
|
|
81
|
+
}], left: [{
|
|
82
|
+
type: Input
|
|
83
|
+
}], top: [{
|
|
84
|
+
type: Input
|
|
85
|
+
}], width: [{
|
|
86
|
+
type: Input
|
|
87
|
+
}], height: [{
|
|
88
|
+
type: Input
|
|
89
|
+
}], right: [{
|
|
90
|
+
type: Input
|
|
91
|
+
}], bottom: [{
|
|
92
|
+
type: Input
|
|
93
|
+
}], sizeRange: [{
|
|
94
|
+
type: Input
|
|
95
|
+
}], rotationRange: [{
|
|
96
|
+
type: Input
|
|
97
|
+
}], rotationStep: [{
|
|
98
|
+
type: Input
|
|
99
|
+
}], gridSize: [{
|
|
100
|
+
type: Input
|
|
101
|
+
}], drawOutOfBound: [{
|
|
102
|
+
type: Input
|
|
103
|
+
}], textStyle: [{
|
|
104
|
+
type: Input
|
|
105
|
+
}] } });
|
|
106
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid29yZGNsb3VkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci1lY2hhcnRzL3dvcmRjbG91ZC9zcmMvd29yZGNsb3VkLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULEtBQUssRUFDTCx1QkFBdUIsRUFDdkIsVUFBVSxHQUNYLE1BQU0sZUFBZSxDQUFDO0FBRXZ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B1dCgpIHJvdGF0aW9uU3RlcD86IG51bWJlcjtcbiAgQElucHV0KCkgZ3JpZFNpemU/OiBudW1iZXI7XG4gIEBJbnB1dCgpIGRyYXdPdXRPZkJvdW5kPzogYm9vbGVhbjtcbiAgQElucHV0KCkgdGV4dFN0eWxlPzogSVRkV29yZGNsb3VkVGV4dFN0eWxlO1xuXG4gIGNvbnN0cnVjdG9yKF9vcHRpb25zU2VydmljZTogVGRDaGFydE9wdGlvbnNTZXJ2aWNlKSB7XG4gICAgc3VwZXIoJ3dvcmRDbG91ZCcsIF9vcHRpb25zU2VydmljZSk7XG4gIH1cblxuICBnZXRDb25maWcoKTogYW55IHtcbiAgICByZXR1cm4ge1xuICAgICAgc2hhcGU6IHRoaXMuc2hhcGUsXG4gICAgICBsZWZ0OiB0aGlzLmxlZnQsXG4gICAgICB0b3A6IHRoaXMudG9wLFxuICAgICAgd2lkdGg6IHRoaXMud2lkdGgsXG4gICAgICBoZWlnaHQ6IHRoaXMuaGVpZ2h0LFxuICAgICAgcmlnaHQ6IHRoaXMucmlnaHQsXG4gICAgICBib3R0b206IHRoaXMuYm90dG9tLFxuICAgICAgc2l6ZVJhbmdlOiB0aGlzLnNpemVSYW5nZSxcbiAgICAgIHJvdGF0aW9uUmFuZ2U6IHRoaXMucm90YXRpb25SYW5nZSxcbiAgICAgIHJvdGF0aW9uU3RlcDogdGhpcy5yb3RhdGlvblN0ZXAsXG4gICAgICBncmlkU2l6ZTogdGhpcy5ncmlkU2l6ZSxcbiAgICAgIGRyYXdPdXRPZkJvdW5kOiB0aGlzLmRyYXdPdXRPZkJvdW5kLFxuICAgICAgdGV4dFN0eWxlOiB0aGlzLnRleHRTdHlsZSxcbiAgICB9O1xuICB9XG59XG4iXX0=
|
|
@@ -6,11 +6,11 @@ export const WORDCLOUD_MODULE_COMPONENTS = [
|
|
|
6
6
|
TdChartSeriesWordcloudComponent,
|
|
7
7
|
];
|
|
8
8
|
export class CovalentWordcloudEchartsModule {
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentWordcloudEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: CovalentWordcloudEchartsModule, declarations: [TdChartSeriesWordcloudComponent], imports: [CommonModule], exports: [TdChartSeriesWordcloudComponent] });
|
|
11
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentWordcloudEchartsModule, imports: [CommonModule] });
|
|
9
12
|
}
|
|
10
|
-
|
|
11
|
-
CovalentWordcloudEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.5", ngImport: i0, type: CovalentWordcloudEchartsModule, declarations: [TdChartSeriesWordcloudComponent], imports: [CommonModule], exports: [TdChartSeriesWordcloudComponent] });
|
|
12
|
-
CovalentWordcloudEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: CovalentWordcloudEchartsModule, imports: [CommonModule] });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: CovalentWordcloudEchartsModule, decorators: [{
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentWordcloudEchartsModule, decorators: [{
|
|
14
14
|
type: NgModule,
|
|
15
15
|
args: [{
|
|
16
16
|
imports: [CommonModule],
|
|
@@ -18,4 +18,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImpor
|
|
|
18
18
|
exports: [WORDCLOUD_MODULE_COMPONENTS],
|
|
19
19
|
}]
|
|
20
20
|
}] });
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
21
|
+
//# sourceMapping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ZGNsb3VkLmNvbXBvbmVudCc7XG5cbmV4cG9ydCBjb25zdCBXT1JEQ0xPVURfTU9EVUxFX0NPTVBPTkVOVFM6IFR5cGU8YW55PltdID0gW1xuICBUZENoYXJ0U2VyaWVzV29yZGNsb3VkQ29tcG9uZW50LFxuXTtcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZV0sXG4gIGRlY2xhcmF0aW9uczogW1dPUkRDTE9VRF9NT0RVTEVfQ09NUE9ORU5UU10sXG4gIGV4cG9ydHM6IFtXT1JEQ0xPVURfTU9EVUxFX0NPTVBPTkVOVFNdLFxufSlcbmV4cG9ydCBjbGFzcyBDb3ZhbGVudFdvcmRjbG91ZEVjaGFydHNNb2R1bGUge31cbiJdfQ==
|
|
@@ -5,6 +5,34 @@ import * as i1 from '@covalent/echarts/base';
|
|
|
5
5
|
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
6
6
|
|
|
7
7
|
class TdChartSeriesBarComponent extends TdSeriesDirective {
|
|
8
|
+
coordinateSystem;
|
|
9
|
+
xAxisIndex;
|
|
10
|
+
yAxisIndex;
|
|
11
|
+
legendHoverLink;
|
|
12
|
+
stack;
|
|
13
|
+
cursor;
|
|
14
|
+
label;
|
|
15
|
+
itemStyle;
|
|
16
|
+
emphasis;
|
|
17
|
+
barWidth;
|
|
18
|
+
barMaxWidth;
|
|
19
|
+
barMinHeight;
|
|
20
|
+
barGap;
|
|
21
|
+
barCategoryGap;
|
|
22
|
+
large;
|
|
23
|
+
largeThreshold;
|
|
24
|
+
progressive;
|
|
25
|
+
progressiveThreshold;
|
|
26
|
+
progressiveChunkMode;
|
|
27
|
+
dimensions;
|
|
28
|
+
encode;
|
|
29
|
+
seriesLayoutBy;
|
|
30
|
+
datasetIndex;
|
|
31
|
+
markPoint;
|
|
32
|
+
markLine;
|
|
33
|
+
markArea;
|
|
34
|
+
zlevel;
|
|
35
|
+
z;
|
|
8
36
|
constructor(_optionsService) {
|
|
9
37
|
super('bar', _optionsService);
|
|
10
38
|
}
|
|
@@ -40,15 +68,15 @@ class TdChartSeriesBarComponent extends TdSeriesDirective {
|
|
|
40
68
|
z: this.z,
|
|
41
69
|
};
|
|
42
70
|
}
|
|
71
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartSeriesBarComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
72
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: TdChartSeriesBarComponent, selector: "td-chart-series[td-bar]", inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", coordinateSystem: "coordinateSystem", xAxisIndex: "xAxisIndex", yAxisIndex: "yAxisIndex", legendHoverLink: "legendHoverLink", stack: "stack", cursor: "cursor", label: "label", itemStyle: "itemStyle", emphasis: "emphasis", barWidth: "barWidth", barMaxWidth: "barMaxWidth", barMinHeight: "barMinHeight", barGap: "barGap", barCategoryGap: "barCategoryGap", large: "large", largeThreshold: "largeThreshold", progressive: "progressive", progressiveThreshold: "progressiveThreshold", progressiveChunkMode: "progressiveChunkMode", dimensions: "dimensions", encode: "encode", seriesLayoutBy: "seriesLayoutBy", datasetIndex: "datasetIndex", markPoint: "markPoint", markLine: "markLine", markArea: "markArea", zlevel: "zlevel", z: "z" }, providers: [
|
|
73
|
+
{
|
|
74
|
+
provide: TdSeriesDirective,
|
|
75
|
+
useExisting: forwardRef(() => TdChartSeriesBarComponent),
|
|
76
|
+
},
|
|
77
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
43
78
|
}
|
|
44
|
-
|
|
45
|
-
TdChartSeriesBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.5", type: TdChartSeriesBarComponent, selector: "td-chart-series[td-bar]", inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", coordinateSystem: "coordinateSystem", xAxisIndex: "xAxisIndex", yAxisIndex: "yAxisIndex", legendHoverLink: "legendHoverLink", stack: "stack", cursor: "cursor", label: "label", itemStyle: "itemStyle", emphasis: "emphasis", barWidth: "barWidth", barMaxWidth: "barMaxWidth", barMinHeight: "barMinHeight", barGap: "barGap", barCategoryGap: "barCategoryGap", large: "large", largeThreshold: "largeThreshold", progressive: "progressive", progressiveThreshold: "progressiveThreshold", progressiveChunkMode: "progressiveChunkMode", dimensions: "dimensions", encode: "encode", seriesLayoutBy: "seriesLayoutBy", datasetIndex: "datasetIndex", markPoint: "markPoint", markLine: "markLine", markArea: "markArea", zlevel: "zlevel", z: "z" }, providers: [
|
|
46
|
-
{
|
|
47
|
-
provide: TdSeriesDirective,
|
|
48
|
-
useExisting: forwardRef(() => TdChartSeriesBarComponent),
|
|
49
|
-
},
|
|
50
|
-
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartSeriesBarComponent, decorators: [{
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartSeriesBarComponent, decorators: [{
|
|
52
80
|
type: Component,
|
|
53
81
|
args: [{
|
|
54
82
|
selector: 'td-chart-series[td-bar]',
|
|
@@ -137,11 +165,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImpor
|
|
|
137
165
|
|
|
138
166
|
const BAR_MODULE_COMPONENTS = [TdChartSeriesBarComponent];
|
|
139
167
|
class CovalentBarEchartsModule {
|
|
168
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentBarEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
169
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: CovalentBarEchartsModule, declarations: [TdChartSeriesBarComponent], imports: [CommonModule], exports: [TdChartSeriesBarComponent] });
|
|
170
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentBarEchartsModule, imports: [CommonModule] });
|
|
140
171
|
}
|
|
141
|
-
|
|
142
|
-
CovalentBarEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.5", ngImport: i0, type: CovalentBarEchartsModule, declarations: [TdChartSeriesBarComponent], imports: [CommonModule], exports: [TdChartSeriesBarComponent] });
|
|
143
|
-
CovalentBarEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: CovalentBarEchartsModule, imports: [CommonModule] });
|
|
144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: CovalentBarEchartsModule, decorators: [{
|
|
172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentBarEchartsModule, decorators: [{
|
|
145
173
|
type: NgModule,
|
|
146
174
|
args: [{
|
|
147
175
|
imports: [CommonModule],
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"covalent-echarts-bar.mjs","sources":["../../../../libs/angular-echarts/bar/src/bar.component.ts","../../../../libs/angular-echarts/bar/src/bar.module.ts","../../../../libs/angular-echarts/bar/src/covalent-echarts-bar.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\nimport {\n TdChartOptionsService,\n TdCoordinateSystem,\n ITdItemStyle,\n ITdEmphasis,\n TdSeriesLayoutBy,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdSeries,\n ITdLabel,\n TdProgressiveChunkMode,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport interface ITdBarSeries extends ITdSeries {\n legendHoverLink?: boolean;\n coordinateSystem?: TdCoordinateSystem;\n xAxisIndex?: number;\n yAxisIndex?: number;\n Label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n emphasis?: ITdEmphasis;\n stack?: string;\n cursor?: string;\n barWidth?: number | string;\n barMaxWidth?: number | string;\n barMinHeight?: number;\n barGap?: string;\n barCategoryGap?: string;\n large?: boolean;\n largeThreshold?: number;\n progressive?: number;\n progressiveThreshold?: number;\n progressiveChunkMode?: TdProgressiveChunkMode;\n dimensions?: any[];\n encode?: any;\n seriesLayoutBy?: TdSeriesLayoutBy;\n datasetIndex?: number;\n data?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n Zlevel?: 0;\n z?: number;\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-bar]',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: [\n 'config',\n 'id',\n 'name',\n 'color',\n 'data',\n\n 'animation',\n 'animationThreshold',\n 'animationDuration',\n 'animationEasing',\n 'animationDelay',\n 'animationDurationUpdate',\n 'animationEasingUpdate',\n 'animationDelayUpdate',\n 'tooltip',\n ],\n providers: [\n {\n provide: TdSeriesDirective,\n useExisting: forwardRef(() => TdChartSeriesBarComponent),\n },\n ],\n})\nexport class TdChartSeriesBarComponent\n extends TdSeriesDirective\n implements ITdBarSeries\n{\n @Input() coordinateSystem?: TdCoordinateSystem;\n @Input() xAxisIndex?: number;\n @Input() yAxisIndex?: number;\n @Input() legendHoverLink?: boolean;\n @Input() stack?: string;\n @Input() cursor?: string;\n @Input() label?: any;\n @Input() itemStyle?: ITdItemStyle;\n @Input() emphasis?: ITdEmphasis;\n @Input() barWidth?: number;\n @Input() barMaxWidth?: number;\n @Input() barMinHeight?: number;\n @Input() barGap?: string;\n @Input() barCategoryGap?: string;\n @Input() large?: boolean;\n @Input() largeThreshold?: number;\n @Input() progressive?: number;\n @Input() progressiveThreshold?: number;\n @Input() progressiveChunkMode?: TdProgressiveChunkMode;\n @Input() dimensions?: any[];\n @Input() encode: any;\n @Input() seriesLayoutBy?: TdSeriesLayoutBy;\n @Input() datasetIndex?: number;\n @Input() markPoint?: ITdMarkPoint;\n @Input() markLine?: ITdMarkLine;\n @Input() markArea?: ITdMarkArea;\n @Input() zlevel?: number;\n @Input() z?: number;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('bar', _optionsService);\n }\n\n getConfig(): any {\n return {\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n legendHoverLink: this.legendHoverLink,\n stack: this.stack,\n cursor: this.cursor,\n label: this.label,\n itemStyle: this.itemStyle,\n emphasis: this.emphasis,\n barWidth: this.barWidth,\n barMaxWidth: this.barMaxWidth,\n barMinHeight: this.barMinHeight,\n barGap: this.barGap,\n barCategoryGap: this.barCategoryGap,\n large: this.large,\n largeThreshold: this.largeThreshold,\n progressive: this.progressive,\n progressiveThreshold: this.progressiveThreshold,\n progressiveChunkMode: this.progressiveChunkMode,\n dimensions: this.dimensions,\n encode: this.encode,\n seriesLayoutBy: this.seriesLayoutBy,\n datasetIndex: this.datasetIndex,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesBarComponent } from './bar.component';\n\nexport const BAR_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesBarComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [BAR_MODULE_COMPONENTS],\n exports: [BAR_MODULE_COMPONENTS],\n})\nexport class CovalentBarEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;AAkFM,MAAO,yBACX,SAAQ,iBAAiB,CAAA;AAGhB,IAAA,gBAAgB,CAAsB;AACtC,IAAA,UAAU,CAAU;AACpB,IAAA,UAAU,CAAU;AACpB,IAAA,eAAe,CAAW;AAC1B,IAAA,KAAK,CAAU;AACf,IAAA,MAAM,CAAU;AAChB,IAAA,KAAK,CAAO;AACZ,IAAA,SAAS,CAAgB;AACzB,IAAA,QAAQ,CAAe;AACvB,IAAA,QAAQ,CAAU;AAClB,IAAA,WAAW,CAAU;AACrB,IAAA,YAAY,CAAU;AACtB,IAAA,MAAM,CAAU;AAChB,IAAA,cAAc,CAAU;AACxB,IAAA,KAAK,CAAW;AAChB,IAAA,cAAc,CAAU;AACxB,IAAA,WAAW,CAAU;AACrB,IAAA,oBAAoB,CAAU;AAC9B,IAAA,oBAAoB,CAA0B;AAC9C,IAAA,UAAU,CAAS;AACnB,IAAA,MAAM,CAAM;AACZ,IAAA,cAAc,CAAoB;AAClC,IAAA,YAAY,CAAU;AACtB,IAAA,SAAS,CAAgB;AACzB,IAAA,QAAQ,CAAe;AACvB,IAAA,QAAQ,CAAe;AACvB,IAAA,MAAM,CAAU;AAChB,IAAA,CAAC,CAAU;AAEpB,IAAA,WAAA,CAAY,eAAsC,EAAA;AAChD,QAAA,KAAK,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC;KAC/B;IAED,SAAS,GAAA;QACP,OAAO;YACL,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,UAAU,EAAE,IAAI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,CAAA,EAAA,CAAA,CAAA;;2FAIX,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBALpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,qBAAqB,CAAC;oBACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;AACjC,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
|
|
@@ -5,10 +5,8 @@ import { BehaviorSubject, Subject, fromEvent, merge, timer } from 'rxjs';
|
|
|
5
5
|
import { takeUntil, debounceTime, distinctUntilChanged, tap } from 'rxjs/operators';
|
|
6
6
|
|
|
7
7
|
class TdChartOptionsService {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
this._optionsSubject = new BehaviorSubject(this._options);
|
|
11
|
-
}
|
|
8
|
+
_options = {};
|
|
9
|
+
_optionsSubject = new BehaviorSubject(this._options);
|
|
12
10
|
setOption(option, value) {
|
|
13
11
|
const options = {};
|
|
14
12
|
options[option] = value;
|
|
@@ -50,10 +48,10 @@ class TdChartOptionsService {
|
|
|
50
48
|
listen() {
|
|
51
49
|
return this._optionsSubject.asObservable();
|
|
52
50
|
}
|
|
51
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartOptionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
52
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartOptionsService });
|
|
53
53
|
}
|
|
54
|
-
|
|
55
|
-
TdChartOptionsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartOptionsService });
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartOptionsService, decorators: [{
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartOptionsService, decorators: [{
|
|
57
55
|
type: Injectable
|
|
58
56
|
}] });
|
|
59
57
|
function CHART_PROVIDER_FACTORY(parent) {
|
|
@@ -4353,42 +4351,58 @@ function getThemes() {
|
|
|
4353
4351
|
}
|
|
4354
4352
|
|
|
4355
4353
|
class TdChartComponent {
|
|
4354
|
+
_changeDetectorRef;
|
|
4355
|
+
_elementRef;
|
|
4356
|
+
_optionsService;
|
|
4357
|
+
_destroy = new Subject();
|
|
4358
|
+
_widthSubject = new Subject();
|
|
4359
|
+
_heightSubject = new Subject();
|
|
4360
|
+
_instance;
|
|
4356
4361
|
/**
|
|
4357
4362
|
* returns the echarts instance
|
|
4358
4363
|
*/
|
|
4359
4364
|
get instance() {
|
|
4360
4365
|
return this._instance;
|
|
4361
4366
|
}
|
|
4367
|
+
_state = {};
|
|
4368
|
+
_options = {};
|
|
4369
|
+
/**
|
|
4370
|
+
* config?: any;
|
|
4371
|
+
* Sets the JS config object if you choose to not use the property inputs.
|
|
4372
|
+
* Note: [config] input properties will override input values
|
|
4373
|
+
* https://ecomfe.github.io/echarts-doc/public/en/option.html
|
|
4374
|
+
*/
|
|
4375
|
+
config = {};
|
|
4376
|
+
/**
|
|
4377
|
+
* group?: string
|
|
4378
|
+
* group name in which the chart instance will be connected to
|
|
4379
|
+
* https://ecomfe.github.io/echarts-doc/public/en/api.html#echarts.connect
|
|
4380
|
+
*/
|
|
4381
|
+
group;
|
|
4382
|
+
/**
|
|
4383
|
+
* themeName?: string
|
|
4384
|
+
* theme to be applied into chart instance
|
|
4385
|
+
* https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Overview%20of%20Style%20Customization
|
|
4386
|
+
*/
|
|
4387
|
+
themeName;
|
|
4388
|
+
/**
|
|
4389
|
+
* renderer: 'svg' | 'canvas'
|
|
4390
|
+
* sets the rendering mode for the chart.
|
|
4391
|
+
* defaults to 'canvas'
|
|
4392
|
+
* https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Render%20by%20Canvas%20or%20SVG
|
|
4393
|
+
*/
|
|
4394
|
+
renderer = 'canvas';
|
|
4395
|
+
chartClick = new EventEmitter();
|
|
4396
|
+
chartDblclick = new EventEmitter();
|
|
4397
|
+
chartContextmenu = new EventEmitter();
|
|
4398
|
+
magicTypeChanged = new EventEmitter();
|
|
4399
|
+
dataViewChanged = new EventEmitter();
|
|
4400
|
+
datazoom = new EventEmitter();
|
|
4401
|
+
restore = new EventEmitter();
|
|
4362
4402
|
constructor(_changeDetectorRef, _elementRef, _optionsService) {
|
|
4363
4403
|
this._changeDetectorRef = _changeDetectorRef;
|
|
4364
4404
|
this._elementRef = _elementRef;
|
|
4365
4405
|
this._optionsService = _optionsService;
|
|
4366
|
-
this._destroy = new Subject();
|
|
4367
|
-
this._widthSubject = new Subject();
|
|
4368
|
-
this._heightSubject = new Subject();
|
|
4369
|
-
this._state = {};
|
|
4370
|
-
this._options = {};
|
|
4371
|
-
/**
|
|
4372
|
-
* config?: any;
|
|
4373
|
-
* Sets the JS config object if you choose to not use the property inputs.
|
|
4374
|
-
* Note: [config] input properties will override input values
|
|
4375
|
-
* https://ecomfe.github.io/echarts-doc/public/en/option.html
|
|
4376
|
-
*/
|
|
4377
|
-
this.config = {};
|
|
4378
|
-
/**
|
|
4379
|
-
* renderer: 'svg' | 'canvas'
|
|
4380
|
-
* sets the rendering mode for the chart.
|
|
4381
|
-
* defaults to 'canvas'
|
|
4382
|
-
* https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Render%20by%20Canvas%20or%20SVG
|
|
4383
|
-
*/
|
|
4384
|
-
this.renderer = 'canvas';
|
|
4385
|
-
this.chartClick = new EventEmitter();
|
|
4386
|
-
this.chartDblclick = new EventEmitter();
|
|
4387
|
-
this.chartContextmenu = new EventEmitter();
|
|
4388
|
-
this.magicTypeChanged = new EventEmitter();
|
|
4389
|
-
this.dataViewChanged = new EventEmitter();
|
|
4390
|
-
this.datazoom = new EventEmitter();
|
|
4391
|
-
this.restore = new EventEmitter();
|
|
4392
4406
|
}
|
|
4393
4407
|
ngAfterViewInit() {
|
|
4394
4408
|
this._initializeChart();
|
|
@@ -4510,10 +4524,10 @@ class TdChartComponent {
|
|
|
4510
4524
|
}
|
|
4511
4525
|
this._destroy.next(true);
|
|
4512
4526
|
}
|
|
4527
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4528
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: TdChartComponent, selector: "td-chart", inputs: { config: "config", group: "group", themeName: "themeName", renderer: "renderer" }, outputs: { chartClick: "chartClick", chartDblclick: "chartDblclick", chartContextmenu: "chartContextmenu", magicTypeChanged: "magicTypeChanged", dataViewChanged: "dataViewChanged", datazoom: "datazoom", restore: "restore" }, providers: [CHART_PROVIDER], usesOnChanges: true, ngImport: i0, template: '', isInline: true, styles: [":host{display:block;width:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4513
4529
|
}
|
|
4514
|
-
|
|
4515
|
-
TdChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.5", type: TdChartComponent, selector: "td-chart", inputs: { config: "config", group: "group", themeName: "themeName", renderer: "renderer" }, outputs: { chartClick: "chartClick", chartDblclick: "chartDblclick", chartContextmenu: "chartContextmenu", magicTypeChanged: "magicTypeChanged", dataViewChanged: "dataViewChanged", datazoom: "datazoom", restore: "restore" }, providers: [CHART_PROVIDER], usesOnChanges: true, ngImport: i0, template: '', isInline: true, styles: [":host{display:block;width:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4516
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartComponent, decorators: [{
|
|
4530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartComponent, decorators: [{
|
|
4517
4531
|
type: Component,
|
|
4518
4532
|
args: [{ selector: 'td-chart', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [CHART_PROVIDER], styles: [":host{display:block;width:100%}\n"] }]
|
|
4519
4533
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: TdChartOptionsService }]; }, propDecorators: { config: [{
|
|
@@ -4541,12 +4555,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImpor
|
|
|
4541
4555
|
}] } });
|
|
4542
4556
|
|
|
4543
4557
|
class TdChartAxisDirective {
|
|
4558
|
+
_axisOption;
|
|
4559
|
+
_optionsService;
|
|
4560
|
+
_state = {};
|
|
4561
|
+
config = {};
|
|
4562
|
+
id;
|
|
4563
|
+
show = true;
|
|
4564
|
+
gridIndex;
|
|
4565
|
+
offset;
|
|
4566
|
+
type;
|
|
4567
|
+
name;
|
|
4568
|
+
nameLocation;
|
|
4569
|
+
nameTextStyle;
|
|
4570
|
+
nameGap;
|
|
4571
|
+
nameRotate;
|
|
4572
|
+
inverse;
|
|
4573
|
+
boundaryGap;
|
|
4574
|
+
min;
|
|
4575
|
+
max;
|
|
4576
|
+
scale;
|
|
4577
|
+
minInterval;
|
|
4578
|
+
interval;
|
|
4579
|
+
logBase;
|
|
4580
|
+
silent;
|
|
4581
|
+
triggerEvent;
|
|
4582
|
+
axisLine;
|
|
4583
|
+
axisTick;
|
|
4584
|
+
axisLabel;
|
|
4585
|
+
splitLine;
|
|
4586
|
+
splitArea;
|
|
4587
|
+
data;
|
|
4588
|
+
axisPointer;
|
|
4589
|
+
zlevel;
|
|
4590
|
+
z;
|
|
4544
4591
|
constructor(_axisOption, _optionsService) {
|
|
4545
4592
|
this._axisOption = _axisOption;
|
|
4546
4593
|
this._optionsService = _optionsService;
|
|
4547
|
-
this._state = {};
|
|
4548
|
-
this.config = {};
|
|
4549
|
-
this.show = true;
|
|
4550
4594
|
}
|
|
4551
4595
|
ngOnInit() {
|
|
4552
4596
|
this._setOptions();
|
|
@@ -4595,10 +4639,10 @@ class TdChartAxisDirective {
|
|
|
4595
4639
|
_removeOption() {
|
|
4596
4640
|
this._optionsService.clearOption(this._axisOption);
|
|
4597
4641
|
}
|
|
4642
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartAxisDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
4643
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.7", type: TdChartAxisDirective, inputs: { config: "config", id: "id", show: "show", gridIndex: "gridIndex", offset: "offset", type: "type", name: "name", nameLocation: "nameLocation", nameTextStyle: "nameTextStyle", nameGap: "nameGap", nameRotate: "nameRotate", inverse: "inverse", boundaryGap: "boundaryGap", min: "min", max: "max", scale: "scale", minInterval: "minInterval", interval: "interval", logBase: "logBase", silent: "silent", triggerEvent: "triggerEvent", axisLine: "axisLine", axisTick: "axisTick", axisLabel: "axisLabel", splitLine: "splitLine", splitArea: "splitArea", data: "data", axisPointer: "axisPointer", zlevel: "zlevel", z: "z" }, usesOnChanges: true, ngImport: i0 });
|
|
4598
4644
|
}
|
|
4599
|
-
|
|
4600
|
-
TdChartAxisDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.5", type: TdChartAxisDirective, inputs: { config: "config", id: "id", show: "show", gridIndex: "gridIndex", offset: "offset", type: "type", name: "name", nameLocation: "nameLocation", nameTextStyle: "nameTextStyle", nameGap: "nameGap", nameRotate: "nameRotate", inverse: "inverse", boundaryGap: "boundaryGap", min: "min", max: "max", scale: "scale", minInterval: "minInterval", interval: "interval", logBase: "logBase", silent: "silent", triggerEvent: "triggerEvent", axisLine: "axisLine", axisTick: "axisTick", axisLabel: "axisLabel", splitLine: "splitLine", splitArea: "splitArea", data: "data", axisPointer: "axisPointer", zlevel: "zlevel", z: "z" }, usesOnChanges: true, ngImport: i0 });
|
|
4601
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartAxisDirective, decorators: [{
|
|
4645
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartAxisDirective, decorators: [{
|
|
4602
4646
|
type: Directive
|
|
4603
4647
|
}], ctorParameters: function () { return [{ type: undefined }, { type: TdChartOptionsService }]; }, propDecorators: { config: [{
|
|
4604
4648
|
type: Input
|
|
@@ -4663,13 +4707,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImpor
|
|
|
4663
4707
|
}] } });
|
|
4664
4708
|
|
|
4665
4709
|
class TdChartXAxisComponent extends TdChartAxisDirective {
|
|
4710
|
+
position;
|
|
4666
4711
|
constructor(_optionsService) {
|
|
4667
4712
|
super('xAxis', _optionsService);
|
|
4668
4713
|
}
|
|
4714
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartXAxisComponent, deps: [{ token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4715
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: TdChartXAxisComponent, selector: "td-chart-x-axis", inputs: { config: "config", id: "id", show: "show", gridIndex: "gridIndex", offset: "offset", type: "type", name: "name", nameLocation: "nameLocation", nameTextStyle: "nameTextStyle", nameGap: "nameGap", nameRotate: "nameRotate", inverse: "inverse", boundaryGap: "boundaryGap", min: "min", max: "max", scale: "scale", minInterval: "minInterval", interval: "interval", logBase: "logBase", silent: "silent", triggerEvent: "triggerEvent", axisLine: "axisLine", axisTick: "axisTick", axisLabel: "axisLabel", splitLine: "splitLine", splitArea: "splitArea", data: "data", axisPointer: "axisPointer", zlevel: "zlevel", z: "z", position: "position" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4669
4716
|
}
|
|
4670
|
-
|
|
4671
|
-
TdChartXAxisComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.5", type: TdChartXAxisComponent, selector: "td-chart-x-axis", inputs: { config: "config", id: "id", show: "show", gridIndex: "gridIndex", offset: "offset", type: "type", name: "name", nameLocation: "nameLocation", nameTextStyle: "nameTextStyle", nameGap: "nameGap", nameRotate: "nameRotate", inverse: "inverse", boundaryGap: "boundaryGap", min: "min", max: "max", scale: "scale", minInterval: "minInterval", interval: "interval", logBase: "logBase", silent: "silent", triggerEvent: "triggerEvent", axisLine: "axisLine", axisTick: "axisTick", axisLabel: "axisLabel", splitLine: "splitLine", splitArea: "splitArea", data: "data", axisPointer: "axisPointer", zlevel: "zlevel", z: "z", position: "position" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4672
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartXAxisComponent, decorators: [{
|
|
4717
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartXAxisComponent, decorators: [{
|
|
4673
4718
|
type: Component,
|
|
4674
4719
|
args: [{
|
|
4675
4720
|
selector: 'td-chart-x-axis',
|
|
@@ -4713,13 +4758,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImpor
|
|
|
4713
4758
|
}] } });
|
|
4714
4759
|
|
|
4715
4760
|
class TdChartYAxisComponent extends TdChartAxisDirective {
|
|
4761
|
+
position;
|
|
4716
4762
|
constructor(_optionsService) {
|
|
4717
4763
|
super('yAxis', _optionsService);
|
|
4718
4764
|
}
|
|
4765
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartYAxisComponent, deps: [{ token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4766
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: TdChartYAxisComponent, selector: "td-chart-y-axis", inputs: { config: "config", id: "id", show: "show", gridIndex: "gridIndex", offset: "offset", type: "type", name: "name", nameLocation: "nameLocation", nameTextStyle: "nameTextStyle", nameGap: "nameGap", nameRotate: "nameRotate", inverse: "inverse", boundaryGap: "boundaryGap", min: "min", max: "max", scale: "scale", minInterval: "minInterval", interval: "interval", logBase: "logBase", silent: "silent", triggerEvent: "triggerEvent", axisLine: "axisLine", axisTick: "axisTick", axisLabel: "axisLabel", splitLine: "splitLine", splitArea: "splitArea", data: "data", axisPointer: "axisPointer", zlevel: "zlevel", z: "z", position: "position" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4719
4767
|
}
|
|
4720
|
-
|
|
4721
|
-
TdChartYAxisComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.5", type: TdChartYAxisComponent, selector: "td-chart-y-axis", inputs: { config: "config", id: "id", show: "show", gridIndex: "gridIndex", offset: "offset", type: "type", name: "name", nameLocation: "nameLocation", nameTextStyle: "nameTextStyle", nameGap: "nameGap", nameRotate: "nameRotate", inverse: "inverse", boundaryGap: "boundaryGap", min: "min", max: "max", scale: "scale", minInterval: "minInterval", interval: "interval", logBase: "logBase", silent: "silent", triggerEvent: "triggerEvent", axisLine: "axisLine", axisTick: "axisTick", axisLabel: "axisLabel", splitLine: "splitLine", splitArea: "splitArea", data: "data", axisPointer: "axisPointer", zlevel: "zlevel", z: "z", position: "position" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4722
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartYAxisComponent, decorators: [{
|
|
4768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartYAxisComponent, decorators: [{
|
|
4723
4769
|
type: Component,
|
|
4724
4770
|
args: [{
|
|
4725
4771
|
selector: 'td-chart-y-axis',
|
|
@@ -4763,10 +4809,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImpor
|
|
|
4763
4809
|
}] } });
|
|
4764
4810
|
|
|
4765
4811
|
class TdDatasetComponent {
|
|
4812
|
+
_optionsService;
|
|
4813
|
+
_state = {};
|
|
4814
|
+
id;
|
|
4815
|
+
config = {};
|
|
4816
|
+
source;
|
|
4817
|
+
dimensions;
|
|
4818
|
+
sourceHeader;
|
|
4766
4819
|
constructor(_optionsService) {
|
|
4767
4820
|
this._optionsService = _optionsService;
|
|
4768
|
-
this._state = {};
|
|
4769
|
-
this.config = {};
|
|
4770
4821
|
}
|
|
4771
4822
|
ngOnChanges() {
|
|
4772
4823
|
this._setOptions();
|
|
@@ -4787,10 +4838,10 @@ class TdDatasetComponent {
|
|
|
4787
4838
|
_removeOption() {
|
|
4788
4839
|
this._optionsService.clearOption('dataset');
|
|
4789
4840
|
}
|
|
4841
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdDatasetComponent, deps: [{ token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4842
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: TdDatasetComponent, selector: "td-chart-dataset", inputs: { id: "id", config: "config", source: "source", dimensions: "dimensions", sourceHeader: "sourceHeader" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4790
4843
|
}
|
|
4791
|
-
|
|
4792
|
-
TdDatasetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.5", type: TdDatasetComponent, selector: "td-chart-dataset", inputs: { id: "id", config: "config", source: "source", dimensions: "dimensions", sourceHeader: "sourceHeader" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4793
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdDatasetComponent, decorators: [{
|
|
4844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdDatasetComponent, decorators: [{
|
|
4794
4845
|
type: Component,
|
|
4795
4846
|
args: [{
|
|
4796
4847
|
template: '',
|
|
@@ -4817,17 +4868,17 @@ const BASE_MODULE_COMPONENTS = [
|
|
|
4817
4868
|
];
|
|
4818
4869
|
registerDefaultThemes();
|
|
4819
4870
|
class CovalentBaseEchartsModule {
|
|
4871
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentBaseEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4872
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: CovalentBaseEchartsModule, declarations: [TdChartComponent,
|
|
4873
|
+
TdChartXAxisComponent,
|
|
4874
|
+
TdChartYAxisComponent,
|
|
4875
|
+
TdDatasetComponent], imports: [CommonModule], exports: [TdChartComponent,
|
|
4876
|
+
TdChartXAxisComponent,
|
|
4877
|
+
TdChartYAxisComponent,
|
|
4878
|
+
TdDatasetComponent] });
|
|
4879
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentBaseEchartsModule, imports: [CommonModule] });
|
|
4820
4880
|
}
|
|
4821
|
-
|
|
4822
|
-
CovalentBaseEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.5", ngImport: i0, type: CovalentBaseEchartsModule, declarations: [TdChartComponent,
|
|
4823
|
-
TdChartXAxisComponent,
|
|
4824
|
-
TdChartYAxisComponent,
|
|
4825
|
-
TdDatasetComponent], imports: [CommonModule], exports: [TdChartComponent,
|
|
4826
|
-
TdChartXAxisComponent,
|
|
4827
|
-
TdChartYAxisComponent,
|
|
4828
|
-
TdDatasetComponent] });
|
|
4829
|
-
CovalentBaseEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: CovalentBaseEchartsModule, imports: [CommonModule] });
|
|
4830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: CovalentBaseEchartsModule, decorators: [{
|
|
4881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentBaseEchartsModule, decorators: [{
|
|
4831
4882
|
type: NgModule,
|
|
4832
4883
|
args: [{
|
|
4833
4884
|
imports: [CommonModule],
|
|
@@ -4837,14 +4888,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImpor
|
|
|
4837
4888
|
}] });
|
|
4838
4889
|
|
|
4839
4890
|
class TdSeriesDirective {
|
|
4891
|
+
optionsService;
|
|
4892
|
+
_type;
|
|
4840
4893
|
get type() {
|
|
4841
4894
|
return this._type;
|
|
4842
4895
|
}
|
|
4896
|
+
_state = {};
|
|
4897
|
+
_options = {};
|
|
4898
|
+
config = {};
|
|
4899
|
+
id;
|
|
4900
|
+
name;
|
|
4901
|
+
color;
|
|
4902
|
+
data;
|
|
4903
|
+
animation;
|
|
4904
|
+
animationThreshold;
|
|
4905
|
+
animationDuration;
|
|
4906
|
+
animationEasing;
|
|
4907
|
+
animationDelay;
|
|
4908
|
+
animationDurationUpdate;
|
|
4909
|
+
animationEasingUpdate;
|
|
4910
|
+
animationDelayUpdate;
|
|
4911
|
+
tooltip;
|
|
4843
4912
|
constructor(type, optionsService) {
|
|
4844
4913
|
this.optionsService = optionsService;
|
|
4845
|
-
this._state = {};
|
|
4846
|
-
this._options = {};
|
|
4847
|
-
this.config = {};
|
|
4848
4914
|
this._type = type;
|
|
4849
4915
|
}
|
|
4850
4916
|
ngOnInit() {
|
|
@@ -4887,10 +4953,10 @@ class TdSeriesDirective {
|
|
|
4887
4953
|
_removeOption() {
|
|
4888
4954
|
this.optionsService.removeArrayOption('series', this._state);
|
|
4889
4955
|
}
|
|
4956
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdSeriesDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
4957
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.7", type: TdSeriesDirective, inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip" }, usesOnChanges: true, ngImport: i0 });
|
|
4890
4958
|
}
|
|
4891
|
-
|
|
4892
|
-
TdSeriesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.5", type: TdSeriesDirective, inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip" }, usesOnChanges: true, ngImport: i0 });
|
|
4893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdSeriesDirective, decorators: [{
|
|
4959
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdSeriesDirective, decorators: [{
|
|
4894
4960
|
type: Directive
|
|
4895
4961
|
}], ctorParameters: function () { return [{ type: undefined }, { type: TdChartOptionsService }]; }, propDecorators: { config: [{
|
|
4896
4962
|
type: Input
|