@covalent/echarts 4.0.0-beta.2 → 4.1.0-develop.10

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 (233) hide show
  1. package/README.md +4 -90
  2. package/bar/README.md +23 -21
  3. package/bar/bar.component.d.ts +27 -27
  4. package/bar/covalent-echarts-bar.d.ts +1 -1
  5. package/bar/{public-api.d.ts → public_api.d.ts} +0 -0
  6. package/base/README.md +26 -26
  7. package/base/axis/axis.component.d.ts +29 -29
  8. package/base/chart.component.d.ts +3 -3
  9. package/base/covalent-echarts-base.d.ts +1 -1
  10. package/base/dataset/dataset.component.d.ts +5 -5
  11. package/base/{public-api.d.ts → public_api.d.ts} +0 -0
  12. package/base/series/series.component.d.ts +15 -15
  13. package/base/{axis → src/axis}/README.md +19 -19
  14. package/base/{dataset → src/dataset}/README.md +19 -16
  15. package/covalent-echarts.d.ts +1 -1
  16. package/esm2020/bar/bar.component.mjs +95 -96
  17. package/esm2020/bar/bar.module.mjs +12 -13
  18. package/esm2020/bar/covalent-echarts-bar.mjs +2 -2
  19. package/esm2020/bar/public_api.mjs +3 -0
  20. package/esm2020/base/axis/axis.component.mjs +66 -66
  21. package/esm2020/base/axis/axis.interface.mjs +1 -1
  22. package/esm2020/base/axis/x-axis.component.mjs +45 -45
  23. package/esm2020/base/axis/y-axis.component.mjs +45 -45
  24. package/esm2020/base/base.module.mjs +13 -14
  25. package/esm2020/base/base.types.mjs +1 -1
  26. package/esm2020/base/chart-options.service.mjs +6 -6
  27. package/esm2020/base/chart.component.mjs +42 -38
  28. package/esm2020/base/covalent-echarts-base.mjs +2 -2
  29. package/esm2020/base/dataset/dataset.component.mjs +22 -22
  30. package/esm2020/base/public_api.mjs +10 -0
  31. package/esm2020/base/series/series.component.mjs +34 -34
  32. package/esm2020/base/series/series.interface.mjs +1 -1
  33. package/esm2020/base/themes/aqua-splash.mjs +31 -4
  34. package/esm2020/base/themes/california-coast.mjs +1 -1
  35. package/esm2020/base/themes/hawaiian-sunrise.mjs +1 -1
  36. package/esm2020/base/themes/passion-flower.mjs +1 -1
  37. package/esm2020/base/themes/razzleberry-pie.mjs +31 -4
  38. package/esm2020/base/themes/teradata-classic.mjs +31 -4
  39. package/esm2020/base/themes/teradata-default.mjs +1 -1
  40. package/esm2020/base/themes/urban-sunrise.mjs +1 -1
  41. package/esm2020/base/themes/volcanic-eruption.mjs +1 -1
  42. package/esm2020/base/utils/assign-defined.mjs +1 -1
  43. package/esm2020/base/utils/echarts.mjs +1 -1
  44. package/esm2020/base/utils/index.mjs +1 -1
  45. package/esm2020/covalent-echarts.mjs +2 -2
  46. package/esm2020/graph/covalent-echarts-graph.mjs +2 -2
  47. package/esm2020/graph/graph.component.mjs +129 -130
  48. package/esm2020/graph/graph.module.mjs +15 -14
  49. package/esm2020/graph/public_api.mjs +3 -0
  50. package/esm2020/line/covalent-echarts-line.mjs +2 -2
  51. package/esm2020/line/line.component.mjs +111 -112
  52. package/esm2020/line/line.module.mjs +12 -13
  53. package/esm2020/line/public_api.mjs +3 -0
  54. package/esm2020/map/covalent-echarts-map.mjs +2 -2
  55. package/esm2020/map/map.component.mjs +93 -94
  56. package/esm2020/map/map.module.mjs +12 -13
  57. package/esm2020/map/public_api.mjs +3 -0
  58. package/esm2020/pie/covalent-echarts-pie.mjs +2 -2
  59. package/esm2020/pie/pie.component.mjs +91 -92
  60. package/esm2020/pie/pie.module.mjs +12 -13
  61. package/esm2020/pie/public_api.mjs +3 -0
  62. package/esm2020/public_api.mjs +2 -0
  63. package/esm2020/sankey/covalent-echarts-sankey.mjs +2 -2
  64. package/esm2020/sankey/public_api.mjs +3 -0
  65. package/esm2020/sankey/sankey.component.mjs +83 -84
  66. package/esm2020/sankey/sankey.module.mjs +15 -14
  67. package/esm2020/scatter/covalent-echarts-scatter.mjs +2 -2
  68. package/esm2020/scatter/public_api.mjs +3 -0
  69. package/esm2020/scatter/scatter.component.mjs +101 -102
  70. package/esm2020/scatter/scatter.module.mjs +15 -14
  71. package/esm2020/toolbox/covalent-echarts-toolbox.mjs +2 -2
  72. package/esm2020/toolbox/public_api.mjs +3 -0
  73. package/esm2020/toolbox/toolbox.component.mjs +60 -76
  74. package/esm2020/toolbox/toolbox.module.mjs +19 -15
  75. package/esm2020/tooltip/covalent-echarts-tooltip.mjs +2 -2
  76. package/esm2020/tooltip/public_api.mjs +4 -0
  77. package/esm2020/tooltip/series-tooltip.component.mjs +40 -49
  78. package/esm2020/tooltip/tooltip.component.mjs +71 -80
  79. package/esm2020/tooltip/tooltip.module.mjs +14 -15
  80. package/esm2020/tree/covalent-echarts-tree.mjs +2 -2
  81. package/esm2020/tree/public_api.mjs +3 -0
  82. package/esm2020/tree/tree.component.mjs +83 -84
  83. package/esm2020/tree/tree.module.mjs +12 -13
  84. package/esm2020/treemap/covalent-echarts-treemap.mjs +2 -2
  85. package/esm2020/treemap/public_api.mjs +3 -0
  86. package/esm2020/treemap/treemap.component.mjs +107 -108
  87. package/esm2020/treemap/treemap.module.mjs +15 -14
  88. package/esm2020/wordcloud/covalent-echarts-wordcloud.mjs +2 -2
  89. package/esm2020/wordcloud/public_api.mjs +3 -0
  90. package/esm2020/wordcloud/wordcloud.component.mjs +68 -69
  91. package/esm2020/wordcloud/wordcloud.module.mjs +15 -14
  92. package/fesm2015/covalent-echarts-bar.mjs +16 -22
  93. package/fesm2015/covalent-echarts-bar.mjs.map +1 -1
  94. package/fesm2015/covalent-echarts-base.mjs +148 -81
  95. package/fesm2015/covalent-echarts-base.mjs.map +1 -1
  96. package/fesm2015/covalent-echarts-graph.mjs +19 -23
  97. package/fesm2015/covalent-echarts-graph.mjs.map +1 -1
  98. package/fesm2015/covalent-echarts-line.mjs +16 -22
  99. package/fesm2015/covalent-echarts-line.mjs.map +1 -1
  100. package/fesm2015/covalent-echarts-map.mjs +16 -22
  101. package/fesm2015/covalent-echarts-map.mjs.map +1 -1
  102. package/fesm2015/covalent-echarts-pie.mjs +16 -22
  103. package/fesm2015/covalent-echarts-pie.mjs.map +1 -1
  104. package/fesm2015/covalent-echarts-sankey.mjs +19 -23
  105. package/fesm2015/covalent-echarts-sankey.mjs.map +1 -1
  106. package/fesm2015/covalent-echarts-scatter.mjs +19 -23
  107. package/fesm2015/covalent-echarts-scatter.mjs.map +1 -1
  108. package/fesm2015/covalent-echarts-toolbox.mjs +23 -49
  109. package/fesm2015/covalent-echarts-toolbox.mjs.map +1 -1
  110. package/fesm2015/covalent-echarts-tooltip.mjs +43 -90
  111. package/fesm2015/covalent-echarts-tooltip.mjs.map +1 -1
  112. package/fesm2015/covalent-echarts-tree.mjs +16 -22
  113. package/fesm2015/covalent-echarts-tree.mjs.map +1 -1
  114. package/fesm2015/covalent-echarts-treemap.mjs +19 -23
  115. package/fesm2015/covalent-echarts-treemap.mjs.map +1 -1
  116. package/fesm2015/covalent-echarts-wordcloud.mjs +19 -23
  117. package/fesm2015/covalent-echarts-wordcloud.mjs.map +1 -1
  118. package/fesm2015/covalent-echarts.mjs.map +1 -1
  119. package/fesm2020/covalent-echarts-bar.mjs +104 -106
  120. package/fesm2020/covalent-echarts-bar.mjs.map +1 -1
  121. package/fesm2020/covalent-echarts-base.mjs +353 -269
  122. package/fesm2020/covalent-echarts-base.mjs.map +1 -1
  123. package/fesm2020/covalent-echarts-graph.mjs +141 -141
  124. package/fesm2020/covalent-echarts-graph.mjs.map +1 -1
  125. package/fesm2020/covalent-echarts-line.mjs +120 -122
  126. package/fesm2020/covalent-echarts-line.mjs.map +1 -1
  127. package/fesm2020/covalent-echarts-map.mjs +102 -104
  128. package/fesm2020/covalent-echarts-map.mjs.map +1 -1
  129. package/fesm2020/covalent-echarts-pie.mjs +100 -102
  130. package/fesm2020/covalent-echarts-pie.mjs.map +1 -1
  131. package/fesm2020/covalent-echarts-sankey.mjs +95 -95
  132. package/fesm2020/covalent-echarts-sankey.mjs.map +1 -1
  133. package/fesm2020/covalent-echarts-scatter.mjs +113 -113
  134. package/fesm2020/covalent-echarts-scatter.mjs.map +1 -1
  135. package/fesm2020/covalent-echarts-toolbox.mjs +76 -88
  136. package/fesm2020/covalent-echarts-toolbox.mjs.map +1 -1
  137. package/fesm2020/covalent-echarts-tooltip.mjs +120 -139
  138. package/fesm2020/covalent-echarts-tooltip.mjs.map +1 -1
  139. package/fesm2020/covalent-echarts-tree.mjs +92 -94
  140. package/fesm2020/covalent-echarts-tree.mjs.map +1 -1
  141. package/fesm2020/covalent-echarts-treemap.mjs +119 -119
  142. package/fesm2020/covalent-echarts-treemap.mjs.map +1 -1
  143. package/fesm2020/covalent-echarts-wordcloud.mjs +79 -79
  144. package/fesm2020/covalent-echarts-wordcloud.mjs.map +1 -1
  145. package/fesm2020/covalent-echarts.mjs.map +1 -1
  146. package/graph/README.md +21 -19
  147. package/graph/covalent-echarts-graph.d.ts +1 -1
  148. package/graph/graph.component.d.ts +60 -60
  149. package/graph/{public-api.d.ts → public_api.d.ts} +0 -0
  150. package/line/README.md +19 -21
  151. package/line/covalent-echarts-line.d.ts +1 -1
  152. package/line/line.component.d.ts +35 -35
  153. package/line/{public-api.d.ts → public_api.d.ts} +0 -0
  154. package/map/README.md +19 -17
  155. package/map/covalent-echarts-map.d.ts +1 -1
  156. package/map/map.component.d.ts +27 -27
  157. package/map/{public-api.d.ts → public_api.d.ts} +0 -0
  158. package/package.json +11 -22
  159. package/pie/README.md +17 -15
  160. package/pie/covalent-echarts-pie.d.ts +1 -1
  161. package/pie/pie.component.d.ts +26 -26
  162. package/pie/{public-api.d.ts → public_api.d.ts} +0 -0
  163. package/{index.d.ts → public_api.d.ts} +0 -0
  164. package/sankey/README.md +22 -20
  165. package/sankey/covalent-echarts-sankey.d.ts +1 -1
  166. package/sankey/{public-api.d.ts → public_api.d.ts} +0 -0
  167. package/sankey/sankey.component.d.ts +22 -22
  168. package/scatter/README.md +19 -21
  169. package/scatter/covalent-echarts-scatter.d.ts +1 -1
  170. package/scatter/{public-api.d.ts → public_api.d.ts} +0 -0
  171. package/scatter/scatter.component.d.ts +31 -31
  172. package/toolbox/README.md +12 -11
  173. package/toolbox/covalent-echarts-toolbox.d.ts +1 -1
  174. package/toolbox/{public-api.d.ts → public_api.d.ts} +0 -0
  175. package/toolbox/toolbox.component.d.ts +10 -10
  176. package/tooltip/README.md +30 -26
  177. package/tooltip/covalent-echarts-tooltip.d.ts +1 -1
  178. package/tooltip/{public-api.d.ts → public_api.d.ts} +0 -0
  179. package/tooltip/series-tooltip.component.d.ts +11 -9
  180. package/tooltip/tooltip.component.d.ts +16 -16
  181. package/tree/README.md +20 -18
  182. package/tree/covalent-echarts-tree.d.ts +1 -1
  183. package/tree/{public-api.d.ts → public_api.d.ts} +0 -0
  184. package/tree/tree.component.d.ts +24 -24
  185. package/treemap/README.md +23 -21
  186. package/treemap/covalent-echarts-treemap.d.ts +1 -1
  187. package/treemap/{public-api.d.ts → public_api.d.ts} +0 -0
  188. package/treemap/treemap.component.d.ts +37 -37
  189. package/wordcloud/README.md +25 -23
  190. package/wordcloud/covalent-echarts-wordcloud.d.ts +1 -1
  191. package/wordcloud/{public-api.d.ts → public_api.d.ts} +0 -0
  192. package/wordcloud/wordcloud.component.d.ts +14 -14
  193. package/bar/index.d.ts +0 -1
  194. package/base/chart.component.scss +0 -4
  195. package/base/index.d.ts +0 -1
  196. package/esm2020/bar/index.mjs +0 -2
  197. package/esm2020/bar/public-api.mjs +0 -3
  198. package/esm2020/base/index.mjs +0 -2
  199. package/esm2020/base/public-api.mjs +0 -10
  200. package/esm2020/graph/index.mjs +0 -2
  201. package/esm2020/graph/public-api.mjs +0 -3
  202. package/esm2020/index.mjs +0 -2
  203. package/esm2020/line/index.mjs +0 -2
  204. package/esm2020/line/public-api.mjs +0 -3
  205. package/esm2020/map/index.mjs +0 -2
  206. package/esm2020/map/public-api.mjs +0 -3
  207. package/esm2020/pie/index.mjs +0 -2
  208. package/esm2020/pie/public-api.mjs +0 -3
  209. package/esm2020/sankey/index.mjs +0 -2
  210. package/esm2020/sankey/public-api.mjs +0 -3
  211. package/esm2020/scatter/index.mjs +0 -2
  212. package/esm2020/scatter/public-api.mjs +0 -3
  213. package/esm2020/toolbox/index.mjs +0 -2
  214. package/esm2020/toolbox/public-api.mjs +0 -3
  215. package/esm2020/tooltip/index.mjs +0 -2
  216. package/esm2020/tooltip/public-api.mjs +0 -4
  217. package/esm2020/tree/index.mjs +0 -2
  218. package/esm2020/tree/public-api.mjs +0 -3
  219. package/esm2020/treemap/index.mjs +0 -2
  220. package/esm2020/treemap/public-api.mjs +0 -3
  221. package/esm2020/wordcloud/index.mjs +0 -2
  222. package/esm2020/wordcloud/public-api.mjs +0 -3
  223. package/graph/index.d.ts +0 -1
  224. package/line/index.d.ts +0 -1
  225. package/map/index.d.ts +0 -1
  226. package/pie/index.d.ts +0 -1
  227. package/sankey/index.d.ts +0 -1
  228. package/scatter/index.d.ts +0 -1
  229. package/toolbox/index.d.ts +0 -1
  230. package/tooltip/index.d.ts +0 -1
  231. package/tree/index.d.ts +0 -1
  232. package/treemap/index.d.ts +0 -1
  233. package/wordcloud/index.d.ts +0 -1
