@covalent/echarts 4.0.0-alpha.0 → 4.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (386) hide show
  1. package/bar/bar.component.d.ts +3 -0
  2. package/bar/bar.module.d.ts +6 -1
  3. package/bar/covalent-echarts-bar.d.ts +1 -0
  4. package/bar/package.json +6 -7
  5. package/base/axis/axis.component.d.ts +3 -0
  6. package/base/axis/x-axis.component.d.ts +3 -0
  7. package/base/axis/y-axis.component.d.ts +3 -0
  8. package/base/base.module.d.ts +9 -1
  9. package/base/chart-options.service.d.ts +3 -0
  10. package/base/chart.component.d.ts +3 -0
  11. package/base/covalent-echarts-base.d.ts +1 -1
  12. package/base/dataset/dataset.component.d.ts +3 -0
  13. package/base/package.json +6 -7
  14. package/base/series/series.component.d.ts +3 -0
  15. package/covalent-echarts.d.ts +1 -0
  16. package/esm2020/bar/bar.component.mjs +136 -0
  17. package/esm2020/bar/bar.module.mjs +20 -0
  18. package/esm2020/bar/covalent-echarts-bar.mjs +5 -0
  19. package/esm2020/bar/index.mjs +2 -0
  20. package/esm2020/bar/public-api.mjs +3 -0
  21. package/esm2020/base/axis/axis.component.mjs +127 -0
  22. package/esm2020/base/axis/axis.interface.mjs +2 -0
  23. package/esm2020/base/axis/x-axis.component.mjs +55 -0
  24. package/esm2020/base/axis/y-axis.component.mjs +55 -0
  25. package/esm2020/base/base.module.mjs +36 -0
  26. package/esm2020/base/base.types.mjs +2 -0
  27. package/esm2020/base/chart-options.service.mjs +65 -0
  28. package/esm2020/base/chart.component.mjs +191 -0
  29. package/esm2020/base/covalent-echarts-base.mjs +5 -0
  30. package/esm2020/base/dataset/dataset.component.mjs +52 -0
  31. package/esm2020/base/index.mjs +2 -0
  32. package/esm2020/base/public-api.mjs +10 -0
  33. package/esm2020/base/series/series.component.mjs +91 -0
  34. package/esm2020/base/series/series.interface.mjs +2 -0
  35. package/{esm2015/base/themes/teradata-classic.js → esm2020/base/themes/aqua-splash.mjs} +10 -15
  36. package/esm2020/base/themes/california-coast.mjs +460 -0
  37. package/esm2020/base/themes/hawaiian-sunrise.mjs +460 -0
  38. package/{esm2015/base/themes/volcanic-eruption.js → esm2020/base/themes/passion-flower.mjs} +18 -23
  39. package/esm2020/base/themes/razzleberry-pie.mjs +460 -0
  40. package/esm2020/base/themes/teradata-classic.mjs +460 -0
  41. package/{esm2015/base/themes/hawaiian-sunrise.js → esm2020/base/themes/teradata-default.mjs} +18 -23
  42. package/esm2020/base/themes/urban-sunrise.mjs +460 -0
  43. package/esm2020/base/themes/volcanic-eruption.mjs +460 -0
  44. package/esm2020/base/utils/assign-defined.mjs +25 -0
  45. package/esm2020/base/utils/echarts.mjs +49 -0
  46. package/esm2020/base/utils/index.mjs +3 -0
  47. package/esm2020/covalent-echarts.mjs +5 -0
  48. package/esm2020/graph/covalent-echarts-graph.mjs +5 -0
  49. package/esm2020/graph/graph.component.mjs +186 -0
  50. package/esm2020/graph/graph.module.mjs +20 -0
  51. package/esm2020/graph/index.mjs +2 -0
  52. package/esm2020/graph/public-api.mjs +3 -0
  53. package/esm2020/index.mjs +2 -0
  54. package/esm2020/line/covalent-echarts-line.mjs +5 -0
  55. package/esm2020/line/index.mjs +2 -0
  56. package/esm2020/line/line.component.mjs +160 -0
  57. package/esm2020/line/line.module.mjs +20 -0
  58. package/esm2020/line/public-api.mjs +3 -0
  59. package/esm2020/map/covalent-echarts-map.mjs +5 -0
  60. package/esm2020/map/index.mjs +2 -0
  61. package/esm2020/map/map.component.mjs +133 -0
  62. package/esm2020/map/map.module.mjs +20 -0
  63. package/esm2020/map/public-api.mjs +3 -0
  64. package/esm2020/pie/covalent-echarts-pie.mjs +5 -0
  65. package/esm2020/pie/index.mjs +2 -0
  66. package/esm2020/pie/pie.component.mjs +128 -0
  67. package/esm2020/pie/pie.module.mjs +20 -0
  68. package/esm2020/pie/public-api.mjs +3 -0
  69. package/esm2020/sankey/covalent-echarts-sankey.mjs +5 -0
  70. package/esm2020/sankey/index.mjs +2 -0
  71. package/esm2020/sankey/public-api.mjs +3 -0
  72. package/esm2020/sankey/sankey.component.mjs +118 -0
  73. package/esm2020/sankey/sankey.module.mjs +20 -0
  74. package/esm2020/scatter/covalent-echarts-scatter.mjs +5 -0
  75. package/esm2020/scatter/index.mjs +2 -0
  76. package/esm2020/scatter/public-api.mjs +3 -0
  77. package/esm2020/scatter/scatter.component.mjs +145 -0
  78. package/esm2020/scatter/scatter.module.mjs +20 -0
  79. package/esm2020/toolbox/covalent-echarts-toolbox.mjs +5 -0
  80. package/esm2020/toolbox/index.mjs +2 -0
  81. package/esm2020/toolbox/public-api.mjs +3 -0
  82. package/esm2020/toolbox/toolbox.component.mjs +151 -0
  83. package/esm2020/toolbox/toolbox.module.mjs +20 -0
  84. package/esm2020/tooltip/covalent-echarts-tooltip.mjs +5 -0
  85. package/esm2020/tooltip/index.mjs +2 -0
  86. package/esm2020/tooltip/public-api.mjs +4 -0
  87. package/esm2020/tooltip/series-tooltip.component.mjs +111 -0
  88. package/esm2020/tooltip/tooltip.component.mjs +165 -0
  89. package/esm2020/tooltip/tooltip.module.mjs +29 -0
  90. package/esm2020/tree/covalent-echarts-tree.mjs +5 -0
  91. package/esm2020/tree/index.mjs +2 -0
  92. package/esm2020/tree/public-api.mjs +3 -0
  93. package/esm2020/tree/tree.component.mjs +118 -0
  94. package/esm2020/tree/tree.module.mjs +20 -0
  95. package/esm2020/treemap/covalent-echarts-treemap.mjs +5 -0
  96. package/esm2020/treemap/index.mjs +2 -0
  97. package/esm2020/treemap/public-api.mjs +3 -0
  98. package/esm2020/treemap/treemap.component.mjs +150 -0
  99. package/esm2020/treemap/treemap.module.mjs +20 -0
  100. package/esm2020/wordcloud/covalent-echarts-wordcloud.mjs +5 -0
  101. package/esm2020/wordcloud/index.mjs +2 -0
  102. package/esm2020/wordcloud/public-api.mjs +3 -0
  103. package/esm2020/wordcloud/wordcloud.component.mjs +93 -0
  104. package/esm2020/wordcloud/wordcloud.module.mjs +20 -0
  105. package/fesm2015/covalent-echarts-bar.mjs +164 -0
  106. package/fesm2015/covalent-echarts-bar.mjs.map +1 -0
  107. package/fesm2015/covalent-echarts-base.mjs +4864 -0
  108. package/fesm2015/covalent-echarts-base.mjs.map +1 -0
  109. package/fesm2015/covalent-echarts-graph.mjs +214 -0
  110. package/fesm2015/covalent-echarts-graph.mjs.map +1 -0
  111. package/fesm2015/covalent-echarts-line.mjs +188 -0
  112. package/fesm2015/covalent-echarts-line.mjs.map +1 -0
  113. package/fesm2015/covalent-echarts-map.mjs +161 -0
  114. package/fesm2015/{covalent-echarts-map.js.map → covalent-echarts-map.mjs.map} +1 -1
  115. package/fesm2015/covalent-echarts-pie.mjs +156 -0
  116. package/fesm2015/{covalent-echarts-pie.js.map → covalent-echarts-pie.mjs.map} +1 -1
  117. package/fesm2015/covalent-echarts-sankey.mjs +146 -0
  118. package/fesm2015/covalent-echarts-sankey.mjs.map +1 -0
  119. package/fesm2015/covalent-echarts-scatter.mjs +173 -0
  120. package/fesm2015/covalent-echarts-scatter.mjs.map +1 -0
  121. package/fesm2015/covalent-echarts-toolbox.mjs +184 -0
  122. package/fesm2015/covalent-echarts-toolbox.mjs.map +1 -0
  123. package/fesm2015/covalent-echarts-tooltip.mjs +330 -0
  124. package/fesm2015/covalent-echarts-tooltip.mjs.map +1 -0
  125. package/fesm2015/covalent-echarts-tree.mjs +146 -0
  126. package/fesm2015/covalent-echarts-tree.mjs.map +1 -0
  127. package/fesm2015/covalent-echarts-treemap.mjs +178 -0
  128. package/fesm2015/covalent-echarts-treemap.mjs.map +1 -0
  129. package/fesm2015/covalent-echarts-wordcloud.mjs +121 -0
  130. package/fesm2015/covalent-echarts-wordcloud.mjs.map +1 -0
  131. package/fesm2015/covalent-echarts.mjs +4 -0
  132. package/fesm2015/covalent-echarts.mjs.map +1 -0
  133. package/fesm2020/covalent-echarts-bar.mjs +160 -0
  134. package/{fesm2015/covalent-echarts-bar.js.map → fesm2020/covalent-echarts-bar.mjs.map} +1 -1
  135. package/{fesm2015/covalent-echarts-base.js → fesm2020/covalent-echarts-base.mjs} +218 -769
  136. package/fesm2020/covalent-echarts-base.mjs.map +1 -0
  137. package/fesm2020/covalent-echarts-graph.mjs +210 -0
  138. package/fesm2020/covalent-echarts-graph.mjs.map +1 -0
  139. package/fesm2020/covalent-echarts-line.mjs +184 -0
  140. package/fesm2020/covalent-echarts-line.mjs.map +1 -0
  141. package/fesm2020/covalent-echarts-map.mjs +157 -0
  142. package/fesm2020/covalent-echarts-map.mjs.map +1 -0
  143. package/fesm2020/covalent-echarts-pie.mjs +152 -0
  144. package/fesm2020/covalent-echarts-pie.mjs.map +1 -0
  145. package/fesm2020/covalent-echarts-sankey.mjs +142 -0
  146. package/fesm2020/covalent-echarts-sankey.mjs.map +1 -0
  147. package/fesm2020/covalent-echarts-scatter.mjs +169 -0
  148. package/fesm2020/covalent-echarts-scatter.mjs.map +1 -0
  149. package/fesm2020/covalent-echarts-toolbox.mjs +175 -0
  150. package/fesm2020/covalent-echarts-toolbox.mjs.map +1 -0
  151. package/fesm2020/covalent-echarts-tooltip.mjs +302 -0
  152. package/fesm2020/covalent-echarts-tooltip.mjs.map +1 -0
  153. package/fesm2020/covalent-echarts-tree.mjs +142 -0
  154. package/fesm2020/covalent-echarts-tree.mjs.map +1 -0
  155. package/fesm2020/covalent-echarts-treemap.mjs +174 -0
  156. package/fesm2020/covalent-echarts-treemap.mjs.map +1 -0
  157. package/fesm2020/covalent-echarts-wordcloud.mjs +117 -0
  158. package/fesm2020/covalent-echarts-wordcloud.mjs.map +1 -0
  159. package/fesm2020/covalent-echarts.mjs +4 -0
  160. package/fesm2020/covalent-echarts.mjs.map +1 -0
  161. package/graph/covalent-echarts-graph.d.ts +1 -0
  162. package/graph/graph.component.d.ts +3 -0
  163. package/graph/graph.module.d.ts +6 -1
  164. package/graph/package.json +6 -7
  165. package/line/covalent-echarts-line.d.ts +1 -0
  166. package/line/line.component.d.ts +3 -0
  167. package/line/line.module.d.ts +6 -1
  168. package/line/package.json +6 -7
  169. package/map/covalent-echarts-map.d.ts +1 -0
  170. package/map/map.component.d.ts +3 -0
  171. package/map/map.module.d.ts +6 -1
  172. package/map/package.json +6 -7
  173. package/package.json +134 -15
  174. package/pie/covalent-echarts-pie.d.ts +1 -0
  175. package/pie/package.json +6 -7
  176. package/pie/pie.component.d.ts +3 -0
  177. package/pie/pie.module.d.ts +6 -1
  178. package/sankey/covalent-echarts-sankey.d.ts +1 -0
  179. package/sankey/package.json +6 -7
  180. package/sankey/sankey.component.d.ts +3 -0
  181. package/sankey/sankey.module.d.ts +6 -1
  182. package/scatter/covalent-echarts-scatter.d.ts +1 -0
  183. package/scatter/package.json +6 -7
  184. package/scatter/scatter.component.d.ts +3 -0
  185. package/scatter/scatter.module.d.ts +6 -1
  186. package/toolbox/covalent-echarts-toolbox.d.ts +1 -0
  187. package/toolbox/package.json +6 -7
  188. package/toolbox/toolbox.component.d.ts +5 -0
  189. package/toolbox/toolbox.module.d.ts +6 -1
  190. package/tooltip/covalent-echarts-tooltip.d.ts +1 -0
  191. package/tooltip/package.json +6 -7
  192. package/tooltip/series-tooltip.component.d.ts +3 -0
  193. package/tooltip/tooltip.component.d.ts +5 -0
  194. package/tooltip/tooltip.module.d.ts +7 -1
  195. package/tree/covalent-echarts-tree.d.ts +1 -0
  196. package/tree/package.json +6 -7
  197. package/tree/tree.component.d.ts +3 -0
  198. package/tree/tree.module.d.ts +6 -1
  199. package/treemap/covalent-echarts-treemap.d.ts +1 -0
  200. package/treemap/package.json +6 -7
  201. package/treemap/treemap.component.d.ts +3 -0
  202. package/treemap/treemap.module.d.ts +6 -1
  203. package/wordcloud/covalent-echarts-wordcloud.d.ts +1 -0
  204. package/wordcloud/package.json +6 -7
  205. package/wordcloud/wordcloud.component.d.ts +3 -0
  206. package/wordcloud/wordcloud.module.d.ts +6 -1
  207. package/bar/covalent-echarts-bar.metadata.json +0 -1
  208. package/base/covalent-echarts-base.metadata.json +0 -1
  209. package/bundles/covalent-echarts-bar.umd.js +0 -588
  210. package/bundles/covalent-echarts-bar.umd.js.map +0 -1
  211. package/bundles/covalent-echarts-bar.umd.min.js +0 -16
  212. package/bundles/covalent-echarts-bar.umd.min.js.map +0 -1
  213. package/bundles/covalent-echarts-base.umd.js +0 -5750
  214. package/bundles/covalent-echarts-base.umd.js.map +0 -1
  215. package/bundles/covalent-echarts-base.umd.min.js +0 -16
  216. package/bundles/covalent-echarts-base.umd.min.js.map +0 -1
  217. package/bundles/covalent-echarts-graph.umd.js +0 -745
  218. package/bundles/covalent-echarts-graph.umd.js.map +0 -1
  219. package/bundles/covalent-echarts-graph.umd.min.js +0 -16
  220. package/bundles/covalent-echarts-graph.umd.min.js.map +0 -1
  221. package/bundles/covalent-echarts-line.umd.js +0 -638
  222. package/bundles/covalent-echarts-line.umd.js.map +0 -1
  223. package/bundles/covalent-echarts-line.umd.min.js +0 -16
  224. package/bundles/covalent-echarts-line.umd.min.js.map +0 -1
  225. package/bundles/covalent-echarts-map.umd.js +0 -600
  226. package/bundles/covalent-echarts-map.umd.js.map +0 -1
  227. package/bundles/covalent-echarts-map.umd.min.js +0 -16
  228. package/bundles/covalent-echarts-map.umd.min.js.map +0 -1
  229. package/bundles/covalent-echarts-pie.umd.js +0 -574
  230. package/bundles/covalent-echarts-pie.umd.js.map +0 -1
  231. package/bundles/covalent-echarts-pie.umd.min.js +0 -16
  232. package/bundles/covalent-echarts-pie.umd.min.js.map +0 -1
  233. package/bundles/covalent-echarts-sankey.umd.js +0 -570
  234. package/bundles/covalent-echarts-sankey.umd.js.map +0 -1
  235. package/bundles/covalent-echarts-sankey.umd.min.js +0 -16
  236. package/bundles/covalent-echarts-sankey.umd.min.js.map +0 -1
  237. package/bundles/covalent-echarts-scatter.umd.js +0 -610
  238. package/bundles/covalent-echarts-scatter.umd.js.map +0 -1
  239. package/bundles/covalent-echarts-scatter.umd.min.js +0 -16
  240. package/bundles/covalent-echarts-scatter.umd.min.js.map +0 -1
  241. package/bundles/covalent-echarts-toolbox.umd.js +0 -460
  242. package/bundles/covalent-echarts-toolbox.umd.js.map +0 -1
  243. package/bundles/covalent-echarts-toolbox.umd.min.js +0 -2
  244. package/bundles/covalent-echarts-toolbox.umd.min.js.map +0 -1
  245. package/bundles/covalent-echarts-tooltip.umd.js +0 -476
  246. package/bundles/covalent-echarts-tooltip.umd.js.map +0 -1
  247. package/bundles/covalent-echarts-tooltip.umd.min.js +0 -2
  248. package/bundles/covalent-echarts-tooltip.umd.min.js.map +0 -1
  249. package/bundles/covalent-echarts-tree.umd.js +0 -584
  250. package/bundles/covalent-echarts-tree.umd.js.map +0 -1
  251. package/bundles/covalent-echarts-tree.umd.min.js +0 -16
  252. package/bundles/covalent-echarts-tree.umd.min.js.map +0 -1
  253. package/bundles/covalent-echarts-treemap.umd.js +0 -728
  254. package/bundles/covalent-echarts-treemap.umd.js.map +0 -1
  255. package/bundles/covalent-echarts-treemap.umd.min.js +0 -16
  256. package/bundles/covalent-echarts-treemap.umd.min.js.map +0 -1
  257. package/bundles/covalent-echarts-wordcloud.umd.js +0 -521
  258. package/bundles/covalent-echarts-wordcloud.umd.js.map +0 -1
  259. package/bundles/covalent-echarts-wordcloud.umd.min.js +0 -16
  260. package/bundles/covalent-echarts-wordcloud.umd.min.js.map +0 -1
  261. package/bundles/covalent-echarts.umd.js +0 -9
  262. package/bundles/covalent-echarts.umd.js.map +0 -1
  263. package/bundles/covalent-echarts.umd.min.js +0 -2
  264. package/bundles/covalent-echarts.umd.min.js.map +0 -1
  265. package/covalent-echarts.metadata.json +0 -1
  266. package/esm2015/bar/bar.component.js +0 -241
  267. package/esm2015/bar/bar.module.js +0 -21
  268. package/esm2015/bar/covalent-echarts-bar.js +0 -10
  269. package/esm2015/bar/index.js +0 -7
  270. package/esm2015/bar/public-api.js +0 -8
  271. package/esm2015/base/axis/axis.component.js +0 -209
  272. package/esm2015/base/axis/axis.interface.js +0 -324
  273. package/esm2015/base/axis/x-axis.component.js +0 -67
  274. package/esm2015/base/axis/y-axis.component.js +0 -67
  275. package/esm2015/base/base.module.js +0 -31
  276. package/esm2015/base/base.types.js +0 -278
  277. package/esm2015/base/chart-options.service.js +0 -115
  278. package/esm2015/base/chart.component.js +0 -354
  279. package/esm2015/base/covalent-echarts-base.js +0 -11
  280. package/esm2015/base/dataset/dataset.component.js +0 -93
  281. package/esm2015/base/index.js +0 -7
  282. package/esm2015/base/public-api.js +0 -15
  283. package/esm2015/base/series/series.component.js +0 -187
  284. package/esm2015/base/series/series.interface.js +0 -178
  285. package/esm2015/base/themes/aqua-splash.js +0 -465
  286. package/esm2015/base/themes/california-coast.js +0 -465
  287. package/esm2015/base/themes/passion-flower.js +0 -465
  288. package/esm2015/base/themes/razzleberry-pie.js +0 -465
  289. package/esm2015/base/themes/teradata-default.js +0 -465
  290. package/esm2015/base/themes/urban-sunrise.js +0 -465
  291. package/esm2015/base/utils/assign-defined.js +0 -37
  292. package/esm2015/base/utils/echarts.js +0 -60
  293. package/esm2015/base/utils/index.js +0 -8
  294. package/esm2015/covalent-echarts.js +0 -10
  295. package/esm2015/graph/covalent-echarts-graph.js +0 -10
  296. package/esm2015/graph/graph.component.js +0 -398
  297. package/esm2015/graph/graph.module.js +0 -21
  298. package/esm2015/graph/index.js +0 -7
  299. package/esm2015/graph/public-api.js +0 -8
  300. package/esm2015/index.js +0 -7
  301. package/esm2015/line/covalent-echarts-line.js +0 -10
  302. package/esm2015/line/index.js +0 -7
  303. package/esm2015/line/line.component.js +0 -291
  304. package/esm2015/line/line.module.js +0 -21
  305. package/esm2015/line/public-api.js +0 -8
  306. package/esm2015/map/covalent-echarts-map.js +0 -10
  307. package/esm2015/map/index.js +0 -7
  308. package/esm2015/map/map.component.js +0 -253
  309. package/esm2015/map/map.module.js +0 -21
  310. package/esm2015/map/public-api.js +0 -8
  311. package/esm2015/pie/covalent-echarts-pie.js +0 -10
  312. package/esm2015/pie/index.js +0 -7
  313. package/esm2015/pie/pie.component.js +0 -227
  314. package/esm2015/pie/pie.module.js +0 -21
  315. package/esm2015/pie/public-api.js +0 -8
  316. package/esm2015/sankey/covalent-echarts-sankey.js +0 -10
  317. package/esm2015/sankey/index.js +0 -7
  318. package/esm2015/sankey/public-api.js +0 -8
  319. package/esm2015/sankey/sankey.component.js +0 -223
  320. package/esm2015/sankey/sankey.module.js +0 -21
  321. package/esm2015/scatter/covalent-echarts-scatter.js +0 -10
  322. package/esm2015/scatter/index.js +0 -7
  323. package/esm2015/scatter/public-api.js +0 -8
  324. package/esm2015/scatter/scatter.component.js +0 -263
  325. package/esm2015/scatter/scatter.module.js +0 -21
  326. package/esm2015/toolbox/covalent-echarts-toolbox.js +0 -10
  327. package/esm2015/toolbox/index.js +0 -7
  328. package/esm2015/toolbox/public-api.js +0 -8
  329. package/esm2015/toolbox/toolbox.component.js +0 -405
  330. package/esm2015/toolbox/toolbox.module.js +0 -21
  331. package/esm2015/tooltip/covalent-echarts-tooltip.js +0 -10
  332. package/esm2015/tooltip/index.js +0 -7
  333. package/esm2015/tooltip/public-api.js +0 -9
  334. package/esm2015/tooltip/series-tooltip.component.js +0 -170
  335. package/esm2015/tooltip/tooltip.component.js +0 -246
  336. package/esm2015/tooltip/tooltip.module.js +0 -26
  337. package/esm2015/tree/covalent-echarts-tree.js +0 -10
  338. package/esm2015/tree/index.js +0 -7
  339. package/esm2015/tree/public-api.js +0 -8
  340. package/esm2015/tree/tree.component.js +0 -237
  341. package/esm2015/tree/tree.module.js +0 -21
  342. package/esm2015/treemap/covalent-echarts-treemap.js +0 -10
  343. package/esm2015/treemap/index.js +0 -7
  344. package/esm2015/treemap/public-api.js +0 -8
  345. package/esm2015/treemap/treemap.component.js +0 -380
  346. package/esm2015/treemap/treemap.module.js +0 -21
  347. package/esm2015/wordcloud/covalent-echarts-wordcloud.js +0 -10
  348. package/esm2015/wordcloud/index.js +0 -7
  349. package/esm2015/wordcloud/public-api.js +0 -8
  350. package/esm2015/wordcloud/wordcloud.component.js +0 -174
  351. package/esm2015/wordcloud/wordcloud.module.js +0 -21
  352. package/fesm2015/covalent-echarts-bar.js +0 -281
  353. package/fesm2015/covalent-echarts-base.js.map +0 -1
  354. package/fesm2015/covalent-echarts-graph.js +0 -438
  355. package/fesm2015/covalent-echarts-graph.js.map +0 -1
  356. package/fesm2015/covalent-echarts-line.js +0 -331
  357. package/fesm2015/covalent-echarts-line.js.map +0 -1
  358. package/fesm2015/covalent-echarts-map.js +0 -293
  359. package/fesm2015/covalent-echarts-pie.js +0 -267
  360. package/fesm2015/covalent-echarts-sankey.js +0 -263
  361. package/fesm2015/covalent-echarts-sankey.js.map +0 -1
  362. package/fesm2015/covalent-echarts-scatter.js +0 -303
  363. package/fesm2015/covalent-echarts-scatter.js.map +0 -1
  364. package/fesm2015/covalent-echarts-toolbox.js +0 -445
  365. package/fesm2015/covalent-echarts-toolbox.js.map +0 -1
  366. package/fesm2015/covalent-echarts-tooltip.js +0 -457
  367. package/fesm2015/covalent-echarts-tooltip.js.map +0 -1
  368. package/fesm2015/covalent-echarts-tree.js +0 -277
  369. package/fesm2015/covalent-echarts-tree.js.map +0 -1
  370. package/fesm2015/covalent-echarts-treemap.js +0 -420
  371. package/fesm2015/covalent-echarts-treemap.js.map +0 -1
  372. package/fesm2015/covalent-echarts-wordcloud.js +0 -214
  373. package/fesm2015/covalent-echarts-wordcloud.js.map +0 -1
  374. package/fesm2015/covalent-echarts.js +0 -12
  375. package/fesm2015/covalent-echarts.js.map +0 -1
  376. package/graph/covalent-echarts-graph.metadata.json +0 -1
  377. package/line/covalent-echarts-line.metadata.json +0 -1
  378. package/map/covalent-echarts-map.metadata.json +0 -1
  379. package/pie/covalent-echarts-pie.metadata.json +0 -1
  380. package/sankey/covalent-echarts-sankey.metadata.json +0 -1
  381. package/scatter/covalent-echarts-scatter.metadata.json +0 -1
  382. package/toolbox/covalent-echarts-toolbox.metadata.json +0 -1
  383. package/tooltip/covalent-echarts-tooltip.metadata.json +0 -1
  384. package/tree/covalent-echarts-tree.metadata.json +0 -1
  385. package/treemap/covalent-echarts-treemap.metadata.json +0 -1
  386. package/wordcloud/covalent-echarts-wordcloud.metadata.json +0 -1
