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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. package/README.md +4 -90
  2. package/bar/README.md +23 -21
  3. package/bar/bar.component.d.ts +27 -27
  4. package/bar/covalent-echarts-bar.d.ts +1 -1
  5. package/bar/{public-api.d.ts → public_api.d.ts} +0 -0
  6. package/base/README.md +26 -26
  7. package/base/axis/axis.component.d.ts +29 -29
  8. package/base/chart.component.d.ts +3 -3
  9. package/base/covalent-echarts-base.d.ts +1 -1
  10. package/base/dataset/dataset.component.d.ts +5 -5
  11. package/base/{public-api.d.ts → public_api.d.ts} +0 -0
  12. package/base/series/series.component.d.ts +15 -15
  13. package/base/{axis → src/axis}/README.md +19 -19
  14. package/base/{dataset → src/dataset}/README.md +19 -16
  15. package/covalent-echarts.d.ts +1 -1
  16. package/esm2020/bar/bar.component.mjs +95 -96
  17. package/esm2020/bar/bar.module.mjs +12 -13
  18. package/esm2020/bar/covalent-echarts-bar.mjs +2 -2
  19. package/esm2020/bar/public_api.mjs +3 -0
  20. package/esm2020/base/axis/axis.component.mjs +66 -66
  21. package/esm2020/base/axis/axis.interface.mjs +1 -1
  22. package/esm2020/base/axis/x-axis.component.mjs +45 -45
  23. package/esm2020/base/axis/y-axis.component.mjs +45 -45
  24. package/esm2020/base/base.module.mjs +13 -14
  25. package/esm2020/base/base.types.mjs +1 -1
  26. package/esm2020/base/chart-options.service.mjs +6 -6
  27. package/esm2020/base/chart.component.mjs +42 -38
  28. package/esm2020/base/covalent-echarts-base.mjs +2 -2
  29. package/esm2020/base/dataset/dataset.component.mjs +22 -22
  30. package/esm2020/base/public_api.mjs +10 -0
  31. package/esm2020/base/series/series.component.mjs +34 -34
  32. package/esm2020/base/series/series.interface.mjs +1 -1
  33. package/esm2020/base/themes/aqua-splash.mjs +31 -4
  34. package/esm2020/base/themes/california-coast.mjs +1 -1
  35. package/esm2020/base/themes/hawaiian-sunrise.mjs +1 -1
  36. package/esm2020/base/themes/passion-flower.mjs +1 -1
  37. package/esm2020/base/themes/razzleberry-pie.mjs +31 -4
  38. package/esm2020/base/themes/teradata-classic.mjs +31 -4
  39. package/esm2020/base/themes/teradata-default.mjs +1 -1
  40. package/esm2020/base/themes/urban-sunrise.mjs +1 -1
  41. package/esm2020/base/themes/volcanic-eruption.mjs +1 -1
  42. package/esm2020/base/utils/assign-defined.mjs +1 -1
  43. package/esm2020/base/utils/echarts.mjs +1 -1
  44. package/esm2020/base/utils/index.mjs +1 -1
  45. package/esm2020/covalent-echarts.mjs +2 -2
  46. package/esm2020/graph/covalent-echarts-graph.mjs +2 -2
  47. package/esm2020/graph/graph.component.mjs +129 -130
  48. package/esm2020/graph/graph.module.mjs +15 -14
  49. package/esm2020/graph/public_api.mjs +3 -0
  50. package/esm2020/line/covalent-echarts-line.mjs +2 -2
  51. package/esm2020/line/line.component.mjs +111 -112
  52. package/esm2020/line/line.module.mjs +12 -13
  53. package/esm2020/line/public_api.mjs +3 -0
  54. package/esm2020/map/covalent-echarts-map.mjs +2 -2
  55. package/esm2020/map/map.component.mjs +93 -94
  56. package/esm2020/map/map.module.mjs +12 -13
  57. package/esm2020/map/public_api.mjs +3 -0
  58. package/esm2020/pie/covalent-echarts-pie.mjs +2 -2
  59. package/esm2020/pie/pie.component.mjs +91 -92
  60. package/esm2020/pie/pie.module.mjs +12 -13
  61. package/esm2020/pie/public_api.mjs +3 -0
  62. package/esm2020/public_api.mjs +2 -0
  63. package/esm2020/sankey/covalent-echarts-sankey.mjs +2 -2
  64. package/esm2020/sankey/public_api.mjs +3 -0
  65. package/esm2020/sankey/sankey.component.mjs +83 -84
  66. package/esm2020/sankey/sankey.module.mjs +15 -14
  67. package/esm2020/scatter/covalent-echarts-scatter.mjs +2 -2
  68. package/esm2020/scatter/public_api.mjs +3 -0
  69. package/esm2020/scatter/scatter.component.mjs +101 -102
  70. package/esm2020/scatter/scatter.module.mjs +15 -14
  71. package/esm2020/toolbox/covalent-echarts-toolbox.mjs +2 -2
  72. package/esm2020/toolbox/public_api.mjs +3 -0
  73. package/esm2020/toolbox/toolbox.component.mjs +60 -76
  74. package/esm2020/toolbox/toolbox.module.mjs +19 -15
  75. package/esm2020/tooltip/covalent-echarts-tooltip.mjs +2 -2
  76. package/esm2020/tooltip/public_api.mjs +4 -0
  77. package/esm2020/tooltip/series-tooltip.component.mjs +40 -49
  78. package/esm2020/tooltip/tooltip.component.mjs +71 -80
  79. package/esm2020/tooltip/tooltip.module.mjs +14 -15
  80. package/esm2020/tree/covalent-echarts-tree.mjs +2 -2
  81. package/esm2020/tree/public_api.mjs +3 -0
  82. package/esm2020/tree/tree.component.mjs +83 -84
  83. package/esm2020/tree/tree.module.mjs +12 -13
  84. package/esm2020/treemap/covalent-echarts-treemap.mjs +2 -2
  85. package/esm2020/treemap/public_api.mjs +3 -0
  86. package/esm2020/treemap/treemap.component.mjs +107 -108
  87. package/esm2020/treemap/treemap.module.mjs +15 -14
  88. package/esm2020/wordcloud/covalent-echarts-wordcloud.mjs +2 -2
  89. package/esm2020/wordcloud/public_api.mjs +3 -0
  90. package/esm2020/wordcloud/wordcloud.component.mjs +68 -69
  91. package/esm2020/wordcloud/wordcloud.module.mjs +15 -14
  92. package/fesm2015/covalent-echarts-bar.mjs +16 -22
  93. package/fesm2015/covalent-echarts-bar.mjs.map +1 -1
  94. package/fesm2015/covalent-echarts-base.mjs +148 -81
  95. package/fesm2015/covalent-echarts-base.mjs.map +1 -1
  96. package/fesm2015/covalent-echarts-graph.mjs +19 -23
  97. package/fesm2015/covalent-echarts-graph.mjs.map +1 -1
  98. package/fesm2015/covalent-echarts-line.mjs +16 -22
  99. package/fesm2015/covalent-echarts-line.mjs.map +1 -1
  100. package/fesm2015/covalent-echarts-map.mjs +16 -22
  101. package/fesm2015/covalent-echarts-map.mjs.map +1 -1
  102. package/fesm2015/covalent-echarts-pie.mjs +16 -22
  103. package/fesm2015/covalent-echarts-pie.mjs.map +1 -1
  104. package/fesm2015/covalent-echarts-sankey.mjs +19 -23
  105. package/fesm2015/covalent-echarts-sankey.mjs.map +1 -1
  106. package/fesm2015/covalent-echarts-scatter.mjs +19 -23
  107. package/fesm2015/covalent-echarts-scatter.mjs.map +1 -1
  108. package/fesm2015/covalent-echarts-toolbox.mjs +23 -49
  109. package/fesm2015/covalent-echarts-toolbox.mjs.map +1 -1
  110. package/fesm2015/covalent-echarts-tooltip.mjs +43 -90
  111. package/fesm2015/covalent-echarts-tooltip.mjs.map +1 -1
  112. package/fesm2015/covalent-echarts-tree.mjs +16 -22
  113. package/fesm2015/covalent-echarts-tree.mjs.map +1 -1
  114. package/fesm2015/covalent-echarts-treemap.mjs +19 -23
  115. package/fesm2015/covalent-echarts-treemap.mjs.map +1 -1
  116. package/fesm2015/covalent-echarts-wordcloud.mjs +19 -23
  117. package/fesm2015/covalent-echarts-wordcloud.mjs.map +1 -1
  118. package/fesm2015/covalent-echarts.mjs.map +1 -1
  119. package/fesm2020/covalent-echarts-bar.mjs +104 -106
  120. package/fesm2020/covalent-echarts-bar.mjs.map +1 -1
  121. package/fesm2020/covalent-echarts-base.mjs +353 -269
  122. package/fesm2020/covalent-echarts-base.mjs.map +1 -1
  123. package/fesm2020/covalent-echarts-graph.mjs +141 -141
  124. package/fesm2020/covalent-echarts-graph.mjs.map +1 -1
  125. package/fesm2020/covalent-echarts-line.mjs +120 -122
  126. package/fesm2020/covalent-echarts-line.mjs.map +1 -1
  127. package/fesm2020/covalent-echarts-map.mjs +102 -104
  128. package/fesm2020/covalent-echarts-map.mjs.map +1 -1
  129. package/fesm2020/covalent-echarts-pie.mjs +100 -102
  130. package/fesm2020/covalent-echarts-pie.mjs.map +1 -1
  131. package/fesm2020/covalent-echarts-sankey.mjs +95 -95
  132. package/fesm2020/covalent-echarts-sankey.mjs.map +1 -1
  133. package/fesm2020/covalent-echarts-scatter.mjs +113 -113
  134. package/fesm2020/covalent-echarts-scatter.mjs.map +1 -1
  135. package/fesm2020/covalent-echarts-toolbox.mjs +76 -88
  136. package/fesm2020/covalent-echarts-toolbox.mjs.map +1 -1
  137. package/fesm2020/covalent-echarts-tooltip.mjs +120 -139
  138. package/fesm2020/covalent-echarts-tooltip.mjs.map +1 -1
  139. package/fesm2020/covalent-echarts-tree.mjs +92 -94
  140. package/fesm2020/covalent-echarts-tree.mjs.map +1 -1
  141. package/fesm2020/covalent-echarts-treemap.mjs +119 -119
  142. package/fesm2020/covalent-echarts-treemap.mjs.map +1 -1
  143. package/fesm2020/covalent-echarts-wordcloud.mjs +79 -79
  144. package/fesm2020/covalent-echarts-wordcloud.mjs.map +1 -1
  145. package/fesm2020/covalent-echarts.mjs.map +1 -1
  146. package/graph/README.md +21 -19
  147. package/graph/covalent-echarts-graph.d.ts +1 -1
  148. package/graph/graph.component.d.ts +60 -60
  149. package/graph/{public-api.d.ts → public_api.d.ts} +0 -0
  150. package/line/README.md +19 -21
  151. package/line/covalent-echarts-line.d.ts +1 -1
  152. package/line/line.component.d.ts +35 -35
  153. package/line/{public-api.d.ts → public_api.d.ts} +0 -0
  154. package/map/README.md +19 -17
  155. package/map/covalent-echarts-map.d.ts +1 -1
  156. package/map/map.component.d.ts +27 -27
  157. package/map/{public-api.d.ts → public_api.d.ts} +0 -0
  158. package/package.json +11 -22
  159. package/pie/README.md +17 -15
  160. package/pie/covalent-echarts-pie.d.ts +1 -1
  161. package/pie/pie.component.d.ts +26 -26
  162. package/pie/{public-api.d.ts → public_api.d.ts} +0 -0
  163. package/{index.d.ts → public_api.d.ts} +0 -0
  164. package/sankey/README.md +22 -20
  165. package/sankey/covalent-echarts-sankey.d.ts +1 -1
  166. package/sankey/{public-api.d.ts → public_api.d.ts} +0 -0
  167. package/sankey/sankey.component.d.ts +22 -22
  168. package/scatter/README.md +19 -21
  169. package/scatter/covalent-echarts-scatter.d.ts +1 -1
  170. package/scatter/{public-api.d.ts → public_api.d.ts} +0 -0
  171. package/scatter/scatter.component.d.ts +31 -31
  172. package/toolbox/README.md +12 -11
  173. package/toolbox/covalent-echarts-toolbox.d.ts +1 -1
  174. package/toolbox/{public-api.d.ts → public_api.d.ts} +0 -0
  175. package/toolbox/toolbox.component.d.ts +10 -10
  176. package/tooltip/README.md +30 -26
  177. package/tooltip/covalent-echarts-tooltip.d.ts +1 -1
  178. package/tooltip/{public-api.d.ts → public_api.d.ts} +0 -0
  179. package/tooltip/series-tooltip.component.d.ts +11 -9
  180. package/tooltip/tooltip.component.d.ts +16 -16
  181. package/tree/README.md +20 -18
  182. package/tree/covalent-echarts-tree.d.ts +1 -1
  183. package/tree/{public-api.d.ts → public_api.d.ts} +0 -0
  184. package/tree/tree.component.d.ts +24 -24
  185. package/treemap/README.md +23 -21
  186. package/treemap/covalent-echarts-treemap.d.ts +1 -1
  187. package/treemap/{public-api.d.ts → public_api.d.ts} +0 -0
  188. package/treemap/treemap.component.d.ts +37 -37
  189. package/wordcloud/README.md +25 -23
  190. package/wordcloud/covalent-echarts-wordcloud.d.ts +1 -1
  191. package/wordcloud/{public-api.d.ts → public_api.d.ts} +0 -0
  192. package/wordcloud/wordcloud.component.d.ts +14 -14
  193. package/bar/index.d.ts +0 -1
  194. package/base/chart.component.scss +0 -4
  195. package/base/index.d.ts +0 -1
  196. package/esm2020/bar/index.mjs +0 -2
  197. package/esm2020/bar/public-api.mjs +0 -3
  198. package/esm2020/base/index.mjs +0 -2
  199. package/esm2020/base/public-api.mjs +0 -10
  200. package/esm2020/graph/index.mjs +0 -2
  201. package/esm2020/graph/public-api.mjs +0 -3
  202. package/esm2020/index.mjs +0 -2
  203. package/esm2020/line/index.mjs +0 -2
  204. package/esm2020/line/public-api.mjs +0 -3
  205. package/esm2020/map/index.mjs +0 -2
  206. package/esm2020/map/public-api.mjs +0 -3
  207. package/esm2020/pie/index.mjs +0 -2
  208. package/esm2020/pie/public-api.mjs +0 -3
  209. package/esm2020/sankey/index.mjs +0 -2
  210. package/esm2020/sankey/public-api.mjs +0 -3
  211. package/esm2020/scatter/index.mjs +0 -2
  212. package/esm2020/scatter/public-api.mjs +0 -3
  213. package/esm2020/toolbox/index.mjs +0 -2
  214. package/esm2020/toolbox/public-api.mjs +0 -3
  215. package/esm2020/tooltip/index.mjs +0 -2
  216. package/esm2020/tooltip/public-api.mjs +0 -4
  217. package/esm2020/tree/index.mjs +0 -2
  218. package/esm2020/tree/public-api.mjs +0 -3
  219. package/esm2020/treemap/index.mjs +0 -2
  220. package/esm2020/treemap/public-api.mjs +0 -3
  221. package/esm2020/wordcloud/index.mjs +0 -2
  222. package/esm2020/wordcloud/public-api.mjs +0 -3
  223. package/graph/index.d.ts +0 -1
  224. package/line/index.d.ts +0 -1
  225. package/map/index.d.ts +0 -1
  226. package/pie/index.d.ts +0 -1
  227. package/sankey/index.d.ts +0 -1
  228. package/scatter/index.d.ts +0 -1
  229. package/toolbox/index.d.ts +0 -1
  230. package/tooltip/index.d.ts +0 -1
  231. package/tree/index.d.ts +0 -1
  232. package/treemap/index.d.ts +0 -1
  233. package/wordcloud/index.d.ts +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts-tooltip.mjs","sources":["../../../../src/platform/echarts/tooltip/tooltip.component.ts","../../../../src/platform/echarts/tooltip/tooltip.component.html","../../../../src/platform/echarts/tooltip/series-tooltip.component.ts","../../../../src/platform/echarts/tooltip/tooltip.module.ts","../../../../src/platform/echarts/tooltip/covalent-echarts-tooltip.ts"],"sourcesContent":["import {\n Component,\n Input,\n Directive,\n TemplateRef,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n OnChanges,\n ContentChild,\n ViewChild,\n OnDestroy,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n assignDefined,\n TdTooltipTrigger,\n TdTooltipTriggerOn,\n TdTooltipPosition,\n} from '@covalent/echarts/base';\n\nexport class TdTooltipContext {\n $implicit: any;\n ticket: string;\n}\n\n@Directive({\n selector: 'ng-template[tdTooltipFormatter]',\n})\nexport class TdChartTooltipFormatterDirective {}\n\n@Component({\n selector: 'td-chart-tooltip',\n templateUrl: './tooltip.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdChartTooltipComponent implements OnChanges, OnDestroy {\n private _state: any = {};\n\n _context: TdTooltipContext = new TdTooltipContext();\n\n @Input() config: any = {};\n\n @Input() show: boolean = true;\n @Input() trigger: TdTooltipTrigger = 'axis';\n @Input() axisPointer: any;\n @Input() showContent: boolean = true;\n @Input() alwaysShowContent: boolean = false;\n @Input() triggerOn: TdTooltipTriggerOn = 'mousemove|click';\n @Input() showDelay: number = 0;\n @Input() hideDelay: number = 0;\n @Input() enterable: boolean = false;\n @Input() renderMode: 'html' | 'richText';\n @Input() confine: boolean = false;\n @Input() transitionDuration: number = 0.5;\n @Input() position: TdTooltipPosition; // series\n @Input() formatter: string | Function; // series\n @Input() backgroundColor: string = 'rgba(50,50,50,0.7)'; // series\n @Input() borderColor: string = '#333'; // series\n @Input() borderWidth: number = 0; // series\n @Input() padding: number = 5; // series\n @Input() textStyle: any = {\n // series\n color: '#FFF',\n };\n @Input() extraCssText: string; // series\n\n @ContentChild(TdChartTooltipFormatterDirective, { read: TemplateRef, static: true })\n formatterTemplate: TemplateRef<any>;\n @ViewChild('tooltipContent', { static: true }) fullTemplate: TemplateRef<any>;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n private _optionsService: TdChartOptionsService,\n ) {}\n\n ngOnChanges(): void {\n this._setOptions();\n }\n\n ngOnDestroy(): void {\n this._removeOption();\n }\n\n private _setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n show: this.show,\n trigger: this.trigger,\n axisPointer: this.axisPointer,\n showContent: this.showContent,\n alwaysShowContent: this.alwaysShowContent,\n triggerOn: this.triggerOn,\n showDelay: this.showDelay,\n hideDelay: this.hideDelay,\n enterable: this.enterable,\n confine: this.confine,\n transitionDuration: this.transitionDuration,\n position: this.position,\n formatter: this.formatter ? this.formatter : this.formatterTemplate ? this._formatter() : undefined,\n backgroundColor: this.backgroundColor,\n borderColor: this.borderColor,\n borderWidth: this.borderWidth,\n padding: this.padding,\n textStyle: this.textStyle,\n extraCssText: this.extraCssText,\n },\n this.config ? this.config : {},\n );\n // set tooltip configuration in parent chart and render new configurations\n this._optionsService.setOption('tooltip', config);\n }\n\n private _removeOption(): void {\n this._optionsService.clearOption('tooltip');\n }\n\n private _formatter(): (params: any, ticket: any, callback: (ticket: string, html: string) => void) => string {\n return (params: any, ticket: any, callback: (ticket: string, html: string) => void) => {\n this._context = {\n $implicit: params,\n ticket,\n };\n // timeout set since we need to set the HTML at the end of the angular lifecycle when\n // the tooltip delay is more than 0\n setTimeout(() => {\n callback(ticket, (<HTMLElement>this._elementRef.nativeElement).innerHTML);\n });\n this._changeDetectorRef.markForCheck();\n return (<HTMLElement>this._elementRef.nativeElement).innerHTML;\n };\n }\n}\n","<ng-template #tooltipContent [ngTemplateOutlet]=\"formatterTemplate\" [ngTemplateOutletContext]=\"_context\"></ng-template>\n","import {\n Component,\n Input,\n ContentChild,\n ViewChild,\n TemplateRef,\n ChangeDetectorRef,\n ElementRef,\n ChangeDetectionStrategy,\n OnChanges,\n OnDestroy,\n} from '@angular/core';\n\nimport { assignDefined, TdSeriesDirective } from '@covalent/echarts/base';\n\nimport { TdChartTooltipFormatterDirective, TdTooltipContext } from './tooltip.component';\n\n@Component({\n selector: 'td-chart-series-tooltip',\n templateUrl: './tooltip.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdSeriesTooltipComponent implements OnChanges, OnDestroy {\n private _state: any = {};\n\n _context: TdTooltipContext = new TdTooltipContext();\n\n @Input() config: any;\n\n @Input() formatter: any;\n // Parent tooltip trigger must be set to 'item' to render these properties\n @Input() position: string | string[] | number[];\n @Input() backgroundColor: string = 'rgba(50,50,50,0.7)';\n @Input() borderColor: string = '#333';\n @Input() borderWidth: number = 0;\n @Input() padding: number = 5;\n @Input() textStyle: any = {\n color: '#FFF',\n };\n @Input() extraCssText: string;\n\n @ContentChild(TdChartTooltipFormatterDirective, { read: TemplateRef, static: true })\n formatterTemplate: TemplateRef<any>;\n @ViewChild('tooltipContent', { static: true }) fullTemplate: TemplateRef<any>;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n private _seriesComponent: TdSeriesDirective,\n ) {}\n\n ngOnChanges(): void {\n this._setOptions();\n }\n\n ngOnDestroy(): void {\n this._removeOption();\n }\n\n private _setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n position: this.position,\n backgroundColor: this.backgroundColor,\n borderColor: this.borderColor,\n borderWidth: this.borderWidth,\n padding: this.padding,\n textStyle: this.textStyle,\n extraCssText: this.extraCssText,\n formatter: this.formatter ? this.formatter : this.formatterTemplate ? this._formatter() : undefined,\n },\n this.config ? this.config : {},\n );\n // set series tooltip configuration in parent chart and render new configurations\n this._seriesComponent.setStateOption('tooltip', config);\n }\n\n /**\n * Formatter for tooltip\n *\n */\n private _formatter(): (params: any, ticket: any, callback: (ticket: string, html: string) => void) => string {\n return (params: any, ticket: any, callback: (ticket: string, html: string) => void) => {\n this._context = {\n $implicit: params,\n ticket,\n };\n // timeout set since we need to set the HTML at the end of the angular lifecycle when\n // the tooltip delay is more than 0\n setTimeout(() => {\n callback(ticket, (<HTMLElement>this._elementRef.nativeElement).innerHTML);\n });\n this._changeDetectorRef.markForCheck();\n return (<HTMLElement>this._elementRef.nativeElement).innerHTML;\n };\n }\n\n private _removeOption(): void {\n this._seriesComponent.removeStateOption('tooltip');\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartTooltipComponent, TdChartTooltipFormatterDirective } from './tooltip.component';\nimport { TdSeriesTooltipComponent } from './series-tooltip.component';\n\nexport const TOOLTIP_MODULE_COMPONENTS: Type<any>[] = [\n TdChartTooltipComponent,\n TdChartTooltipFormatterDirective,\n TdSeriesTooltipComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TOOLTIP_MODULE_COMPONENTS],\n exports: [TOOLTIP_MODULE_COMPONENTS],\n})\nexport class CovalentTooltipEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAsBa,gBAAgB;CAG5B;MAKY,gCAAgC;;sJAAhC,gCAAgC;qIAAhC,gCAAgC;uFAAhC,gCAAgC;cAH5C,SAAS;eAAC;gBACT,QAAQ,EAAE,iCAAiC;aAC5C;;MAQY,uBAAuB;IAmClC,YACU,kBAAqC,EACrC,WAAuB,EACvB,eAAsC;QAFtC,uBAAkB,GAAlB,kBAAkB,CAAmB;QACrC,gBAAW,GAAX,WAAW,CAAY;QACvB,oBAAe,GAAf,eAAe,CAAuB;QArCxC,WAAM,GAAQ,EAAE,CAAC;QAEzB,aAAQ,GAAqB,IAAI,gBAAgB,EAAE,CAAC;QAE3C,WAAM,GAAQ,EAAE,CAAC;QAEjB,SAAI,GAAY,IAAI,CAAC;QACrB,YAAO,GAAqB,MAAM,CAAC;QAEnC,gBAAW,GAAY,IAAI,CAAC;QAC5B,sBAAiB,GAAY,KAAK,CAAC;QACnC,cAAS,GAAuB,iBAAiB,CAAC;QAClD,cAAS,GAAW,CAAC,CAAC;QACtB,cAAS,GAAW,CAAC,CAAC;QACtB,cAAS,GAAY,KAAK,CAAC;QAE3B,YAAO,GAAY,KAAK,CAAC;QACzB,uBAAkB,GAAW,GAAG,CAAC;QAGjC,oBAAe,GAAW,oBAAoB,CAAC;QAC/C,gBAAW,GAAW,MAAM,CAAC;QAC7B,gBAAW,GAAW,CAAC,CAAC;QACxB,YAAO,GAAW,CAAC,CAAC;QACpB,cAAS,GAAQ;;YAExB,KAAK,EAAE,MAAM;SACd,CAAC;KAWE;IAEJ,WAAW;QACT,IAAI,CAAC,WAAW,EAAE,CAAC;KACpB;IAED,WAAW;QACT,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;IAEO,WAAW;QACjB,MAAM,MAAM,GAAQ,aAAa,CAC/B,IAAI,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Y,4BAA4B,mBAVvC,uBAAuB;QACvB,gCAAgC;QAChC,wBAAwB,aAId,YAAY,aANtB,uBAAuB;QACvB,gCAAgC;QAChC,wBAAwB;;ACT1B;;;;;;"}
1
+ {"version":3,"file":"covalent-echarts-tooltip.mjs","sources":["../../../../libs/angular-echarts/tooltip/src/tooltip.component.ts","../../../../libs/angular-echarts/tooltip/src/tooltip.component.html","../../../../libs/angular-echarts/tooltip/src/series-tooltip.component.ts","../../../../libs/angular-echarts/tooltip/src/tooltip.module.ts","../../../../libs/angular-echarts/tooltip/src/covalent-echarts-tooltip.ts"],"sourcesContent":["import {\n Component,\n Input,\n Directive,\n TemplateRef,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n OnChanges,\n ContentChild,\n ViewChild,\n OnDestroy,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n assignDefined,\n TdTooltipTrigger,\n TdTooltipTriggerOn,\n TdTooltipPosition,\n} from '@covalent/echarts/base';\n\nexport class TdTooltipContext {\n $implicit: any;\n ticket!: string;\n}\n\n@Directive({\n selector: 'ng-template[tdTooltipFormatter]',\n})\nexport class TdChartTooltipFormatterDirective {}\n\n@Component({\n selector: 'td-chart-tooltip',\n templateUrl: './tooltip.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdChartTooltipComponent implements OnChanges, OnDestroy {\n private _state: any = {};\n\n _context: TdTooltipContext = new TdTooltipContext();\n\n @Input() config: any = {};\n\n @Input() show? = true;\n @Input() trigger?: TdTooltipTrigger = 'axis';\n @Input() axisPointer: any;\n @Input() showContent? = true;\n @Input() alwaysShowContent? = false;\n @Input() triggerOn?: TdTooltipTriggerOn = 'mousemove|click';\n @Input() showDelay? = 0;\n @Input() hideDelay? = 0;\n @Input() enterable? = false;\n @Input() renderMode?: 'html' | 'richText';\n @Input() confine = false;\n @Input() transitionDuration = 0.5;\n @Input() position?: TdTooltipPosition; // series\n @Input() formatter?: string | Function; // series\n @Input() backgroundColor? = 'rgba(50,50,50,0.7)'; // series\n @Input() borderColor? = '#333'; // series\n @Input() borderWidth? = 0; // series\n @Input() padding? = 5; // series\n @Input() textStyle: any = {\n // series\n color: '#FFF',\n };\n @Input() extraCssText?: string; // series\n\n @ContentChild(TdChartTooltipFormatterDirective, {\n read: TemplateRef,\n static: true,\n })\n formatterTemplate!: TemplateRef<any>;\n @ViewChild('tooltipContent', { static: true })\n fullTemplate!: TemplateRef<any>;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n private _optionsService: TdChartOptionsService\n ) {}\n\n ngOnChanges(): void {\n this._setOptions();\n }\n\n ngOnDestroy(): void {\n this._removeOption();\n }\n\n private _setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n show: this.show,\n trigger: this.trigger,\n axisPointer: this.axisPointer,\n showContent: this.showContent,\n alwaysShowContent: this.alwaysShowContent,\n triggerOn: this.triggerOn,\n showDelay: this.showDelay,\n hideDelay: this.hideDelay,\n enterable: this.enterable,\n confine: this.confine,\n transitionDuration: this.transitionDuration,\n position: this.position,\n formatter: this.formatter\n ? this.formatter\n : this.formatterTemplate\n ? this._formatter()\n : undefined,\n backgroundColor: this.backgroundColor,\n borderColor: this.borderColor,\n borderWidth: this.borderWidth,\n padding: this.padding,\n textStyle: this.textStyle,\n extraCssText: this.extraCssText,\n },\n this.config ? this.config : {}\n );\n // set tooltip configuration in parent chart and render new configurations\n this._optionsService.setOption('tooltip', config);\n }\n\n private _removeOption(): void {\n this._optionsService.clearOption('tooltip');\n }\n\n private _formatter(): (\n params: any,\n ticket: any,\n callback: (ticket: string, html: string) => void\n ) => string {\n return (\n params: any,\n ticket: any,\n callback: (ticket: string, html: string) => void\n ) => {\n this._context = {\n $implicit: params,\n ticket,\n };\n // timeout set since we need to set the HTML at the end of the angular lifecycle when\n // the tooltip delay is more than 0\n setTimeout(() => {\n callback(\n ticket,\n (<HTMLElement>this._elementRef.nativeElement).innerHTML\n );\n });\n this._changeDetectorRef.markForCheck();\n return (<HTMLElement>this._elementRef.nativeElement).innerHTML;\n };\n }\n}\n","<ng-template\n #tooltipContent\n [ngTemplateOutlet]=\"formatterTemplate\"\n [ngTemplateOutletContext]=\"_context\"\n></ng-template>\n","import {\n Component,\n Input,\n ContentChild,\n ViewChild,\n TemplateRef,\n ChangeDetectorRef,\n ElementRef,\n ChangeDetectionStrategy,\n OnChanges,\n OnDestroy,\n} from '@angular/core';\n\nimport { assignDefined, TdSeriesDirective } from '@covalent/echarts/base';\n\nimport {\n TdChartTooltipFormatterDirective,\n TdTooltipContext,\n} from './tooltip.component';\n\n@Component({\n selector: 'td-chart-series-tooltip',\n templateUrl: './tooltip.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdSeriesTooltipComponent implements OnChanges, OnDestroy {\n private _state: any = {};\n\n _context: TdTooltipContext = new TdTooltipContext();\n\n @Input() config?: any;\n\n @Input() formatter?: any;\n // Parent tooltip trigger must be set to 'item' to render these properties\n @Input() position?: string | string[] | number[];\n @Input() backgroundColor? = 'rgba(50,50,50,0.7)';\n @Input() borderColor? = '#333';\n @Input() borderWidth? = 0;\n @Input() padding? = 5;\n @Input() textStyle? = {\n color: '#FFF',\n };\n @Input() extraCssText?: string;\n\n @ContentChild(TdChartTooltipFormatterDirective, {\n read: TemplateRef,\n static: true,\n })\n formatterTemplate!: TemplateRef<any>;\n @ViewChild('tooltipContent', { static: true })\n fullTemplate!: TemplateRef<any>;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n private _seriesComponent: TdSeriesDirective\n ) {}\n\n ngOnChanges(): void {\n this._setOptions();\n }\n\n ngOnDestroy(): void {\n this._removeOption();\n }\n\n private _setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n position: this.position,\n backgroundColor: this.backgroundColor,\n borderColor: this.borderColor,\n borderWidth: this.borderWidth,\n padding: this.padding,\n textStyle: this.textStyle,\n extraCssText: this.extraCssText,\n formatter: this.formatter\n ? this.formatter\n : this.formatterTemplate\n ? this._formatter()\n : undefined,\n },\n this.config ? this.config : {}\n );\n // set series tooltip configuration in parent chart and render new configurations\n this._seriesComponent.setStateOption('tooltip', config);\n }\n\n /**\n * Formatter for tooltip\n *\n */\n private _formatter(): (\n params: any,\n ticket: any,\n callback: (ticket: string, html: string) => void\n ) => string {\n return (\n params: any,\n ticket: any,\n callback: (ticket: string, html: string) => void\n ) => {\n this._context = {\n $implicit: params,\n ticket,\n };\n // timeout set since we need to set the HTML at the end of the angular lifecycle when\n // the tooltip delay is more than 0\n setTimeout(() => {\n callback(\n ticket,\n (<HTMLElement>this._elementRef.nativeElement).innerHTML\n );\n });\n this._changeDetectorRef.markForCheck();\n return (<HTMLElement>this._elementRef.nativeElement).innerHTML;\n };\n }\n\n private _removeOption(): void {\n this._seriesComponent.removeStateOption('tooltip');\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport {\n TdChartTooltipComponent,\n TdChartTooltipFormatterDirective,\n} from './tooltip.component';\nimport { TdSeriesTooltipComponent } from './series-tooltip.component';\n\nexport const TOOLTIP_MODULE_COMPONENTS: Type<any>[] = [\n TdChartTooltipComponent,\n TdChartTooltipFormatterDirective,\n TdSeriesTooltipComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TOOLTIP_MODULE_COMPONENTS],\n exports: [TOOLTIP_MODULE_COMPONENTS],\n})\nexport class CovalentTooltipEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;MAsBa,gBAAgB;CAG5B;MAKY,gCAAgC;;6HAAhC,gCAAgC;iHAAhC,gCAAgC;2FAAhC,gCAAgC;kBAH5C,SAAS;mBAAC;oBACT,QAAQ,EAAE,iCAAiC;iBAC5C;;MAQY,uBAAuB;IAuClC,YACU,kBAAqC,EACrC,WAAuB,EACvB,eAAsC;QAFtC,uBAAkB,GAAlB,kBAAkB,CAAmB;QACrC,gBAA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S;+BACE,yBAAyB,mBAElB,uBAAuB,CAAC,MAAM;iKAOtC,MAAM;sBAAd,KAAK;gBAEG,SAAS;sBAAjB,KAAK;gBAEG,QAAQ;sBAAhB,KAAK;gBACG,eAAe;sBAAvB,KAAK;gBACG,WAAW;sBAAnB,KAAK;gBACG,WAAW;sBAAnB,KAAK;gBACG,OAAO;sBAAf,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBAGG,YAAY;sBAApB,KAAK;gBAMN,iBAAiB;sBAJhB,YAAY;uBAAC,gCAAgC,EAAE;wBAC9C,IAAI,EAAE,WAAW;wBACjB,MAAM,EAAE,IAAI;qBACb;gBAGD,YAAY;sBADX,SAAS;uBAAC,gBAAgB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;;;MCxClC,yBAAyB,GAAgB;IACpD,uBAAuB;IACvB,gCAAgC;IAChC,wBAAwB;EACxB;MAOW,4BAA4B;;yHAA5B,4BAA4B;0HAA5B,4BAA4B,iBAVvC,uBAAuB;QACvB,gCAAgC;QAChC,wBAAwB,aAId,YAAY,aANtB,uBAAuB;QACvB,gCAAgC;QAChC,wBAAwB;0HAQb,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;;;ACnBD;;;;;;"}
@@ -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-tree", ""];
8
7
  class TdChartSeriesTreeComponent extends TdSeriesDirective {
9
8
  constructor(_optionsService) {
10
9
  super('tree', _optionsService);
@@ -36,103 +35,102 @@ class TdChartSeriesTreeComponent extends TdSeriesDirective {
36
35
  };
37
36
  }
38
37
  }
39
- /** @nocollapse */ /** @nocollapse */ TdChartSeriesTreeComponent.ɵfac = function TdChartSeriesTreeComponent_Factory(t) { return new (t || TdChartSeriesTreeComponent)(i0.ɵɵdirectiveInject(i1.TdChartOptionsService)); };
40
- /** @nocollapse */ /** @nocollapse */ TdChartSeriesTreeComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdChartSeriesTreeComponent, selectors: [["td-chart-series", "td-tree", ""]], inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", zlevel: "zlevel", z: "z", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height", layout: "layout", orient: "orient", symbol: "symbol", symbolSize: "symbolSize", symbolRotate: "symbolRotate", symbolKeepAspect: "symbolKeepAspect", roam: "roam", expandAndCollapse: "expandAndCollapse", initialTreeDepth: "initialTreeDepth", itemStyle: "itemStyle", label: "label", lineStyle: "lineStyle", leaves: "leaves", emphasis: "emphasis" }, features: [i0.ɵɵProvidersFeature([
41
- {
42
- provide: TdSeriesDirective,
43
- useExisting: forwardRef((() => TdChartSeriesTreeComponent)),
44
- },
45
- ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 0, vars: 0, template: function TdChartSeriesTreeComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
46
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartSeriesTreeComponent, [{
47
- type: Component,
48
- args: [{
49
- selector: 'td-chart-series[td-tree]',
50
- template: '',
51
- changeDetection: ChangeDetectionStrategy.OnPush,
52
- inputs: [
53
- 'config',
54
- 'id',
55
- 'name',
56
- 'color',
57
- 'data',
58
- 'animation',
59
- 'animationThreshold',
60
- 'animationDuration',
61
- 'animationEasing',
62
- 'animationDelay',
63
- 'animationDurationUpdate',
64
- 'animationEasingUpdate',
65
- 'animationDelayUpdate',
66
- 'tooltip',
67
- ],
68
- providers: [
69
- {
70
- provide: TdSeriesDirective,
71
- useExisting: forwardRef((() => TdChartSeriesTreeComponent)),
72
- },
73
- ],
74
- }]
75
- }], function () { return [{ type: i1.TdChartOptionsService }]; }, { zlevel: [{
76
- type: Input
77
- }], z: [{
78
- type: Input
79
- }], left: [{
80
- type: Input
81
- }], top: [{
82
- type: Input
83
- }], right: [{
84
- type: Input
85
- }], bottom: [{
86
- type: Input
87
- }], width: [{
88
- type: Input
89
- }], height: [{
90
- type: Input
91
- }], layout: [{
92
- type: Input
93
- }], orient: [{
94
- type: Input
95
- }], symbol: [{
96
- type: Input
97
- }], symbolSize: [{
98
- type: Input
99
- }], symbolRotate: [{
100
- type: Input
101
- }], symbolKeepAspect: [{
102
- type: Input
103
- }], roam: [{
104
- type: Input
105
- }], expandAndCollapse: [{
106
- type: Input
107
- }], initialTreeDepth: [{
108
- type: Input
109
- }], itemStyle: [{
110
- type: Input
111
- }], label: [{
112
- type: Input
113
- }], lineStyle: [{
114
- type: Input
115
- }], leaves: [{
116
- type: Input
117
- }], emphasis: [{
118
- type: Input
119
- }] }); })();
38
+ TdChartSeriesTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesTreeComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
39
+ TdChartSeriesTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartSeriesTreeComponent, selector: "td-chart-series[td-tree]", inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", zlevel: "zlevel", z: "z", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height", layout: "layout", orient: "orient", symbol: "symbol", symbolSize: "symbolSize", symbolRotate: "symbolRotate", symbolKeepAspect: "symbolKeepAspect", roam: "roam", expandAndCollapse: "expandAndCollapse", initialTreeDepth: "initialTreeDepth", itemStyle: "itemStyle", label: "label", lineStyle: "lineStyle", leaves: "leaves", emphasis: "emphasis" }, providers: [
40
+ {
41
+ provide: TdSeriesDirective,
42
+ useExisting: forwardRef(() => TdChartSeriesTreeComponent),
43
+ },
44
+ ], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesTreeComponent, decorators: [{
46
+ type: Component,
47
+ args: [{
48
+ selector: 'td-chart-series[td-tree]',
49
+ template: '',
50
+ changeDetection: ChangeDetectionStrategy.OnPush,
51
+ inputs: [
52
+ 'config',
53
+ 'id',
54
+ 'name',
55
+ 'color',
56
+ 'data',
57
+ 'animation',
58
+ 'animationThreshold',
59
+ 'animationDuration',
60
+ 'animationEasing',
61
+ 'animationDelay',
62
+ 'animationDurationUpdate',
63
+ 'animationEasingUpdate',
64
+ 'animationDelayUpdate',
65
+ 'tooltip',
66
+ ],
67
+ providers: [
68
+ {
69
+ provide: TdSeriesDirective,
70
+ useExisting: forwardRef(() => TdChartSeriesTreeComponent),
71
+ },
72
+ ],
73
+ }]
74
+ }], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { zlevel: [{
75
+ type: Input
76
+ }], z: [{
77
+ type: Input
78
+ }], left: [{
79
+ type: Input
80
+ }], top: [{
81
+ type: Input
82
+ }], right: [{
83
+ type: Input
84
+ }], bottom: [{
85
+ type: Input
86
+ }], width: [{
87
+ type: Input
88
+ }], height: [{
89
+ type: Input
90
+ }], layout: [{
91
+ type: Input
92
+ }], orient: [{
93
+ type: Input
94
+ }], symbol: [{
95
+ type: Input
96
+ }], symbolSize: [{
97
+ type: Input
98
+ }], symbolRotate: [{
99
+ type: Input
100
+ }], symbolKeepAspect: [{
101
+ type: Input
102
+ }], roam: [{
103
+ type: Input
104
+ }], expandAndCollapse: [{
105
+ type: Input
106
+ }], initialTreeDepth: [{
107
+ type: Input
108
+ }], itemStyle: [{
109
+ type: Input
110
+ }], label: [{
111
+ type: Input
112
+ }], lineStyle: [{
113
+ type: Input
114
+ }], leaves: [{
115
+ type: Input
116
+ }], emphasis: [{
117
+ type: Input
118
+ }] } });
120
119
 
