@covalent/echarts 3.1.2 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/bar/bar.module.d.ts +0 -1
  2. package/bar/covalent-echarts-bar.metadata.json +1 -1
  3. package/base/base.module.d.ts +0 -1
  4. package/base/covalent-echarts-base.metadata.json +1 -1
  5. package/bundles/covalent-echarts-bar.umd.js +4 -4
  6. package/bundles/covalent-echarts-bar.umd.js.map +1 -1
  7. package/bundles/covalent-echarts-bar.umd.min.js +2 -2
  8. package/bundles/covalent-echarts-bar.umd.min.js.map +1 -1
  9. package/bundles/covalent-echarts-base.umd.js +4 -4
  10. package/bundles/covalent-echarts-base.umd.js.map +1 -1
  11. package/bundles/covalent-echarts-base.umd.min.js +2 -2
  12. package/bundles/covalent-echarts-base.umd.min.js.map +1 -1
  13. package/bundles/covalent-echarts-graph.umd.js +4 -4
  14. package/bundles/covalent-echarts-graph.umd.js.map +1 -1
  15. package/bundles/covalent-echarts-graph.umd.min.js +2 -2
  16. package/bundles/covalent-echarts-graph.umd.min.js.map +1 -1
  17. package/bundles/covalent-echarts-line.umd.js +4 -4
  18. package/bundles/covalent-echarts-line.umd.js.map +1 -1
  19. package/bundles/covalent-echarts-line.umd.min.js +2 -2
  20. package/bundles/covalent-echarts-line.umd.min.js.map +1 -1
  21. package/bundles/covalent-echarts-map.umd.js +4 -4
  22. package/bundles/covalent-echarts-map.umd.js.map +1 -1
  23. package/bundles/covalent-echarts-map.umd.min.js +2 -2
  24. package/bundles/covalent-echarts-map.umd.min.js.map +1 -1
  25. package/bundles/covalent-echarts-pie.umd.js +4 -4
  26. package/bundles/covalent-echarts-pie.umd.js.map +1 -1
  27. package/bundles/covalent-echarts-pie.umd.min.js +2 -2
  28. package/bundles/covalent-echarts-pie.umd.min.js.map +1 -1
  29. package/bundles/covalent-echarts-sankey.umd.js +4 -4
  30. package/bundles/covalent-echarts-sankey.umd.js.map +1 -1
  31. package/bundles/covalent-echarts-sankey.umd.min.js +2 -2
  32. package/bundles/covalent-echarts-sankey.umd.min.js.map +1 -1
  33. package/bundles/covalent-echarts-scatter.umd.js +4 -4
  34. package/bundles/covalent-echarts-scatter.umd.js.map +1 -1
  35. package/bundles/covalent-echarts-scatter.umd.min.js +2 -2
  36. package/bundles/covalent-echarts-scatter.umd.min.js.map +1 -1
  37. package/bundles/covalent-echarts-toolbox.umd.js +4 -4
  38. package/bundles/covalent-echarts-toolbox.umd.js.map +1 -1
  39. package/bundles/covalent-echarts-toolbox.umd.min.js +1 -1
  40. package/bundles/covalent-echarts-toolbox.umd.min.js.map +1 -1
  41. package/bundles/covalent-echarts-tooltip.umd.js +4 -4
  42. package/bundles/covalent-echarts-tooltip.umd.js.map +1 -1
  43. package/bundles/covalent-echarts-tooltip.umd.min.js +1 -1
  44. package/bundles/covalent-echarts-tooltip.umd.min.js.map +1 -1
  45. package/bundles/covalent-echarts-tree.umd.js +4 -4
  46. package/bundles/covalent-echarts-tree.umd.js.map +1 -1
  47. package/bundles/covalent-echarts-tree.umd.min.js +2 -2
  48. package/bundles/covalent-echarts-tree.umd.min.js.map +1 -1
  49. package/bundles/covalent-echarts-treemap.umd.js +4 -4
  50. package/bundles/covalent-echarts-treemap.umd.js.map +1 -1
  51. package/bundles/covalent-echarts-treemap.umd.min.js +2 -2
  52. package/bundles/covalent-echarts-treemap.umd.min.js.map +1 -1
  53. package/bundles/covalent-echarts-wordcloud.umd.js +4 -4
  54. package/bundles/covalent-echarts-wordcloud.umd.js.map +1 -1
  55. package/bundles/covalent-echarts-wordcloud.umd.min.js +2 -2
  56. package/bundles/covalent-echarts-wordcloud.umd.min.js.map +1 -1
  57. package/esm2015/bar/bar.module.js +1 -2
  58. package/esm2015/base/base.module.js +1 -2
  59. package/esm2015/base/chart.component.js +1 -2
  60. package/esm2015/base/utils/echarts.js +1 -2
  61. package/esm2015/graph/graph.module.js +1 -2
  62. package/esm2015/line/line.module.js +1 -2
  63. package/esm2015/map/map.module.js +1 -2
  64. package/esm2015/pie/pie.module.js +1 -2
  65. package/esm2015/sankey/sankey.module.js +1 -2
  66. package/esm2015/scatter/scatter.module.js +1 -2
  67. package/esm2015/toolbox/toolbox.module.js +1 -2
  68. package/esm2015/tooltip/tooltip.module.js +1 -2
  69. package/esm2015/tree/tree.module.js +1 -2
  70. package/esm2015/treemap/treemap.module.js +1 -2
  71. package/esm2015/wordcloud/wordcloud.module.js +1 -2
  72. package/fesm2015/covalent-echarts-bar.js +0 -1
  73. package/fesm2015/covalent-echarts-bar.js.map +1 -1
  74. package/fesm2015/covalent-echarts-base.js +4 -6
  75. package/fesm2015/covalent-echarts-base.js.map +1 -1
  76. package/fesm2015/covalent-echarts-graph.js +0 -1
  77. package/fesm2015/covalent-echarts-graph.js.map +1 -1
  78. package/fesm2015/covalent-echarts-line.js +0 -1
  79. package/fesm2015/covalent-echarts-line.js.map +1 -1
  80. package/fesm2015/covalent-echarts-map.js +0 -1
  81. package/fesm2015/covalent-echarts-map.js.map +1 -1
  82. package/fesm2015/covalent-echarts-pie.js +0 -1
  83. package/fesm2015/covalent-echarts-pie.js.map +1 -1
  84. package/fesm2015/covalent-echarts-sankey.js +0 -1
  85. package/fesm2015/covalent-echarts-sankey.js.map +1 -1
  86. package/fesm2015/covalent-echarts-scatter.js +0 -1
  87. package/fesm2015/covalent-echarts-scatter.js.map +1 -1
  88. package/fesm2015/covalent-echarts-toolbox.js +0 -1
  89. package/fesm2015/covalent-echarts-toolbox.js.map +1 -1
  90. package/fesm2015/covalent-echarts-tooltip.js +0 -1
  91. package/fesm2015/covalent-echarts-tooltip.js.map +1 -1
  92. package/fesm2015/covalent-echarts-tree.js +0 -1
  93. package/fesm2015/covalent-echarts-tree.js.map +1 -1
  94. package/fesm2015/covalent-echarts-treemap.js +0 -1
  95. package/fesm2015/covalent-echarts-treemap.js.map +1 -1
  96. package/fesm2015/covalent-echarts-wordcloud.js +0 -1
  97. package/fesm2015/covalent-echarts-wordcloud.js.map +1 -1
  98. package/graph/covalent-echarts-graph.metadata.json +1 -1
  99. package/graph/graph.module.d.ts +0 -1
  100. package/line/covalent-echarts-line.metadata.json +1 -1
  101. package/line/line.module.d.ts +0 -1
  102. package/map/covalent-echarts-map.metadata.json +1 -1
  103. package/map/map.module.d.ts +0 -1
  104. package/package.json +2 -2
  105. package/pie/covalent-echarts-pie.metadata.json +1 -1
  106. package/pie/pie.module.d.ts +0 -1
  107. package/sankey/covalent-echarts-sankey.metadata.json +1 -1
  108. package/sankey/sankey.module.d.ts +0 -1
  109. package/scatter/covalent-echarts-scatter.metadata.json +1 -1
  110. package/scatter/scatter.module.d.ts +0 -1
  111. package/toolbox/covalent-echarts-toolbox.metadata.json +1 -1
  112. package/toolbox/toolbox.module.d.ts +0 -1
  113. package/tooltip/covalent-echarts-tooltip.metadata.json +1 -1
  114. package/tooltip/tooltip.module.d.ts +0 -1
  115. package/tree/covalent-echarts-tree.metadata.json +1 -1
  116. package/tree/tree.module.d.ts +0 -1
  117. package/treemap/covalent-echarts-treemap.metadata.json +1 -1
  118. package/treemap/treemap.module.d.ts +0 -1
  119. package/wordcloud/covalent-echarts-wordcloud.metadata.json +1 -1
  120. package/wordcloud/wordcloud.module.d.ts +0 -1
@@ -1,6 +1,5 @@
1
1
  import { Component, ChangeDetectionStrategy, forwardRef, Input, NgModule } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import 'echarts/lib/chart/graph';
4
3
  import { TdSeriesDirective, TdChartOptionsService } from '@covalent/echarts/base';
5
4
 