@@ -1,42 +1,23 @@
1
- import { Injectable, Optional, SkipSelf, EventEmitter, Component, ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, Input, Output, Directive, NgModule } from '@angular/core';
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable, Optional, SkipSelf, EventEmitter, Component, ChangeDetectionStrategy, Input, Output, Directive, NgModule } from '@angular/core';
2
3
  import { CommonModule } from '@angular/common';
3
4
  import { BehaviorSubject, Subject, fromEvent, merge, timer } from 'rxjs';
4
5
  import { takeUntil, debounceTime, distinctUntilChanged, tap } from 'rxjs/operators';
5
- import { registerTheme as registerTheme$1, init, connect, dispose } from 'echarts/lib/echarts';
6
- import 'zrender/lib/svg/svg';
7
6
 
8
- /**
9
- * @fileoverview added by tsickle
10
- * Generated from: chart-options.service.ts
11
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
12
- */
13
7
  class TdChartOptionsService {
14
8
  constructor() {
15
9
  this._options = {};
16
10
  this._optionsSubject = new BehaviorSubject(this._options);
17
11
  }
18
- /**
19
- * @param {?} option
20
- * @param {?} value
21
- * @return {?}
22
- */
23
12
  setOption(option, value) {
24
- /** @type {?} */
25
13
  const options = {};
26
14
  options[option] = value;
27
15
  Object.assign(this._options, options);
28
16
  this._optionsSubject.next(this._options);
29
17
  }
30
- /**
31
- * @param {?} option
32
- * @param {?} value
33
- * @return {?}
34
- */
35
18
  setArrayOption(option, value) {
36
- /** @type {?} */
37
19
  let prevValue = this.getOption(option);
38
20
  if (prevValue) {
39
- /** @type {?} */
40
21
  const index = prevValue.indexOf(value);
41
22
  index > -1 ? (prevValue[index] = value) : prevValue.push(value);
42
23
  }
@@ -45,16 +26,9 @@ class TdChartOptionsService {
45
26
  }
46
27
  this.setOption(option, prevValue);
47
28
  }
48
- /**
49
- * @param {?} option
50
- * @param {?} value
51
- * @return {?}
52
- */
53
29
  removeArrayOption(option, value) {
54
- /** @type {?} */
55
30
  let prevValue = this.getOption(option);
56
31
  if (prevValue) {
57
- /** @type {?} */
58
32
  const index = prevValue.indexOf(value);
59
33
  if (index > -1) {
60
34
  /* tslint:disable-next-line */
@@ -66,51 +40,25 @@ class TdChartOptionsService {
66
40
  }
67
41
  this.setOption(option, prevValue);
68
42
  }
69
- /**
70
- * @param {?} option
71
- * @return {?}
72
- */
73
43
  getOption(option) {
74
44
  return this._options[option];
75
45
  }
76
- /**
77
- * @param {?} option
78
- * @return {?}
79
- */
80
46
  clearOption(option) {
81
47
  /* tslint:disable-next-line */
82
48
  this.setOption(option, null);
83
49
  }
84
- /**
85
- * @return {?}
86
- */
87
50
  listen() {
88
51
  return this._optionsSubject.asObservable();
89
52
  }
90
53
  }
91
- TdChartOptionsService.decorators = [
92
- { type: Injectable }
93
- ];
94
- if (false) {
95
- /**
96
- * @type {?}
97
- * @private
98
- */
99
- TdChartOptionsService.prototype._options;
100
- /**
101
- * @type {?}
102
- * @private
103
- */
104
- TdChartOptionsService.prototype._optionsSubject;
105
- }
106
- /**
107
- * @param {?} parent
108
- * @return {?}
109
- */
54
+ /** @nocollapse */ /** @nocollapse */ TdChartOptionsService.ɵfac = function TdChartOptionsService_Factory(t) { return new (t || TdChartOptionsService)(); };
55
+ /** @nocollapse */ /** @nocollapse */ TdChartOptionsService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: TdChartOptionsService, factory: TdChartOptionsService.ɵfac });
56
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartOptionsService, [{
57
+ type: Injectable
58
+ }], null, null); })();
110
59
  function CHART_PROVIDER_FACTORY(parent) {
111
60
  return parent || new TdChartOptionsService();
112
61
  }
