@covalent/echarts 3.2.1 → 3.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base/covalent-echarts-base.metadata.json +1 -1
- package/bundles/covalent-echarts-base.umd.js +1 -2
- package/bundles/covalent-echarts-base.umd.js.map +1 -1
- package/bundles/covalent-echarts-base.umd.min.js +1 -1
- package/bundles/covalent-echarts-base.umd.min.js.map +1 -1
- package/bundles/covalent-echarts-toolbox.umd.js +4 -4
- package/bundles/covalent-echarts-toolbox.umd.js.map +1 -1
- package/bundles/covalent-echarts-toolbox.umd.min.js +1 -1
- package/bundles/covalent-echarts-toolbox.umd.min.js.map +1 -1
- package/bundles/covalent-echarts-tooltip.umd.js +4 -4
- package/bundles/covalent-echarts-tooltip.umd.js.map +1 -1
- package/bundles/covalent-echarts-tooltip.umd.min.js +1 -1
- package/bundles/covalent-echarts-tooltip.umd.min.js.map +1 -1
- package/bundles/covalent-echarts-wordcloud.umd.js +4 -4
- package/bundles/covalent-echarts-wordcloud.umd.js.map +1 -1
- package/bundles/covalent-echarts-wordcloud.umd.min.js +2 -2
- package/bundles/covalent-echarts-wordcloud.umd.min.js.map +1 -1
- package/esm2015/base/base.module.js +2 -4
- package/esm2015/toolbox/toolbox.module.js +1 -2
- package/esm2015/tooltip/tooltip.module.js +1 -2
- package/esm2015/wordcloud/wordcloud.module.js +1 -2
- package/fesm2015/covalent-echarts-base.js +1 -2
- package/fesm2015/covalent-echarts-base.js.map +1 -1
- package/fesm2015/covalent-echarts-toolbox.js +0 -1
- package/fesm2015/covalent-echarts-toolbox.js.map +1 -1
- package/fesm2015/covalent-echarts-tooltip.js +0 -1
- package/fesm2015/covalent-echarts-tooltip.js.map +1 -1
- package/fesm2015/covalent-echarts-wordcloud.js +0 -1
- package/fesm2015/covalent-echarts-wordcloud.js.map +1 -1
- package/package.json +1 -1
- package/toolbox/covalent-echarts-toolbox.metadata.json +1 -1
- package/toolbox/toolbox.module.d.ts +0 -1
- package/tooltip/covalent-echarts-tooltip.metadata.json +1 -1
- package/tooltip/tooltip.module.d.ts +0 -1
- package/wordcloud/covalent-echarts-wordcloud.metadata.json +1 -1
- package/wordcloud/wordcloud.module.d.ts +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Directive, Component, ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, Input, ContentChild, TemplateRef, ViewChild, NgModule } from '@angular/core';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
|
-
import 'echarts/lib/component/toolbox';
|
|
4
3
|
import { assignDefined, TdChartOptionsService } from '@covalent/echarts/base';
|
|
5
4
|
|
|
6
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-toolbox.js","sources":["../../../../src/platform/echarts/toolbox/toolbox.component.ts","../../../../src/platform/echarts/toolbox/toolbox.module.ts"],"sourcesContent":["import {\n Component,\n Input,\n Directive,\n TemplateRef,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n OnChanges,\n ContentChild,\n ViewChild,\n OnDestroy,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n assignDefined,\n ITdLabel,\n ITdShadow,\n ITdItemStyle,\n TdTextPosition,\n TdTextAlign,\n} from '@covalent/echarts/base';\n\nexport type TdToolboxOrient = 'horizontal' | 'vertical';\nexport type TdImageType = 'png' | 'jpeg';\n\nexport interface ITdAcceptedBrushTypes {\n rect?: string;\n polygon?: string;\n lineX?: string;\n lineY?: string;\n keep?: string;\n clear?: string;\n}\n\nexport interface ITdAcceptedMagicTypes {\n line?: string;\n bar?: string;\n stack?: string;\n tiled?: string;\n}\n\nexport interface ITdToolboxIconEmphasis extends ITdItemStyle, ITdShadow {}\n\nexport interface ITdFeatureIconStyle extends ITdItemStyle, ITdShadow {\n textPosition?: TdTextPosition;\n textAlign?: TdTextAlign;\n emphasis?: ITdToolboxIconEmphasis;\n}\n\nexport interface ITdZoomTitles {\n zoom?: string;\n back?: string;\n}\n\nexport interface ITdSaveAsImage {\n type?: TdImageType;\n name?: string;\n backgroundColor?: any;\n excludeComponents?: string[]; // defaults to ['toolbox']\n show?: boolean;\n title?: string;\n icon?: string;\n iconStyle?: ITdFeatureIconStyle;\n pixelRatio?: number;\n}\n\nexport interface ITdRestore {\n show?: boolean;\n title?: string;\n icon?: string;\n iconStyle?: ITdFeatureIconStyle;\n}\n\nexport interface ITdDataView {\n show?: boolean;\n title?: string;\n icon?: string;\n iconStyle?: ITdFeatureIconStyle;\n readOnly?: boolean;\n optionToContent?: Function;\n contentToOption?: Function;\n lang?: string[]; // Defaults to Chinese, there are 3 names in data view, which are ['data view', 'turn off' and 'refresh'].\n textareaColor?: string;\n textareaBorderColor?: string;\n textColor?: string;\n buttonColor?: string;\n buttonTextColor?: string;\n}\n\nexport interface ITdDataZoom {\n show?: boolean;\n title?: ITdZoomTitles;\n icon?: ITdZoomTitles;\n iconStyle?: ITdFeatureIconStyle;\n xAxisIndex?: number | number[] | boolean;\n yAxisIndex?: number | number[] | boolean;\n}\n\nexport interface ITdMagicType {\n show?: boolean;\n type?: string[]; // only expects 'line' | 'bar' | 'stack' | 'tiled';\n title?: ITdAcceptedMagicTypes;\n icon?: ITdAcceptedMagicTypes;\n iconStyle?: ITdFeatureIconStyle;\n option?: {\n line?: object;\n bar?: object;\n stack?: object;\n tiled?: object;\n };\n seriesIndex?: {\n line?: any[];\n bar?: any[];\n stack?: any[];\n tiled?: any[];\n };\n}\n\nexport interface ITdBrush {\n type?: any[];\n icon?: ITdAcceptedBrushTypes;\n title?: ITdAcceptedBrushTypes;\n}\n\nexport interface ITdToolboxFeature {\n saveAsImage?: ITdSaveAsImage;\n restore?: ITdRestore;\n dataView?: ITdDataView;\n dataZoom?: ITdDataZoom;\n magicType?: ITdMagicType;\n brush?: ITdBrush;\n}\n\n@Directive({\n selector: 'ng-template[tdViewDataFormatter]',\n})\nexport class TdChartViewDataFormatterDirective {}\n\n@Component({\n selector: 'td-chart-toolbox',\n templateUrl: './toolbox.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdChartToolboxComponent implements OnChanges, OnDestroy {\n private _state: any = {};\n\n @Input() config: any = {};\n\n @Input() show: boolean = true;\n @Input() trigger: string;\n @Input() orient: TdToolboxOrient;\n @Input() itemSize: number;\n @Input() itemGap: number;\n @Input() showTitle: boolean = true;\n @Input() label: ITdLabel;\n @Input() feature: ITdToolboxFeature;\n @Input() iconStyle: ITdFeatureIconStyle;\n @Input() zlevel: number;\n @Input() z: number;\n @Input() transitionDuration: number = 0.5;\n @Input() left: string | number = 'auto';\n @Input() top: string | number = 'auto';\n @Input() right: string | number = 'auto';\n @Input() bottom: string | number = 'auto';\n @Input() width: string | number = 'auto';\n @Input() height: string | number = 'auto';\n\n @ContentChild(TdChartViewDataFormatterDirective, { read: TemplateRef })\n formatterTemplate: TemplateRef<any>;\n @ViewChild('toolboxContent', { static: true }) fullTemplate: TemplateRef<any>;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n private _optionsService: TdChartOptionsService,\n ) {}\n\n ngOnChanges(): void {\n this._setOptions();\n }\n\n ngOnDestroy(): void {\n this._removeOption();\n }\n\n private _setOptions(): void {\n this._checkFormatterTemplate();\n\n const config: any = assignDefined(\n this._state,\n {\n show: this.show,\n name: this.trigger,\n orient: this.orient,\n itemSize: this.itemSize,\n itemGap: this.itemGap,\n showTitle: this.showTitle,\n label: this.label,\n feature: this.feature,\n iconStyle: this.iconStyle,\n zlevel: this.zlevel,\n z: this.z,\n transitionDuration: this.transitionDuration,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n width: this.width,\n height: this.height,\n },\n this.config ? this.config : {},\n );\n // set toolbox configuration in parent chart and render new configurations\n this._optionsService.setOption('toolbox', config);\n }\n\n private _removeOption(): void {\n this._optionsService.clearOption('toolbox');\n }\n\n private _checkFormatterTemplate(): void {\n if (this.formatterTemplate) {\n this.feature = {\n ...this.feature,\n dataView: {\n ...this.feature.dataView,\n optionToContent: this._optionToContentFormatter(),\n },\n };\n }\n }\n\n private _optionToContentFormatter(): () => string {\n return () => {\n this._changeDetectorRef.markForCheck();\n return (<HTMLElement>this._elementRef.nativeElement).innerHTML;\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport 'echarts/lib/component/toolbox';\n\nimport { TdChartToolboxComponent, TdChartViewDataFormatterDirective } from './toolbox.component';\n\nexport const TOOLBOX_MODULE_COMPONENTS: Type<any>[] = [TdChartToolboxComponent, TdChartViewDataFormatterDirective];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TOOLBOX_MODULE_COMPONENTS],\n exports: [TOOLBOX_MODULE_COMPONENTS],\n})\nexport class CovalentToolboxEchartsModule {}\n"],"names":[],"mappings":";;;;;;;;;;;;;oCAkCC;;;IANC,qCAAc;;IACd,wCAAiB;;IACjB,sCAAe;;IACf,sCAAe;;IACf,qCAAc;;IACd,sCAAe;;;;;oCAQhB;;;IAJC,qCAAc;;IACd,oCAAa;;IACb,sCAAe;;IACf,sCAAe;;;;;qCAGyD;;;;kCAMzE;;;IAHC,2CAA8B;;IAC9B,wCAAwB;;IACxB,uCAAkC;;;;;4BAMnC;;;IAFC,6BAAc;;IACd,6BAAc;;;;;6BAaf;;;IATC,8BAAmB;;IACnB,8BAAc;;IACd,yCAAsB;;IACtB,2CAA6B;;IAC7B,8BAAe;;IACf,+BAAe;;IACf,8BAAc;;IACd,mCAAgC;;IAChC,oCAAoB;;;;;yBAQrB;;;IAJC,0BAAe;;IACf,2BAAe;;IACf,0BAAc;;IACd,+BAAgC;;;;;0BAiBjC;;;IAbC,2BAAe;;IACf,4BAAe;;IACf,2BAAc;;IACd,gCAAgC;;IAChC,+BAAmB;;IACnB,sCAA2B;;IAC3B,sCAA2B;;IAC3B,2BAAgB;;IAChB,oCAAuB;;IACvB,0CAA6B;;IAC7B,gCAAmB;;IACnB,kCAAqB;;IACrB,sC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;;;"}
|
|
1
|
+
{"version":3,"file":"covalent-echarts-toolbox.js","sources":["../../../../src/platform/echarts/toolbox/toolbox.component.ts","../../../../src/platform/echarts/toolbox/toolbox.module.ts"],"sourcesContent":["import {\n Component,\n Input,\n Directive,\n TemplateRef,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n OnChanges,\n ContentChild,\n ViewChild,\n OnDestroy,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n assignDefined,\n ITdLabel,\n ITdShadow,\n ITdItemStyle,\n TdTextPosition,\n TdTextAlign,\n} from '@covalent/echarts/base';\n\nexport type TdToolboxOrient = 'horizontal' | 'vertical';\nexport type TdImageType = 'png' | 'jpeg';\n\nexport interface ITdAcceptedBrushTypes {\n rect?: string;\n polygon?: string;\n lineX?: string;\n lineY?: string;\n keep?: string;\n clear?: string;\n}\n\nexport interface ITdAcceptedMagicTypes {\n line?: string;\n bar?: string;\n stack?: string;\n tiled?: string;\n}\n\nexport interface ITdToolboxIconEmphasis extends ITdItemStyle, ITdShadow {}\n\nexport interface ITdFeatureIconStyle extends ITdItemStyle, ITdShadow {\n textPosition?: TdTextPosition;\n textAlign?: TdTextAlign;\n emphasis?: ITdToolboxIconEmphasis;\n}\n\nexport interface ITdZoomTitles {\n zoom?: string;\n back?: string;\n}\n\nexport interface ITdSaveAsImage {\n type?: TdImageType;\n name?: string;\n backgroundColor?: any;\n excludeComponents?: string[]; // defaults to ['toolbox']\n show?: boolean;\n title?: string;\n icon?: string;\n iconStyle?: ITdFeatureIconStyle;\n pixelRatio?: number;\n}\n\nexport interface ITdRestore {\n show?: boolean;\n title?: string;\n icon?: string;\n iconStyle?: ITdFeatureIconStyle;\n}\n\nexport interface ITdDataView {\n show?: boolean;\n title?: string;\n icon?: string;\n iconStyle?: ITdFeatureIconStyle;\n readOnly?: boolean;\n optionToContent?: Function;\n contentToOption?: Function;\n lang?: string[]; // Defaults to Chinese, there are 3 names in data view, which are ['data view', 'turn off' and 'refresh'].\n textareaColor?: string;\n textareaBorderColor?: string;\n textColor?: string;\n buttonColor?: string;\n buttonTextColor?: string;\n}\n\nexport interface ITdDataZoom {\n show?: boolean;\n title?: ITdZoomTitles;\n icon?: ITdZoomTitles;\n iconStyle?: ITdFeatureIconStyle;\n xAxisIndex?: number | number[] | boolean;\n yAxisIndex?: number | number[] | boolean;\n}\n\nexport interface ITdMagicType {\n show?: boolean;\n type?: string[]; // only expects 'line' | 'bar' | 'stack' | 'tiled';\n title?: ITdAcceptedMagicTypes;\n icon?: ITdAcceptedMagicTypes;\n iconStyle?: ITdFeatureIconStyle;\n option?: {\n line?: object;\n bar?: object;\n stack?: object;\n tiled?: object;\n };\n seriesIndex?: {\n line?: any[];\n bar?: any[];\n stack?: any[];\n tiled?: any[];\n };\n}\n\nexport interface ITdBrush {\n type?: any[];\n icon?: ITdAcceptedBrushTypes;\n title?: ITdAcceptedBrushTypes;\n}\n\nexport interface ITdToolboxFeature {\n saveAsImage?: ITdSaveAsImage;\n restore?: ITdRestore;\n dataView?: ITdDataView;\n dataZoom?: ITdDataZoom;\n magicType?: ITdMagicType;\n brush?: ITdBrush;\n}\n\n@Directive({\n selector: 'ng-template[tdViewDataFormatter]',\n})\nexport class TdChartViewDataFormatterDirective {}\n\n@Component({\n selector: 'td-chart-toolbox',\n templateUrl: './toolbox.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdChartToolboxComponent implements OnChanges, OnDestroy {\n private _state: any = {};\n\n @Input() config: any = {};\n\n @Input() show: boolean = true;\n @Input() trigger: string;\n @Input() orient: TdToolboxOrient;\n @Input() itemSize: number;\n @Input() itemGap: number;\n @Input() showTitle: boolean = true;\n @Input() label: ITdLabel;\n @Input() feature: ITdToolboxFeature;\n @Input() iconStyle: ITdFeatureIconStyle;\n @Input() zlevel: number;\n @Input() z: number;\n @Input() transitionDuration: number = 0.5;\n @Input() left: string | number = 'auto';\n @Input() top: string | number = 'auto';\n @Input() right: string | number = 'auto';\n @Input() bottom: string | number = 'auto';\n @Input() width: string | number = 'auto';\n @Input() height: string | number = 'auto';\n\n @ContentChild(TdChartViewDataFormatterDirective, { read: TemplateRef })\n formatterTemplate: TemplateRef<any>;\n @ViewChild('toolboxContent', { static: true }) fullTemplate: TemplateRef<any>;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n private _optionsService: TdChartOptionsService,\n ) {}\n\n ngOnChanges(): void {\n this._setOptions();\n }\n\n ngOnDestroy(): void {\n this._removeOption();\n }\n\n private _setOptions(): void {\n this._checkFormatterTemplate();\n\n const config: any = assignDefined(\n this._state,\n {\n show: this.show,\n name: this.trigger,\n orient: this.orient,\n itemSize: this.itemSize,\n itemGap: this.itemGap,\n showTitle: this.showTitle,\n label: this.label,\n feature: this.feature,\n iconStyle: this.iconStyle,\n zlevel: this.zlevel,\n z: this.z,\n transitionDuration: this.transitionDuration,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n width: this.width,\n height: this.height,\n },\n this.config ? this.config : {},\n );\n // set toolbox configuration in parent chart and render new configurations\n this._optionsService.setOption('toolbox', config);\n }\n\n private _removeOption(): void {\n this._optionsService.clearOption('toolbox');\n }\n\n private _checkFormatterTemplate(): void {\n if (this.formatterTemplate) {\n this.feature = {\n ...this.feature,\n dataView: {\n ...this.feature.dataView,\n optionToContent: this._optionToContentFormatter(),\n },\n };\n }\n }\n\n private _optionToContentFormatter(): () => string {\n return () => {\n this._changeDetectorRef.markForCheck();\n return (<HTMLElement>this._elementRef.nativeElement).innerHTML;\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TdChartToolboxComponent, TdChartViewDataFormatterDirective } from './toolbox.component';\n\nexport const TOOLBOX_MODULE_COMPONENTS: Type<any>[] = [TdChartToolboxComponent, TdChartViewDataFormatterDirective];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TOOLBOX_MODULE_COMPONENTS],\n exports: [TOOLBOX_MODULE_COMP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,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;2BAErE,SAAS,SAAC,gBAAgB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;;;;;;;IAzB7C,yCAAyB;;IAEzB,yCAA0B;;IAE1B,uCAA8B;;IAC9B,0CAAyB;;IACzB,yCAAiC;;IACjC,2CAA0B;;IAC1B,0CAAyB;;IACzB,4CAAmC;;IACnC,wCAAyB;;IACzB,0CAAoC;;IACpC,4CAAwC;;IACxC,yCAAwB;;IACxB,oCAAmB;;IACnB,qDAA0C;;IAC1C,uCAAwC;;IACxC,sCAAuC;;IACvC,wCAAyC;;IACzC,yCAA0C;;IAC1C,wCAAyC;;IACzC,yCAA0C;;IAE1C,oDACoC;;IACpC,+CAA8E;;;;;IAG5E,qDAA6C;;;;;IAC7C,8CAA+B;;;;;IAC/B,kDAA8C;;;;;;;;;MC5KrC,yBAAyB,GAAgB,CAAC,uBAAuB,EAAE,iCAAiC;MAOpG,4BAA4B;;;YALxC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,yBAAyB,CAAC;gBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;aACrC;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Directive, Component, ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, Input, ContentChild, TemplateRef, ViewChild, NgModule } from '@angular/core';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
|
-
import 'echarts/lib/component/tooltip';
|
|
4
3
|
import { assignDefined, TdChartOptionsService, TdSeriesDirective } from '@covalent/echarts/base';
|
|
5
4
|
|
|
6
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-tooltip.js","sources":["../../../../src/platform/echarts/tooltip/tooltip.component.ts","../../../../src/platform/echarts/tooltip/series-tooltip.component.ts","../../../../src/platform/echarts/tooltip/tooltip.module.ts"],"sourcesContent":["import {\n Component,\n Input,\n Directive,\n TemplateRef,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n OnChanges,\n ContentChild,\n ViewChild,\n OnDestroy,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n assignDefined,\n TdTooltipTrigger,\n TdTooltipTriggerOn,\n TdTooltipPosition,\n} from '@covalent/echarts/base';\n\nexport class TdTooltipContext {\n $implicit: any;\n ticket: string;\n}\n\n@Directive({\n selector: 'ng-template[tdTooltipFormatter]',\n})\nexport class TdChartTooltipFormatterDirective {}\n\n@Component({\n selector: 'td-chart-tooltip',\n templateUrl: './tooltip.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdChartTooltipComponent implements OnChanges, OnDestroy {\n private _state: any = {};\n\n _context: TdTooltipContext = new TdTooltipContext();\n\n @Input() config: any = {};\n\n @Input() show: boolean = true;\n @Input() trigger: TdTooltipTrigger = 'axis';\n @Input() axisPointer: any;\n @Input() showContent: boolean = true;\n @Input() alwaysShowContent: boolean = false;\n @Input() triggerOn: TdTooltipTriggerOn = 'mousemove|click';\n @Input() showDelay: number = 0;\n @Input() hideDelay: number = 0;\n @Input() enterable: boolean = false;\n @Input() renderMode: 'html' | 'richText';\n @Input() confine: boolean = false;\n @Input() transitionDuration: number = 0.5;\n @Input() position: TdTooltipPosition; // series\n @Input() formatter: string | Function; // series\n @Input() backgroundColor: string = 'rgba(50,50,50,0.7)'; // series\n @Input() borderColor: string = '#333'; // series\n @Input() borderWidth: number = 0; // series\n @Input() padding: number = 5; // series\n @Input() textStyle: any = {\n // series\n color: '#FFF',\n };\n @Input() extraCssText: string; // series\n\n @ContentChild(TdChartTooltipFormatterDirective, { read: TemplateRef, static: true })\n formatterTemplate: TemplateRef<any>;\n @ViewChild('tooltipContent', { static: true }) fullTemplate: TemplateRef<any>;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n private _optionsService: TdChartOptionsService,\n ) {}\n\n ngOnChanges(): void {\n this._setOptions();\n }\n\n ngOnDestroy(): void {\n this._removeOption();\n }\n\n private _setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n show: this.show,\n trigger: this.trigger,\n axisPointer: this.axisPointer,\n showContent: this.showContent,\n alwaysShowContent: this.alwaysShowContent,\n triggerOn: this.triggerOn,\n showDelay: this.showDelay,\n hideDelay: this.hideDelay,\n enterable: this.enterable,\n confine: this.confine,\n transitionDuration: this.transitionDuration,\n position: this.position,\n formatter: this.formatter ? this.formatter : this.formatterTemplate ? this._formatter() : undefined,\n backgroundColor: this.backgroundColor,\n borderColor: this.borderColor,\n borderWidth: this.borderWidth,\n padding: this.padding,\n textStyle: this.textStyle,\n extraCssText: this.extraCssText,\n },\n this.config ? this.config : {},\n );\n // set tooltip configuration in parent chart and render new configurations\n this._optionsService.setOption('tooltip', config);\n }\n\n private _removeOption(): void {\n this._optionsService.clearOption('tooltip');\n }\n\n private _formatter(): (params: any, ticket: any, callback: (ticket: string, html: string) => void) => string {\n return (params: any, ticket: any, callback: (ticket: string, html: string) => void) => {\n this._context = {\n $implicit: params,\n ticket,\n };\n // timeout set since we need to set the HTML at the end of the angular lifecycle when\n // the tooltip delay is more than 0\n setTimeout(() => {\n callback(ticket, (<HTMLElement>this._elementRef.nativeElement).innerHTML);\n });\n this._changeDetectorRef.markForCheck();\n return (<HTMLElement>this._elementRef.nativeElement).innerHTML;\n };\n }\n}\n","import {\n Component,\n Input,\n ContentChild,\n ViewChild,\n TemplateRef,\n ChangeDetectorRef,\n ElementRef,\n ChangeDetectionStrategy,\n OnChanges,\n OnDestroy,\n} from '@angular/core';\n\nimport { assignDefined, TdSeriesDirective } from '@covalent/echarts/base';\n\nimport { TdChartTooltipFormatterDirective, TdTooltipContext } from './tooltip.component';\n\n@Component({\n selector: 'td-chart-series-tooltip',\n templateUrl: './tooltip.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdSeriesTooltipComponent implements OnChanges, OnDestroy {\n private _state: any = {};\n\n _context: TdTooltipContext = new TdTooltipContext();\n\n @Input() config: any;\n\n @Input() formatter: any;\n // Parent tooltip trigger must be set to 'item' to render these properties\n @Input() position: string | string[] | number[];\n @Input() backgroundColor: string = 'rgba(50,50,50,0.7)';\n @Input() borderColor: string = '#333';\n @Input() borderWidth: number = 0;\n @Input() padding: number = 5;\n @Input() textStyle: any = {\n color: '#FFF',\n };\n @Input() extraCssText: string;\n\n @ContentChild(TdChartTooltipFormatterDirective, { read: TemplateRef, static: true })\n formatterTemplate: TemplateRef<any>;\n @ViewChild('tooltipContent', { static: true }) fullTemplate: TemplateRef<any>;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n private _seriesComponent: TdSeriesDirective,\n ) {}\n\n ngOnChanges(): void {\n this._setOptions();\n }\n\n ngOnDestroy(): void {\n this._removeOption();\n }\n\n private _setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n position: this.position,\n backgroundColor: this.backgroundColor,\n borderColor: this.borderColor,\n borderWidth: this.borderWidth,\n padding: this.padding,\n textStyle: this.textStyle,\n extraCssText: this.extraCssText,\n formatter: this.formatter ? this.formatter : this.formatterTemplate ? this._formatter() : undefined,\n },\n this.config ? this.config : {},\n );\n // set series tooltip configuration in parent chart and render new configurations\n this._seriesComponent.setStateOption('tooltip', config);\n }\n\n /**\n * Formatter for tooltip\n *\n */\n private _formatter(): (params: any, ticket: any, callback: (ticket: string, html: string) => void) => string {\n return (params: any, ticket: any, callback: (ticket: string, html: string) => void) => {\n this._context = {\n $implicit: params,\n ticket,\n };\n // timeout set since we need to set the HTML at the end of the angular lifecycle when\n // the tooltip delay is more than 0\n setTimeout(() => {\n callback(ticket, (<HTMLElement>this._elementRef.nativeElement).innerHTML);\n });\n this._changeDetectorRef.markForCheck();\n return (<HTMLElement>this._elementRef.nativeElement).innerHTML;\n };\n }\n\n private _removeOption(): void {\n this._seriesComponent.removeStateOption('tooltip');\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport 'echarts/lib/component/tooltip';\n\nimport { TdChartTooltipComponent, TdChartTooltipFormatterDirective } from './tooltip.component';\nimport { TdSeriesTooltipComponent } from './series-tooltip.component';\n\nexport const TOOLTIP_MODULE_COMPONENTS: Type<any>[] = [\n TdChartTooltipComponent,\n TdChartTooltipFormatterDirective,\n TdSeriesTooltipComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TOOLTIP_MODULE_COMPONENTS],\n exports: [TOOLTIP_MODULE_COMPONENTS],\n})\nexport class CovalentTooltipEchartsModule {}\n"],"names":[],"mappings":";;;;;;;;;;MAsBa,gBAAgB;CAG5B;;;IAFC,qCAAe;;IACf,kCAAe;;MAMJ,gCAAgC;;;YAH5C,SAAS,SAAC;gBACT,QAAQ,EAAE,iCAAiC;aAC5C;;MAQY,uBAAuB;;;;;;IAmClC,YACU,kBAAqC,EACrC,WAAuB,EACvB,eAAsC;QAFtC,uBAAkB,GAAlB,kBAAkB,CAAmB;QACrC,gBAAW,GAAX,WAAW,CAAY;QACvB,oBAAe,GAAf,eAAe,CAAuB;QArCxC,WAAM,GAAQ,EAAE,CAAC;QAEzB,aAAQ,GAAqB,IAAI,gBAAgB,EAAE,CAAC;QAE3C,WAAM,GAAQ,EAAE,CAAC;QAEjB,SAAI,GAAY,IAAI,CAAC;QACrB,YAAO,GAAqB,MAAM,CAAC;QAEnC,gBAAW,GAAY,IAAI,CAAC;QAC5B,sBAAiB,GAAY,KAAK,CAAC;QACnC,cAAS,GAAuB,iBAAiB,CAAC;QAClD,cAAS,GAAW,CAAC,CAAC;QACtB,cAAS,GAAW,CAAC,CAAC;QACtB,cAAS,GAAY,KAAK,CAAC;QAE3B,YAAO,GAAY,KAAK,CAAC;QACzB,uBAAkB,GAAW,GAAG,CAAC;;QAGjC,oBAAe,GAAW,oBAAoB,CAAC;;QAC/C,gBAAW,GAAW,MAAM,CAAC;;QAC7B,gBAAW,GAAW,CAAC,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D;;IAEpD,0CAAqB;;IAErB,6CAAwB;;IAExB,4CAAgD;;IAChD,mDAAwD;;IACxD,+CAAsC;;IACtC,+CAAiC;;IACjC,2CAA6B;;IAC7B,6CAEE;;IACF,gDAA8B;;IAE9B,qDACoC;;IACpC,gDAA8E;;;;;IAG5E,sDAA6C;;;;;IAC7C,+CAA+B;;;;;IAC/B,oDAA2C;;;;;;;;;MCxClC,yBAAyB,GAAgB;IACpD,uBAAuB;IACvB,gCAAgC;IAChC,wBAAwB;;MAQb,4BAA4B;;;YALxC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,yBAAyB,CAAC;gBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;aACrC;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"covalent-echarts-tooltip.js","sources":["../../../../src/platform/echarts/tooltip/tooltip.component.ts","../../../../src/platform/echarts/tooltip/series-tooltip.component.ts","../../../../src/platform/echarts/tooltip/tooltip.module.ts"],"sourcesContent":["import {\n Component,\n Input,\n Directive,\n TemplateRef,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n OnChanges,\n ContentChild,\n ViewChild,\n OnDestroy,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n assignDefined,\n TdTooltipTrigger,\n TdTooltipTriggerOn,\n TdTooltipPosition,\n} from '@covalent/echarts/base';\n\nexport class TdTooltipContext {\n $implicit: any;\n ticket: string;\n}\n\n@Directive({\n selector: 'ng-template[tdTooltipFormatter]',\n})\nexport class TdChartTooltipFormatterDirective {}\n\n@Component({\n selector: 'td-chart-tooltip',\n templateUrl: './tooltip.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdChartTooltipComponent implements OnChanges, OnDestroy {\n private _state: any = {};\n\n _context: TdTooltipContext = new TdTooltipContext();\n\n @Input() config: any = {};\n\n @Input() show: boolean = true;\n @Input() trigger: TdTooltipTrigger = 'axis';\n @Input() axisPointer: any;\n @Input() showContent: boolean = true;\n @Input() alwaysShowContent: boolean = false;\n @Input() triggerOn: TdTooltipTriggerOn = 'mousemove|click';\n @Input() showDelay: number = 0;\n @Input() hideDelay: number = 0;\n @Input() enterable: boolean = false;\n @Input() renderMode: 'html' | 'richText';\n @Input() confine: boolean = false;\n @Input() transitionDuration: number = 0.5;\n @Input() position: TdTooltipPosition; // series\n @Input() formatter: string | Function; // series\n @Input() backgroundColor: string = 'rgba(50,50,50,0.7)'; // series\n @Input() borderColor: string = '#333'; // series\n @Input() borderWidth: number = 0; // series\n @Input() padding: number = 5; // series\n @Input() textStyle: any = {\n // series\n color: '#FFF',\n };\n @Input() extraCssText: string; // series\n\n @ContentChild(TdChartTooltipFormatterDirective, { read: TemplateRef, static: true })\n formatterTemplate: TemplateRef<any>;\n @ViewChild('tooltipContent', { static: true }) fullTemplate: TemplateRef<any>;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n private _optionsService: TdChartOptionsService,\n ) {}\n\n ngOnChanges(): void {\n this._setOptions();\n }\n\n ngOnDestroy(): void {\n this._removeOption();\n }\n\n private _setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n show: this.show,\n trigger: this.trigger,\n axisPointer: this.axisPointer,\n showContent: this.showContent,\n alwaysShowContent: this.alwaysShowContent,\n triggerOn: this.triggerOn,\n showDelay: this.showDelay,\n hideDelay: this.hideDelay,\n enterable: this.enterable,\n confine: this.confine,\n transitionDuration: this.transitionDuration,\n position: this.position,\n formatter: this.formatter ? this.formatter : this.formatterTemplate ? this._formatter() : undefined,\n backgroundColor: this.backgroundColor,\n borderColor: this.borderColor,\n borderWidth: this.borderWidth,\n padding: this.padding,\n textStyle: this.textStyle,\n extraCssText: this.extraCssText,\n },\n this.config ? this.config : {},\n );\n // set tooltip configuration in parent chart and render new configurations\n this._optionsService.setOption('tooltip', config);\n }\n\n private _removeOption(): void {\n this._optionsService.clearOption('tooltip');\n }\n\n private _formatter(): (params: any, ticket: any, callback: (ticket: string, html: string) => void) => string {\n return (params: any, ticket: any, callback: (ticket: string, html: string) => void) => {\n this._context = {\n $implicit: params,\n ticket,\n };\n // timeout set since we need to set the HTML at the end of the angular lifecycle when\n // the tooltip delay is more than 0\n setTimeout(() => {\n callback(ticket, (<HTMLElement>this._elementRef.nativeElement).innerHTML);\n });\n this._changeDetectorRef.markForCheck();\n return (<HTMLElement>this._elementRef.nativeElement).innerHTML;\n };\n }\n}\n","import {\n Component,\n Input,\n ContentChild,\n ViewChild,\n TemplateRef,\n ChangeDetectorRef,\n ElementRef,\n ChangeDetectionStrategy,\n OnChanges,\n OnDestroy,\n} from '@angular/core';\n\nimport { assignDefined, TdSeriesDirective } from '@covalent/echarts/base';\n\nimport { TdChartTooltipFormatterDirective, TdTooltipContext } from './tooltip.component';\n\n@Component({\n selector: 'td-chart-series-tooltip',\n templateUrl: './tooltip.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdSeriesTooltipComponent implements OnChanges, OnDestroy {\n private _state: any = {};\n\n _context: TdTooltipContext = new TdTooltipContext();\n\n @Input() config: any;\n\n @Input() formatter: any;\n // Parent tooltip trigger must be set to 'item' to render these properties\n @Input() position: string | string[] | number[];\n @Input() backgroundColor: string = 'rgba(50,50,50,0.7)';\n @Input() borderColor: string = '#333';\n @Input() borderWidth: number = 0;\n @Input() padding: number = 5;\n @Input() textStyle: any = {\n color: '#FFF',\n };\n @Input() extraCssText: string;\n\n @ContentChild(TdChartTooltipFormatterDirective, { read: TemplateRef, static: true })\n formatterTemplate: TemplateRef<any>;\n @ViewChild('tooltipContent', { static: true }) fullTemplate: TemplateRef<any>;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n private _seriesComponent: TdSeriesDirective,\n ) {}\n\n ngOnChanges(): void {\n this._setOptions();\n }\n\n ngOnDestroy(): void {\n this._removeOption();\n }\n\n private _setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n position: this.position,\n backgroundColor: this.backgroundColor,\n borderColor: this.borderColor,\n borderWidth: this.borderWidth,\n padding: this.padding,\n textStyle: this.textStyle,\n extraCssText: this.extraCssText,\n formatter: this.formatter ? this.formatter : this.formatterTemplate ? this._formatter() : undefined,\n },\n this.config ? this.config : {},\n );\n // set series tooltip configuration in parent chart and render new configurations\n this._seriesComponent.setStateOption('tooltip', config);\n }\n\n /**\n * Formatter for tooltip\n *\n */\n private _formatter(): (params: any, ticket: any, callback: (ticket: string, html: string) => void) => string {\n return (params: any, ticket: any, callback: (ticket: string, html: string) => void) => {\n this._context = {\n $implicit: params,\n ticket,\n };\n // timeout set since we need to set the HTML at the end of the angular lifecycle when\n // the tooltip delay is more than 0\n setTimeout(() => {\n callback(ticket, (<HTMLElement>this._elementRef.nativeElement).innerHTML);\n });\n this._changeDetectorRef.markForCheck();\n return (<HTMLElement>this._elementRef.nativeElement).innerHTML;\n };\n }\n\n private _removeOption(): void {\n this._seriesComponent.removeStateOption('tooltip');\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TdChartTooltipComponent, TdChartTooltipFormatterDirective } from './tooltip.component';\nimport { TdSeriesTooltipComponent } from './series-tooltip.component';\n\nexport const TOOLTIP_MODULE_COMPONENTS: Type<any>[] = [\n TdChartTooltipComponent,\n TdChartTooltipFormatterDirective,\n TdSeriesTooltipComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TOOLTIP_MODULE_COMPONENTS],\n exports: [TOOLTIP_MODULE_COMPONENTS],\n})\nexport class CovalentTooltipEchartsModule {}\n"],"names":[],"mappings":";;;;;;;;;MAsBa,gBAAgB;CAG5B;;;IAFC,qCAAe;;IACf,kCAAe;;MAMJ,gCAAgC;;;YAH5C,SAAS,SAAC;gBACT,QAAQ,EAAE,iCAAiC;aAC5C;;MAQY,uBAAuB;;;;;;IAmClC,YACU,kBAAqC,EACrC,WAAuB,EACvB,eAAsC;QAFtC,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AO,oBAAc,IAAI,CAAC,WAAW,CAAC,aAAa,IAAE,SAAS,CAAC;SAChE,EAAC;KACH;;;;;IAEO,aAAa;QACnB,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;KACpD;;;YAnFF,SAAS,SAAC;gBACT,QAAQ,EAAE,yBAAyB;gBACnC,yIAAuC;gBACvC,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;;YAfC,iBAAiB;YACjB,UAAU;YAMY,iBAAiB;;;qBActC,KAAK;wBAEL,KAAK;uBAEL,KAAK;8BACL,KAAK;0BACL,KAAK;0BACL,KAAK;sBACL,KAAK;wBACL,KAAK;2BAGL,KAAK;gCAEL,YAAY,SAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE;2BAElF,SAAS,SAAC,gBAAgB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;;;;;;;IApB7C,0CAAyB;;IAEzB,4CAAoD;;IAEpD,0CAAqB;;IAErB,6CAAwB;;IAExB,4CAAgD;;IAChD,mDAAwD;;IACxD,+CAAsC;;IACtC,+CAAiC;;IACjC,2CAA6B;;IAC7B,6CAEE;;IACF,gDAA8B;;IAE9B,qDACoC;;IACpC,gDAA8E;;;;;IAG5E,sDAA6C;;;;;IAC7C,+CAA+B;;;;;IAC/B,oDAA2C;;;;;;;;;MC3ClC,yBAAyB,GAAgB;IACpD,uBAAuB;IACvB,gCAAgC;IAChC,wBAAwB;;MAQb,4BAA4B;;;YALxC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,yBAAyB,CAAC;gBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;aACrC;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-wordcloud.js","sources":["../../../../src/platform/echarts/wordcloud/wordcloud.component.ts","../../../../src/platform/echarts/wordcloud/wordcloud.module.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport { TdChartOptionsService, ITdSeries, TdSeriesDirective } from '@covalent/echarts/base';\n\nexport type TdWordcloudShape =\n | 'circle'\n | 'cardioid'\n | 'diamond'\n | 'triangle-forward'\n | 'triangle'\n | 'pentagon'\n | 'star';\n\nexport interface ITdWordcloudTextStyle {\n normal?: {\n fontFamily?: string;\n fontWeight?: string;\n color?: string | ((x: any) => string);\n };\n emphasis?: {\n shadowBlur?: number;\n shadowColor?: string;\n };\n}\n\nexport interface ITdWordCloudData {\n name: string;\n value: number;\n textStyle?: ITdWordcloudTextStyle;\n}\n\nexport interface ITdWordcloudSeries extends ITdSeries {\n data?: ITdWordCloudData[];\n shape?: TdWordcloudShape;\n left?: string | number;\n top?: string | number;\n width?: string | number;\n height?: string | number;\n right?: string | number;\n bottom?: string | number;\n sizeRange?: number[];\n rotationRange?: number[];\n rotationStep?: number;\n gridSize?: number;\n drawOutOfBound?: boolean;\n textStyle?: ITdWordcloudTextStyle;\n}\n\n@Component({\n selector: 'td-chart-series[td-wordCloud]',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: [\n 'config',\n 'id',\n 'name',\n 'color',\n 'data',\n\n 'animation',\n 'animationThreshold',\n 'animationDuration',\n 'animationEasing',\n 'animationDelay',\n 'animationDurationUpdate',\n 'animationEasingUpdate',\n 'animationDelayUpdate',\n 'tooltip',\n ],\n providers: [\n {\n provide: TdSeriesDirective,\n useExisting: forwardRef(() => TdChartSeriesWordcloudComponent),\n },\n ],\n})\nexport class TdChartSeriesWordcloudComponent extends TdSeriesDirective implements ITdWordcloudSeries {\n @Input() data: ITdWordCloudData[];\n @Input() shape: TdWordcloudShape;\n @Input() left: string | number;\n @Input() top: string | number;\n @Input() width: string | number;\n @Input() height: string | number;\n @Input() right: string | number;\n @Input() bottom: string | number;\n @Input() sizeRange: number[];\n @Input() rotationRange: number[];\n @Input() rotationStep: number;\n @Input() gridSize: number;\n @Input() drawOutOfBound: boolean;\n @Input() textStyle: ITdWordcloudTextStyle;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('wordCloud', _optionsService);\n }\n\n getConfig(): any {\n return {\n shape: this.shape,\n left: this.left,\n top: this.top,\n width: this.width,\n height: this.height,\n right: this.right,\n bottom: this.bottom,\n sizeRange: this.sizeRange,\n rotationRange: this.rotationRange,\n rotationStep: this.rotationStep,\n gridSize: this.gridSize,\n drawOutOfBound: this.drawOutOfBound,\n textStyle: this.textStyle,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\
|
|
1
|
+
{"version":3,"file":"covalent-echarts-wordcloud.js","sources":["../../../../src/platform/echarts/wordcloud/wordcloud.component.ts","../../../../src/platform/echarts/wordcloud/wordcloud.module.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport { TdChartOptionsService, ITdSeries, TdSeriesDirective } from '@covalent/echarts/base';\n\nexport type TdWordcloudShape =\n | 'circle'\n | 'cardioid'\n | 'diamond'\n | 'triangle-forward'\n | 'triangle'\n | 'pentagon'\n | 'star';\n\nexport interface ITdWordcloudTextStyle {\n normal?: {\n fontFamily?: string;\n fontWeight?: string;\n color?: string | ((x: any) => string);\n };\n emphasis?: {\n shadowBlur?: number;\n shadowColor?: string;\n };\n}\n\nexport interface ITdWordCloudData {\n name: string;\n value: number;\n textStyle?: ITdWordcloudTextStyle;\n}\n\nexport interface ITdWordcloudSeries extends ITdSeries {\n data?: ITdWordCloudData[];\n shape?: TdWordcloudShape;\n left?: string | number;\n top?: string | number;\n width?: string | number;\n height?: string | number;\n right?: string | number;\n bottom?: string | number;\n sizeRange?: number[];\n rotationRange?: number[];\n rotationStep?: number;\n gridSize?: number;\n drawOutOfBound?: boolean;\n textStyle?: ITdWordcloudTextStyle;\n}\n\n@Component({\n selector: 'td-chart-series[td-wordCloud]',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: [\n 'config',\n 'id',\n 'name',\n 'color',\n 'data',\n\n 'animation',\n 'animationThreshold',\n 'animationDuration',\n 'animationEasing',\n 'animationDelay',\n 'animationDurationUpdate',\n 'animationEasingUpdate',\n 'animationDelayUpdate',\n 'tooltip',\n ],\n providers: [\n {\n provide: TdSeriesDirective,\n useExisting: forwardRef(() => TdChartSeriesWordcloudComponent),\n },\n ],\n})\nexport class TdChartSeriesWordcloudComponent extends TdSeriesDirective implements ITdWordcloudSeries {\n @Input() data: ITdWordCloudData[];\n @Input() shape: TdWordcloudShape;\n @Input() left: string | number;\n @Input() top: string | number;\n @Input() width: string | number;\n @Input() height: string | number;\n @Input() right: string | number;\n @Input() bottom: string | number;\n @Input() sizeRange: number[];\n @Input() rotationRange: number[];\n @Input() rotationStep: number;\n @Input() gridSize: number;\n @Input() drawOutOfBound: boolean;\n @Input() textStyle: ITdWordcloudTextStyle;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('wordCloud', _optionsService);\n }\n\n getConfig(): any {\n return {\n shape: this.shape,\n left: this.left,\n top: this.top,\n width: this.width,\n height: this.height,\n right: this.right,\n bottom: this.bottom,\n sizeRange: this.sizeRange,\n rotationRange: this.rotationRange,\n rotationStep: this.rotationStep,\n gridSize: this.gridSize,\n drawOutOfBound: this.drawOutOfBound,\n textStyle: this.textStyle,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TdChartSeriesWordcloudComponent } from './wordcloud.component';\n\nexport const WORDCLOUD_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesWordcloudComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [WORDCLOUD_MODULE_COMPONENTS],\n exports: [WORDCLOUD_MODULE_COMPONENTS],\n})\nexport class CovalentWordcloudEchartsModule {}\n"],"names":[],"mappings":";;;;;;;;;;;;oCAuBC;;;IATC,uCAIE;;IACF,yCAGE;;;;;+BAOH;;;IAHC,gC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;gBACD,SAAS,EAAE;oBACT;wBACE,OAAO,EAAE,iBAAiB;wBAC1B,WAAW,EAAE,UAAU;;;wBAAC,MAAM,+BAA+B,EAAC;qBAC/D;iBACF;aACF;;;;YAzEQ,qBAAqB;;;mBA2E3B,KAAK;oBACL,KAAK;mBACL,KAAK;kBACL,KAAK;oBACL,KAAK;qBACL,KAAK;oBACL,KAAK;qBACL,KAAK;wBACL,KAAK;4BACL,KAAK;2BACL,KAAK;uBACL,KAAK;6BACL,KAAK;wBACL,KAAK;;;;IAbN,+CAAkC;;IAClC,gDAAiC;;IACjC,+CAA+B;;IAC/B,8CAA8B;;IAC9B,gDAAgC;;IAChC,iDAAiC;;IACjC,gDAAgC;;IAChC,iDAAiC;;IACjC,oDAA6B;;IAC7B,wDAAiC;;IACjC,uDAA8B;;IAC9B,mDAA0B;;IAC1B,yDAAiC;;IACjC,oDAA0C;;;;;;;;;MCtF/B,2BAA2B,GAAgB,CAAC,+BAA+B;MAO3E,8BAA8B;;;YAL1C,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,2BAA2B,CAAC;gBAC3C,OAAO,EAAE,CAAC,2BAA2B,CAAC;aACvC;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"TOOLBOX_MODULE_COMPONENTS":[{"__symbolic":"reference","name":"TdChartToolboxComponent"},{"__symbolic":"reference","name":"TdChartViewDataFormatterDirective"}],"CovalentToolboxEchartsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"TOOLBOX_MODULE_COMPONENTS":[{"__symbolic":"reference","name":"TdChartToolboxComponent"},{"__symbolic":"reference","name":"TdChartViewDataFormatterDirective"}],"CovalentToolboxEchartsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":7,"character":12}],"declarations":[{"__symbolic":"reference","name":"TOOLBOX_MODULE_COMPONENTS"}],"exports":[{"__symbolic":"reference","name":"TOOLBOX_MODULE_COMPONENTS"}]}]}],"members":{}},"TdToolboxOrient":{"__symbolic":"interface"},"TdImageType":{"__symbolic":"interface"},"ITdAcceptedBrushTypes":{"__symbolic":"interface"},"ITdAcceptedMagicTypes":{"__symbolic":"interface"},"ITdToolboxIconEmphasis":{"__symbolic":"interface"},"ITdFeatureIconStyle":{"__symbolic":"interface"},"ITdZoomTitles":{"__symbolic":"interface"},"ITdSaveAsImage":{"__symbolic":"interface"},"ITdRestore":{"__symbolic":"interface"},"ITdDataView":{"__symbolic":"interface"},"ITdDataZoom":{"__symbolic":"interface"},"ITdMagicType":{"__symbolic":"interface"},"ITdBrush":{"__symbolic":"interface"},"ITdToolboxFeature":{"__symbolic":"interface"},"TdChartViewDataFormatterDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":135,"character":1},"arguments":[{"selector":"ng-template[tdViewDataFormatter]"}]}],"members":{}},"TdChartToolboxComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":140,"character":1},"arguments":[{"selector":"td-chart-toolbox","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":143,"character":19},"member":"OnPush"},"template":"<ng-template #toolboxContent [ngTemplateOutlet]=\"formatterTemplate\"></ng-template>\n"}]}],"members":{"config":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":148,"character":3}}]}],"show":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":150,"character":3}}]}],"trigger":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":151,"character":3}}]}],"orient":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":152,"character":3}}]}],"itemSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":153,"character":3}}]}],"itemGap":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":154,"character":3}}]}],"showTitle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":155,"character":3}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":156,"character":3}}]}],"feature":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":157,"character":3}}]}],"iconStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":158,"character":3}}]}],"zlevel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":159,"character":3}}]}],"z":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":160,"character":3}}]}],"transitionDuration":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":161,"character":3}}]}],"left":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":162,"character":3}}]}],"top":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":163,"character":3}}]}],"right":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":164,"character":3}}]}],"bottom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":165,"character":3}}]}],"width":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":166,"character":3}}]}],"height":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":167,"character":3}}]}],"formatterTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":169,"character":3},"arguments":[{"__symbolic":"reference","name":"TdChartViewDataFormatterDirective"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":169,"character":59}}]}]}],"fullTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":171,"character":3},"arguments":["toolboxContent",{"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":174,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":175,"character":25},{"__symbolic":"reference","module":"@covalent/echarts/base","name":"TdChartOptionsService","line":176,"character":29}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"_setOptions":[{"__symbolic":"method"}],"_removeOption":[{"__symbolic":"method"}],"_checkFormatterTemplate":[{"__symbolic":"method"}],"_optionToContentFormatter":[{"__symbolic":"method"}]}}},"origins":{"TOOLBOX_MODULE_COMPONENTS":"./toolbox.module","CovalentToolboxEchartsModule":"./toolbox.module","TdToolboxOrient":"./toolbox.component","TdImageType":"./toolbox.component","ITdAcceptedBrushTypes":"./toolbox.component","ITdAcceptedMagicTypes":"./toolbox.component","ITdToolboxIconEmphasis":"./toolbox.component","ITdFeatureIconStyle":"./toolbox.component","ITdZoomTitles":"./toolbox.component","ITdSaveAsImage":"./toolbox.component","ITdRestore":"./toolbox.component","ITdDataView":"./toolbox.component","ITdDataZoom":"./toolbox.component","ITdMagicType":"./toolbox.component","ITdBrush":"./toolbox.component","ITdToolboxFeature":"./toolbox.component","TdChartViewDataFormatterDirective":"./toolbox.component","TdChartToolboxComponent":"./toolbox.component"},"importAs":"@covalent/echarts/toolbox"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"TOOLTIP_MODULE_COMPONENTS":[{"__symbolic":"reference","name":"TdChartTooltipComponent"},{"__symbolic":"reference","name":"TdChartTooltipFormatterDirective"},{"__symbolic":"reference","name":"TdSeriesTooltipComponent"}],"CovalentTooltipEchartsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":14,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":15,"character":12}],"declarations":[{"__symbolic":"reference","name":"TOOLTIP_MODULE_COMPONENTS"}],"exports":[{"__symbolic":"reference","name":"TOOLTIP_MODULE_COMPONENTS"}]}]}],"members":{}},"TdTooltipContext":{"__symbolic":"class","members":{}},"TdChartTooltipFormatterDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":27,"character":1},"arguments":[{"selector":"ng-template[tdTooltipFormatter]"}]}],"members":{}},"TdChartTooltipComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":32,"character":1},"arguments":[{"selector":"td-chart-tooltip","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":35,"character":19},"member":"OnPush"},"template":"<ng-template #tooltipContent [ngTemplateOutlet]=\"formatterTemplate\" [ngTemplateOutletContext]=\"_context\"></ng-template>\n"}]}],"members":{"config":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"show":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"trigger":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"axisPointer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"showContent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":3}}]}],"alwaysShowContent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"triggerOn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"showDelay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":3}}]}],"hideDelay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":3}}]}],"enterable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":52,"character":3}}]}],"renderMode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":3}}]}],"confine":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":3}}]}],"transitionDuration":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":3}}]}],"position":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":3}}]}],"formatter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":3}}]}],"backgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":58,"character":3}}]}],"borderColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":3}}]}],"borderWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":60,"character":3}}]}],"padding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":61,"character":3}}]}],"textStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":62,"character":3}}]}],"extraCssText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":66,"character":3}}]}],"formatterTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":68,"character":3},"arguments":[{"__symbolic":"reference","name":"TdChartTooltipFormatterDirective"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":68,"character":58},"static":true}]}]}],"fullTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":70,"character":3},"arguments":["tooltipContent",{"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":73,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":74,"character":25},{"__symbolic":"reference","module":"@covalent/echarts/base","name":"TdChartOptionsService","line":75,"character":29}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"_setOptions":[{"__symbolic":"method"}],"_removeOption":[{"__symbolic":"method"}],"_formatter":[{"__symbolic":"method"}]}},"TdSeriesTooltipComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":17,"character":1},"arguments":[{"selector":"td-chart-series-tooltip","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":20,"character":19},"member":"OnPush"},"template":"<ng-template #tooltipContent [ngTemplateOutlet]=\"formatterTemplate\" [ngTemplateOutletContext]=\"_context\"></ng-template>\n"}]}],"members":{"config":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"formatter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"position":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"backgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"borderColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"borderWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"padding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"textStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"extraCssText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":3}}]}],"formatterTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":41,"character":3},"arguments":[{"__symbolic":"reference","name":"TdChartTooltipFormatterDirective"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":41,"character":58},"static":true}]}]}],"fullTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":43,"character":3},"arguments":["tooltipContent",{"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":46,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":47,"character":25},{"__symbolic":"reference","module":"@covalent/echarts/base","name":"TdSeriesDirective","line":48,"character":30}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"_setOptions":[{"__symbolic":"method"}],"_formatter":[{"__symbolic":"method"}],"_removeOption":[{"__symbolic":"method"}]}}},"origins":{"TOOLTIP_MODULE_COMPONENTS":"./tooltip.module","CovalentTooltipEchartsModule":"./tooltip.module","TdTooltipContext":"./tooltip.component","TdChartTooltipFormatterDirective":"./tooltip.component","TdChartTooltipComponent":"./tooltip.component","TdSeriesTooltipComponent":"./series-tooltip.component"},"importAs":"@covalent/echarts/tooltip"}
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"TOOLTIP_MODULE_COMPONENTS":[{"__symbolic":"reference","name":"TdChartTooltipComponent"},{"__symbolic":"reference","name":"TdChartTooltipFormatterDirective"},{"__symbolic":"reference","name":"TdSeriesTooltipComponent"}],"CovalentTooltipEchartsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":12}],"declarations":[{"__symbolic":"reference","name":"TOOLTIP_MODULE_COMPONENTS"}],"exports":[{"__symbolic":"reference","name":"TOOLTIP_MODULE_COMPONENTS"}]}]}],"members":{}},"TdTooltipContext":{"__symbolic":"class","members":{}},"TdChartTooltipFormatterDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":27,"character":1},"arguments":[{"selector":"ng-template[tdTooltipFormatter]"}]}],"members":{}},"TdChartTooltipComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":32,"character":1},"arguments":[{"selector":"td-chart-tooltip","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":35,"character":19},"member":"OnPush"},"template":"<ng-template #tooltipContent [ngTemplateOutlet]=\"formatterTemplate\" [ngTemplateOutletContext]=\"_context\"></ng-template>\n"}]}],"members":{"config":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"show":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"trigger":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"axisPointer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"showContent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":3}}]}],"alwaysShowContent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"triggerOn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"showDelay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":3}}]}],"hideDelay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":3}}]}],"enterable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":52,"character":3}}]}],"renderMode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":3}}]}],"confine":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":3}}]}],"transitionDuration":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":3}}]}],"position":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":3}}]}],"formatter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":3}}]}],"backgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":58,"character":3}}]}],"borderColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":3}}]}],"borderWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":60,"character":3}}]}],"padding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":61,"character":3}}]}],"textStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":62,"character":3}}]}],"extraCssText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":66,"character":3}}]}],"formatterTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":68,"character":3},"arguments":[{"__symbolic":"reference","name":"TdChartTooltipFormatterDirective"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":68,"character":58},"static":true}]}]}],"fullTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":70,"character":3},"arguments":["tooltipContent",{"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":73,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":74,"character":25},{"__symbolic":"reference","module":"@covalent/echarts/base","name":"TdChartOptionsService","line":75,"character":29}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"_setOptions":[{"__symbolic":"method"}],"_removeOption":[{"__symbolic":"method"}],"_formatter":[{"__symbolic":"method"}]}},"TdSeriesTooltipComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":17,"character":1},"arguments":[{"selector":"td-chart-series-tooltip","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":20,"character":19},"member":"OnPush"},"template":"<ng-template #tooltipContent [ngTemplateOutlet]=\"formatterTemplate\" [ngTemplateOutletContext]=\"_context\"></ng-template>\n"}]}],"members":{"config":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"formatter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"position":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"backgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"borderColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"borderWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"padding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"textStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"extraCssText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":3}}]}],"formatterTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":41,"character":3},"arguments":[{"__symbolic":"reference","name":"TdChartTooltipFormatterDirective"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":41,"character":58},"static":true}]}]}],"fullTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":43,"character":3},"arguments":["tooltipContent",{"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":46,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":47,"character":25},{"__symbolic":"reference","module":"@covalent/echarts/base","name":"TdSeriesDirective","line":48,"character":30}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"_setOptions":[{"__symbolic":"method"}],"_formatter":[{"__symbolic":"method"}],"_removeOption":[{"__symbolic":"method"}]}}},"origins":{"TOOLTIP_MODULE_COMPONENTS":"./tooltip.module","CovalentTooltipEchartsModule":"./tooltip.module","TdTooltipContext":"./tooltip.component","TdChartTooltipFormatterDirective":"./tooltip.component","TdChartTooltipComponent":"./tooltip.component","TdSeriesTooltipComponent":"./series-tooltip.component"},"importAs":"@covalent/echarts/tooltip"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"WORDCLOUD_MODULE_COMPONENTS":[{"__symbolic":"reference","name":"TdChartSeriesWordcloudComponent"}],"CovalentWordcloudEchartsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"WORDCLOUD_MODULE_COMPONENTS":[{"__symbolic":"reference","name":"TdChartSeriesWordcloudComponent"}],"CovalentWordcloudEchartsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":7,"character":12}],"declarations":[{"__symbolic":"reference","name":"WORDCLOUD_MODULE_COMPONENTS"}],"exports":[{"__symbolic":"reference","name":"WORDCLOUD_MODULE_COMPONENTS"}]}]}],"members":{}},"TdWordcloudShape":{"__symbolic":"interface"},"ITdWordcloudTextStyle":{"__symbolic":"interface"},"ITdWordCloudData":{"__symbolic":"interface"},"ITdWordcloudSeries":{"__symbolic":"interface"},"TdChartSeriesWordcloudComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@covalent/echarts/base","name":"TdSeriesDirective","line":76,"character":53},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":48,"character":1},"arguments":[{"selector":"td-chart-series[td-wordCloud]","template":"","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":51,"character":19},"member":"OnPush"},"inputs":["config","id","name","color","data","animation","animationThreshold","animationDuration","animationEasing","animationDelay","animationDurationUpdate","animationEasingUpdate","animationDelayUpdate","tooltip"],"providers":[{"provide":{"__symbolic":"reference","module":"@covalent/echarts/base","name":"TdSeriesDirective","line":71,"character":15},"useExisting":{"__symbolic":"reference","name":"TdChartSeriesWordcloudComponent"}}]}]}],"members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":77,"character":3}}]}],"shape":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":78,"character":3}}]}],"left":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":79,"character":3}}]}],"top":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":80,"character":3}}]}],"width":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":81,"character":3}}]}],"height":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":82,"character":3}}]}],"right":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":83,"character":3}}]}],"bottom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":84,"character":3}}]}],"sizeRange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":3}}]}],"rotationRange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":86,"character":3}}]}],"rotationStep":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":87,"character":3}}]}],"gridSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":88,"character":3}}]}],"drawOutOfBound":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":89,"character":3}}]}],"textStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":90,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@covalent/echarts/base","name":"TdChartOptionsService","line":92,"character":31}]}],"getConfig":[{"__symbolic":"method"}]}}},"origins":{"WORDCLOUD_MODULE_COMPONENTS":"./wordcloud.module","CovalentWordcloudEchartsModule":"./wordcloud.module","TdWordcloudShape":"./wordcloud.component","ITdWordcloudTextStyle":"./wordcloud.component","ITdWordCloudData":"./wordcloud.component","ITdWordcloudSeries":"./wordcloud.component","TdChartSeriesWordcloudComponent":"./wordcloud.component"},"importAs":"@covalent/echarts/wordcloud"}
|