@covalent/echarts 4.0.0-beta.4 → 4.1.0-develop.4
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/README.md +4 -90
- package/bar/README.md +23 -21
- package/bar/bar.component.d.ts +27 -27
- package/bar/covalent-echarts-bar.d.ts +1 -1
- package/bar/{public-api.d.ts → public_api.d.ts} +0 -0
- package/base/README.md +26 -26
- package/base/axis/axis.component.d.ts +29 -29
- package/base/chart.component.d.ts +3 -3
- package/base/covalent-echarts-base.d.ts +1 -1
- package/base/dataset/dataset.component.d.ts +5 -5
- package/base/{public-api.d.ts → public_api.d.ts} +0 -0
- package/base/series/series.component.d.ts +15 -15
- package/base/{axis → src/axis}/README.md +19 -19
- package/base/{dataset → src/dataset}/README.md +19 -16
- package/covalent-echarts.d.ts +1 -1
- package/esm2020/bar/bar.component.mjs +95 -96
- package/esm2020/bar/bar.module.mjs +12 -13
- package/esm2020/bar/covalent-echarts-bar.mjs +2 -2
- package/esm2020/bar/public_api.mjs +3 -0
- package/esm2020/base/axis/axis.component.mjs +66 -66
- package/esm2020/base/axis/axis.interface.mjs +1 -1
- package/esm2020/base/axis/x-axis.component.mjs +45 -45
- package/esm2020/base/axis/y-axis.component.mjs +45 -45
- package/esm2020/base/base.module.mjs +13 -14
- package/esm2020/base/base.types.mjs +1 -1
- package/esm2020/base/chart-options.service.mjs +6 -6
- package/esm2020/base/chart.component.mjs +42 -38
- package/esm2020/base/covalent-echarts-base.mjs +2 -2
- package/esm2020/base/dataset/dataset.component.mjs +22 -22
- package/esm2020/base/public_api.mjs +10 -0
- package/esm2020/base/series/series.component.mjs +34 -34
- package/esm2020/base/series/series.interface.mjs +1 -1
- package/esm2020/base/themes/aqua-splash.mjs +31 -4
- package/esm2020/base/themes/california-coast.mjs +1 -1
- package/esm2020/base/themes/hawaiian-sunrise.mjs +1 -1
- package/esm2020/base/themes/passion-flower.mjs +1 -1
- package/esm2020/base/themes/razzleberry-pie.mjs +31 -4
- package/esm2020/base/themes/teradata-classic.mjs +31 -4
- package/esm2020/base/themes/teradata-default.mjs +1 -1
- package/esm2020/base/themes/urban-sunrise.mjs +1 -1
- package/esm2020/base/themes/volcanic-eruption.mjs +1 -1
- package/esm2020/base/utils/assign-defined.mjs +1 -1
- package/esm2020/base/utils/echarts.mjs +1 -1
- package/esm2020/base/utils/index.mjs +1 -1
- package/esm2020/covalent-echarts.mjs +2 -2
- package/esm2020/graph/covalent-echarts-graph.mjs +2 -2
- package/esm2020/graph/graph.component.mjs +129 -130
- package/esm2020/graph/graph.module.mjs +15 -14
- package/esm2020/graph/public_api.mjs +3 -0
- package/esm2020/line/covalent-echarts-line.mjs +2 -2
- package/esm2020/line/line.component.mjs +111 -112
- package/esm2020/line/line.module.mjs +12 -13
- package/esm2020/line/public_api.mjs +3 -0
- package/esm2020/map/covalent-echarts-map.mjs +2 -2
- package/esm2020/map/map.component.mjs +93 -94
- package/esm2020/map/map.module.mjs +12 -13
- package/esm2020/map/public_api.mjs +3 -0
- package/esm2020/pie/covalent-echarts-pie.mjs +2 -2
- package/esm2020/pie/pie.component.mjs +91 -92
- package/esm2020/pie/pie.module.mjs +12 -13
- package/esm2020/pie/public_api.mjs +3 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/sankey/covalent-echarts-sankey.mjs +2 -2
- package/esm2020/sankey/public_api.mjs +3 -0
- package/esm2020/sankey/sankey.component.mjs +83 -84
- package/esm2020/sankey/sankey.module.mjs +15 -14
- package/esm2020/scatter/covalent-echarts-scatter.mjs +2 -2
- package/esm2020/scatter/public_api.mjs +3 -0
- package/esm2020/scatter/scatter.component.mjs +101 -102
- package/esm2020/scatter/scatter.module.mjs +15 -14
- package/esm2020/toolbox/covalent-echarts-toolbox.mjs +2 -2
- package/esm2020/toolbox/public_api.mjs +3 -0
- package/esm2020/toolbox/toolbox.component.mjs +60 -76
- package/esm2020/toolbox/toolbox.module.mjs +19 -15
- package/esm2020/tooltip/covalent-echarts-tooltip.mjs +2 -2
- package/esm2020/tooltip/public_api.mjs +4 -0
- package/esm2020/tooltip/series-tooltip.component.mjs +40 -49
- package/esm2020/tooltip/tooltip.component.mjs +71 -80
- package/esm2020/tooltip/tooltip.module.mjs +14 -15
- package/esm2020/tree/covalent-echarts-tree.mjs +2 -2
- package/esm2020/tree/public_api.mjs +3 -0
- package/esm2020/tree/tree.component.mjs +83 -84
- package/esm2020/tree/tree.module.mjs +12 -13
- package/esm2020/treemap/covalent-echarts-treemap.mjs +2 -2
- package/esm2020/treemap/public_api.mjs +3 -0
- package/esm2020/treemap/treemap.component.mjs +107 -108
- package/esm2020/treemap/treemap.module.mjs +15 -14
- package/esm2020/wordcloud/covalent-echarts-wordcloud.mjs +2 -2
- package/esm2020/wordcloud/public_api.mjs +3 -0
- package/esm2020/wordcloud/wordcloud.component.mjs +68 -69
- package/esm2020/wordcloud/wordcloud.module.mjs +15 -14
- package/fesm2015/covalent-echarts-bar.mjs +16 -22
- package/fesm2015/covalent-echarts-bar.mjs.map +1 -1
- package/fesm2015/covalent-echarts-base.mjs +148 -81
- package/fesm2015/covalent-echarts-base.mjs.map +1 -1
- package/fesm2015/covalent-echarts-graph.mjs +19 -23
- package/fesm2015/covalent-echarts-graph.mjs.map +1 -1
- package/fesm2015/covalent-echarts-line.mjs +16 -22
- package/fesm2015/covalent-echarts-line.mjs.map +1 -1
- package/fesm2015/covalent-echarts-map.mjs +16 -22
- package/fesm2015/covalent-echarts-map.mjs.map +1 -1
- package/fesm2015/covalent-echarts-pie.mjs +16 -22
- package/fesm2015/covalent-echarts-pie.mjs.map +1 -1
- package/fesm2015/covalent-echarts-sankey.mjs +19 -23
- package/fesm2015/covalent-echarts-sankey.mjs.map +1 -1
- package/fesm2015/covalent-echarts-scatter.mjs +19 -23
- package/fesm2015/covalent-echarts-scatter.mjs.map +1 -1
- package/fesm2015/covalent-echarts-toolbox.mjs +23 -49
- package/fesm2015/covalent-echarts-toolbox.mjs.map +1 -1
- package/fesm2015/covalent-echarts-tooltip.mjs +43 -90
- package/fesm2015/covalent-echarts-tooltip.mjs.map +1 -1
- package/fesm2015/covalent-echarts-tree.mjs +16 -22
- package/fesm2015/covalent-echarts-tree.mjs.map +1 -1
- package/fesm2015/covalent-echarts-treemap.mjs +19 -23
- package/fesm2015/covalent-echarts-treemap.mjs.map +1 -1
- package/fesm2015/covalent-echarts-wordcloud.mjs +19 -23
- package/fesm2015/covalent-echarts-wordcloud.mjs.map +1 -1
- package/fesm2015/covalent-echarts.mjs.map +1 -1
- package/fesm2020/covalent-echarts-bar.mjs +104 -106
- package/fesm2020/covalent-echarts-bar.mjs.map +1 -1
- package/fesm2020/covalent-echarts-base.mjs +353 -269
- package/fesm2020/covalent-echarts-base.mjs.map +1 -1
- package/fesm2020/covalent-echarts-graph.mjs +141 -141
- package/fesm2020/covalent-echarts-graph.mjs.map +1 -1
- package/fesm2020/covalent-echarts-line.mjs +120 -122
- package/fesm2020/covalent-echarts-line.mjs.map +1 -1
- package/fesm2020/covalent-echarts-map.mjs +102 -104
- package/fesm2020/covalent-echarts-map.mjs.map +1 -1
- package/fesm2020/covalent-echarts-pie.mjs +100 -102
- package/fesm2020/covalent-echarts-pie.mjs.map +1 -1
- package/fesm2020/covalent-echarts-sankey.mjs +95 -95
- package/fesm2020/covalent-echarts-sankey.mjs.map +1 -1
- package/fesm2020/covalent-echarts-scatter.mjs +113 -113
- package/fesm2020/covalent-echarts-scatter.mjs.map +1 -1
- package/fesm2020/covalent-echarts-toolbox.mjs +76 -88
- package/fesm2020/covalent-echarts-toolbox.mjs.map +1 -1
- package/fesm2020/covalent-echarts-tooltip.mjs +120 -139
- package/fesm2020/covalent-echarts-tooltip.mjs.map +1 -1
- package/fesm2020/covalent-echarts-tree.mjs +92 -94
- package/fesm2020/covalent-echarts-tree.mjs.map +1 -1
- package/fesm2020/covalent-echarts-treemap.mjs +119 -119
- package/fesm2020/covalent-echarts-treemap.mjs.map +1 -1
- package/fesm2020/covalent-echarts-wordcloud.mjs +79 -79
- package/fesm2020/covalent-echarts-wordcloud.mjs.map +1 -1
- package/fesm2020/covalent-echarts.mjs.map +1 -1
- package/graph/README.md +21 -19
- package/graph/covalent-echarts-graph.d.ts +1 -1
- package/graph/graph.component.d.ts +60 -60
- package/graph/{public-api.d.ts → public_api.d.ts} +0 -0
- package/line/README.md +19 -21
- package/line/covalent-echarts-line.d.ts +1 -1
- package/line/line.component.d.ts +35 -35
- package/line/{public-api.d.ts → public_api.d.ts} +0 -0
- package/map/README.md +19 -17
- package/map/covalent-echarts-map.d.ts +1 -1
- package/map/map.component.d.ts +27 -27
- package/map/{public-api.d.ts → public_api.d.ts} +0 -0
- package/package.json +11 -31
- package/pie/README.md +17 -15
- package/pie/covalent-echarts-pie.d.ts +1 -1
- package/pie/pie.component.d.ts +26 -26
- package/pie/{public-api.d.ts → public_api.d.ts} +0 -0
- package/{index.d.ts → public_api.d.ts} +0 -0
- package/sankey/README.md +22 -20
- package/sankey/covalent-echarts-sankey.d.ts +1 -1
- package/sankey/{public-api.d.ts → public_api.d.ts} +0 -0
- package/sankey/sankey.component.d.ts +22 -22
- package/scatter/README.md +19 -21
- package/scatter/covalent-echarts-scatter.d.ts +1 -1
- package/scatter/{public-api.d.ts → public_api.d.ts} +0 -0
- package/scatter/scatter.component.d.ts +31 -31
- package/toolbox/README.md +12 -11
- package/toolbox/covalent-echarts-toolbox.d.ts +1 -1
- package/toolbox/{public-api.d.ts → public_api.d.ts} +0 -0
- package/toolbox/toolbox.component.d.ts +10 -10
- package/tooltip/README.md +30 -26
- package/tooltip/covalent-echarts-tooltip.d.ts +1 -1
- package/tooltip/{public-api.d.ts → public_api.d.ts} +0 -0
- package/tooltip/series-tooltip.component.d.ts +11 -9
- package/tooltip/tooltip.component.d.ts +16 -16
- package/tree/README.md +20 -18
- package/tree/covalent-echarts-tree.d.ts +1 -1
- package/tree/{public-api.d.ts → public_api.d.ts} +0 -0
- package/tree/tree.component.d.ts +24 -24
- package/treemap/README.md +23 -21
- package/treemap/covalent-echarts-treemap.d.ts +1 -1
- package/treemap/{public-api.d.ts → public_api.d.ts} +0 -0
- package/treemap/treemap.component.d.ts +37 -37
- package/wordcloud/README.md +25 -23
- package/wordcloud/covalent-echarts-wordcloud.d.ts +1 -1
- package/wordcloud/{public-api.d.ts → public_api.d.ts} +0 -0
- package/wordcloud/wordcloud.component.d.ts +14 -14
- package/bar/index.d.ts +0 -1
- package/base/chart.component.scss +0 -4
- package/base/index.d.ts +0 -1
- package/esm2020/bar/index.mjs +0 -2
- package/esm2020/bar/public-api.mjs +0 -3
- package/esm2020/base/index.mjs +0 -2
- package/esm2020/base/public-api.mjs +0 -10
- package/esm2020/graph/index.mjs +0 -2
- package/esm2020/graph/public-api.mjs +0 -3
- package/esm2020/index.mjs +0 -2
- package/esm2020/line/index.mjs +0 -2
- package/esm2020/line/public-api.mjs +0 -3
- package/esm2020/map/index.mjs +0 -2
- package/esm2020/map/public-api.mjs +0 -3
- package/esm2020/pie/index.mjs +0 -2
- package/esm2020/pie/public-api.mjs +0 -3
- package/esm2020/sankey/index.mjs +0 -2
- package/esm2020/sankey/public-api.mjs +0 -3
- package/esm2020/scatter/index.mjs +0 -2
- package/esm2020/scatter/public-api.mjs +0 -3
- package/esm2020/toolbox/index.mjs +0 -2
- package/esm2020/toolbox/public-api.mjs +0 -3
- package/esm2020/tooltip/index.mjs +0 -2
- package/esm2020/tooltip/public-api.mjs +0 -4
- package/esm2020/tree/index.mjs +0 -2
- package/esm2020/tree/public-api.mjs +0 -3
- package/esm2020/treemap/index.mjs +0 -2
- package/esm2020/treemap/public-api.mjs +0 -3
- package/esm2020/wordcloud/index.mjs +0 -2
- package/esm2020/wordcloud/public-api.mjs +0 -3
- package/graph/index.d.ts +0 -1
- package/line/index.d.ts +0 -1
- package/map/index.d.ts +0 -1
- package/pie/index.d.ts +0 -1
- package/sankey/index.d.ts +0 -1
- package/scatter/index.d.ts +0 -1
- package/toolbox/index.d.ts +0 -1
- package/tooltip/index.d.ts +0 -1
- package/tree/index.d.ts +0 -1
- package/treemap/index.d.ts +0 -1
- package/wordcloud/index.d.ts +0 -1
|
@@ -4,7 +4,6 @@ import { CommonModule } from '@angular/common';
|
|
|
4
4
|
import * as i1 from '@covalent/echarts/base';
|
|
5
5
|
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
6
6
|
|
|
7
|
-
const _c0 = ["td-graph", ""];
|
|
8
7
|
class TdChartSeriesGraphComponent extends TdSeriesDirective {
|
|
9
8
|
constructor(_optionsService) {
|
|
10
9
|
super('graph', _optionsService);
|
|
@@ -58,15 +57,14 @@ class TdChartSeriesGraphComponent extends TdSeriesDirective {
|
|
|
58
57
|
};
|
|
59
58
|
}
|
|
60
59
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
(
|
|
69
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartSeriesGraphComponent, [{
|
|
60
|
+
TdChartSeriesGraphComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesGraphComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
61
|
+
TdChartSeriesGraphComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartSeriesGraphComponent, selector: "td-chart-series[td-graph]", 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", legendHoverLink: "legendHoverLink", coordinateSystem: "coordinateSystem", xAxisIndex: "xAxisIndex", yAxisIndex: "yAxisIndex", polarIndex: "polarIndex", calendarIndex: "calendarIndex", geoIndex: "geoIndex", hoverAnimation: "hoverAnimation", circular: "circular", force: "force", layout: "layout", nodeScaleRatio: "nodeScaleRatio", draggable: "draggable", symbol: "symbol", symbolSize: "symbolSize", symbolRotate: "symbolRotate", symbolKeepAspect: "symbolKeepAspect", symbolOffset: "symbolOffset", focusNodeAdjacency: "focusNodeAdjacency", edgeSymbol: "edgeSymbol", edgeSymbolSize: "edgeSymbolSize", cursor: "cursor", roam: "roam", initialTreeDepth: "initialTreeDepth", itemStyle: "itemStyle", lineStyle: "lineStyle", label: "label", edgeLabel: "edgeLabel", emphasis: "emphasis", categories: "categories", nodes: "nodes", links: "links", edges: "edges", markPoint: "markPoint", markLine: "markLine", markArea: "markArea", zlevel: "zlevel", z: "z", silent: "silent", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height" }, providers: [
|
|
62
|
+
{
|
|
63
|
+
provide: TdSeriesDirective,
|
|
64
|
+
useExisting: forwardRef(() => TdChartSeriesGraphComponent),
|
|
65
|
+
},
|
|
66
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesGraphComponent, decorators: [{
|
|
70
68
|
type: Component,
|
|
71
69
|
args: [{
|
|
72
70
|
selector: 'td-chart-series[td-graph]',
|
|
@@ -91,11 +89,11 @@ class TdChartSeriesGraphComponent extends TdSeriesDirective {
|
|
|
91
89
|
providers: [
|
|
92
90
|
{
|
|
93
91
|
provide: TdSeriesDirective,
|
|
94
|
-
useExisting: forwardRef((
|
|
92
|
+
useExisting: forwardRef(() => TdChartSeriesGraphComponent),
|
|
95
93
|
},
|
|
96
94
|
],
|
|
97
95
|
}]
|
|
98
|
-
}], function () { return [{ type: i1.TdChartOptionsService }]; }, { legendHoverLink: [{
|
|
96
|
+
}], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { legendHoverLink: [{
|
|
99
97
|
type: Input
|
|
100
98
|
}], coordinateSystem: [{
|
|
101
99
|
type: Input
|
|
@@ -185,26 +183,24 @@ class TdChartSeriesGraphComponent extends TdSeriesDirective {
|
|
|
185
183
|
type: Input
|
|
186
184
|
}], height: [{
|
|
187
185
|
type: Input
|
|
188
|
-
}] });
|
|
189
|
-
})();
|
|
186
|
+
}] } });
|
|
190
187
|
|
|
191
|
-
const GRAPH_MODULE_COMPONENTS = [
|
|
188
|
+
const GRAPH_MODULE_COMPONENTS = [
|
|
189
|
+
TdChartSeriesGraphComponent,
|
|
190
|
+
];
|
|
192
191
|
class CovalentGraphEchartsModule {
|
|
193
192
|
}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
(
|
|
198
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentGraphEchartsModule, [{
|
|
193
|
+
CovalentGraphEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentGraphEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
194
|
+
CovalentGraphEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentGraphEchartsModule, declarations: [TdChartSeriesGraphComponent], imports: [CommonModule], exports: [TdChartSeriesGraphComponent] });
|
|
195
|
+
CovalentGraphEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentGraphEchartsModule, imports: [[CommonModule]] });
|
|
196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentGraphEchartsModule, decorators: [{
|
|
199
197
|
type: NgModule,
|
|
200
198
|
args: [{
|
|
201
199
|
imports: [CommonModule],
|
|
202
200
|
declarations: [GRAPH_MODULE_COMPONENTS],
|
|
203
201
|
exports: [GRAPH_MODULE_COMPONENTS],
|
|
204
202
|
}]
|
|
205
|
-
}]
|
|
206
|
-
})();
|
|
207
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentGraphEchartsModule, { declarations: [TdChartSeriesGraphComponent], imports: [CommonModule], exports: [TdChartSeriesGraphComponent] }); })();
|
|
203
|
+
}] });
|
|
208
204
|
|
|
209
205
|
/**
|
|
210
206
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-graph.mjs","sources":["../../../../src/platform/echarts/graph/graph.component.ts","../../../../src/platform/echarts/graph/graph.module.ts","../../../../src/platform/echarts/graph/covalent-echarts-graph.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n TdCoordinateSystem,\n ITdItemStyle,\n ITdEmphasis,\n TdSeriesLayoutBy,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdSeries,\n ITdLabel,\n TdSeriesDirective,\n TdMarkPointSymbol,\n ITdLineStyle,\n ITdEdgeLabel,\n} from '@covalent/echarts/base';\n\nexport interface ITdCategories {\n name?: string;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[];\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset: any[];\n itemStyle: ITdItemStyle;\n label: ITdLabel;\n emphasis: ITdEmphasis;\n}\n\nexport interface ITdGraphForce {\n initLayout?: string;\n repulsion?: any | number;\n gravity?: number;\n edgeLength?: any | number;\n layoutAnimation?: boolean;\n}\n\nexport type TdGraphLayout = 'none' | 'circular' | 'force';\n\nexport interface ITdGraphSeries extends ITdSeries {\n legendHoverLink?: boolean;\n coordinateSystem?: TdCoordinateSystem;\n xAxisIndex?: number;\n yAxisIndex?: number;\n polarIndex?: number;\n calendarIndex?: number;\n geoIndex?: number;\n hoverAnimation?: boolean;\n circular?: object;\n force?: ITdGraphForce;\n layout?: TdGraphLayout;\n nodeScaleRatio?: boolean;\n draggable?: boolean;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[] | Function;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n focusNodeAdjacency: boolean;\n edgeSymbol: any[] | string;\n edgeSymbolSize: number;\n cursor: string;\n roam?: boolean;\n expandAndCollapse?: boolean;\n initialTreeDepth?: number;\n itemStyle?: ITdItemStyle;\n lineStyle?: ITdLineStyle;\n label?: ITdLabel;\n edgeLabel?: ITdEdgeLabel;\n emphasis?: ITdEmphasis;\n categories: ITdCategories;\n data?: any[];\n nodes: any[];\n links: any[];\n edges: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n zlevel: number;\n z?: number;\n silent?: boolean;\n left: string | number;\n top: string | number;\n right: string | number;\n bottom: string | number;\n width: string | number;\n height: string | number;\n animation?: boolean;\n animationThreshold?: number;\n animationDuration?: number | Function;\n animationEasing?: string;\n animationDelay?: number | Function;\n animationDurationUpdate?: number | Function;\n animationEasingUpdate?: string;\n animationDelayUpdate?: number | Function;\n}\n\n@Component({\n selector: 'td-chart-series[td-graph]',\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(() => TdChartSeriesGraphComponent),\n },\n ],\n})\nexport class TdChartSeriesGraphComponent extends TdSeriesDirective implements ITdGraphSeries {\n @Input() legendHoverLink: boolean;\n @Input() coordinateSystem: TdCoordinateSystem;\n @Input() xAxisIndex: number;\n @Input() yAxisIndex: number;\n @Input() polarIndex: number;\n @Input() calendarIndex: number;\n @Input() geoIndex: number;\n @Input() hoverAnimation: boolean;\n @Input() circular: object;\n @Input() force: ITdGraphForce;\n @Input() layout: TdGraphLayout;\n @Input() nodeScaleRatio: boolean;\n @Input() draggable: boolean;\n @Input() symbol: TdMarkPointSymbol | string;\n @Input() symbolSize: number | any[] | Function;\n @Input() symbolRotate: number;\n @Input() symbolKeepAspect: boolean;\n @Input() symbolOffset: any[];\n @Input() focusNodeAdjacency: boolean;\n @Input() edgeSymbol: any[] | string;\n @Input() edgeSymbolSize: number;\n @Input() cursor: string;\n @Input() roam: boolean;\n @Input() initialTreeDepth: number;\n @Input() itemStyle: ITdItemStyle;\n @Input() lineStyle: ITdLineStyle;\n @Input() label: ITdLabel;\n @Input() edgeLabel: ITdEdgeLabel;\n @Input() emphasis: ITdEmphasis;\n @Input() categories: ITdCategories;\n @Input() nodes: any[];\n @Input() links: any[];\n @Input() edges: any[];\n @Input() markPoint: ITdMarkPoint;\n @Input() markLine: ITdMarkLine;\n @Input() markArea: ITdMarkArea;\n @Input() zlevel: number;\n @Input() z: number;\n @Input() silent: boolean;\n @Input() left: string | number;\n @Input() top: string | number;\n @Input() right: string | number;\n @Input() bottom: string | number;\n @Input() width: string | number;\n @Input() height: string | number;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('graph', _optionsService);\n }\n\n getConfig(): any {\n return {\n legendHoverLink: this.legendHoverLink,\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n polarIndex: this.polarIndex,\n calendarIndex: this.calendarIndex,\n geoIndex: this.geoIndex,\n hoverAnimation: this.hoverAnimation,\n circular: this.circular,\n force: this.force,\n layout: this.layout,\n nodeScaleRatio: this.nodeScaleRatio,\n draggable: this.draggable,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n focusNodeAdjacency: this.focusNodeAdjacency,\n edgeSymbol: this.edgeSymbol,\n edgeSymbolSize: this.edgeSymbolSize,\n cursor: this.cursor,\n roam: this.roam,\n itemStyle: this.itemStyle,\n lineStyle: this.lineStyle,\n label: this.label,\n edgeLabel: this.edgeLabel,\n emphasis: this.emphasis,\n categories: this.categories,\n nodes: this.nodes,\n links: this.links,\n edges: this.edges,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n silent: this.silent,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n width: this.width,\n height: this.height,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TdChartSeriesGraphComponent } from './graph.component';\n\nexport const GRAPH_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesGraphComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [GRAPH_MODULE_COMPONENTS],\n exports: [GRAPH_MODULE_COMPONENTS],\n})\nexport class CovalentGraphEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MA+Ha,oCAAoC,iBAAiB;IA+ChE,YAAY,eAAsC;QAChD,KAAK,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC;KACjC;IAED,SAAS;QACP,OAAO;YACL,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,SAA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gBACG,SAAS;sBAAjB,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACG,UAAU;sBAAlB,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,CAAC;sBAAT,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,IAAI;sBAAZ,KAAK;gBACG,GAAG;sBAAX,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,MAAM;sBAAd,KAAK;;;;MCxKK,uBAAuB,GAAgB,CAAC,2BAA2B,EAAE;MAOrE,0BAA0B;;0IAA1B,0BAA0B;8HAA1B,0BAA0B;kIAJ5B,CAAC,YAAY,CAAC;;4EAIZ,0BAA0B;kBALtC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,uBAAuB,CAAC;oBACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;iBACnC;;;wFACY,0BAA0B,mBAPc,2BAA2B,aAGpE,YAAY,aAH6B,2BAA2B;;ACJhF;;;;;;"}
|
|
1
|
+
{"version":3,"file":"covalent-echarts-graph.mjs","sources":["../../../../libs/angular-echarts/graph/src/graph.component.ts","../../../../libs/angular-echarts/graph/src/graph.module.ts","../../../../libs/angular-echarts/graph/src/covalent-echarts-graph.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n TdCoordinateSystem,\n ITdItemStyle,\n ITdEmphasis,\n TdSeriesLayoutBy,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdSeries,\n ITdLabel,\n TdSeriesDirective,\n TdMarkPointSymbol,\n ITdLineStyle,\n ITdEdgeLabel,\n} from '@covalent/echarts/base';\n\nexport interface ITdCategories {\n name?: string;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[];\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset: any[];\n itemStyle: ITdItemStyle;\n label: ITdLabel;\n emphasis: ITdEmphasis;\n}\n\nexport interface ITdGraphForce {\n initLayout?: string;\n repulsion?: any | number;\n gravity?: number;\n edgeLength?: any | number;\n layoutAnimation?: boolean;\n}\n\nexport type TdGraphLayout = 'none' | 'circular' | 'force';\n\nexport interface ITdGraphSeries extends ITdSeries {\n legendHoverLink?: boolean;\n coordinateSystem?: TdCoordinateSystem;\n xAxisIndex?: number;\n yAxisIndex?: number;\n polarIndex?: number;\n calendarIndex?: number;\n geoIndex?: number;\n hoverAnimation?: boolean;\n circular?: object;\n force?: ITdGraphForce;\n layout?: TdGraphLayout;\n nodeScaleRatio?: boolean;\n draggable?: boolean;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[] | Function;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n focusNodeAdjacency?: boolean;\n edgeSymbol?: any[] | string;\n edgeSymbolSize?: number;\n cursor?: string;\n roam?: boolean;\n expandAndCollapse?: boolean;\n initialTreeDepth?: number;\n itemStyle?: ITdItemStyle;\n lineStyle?: ITdLineStyle;\n label?: ITdLabel;\n edgeLabel?: ITdEdgeLabel;\n emphasis?: ITdEmphasis;\n categories?: ITdCategories;\n data?: any[];\n nodes?: any[];\n links?: any[];\n edges?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n zlevel?: number;\n z?: number;\n silent?: boolean;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n width?: string | number;\n height?: string | number;\n animation?: boolean;\n animationThreshold?: number;\n animationDuration?: number | Function;\n animationEasing?: string;\n animationDelay?: number | Function;\n animationDurationUpdate?: number | Function;\n animationEasingUpdate?: string;\n animationDelayUpdate?: number | Function;\n}\n\n@Component({\n selector: 'td-chart-series[td-graph]',\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(() => TdChartSeriesGraphComponent),\n },\n ],\n})\nexport class TdChartSeriesGraphComponent\n extends TdSeriesDirective\n implements ITdGraphSeries\n{\n @Input() legendHoverLink?: boolean;\n @Input() coordinateSystem?: TdCoordinateSystem;\n @Input() xAxisIndex?: number;\n @Input() yAxisIndex?: number;\n @Input() polarIndex?: number;\n @Input() calendarIndex?: number;\n @Input() geoIndex?: number;\n @Input() hoverAnimation?: boolean;\n @Input() circular?: object;\n @Input() force?: ITdGraphForce;\n @Input() layout?: TdGraphLayout;\n @Input() nodeScaleRatio?: boolean;\n @Input() draggable?: boolean;\n @Input() symbol?: TdMarkPointSymbol | string;\n @Input() symbolSize?: number | any[] | Function;\n @Input() symbolRotate?: number;\n @Input() symbolKeepAspect?: boolean;\n @Input() symbolOffset?: any[];\n @Input() focusNodeAdjacency?: boolean;\n @Input() edgeSymbol?: any[] | string;\n @Input() edgeSymbolSize?: number;\n @Input() cursor?: string;\n @Input() roam?: boolean;\n @Input() initialTreeDepth?: number;\n @Input() itemStyle?: ITdItemStyle;\n @Input() lineStyle?: ITdLineStyle;\n @Input() label?: ITdLabel;\n @Input() edgeLabel?: ITdEdgeLabel;\n @Input() emphasis?: ITdEmphasis;\n @Input() categories?: ITdCategories;\n @Input() nodes?: any[];\n @Input() links?: any[];\n @Input() edges?: any[];\n @Input() markPoint?: ITdMarkPoint;\n @Input() markLine?: ITdMarkLine;\n @Input() markArea?: ITdMarkArea;\n @Input() zlevel?: number;\n @Input() z?: number;\n @Input() silent?: boolean;\n @Input() left?: string | number;\n @Input() top?: string | number;\n @Input() right?: string | number;\n @Input() bottom?: string | number;\n @Input() width?: string | number;\n @Input() height?: string | number;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('graph', _optionsService);\n }\n\n getConfig(): any {\n return {\n legendHoverLink: this.legendHoverLink,\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n polarIndex: this.polarIndex,\n calendarIndex: this.calendarIndex,\n geoIndex: this.geoIndex,\n hoverAnimation: this.hoverAnimation,\n circular: this.circular,\n force: this.force,\n layout: this.layout,\n nodeScaleRatio: this.nodeScaleRatio,\n draggable: this.draggable,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n focusNodeAdjacency: this.focusNodeAdjacency,\n edgeSymbol: this.edgeSymbol,\n edgeSymbolSize: this.edgeSymbolSize,\n cursor: this.cursor,\n roam: this.roam,\n itemStyle: this.itemStyle,\n lineStyle: this.lineStyle,\n label: this.label,\n edgeLabel: this.edgeLabel,\n emphasis: this.emphasis,\n categories: this.categories,\n nodes: this.nodes,\n links: this.links,\n edges: this.edges,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n silent: this.silent,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n width: this.width,\n height: this.height,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TdChartSeriesGraphComponent } from './graph.component';\n\nexport const GRAPH_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesGraphComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [GRAPH_MODULE_COMPONENTS],\n exports: [GRAPH_MODULE_COMPONENTS],\n})\nexport class CovalentGraphEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MAoIa,oCACH,iBAAiB;IAiDzB,YAAY,eAAsC;QAChD,KAAK,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC;KACjC;IAED,SAAS;QACP,OAAO;YACL,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;YAC3C,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,SAAS,EAAE,IAAI,CAAC,SAAS;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GAAgB;IAClD,2BAA2B;EAC3B;MAOW,0BAA0B;;uHAA1B,0BAA0B;wHAA1B,0BAA0B,iBARrC,2BAA2B,aAIjB,YAAY,aAJtB,2BAA2B;wHAQhB,0BAA0B,YAJ5B,CAAC,YAAY,CAAC;2FAIZ,0BAA0B;kBALtC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,uBAAuB,CAAC;oBACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;iBACnC;;;ACZD;;;;;;"}
|
|
@@ -4,7 +4,6 @@ import { CommonModule } from '@angular/common';
|
|
|
4
4
|
import * as i1 from '@covalent/echarts/base';
|
|
5
5
|
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
6
6
|
|
|
7
|
-
const _c0 = ["td-line", ""];
|
|
8
7
|
class TdChartSeriesLineComponent extends TdSeriesDirective {
|
|
9
8
|
constructor(_optionsService) {
|
|
10
9
|
super('line', _optionsService);
|
|
@@ -50,15 +49,14 @@ class TdChartSeriesLineComponent extends TdSeriesDirective {
|
|
|
50
49
|
};
|
|
51
50
|
}
|
|
52
51
|
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
(
|
|
61
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartSeriesLineComponent, [{
|
|
52
|
+
TdChartSeriesLineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesLineComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
53
|
+
TdChartSeriesLineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartSeriesLineComponent, selector: "td-chart-series[td-line]", 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", polarIndex: "polarIndex", symbol: "symbol", symbolSize: "symbolSize", symbolRotate: "symbolRotate", symbolKeepAspect: "symbolKeepAspect", symbolOffset: "symbolOffset", showSymbol: "showSymbol", showAllSymbol: "showAllSymbol", hoverAnimation: "hoverAnimation", legendHoverLink: "legendHoverLink", stack: "stack", cursor: "cursor", connectNulls: "connectNulls", clipOverflow: "clipOverflow", step: "step", label: "label", itemStyle: "itemStyle", lineStyle: "lineStyle", areaStyle: "areaStyle", emphasis: "emphasis", smooth: "smooth", smoothMonotone: "smoothMonotone", sampling: "sampling", dimensions: "dimensions", encode: "encode", seriesLayoutBy: "seriesLayoutBy", datasetIndex: "datasetIndex", markPoint: "markPoint", markLine: "markLine", markArea: "markArea", zlevel: "zlevel", z: "z", silent: "silent" }, providers: [
|
|
54
|
+
{
|
|
55
|
+
provide: TdSeriesDirective,
|
|
56
|
+
useExisting: forwardRef(() => TdChartSeriesLineComponent),
|
|
57
|
+
},
|
|
58
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesLineComponent, decorators: [{
|
|
62
60
|
type: Component,
|
|
63
61
|
args: [{
|
|
64
62
|
selector: 'td-chart-series[td-line]',
|
|
@@ -83,11 +81,11 @@ class TdChartSeriesLineComponent extends TdSeriesDirective {
|
|
|
83
81
|
providers: [
|
|
84
82
|
{
|
|
85
83
|
provide: TdSeriesDirective,
|
|
86
|
-
useExisting: forwardRef((
|
|
84
|
+
useExisting: forwardRef(() => TdChartSeriesLineComponent),
|
|
87
85
|
},
|
|
88
86
|
],
|
|
89
87
|
}]
|
|
90
|
-
}], function () { return [{ type: i1.TdChartOptionsService }]; }, { coordinateSystem: [{
|
|
88
|
+
}], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { coordinateSystem: [{
|
|
91
89
|
type: Input
|
|
92
90
|
}], xAxisIndex: [{
|
|
93
91
|
type: Input
|
|
@@ -159,26 +157,22 @@ class TdChartSeriesLineComponent extends TdSeriesDirective {
|
|
|
159
157
|
type: Input
|
|
160
158
|
}], silent: [{
|
|
161
159
|
type: Input
|
|
162
|
-
}] });
|
|
163
|
-
})();
|
|
160
|
+
}] } });
|
|
164
161
|
|
|
165
162
|
const LINE_MODULE_COMPONENTS = [TdChartSeriesLineComponent];
|
|
166
163
|
class CovalentLineEchartsModule {
|
|
167
164
|
}
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
(
|
|
172
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentLineEchartsModule, [{
|
|
165
|
+
CovalentLineEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentLineEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
166
|
+
CovalentLineEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentLineEchartsModule, declarations: [TdChartSeriesLineComponent], imports: [CommonModule], exports: [TdChartSeriesLineComponent] });
|
|
167
|
+
CovalentLineEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentLineEchartsModule, imports: [[CommonModule]] });
|
|
168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentLineEchartsModule, decorators: [{
|
|
173
169
|
type: NgModule,
|
|
174
170
|
args: [{
|
|
175
171
|
imports: [CommonModule],
|
|
176
172
|
declarations: [LINE_MODULE_COMPONENTS],
|
|
177
173
|
exports: [LINE_MODULE_COMPONENTS],
|
|
178
174
|
}]
|
|
179
|
-
}]
|
|
180
|
-
})();
|
|
181
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentLineEchartsModule, { declarations: [TdChartSeriesLineComponent], imports: [CommonModule], exports: [TdChartSeriesLineComponent] }); })();
|
|
175
|
+
}] });
|
|
182
176
|
|
|
183
177
|
/**
|
|
184
178
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-line.mjs","sources":["../../../../
|
|
1
|
+
{"version":3,"file":"covalent-echarts-line.mjs","sources":["../../../../libs/angular-echarts/line/src/line.component.ts","../../../../libs/angular-echarts/line/src/line.module.ts","../../../../libs/angular-echarts/line/src/covalent-echarts-line.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n TdCoordinateSystem,\n TdMarkPointSymbol,\n ITdLabel,\n ITdItemStyle,\n ITdLineStyle,\n ITdAreaStyle,\n TdSeriesLayoutBy,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdEmphasis,\n ITdSeries,\n ITdShadow,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport type TdSampling = 'average' | 'max' | 'min' | 'sum';\n\nexport interface ITdLineSeries extends ITdSeries, ITdShadow {\n coordinateSystem?: TdCoordinateSystem;\n xAxisIndex?: number;\n yAxisIndex?: number;\n polarIndex?: number;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[] | Function;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n showSymbol?: boolean;\n showAllSymbol?: boolean | 'auto';\n hoverAnimation?: boolean;\n legendHoverLink?: boolean;\n stack?: string;\n cursor?: string;\n connectNulls?: boolean;\n clipOverflow?: boolean;\n step?: string | boolean;\n label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n lineStyle?: ITdLineStyle;\n width?: number;\n opacity?: number;\n areaStyle?: ITdAreaStyle;\n emphasis?: ITdEmphasis;\n smooth?: boolean | number;\n smoothMonotone?: string;\n sampling?: TdSampling;\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?: number;\n z?: number;\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-line]',\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(() => TdChartSeriesLineComponent),\n },\n ],\n})\nexport class TdChartSeriesLineComponent\n extends TdSeriesDirective\n implements ITdLineSeries\n{\n @Input() coordinateSystem?: TdCoordinateSystem;\n @Input() xAxisIndex?: number;\n @Input() yAxisIndex?: number;\n @Input() polarIndex?: number;\n @Input() symbol?: TdMarkPointSymbol | string;\n @Input() symbolSize?: number | any[] | Function;\n @Input() symbolRotate?: number;\n @Input() symbolKeepAspect?: boolean;\n @Input() symbolOffset?: any[];\n @Input() showSymbol?: boolean;\n @Input() showAllSymbol?: boolean;\n @Input() hoverAnimation?: boolean;\n @Input() legendHoverLink?: boolean;\n @Input() stack?: string;\n @Input() cursor?: string;\n @Input() connectNulls?: boolean;\n @Input() clipOverflow?: boolean;\n @Input() step?: string | boolean;\n @Input() label?: ITdLabel;\n @Input() itemStyle?: ITdItemStyle;\n @Input() lineStyle?: ITdLineStyle;\n @Input() areaStyle?: ITdAreaStyle;\n @Input() emphasis?: ITdEmphasis;\n @Input() smooth?: boolean | number;\n @Input() smoothMonotone?: string;\n @Input() sampling?: TdSampling;\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 @Input() silent?: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('line', _optionsService);\n }\n\n getConfig(): any {\n return {\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n polarIndex: this.polarIndex,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n showSymbol: this.showSymbol,\n showAllSymbol: this.showAllSymbol,\n hoverAnimation: this.hoverAnimation,\n legendHoverLink: this.legendHoverLink,\n stack: this.stack,\n cursor: this.cursor,\n connectNulls: this.connectNulls,\n clipOverflow: this.clipOverflow,\n step: this.step,\n label: this.label,\n itemStyle: this.itemStyle,\n lineStyle: this.lineStyle,\n areaStyle: this.areaStyle,\n emphasis: this.emphasis,\n smooth: this.smooth,\n smoothMonotone: this.smoothMonotone,\n sampling: this.sampling,\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 silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesLineComponent } from './line.component';\n\nexport const LINE_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesLineComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [LINE_MODULE_COMPONENTS],\n exports: [LINE_MODULE_COMPONENTS],\n})\nexport class CovalentLineEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MAiGa,mCACH,iBAAiB;IAwCzB,YAAY,eAAsC;QAChD,KAAK,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;KAChC;IAED,SAAS;QACP,OAAO;YACL,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,QAAQ,EAAE,IAAI,CAAC,QAAQ;Y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AAY;sBAApB,KAAK;gBACG,UAAU;sBAAlB,KAAK;gBACG,aAAa;sBAArB,KAAK;gBACG,cAAc;sBAAtB,KAAK;gBACG,eAAe;sBAAvB,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,YAAY;sBAApB,KAAK;gBACG,YAAY;sBAApB,KAAK;gBACG,IAAI;sBAAZ,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,cAAc;sBAAtB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACG,UAAU;sBAAlB,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,cAAc;sBAAtB,KAAK;gBACG,YAAY;sBAApB,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,CAAC;sBAAT,KAAK;gBACG,MAAM;sBAAd,KAAK;;;MCnIK,sBAAsB,GAAgB,CAAC,0BAA0B,EAAE;MAOnE,yBAAyB;;sHAAzB,yBAAyB;uHAAzB,yBAAyB,iBAPc,0BAA0B,aAGlE,YAAY,aAH4B,0BAA0B;uHAOjE,yBAAyB,YAJ3B,CAAC,YAAY,CAAC;2FAIZ,yBAAyB;kBALrC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,sBAAsB,CAAC;oBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;iBAClC;;;ACXD;;;;;;"}
|
|
@@ -4,7 +4,6 @@ import { CommonModule } from '@angular/common';
|
|
|
4
4
|
import * as i1 from '@covalent/echarts/base';
|
|
5
5
|
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
6
6
|
|
|
7
|
-
const _c0 = ["td-map", ""];
|
|
8
7
|
class TdChartSeriesMapComponent extends TdSeriesDirective {
|
|
9
8
|
constructor(_optionsService) {
|
|
10
9
|
super('map', _optionsService);
|
|
@@ -41,15 +40,14 @@ class TdChartSeriesMapComponent extends TdSeriesDirective {
|
|
|
41
40
|
};
|
|
42
41
|
}
|
|
43
42
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
(
|
|
52
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartSeriesMapComponent, [{
|
|
43
|
+
TdChartSeriesMapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesMapComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
44
|
+
TdChartSeriesMapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartSeriesMapComponent, selector: "td-chart-series[td-map]", 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", map: "map", roam: "roam", center: "center", aspectScale: "aspectScale", boudingCoords: "boudingCoords", zoom: "zoom", scaleLimit: "scaleLimit", nameMap: "nameMap", selectedMode: "selectedMode", label: "label", itemStyle: "itemStyle", zLevel: "zLevel", z: "z", left: "left", top: "top", right: "right", bottom: "bottom", layoutCenter: "layoutCenter", layoutSize: "layoutSize", geoIndex: "geoIndex", mapValueCalculation: "mapValueCalculation", showLegendSymbol: "showLegendSymbol", seriesLayoutBy: "seriesLayoutBy", markPoint: "markPoint", markLine: "markLine", markArea: "markArea", silent: "silent" }, providers: [
|
|
45
|
+
{
|
|
46
|
+
provide: TdSeriesDirective,
|
|
47
|
+
useExisting: forwardRef(() => TdChartSeriesMapComponent),
|
|
48
|
+
},
|
|
49
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesMapComponent, decorators: [{
|
|
53
51
|
type: Component,
|
|
54
52
|
args: [{
|
|
55
53
|
selector: 'td-chart-series[td-map]',
|
|
@@ -74,11 +72,11 @@ class TdChartSeriesMapComponent extends TdSeriesDirective {
|
|
|
74
72
|
providers: [
|
|
75
73
|
{
|
|
76
74
|
provide: TdSeriesDirective,
|
|
77
|
-
useExisting: forwardRef((
|
|
75
|
+
useExisting: forwardRef(() => TdChartSeriesMapComponent),
|
|
78
76
|
},
|
|
79
77
|
],
|
|
80
78
|
}]
|
|
81
|
-
}], function () { return [{ type: i1.TdChartOptionsService }]; }, { map: [{
|
|
79
|
+
}], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { map: [{
|
|
82
80
|
type: Input
|
|
83
81
|
}], roam: [{
|
|
84
82
|
type: Input
|
|
@@ -132,26 +130,22 @@ class TdChartSeriesMapComponent extends TdSeriesDirective {
|
|
|
132
130
|
type: Input
|
|
133
131
|
}], silent: [{
|
|
134
132
|
type: Input
|
|
135
|
-
}] });
|
|
136
|
-
})();
|
|
133
|
+
}] } });
|
|
137
134
|
|
|
138
135
|
const MAP_MODULE_COMPONENTS = [TdChartSeriesMapComponent];
|
|
139
136
|
class CovalentMapEchartsModule {
|
|
140
137
|
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
(
|
|
145
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentMapEchartsModule, [{
|
|
138
|
+
CovalentMapEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentMapEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
139
|
+
CovalentMapEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentMapEchartsModule, declarations: [TdChartSeriesMapComponent], imports: [CommonModule], exports: [TdChartSeriesMapComponent] });
|
|
140
|
+
CovalentMapEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentMapEchartsModule, imports: [[CommonModule]] });
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentMapEchartsModule, decorators: [{
|
|
146
142
|
type: NgModule,
|
|
147
143
|
args: [{
|
|
148
144
|
imports: [CommonModule],
|
|
149
145
|
declarations: [MAP_MODULE_COMPONENTS],
|
|
150
146
|
exports: [MAP_MODULE_COMPONENTS],
|
|
151
147
|
}]
|
|
152
|
-
}]
|
|
153
|
-
})();
|
|
154
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentMapEchartsModule, { declarations: [TdChartSeriesMapComponent], imports: [CommonModule], exports: [TdChartSeriesMapComponent] }); })();
|
|
148
|
+
}] });
|
|
155
149
|
|
|
156
150
|
/**
|
|
157
151
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-map.mjs","sources":["../../../../
|
|
1
|
+
{"version":3,"file":"covalent-echarts-map.mjs","sources":["../../../../libs/angular-echarts/map/src/map.component.ts","../../../../libs/angular-echarts/map/src/map.module.ts","../../../../libs/angular-echarts/map/src/covalent-echarts-map.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdSeries,\n ITdLabel,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport type TdMapValueCalculation = 'sum' | 'average' | 'max' | 'min';\nexport type TdMapSeriesLayoutBy = 'column' | 'row';\n\nexport interface ITdMapScaleLimit {\n min?: number;\n max?: number;\n}\n\nexport interface ITdMapItemStyle {\n areaColor?: ITdItemStyle;\n emphasis?: ITdItemStyle;\n}\n\nexport interface ITdMapSeries extends ITdSeries {\n map?: string;\n roam?: boolean;\n center?: number[];\n aspectScale?: number;\n boudingCoords?: any[];\n zoom?: number;\n scaleLimit?: ITdMapScaleLimit;\n nameMap?: object;\n selectedMode?: boolean | string;\n label?: ITdLabel;\n itemStyle?: ITdMapItemStyle;\n zLevel?: number;\n z?: number;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n layoutCenter?: any[];\n layoutSize?: any[];\n geoIndex?: number;\n mapValueCalculation?: TdMapValueCalculation;\n showLegendSymbol?: boolean;\n seriesLayoutBy?: string;\n data?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-map]',\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(() => TdChartSeriesMapComponent),\n },\n ],\n})\nexport class TdChartSeriesMapComponent\n extends TdSeriesDirective\n implements ITdMapSeries\n{\n @Input() map?: string;\n @Input() roam?: boolean;\n @Input() center?: number[];\n @Input() aspectScale?: number;\n @Input() boudingCoords?: any[];\n @Input() zoom?: number;\n @Input() scaleLimit?: ITdMapScaleLimit;\n @Input() nameMap?: object;\n @Input() selectedMode?: boolean | string;\n @Input() label?: ITdLabel;\n @Input() itemStyle?: ITdMapItemStyle;\n @Input() zLevel?: number;\n @Input() z?: number;\n @Input() left?: string | number;\n @Input() top?: string | number;\n @Input() right?: string | number;\n @Input() bottom?: string | number;\n @Input() layoutCenter?: any[];\n @Input() layoutSize?: any[];\n @Input() geoIndex?: number;\n @Input() mapValueCalculation?: TdMapValueCalculation;\n @Input() showLegendSymbol?: boolean;\n @Input() seriesLayoutBy?: string;\n @Input() markPoint?: ITdMarkPoint;\n @Input() markLine?: ITdMarkLine;\n @Input() markArea?: ITdMarkArea;\n @Input() silent?: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('map', _optionsService);\n }\n\n getConfig(): any {\n return {\n map: this.map,\n roam: this.roam,\n center: this.center,\n aspectScale: this.aspectScale,\n boudingCoords: this.boudingCoords,\n zoom: this.zoom,\n scaleLimit: this.scaleLimit,\n nameMap: this.nameMap,\n selectedMode: this.selectedMode,\n label: this.label,\n itemStyle: this.itemStyle,\n zLevel: this.zLevel,\n z: this.z,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n layoutCenter: this.layoutCenter,\n layoutSize: this.layoutSize,\n geoIndex: this.geoIndex,\n mapValueCalculation: this.mapValueCalculation,\n showLegendSymbol: this.showLegendSymbol,\n seriesLayoutBy: this.seriesLayoutBy,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesMapComponent } from './map.component';\n\nexport const MAP_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesMapComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [MAP_MODULE_COMPONENTS],\n exports: [MAP_MODULE_COMPONENTS],\n})\nexport class CovalentMapEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_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gBACG,MAAM;sBAAd,KAAK;;;MCnHK,qBAAqB,GAAgB,CAAC,yBAAyB,EAAE;MAOjE,wBAAwB;;qHAAxB,wBAAwB;sHAAxB,wBAAwB,iBAPc,yBAAyB,aAGhE,YAAY,aAH2B,yBAAyB;sHAO/D,wBAAwB,YAJ1B,CAAC,YAAY,CAAC;2FAIZ,wBAAwB;kBALpC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,qBAAqB,CAAC;oBACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;iBACjC;;;ACXD;;;;;;"}
|
|
@@ -4,7 +4,6 @@ import { CommonModule } from '@angular/common';
|
|
|
4
4
|
import * as i1 from '@covalent/echarts/base';
|
|
5
5
|
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
6
6
|
|
|
7
|
-
const _c0 = ["td-pie", ""];
|
|
8
7
|
class TdChartSeriesPieComponent extends TdSeriesDirective {
|
|
9
8
|
constructor(_optionsService) {
|
|
10
9
|
super('pie', _optionsService);
|
|
@@ -38,15 +37,14 @@ class TdChartSeriesPieComponent extends TdSeriesDirective {
|
|
|
38
37
|
};
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
(
|
|
49
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartSeriesPieComponent, [{
|
|
40
|
+
TdChartSeriesPieComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesPieComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
+
TdChartSeriesPieComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartSeriesPieComponent, selector: "td-chart-series[td-pie]", 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", legendHoverLink: "legendHoverLink", hoverAnimation: "hoverAnimation", hoverOffset: "hoverOffset", selectedMode: "selectedMode", selectedOffset: "selectedOffset", clockwise: "clockwise", startAngle: "startAngle", minAngle: "minAngle", minShowLabelAngle: "minShowLabelAngle", roseType: "roseType", avoidLabelOverlap: "avoidLabelOverlap", stillShowZeroSum: "stillShowZeroSum", cursor: "cursor", labelLine: "labelLine", label: "label", itemStyle: "itemStyle", emphasis: "emphasis", seriesLayoutBy: "seriesLayoutBy", datasetIndex: "datasetIndex", markPoint: "markPoint", markLine: "markLine", markArea: "markArea", zlevel: "zlevel", z: "z", center: "center", radius: "radius" }, providers: [
|
|
42
|
+
{
|
|
43
|
+
provide: TdSeriesDirective,
|
|
44
|
+
useExisting: forwardRef(() => TdChartSeriesPieComponent),
|
|
45
|
+
},
|
|
46
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesPieComponent, decorators: [{
|
|
50
48
|
type: Component,
|
|
51
49
|
args: [{
|
|
52
50
|
selector: 'td-chart-series[td-pie]',
|
|
@@ -71,11 +69,11 @@ class TdChartSeriesPieComponent extends TdSeriesDirective {
|
|
|
71
69
|
providers: [
|
|
72
70
|
{
|
|
73
71
|
provide: TdSeriesDirective,
|
|
74
|
-
useExisting: forwardRef((
|
|
72
|
+
useExisting: forwardRef(() => TdChartSeriesPieComponent),
|
|
75
73
|
},
|
|
76
74
|
],
|
|
77
75
|
}]
|
|
78
|
-
}], function () { return [{ type: i1.TdChartOptionsService }]; }, { legendHoverLink: [{
|
|
76
|
+
}], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { legendHoverLink: [{
|
|
79
77
|
type: Input
|
|
80
78
|
}], hoverAnimation: [{
|
|
81
79
|
type: Input
|
|
@@ -127,26 +125,22 @@ class TdChartSeriesPieComponent extends TdSeriesDirective {
|
|
|
127
125
|
type: Input
|
|
128
126
|
}], radius: [{
|
|
129
127
|
type: Input
|
|
130
|
-
}] });
|
|
131
|
-
})();
|
|
128
|
+
}] } });
|
|
132
129
|
|
|
133
130
|
const PIE_MODULE_COMPONENTS = [TdChartSeriesPieComponent];
|
|
134
131
|
class CovalentPieEchartsModule {
|
|
135
132
|
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
(
|
|
140
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentPieEchartsModule, [{
|
|
133
|
+
CovalentPieEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentPieEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
134
|
+
CovalentPieEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentPieEchartsModule, declarations: [TdChartSeriesPieComponent], imports: [CommonModule], exports: [TdChartSeriesPieComponent] });
|
|
135
|
+
CovalentPieEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentPieEchartsModule, imports: [[CommonModule]] });
|
|
136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentPieEchartsModule, decorators: [{
|
|
141
137
|
type: NgModule,
|
|
142
138
|
args: [{
|
|
143
139
|
imports: [CommonModule],
|
|
144
140
|
declarations: [PIE_MODULE_COMPONENTS],
|
|
145
141
|
exports: [PIE_MODULE_COMPONENTS],
|
|
146
142
|
}]
|
|
147
|
-
}]
|
|
148
|
-
})();
|
|
149
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentPieEchartsModule, { declarations: [TdChartSeriesPieComponent], imports: [CommonModule], exports: [TdChartSeriesPieComponent] }); })();
|
|
143
|
+
}] });
|
|
150
144
|
|
|
151
145
|
/**
|
|
152
146
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-pie.mjs","sources":["../../../../
|
|
1
|
+
{"version":3,"file":"covalent-echarts-pie.mjs","sources":["../../../../libs/angular-echarts/pie/src/pie.component.ts","../../../../libs/angular-echarts/pie/src/pie.module.ts","../../../../libs/angular-echarts/pie/src/covalent-echarts-pie.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\n ITdEmphasis,\n TdSeriesLayoutBy,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdSeries,\n ITdLabel,\n ITdLabelLine,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport interface ITdPieSeries extends ITdSeries {\n legendHoverLink?: boolean;\n hoverAnimation?: boolean;\n hoverOffset?: number;\n selectedMode?: boolean | string;\n selectedOffset?: number;\n clockwise?: boolean;\n startAngle?: number;\n minAngle?: number;\n minShowLabelAngle?: number;\n roseType?: boolean | string;\n avoidLabelOverlap?: boolean;\n stillShowZeroSum?: boolean;\n cursor?: string;\n labelLine?: ITdLabelLine;\n Label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n emphasis?: ITdEmphasis;\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 center?: object;\n radius?: number | string | any[];\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-pie]',\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(() => TdChartSeriesPieComponent),\n },\n ],\n})\nexport class TdChartSeriesPieComponent\n extends TdSeriesDirective\n implements ITdPieSeries\n{\n @Input() legendHoverLink?: boolean;\n @Input() hoverAnimation?: boolean;\n @Input() hoverOffset?: number;\n @Input() selectedMode?: boolean | string;\n @Input() selectedOffset?: number;\n @Input() clockwise?: boolean;\n @Input() startAngle?: number;\n @Input() minAngle?: number;\n @Input() minShowLabelAngle?: number;\n @Input() roseType?: boolean | string;\n @Input() avoidLabelOverlap?: boolean;\n @Input() stillShowZeroSum?: boolean;\n @Input() cursor?: string;\n @Input() labelLine?: object;\n @Input() label?: any;\n @Input() itemStyle?: ITdItemStyle;\n @Input() emphasis?: ITdEmphasis;\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 @Input() center?: object;\n @Input() radius?: number | string | any[];\n\n constructor(_optionsService: TdChartOptionsService) {\n super('pie', _optionsService);\n }\n\n getConfig(): any {\n return {\n legendHoverLink: this.legendHoverLink,\n label: this.label,\n itemStyle: this.itemStyle,\n emphasis: this.emphasis,\n selectedMode: this.selectedMode,\n selectedOffset: this.selectedOffset,\n clockwise: this.clockwise,\n startAngle: this.startAngle,\n minAngle: this.minAngle,\n minShowLabelAngle: this.minShowLabelAngle,\n roseType: this.roseType,\n avoidLabelOverlap: this.avoidLabelOverlap,\n stillShowZeroSum: this.stillShowZeroSum,\n cursor: this.cursor,\n labelLine: this.labelLine,\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 center: this.center,\n radius: this.radius,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesPieComponent } from './pie.component';\n\nexport const PIE_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesPieComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [PIE_MODULE_COMPONENTS],\n exports: [PIE_MODULE_COMPONENTS],\n})\nexport class CovalentPieEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MAgFa,kCACH,iBAAiB;IA8BzB,YAAY,eAAsC;QAChD,KAAK,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC;KAC/B;IAED,SAAS;QACP,OAAO;YACL,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;YACzC,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;YACzC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,c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