@covalent/echarts 4.0.0-beta.4 → 4.1.0-develop.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 -31
  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
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts-treemap.mjs","sources":["../../../../src/platform/echarts/treemap/treemap.component.ts","../../../../src/platform/echarts/treemap/treemap.module.ts","../../../../src/platform/echarts/treemap/covalent-echarts-treemap.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\n ITdSeriesTooltip,\n ITdLabel,\n ITdSeries,\n TdSeriesDirective,\n ITdEmphasis,\n ITdShadow,\n} from '@covalent/echarts/base';\n\n/**\n * ECHART OPTION DOCS\n * https://ecomfe.github.io/echarts-examples/public/index.html#chart-type-treemap\n *\n */\n\nexport interface ITdTreemapEmphasisLineStyle extends ITdShadow {\n color?: any;\n width?: number;\n curveness?: number;\n}\n\nexport interface ITdTreemapEmphasis extends ITdEmphasis {\n lineStyle: ITdTreemapEmphasisLineStyle;\n}\n\nexport interface ITdTreemapUpperLabel {\n show?: boolean;\n position?: string | any[];\n distance?: string | number;\n rotate?: string | number;\n offset?: any[];\n formatter?: string;\n color?: any;\n fontStyle?: string;\n fontWeight?: string;\n fontFamily?: string;\n fontSize?: string | number;\n align?: string;\n verticalAlign?: string;\n lineHeight?: string | number;\n backgroundColor?: any;\n borderColor?: string;\n borderWidth?: string | number;\n borderRadius?: string | number;\n padding?: number | any[];\n shadowColor?: string;\n shadowBlur?: string | number;\n shadowOffsetX?: string | number;\n shadowOffsetY?: string | number;\n width?: string | number;\n height?: string | number;\n textBorderColor?: string;\n textBorderWidth?: string | number;\n textShadowColor?: string;\n textShadowBlur?: string | number;\n textShadowOffsetX?: string | number;\n textShadowOffsetY?: string | number;\n rich: any;\n ellipsis: any;\n}\n\nexport interface ITdTreemapBreadcrumb {\n show?: boolean;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n height?: string | number;\n emptyItemWidth?: string | number;\n itemStyle?: ITdItemStyle;\n emphasis?: ITdTreemapEmphasis;\n}\n\ninterface ITdTreemapSeries 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 squareRatio?: string | number;\n leafDepth?: string | number;\n drillDownIcon?: string;\n roam?: boolean | string;\n nodeClick?: boolean | string;\n zoomToNodeRatio?: string | number;\n levels?: any[];\n silent?: boolean;\n visualDimension?: string | number;\n visualMin?: string | number;\n visualMax?: string | number;\n colorAlpha?: any[];\n colorSaturation?: string | number;\n colorMappingBy?: string;\n visibleMin?: string | number;\n childrenVisibleMin?: string | number;\n itemStyle?: ITdItemStyle;\n label?: ITdLabel;\n upperLabel?: ITdTreemapUpperLabel;\n breadcrumb?: ITdTreemapBreadcrumb;\n emphasis?: ITdTreemapEmphasis;\n data: any[];\n}\n\n@Component({\n selector: 'td-chart-series[td-treemap]',\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(() => TdChartSeriesTreemapComponent),\n },\n ],\n})\nexport class TdChartSeriesTreemapComponent extends TdSeriesDirective implements ITdTreemapSeries {\n @Input() config: any = {};\n @Input() id: string;\n @Input() name: string;\n @Input() data: any;\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() squareRatio: string | number;\n @Input() leafDepth: string | number;\n @Input() drillDownIcon: string;\n @Input() roam: boolean | string;\n @Input() nodeClick: boolean | string;\n @Input() zoomToNodeRatio: string | number;\n @Input() levels: any[];\n @Input() silent: boolean;\n @Input() visualDimension: string | number;\n @Input() visualMin: string | number;\n @Input() visualMax: string | number;\n @Input() colorAlpha: any[];\n @Input() colorSaturation: string | number;\n @Input() colorMappingBy: string;\n @Input() visibleMin: string | number;\n @Input() childrenVisibleMin: string | number;\n @Input() itemStyle: ITdItemStyle;\n @Input() label: ITdLabel;\n @Input() upperLabel: ITdTreemapUpperLabel;\n @Input() breadcrumb: ITdTreemapBreadcrumb;\n @Input() emphasis: ITdTreemapEmphasis;\n @Input() tooltip: ITdSeriesTooltip;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('treemap', _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 squareRatio: this.squareRatio,\n leafDepth: this.leafDepth,\n drillDownIcon: this.drillDownIcon,\n roam: this.roam,\n nodeClick: this.nodeClick,\n zoomToNodeRatio: this.zoomToNodeRatio,\n levels: this.levels,\n silent: this.silent,\n visualDimension: this.visualDimension,\n visualMin: this.visualMin,\n visualMax: this.visualMax,\n colorAlpha: this.colorAlpha,\n colorSaturation: this.colorSaturation,\n colorMappingBy: this.colorMappingBy,\n visibleMin: this.visibleMin,\n childrenVisibleMin: this.childrenVisibleMin,\n itemStyle: this.itemStyle,\n label: this.label,\n upperLabel: this.upperLabel,\n breadcrumb: this.breadcrumb,\n emphasis: this.emphasis,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesTreemapComponent } from './treemap.component';\n\nexport const TREEMAP_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesTreemapComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TREEMAP_MODULE_COMPONENTS],\n exports: [TREEMAP_MODULE_COMPONENTS],\n})\nexport class CovalentTreemapEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MA0Ia,6BAA8B,SAAQ,iBAAiB;IAoClE,YAAY,eAAsC;QAChD,KAAK,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;QApC3B,WAAM,GAAQ,EAAE,CAAC;KAqCzB;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,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,eAAe,EAAE,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ts/treemap/src/treemap.component.ts","../../../../libs/angular-echarts/treemap/src/treemap.module.ts","../../../../libs/angular-echarts/treemap/src/covalent-echarts-treemap.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\n ITdSeriesTooltip,\n ITdLabel,\n ITdSeries,\n TdSeriesDirective,\n ITdEmphasis,\n ITdShadow,\n} from '@covalent/echarts/base';\n\n/**\n * ECHART OPTION DOCS\n * https://ecomfe.github.io/echarts-examples/public/index.html#chart-type-treemap\n *\n */\n\nexport interface ITdTreemapEmphasisLineStyle extends ITdShadow {\n color?: any;\n width?: number;\n curveness?: number;\n}\n\nexport interface ITdTreemapEmphasis extends ITdEmphasis {\n lineStyle: ITdTreemapEmphasisLineStyle;\n}\n\nexport interface ITdTreemapUpperLabel {\n show?: boolean;\n position?: string | any[];\n distance?: string | number;\n rotate?: string | number;\n offset?: any[];\n formatter?: string;\n color?: any;\n fontStyle?: string;\n fontWeight?: string;\n fontFamily?: string;\n fontSize?: string | number;\n align?: string;\n verticalAlign?: string;\n lineHeight?: string | number;\n backgroundColor?: any;\n borderColor?: string;\n borderWidth?: string | number;\n borderRadius?: string | number;\n padding?: number | any[];\n shadowColor?: string;\n shadowBlur?: string | number;\n shadowOffsetX?: string | number;\n shadowOffsetY?: string | number;\n width?: string | number;\n height?: string | number;\n textBorderColor?: string;\n textBorderWidth?: string | number;\n textShadowColor?: string;\n textShadowBlur?: string | number;\n textShadowOffsetX?: string | number;\n textShadowOffsetY?: string | number;\n rich?: any;\n ellipsis?: any;\n}\n\nexport interface ITdTreemapBreadcrumb {\n show?: boolean;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n height?: string | number;\n emptyItemWidth?: string | number;\n itemStyle?: ITdItemStyle;\n emphasis?: ITdTreemapEmphasis;\n}\n\ninterface ITdTreemapSeries 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 squareRatio?: string | number;\n leafDepth?: string | number;\n drillDownIcon?: string;\n roam?: boolean | string;\n nodeClick?: boolean | string;\n zoomToNodeRatio?: string | number;\n levels?: any[];\n silent?: boolean;\n visualDimension?: string | number;\n visualMin?: string | number;\n visualMax?: string | number;\n colorAlpha?: any[];\n colorSaturation?: string | number;\n colorMappingBy?: string;\n visibleMin?: string | number;\n childrenVisibleMin?: string | number;\n itemStyle?: ITdItemStyle;\n label?: ITdLabel;\n upperLabel?: ITdTreemapUpperLabel;\n breadcrumb?: ITdTreemapBreadcrumb;\n emphasis?: ITdTreemapEmphasis;\n data?: any[];\n}\n\n@Component({\n selector: 'td-chart-series[td-treemap]',\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(() => TdChartSeriesTreemapComponent),\n },\n ],\n})\nexport class TdChartSeriesTreemapComponent\n extends TdSeriesDirective\n implements ITdTreemapSeries\n{\n @Input() override config?: any = {};\n @Input() override id?: string;\n @Input() override name?: string;\n @Input() override data?: any;\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() squareRatio?: string | number;\n @Input() leafDepth?: string | number;\n @Input() drillDownIcon?: string;\n @Input() roam?: boolean | string;\n @Input() nodeClick?: boolean | string;\n @Input() zoomToNodeRatio?: string | number;\n @Input() levels?: any[];\n @Input() silent?: boolean;\n @Input() visualDimension?: string | number;\n @Input() visualMin?: string | number;\n @Input() visualMax?: string | number;\n @Input() colorAlpha?: any[];\n @Input() colorSaturation?: string | number;\n @Input() colorMappingBy?: string;\n @Input() visibleMin?: string | number;\n @Input() childrenVisibleMin?: string | number;\n @Input() itemStyle?: ITdItemStyle;\n @Input() label?: ITdLabel;\n @Input() upperLabel?: ITdTreemapUpperLabel;\n @Input() breadcrumb?: ITdTreemapBreadcrumb;\n @Input() emphasis?: ITdTreemapEmphasis;\n @Input() override tooltip?: ITdSeriesTooltip;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('treemap', _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 squareRatio: this.squareRatio,\n leafDepth: this.leafDepth,\n drillDownIcon: this.drillDownIcon,\n roam: this.roam,\n nodeClick: this.nodeClick,\n zoomToNodeRatio: this.zoomToNodeRatio,\n levels: this.levels,\n silent: this.silent,\n visualDimension: this.visualDimension,\n visualMin: this.visualMin,\n visualMax: this.visualMax,\n colorAlpha: this.colorAlpha,\n colorSaturation: this.colorSaturation,\n colorMappingBy: this.colorMappingBy,\n visibleMin: this.visibleMin,\n childrenVisibleMin: this.childrenVisibleMin,\n itemStyle: this.itemStyle,\n label: this.label,\n upperLabel: this.upperLabel,\n breadcrumb: this.breadcrumb,\n emphasis: this.emphasis,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesTreemapComponent } from './treemap.component';\n\nexport const TREEMAP_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesTreemapComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TREEMAP_MODULE_COMPONENTS],\n exports: [TREEMAP_MODULE_COMPONENTS],\n})\nexport class CovalentTreemapEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MA+Ia,6BACX,SAAQ,iBAAiB;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;sBAAvB,KAAK;gBACG,cAAc;sBAAtB,KAAK;gBACG,UAAU;sBAAlB,KAAK;gBACG,kBAAkB;sBAA1B,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,UAAU;sBAAlB,KAAK;gBACG,UAAU;sBAAlB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACY,OAAO;sBAAxB,KAAK;;;MC/KK,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;;;;;;"}
@@ -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-wordCloud", ""];
8
7
  class TdChartSeriesWordcloudComponent extends TdSeriesDirective {
9
8
  constructor(_optionsService) {
10
9
  super('wordCloud', _optionsService);
@@ -27,87 +26,88 @@ class TdChartSeriesWordcloudComponent extends TdSeriesDirective {
27
26
  };
28
27
  }
29
28
  }