6
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts-graph.js","sources":["../../../../src/platform/echarts/graph/graph.component.ts","../../../../src/platform/echarts/graph/graph.module.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n TdCoordinateSystem,\n ITdItemStyle,\n ITdEmphasis,\n TdSeriesLayoutBy,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdSeries,\n ITdLabel,\n TdSeriesDirective,\n TdMarkPointSymbol,\n ITdLineStyle,\n ITdEdgeLabel,\n} from '@covalent/echarts/base';\n\nexport interface ITdCategories {\n name?: string;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[];\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset: any[];\n itemStyle: ITdItemStyle;\n label: ITdLabel;\n emphasis: ITdEmphasis;\n}\n\nexport interface ITdGraphForce {\n initLayout?: string;\n repulsion?: any | number;\n gravity?: number;\n edgeLength?: any | number;\n layoutAnimation?: boolean;\n}\n\nexport type TdGraphLayout = 'none' | 'circular' | 'force';\n\nexport interface ITdGraphSeries extends ITdSeries {\n legendHoverLink?: boolean;\n coordinateSystem?: TdCoordinateSystem;\n xAxisIndex?: number;\n yAxisIndex?: number;\n polarIndex?: number;\n calendarIndex?: number;\n geoIndex?: number;\n hoverAnimation?: boolean;\n circular?: object;\n force?: ITdGraphForce;\n layout?: TdGraphLayout;\n nodeScaleRatio?: boolean;\n draggable?: boolean;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[] | Function;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n focusNodeAdjacency: boolean;\n edgeSymbol: any[] | string;\n edgeSymbolSize: number;\n cursor: string;\n roam?: boolean;\n expandAndCollapse?: boolean;\n initialTreeDepth?: number;\n itemStyle?: ITdItemStyle;\n lineStyle?: ITdLineStyle;\n label?: ITdLabel;\n edgeLabel?: ITdEdgeLabel;\n emphasis?: ITdEmphasis;\n categories: ITdCategories;\n data?: any[];\n nodes: any[];\n links: any[];\n edges: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n zlevel: number;\n z?: number;\n silent?: boolean;\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 animation?: boolean;\n animationThreshold?: number;\n animationDuration?: number | Function;\n animationEasing?: string;\n animationDelay?: number | Function;\n animationDurationUpdate?: number | Function;\n animationEasingUpdate?: string;\n animationDelayUpdate?: number | Function;\n}\n\n@Component({\n selector: 'td-chart-series[td-graph]',\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(() => TdChartSeriesGraphComponent),\n },\n ],\n})\nexport class TdChartSeriesGraphComponent extends TdSeriesDirective implements ITdGraphSeries {\n @Input() legendHoverLink: boolean;\n @Input() coordinateSystem: TdCoordinateSystem;\n @Input() xAxisIndex: number;\n @Input() yAxisIndex: number;\n @Input() polarIndex: number;\n @Input() calendarIndex: number;\n @Input() geoIndex: number;\n @Input() hoverAnimation: boolean;\n @Input() circular: object;\n @Input() force: ITdGraphForce;\n @Input() layout: TdGraphLayout;\n @Input() nodeScaleRatio: boolean;\n @Input() draggable: boolean;\n @Input() symbol: TdMarkPointSymbol | string;\n @Input() symbolSize: number | any[] | Function;\n @Input() symbolRotate: number;\n @Input() symbolKeepAspect: boolean;\n @Input() symbolOffset: any[];\n @Input() focusNodeAdjacency: boolean;\n @Input() edgeSymbol: any[] | string;\n @Input() edgeSymbolSize: number;\n @Input() cursor: string;\n @Input() roam: boolean;\n @Input() initialTreeDepth: number;\n @Input() itemStyle: ITdItemStyle;\n @Input() lineStyle: ITdLineStyle;\n @Input() label: ITdLabel;\n @Input() edgeLabel: ITdEdgeLabel;\n @Input() emphasis: ITdEmphasis;\n @Input() categories: ITdCategories;\n @Input() nodes: any[];\n @Input() links: any[];\n @Input() edges: any[];\n @Input() markPoint: ITdMarkPoint;\n @Input() markLine: ITdMarkLine;\n @Input() markArea: ITdMarkArea;\n @Input() zlevel: number;\n @Input() z: number;\n @Input() silent: boolean;\n @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\n constructor(_optionsService: TdChartOptionsService) {\n super('graph', _optionsService);\n }\n\n getConfig(): any {\n return {\n legendHoverLink: this.legendHoverLink,\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n polarIndex: this.polarIndex,\n calendarIndex: this.calendarIndex,\n geoIndex: this.geoIndex,\n hoverAnimation: this.hoverAnimation,\n circular: this.circular,\n force: this.force,\n layout: this.layout,\n nodeScaleRatio: this.nodeScaleRatio,\n draggable: this.draggable,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n focusNodeAdjacency: this.focusNodeAdjacency,\n edgeSymbol: this.edgeSymbol,\n edgeSymbolSize: this.edgeSymbolSize,\n cursor: this.cursor,\n roam: this.roam,\n itemStyle: this.itemStyle,\n lineStyle: this.lineStyle,\n label: this.label,\n edgeLabel: this.edgeLabel,\n emphasis: this.emphasis,\n categories: this.categories,\n nodes: this.nodes,\n links: this.links,\n edges: this.edges,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n silent: this.silent,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n width: this.width,\n height: this.height,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport 'echarts/lib/chart/graph';\n\nimport { TdChartSeriesGraphComponent } from './graph.component';\n\nexport const GRAPH_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesGraphComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [GRAPH_MODULE_COMPONENTS],\n exports: [GRAPH_MODULE_COMPONENTS],\n})\nexport class CovalentGraphEchartsModule {}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,"file":"covalent-echarts-graph.js","sources":["../../../../src/platform/echarts/graph/graph.component.ts","../../../../src/platform/echarts/graph/graph.module.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n TdCoordinateSystem,\n ITdItemStyle,\n ITdEmphasis,\n TdSeriesLayoutBy,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdSeries,\n ITdLabel,\n TdSeriesDirective,\n TdMarkPointSymbol,\n ITdLineStyle,\n ITdEdgeLabel,\n} from '@covalent/echarts/base';\n\nexport interface ITdCategories {\n name?: string;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[];\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset: any[];\n itemStyle: ITdItemStyle;\n label: ITdLabel;\n emphasis: ITdEmphasis;\n}\n\nexport interface ITdGraphForce {\n initLayout?: string;\n repulsion?: any | number;\n gravity?: number;\n edgeLength?: any | number;\n layoutAnimation?: boolean;\n}\n\nexport type TdGraphLayout = 'none' | 'circular' | 'force';\n\nexport interface ITdGraphSeries extends ITdSeries {\n legendHoverLink?: boolean;\n coordinateSystem?: TdCoordinateSystem;\n xAxisIndex?: number;\n yAxisIndex?: number;\n polarIndex?: number;\n calendarIndex?: number;\n geoIndex?: number;\n hoverAnimation?: boolean;\n circular?: object;\n force?: ITdGraphForce;\n layout?: TdGraphLayout;\n nodeScaleRatio?: boolean;\n draggable?: boolean;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[] | Function;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n focusNodeAdjacency: boolean;\n edgeSymbol: any[] | string;\n edgeSymbolSize: number;\n cursor: string;\n roam?: boolean;\n expandAndCollapse?: boolean;\n initialTreeDepth?: number;\n itemStyle?: ITdItemStyle;\n lineStyle?: ITdLineStyle;\n label?: ITdLabel;\n edgeLabel?: ITdEdgeLabel;\n emphasis?: ITdEmphasis;\n categories: ITdCategories;\n data?: any[];\n nodes: any[];\n links: any[];\n edges: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n zlevel: number;\n z?: number;\n silent?: boolean;\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 animation?: boolean;\n animationThreshold?: number;\n animationDuration?: number | Function;\n animationEasing?: string;\n animationDelay?: number | Function;\n animationDurationUpdate?: number | Function;\n animationEasingUpdate?: string;\n animationDelayUpdate?: number | Function;\n}\n\n@Component({\n selector: 'td-chart-series[td-graph]',\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(() => TdChartSeriesGraphComponent),\n },\n ],\n})\nexport class TdChartSeriesGraphComponent extends TdSeriesDirective implements ITdGraphSeries {\n @Input() legendHoverLink: boolean;\n @Input() coordinateSystem: TdCoordinateSystem;\n @Input() xAxisIndex: number;\n @Input() yAxisIndex: number;\n @Input() polarIndex: number;\n @Input() calendarIndex: number;\n @Input() geoIndex: number;\n @Input() hoverAnimation: boolean;\n @Input() circular: object;\n @Input() force: ITdGraphForce;\n @Input() layout: TdGraphLayout;\n @Input() nodeScaleRatio: boolean;\n @Input() draggable: boolean;\n @Input() symbol: TdMarkPointSymbol | string;\n @Input() symbolSize: number | any[] | Function;\n @Input() symbolRotate: number;\n @Input() symbolKeepAspect: boolean;\n @Input() symbolOffset: any[];\n @Input() focusNodeAdjacency: boolean;\n @Input() edgeSymbol: any[] | string;\n @Input() edgeSymbolSize: number;\n @Input() cursor: string;\n @Input() roam: boolean;\n @Input() initialTreeDepth: number;\n @Input() itemStyle: ITdItemStyle;\n @Input() lineStyle: ITdLineStyle;\n @Input() label: ITdLabel;\n @Input() edgeLabel: ITdEdgeLabel;\n @Input() emphasis: ITdEmphasis;\n @Input() categories: ITdCategories;\n @Input() nodes: any[];\n @Input() links: any[];\n @Input() edges: any[];\n @Input() markPoint: ITdMarkPoint;\n @Input() markLine: ITdMarkLine;\n @Input() markArea: ITdMarkArea;\n @Input() zlevel: number;\n @Input() z: number;\n @Input() silent: boolean;\n @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\n constructor(_optionsService: TdChartOptionsService) {\n super('graph', _optionsService);\n }\n\n getConfig(): any {\n return {\n legendHoverLink: this.legendHoverLink,\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n polarIndex: this.polarIndex,\n calendarIndex: this.calendarIndex,\n geoIndex: this.geoIndex,\n hoverAnimation: this.hoverAnimation,\n circular: this.circular,\n force: this.force,\n layout: this.layout,\n nodeScaleRatio: this.nodeScaleRatio,\n draggable: this.draggable,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n focusNodeAdjacency: this.focusNodeAdjacency,\n edgeSymbol: this.edgeSymbol,\n edgeSymbolSize: this.edgeSymbolSize,\n cursor: this.cursor,\n roam: this.roam,\n itemStyle: this.itemStyle,\n lineStyle: this.lineStyle,\n label: this.label,\n edgeLabel: this.edgeLabel,\n emphasis: this.emphasis,\n categories: this.categories,\n nodes: this.nodes,\n links: this.links,\n edges: this.edges,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n silent: this.silent,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n width: this.width,\n height: this.height,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TdChartSeriesGraphComponent } from './graph.component';\n\nexport const GRAPH_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesGraphComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [GRAPH_MODULE_COMPONENTS],\n exports: [GRAPH_MODULE_COMPONENTS],\n})\nexport class CovalentGraphEchartsModule {}\n"],"names":[],"mappings":";;;;;;;;;;;;4BA6BC;;;IATC,6BAAc;;IACd,+BAAoC;;IACpC,mCAA4B;;IAC5B,qCAAsB;;IACtB,yCAA2B;;IAC3B,qCAAoB;;IACpB,kCAAwB;;IACxB,8BAAgB;;IAChB,iCAAsB;;;;;4BASvB;;;IALC,mCAAoB;;IACpB,kCAAyB;;IACzB,gCAAiB;;IACjB,mCAA0B;;IAC1B,wCAA0B;;;;;6BA6D3B;;;IAvDC,yCAA0B;;IAC1B,0CAAsC;;IACtC,oCAAoB;;IACpB,oCAAoB;;IACpB,oCAAoB;;IACpB,uCAAuB;;IACvB,kCAAkB;;IAClB,wCAAyB;;IACzB,kCAAkB;;IAClB,+BAAsB;;IACtB,gCAAuB;;IACvB,wCAAyB;;IACzB,mCAAoB;;IACpB,gCAAoC;;IACpC,oCAAuC;;IACvC,sCAAsB;;IACtB,0CAA2B;;IAC3B,sCAAqB;;IACrB,4CAA4B;;IAC5B,oCAA2B;;IAC3B,wCAAuB;;IACvB,gCAAe;;IACf,8BAAe;;IACf,2CAA4B;;IAC5B,0CAA0B;;IAC1B,mCAAyB;;IACzB,mCAAyB;;IACzB,+BAAiB;;IACjB,mCAAyB;;IACzB,kCAAuB;;IACvB,oCAA0B;;IAC1B,8BAAa;;IACb,+BAAa;;IACb,+BAAa;;IACb,+BAAa;;IACb,mCAAyB;;IACzB,kCAAuB;;IACvB,kCAAuB;;IACvB,gCAAe;;IACf,2BAAW;;IACX,gCAAiB;;IACjB,8BAAsB;;IACtB,6BAAqB;;IACrB,+BAAuB;;IACvB,gCAAwB;;IACxB,+BAAuB;;IACvB,gCAA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GAAgB,CAAC,2BAA2B;MAOnE,0BAA0B;;;YALtC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,uBAAuB,CAAC;gBACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;aACnC;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,5 @@
1
1
  import { Component, ChangeDetectionStrategy, forwardRef, Input, NgModule } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import 'echarts/lib/chart/line';
4
3
  import { TdSeriesDirective, TdChartOptionsService } from '@covalent/echarts/base';
5
4
 
6
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts-line.js","sources":["../../../../src/platform/echarts/line/line.component.ts","../../../../src/platform/echarts/line/line.module.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n TdCoordinateSystem,\n TdMarkPointSymbol,\n ITdLabel,\n ITdItemStyle,\n ITdLineStyle,\n ITdAreaStyle,\n TdSeriesLayoutBy,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdEmphasis,\n ITdSeries,\n ITdShadow,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport type TdSampling = 'average' | 'max' | 'min' | 'sum';\n\nexport interface ITdLineSeries extends ITdSeries, ITdShadow {\n coordinateSystem?: TdCoordinateSystem;\n xAxisIndex?: number;\n yAxisIndex?: number;\n polarIndex?: number;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[] | Function;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n showSymbol?: boolean;\n showAllSymbol?: boolean | 'auto';\n hoverAnimation?: boolean;\n legendHoverLink?: boolean;\n stack?: string;\n cursor?: string;\n connectNulls?: boolean;\n clipOverflow?: boolean;\n step?: string | boolean;\n label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n lineStyle?: ITdLineStyle;\n width?: number;\n opacity?: number;\n areaStyle?: ITdAreaStyle;\n emphasis?: ITdEmphasis;\n smooth?: boolean | number;\n smoothMonotone?: string;\n sampling?: TdSampling;\n dimensions?: any[];\n encode?: any;\n seriesLayoutBy?: TdSeriesLayoutBy;\n datasetIndex?: number;\n data?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n zlevel?: number;\n z?: number;\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-line]',\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(() => TdChartSeriesLineComponent),\n },\n ],\n})\nexport class TdChartSeriesLineComponent extends TdSeriesDirective implements ITdLineSeries {\n @Input() coordinateSystem: TdCoordinateSystem;\n @Input() xAxisIndex: number;\n @Input() yAxisIndex: number;\n @Input() polarIndex: number;\n @Input() symbol: TdMarkPointSymbol | string;\n @Input() symbolSize: number | any[] | Function;\n @Input() symbolRotate: number;\n @Input() symbolKeepAspect: boolean;\n @Input() symbolOffset: any[];\n @Input() showSymbol: boolean;\n @Input() showAllSymbol: boolean;\n @Input() hoverAnimation: boolean;\n @Input() legendHoverLink: boolean;\n @Input() stack: string;\n @Input() cursor: string;\n @Input() connectNulls: boolean;\n @Input() clipOverflow: boolean;\n @Input() step: string | boolean;\n @Input() label: ITdLabel;\n @Input() itemStyle: ITdItemStyle;\n @Input() lineStyle: ITdLineStyle;\n @Input() areaStyle: ITdAreaStyle;\n @Input() emphasis: ITdEmphasis;\n @Input() smooth: boolean | number;\n @Input() smoothMonotone: string;\n @Input() sampling: TdSampling;\n @Input() dimensions: any[];\n @Input() encode: any;\n @Input() seriesLayoutBy: TdSeriesLayoutBy;\n @Input() datasetIndex: number;\n @Input() markPoint: ITdMarkPoint;\n @Input() markLine: ITdMarkLine;\n @Input() markArea: ITdMarkArea;\n @Input() zlevel: number;\n @Input() z: number;\n @Input() silent: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('line', _optionsService);\n }\n\n getConfig(): any {\n return {\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n polarIndex: this.polarIndex,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n showSymbol: this.showSymbol,\n showAllSymbol: this.showAllSymbol,\n hoverAnimation: this.hoverAnimation,\n legendHoverLink: this.legendHoverLink,\n stack: this.stack,\n cursor: this.cursor,\n connectNulls: this.connectNulls,\n clipOverflow: this.clipOverflow,\n step: this.step,\n label: this.label,\n itemStyle: this.itemStyle,\n lineStyle: this.lineStyle,\n areaStyle: this.areaStyle,\n emphasis: this.emphasis,\n smooth: this.smooth,\n smoothMonotone: this.smoothMonotone,\n sampling: this.sampling,\n dimensions: this.dimensions,\n encode: this.encode,\n seriesLayoutBy: this.seriesLayoutBy,\n datasetIndex: this.datasetIndex,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport 'echarts/lib/chart/line';\n\nimport { TdChartSeriesLineComponent } from './line.component';\n\nexport const LINE_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesLineComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [LINE_MODULE_COMPONENTS],\n exports: [LINE_MODULE_COMPONENTS],\n})\nexport class CovalentLineEchartsModule {}\n"],"names":[],"mappings":";;;;;;;;;;;;;4BA8DC;;;IAvCC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C,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,sBAAsB,CAAC;gBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;aAClC;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"covalent-echarts-line.js","sources":["../../../../src/platform/echarts/line/line.component.ts","../../../../src/platform/echarts/line/line.module.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n TdCoordinateSystem,\n TdMarkPointSymbol,\n ITdLabel,\n ITdItemStyle,\n ITdLineStyle,\n ITdAreaStyle,\n TdSeriesLayoutBy,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdEmphasis,\n ITdSeries,\n ITdShadow,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport type TdSampling = 'average' | 'max' | 'min' | 'sum';\n\nexport interface ITdLineSeries extends ITdSeries, ITdShadow {\n coordinateSystem?: TdCoordinateSystem;\n xAxisIndex?: number;\n yAxisIndex?: number;\n polarIndex?: number;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[] | Function;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n showSymbol?: boolean;\n showAllSymbol?: boolean | 'auto';\n hoverAnimation?: boolean;\n legendHoverLink?: boolean;\n stack?: string;\n cursor?: string;\n connectNulls?: boolean;\n clipOverflow?: boolean;\n step?: string | boolean;\n label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n lineStyle?: ITdLineStyle;\n width?: number;\n opacity?: number;\n areaStyle?: ITdAreaStyle;\n emphasis?: ITdEmphasis;\n smooth?: boolean | number;\n smoothMonotone?: string;\n sampling?: TdSampling;\n dimensions?: any[];\n encode?: any;\n seriesLayoutBy?: TdSeriesLayoutBy;\n datasetIndex?: number;\n data?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n zlevel?: number;\n z?: number;\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-line]',\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(() => TdChartSeriesLineComponent),\n },\n ],\n})\nexport class TdChartSeriesLineComponent extends TdSeriesDirective implements ITdLineSeries {\n @Input() coordinateSystem: TdCoordinateSystem;\n @Input() xAxisIndex: number;\n @Input() yAxisIndex: number;\n @Input() polarIndex: number;\n @Input() symbol: TdMarkPointSymbol | string;\n @Input() symbolSize: number | any[] | Function;\n @Input() symbolRotate: number;\n @Input() symbolKeepAspect: boolean;\n @Input() symbolOffset: any[];\n @Input() showSymbol: boolean;\n @Input() showAllSymbol: boolean;\n @Input() hoverAnimation: boolean;\n @Input() legendHoverLink: boolean;\n @Input() stack: string;\n @Input() cursor: string;\n @Input() connectNulls: boolean;\n @Input() clipOverflow: boolean;\n @Input() step: string | boolean;\n @Input() label: ITdLabel;\n @Input() itemStyle: ITdItemStyle;\n @Input() lineStyle: ITdLineStyle;\n @Input() areaStyle: ITdAreaStyle;\n @Input() emphasis: ITdEmphasis;\n @Input() smooth: boolean | number;\n @Input() smoothMonotone: string;\n @Input() sampling: TdSampling;\n @Input() dimensions: any[];\n @Input() encode: any;\n @Input() seriesLayoutBy: TdSeriesLayoutBy;\n @Input() datasetIndex: number;\n @Input() markPoint: ITdMarkPoint;\n @Input() markLine: ITdMarkLine;\n @Input() markArea: ITdMarkArea;\n @Input() zlevel: number;\n @Input() z: number;\n @Input() silent: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('line', _optionsService);\n }\n\n getConfig(): any {\n return {\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n polarIndex: this.polarIndex,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n showSymbol: this.showSymbol,\n showAllSymbol: this.showAllSymbol,\n hoverAnimation: this.hoverAnimation,\n legendHoverLink: this.legendHoverLink,\n stack: this.stack,\n cursor: this.cursor,\n connectNulls: this.connectNulls,\n clipOverflow: this.clipOverflow,\n step: this.step,\n label: this.label,\n itemStyle: this.itemStyle,\n lineStyle: this.lineStyle,\n areaStyle: this.areaStyle,\n emphasis: this.emphasis,\n smooth: this.smooth,\n smoothMonotone: this.smoothMonotone,\n sampling: this.sampling,\n dimensions: this.dimensions,\n encode: this.encode,\n seriesLayoutBy: this.seriesLayoutBy,\n datasetIndex: this.datasetIndex,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TdChartSeriesLineComponent } from './line.component';\n\nexport const LINE_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesLineComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [LINE_MODULE_COMPONENTS],\n exports: [LINE_MODULE_COMPONENTS],\n})\nexport class CovalentLineEchartsModule {}\n"],"names":[],"mappings":";;;;;;;;;;;;4BA8DC;;;IAvCC,yCAAsC;;IACtC,mCAAoB;;IACpB,mCAAoB;;IACpB,mCAAoB;;IACpB,+BAAoC;;IACpC,mCAAuC;;IACvC,qCAAsB;;IACtB,yCAA2B;;IAC3B,qCAAqB;;IACrB,mCAAqB;;IACrB,sCAAiC;;IACjC,uCAAyB;;IACzB,wCAA0B;;IAC1B,8BAAe;;IACf,+BAAgB;;IAChB,qCAAuB;;IACvB,qCAAuB;;IACvB,6BAAwB;;IACxB,8BAAiB;;IACjB,kCAAyB;;IACz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ACL,KAAK;oBACL,KAAK;wBACL,KAAK;wBACL,KAAK;wBACL,KAAK;uBACL,KAAK;qBACL,KAAK;6BACL,KAAK;uBACL,KAAK;yBACL,KAAK;qBACL,KAAK;6BACL,KAAK;2BACL,KAAK;wBACL,KAAK;uBACL,KAAK;uBACL,KAAK;qBACL,KAAK;gBACL,KAAK;qBACL,KAAK;;;;IAnCN,sDAA8C;;IAC9C,gDAA4B;;IAC5B,gDAA4B;;IAC5B,gDAA4B;;IAC5B,4CAA4C;;IAC5C,gDAA+C;;IAC/C,kDAA8B;;IAC9B,sDAAmC;;IACnC,kDAA6B;;IAC7B,gDAA6B;;IAC7B,mDAAgC;;IAChC,oDAAiC;;IACjC,qDAAkC;;IAClC,2CAAuB;;IACvB,4CAAwB;;IACxB,kDAA+B;;IAC/B,kDAA+B;;IAC/B,0CAAgC;;IAChC,2CAAyB;;IACzB,+CAAiC;;IACjC,+CAAiC;;IACjC,+CAAiC;;IACjC,8CAA+B;;IAC/B,4CAAkC;;IAClC,oDAAgC;;IAChC,8CAA8B;;IAC9B,gDAA2B;;IAC3B,4CAAqB;;IACrB,oDAA0C;;IAC1C,kDAA8B;;IAC9B,+CAAiC;;IACjC,8CAA+B;;IAC/B,8CAA+B;;IAC/B,4CAAwB;;IACxB,uCAAmB;;IACnB,4CAAyB;;;;;;;;;MC5Hd,sBAAsB,GAAgB,CAAC,0BAA0B;MAOjE,yBAAyB;;;YALrC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,sBAAsB,CAAC;gBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;aAClC;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,5 @@
1
1
  import { Component, ChangeDetectionStrategy, forwardRef, Input, NgModule } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import 'echarts/lib/chart/map';