@@ -4,7 +4,6 @@ import { CommonModule } from '@angular/common';
4
4
  import * as i1 from '@covalent/echarts/base';
5
5
  import { TdSeriesDirective } from '@covalent/echarts/base';
6
6
 
7
- const _c0 = ["td-sankey", ""];
8
7
  class TdChartSeriesSankeyComponent extends TdSeriesDirective {
9
8
  constructor(_optionsService) {
10
9
  super('sankey', _optionsService);
@@ -36,15 +35,14 @@ class TdChartSeriesSankeyComponent extends TdSeriesDirective {
36
35
  };
37
36
  }
38
37
  }
39
- /** @nocollapse */ /** @nocollapse */ TdChartSeriesSankeyComponent.ɵfac = function TdChartSeriesSankeyComponent_Factory(t) { return new (t || TdChartSeriesSankeyComponent)(i0.ɵɵdirectiveInject(i1.TdChartOptionsService)); };
40
- /** @nocollapse */ /** @nocollapse */ TdChartSeriesSankeyComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdChartSeriesSankeyComponent, selectors: [["td-chart-series", "td-sankey", ""]], 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", zlevel: "zlevel", z: "z", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height", nodeWidth: "nodeWidth", nodeGap: "nodeGap", layoutIterations: "layoutIterations", orient: "orient", draggable: "draggable", focusNodeAdjacency: "focusNodeAdjacency", label: "label", itemStyle: "itemStyle", lineStyle: "lineStyle", emphasis: "emphasis", nodes: "nodes", links: "links", edges: "edges", silent: "silent" }, features: [i0.ɵɵProvidersFeature([
41
- {
42
- provide: TdSeriesDirective,
43
- useExisting: forwardRef((() => TdChartSeriesSankeyComponent)),
44
- },
45
- ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 0, vars: 0, template: function TdChartSeriesSankeyComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
46
- (function () {
47
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartSeriesSankeyComponent, [{
38
+ TdChartSeriesSankeyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesSankeyComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
39
+ TdChartSeriesSankeyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartSeriesSankeyComponent, selector: "td-chart-series[td-sankey]", 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", zlevel: "zlevel", z: "z", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height", nodeWidth: "nodeWidth", nodeGap: "nodeGap", layoutIterations: "layoutIterations", orient: "orient", draggable: "draggable", focusNodeAdjacency: "focusNodeAdjacency", label: "label", itemStyle: "itemStyle", lineStyle: "lineStyle", emphasis: "emphasis", nodes: "nodes", links: "links", edges: "edges", silent: "silent" }, providers: [
40
+ {
41
+ provide: TdSeriesDirective,
42
+ useExisting: forwardRef(() => TdChartSeriesSankeyComponent),
43
+ },
44
+ ], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesSankeyComponent, decorators: [{
48
46
  type: Component,
49
47
  args: [{
50
48
  selector: 'td-chart-series[td-sankey]',
@@ -69,11 +67,11 @@ class TdChartSeriesSankeyComponent extends TdSeriesDirective {
69
67
  providers: [
70
68
  {
71
69
  provide: TdSeriesDirective,
72
- useExisting: forwardRef((() => TdChartSeriesSankeyComponent)),
70
+ useExisting: forwardRef(() => TdChartSeriesSankeyComponent),
73
71
  },
74
72
  ],
75
73
  }]
76
- }], function () { return [{ type: i1.TdChartOptionsService }]; }, { zlevel: [{
74
+ }], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { zlevel: [{
77
75
  type: Input
78
76
  }], z: [{
79
77
  type: Input
@@ -117,26 +115,24 @@ class TdChartSeriesSankeyComponent extends TdSeriesDirective {
117
115
  type: Input
118
116
  }], silent: [{
119
117
  type: Input
120
- }] });
121
- })();
118
+ }] } });
122
119
 
123
- const SANKEY_MODULE_COMPONENTS = [TdChartSeriesSankeyComponent];
120
+ const SANKEY_MODULE_COMPONENTS = [
121
+ TdChartSeriesSankeyComponent,
122
+ ];
124
123
  class CovalentSankeyEchartsModule {
125
124
  }
126
- /** @nocollapse */ /** @nocollapse */ CovalentSankeyEchartsModule.ɵfac = function CovalentSankeyEchartsModule_Factory(t) { return new (t || CovalentSankeyEchartsModule)(); };
127
- /** @nocollapse */ /** @nocollapse */ CovalentSankeyEchartsModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CovalentSankeyEchartsModule });
128
- /** @nocollapse */ /** @nocollapse */ CovalentSankeyEchartsModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [[CommonModule]] });
129
- (function () {
130
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentSankeyEchartsModule, [{
125
+ CovalentSankeyEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentSankeyEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
126
+ CovalentSankeyEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentSankeyEchartsModule, declarations: [TdChartSeriesSankeyComponent], imports: [CommonModule], exports: [TdChartSeriesSankeyComponent] });
127
+ CovalentSankeyEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentSankeyEchartsModule, imports: [[CommonModule]] });
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentSankeyEchartsModule, decorators: [{
131
129
  type: NgModule,
132
130
  args: [{
133
131
  imports: [CommonModule],
134
132
  declarations: [SANKEY_MODULE_COMPONENTS],
135
133
  exports: [SANKEY_MODULE_COMPONENTS],
136
134
  }]
137
- }], null, null);
138
- })();
139
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentSankeyEchartsModule, { declarations: [TdChartSeriesSankeyComponent], imports: [CommonModule], exports: [TdChartSeriesSankeyComponent] }); })();
135
+ }] });
140
136
 