30
- /** @nocollapse */ /** @nocollapse */ TdChartSeriesWordcloudComponent.ɵfac = function TdChartSeriesWordcloudComponent_Factory(t) { return new (t || TdChartSeriesWordcloudComponent)(i0.ɵɵdirectiveInject(i1.TdChartOptionsService)); };
31
- /** @nocollapse */ /** @nocollapse */ TdChartSeriesWordcloudComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdChartSeriesWordcloudComponent, selectors: [["td-chart-series", "td-wordCloud", ""]], 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", shape: "shape", left: "left", top: "top", width: "width", height: "height", right: "right", bottom: "bottom", sizeRange: "sizeRange", rotationRange: "rotationRange", rotationStep: "rotationStep", gridSize: "gridSize", drawOutOfBound: "drawOutOfBound", textStyle: "textStyle" }, features: [i0.ɵɵProvidersFeature([
32
- {
33
- provide: TdSeriesDirective,
34
- useExisting: forwardRef((() => TdChartSeriesWordcloudComponent)),
35
- },
36
- ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 0, vars: 0, template: function TdChartSeriesWordcloudComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
37
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartSeriesWordcloudComponent, [{
38
- type: Component,
39
- args: [{
40
- selector: 'td-chart-series[td-wordCloud]',
41
- template: '',
42
- changeDetection: ChangeDetectionStrategy.OnPush,
43
- inputs: [
44
- 'config',
45
- 'id',
46
- 'name',
47
- 'color',
48
- 'data',
49
- 'animation',
50
- 'animationThreshold',
51
- 'animationDuration',
52
- 'animationEasing',
53
- 'animationDelay',
54
- 'animationDurationUpdate',
55
- 'animationEasingUpdate',
56
- 'animationDelayUpdate',
57
- 'tooltip',
58
- ],
59
- providers: [
60
- {
61
- provide: TdSeriesDirective,
62
- useExisting: forwardRef((() => TdChartSeriesWordcloudComponent)),
63
- },
64
- ],
65
- }]
66
- }], function () { return [{ type: i1.TdChartOptionsService }]; }, { data: [{
67
- type: Input
68
- }], shape: [{
69
- type: Input
70
- }], left: [{
71
- type: Input
72
- }], top: [{
73
- type: Input
74
- }], width: [{
75
- type: Input
76
- }], height: [{
77
- type: Input
78
- }], right: [{
79
- type: Input
80
- }], bottom: [{
81
- type: Input
82
- }], sizeRange: [{
83
- type: Input
84
- }], rotationRange: [{
85
- type: Input
86
- }], rotationStep: [{
87
- type: Input
88
- }], gridSize: [{
89
- type: Input
90
- }], drawOutOfBound: [{
91
- type: Input
92
- }], textStyle: [{
93
- type: Input
94
- }] }); })();
29
+ TdChartSeriesWordcloudComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesWordcloudComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
30
+ TdChartSeriesWordcloudComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartSeriesWordcloudComponent, selector: "td-chart-series[td-wordCloud]", 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", shape: "shape", left: "left", top: "top", width: "width", height: "height", right: "right", bottom: "bottom", sizeRange: "sizeRange", rotationRange: "rotationRange", rotationStep: "rotationStep", gridSize: "gridSize", drawOutOfBound: "drawOutOfBound", textStyle: "textStyle" }, providers: [
31
+ {
32
+ provide: TdSeriesDirective,
33
+ useExisting: forwardRef(() => TdChartSeriesWordcloudComponent),
34
+ },
35
+ ], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesWordcloudComponent, decorators: [{
37
+ type: Component,
38
+ args: [{
39
+ selector: 'td-chart-series[td-wordCloud]',
40
+ template: '',
41
+ changeDetection: ChangeDetectionStrategy.OnPush,
42
+ inputs: [
43
+ 'config',
44
+ 'id',
45
+ 'name',
46
+ 'color',
47
+ 'data',
48
+ 'animation',
49
+ 'animationThreshold',
50
+ 'animationDuration',
51
+ 'animationEasing',
52
+ 'animationDelay',
53
+ 'animationDurationUpdate',
54
+ 'animationEasingUpdate',
55
+ 'animationDelayUpdate',
56
+ 'tooltip',
57
+ ],
58
+ providers: [
59
+ {
60
+ provide: TdSeriesDirective,
61
+ useExisting: forwardRef(() => TdChartSeriesWordcloudComponent),
62
+ },
63
+ ],
64
+ }]
65
+ }], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { data: [{
66
+ type: Input
67
+ }], shape: [{
68
+ type: Input
69
+ }], left: [{
70
+ type: Input
71
+ }], top: [{
72
+ type: Input
73
+ }], width: [{
74
+ type: Input
75
+ }], height: [{
76
+ type: Input
77
+ }], right: [{
78
+ type: Input
79
+ }], bottom: [{
80
+ type: Input
81
+ }], sizeRange: [{
82
+ type: Input
83
+ }], rotationRange: [{
84
+ type: Input
85
+ }], rotationStep: [{
86
+ type: Input
87
+ }], gridSize: [{
88
+ type: Input
89
+ }], drawOutOfBound: [{
90
+ type: Input
91
+ }], textStyle: [{
92
+ type: Input
93
+ }] } });
95
94
 