4
3
  import { TdSeriesDirective, TdChartOptionsService } from '@covalent/echarts/base';
5
4
 
6
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts-map.js","sources":["../../../../src/platform/echarts/map/map.component.ts","../../../../src/platform/echarts/map/map.module.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdSeries,\n ITdLabel,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport type TdMapValueCalculation = 'sum' | 'average' | 'max' | 'min';\nexport type TdMapSeriesLayoutBy = 'column' | 'row';\n\nexport interface ITdMapScaleLimit {\n min?: number;\n max?: number;\n}\n\nexport interface ITdMapItemStyle {\n areaColor?: ITdItemStyle;\n emphasis?: ITdItemStyle;\n}\n\nexport interface ITdMapSeries extends ITdSeries {\n map?: string;\n roam?: boolean;\n center?: number[];\n aspectScale?: number;\n boudingCoords?: any[];\n zoom?: number;\n scaleLimit?: ITdMapScaleLimit;\n nameMap?: object;\n selectedMode?: boolean | string;\n label?: ITdLabel;\n itemStyle?: ITdMapItemStyle;\n zLevel?: number;\n z?: number;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n layoutCenter?: any[];\n layoutSize?: any[];\n geoIndex?: number;\n mapValueCalculation?: TdMapValueCalculation;\n showLegendSymbol?: boolean;\n seriesLayoutBy?: string;\n data?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-map]',\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(() => TdChartSeriesMapComponent),\n },\n ],\n})\nexport class TdChartSeriesMapComponent extends TdSeriesDirective implements ITdMapSeries {\n @Input() map: string;\n @Input() roam: boolean;\n @Input() center: number[];\n @Input() aspectScale: number;\n @Input() boudingCoords: any[];\n @Input() zoom: number;\n @Input() scaleLimit: ITdMapScaleLimit;\n @Input() nameMap: object;\n @Input() selectedMode: boolean | string;\n @Input() label: ITdLabel;\n @Input() itemStyle: ITdMapItemStyle;\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() layoutCenter: any[];\n @Input() layoutSize: any[];\n @Input() geoIndex: number;\n @Input() mapValueCalculation: TdMapValueCalculation;\n @Input() showLegendSymbol: boolean;\n @Input() seriesLayoutBy: string;\n @Input() markPoint: ITdMarkPoint;\n @Input() markLine: ITdMarkLine;\n @Input() markArea: ITdMarkArea;\n @Input() silent: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('map', _optionsService);\n }\n\n getConfig(): any {\n return {\n map: this.map,\n roam: this.roam,\n center: this.center,\n aspectScale: this.aspectScale,\n boudingCoords: this.boudingCoords,\n zoom: this.zoom,\n scaleLimit: this.scaleLimit,\n nameMap: this.nameMap,\n selectedMode: this.selectedMode,\n label: this.label,\n itemStyle: this.itemStyle,\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 layoutCenter: this.layoutCenter,\n layoutSize: this.layoutSize,\n geoIndex: this.geoIndex,\n mapValueCalculation: this.mapValueCalculation,\n showLegendSymbol: this.showLegendSymbol,\n seriesLayoutBy: this.seriesLayoutBy,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport 'echarts/lib/chart/map';\n\nimport { TdChartSeriesMapComponent } from './map.component';\n\nexport const MAP_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesMapComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [MAP_MODULE_COMPONENTS],\n exports: [MAP_MODULE_COMPONENTS],\n})\nexport class CovalentMapEchartsModule {}\n"],"names":[],"mappings":";;;;;;;;;;;;;+BAmBC;;;IAFC,+BAAa;;IACb,+BAAa;;;;;8BAMd;;;IAFC,oCAAyB;;IACzB,mCAAwB;;;;;2BAgCzB;;;IA5BC,2BAAa;;IACb,4BAAe;;IACf,8BAAkB;;IAClB,mCAAqB;;IACrB,qCAAsB;;IACtB,4BAAc;;IACd,kCAA8B;;IAC9B,+BAAiB;;IACjB,oCAAgC;;IAChC,6BAAiB;;IACjB,iCAA4B;;IAC5B,8BAAgB;;IAChB,yBAAW;;IACX,4BAAuB;;IACvB,2BAAsB;;IACtB,6BAAwB;;IACxB,8BAAyB;;IACzB,oCAAqB;;IACrB,kCAAmB;;IACnB,gCAAkB;;IAClB,2CAA4C;;IAC5C,wCAA2B;;IAC3B,sCAAwB;;IACxB,4BAAa;;IACb,iCAAyB;;IACzB,gCAAuB;;IACvB,gCAAuB;;IACvB,8BAAiB;;MA+BN,yBAA0B,SAAQ,iBAAiB;;;;IA6B9D,YAAY,eAAsC;QAChD,KAAK,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC;KAC/B;;;;IAED,SAAS;QACP,OAAO;YACL,GAAG,EAAE,IAAI,CAAC,GAAG;YACb,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,SAAS,EAAE,IAAI,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;wBACL,KAAK;qBACL,KAAK;gBACL,KAAK;mBACL,KAAK;kBACL,KAAK;oBACL,KAAK;qBACL,KAAK;2BACL,KAAK;yBACL,KAAK;uBACL,KAAK;kCACL,KAAK;+BACL,KAAK;6BACL,KAAK;wBACL,KAAK;uBACL,KAAK;uBACL,KAAK;qBACL,KAAK;;;;IA1BN,wCAAqB;;IACrB,yCAAuB;;IACvB,2CAA0B;;IAC1B,gDAA6B;;IAC7B,kDAA8B;;IAC9B,yCAAsB;;IACtB,+CAAsC;;IACtC,4CAAyB;;IACzB,iDAAwC;;IACxC,0CAAyB;;IACzB,8CAAoC;;IACpC,2CAAwB;;IACxB,sCAAmB;;IACnB,yCAA+B;;IAC/B,wCAA8B;;IAC9B,0CAAgC;;IAChC,2CAAiC;;IACjC,iDAA6B;;IAC7B,+CAA2B;;IAC3B,6CAA0B;;IAC1B,wDAAoD;;IACpD,qDAAmC;;IACnC,mDAAgC;;IAChC,8CAAiC;;IACjC,6CAA+B;;IAC/B,6CAA+B;;IAC/B,2CAAyB;;;;;;;;;MCzGd,qBAAqB,GAAgB,CAAC,yBAAyB;MAO/D,wBAAwB;;;YALpC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,qBAAqB,CAAC;gBACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;aACjC;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"covalent-echarts-map.js","sources":["../../../../src/platform/echarts/map/map.component.ts","../../../../src/platform/echarts/map/map.module.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdSeries,\n ITdLabel,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport type TdMapValueCalculation = 'sum' | 'average' | 'max' | 'min';\nexport type TdMapSeriesLayoutBy = 'column' | 'row';\n\nexport interface ITdMapScaleLimit {\n min?: number;\n max?: number;\n}\n\nexport interface ITdMapItemStyle {\n areaColor?: ITdItemStyle;\n emphasis?: ITdItemStyle;\n}\n\nexport interface ITdMapSeries extends ITdSeries {\n map?: string;\n roam?: boolean;\n center?: number[];\n aspectScale?: number;\n boudingCoords?: any[];\n zoom?: number;\n scaleLimit?: ITdMapScaleLimit;\n nameMap?: object;\n selectedMode?: boolean | string;\n label?: ITdLabel;\n itemStyle?: ITdMapItemStyle;\n zLevel?: number;\n z?: number;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n layoutCenter?: any[];\n layoutSize?: any[];\n geoIndex?: number;\n mapValueCalculation?: TdMapValueCalculation;\n showLegendSymbol?: boolean;\n seriesLayoutBy?: string;\n data?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-map]',\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(() => TdChartSeriesMapComponent),\n },\n ],\n})\nexport class TdChartSeriesMapComponent extends TdSeriesDirective implements ITdMapSeries {\n @Input() map: string;\n @Input() roam: boolean;\n @Input() center: number[];\n @Input() aspectScale: number;\n @Input() boudingCoords: any[];\n @Input() zoom: number;\n @Input() scaleLimit: ITdMapScaleLimit;\n @Input() nameMap: object;\n @Input() selectedMode: boolean | string;\n @Input() label: ITdLabel;\n @Input() itemStyle: ITdMapItemStyle;\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() layoutCenter: any[];\n @Input() layoutSize: any[];\n @Input() geoIndex: number;\n @Input() mapValueCalculation: TdMapValueCalculation;\n @Input() showLegendSymbol: boolean;\n @Input() seriesLayoutBy: string;\n @Input() markPoint: ITdMarkPoint;\n @Input() markLine: ITdMarkLine;\n @Input() markArea: ITdMarkArea;\n @Input() silent: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('map', _optionsService);\n }\n\n getConfig(): any {\n return {\n map: this.map,\n roam: this.roam,\n center: this.center,\n aspectScale: this.aspectScale,\n boudingCoords: this.boudingCoords,\n zoom: this.zoom,\n scaleLimit: this.scaleLimit,\n nameMap: this.nameMap,\n selectedMode: this.selectedMode,\n label: this.label,\n itemStyle: this.itemStyle,\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 layoutCenter: this.layoutCenter,\n layoutSize: this.layoutSize,\n geoIndex: this.geoIndex,\n mapValueCalculation: this.mapValueCalculation,\n showLegendSymbol: this.showLegendSymbol,\n seriesLayoutBy: this.seriesLayoutBy,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TdChartSeriesMapComponent } from './map.component';\n\nexport const MAP_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesMapComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [MAP_MODULE_COMPONENTS],\n exports: [MAP_MODULE_COMPONENTS],\n})\nexport class CovalentMapEchartsModule {}\n"],"names":[],"mappings":";;;;;;;;;;;;+BAmBC;;;IAFC,+BAAa;;IACb,+BAAa;;;;;8BAMd;;;IAFC,oCAAyB;;IACzB,mCAAwB;;;;;2BAgCzB;;;IA5BC,2BAAa;;IACb,4BAAe;;IACf,8BAAkB;;IAClB,mCAAqB;;IACrB,qCAAsB;;IACtB,4BAAc;;IACd,kCAA8B;;IAC9B,+BAAiB;;IACj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ACxB,sCAAmB;;IACnB,yCAA+B;;IAC/B,wCAA8B;;IAC9B,0CAAgC;;IAChC,2CAAiC;;IACjC,iDAA6B;;IAC7B,+CAA2B;;IAC3B,6CAA0B;;IAC1B,wDAAoD;;IACpD,qDAAmC;;IACnC,mDAAgC;;IAChC,8CAAiC;;IACjC,6CAA+B;;IAC/B,6CAA+B;;IAC/B,2CAAyB;;;;;;;;;MC5Gd,qBAAqB,GAAgB,CAAC,yBAAyB;MAO/D,wBAAwB;;;YALpC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,qBAAqB,CAAC;gBACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;aACjC;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,5 @@
1
1
  import { Component, ChangeDetectionStrategy, forwardRef, Input, NgModule } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import 'echarts/lib/chart/pie';