141
137
  /**
142
138
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts-sankey.mjs","sources":["../../../../src/platform/echarts/sankey/sankey.component.ts","../../../../src/platform/echarts/sankey/sankey.module.ts","../../../../src/platform/echarts/sankey/covalent-echarts-sankey.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdLabel,\n ITdItemStyle,\n ITdEmphasis,\n ITdSeries,\n TdSeriesDirective,\n ITdShadow,\n ITdLineCurveStyle,\n} from '@covalent/echarts/base';\n\nexport type TdSankeyOrient = 'horizontal' | 'vertical';\n\nexport type TdSankeyFocusNodeAdjacency = boolean | 'allEdges' | 'outEdges' | 'inEdges';\n\nexport interface ITdSankeyEmphasisLineStyle extends ITdShadow {\n color?: any;\n opacity?: number;\n curveness?: number;\n}\n\nexport interface ITdSankeyEmphasis extends ITdEmphasis {\n lineStyle: ITdSankeyEmphasisLineStyle;\n}\n\nexport interface ITdSankeySeries extends ITdSeries {\n zlevel?: number;\n z?: number;\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 nodeWidth?: number;\n nodeGap?: number;\n layoutIterations?: number;\n orient?: TdSankeyOrient;\n draggable?: boolean;\n focusNodeAdjacency?: TdSankeyFocusNodeAdjacency;\n label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n lineStyle?: ITdLineCurveStyle;\n emphasis?: ITdEmphasis;\n data?: any[];\n nodes?: any[];\n links?: any[];\n edges?: any[];\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-sankey]',\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(() => TdChartSeriesSankeyComponent),\n },\n ],\n})\nexport class TdChartSeriesSankeyComponent extends TdSeriesDirective implements ITdSankeySeries {\n @Input() zlevel: number;\n @Input() z: number;\n @Input() left: string | number;\n @Input() top: string | number;\n @Input() right: string | number;\n @Input() bottom: string | number;\n @Input() width: string | number;\n @Input() height: string | number;\n @Input() nodeWidth: number;\n @Input() nodeGap: number;\n @Input() layoutIterations: number;\n @Input() orient: TdSankeyOrient;\n @Input() draggable: boolean;\n @Input() focusNodeAdjacency: TdSankeyFocusNodeAdjacency;\n @Input() label: ITdLabel;\n @Input() itemStyle: ITdItemStyle;\n @Input() lineStyle: ITdLineCurveStyle;\n @Input() emphasis: ITdEmphasis;\n @Input() nodes: any[];\n @Input() links: any[];\n @Input() edges: any[];\n @Input() silent: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('sankey', _optionsService);\n }\n\n getConfig(): any {\n return {\n zlevel: this.zlevel,\n z: this.z,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n width: this.width,\n height: this.height,\n nodeWidth: this.nodeWidth,\n nodeGap: this.nodeGap,\n layoutIterations: this.layoutIterations,\n orient: this.orient,\n draggable: this.draggable,\n focusNodeAdjacency: this.focusNodeAdjacency,\n label: this.label,\n itemStyle: this.itemStyle,\n lineStyle: this.lineStyle,\n emphasis: this.emphasis,\n nodes: this.nodes,\n links: this.links,\n edges: this.edges,\n silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesSankeyComponent } from './sankey.component';\n\nexport const SANKEY_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesSankeyComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [SANKEY_MODULE_COMPONENTS],\n exports: [SANKEY_MODULE_COMPONENTS],\n})\nexport class CovalentSankeyEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"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AA4B,aAGtE,YAAY,aAH8B,4BAA4B;;ACLlF;;;;;;"}
1
+ {"version":3,"file":"covalent-echarts-sankey.mjs","sources":["../../../../libs/angular-echarts/sankey/src/sankey.component.ts","../../../../libs/angular-echarts/sankey/src/sankey.module.ts","../../../../libs/angular-echarts/sankey/src/covalent-echarts-sankey.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdLabel,\n ITdItemStyle,\n ITdEmphasis,\n ITdSeries,\n TdSeriesDirective,\n ITdShadow,\n ITdLineCurveStyle,\n} from '@covalent/echarts/base';\n\nexport type TdSankeyOrient = 'horizontal' | 'vertical';\n\nexport type TdSankeyFocusNodeAdjacency =\n | boolean\n | 'allEdges'\n | 'outEdges'\n | 'inEdges';\n\nexport interface ITdSankeyEmphasisLineStyle extends ITdShadow {\n color?: any;\n opacity?: number;\n curveness?: number;\n}\n\nexport interface ITdSankeyEmphasis extends ITdEmphasis {\n lineStyle: ITdSankeyEmphasisLineStyle;\n}\n\nexport interface ITdSankeySeries extends ITdSeries {\n zlevel?: number;\n z?: number;\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 nodeWidth?: number;\n nodeGap?: number;\n layoutIterations?: number;\n orient?: TdSankeyOrient;\n draggable?: boolean;\n focusNodeAdjacency?: TdSankeyFocusNodeAdjacency;\n label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n lineStyle?: ITdLineCurveStyle;\n emphasis?: ITdEmphasis;\n data?: any[];\n nodes?: any[];\n links?: any[];\n edges?: any[];\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-sankey]',\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(() => TdChartSeriesSankeyComponent),\n },\n ],\n})\nexport class TdChartSeriesSankeyComponent\n extends TdSeriesDirective\n implements ITdSankeySeries\n{\n @Input() zlevel?: number;\n @Input() z?: number;\n @Input() left?: string | number;\n @Input() top?: string | number;\n @Input() right?: string | number;\n @Input() bottom?: string | number;\n @Input() width?: string | number;\n @Input() height?: string | number;\n @Input() nodeWidth?: number;\n @Input() nodeGap?: number;\n @Input() layoutIterations?: number;\n @Input() orient?: TdSankeyOrient;\n @Input() draggable?: boolean;\n @Input() focusNodeAdjacency?: TdSankeyFocusNodeAdjacency;\n @Input() label?: ITdLabel;\n @Input() itemStyle?: ITdItemStyle;\n @Input() lineStyle?: ITdLineCurveStyle;\n @Input() emphasis?: ITdEmphasis;\n @Input() nodes?: any[];\n @Input() links?: any[];\n @Input() edges?: any[];\n @Input() silent?: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('sankey', _optionsService);\n }\n\n getConfig(): any {\n return {\n zlevel: this.zlevel,\n z: this.z,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n width: this.width,\n height: this.height,\n nodeWidth: this.nodeWidth,\n nodeGap: this.nodeGap,\n layoutIterations: this.layoutIterations,\n orient: this.orient,\n draggable: this.draggable,\n focusNodeAdjacency: this.focusNodeAdjacency,\n label: this.label,\n itemStyle: this.itemStyle,\n lineStyle: this.lineStyle,\n emphasis: this.emphasis,\n nodes: this.nodes,\n links: this.links,\n edges: this.edges,\n silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesSankeyComponent } from './sankey.component';\n\nexport const SANKEY_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesSankeyComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [SANKEY_MODULE_COMPONENTS],\n exports: [SANKEY_MODULE_COMPONENTS],\n})\nexport class CovalentSankeyEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MA0Fa,qCACH,iBAAiB;IA0BzB,YAAY,eAAsC;QAChD,KAAK,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC;KAClC;IAED,SAAS;QACP,OAAO;YACL,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,CAAC,EAAE,IAAI,CAAC,CAAC;YACT,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,GAAG,EAAE,IAAI,CAAC,GAAG;YACb,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;YAC3C,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;SACpB,CAAC;KACH;;yHAxDU,4BAA4B;6GAA5B,4BAA4B,q5BAP5B;QACT;YACE,OAAO,EAAE,iBAAiB;YAC1B,WAAW,EAAE,UAAU,CAAC,MAAM,4BAA4B,CAAC;SAC5D;KACF,iDAxBS,EAAE;2FA0BD,4B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AA2B;kBALvC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,wBAAwB,CAAC;oBACxC,OAAO,EAAE,CAAC,wBAAwB,CAAC;iBACpC;;;ACbD;;;;;;"}
@@ -4,7 +4,6 @@ import { CommonModule } from '@angular/common';
4
4
  import * as i1 from '@covalent/echarts/base';
5
5
  import { TdSeriesDirective } from '@covalent/echarts/base';
6
6
 
7
- const _c0 = ["td-scatter", ""];
8
7
  class TdChartSeriesScatterComponent extends TdSeriesDirective {
9
8
  constructor(_optionsService) {
10
9
  super('scatter', _optionsService);
@@ -45,15 +44,14 @@ class TdChartSeriesScatterComponent extends TdSeriesDirective {
45
44
  };
46
45
  }
47
46
  }
48
- /** @nocollapse */ /** @nocollapse */ TdChartSeriesScatterComponent.ɵfac = function TdChartSeriesScatterComponent_Factory(t) { return new (t || TdChartSeriesScatterComponent)(i0.ɵɵdirectiveInject(i1.TdChartOptionsService)); };
49
- /** @nocollapse */ /** @nocollapse */ TdChartSeriesScatterComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdChartSeriesScatterComponent, selectors: [["td-chart-series", "td-scatter", ""]], inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", coordinateSystem: "coordinateSystem", xAxisIndex: "xAxisIndex", yAxisIndex: "yAxisIndex", polarIndex: "polarIndex", geoIndex: "geoIndex", calendarIndex: "calendarIndex", hoverAnimation: "hoverAnimation", legendHoverLink: "legendHoverLink", symbol: "symbol", symbolSize: "symbolSize", symbolRotate: "symbolRotate", symbolKeepAspect: "symbolKeepAspect", symbolOffset: "symbolOffset", large: "large", largeThreshold: "largeThreshold", cursor: "cursor", label: "label", itemStyle: "itemStyle", emphasis: "emphasis", progressive: "progressive", progressiveThreshold: "progressiveThreshold", dimensions: "dimensions", encode: "encode", seriesLayoutBy: "seriesLayoutBy", datasetIndex: "datasetIndex", markPoint: "markPoint", markLine: "markLine", markArea: "markArea", zlevel: "zlevel", z: "z", silent: "silent" }, features: [i0.ɵɵProvidersFeature([
50
- {
51
- provide: TdSeriesDirective,
52
- useExisting: forwardRef((() => TdChartSeriesScatterComponent)),
53
- },
54
- ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 0, vars: 0, template: function TdChartSeriesScatterComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
55
- (function () {
56
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartSeriesScatterComponent, [{
47
+ TdChartSeriesScatterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesScatterComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
48
+ TdChartSeriesScatterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartSeriesScatterComponent, selector: "td-chart-series[td-scatter]", inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", coordinateSystem: "coordinateSystem", xAxisIndex: "xAxisIndex", yAxisIndex: "yAxisIndex", polarIndex: "polarIndex", geoIndex: "geoIndex", calendarIndex: "calendarIndex", hoverAnimation: "hoverAnimation", legendHoverLink: "legendHoverLink", symbol: "symbol", symbolSize: "symbolSize", symbolRotate: "symbolRotate", symbolKeepAspect: "symbolKeepAspect", symbolOffset: "symbolOffset", large: "large", largeThreshold: "largeThreshold", cursor: "cursor", label: "label", itemStyle: "itemStyle", emphasis: "emphasis", progressive: "progressive", progressiveThreshold: "progressiveThreshold", dimensions: "dimensions", encode: "encode", seriesLayoutBy: "seriesLayoutBy", datasetIndex: "datasetIndex", markPoint: "markPoint", markLine: "markLine", markArea: "markArea", zlevel: "zlevel", z: "z", silent: "silent" }, providers: [
49
+ {
50
+ provide: TdSeriesDirective,
51
+ useExisting: forwardRef(() => TdChartSeriesScatterComponent),
52
+ },
53
+ ], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesScatterComponent, decorators: [{
57
55
  type: Component,
58
56
  args: [{
59
57
  selector: 'td-chart-series[td-scatter]',
@@ -78,11 +76,11 @@ class TdChartSeriesScatterComponent extends TdSeriesDirective {
78
76
  providers: [
79
77
  {
80
78
  provide: TdSeriesDirective,
81
- useExisting: forwardRef((() => TdChartSeriesScatterComponent)),
79
+ useExisting: forwardRef(() => TdChartSeriesScatterComponent),
82
80
  },
83
81
  ],
84
82
  }]
85
- }], function () { return [{ type: i1.TdChartOptionsService }]; }, { coordinateSystem: [{
83
+ }], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { coordinateSystem: [{
86
84
  type: Input
87
85
  }], xAxisIndex: [{
88
86
  type: Input
@@ -144,26 +142,24 @@ class TdChartSeriesScatterComponent extends TdSeriesDirective {
144
142
  type: Input
145
143
  }], silent: [{
146
144
  type: Input
147
- }] });
148
- })();
145
+ }] } });
149
146
 