96
- const WORDCLOUD_MODULE_COMPONENTS = [TdChartSeriesWordcloudComponent];
95
+ const WORDCLOUD_MODULE_COMPONENTS = [
96
+ TdChartSeriesWordcloudComponent,
97
+ ];
97
98
  class CovalentWordcloudEchartsModule {
98
99
  }
99
- /** @nocollapse */ /** @nocollapse */ CovalentWordcloudEchartsModule.ɵfac = function CovalentWordcloudEchartsModule_Factory(t) { return new (t || CovalentWordcloudEchartsModule)(); };
100
- /** @nocollapse */ /** @nocollapse */ CovalentWordcloudEchartsModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CovalentWordcloudEchartsModule });
101
- /** @nocollapse */ /** @nocollapse */ CovalentWordcloudEchartsModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [[CommonModule]] });
102
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentWordcloudEchartsModule, [{
103
- type: NgModule,
104
- args: [{
105
- imports: [CommonModule],
106
- declarations: [WORDCLOUD_MODULE_COMPONENTS],
107
- exports: [WORDCLOUD_MODULE_COMPONENTS],
108
- }]
109
- }], null, null); })();
110
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentWordcloudEchartsModule, { declarations: [TdChartSeriesWordcloudComponent], imports: [CommonModule], exports: [TdChartSeriesWordcloudComponent] }); })();
100
+ CovalentWordcloudEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentWordcloudEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
101
+ CovalentWordcloudEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentWordcloudEchartsModule, declarations: [TdChartSeriesWordcloudComponent], imports: [CommonModule], exports: [TdChartSeriesWordcloudComponent] });
102
+ CovalentWordcloudEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentWordcloudEchartsModule, imports: [[CommonModule]] });
103
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentWordcloudEchartsModule, decorators: [{
104
+ type: NgModule,
105
+ args: [{
106
+ imports: [CommonModule],
107
+ declarations: [WORDCLOUD_MODULE_COMPONENTS],
108
+ exports: [WORDCLOUD_MODULE_COMPONENTS],
109
+ }]
110
+ }] });
111
111
 
