@covalent/echarts 4.0.0-beta.2 → 4.1.0-develop.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -90
- package/bar/README.md +23 -21
- package/bar/bar.component.d.ts +27 -27
- package/bar/covalent-echarts-bar.d.ts +1 -1
- package/bar/{public-api.d.ts → public_api.d.ts} +0 -0
- package/base/README.md +26 -26
- package/base/axis/axis.component.d.ts +29 -29
- package/base/chart.component.d.ts +3 -3
- package/base/covalent-echarts-base.d.ts +1 -1
- package/base/dataset/dataset.component.d.ts +5 -5
- package/base/{public-api.d.ts → public_api.d.ts} +0 -0
- package/base/series/series.component.d.ts +15 -15
- package/base/{axis → src/axis}/README.md +19 -19
- package/base/{dataset → src/dataset}/README.md +19 -16
- package/covalent-echarts.d.ts +1 -1
- package/esm2020/bar/bar.component.mjs +95 -96
- package/esm2020/bar/bar.module.mjs +12 -13
- package/esm2020/bar/covalent-echarts-bar.mjs +2 -2
- package/esm2020/bar/public_api.mjs +3 -0
- package/esm2020/base/axis/axis.component.mjs +66 -66
- package/esm2020/base/axis/axis.interface.mjs +1 -1
- package/esm2020/base/axis/x-axis.component.mjs +45 -45
- package/esm2020/base/axis/y-axis.component.mjs +45 -45
- package/esm2020/base/base.module.mjs +13 -14
- package/esm2020/base/base.types.mjs +1 -1
- package/esm2020/base/chart-options.service.mjs +6 -6
- package/esm2020/base/chart.component.mjs +42 -38
- package/esm2020/base/covalent-echarts-base.mjs +2 -2
- package/esm2020/base/dataset/dataset.component.mjs +22 -22
- package/esm2020/base/public_api.mjs +10 -0
- package/esm2020/base/series/series.component.mjs +34 -34
- package/esm2020/base/series/series.interface.mjs +1 -1
- package/esm2020/base/themes/aqua-splash.mjs +31 -4
- package/esm2020/base/themes/california-coast.mjs +1 -1
- package/esm2020/base/themes/hawaiian-sunrise.mjs +1 -1
- package/esm2020/base/themes/passion-flower.mjs +1 -1
- package/esm2020/base/themes/razzleberry-pie.mjs +31 -4
- package/esm2020/base/themes/teradata-classic.mjs +31 -4
- package/esm2020/base/themes/teradata-default.mjs +1 -1
- package/esm2020/base/themes/urban-sunrise.mjs +1 -1
- package/esm2020/base/themes/volcanic-eruption.mjs +1 -1
- package/esm2020/base/utils/assign-defined.mjs +1 -1
- package/esm2020/base/utils/echarts.mjs +1 -1
- package/esm2020/base/utils/index.mjs +1 -1
- package/esm2020/covalent-echarts.mjs +2 -2
- package/esm2020/graph/covalent-echarts-graph.mjs +2 -2
- package/esm2020/graph/graph.component.mjs +129 -130
- package/esm2020/graph/graph.module.mjs +15 -14
- package/esm2020/graph/public_api.mjs +3 -0
- package/esm2020/line/covalent-echarts-line.mjs +2 -2
- package/esm2020/line/line.component.mjs +111 -112
- package/esm2020/line/line.module.mjs +12 -13
- package/esm2020/line/public_api.mjs +3 -0
- package/esm2020/map/covalent-echarts-map.mjs +2 -2
- package/esm2020/map/map.component.mjs +93 -94
- package/esm2020/map/map.module.mjs +12 -13
- package/esm2020/map/public_api.mjs +3 -0
- package/esm2020/pie/covalent-echarts-pie.mjs +2 -2
- package/esm2020/pie/pie.component.mjs +91 -92
- package/esm2020/pie/pie.module.mjs +12 -13
- package/esm2020/pie/public_api.mjs +3 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/sankey/covalent-echarts-sankey.mjs +2 -2
- package/esm2020/sankey/public_api.mjs +3 -0
- package/esm2020/sankey/sankey.component.mjs +83 -84
- package/esm2020/sankey/sankey.module.mjs +15 -14
- package/esm2020/scatter/covalent-echarts-scatter.mjs +2 -2
- package/esm2020/scatter/public_api.mjs +3 -0
- package/esm2020/scatter/scatter.component.mjs +101 -102
- package/esm2020/scatter/scatter.module.mjs +15 -14
- package/esm2020/toolbox/covalent-echarts-toolbox.mjs +2 -2
- package/esm2020/toolbox/public_api.mjs +3 -0
- package/esm2020/toolbox/toolbox.component.mjs +60 -76
- package/esm2020/toolbox/toolbox.module.mjs +19 -15
- package/esm2020/tooltip/covalent-echarts-tooltip.mjs +2 -2
- package/esm2020/tooltip/public_api.mjs +4 -0
- package/esm2020/tooltip/series-tooltip.component.mjs +40 -49
- package/esm2020/tooltip/tooltip.component.mjs +71 -80
- package/esm2020/tooltip/tooltip.module.mjs +14 -15
- package/esm2020/tree/covalent-echarts-tree.mjs +2 -2
- package/esm2020/tree/public_api.mjs +3 -0
- package/esm2020/tree/tree.component.mjs +83 -84
- package/esm2020/tree/tree.module.mjs +12 -13
- package/esm2020/treemap/covalent-echarts-treemap.mjs +2 -2
- package/esm2020/treemap/public_api.mjs +3 -0
- package/esm2020/treemap/treemap.component.mjs +107 -108
- package/esm2020/treemap/treemap.module.mjs +15 -14
- package/esm2020/wordcloud/covalent-echarts-wordcloud.mjs +2 -2
- package/esm2020/wordcloud/public_api.mjs +3 -0
- package/esm2020/wordcloud/wordcloud.component.mjs +68 -69
- package/esm2020/wordcloud/wordcloud.module.mjs +15 -14
- package/fesm2015/covalent-echarts-bar.mjs +16 -22
- package/fesm2015/covalent-echarts-bar.mjs.map +1 -1
- package/fesm2015/covalent-echarts-base.mjs +148 -81
- package/fesm2015/covalent-echarts-base.mjs.map +1 -1
- package/fesm2015/covalent-echarts-graph.mjs +19 -23
- package/fesm2015/covalent-echarts-graph.mjs.map +1 -1
- package/fesm2015/covalent-echarts-line.mjs +16 -22
- package/fesm2015/covalent-echarts-line.mjs.map +1 -1
- package/fesm2015/covalent-echarts-map.mjs +16 -22
- package/fesm2015/covalent-echarts-map.mjs.map +1 -1
- package/fesm2015/covalent-echarts-pie.mjs +16 -22
- package/fesm2015/covalent-echarts-pie.mjs.map +1 -1
- package/fesm2015/covalent-echarts-sankey.mjs +19 -23
- package/fesm2015/covalent-echarts-sankey.mjs.map +1 -1
- package/fesm2015/covalent-echarts-scatter.mjs +19 -23
- package/fesm2015/covalent-echarts-scatter.mjs.map +1 -1
- package/fesm2015/covalent-echarts-toolbox.mjs +23 -49
- package/fesm2015/covalent-echarts-toolbox.mjs.map +1 -1
- package/fesm2015/covalent-echarts-tooltip.mjs +43 -90
- package/fesm2015/covalent-echarts-tooltip.mjs.map +1 -1
- package/fesm2015/covalent-echarts-tree.mjs +16 -22
- package/fesm2015/covalent-echarts-tree.mjs.map +1 -1
- package/fesm2015/covalent-echarts-treemap.mjs +19 -23
- package/fesm2015/covalent-echarts-treemap.mjs.map +1 -1
- package/fesm2015/covalent-echarts-wordcloud.mjs +19 -23
- package/fesm2015/covalent-echarts-wordcloud.mjs.map +1 -1
- package/fesm2015/covalent-echarts.mjs.map +1 -1
- package/fesm2020/covalent-echarts-bar.mjs +104 -106
- package/fesm2020/covalent-echarts-bar.mjs.map +1 -1
- package/fesm2020/covalent-echarts-base.mjs +353 -269
- package/fesm2020/covalent-echarts-base.mjs.map +1 -1
- package/fesm2020/covalent-echarts-graph.mjs +141 -141
- package/fesm2020/covalent-echarts-graph.mjs.map +1 -1
- package/fesm2020/covalent-echarts-line.mjs +120 -122
- package/fesm2020/covalent-echarts-line.mjs.map +1 -1
- package/fesm2020/covalent-echarts-map.mjs +102 -104
- package/fesm2020/covalent-echarts-map.mjs.map +1 -1
- package/fesm2020/covalent-echarts-pie.mjs +100 -102
- package/fesm2020/covalent-echarts-pie.mjs.map +1 -1
- package/fesm2020/covalent-echarts-sankey.mjs +95 -95
- package/fesm2020/covalent-echarts-sankey.mjs.map +1 -1
- package/fesm2020/covalent-echarts-scatter.mjs +113 -113
- package/fesm2020/covalent-echarts-scatter.mjs.map +1 -1
- package/fesm2020/covalent-echarts-toolbox.mjs +76 -88
- package/fesm2020/covalent-echarts-toolbox.mjs.map +1 -1
- package/fesm2020/covalent-echarts-tooltip.mjs +120 -139
- package/fesm2020/covalent-echarts-tooltip.mjs.map +1 -1
- package/fesm2020/covalent-echarts-tree.mjs +92 -94
- package/fesm2020/covalent-echarts-tree.mjs.map +1 -1
- package/fesm2020/covalent-echarts-treemap.mjs +119 -119
- package/fesm2020/covalent-echarts-treemap.mjs.map +1 -1
- package/fesm2020/covalent-echarts-wordcloud.mjs +79 -79
- package/fesm2020/covalent-echarts-wordcloud.mjs.map +1 -1
- package/fesm2020/covalent-echarts.mjs.map +1 -1
- package/graph/README.md +21 -19
- package/graph/covalent-echarts-graph.d.ts +1 -1
- package/graph/graph.component.d.ts +60 -60
- package/graph/{public-api.d.ts → public_api.d.ts} +0 -0
- package/line/README.md +19 -21
- package/line/covalent-echarts-line.d.ts +1 -1
- package/line/line.component.d.ts +35 -35
- package/line/{public-api.d.ts → public_api.d.ts} +0 -0
- package/map/README.md +19 -17
- package/map/covalent-echarts-map.d.ts +1 -1
- package/map/map.component.d.ts +27 -27
- package/map/{public-api.d.ts → public_api.d.ts} +0 -0
- package/package.json +11 -22
- package/pie/README.md +17 -15
- package/pie/covalent-echarts-pie.d.ts +1 -1
- package/pie/pie.component.d.ts +26 -26
- package/pie/{public-api.d.ts → public_api.d.ts} +0 -0
- package/{index.d.ts → public_api.d.ts} +0 -0
- package/sankey/README.md +22 -20
- package/sankey/covalent-echarts-sankey.d.ts +1 -1
- package/sankey/{public-api.d.ts → public_api.d.ts} +0 -0
- package/sankey/sankey.component.d.ts +22 -22
- package/scatter/README.md +19 -21
- package/scatter/covalent-echarts-scatter.d.ts +1 -1
- package/scatter/{public-api.d.ts → public_api.d.ts} +0 -0
- package/scatter/scatter.component.d.ts +31 -31
- package/toolbox/README.md +12 -11
- package/toolbox/covalent-echarts-toolbox.d.ts +1 -1
- package/toolbox/{public-api.d.ts → public_api.d.ts} +0 -0
- package/toolbox/toolbox.component.d.ts +10 -10
- package/tooltip/README.md +30 -26
- package/tooltip/covalent-echarts-tooltip.d.ts +1 -1
- package/tooltip/{public-api.d.ts → public_api.d.ts} +0 -0
- package/tooltip/series-tooltip.component.d.ts +11 -9
- package/tooltip/tooltip.component.d.ts +16 -16
- package/tree/README.md +20 -18
- package/tree/covalent-echarts-tree.d.ts +1 -1
- package/tree/{public-api.d.ts → public_api.d.ts} +0 -0
- package/tree/tree.component.d.ts +24 -24
- package/treemap/README.md +23 -21
- package/treemap/covalent-echarts-treemap.d.ts +1 -1
- package/treemap/{public-api.d.ts → public_api.d.ts} +0 -0
- package/treemap/treemap.component.d.ts +37 -37
- package/wordcloud/README.md +25 -23
- package/wordcloud/covalent-echarts-wordcloud.d.ts +1 -1
- package/wordcloud/{public-api.d.ts → public_api.d.ts} +0 -0
- package/wordcloud/wordcloud.component.d.ts +14 -14
- package/bar/index.d.ts +0 -1
- package/base/chart.component.scss +0 -4
- package/base/index.d.ts +0 -1
- package/esm2020/bar/index.mjs +0 -2
- package/esm2020/bar/public-api.mjs +0 -3
- package/esm2020/base/index.mjs +0 -2
- package/esm2020/base/public-api.mjs +0 -10
- package/esm2020/graph/index.mjs +0 -2
- package/esm2020/graph/public-api.mjs +0 -3
- package/esm2020/index.mjs +0 -2
- package/esm2020/line/index.mjs +0 -2
- package/esm2020/line/public-api.mjs +0 -3
- package/esm2020/map/index.mjs +0 -2
- package/esm2020/map/public-api.mjs +0 -3
- package/esm2020/pie/index.mjs +0 -2
- package/esm2020/pie/public-api.mjs +0 -3
- package/esm2020/sankey/index.mjs +0 -2
- package/esm2020/sankey/public-api.mjs +0 -3
- package/esm2020/scatter/index.mjs +0 -2
- package/esm2020/scatter/public-api.mjs +0 -3
- package/esm2020/toolbox/index.mjs +0 -2
- package/esm2020/toolbox/public-api.mjs +0 -3
- package/esm2020/tooltip/index.mjs +0 -2
- package/esm2020/tooltip/public-api.mjs +0 -4
- package/esm2020/tree/index.mjs +0 -2
- package/esm2020/tree/public-api.mjs +0 -3
- package/esm2020/treemap/index.mjs +0 -2
- package/esm2020/treemap/public-api.mjs +0 -3
- package/esm2020/wordcloud/index.mjs +0 -2
- package/esm2020/wordcloud/public-api.mjs +0 -3
- package/graph/index.d.ts +0 -1
- package/line/index.d.ts +0 -1
- package/map/index.d.ts +0 -1
- package/pie/index.d.ts +0 -1
- package/sankey/index.d.ts +0 -1
- package/scatter/index.d.ts +0 -1
- package/toolbox/index.d.ts +0 -1
- package/tooltip/index.d.ts +0 -1
- package/tree/index.d.ts +0 -1
- package/treemap/index.d.ts +0 -1
- package/wordcloud/index.d.ts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-tooltip.mjs","sources":["../../../../src/platform/echarts/tooltip/tooltip.component.ts","../../../../src/platform/echarts/tooltip/tooltip.component.html","../../../../src/platform/echarts/tooltip/series-tooltip.component.ts","../../../../src/platform/echarts/tooltip/tooltip.module.ts","../../../../src/platform/echarts/tooltip/covalent-echarts-tooltip.ts"],"sourcesContent":["import {\n Component,\n Input,\n Directive,\n TemplateRef,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n OnChanges,\n ContentChild,\n ViewChild,\n OnDestroy,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n assignDefined,\n TdTooltipTrigger,\n TdTooltipTriggerOn,\n TdTooltipPosition,\n} from '@covalent/echarts/base';\n\nexport class TdTooltipContext {\n $implicit: any;\n ticket: string;\n}\n\n@Directive({\n selector: 'ng-template[tdTooltipFormatter]',\n})\nexport class TdChartTooltipFormatterDirective {}\n\n@Component({\n selector: 'td-chart-tooltip',\n templateUrl: './tooltip.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdChartTooltipComponent implements OnChanges, OnDestroy {\n private _state: any = {};\n\n _context: TdTooltipContext = new TdTooltipContext();\n\n @Input() config: any = {};\n\n @Input() show: boolean = true;\n @Input() trigger: TdTooltipTrigger = 'axis';\n @Input() axisPointer: any;\n @Input() showContent: boolean = true;\n @Input() alwaysShowContent: boolean = false;\n @Input() triggerOn: TdTooltipTriggerOn = 'mousemove|click';\n @Input() showDelay: number = 0;\n @Input() hideDelay: number = 0;\n @Input() enterable: boolean = false;\n @Input() renderMode: 'html' | 'richText';\n @Input() confine: boolean = false;\n @Input() transitionDuration: number = 0.5;\n @Input() position: TdTooltipPosition; // series\n @Input() formatter: string | Function; // series\n @Input() backgroundColor: string = 'rgba(50,50,50,0.7)'; // series\n @Input() borderColor: string = '#333'; // series\n @Input() borderWidth: number = 0; // series\n @Input() padding: number = 5; // series\n @Input() textStyle: any = {\n // series\n color: '#FFF',\n };\n @Input() extraCssText: string; // series\n\n @ContentChild(TdChartTooltipFormatterDirective, { read: TemplateRef, static: true })\n formatterTemplate: TemplateRef<any>;\n @ViewChild('tooltipContent', { static: true }) fullTemplate: TemplateRef<any>;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n private _optionsService: TdChartOptionsService,\n ) {}\n\n ngOnChanges(): void {\n this._setOptions();\n }\n\n ngOnDestroy(): void {\n this._removeOption();\n }\n\n private _setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n show: this.show,\n trigger: this.trigger,\n axisPointer: this.axisPointer,\n showContent: this.showContent,\n alwaysShowContent: this.alwaysShowContent,\n triggerOn: this.triggerOn,\n showDelay: this.showDelay,\n hideDelay: this.hideDelay,\n enterable: this.enterable,\n confine: this.confine,\n transitionDuration: this.transitionDuration,\n position: this.position,\n formatter: this.formatter ? this.formatter : this.formatterTemplate ? this._formatter() : undefined,\n backgroundColor: this.backgroundColor,\n borderColor: this.borderColor,\n borderWidth: this.borderWidth,\n padding: this.padding,\n textStyle: this.textStyle,\n extraCssText: this.extraCssText,\n },\n this.config ? this.config : {},\n );\n // set tooltip configuration in parent chart and render new configurations\n this._optionsService.setOption('tooltip', config);\n }\n\n private _removeOption(): void {\n this._optionsService.clearOption('tooltip');\n }\n\n private _formatter(): (params: any, ticket: any, callback: (ticket: string, html: string) => void) => string {\n return (params: any, ticket: any, callback: (ticket: string, html: string) => void) => {\n this._context = {\n $implicit: params,\n ticket,\n };\n // timeout set since we need to set the HTML at the end of the angular lifecycle when\n // the tooltip delay is more than 0\n setTimeout(() => {\n callback(ticket, (<HTMLElement>this._elementRef.nativeElement).innerHTML);\n });\n this._changeDetectorRef.markForCheck();\n return (<HTMLElement>this._elementRef.nativeElement).innerHTML;\n };\n }\n}\n","<ng-template #tooltipContent [ngTemplateOutlet]=\"formatterTemplate\" [ngTemplateOutletContext]=\"_context\"></ng-template>\n","import {\n Component,\n Input,\n ContentChild,\n ViewChild,\n TemplateRef,\n ChangeDetectorRef,\n ElementRef,\n ChangeDetectionStrategy,\n OnChanges,\n OnDestroy,\n} from '@angular/core';\n\nimport { assignDefined, TdSeriesDirective } from '@covalent/echarts/base';\n\nimport { TdChartTooltipFormatterDirective, TdTooltipContext } from './tooltip.component';\n\n@Component({\n selector: 'td-chart-series-tooltip',\n templateUrl: './tooltip.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdSeriesTooltipComponent implements OnChanges, OnDestroy {\n private _state: any = {};\n\n _context: TdTooltipContext = new TdTooltipContext();\n\n @Input() config: any;\n\n @Input() formatter: any;\n // Parent tooltip trigger must be set to 'item' to render these properties\n @Input() position: string | string[] | number[];\n @Input() backgroundColor: string = 'rgba(50,50,50,0.7)';\n @Input() borderColor: string = '#333';\n @Input() borderWidth: number = 0;\n @Input() padding: number = 5;\n @Input() textStyle: any = {\n color: '#FFF',\n };\n @Input() extraCssText: string;\n\n @ContentChild(TdChartTooltipFormatterDirective, { read: TemplateRef, static: true })\n formatterTemplate: TemplateRef<any>;\n @ViewChild('tooltipContent', { static: true }) fullTemplate: TemplateRef<any>;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n private _seriesComponent: TdSeriesDirective,\n ) {}\n\n ngOnChanges(): void {\n this._setOptions();\n }\n\n ngOnDestroy(): void {\n this._removeOption();\n }\n\n private _setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n position: this.position,\n backgroundColor: this.backgroundColor,\n borderColor: this.borderColor,\n borderWidth: this.borderWidth,\n padding: this.padding,\n textStyle: this.textStyle,\n extraCssText: this.extraCssText,\n formatter: this.formatter ? this.formatter : this.formatterTemplate ? this._formatter() : undefined,\n },\n this.config ? this.config : {},\n );\n // set series tooltip configuration in parent chart and render new configurations\n this._seriesComponent.setStateOption('tooltip', config);\n }\n\n /**\n * Formatter for tooltip\n *\n */\n private _formatter(): (params: any, ticket: any, callback: (ticket: string, html: string) => void) => string {\n return (params: any, ticket: any, callback: (ticket: string, html: string) => void) => {\n this._context = {\n $implicit: params,\n ticket,\n };\n // timeout set since we need to set the HTML at the end of the angular lifecycle when\n // the tooltip delay is more than 0\n setTimeout(() => {\n callback(ticket, (<HTMLElement>this._elementRef.nativeElement).innerHTML);\n });\n this._changeDetectorRef.markForCheck();\n return (<HTMLElement>this._elementRef.nativeElement).innerHTML;\n };\n }\n\n private _removeOption(): void {\n this._seriesComponent.removeStateOption('tooltip');\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartTooltipComponent, TdChartTooltipFormatterDirective } from './tooltip.component';\nimport { TdSeriesTooltipComponent } from './series-tooltip.component';\n\nexport const TOOLTIP_MODULE_COMPONENTS: Type<any>[] = [\n TdChartTooltipComponent,\n TdChartTooltipFormatterDirective,\n TdSeriesTooltipComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TOOLTIP_MODULE_COMPONENTS],\n exports: [TOOLTIP_MODULE_COMPONENTS],\n})\nexport class CovalentTooltipEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAsBa,gBAAgB;CAG5B;MAKY,gCAAgC;;sJAAhC,gCAAgC;qIAAhC,gCAAgC;uFAAhC,gCAAgC;cAH5C,SAAS;eAAC;gBACT,QAAQ,EAAE,iCAAiC;aAC5C;;MAQY,uBAAuB;IAmClC,YACU,kBAAqC,EACrC,WAAuB,EACvB,eAAsC;QAFtC,uBAAkB,GAAlB,kBAAkB,CAAmB;QACrC,gBAAW,GAAX,WAAW,CAAY;QACvB,oBAAe,GAAf,eAAe,CAAuB;QArCxC,WAAM,GAAQ,EAAE,CAAC;QAEzB,aAAQ,GAAqB,IAAI,gBAAgB,EAAE,CAAC;QAE3C,WAAM,GAAQ,EAAE,CAAC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G,QAAQ;kBAAhB,KAAK;YACG,eAAe;kBAAvB,KAAK;YACG,WAAW;kBAAnB,KAAK;YACG,WAAW;kBAAnB,KAAK;YACG,OAAO;kBAAf,KAAK;YACG,SAAS;kBAAjB,KAAK;YAGG,YAAY;kBAApB,KAAK;YAGN,iBAAiB;kBADhB,YAAY;mBAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE;YAEpC,YAAY;kBAA1D,SAAS;mBAAC,gBAAgB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;;;MCrClC,yBAAyB,GAAgB;IACpD,uBAAuB;IACvB,gCAAgC;IAChC,wBAAwB;EACxB;MAOW,4BAA4B;;8IAA5B,4BAA4B;gIAA5B,4BAA4B;oIAJ9B,CAAC,YAAY,CAAC;uFAIZ,4BAA4B;cALxC,QAAQ;eAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,yBAAyB,CAAC;gBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;aACrC;;wFACY,4BAA4B,mBAVvC,uBAAuB;QACvB,gCAAgC;QAChC,wBAAwB,aAId,YAAY,aANtB,uBAAuB;QACvB,gCAAgC;QAChC,wBAAwB;;ACT1B;;;;;;"}
|
|
1
|
+
{"version":3,"file":"covalent-echarts-tooltip.mjs","sources":["../../../../libs/angular-echarts/tooltip/src/tooltip.component.ts","../../../../libs/angular-echarts/tooltip/src/tooltip.component.html","../../../../libs/angular-echarts/tooltip/src/series-tooltip.component.ts","../../../../libs/angular-echarts/tooltip/src/tooltip.module.ts","../../../../libs/angular-echarts/tooltip/src/covalent-echarts-tooltip.ts"],"sourcesContent":["import {\n Component,\n Input,\n Directive,\n TemplateRef,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n OnChanges,\n ContentChild,\n ViewChild,\n OnDestroy,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n assignDefined,\n TdTooltipTrigger,\n TdTooltipTriggerOn,\n TdTooltipPosition,\n} from '@covalent/echarts/base';\n\nexport class TdTooltipContext {\n $implicit: any;\n ticket!: string;\n}\n\n@Directive({\n selector: 'ng-template[tdTooltipFormatter]',\n})\nexport class TdChartTooltipFormatterDirective {}\n\n@Component({\n selector: 'td-chart-tooltip',\n templateUrl: './tooltip.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdChartTooltipComponent implements OnChanges, OnDestroy {\n private _state: any = {};\n\n _context: TdTooltipContext = new TdTooltipContext();\n\n @Input() config: any = {};\n\n @Input() show? = true;\n @Input() trigger?: TdTooltipTrigger = 'axis';\n @Input() axisPointer: any;\n @Input() showContent? = true;\n @Input() alwaysShowContent? = false;\n @Input() triggerOn?: TdTooltipTriggerOn = 'mousemove|click';\n @Input() showDelay? = 0;\n @Input() hideDelay? = 0;\n @Input() enterable? = false;\n @Input() renderMode?: 'html' | 'richText';\n @Input() confine = false;\n @Input() transitionDuration = 0.5;\n @Input() position?: TdTooltipPosition; // series\n @Input() formatter?: string | Function; // series\n @Input() backgroundColor? = 'rgba(50,50,50,0.7)'; // series\n @Input() borderColor? = '#333'; // series\n @Input() borderWidth? = 0; // series\n @Input() padding? = 5; // series\n @Input() textStyle: any = {\n // series\n color: '#FFF',\n };\n @Input() extraCssText?: string; // series\n\n @ContentChild(TdChartTooltipFormatterDirective, {\n read: TemplateRef,\n static: true,\n })\n formatterTemplate!: TemplateRef<any>;\n @ViewChild('tooltipContent', { static: true })\n fullTemplate!: TemplateRef<any>;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n private _optionsService: TdChartOptionsService\n ) {}\n\n ngOnChanges(): void {\n this._setOptions();\n }\n\n ngOnDestroy(): void {\n this._removeOption();\n }\n\n private _setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n show: this.show,\n trigger: this.trigger,\n axisPointer: this.axisPointer,\n showContent: this.showContent,\n alwaysShowContent: this.alwaysShowContent,\n triggerOn: this.triggerOn,\n showDelay: this.showDelay,\n hideDelay: this.hideDelay,\n enterable: this.enterable,\n confine: this.confine,\n transitionDuration: this.transitionDuration,\n position: this.position,\n formatter: this.formatter\n ? this.formatter\n : this.formatterTemplate\n ? this._formatter()\n : undefined,\n backgroundColor: this.backgroundColor,\n borderColor: this.borderColor,\n borderWidth: this.borderWidth,\n padding: this.padding,\n textStyle: this.textStyle,\n extraCssText: this.extraCssText,\n },\n this.config ? this.config : {}\n );\n // set tooltip configuration in parent chart and render new configurations\n this._optionsService.setOption('tooltip', config);\n }\n\n private _removeOption(): void {\n this._optionsService.clearOption('tooltip');\n }\n\n private _formatter(): (\n params: any,\n ticket: any,\n callback: (ticket: string, html: string) => void\n ) => string {\n return (\n params: any,\n ticket: any,\n callback: (ticket: string, html: string) => void\n ) => {\n this._context = {\n $implicit: params,\n ticket,\n };\n // timeout set since we need to set the HTML at the end of the angular lifecycle when\n // the tooltip delay is more than 0\n setTimeout(() => {\n callback(\n ticket,\n (<HTMLElement>this._elementRef.nativeElement).innerHTML\n );\n });\n this._changeDetectorRef.markForCheck();\n return (<HTMLElement>this._elementRef.nativeElement).innerHTML;\n };\n }\n}\n","<ng-template\n #tooltipContent\n [ngTemplateOutlet]=\"formatterTemplate\"\n [ngTemplateOutletContext]=\"_context\"\n></ng-template>\n","import {\n Component,\n Input,\n ContentChild,\n ViewChild,\n TemplateRef,\n ChangeDetectorRef,\n ElementRef,\n ChangeDetectionStrategy,\n OnChanges,\n OnDestroy,\n} from '@angular/core';\n\nimport { assignDefined, TdSeriesDirective } from '@covalent/echarts/base';\n\nimport {\n TdChartTooltipFormatterDirective,\n TdTooltipContext,\n} from './tooltip.component';\n\n@Component({\n selector: 'td-chart-series-tooltip',\n templateUrl: './tooltip.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdSeriesTooltipComponent implements OnChanges, OnDestroy {\n private _state: any = {};\n\n _context: TdTooltipContext = new TdTooltipContext();\n\n @Input() config?: any;\n\n @Input() formatter?: any;\n // Parent tooltip trigger must be set to 'item' to render these properties\n @Input() position?: string | string[] | number[];\n @Input() backgroundColor? = 'rgba(50,50,50,0.7)';\n @Input() borderColor? = '#333';\n @Input() borderWidth? = 0;\n @Input() padding? = 5;\n @Input() textStyle? = {\n color: '#FFF',\n };\n @Input() extraCssText?: string;\n\n @ContentChild(TdChartTooltipFormatterDirective, {\n read: TemplateRef,\n static: true,\n })\n formatterTemplate!: TemplateRef<any>;\n @ViewChild('tooltipContent', { static: true })\n fullTemplate!: TemplateRef<any>;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n private _seriesComponent: TdSeriesDirective\n ) {}\n\n ngOnChanges(): void {\n this._setOptions();\n }\n\n ngOnDestroy(): void {\n this._removeOption();\n }\n\n private _setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n position: this.position,\n backgroundColor: this.backgroundColor,\n borderColor: this.borderColor,\n borderWidth: this.borderWidth,\n padding: this.padding,\n textStyle: this.textStyle,\n extraCssText: this.extraCssText,\n formatter: this.formatter\n ? this.formatter\n : this.formatterTemplate\n ? this._formatter()\n : undefined,\n },\n this.config ? this.config : {}\n );\n // set series tooltip configuration in parent chart and render new configurations\n this._seriesComponent.setStateOption('tooltip', config);\n }\n\n /**\n * Formatter for tooltip\n *\n */\n private _formatter(): (\n params: any,\n ticket: any,\n callback: (ticket: string, html: string) => void\n ) => string {\n return (\n params: any,\n ticket: any,\n callback: (ticket: string, html: string) => void\n ) => {\n this._context = {\n $implicit: params,\n ticket,\n };\n // timeout set since we need to set the HTML at the end of the angular lifecycle when\n // the tooltip delay is more than 0\n setTimeout(() => {\n callback(\n ticket,\n (<HTMLElement>this._elementRef.nativeElement).innerHTML\n );\n });\n this._changeDetectorRef.markForCheck();\n return (<HTMLElement>this._elementRef.nativeElement).innerHTML;\n };\n }\n\n private _removeOption(): void {\n this._seriesComponent.removeStateOption('tooltip');\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport {\n TdChartTooltipComponent,\n TdChartTooltipFormatterDirective,\n} from './tooltip.component';\nimport { TdSeriesTooltipComponent } from './series-tooltip.component';\n\nexport const TOOLTIP_MODULE_COMPONENTS: Type<any>[] = [\n TdChartTooltipComponent,\n TdChartTooltipFormatterDirective,\n TdSeriesTooltipComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TOOLTIP_MODULE_COMPONENTS],\n exports: [TOOLTIP_MODULE_COMPONENTS],\n})\nexport class CovalentTooltipEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;MAsBa,gBAAgB;CAG5B;MAKY,gCAAgC;;6HAAhC,gCAAgC;iHAAhC,gCAAgC;2FAAhC,gCAAgC;kBAH5C,SAAS;mBAAC;oBACT,QAAQ,EAAE,iCAAiC;iBAC5C;;MAQY,uBAAuB;IAuClC,YACU,kBAAqC,EACrC,WAAuB,EACvB,eAAsC;QAFtC,uBAAkB,GAAlB,kBAAkB,CAAmB;QACrC,gBAAW,GAAX,WAAW,CAAY;QACvB,oBAAe,GAAf,eAAe,CAAuB;QAzCxC,WAAM,GAAQ,EAAE,CAAC;QAEzB,aAAQ,GAAqB,IAAI,gBAAgB,EAAE,CAAC;QAE3C,WAAM,GAAQ,EAAE,CAAC;QAEjB,SAAI,GAAI,IAAI,CAAC;QACb,YAAO,GAAsB,MAAM,CAAC;QAEpC,gBAAW,GAAI,IAAI,CAAC;QACpB,sBAAiB,GAAI,KAAK,CAAC;QAC3B,cAAS,GAAwB,iBAAiB,CAAC;QACnD,cAAS,GAAI,CAAC,CAAC;QACf,cAAS,GAAI,CAAC,CAAC;QACf,cAAS,GAAI,KAAK,CAAC;QAEnB,YAAO,GAAG,KAAK,CAAC;QAChB,uBAAkB,GAAG,GAAG,CAAC;QAGzB,oBAAe,GAAI,oBAAoB,CAAC;QACxC,gBAAW,GAAI,MAAM,CAAC;QACtB,g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4BAA4B;;yHAA5B,4BAA4B;0HAA5B,4BAA4B,iBAVvC,uBAAuB;QACvB,gCAAgC;QAChC,wBAAwB,aAId,YAAY,aANtB,uBAAuB;QACvB,gCAAgC;QAChC,wBAAwB;0HAQb,4BAA4B,YAJ9B,CAAC,YAAY,CAAC;2FAIZ,4BAA4B;kBALxC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,yBAAyB,CAAC;oBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;iBACrC;;;ACnBD;;;;;;"}
|
|
@@ -4,7 +4,6 @@ import { CommonModule } from '@angular/common';
|
|
|
4
4
|
import * as i1 from '@covalent/echarts/base';
|
|
5
5
|
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
6
6
|
|
|
7
|
-
const _c0 = ["td-tree", ""];
|
|
8
7
|
class TdChartSeriesTreeComponent extends TdSeriesDirective {
|
|
9
8
|
constructor(_optionsService) {
|
|
10
9
|
super('tree', _optionsService);
|
|
@@ -36,103 +35,102 @@ class TdChartSeriesTreeComponent extends TdSeriesDirective {
|
|
|
36
35
|
};
|
|
37
36
|
}
|
|
38
37
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
(
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
38
|
+
TdChartSeriesTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesTreeComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
+
TdChartSeriesTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartSeriesTreeComponent, selector: "td-chart-series[td-tree]", inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", zlevel: "zlevel", z: "z", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height", layout: "layout", orient: "orient", symbol: "symbol", symbolSize: "symbolSize", symbolRotate: "symbolRotate", symbolKeepAspect: "symbolKeepAspect", roam: "roam", expandAndCollapse: "expandAndCollapse", initialTreeDepth: "initialTreeDepth", itemStyle: "itemStyle", label: "label", lineStyle: "lineStyle", leaves: "leaves", emphasis: "emphasis" }, providers: [
|
|
40
|
+
{
|
|
41
|
+
provide: TdSeriesDirective,
|
|
42
|
+
useExisting: forwardRef(() => TdChartSeriesTreeComponent),
|
|
43
|
+
},
|
|
44
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesTreeComponent, decorators: [{
|
|
46
|
+
type: Component,
|
|
47
|
+
args: [{
|
|
48
|
+
selector: 'td-chart-series[td-tree]',
|
|
49
|
+
template: '',
|
|
50
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
51
|
+
inputs: [
|
|
52
|
+
'config',
|
|
53
|
+
'id',
|
|
54
|
+
'name',
|
|
55
|
+
'color',
|
|
56
|
+
'data',
|
|
57
|
+
'animation',
|
|
58
|
+
'animationThreshold',
|
|
59
|
+
'animationDuration',
|
|
60
|
+
'animationEasing',
|
|
61
|
+
'animationDelay',
|
|
62
|
+
'animationDurationUpdate',
|
|
63
|
+
'animationEasingUpdate',
|
|
64
|
+
'animationDelayUpdate',
|
|
65
|
+
'tooltip',
|
|
66
|
+
],
|
|
67
|
+
providers: [
|
|
68
|
+
{
|
|
69
|
+
provide: TdSeriesDirective,
|
|
70
|
+
useExisting: forwardRef(() => TdChartSeriesTreeComponent),
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
}]
|
|
74
|
+
}], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { zlevel: [{
|
|
75
|
+
type: Input
|
|
76
|
+
}], z: [{
|
|
77
|
+
type: Input
|
|
78
|
+
}], left: [{
|
|
79
|
+
type: Input
|
|
80
|
+
}], top: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}], right: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}], bottom: [{
|
|
85
|
+
type: Input
|
|
86
|
+
}], width: [{
|
|
87
|
+
type: Input
|
|
88
|
+
}], height: [{
|
|
89
|
+
type: Input
|
|
90
|
+
}], layout: [{
|
|
91
|
+
type: Input
|
|
92
|
+
}], orient: [{
|
|
93
|
+
type: Input
|
|
94
|
+
}], symbol: [{
|
|
95
|
+
type: Input
|
|
96
|
+
}], symbolSize: [{
|
|
97
|
+
type: Input
|
|
98
|
+
}], symbolRotate: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], symbolKeepAspect: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], roam: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}], expandAndCollapse: [{
|
|
105
|
+
type: Input
|
|
106
|
+
}], initialTreeDepth: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}], itemStyle: [{
|
|
109
|
+
type: Input
|
|
110
|
+
}], label: [{
|
|
111
|
+
type: Input
|
|
112
|
+
}], lineStyle: [{
|
|
113
|
+
type: Input
|
|
114
|
+
}], leaves: [{
|
|
115
|
+
type: Input
|
|
116
|
+
}], emphasis: [{
|
|
117
|
+
type: Input
|
|
118
|
+
}] } });
|
|
120
119
|
|
|
121
120
|
const TREE_MODULE_COMPONENTS = [TdChartSeriesTreeComponent];
|
|
122
121
|
class CovalentTreeEchartsModule {
|
|
123
122
|
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
(
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentTreeEchartsModule, { declarations: [TdChartSeriesTreeComponent], imports: [CommonModule], exports: [TdChartSeriesTreeComponent] }); })();
|
|
123
|
+
CovalentTreeEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreeEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
124
|
+
CovalentTreeEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreeEchartsModule, declarations: [TdChartSeriesTreeComponent], imports: [CommonModule], exports: [TdChartSeriesTreeComponent] });
|
|
125
|
+
CovalentTreeEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreeEchartsModule, imports: [[CommonModule]] });
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreeEchartsModule, decorators: [{
|
|
127
|
+
type: NgModule,
|
|
128
|
+
args: [{
|
|
129
|
+
imports: [CommonModule],
|
|
130
|
+
declarations: [TREE_MODULE_COMPONENTS],
|
|
131
|
+
exports: [TREE_MODULE_COMPONENTS],
|
|
132
|
+
}]
|
|
133
|
+
}] });
|
|
136
134
|
|
|
137
135
|
/**
|
|
138
136
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-tree.mjs","sources":["../../../../
|
|
1
|
+
{"version":3,"file":"covalent-echarts-tree.mjs","sources":["../../../../libs/angular-echarts/tree/src/tree.component.ts","../../../../libs/angular-echarts/tree/src/tree.module.ts","../../../../libs/angular-echarts/tree/src/covalent-echarts-tree.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\n TdMarkPointSymbol,\n ITdLabel,\n ITdLineStyle,\n ITdSeries,\n TdSeriesDirective,\n ITdEmphasis,\n ITdShadow,\n} from '@covalent/echarts/base';\n\n/**\n * ECHART OPTION DOCS\n * https://ecomfe.github.io/echarts-doc/public/en/option.html#series-tree\n *\n */\n\n/**\n * LR - from left to right\n * RL - from right to left\n * TB - from top to bottom\n * BT - from bottom to top\n */\nexport type TdTreeOrient = 'LR' | 'RL' | 'TB' | 'BT';\n\nexport type TdTreeLayout = 'orthogonal' | 'radial';\n\nexport interface ITdTreeEmphasisLineStyle extends ITdShadow {\n color?: any;\n width?: number;\n curveness?: number;\n}\n\nexport interface ITdTreeEmphasis extends ITdEmphasis {\n lineStyle: ITdTreeEmphasisLineStyle;\n}\n\nexport interface ITdTreeLeaves {\n label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n emphasis?: ITdEmphasis;\n}\n\ninterface ITdTreeSeries extends ITdSeries {\n zlevel?: number;\n z?: number;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n width?: string | number;\n height?: string | number;\n layout?: TdTreeLayout;\n orient?: TdTreeOrient;\n symbol?: TdMarkPointSymbol | string; // string added for custom SVG, URL or dataURI\n symbolSize?: number;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n roam?: boolean | string;\n expandAndCollapse?: boolean;\n initialTreeDepth?: number;\n itemStyle?: ITdItemStyle;\n label?: ITdLabel;\n lineStyle?: ITdLineStyle;\n leaves?: ITdTreeLeaves;\n emphasis?: ITdTreeEmphasis;\n data?: any[];\n}\n\n@Component({\n selector: 'td-chart-series[td-tree]',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: [\n 'config',\n 'id',\n 'name',\n 'color',\n 'data',\n\n 'animation',\n 'animationThreshold',\n 'animationDuration',\n 'animationEasing',\n 'animationDelay',\n 'animationDurationUpdate',\n 'animationEasingUpdate',\n 'animationDelayUpdate',\n 'tooltip',\n ],\n providers: [\n {\n provide: TdSeriesDirective,\n useExisting: forwardRef(() => TdChartSeriesTreeComponent),\n },\n ],\n})\nexport class TdChartSeriesTreeComponent\n extends TdSeriesDirective\n implements ITdTreeSeries\n{\n @Input() zlevel?: number;\n @Input() z?: number;\n @Input() left?: string | number;\n @Input() top?: string | number;\n @Input() right?: string | number;\n @Input() bottom?: string | number;\n @Input() width?: string | number;\n @Input() height?: string | number;\n @Input() layout?: TdTreeLayout;\n @Input() orient?: TdTreeOrient;\n @Input() symbol?: TdMarkPointSymbol | string; // string added for custom SVG, URL or dataURI\n @Input() symbolSize?: number; // string added for custom SVG, URL or dataURI\n @Input() symbolRotate?: number;\n @Input() symbolKeepAspect?: boolean;\n @Input() roam?: boolean | string;\n @Input() expandAndCollapse?: boolean;\n @Input() initialTreeDepth?: number;\n @Input() itemStyle?: ITdItemStyle;\n @Input() label?: ITdLabel;\n @Input() lineStyle?: ITdLineStyle;\n @Input() leaves?: ITdTreeLeaves;\n @Input() emphasis?: ITdTreeEmphasis;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('tree', _optionsService);\n }\n\n getConfig(): any {\n return {\n zlevel: this.zlevel,\n z: this.z,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n width: this.width,\n height: this.height,\n layout: this.layout,\n orient: this.orient,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n roam: this.roam,\n expandAndCollapse: this.expandAndCollapse,\n initialTreeDepth: this.initialTreeDepth,\n itemStyle: this.itemStyle,\n label: this.label,\n lineStyle: this.lineStyle,\n leaves: this.leaves,\n emphasis: this.emphasis,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesTreeComponent } from './tree.component';\n\nexport const TREE_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesTreeComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TREE_MODULE_COMPONENTS],\n exports: [TREE_MODULE_COMPONENTS],\n})\nexport class CovalentTreeEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MA0Ga,0BACX,SAAQ,iBAAiB;IA0BzB,YAAY,eAAsC;QAChD,KAAK,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;KAChC;IAED,SAAS;QACP,OAAO;YACL,MAAM,EAAE,IAAI,CAAC,MAAM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ective } from '@covalent/echarts/base';
|
|
6
6
|
|
|
7
|
-
const _c0 = ["td-treemap", ""];
|
|
8
7
|
class TdChartSeriesTreemapComponent extends TdSeriesDirective {
|
|
9
8
|
constructor(_optionsService) {
|
|
10
9
|
super('treemap', _optionsService);
|
|
@@ -44,127 +43,128 @@ class TdChartSeriesTreemapComponent extends TdSeriesDirective {
|
|
|
44
43
|
};
|
|
45
44
|
}
|
|
46
45
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
(
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
46
|
+
TdChartSeriesTreemapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesTreemapComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
47
|
+
TdChartSeriesTreemapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartSeriesTreemapComponent, selector: "td-chart-series[td-treemap]", inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", zlevel: "zlevel", z: "z", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height", squareRatio: "squareRatio", leafDepth: "leafDepth", drillDownIcon: "drillDownIcon", roam: "roam", nodeClick: "nodeClick", zoomToNodeRatio: "zoomToNodeRatio", levels: "levels", silent: "silent", visualDimension: "visualDimension", visualMin: "visualMin", visualMax: "visualMax", colorAlpha: "colorAlpha", colorSaturation: "colorSaturation", colorMappingBy: "colorMappingBy", visibleMin: "visibleMin", childrenVisibleMin: "childrenVisibleMin", itemStyle: "itemStyle", label: "label", upperLabel: "upperLabel", breadcrumb: "breadcrumb", emphasis: "emphasis" }, providers: [
|
|
48
|
+
{
|
|
49
|
+
provide: TdSeriesDirective,
|
|
50
|
+
useExisting: forwardRef(() => TdChartSeriesTreemapComponent),
|
|
51
|
+
},
|
|
52
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesTreemapComponent, decorators: [{
|
|
54
|
+
type: Component,
|
|
55
|
+
args: [{
|
|
56
|
+
selector: 'td-chart-series[td-treemap]',
|
|
57
|
+
template: '',
|
|
58
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
59
|
+
inputs: [
|
|
60
|
+
'config',
|
|
61
|
+
'id',
|
|
62
|
+
'name',
|
|
63
|
+
'color',
|
|
64
|
+
'data',
|
|
65
|
+
'animation',
|
|
66
|
+
'animationThreshold',
|
|
67
|
+
'animationDuration',
|
|
68
|
+
'animationEasing',
|
|
69
|
+
'animationDelay',
|
|
70
|
+
'animationDurationUpdate',
|
|
71
|
+
'animationEasingUpdate',
|
|
72
|
+
'animationDelayUpdate',
|
|
73
|
+
'tooltip',
|
|
74
|
+
],
|
|
75
|
+
providers: [
|
|
76
|
+
{
|
|
77
|
+
provide: TdSeriesDirective,
|
|
78
|
+
useExisting: forwardRef(() => TdChartSeriesTreemapComponent),
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
}]
|
|
82
|
+
}], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { config: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}], id: [{
|
|
85
|
+
type: Input
|
|
86
|
+
}], name: [{
|
|
87
|
+
type: Input
|
|
88
|
+
}], data: [{
|
|
89
|
+
type: Input
|
|
90
|
+
}], zlevel: [{
|
|
91
|
+
type: Input
|
|
92
|
+
}], z: [{
|
|
93
|
+
type: Input
|
|
94
|
+
}], left: [{
|
|
95
|
+
type: Input
|
|
96
|
+
}], top: [{
|
|
97
|
+
type: Input
|
|
98
|
+
}], right: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], bottom: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], width: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}], height: [{
|
|
105
|
+
type: Input
|
|
106
|
+
}], squareRatio: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}], leafDepth: [{
|
|
109
|
+
type: Input
|
|
110
|
+
}], drillDownIcon: [{
|
|
111
|
+
type: Input
|
|
112
|
+
}], roam: [{
|
|
113
|
+
type: Input
|
|
114
|
+
}], nodeClick: [{
|
|
115
|
+
type: Input
|
|
116
|
+
}], zoomToNodeRatio: [{
|
|
117
|
+
type: Input
|
|
118
|
+
}], levels: [{
|
|
119
|
+
type: Input
|
|
120
|
+
}], silent: [{
|
|
121
|
+
type: Input
|
|
122
|
+
}], visualDimension: [{
|
|
123
|
+
type: Input
|
|
124
|
+
}], visualMin: [{
|
|
125
|
+
type: Input
|
|
126
|
+
}], visualMax: [{
|
|
127
|
+
type: Input
|
|
128
|
+
}], colorAlpha: [{
|
|
129
|
+
type: Input
|
|
130
|
+
}], colorSaturation: [{
|
|
131
|
+
type: Input
|
|
132
|
+
}], colorMappingBy: [{
|
|
133
|
+
type: Input
|
|
134
|
+
}], visibleMin: [{
|
|
135
|
+
type: Input
|
|
136
|
+
}], childrenVisibleMin: [{
|
|
137
|
+
type: Input
|
|
138
|
+
}], itemStyle: [{
|
|
139
|
+
type: Input
|
|
140
|
+
}], label: [{
|
|
141
|
+
type: Input
|
|
142
|
+
}], upperLabel: [{
|
|
143
|
+
type: Input
|
|
144
|
+
}], breadcrumb: [{
|
|
145
|
+
type: Input
|
|
146
|
+
}], emphasis: [{
|
|
147
|
+
type: Input
|
|
148
|
+
}], tooltip: [{
|
|
149
|
+
type: Input
|
|
150
|
+
}] } });
|
|
152
151
|
|
|
153
|
-
const TREEMAP_MODULE_COMPONENTS = [
|
|
152
|
+
const TREEMAP_MODULE_COMPONENTS = [
|
|
153
|
+
TdChartSeriesTreemapComponent,
|
|
154
|
+
];
|
|
154
155
|
class CovalentTreemapEchartsModule {
|
|
155
156
|
}
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
(
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentTreemapEchartsModule, { declarations: [TdChartSeriesTreemapComponent], imports: [CommonModule], exports: [TdChartSeriesTreemapComponent] }); })();
|
|
157
|
+
CovalentTreemapEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreemapEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
158
|
+
CovalentTreemapEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreemapEchartsModule, declarations: [TdChartSeriesTreemapComponent], imports: [CommonModule], exports: [TdChartSeriesTreemapComponent] });
|
|
159
|
+
CovalentTreemapEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreemapEchartsModule, imports: [[CommonModule]] });
|
|
160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreemapEchartsModule, decorators: [{
|
|
161
|
+
type: NgModule,
|
|
162
|
+
args: [{
|
|
163
|
+
imports: [CommonModule],
|
|
164
|
+
declarations: [TREEMAP_MODULE_COMPONENTS],
|
|
165
|
+
exports: [TREEMAP_MODULE_COMPONENTS],
|
|
166
|
+
}]
|
|
167
|
+
}] });
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
170
|
* Generated bundle index. Do not edit.
|