@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
@@ -5,8 +5,10 @@ import { BehaviorSubject, Subject, fromEvent, merge, timer } from 'rxjs';
5
5
  import { takeUntil, debounceTime, distinctUntilChanged, tap } from 'rxjs/operators';
6
6
 
7
7
  class TdChartOptionsService {
8
- _options = {};
9
- _optionsSubject = new BehaviorSubject(this._options);
8
+ constructor() {
9
+ this._options = {};
10
+ this._optionsSubject = new BehaviorSubject(this._options);
11
+ }
10
12
  setOption(option, value) {
11
13
  const options = {};
12
14
  options[option] = value;
@@ -48,10 +50,10 @@ class TdChartOptionsService {
48
50
  listen() {
49
51
  return this._optionsSubject.asObservable();
50
52
  }
51
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartOptionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
52
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartOptionsService });
53
53
  }
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartOptionsService, decorators: [{
54
+ TdChartOptionsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartOptionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
55
+ TdChartOptionsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartOptionsService });
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartOptionsService, decorators: [{
55
57
  type: Injectable
56
58
  }] });
57
59
  function CHART_PROVIDER_FACTORY(parent) {
@@ -4351,58 +4353,42 @@ function getThemes() {
4351
4353
  }
4352
4354
 
4353
4355
  class TdChartComponent {
4354
- _changeDetectorRef;
4355
- _elementRef;
4356
- _optionsService;
4357
- _destroy = new Subject();
4358
- _widthSubject = new Subject();
4359
- _heightSubject = new Subject();
4360
- _instance;
4361
4356
  /**
4362
4357
  * returns the echarts instance
4363
4358
  */
4364
4359
  get instance() {
4365
4360
  return this._instance;
4366
4361
  }
4367
- _state = {};
4368
- _options = {};
4369
- /**
4370
- * config?: any;
4371
- * Sets the JS config object if you choose to not use the property inputs.
4372
- * Note: [config] input properties will override input values
4373
- * https://ecomfe.github.io/echarts-doc/public/en/option.html
4374
- */
4375
- config = {};
4376
- /**
4377
- * group?: string
4378
- * group name in which the chart instance will be connected to
4379
- * https://ecomfe.github.io/echarts-doc/public/en/api.html#echarts.connect
4380
- */
4381
- group;
4382
- /**
4383
- * themeName?: string
4384
- * theme to be applied into chart instance
4385
- * https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Overview%20of%20Style%20Customization
4386
- */
4387
- themeName;
4388
- /**
4389
- * renderer: 'svg' | 'canvas'
4390
- * sets the rendering mode for the chart.
4391
- * defaults to 'canvas'
4392
- * https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Render%20by%20Canvas%20or%20SVG
4393
- */
4394
- renderer = 'canvas';
4395
- chartClick = new EventEmitter();
4396
- chartDblclick = new EventEmitter();
4397
- chartContextmenu = new EventEmitter();
4398
- magicTypeChanged = new EventEmitter();
4399
- dataViewChanged = new EventEmitter();
4400
- datazoom = new EventEmitter();
4401
- restore = new EventEmitter();
4402
4362
  constructor(_changeDetectorRef, _elementRef, _optionsService) {
4403
4363
  this._changeDetectorRef = _changeDetectorRef;
4404
4364
  this._elementRef = _elementRef;
4405
4365
  this._optionsService = _optionsService;
4366
+ this._destroy = new Subject();
4367
+ this._widthSubject = new Subject();
4368
+ this._heightSubject = new Subject();
4369
+ this._state = {};
4370
+ this._options = {};
4371
+ /**
4372
+ * config?: any;
4373
+ * Sets the JS config object if you choose to not use the property inputs.
4374
+ * Note: [config] input properties will override input values
4375
+ * https://ecomfe.github.io/echarts-doc/public/en/option.html
4376
+ */
4377
+ this.config = {};
4378
+ /**
4379
+ * renderer: 'svg' | 'canvas'
4380
+ * sets the rendering mode for the chart.
4381
+ * defaults to 'canvas'
4382
+ * https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Render%20by%20Canvas%20or%20SVG
4383
+ */
4384
+ this.renderer = 'canvas';
4385
+ this.chartClick = new EventEmitter();
4386
+ this.chartDblclick = new EventEmitter();
4387
+ this.chartContextmenu = new EventEmitter();
4388
+ this.magicTypeChanged = new EventEmitter();
4389
+ this.dataViewChanged = new EventEmitter();
4390
+ this.datazoom = new EventEmitter();
4391
+ this.restore = new EventEmitter();
4406
4392
  }
4407
4393
  ngAfterViewInit() {
4408
4394
  this._initializeChart();
@@ -4524,10 +4510,10 @@ class TdChartComponent {
4524
4510
  }
4525
4511
  this._destroy.next(true);
4526
4512
  }
4527
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
4528
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: TdChartComponent, selector: "td-chart", inputs: { config: "config", group: "group", themeName: "themeName", renderer: "renderer" }, outputs: { chartClick: "chartClick", chartDblclick: "chartDblclick", chartContextmenu: "chartContextmenu", magicTypeChanged: "magicTypeChanged", dataViewChanged: "dataViewChanged", datazoom: "datazoom", restore: "restore" }, providers: [CHART_PROVIDER], usesOnChanges: true, ngImport: i0, template: '', isInline: true, styles: [":host{display:block;width:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
4529
4513
  }
4530
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartComponent, decorators: [{
4514
+ TdChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
4515
+ TdChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TdChartComponent, selector: "td-chart", inputs: { config: "config", group: "group", themeName: "themeName", renderer: "renderer" }, outputs: { chartClick: "chartClick", chartDblclick: "chartDblclick", chartContextmenu: "chartContextmenu", magicTypeChanged: "magicTypeChanged", dataViewChanged: "dataViewChanged", datazoom: "datazoom", restore: "restore" }, providers: [CHART_PROVIDER], usesOnChanges: true, ngImport: i0, template: '', isInline: true, styles: [":host{display:block;width:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
4516
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartComponent, decorators: [{
4531
4517
  type: Component,
4532
4518
  args: [{ selector: 'td-chart', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [CHART_PROVIDER], styles: [":host{display:block;width:100%}\n"] }]
4533
4519
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: TdChartOptionsService }]; }, propDecorators: { config: [{
@@ -4555,42 +4541,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
4555
4541
  }] } });
4556
4542
 
4557
4543
  class TdChartAxisDirective {
4558
- _axisOption;
4559
- _optionsService;
4560
- _state = {};
4561
- config = {};
4562
- id;
4563
- show = true;
4564
- gridIndex;
4565
- offset;
4566
- type;
4567
- name;
4568
- nameLocation;
4569
- nameTextStyle;
4570
- nameGap;
4571
- nameRotate;
4572
- inverse;
4573
- boundaryGap;
4574
- min;
4575
- max;
4576
- scale;
4577
- minInterval;
4578
- interval;
4579
- logBase;
4580
- silent;
4581
- triggerEvent;
4582
- axisLine;
4583
- axisTick;
4584
- axisLabel;
4585
- splitLine;
4586
- splitArea;
4587
- data;
4588
- axisPointer;
4589
- zlevel;
4590
- z;
4591
4544
  constructor(_axisOption, _optionsService) {
4592
4545
  this._axisOption = _axisOption;
4593
4546
  this._optionsService = _optionsService;
4547
+ this._state = {};
4548
+ this.config = {};
4549
+ this.show = true;
4594
4550
  }
4595
4551
  ngOnInit() {
4596
4552
  this._setOptions();
@@ -4639,10 +4595,10 @@ class TdChartAxisDirective {
4639
4595
  _removeOption() {
4640
4596
  this._optionsService.clearOption(this._axisOption);
4641
4597
  }
4642
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartAxisDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
4643
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.7", type: TdChartAxisDirective, inputs: { config: "config", id: "id", show: "show", gridIndex: "gridIndex", offset: "offset", type: "type", name: "name", nameLocation: "nameLocation", nameTextStyle: "nameTextStyle", nameGap: "nameGap", nameRotate: "nameRotate", inverse: "inverse", boundaryGap: "boundaryGap", min: "min", max: "max", scale: "scale", minInterval: "minInterval", interval: "interval", logBase: "logBase", silent: "silent", triggerEvent: "triggerEvent", axisLine: "axisLine", axisTick: "axisTick", axisLabel: "axisLabel", splitLine: "splitLine", splitArea: "splitArea", data: "data", axisPointer: "axisPointer", zlevel: "zlevel", z: "z" }, usesOnChanges: true, ngImport: i0 });
4644
4598
  }
4645
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartAxisDirective, decorators: [{
4599
+ TdChartAxisDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartAxisDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
4600
+ TdChartAxisDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TdChartAxisDirective, inputs: { config: "config", id: "id", show: "show", gridIndex: "gridIndex", offset: "offset", type: "type", name: "name", nameLocation: "nameLocation", nameTextStyle: "nameTextStyle", nameGap: "nameGap", nameRotate: "nameRotate", inverse: "inverse", boundaryGap: "boundaryGap", min: "min", max: "max", scale: "scale", minInterval: "minInterval", interval: "interval", logBase: "logBase", silent: "silent", triggerEvent: "triggerEvent", axisLine: "axisLine", axisTick: "axisTick", axisLabel: "axisLabel", splitLine: "splitLine", splitArea: "splitArea", data: "data", axisPointer: "axisPointer", zlevel: "zlevel", z: "z" }, usesOnChanges: true, ngImport: i0 });
4601
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartAxisDirective, decorators: [{
4646
4602
  type: Directive
4647
4603
  }], ctorParameters: function () { return [{ type: undefined }, { type: TdChartOptionsService }]; }, propDecorators: { config: [{
4648
4604
  type: Input
@@ -4707,14 +4663,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
4707
4663
  }] } });
4708
4664
 
4709
4665
  class TdChartXAxisComponent extends TdChartAxisDirective {
4710
- position;
4711
4666
  constructor(_optionsService) {
4712
4667
  super('xAxis', _optionsService);
4713
4668
  }
4714
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartXAxisComponent, deps: [{ token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
4715
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: TdChartXAxisComponent, selector: "td-chart-x-axis", inputs: { config: "config", id: "id", show: "show", gridIndex: "gridIndex", offset: "offset", type: "type", name: "name", nameLocation: "nameLocation", nameTextStyle: "nameTextStyle", nameGap: "nameGap", nameRotate: "nameRotate", inverse: "inverse", boundaryGap: "boundaryGap", min: "min", max: "max", scale: "scale", minInterval: "minInterval", interval: "interval", logBase: "logBase", silent: "silent", triggerEvent: "triggerEvent", axisLine: "axisLine", axisTick: "axisTick", axisLabel: "axisLabel", splitLine: "splitLine", splitArea: "splitArea", data: "data", axisPointer: "axisPointer", zlevel: "zlevel", z: "z", position: "position" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
4716
4669
  }
4717
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartXAxisComponent, decorators: [{
4670
+ TdChartXAxisComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartXAxisComponent, deps: [{ token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
4671
+ TdChartXAxisComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TdChartXAxisComponent, selector: "td-chart-x-axis", inputs: { config: "config", id: "id", show: "show", gridIndex: "gridIndex", offset: "offset", type: "type", name: "name", nameLocation: "nameLocation", nameTextStyle: "nameTextStyle", nameGap: "nameGap", nameRotate: "nameRotate", inverse: "inverse", boundaryGap: "boundaryGap", min: "min", max: "max", scale: "scale", minInterval: "minInterval", interval: "interval", logBase: "logBase", silent: "silent", triggerEvent: "triggerEvent", axisLine: "axisLine", axisTick: "axisTick", axisLabel: "axisLabel", splitLine: "splitLine", splitArea: "splitArea", data: "data", axisPointer: "axisPointer", zlevel: "zlevel", z: "z", position: "position" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
4672
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartXAxisComponent, decorators: [{
4718
4673
  type: Component,
4719
4674
  args: [{
4720
4675
  selector: 'td-chart-x-axis',
@@ -4758,14 +4713,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
4758
4713
  }] } });
4759
4714
 
4760
4715
  class TdChartYAxisComponent extends TdChartAxisDirective {
4761
- position;
4762
4716
  constructor(_optionsService) {
4763
4717
  super('yAxis', _optionsService);
4764
4718
  }
4765
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartYAxisComponent, deps: [{ token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
4766
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: TdChartYAxisComponent, selector: "td-chart-y-axis", inputs: { config: "config", id: "id", show: "show", gridIndex: "gridIndex", offset: "offset", type: "type", name: "name", nameLocation: "nameLocation", nameTextStyle: "nameTextStyle", nameGap: "nameGap", nameRotate: "nameRotate", inverse: "inverse", boundaryGap: "boundaryGap", min: "min", max: "max", scale: "scale", minInterval: "minInterval", interval: "interval", logBase: "logBase", silent: "silent", triggerEvent: "triggerEvent", axisLine: "axisLine", axisTick: "axisTick", axisLabel: "axisLabel", splitLine: "splitLine", splitArea: "splitArea", data: "data", axisPointer: "axisPointer", zlevel: "zlevel", z: "z", position: "position" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
4767
4719
  }
4768
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartYAxisComponent, decorators: [{
4720
+ TdChartYAxisComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartYAxisComponent, deps: [{ token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
4721
+ TdChartYAxisComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TdChartYAxisComponent, selector: "td-chart-y-axis", inputs: { config: "config", id: "id", show: "show", gridIndex: "gridIndex", offset: "offset", type: "type", name: "name", nameLocation: "nameLocation", nameTextStyle: "nameTextStyle", nameGap: "nameGap", nameRotate: "nameRotate", inverse: "inverse", boundaryGap: "boundaryGap", min: "min", max: "max", scale: "scale", minInterval: "minInterval", interval: "interval", logBase: "logBase", silent: "silent", triggerEvent: "triggerEvent", axisLine: "axisLine", axisTick: "axisTick", axisLabel: "axisLabel", splitLine: "splitLine", splitArea: "splitArea", data: "data", axisPointer: "axisPointer", zlevel: "zlevel", z: "z", position: "position" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
4722
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartYAxisComponent, decorators: [{
4769
4723
  type: Component,
4770
4724
  args: [{
4771
4725
  selector: 'td-chart-y-axis',
@@ -4809,15 +4763,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
4809
4763
  }] } });
4810
4764
 
4811
4765
  class TdDatasetComponent {
4812
- _optionsService;
4813
- _state = {};
4814
- id;
4815
- config = {};
4816
- source;
4817
- dimensions;
4818
- sourceHeader;
4819
4766
  constructor(_optionsService) {
4820
4767
  this._optionsService = _optionsService;
4768
+ this._state = {};
4769
+ this.config = {};
4821
4770
  }
4822
4771
  ngOnChanges() {
4823
4772
  this._setOptions();
@@ -4838,10 +4787,10 @@ class TdDatasetComponent {
4838
4787
  _removeOption() {
4839
4788
  this._optionsService.clearOption('dataset');
4840
4789
  }
4841
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdDatasetComponent, deps: [{ token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
4842
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: TdDatasetComponent, selector: "td-chart-dataset", inputs: { id: "id", config: "config", source: "source", dimensions: "dimensions", sourceHeader: "sourceHeader" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
4843
4790
  }
4844
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdDatasetComponent, decorators: [{
4791
+ TdDatasetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdDatasetComponent, deps: [{ token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
4792
+ TdDatasetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TdDatasetComponent, selector: "td-chart-dataset", inputs: { id: "id", config: "config", source: "source", dimensions: "dimensions", sourceHeader: "sourceHeader" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
4793
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdDatasetComponent, decorators: [{
4845
4794
  type: Component,
4846
4795
  args: [{
4847
4796
  template: '',
@@ -4868,17 +4817,17 @@ const BASE_MODULE_COMPONENTS = [
4868
4817
  ];
4869
4818
  registerDefaultThemes();
4870
4819
  class CovalentBaseEchartsModule {
4871
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentBaseEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4872
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: CovalentBaseEchartsModule, declarations: [TdChartComponent,
4873
- TdChartXAxisComponent,
4874
- TdChartYAxisComponent,
4875
- TdDatasetComponent], imports: [CommonModule], exports: [TdChartComponent,
4876
- TdChartXAxisComponent,
4877
- TdChartYAxisComponent,
4878
- TdDatasetComponent] });
4879
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentBaseEchartsModule, imports: [CommonModule] });
4880
4820
  }
4881
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentBaseEchartsModule, decorators: [{
4821
+ CovalentBaseEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentBaseEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4822
+ CovalentBaseEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CovalentBaseEchartsModule, declarations: [TdChartComponent,
4823
+ TdChartXAxisComponent,
4824
+ TdChartYAxisComponent,
4825
+ TdDatasetComponent], imports: [CommonModule], exports: [TdChartComponent,
4826
+ TdChartXAxisComponent,
4827
+ TdChartYAxisComponent,
4828
+ TdDatasetComponent] });
4829
+ CovalentBaseEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentBaseEchartsModule, imports: [CommonModule] });
4830
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentBaseEchartsModule, decorators: [{
4882
4831
  type: NgModule,
4883
4832
  args: [{
4884
4833
  imports: [CommonModule],
@@ -4888,29 +4837,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
4888
4837
  }] });
4889
4838
 
4890
4839
  class TdSeriesDirective {
4891
- optionsService;
4892
- _type;
4893
4840
  get type() {
4894
4841
  return this._type;
4895
4842
  }
4896
- _state = {};
4897
- _options = {};
4898
- config = {};
4899
- id;
4900
- name;
4901
- color;
4902
- data;
4903
- animation;
4904
- animationThreshold;
4905
- animationDuration;
4906
- animationEasing;
4907
- animationDelay;
4908
- animationDurationUpdate;
4909
- animationEasingUpdate;
4910
- animationDelayUpdate;
4911
- tooltip;
4912
4843
  constructor(type, optionsService) {
4913
4844
  this.optionsService = optionsService;
4845
+ this._state = {};
4846
+ this._options = {};
4847
+ this.config = {};
4914
4848
  this._type = type;
4915
4849
  }
4916
4850
  ngOnInit() {
@@ -4953,10 +4887,10 @@ class TdSeriesDirective {
4953
4887
  _removeOption() {
4954
4888
  this.optionsService.removeArrayOption('series', this._state);
4955
4889
  }
4956
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdSeriesDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
4957
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.7", type: TdSeriesDirective, inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip" }, usesOnChanges: true, ngImport: i0 });
4958
4890
  }
4959
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdSeriesDirective, decorators: [{
4891
+ TdSeriesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdSeriesDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
4892
+ TdSeriesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TdSeriesDirective, inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip" }, usesOnChanges: true, ngImport: i0 });
4893
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdSeriesDirective, decorators: [{
4960
4894
  type: Directive
4961
4895
  }], ctorParameters: function () { return [{ type: undefined }, { type: TdChartOptionsService }]; }, propDecorators: { config: [{
4962
4896
  type: Input