121
120
  const TREE_MODULE_COMPONENTS = [TdChartSeriesTreeComponent];
122
121
  class CovalentTreeEchartsModule {
123
122
  }
124
- /** @nocollapse */ /** @nocollapse */ CovalentTreeEchartsModule.ɵfac = function CovalentTreeEchartsModule_Factory(t) { return new (t || CovalentTreeEchartsModule)(); };
125
- /** @nocollapse */ /** @nocollapse */ CovalentTreeEchartsModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CovalentTreeEchartsModule });
126
- /** @nocollapse */ /** @nocollapse */ CovalentTreeEchartsModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [[CommonModule]] });
127
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentTreeEchartsModule, [{
128
- type: NgModule,
129
- args: [{
130
- imports: [CommonModule],
131
- declarations: [TREE_MODULE_COMPONENTS],
132
- exports: [TREE_MODULE_COMPONENTS],
133
- }]
134
- }], null, null); })();
135
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentTreeEchartsModule, { declarations: [TdChartSeriesTreeComponent], imports: [CommonModule], exports: [TdChartSeriesTreeComponent] }); })();
123
+ CovalentTreeEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreeEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
124
+ CovalentTreeEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreeEchartsModule, declarations: [TdChartSeriesTreeComponent], imports: [CommonModule], exports: [TdChartSeriesTreeComponent] });
125
+ CovalentTreeEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreeEchartsModule, imports: [[CommonModule]] });
126
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreeEchartsModule, decorators: [{
127
+ type: NgModule,
128
+ args: [{
129
+ imports: [CommonModule],
130
+ declarations: [TREE_MODULE_COMPONENTS],
131
+ exports: [TREE_MODULE_COMPONENTS],
132
+ }]
133
+ }] });
136
134
 