150
- const SCATTER_MODULE_COMPONENTS = [TdChartSeriesScatterComponent];
147
+ const SCATTER_MODULE_COMPONENTS = [
148
+ TdChartSeriesScatterComponent,
149
+ ];
151
150
  class CovalentScatterEchartsModule {
152
151
  }
153
- /** @nocollapse */ /** @nocollapse */ CovalentScatterEchartsModule.ɵfac = function CovalentScatterEchartsModule_Factory(t) { return new (t || CovalentScatterEchartsModule)(); };
154
- /** @nocollapse */ /** @nocollapse */ CovalentScatterEchartsModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CovalentScatterEchartsModule });
155
- /** @nocollapse */ /** @nocollapse */ CovalentScatterEchartsModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [[CommonModule]] });
156
- (function () {
157
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentScatterEchartsModule, [{
152
+ CovalentScatterEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentScatterEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
153
+ CovalentScatterEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentScatterEchartsModule, declarations: [TdChartSeriesScatterComponent], imports: [CommonModule], exports: [TdChartSeriesScatterComponent] });
154
+ CovalentScatterEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentScatterEchartsModule, imports: [[CommonModule]] });
155
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentScatterEchartsModule, decorators: [{
158
156
  type: NgModule,
159
157
  args: [{
160
158
  imports: [CommonModule],
161
159
  declarations: [SCATTER_MODULE_COMPONENTS],
162
160
  exports: [SCATTER_MODULE_COMPONENTS],
163
161
  }]
164
- }], null, null);
165
- })();
166
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentScatterEchartsModule, { declarations: [TdChartSeriesScatterComponent], imports: [CommonModule], exports: [TdChartSeriesScatterComponent] }); })();
162
+ }] });
167
163
 