113
- /** @type {?} */
114
62
  const CHART_PROVIDER = {
115
63
  // If there is already a service available, use that. Otherwise, provide a new one.
116
64
  provide: TdChartOptionsService,
@@ -118,23 +66,11 @@ const CHART_PROVIDER = {
118
66
  useFactory: CHART_PROVIDER_FACTORY,
119
67
  };
120
68
 
121
- /**
122
- * @fileoverview added by tsickle
123
- * Generated from: utils/assign-defined.ts
124
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
125
- */
126
- /**
127
- * @param {?} target
128
- * @param {...?} sources
129
- * @return {?}
130
- */
131
69
  function assignDefined(target, ...sources) {
132
- /** @type {?} */
133
70
  const keys = new Set();
134
71
  for (const source of sources) {
135
72
  for (const key of Object.keys(source)) {
136
73
  keys.add(key);
137
- /** @type {?} */
138
74
  const val = source[key];
139
75
  /* tslint:disable-next-line */
140
76
  if (val !== undefined && val !== null) {
@@ -155,11 +91,6 @@ function assignDefined(target, ...sources) {
155
91
  return target;
156
92
  }
157
93
 
158
- /**
159
- * @fileoverview added by tsickle
160
- * Generated from: themes/aqua-splash.ts
161
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
162
- */
163
94
  /* tslint:disable */
164
95
  var aquaSplash = {
165
96
  color: ['#305b9e', '#0076a9', '#1d8daa', '#51a2a8', '#7fb5aa', '#aac6b4', '#CFD8C8', '#ECEBE4'],
@@ -620,11 +551,6 @@ var aquaSplash = {
620
551
  },
621
552
  };
622
553
 
623
- /**
624
- * @fileoverview added by tsickle
625
- * Generated from: themes/california-coast.ts
626
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
627
- */
628
554
  /* tslint:disable */
629
555
  var californiaCoast = {
630
556
  color: ['#0098c9', '#6ab1d7', '#a0cae4', '#ffbb9c', '#fd986d', '#f3753f'],
@@ -1085,11 +1011,6 @@ var californiaCoast = {
1085
1011
  },
1086
1012
  };
1087
1013
 
1088
- /**
1089
- * @fileoverview added by tsickle
1090
- * Generated from: themes/hawaiian-sunrise.ts
1091
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1092
- */
1093
1014
  /* tslint:disable */
1094
1015
  var hawaiianSunrise = {
1095
1016
  color: ['#00b2b1', '#69c6c4', '#a0d9d7', '#ffbb9c', '#fd986d', '#f3753f'],
@@ -1550,11 +1471,6 @@ var hawaiianSunrise = {
1550
1471
  },
1551
1472
  };
1552
1473
 
1553
- /**
1554
- * @fileoverview added by tsickle
1555
- * Generated from: themes/passion-flower.ts
1556
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1557
- */
1558
1474
  /* tslint:disable */
1559
1475
  var passionFlower = {
1560
1476
  color: ['#007e7d', '#977ed2', '#d58a9c', '#97b6eb', '#ceccbb', '#f2dfd8'],
@@ -2015,11 +1931,6 @@ var passionFlower = {
2015
1931
  },
2016
1932
  };
2017
1933
 
2018
- /**
2019
- * @fileoverview added by tsickle
2020
- * Generated from: themes/razzleberry-pie.ts
2021
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2022
- */
2023
1934
  /* tslint:disable */
2024
1935
  var razzleberryPie = {
2025
1936
  color: ['#523e85', '#8b4f8f', '#b96595', '#e0829a', '#ffa3a2', '#f9b8a3', '#f1ccb1', '#ebddc8'],
@@ -2480,11 +2391,6 @@ var razzleberryPie = {
2480
2391
  },
2481
2392
  };
2482
2393
 
2483
- /**
2484
- * @fileoverview added by tsickle
2485
- * Generated from: themes/teradata-classic.ts
2486
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2487
- */
2488
2394
  /* tslint:disable */
2489
2395
  var teradataClassic = {
2490
2396
  color: ['#005e7d', '#c54b17', '#009392', '#f5bb3c', '#0098c9', '#f58b5e', '#59cecd', '#fee2a6'],
@@ -2945,11 +2851,6 @@ var teradataClassic = {
2945
2851
  },
2946
2852
  };
2947
2853
 
2948
- /**
2949
- * @fileoverview added by tsickle
2950
- * Generated from: themes/teradata-default.ts
2951
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2952
- */
2953
2854
  /* tslint:disable */
2954
2855
  var teradataDefault = {
2955
2856
  color: ['#4d5b62', '#008ab6', '#f3753f', '#2cc0bf', '#fed887'],
@@ -3410,11 +3311,6 @@ var teradataDefault = {
3410
3311
  },
3411
3312
  };
3412
3313
 
3413
- /**
3414
- * @fileoverview added by tsickle
3415
- * Generated from: themes/urban-sunrise.ts
3416
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3417
- */
3418
3314
  /* tslint:disable */
3419
3315
  var urbanSunrise = {
3420
3316
  color: ['#667279', '#979ea4', '#caced0', '#ffbb9c', '#fd986d', '#F3753F'],
@@ -3875,11 +3771,6 @@ var urbanSunrise = {
3875
3771
  },
3876
3772
  };
3877
3773
 
3878
- /**
3879
- * @fileoverview added by tsickle
3880
- * Generated from: themes/volcanic-eruption.ts
3881
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3882
- */
3883
3774
  /* tslint:disable */
3884
3775
  var volcanicEruption = {
3885
3776
  color: ['#565a83', '#7c5c91', '#a85a90', '#cf5880', '#ea5f64', '#f3753f'],
@@ -4340,26 +4231,17 @@ var volcanicEruption = {
4340
4231
  },
4341
4232
  };
4342
4233
 
4343
- /**
4344
- * @fileoverview added by tsickle
4345
- * Generated from: utils/echarts.ts
4346
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4347
- */
4348
4234
  /**
4349
4235
  * Function used to register a theme into echarts
4350
4236
  * Theme name and theme object needed as stated in
4351
4237
  * https://ecomfe.github.io/echarts-doc/public/en/api.html#echarts.registerTheme
4352
- * @param {?} themeName
4353
- * @param {?} theme
4354
- * @return {?}
4355
4238
  */
4356
4239
  function registerTheme(themeName, theme) {
4357
- registerTheme$1(themeName, theme);
4240
+ echarts.registerTheme(themeName, theme);
4358
4241
  }
4359
4242
  /**
4360
4243
  * Function to register all default themes
4361
- * \@internal
4362
- * @return {?}
4244
+ * @internal
4363
4245
  */
4364
4246
  function registerDefaultThemes() {
4365
4247
  registerTheme('aqua-splash', aquaSplash);
@@ -4374,7 +4256,6 @@ function registerDefaultThemes() {
4374
4256
  }
4375
4257
  /**
4376
4258
  * Returns all the theme names bundled with covalent echarts.
4377
- * @return {?}
4378
4259
  */
4379
4260
  function getThemes() {
4380
4261
  return [
@@ -4390,23 +4271,7 @@ function getThemes() {
4390
4271
  ];
4391
4272
  }
4392
4273
 
4393
- /**
4394
- * @fileoverview added by tsickle
4395
- * Generated from: utils/index.ts
4396
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4397
- */
4398
-
4399
- /**
4400
- * @fileoverview added by tsickle
4401
- * Generated from: chart.component.ts
4402
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4403
- */
4404
4274
  class TdChartComponent {
4405
- /**
4406
- * @param {?} _changeDetectorRef
4407
- * @param {?} _elementRef
4408
- * @param {?} _optionsService
4409
- */
4410
4275
  constructor(_changeDetectorRef, _elementRef, _optionsService) {
4411
4276
  this._changeDetectorRef = _changeDetectorRef;
4412
4277
  this._elementRef = _elementRef;
@@ -4440,21 +4305,13 @@ class TdChartComponent {
4440
4305
  }
4441
4306
  /**
4442
4307
  * returns the echarts instance
4443
- * @return {?}
4444
4308
  */
4445
4309
  get instance() {
4446
4310
  return this._instance;
4447
4311
  }
4448
- /**
4449
- * @return {?}
4450
- */
4451
4312
  ngAfterViewInit() {
4452
4313
  this._initializeChart();
4453
4314
  }
4454
- /**
4455
- * @param {?} changes
4456
- * @return {?}
4457
- */
4458
4315
  ngOnChanges(changes) {
4459
4316
  if (this._instance) {
4460
4317
  // destroy and reinitialize chart only when `renderer`, `themeName` and `group` changes
@@ -4467,16 +4324,10 @@ class TdChartComponent {
4467
4324
  }
4468
4325
  }
4469
4326
  }
4470
- /**
4471
- * @return {?}
4472
- */
4473
4327
  ngOnDestroy() {
4474
4328
  this._disposeChart();
4475
4329
  this._destroy.unsubscribe();
4476
4330
  }
4477
- /**
4478
- * @return {?}
4479
- */
4480
4331
  render() {
4481
4332
  if (this._instance) {
4482
4333
  this._instance.setOption(assignDefined(this._state, {
@@ -4498,265 +4349,113 @@ class TdChartComponent {
4498
4349
  this._changeDetectorRef.markForCheck();
4499
4350
  }
4500
4351
  }
4501
- /**
4502
- * @private
4503
- * @return {?}
4504
- */
4505
4352
  _initializeChart() {
4506
- this._instance = init(this._elementRef.nativeElement, this.themeName, {
4353
+ this._instance = echarts.init(this._elementRef.nativeElement, this.themeName, {
4507
4354
  renderer: this.renderer,
4508
4355
  });
4509
4356
  fromEvent(this._instance, 'click')
4510
4357
  .pipe(takeUntil(this._destroy))
4511
- .subscribe((/**
4512
- * @param {?} params
4513
- * @return {?}
4514
- */
4515
- (params) => {
4358
+ .subscribe((params) => {
4516
4359
  this.chartClick.next(params);
4517
- }));
4360
+ });
4518
4361
  fromEvent(this._instance, 'dblclick')
4519
4362
  .pipe(takeUntil(this._destroy))
4520
- .subscribe((/**
4521
- * @param {?} params
4522
- * @return {?}
4523
- */
4524
- (params) => {
4363
+ .subscribe((params) => {
4525
4364
  this.chartDblclick.next(params);
4526
- }));
4365
+ });
4527
4366
  fromEvent(this._instance, 'contextmenu')
4528
4367
  .pipe(takeUntil(this._destroy))
4529
- .subscribe((/**
4530
- * @param {?} params
4531
- * @return {?}
4532
- */
4533
- (params) => {
4368
+ .subscribe((params) => {
4534
4369
  this.chartContextmenu.next(params);
4535
- }));
4370
+ });
4536
4371
  fromEvent(this._instance, 'magictypechanged')
4537
4372
  .pipe(takeUntil(this._destroy))
4538
- .subscribe((/**
4539
- * @param {?} params
4540
- * @return {?}
4541
- */
4542
- (params) => {
4373
+ .subscribe((params) => {
4543
4374
  this.magicTypeChanged.next(params);
4544
- }));
4375
+ });
4545
4376
  fromEvent(this._instance, 'dataviewchanged')
4546
4377
  .pipe(takeUntil(this._destroy))
4547
- .subscribe((/**
4548
- * @param {?} params
4549
- * @return {?}
4550
- */
4551
- (params) => {
4378
+ .subscribe((params) => {
4552
4379
  this.dataViewChanged.next(params);
4553
- }));
4380
+ });
4554
4381
  fromEvent(this._instance, 'datazoom')
4555
4382
  .pipe(takeUntil(this._destroy))
4556
- .subscribe((/**
4557
- * @param {?} params
4558
- * @return {?}
4559
- */
4560
- (params) => {
4383
+ .subscribe((params) => {
4561
4384
  this.datazoom.next(params);
4562
- }));
4385
+ });
4563
4386
  fromEvent(this._instance, 'restore')
4564
4387
  .pipe(takeUntil(this._destroy))
4565
- .subscribe((/**
4566
- * @param {?} params
4567
- * @return {?}
4568
- */
4569
- (params) => {
4388
+ .subscribe((params) => {
4570
4389
  this.restore.next(params);
4571
- }));
4390
+ });
4572
4391
  if (this.group) {
4573
4392
  this._instance.group = this.group;
4574
- connect(this.group);
4393
+ echarts.connect(this.group);
4575
4394
  this._changeDetectorRef.markForCheck();
4576
4395
  }
4577
4396
  merge(fromEvent(window, 'resize').pipe(debounceTime(100)), this._widthSubject.asObservable().pipe(distinctUntilChanged()), this._heightSubject.asObservable().pipe(distinctUntilChanged()))
4578
4397
  .pipe(takeUntil(this._destroy), debounceTime(100))
4579
- .subscribe((/**
4580
- * @return {?}
4581
- */
4582
- () => {
4398
+ .subscribe(() => {
4583
4399
  if (this._instance) {
4584
4400
  this._instance.resize();
4585
4401
  this._changeDetectorRef.markForCheck();
4586
4402
  }
4587
- }));
4403
+ });
4588
4404
  this._optionsService
4589
4405
  .listen()
4590
- .pipe(tap((/**
4591
- * @param {?} options
4592
- * @return {?}
4593
- */
4594
- (options) => {
4406
+ .pipe(tap((options) => {
4595
4407
  assignDefined(this._options, options);
4596
- })), debounceTime(0), takeUntil(this._destroy))
4597
- .subscribe((/**
4598
- * @return {?}
4599
- */
4600
- () => {
4408
+ }), debounceTime(0), takeUntil(this._destroy))
4409
+ .subscribe(() => {
4601
4410
  this.render();
4602
- }));
4411
+ });
4603
4412
  timer(500, 250)
4604
4413
  .pipe(takeUntil(this._destroy))
4605
- .subscribe((/**
4606
- * @return {?}
4607
- */
4608
- () => {
4414
+ .subscribe(() => {
4609
4415
  if (this._elementRef && this._elementRef.nativeElement) {
4610
- this._widthSubject.next(((/** @type {?} */ (this._elementRef.nativeElement))).getBoundingClientRect().width);
4611
- this._heightSubject.next(((/** @type {?} */ (this._elementRef.nativeElement))).getBoundingClientRect().height);
4416
+ this._widthSubject.next(this._elementRef.nativeElement.getBoundingClientRect().width);
4417
+ this._heightSubject.next(this._elementRef.nativeElement.getBoundingClientRect().height);
4612
4418
  }
4613
- }));
4419
+ });
4614
4420
  }
4615
- /**
4616
- * @private
4617
- * @return {?}
4618
- */
4619
4421
  _disposeChart() {
4620
4422
  if (this._instance) {
4621
4423
  this._instance.clear();
4622
- dispose(this._instance);
4424
+ echarts.dispose(this._instance);
4623
4425
  }
4624
4426
  this._destroy.next(true);
4625
4427
  }
4626
4428
  }
4627
- TdChartComponent.decorators = [
4628
- { type: Component, args: [{
4629
- selector: 'td-chart',
4630
- template: '',
4631
- changeDetection: ChangeDetectionStrategy.OnPush,
4632
- providers: [CHART_PROVIDER],
4633
- styles: [":host{display:block;width:100%}"]
4634
- }] }
4635
- ];
4636
- /** @nocollapse */
4637
- TdChartComponent.ctorParameters = () => [
4638
- { type: ChangeDetectorRef },
4639
- { type: ElementRef },
4640
- { type: TdChartOptionsService }
4641
- ];
4642
- TdChartComponent.propDecorators = {
4643
- config: [{ type: Input }],
4644
- group: [{ type: Input }],
4645
- themeName: [{ type: Input }],
4646
- renderer: [{ type: Input }],
4647
- chartClick: [{ type: Output }],
4648
- chartDblclick: [{ type: Output }],
4649
- chartContextmenu: [{ type: Output }],
4650
- magicTypeChanged: [{ type: Output }],
4651
- dataViewChanged: [{ type: Output }],
4652
- datazoom: [{ type: Output }],
4653
- restore: [{ type: Output }]
4654
- };
4655
- if (false) {
4656
- /**
4657
- * @type {?}
4658
- * @private
4659
- */
4660
- TdChartComponent.prototype._destroy;
4661
- /**
4662
- * @type {?}
4663
- * @private
4664
- */
4665
- TdChartComponent.prototype._widthSubject;
4666
- /**
4667
- * @type {?}
4668
- * @private
4669
- */
4670
- TdChartComponent.prototype._heightSubject;
4671
- /**
4672
- * @type {?}
4673
- * @private
4674
- */
4675
- TdChartComponent.prototype._instance;
4676
- /**
4677
- * @type {?}
4678
- * @private
4679
- */
4680
- TdChartComponent.prototype._state;
4681
- /**
4682
- * @type {?}
4683
- * @private
4684
- */
4685
- TdChartComponent.prototype._options;
4686
- /**
4687
- * config?: any;
4688
- * Sets the JS config object if you choose to not use the property inputs.
4689
- * Note: [config] input properties will override input values
4690
- * https://ecomfe.github.io/echarts-doc/public/en/option.html
4691
- * @type {?}
4692
- */
4693
- TdChartComponent.prototype.config;
4694
- /**
4695
- * group?: string
4696
- * group name in which the chart instance will be connected to
4697
- * https://ecomfe.github.io/echarts-doc/public/en/api.html#echarts.connect
4698
- * @type {?}
4699
- */
4700
- TdChartComponent.prototype.group;
4701
- /**
4702
- * themeName?: string
4703
- * theme to be applied into chart instance
4704
- * https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Overview%20of%20Style%20Customization
4705
- * @type {?}
4706
- */
4707
- TdChartComponent.prototype.themeName;
4708
- /**
4709
- * renderer: 'svg' | 'canvas'
4710
- * sets the rendering mode for the chart.
4711
- * defaults to 'canvas'
4712
- * https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Render%20by%20Canvas%20or%20SVG
4713
- * @type {?}
4714
- */
4715
- TdChartComponent.prototype.renderer;
4716
- /** @type {?} */
4717
- TdChartComponent.prototype.chartClick;
4718
- /** @type {?} */
4719
- TdChartComponent.prototype.chartDblclick;
4720
- /** @type {?} */
4721
- TdChartComponent.prototype.chartContextmenu;
4722
- /** @type {?} */
4723
- TdChartComponent.prototype.magicTypeChanged;
4724
- /** @type {?} */
4725
- TdChartComponent.prototype.dataViewChanged;
4726
- /** @type {?} */
4727
- TdChartComponent.prototype.datazoom;
4728
- /** @type {?} */
4729
- TdChartComponent.prototype.restore;
4730
- /**
4731
- * @type {?}
4732
- * @private
4733
- */
4734
- TdChartComponent.prototype._changeDetectorRef;
4735
- /**
4736
- * @type {?}
4737
- * @private
4738
- */
4739
- TdChartComponent.prototype._elementRef;
4740
- /**
4741
- * @type {?}
4742
- * @private
4743
- */
4744
- TdChartComponent.prototype._optionsService;
4745
- }
4429
+ /** @nocollapse */ /** @nocollapse */ TdChartComponent.ɵfac = function TdChartComponent_Factory(t) { return new (t || TdChartComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(TdChartOptionsService)); };
4430
+ /** @nocollapse */ /** @nocollapse */ TdChartComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdChartComponent, selectors: [["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" }, features: [i0.ɵɵProvidersFeature([CHART_PROVIDER]), i0.ɵɵNgOnChangesFeature], decls: 0, vars: 0, template: function TdChartComponent_Template(rf, ctx) { }, styles: ["[_nghost-%COMP%]{display:block;width:100%}"], changeDetection: 0 });
4431
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartComponent, [{
4432
+ type: Component,
4433
+ args: [{ selector: 'td-chart', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [CHART_PROVIDER], styles: [":host{display:block;width:100%}\n"] }]
4434
+ }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: TdChartOptionsService }]; }, { config: [{
4435
+ type: Input
4436
+ }], group: [{
4437
+ type: Input
4438
+ }], themeName: [{
4439
+ type: Input
4440
+ }], renderer: [{
4441
+ type: Input
4442
+ }], chartClick: [{
4443
+ type: Output
4444
+ }], chartDblclick: [{
4445
+ type: Output
4446
+ }], chartContextmenu: [{
4447
+ type: Output
4448
+ }], magicTypeChanged: [{
4449
+ type: Output
4450
+ }], dataViewChanged: [{
4451
+ type: Output
4452
+ }], datazoom: [{
4453
+ type: Output
4454
+ }], restore: [{
4455
+ type: Output
4456
+ }] }); })();
4746
4457
 
4747
- /**
4748
- * @fileoverview added by tsickle
4749
- * Generated from: axis/axis.component.ts
4750
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4751
- */
4752
- /**
4753
- * @abstract
4754
- */
4755
4458
  class TdChartAxisDirective {
4756
- /**
4757
- * @param {?} _axisOption
4758
- * @param {?} _optionsService
4759
- */
4760
4459
  constructor(_axisOption, _optionsService) {
4761
4460
  this._axisOption = _axisOption;
4762
4461
  this._optionsService = _optionsService;
@@ -4764,30 +4463,16 @@ class TdChartAxisDirective {
4764
4463
  this.config = {};
4765
4464
  this.show = true;
4766
4465
  }
4767
- /**
4768
- * @return {?}
4769
- */
4770
4466
  ngOnInit() {
4771
4467
  this._setOptions();
4772
4468
  }
4773
- /**
4774
- * @return {?}
4775
- */
4776
4469
  ngOnChanges() {
4777
4470
  this._setOptions();
4778
4471
  }
4779
- /**
4780
- * @return {?}
4781
- */
4782
4472
  ngOnDestroy() {
4783
4473
  this._removeOption();
4784
4474
  }
4785
- /**
4786
- * @private
4787
- * @return {?}
4788
- */
4789
4475
  _setOptions() {
4790
- /** @type {?} */
4791
4476
  const config = assignDefined(this._state, {
4792
4477
  id: this.id,
4793
4478
  show: this.show,
@@ -4822,149 +4507,86 @@ class TdChartAxisDirective {
4822
4507
  }, this.config ? this.config : {});
4823
4508
  this._optionsService.setArrayOption(this._axisOption, config);
4824
4509
  }
4825
- /**
4826
- * @private
4827
- * @return {?}
4828
- */
4829
4510
  _removeOption() {
4830
4511
  this._optionsService.clearOption(this._axisOption);
4831
4512
  }
4832
4513
  }
4833
- TdChartAxisDirective.decorators = [
4834
- { type: Directive }
4835
- ];
4836
- /** @nocollapse */
4837
- TdChartAxisDirective.ctorParameters = () => [
4838
- { type: String },
4839
- { type: TdChartOptionsService }
4840
- ];
4841
- TdChartAxisDirective.propDecorators = {
4842
- config: [{ type: Input }],
4843
- id: [{ type: Input }],
4844
- show: [{ type: Input }],
4845
- gridIndex: [{ type: Input }],
4846
- offset: [{ type: Input }],
4847
- type: [{ type: Input }],
4848
- name: [{ type: Input }],
4849
- nameLocation: [{ type: Input }],
4850
- nameTextStyle: [{ type: Input }],
4851
- nameGap: [{ type: Input }],
4852
- nameRotate: [{ type: Input }],
4853
- inverse: [{ type: Input }],
4854
- boundaryGap: [{ type: Input }],
4855
- min: [{ type: Input }],
4856
- max: [{ type: Input }],
4857
- scale: [{ type: Input }],
4858
- minInterval: [{ type: Input }],
4859
- interval: [{ type: Input }],
4860
- logBase: [{ type: Input }],
4861
- silent: [{ type: Input }],
4862
- triggerEvent: [{ type: Input }],
4863
- axisLine: [{ type: Input }],
4864
- axisTick: [{ type: Input }],
4865
- axisLabel: [{ type: Input }],
4866
- splitLine: [{ type: Input }],
4867
- splitArea: [{ type: Input }],
4868
- data: [{ type: Input }],
4869
- axisPointer: [{ type: Input }],
4870
- zlevel: [{ type: Input }],
4871
- z: [{ type: Input }]
4872
- };
4873
- if (false) {
4874
- /**
4875
- * @type {?}
4876
- * @private
4877
- */
4878
- TdChartAxisDirective.prototype._state;
4879
- /** @type {?} */
4880
- TdChartAxisDirective.prototype.config;
4881
- /** @type {?} */
4882
- TdChartAxisDirective.prototype.id;
4883
- /** @type {?} */
4884
- TdChartAxisDirective.prototype.show;
4885
- /** @type {?} */
4886
- TdChartAxisDirective.prototype.gridIndex;
4887
- /** @type {?} */
4888
- TdChartAxisDirective.prototype.offset;
4889
- /** @type {?} */
4890
- TdChartAxisDirective.prototype.position;
4891
- /** @type {?} */
4892
- TdChartAxisDirective.prototype.type;
4893
- /** @type {?} */
4894
- TdChartAxisDirective.prototype.name;
4895
- /** @type {?} */
4896
- TdChartAxisDirective.prototype.nameLocation;
4897
- /** @type {?} */
4898
- TdChartAxisDirective.prototype.nameTextStyle;
4899
- /** @type {?} */
4900
- TdChartAxisDirective.prototype.nameGap;
4901
- /** @type {?} */
4902
- TdChartAxisDirective.prototype.nameRotate;
4903
- /** @type {?} */
4904
- TdChartAxisDirective.prototype.inverse;
4905
- /** @type {?} */
4906
- TdChartAxisDirective.prototype.boundaryGap;
4907
- /** @type {?} */
4908
- TdChartAxisDirective.prototype.min;
4909
- /** @type {?} */
4910
- TdChartAxisDirective.prototype.max;
4911
- /** @type {?} */
4912
- TdChartAxisDirective.prototype.scale;
4913
- /** @type {?} */
4914
- TdChartAxisDirective.prototype.minInterval;
4915
- /** @type {?} */
4916
- TdChartAxisDirective.prototype.interval;
4917
- /** @type {?} */
4918
- TdChartAxisDirective.prototype.logBase;
4919
- /** @type {?} */
4920
- TdChartAxisDirective.prototype.silent;
4921
- /** @type {?} */
4922
- TdChartAxisDirective.prototype.triggerEvent;
4923
- /** @type {?} */
4924
- TdChartAxisDirective.prototype.axisLine;
4925
- /** @type {?} */
4926
- TdChartAxisDirective.prototype.axisTick;
4927
- /** @type {?} */
4928
- TdChartAxisDirective.prototype.axisLabel;
4929
- /** @type {?} */
4930
- TdChartAxisDirective.prototype.splitLine;
4931
- /** @type {?} */
4932
- TdChartAxisDirective.prototype.splitArea;
4933
- /** @type {?} */
4934
- TdChartAxisDirective.prototype.data;
4935
- /** @type {?} */
4936
- TdChartAxisDirective.prototype.axisPointer;
4937
- /** @type {?} */
4938
- TdChartAxisDirective.prototype.zlevel;
4939
- /** @type {?} */
4940
- TdChartAxisDirective.prototype.z;
4941
- /**
4942
- * @type {?}
4943
- * @private
4944
- */
4945
- TdChartAxisDirective.prototype._axisOption;
4946
- /**
4947
- * @type {?}
4948
- * @private
4949
- */
4950
- TdChartAxisDirective.prototype._optionsService;
4951
- }
4514
+ /** @nocollapse */ /** @nocollapse */ TdChartAxisDirective.ɵfac = function TdChartAxisDirective_Factory(t) { i0.ɵɵinvalidFactory(); };
4515
+ /** @nocollapse */ /** @nocollapse */ TdChartAxisDirective.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ 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" }, features: [i0.ɵɵNgOnChangesFeature] });
4516
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartAxisDirective, [{
4517
+ type: Directive
4518
+ }], function () { return [{ type: undefined }, { type: TdChartOptionsService }]; }, { config: [{
4519
+ type: Input
4520
+ }], id: [{
4521
+ type: Input
4522
+ }], show: [{
4523
+ type: Input
4524
+ }], gridIndex: [{
4525
+ type: Input
4526
+ }], offset: [{
4527
+ type: Input
4528
+ }], type: [{
4529
+ type: Input
4530
+ }], name: [{
4531
+ type: Input
4532
+ }], nameLocation: [{
4533
+ type: Input
4534
+ }], nameTextStyle: [{
4535
+ type: Input
4536
+ }], nameGap: [{
4537
+ type: Input
4538
+ }], nameRotate: [{
4539
+ type: Input
4540
+ }], inverse: [{
4541
+ type: Input
4542
+ }], boundaryGap: [{
4543
+ type: Input
4544
+ }], min: [{
4545
+ type: Input
4546
+ }], max: [{
4547
+ type: Input
4548
+ }], scale: [{
4549
+ type: Input
4550
+ }], minInterval: [{
4551
+ type: Input
4552
+ }], interval: [{
4553
+ type: Input
4554
+ }], logBase: [{
4555
+ type: Input
4556
+ }], silent: [{
4557
+ type: Input
4558
+ }], triggerEvent: [{
4559
+ type: Input
4560
+ }], axisLine: [{
4561
+ type: Input
4562
+ }], axisTick: [{
4563
+ type: Input
4564
+ }], axisLabel: [{
4565
+ type: Input
4566
+ }], splitLine: [{
4567
+ type: Input
4568
+ }], splitArea: [{
4569
+ type: Input
4570
+ }], data: [{
4571
+ type: Input
4572
+ }], axisPointer: [{
4573
+ type: Input
4574
+ }], zlevel: [{
4575
+ type: Input
4576
+ }], z: [{
4577
+ type: Input
4578
+ }] }); })();
4952
4579
 
4953
- /**
4954
- * @fileoverview added by tsickle
4955
- * Generated from: axis/x-axis.component.ts
4956
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4957
- */
4958
4580
  class TdChartXAxisComponent extends TdChartAxisDirective {
4959
- /**
4960
- * @param {?} _optionsService
4961
- */
4962
4581
  constructor(_optionsService) {
4963
4582
  super('xAxis', _optionsService);
4964
4583
  }
4965
4584
  }
4966
- TdChartXAxisComponent.decorators = [
4967
- { type: Component, args: [{
4585
+ /** @nocollapse */ /** @nocollapse */ TdChartXAxisComponent.ɵfac = function TdChartXAxisComponent_Factory(t) { return new (t || TdChartXAxisComponent)(i0.ɵɵdirectiveInject(TdChartOptionsService)); };
4586
+ /** @nocollapse */ /** @nocollapse */ TdChartXAxisComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdChartXAxisComponent, selectors: [["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" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function TdChartXAxisComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
4587
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartXAxisComponent, [{
4588
+ type: Component,
4589
+ args: [{
4968
4590
  selector: 'td-chart-x-axis',
4969
4591
  template: '',
4970
4592
  inputs: [
@@ -4999,36 +4621,22 @@ TdChartXAxisComponent.decorators = [
4999
4621
  'zlevel',
5000
4622
  'z',
5001
4623
  ],
5002
- changeDetection: ChangeDetectionStrategy.OnPush
5003
- }] }
5004
- ];
5005
- /** @nocollapse */
5006
- TdChartXAxisComponent.ctorParameters = () => [
5007
- { type: TdChartOptionsService }
5008
- ];
5009
- TdChartXAxisComponent.propDecorators = {
5010
- position: [{ type: Input }]
5011
- };
5012
- if (false) {
5013
- /** @type {?} */
5014
- TdChartXAxisComponent.prototype.position;
5015
- }
4624
+ changeDetection: ChangeDetectionStrategy.OnPush,
4625
+ }]
4626
+ }], function () { return [{ type: TdChartOptionsService }]; }, { position: [{
4627
+ type: Input
4628
+ }] }); })();
5016
4629
 
5017
- /**
5018
- * @fileoverview added by tsickle
5019
- * Generated from: axis/y-axis.component.ts
5020
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5021
- */
5022
4630
  class TdChartYAxisComponent extends TdChartAxisDirective {
5023
- /**
5024
- * @param {?} _optionsService
5025
- */
5026
4631
  constructor(_optionsService) {
5027
4632
  super('yAxis', _optionsService);
5028
4633
  }
5029
4634
  }
5030
- TdChartYAxisComponent.decorators = [
5031
- { type: Component, args: [{
4635
+ /** @nocollapse */ /** @nocollapse */ TdChartYAxisComponent.ɵfac = function TdChartYAxisComponent_Factory(t) { return new (t || TdChartYAxisComponent)(i0.ɵɵdirectiveInject(TdChartOptionsService)); };
4636
+ /** @nocollapse */ /** @nocollapse */ TdChartYAxisComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdChartYAxisComponent, selectors: [["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" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function TdChartYAxisComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
4637
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartYAxisComponent, [{
4638
+ type: Component,
4639
+ args: [{
5032
4640
  selector: 'td-chart-y-axis',
5033
4641
  template: '',
5034
4642
  inputs: [
@@ -5063,53 +4671,25 @@ TdChartYAxisComponent.decorators = [
5063
4671
  'zlevel',
5064
4672
  'z',
5065
4673
  ],
5066
- changeDetection: ChangeDetectionStrategy.OnPush
5067
- }] }
5068
- ];
5069
- /** @nocollapse */
5070
- TdChartYAxisComponent.ctorParameters = () => [
5071
- { type: TdChartOptionsService }
5072
- ];
5073
- TdChartYAxisComponent.propDecorators = {
5074
- position: [{ type: Input }]
5075
- };
5076
- if (false) {
5077
- /** @type {?} */
5078
- TdChartYAxisComponent.prototype.position;
5079
- }
4674
+ changeDetection: ChangeDetectionStrategy.OnPush,
4675
+ }]
4676
+ }], function () { return [{ type: TdChartOptionsService }]; }, { position: [{
4677
+ type: Input
4678
+ }] }); })();
5080
4679
 
5081
- /**
5082
- * @fileoverview added by tsickle
5083
- * Generated from: dataset/dataset.component.ts
5084
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5085
- */
5086
4680
  class TdDatasetComponent {
5087
- /**
5088
- * @param {?} _optionsService
5089
- */
5090
4681
  constructor(_optionsService) {
5091
4682
  this._optionsService = _optionsService;
5092
4683
  this._state = {};
5093
4684
  this.config = {};
5094
4685
  }
5095
- /**
5096
- * @return {?}
5097
- */
5098
4686
  ngOnChanges() {
5099
4687
  this._setOptions();
5100
4688
  }
5101
- /**
5102
- * @return {?}
5103
- */
5104
4689
  ngOnDestroy() {
5105
4690
  this._removeOption();
5106
4691
  }
5107
- /**
5108
- * @private
5109
- * @return {?}
5110
- */
5111
4692
  _setOptions() {
5112
- /** @type {?} */
5113
4693
  const config = assignDefined(this._state, {
5114
4694
  id: this.id,
5115
4695
  source: this.source,
@@ -5119,61 +4699,31 @@ class TdDatasetComponent {
5119
4699
  // set dataset configuration in parent chart and render new configurations
5120
4700
  this._optionsService.setOption('dataset', config);
5121
4701
  }
5122
- /**
5123
- * @private
5124
- * @return {?}
5125
- */
5126
4702
  _removeOption() {
5127
4703
  this._optionsService.clearOption('dataset');
5128
4704
  }
5129
4705
  }
5130
- TdDatasetComponent.decorators = [
5131
- { type: Component, args: [{
4706
+ /** @nocollapse */ /** @nocollapse */ TdDatasetComponent.ɵfac = function TdDatasetComponent_Factory(t) { return new (t || TdDatasetComponent)(i0.ɵɵdirectiveInject(TdChartOptionsService)); };
4707
+ /** @nocollapse */ /** @nocollapse */ TdDatasetComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdDatasetComponent, selectors: [["td-chart-dataset"]], inputs: { id: "id", config: "config", source: "source", dimensions: "dimensions", sourceHeader: "sourceHeader" }, features: [i0.ɵɵNgOnChangesFeature], decls: 0, vars: 0, template: function TdDatasetComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
4708
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdDatasetComponent, [{
4709
+ type: Component,
4710
+ args: [{
5132
4711
  template: '',
5133
4712
  selector: 'td-chart-dataset',
5134
- changeDetection: ChangeDetectionStrategy.OnPush
5135
- }] }
5136
- ];
5137
- /** @nocollapse */
5138
- TdDatasetComponent.ctorParameters = () => [
5139
- { type: TdChartOptionsService }
5140
- ];
5141
- TdDatasetComponent.propDecorators = {
5142
- id: [{ type: Input }],
5143
- config: [{ type: Input }],
5144
- source: [{ type: Input }],
5145
- dimensions: [{ type: Input }],
5146
- sourceHeader: [{ type: Input }]
5147
- };
5148
- if (false) {
5149
- /**
5150
- * @type {?}
5151
- * @private
5152
- */
5153
- TdDatasetComponent.prototype._state;
5154
- /** @type {?} */
5155
- TdDatasetComponent.prototype.id;
5156
- /** @type {?} */
5157
- TdDatasetComponent.prototype.config;
5158
- /** @type {?} */
5159
- TdDatasetComponent.prototype.source;
5160
- /** @type {?} */
5161
- TdDatasetComponent.prototype.dimensions;
5162
- /** @type {?} */
5163
- TdDatasetComponent.prototype.sourceHeader;
5164
- /**
5165
- * @type {?}
5166
- * @private
5167
- */
5168
- TdDatasetComponent.prototype._optionsService;
5169
- }
4713
+ changeDetection: ChangeDetectionStrategy.OnPush,
4714
+ }]
4715
+ }], function () { return [{ type: TdChartOptionsService }]; }, { id: [{
4716
+ type: Input
4717
+ }], config: [{
4718
+ type: Input
4719
+ }], source: [{
4720
+ type: Input
4721
+ }], dimensions: [{
4722
+ type: Input
4723
+ }], sourceHeader: [{
4724
+ type: Input
4725
+ }] }); })();
5170
4726
 
5171
- /**
5172
- * @fileoverview added by tsickle
5173
- * Generated from: base.module.ts
5174
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5175
- */
5176
- /** @type {?} */
5177
4727
  const BASE_MODULE_COMPONENTS = [
5178
4728
  TdChartComponent,
5179
4729
  TdChartXAxisComponent,
@@ -5183,43 +4733,26 @@ const BASE_MODULE_COMPONENTS = [
5183
4733
  registerDefaultThemes();
5184
4734
  class CovalentBaseEchartsModule {
5185
4735
  }
5186
- CovalentBaseEchartsModule.decorators = [
5187
- { type: NgModule, args: [{
4736
+ /** @nocollapse */ /** @nocollapse */ CovalentBaseEchartsModule.ɵfac = function CovalentBaseEchartsModule_Factory(t) { return new (t || CovalentBaseEchartsModule)(); };
4737
+ /** @nocollapse */ /** @nocollapse */ CovalentBaseEchartsModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CovalentBaseEchartsModule });
4738
+ /** @nocollapse */ /** @nocollapse */ CovalentBaseEchartsModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [[CommonModule]] });
4739
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentBaseEchartsModule, [{
4740
+ type: NgModule,
4741
+ args: [{
5188
4742
  imports: [CommonModule],
5189
4743
  declarations: [BASE_MODULE_COMPONENTS],
5190
4744
  exports: [BASE_MODULE_COMPONENTS],
5191
- },] }
5192
- ];
4745
+ }]
4746
+ }], null, null); })();
4747
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentBaseEchartsModule, { declarations: [TdChartComponent,
4748
+ TdChartXAxisComponent,
4749
+ TdChartYAxisComponent,
4750
+ TdDatasetComponent], imports: [CommonModule], exports: [TdChartComponent,
4751
+ TdChartXAxisComponent,
4752
+ TdChartYAxisComponent,
4753
+ TdDatasetComponent] }); })();
5193
4754
 