112
112
  /**
113
113
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts-wordcloud.mjs","sources":["../../../../src/platform/echarts/wordcloud/wordcloud.component.ts","../../../../src/platform/echarts/wordcloud/wordcloud.module.ts","../../../../src/platform/echarts/wordcloud/covalent-echarts-wordcloud.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport { TdChartOptionsService, ITdSeries, TdSeriesDirective } from '@covalent/echarts/base';\n\nexport type TdWordcloudShape =\n | 'circle'\n | 'cardioid'\n | 'diamond'\n | 'triangle-forward'\n | 'triangle'\n | 'pentagon'\n | 'star';\n\nexport interface ITdWordcloudTextStyle {\n normal?: {\n fontFamily?: string;\n fontWeight?: string;\n color?: string | ((x: any) => string);\n };\n emphasis?: {\n shadowBlur?: number;\n shadowColor?: string;\n };\n}\n\nexport interface ITdWordCloudData {\n name: string;\n value: number;\n textStyle?: ITdWordcloudTextStyle;\n}\n\nexport interface ITdWordcloudSeries extends ITdSeries {\n data?: ITdWordCloudData[];\n shape?: TdWordcloudShape;\n left?: string | number;\n top?: string | number;\n width?: string | number;\n height?: string | number;\n right?: string | number;\n bottom?: string | number;\n sizeRange?: number[];\n rotationRange?: number[];\n rotationStep?: number;\n gridSize?: number;\n drawOutOfBound?: boolean;\n textStyle?: ITdWordcloudTextStyle;\n}\n\n@Component({\n selector: 'td-chart-series[td-wordCloud]',\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(() => TdChartSeriesWordcloudComponent),\n },\n ],\n})\nexport class TdChartSeriesWordcloudComponent extends TdSeriesDirective implements ITdWordcloudSeries {\n @Input() data: ITdWordCloudData[];\n @Input() shape: TdWordcloudShape;\n @Input() left: string | number;\n @Input() top: string | number;\n @Input() width: string | number;\n @Input() height: string | number;\n @Input() right: string | number;\n @Input() bottom: string | number;\n @Input() sizeRange: number[];\n @Input() rotationRange: number[];\n @Input() rotationStep: number;\n @Input() gridSize: number;\n @Input() drawOutOfBound: boolean;\n @Input() textStyle: ITdWordcloudTextStyle;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('wordCloud', _optionsService);\n }\n\n getConfig(): any {\n return {\n shape: this.shape,\n left: this.left,\n top: this.top,\n width: this.width,\n height: this.height,\n right: this.right,\n bottom: this.bottom,\n sizeRange: this.sizeRange,\n rotationRange: this.rotationRange,\n rotationStep: this.rotationStep,\n gridSize: this.gridSize,\n drawOutOfBound: this.drawOutOfBound,\n textStyle: this.textStyle,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesWordcloudComponent } from './wordcloud.component';\n\nexport const WORDCLOUD_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesWordcloudComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [WORDCLOUD_MODULE_COMPONENTS],\n exports: [WORDCLOUD_MODULE_COMPONENTS],\n})\nexport class CovalentWordcloudEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MA4Ea,+BAAgC,SAAQ,iBAAiB;IAgBpE,YAAY,eAAsC;QAChD,KAAK,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC;KACrC;IAED,SAAS;QACP,OAAO;YACL,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,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,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,cAAc,E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BACvB,YAAY,EAAE,CAAC,2BAA2B,CAAC;gBAC3C,OAAO,EAAE,CAAC,2BAA2B,CAAC;aACvC;;wFACY,8BAA8B,mBAPc,+BAA+B,aAG5E,YAAY,aAHiC,+BAA+B;;ACLxF;;;;;;"}
1
+ {"version":3,"file":"covalent-echarts-wordcloud.mjs","sources":["../../../../libs/angular-echarts/wordcloud/src/wordcloud.component.ts","../../../../libs/angular-echarts/wordcloud/src/wordcloud.module.ts","../../../../libs/angular-echarts/wordcloud/src/covalent-echarts-wordcloud.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdSeries,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport type TdWordcloudShape =\n | 'circle'\n | 'cardioid'\n | 'diamond'\n | 'triangle-forward'\n | 'triangle'\n | 'pentagon'\n | 'star';\n\nexport interface ITdWordcloudTextStyle {\n normal?: {\n fontFamily?: string;\n fontWeight?: string;\n color?: string | ((x: any) => string);\n };\n emphasis?: {\n shadowBlur?: number;\n shadowColor?: string;\n };\n}\n\nexport interface ITdWordCloudData {\n name: string;\n value: number;\n textStyle?: ITdWordcloudTextStyle;\n}\n\nexport interface ITdWordcloudSeries extends ITdSeries {\n data?: ITdWordCloudData[];\n shape?: TdWordcloudShape;\n left?: string | number;\n top?: string | number;\n width?: string | number;\n height?: string | number;\n right?: string | number;\n bottom?: string | number;\n sizeRange?: number[];\n rotationRange?: number[];\n rotationStep?: number;\n gridSize?: number;\n drawOutOfBound?: boolean;\n textStyle?: ITdWordcloudTextStyle;\n}\n\n@Component({\n selector: 'td-chart-series[td-wordCloud]',\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(() => TdChartSeriesWordcloudComponent),\n },\n ],\n})\nexport class TdChartSeriesWordcloudComponent\n extends TdSeriesDirective\n implements ITdWordcloudSeries\n{\n @Input() override data?: ITdWordCloudData[];\n @Input() shape?: TdWordcloudShape;\n @Input() left?: string | number;\n @Input() top?: string | number;\n @Input() width?: string | number;\n @Input() height?: string | number;\n @Input() right?: string | number;\n @Input() bottom?: string | number;\n @Input() sizeRange?: number[];\n @Input() rotationRange?: number[];\n @Input() rotationStep?: number;\n @Input() gridSize?: number;\n @Input() drawOutOfBound?: boolean;\n @Input() textStyle?: ITdWordcloudTextStyle;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('wordCloud', _optionsService);\n }\n\n getConfig(): any {\n return {\n shape: this.shape,\n left: this.left,\n top: this.top,\n width: this.width,\n height: this.height,\n right: this.right,\n bottom: this.bottom,\n sizeRange: this.sizeRange,\n rotationRange: this.rotationRange,\n rotationStep: this.rotationStep,\n gridSize: this.gridSize,\n drawOutOfBound: this.drawOutOfBound,\n textStyle: this.textStyle,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesWordcloudComponent } from './wordcloud.component';\n\nexport const WORDCLOUD_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesWordcloudComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [WORDCLOUD_MODULE_COMPONENTS],\n exports: [WORDCLOUD_MODULE_COMPONENTS],\n})\nexport class CovalentWordcloudEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MAqFa,+BACX,SAAQ,iBAAiB;IAkBzB,YAAY,eAAsC;QAChD,KAAK,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC;KACrC;IAED,SAAS;QACP,OAAO;YACL,KAAK,EAAE,IAAI,CAAC,KAAK;YAC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gBACG,KAAK;sBAAb,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,aAAa;sBAArB,KAAK;gBACG,YAAY;sBAApB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACG,cAAc;sBAAtB,KAAK;gBACG,SAAS;sBAAjB,KAAK;;;MCjGK,2BAA2B,GAAgB;IACtD,+BAA+B;EAC/B;MAOW,8BAA8B;;2HAA9B,8BAA8B;4HAA9B,8BAA8B,iBARzC,+BAA+B,aAIrB,YAAY,aAJtB,+BAA+B;4HAQpB,8BAA8B,YAJhC,CAAC,YAAY,CAAC;2FAIZ,8BAA8B;kBAL1C,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,2BAA2B,CAAC;oBAC3C,OAAO,EAAE,CAAC,2BAA2B,CAAC;iBACvC;;;ACbD;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts.mjs","sources":["../../../../src/platform/echarts/covalent-echarts.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;"}
1
+ {"version":3,"file":"covalent-echarts.mjs","sources":["../../../../libs/angular-echarts/src/covalent-echarts.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":"AAAA;;"}
package/graph/README.md CHANGED
@@ -6,22 +6,22 @@
6
6
 
7
7
  #### Inputs
8
8
 
9
- + config?: any
10
- + Sets the JS config object if you choose to not use the property inputs.
11
- + Note: [config] input properties will override input values
9
+ - config?: any
10
+ - Sets the JS config object if you choose to not use the property inputs.
11
+ - Note: [config] input properties will override input values
12
12
 
13
13
  There are also lots of property inputs like:
14
14
 
15
- + id?: string
16
- + It can be used to refer the component in option or API.
17
- + name?: string
18
- + Series name used for displaying in tooltip and filtering with legend.
19
- + color?: any
20
- + Global color for the series.
21
- + nodes?: any[] // or data?: any[]
22
- + Data array of series.
23
- + links?: any[] // or edges?: any[]
24
- + The links between nodes.
15
+ - id?: string
16
+ - It can be used to refer the component in option or API.
17
+ - name?: string
18
+ - Series name used for displaying in tooltip and filtering with legend.
19
+ - color?: any
20
+ - Global color for the series.
21
+ - nodes?: any[] // or data?: any[]
22
+ - Data array of series.
23
+ - links?: any[] // or edges?: any[]
24
+ - The links between nodes.
25
25
 
26
26
  And so many more.. for more info [click here](https://echarts.apache.org/en/option.html#series-graph)
27
27
 
@@ -49,8 +49,9 @@ Basic Example:
49
49
 
50
50
  ```html
51
51
  <td-chart>
52
- <td-chart-series td-graph
53
- [data]="[{ x: -739.36383, y: -404.26147, id: 'jquery', name: 'jquery',
52
+ <td-chart-series
53
+ td-graph
54
+ [data]="[{ x: -739.36383, y: -404.26147, id: 'jquery', name: 'jquery',
54
55
  symbolSize: 40.7252817, itemStyle: { normal: { color: '#4f19c7' } } },
55
56
  { x: -134.2215, y: -862.7517, id: 'backbone', name: 'backbone',
56
57
  symbolSize: 60.1554675, itemStyle: { normal: { color: '#c71969' } } },
@@ -68,7 +69,7 @@ Basic Example:
68
69
  symbolSize: 30.3863845, itemStyle: { normal: { color: '#c71969' } } },
69
70
  { x: -644.2716, y: -230.14833, id: 'express', name: 'express',
70
71
  symbolSize: 49.608772, itemStyle: { normal: { color: '#c71919' } } }]"
71
- [edges]="[{ source: 'jquery', target: 'backbone' },
72
+ [edges]="[{ source: 'jquery', target: 'backbone' },
72
73
  { source: 'jquery', target: 'vue.js' },
73
74
  { source: 'jquery', target: 'lodash' },
74
75
  { source: 'jquery', target: 'dateformat' },
@@ -80,9 +81,10 @@ Basic Example:
80
81
  { source: 'vue.js', target: 'dateformat' },
81
82
  { source: 'express', target: 'socket.io' },
82
83
  { source: 'express', target: 'dateformat' }]"
83
- [roam]="true"
84
- [focusNodeAdjacency]="true"
85
- [label]="{ emphasis: { position: 'right', show: true } }">
84
+ [roam]="true"
85
+ [focusNodeAdjacency]="true"
86
+ [label]="{ emphasis: { position: 'right', show: true } }"
87
+ >
86
88
  </td-chart-series>
87
89
  </td-chart>
88
90
  ```
@@ -2,4 +2,4 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  /// <amd-module name="@covalent/echarts/graph" />
5
- export * from './index';
5
+ export * from './public_api';
@@ -38,10 +38,10 @@ export interface ITdGraphSeries extends ITdSeries {
38
38
  symbolRotate?: number;
39
39
  symbolKeepAspect?: boolean;
40
40
  symbolOffset?: any[];
41
- focusNodeAdjacency: boolean;
42
- edgeSymbol: any[] | string;
43
- edgeSymbolSize: number;
44
- cursor: string;
41
+ focusNodeAdjacency?: boolean;
42
+ edgeSymbol?: any[] | string;
43
+ edgeSymbolSize?: number;
44
+ cursor?: string;
45
45
  roam?: boolean;
46
46
  expandAndCollapse?: boolean;
47
47
  initialTreeDepth?: number;
@@ -50,23 +50,23 @@ export interface ITdGraphSeries extends ITdSeries {
50
50
  label?: ITdLabel;
51
51
  edgeLabel?: ITdEdgeLabel;
52
52
  emphasis?: ITdEmphasis;
53
- categories: ITdCategories;
53
+ categories?: ITdCategories;
54
54
  data?: any[];
55
- nodes: any[];
56
- links: any[];
57
- edges: any[];
55
+ nodes?: any[];
56
+ links?: any[];
57
+ edges?: any[];
58
58
  markPoint?: ITdMarkPoint;
59
59
  markLine?: ITdMarkLine;
60
60
  markArea?: ITdMarkArea;
61
- zlevel: number;
61
+ zlevel?: number;
62
62
  z?: number;
63
63
  silent?: boolean;
64
- left: string | number;
65
- top: string | number;
66
- right: string | number;
67
- bottom: string | number;
68
- width: string | number;
69
- height: string | number;
64
+ left?: string | number;
65
+ top?: string | number;
66
+ right?: string | number;
67
+ bottom?: string | number;
68
+ width?: string | number;
69
+ height?: string | number;
70
70
  animation?: boolean;
71
71
  animationThreshold?: number;
72
72
  animationDuration?: number | Function;
@@ -77,51 +77,51 @@ export interface ITdGraphSeries extends ITdSeries {
77
77
  animationDelayUpdate?: number | Function;
78
78
  }
79
79
  export declare class TdChartSeriesGraphComponent extends TdSeriesDirective implements ITdGraphSeries {
80
- legendHoverLink: boolean;
81
- coordinateSystem: TdCoordinateSystem;
82
- xAxisIndex: number;
83
- yAxisIndex: number;
84
- polarIndex: number;
85
- calendarIndex: number;
86
- geoIndex: number;
87
- hoverAnimation: boolean;
88
- circular: object;
89
- force: ITdGraphForce;
90
- layout: TdGraphLayout;
91
- nodeScaleRatio: boolean;
92
- draggable: boolean;
93
- symbol: TdMarkPointSymbol | string;
94
- symbolSize: number | any[] | Function;
95
- symbolRotate: number;
96
- symbolKeepAspect: boolean;
97
- symbolOffset: any[];
98
- focusNodeAdjacency: boolean;
99
- edgeSymbol: any[] | string;
100
- edgeSymbolSize: number;
101
- cursor: string;
102
- roam: boolean;
103
- initialTreeDepth: number;
104
- itemStyle: ITdItemStyle;
105
- lineStyle: ITdLineStyle;
106
- label: ITdLabel;
107
- edgeLabel: ITdEdgeLabel;
108
- emphasis: ITdEmphasis;
109
- categories: ITdCategories;
110
- nodes: any[];
111
- links: any[];
112
- edges: any[];
113
- markPoint: ITdMarkPoint;
114
- markLine: ITdMarkLine;
115
- markArea: ITdMarkArea;
116
- zlevel: number;
117
- z: number;
118
- silent: boolean;
119
- left: string | number;
120
- top: string | number;
121
- right: string | number;
122
- bottom: string | number;
123
- width: string | number;
124
- height: string | number;
80
+ legendHoverLink?: boolean;
81
+ coordinateSystem?: TdCoordinateSystem;
82
+ xAxisIndex?: number;
83
+ yAxisIndex?: number;
84
+ polarIndex?: number;
85
+ calendarIndex?: number;
86
+ geoIndex?: number;
87
+ hoverAnimation?: boolean;
88
+ circular?: object;
89
+ force?: ITdGraphForce;
90
+ layout?: TdGraphLayout;
91
+ nodeScaleRatio?: boolean;
92
+ draggable?: boolean;
93
+ symbol?: TdMarkPointSymbol | string;
94
+ symbolSize?: number | any[] | Function;
95
+ symbolRotate?: number;
96
+ symbolKeepAspect?: boolean;
97
+ symbolOffset?: any[];
98
+ focusNodeAdjacency?: boolean;
99
+ edgeSymbol?: any[] | string;
100
+ edgeSymbolSize?: number;
101
+ cursor?: string;
102
+ roam?: boolean;
103
+ initialTreeDepth?: number;
104
+ itemStyle?: ITdItemStyle;
105
+ lineStyle?: ITdLineStyle;
106
+ label?: ITdLabel;
107
+ edgeLabel?: ITdEdgeLabel;
108
+ emphasis?: ITdEmphasis;
109
+ categories?: ITdCategories;
110
+ nodes?: any[];
111
+ links?: any[];
112
+ edges?: any[];
113
+ markPoint?: ITdMarkPoint;
114
+ markLine?: ITdMarkLine;
115
+ markArea?: ITdMarkArea;
116
+ zlevel?: number;
117
+ z?: number;
118
+ silent?: boolean;
119
+ left?: string | number;
120
+ top?: string | number;
121
+ right?: string | number;
122
+ bottom?: string | number;
123
+ width?: string | number;
124
+ height?: string | number;
125
125
  constructor(_optionsService: TdChartOptionsService);
126
126
  getConfig(): any;
127
127
  static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesGraphComponent, never>;
File without changes
package/line/README.md CHANGED
@@ -6,20 +6,20 @@
6
6
 
7
7
  #### Inputs
8
8
 
9
- + config?: any
10
- + Sets the JS config object if you choose to not use the property inputs.
11
- + Note: [config] input properties will override input values
9
+ - config?: any
10
+ - Sets the JS config object if you choose to not use the property inputs.
11
+ - Note: [config] input properties will override input values
12
12
 
13
13
  There are also lots of property inputs like:
14
14
 
15
- + id?: string
16
- + It can be used to refer the component in option or API.
17
- + name?: string
18
- + Series name used for displaying in tooltip and filtering with legend.
19
- + color?: any
20
- + Global color for the series.
21
- + data?: any[]
22
- + Data array of series.
15
+ - id?: string
16
+ - It can be used to refer the component in option or API.
17
+ - name?: string
18
+ - Series name used for displaying in tooltip and filtering with legend.
19
+ - color?: any
20
+ - Global color for the series.
21
+ - data?: any[]
22
+ - Data array of series.
23
23
 
24
24
  And so many more.. for more info [click here](https://echarts.apache.org/en/option.html#series-line)
25
25
 
@@ -47,15 +47,12 @@ Basic Example:
47
47
 
48
48
  ```html
49
49
  <td-chart>
50
- <td-chart-x-axis [show]="true"
51
- [type]="'time'">
52
- </td-chart-x-axis>
53
- <td-chart-y-axis [show]="true"
54
- [type]="'value'">
55
- </td-chart-y-axis>
56
- <td-chart-series td-line
57
- [name]="'name'"
58
- [data]="[{
50
+ <td-chart-x-axis [show]="true" [type]="'time'"> </td-chart-x-axis>
51
+ <td-chart-y-axis [show]="true" [type]="'value'"> </td-chart-y-axis>
52
+ <td-chart-series
53
+ td-line
54
+ [name]="'name'"
55
+ [data]="[{
59
56
  'name': '2018-10-29T03:27:33.932Z',
60
57
  'value': [
61
58
  '2018-10-29T03:27:33.932Z',
@@ -74,7 +71,8 @@ Basic Example:
74
71
  100
75
72
  ]
76
73
  }]"
77
- [color]="'#F2724B'">
74
+ [color]="'#F2724B'"
75
+ >
78
76
  </td-chart-series>
79
77
  </td-chart>
80
78
  ```
@@ -2,4 +2,4 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  /// <amd-module name="@covalent/echarts/line" />
5
- export * from './index';
5
+ export * from './public_api';