168
164
  /**
169
165
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts-scatter.mjs","sources":["../../../../src/platform/echarts/scatter/scatter.component.ts","../../../../src/platform/echarts/scatter/scatter.module.ts","../../../../src/platform/echarts/scatter/covalent-echarts-scatter.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n TdCoordinateSystem,\n TdMarkPointSymbol,\n ITdMarkPoint,\n ITdItemStyle,\n ITdLabel,\n ITdEmphasis,\n TdSeriesLayoutBy,\n ITdMarkLine,\n ITdMarkArea,\n TdSeriesDirective,\n ITdSeries,\n} from '@covalent/echarts/base';\n\nexport interface ITdScatterSeries extends ITdSeries {\n coordinateSystem?: TdCoordinateSystem;\n xAxisIndex?: number;\n yAxisIndex?: number;\n polarIndex?: number;\n geoIndex?: number;\n calendarIndex?: number;\n hoverAnimation?: boolean;\n legendHoverLink?: boolean;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[] | Function;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n large?: boolean;\n largeThreshold?: number;\n cursor?: string;\n connectNulls?: boolean;\n clipOverflow?: boolean;\n step?: boolean;\n label?: ITdLabel;\n itemStyle?: any;\n emphasis?: ITdEmphasis;\n progressive?: number;\n progressiveThreshold?: number;\n dimensions?: any[];\n encode?: any;\n seriesLayoutBy?: TdSeriesLayoutBy;\n datasetIndex?: number;\n data?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n zlevel?: number;\n z?: number;\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-scatter]',\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(() => TdChartSeriesScatterComponent),\n },\n ],\n})\nexport class TdChartSeriesScatterComponent extends TdSeriesDirective implements ITdScatterSeries {\n @Input() coordinateSystem: TdCoordinateSystem;\n @Input() xAxisIndex: number;\n @Input() yAxisIndex: number;\n @Input() polarIndex: number;\n @Input() geoIndex: number;\n @Input() calendarIndex: number;\n @Input() hoverAnimation: boolean;\n @Input() legendHoverLink: 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() large: boolean;\n @Input() largeThreshold: number;\n @Input() cursor: string;\n @Input() label: ITdLabel;\n @Input() itemStyle: ITdItemStyle;\n @Input() emphasis: ITdEmphasis;\n @Input() progressive: number;\n @Input() progressiveThreshold: number;\n @Input() dimensions: any[];\n @Input() encode: any;\n @Input() seriesLayoutBy: TdSeriesLayoutBy;\n @Input() datasetIndex: number;\n @Input() markPoint: ITdMarkPoint;\n @Input() markLine: ITdMarkLine;\n @Input() markArea: ITdMarkArea;\n @Input() zlevel: number;\n @Input() z: number;\n @Input() silent: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('scatter', _optionsService);\n }\n\n getConfig(): any {\n return {\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n polarIndex: this.polarIndex,\n geoIndex: this.geoIndex,\n calendarIndex: this.calendarIndex,\n hoverAnimation: this.hoverAnimation,\n legendHoverLink: this.legendHoverLink,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n large: this.large,\n largeThreshold: this.largeThreshold,\n cursor: this.cursor,\n label: this.label,\n itemStyle: this.itemStyle,\n emphasis: this.emphasis,\n progressive: this.progressive,\n progressiveThreshold: this.progressiveThreshold,\n dimensions: this.dimensions,\n encode: this.encode,\n seriesLayoutBy: this.seriesLayoutBy,\n datasetIndex: this.datasetIndex,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesScatterComponent } from './scatter.component';\n\nexport const SCATTER_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesScatterComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [SCATTER_MODULE_COMPONENTS],\n exports: [SCATTER_MODULE_COMPONENTS],\n})\nexport class CovalentScatterEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAmFa,sCAAsC,iBAAiB;IAiClE,YAAY,eAAsC;QAChD,KAAK,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;KACnC;IAED,SAAS;QACP,OAAO;YACL,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,KAAK,EAAE,IAAI,CAAC,KA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B,KAAK;gBACG,UAAU;sBAAlB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACG,aAAa;sBAArB,KAAK;gBACG,cAAc;sBAAtB,KAAK;gBACG,eAAe;sBAAvB,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,UAAU;sBAAlB,KAAK;gBACG,YAAY;sBAApB,KAAK;gBACG,gBAAgB;sBAAxB,KAAK;gBACG,YAAY;sBAApB,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,cAAc;sBAAtB,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACG,WAAW;sBAAnB,KAAK;gBACG,oBAAoB;sBAA5B,KAAK;gBACG,UAAU;sBAAlB,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,cAAc;sBAAtB,KAAK;gBACG,YAAY;sBAApB,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,CAAC;sBAAT,KAAK;gBACG,MAAM;sBAAd,KAAK;;;;MC7GK,yBAAyB,GAAgB,CAAC,6BAA6B,EAAE;MAOzE,4BAA4B;;8IAA5B,4BAA4B;gIAA5B,4BAA4B;oIAJ9B,CAAC,YAAY,CAAC;;4EAIZ,4BAA4B;kBALxC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,yBAAyB,CAAC;oBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;iBACrC;;;wFACY,4BAA4B,mBAPc,6BAA6B,aAGxE,YAAY,aAH+B,6BAA6B;;ACLpF;;;;;;"}
1
+ {"version":3,"file":"covalent-echarts-scatter.mjs","sources":["../../../../libs/angular-echarts/scatter/src/scatter.component.ts","../../../../libs/angular-echarts/scatter/src/scatter.module.ts","../../../../libs/angular-echarts/scatter/src/covalent-echarts-scatter.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n TdCoordinateSystem,\n TdMarkPointSymbol,\n ITdMarkPoint,\n ITdItemStyle,\n ITdLabel,\n ITdEmphasis,\n TdSeriesLayoutBy,\n ITdMarkLine,\n ITdMarkArea,\n TdSeriesDirective,\n ITdSeries,\n} from '@covalent/echarts/base';\n\nexport interface ITdScatterSeries extends ITdSeries {\n coordinateSystem?: TdCoordinateSystem;\n xAxisIndex?: number;\n yAxisIndex?: number;\n polarIndex?: number;\n geoIndex?: number;\n calendarIndex?: number;\n hoverAnimation?: boolean;\n legendHoverLink?: boolean;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[] | Function;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n large?: boolean;\n largeThreshold?: number;\n cursor?: string;\n connectNulls?: boolean;\n clipOverflow?: boolean;\n step?: boolean;\n label?: ITdLabel;\n itemStyle?: any;\n emphasis?: ITdEmphasis;\n progressive?: number;\n progressiveThreshold?: number;\n dimensions?: any[];\n encode?: any;\n seriesLayoutBy?: TdSeriesLayoutBy;\n datasetIndex?: number;\n data?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n zlevel?: number;\n z?: number;\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-scatter]',\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(() => TdChartSeriesScatterComponent),\n },\n ],\n})\nexport class TdChartSeriesScatterComponent\n extends TdSeriesDirective\n implements ITdScatterSeries\n{\n @Input() coordinateSystem?: TdCoordinateSystem;\n @Input() xAxisIndex?: number;\n @Input() yAxisIndex?: number;\n @Input() polarIndex?: number;\n @Input() geoIndex?: number;\n @Input() calendarIndex?: number;\n @Input() hoverAnimation?: boolean;\n @Input() legendHoverLink?: 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() large?: boolean;\n @Input() largeThreshold?: number;\n @Input() cursor?: string;\n @Input() label?: ITdLabel;\n @Input() itemStyle?: ITdItemStyle;\n @Input() emphasis?: ITdEmphasis;\n @Input() progressive?: number;\n @Input() progressiveThreshold?: number;\n @Input() dimensions?: any[];\n @Input() encode?: any;\n @Input() seriesLayoutBy?: TdSeriesLayoutBy;\n @Input() datasetIndex?: number;\n @Input() markPoint?: ITdMarkPoint;\n @Input() markLine?: ITdMarkLine;\n @Input() markArea?: ITdMarkArea;\n @Input() zlevel?: number;\n @Input() z?: number;\n @Input() silent?: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('scatter', _optionsService);\n }\n\n getConfig(): any {\n return {\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n polarIndex: this.polarIndex,\n geoIndex: this.geoIndex,\n calendarIndex: this.calendarIndex,\n hoverAnimation: this.hoverAnimation,\n legendHoverLink: this.legendHoverLink,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n large: this.large,\n largeThreshold: this.largeThreshold,\n cursor: this.cursor,\n label: this.label,\n itemStyle: this.itemStyle,\n emphasis: this.emphasis,\n progressive: this.progressive,\n progressiveThreshold: this.progressiveThreshold,\n dimensions: this.dimensions,\n encode: this.encode,\n seriesLayoutBy: this.seriesLayoutBy,\n datasetIndex: this.datasetIndex,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesScatterComponent } from './scatter.component';\n\nexport const SCATTER_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesScatterComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [SCATTER_MODULE_COMPONENTS],\n exports: [SCATTER_MODULE_COMPONENTS],\n})\nexport class CovalentScatterEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MAwFa,sCACH,iBAAiB;IAmCzB,YAAY,eAAsC;QAChD,KAAK,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;KACnC;IAED,SAAS;QACP,OAAO;YACL,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,SAAS,EAA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gBACG,UAAU;sBAAlB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACG,aAAa;sBAArB,KAAK;gBACG,cAAc;sBAAtB,KAAK;gBACG,eAAe;sBAAvB,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,UAAU;sBAAlB,KAAK;gBACG,YAAY;sBAApB,KAAK;gBACG,gBAAgB;sBAAxB,KAAK;gBACG,YAAY;sBAApB,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,cAAc;sBAAtB,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACG,WAAW;sBAAnB,KAAK;gBACG,oBAAoB;sBAA5B,KAAK;gBACG,UAAU;sBAAlB,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,cAAc;sBAAtB,KAAK;gBACG,YAAY;sBAApB,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,CAAC;sBAAT,KAAK;gBACG,MAAM;sBAAd,KAAK;;;MCrHK,yBAAyB,GAAgB;IACpD,6BAA6B;EAC7B;MAOW,4BAA4B;;yHAA5B,4BAA4B;0HAA5B,4BAA4B,iBARvC,6BAA6B,aAInB,YAAY,aAJtB,6BAA6B;0HAQlB,4BAA4B,YAJ9B,CAAC,YAAY,CAAC;2FAIZ,4BAA4B;kBALxC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,yBAAyB,CAAC;oBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;iBACrC;;;ACbD;;;;;;"}
@@ -5,20 +5,16 @@ import { CommonModule } from '@angular/common';
5
5
  import * as i1 from '@covalent/echarts/base';
6
6
  import { assignDefined } from '@covalent/echarts/base';
7
7
 
8
- const _c0 = ["toolboxContent"];
9
- function TdChartToolboxComponent_ng_template_0_Template(rf, ctx) { }
10
8
  class TdChartViewDataFormatterDirective {
11
9
  }
12
- /** @nocollapse */ /** @nocollapse */ TdChartViewDataFormatterDirective.ɵfac = function TdChartViewDataFormatterDirective_Factory(t) { return new (t || TdChartViewDataFormatterDirective)(); };
13
- /** @nocollapse */ /** @nocollapse */ TdChartViewDataFormatterDirective.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ type: TdChartViewDataFormatterDirective, selectors: [["ng-template", "tdViewDataFormatter", ""]] });
14
- (function () {
15
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartViewDataFormatterDirective, [{
10
+ TdChartViewDataFormatterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartViewDataFormatterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
11
+ TdChartViewDataFormatterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdChartViewDataFormatterDirective, selector: "ng-template[tdViewDataFormatter]", ngImport: i0 });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartViewDataFormatterDirective, decorators: [{
16
13
  type: Directive,
17
14
  args: [{
18
15
  selector: 'ng-template[tdViewDataFormatter]',
19
16
  }]
20
- }], null, null);
21
- })();
17
+ }] });
22
18
  class TdChartToolboxComponent {
23
19
  constructor(_changeDetectorRef, _elementRef, _optionsService) {
24
20
  this._changeDetectorRef = _changeDetectorRef;
@@ -71,8 +67,9 @@ class TdChartToolboxComponent {
71
67
  this._optionsService.clearOption('toolbox');
72
68
  }
73
69
  _checkFormatterTemplate() {
70
+ var _a;
74
71
  if (this.formatterTemplate) {
75
- this.feature = Object.assign(Object.assign({}, this.feature), { dataView: Object.assign(Object.assign({}, this.feature.dataView), { optionToContent: this._optionToContentFormatter() }) });
72
+ this.feature = Object.assign(Object.assign({}, this.feature), { dataView: Object.assign(Object.assign({}, (_a = this.feature) === null || _a === void 0 ? void 0 : _a.dataView), { optionToContent: this._optionToContentFormatter() }) });
76
73
  }
77
74
  }
78
75
  _optionToContentFormatter() {
@@ -82,36 +79,12 @@ class TdChartToolboxComponent {
82
79
  };
83
80
  }
84
81
  }
85
- /** @nocollapse */ /** @nocollapse */ TdChartToolboxComponent.ɵfac = function TdChartToolboxComponent_Factory(t) { return new (t || TdChartToolboxComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.TdChartOptionsService)); };
86
- /** @nocollapse */ /** @nocollapse */ TdChartToolboxComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdChartToolboxComponent, selectors: [["td-chart-toolbox"]], contentQueries: function TdChartToolboxComponent_ContentQueries(rf, ctx, dirIndex) {
87
- if (rf & 1) {
88
- i0.ɵɵcontentQuery(dirIndex, TdChartViewDataFormatterDirective, 5, TemplateRef);
89
- }
90
- if (rf & 2) {
91
- let _t;
92
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.formatterTemplate = _t.first);
93
- }
94
- }, viewQuery: function TdChartToolboxComponent_Query(rf, ctx) {
95
- if (rf & 1) {
96
- i0.ɵɵviewQuery(_c0, 7);
97
- }
98
- if (rf & 2) {
99
- let _t;
100
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fullTemplate = _t.first);
101
- }
102
- }, inputs: { config: "config", show: "show", trigger: "trigger", orient: "orient", itemSize: "itemSize", itemGap: "itemGap", showTitle: "showTitle", label: "label", feature: "feature", iconStyle: "iconStyle", zlevel: "zlevel", z: "z", transitionDuration: "transitionDuration", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height" }, features: [i0.ɵɵNgOnChangesFeature], decls: 2, vars: 1, consts: [[3, "ngTemplateOutlet"], ["toolboxContent", ""]], template: function TdChartToolboxComponent_Template(rf, ctx) {
103
- if (rf & 1) {
104
- i0.ɵɵtemplate(0, TdChartToolboxComponent_ng_template_0_Template, 0, 0, "ng-template", 0, 1, i0.ɵɵtemplateRefExtractor);
105
- }
106
- if (rf & 2) {
107
- i0.ɵɵproperty("ngTemplateOutlet", ctx.formatterTemplate);
108
- }
109
- }, directives: [i2.NgTemplateOutlet], encapsulation: 2, changeDetection: 0 });
110
- (function () {
111
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartToolboxComponent, [{
82
+ TdChartToolboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartToolboxComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
83
+ TdChartToolboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartToolboxComponent, selector: "td-chart-toolbox", inputs: { config: "config", show: "show", trigger: "trigger", orient: "orient", itemSize: "itemSize", itemGap: "itemGap", showTitle: "showTitle", label: "label", feature: "feature", iconStyle: "iconStyle", zlevel: "zlevel", z: "z", transitionDuration: "transitionDuration", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height" }, queries: [{ propertyName: "formatterTemplate", first: true, predicate: TdChartViewDataFormatterDirective, descendants: true, read: TemplateRef }], viewQueries: [{ propertyName: "fullTemplate", first: true, predicate: ["toolboxContent"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-template\n #toolboxContent\n [ngTemplateOutlet]=\"formatterTemplate\"\n></ng-template>\n", directives: [{ type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartToolboxComponent, decorators: [{
112
85
  type: Component,
113
- args: [{ selector: 'td-chart-toolbox', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #toolboxContent [ngTemplateOutlet]=\"formatterTemplate\"></ng-template>\n" }]
114
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1.TdChartOptionsService }]; }, { config: [{
86
+ args: [{ selector: 'td-chart-toolbox', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template\n #toolboxContent\n [ngTemplateOutlet]=\"formatterTemplate\"\n></ng-template>\n" }]
87
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1.TdChartOptionsService }]; }, propDecorators: { config: [{
115
88
  type: Input
116
89
  }], show: [{
117
90
  type: Input
@@ -155,26 +128,27 @@ class TdChartToolboxComponent {
155
128
  }], fullTemplate: [{
156
129
  type: ViewChild,
157
130
  args: ['toolboxContent', { static: true }]
158
- }] });
159
- })();
131
+ }] } });
160
132
 
161
- const TOOLBOX_MODULE_COMPONENTS = [TdChartToolboxComponent, TdChartViewDataFormatterDirective];
133
+ const TOOLBOX_MODULE_COMPONENTS = [
134
+ TdChartToolboxComponent,
135
+ TdChartViewDataFormatterDirective,
136
+ ];
162
137
  class CovalentToolboxEchartsModule {
163
138
  }
164
- /** @nocollapse */ /** @nocollapse */ CovalentToolboxEchartsModule.ɵfac = function CovalentToolboxEchartsModule_Factory(t) { return new (t || CovalentToolboxEchartsModule)(); };
165
- /** @nocollapse */ /** @nocollapse */ CovalentToolboxEchartsModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CovalentToolboxEchartsModule });
166
- /** @nocollapse */ /** @nocollapse */ CovalentToolboxEchartsModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [[CommonModule]] });
167
- (function () {
168
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentToolboxEchartsModule, [{
139
+ CovalentToolboxEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentToolboxEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
140
+ CovalentToolboxEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentToolboxEchartsModule, declarations: [TdChartToolboxComponent,
141
+ TdChartViewDataFormatterDirective], imports: [CommonModule], exports: [TdChartToolboxComponent,
142
+ TdChartViewDataFormatterDirective] });
143
+ CovalentToolboxEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentToolboxEchartsModule, imports: [[CommonModule]] });
144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentToolboxEchartsModule, decorators: [{
169
145
  type: NgModule,
170
146
  args: [{
171
147
  imports: [CommonModule],
172
148
  declarations: [TOOLBOX_MODULE_COMPONENTS],
173
149
  exports: [TOOLBOX_MODULE_COMPONENTS],
174
150
  }]
175
- }], null, null);
176
- })();
177
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentToolboxEchartsModule, { declarations: [TdChartToolboxComponent, TdChartViewDataFormatterDirective], imports: [CommonModule], exports: [TdChartToolboxComponent, TdChartViewDataFormatterDirective] }); })();
151
+ }] });
178
152
 