5194
- /**
5195
- * @fileoverview added by tsickle
5196
- * Generated from: series/series.component.ts
5197
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5198
- */
5199
- /**
5200
- * @record
5201
- */
5202
- function ITdSeries() { }
5203
- if (false) {
5204
- /** @type {?|undefined} */
5205
- ITdSeries.prototype.id;
5206
- /** @type {?|undefined} */
5207
- ITdSeries.prototype.name;
5208
- /** @type {?|undefined} */
5209
- ITdSeries.prototype.color;
5210
- /** @type {?|undefined} */
5211
- ITdSeries.prototype.type;
5212
- /** @type {?|undefined} */
5213
- ITdSeries.prototype.tooltip;
5214
- }
5215
- /**
5216
- * @abstract
5217
- */
5218
4755
  class TdSeriesDirective {
5219
- /**
5220
- * @param {?} type
5221
- * @param {?} optionsService
5222
- */
5223
4756
  constructor(type, optionsService) {
5224
4757
  this.optionsService = optionsService;
5225
4758
  this._state = {};
@@ -5227,54 +4760,28 @@ class TdSeriesDirective {
5227
4760
  this.config = {};
5228
4761
  this._type = type;
5229
4762
  }
5230
- /**
5231
- * @return {?}
5232
- */
5233
4763
  get type() {
5234
4764
  return this._type;
5235
4765
  }
5236
- /**
5237
- * @return {?}
5238
- */
5239
4766
  ngOnInit() {
5240
4767
  this._setOptions();
5241
4768
  }
5242
- /**
5243
- * @return {?}
5244
- */
5245
4769
  ngOnChanges() {
5246
4770
  this._setOptions();
5247
4771
  }
5248
- /**
5249
- * @return {?}
5250
- */
5251
4772
  ngOnDestroy() {
5252
4773
  this._removeOption();
5253
4774
  }
5254
- /**
5255
- * @param {?} option
5256
- * @param {?} value
5257
- * @return {?}
5258
- */
5259
4775
  setStateOption(option, value) {
5260
4776
  this._options[option] = value;
5261
4777
  this._setOptions();
5262
4778
  }
5263
- /**
5264
- * @param {?} option
5265
- * @return {?}
5266
- */
5267
4779
  removeStateOption(option) {
5268
4780
  /* tslint:disable-next-line */
5269
4781
  this._options[option] = null;
5270
4782
  this._setOptions();
5271
4783
  }
5272
- /**
5273
- * @private
5274
- * @return {?}
5275
- */
5276
4784
  _setOptions() {
5277
- /** @type {?} */
5278
4785
  const config = assignDefined(this._state, {
5279
4786
  id: this.id,
5280
4787
  type: this.type,
@@ -5293,105 +4800,47 @@ class TdSeriesDirective {
5293
4800
  }, this.getConfig(), this._options, this.config ? this.config : {});
5294
4801
  this.optionsService.setArrayOption('series', config);
5295
4802
  }
5296
- /**
5297
- * @private
5298
- * @return {?}
5299
- */
5300
4803
  _removeOption() {
5301
4804
  this.optionsService.removeArrayOption('series', this._state);
5302
4805
  }
5303
4806
  }
5304
- TdSeriesDirective.decorators = [
5305
- { type: Directive }
5306
- ];
5307
- /** @nocollapse */
5308
- TdSeriesDirective.ctorParameters = () => [
5309
- { type: String },
5310
- { type: TdChartOptionsService }
5311
- ];
5312
- TdSeriesDirective.propDecorators = {
5313
- config: [{ type: Input }],
5314
- id: [{ type: Input }],
5315
- name: [{ type: Input }],
5316
- color: [{ type: Input }],
5317
- data: [{ type: Input }],
5318
- animation: [{ type: Input }],
5319
- animationThreshold: [{ type: Input }],
5320
- animationDuration: [{ type: Input }],
5321
- animationEasing: [{ type: Input }],
5322
- animationDelay: [{ type: Input }],
5323
- animationDurationUpdate: [{ type: Input }],
5324
- animationEasingUpdate: [{ type: Input }],
5325
- animationDelayUpdate: [{ type: Input }],
5326
- tooltip: [{ type: Input }]
5327
- };
5328
- if (false) {
5329
- /**
5330
- * @type {?}
5331
- * @private
5332
- */
5333
- TdSeriesDirective.prototype._type;
5334
- /** @type {?} */
5335
- TdSeriesDirective.prototype._state;
5336
- /** @type {?} */
5337
- TdSeriesDirective.prototype._options;
5338
- /** @type {?} */
5339
- TdSeriesDirective.prototype.config;
5340
- /** @type {?} */
5341
- TdSeriesDirective.prototype.id;
5342
- /** @type {?} */
5343
- TdSeriesDirective.prototype.name;
5344
- /** @type {?} */
5345
- TdSeriesDirective.prototype.color;
5346
- /** @type {?} */
5347
- TdSeriesDirective.prototype.data;
5348
- /** @type {?} */
5349
- TdSeriesDirective.prototype.animation;
5350
- /** @type {?} */
5351
- TdSeriesDirective.prototype.animationThreshold;
5352
- /** @type {?} */
5353
- TdSeriesDirective.prototype.animationDuration;
5354
- /** @type {?} */
5355
- TdSeriesDirective.prototype.animationEasing;
5356
- /** @type {?} */
5357
- TdSeriesDirective.prototype.animationDelay;
5358
- /** @type {?} */
5359
- TdSeriesDirective.prototype.animationDurationUpdate;
5360
- /** @type {?} */
5361
- TdSeriesDirective.prototype.animationEasingUpdate;
5362
- /** @type {?} */
5363
- TdSeriesDirective.prototype.animationDelayUpdate;
5364
- /** @type {?} */
5365
- TdSeriesDirective.prototype.tooltip;
5366
- /**
5367
- * @type {?}
5368
- * @protected
5369
- */
5370
- TdSeriesDirective.prototype.optionsService;
5371
- /**
5372
- * @abstract
5373
- * @return {?}
5374
- */
5375
- TdSeriesDirective.prototype.getConfig = function () { };
5376
- }
5377
-
5378
- /**
5379
- * @fileoverview added by tsickle
5380
- * Generated from: public-api.ts
5381
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5382
- */
5383
-
5384
- /**
5385
- * @fileoverview added by tsickle
5386
- * Generated from: index.ts
5387
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5388
- */
4807
+ /** @nocollapse */ /** @nocollapse */ TdSeriesDirective.ɵfac = function TdSeriesDirective_Factory(t) { i0.ɵɵinvalidFactory(); };
4808
+ /** @nocollapse */ /** @nocollapse */ TdSeriesDirective.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ 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" }, features: [i0.ɵɵNgOnChangesFeature] });
4809
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdSeriesDirective, [{
4810
+ type: Directive
4811
+ }], function () { return [{ type: undefined }, { type: TdChartOptionsService }]; }, { config: [{
4812
+ type: Input
4813
+ }], id: [{
4814
+ type: Input
4815
+ }], name: [{
4816
+ type: Input
4817
+ }], color: [{
4818
+ type: Input
4819
+ }], data: [{
4820
+ type: Input
4821
+ }], animation: [{
4822
+ type: Input
4823
+ }], animationThreshold: [{
4824
+ type: Input
4825
+ }], animationDuration: [{
4826
+ type: Input
4827
+ }], animationEasing: [{
4828
+ type: Input
4829
+ }], animationDelay: [{
4830
+ type: Input
4831
+ }], animationDurationUpdate: [{
4832
+ type: Input
4833
+ }], animationEasingUpdate: [{
4834
+ type: Input
4835
+ }], animationDelayUpdate: [{
4836
+ type: Input
4837
+ }], tooltip: [{
4838
+ type: Input
4839
+ }] }); })();
5389
4840
 
5390
4841
  /**
5391
- * @fileoverview added by tsickle
5392
- * Generated from: covalent-echarts-base.ts
5393
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4842
+ * Generated bundle index. Do not edit.
5394
4843
  */
5395
4844
 
5396
- export { BASE_MODULE_COMPONENTS, CovalentBaseEchartsModule, TdChartAxisDirective, TdChartComponent, TdChartOptionsService, TdChartXAxisComponent, TdChartYAxisComponent, TdDatasetComponent, TdSeriesDirective, assignDefined, getThemes, registerDefaultThemes, registerTheme, CHART_PROVIDER_FACTORY as ɵa, CHART_PROVIDER as ɵb };
5397
- //# sourceMappingURL=covalent-echarts-base.js.map
4845
+ export { BASE_MODULE_COMPONENTS, CovalentBaseEchartsModule, TdChartAxisDirective, TdChartComponent, TdChartOptionsService, TdChartXAxisComponent, TdChartYAxisComponent, TdDatasetComponent, TdSeriesDirective, assignDefined, getThemes, registerDefaultThemes, registerTheme };
4846
+ //# sourceMappingURL=covalent-echarts-base.mjs.map