137
135
  /**
138
136
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts-tree.mjs","sources":["../../../../src/platform/echarts/tree/tree.component.ts","../../../../src/platform/echarts/tree/tree.module.ts","../../../../src/platform/echarts/tree/covalent-echarts-tree.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\n ITdSeriesTooltip,\n TdMarkPointSymbol,\n ITdLabel,\n ITdLineStyle,\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-doc/public/en/option.html#series-tree\n *\n */\n\n/**\n * LR - from left to right\n * RL - from right to left\n * TB - from top to bottom\n * BT - from bottom to top\n */\nexport type TdTreeOrient = 'LR' | 'RL' | 'TB' | 'BT';\n\nexport type TdTreeLayout = 'orthogonal' | 'radial';\n\nexport interface ITdTreeEmphasisLineStyle extends ITdShadow {\n color?: any;\n width?: number;\n curveness?: number;\n}\n\nexport interface ITdTreeEmphasis extends ITdEmphasis {\n lineStyle: ITdTreeEmphasisLineStyle;\n}\n\nexport interface ITdTreeLeaves {\n label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n emphasis: ITdEmphasis;\n}\n\ninterface ITdTreeSeries 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 layout?: TdTreeLayout;\n orient?: TdTreeOrient;\n symbol?: TdMarkPointSymbol | string; // string added for custom SVG, URL or dataURI\n symbolSize?: number;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n roam?: boolean | string;\n expandAndCollapse?: boolean;\n initialTreeDepth?: number;\n itemStyle?: ITdItemStyle;\n label?: ITdLabel;\n lineStyle?: ITdLineStyle;\n leaves?: ITdTreeLeaves;\n emphasis?: ITdTreeEmphasis;\n data: any[];\n}\n\n@Component({\n selector: 'td-chart-series[td-tree]',\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(() => TdChartSeriesTreeComponent),\n },\n ],\n})\nexport class TdChartSeriesTreeComponent extends TdSeriesDirective implements ITdTreeSeries {\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() layout: TdTreeLayout;\n @Input() orient: TdTreeOrient;\n @Input() symbol: TdMarkPointSymbol | string; // string added for custom SVG, URL or dataURI\n @Input() symbolSize: number; // string added for custom SVG, URL or dataURI\n @Input() symbolRotate: number;\n @Input() symbolKeepAspect: boolean;\n @Input() roam: boolean | string;\n @Input() expandAndCollapse: boolean;\n @Input() initialTreeDepth: number;\n @Input() itemStyle: ITdItemStyle;\n @Input() label: ITdLabel;\n @Input() lineStyle: ITdLineStyle;\n @Input() leaves: ITdTreeLeaves;\n @Input() emphasis: ITdTreeEmphasis;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('tree', _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 layout: this.layout,\n orient: this.orient,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n roam: this.roam,\n expandAndCollapse: this.expandAndCollapse,\n initialTreeDepth: this.initialTreeDepth,\n itemStyle: this.itemStyle,\n label: this.label,\n lineStyle: this.lineStyle,\n leaves: this.leaves,\n emphasis: this.emphasis,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesTreeComponent } from './tree.component';\n\nexport const TREE_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesTreeComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TREE_MODULE_COMPONENTS],\n exports: [TREE_MODULE_COMPONENTS],\n})\nexport class CovalentTreeEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAsGa,0BAA2B,SAAQ,iBAAiB;IAwB/D,YAAY,eAAsC;QAChD,KAAK,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;KAChC;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,IA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,EAAC,gCAAgC,EAAC;qBAC1D;iBACF;aACF;wEAEU,MAAM;kBAAd,KAAK;YACG,CAAC;kBAAT,KAAK;YACG,IAAI;kBAAZ,KAAK;YACG,GAAG;kBAAX,KAAK;YACG,KAAK;kBAAb,KAAK;YACG,MAAM;kBAAd,KAAK;YACG,KAAK;kBAAb,KAAK;YACG,MAAM;kBAAd,KAAK;YACG,MAAM;kBAAd,KAAK;YACG,MAAM;kBAAd,KAAK;YACG,MAAM;kBAAd,KAAK;YACG,UAAU;kBAAlB,KAAK;YACG,YAAY;kBAApB,KAAK;YACG,gBAAgB;kBAAxB,KAAK;YACG,IAAI;kBAAZ,KAAK;YACG,iBAAiB;kBAAzB,KAAK;YACG,gBAAgB;kBAAxB,KAAK;YACG,SAAS;kBAAjB,KAAK;YACG,KAAK;kBAAb,KAAK;YACG,SAAS;kBAAjB,KAAK;YACG,MAAM;kBAAd,KAAK;YACG,QAAQ;kBAAhB,KAAK;;;MCvHK,sBAAsB,GAAgB,CAAC,0BAA0B,EAAE;MAOnE,yBAAyB;;wIAAzB,yBAAyB;6HAAzB,yBAAyB;iIAJ3B,CAAC,YAAY,CAAC;uFAIZ,yBAAyB;cALrC,QAAQ;eAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,sBAAsB,CAAC;gBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;aAClC;;wFACY,yBAAyB,mBAPc,0BAA0B,aAGlE,YAAY,aAH4B,0BAA0B;;ACL9E;;;;;;"}
1
+ {"version":3,"file":"covalent-echarts-tree.mjs","sources":["../../../../libs/angular-echarts/tree/src/tree.component.ts","../../../../libs/angular-echarts/tree/src/tree.module.ts","../../../../libs/angular-echarts/tree/src/covalent-echarts-tree.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\n TdMarkPointSymbol,\n ITdLabel,\n ITdLineStyle,\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-doc/public/en/option.html#series-tree\n *\n */\n\n/**\n * LR - from left to right\n * RL - from right to left\n * TB - from top to bottom\n * BT - from bottom to top\n */\nexport type TdTreeOrient = 'LR' | 'RL' | 'TB' | 'BT';\n\nexport type TdTreeLayout = 'orthogonal' | 'radial';\n\nexport interface ITdTreeEmphasisLineStyle extends ITdShadow {\n color?: any;\n width?: number;\n curveness?: number;\n}\n\nexport interface ITdTreeEmphasis extends ITdEmphasis {\n lineStyle: ITdTreeEmphasisLineStyle;\n}\n\nexport interface ITdTreeLeaves {\n label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n emphasis?: ITdEmphasis;\n}\n\ninterface ITdTreeSeries 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 layout?: TdTreeLayout;\n orient?: TdTreeOrient;\n symbol?: TdMarkPointSymbol | string; // string added for custom SVG, URL or dataURI\n symbolSize?: number;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n roam?: boolean | string;\n expandAndCollapse?: boolean;\n initialTreeDepth?: number;\n itemStyle?: ITdItemStyle;\n label?: ITdLabel;\n lineStyle?: ITdLineStyle;\n leaves?: ITdTreeLeaves;\n emphasis?: ITdTreeEmphasis;\n data?: any[];\n}\n\n@Component({\n selector: 'td-chart-series[td-tree]',\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(() => TdChartSeriesTreeComponent),\n },\n ],\n})\nexport class TdChartSeriesTreeComponent\n extends TdSeriesDirective\n implements ITdTreeSeries\n{\n @Input() zlevel?: number;\n @Input() z?: number;\n @Input() left?: string | number;\n @Input() top?: string | number;\n @Input() right?: string | number;\n @Input() bottom?: string | number;\n @Input() width?: string | number;\n @Input() height?: string | number;\n @Input() layout?: TdTreeLayout;\n @Input() orient?: TdTreeOrient;\n @Input() symbol?: TdMarkPointSymbol | string; // string added for custom SVG, URL or dataURI\n @Input() symbolSize?: number; // string added for custom SVG, URL or dataURI\n @Input() symbolRotate?: number;\n @Input() symbolKeepAspect?: boolean;\n @Input() roam?: boolean | string;\n @Input() expandAndCollapse?: boolean;\n @Input() initialTreeDepth?: number;\n @Input() itemStyle?: ITdItemStyle;\n @Input() label?: ITdLabel;\n @Input() lineStyle?: ITdLineStyle;\n @Input() leaves?: ITdTreeLeaves;\n @Input() emphasis?: ITdTreeEmphasis;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('tree', _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 layout: this.layout,\n orient: this.orient,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n roam: this.roam,\n expandAndCollapse: this.expandAndCollapse,\n initialTreeDepth: this.initialTreeDepth,\n itemStyle: this.itemStyle,\n label: this.label,\n lineStyle: this.lineStyle,\n leaves: this.leaves,\n emphasis: this.emphasis,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesTreeComponent } from './tree.component';\n\nexport const TREE_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesTreeComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TREE_MODULE_COMPONENTS],\n exports: [TREE_MODULE_COMPONENTS],\n})\nexport class CovalentTreeEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MA0Ga,0BACX,SAAQ,iBAAiB;IA0BzB,YAAY,eAAsC;QAChD,KAAK,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;KAChC;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,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;YACzC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;SACxB,CAAC;KACH;;uHAxDU,0BAA0B;2GAA1B,0BAA0B,66BAP1B;QACT;YACE,OAAO,EAAE,iBAAiB;YAC1B,WAAW,EAAE,UAAU,CAAC,MAAM,0BAA0B,CAAC;SAC1D;KACF,iDAxBS,EAAE;2FA0BD,0BAA0B;kBA5BtC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C,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,sBAAsB,CAAC;oBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;iBAClC;;;ACXD;;;;;;"}
@@ -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-treemap", ""];
8
7
  class TdChartSeriesTreemapComponent extends TdSeriesDirective {
9
8
  constructor(_optionsService) {
10
9
  super('treemap', _optionsService);
@@ -44,127 +43,128 @@ class TdChartSeriesTreemapComponent extends TdSeriesDirective {
44
43
  };
45
44
  }
46
45
  }
47
- /** @nocollapse */ /** @nocollapse */ TdChartSeriesTreemapComponent.ɵfac = function TdChartSeriesTreemapComponent_Factory(t) { return new (t || TdChartSeriesTreemapComponent)(i0.ɵɵdirectiveInject(i1.TdChartOptionsService)); };
48
- /** @nocollapse */ /** @nocollapse */ TdChartSeriesTreemapComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdChartSeriesTreemapComponent, selectors: [["td-chart-series", "td-treemap", ""]], inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", zlevel: "zlevel", z: "z", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height", squareRatio: "squareRatio", leafDepth: "leafDepth", drillDownIcon: "drillDownIcon", roam: "roam", nodeClick: "nodeClick", zoomToNodeRatio: "zoomToNodeRatio", levels: "levels", silent: "silent", visualDimension: "visualDimension", visualMin: "visualMin", visualMax: "visualMax", colorAlpha: "colorAlpha", colorSaturation: "colorSaturation", colorMappingBy: "colorMappingBy", visibleMin: "visibleMin", childrenVisibleMin: "childrenVisibleMin", itemStyle: "itemStyle", label: "label", upperLabel: "upperLabel", breadcrumb: "breadcrumb", emphasis: "emphasis" }, features: [i0.ɵɵProvidersFeature([
49
- {
50
- provide: TdSeriesDirective,
51
- useExisting: forwardRef((() => TdChartSeriesTreemapComponent)),
52
- },
53
- ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 0, vars: 0, template: function TdChartSeriesTreemapComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
54
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartSeriesTreemapComponent, [{
55
- type: Component,
56
- args: [{
57
- selector: 'td-chart-series[td-treemap]',
58
- template: '',
59
- changeDetection: ChangeDetectionStrategy.OnPush,
60
- inputs: [
61
- 'config',
62
- 'id',
63
- 'name',
64
- 'color',
65
- 'data',
66
- 'animation',
67
- 'animationThreshold',
68
- 'animationDuration',
69
- 'animationEasing',
70
- 'animationDelay',
71
- 'animationDurationUpdate',
72
- 'animationEasingUpdate',
73
- 'animationDelayUpdate',
74
- 'tooltip',
75
- ],
76
- providers: [
77
- {
78
- provide: TdSeriesDirective,
79
- useExisting: forwardRef((() => TdChartSeriesTreemapComponent)),
80
- },
81
- ],
82
- }]
83
- }], function () { return [{ type: i1.TdChartOptionsService }]; }, { config: [{
84
- type: Input
85
- }], id: [{
86
- type: Input
87
- }], name: [{
88
- type: Input
89
- }], data: [{
90
- type: Input
91
- }], zlevel: [{
92
- type: Input
93
- }], z: [{
94
- type: Input
95
- }], left: [{
96
- type: Input
97
- }], top: [{
98
- type: Input
99
- }], right: [{
100
- type: Input
101
- }], bottom: [{
102
- type: Input
103
- }], width: [{
104
- type: Input
105
- }], height: [{
106
- type: Input
107
- }], squareRatio: [{
108
- type: Input
109
- }], leafDepth: [{
110
- type: Input
111
- }], drillDownIcon: [{
112
- type: Input
113
- }], roam: [{
114
- type: Input
115
- }], nodeClick: [{
116
- type: Input
117
- }], zoomToNodeRatio: [{
118
- type: Input
119
- }], levels: [{
120
- type: Input
121
- }], silent: [{
122
- type: Input
123
- }], visualDimension: [{
124
- type: Input
125
- }], visualMin: [{
126
- type: Input
127
- }], visualMax: [{
128
- type: Input
129
- }], colorAlpha: [{
130
- type: Input
131
- }], colorSaturation: [{
132
- type: Input
133
- }], colorMappingBy: [{
134
- type: Input
135
- }], visibleMin: [{
136
- type: Input
137
- }], childrenVisibleMin: [{
138
- type: Input
139
- }], itemStyle: [{
140
- type: Input
141
- }], label: [{
142
- type: Input
143
- }], upperLabel: [{
144
- type: Input
145
- }], breadcrumb: [{
146
- type: Input
147
- }], emphasis: [{
148
- type: Input
149
- }], tooltip: [{
150
- type: Input
151
- }] }); })();
46
+ TdChartSeriesTreemapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesTreemapComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
47
+ TdChartSeriesTreemapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartSeriesTreemapComponent, selector: "td-chart-series[td-treemap]", inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", zlevel: "zlevel", z: "z", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height", squareRatio: "squareRatio", leafDepth: "leafDepth", drillDownIcon: "drillDownIcon", roam: "roam", nodeClick: "nodeClick", zoomToNodeRatio: "zoomToNodeRatio", levels: "levels", silent: "silent", visualDimension: "visualDimension", visualMin: "visualMin", visualMax: "visualMax", colorAlpha: "colorAlpha", colorSaturation: "colorSaturation", colorMappingBy: "colorMappingBy", visibleMin: "visibleMin", childrenVisibleMin: "childrenVisibleMin", itemStyle: "itemStyle", label: "label", upperLabel: "upperLabel", breadcrumb: "breadcrumb", emphasis: "emphasis" }, providers: [
48
+ {
49
+ provide: TdSeriesDirective,
50
+ useExisting: forwardRef(() => TdChartSeriesTreemapComponent),
51
+ },
52
+ ], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesTreemapComponent, decorators: [{
54
+ type: Component,
55
+ args: [{
56
+ selector: 'td-chart-series[td-treemap]',
57
+ template: '',
58
+ changeDetection: ChangeDetectionStrategy.OnPush,
59
+ inputs: [
60
+ 'config',
61
+ 'id',
62
+ 'name',
63
+ 'color',
64
+ 'data',
65
+ 'animation',
66
+ 'animationThreshold',
67
+ 'animationDuration',
68
+ 'animationEasing',
69
+ 'animationDelay',
70
+ 'animationDurationUpdate',
71
+ 'animationEasingUpdate',
72
+ 'animationDelayUpdate',
73
+ 'tooltip',
74
+ ],
75
+ providers: [
76
+ {
77
+ provide: TdSeriesDirective,
78
+ useExisting: forwardRef(() => TdChartSeriesTreemapComponent),
79
+ },
80
+ ],
81
+ }]
82
+ }], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { config: [{
83
+ type: Input
84
+ }], id: [{
85
+ type: Input
86
+ }], name: [{
87
+ type: Input
88
+ }], data: [{
89
+ type: Input
90
+ }], zlevel: [{
91
+ type: Input
92
+ }], z: [{
93
+ type: Input
94
+ }], left: [{
95
+ type: Input
96
+ }], top: [{
97
+ type: Input
98
+ }], right: [{
99
+ type: Input
100
+ }], bottom: [{
101
+ type: Input
102
+ }], width: [{
103
+ type: Input
104
+ }], height: [{
105
+ type: Input
106
+ }], squareRatio: [{
107
+ type: Input
108
+ }], leafDepth: [{
109
+ type: Input
110
+ }], drillDownIcon: [{
111
+ type: Input
112
+ }], roam: [{
113
+ type: Input
114
+ }], nodeClick: [{
115
+ type: Input
116
+ }], zoomToNodeRatio: [{
117
+ type: Input
118
+ }], levels: [{
119
+ type: Input
120
+ }], silent: [{
121
+ type: Input
122
+ }], visualDimension: [{
123
+ type: Input
124
+ }], visualMin: [{
125
+ type: Input
126
+ }], visualMax: [{
127
+ type: Input
128
+ }], colorAlpha: [{
129
+ type: Input
130
+ }], colorSaturation: [{
131
+ type: Input
132
+ }], colorMappingBy: [{
133
+ type: Input
134
+ }], visibleMin: [{
135
+ type: Input
136
+ }], childrenVisibleMin: [{
137
+ type: Input
138
+ }], itemStyle: [{
139
+ type: Input
140
+ }], label: [{
141
+ type: Input
142
+ }], upperLabel: [{
143
+ type: Input
144
+ }], breadcrumb: [{
145
+ type: Input
146
+ }], emphasis: [{
147
+ type: Input
148
+ }], tooltip: [{
149
+ type: Input
150
+ }] } });
152
151
 
