UNPKG

@covalent/echarts

Version:
127 lines (120 loc) 4.3 kB
import { CommonModule } from '@angular/common'; import 'echarts/lib/chart/tree'; import { Component, Input, ChangeDetectionStrategy, forwardRef, NgModule } from '@angular/core'; import { TdChartOptionsService, TdSeriesComponent } from '@covalent/echarts/base'; /** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc */ class TdChartSeriesTreeComponent extends TdSeriesComponent { /** * @param {?} _optionsService */ constructor(_optionsService) { super('tree', _optionsService); } /** * @return {?} */ 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, layout: this.layout, orient: this.orient, symbol: this.symbol, symbolSize: this.symbolSize, symbolRotate: this.symbolRotate, symbolKeepAspect: this.symbolKeepAspect, roam: this.roam, expandAndCollapse: this.expandAndCollapse, initialTreeDepth: this.initialTreeDepth, itemStyle: this.itemStyle, label: this.label, lineStyle: this.lineStyle, leaves: this.leaves, emphasis: this.emphasis, }; } } TdChartSeriesTreeComponent.decorators = [ { type: Component, args: [{ selector: 'td-chart-series[td-tree]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: TdSeriesComponent, useExisting: forwardRef(() => TdChartSeriesTreeComponent), }] }] } ]; /** @nocollapse */ TdChartSeriesTreeComponent.ctorParameters = () => [ { type: TdChartOptionsService } ]; TdChartSeriesTreeComponent.propDecorators = { zlevel: [{ type: Input, args: ['zlevel',] }], z: [{ type: Input, args: ['z',] }], left: [{ type: Input, args: ['left',] }], top: [{ type: Input, args: ['top',] }], right: [{ type: Input, args: ['right',] }], bottom: [{ type: Input, args: ['bottom',] }], width: [{ type: Input, args: ['width',] }], height: [{ type: Input, args: ['height',] }], layout: [{ type: Input, args: ['layout',] }], orient: [{ type: Input, args: ['orient',] }], symbol: [{ type: Input, args: ['symbol',] }], symbolSize: [{ type: Input, args: ['symbolSize',] }], symbolRotate: [{ type: Input, args: ['symbolRotate',] }], symbolKeepAspect: [{ type: Input, args: ['symbolKeepAspect',] }], roam: [{ type: Input, args: ['roam',] }], expandAndCollapse: [{ type: Input, args: ['expandAndCollapse',] }], initialTreeDepth: [{ type: Input, args: ['initialTreeDepth',] }], itemStyle: [{ type: Input, args: ['itemStyle',] }], label: [{ type: Input, args: ['label',] }], lineStyle: [{ type: Input, args: ['lineStyle',] }], leaves: [{ type: Input, args: ['leaves',] }], emphasis: [{ type: Input, args: ['emphasis',] }] }; /** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc */ /** @type {?} */ const TREE_MODULE_COMPONENTS = [ TdChartSeriesTreeComponent, ]; class CovalentTreeEchartsModule { } CovalentTreeEchartsModule.decorators = [ { type: NgModule, args: [{ imports: [ CommonModule, ], declarations: [ TREE_MODULE_COMPONENTS, ], exports: [ TREE_MODULE_COMPONENTS, ], },] } ]; /** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc */ export { TREE_MODULE_COMPONENTS, CovalentTreeEchartsModule, TdChartSeriesTreeComponent }; //# sourceMappingURL=covalent-echarts-tree.js.map