@covalent/echarts
Version:
Teradata Charts built on echarts
133 lines (126 loc) • 4.9 kB
JavaScript
import { CommonModule } from '@angular/common';
import 'echarts/lib/chart/tree';
import { __extends } from 'tslib';
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
*/
var TdChartSeriesTreeComponent = /** @class */ (function (_super) {
__extends(TdChartSeriesTreeComponent, _super);
function TdChartSeriesTreeComponent(_optionsService) {
return _super.call(this, 'tree', _optionsService) || this;
}
/**
* @return {?}
*/
TdChartSeriesTreeComponent.prototype.getConfig = /**
* @return {?}
*/
function () {
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(function () { return TdChartSeriesTreeComponent; }),
}]
}] }
];
/** @nocollapse */
TdChartSeriesTreeComponent.ctorParameters = function () { return [
{ 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',] }]
};
return TdChartSeriesTreeComponent;
}(TdSeriesComponent));
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
*/
/** @type {?} */
var TREE_MODULE_COMPONENTS = [
TdChartSeriesTreeComponent,
];
var CovalentTreeEchartsModule = /** @class */ (function () {
function CovalentTreeEchartsModule() {
}
CovalentTreeEchartsModule.decorators = [
{ type: NgModule, args: [{
imports: [
CommonModule,
],
declarations: [
TREE_MODULE_COMPONENTS,
],
exports: [
TREE_MODULE_COMPONENTS,
],
},] }
];
return CovalentTreeEchartsModule;
}());
/**
* @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