UNPKG

@covalent/echarts

Version:

Teradata UI Platform Echarts Module

143 lines (138 loc) 6.75 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 TdChartSeriesSankeyComponent extends TdSeriesDirective { constructor(_optionsService) { super('sankey', _optionsService); } getConfig() { return { zlevel: this.zlevel, z: this.z, left: this.left, top: this.top, right: this.right, bottom: this.bottom, width: this.width, height: this.height, nodeWidth: this.nodeWidth, nodeGap: this.nodeGap, layoutIterations: this.layoutIterations, orient: this.orient, draggable: this.draggable, focusNodeAdjacency: this.focusNodeAdjacency, label: this.label, itemStyle: this.itemStyle, lineStyle: this.lineStyle, emphasis: this.emphasis, nodes: this.nodes, links: this.links, edges: this.edges, silent: this.silent, }; } } TdChartSeriesSankeyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartSeriesSankeyComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component }); TdChartSeriesSankeyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TdChartSeriesSankeyComponent, selector: "td-chart-series[td-sankey]", 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", nodeWidth: "nodeWidth", nodeGap: "nodeGap", layoutIterations: "layoutIterations", orient: "orient", draggable: "draggable", focusNodeAdjacency: "focusNodeAdjacency", label: "label", itemStyle: "itemStyle", lineStyle: "lineStyle", emphasis: "emphasis", nodes: "nodes", links: "links", edges: "edges", silent: "silent" }, providers: [ { provide: TdSeriesDirective, useExisting: forwardRef(() => TdChartSeriesSankeyComponent), }, ], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartSeriesSankeyComponent, decorators: [{ type: Component, args: [{ selector: 'td-chart-series[td-sankey]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [ 'config', 'id', 'name', 'color', 'data', 'animation', 'animationThreshold', 'animationDuration', 'animationEasing', 'animationDelay', 'animationDurationUpdate', 'animationEasingUpdate', 'animationDelayUpdate', 'tooltip', ], providers: [ { provide: TdSeriesDirective, useExisting: forwardRef(() => TdChartSeriesSankeyComponent), }, ], }] }], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { zlevel: [{ type: Input }], z: [{ type: Input }], left: [{ type: Input }], top: [{ type: Input }], right: [{ type: Input }], bottom: [{ type: Input }], width: [{ type: Input }], height: [{ type: Input }], nodeWidth: [{ type: Input }], nodeGap: [{ type: Input }], layoutIterations: [{ type: Input }], orient: [{ type: Input }], draggable: [{ type: Input }], focusNodeAdjacency: [{ type: Input }], label: [{ type: Input }], itemStyle: [{ type: Input }], lineStyle: [{ type: Input }], emphasis: [{ type: Input }], nodes: [{ type: Input }], links: [{ type: Input }], edges: [{ type: Input }], silent: [{ type: Input }] } }); const SANKEY_MODULE_COMPONENTS = [ TdChartSeriesSankeyComponent, ]; class CovalentSankeyEchartsModule { } CovalentSankeyEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentSankeyEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); CovalentSankeyEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CovalentSankeyEchartsModule, declarations: [TdChartSeriesSankeyComponent], imports: [CommonModule], exports: [TdChartSeriesSankeyComponent] }); CovalentSankeyEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentSankeyEchartsModule, imports: [CommonModule] }); i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentSankeyEchartsModule, decorators: [{ type: NgModule, args: [{ imports: [CommonModule], declarations: [SANKEY_MODULE_COMPONENTS], exports: [SANKEY_MODULE_COMPONENTS], }] }] }); /** * Generated bundle index. Do not edit. */ export { CovalentSankeyEchartsModule, SANKEY_MODULE_COMPONENTS, TdChartSeriesSankeyComponent }; //# sourceMappingURL=covalent-echarts-sankey.mjs.map