4
3
  import { TdSeriesDirective, TdChartOptionsService } from '@covalent/echarts/base';
5
4
 
6
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts-pie.js","sources":["../../../../src/platform/echarts/pie/pie.component.ts","../../../../src/platform/echarts/pie/pie.module.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\n ITdEmphasis,\n TdSeriesLayoutBy,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdSeries,\n ITdLabel,\n ITdLabelLine,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport interface ITdPieSeries extends ITdSeries {\n legendHoverLink?: boolean;\n hoverAnimation?: boolean;\n hoverOffset?: number;\n selectedMode?: boolean | string;\n selectedOffset?: number;\n clockwise?: boolean;\n startAngle?: number;\n minAngle?: number;\n minShowLabelAngle?: number;\n roseType?: boolean | string;\n avoidLabelOverlap?: boolean;\n stillShowZeroSum?: boolean;\n cursor?: string;\n labelLine?: ITdLabelLine;\n Label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n emphasis?: ITdEmphasis;\n seriesLayoutBy?: TdSeriesLayoutBy;\n datasetIndex?: number;\n data?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n Zlevel?: 0;\n z?: number;\n center?: object;\n radius?: number | string | any[];\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-pie]',\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(() => TdChartSeriesPieComponent),\n },\n ],\n})\nexport class TdChartSeriesPieComponent extends TdSeriesDirective implements ITdPieSeries {\n @Input() legendHoverLink: boolean;\n @Input() hoverAnimation: boolean;\n @Input() hoverOffset: number;\n @Input() selectedMode: boolean | string;\n @Input() selectedOffset: number;\n @Input() clockwise: boolean;\n @Input() startAngle: number;\n @Input() minAngle: number;\n @Input() minShowLabelAngle: number;\n @Input() roseType: boolean | string;\n @Input() avoidLabelOverlap: boolean;\n @Input() stillShowZeroSum: boolean;\n @Input() cursor: string;\n @Input() labelLine: object;\n @Input() label: any;\n @Input() itemStyle: ITdItemStyle;\n @Input() emphasis: ITdEmphasis;\n @Input() seriesLayoutBy: TdSeriesLayoutBy;\n @Input() datasetIndex: number;\n @Input() markPoint: ITdMarkPoint;\n @Input() markLine: ITdMarkLine;\n @Input() markArea: ITdMarkArea;\n @Input() zlevel: number;\n @Input() z: number;\n @Input() center: object;\n @Input() radius: number | string | any[];\n\n constructor(_optionsService: TdChartOptionsService) {\n super('pie', _optionsService);\n }\n\n getConfig(): any {\n return {\n legendHoverLink: this.legendHoverLink,\n label: this.label,\n itemStyle: this.itemStyle,\n emphasis: this.emphasis,\n selectedMode: this.selectedMode,\n selectedOffset: this.selectedOffset,\n clockwise: this.clockwise,\n startAngle: this.startAngle,\n minAngle: this.minAngle,\n minShowLabelAngle: this.minShowLabelAngle,\n roseType: this.roseType,\n avoidLabelOverlap: this.avoidLabelOverlap,\n stillShowZeroSum: this.stillShowZeroSum,\n cursor: this.cursor,\n labelLine: this.labelLine,\n seriesLayoutBy: this.seriesLayoutBy,\n datasetIndex: this.datasetIndex,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n center: this.center,\n radius: this.radius,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport 'echarts/lib/chart/pie';\n\nimport { TdChartSeriesPieComponent } from './pie.component';\n\nexport const PIE_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesPieComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [PIE_MODULE_COMPONENTS],\n exports: [PIE_MODULE_COMPONENTS],\n})\nexport class CovalentPieEchartsModule {}\n"],"names":[],"mappings":";;;;;;;;;;;;;2BA6CC;;;IA5BC,uCAA0B;;IAC1B,sCAAyB;;IACzB,mCAAqB;;IACrB,oCAAgC;;IAChC,sCAAwB;;IACxB,iCAAoB;;IACpB,kCAAoB;;IACpB,gCAAkB;;IAClB,yCAA2B;;IAC3B,gCAA4B;;IAC5B,yCAA4B;;IAC5B,wCAA2B;;IAC3B,8BAAgB;;IAChB,iCAAyB;;IACzB,6BAAiB;;IACjB,iCAAyB;;IACzB,gCAAuB;;IACvB,sCAAkC;;IAClC,oCAAsB;;IACtB,4BAAa;;IACb,iCAAyB;;IACzB,gCAAuB;;IACvB,gCAAuB;;IACvB,8BAAW;;IACX,yBAAW;;IACX,8BAAgB;;IAChB,8BAAiC;;IACjC,8BAAiB;;MA+BN,yBAA0B,SAAQ,iBAAiB;;;;IA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;;;;"}
1
+ {"version":3,"file":"covalent-echarts-pie.js","sources":["../../../../src/platform/echarts/pie/pie.component.ts","../../../../src/platform/echarts/pie/pie.module.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\n ITdEmphasis,\n TdSeriesLayoutBy,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdSeries,\n ITdLabel,\n ITdLabelLine,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport interface ITdPieSeries extends ITdSeries {\n legendHoverLink?: boolean;\n hoverAnimation?: boolean;\n hoverOffset?: number;\n selectedMode?: boolean | string;\n selectedOffset?: number;\n clockwise?: boolean;\n startAngle?: number;\n minAngle?: number;\n minShowLabelAngle?: number;\n roseType?: boolean | string;\n avoidLabelOverlap?: boolean;\n stillShowZeroSum?: boolean;\n cursor?: string;\n labelLine?: ITdLabelLine;\n Label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n emphasis?: ITdEmphasis;\n seriesLayoutBy?: TdSeriesLayoutBy;\n datasetIndex?: number;\n data?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n Zlevel?: 0;\n z?: number;\n center?: object;\n radius?: number | string | any[];\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-pie]',\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(() => TdChartSeriesPieComponent),\n },\n ],\n})\nexport class TdChartSeriesPieComponent extends TdSeriesDirective implements ITdPieSeries {\n @Input() legendHoverLink: boolean;\n @Input() hoverAnimation: boolean;\n @Input() hoverOffset: number;\n @Input() selectedMode: boolean | string;\n @Input() selectedOffset: number;\n @Input() clockwise: boolean;\n @Input() startAngle: number;\n @Input() minAngle: number;\n @Input() minShowLabelAngle: number;\n @Input() roseType: boolean | string;\n @Input() avoidLabelOverlap: boolean;\n @Input() stillShowZeroSum: boolean;\n @Input() cursor: string;\n @Input() labelLine: object;\n @Input() label: any;\n @Input() itemStyle: ITdItemStyle;\n @Input() emphasis: ITdEmphasis;\n @Input() seriesLayoutBy: TdSeriesLayoutBy;\n @Input() datasetIndex: number;\n @Input() markPoint: ITdMarkPoint;\n @Input() markLine: ITdMarkLine;\n @Input() markArea: ITdMarkArea;\n @Input() zlevel: number;\n @Input() z: number;\n @Input() center: object;\n @Input() radius: number | string | any[];\n\n constructor(_optionsService: TdChartOptionsService) {\n super('pie', _optionsService);\n }\n\n getConfig(): any {\n return {\n legendHoverLink: this.legendHoverLink,\n label: this.label,\n itemStyle: this.itemStyle,\n emphasis: this.emphasis,\n selectedMode: this.selectedMode,\n selectedOffset: this.selectedOffset,\n clockwise: this.clockwise,\n startAngle: this.startAngle,\n minAngle: this.minAngle,\n minShowLabelAngle: this.minShowLabelAngle,\n roseType: this.roseType,\n avoidLabelOverlap: this.avoidLabelOverlap,\n stillShowZeroSum: this.stillShowZeroSum,\n cursor: this.cursor,\n labelLine: this.labelLine,\n seriesLayoutBy: this.seriesLayoutBy,\n datasetIndex: this.datasetIndex,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n center: this.center,\n radius: this.radius,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TdChartSeriesPieComponent } from './pie.component';\n\nexport const PIE_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesPieComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [PIE_MODULE_COMPONENTS],\n exports: [PIE_MODULE_COMPONENTS],\n})\nexport class Covalent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B,6CAA0B;;IAC1B,sDAAmC;;IACnC,6CAAoC;;IACpC,sDAAoC;;IACpC,qDAAmC;;IACnC,2CAAwB;;IACxB,8CAA2B;;IAC3B,0CAAoB;;IACpB,8CAAiC;;IACjC,6CAA+B;;IAC/B,mDAA0C;;IAC1C,iDAA8B;;IAC9B,8CAAiC;;IACjC,6CAA+B;;IAC/B,6CAA+B;;IAC/B,2CAAwB;;IACxB,sCAAmB;;IACnB,2CAAwB;;IACxB,2CAAyC;;;;;;;;;MCjG9B,qBAAqB,GAAgB,CAAC,yBAAyB;MAO/D,wBAAwB;;;YALpC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,qBAAqB,CAAC;gBACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;aACjC;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,5 @@
1
1
  import { Component, ChangeDetectionStrategy, forwardRef, Input, NgModule } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import 'echarts/lib/chart/sankey';
4
3
  import { TdSeriesDirective, TdChartOptionsService } from '@covalent/echarts/base';
5
4
 
6
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts-sankey.js","sources":["../../../../src/platform/echarts/sankey/sankey.component.ts","../../../../src/platform/echarts/sankey/sankey.module.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdLabel,\n ITdItemStyle,\n ITdEmphasis,\n ITdSeries,\n TdSeriesDirective,\n ITdShadow,\n ITdLineCurveStyle,\n} from '@covalent/echarts/base';\n\nexport type TdSankeyOrient = 'horizontal' | 'vertical';\n\nexport type TdSankeyFocusNodeAdjacency = boolean | 'allEdges' | 'outEdges' | 'inEdges';\n\nexport interface ITdSankeyEmphasisLineStyle extends ITdShadow {\n color?: any;\n opacity?: number;\n curveness?: number;\n}\n\nexport interface ITdSankeyEmphasis extends ITdEmphasis {\n lineStyle: ITdSankeyEmphasisLineStyle;\n}\n\nexport interface ITdSankeySeries extends ITdSeries {\n zlevel?: number;\n z?: number;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n width?: string | number;\n height?: string | number;\n nodeWidth?: number;\n nodeGap?: number;\n layoutIterations?: number;\n orient?: TdSankeyOrient;\n draggable?: boolean;\n focusNodeAdjacency?: TdSankeyFocusNodeAdjacency;\n label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n lineStyle?: ITdLineCurveStyle;\n emphasis?: ITdEmphasis;\n data?: any[];\n nodes?: any[];\n links?: any[];\n edges?: any[];\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-sankey]',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: [\n 'config',\n 'id',\n 'name',\n 'color',\n 'data',\n\n 'animation',\n 'animationThreshold',\n 'animationDuration',\n 'animationEasing',\n 'animationDelay',\n 'animationDurationUpdate',\n 'animationEasingUpdate',\n 'animationDelayUpdate',\n 'tooltip',\n ],\n providers: [\n {\n provide: TdSeriesDirective,\n useExisting: forwardRef(() => TdChartSeriesSankeyComponent),\n },\n ],\n})\nexport class TdChartSeriesSankeyComponent extends TdSeriesDirective implements ITdSankeySeries {\n @Input() zlevel: number;\n @Input() z: number;\n @Input() left: string | number;\n @Input() top: string | number;\n @Input() right: string | number;\n @Input() bottom: string | number;\n @Input() width: string | number;\n @Input() height: string | number;\n @Input() nodeWidth: number;\n @Input() nodeGap: number;\n @Input() layoutIterations: number;\n @Input() orient: TdSankeyOrient;\n @Input() draggable: boolean;\n @Input() focusNodeAdjacency: TdSankeyFocusNodeAdjacency;\n @Input() label: ITdLabel;\n @Input() itemStyle: ITdItemStyle;\n @Input() lineStyle: ITdLineCurveStyle;\n @Input() emphasis: ITdEmphasis;\n @Input() nodes: any[];\n @Input() links: any[];\n @Input() edges: any[];\n @Input() silent: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('sankey', _optionsService);\n }\n\n getConfig(): any {\n return {\n zlevel: this.zlevel,\n z: this.z,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n width: this.width,\n height: this.height,\n nodeWidth: this.nodeWidth,\n nodeGap: this.nodeGap,\n layoutIterations: this.layoutIterations,\n orient: this.orient,\n draggable: this.draggable,\n focusNodeAdjacency: this.focusNodeAdjacency,\n label: this.label,\n itemStyle: this.itemStyle,\n lineStyle: this.lineStyle,\n emphasis: this.emphasis,\n nodes: this.nodes,\n links: this.links,\n edges: this.edges,\n silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport 'echarts/lib/chart/sankey';\n\nimport { TdChartSeriesSankeyComponent } from './sankey.component';\n\nexport const SANKEY_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesSankeyComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [SANKEY_MODULE_COMPONENTS],\n exports: [SANKEY_MODULE_COMPONENTS],\n})\nexport class CovalentSankeyEchartsModule {}\n"],"names":[],"mappings":";;;;;;;;;;;;;yCAqBC;;;IAHC,2CAAY;;IACZ,6CAAiB;;IACjB,+CAAmB;;;;;gCAKpB;;;IADC,sCAAsC;;;;;8BA2BvC;;;IAvBC,iCAAgB;;IAChB,4BAAW;;IACX,+BAAuB;;IACvB,8BAAsB;;IACtB,gCAAwB;;IACxB,iCAAyB;;IACzB,gCAAwB;;IACxB,iCAAyB;;IACzB,oCAAmB;;IACnB,kCAAiB;;IACjB,2CAA0B;;IAC1B,iCAAwB;;IACxB,oCAAoB;;IACpB,6CAAgD;;IAChD,gCAAiB;;IACjB,oCAAyB;;IACzB,oCAA8B;;IAC9B,mCAAuB;;IACvB,+BAAa;;IACb,gCAAc;;IACd,gCAAc;;IACd,gCAAc;;IACd,iCAAiB;;MA+BN,4BAA6B,SAAQ,iBAAiB;;;;IAwBjE,YAAY,eAAsC;QAChD,KAAK,CAAC,QAAQ,EAAE,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wBACE,OAAO,EAAE,iBAAiB;wBAC1B,WAAW,EAAE,UAAU;;;wBAAC,MAAM,4BAA4B,EAAC;qBAC5D;iBACF;aACF;;;;YA7EC,qBAAqB;;;qBA+EpB,KAAK;gBACL,KAAK;mBACL,KAAK;kBACL,KAAK;oBACL,KAAK;qBACL,KAAK;oBACL,KAAK;qBACL,KAAK;wBACL,KAAK;sBACL,KAAK;+BACL,KAAK;qBACL,KAAK;wBACL,KAAK;iCACL,KAAK;oBACL,KAAK;wBACL,KAAK;wBACL,KAAK;uBACL,KAAK;oBACL,KAAK;oBACL,KAAK;oBACL,KAAK;qBACL,KAAK;;;;IArBN,8CAAwB;;IACxB,yCAAmB;;IACnB,4CAA+B;;IAC/B,2CAA8B;;IAC9B,6CAAgC;;IAChC,8CAAiC;;IACjC,6CAAgC;;IAChC,8CAAiC;;IACjC,iDAA2B;;IAC3B,+CAAyB;;IACzB,wDAAkC;;IAClC,8CAAgC;;IAChC,iDAA4B;;IAC5B,0DAAwD;;IACxD,6CAAyB;;IACzB,iDAAiC;;IACjC,iDAAsC;;IACtC,gDAA+B;;IAC/B,6CAAsB;;IACtB,6CAAsB;;IACtB,6CAAsB;;IACtB,8CAAyB;;;;;;;;;MChGd,wBAAwB,GAAgB,CAAC,4BAA4B;MAOrE,2BAA2B;;;YALvC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,wBAAwB,CAAC;gBACxC,OAAO,EAAE,CAAC,wBAAwB,CAAC;aACpC;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"covalent-echarts-sankey.js","sources":["../../../../src/platform/echarts/sankey/sankey.component.ts","../../../../src/platform/echarts/sankey/sankey.module.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdLabel,\n ITdItemStyle,\n ITdEmphasis,\n ITdSeries,\n TdSeriesDirective,\n ITdShadow,\n ITdLineCurveStyle,\n} from '@covalent/echarts/base';\n\nexport type TdSankeyOrient = 'horizontal' | 'vertical';\n\nexport type TdSankeyFocusNodeAdjacency = boolean | 'allEdges' | 'outEdges' | 'inEdges';\n\nexport interface ITdSankeyEmphasisLineStyle extends ITdShadow {\n color?: any;\n opacity?: number;\n curveness?: number;\n}\n\nexport interface ITdSankeyEmphasis extends ITdEmphasis {\n lineStyle: ITdSankeyEmphasisLineStyle;\n}\n\nexport interface ITdSankeySeries extends ITdSeries {\n zlevel?: number;\n z?: number;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n width?: string | number;\n height?: string | number;\n nodeWidth?: number;\n nodeGap?: number;\n layoutIterations?: number;\n orient?: TdSankeyOrient;\n draggable?: boolean;\n focusNodeAdjacency?: TdSankeyFocusNodeAdjacency;\n label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n lineStyle?: ITdLineCurveStyle;\n emphasis?: ITdEmphasis;\n data?: any[];\n nodes?: any[];\n links?: any[];\n edges?: any[];\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-sankey]',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: [\n 'config',\n 'id',\n 'name',\n 'color',\n 'data',\n\n 'animation',\n 'animationThreshold',\n 'animationDuration',\n 'animationEasing',\n 'animationDelay',\n 'animationDurationUpdate',\n 'animationEasingUpdate',\n 'animationDelayUpdate',\n 'tooltip',\n ],\n providers: [\n {\n provide: TdSeriesDirective,\n useExisting: forwardRef(() => TdChartSeriesSankeyComponent),\n },\n ],\n})\nexport class TdChartSeriesSankeyComponent extends TdSeriesDirective implements ITdSankeySeries {\n @Input() zlevel: number;\n @Input() z: number;\n @Input() left: string | number;\n @Input() top: string | number;\n @Input() right: string | number;\n @Input() bottom: string | number;\n @Input() width: string | number;\n @Input() height: string | number;\n @Input() nodeWidth: number;\n @Input() nodeGap: number;\n @Input() layoutIterations: number;\n @Input() orient: TdSankeyOrient;\n @Input() draggable: boolean;\n @Input() focusNodeAdjacency: TdSankeyFocusNodeAdjacency;\n @Input() label: ITdLabel;\n @Input() itemStyle: ITdItemStyle;\n @Input() lineStyle: ITdLineCurveStyle;\n @Input() emphasis: ITdEmphasis;\n @Input() nodes: any[];\n @Input() links: any[];\n @Input() edges: any[];\n @Input() silent: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('sankey', _optionsService);\n }\n\n getConfig(): any {\n return {\n zlevel: this.zlevel,\n z: this.z,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n width: this.width,\n height: this.height,\n nodeWidth: this.nodeWidth,\n nodeGap: this.nodeGap,\n layoutIterations: this.layoutIterations,\n orient: this.orient,\n draggable: this.draggable,\n focusNodeAdjacency: this.focusNodeAdjacency,\n label: this.label,\n itemStyle: this.itemStyle,\n lineStyle: this.lineStyle,\n emphasis: this.emphasis,\n nodes: this.nodes,\n links: this.links,\n edges: this.edges,\n silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TdChartSeriesSankeyComponent } from './sankey.component';\n\nexport const SANKEY_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesSankeyComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [SANKEY_MODULE_COMPONENTS],\n exports: [SANKEY_MODULE_COMPONENTS],\n})\nexport class CovalentSankeyEchartsModule {}\n"],"names":[],"mappings":";;;;;;;;;;;;yCAqBC;;;IAHC,2CAAY;;IACZ,6CAAiB;;IACjB,+CAAmB;;;;;gCAKpB;;;IADC,sCAAsC;;;;;8BA2BvC;;;IAvBC,iCAAgB;;IAChB,4BAAW;;IACX,+BAAuB;;IACvB,8BAAsB;;IACtB,gCAAwB;;IACxB,iCAAyB;;IACzB,gCAAwB;;IACxB,iCAAyB;;IACzB,oCAAmB;;IACnB,kCAAiB;;IACjB,2CAA0B;;IAC1B,iCAAwB;;IACxB,oCAAoB;;IACpB,6CAAgD;;IAChD,gCAAiB;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, forwardRef, Input, NgModule } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import 'echarts/lib/chart/scatter';
4
3
  import { TdSeriesDirective, TdChartOptionsService } from '@covalent/echarts/base';
