@covalent/echarts 6.4.0 → 6.4.2

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.
Files changed (212) hide show
  1. package/bar/bar.component.d.ts +1 -1
  2. package/base/axis/axis.component.d.ts +1 -1
  3. package/base/axis/x-axis.component.d.ts +1 -1
  4. package/base/axis/y-axis.component.d.ts +1 -1
  5. package/base/chart.component.d.ts +1 -1
  6. package/base/dataset/dataset.component.d.ts +1 -1
  7. package/base/series/series.component.d.ts +1 -1
  8. package/base/src/axis/README.md +58 -0
  9. package/base/src/dataset/README.md +80 -0
  10. package/clustering/clustering.component.d.ts +1 -1
  11. package/esm2020/bar/bar.component.mjs +135 -0
  12. package/{esm2022 → esm2020}/bar/bar.module.mjs +5 -5
  13. package/esm2020/base/axis/axis.component.mjs +127 -0
  14. package/esm2020/base/axis/x-axis.component.mjs +55 -0
  15. package/esm2020/base/axis/y-axis.component.mjs +55 -0
  16. package/{esm2022 → esm2020}/base/base.module.mjs +11 -11
  17. package/esm2020/base/chart-options.service.mjs +65 -0
  18. package/esm2020/base/chart.component.mjs +195 -0
  19. package/esm2020/base/dataset/dataset.component.mjs +52 -0
  20. package/esm2020/base/series/series.component.mjs +91 -0
  21. package/esm2020/clustering/clustering.component.mjs +233 -0
  22. package/{esm2022 → esm2020}/clustering/clustering.module.mjs +5 -5
  23. package/esm2020/graph/graph.component.mjs +185 -0
  24. package/{esm2022 → esm2020}/graph/graph.module.mjs +5 -5
  25. package/esm2020/histogram/histogram.component.mjs +125 -0
  26. package/{esm2022 → esm2020}/histogram/histogram.module.mjs +5 -5
  27. package/esm2020/line/line.component.mjs +159 -0
  28. package/{esm2022 → esm2020}/line/line.module.mjs +5 -5
  29. package/esm2020/map/map.component.mjs +132 -0
  30. package/{esm2022 → esm2020}/map/map.module.mjs +5 -5
  31. package/esm2020/pie/pie.component.mjs +127 -0
  32. package/{esm2022 → esm2020}/pie/pie.module.mjs +5 -5
  33. package/esm2020/regression/regression.component.mjs +137 -0
  34. package/{esm2022 → esm2020}/regression/regression.module.mjs +5 -5
  35. package/esm2020/sankey/sankey.component.mjs +117 -0
  36. package/{esm2022 → esm2020}/sankey/sankey.module.mjs +5 -5
  37. package/esm2020/scatter/scatter.component.mjs +144 -0
  38. package/{esm2022 → esm2020}/scatter/scatter.module.mjs +5 -5
  39. package/esm2020/toolbox/toolbox.component.mjs +135 -0
  40. package/{esm2022 → esm2020}/toolbox/toolbox.module.mjs +7 -7
  41. package/esm2020/tooltip/series-tooltip.component.mjs +102 -0
  42. package/esm2020/tooltip/tooltip.component.mjs +156 -0
  43. package/{esm2022 → esm2020}/tooltip/tooltip.module.mjs +9 -9
  44. package/esm2020/tree/tree.component.mjs +117 -0
  45. package/{esm2022 → esm2020}/tree/tree.module.mjs +5 -5
  46. package/esm2020/treemap/treemap.component.mjs +149 -0
  47. package/{esm2022 → esm2020}/treemap/treemap.module.mjs +5 -5
  48. package/esm2020/wordcloud/wordcloud.component.mjs +92 -0
  49. package/{esm2022 → esm2020}/wordcloud/wordcloud.module.mjs +5 -5
  50. package/{fesm2022 → fesm2015}/covalent-echarts-bar.mjs +12 -40
  51. package/fesm2015/covalent-echarts-bar.mjs.map +1 -0
  52. package/fesm2015/covalent-echarts-base.mjs +4931 -0
  53. package/{fesm2022 → fesm2015}/covalent-echarts-base.mjs.map +1 -1
  54. package/{fesm2022 → fesm2015}/covalent-echarts-clustering.mjs +12 -54
  55. package/fesm2015/covalent-echarts-clustering.mjs.map +1 -0
  56. package/{fesm2022 → fesm2015}/covalent-echarts-graph.mjs +12 -57
  57. package/{fesm2022 → fesm2015}/covalent-echarts-graph.mjs.map +1 -1
  58. package/fesm2015/covalent-echarts-histogram.mjs +151 -0
  59. package/fesm2015/covalent-echarts-histogram.mjs.map +1 -0
  60. package/{fesm2022 → fesm2015}/covalent-echarts-line.mjs +12 -48
  61. package/fesm2015/covalent-echarts-line.mjs.map +1 -0
  62. package/{fesm2022 → fesm2015}/covalent-echarts-map.mjs +12 -39
  63. package/fesm2015/covalent-echarts-map.mjs.map +1 -0
  64. package/{fesm2022 → fesm2015}/covalent-echarts-pie.mjs +12 -38
  65. package/fesm2015/covalent-echarts-pie.mjs.map +1 -0
  66. package/fesm2015/covalent-echarts-regression.mjs +163 -0
  67. package/fesm2015/covalent-echarts-regression.mjs.map +1 -0
  68. package/{fesm2022 → fesm2015}/covalent-echarts-sankey.mjs +12 -34
  69. package/fesm2015/covalent-echarts-sankey.mjs.map +1 -0
  70. package/{fesm2022 → fesm2015}/covalent-echarts-scatter.mjs +12 -43
  71. package/fesm2015/covalent-echarts-scatter.mjs.map +1 -0
  72. package/fesm2015/covalent-echarts-toolbox.mjs +158 -0
  73. package/fesm2015/covalent-echarts-toolbox.mjs.map +1 -0
  74. package/{fesm2022 → fesm2015}/covalent-echarts-tooltip.mjs +47 -69
  75. package/{fesm2022 → fesm2015}/covalent-echarts-tooltip.mjs.map +1 -1
  76. package/{fesm2022 → fesm2015}/covalent-echarts-tree.mjs +12 -34
  77. package/{fesm2022 → fesm2015}/covalent-echarts-tree.mjs.map +1 -1
  78. package/{fesm2022 → fesm2015}/covalent-echarts-treemap.mjs +13 -46
  79. package/fesm2015/covalent-echarts-treemap.mjs.map +1 -0
  80. package/{fesm2022 → fesm2015}/covalent-echarts-wordcloud.mjs +12 -26
  81. package/fesm2015/covalent-echarts-wordcloud.mjs.map +1 -0
  82. package/fesm2020/covalent-echarts-bar.mjs +158 -0
  83. package/fesm2020/covalent-echarts-bar.mjs.map +1 -0
  84. package/{fesm2022 → fesm2020}/covalent-echarts-base.mjs +69 -135
  85. package/fesm2020/covalent-echarts-base.mjs.map +1 -0
  86. package/fesm2020/covalent-echarts-clustering.mjs +258 -0
  87. package/{fesm2022 → fesm2020}/covalent-echarts-clustering.mjs.map +1 -1
  88. package/fesm2020/covalent-echarts-graph.mjs +210 -0
  89. package/fesm2020/covalent-echarts-graph.mjs.map +1 -0
  90. package/{fesm2022 → fesm2020}/covalent-echarts-histogram.mjs +12 -14
  91. package/{fesm2022 → fesm2020}/covalent-echarts-histogram.mjs.map +1 -1
  92. package/fesm2020/covalent-echarts-line.mjs +182 -0
  93. package/fesm2020/covalent-echarts-line.mjs.map +1 -0
  94. package/fesm2020/covalent-echarts-map.mjs +155 -0
  95. package/{fesm2022 → fesm2020}/covalent-echarts-map.mjs.map +1 -1
  96. package/fesm2020/covalent-echarts-pie.mjs +150 -0
  97. package/fesm2020/covalent-echarts-pie.mjs.map +1 -0
  98. package/{fesm2022 → fesm2020}/covalent-echarts-regression.mjs +12 -15
  99. package/fesm2020/covalent-echarts-regression.mjs.map +1 -0
  100. package/fesm2020/covalent-echarts-sankey.mjs +142 -0
  101. package/fesm2020/covalent-echarts-sankey.mjs.map +1 -0
  102. package/fesm2020/covalent-echarts-scatter.mjs +169 -0
  103. package/fesm2020/covalent-echarts-scatter.mjs.map +1 -0
  104. package/{fesm2022 → fesm2020}/covalent-echarts-toolbox.mjs +23 -37
  105. package/{fesm2022 → fesm2020}/covalent-echarts-toolbox.mjs.map +1 -1
  106. package/fesm2020/covalent-echarts-tooltip.mjs +283 -0
  107. package/fesm2020/covalent-echarts-tooltip.mjs.map +1 -0
  108. package/fesm2020/covalent-echarts-tree.mjs +140 -0
  109. package/fesm2020/covalent-echarts-tree.mjs.map +1 -0
  110. package/fesm2020/covalent-echarts-treemap.mjs +174 -0
  111. package/fesm2020/covalent-echarts-treemap.mjs.map +1 -0
  112. package/fesm2020/covalent-echarts-wordcloud.mjs +117 -0
  113. package/fesm2020/covalent-echarts-wordcloud.mjs.map +1 -0
  114. package/fesm2020/covalent-echarts.mjs +4 -0
  115. package/fesm2020/covalent-echarts.mjs.map +1 -0
  116. package/graph/graph.component.d.ts +1 -1
  117. package/histogram/histogram.component.d.ts +1 -1
  118. package/line/line.component.d.ts +1 -1
  119. package/map/map.component.d.ts +1 -1
  120. package/package.json +99 -57
  121. package/pie/pie.component.d.ts +1 -1
  122. package/regression/regression.component.d.ts +1 -1
  123. package/sankey/sankey.component.d.ts +1 -1
  124. package/scatter/scatter.component.d.ts +1 -1
  125. package/toolbox/toolbox.component.d.ts +1 -1
  126. package/tooltip/series-tooltip.component.d.ts +1 -1
  127. package/tooltip/tooltip.component.d.ts +1 -1
  128. package/tree/tree.component.d.ts +1 -1
  129. package/treemap/treemap.component.d.ts +2 -2
  130. package/wordcloud/wordcloud.component.d.ts +1 -1
  131. package/esm2022/bar/bar.component.mjs +0 -163
  132. package/esm2022/base/axis/axis.component.mjs +0 -157
  133. package/esm2022/base/axis/x-axis.component.mjs +0 -56
  134. package/esm2022/base/axis/y-axis.component.mjs +0 -56
  135. package/esm2022/base/chart-options.service.mjs +0 -63
  136. package/esm2022/base/chart.component.mjs +0 -211
  137. package/esm2022/base/dataset/dataset.component.mjs +0 -57
  138. package/esm2022/base/series/series.component.mjs +0 -106
  139. package/esm2022/clustering/clustering.component.mjs +0 -275
  140. package/esm2022/graph/graph.component.mjs +0 -230
  141. package/esm2022/histogram/histogram.component.mjs +0 -127
  142. package/esm2022/line/line.component.mjs +0 -195
  143. package/esm2022/map/map.component.mjs +0 -159
  144. package/esm2022/pie/pie.component.mjs +0 -153
  145. package/esm2022/regression/regression.component.mjs +0 -140
  146. package/esm2022/sankey/sankey.component.mjs +0 -139
  147. package/esm2022/scatter/scatter.component.mjs +0 -175
  148. package/esm2022/toolbox/toolbox.component.mjs +0 -149
  149. package/esm2022/tooltip/series-tooltip.component.mjs +0 -112
  150. package/esm2022/tooltip/tooltip.component.mjs +0 -168
  151. package/esm2022/tree/tree.component.mjs +0 -139
  152. package/esm2022/treemap/treemap.component.mjs +0 -182
  153. package/esm2022/wordcloud/wordcloud.component.mjs +0 -106
  154. package/fesm2022/covalent-echarts-bar.mjs.map +0 -1
  155. package/fesm2022/covalent-echarts-line.mjs.map +0 -1
  156. package/fesm2022/covalent-echarts-pie.mjs.map +0 -1
  157. package/fesm2022/covalent-echarts-regression.mjs.map +0 -1
  158. package/fesm2022/covalent-echarts-sankey.mjs.map +0 -1
  159. package/fesm2022/covalent-echarts-scatter.mjs.map +0 -1
  160. package/fesm2022/covalent-echarts-treemap.mjs.map +0 -1
  161. package/fesm2022/covalent-echarts-wordcloud.mjs.map +0 -1
  162. /package/{esm2022 → esm2020}/bar/covalent-echarts-bar.mjs +0 -0
  163. /package/{esm2022 → esm2020}/bar/public_api.mjs +0 -0
  164. /package/{esm2022 → esm2020}/base/axis/axis.interface.mjs +0 -0
  165. /package/{esm2022 → esm2020}/base/base.types.mjs +0 -0
  166. /package/{esm2022 → esm2020}/base/covalent-echarts-base.mjs +0 -0
  167. /package/{esm2022 → esm2020}/base/public_api.mjs +0 -0
  168. /package/{esm2022 → esm2020}/base/series/series.interface.mjs +0 -0
  169. /package/{esm2022 → esm2020}/base/themes/aqua-splash.mjs +0 -0
  170. /package/{esm2022 → esm2020}/base/themes/california-coast.mjs +0 -0
  171. /package/{esm2022 → esm2020}/base/themes/hawaiian-sunrise.mjs +0 -0
  172. /package/{esm2022 → esm2020}/base/themes/passion-flower.mjs +0 -0
  173. /package/{esm2022 → esm2020}/base/themes/razzleberry-pie.mjs +0 -0
  174. /package/{esm2022 → esm2020}/base/themes/teradata-classic.mjs +0 -0
  175. /package/{esm2022 → esm2020}/base/themes/teradata-default.mjs +0 -0
  176. /package/{esm2022 → esm2020}/base/themes/urban-sunrise.mjs +0 -0
  177. /package/{esm2022 → esm2020}/base/themes/volcanic-eruption.mjs +0 -0
  178. /package/{esm2022 → esm2020}/base/utils/assign-defined.mjs +0 -0
  179. /package/{esm2022 → esm2020}/base/utils/echarts.mjs +0 -0
  180. /package/{esm2022 → esm2020}/base/utils/index.mjs +0 -0
  181. /package/{esm2022 → esm2020}/clustering/covalent-echarts-clustering.mjs +0 -0
  182. /package/{esm2022 → esm2020}/clustering/public_api.mjs +0 -0
  183. /package/{esm2022 → esm2020}/covalent-echarts.mjs +0 -0
  184. /package/{esm2022 → esm2020}/graph/covalent-echarts-graph.mjs +0 -0
  185. /package/{esm2022 → esm2020}/graph/public_api.mjs +0 -0
  186. /package/{esm2022 → esm2020}/histogram/covalent-echarts-histogram.mjs +0 -0
  187. /package/{esm2022 → esm2020}/histogram/public_api.mjs +0 -0
  188. /package/{esm2022 → esm2020}/line/covalent-echarts-line.mjs +0 -0
  189. /package/{esm2022 → esm2020}/line/public_api.mjs +0 -0
  190. /package/{esm2022 → esm2020}/map/covalent-echarts-map.mjs +0 -0
  191. /package/{esm2022 → esm2020}/map/public_api.mjs +0 -0
  192. /package/{esm2022 → esm2020}/pie/covalent-echarts-pie.mjs +0 -0
  193. /package/{esm2022 → esm2020}/pie/public_api.mjs +0 -0
  194. /package/{esm2022 → esm2020}/public_api.mjs +0 -0
  195. /package/{esm2022 → esm2020}/regression/covalent-echarts-regression.mjs +0 -0
  196. /package/{esm2022 → esm2020}/regression/public_api.mjs +0 -0
  197. /package/{esm2022 → esm2020}/sankey/covalent-echarts-sankey.mjs +0 -0
  198. /package/{esm2022 → esm2020}/sankey/public_api.mjs +0 -0
  199. /package/{esm2022 → esm2020}/scatter/covalent-echarts-scatter.mjs +0 -0
  200. /package/{esm2022 → esm2020}/scatter/public_api.mjs +0 -0
  201. /package/{esm2022 → esm2020}/toolbox/covalent-echarts-toolbox.mjs +0 -0
  202. /package/{esm2022 → esm2020}/toolbox/public_api.mjs +0 -0
  203. /package/{esm2022 → esm2020}/tooltip/covalent-echarts-tooltip.mjs +0 -0
  204. /package/{esm2022 → esm2020}/tooltip/public_api.mjs +0 -0
  205. /package/{esm2022 → esm2020}/tree/covalent-echarts-tree.mjs +0 -0
  206. /package/{esm2022 → esm2020}/tree/public_api.mjs +0 -0
  207. /package/{esm2022 → esm2020}/treemap/covalent-echarts-treemap.mjs +0 -0
  208. /package/{esm2022 → esm2020}/treemap/public_api.mjs +0 -0
  209. /package/{esm2022 → esm2020}/wordcloud/covalent-echarts-wordcloud.mjs +0 -0
  210. /package/{esm2022 → esm2020}/wordcloud/public_api.mjs +0 -0
  211. /package/{fesm2022 → fesm2015}/covalent-echarts.mjs +0 -0
  212. /package/{fesm2022 → fesm2015}/covalent-echarts.mjs.map +0 -0