153
- const TREEMAP_MODULE_COMPONENTS = [TdChartSeriesTreemapComponent];
152
+ const TREEMAP_MODULE_COMPONENTS = [
153
+ TdChartSeriesTreemapComponent,
154
+ ];
154
155
  class CovalentTreemapEchartsModule {
155
156
  }
156
- /** @nocollapse */ /** @nocollapse */ CovalentTreemapEchartsModule.ɵfac = function CovalentTreemapEchartsModule_Factory(t) { return new (t || CovalentTreemapEchartsModule)(); };
157
- /** @nocollapse */ /** @nocollapse */ CovalentTreemapEchartsModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CovalentTreemapEchartsModule });
158
- /** @nocollapse */ /** @nocollapse */ CovalentTreemapEchartsModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [[CommonModule]] });
159
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentTreemapEchartsModule, [{
160
- type: NgModule,
161
- args: [{
162
- imports: [CommonModule],
163
- declarations: [TREEMAP_MODULE_COMPONENTS],
164
- exports: [TREEMAP_MODULE_COMPONENTS],
165
- }]
166
- }], null, null); })();
167
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentTreemapEchartsModule, { declarations: [TdChartSeriesTreemapComponent], imports: [CommonModule], exports: [TdChartSeriesTreemapComponent] }); })();
157
+ CovalentTreemapEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreemapEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
158
+ CovalentTreemapEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreemapEchartsModule, declarations: [TdChartSeriesTreemapComponent], imports: [CommonModule], exports: [TdChartSeriesTreemapComponent] });
159
+ CovalentTreemapEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreemapEchartsModule, imports: [[CommonModule]] });
160
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreemapEchartsModule, decorators: [{
161
+ type: NgModule,
162
+ args: [{
163
+ imports: [CommonModule],
164
+ declarations: [TREEMAP_MODULE_COMPONENTS],
165
+ exports: [TREEMAP_MODULE_COMPONENTS],
166
+ }]
167
+ }] });
168
168
 
169
169
  /**
170
170
  * Generated bundle index. Do not edit.