5
4
 
6
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts-scatter.js","sources":["../../../../src/platform/echarts/scatter/scatter.component.ts","../../../../src/platform/echarts/scatter/scatter.module.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n TdCoordinateSystem,\n TdMarkPointSymbol,\n ITdMarkPoint,\n ITdItemStyle,\n ITdLabel,\n ITdEmphasis,\n TdSeriesLayoutBy,\n ITdMarkLine,\n ITdMarkArea,\n TdSeriesDirective,\n ITdSeries,\n} from '@covalent/echarts/base';\n\nexport interface ITdScatterSeries extends ITdSeries {\n coordinateSystem?: TdCoordinateSystem;\n xAxisIndex?: number;\n yAxisIndex?: number;\n polarIndex?: number;\n geoIndex?: number;\n calendarIndex?: number;\n hoverAnimation?: boolean;\n legendHoverLink?: boolean;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[] | Function;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n large?: boolean;\n largeThreshold?: number;\n cursor?: string;\n connectNulls?: boolean;\n clipOverflow?: boolean;\n step?: boolean;\n label?: ITdLabel;\n itemStyle?: any;\n emphasis?: ITdEmphasis;\n progressive?: number;\n progressiveThreshold?: number;\n dimensions?: any[];\n encode?: any;\n seriesLayoutBy?: TdSeriesLayoutBy;\n datasetIndex?: number;\n data?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n zlevel?: number;\n z?: number;\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-scatter]',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: [\n 'config',\n 'id',\n 'name',\n 'color',\n 'data',\n\n 'animation',\n 'animationThreshold',\n 'animationDuration',\n 'animationEasing',\n 'animationDelay',\n 'animationDurationUpdate',\n 'animationEasingUpdate',\n 'animationDelayUpdate',\n 'tooltip',\n ],\n providers: [\n {\n provide: TdSeriesDirective,\n useExisting: forwardRef(() => TdChartSeriesScatterComponent),\n },\n ],\n})\nexport class TdChartSeriesScatterComponent extends TdSeriesDirective implements ITdScatterSeries {\n @Input() coordinateSystem: TdCoordinateSystem;\n @Input() xAxisIndex: number;\n @Input() yAxisIndex: number;\n @Input() polarIndex: number;\n @Input() geoIndex: number;\n @Input() calendarIndex: number;\n @Input() hoverAnimation: boolean;\n @Input() legendHoverLink: boolean;\n @Input() symbol: TdMarkPointSymbol | string;\n @Input() symbolSize: number | any[] | Function;\n @Input() symbolRotate: number;\n @Input() symbolKeepAspect: boolean;\n @Input() symbolOffset: any[];\n @Input() large: boolean;\n @Input() largeThreshold: number;\n @Input() cursor: string;\n @Input() label: ITdLabel;\n @Input() itemStyle: ITdItemStyle;\n @Input() emphasis: ITdEmphasis;\n @Input() progressive: number;\n @Input() progressiveThreshold: number;\n @Input() dimensions: any[];\n @Input() encode: any;\n @Input() seriesLayoutBy: TdSeriesLayoutBy;\n @Input() datasetIndex: number;\n @Input() markPoint: ITdMarkPoint;\n @Input() markLine: ITdMarkLine;\n @Input() markArea: ITdMarkArea;\n @Input() zlevel: number;\n @Input() z: number;\n @Input() silent: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('scatter', _optionsService);\n }\n\n getConfig(): any {\n return {\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n polarIndex: this.polarIndex,\n geoIndex: this.geoIndex,\n calendarIndex: this.calendarIndex,\n hoverAnimation: this.hoverAnimation,\n legendHoverLink: this.legendHoverLink,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n large: this.large,\n largeThreshold: this.largeThreshold,\n cursor: this.cursor,\n label: this.label,\n itemStyle: this.itemStyle,\n emphasis: this.emphasis,\n progressive: this.progressive,\n progressiveThreshold: this.progressiveThreshold,\n dimensions: this.dimensions,\n encode: this.encode,\n seriesLayoutBy: this.seriesLayoutBy,\n datasetIndex: this.datasetIndex,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport 'echarts/lib/chart/scatter';\n\nimport { TdChartSeriesScatterComponent } from './scatter.component';\n\nexport const SCATTER_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesScatterComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [SCATTER_MODULE_COMPONENTS],\n exports: [SCATTER_MODULE_COMPONENTS],\n})\nexport class CovalentScatterEchartsModule {}\n"],"names":[],"mappings":";;;;;;;;;;;;;+BAqDC;;;IAnCC,4CAAsC;;IACtC,sCAAoB;;IACpB,sCAAoB;;IACpB,sCAAoB;;IACpB,oCAAkB;;IAClB,yCAAuB;;IACvB,0CAAyB;;IACzB,2CAA0B;;IAC1B,kCAAoC;;IACpC,sCAAuC;;IACvC,wCAAsB;;IACtB,4CAA2B;;IAC3B,wCAAqB;;IACrB,iCAAgB;;IAChB,0CAAwB;;IACxB,kCAAgB;;IAChB,wCAAuB;;IACvB,wCAAuB;;IACvB,gCAAe;;IACf,iCAAiB;;IACjB,qCAAgB;;IAChB,oCAAuB;;IACvB,uCAAqB;;IACrB,gDAA8B;;IAC9B,sCAAmB;;IACnB,kCAAa;;IACb,0CAAkC;;IAClC,wCAAsB;;IACtB,gCAAa;;IACb,qCAAyB;;IACzB,oCAAuB;;IACvB,oCAAuB;;IACvB,kCAAgB;;IAChB,6BAAW;;IACX,kCAAiB;;MA+BN,6BAA8B,SAAQ,iBAAiB;;;;IAiClE,YAAY,eAAsC;QACh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DAA2B;;IAC3B,+CAAqB;;IACrB,uDAA0C;;IAC1C,qDAA8B;;IAC9B,kDAAiC;;IACjC,iDAA+B;;IAC/B,iDAA+B;;IAC/B,+CAAwB;;IACxB,0CAAmB;;IACnB,+CAAyB;;;;;;;;;MC3Gd,yBAAyB,GAAgB,CAAC,6BAA6B;MAOvE,4BAA4B;;;YALxC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,yBAAyB,CAAC;gBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;aACrC;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"covalent-echarts-scatter.js","sources":["../../../../src/platform/echarts/scatter/scatter.component.ts","../../../../src/platform/echarts/scatter/scatter.module.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n TdCoordinateSystem,\n TdMarkPointSymbol,\n ITdMarkPoint,\n ITdItemStyle,\n ITdLabel,\n ITdEmphasis,\n TdSeriesLayoutBy,\n ITdMarkLine,\n ITdMarkArea,\n TdSeriesDirective,\n ITdSeries,\n} from '@covalent/echarts/base';\n\nexport interface ITdScatterSeries extends ITdSeries {\n coordinateSystem?: TdCoordinateSystem;\n xAxisIndex?: number;\n yAxisIndex?: number;\n polarIndex?: number;\n geoIndex?: number;\n calendarIndex?: number;\n hoverAnimation?: boolean;\n legendHoverLink?: boolean;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[] | Function;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n large?: boolean;\n largeThreshold?: number;\n cursor?: string;\n connectNulls?: boolean;\n clipOverflow?: boolean;\n step?: boolean;\n label?: ITdLabel;\n itemStyle?: any;\n emphasis?: ITdEmphasis;\n progressive?: number;\n progressiveThreshold?: number;\n dimensions?: any[];\n encode?: any;\n seriesLayoutBy?: TdSeriesLayoutBy;\n datasetIndex?: number;\n data?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n zlevel?: number;\n z?: number;\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-scatter]',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: [\n 'config',\n 'id',\n 'name',\n 'color',\n 'data',\n\n 'animation',\n 'animationThreshold',\n 'animationDuration',\n 'animationEasing',\n 'animationDelay',\n 'animationDurationUpdate',\n 'animationEasingUpdate',\n 'animationDelayUpdate',\n 'tooltip',\n ],\n providers: [\n {\n provide: TdSeriesDirective,\n useExisting: forwardRef(() => TdChartSeriesScatterComponent),\n },\n ],\n})\nexport class TdChartSeriesScatterComponent extends TdSeriesDirective implements ITdScatterSeries {\n @Input() coordinateSystem: TdCoordinateSystem;\n @Input() xAxisIndex: number;\n @Input() yAxisIndex: number;\n @Input() polarIndex: number;\n @Input() geoIndex: number;\n @Input() calendarIndex: number;\n @Input() hoverAnimation: boolean;\n @Input() legendHoverLink: boolean;\n @Input() symbol: TdMarkPointSymbol | string;\n @Input() symbolSize: number | any[] | Function;\n @Input() symbolRotate: number;\n @Input() symbolKeepAspect: boolean;\n @Input() symbolOffset: any[];\n @Input() large: boolean;\n @Input() largeThreshold: number;\n @Input() cursor: string;\n @Input() label: ITdLabel;\n @Input() itemStyle: ITdItemStyle;\n @Input() emphasis: ITdEmphasis;\n @Input() progressive: number;\n @Input() progressiveThreshold: number;\n @Input() dimensions: any[];\n @Input() encode: any;\n @Input() seriesLayoutBy: TdSeriesLayoutBy;\n @Input() datasetIndex: number;\n @Input() markPoint: ITdMarkPoint;\n @Input() markLine: ITdMarkLine;\n @Input() markArea: ITdMarkArea;\n @Input() zlevel: number;\n @Input() z: number;\n @Input() silent: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('scatter', _optionsService);\n }\n\n getConfig(): any {\n return {\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n polarIndex: this.polarIndex,\n geoIndex: this.geoIndex,\n calendarIndex: this.calendarIndex,\n hoverAnimation: this.hoverAnimation,\n legendHoverLink: this.legendHoverLink,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n large: this.large,\n largeThreshold: this.largeThreshold,\n cursor: this.cursor,\n label: this.label,\n itemStyle: this.itemStyle,\n emphasis: this.emphasis,\n progressive: this.progressive,\n progressiveThreshold: this.progressiveThreshold,\n dimensions: this.dimensions,\n encode: this.encode,\n seriesLayoutBy: this.seriesLayoutBy,\n datasetIndex: this.datasetIndex,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TdChartSeriesScatterComponent } from './scatter.component';\n\nexport const SCATTER_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesScatterComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [SCATTER_MODULE_COMPONENTS],\n exports: [SCATTER_MODULE_COMPONENTS],\n})\nexport class CovalentScatterEchartsModule {}\n"],"names":[],"mappings":";;;;;;;;;;;;+BAqDC;;;IAnCC,4CAAsC;;IACtC,sCAAoB;;IACpB,sCAAoB;;IACpB,sCAAoB;;IACpB,oCAAkB;;IAClB,yCAAuB;;IACvB,0CAAyB;;IACzB,2CAA0B;;IAC1B,kCAAoC;;IACpC,sCAAuC;;IACvC,wCAAsB;;IACtB,4CAA2B;;IAC3B,wCAAqB;;IACrB,iCAAgB;;IAChB,0CAAwB;;IACxB,kCAAgB;;IAChB,wCAAuB;;IACvB,wCAAuB;;IACvB,gCAAe;;IACf,iCAAiB;;IACjB,qCAAgB;;IAChB,oCAAuB;;IACvB,uCAAqB;;IACrB,gDAA8B;;IAC9B,sCAAmB;;IACnB,k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AC5C,mDAA+C;;IAC/C,qDAA8B;;IAC9B,yDAAmC;;IACnC,qDAA6B;;IAC7B,8CAAwB;;IACxB,uDAAgC;;IAChC,+CAAwB;;IACxB,8CAAyB;;IACzB,kDAAiC;;IACjC,iDAA+B;;IAC/B,oDAA6B;;IAC7B,6DAAsC;;IACtC,mDAA2B;;IAC3B,+CAAqB;;IACrB,uDAA0C;;IAC1C,qDAA8B;;IAC9B,kDAAiC;;IACjC,iDAA+B;;IAC/B,iDAA+B;;IAC/B,+CAAwB;;IACxB,0CAAmB;;IACnB,+CAAyB;;;;;;;;;MC9Gd,yBAAyB,GAAgB,CAAC,6BAA6B;MAOvE,4BAA4B;;;YALxC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,yBAAyB,CAAC;gBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;aACrC;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,5 @@
1
1
  import { Directive, Component, ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, Input, ContentChild, TemplateRef, ViewChild, NgModule } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import 'echarts/lib/component/toolbox';