@@ -0,0 +1,258 @@
1
+ import * as i0 from '@angular/core';
2
+ import { forwardRef, Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
3
+ import { CommonModule } from '@angular/common';
4
+ import * as i1 from '@covalent/echarts/base';
5
+ import { TdSeriesDirective, assignDefined } from '@covalent/echarts/base';
6
+ import * as ecStat from 'echarts-stat';
7
+
8
+ class TdChartSeriesClusteringComponent extends TdSeriesDirective {
9
+ constructor(_optionsService) {
10
+ super('scatter', _optionsService);
11
+ }
12
+ ngOnChanges() {
13
+ if (this.originalData) {
14
+ this.data = this.originalData;
15
+ }
16
+ else {
17
+ this.originalData = this.data;
18
+ }
19
+ const output = this.data;
20
+ const result = ecStat.clustering.hierarchicalKMeans(output, this.clusterCount, false);
21
+ const series = [];
22
+ for (let i = 0; i < result.centroids.length; i++) {
23
+ series.push({
24
+ name: `cluster ${i + 1}`,
25
+ type: 'scatter',
26
+ data: result.pointsInCluster[i],
27
+ markPoint: this.showCentroids
28
+ ? {
29
+ symbolSize: 30,
30
+ itemStyle: {
31
+ normal: {
32
+ opacity: 0.8,
33
+ },
34
+ },
35
+ data: [
36
+ {
37
+ coord: result.centroids[i],
38
+ label: { show: false },
39
+ name: `centroid ${i + 1}`,
40
+ value: result.centroids[i],
41
+ },
42
+ ],
43
+ }
44
+ : {},
45
+ });
46
+ }
47
+ this.optionsService.setOption('series', series);
48
+ this.data = [];
49
+ this.setOptions();
50
+ }
51
+ getConfig() {
52
+ return {
53
+ clusterCount: this.clusterCount,
54
+ showCentroids: this.showCentroids,
55
+ bottom: this.bottom,
56
+ calendarIndex: this.calendarIndex,
57
+ circular: this.circular,
58
+ coordinateSystem: this.coordinateSystem,
59
+ cursor: this.cursor,
60
+ edgeLabel: this.edgeLabel,
61
+ edges: this.edges,
62
+ edgeSymbol: this.edgeSymbol,
63
+ edgeSymbolSize: this.edgeSymbolSize,
64
+ emphasis: this.emphasis,
65
+ focusNodeAdjacency: this.focusNodeAdjacency,
66
+ geoIndex: this.geoIndex,
67
+ height: this.height,
68
+ hoverAnimation: this.hoverAnimation,
69
+ itemStyle: this.itemStyle,
70
+ label: this.label,
71
+ left: this.left,
72
+ legendHoverLink: this.legendHoverLink,
73
+ lineStyle: this.lineStyle,
74
+ links: this.links,
75
+ markArea: this.markArea,
76
+ markLine: this.markLine,
77
+ markPoint: this.markPoint,
78
+ nodes: this.nodes,
79
+ nodeScaleRatio: this.nodeScaleRatio,
80
+ polarIndex: this.polarIndex,
81
+ right: this.right,
82
+ silent: this.silent,
83
+ symbol: this.symbol,
84
+ symbolKeepAspect: this.symbolKeepAspect,
85
+ symbolOffset: this.symbolOffset,
86
+ symbolRotate: this.symbolRotate,
87
+ symbolSize: this.symbolSize,
88
+ top: this.top,
89
+ width: this.width,
90
+ xAxisIndex: this.xAxisIndex,
91
+ yAxisIndex: this.yAxisIndex,
92
+ z: this.z,
93
+ zlevel: this.zlevel,
94
+ };
95
+ }
96
+ setOptions() {
97
+ const config = assignDefined(this._state, {
98
+ id: this.id,
99
+ type: this.type,
100
+ name: this.name,
101
+ color: this.color,
102
+ data: this.data,
103
+ animation: this.animation,
104
+ animationThreshold: this.animationThreshold,
105
+ animationDuration: this.animationDuration,
106
+ animationEasing: this.animationEasing,
107
+ animationDelay: this.animationDelay,
108
+ animationDurationUpdate: this.animationDurationUpdate,
109
+ animationEasingUpdate: this.animationEasingUpdate,
110
+ animationDelayUpdate: this.animationDelayUpdate,
111
+ tooltip: this.tooltip,
112
+ }, this.getConfig(), this._options, this.config ? this.config : {});
113
+ this.optionsService.setArrayOption('scatter', config);
114
+ }
115
+ }
116
+ TdChartSeriesClusteringComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartSeriesClusteringComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
117
+ TdChartSeriesClusteringComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TdChartSeriesClusteringComponent, selector: "td-chart-series[td-clustering]", 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", clusterCount: "clusterCount", showCentroids: "showCentroids", bottom: "bottom", calendarIndex: "calendarIndex", circular: "circular", coordinateSystem: "coordinateSystem", cursor: "cursor", edgeLabel: "edgeLabel", edges: "edges", edgeSymbol: "edgeSymbol", edgeSymbolSize: "edgeSymbolSize", emphasis: "emphasis", focusNodeAdjacency: "focusNodeAdjacency", geoIndex: "geoIndex", height: "height", hoverAnimation: "hoverAnimation", itemStyle: "itemStyle", label: "label", left: "left", legendHoverLink: "legendHoverLink", lineStyle: "lineStyle", links: "links", markArea: "markArea", markLine: "markLine", markPoint: "markPoint", nodes: "nodes", nodeScaleRatio: "nodeScaleRatio", polarIndex: "polarIndex", right: "right", silent: "silent", symbol: "symbol", symbolKeepAspect: "symbolKeepAspect", symbolOffset: "symbolOffset", symbolRotate: "symbolRotate", symbolSize: "symbolSize", top: "top", width: "width", xAxisIndex: "xAxisIndex", yAxisIndex: "yAxisIndex", z: "z", zlevel: "zlevel" }, providers: [
118
+ {
119
+ provide: TdSeriesDirective,
120
+ useExisting: forwardRef(() => TdChartSeriesClusteringComponent),
121
+ },
122
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
123
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartSeriesClusteringComponent, decorators: [{
124
+ type: Component,
125
+ args: [{
126
+ selector: 'td-chart-series[td-clustering]',
127
+ template: '',
128
+ changeDetection: ChangeDetectionStrategy.OnPush,
129
+ inputs: [
130
+ 'config',
131
+ 'id',
132
+ 'name',
133
+ 'color',
134
+ 'data',
135
+ 'animation',
136
+ 'animationThreshold',
137
+ 'animationDuration',
138
+ 'animationEasing',
139
+ 'animationDelay',
140
+ 'animationDurationUpdate',
141
+ 'animationEasingUpdate',
142
+ 'animationDelayUpdate',
143
+ 'tooltip',
144
+ ],
145
+ providers: [
146
+ {
147
+ provide: TdSeriesDirective,
148
+ useExisting: forwardRef(() => TdChartSeriesClusteringComponent),
149
+ },
150
+ ],
151
+ }]
152
+ }], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { clusterCount: [{
153
+ type: Input
154
+ }], showCentroids: [{
155
+ type: Input
156
+ }], bottom: [{
157
+ type: Input
158
+ }], calendarIndex: [{
159
+ type: Input
160
+ }], circular: [{
161
+ type: Input
162
+ }], coordinateSystem: [{
163
+ type: Input
164
+ }], cursor: [{
165
+ type: Input
166
+ }], edgeLabel: [{
167
+ type: Input
168
+ }], edges: [{
169
+ type: Input
170
+ }], edgeSymbol: [{
171
+ type: Input
172
+ }], edgeSymbolSize: [{
173
+ type: Input
174
+ }], emphasis: [{
175
+ type: Input
176
+ }], focusNodeAdjacency: [{
177
+ type: Input
178
+ }], geoIndex: [{
179
+ type: Input
180
+ }], height: [{
181
+ type: Input
182
+ }], hoverAnimation: [{
183
+ type: Input
184
+ }], itemStyle: [{
185
+ type: Input
186
+ }], label: [{
187
+ type: Input
188
+ }], left: [{
189
+ type: Input
190
+ }], legendHoverLink: [{
191
+ type: Input
192
+ }], lineStyle: [{
193
+ type: Input
194
+ }], links: [{
195
+ type: Input
196
+ }], markArea: [{
197
+ type: Input
198
+ }], markLine: [{
199
+ type: Input
200
+ }], markPoint: [{
201
+ type: Input
202
+ }], nodes: [{
203
+ type: Input
204
+ }], nodeScaleRatio: [{
205
+ type: Input
206
+ }], polarIndex: [{
207
+ type: Input
208
+ }], right: [{
209
+ type: Input
210
+ }], silent: [{
211
+ type: Input
212
+ }], symbol: [{
213
+ type: Input
214
+ }], symbolKeepAspect: [{
215
+ type: Input
216
+ }], symbolOffset: [{
217
+ type: Input
218
+ }], symbolRotate: [{
219
+ type: Input
220
+ }], symbolSize: [{
221
+ type: Input
222
+ }], top: [{
223
+ type: Input
224
+ }], width: [{
225
+ type: Input
226
+ }], xAxisIndex: [{
227
+ type: Input
228
+ }], yAxisIndex: [{
229
+ type: Input
230
+ }], z: [{
231
+ type: Input
232
+ }], zlevel: [{
233
+ type: Input
234
+ }] } });
235
+
236
+ const CLUSTERING_MODULE_COMPONENTS = [
237
+ TdChartSeriesClusteringComponent,
238
+ ];
239
+ class CovalentClusteringEchartsModule {
240
+ }
241
+ CovalentClusteringEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentClusteringEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
242
+ CovalentClusteringEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CovalentClusteringEchartsModule, declarations: [TdChartSeriesClusteringComponent], imports: [CommonModule], exports: [TdChartSeriesClusteringComponent] });
243
+ CovalentClusteringEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentClusteringEchartsModule, imports: [CommonModule] });
244
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentClusteringEchartsModule, decorators: [{
245
+ type: NgModule,
246
+ args: [{
247
+ imports: [CommonModule],
248
+ declarations: [CLUSTERING_MODULE_COMPONENTS],
249
+ exports: [CLUSTERING_MODULE_COMPONENTS],
250
+ }]
251
+ }] });
252
+
253
+ /**
254
+ * Generated bundle index. Do not edit.
255
+ */
256
+
257
+ export { CLUSTERING_MODULE_COMPONENTS, CovalentClusteringEchartsModule, TdChartSeriesClusteringComponent };
258
+ //# sourceMappingURL=covalent-echarts-clustering.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts-clustering.mjs","sources":["../../../../libs/angular-echarts/clustering/src/clustering.component.ts","../../../../libs/angular-echarts/clustering/src/clustering.module.ts","../../../../libs/angular-echarts/clustering/src/covalent-echarts-clustering.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n OnChanges,\n} from '@angular/core';\n\nimport {\n assignDefined,\n ITdEdgeLabel,\n ITdEmphasis,\n ITdItemStyle,\n ITdLabel,\n ITdLineStyle,\n ITdMarkArea,\n ITdMarkLine,\n ITdMarkPoint,\n ITdSeries,\n TdChartOptionsService,\n TdCoordinateSystem,\n TdMarkPointSymbol,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\nimport * as ecStat from 'echarts-stat';\n\nexport interface ITdClusteringSeries extends ITdSeries {\n clusterCount: number;\n showCentroids: boolean;\n animation?: boolean;\n animationDelay?: number | Function;\n animationDelayUpdate?: number | Function;\n animationDuration?: number | Function;\n animationDurationUpdate?: number | Function;\n animationEasing?: string;\n animationEasingUpdate?: string;\n animationThreshold?: number;\n bottom?: string | number;\n calendarIndex?: number;\n circular?: object;\n coordinateSystem?: TdCoordinateSystem;\n cursor?: string;\n edgeLabel?: ITdEdgeLabel;\n edges?: any[];\n edgeSymbol?: any[] | string;\n edgeSymbolSize?: number;\n emphasis?: ITdEmphasis;\n focusNodeAdjacency?: boolean;\n geoIndex?: number;\n height?: string | number;\n hoverAnimation?: boolean;\n itemStyle?: ITdItemStyle;\n label?: ITdLabel;\n left?: string | number;\n legendHoverLink?: boolean;\n lineStyle?: ITdLineStyle;\n links?: any[];\n markArea?: ITdMarkArea;\n markLine?: ITdMarkLine;\n markPoint?: ITdMarkPoint;\n nodes?: any[];\n nodeScaleRatio?: boolean;\n polarIndex?: number;\n right?: string | number;\n silent?: boolean;\n symbol?: TdMarkPointSymbol | string;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n symbolRotate?: number;\n symbolSize?: number | any[] | Function;\n top?: string | number;\n width?: string | number;\n xAxisIndex?: number;\n yAxisIndex?: number;\n z?: number;\n zlevel?: number;\n}\n\n@Component({\n selector: 'td-chart-series[td-clustering]',\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(() => TdChartSeriesClusteringComponent),\n },\n ],\n})\nexport class TdChartSeriesClusteringComponent\n extends TdSeriesDirective\n implements ITdClusteringSeries, OnChanges\n{\n @Input() clusterCount!: number;\n @Input() showCentroids!: boolean;\n @Input() bottom?: string | number;\n @Input() calendarIndex?: number;\n @Input() circular?: object;\n @Input() coordinateSystem?: TdCoordinateSystem;\n @Input() cursor?: string;\n @Input() edgeLabel?: ITdEdgeLabel;\n @Input() edges?: any[];\n @Input() edgeSymbol?: any[] | string;\n @Input() edgeSymbolSize?: number;\n @Input() emphasis?: ITdEmphasis;\n @Input() focusNodeAdjacency?: boolean;\n @Input() geoIndex?: number;\n @Input() height?: string | number;\n @Input() hoverAnimation?: boolean;\n @Input() itemStyle?: ITdItemStyle;\n @Input() label?: ITdLabel;\n @Input() left?: string | number;\n @Input() legendHoverLink?: boolean;\n @Input() lineStyle?: ITdLineStyle;\n @Input() links?: any[];\n @Input() markArea?: ITdMarkArea;\n @Input() markLine?: ITdMarkLine;\n @Input() markPoint?: ITdMarkPoint;\n @Input() nodes?: any[];\n @Input() nodeScaleRatio?: boolean;\n @Input() polarIndex?: number;\n @Input() right?: string | number;\n @Input() silent?: boolean;\n @Input() symbol?: TdMarkPointSymbol | string;\n @Input() symbolKeepAspect?: boolean;\n @Input() symbolOffset?: any[];\n @Input() symbolRotate?: number;\n @Input() symbolSize?: number | any[] | Function;\n @Input() top?: string | number;\n @Input() width?: string | number;\n @Input() xAxisIndex?: number;\n @Input() yAxisIndex?: number;\n @Input() z?: number;\n @Input() zlevel?: number;\n originalData: any;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('scatter', _optionsService);\n }\n\n override ngOnChanges(): void {\n if (this.originalData) {\n this.data = this.originalData;\n } else {\n this.originalData = this.data;\n }\n const output: any = this.data;\n const result = ecStat.clustering.hierarchicalKMeans(\n output,\n this.clusterCount,\n false\n );\n const series = [];\n\n for (let i = 0; i < result.centroids.length; i++) {\n series.push({\n name: `cluster ${i + 1}`,\n type: 'scatter',\n data: result.pointsInCluster[i],\n markPoint: this.showCentroids\n ? {\n symbolSize: 30,\n itemStyle: {\n normal: {\n opacity: 0.8,\n },\n },\n data: [\n {\n coord: result.centroids[i],\n label: { show: false },\n name: `centroid ${i + 1}`,\n value: result.centroids[i],\n },\n ],\n }\n : {},\n });\n }\n this.optionsService.setOption('series', series);\n this.data = [];\n this.setOptions();\n }\n\n override getConfig(): any {\n return {\n clusterCount: this.clusterCount,\n showCentroids: this.showCentroids,\n bottom: this.bottom,\n calendarIndex: this.calendarIndex,\n circular: this.circular,\n coordinateSystem: this.coordinateSystem,\n cursor: this.cursor,\n edgeLabel: this.edgeLabel,\n edges: this.edges,\n edgeSymbol: this.edgeSymbol,\n edgeSymbolSize: this.edgeSymbolSize,\n emphasis: this.emphasis,\n focusNodeAdjacency: this.focusNodeAdjacency,\n geoIndex: this.geoIndex,\n height: this.height,\n hoverAnimation: this.hoverAnimation,\n itemStyle: this.itemStyle,\n label: this.label,\n left: this.left,\n legendHoverLink: this.legendHoverLink,\n lineStyle: this.lineStyle,\n links: this.links,\n markArea: this.markArea,\n markLine: this.markLine,\n markPoint: this.markPoint,\n nodes: this.nodes,\n nodeScaleRatio: this.nodeScaleRatio,\n polarIndex: this.polarIndex,\n right: this.right,\n silent: this.silent,\n symbol: this.symbol,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n symbolRotate: this.symbolRotate,\n symbolSize: this.symbolSize,\n top: this.top,\n width: this.width,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n z: this.z,\n zlevel: this.zlevel,\n };\n }\n\n private setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n id: this.id,\n type: this.type,\n name: this.name,\n color: this.color,\n data: this.data,\n animation: this.animation,\n animationThreshold: this.animationThreshold,\n animationDuration: this.animationDuration,\n animationEasing: this.animationEasing,\n animationDelay: this.animationDelay,\n animationDurationUpdate: this.animationDurationUpdate,\n animationEasingUpdate: this.animationEasingUpdate,\n animationDelayUpdate: this.animationDelayUpdate,\n tooltip: this.tooltip,\n },\n this.getConfig(),\n this._options,\n this.config ? this.config : {}\n );\n this.optionsService.setArrayOption('scatter', config);\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesClusteringComponent } from './clustering.component';\n\nexport const CLUSTERING_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesClusteringComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [CLUSTERING_MODULE_COMPONENTS],\n exports: [CLUSTERING_MODULE_COMPONENTS],\n})\nexport class CovalentClusteringEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;AA0GM,MAAO,gCACX,SAAQ,iBAAiB,CAAA;AAGhB,IAAA,YAAY,CAAU;AACtB,IAAA,aAAa,CAAW;AACxB,IAAA,MAAM,CAAmB;AACzB,IAAA,aAAa,CAAU;AACvB,IAAA,QAAQ,CAAU;AAClB,IAAA,gBAAgB,CAAsB;AACtC,IAAA,MAAM,CAAU;AAChB,IAAA,SAAS,CAAgB;AACzB,IAAA,KAAK,CAAS;AACd,IAAA,UAAU,CAAkB;AAC5B,IAAA,cAAc,CAAU;AACxB,IAAA,QAAQ,CAAe;AACvB,IAAA,kBAAkB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GAAG,EAAA,CAAA;sBAAX,KAAK;gBACG,KAAK,EAAA,CAAA;sBAAb,KAAK;gBACG,UAAU,EAAA,CAAA;sBAAlB,KAAK;gBACG,UAAU,EAAA,CAAA;sBAAlB,KAAK;gBACG,CAAC,EAAA,CAAA;sBAAT,KAAK;gBACG,MAAM,EAAA,CAAA;sBAAd,KAAK;;;ACjJK,MAAA,4BAA4B,GAAgB;IACvD,gCAAgC;EAChC;MAOW,+BAA+B,CAAA;uGAA/B,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA/B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,EAR1C,YAAA,EAAA,CAAA,gCAAgC,CAItB,EAAA,OAAA,EAAA,CAAA,YAAY,aAJtB,gCAAgC,CAAA,EAAA,CAAA,CAAA;AAQrB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,YAJhC,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAIX,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAL3C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,4BAA4B,CAAC;oBAC5C,OAAO,EAAE,CAAC,4BAA4B,CAAC;AACxC,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
1
+ {"version":3,"file":"covalent-echarts-clustering.mjs","sources":["../../../../libs/angular-echarts/clustering/src/clustering.component.ts","../../../../libs/angular-echarts/clustering/src/clustering.module.ts","../../../../libs/angular-echarts/clustering/src/covalent-echarts-clustering.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n OnChanges,\n} from '@angular/core';\n\nimport {\n assignDefined,\n ITdEdgeLabel,\n ITdEmphasis,\n ITdItemStyle,\n ITdLabel,\n ITdLineStyle,\n ITdMarkArea,\n ITdMarkLine,\n ITdMarkPoint,\n ITdSeries,\n TdChartOptionsService,\n TdCoordinateSystem,\n TdMarkPointSymbol,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\nimport * as ecStat from 'echarts-stat';\n\nexport interface ITdClusteringSeries extends ITdSeries {\n clusterCount: number;\n showCentroids: boolean;\n animation?: boolean;\n animationDelay?: number | Function;\n animationDelayUpdate?: number | Function;\n animationDuration?: number | Function;\n animationDurationUpdate?: number | Function;\n animationEasing?: string;\n animationEasingUpdate?: string;\n animationThreshold?: number;\n bottom?: string | number;\n calendarIndex?: number;\n circular?: object;\n coordinateSystem?: TdCoordinateSystem;\n cursor?: string;\n edgeLabel?: ITdEdgeLabel;\n edges?: any[];\n edgeSymbol?: any[] | string;\n edgeSymbolSize?: number;\n emphasis?: ITdEmphasis;\n focusNodeAdjacency?: boolean;\n geoIndex?: number;\n height?: string | number;\n hoverAnimation?: boolean;\n itemStyle?: ITdItemStyle;\n label?: ITdLabel;\n left?: string | number;\n legendHoverLink?: boolean;\n lineStyle?: ITdLineStyle;\n links?: any[];\n markArea?: ITdMarkArea;\n markLine?: ITdMarkLine;\n markPoint?: ITdMarkPoint;\n nodes?: any[];\n nodeScaleRatio?: boolean;\n polarIndex?: number;\n right?: string | number;\n silent?: boolean;\n symbol?: TdMarkPointSymbol | string;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n symbolRotate?: number;\n symbolSize?: number | any[] | Function;\n top?: string | number;\n width?: string | number;\n xAxisIndex?: number;\n yAxisIndex?: number;\n z?: number;\n zlevel?: number;\n}\n\n@Component({\n selector: 'td-chart-series[td-clustering]',\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(() => TdChartSeriesClusteringComponent),\n },\n ],\n})\nexport class TdChartSeriesClusteringComponent\n extends TdSeriesDirective\n implements ITdClusteringSeries, OnChanges\n{\n @Input() clusterCount!: number;\n @Input() showCentroids!: boolean;\n @Input() bottom?: string | number;\n @Input() calendarIndex?: number;\n @Input() circular?: object;\n @Input() coordinateSystem?: TdCoordinateSystem;\n @Input() cursor?: string;\n @Input() edgeLabel?: ITdEdgeLabel;\n @Input() edges?: any[];\n @Input() edgeSymbol?: any[] | string;\n @Input() edgeSymbolSize?: number;\n @Input() emphasis?: ITdEmphasis;\n @Input() focusNodeAdjacency?: boolean;\n @Input() geoIndex?: number;\n @Input() height?: string | number;\n @Input() hoverAnimation?: boolean;\n @Input() itemStyle?: ITdItemStyle;\n @Input() label?: ITdLabel;\n @Input() left?: string | number;\n @Input() legendHoverLink?: boolean;\n @Input() lineStyle?: ITdLineStyle;\n @Input() links?: any[];\n @Input() markArea?: ITdMarkArea;\n @Input() markLine?: ITdMarkLine;\n @Input() markPoint?: ITdMarkPoint;\n @Input() nodes?: any[];\n @Input() nodeScaleRatio?: boolean;\n @Input() polarIndex?: number;\n @Input() right?: string | number;\n @Input() silent?: boolean;\n @Input() symbol?: TdMarkPointSymbol | string;\n @Input() symbolKeepAspect?: boolean;\n @Input() symbolOffset?: any[];\n @Input() symbolRotate?: number;\n @Input() symbolSize?: number | any[] | Function;\n @Input() top?: string | number;\n @Input() width?: string | number;\n @Input() xAxisIndex?: number;\n @Input() yAxisIndex?: number;\n @Input() z?: number;\n @Input() zlevel?: number;\n originalData: any;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('scatter', _optionsService);\n }\n\n override ngOnChanges(): void {\n if (this.originalData) {\n this.data = this.originalData;\n } else {\n this.originalData = this.data;\n }\n const output: any = this.data;\n const result = ecStat.clustering.hierarchicalKMeans(\n output,\n this.clusterCount,\n false\n );\n const series = [];\n\n for (let i = 0; i < result.centroids.length; i++) {\n series.push({\n name: `cluster ${i + 1}`,\n type: 'scatter',\n data: result.pointsInCluster[i],\n markPoint: this.showCentroids\n ? {\n symbolSize: 30,\n itemStyle: {\n normal: {\n opacity: 0.8,\n },\n },\n data: [\n {\n coord: result.centroids[i],\n label: { show: false },\n name: `centroid ${i + 1}`,\n value: result.centroids[i],\n },\n ],\n }\n : {},\n });\n }\n this.optionsService.setOption('series', series);\n this.data = [];\n this.setOptions();\n }\n\n override getConfig(): any {\n return {\n clusterCount: this.clusterCount,\n showCentroids: this.showCentroids,\n bottom: this.bottom,\n calendarIndex: this.calendarIndex,\n circular: this.circular,\n coordinateSystem: this.coordinateSystem,\n cursor: this.cursor,\n edgeLabel: this.edgeLabel,\n edges: this.edges,\n edgeSymbol: this.edgeSymbol,\n edgeSymbolSize: this.edgeSymbolSize,\n emphasis: this.emphasis,\n focusNodeAdjacency: this.focusNodeAdjacency,\n geoIndex: this.geoIndex,\n height: this.height,\n hoverAnimation: this.hoverAnimation,\n itemStyle: this.itemStyle,\n label: this.label,\n left: this.left,\n legendHoverLink: this.legendHoverLink,\n lineStyle: this.lineStyle,\n links: this.links,\n markArea: this.markArea,\n markLine: this.markLine,\n markPoint: this.markPoint,\n nodes: this.nodes,\n nodeScaleRatio: this.nodeScaleRatio,\n polarIndex: this.polarIndex,\n right: this.right,\n silent: this.silent,\n symbol: this.symbol,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n symbolRotate: this.symbolRotate,\n symbolSize: this.symbolSize,\n top: this.top,\n width: this.width,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n z: this.z,\n zlevel: this.zlevel,\n };\n }\n\n private setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n id: this.id,\n type: this.type,\n name: this.name,\n color: this.color,\n data: this.data,\n animation: this.animation,\n animationThreshold: this.animationThreshold,\n animationDuration: this.animationDuration,\n animationEasing: this.animationEasing,\n animationDelay: this.animationDelay,\n animationDurationUpdate: this.animationDurationUpdate,\n animationEasingUpdate: this.animationEasingUpdate,\n animationDelayUpdate: this.animationDelayUpdate,\n tooltip: this.tooltip,\n },\n this.getConfig(),\n this._options,\n this.config ? this.config : {}\n );\n this.optionsService.setArrayOption('scatter', config);\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesClusteringComponent } from './clustering.component';\n\nexport const CLUSTERING_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesClusteringComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [CLUSTERING_MODULE_COMPONENTS],\n exports: [CLUSTERING_MODULE_COMPONENTS],\n})\nexport class CovalentClusteringEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;AA0GM,MAAO,gCACX,SAAQ,iBAAiB,CAAA;AA8CzB,IAAA,WAAA,CAAY,eAAsC,EAAA;AAChD,QAAA,KAAK,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;KACnC;IAEQ,WAAW,GAAA;QAClB,IAAI,IAAI,CAAC,YAAY,EAAE;AACrB,YAAA,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,YAAY,CAAC;AAC/B,SAAA;AAAM,aAAA;AACL,YAAA,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC;AAC/B,SAAA;AACD,QAAA,MAAM,MAAM,GAAQ,IAAI,CAAC,IAAI,CAAC;AAC9B,QAAA,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,kBAAkB,CACjD,MAAM,EACN,IAAI,CAAC,YAAY,EACjB,KAAK,CACN,CAAC;QACF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AAlB,KAAK;gBACG,GAAG,EAAA,CAAA;sBAAX,KAAK;gBACG,KAAK,EAAA,CAAA;sBAAb,KAAK;gBACG,UAAU,EAAA,CAAA;sBAAlB,KAAK;gBACG,UAAU,EAAA,CAAA;sBAAlB,KAAK;gBACG,CAAC,EAAA,CAAA;sBAAT,KAAK;gBACG,MAAM,EAAA,CAAA;sBAAd,KAAK;;;ACjJK,MAAA,4BAA4B,GAAgB;IACvD,gCAAgC;EAChC;MAOW,+BAA+B,CAAA;;6HAA/B,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA/B,+BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,EAR1C,YAAA,EAAA,CAAA,gCAAgC,CAItB,EAAA,OAAA,EAAA,CAAA,YAAY,aAJtB,gCAAgC,CAAA,EAAA,CAAA,CAAA;AAQrB,+BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,YAJhC,YAAY,CAAA,EAAA,CAAA,CAAA;4FAIX,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAL3C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,4BAA4B,CAAC;oBAC5C,OAAO,EAAE,CAAC,4BAA4B,CAAC;AACxC,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
@@ -0,0 +1,210 @@
1
+ import * as i0 from '@angular/core';
2
+ import { forwardRef, Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
3
+ import { CommonModule } from '@angular/common';
4
+ import * as i1 from '@covalent/echarts/base';
5
+ import { TdSeriesDirective } from '@covalent/echarts/base';
6
+
7
+ class TdChartSeriesGraphComponent extends TdSeriesDirective {
8
+ constructor(_optionsService) {
9
+ super('graph', _optionsService);
10
+ }
11
+ getConfig() {
12
+ return {
13
+ legendHoverLink: this.legendHoverLink,
14
+ coordinateSystem: this.coordinateSystem,
15
+ xAxisIndex: this.xAxisIndex,
16
+ yAxisIndex: this.yAxisIndex,
17
+ polarIndex: this.polarIndex,
18
+ calendarIndex: this.calendarIndex,
19
+ geoIndex: this.geoIndex,
20
+ hoverAnimation: this.hoverAnimation,
21
+ circular: this.circular,
22
+ force: this.force,
23
+ layout: this.layout,
24
+ nodeScaleRatio: this.nodeScaleRatio,
25
+ draggable: this.draggable,
26
+ symbol: this.symbol,
27
+ symbolSize: this.symbolSize,
28
+ symbolRotate: this.symbolRotate,
29
+ symbolKeepAspect: this.symbolKeepAspect,
30
+ symbolOffset: this.symbolOffset,
31
+ focusNodeAdjacency: this.focusNodeAdjacency,
32
+ edgeSymbol: this.edgeSymbol,
33
+ edgeSymbolSize: this.edgeSymbolSize,
34
+ cursor: this.cursor,
35
+ roam: this.roam,
36
+ itemStyle: this.itemStyle,
37
+ lineStyle: this.lineStyle,
38
+ label: this.label,
39
+ edgeLabel: this.edgeLabel,
40
+ emphasis: this.emphasis,
41
+ categories: this.categories,
42
+ nodes: this.nodes,
43
+ links: this.links,
44
+ edges: this.edges,
45
+ markPoint: this.markPoint,
46
+ markLine: this.markLine,
47
+ markArea: this.markArea,
48
+ zlevel: this.zlevel,
49
+ z: this.z,
50
+ silent: this.silent,
51
+ left: this.left,
52
+ top: this.top,
53
+ right: this.right,
54
+ bottom: this.bottom,
55
+ width: this.width,
56
+ height: this.height,
57
+ };
58
+ }
59
+ }
60
+ TdChartSeriesGraphComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartSeriesGraphComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
61
+ TdChartSeriesGraphComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: "15.2.10", ngImport: i0, type: TdChartSeriesGraphComponent, decorators: [{
68
+ type: Component,
69
+ args: [{
70
+ selector: 'td-chart-series[td-graph]',
71
+ template: '',
72
+ changeDetection: ChangeDetectionStrategy.OnPush,
73
+ inputs: [
74
+ 'config',
75
+ 'id',
76
+ 'name',
77
+ 'color',
78
+ 'data',
79
+ 'animation',
80
+ 'animationThreshold',
81
+ 'animationDuration',
82
+ 'animationEasing',
83
+ 'animationDelay',
84
+ 'animationDurationUpdate',
85
+ 'animationEasingUpdate',
86
+ 'animationDelayUpdate',
87
+ 'tooltip',
88
+ ],
89
+ providers: [
90
+ {
91
+ provide: TdSeriesDirective,
92
+ useExisting: forwardRef(() => TdChartSeriesGraphComponent),
93
+ },
94
+ ],
95
+ }]
96
+ }], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { legendHoverLink: [{
97
+ type: Input
98
+ }], coordinateSystem: [{
99
+ type: Input
100
+ }], xAxisIndex: [{
101
+ type: Input
102
+ }], yAxisIndex: [{
103
+ type: Input
104
+ }], polarIndex: [{
105
+ type: Input
106
+ }], calendarIndex: [{
107
+ type: Input
108
+ }], geoIndex: [{
109
+ type: Input
110
+ }], hoverAnimation: [{
111
+ type: Input
112
+ }], circular: [{
113
+ type: Input
114
+ }], force: [{
115
+ type: Input
116
+ }], layout: [{
117
+ type: Input
118
+ }], nodeScaleRatio: [{
119
+ type: Input
120
+ }], draggable: [{
121
+ type: Input
122
+ }], symbol: [{
123
+ type: Input
124
+ }], symbolSize: [{
125
+ type: Input
126
+ }], symbolRotate: [{
127
+ type: Input
128
+ }], symbolKeepAspect: [{
129
+ type: Input
130
+ }], symbolOffset: [{
131
+ type: Input
132
+ }], focusNodeAdjacency: [{
133
+ type: Input
134
+ }], edgeSymbol: [{
135
+ type: Input
136
+ }], edgeSymbolSize: [{
137
+ type: Input
138
+ }], cursor: [{
139
+ type: Input
140
+ }], roam: [{
141
+ type: Input
142
+ }], initialTreeDepth: [{
143
+ type: Input
144
+ }], itemStyle: [{
145
+ type: Input
146
+ }], lineStyle: [{
147
+ type: Input
148
+ }], label: [{
149
+ type: Input
150
+ }], edgeLabel: [{
151
+ type: Input
152
+ }], emphasis: [{
153
+ type: Input
154
+ }], categories: [{
155
+ type: Input
156
+ }], nodes: [{
157
+ type: Input
158
+ }], links: [{
159
+ type: Input
160
+ }], edges: [{
161
+ type: Input
162
+ }], markPoint: [{
163
+ type: Input
164
+ }], markLine: [{
165
+ type: Input
166
+ }], markArea: [{
167
+ type: Input
168
+ }], zlevel: [{
169
+ type: Input
170
+ }], z: [{
171
+ type: Input
172
+ }], silent: [{
173
+ type: Input
174
+ }], left: [{
175
+ type: Input
176
+ }], top: [{
177
+ type: Input
178
+ }], right: [{
179
+ type: Input
180
+ }], bottom: [{
181
+ type: Input
182
+ }], width: [{
183
+ type: Input
184
+ }], height: [{
185
+ type: Input
186
+ }] } });
187
+
188
+ const GRAPH_MODULE_COMPONENTS = [
189
+ TdChartSeriesGraphComponent,
190
+ ];
191
+ class CovalentGraphEchartsModule {
192
+ }
193
+ CovalentGraphEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentGraphEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
194
+ CovalentGraphEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CovalentGraphEchartsModule, declarations: [TdChartSeriesGraphComponent], imports: [CommonModule], exports: [TdChartSeriesGraphComponent] });
195
+ CovalentGraphEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentGraphEchartsModule, imports: [CommonModule] });
196
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentGraphEchartsModule, decorators: [{
197
+ type: NgModule,
198
+ args: [{
199
+ imports: [CommonModule],
200
+ declarations: [GRAPH_MODULE_COMPONENTS],
201
+ exports: [GRAPH_MODULE_COMPONENTS],
202
+ }]
203
+ }] });
204
+
205
+ /**
206
+ * Generated bundle index. Do not edit.
207
+ */
208
+
209
+ export { CovalentGraphEchartsModule, GRAPH_MODULE_COMPONENTS, TdChartSeriesGraphComponent };
210
+ //# sourceMappingURL=covalent-echarts-graph.mjs.map
@@ -0,0 +1 @@
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":";;;;;;AAoIM,MAAO,2BACX,SAAQ,iBAAiB,CAAA;AAiDzB,IAAA,WAAA,CAAY,eAAsC,EAAA;AAChD,QAAA,KAAK,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC;KACjC;IAED,SAAS,GAAA;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,MAA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,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,YAJ3B,YAAY,CAAA,EAAA,CAAA,CAAA;4FAIX,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBALtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,uBAAuB,CAAC;oBACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;AACnC,iBAAA,CAAA;;;ACZD;;AAEG;;;;"}
@@ -7,8 +7,6 @@ import { TdChartSeriesBarComponent } from '@covalent/echarts/bar';
7
7
  import * as ecStat from 'echarts-stat';
