UNPKG

@covalent/echarts

Version:

Teradata UI Platform Echarts Module

137 lines (132 loc) 5.97 kB
import * as i0 from '@angular/core'; import { inject, forwardRef, ChangeDetectionStrategy, Component, Input, NgModule } from '@angular/core'; import { TdSeriesDirective, TdChartOptionsService } from '@covalent/echarts/base'; const _c0 = ["td-wordCloud", ""]; class TdChartSeriesWordcloudComponent extends TdSeriesDirective { data; shape; left; top; width; height; right; bottom; sizeRange; rotationRange; rotationStep; gridSize; drawOutOfBound; textStyle; constructor() { const _optionsService = inject(TdChartOptionsService); super('wordCloud', _optionsService); } getConfig() { return { shape: this.shape, left: this.left, top: this.top, width: this.width, height: this.height, right: this.right, bottom: this.bottom, sizeRange: this.sizeRange, rotationRange: this.rotationRange, rotationStep: this.rotationStep, gridSize: this.gridSize, drawOutOfBound: this.drawOutOfBound, textStyle: this.textStyle, }; } static ɵfac = function TdChartSeriesWordcloudComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdChartSeriesWordcloudComponent)(); }; static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdChartSeriesWordcloudComponent, selectors: [["td-chart-series", "td-wordCloud", ""]], 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", shape: "shape", left: "left", top: "top", width: "width", height: "height", right: "right", bottom: "bottom", sizeRange: "sizeRange", rotationRange: "rotationRange", rotationStep: "rotationStep", gridSize: "gridSize", drawOutOfBound: "drawOutOfBound", textStyle: "textStyle" }, features: [i0.ɵɵProvidersFeature([ { provide: TdSeriesDirective, useExisting: forwardRef(() => TdChartSeriesWordcloudComponent), }, ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 0, vars: 0, template: function TdChartSeriesWordcloudComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 }); } (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartSeriesWordcloudComponent, [{ type: Component, args: [{ selector: 'td-chart-series[td-wordCloud]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [ 'config', 'id', 'name', 'color', 'data', 'animation', 'animationThreshold', 'animationDuration', 'animationEasing', 'animationDelay', 'animationDurationUpdate', 'animationEasingUpdate', 'animationDelayUpdate', 'tooltip', ], providers: [ { provide: TdSeriesDirective, useExisting: forwardRef(() => TdChartSeriesWordcloudComponent), }, ], }] }], () => [], { data: [{ type: Input }], shape: [{ type: Input }], left: [{ type: Input }], top: [{ type: Input }], width: [{ type: Input }], height: [{ type: Input }], right: [{ type: Input }], bottom: [{ type: Input }], sizeRange: [{ type: Input }], rotationRange: [{ type: Input }], rotationStep: [{ type: Input }], gridSize: [{ type: Input }], drawOutOfBound: [{ type: Input }], textStyle: [{ type: Input }] }); })(); (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdChartSeriesWordcloudComponent, { className: "TdChartSeriesWordcloudComponent", filePath: "wordcloud.component.ts", lineNumber: 87 }); })(); const WORDCLOUD_MODULE_COMPONENTS = [ TdChartSeriesWordcloudComponent, ]; /** * @deprecated This module is deprecated and will be removed in future versions. * Please migrate to using standalone components as soon as possible. */ class CovalentWordcloudEchartsModule { static ɵfac = function CovalentWordcloudEchartsModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CovalentWordcloudEchartsModule)(); }; static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: CovalentWordcloudEchartsModule }); static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({}); } (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentWordcloudEchartsModule, [{ type: NgModule, args: [{ imports: [WORDCLOUD_MODULE_COMPONENTS], exports: [WORDCLOUD_MODULE_COMPONENTS], }] }], null, null); })(); (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentWordcloudEchartsModule, { imports: [TdChartSeriesWordcloudComponent], exports: [TdChartSeriesWordcloudComponent] }); })(); /** * Generated bundle index. Do not edit. */ export { CovalentWordcloudEchartsModule, TdChartSeriesWordcloudComponent, WORDCLOUD_MODULE_COMPONENTS }; //# sourceMappingURL=covalent-echarts-wordcloud.mjs.map