4
3
  import { assignDefined, TdChartOptionsService } from '@covalent/echarts/base';
5
4
 
6
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts-toolbox.js","sources":["../../../../src/platform/echarts/toolbox/toolbox.component.ts","../../../../src/platform/echarts/toolbox/toolbox.module.ts"],"sourcesContent":["import {\n Component,\n Input,\n Directive,\n TemplateRef,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n OnChanges,\n ContentChild,\n ViewChild,\n OnDestroy,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n assignDefined,\n ITdLabel,\n ITdShadow,\n ITdItemStyle,\n TdTextPosition,\n TdTextAlign,\n} from '@covalent/echarts/base';\n\nexport type TdToolboxOrient = 'horizontal' | 'vertical';\nexport type TdImageType = 'png' | 'jpeg';\n\nexport interface ITdAcceptedBrushTypes {\n rect?: string;\n polygon?: string;\n lineX?: string;\n lineY?: string;\n keep?: string;\n clear?: string;\n}\n\nexport interface ITdAcceptedMagicTypes {\n line?: string;\n bar?: string;\n stack?: string;\n tiled?: string;\n}\n\nexport interface ITdToolboxIconEmphasis extends ITdItemStyle, ITdShadow {}\n\nexport interface ITdFeatureIconStyle extends ITdItemStyle, ITdShadow {\n textPosition?: TdTextPosition;\n textAlign?: TdTextAlign;\n emphasis?: ITdToolboxIconEmphasis;\n}\n\nexport interface ITdZoomTitles {\n zoom?: string;\n back?: string;\n}\n\nexport interface ITdSaveAsImage {\n type?: TdImageType;\n name?: string;\n backgroundColor?: any;\n excludeComponents?: string[]; // defaults to ['toolbox']\n show?: boolean;\n title?: string;\n icon?: string;\n iconStyle?: ITdFeatureIconStyle;\n pixelRatio?: number;\n}\n\nexport interface ITdRestore {\n show?: boolean;\n title?: string;\n icon?: string;\n iconStyle?: ITdFeatureIconStyle;\n}\n\nexport interface ITdDataView {\n show?: boolean;\n title?: string;\n icon?: string;\n iconStyle?: ITdFeatureIconStyle;\n readOnly?: boolean;\n optionToContent?: Function;\n contentToOption?: Function;\n lang?: string[]; // Defaults to Chinese, there are 3 names in data view, which are ['data view', 'turn off' and 'refresh'].\n textareaColor?: string;\n textareaBorderColor?: string;\n textColor?: string;\n buttonColor?: string;\n buttonTextColor?: string;\n}\n\nexport interface ITdDataZoom {\n show?: boolean;\n title?: ITdZoomTitles;\n icon?: ITdZoomTitles;\n iconStyle?: ITdFeatureIconStyle;\n xAxisIndex?: number | number[] | boolean;\n yAxisIndex?: number | number[] | boolean;\n}\n\nexport interface ITdMagicType {\n show?: boolean;\n type?: string[]; // only expects 'line' | 'bar' | 'stack' | 'tiled';\n title?: ITdAcceptedMagicTypes;\n icon?: ITdAcceptedMagicTypes;\n iconStyle?: ITdFeatureIconStyle;\n option?: {\n line?: object;\n bar?: object;\n stack?: object;\n tiled?: object;\n };\n seriesIndex?: {\n line?: any[];\n bar?: any[];\n stack?: any[];\n tiled?: any[];\n };\n}\n\nexport interface ITdBrush {\n type?: any[];\n icon?: ITdAcceptedBrushTypes;\n title?: ITdAcceptedBrushTypes;\n}\n\nexport interface ITdToolboxFeature {\n saveAsImage?: ITdSaveAsImage;\n restore?: ITdRestore;\n dataView?: ITdDataView;\n dataZoom?: ITdDataZoom;\n magicType?: ITdMagicType;\n brush?: ITdBrush;\n}\n\n@Directive({\n selector: 'ng-template[tdViewDataFormatter]',\n})\nexport class TdChartViewDataFormatterDirective {}\n\n@Component({\n selector: 'td-chart-toolbox',\n templateUrl: './toolbox.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdChartToolboxComponent implements OnChanges, OnDestroy {\n private _state: any = {};\n\n @Input() config: any = {};\n\n @Input() show: boolean = true;\n @Input() trigger: string;\n @Input() orient: TdToolboxOrient;\n @Input() itemSize: number;\n @Input() itemGap: number;\n @Input() showTitle: boolean = true;\n @Input() label: ITdLabel;\n @Input() feature: ITdToolboxFeature;\n @Input() iconStyle: ITdFeatureIconStyle;\n @Input() zlevel: number;\n @Input() z: number;\n @Input() transitionDuration: number = 0.5;\n @Input() left: string | number = 'auto';\n @Input() top: string | number = 'auto';\n @Input() right: string | number = 'auto';\n @Input() bottom: string | number = 'auto';\n @Input() width: string | number = 'auto';\n @Input() height: string | number = 'auto';\n\n @ContentChild(TdChartViewDataFormatterDirective, { read: TemplateRef })\n formatterTemplate: TemplateRef<any>;\n @ViewChild('toolboxContent', { static: true }) fullTemplate: TemplateRef<any>;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n private _optionsService: TdChartOptionsService,\n ) {}\n\n ngOnChanges(): void {\n this._setOptions();\n }\n\n ngOnDestroy(): void {\n this._removeOption();\n }\n\n private _setOptions(): void {\n this._checkFormatterTemplate();\n\n const config: any = assignDefined(\n this._state,\n {\n show: this.show,\n name: this.trigger,\n orient: this.orient,\n itemSize: this.itemSize,\n itemGap: this.itemGap,\n showTitle: this.showTitle,\n label: this.label,\n feature: this.feature,\n iconStyle: this.iconStyle,\n zlevel: this.zlevel,\n z: this.z,\n transitionDuration: this.transitionDuration,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n width: this.width,\n height: this.height,\n },\n this.config ? this.config : {},\n );\n // set toolbox configuration in parent chart and render new configurations\n this._optionsService.setOption('toolbox', config);\n }\n\n private _removeOption(): void {\n this._optionsService.clearOption('toolbox');\n }\n\n private _checkFormatterTemplate(): void {\n if (this.formatterTemplate) {\n this.feature = {\n ...this.feature,\n dataView: {\n ...this.feature.dataView,\n optionToContent: this._optionToContentFormatter(),\n },\n };\n }\n }\n\n private _optionToContentFormatter(): () => string {\n return () => {\n this._changeDetectorRef.markForCheck();\n return (<HTMLElement>this._elementRef.nativeElement).innerHTML;\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport 'echarts/lib/component/toolbox';\n\nimport { TdChartToolboxComponent, TdChartViewDataFormatterDirective } from './toolbox.component';\n\nexport const TOOLBOX_MODULE_COMPONENTS: Type<any>[] = [TdChartToolboxComponent, TdChartViewDataFormatterDirective];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TOOLBOX_MODULE_COMPONENTS],\n exports: [TOOLBOX_MODULE_COMPONENTS],\n})\nexport class CovalentToolboxEchartsModule {}\n"],"names":[],"mappings":";;;;;;;;;;;;;oCAkCC;;;IANC,qCAAc;;IACd,wCAAiB;;IACjB,sCAAe;;IACf,sCAAe;;IACf,qCAAc;;IACd,sCAAe;;;;;oCAQhB;;;IAJC,qCAAc;;IACd,oCAAa;;IACb,sCAAe;;IACf,sCAAe;;;;;qCAGyD;;;;kCAMzE;;;IAHC,2CAA8B;;IAC9B,wCAAwB;;IACxB,uCAAkC;;;;;4BAMnC;;;IAFC,6BAAc;;IACd,6BAAc;;;;;6BAaf;;;IATC,8BAAmB;;IACnB,8BAA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IACzC,yCAA0C;;IAC1C,wCAAyC;;IACzC,yCAA0C;;IAE1C,oDACoC;;IACpC,+CAA8E;;;;;IAG5E,qDAA6C;;;;;IAC7C,8CAA+B;;;;;IAC/B,kDAA8C;;;;;;;;;MCzKrC,yBAAyB,GAAgB,CAAC,uBAAuB,EAAE,iCAAiC;MAOpG,4BAA4B;;;YALxC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,yBAAyB,CAAC;gBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;aACrC;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"covalent-echarts-toolbox.js","sources":["../../../../src/platform/echarts/toolbox/toolbox.component.ts","../../../../src/platform/echarts/toolbox/toolbox.module.ts"],"sourcesContent":["import {\n Component,\n Input,\n Directive,\n TemplateRef,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n OnChanges,\n ContentChild,\n ViewChild,\n OnDestroy,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n assignDefined,\n ITdLabel,\n ITdShadow,\n ITdItemStyle,\n TdTextPosition,\n TdTextAlign,\n} from '@covalent/echarts/base';\n\nexport type TdToolboxOrient = 'horizontal' | 'vertical';\nexport type TdImageType = 'png' | 'jpeg';\n\nexport interface ITdAcceptedBrushTypes {\n rect?: string;\n polygon?: string;\n lineX?: string;\n lineY?: string;\n keep?: string;\n clear?: string;\n}\n\nexport interface ITdAcceptedMagicTypes {\n line?: string;\n bar?: string;\n stack?: string;\n tiled?: string;\n}\n\nexport interface ITdToolboxIconEmphasis extends ITdItemStyle, ITdShadow {}\n\nexport interface ITdFeatureIconStyle extends ITdItemStyle, ITdShadow {\n textPosition?: TdTextPosition;\n textAlign?: TdTextAlign;\n emphasis?: ITdToolboxIconEmphasis;\n}\n\nexport interface ITdZoomTitles {\n zoom?: string;\n back?: string;\n}\n\nexport interface ITdSaveAsImage {\n type?: TdImageType;\n name?: string;\n backgroundColor?: any;\n excludeComponents?: string[]; // defaults to ['toolbox']\n show?: boolean;\n title?: string;\n icon?: string;\n iconStyle?: ITdFeatureIconStyle;\n pixelRatio?: number;\n}\n\nexport interface ITdRestore {\n show?: boolean;\n title?: string;\n icon?: string;\n iconStyle?: ITdFeatureIconStyle;\n}\n\nexport interface ITdDataView {\n show?: boolean;\n title?: string;\n icon?: string;\n iconStyle?: ITdFeatureIconStyle;\n readOnly?: boolean;\n optionToContent?: Function;\n contentToOption?: Function;\n lang?: string[]; // Defaults to Chinese, there are 3 names in data view, which are ['data view', 'turn off' and 'refresh'].\n textareaColor?: string;\n textareaBorderColor?: string;\n textColor?: string;\n buttonColor?: string;\n buttonTextColor?: string;\n}\n\nexport interface ITdDataZoom {\n show?: boolean;\n title?: ITdZoomTitles;\n icon?: ITdZoomTitles;\n iconStyle?: ITdFeatureIconStyle;\n xAxisIndex?: number | number[] | boolean;\n yAxisIndex?: number | number[] | boolean;\n}\n\nexport interface ITdMagicType {\n show?: boolean;\n type?: string[]; // only expects 'line' | 'bar' | 'stack' | 'tiled';\n title?: ITdAcceptedMagicTypes;\n icon?: ITdAcceptedMagicTypes;\n iconStyle?: ITdFeatureIconStyle;\n option?: {\n line?: object;\n bar?: object;\n stack?: object;\n tiled?: object;\n };\n seriesIndex?: {\n line?: any[];\n bar?: any[];\n stack?: any[];\n tiled?: any[];\n };\n}\n\nexport interface ITdBrush {\n type?: any[];\n icon?: ITdAcceptedBrushTypes;\n title?: ITdAcceptedBrushTypes;\n}\n\nexport interface ITdToolboxFeature {\n saveAsImage?: ITdSaveAsImage;\n restore?: ITdRestore;\n dataView?: ITdDataView;\n dataZoom?: ITdDataZoom;\n magicType?: ITdMagicType;\n brush?: ITdBrush;\n}\n\n@Directive({\n selector: 'ng-template[tdViewDataFormatter]',\n})\nexport class TdChartViewDataFormatterDirective {}\n\n@Component({\n selector: 'td-chart-toolbox',\n templateUrl: './toolbox.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdChartToolboxComponent implements OnChanges, OnDestroy {\n private _state: any = {};\n\n @Input() config: any = {};\n\n @Input() show: boolean = true;\n @Input() trigger: string;\n @Input() orient: TdToolboxOrient;\n @Input() itemSize: number;\n @Input() itemGap: number;\n @Input() showTitle: boolean = true;\n @Input() label: ITdLabel;\n @Input() feature: ITdToolboxFeature;\n @Input() iconStyle: ITdFeatureIconStyle;\n @Input() zlevel: number;\n @Input() z: number;\n @Input() transitionDuration: number = 0.5;\n @Input() left: string | number = 'auto';\n @Input() top: string | number = 'auto';\n @Input() right: string | number = 'auto';\n @Input() bottom: string | number = 'auto';\n @Input() width: string | number = 'auto';\n @Input() height: string | number = 'auto';\n\n @ContentChild(TdChartViewDataFormatterDirective, { read: TemplateRef })\n formatterTemplate: TemplateRef<any>;\n @ViewChild('toolboxContent', { static: true }) fullTemplate: TemplateRef<any>;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n private _optionsService: TdChartOptionsService,\n ) {}\n\n ngOnChanges(): void {\n this._setOptions();\n }\n\n ngOnDestroy(): void {\n this._removeOption();\n }\n\n private _setOptions(): void {\n this._checkFormatterTemplate();\n\n const config: any = assignDefined(\n this._state,\n {\n show: this.show,\n name: this.trigger,\n orient: this.orient,\n itemSize: this.itemSize,\n itemGap: this.itemGap,\n showTitle: this.showTitle,\n label: this.label,\n feature: this.feature,\n iconStyle: this.iconStyle,\n zlevel: this.zlevel,\n z: this.z,\n transitionDuration: this.transitionDuration,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n width: this.width,\n height: this.height,\n },\n this.config ? this.config : {},\n );\n // set toolbox configuration in parent chart and render new configurations\n this._optionsService.setOption('toolbox', config);\n }\n\n private _removeOption(): void {\n this._optionsService.clearOption('toolbox');\n }\n\n private _checkFormatterTemplate(): void {\n if (this.formatterTemplate) {\n this.feature = {\n ...this.feature,\n dataView: {\n ...this.feature.dataView,\n optionToContent: this._optionToContentFormatter(),\n },\n };\n }\n }\n\n private _optionToContentFormatter(): () => string {\n return () => {\n this._changeDetectorRef.markForCheck();\n return (<HTMLElement>this._elementRef.nativeElement).innerHTML;\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TdChartToolboxComponent, TdChartViewDataFormatterDirective } from './toolbox.component';\n\nexport const TOOLBOX_MODULE_COMPONENTS: Type<any>[] = [TdChartToolboxComponent, TdChartViewDataFormatterDirective];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TOOLBOX_MODULE_COMPONENTS],\n exports: [TOOLBOX_MODULE_COMPONENTS],\n})\nexport class CovalentToolboxEchartsModule {}\n"],"names":[],"mappings":";;;;;;;;;;;;oCAkCC;;;IANC,qCAAc;;IACd,wCAAiB;;IACjB,sCAAe;;IACf,sCAAe;;IACf,qCAAc;;IACd,sCAAe;;;;;oCAQhB;;;IAJC,qCAAc;;IACd,oCAAa;;IACb,sCAAe;;IACf,sCAAe;;;;;qCAGyD;;;;kCAMzE;;;IAHC,2CAA8B;;IAC9B,wCAAwB;;IACxB,uCAAkC;;;;;4BAMnC;;;IAFC,6BAAc;;IACd,6BAAc;;;;;6BAaf;;;IATC,8BAAmB;;IACnB,8BAAc;;IACd,yCAAsB;;IACtB,2CAA6B;;IAC7B,8BAAe;;IACf,+BAAe;;IACf,8BAAc;;IACd,mCAAgC;;IAChC,oCAAoB;;;;;yBAQrB;;;IAJC,0BAAe;;IACf,2BAAe;;IACf,0BAAc;;IACd,+BAAgC;;;;;0BAiBjC;;;IAbC,2BAAe;;IACf,4BAAe;;IACf,2BAAc;;IACd,gCAAgC;;IAChC,+BAAmB;;IACnB,sCAA2B;;IAC3B,sCAA2B;;IAC3B,2BAAgB;;IAChB,oCAAuB;;IACvB,0CAA6B;;IAC7B,gCAAmB;;IACnB,kCAAqB;;IACrB,sCAAyB;;;;;0BAU1B;;;IANC,2BAAe;;IACf,4BAAsB;;IACtB,2BAAqB;;IACrB,gCAAgC;;IAChC,iC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, TemplateRef, ViewChild, NgModule } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import 'echarts/lib/component/tooltip';
4
3
  import { assignDefined, TdChartOptionsService, TdSeriesDirective } from '@covalent/echarts/base';
5
4
 
6
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts-tooltip.js","sources":["../../../../src/platform/echarts/tooltip/tooltip.component.ts","../../../../src/platform/echarts/tooltip/series-tooltip.component.ts","../../../../src/platform/echarts/tooltip/tooltip.module.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","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 'echarts/lib/component/tooltip';\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"],"names":[],"mappings":";;;;;;;;;;MAsBa,gBAAgB;CAG5B;;;IAFC,qCAAe;;IACf,kCAAe;;MAMJ,gCAAgC;;;YAH5C,SAAS,SAAC;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;QA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AMY,iBAAiB;;;qBActC,KAAK;wBAEL,KAAK;uBAEL,KAAK;8BACL,KAAK;0BACL,KAAK;0BACL,KAAK;sBACL,KAAK;wBACL,KAAK;2BAGL,KAAK;gCAEL,YAAY,SAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE;2BAElF,SAAS,SAAC,gBAAgB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;;;;;;;IApB7C,0CAAyB;;IAEzB,4CAAoD;;IAEpD,0CAAqB;;IAErB,6CAAwB;;IAExB,4CAAgD;;IAChD,mDAAwD;;IACxD,+CAAsC;;IACtC,+CAAiC;;IACjC,2CAA6B;;IAC7B,6CAEE;;IACF,gDAA8B;;IAE9B,qDACoC;;IACpC,gDAA8E;;;;;IAG5E,sDAA6C;;;;;IAC7C,+CAA+B;;;;;IAC/B,oDAA2C;;;;;;;;;MCxClC,yBAAyB,GAAgB;IACpD,uBAAuB;IACvB,gCAAgC;IAChC,wBAAwB;;MAQb,4BAA4B;;;YALxC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,yBAAyB,CAAC;gBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;aACrC;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"covalent-echarts-tooltip.js","sources":["../../../../src/platform/echarts/tooltip/tooltip.component.ts","../../../../src/platform/echarts/tooltip/series-tooltip.component.ts","../../../../src/platform/echarts/tooltip/tooltip.module.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","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';\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: [TOOLT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ChC,wBAAwB;;MAQb,4BAA4B;;;YALxC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,yBAAyB,CAAC;gBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;aACrC;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,5 @@
1
1
  import { Component, ChangeDetectionStrategy, forwardRef, Input, NgModule } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import 'echarts/lib/chart/tree';
4
3
  import { TdSeriesDirective, TdChartOptionsService } from '@covalent/echarts/base';
5
4
 
6
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts-tree.js","sources":["../../../../src/platform/echarts/tree/tree.component.ts","../../../../src/platform/echarts/tree/tree.module.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 'echarts/lib/chart/tree';\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"],"names":[],"mappings":";;;;;;;;;;;;;uCAmCC;;;IAHC,yCAAY;;IACZ,yCAAe;;IACf,6CAAmB;;;;;8BAKpB;;;IADC,oCAAoC;;;;;4BAOrC;;;IAHC,8BAAiB;;IACjB,kCAAyB;;IACzB,iCAAsB;;;;;AAGxB,4BAyBC;;;IAxBC,+BAAgB;;IAChB,0BAAW;;IACX,6BAAuB;;IACvB,4BAAsB;;IACtB,8BAAwB;;IACxB,+BAAyB;;IACzB,8BAAwB;;IACxB,+BAAyB;;IACzB,+BAAsB;;IACtB,+BAAsB;;IACtB,+BAAoC;;IACpC,mCAAoB;;IACpB,qCAAsB;;IACtB,yCAA2B;;IAC3B,qCAAqB;;IACrB,6BAAwB;;IACxB,0CAA4B;;IAC5B,yCAA0B;;IAC1B,kCAAyB;;IACzB,8BAAiB;;IACjB,kCAAyB;;IACzB,+BAAuB;;IACvB,iCAA2B;;IAC3B,6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gBAAgB;oBAChB,yBAAyB;oBACzB,uBAAuB;oBACvB,sBAAsB;oBACtB,SAAS;iBACV;gBACD,SAAS,EAAE;oBACT;wBACE,OAAO,EAAE,iBAAiB;wBAC1B,WAAW,EAAE,UAAU;;;wBAAC,MAAM,0BAA0B,EAAC;qBAC1D;iBACF;aACF;;;;YAlGC,qBAAqB;;;qBAoGpB,KAAK;gBACL,KAAK;mBACL,KAAK;kBACL,KAAK;oBACL,KAAK;qBACL,KAAK;oBACL,KAAK;qBACL,KAAK;qBACL,KAAK;qBACL,KAAK;qBACL,KAAK;yBACL,KAAK;2BACL,KAAK;+BACL,KAAK;mBACL,KAAK;gCACL,KAAK;+BACL,KAAK;wBACL,KAAK;oBACL,KAAK;wBACL,KAAK;qBACL,KAAK;uBACL,KAAK;;;;IArBN,4CAAwB;;IACxB,uCAAmB;;IACnB,0CAA+B;;IAC/B,yCAA8B;;IAC9B,2CAAgC;;IAChC,4CAAiC;;IACjC,2CAAgC;;IAChC,4CAAiC;;IACjC,4CAA8B;;IAC9B,4CAA8B;;IAC9B,4CAA4C;;IAC5C,gDAA4B;;IAC5B,kDAA8B;;IAC9B,sDAAmC;;IACnC,0CAAgC;;IAChC,uDAAoC;;IACpC,sDAAkC;;IAClC,+CAAiC;;IACjC,2CAAyB;;IACzB,+CAAiC;;IACjC,4CAA+B;;IAC/B,8CAAmC;;;;;;;;;MCrHxB,sBAAsB,GAAgB,CAAC,0BAA0B;MAOjE,yBAAyB;;;YALrC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,sBAAsB,CAAC;gBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;aAClC;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"covalent-echarts-tree.js","sources":["../../../../src/platform/echarts/tree/tree.component.ts","../../../../src/platform/echarts/tree/tree.module.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';\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"],"names":[],"mappings":";;;;;;;;;;;;uCAmCC;;;IAHC,yCAAY;;IACZ,yCAAe;;IACf,6CAAmB;;;;;8BAKpB;;;IADC,oCAAoC;;;;;4BAOrC;;;IAHC,8BAAiB;;IACjB,kCAAyB;;IACzB,iCAAsB;;;;;AAGxB,4BAyBC;;;IAxBC,+BAAgB;;IAChB,0BAAW;;IACX,6BAAuB;;IACvB,4BAAsB;;IACtB,8BAAwB;;IACxB,+BAAyB;;IACzB,8BAAwB;;IACxB,+BAAyB;;IACzB,+BAAsB;;IACtB,+BAAsB;;IACtB,+BAAoC;;IACpC,mCAAoB;;IACpB,qCAAsB;;IACtB,yCAA2B;;IAC3B,qCAAqB;;IACrB,6BAAwB;;IACxB,0CAA4B;;IAC5B,yCAA0B;;IAC1B,kCAAyB;;IACzB,8BAAiB;;IACjB,kCAAyB;;IACzB,+BAAuB;;IACvB,iCAA2B;;IAC3B,6BAAY;;MA+BD,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,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,YAA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CAAiC;;IACjC,2CAAgC;;IAChC,4CAAiC;;IACjC,4CAA8B;;IAC9B,4CAA8B;;IAC9B,4CAA4C;;IAC5C,gDAA4B;;IAC5B,kDAA8B;;IAC9B,sDAAmC;;IACnC,0CAAgC;;IAChC,uDAAoC;;IACpC,sDAAkC;;IAClC,+CAAiC;;IACjC,2CAAyB;;IACzB,+CAAiC;;IACjC,4CAA+B;;IAC/B,8CAAmC;;;;;;;;;MCxHxB,sBAAsB,GAAgB,CAAC,0BAA0B;MAOjE,yBAAyB;;;YALrC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,sBAAsB,CAAC;gBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;aAClC;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,5 @@
1
1
  import { Component, ChangeDetectionStrategy, forwardRef, Input, NgModule } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import 'echarts/lib/chart/treemap';
4
3
  import { TdSeriesDirective, TdChartOptionsService } from '@covalent/echarts/base';
5
4
 
6
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"covalent-echarts-treemap.js","sources":["../../../../src/platform/echarts/treemap/treemap.component.ts","../../../../src/platform/echarts/treemap/treemap.module.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 'echarts/lib/chart/treemap';\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"],"names":[],"mappings":";;;;;;;;;;;;;;;;0CAuBC;;;IAHC,4CAAY;;IACZ,4CAAe;;IACf,gDAAmB;;;;;iCAKpB;;;IADC,uCAAuC;;;;;mCAqCxC;;;IAjCC,oCAAe;;IACf,wCAA0B;;IAC1B,wCAA2B;;IAC3B,sCAAyB;;IACzB,sCAAe;;IACf,yCAAmB;;IACnB,qCAAY;;IACZ,yCAAmB;;IACnB,0CAAoB;;IACpB,0CAAoB;;IACpB,wCAA2B;;IAC3B,qCAAe;;IACf,6CAAuB;;IACvB,0CAA6B;;IAC7B,+CAAsB;;IACtB,2CAAqB;;IACrB,2CAA8B;;IAC9B,4CAA+B;;IAC/B,uCAAyB;;IACzB,2CAAqB;;IACrB,0CAA6B;;IAC7B,6CAAgC;;IAChC,6CAAgC;;IAChC,qCAAwB;;IACxB,sCAAyB;;IACzB,+CAAyB;;IACzB,+CAAkC;;IAClC,+CAAyB;;IACzB,8CAAiC;;IACjC,iDAAoC;;IACpC,iDAAoC;;IACpC,oCAAU;;IACV,wCAAc;;;;;mCAaf;;;IATC,oCAA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ACL,KAAK;oBACL,KAAK;qBACL,KAAK;0BACL,KAAK;wBACL,KAAK;4BACL,KAAK;mBACL,KAAK;wBACL,KAAK;8BACL,KAAK;qBACL,KAAK;qBACL,KAAK;8BACL,KAAK;wBACL,KAAK;wBACL,KAAK;yBACL,KAAK;8BACL,KAAK;6BACL,KAAK;yBACL,KAAK;iCACL,KAAK;wBACL,KAAK;oBACL,KAAK;yBACL,KAAK;yBACL,KAAK;uBACL,KAAK;sBACL,KAAK;;;;IAjCN,+CAA0B;;IAC1B,2CAAoB;;IACpB,6CAAsB;;IACtB,6CAAmB;;IACnB,+CAAwB;;IACxB,0CAAmB;;IACnB,6CAA+B;;IAC/B,4CAA8B;;IAC9B,8CAAgC;;IAChC,+CAAiC;;IACjC,8CAAgC;;IAChC,+CAAiC;;IACjC,oDAAsC;;IACtC,kDAAoC;;IACpC,sDAA+B;;IAC/B,6CAAgC;;IAChC,kDAAqC;;IACrC,wDAA0C;;IAC1C,+CAAuB;;IACvB,+CAAyB;;IACzB,wDAA0C;;IAC1C,kDAAoC;;IACpC,kDAAoC;;IACpC,mDAA2B;;IAC3B,wDAA0C;;IAC1C,uDAAgC;;IAChC,mDAAqC;;IACrC,2DAA6C;;IAC7C,kDAAiC;;IACjC,8CAAyB;;IACzB,mDAA0C;;IAC1C,mDAA0C;;IAC1C,iDAAsC;;IACtC,gDAAmC;;;;;;;;;MCrKxB,yBAAyB,GAAgB,CAAC,6BAA6B;MAOvE,4BAA4B;;;YALxC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,yBAAyB,CAAC;gBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;aACrC;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"covalent-echarts-treemap.js","sources":["../../../../src/platform/echarts/treemap/treemap.component.ts","../../../../src/platform/echarts/treemap/treemap.module.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';\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"],"names":[],"mappings":";;;;;;;;;;;;;;;0CAuBC;;;IAHC,4CAAY;;IACZ,4CAAe;;IACf,gDAAmB;;;;;iCAKpB;;;IADC,uCAAuC;;;;;mCAqCxC;;;IAjCC,oCAAe;;IACf,wCAA0B;;IAC1B,wCAA2B;;IAC3B,sCAAyB;;IACzB,sCAAe;;IACf,yCAAmB;;IACnB,qCAAY;;IACZ,yCAAmB;;IACnB,0CAAoB;;IACpB,0CAAoB;;IACpB,wCAA2B;;IAC3B,qCAAe;;IACf,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,6BAA6B;MAOvE,4BAA4B;;;YALxC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,yBAAyB,CAAC;gBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;aACrC;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,5 @@
1
1
  import { Component, ChangeDetectionStrategy, forwardRef, Input, NgModule } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import 'echarts-wordcloud';
4
3
  import { TdSeriesDirective, TdChartOptionsService } from '@covalent/echarts/base';
5
4
 
6
5
  /**