8
8
 
9
9
  class TdChartSeriesHistogramComponent extends TdChartSeriesBarComponent {
10
- source;
11
- method;
12
10
  constructor(_optionsService) {
13
11
  super(_optionsService);
14
12
  }
@@ -84,15 +82,15 @@ class TdChartSeriesHistogramComponent extends TdChartSeriesBarComponent {
84
82
  }, this.getConfig(), this._options, this.config ? this.config : {});
85
83
  this.optionsService.setArrayOption('series', config);
86
84
  }
87
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartSeriesHistogramComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
88
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: TdChartSeriesHistogramComponent, selector: "td-chart-series[td-histogram]", 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", source: "source", method: "method" }, providers: [
89
- {
90
- provide: TdSeriesDirective,
91
- useExisting: forwardRef(() => TdChartSeriesHistogramComponent),
92
- },
93
- ], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
94
85
  }
95
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartSeriesHistogramComponent, decorators: [{
86
+ TdChartSeriesHistogramComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartSeriesHistogramComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
87
+ TdChartSeriesHistogramComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TdChartSeriesHistogramComponent, selector: "td-chart-series[td-histogram]", 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", source: "source", method: "method" }, providers: [
88
+ {
89
+ provide: TdSeriesDirective,
90
+ useExisting: forwardRef(() => TdChartSeriesHistogramComponent),
91
+ },
92
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartSeriesHistogramComponent, decorators: [{
96
94
  type: Component,
97
95
  args: [{
98
96
  selector: 'td-chart-series[td-histogram]',
@@ -131,11 +129,11 @@ const HISTOGRAM_MODULE_COMPONENTS = [
131
129
  TdChartSeriesHistogramComponent,
132
130
  ];
133
131
  class CovalentHistogramEchartsModule {
134
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentHistogramEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
135
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: CovalentHistogramEchartsModule, declarations: [TdChartSeriesHistogramComponent], imports: [CommonModule], exports: [TdChartSeriesHistogramComponent] });
136
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentHistogramEchartsModule, imports: [CommonModule] });
137
132
  }
138
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentHistogramEchartsModule, decorators: [{
133
+ CovalentHistogramEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentHistogramEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
134
+ CovalentHistogramEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CovalentHistogramEchartsModule, declarations: [TdChartSeriesHistogramComponent], imports: [CommonModule], exports: [TdChartSeriesHistogramComponent] });
135
+ CovalentHistogramEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentHistogramEchartsModule, imports: [CommonModule] });
136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentHistogramEchartsModule, decorators: [{
139
137
  type: NgModule,
140
138
  args: [{
141
139
  imports: [CommonModule],