179
153
  /**
180
154
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts-toolbox.mjs","sources":["../../../../src/platform/echarts/toolbox/toolbox.component.ts","../../../../src/platform/echarts/toolbox/toolbox.component.html","../../../../src/platform/echarts/toolbox/toolbox.module.ts","../../../../src/platform/echarts/toolbox/covalent-echarts-toolbox.ts"],"sourcesContent":["import {\n Component,\n Input,\n Directive,\n TemplateRef,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n OnChanges,\n ContentChild,\n ViewChild,\n OnDestroy,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n assignDefined,\n ITdLabel,\n ITdShadow,\n ITdItemStyle,\n TdTextPosition,\n TdTextAlign,\n} from '@covalent/echarts/base';\n\nexport type TdToolboxOrient = 'horizontal' | 'vertical';\nexport type TdImageType = 'png' | 'jpeg';\n\nexport interface ITdAcceptedBrushTypes {\n rect?: string;\n polygon?: string;\n lineX?: string;\n lineY?: string;\n keep?: string;\n clear?: string;\n}\n\nexport interface ITdAcceptedMagicTypes {\n line?: string;\n bar?: string;\n stack?: string;\n tiled?: string;\n}\n\nexport interface ITdToolboxIconEmphasis extends ITdItemStyle, ITdShadow {}\n\nexport interface ITdFeatureIconStyle extends ITdItemStyle, ITdShadow {\n textPosition?: TdTextPosition;\n textAlign?: TdTextAlign;\n emphasis?: ITdToolboxIconEmphasis;\n}\n\nexport interface ITdZoomTitles {\n zoom?: string;\n back?: string;\n}\n\nexport interface ITdSaveAsImage {\n type?: TdImageType;\n name?: string;\n backgroundColor?: any;\n excludeComponents?: string[]; // defaults to ['toolbox']\n show?: boolean;\n title?: string;\n icon?: string;\n iconStyle?: ITdFeatureIconStyle;\n pixelRatio?: number;\n}\n\nexport interface ITdRestore {\n show?: boolean;\n title?: string;\n icon?: string;\n iconStyle?: ITdFeatureIconStyle;\n}\n\nexport interface ITdDataView {\n show?: boolean;\n title?: string;\n icon?: string;\n iconStyle?: ITdFeatureIconStyle;\n readOnly?: boolean;\n optionToContent?: Function;\n contentToOption?: Function;\n lang?: string[]; // Defaults to Chinese, there are 3 names in data view, which are ['data view', 'turn off' and 'refresh'].\n textareaColor?: string;\n textareaBorderColor?: string;\n textColor?: string;\n buttonColor?: string;\n buttonTextColor?: string;\n}\n\nexport interface ITdDataZoom {\n show?: boolean;\n title?: ITdZoomTitles;\n icon?: ITdZoomTitles;\n iconStyle?: ITdFeatureIconStyle;\n xAxisIndex?: number | number[] | boolean;\n yAxisIndex?: number | number[] | boolean;\n}\n\nexport interface ITdMagicType {\n show?: boolean;\n type?: string[]; // only expects 'line' | 'bar' | 'stack' | 'tiled';\n title?: ITdAcceptedMagicTypes;\n icon?: ITdAcceptedMagicTypes;\n iconStyle?: ITdFeatureIconStyle;\n option?: {\n line?: object;\n bar?: object;\n stack?: object;\n tiled?: object;\n };\n seriesIndex?: {\n line?: any[];\n bar?: any[];\n stack?: any[];\n tiled?: any[];\n };\n}\n\nexport interface ITdBrush {\n type?: any[];\n icon?: ITdAcceptedBrushTypes;\n title?: ITdAcceptedBrushTypes;\n}\n\nexport interface ITdToolboxFeature {\n saveAsImage?: ITdSaveAsImage;\n restore?: ITdRestore;\n dataView?: ITdDataView;\n dataZoom?: ITdDataZoom;\n magicType?: ITdMagicType;\n brush?: ITdBrush;\n}\n\n@Directive({\n selector: 'ng-template[tdViewDataFormatter]',\n})\nexport class TdChartViewDataFormatterDirective {}\n\n@Component({\n selector: 'td-chart-toolbox',\n templateUrl: './toolbox.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdChartToolboxComponent implements OnChanges, OnDestroy {\n private _state: any = {};\n\n @Input() config: any = {};\n\n @Input() show: boolean = true;\n @Input() trigger: string;\n @Input() orient: TdToolboxOrient;\n @Input() itemSize: number;\n @Input() itemGap: number;\n @Input() showTitle: boolean = true;\n @Input() label: ITdLabel;\n @Input() feature: ITdToolboxFeature;\n @Input() iconStyle: ITdFeatureIconStyle;\n @Input() zlevel: number;\n @Input() z: number;\n @Input() transitionDuration: number = 0.5;\n @Input() left: string | number = 'auto';\n @Input() top: string | number = 'auto';\n @Input() right: string | number = 'auto';\n @Input() bottom: string | number = 'auto';\n @Input() width: string | number = 'auto';\n @Input() height: string | number = 'auto';\n\n @ContentChild(TdChartViewDataFormatterDirective, { read: TemplateRef })\n formatterTemplate: TemplateRef<any>;\n @ViewChild('toolboxContent', { static: true }) fullTemplate: TemplateRef<any>;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n private _optionsService: TdChartOptionsService,\n ) {}\n\n ngOnChanges(): void {\n this._setOptions();\n }\n\n ngOnDestroy(): void {\n this._removeOption();\n }\n\n private _setOptions(): void {\n this._checkFormatterTemplate();\n\n const config: any = assignDefined(\n this._state,\n {\n show: this.show,\n name: this.trigger,\n orient: this.orient,\n itemSize: this.itemSize,\n itemGap: this.itemGap,\n showTitle: this.showTitle,\n label: this.label,\n feature: this.feature,\n iconStyle: this.iconStyle,\n zlevel: this.zlevel,\n z: this.z,\n transitionDuration: this.transitionDuration,\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 this.config ? this.config : {},\n );\n // set toolbox configuration in parent chart and render new configurations\n this._optionsService.setOption('toolbox', config);\n }\n\n private _removeOption(): void {\n this._optionsService.clearOption('toolbox');\n }\n\n private _checkFormatterTemplate(): void {\n if (this.formatterTemplate) {\n this.feature = {\n ...this.feature,\n dataView: {\n ...this.feature.dataView,\n optionToContent: this._optionToContentFormatter(),\n },\n };\n }\n }\n\n private _optionToContentFormatter(): () => string {\n return () => {\n this._changeDetectorRef.markForCheck();\n return (<HTMLElement>this._elementRef.nativeElement).innerHTML;\n };\n }\n}\n","<ng-template #toolboxContent [ngTemplateOutlet]=\"formatterTemplate\"></ng-template>\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartToolboxComponent, TdChartViewDataFormatterDirective } from './toolbox.component';\n\nexport const TOOLBOX_MODULE_COMPONENTS: Type<any>[] = [TdChartToolboxComponent, TdChartViewDataFormatterDirective];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TOOLBOX_MODULE_COMPONENTS],\n exports: [TOOLBOX_MODULE_COMPONENTS],\n})\nexport class CovalentToolboxEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MA0Ia,iCAAiC;;wJAA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AAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,OAAO;sBAAf,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,CAAC;sBAAT,KAAK;gBACG,kBAAkB;sBAA1B,KAAK;gBACG,IAAI;sBAAZ,KAAK;gBACG,GAAG;sBAAX,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,MAAM;sBAAd,KAAK;gBAGN,iBAAiB;sBADhB,YAAY;uBAAC,iCAAiC,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;gBAEvB,YAAY;sBAA1D,SAAS;uBAAC,gBAAgB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;;;;MEtKlC,yBAAyB,GAAgB,CAAC,uBAAuB,EAAE,iCAAiC,EAAE;MAOtG,4BAA4B;;8IAA5B,4BAA4B;gIAA5B,4BAA4B;oIAJ9B,CAAC,YAAY,CAAC;;4EAIZ,4BAA4B;kBALxC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,yBAAyB,CAAC;oBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;iBACrC;;;wFACY,4BAA4B,mBAPc,uBAAuB,EAAE,iCAAiC,aAGrG,YAAY,aAH+B,uBAAuB,EAAE,iCAAiC;;ACLjH;;;;;;"}
1
+ {"version":3,"file":"covalent-echarts-toolbox.mjs","sources":["../../../../libs/angular-echarts/toolbox/src/toolbox.component.ts","../../../../libs/angular-echarts/toolbox/src/toolbox.component.html","../../../../libs/angular-echarts/toolbox/src/toolbox.module.ts","../../../../libs/angular-echarts/toolbox/src/covalent-echarts-toolbox.ts"],"sourcesContent":["import {\n Component,\n Input,\n Directive,\n TemplateRef,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n OnChanges,\n ContentChild,\n ViewChild,\n OnDestroy,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n assignDefined,\n ITdLabel,\n ITdShadow,\n ITdItemStyle,\n TdTextPosition,\n TdTextAlign,\n} from '@covalent/echarts/base';\n\nexport type TdToolboxOrient = 'horizontal' | 'vertical';\nexport type TdImageType = 'png' | 'jpeg';\n\nexport interface ITdAcceptedBrushTypes {\n rect?: string;\n polygon?: string;\n lineX?: string;\n lineY?: string;\n keep?: string;\n clear?: string;\n}\n\nexport interface ITdAcceptedMagicTypes {\n line?: string;\n bar?: string;\n stack?: string;\n tiled?: string;\n}\n\nexport interface ITdToolboxIconEmphasis extends ITdItemStyle, ITdShadow {}\n\nexport interface ITdFeatureIconStyle extends ITdItemStyle, ITdShadow {\n textPosition?: TdTextPosition;\n textAlign?: TdTextAlign;\n emphasis?: ITdToolboxIconEmphasis;\n}\n\nexport interface ITdZoomTitles {\n zoom?: string;\n back?: string;\n}\n\nexport interface ITdSaveAsImage {\n type?: TdImageType;\n name?: string;\n backgroundColor?: any;\n excludeComponents?: string[]; // defaults to ['toolbox']\n show?: boolean;\n title?: string;\n icon?: string;\n iconStyle?: ITdFeatureIconStyle;\n pixelRatio?: number;\n}\n\nexport interface ITdRestore {\n show?: boolean;\n title?: string;\n icon?: string;\n iconStyle?: ITdFeatureIconStyle;\n}\n\nexport interface ITdDataView {\n show?: boolean;\n title?: string;\n icon?: string;\n iconStyle?: ITdFeatureIconStyle;\n readOnly?: boolean;\n optionToContent?: Function;\n contentToOption?: Function;\n lang?: string[]; // Defaults to Chinese, there are 3 names in data view, which are ['data view', 'turn off' and 'refresh'].\n textareaColor?: string;\n textareaBorderColor?: string;\n textColor?: string;\n buttonColor?: string;\n buttonTextColor?: string;\n}\n\nexport interface ITdDataZoom {\n show?: boolean;\n title?: ITdZoomTitles;\n icon?: ITdZoomTitles;\n iconStyle?: ITdFeatureIconStyle;\n xAxisIndex?: number | number[] | boolean;\n yAxisIndex?: number | number[] | boolean;\n}\n\nexport interface ITdMagicType {\n show?: boolean;\n type?: string[]; // only expects 'line' | 'bar' | 'stack' | 'tiled';\n title?: ITdAcceptedMagicTypes;\n icon?: ITdAcceptedMagicTypes;\n iconStyle?: ITdFeatureIconStyle;\n option?: {\n line?: object;\n bar?: object;\n stack?: object;\n tiled?: object;\n };\n seriesIndex?: {\n line?: any[];\n bar?: any[];\n stack?: any[];\n tiled?: any[];\n };\n}\n\nexport interface ITdBrush {\n type?: any[];\n icon?: ITdAcceptedBrushTypes;\n title?: ITdAcceptedBrushTypes;\n}\n\nexport interface ITdToolboxFeature {\n saveAsImage?: ITdSaveAsImage;\n restore?: ITdRestore;\n dataView?: ITdDataView;\n dataZoom?: ITdDataZoom;\n magicType?: ITdMagicType;\n brush?: ITdBrush;\n}\n\n@Directive({\n selector: 'ng-template[tdViewDataFormatter]',\n})\nexport class TdChartViewDataFormatterDirective {}\n\n@Component({\n selector: 'td-chart-toolbox',\n templateUrl: './toolbox.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdChartToolboxComponent implements OnChanges, OnDestroy {\n private _state: any = {};\n\n @Input() config: any = {};\n\n @Input() show = true;\n @Input() trigger?: string;\n @Input() orient?: TdToolboxOrient;\n @Input() itemSize?: number;\n @Input() itemGap?: number;\n @Input() showTitle? = true;\n @Input() label?: ITdLabel;\n @Input() feature?: ITdToolboxFeature;\n @Input() iconStyle?: ITdFeatureIconStyle;\n @Input() zlevel?: number;\n @Input() z?: number;\n @Input() transitionDuration = 0.5;\n @Input() left: string | number = 'auto';\n @Input() top: string | number = 'auto';\n @Input() right: string | number = 'auto';\n @Input() bottom: string | number = 'auto';\n @Input() width: string | number = 'auto';\n @Input() height: string | number = 'auto';\n\n @ContentChild(TdChartViewDataFormatterDirective, { read: TemplateRef })\n formatterTemplate!: TemplateRef<any>;\n @ViewChild('toolboxContent', { static: true })\n fullTemplate!: TemplateRef<any>;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n private _optionsService: TdChartOptionsService\n ) {}\n\n ngOnChanges(): void {\n this._setOptions();\n }\n\n ngOnDestroy(): void {\n this._removeOption();\n }\n\n private _setOptions(): void {\n this._checkFormatterTemplate();\n\n const config: any = assignDefined(\n this._state,\n {\n show: this.show,\n name: this.trigger,\n orient: this.orient,\n itemSize: this.itemSize,\n itemGap: this.itemGap,\n showTitle: this.showTitle,\n label: this.label,\n feature: this.feature,\n iconStyle: this.iconStyle,\n zlevel: this.zlevel,\n z: this.z,\n transitionDuration: this.transitionDuration,\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 this.config ? this.config : {}\n );\n // set toolbox configuration in parent chart and render new configurations\n this._optionsService.setOption('toolbox', config);\n }\n\n private _removeOption(): void {\n this._optionsService.clearOption('toolbox');\n }\n\n private _checkFormatterTemplate(): void {\n if (this.formatterTemplate) {\n this.feature = {\n ...this.feature,\n dataView: {\n ...this.feature?.dataView,\n optionToContent: this._optionToContentFormatter(),\n },\n };\n }\n }\n\n private _optionToContentFormatter(): () => string {\n return () => {\n this._changeDetectorRef.markForCheck();\n return (<HTMLElement>this._elementRef.nativeElement).innerHTML;\n };\n }\n}\n","<ng-template\n #toolboxContent\n [ngTemplateOutlet]=\"formatterTemplate\"\n></ng-template>\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport {\n TdChartToolboxComponent,\n TdChartViewDataFormatterDirective,\n} from './toolbox.component';\n\nexport const TOOLBOX_MODULE_COMPONENTS: Type<any>[] = [\n TdChartToolboxComponent,\n TdChartViewDataFormatterDirective,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TOOLBOX_MODULE_COMPONENTS],\n exports: [TOOLBOX_MODULE_COMPONENTS],\n})\nexport class CovalentToolboxEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;MA0Ia,iCAAiC;;8HAAjC,iCAAiC;kHAAjC,iCAAiC;2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