UNPKG

@covalent/echarts

Version:

Teradata UI Platform Echarts Module

211 lines (206 loc) 9.62 kB
import * as i0 from '@angular/core'; import { forwardRef, Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import * as i1 from '@covalent/echarts/base'; import { TdSeriesDirective } from '@covalent/echarts/base'; class TdChartSeriesGraphComponent extends TdSeriesDirective { constructor(_optionsService) { super('graph', _optionsService); } getConfig() { return { legendHoverLink: this.legendHoverLink, coordinateSystem: this.coordinateSystem, xAxisIndex: this.xAxisIndex, yAxisIndex: this.yAxisIndex, polarIndex: this.polarIndex, calendarIndex: this.calendarIndex, geoIndex: this.geoIndex, hoverAnimation: this.hoverAnimation, circular: this.circular, force: this.force, layout: this.layout, nodeScaleRatio: this.nodeScaleRatio, draggable: this.draggable, symbol: this.symbol, symbolSize: this.symbolSize, symbolRotate: this.symbolRotate, symbolKeepAspect: this.symbolKeepAspect, symbolOffset: this.symbolOffset, focusNodeAdjacency: this.focusNodeAdjacency, edgeSymbol: this.edgeSymbol, edgeSymbolSize: this.edgeSymbolSize, cursor: this.cursor, roam: this.roam, itemStyle: this.itemStyle, lineStyle: this.lineStyle, label: this.label, edgeLabel: this.edgeLabel, emphasis: this.emphasis, categories: this.categories, nodes: this.nodes, links: this.links, edges: this.edges, markPoint: this.markPoint, markLine: this.markLine, markArea: this.markArea, zlevel: this.zlevel, z: this.z, silent: this.silent, left: this.left, top: this.top, right: this.right, bottom: this.bottom, width: this.width, height: this.height, }; } } TdChartSeriesGraphComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartSeriesGraphComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component }); TdChartSeriesGraphComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TdChartSeriesGraphComponent, selector: "td-chart-series[td-graph]", 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", legendHoverLink: "legendHoverLink", coordinateSystem: "coordinateSystem", xAxisIndex: "xAxisIndex", yAxisIndex: "yAxisIndex", polarIndex: "polarIndex", calendarIndex: "calendarIndex", geoIndex: "geoIndex", hoverAnimation: "hoverAnimation", circular: "circular", force: "force", layout: "layout", nodeScaleRatio: "nodeScaleRatio", draggable: "draggable", symbol: "symbol", symbolSize: "symbolSize", symbolRotate: "symbolRotate", symbolKeepAspect: "symbolKeepAspect", symbolOffset: "symbolOffset", focusNodeAdjacency: "focusNodeAdjacency", edgeSymbol: "edgeSymbol", edgeSymbolSize: "edgeSymbolSize", cursor: "cursor", roam: "roam", initialTreeDepth: "initialTreeDepth", itemStyle: "itemStyle", lineStyle: "lineStyle", label: "label", edgeLabel: "edgeLabel", emphasis: "emphasis", categories: "categories", nodes: "nodes", links: "links", edges: "edges", markPoint: "markPoint", markLine: "markLine", markArea: "markArea", zlevel: "zlevel", z: "z", silent: "silent", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height" }, providers: [ { provide: TdSeriesDirective, useExisting: forwardRef(() => TdChartSeriesGraphComponent), }, ], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartSeriesGraphComponent, decorators: [{ type: Component, args: [{ selector: 'td-chart-series[td-graph]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [ 'config', 'id', 'name', 'color', 'data', 'animation', 'animationThreshold', 'animationDuration', 'animationEasing', 'animationDelay', 'animationDurationUpdate', 'animationEasingUpdate', 'animationDelayUpdate', 'tooltip', ], providers: [ { provide: TdSeriesDirective, useExisting: forwardRef(() => TdChartSeriesGraphComponent), }, ], }] }], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { legendHoverLink: [{ type: Input }], coordinateSystem: [{ type: Input }], xAxisIndex: [{ type: Input }], yAxisIndex: [{ type: Input }], polarIndex: [{ type: Input }], calendarIndex: [{ type: Input }], geoIndex: [{ type: Input }], hoverAnimation: [{ type: Input }], circular: [{ type: Input }], force: [{ type: Input }], layout: [{ type: Input }], nodeScaleRatio: [{ type: Input }], draggable: [{ type: Input }], symbol: [{ type: Input }], symbolSize: [{ type: Input }], symbolRotate: [{ type: Input }], symbolKeepAspect: [{ type: Input }], symbolOffset: [{ type: Input }], focusNodeAdjacency: [{ type: Input }], edgeSymbol: [{ type: Input }], edgeSymbolSize: [{ type: Input }], cursor: [{ type: Input }], roam: [{ type: Input }], initialTreeDepth: [{ type: Input }], itemStyle: [{ type: Input }], lineStyle: [{ type: Input }], label: [{ type: Input }], edgeLabel: [{ type: Input }], emphasis: [{ type: Input }], categories: [{ type: Input }], nodes: [{ type: Input }], links: [{ type: Input }], edges: [{ type: Input }], markPoint: [{ type: Input }], markLine: [{ type: Input }], markArea: [{ type: Input }], zlevel: [{ type: Input }], z: [{ type: Input }], silent: [{ type: Input }], left: [{ type: Input }], top: [{ type: Input }], right: [{ type: Input }], bottom: [{ type: Input }], width: [{ type: Input }], height: [{ type: Input }] } }); const GRAPH_MODULE_COMPONENTS = [ TdChartSeriesGraphComponent, ]; class CovalentGraphEchartsModule { } CovalentGraphEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentGraphEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); CovalentGraphEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CovalentGraphEchartsModule, declarations: [TdChartSeriesGraphComponent], imports: [CommonModule], exports: [TdChartSeriesGraphComponent] }); CovalentGraphEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentGraphEchartsModule, imports: [CommonModule] }); i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentGraphEchartsModule, decorators: [{ type: NgModule, args: [{ imports: [CommonModule], declarations: [GRAPH_MODULE_COMPONENTS], exports: [GRAPH_MODULE_COMPONENTS], }] }] }); /** * Generated bundle index. Do not edit. */ export { CovalentGraphEchartsModule, GRAPH_MODULE_COMPONENTS, TdChartSeriesGraphComponent }; //# sourceMappingURL=covalent-echarts-graph.mjs.map