@covalent/echarts 8.23.2 → 9.0.0-beta.1
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/esm2022/bar/bar.component.mjs +4 -4
- package/esm2022/bar/bar.module.mjs +5 -5
- package/esm2022/base/axis/axis.component.mjs +4 -4
- package/esm2022/base/axis/x-axis.component.mjs +4 -4
- package/esm2022/base/axis/y-axis.component.mjs +4 -4
- package/esm2022/base/base.module.mjs +5 -5
- package/esm2022/base/chart-options.service.mjs +4 -4
- package/esm2022/base/chart.component.mjs +4 -4
- package/esm2022/base/dataset/dataset.component.mjs +4 -4
- package/esm2022/base/series/series.component.mjs +4 -4
- package/esm2022/clustering/clustering.component.mjs +4 -4
- package/esm2022/clustering/clustering.module.mjs +5 -5
- package/esm2022/graph/graph.component.mjs +4 -4
- package/esm2022/graph/graph.module.mjs +5 -5
- package/esm2022/histogram/histogram.component.mjs +4 -4
- package/esm2022/histogram/histogram.module.mjs +5 -5
- package/esm2022/line/line.component.mjs +4 -4
- package/esm2022/line/line.module.mjs +5 -5
- package/esm2022/map/map.component.mjs +4 -4
- package/esm2022/map/map.module.mjs +5 -5
- package/esm2022/pie/pie.component.mjs +4 -4
- package/esm2022/pie/pie.module.mjs +5 -5
- package/esm2022/regression/regression.component.mjs +4 -4
- package/esm2022/regression/regression.module.mjs +5 -5
- package/esm2022/sankey/sankey.component.mjs +4 -4
- package/esm2022/sankey/sankey.module.mjs +5 -5
- package/esm2022/scatter/scatter.component.mjs +4 -4
- package/esm2022/scatter/scatter.module.mjs +5 -5
- package/esm2022/toolbox/toolbox.component.mjs +7 -7
- package/esm2022/toolbox/toolbox.module.mjs +5 -5
- package/esm2022/tooltip/series-tooltip.component.mjs +4 -4
- package/esm2022/tooltip/tooltip.component.mjs +7 -7
- package/esm2022/tooltip/tooltip.module.mjs +5 -5
- package/esm2022/tree/tree.component.mjs +4 -4
- package/esm2022/tree/tree.module.mjs +5 -5
- package/esm2022/treemap/treemap.component.mjs +4 -4
- package/esm2022/treemap/treemap.module.mjs +5 -5
- package/esm2022/wordcloud/wordcloud.component.mjs +4 -4
- package/esm2022/wordcloud/wordcloud.module.mjs +5 -5
- package/fesm2022/covalent-echarts-bar.mjs +8 -8
- package/fesm2022/covalent-echarts-bar.mjs.map +1 -1
- package/fesm2022/covalent-echarts-base.mjs +26 -26
- package/fesm2022/covalent-echarts-base.mjs.map +1 -1
- package/fesm2022/covalent-echarts-clustering.mjs +8 -8
- package/fesm2022/covalent-echarts-clustering.mjs.map +1 -1
- package/fesm2022/covalent-echarts-graph.mjs +8 -8
- package/fesm2022/covalent-echarts-graph.mjs.map +1 -1
- package/fesm2022/covalent-echarts-histogram.mjs +8 -8
- package/fesm2022/covalent-echarts-histogram.mjs.map +1 -1
- package/fesm2022/covalent-echarts-line.mjs +8 -8
- package/fesm2022/covalent-echarts-line.mjs.map +1 -1
- package/fesm2022/covalent-echarts-map.mjs +8 -8
- package/fesm2022/covalent-echarts-map.mjs.map +1 -1
- package/fesm2022/covalent-echarts-pie.mjs +8 -8
- package/fesm2022/covalent-echarts-pie.mjs.map +1 -1
- package/fesm2022/covalent-echarts-regression.mjs +8 -8
- package/fesm2022/covalent-echarts-regression.mjs.map +1 -1
- package/fesm2022/covalent-echarts-sankey.mjs +8 -8
- package/fesm2022/covalent-echarts-sankey.mjs.map +1 -1
- package/fesm2022/covalent-echarts-scatter.mjs +8 -8
- package/fesm2022/covalent-echarts-scatter.mjs.map +1 -1
- package/fesm2022/covalent-echarts-toolbox.mjs +11 -11
- package/fesm2022/covalent-echarts-toolbox.mjs.map +1 -1
- package/fesm2022/covalent-echarts-tooltip.mjs +14 -14
- package/fesm2022/covalent-echarts-tooltip.mjs.map +1 -1
- package/fesm2022/covalent-echarts-tree.mjs +8 -8
- package/fesm2022/covalent-echarts-tree.mjs.map +1 -1
- package/fesm2022/covalent-echarts-treemap.mjs +8 -8
- package/fesm2022/covalent-echarts-treemap.mjs.map +1 -1
- package/fesm2022/covalent-echarts-wordcloud.mjs +8 -8
- package/fesm2022/covalent-echarts-wordcloud.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { forwardRef,
|
|
2
|
+
import { forwardRef, Input, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import * as i1 from '@covalent/echarts/base';
|
|
5
5
|
import { TdSeriesDirective, assignDefined } from '@covalent/echarts/base';
|
|
@@ -154,15 +154,15 @@ class TdChartSeriesClusteringComponent extends TdSeriesDirective {
|
|
|
154
154
|
}, this.getConfig(), this._options, this.config ? this.config : {});
|
|
155
155
|
this.optionsService.setArrayOption('scatter', config);
|
|
156
156
|
}
|
|
157
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
158
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
157
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdChartSeriesClusteringComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
158
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.11", type: TdChartSeriesClusteringComponent, selector: "td-chart-series[td-clustering]", 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", clusterCount: "clusterCount", showCentroids: "showCentroids", bottom: "bottom", calendarIndex: "calendarIndex", circular: "circular", coordinateSystem: "coordinateSystem", cursor: "cursor", edgeLabel: "edgeLabel", edges: "edges", edgeSymbol: "edgeSymbol", edgeSymbolSize: "edgeSymbolSize", emphasis: "emphasis", focusNodeAdjacency: "focusNodeAdjacency", geoIndex: "geoIndex", height: "height", hoverAnimation: "hoverAnimation", itemStyle: "itemStyle", label: "label", left: "left", legendHoverLink: "legendHoverLink", lineStyle: "lineStyle", links: "links", markArea: "markArea", markLine: "markLine", markPoint: "markPoint", nodes: "nodes", nodeScaleRatio: "nodeScaleRatio", polarIndex: "polarIndex", right: "right", silent: "silent", symbol: "symbol", symbolKeepAspect: "symbolKeepAspect", symbolOffset: "symbolOffset", symbolRotate: "symbolRotate", symbolSize: "symbolSize", top: "top", width: "width", xAxisIndex: "xAxisIndex", yAxisIndex: "yAxisIndex", z: "z", zlevel: "zlevel" }, providers: [
|
|
159
159
|
{
|
|
160
160
|
provide: TdSeriesDirective,
|
|
161
161
|
useExisting: forwardRef(() => TdChartSeriesClusteringComponent),
|
|
162
162
|
},
|
|
163
163
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
164
164
|
}
|
|
165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdChartSeriesClusteringComponent, decorators: [{
|
|
166
166
|
type: Component,
|
|
167
167
|
args: [{
|
|
168
168
|
selector: 'td-chart-series[td-clustering]',
|
|
@@ -279,11 +279,11 @@ const CLUSTERING_MODULE_COMPONENTS = [
|
|
|
279
279
|
TdChartSeriesClusteringComponent,
|
|
280
280
|
];
|
|
281
281
|
class CovalentClusteringEchartsModule {
|
|
282
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
283
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
284
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
282
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentClusteringEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
283
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.11", ngImport: i0, type: CovalentClusteringEchartsModule, declarations: [TdChartSeriesClusteringComponent], imports: [CommonModule], exports: [TdChartSeriesClusteringComponent] });
|
|
284
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentClusteringEchartsModule, imports: [CommonModule] });
|
|
285
285
|
}
|
|
286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentClusteringEchartsModule, decorators: [{
|
|
287
287
|
type: NgModule,
|
|
288
288
|
args: [{
|
|
289
289
|
imports: [CommonModule],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-clustering.mjs","sources":["../../../../libs/angular-echarts/clustering/src/clustering.component.ts","../../../../libs/angular-echarts/clustering/src/clustering.module.ts","../../../../libs/angular-echarts/clustering/src/covalent-echarts-clustering.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n OnChanges,\n} from '@angular/core';\n\nimport {\n assignDefined,\n ITdEdgeLabel,\n ITdEmphasis,\n ITdItemStyle,\n ITdLabel,\n ITdLineStyle,\n ITdMarkArea,\n ITdMarkLine,\n ITdMarkPoint,\n ITdSeries,\n TdChartOptionsService,\n TdCoordinateSystem,\n TdMarkPointSymbol,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\nimport * as ecStat from 'echarts-stat';\n\nexport interface ITdClusteringSeries extends ITdSeries {\n clusterCount: number;\n showCentroids: boolean;\n animation?: boolean;\n animationDelay?: number | Function;\n animationDelayUpdate?: number | Function;\n animationDuration?: number | Function;\n animationDurationUpdate?: number | Function;\n animationEasing?: string;\n animationEasingUpdate?: string;\n animationThreshold?: number;\n bottom?: string | number;\n calendarIndex?: number;\n circular?: object;\n coordinateSystem?: TdCoordinateSystem;\n cursor?: string;\n edgeLabel?: ITdEdgeLabel;\n edges?: any[];\n edgeSymbol?: any[] | string;\n edgeSymbolSize?: number;\n emphasis?: ITdEmphasis;\n focusNodeAdjacency?: boolean;\n geoIndex?: number;\n height?: string | number;\n hoverAnimation?: boolean;\n itemStyle?: ITdItemStyle;\n label?: ITdLabel;\n left?: string | number;\n legendHoverLink?: boolean;\n lineStyle?: ITdLineStyle;\n links?: any[];\n markArea?: ITdMarkArea;\n markLine?: ITdMarkLine;\n markPoint?: ITdMarkPoint;\n nodes?: any[];\n nodeScaleRatio?: boolean;\n polarIndex?: number;\n right?: string | number;\n silent?: boolean;\n symbol?: TdMarkPointSymbol | string;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n symbolRotate?: number;\n symbolSize?: number | any[] | Function;\n top?: string | number;\n width?: string | number;\n xAxisIndex?: number;\n yAxisIndex?: number;\n z?: number;\n zlevel?: number;\n}\n\n@Component({\n selector: 'td-chart-series[td-clustering]',\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(() => TdChartSeriesClusteringComponent),\n },\n ],\n})\nexport class TdChartSeriesClusteringComponent\n extends TdSeriesDirective\n implements ITdClusteringSeries, OnChanges\n{\n @Input() clusterCount!: number;\n @Input() showCentroids!: boolean;\n @Input() bottom?: string | number;\n @Input() calendarIndex?: number;\n @Input() circular?: object;\n @Input() coordinateSystem?: TdCoordinateSystem;\n @Input() cursor?: string;\n @Input() edgeLabel?: ITdEdgeLabel;\n @Input() edges?: any[];\n @Input() edgeSymbol?: any[] | string;\n @Input() edgeSymbolSize?: number;\n @Input() emphasis?: ITdEmphasis;\n @Input() focusNodeAdjacency?: boolean;\n @Input() geoIndex?: number;\n @Input() height?: string | number;\n @Input() hoverAnimation?: boolean;\n @Input() itemStyle?: ITdItemStyle;\n @Input() label?: ITdLabel;\n @Input() left?: string | number;\n @Input() legendHoverLink?: boolean;\n @Input() lineStyle?: ITdLineStyle;\n @Input() links?: any[];\n @Input() markArea?: ITdMarkArea;\n @Input() markLine?: ITdMarkLine;\n @Input() markPoint?: ITdMarkPoint;\n @Input() nodes?: any[];\n @Input() nodeScaleRatio?: boolean;\n @Input() polarIndex?: number;\n @Input() right?: string | number;\n @Input() silent?: boolean;\n @Input() symbol?: TdMarkPointSymbol | string;\n @Input() symbolKeepAspect?: boolean;\n @Input() symbolOffset?: any[];\n @Input() symbolRotate?: number;\n @Input() symbolSize?: number | any[] | Function;\n @Input() top?: string | number;\n @Input() width?: string | number;\n @Input() xAxisIndex?: number;\n @Input() yAxisIndex?: number;\n @Input() z?: number;\n @Input() zlevel?: number;\n originalData: any;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('scatter', _optionsService);\n }\n\n override ngOnChanges(): void {\n if (this.originalData) {\n this.data = this.originalData;\n } else {\n this.originalData = this.data;\n }\n const output: any = this.data;\n const result = ecStat.clustering.hierarchicalKMeans(\n output,\n this.clusterCount,\n false\n );\n const series = [];\n\n for (let i = 0; i < result.centroids.length; i++) {\n series.push({\n name: `cluster ${i + 1}`,\n type: 'scatter',\n data: result.pointsInCluster[i],\n markPoint: this.showCentroids\n ? {\n symbolSize: 30,\n itemStyle: {\n normal: {\n opacity: 0.8,\n },\n },\n data: [\n {\n coord: result.centroids[i],\n label: { show: false },\n name: `centroid ${i + 1}`,\n value: result.centroids[i],\n },\n ],\n }\n : {},\n });\n }\n this.optionsService.setOption('series', series);\n this.data = [];\n this.setOptions();\n }\n\n override getConfig(): any {\n return {\n clusterCount: this.clusterCount,\n showCentroids: this.showCentroids,\n bottom: this.bottom,\n calendarIndex: this.calendarIndex,\n circular: this.circular,\n coordinateSystem: this.coordinateSystem,\n cursor: this.cursor,\n edgeLabel: this.edgeLabel,\n edges: this.edges,\n edgeSymbol: this.edgeSymbol,\n edgeSymbolSize: this.edgeSymbolSize,\n emphasis: this.emphasis,\n focusNodeAdjacency: this.focusNodeAdjacency,\n geoIndex: this.geoIndex,\n height: this.height,\n hoverAnimation: this.hoverAnimation,\n itemStyle: this.itemStyle,\n label: this.label,\n left: this.left,\n legendHoverLink: this.legendHoverLink,\n lineStyle: this.lineStyle,\n links: this.links,\n markArea: this.markArea,\n markLine: this.markLine,\n markPoint: this.markPoint,\n nodes: this.nodes,\n nodeScaleRatio: this.nodeScaleRatio,\n polarIndex: this.polarIndex,\n right: this.right,\n silent: this.silent,\n symbol: this.symbol,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n symbolRotate: this.symbolRotate,\n symbolSize: this.symbolSize,\n top: this.top,\n width: this.width,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n z: this.z,\n zlevel: this.zlevel,\n };\n }\n\n private setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n id: this.id,\n type: this.type,\n name: this.name,\n color: this.color,\n data: this.data,\n animation: this.animation,\n animationThreshold: this.animationThreshold,\n animationDuration: this.animationDuration,\n animationEasing: this.animationEasing,\n animationDelay: this.animationDelay,\n animationDurationUpdate: this.animationDurationUpdate,\n animationEasingUpdate: this.animationEasingUpdate,\n animationDelayUpdate: this.animationDelayUpdate,\n tooltip: this.tooltip,\n },\n this.getConfig(),\n this._options,\n this.config ? this.config : {}\n );\n this.optionsService.setArrayOption('scatter', config);\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesClusteringComponent } from './clustering.component';\n\nexport const CLUSTERING_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesClusteringComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [CLUSTERING_MODULE_COMPONENTS],\n exports: [CLUSTERING_MODULE_COMPONENTS],\n})\nexport class CovalentClusteringEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;AA0GM,MAAO,gCACX,SAAQ,iBAAiB,CAAA;AAGhB,IAAA,YAAY,CAAU;AACtB,IAAA,aAAa,CAAW;AACxB,IAAA,MAAM,CAAmB;AACzB,IAAA,aAAa,CAAU;AACvB,IAAA,QAAQ,CAAU;AAClB,IAAA,gBAAgB,CAAsB;AACtC,IAAA,MAAM,CAAU;AAChB,IAAA,SAAS,CAAgB;AACzB,IAAA,KAAK,CAAS;AACd,IAAA,UAAU,CAAkB;AAC5B,IAAA,cAAc,CAAU;AACxB,IAAA,QAAQ,CAAe;AACvB,IAAA,kBAAkB,CAAW;AAC7B,IAAA,QAAQ,CAAU;AAClB,IAAA,MAAM,CAAmB;AACzB,IAAA,cAAc,CAAW;AACzB,IAAA,SAAS,CAAgB;AACzB,IAAA,KAAK,CAAY;AACjB,IAAA,IAAI,CAAmB;AACvB,IAAA,eAAe,CAAW;AAC1B,IAAA,SAAS,CAAgB;AACzB,IAAA,KAAK,CAAS;AACd,IAAA,QAAQ,CAAe;AACvB,IAAA,QAAQ,CAAe;AACvB,IAAA,SAAS,CAAgB;AACzB,IAAA,KAAK,CAAS;AACd,IAAA,cAAc,CAAW;AACzB,IAAA,UAAU,CAAU;AACpB,IAAA,KAAK,CAAmB;AACxB,IAAA,MAAM,CAAW;AACjB,IAAA,MAAM,CAA8B;AACpC,IAAA,gBAAgB,CAAW;AAC3B,IAAA,YAAY,CAAS;AACrB,IAAA,YAAY,CAAU;AACtB,IAAA,UAAU,CAA6B;AACvC,IAAA,GAAG,CAAmB;AACtB,IAAA,KAAK,CAAmB;AACxB,IAAA,UAAU,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CAAA,EAAA,CAAA,CAAA;AAQrB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,YAJhC,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAIX,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAL3C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,4BAA4B,CAAC;oBAC5C,OAAO,EAAE,CAAC,4BAA4B,CAAC;AACxC,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"covalent-echarts-clustering.mjs","sources":["../../../../libs/angular-echarts/clustering/src/clustering.component.ts","../../../../libs/angular-echarts/clustering/src/clustering.module.ts","../../../../libs/angular-echarts/clustering/src/covalent-echarts-clustering.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n OnChanges,\n} from '@angular/core';\n\nimport {\n assignDefined,\n ITdEdgeLabel,\n ITdEmphasis,\n ITdItemStyle,\n ITdLabel,\n ITdLineStyle,\n ITdMarkArea,\n ITdMarkLine,\n ITdMarkPoint,\n ITdSeries,\n TdChartOptionsService,\n TdCoordinateSystem,\n TdMarkPointSymbol,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\nimport * as ecStat from 'echarts-stat';\n\nexport interface ITdClusteringSeries extends ITdSeries {\n clusterCount: number;\n showCentroids: boolean;\n animation?: boolean;\n animationDelay?: number | Function;\n animationDelayUpdate?: number | Function;\n animationDuration?: number | Function;\n animationDurationUpdate?: number | Function;\n animationEasing?: string;\n animationEasingUpdate?: string;\n animationThreshold?: number;\n bottom?: string | number;\n calendarIndex?: number;\n circular?: object;\n coordinateSystem?: TdCoordinateSystem;\n cursor?: string;\n edgeLabel?: ITdEdgeLabel;\n edges?: any[];\n edgeSymbol?: any[] | string;\n edgeSymbolSize?: number;\n emphasis?: ITdEmphasis;\n focusNodeAdjacency?: boolean;\n geoIndex?: number;\n height?: string | number;\n hoverAnimation?: boolean;\n itemStyle?: ITdItemStyle;\n label?: ITdLabel;\n left?: string | number;\n legendHoverLink?: boolean;\n lineStyle?: ITdLineStyle;\n links?: any[];\n markArea?: ITdMarkArea;\n markLine?: ITdMarkLine;\n markPoint?: ITdMarkPoint;\n nodes?: any[];\n nodeScaleRatio?: boolean;\n polarIndex?: number;\n right?: string | number;\n silent?: boolean;\n symbol?: TdMarkPointSymbol | string;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n symbolRotate?: number;\n symbolSize?: number | any[] | Function;\n top?: string | number;\n width?: string | number;\n xAxisIndex?: number;\n yAxisIndex?: number;\n z?: number;\n zlevel?: number;\n}\n\n@Component({\n selector: 'td-chart-series[td-clustering]',\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(() => TdChartSeriesClusteringComponent),\n },\n ],\n})\nexport class TdChartSeriesClusteringComponent\n extends TdSeriesDirective\n implements ITdClusteringSeries, OnChanges\n{\n @Input() clusterCount!: number;\n @Input() showCentroids!: boolean;\n @Input() bottom?: string | number;\n @Input() calendarIndex?: number;\n @Input() circular?: object;\n @Input() coordinateSystem?: TdCoordinateSystem;\n @Input() cursor?: string;\n @Input() edgeLabel?: ITdEdgeLabel;\n @Input() edges?: any[];\n @Input() edgeSymbol?: any[] | string;\n @Input() edgeSymbolSize?: number;\n @Input() emphasis?: ITdEmphasis;\n @Input() focusNodeAdjacency?: boolean;\n @Input() geoIndex?: number;\n @Input() height?: string | number;\n @Input() hoverAnimation?: boolean;\n @Input() itemStyle?: ITdItemStyle;\n @Input() label?: ITdLabel;\n @Input() left?: string | number;\n @Input() legendHoverLink?: boolean;\n @Input() lineStyle?: ITdLineStyle;\n @Input() links?: any[];\n @Input() markArea?: ITdMarkArea;\n @Input() markLine?: ITdMarkLine;\n @Input() markPoint?: ITdMarkPoint;\n @Input() nodes?: any[];\n @Input() nodeScaleRatio?: boolean;\n @Input() polarIndex?: number;\n @Input() right?: string | number;\n @Input() silent?: boolean;\n @Input() symbol?: TdMarkPointSymbol | string;\n @Input() symbolKeepAspect?: boolean;\n @Input() symbolOffset?: any[];\n @Input() symbolRotate?: number;\n @Input() symbolSize?: number | any[] | Function;\n @Input() top?: string | number;\n @Input() width?: string | number;\n @Input() xAxisIndex?: number;\n @Input() yAxisIndex?: number;\n @Input() z?: number;\n @Input() zlevel?: number;\n originalData: any;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('scatter', _optionsService);\n }\n\n override ngOnChanges(): void {\n if (this.originalData) {\n this.data = this.originalData;\n } else {\n this.originalData = this.data;\n }\n const output: any = this.data;\n const result = ecStat.clustering.hierarchicalKMeans(\n output,\n this.clusterCount,\n false\n );\n const series = [];\n\n for (let i = 0; i < result.centroids.length; i++) {\n series.push({\n name: `cluster ${i + 1}`,\n type: 'scatter',\n data: result.pointsInCluster[i],\n markPoint: this.showCentroids\n ? {\n symbolSize: 30,\n itemStyle: {\n normal: {\n opacity: 0.8,\n },\n },\n data: [\n {\n coord: result.centroids[i],\n label: { show: false },\n name: `centroid ${i + 1}`,\n value: result.centroids[i],\n },\n ],\n }\n : {},\n });\n }\n this.optionsService.setOption('series', series);\n this.data = [];\n this.setOptions();\n }\n\n override getConfig(): any {\n return {\n clusterCount: this.clusterCount,\n showCentroids: this.showCentroids,\n bottom: this.bottom,\n calendarIndex: this.calendarIndex,\n circular: this.circular,\n coordinateSystem: this.coordinateSystem,\n cursor: this.cursor,\n edgeLabel: this.edgeLabel,\n edges: this.edges,\n edgeSymbol: this.edgeSymbol,\n edgeSymbolSize: this.edgeSymbolSize,\n emphasis: this.emphasis,\n focusNodeAdjacency: this.focusNodeAdjacency,\n geoIndex: this.geoIndex,\n height: this.height,\n hoverAnimation: this.hoverAnimation,\n itemStyle: this.itemStyle,\n label: this.label,\n left: this.left,\n legendHoverLink: this.legendHoverLink,\n lineStyle: this.lineStyle,\n links: this.links,\n markArea: this.markArea,\n markLine: this.markLine,\n markPoint: this.markPoint,\n nodes: this.nodes,\n nodeScaleRatio: this.nodeScaleRatio,\n polarIndex: this.polarIndex,\n right: this.right,\n silent: this.silent,\n symbol: this.symbol,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n symbolRotate: this.symbolRotate,\n symbolSize: this.symbolSize,\n top: this.top,\n width: this.width,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n z: this.z,\n zlevel: this.zlevel,\n };\n }\n\n private setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n id: this.id,\n type: this.type,\n name: this.name,\n color: this.color,\n data: this.data,\n animation: this.animation,\n animationThreshold: this.animationThreshold,\n animationDuration: this.animationDuration,\n animationEasing: this.animationEasing,\n animationDelay: this.animationDelay,\n animationDurationUpdate: this.animationDurationUpdate,\n animationEasingUpdate: this.animationEasingUpdate,\n animationDelayUpdate: this.animationDelayUpdate,\n tooltip: this.tooltip,\n },\n this.getConfig(),\n this._options,\n this.config ? this.config : {}\n );\n this.optionsService.setArrayOption('scatter', config);\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesClusteringComponent } from './clustering.component';\n\nexport const CLUSTERING_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesClusteringComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [CLUSTERING_MODULE_COMPONENTS],\n exports: [CLUSTERING_MODULE_COMPONENTS],\n})\nexport class CovalentClusteringEchartsModule {}\n","/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A4B,GAAgB;IACvD,gCAAgC;;MAQrB,+BAA+B,CAAA;wGAA/B,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAA/B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,EAR1C,YAAA,EAAA,CAAA,gCAAgC,CAItB,EAAA,OAAA,EAAA,CAAA,YAAY,aAJtB,gCAAgC,CAAA,EAAA,CAAA;AAQrB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,YAJhC,YAAY,CAAA,EAAA,CAAA;;4FAIX,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAL3C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,4BAA4B,CAAC;oBAC5C,OAAO,EAAE,CAAC,4BAA4B,CAAC;AACxC,iBAAA;;;ACbD;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { forwardRef,
|
|
2
|
+
import { forwardRef, Input, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import * as i1 from '@covalent/echarts/base';
|
|
5
5
|
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
@@ -101,15 +101,15 @@ class TdChartSeriesGraphComponent extends TdSeriesDirective {
|
|
|
101
101
|
height: this.height,
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
105
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
104
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdChartSeriesGraphComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
105
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.11", type: TdChartSeriesGraphComponent, selector: "td-chart-series[td-graph]", 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", legendHoverLink: "legendHoverLink", coordinateSystem: "coordinateSystem", xAxisIndex: "xAxisIndex", yAxisIndex: "yAxisIndex", polarIndex: "polarIndex", calendarIndex: "calendarIndex", geoIndex: "geoIndex", hoverAnimation: "hoverAnimation", circular: "circular", force: "force", layout: "layout", nodeScaleRatio: "nodeScaleRatio", draggable: "draggable", symbol: "symbol", symbolSize: "symbolSize", symbolRotate: "symbolRotate", symbolKeepAspect: "symbolKeepAspect", symbolOffset: "symbolOffset", focusNodeAdjacency: "focusNodeAdjacency", edgeSymbol: "edgeSymbol", edgeSymbolSize: "edgeSymbolSize", cursor: "cursor", roam: "roam", initialTreeDepth: "initialTreeDepth", itemStyle: "itemStyle", lineStyle: "lineStyle", label: "label", edgeLabel: "edgeLabel", emphasis: "emphasis", categories: "categories", nodes: "nodes", links: "links", edges: "edges", markPoint: "markPoint", markLine: "markLine", markArea: "markArea", zlevel: "zlevel", z: "z", silent: "silent", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height" }, providers: [
|
|
106
106
|
{
|
|
107
107
|
provide: TdSeriesDirective,
|
|
108
108
|
useExisting: forwardRef(() => TdChartSeriesGraphComponent),
|
|
109
109
|
},
|
|
110
110
|
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
111
111
|
}
|
|
112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdChartSeriesGraphComponent, decorators: [{
|
|
113
113
|
type: Component,
|
|
114
114
|
args: [{
|
|
115
115
|
selector: 'td-chart-series[td-graph]',
|
|
@@ -234,11 +234,11 @@ const GRAPH_MODULE_COMPONENTS = [
|
|
|
234
234
|
TdChartSeriesGraphComponent,
|
|
235
235
|
];
|
|
236
236
|
class CovalentGraphEchartsModule {
|
|
237
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
238
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
239
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
237
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentGraphEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
238
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.11", ngImport: i0, type: CovalentGraphEchartsModule, declarations: [TdChartSeriesGraphComponent], imports: [CommonModule], exports: [TdChartSeriesGraphComponent] });
|
|
239
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentGraphEchartsModule, imports: [CommonModule] });
|
|
240
240
|
}
|
|
241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentGraphEchartsModule, decorators: [{
|
|
242
242
|
type: NgModule,
|
|
243
243
|
args: [{
|
|
244
244
|
imports: [CommonModule],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-graph.mjs","sources":["../../../../libs/angular-echarts/graph/src/graph.component.ts","../../../../libs/angular-echarts/graph/src/graph.module.ts","../../../../libs/angular-echarts/graph/src/covalent-echarts-graph.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n TdCoordinateSystem,\n ITdItemStyle,\n ITdEmphasis,\n TdSeriesLayoutBy,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdSeries,\n ITdLabel,\n TdSeriesDirective,\n TdMarkPointSymbol,\n ITdLineStyle,\n ITdEdgeLabel,\n} from '@covalent/echarts/base';\n\nexport interface ITdCategories {\n name?: string;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[];\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset: any[];\n itemStyle: ITdItemStyle;\n label: ITdLabel;\n emphasis: ITdEmphasis;\n}\n\nexport interface ITdGraphForce {\n initLayout?: string;\n repulsion?: any | number;\n gravity?: number;\n edgeLength?: any | number;\n layoutAnimation?: boolean;\n}\n\nexport type TdGraphLayout = 'none' | 'circular' | 'force';\n\nexport interface ITdGraphSeries extends ITdSeries {\n legendHoverLink?: boolean;\n coordinateSystem?: TdCoordinateSystem;\n xAxisIndex?: number;\n yAxisIndex?: number;\n polarIndex?: number;\n calendarIndex?: number;\n geoIndex?: number;\n hoverAnimation?: boolean;\n circular?: object;\n force?: ITdGraphForce;\n layout?: TdGraphLayout;\n nodeScaleRatio?: boolean;\n draggable?: boolean;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[] | Function;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n focusNodeAdjacency?: boolean;\n edgeSymbol?: any[] | string;\n edgeSymbolSize?: number;\n cursor?: string;\n roam?: boolean;\n expandAndCollapse?: boolean;\n initialTreeDepth?: number;\n itemStyle?: ITdItemStyle;\n lineStyle?: ITdLineStyle;\n label?: ITdLabel;\n edgeLabel?: ITdEdgeLabel;\n emphasis?: ITdEmphasis;\n categories?: ITdCategories;\n data?: any[];\n nodes?: any[];\n links?: any[];\n edges?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n zlevel?: number;\n z?: number;\n silent?: boolean;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n width?: string | number;\n height?: string | number;\n animation?: boolean;\n animationThreshold?: number;\n animationDuration?: number | Function;\n animationEasing?: string;\n animationDelay?: number | Function;\n animationDurationUpdate?: number | Function;\n animationEasingUpdate?: string;\n animationDelayUpdate?: number | Function;\n}\n\n@Component({\n selector: 'td-chart-series[td-graph]',\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(() => TdChartSeriesGraphComponent),\n },\n ],\n})\nexport class TdChartSeriesGraphComponent\n extends TdSeriesDirective\n implements ITdGraphSeries\n{\n @Input() legendHoverLink?: boolean;\n @Input() coordinateSystem?: TdCoordinateSystem;\n @Input() xAxisIndex?: number;\n @Input() yAxisIndex?: number;\n @Input() polarIndex?: number;\n @Input() calendarIndex?: number;\n @Input() geoIndex?: number;\n @Input() hoverAnimation?: boolean;\n @Input() circular?: object;\n @Input() force?: ITdGraphForce;\n @Input() layout?: TdGraphLayout;\n @Input() nodeScaleRatio?: boolean;\n @Input() draggable?: boolean;\n @Input() symbol?: TdMarkPointSymbol | string;\n @Input() symbolSize?: number | any[] | Function;\n @Input() symbolRotate?: number;\n @Input() symbolKeepAspect?: boolean;\n @Input() symbolOffset?: any[];\n @Input() focusNodeAdjacency?: boolean;\n @Input() edgeSymbol?: any[] | string;\n @Input() edgeSymbolSize?: number;\n @Input() cursor?: string;\n @Input() roam?: boolean;\n @Input() initialTreeDepth?: number;\n @Input() itemStyle?: ITdItemStyle;\n @Input() lineStyle?: ITdLineStyle;\n @Input() label?: ITdLabel;\n @Input() edgeLabel?: ITdEdgeLabel;\n @Input() emphasis?: ITdEmphasis;\n @Input() categories?: ITdCategories;\n @Input() nodes?: any[];\n @Input() links?: any[];\n @Input() edges?: any[];\n @Input() markPoint?: ITdMarkPoint;\n @Input() markLine?: ITdMarkLine;\n @Input() markArea?: ITdMarkArea;\n @Input() zlevel?: number;\n @Input() z?: number;\n @Input() silent?: boolean;\n @Input() left?: string | number;\n @Input() top?: string | number;\n @Input() right?: string | number;\n @Input() bottom?: string | number;\n @Input() width?: string | number;\n @Input() height?: string | number;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('graph', _optionsService);\n }\n\n getConfig(): any {\n return {\n legendHoverLink: this.legendHoverLink,\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n polarIndex: this.polarIndex,\n calendarIndex: this.calendarIndex,\n geoIndex: this.geoIndex,\n hoverAnimation: this.hoverAnimation,\n circular: this.circular,\n force: this.force,\n layout: this.layout,\n nodeScaleRatio: this.nodeScaleRatio,\n draggable: this.draggable,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n focusNodeAdjacency: this.focusNodeAdjacency,\n edgeSymbol: this.edgeSymbol,\n edgeSymbolSize: this.edgeSymbolSize,\n cursor: this.cursor,\n roam: this.roam,\n itemStyle: this.itemStyle,\n lineStyle: this.lineStyle,\n label: this.label,\n edgeLabel: this.edgeLabel,\n emphasis: this.emphasis,\n categories: this.categories,\n nodes: this.nodes,\n links: this.links,\n edges: this.edges,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n silent: this.silent,\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 }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TdChartSeriesGraphComponent } from './graph.component';\n\nexport const GRAPH_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesGraphComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [GRAPH_MODULE_COMPONENTS],\n exports: [GRAPH_MODULE_COMPONENTS],\n})\nexport class CovalentGraphEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;AAoIM,MAAO,2BACX,SAAQ,iBAAiB,CAAA;AAGhB,IAAA,eAAe,CAAW;AAC1B,IAAA,gBAAgB,CAAsB;AACtC,IAAA,UAAU,CAAU;AACpB,IAAA,UAAU,CAAU;AACpB,IAAA,UAAU,CAAU;AACpB,IAAA,aAAa,CAAU;AACvB,IAAA,QAAQ,CAAU;AAClB,IAAA,cAAc,CAAW;AACzB,IAAA,QAAQ,CAAU;AAClB,IAAA,KAAK,CAAiB;AACtB,IAAA,MAAM,CAAiB;AACvB,IAAA,cAAc,CAAW;AACzB,IAAA,SAAS,CAAW;AACpB,IAAA,MAAM,CAA8B;AACpC,IAAA,UAAU,CAA6B;AACvC,IAAA,YAAY,CAAU;AACtB,IAAA,gBAAgB,CAAW;AAC3B,IAAA,YAAY,CAAS;AACrB,IAAA,kBAAkB,CAAW;AAC7B,IAAA,UAAU,CAAkB;AAC5B,IAAA,cAAc,CAAU;AACxB,IAAA,MAAM,CAAU;AAChB,IAAA,IAAI,CAAW;AACf,IAAA,gBAAgB,CAAU;AAC1B,IAAA,SAAS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AAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,uBAAuB,CAAC;oBACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;AACnC,iBAAA,CAAA;;;ACZD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"covalent-echarts-graph.mjs","sources":["../../../../libs/angular-echarts/graph/src/graph.component.ts","../../../../libs/angular-echarts/graph/src/graph.module.ts","../../../../libs/angular-echarts/graph/src/covalent-echarts-graph.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n TdCoordinateSystem,\n ITdItemStyle,\n ITdEmphasis,\n TdSeriesLayoutBy,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdSeries,\n ITdLabel,\n TdSeriesDirective,\n TdMarkPointSymbol,\n ITdLineStyle,\n ITdEdgeLabel,\n} from '@covalent/echarts/base';\n\nexport interface ITdCategories {\n name?: string;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[];\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset: any[];\n itemStyle: ITdItemStyle;\n label: ITdLabel;\n emphasis: ITdEmphasis;\n}\n\nexport interface ITdGraphForce {\n initLayout?: string;\n repulsion?: any | number;\n gravity?: number;\n edgeLength?: any | number;\n layoutAnimation?: boolean;\n}\n\nexport type TdGraphLayout = 'none' | 'circular' | 'force';\n\nexport interface ITdGraphSeries extends ITdSeries {\n legendHoverLink?: boolean;\n coordinateSystem?: TdCoordinateSystem;\n xAxisIndex?: number;\n yAxisIndex?: number;\n polarIndex?: number;\n calendarIndex?: number;\n geoIndex?: number;\n hoverAnimation?: boolean;\n circular?: object;\n force?: ITdGraphForce;\n layout?: TdGraphLayout;\n nodeScaleRatio?: boolean;\n draggable?: boolean;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[] | Function;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n focusNodeAdjacency?: boolean;\n edgeSymbol?: any[] | string;\n edgeSymbolSize?: number;\n cursor?: string;\n roam?: boolean;\n expandAndCollapse?: boolean;\n initialTreeDepth?: number;\n itemStyle?: ITdItemStyle;\n lineStyle?: ITdLineStyle;\n label?: ITdLabel;\n edgeLabel?: ITdEdgeLabel;\n emphasis?: ITdEmphasis;\n categories?: ITdCategories;\n data?: any[];\n nodes?: any[];\n links?: any[];\n edges?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n zlevel?: number;\n z?: number;\n silent?: boolean;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n width?: string | number;\n height?: string | number;\n animation?: boolean;\n animationThreshold?: number;\n animationDuration?: number | Function;\n animationEasing?: string;\n animationDelay?: number | Function;\n animationDurationUpdate?: number | Function;\n animationEasingUpdate?: string;\n animationDelayUpdate?: number | Function;\n}\n\n@Component({\n selector: 'td-chart-series[td-graph]',\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(() => TdChartSeriesGraphComponent),\n },\n ],\n})\nexport class TdChartSeriesGraphComponent\n extends TdSeriesDirective\n implements ITdGraphSeries\n{\n @Input() legendHoverLink?: boolean;\n @Input() coordinateSystem?: TdCoordinateSystem;\n @Input() xAxisIndex?: number;\n @Input() yAxisIndex?: number;\n @Input() polarIndex?: number;\n @Input() calendarIndex?: number;\n @Input() geoIndex?: number;\n @Input() hoverAnimation?: boolean;\n @Input() circular?: object;\n @Input() force?: ITdGraphForce;\n @Input() layout?: TdGraphLayout;\n @Input() nodeScaleRatio?: boolean;\n @Input() draggable?: boolean;\n @Input() symbol?: TdMarkPointSymbol | string;\n @Input() symbolSize?: number | any[] | Function;\n @Input() symbolRotate?: number;\n @Input() symbolKeepAspect?: boolean;\n @Input() symbolOffset?: any[];\n @Input() focusNodeAdjacency?: boolean;\n @Input() edgeSymbol?: any[] | string;\n @Input() edgeSymbolSize?: number;\n @Input() cursor?: string;\n @Input() roam?: boolean;\n @Input() initialTreeDepth?: number;\n @Input() itemStyle?: ITdItemStyle;\n @Input() lineStyle?: ITdLineStyle;\n @Input() label?: ITdLabel;\n @Input() edgeLabel?: ITdEdgeLabel;\n @Input() emphasis?: ITdEmphasis;\n @Input() categories?: ITdCategories;\n @Input() nodes?: any[];\n @Input() links?: any[];\n @Input() edges?: any[];\n @Input() markPoint?: ITdMarkPoint;\n @Input() markLine?: ITdMarkLine;\n @Input() markArea?: ITdMarkArea;\n @Input() zlevel?: number;\n @Input() z?: number;\n @Input() silent?: boolean;\n @Input() left?: string | number;\n @Input() top?: string | number;\n @Input() right?: string | number;\n @Input() bottom?: string | number;\n @Input() width?: string | number;\n @Input() height?: string | number;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('graph', _optionsService);\n }\n\n getConfig(): any {\n return {\n legendHoverLink: this.legendHoverLink,\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n polarIndex: this.polarIndex,\n calendarIndex: this.calendarIndex,\n geoIndex: this.geoIndex,\n hoverAnimation: this.hoverAnimation,\n circular: this.circular,\n force: this.force,\n layout: this.layout,\n nodeScaleRatio: this.nodeScaleRatio,\n draggable: this.draggable,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n focusNodeAdjacency: this.focusNodeAdjacency,\n edgeSymbol: this.edgeSymbol,\n edgeSymbolSize: this.edgeSymbolSize,\n cursor: this.cursor,\n roam: this.roam,\n itemStyle: this.itemStyle,\n lineStyle: this.lineStyle,\n label: this.label,\n edgeLabel: this.edgeLabel,\n emphasis: this.emphasis,\n categories: this.categories,\n nodes: this.nodes,\n links: this.links,\n edges: this.edges,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n silent: this.silent,\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 }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TdChartSeriesGraphComponent } from './graph.component';\n\nexport const GRAPH_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesGraphComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [GRAPH_MODULE_COMPONENTS],\n exports: [GRAPH_MODULE_COMPONENTS],\n})\nexport class CovalentGraphEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;AAoIM,MAAO,2BACX,SAAQ,iBAAiB,CAAA;AAGhB,IAAA,eAAe;AACf,IAAA,gBAAgB;AAChB,IAAA,UAAU;AACV,IAAA,UAAU;AACV,IAAA,UAAU;AACV,IAAA,aAAa;AACb,IAAA,QAAQ;AACR,IAAA,cAAc;AACd,IAAA,QAAQ;AACR,IAAA,KAAK;AACL,IAAA,MAAM;AACN,IAAA,cAAc;AACd,IAAA,SAAS;AACT,IAAA,MAAM;AACN,IAAA,UAAU;AACV,IAAA,YAAY;AACZ,IAAA,gBAAgB;AAChB,IAAA,YAAY;AACZ,IAAA,kBAAkB;AAClB,IAAA,UAAU;AACV,IAAA,cAAc;AACd,IAAA,MAAM;AACN,IAAA,IAAI;AACJ,IAAA,gBAAgB;AAChB,IAAA,SAAS;AACT,IAAA,SAAS;AACT,IAAA,KAAK;AACL,IAAA,SAAS;AACT,IAAA,QAAQ;AACR,IAAA,UAAU;AACV,IAAA,KAAK;AACL,IAAA,KAAK;A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,uBAAuB,GAAgB;IAClD,2BAA2B;;MAQhB,0BAA0B,CAAA;wGAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAA1B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,EARrC,YAAA,EAAA,CAAA,2BAA2B,CAIjB,EAAA,OAAA,EAAA,CAAA,YAAY,aAJtB,2BAA2B,CAAA,EAAA,CAAA;AAQhB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,YAJ3B,YAAY,CAAA,EAAA,CAAA;;4FAIX,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBALtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,uBAAuB,CAAC;oBACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;AACnC,iBAAA;;;ACZD;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { forwardRef,
|
|
2
|
+
import { forwardRef, Input, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import * as i1 from '@covalent/echarts/base';
|
|
5
5
|
import { assignDefined, TdSeriesDirective } from '@covalent/echarts/base';
|
|
@@ -84,15 +84,15 @@ class TdChartSeriesHistogramComponent extends TdChartSeriesBarComponent {
|
|
|
84
84
|
}, this.getConfig(), this._options, this.config ? this.config : {});
|
|
85
85
|
this.optionsService.setArrayOption('series', config);
|
|
86
86
|
}
|
|
87
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
88
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
87
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdChartSeriesHistogramComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
88
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.11", type: TdChartSeriesHistogramComponent, selector: "td-chart-series[td-histogram]", 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", source: "source", method: "method" }, providers: [
|
|
89
89
|
{
|
|
90
90
|
provide: TdSeriesDirective,
|
|
91
91
|
useExisting: forwardRef(() => TdChartSeriesHistogramComponent),
|
|
92
92
|
},
|
|
93
93
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
94
94
|
}
|
|
95
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdChartSeriesHistogramComponent, decorators: [{
|
|
96
96
|
type: Component,
|
|
97
97
|
args: [{
|
|
98
98
|
selector: 'td-chart-series[td-histogram]',
|
|
@@ -131,11 +131,11 @@ const HISTOGRAM_MODULE_COMPONENTS = [
|
|
|
131
131
|
TdChartSeriesHistogramComponent,
|
|
132
132
|
];
|
|
133
133
|
class CovalentHistogramEchartsModule {
|
|
134
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
135
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
136
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
134
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentHistogramEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
135
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.11", ngImport: i0, type: CovalentHistogramEchartsModule, declarations: [TdChartSeriesHistogramComponent], imports: [CommonModule], exports: [TdChartSeriesHistogramComponent] });
|
|
136
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentHistogramEchartsModule, imports: [CommonModule] });
|
|
137
137
|
}
|
|
138
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentHistogramEchartsModule, decorators: [{
|
|
139
139
|
type: NgModule,
|
|
140
140
|
args: [{
|
|
141
141
|
imports: [CommonModule],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-histogram.mjs","sources":["../../../../libs/angular-echarts/histogram/src/histogram.component.ts","../../../../libs/angular-echarts/histogram/src/histogram.module.ts","../../../../libs/angular-echarts/histogram/src/covalent-echarts-histogram.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n OnChanges,\n} from '@angular/core';\n\nimport {\n assignDefined,\n TdChartOptionsService,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\nimport { ITdBarSeries, TdChartSeriesBarComponent } from '@covalent/echarts/bar';\nimport * as ecStat from 'echarts-stat';\n\nexport type TdHistogramBinningMethod =\n | 'squareRoot'\n | 'scott'\n | 'freedmanDiaconis'\n | 'sturges';\n\nexport interface ITdHistogramSeries extends ITdBarSeries {\n data?: number[] | number[][];\n method?: TdHistogramBinningMethod;\n}\n\n@Component({\n selector: 'td-chart-series[td-histogram]',\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(() => TdChartSeriesHistogramComponent),\n },\n ],\n})\nexport class TdChartSeriesHistogramComponent\n extends TdChartSeriesBarComponent\n implements ITdHistogramSeries, OnChanges\n{\n @Input() source?: number[] | number[][];\n @Input() method?: TdHistogramBinningMethod;\n\n constructor(_optionsService: TdChartOptionsService) {\n super(_optionsService);\n }\n\n override ngOnChanges(): void {\n let output: any = [];\n if (!this.source) {\n const dataset: any = this.optionsService.getOption('dataset');\n this.source = dataset?.source ?? [];\n }\n\n if (this.source?.some((item) => Array.isArray(item))) {\n const config = this.getConfig();\n const index = config.datasetIndex ?? 1;\n const source: any[] = this.source;\n const indexedOutput = source[0].map((_: any, colIndex: string | number) =>\n source.map((row) => row[colIndex])\n );\n output = indexedOutput[index - 1] ?? [];\n } else {\n output = this.source;\n }\n\n const bins = ecStat.histogram(output, this.method ?? 'squareRoot');\n this.data = bins.data;\n this.setOptions();\n }\n\n override getConfig(): any {\n return {\n method: this.method,\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n legendHoverLink: this.legendHoverLink,\n stack: this.stack,\n cursor: this.cursor,\n label: this.label,\n itemStyle: this.itemStyle,\n emphasis: this.emphasis,\n barWidth: this.barWidth,\n barMaxWidth: this.barMaxWidth,\n barMinHeight: this.barMinHeight,\n barGap: this.barGap,\n barCategoryGap: this.barCategoryGap,\n large: this.large,\n largeThreshold: this.largeThreshold,\n progressive: this.progressive,\n progressiveThreshold: this.progressiveThreshold,\n progressiveChunkMode: this.progressiveChunkMode,\n dimensions: this.dimensions,\n encode: this.encode,\n seriesLayoutBy: this.seriesLayoutBy,\n datasetIndex: this.datasetIndex,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n };\n }\n\n private setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n id: this.id,\n type: this.type,\n name: this.name,\n color: this.color,\n data: this.data,\n animation: this.animation,\n animationThreshold: this.animationThreshold,\n animationDuration: this.animationDuration,\n animationEasing: this.animationEasing,\n animationDelay: this.animationDelay,\n animationDurationUpdate: this.animationDurationUpdate,\n animationEasingUpdate: this.animationEasingUpdate,\n animationDelayUpdate: this.animationDelayUpdate,\n tooltip: this.tooltip,\n },\n this.getConfig(),\n this._options,\n this.config ? this.config : {}\n );\n this.optionsService.setArrayOption('series', config);\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesHistogramComponent } from './histogram.component';\n\nexport const HISTOGRAM_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesHistogramComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [HISTOGRAM_MODULE_COMPONENTS],\n exports: [HISTOGRAM_MODULE_COMPONENTS],\n})\nexport class CovalentHistogramEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;AAuDM,MAAO,+BACX,SAAQ,yBAAyB,CAAA;AAGxB,IAAA,MAAM,CAAyB;AAC/B,IAAA,MAAM,CAA4B;AAE3C,IAAA,WAAA,CAAY,eAAsC,EAAA;QAChD,KAAK,CAAC,eAAe,CAAC,CAAC;KACxB;IAEQ,WAAW,GAAA;QAClB,IAAI,MAAM,GAAQ,EAAE,C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A,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,8BAA8B,EARzC,YAAA,EAAA,CAAA,+BAA+B,CAIrB,EAAA,OAAA,EAAA,CAAA,YAAY,aAJtB,+BAA+B,CAAA,EAAA,CAAA,CAAA;AAQpB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,8BAA8B,YAJ/B,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAIX,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAL1C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,2BAA2B,CAAC;oBAC3C,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACvC,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"covalent-echarts-histogram.mjs","sources":["../../../../libs/angular-echarts/histogram/src/histogram.component.ts","../../../../libs/angular-echarts/histogram/src/histogram.module.ts","../../../../libs/angular-echarts/histogram/src/covalent-echarts-histogram.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n OnChanges,\n} from '@angular/core';\n\nimport {\n assignDefined,\n TdChartOptionsService,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\nimport { ITdBarSeries, TdChartSeriesBarComponent } from '@covalent/echarts/bar';\nimport * as ecStat from 'echarts-stat';\n\nexport type TdHistogramBinningMethod =\n | 'squareRoot'\n | 'scott'\n | 'freedmanDiaconis'\n | 'sturges';\n\nexport interface ITdHistogramSeries extends ITdBarSeries {\n data?: number[] | number[][];\n method?: TdHistogramBinningMethod;\n}\n\n@Component({\n selector: 'td-chart-series[td-histogram]',\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(() => TdChartSeriesHistogramComponent),\n },\n ],\n})\nexport class TdChartSeriesHistogramComponent\n extends TdChartSeriesBarComponent\n implements ITdHistogramSeries, OnChanges\n{\n @Input() source?: number[] | number[][];\n @Input() method?: TdHistogramBinningMethod;\n\n constructor(_optionsService: TdChartOptionsService) {\n super(_optionsService);\n }\n\n override ngOnChanges(): void {\n let output: any = [];\n if (!this.source) {\n const dataset: any = this.optionsService.getOption('dataset');\n this.source = dataset?.source ?? [];\n }\n\n if (this.source?.some((item) => Array.isArray(item))) {\n const config = this.getConfig();\n const index = config.datasetIndex ?? 1;\n const source: any[] = this.source;\n const indexedOutput = source[0].map((_: any, colIndex: string | number) =>\n source.map((row) => row[colIndex])\n );\n output = indexedOutput[index - 1] ?? [];\n } else {\n output = this.source;\n }\n\n const bins = ecStat.histogram(output, this.method ?? 'squareRoot');\n this.data = bins.data;\n this.setOptions();\n }\n\n override getConfig(): any {\n return {\n method: this.method,\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n legendHoverLink: this.legendHoverLink,\n stack: this.stack,\n cursor: this.cursor,\n label: this.label,\n itemStyle: this.itemStyle,\n emphasis: this.emphasis,\n barWidth: this.barWidth,\n barMaxWidth: this.barMaxWidth,\n barMinHeight: this.barMinHeight,\n barGap: this.barGap,\n barCategoryGap: this.barCategoryGap,\n large: this.large,\n largeThreshold: this.largeThreshold,\n progressive: this.progressive,\n progressiveThreshold: this.progressiveThreshold,\n progressiveChunkMode: this.progressiveChunkMode,\n dimensions: this.dimensions,\n encode: this.encode,\n seriesLayoutBy: this.seriesLayoutBy,\n datasetIndex: this.datasetIndex,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n };\n }\n\n private setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n id: this.id,\n type: this.type,\n name: this.name,\n color: this.color,\n data: this.data,\n animation: this.animation,\n animationThreshold: this.animationThreshold,\n animationDuration: this.animationDuration,\n animationEasing: this.animationEasing,\n animationDelay: this.animationDelay,\n animationDurationUpdate: this.animationDurationUpdate,\n animationEasingUpdate: this.animationEasingUpdate,\n animationDelayUpdate: this.animationDelayUpdate,\n tooltip: this.tooltip,\n },\n this.getConfig(),\n this._options,\n this.config ? this.config : {}\n );\n this.optionsService.setArrayOption('series', config);\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesHistogramComponent } from './histogram.component';\n\nexport const HISTOGRAM_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesHistogramComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [HISTOGRAM_MODULE_COMPONENTS],\n exports: [HISTOGRAM_MODULE_COMPONENTS],\n})\nexport class CovalentHistogramEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;AAuDM,MAAO,+BACX,SAAQ,yBAAyB,CAAA;AAGxB,IAAA,MAAM;AACN,IAAA,MAAM;AAEf,IAAA,WAAA,CAAY,eAAsC,EAAA;QAChD,KAAK,CAAC,eAAe,CAAC;;IAGf,WAAW,GAAA;QAClB,IAAI,MAAM,GAAQ,EAAE;AACpB,QAAA,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;YAChB,MAAM,OAAO,GAAQ,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,SAAS,CAAC;YAC7D,IAAI,CAAC,MAAM,GAAG,OAAO,EAAE,MAAM,IAA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AA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,8BAA8B,YAJ/B,YAAY,CAAA,EAAA,CAAA;;4FAIX,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAL1C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,2BAA2B,CAAC;oBAC3C,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACvC,iBAAA;;;ACbD;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { forwardRef,
|
|
2
|
+
import { forwardRef, Input, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import * as i1 from '@covalent/echarts/base';
|
|
5
5
|
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
@@ -84,15 +84,15 @@ class TdChartSeriesLineComponent extends TdSeriesDirective {
|
|
|
84
84
|
silent: this.silent,
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
88
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
87
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdChartSeriesLineComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
88
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.11", type: TdChartSeriesLineComponent, selector: "td-chart-series[td-line]", 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", coordinateSystem: "coordinateSystem", xAxisIndex: "xAxisIndex", yAxisIndex: "yAxisIndex", polarIndex: "polarIndex", symbol: "symbol", symbolSize: "symbolSize", symbolRotate: "symbolRotate", symbolKeepAspect: "symbolKeepAspect", symbolOffset: "symbolOffset", showSymbol: "showSymbol", showAllSymbol: "showAllSymbol", hoverAnimation: "hoverAnimation", legendHoverLink: "legendHoverLink", stack: "stack", cursor: "cursor", connectNulls: "connectNulls", clipOverflow: "clipOverflow", step: "step", label: "label", itemStyle: "itemStyle", lineStyle: "lineStyle", areaStyle: "areaStyle", emphasis: "emphasis", smooth: "smooth", smoothMonotone: "smoothMonotone", sampling: "sampling", dimensions: "dimensions", encode: "encode", seriesLayoutBy: "seriesLayoutBy", datasetIndex: "datasetIndex", markPoint: "markPoint", markLine: "markLine", markArea: "markArea", zlevel: "zlevel", z: "z", silent: "silent" }, providers: [
|
|
89
89
|
{
|
|
90
90
|
provide: TdSeriesDirective,
|
|
91
91
|
useExisting: forwardRef(() => TdChartSeriesLineComponent),
|
|
92
92
|
},
|
|
93
93
|
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
94
94
|
}
|
|
95
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdChartSeriesLineComponent, decorators: [{
|
|
96
96
|
type: Component,
|
|
97
97
|
args: [{
|
|
98
98
|
selector: 'td-chart-series[td-line]',
|
|
@@ -197,11 +197,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
197
197
|
|
|
198
198
|
const LINE_MODULE_COMPONENTS = [TdChartSeriesLineComponent];
|
|
199
199
|
class CovalentLineEchartsModule {
|
|
200
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
201
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
202
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
200
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentLineEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
201
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.11", ngImport: i0, type: CovalentLineEchartsModule, declarations: [TdChartSeriesLineComponent], imports: [CommonModule], exports: [TdChartSeriesLineComponent] });
|
|
202
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentLineEchartsModule, imports: [CommonModule] });
|
|
203
203
|
}
|
|
204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentLineEchartsModule, decorators: [{
|
|
205
205
|
type: NgModule,
|
|
206
206
|
args: [{
|
|
207
207
|
imports: [CommonModule],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-line.mjs","sources":["../../../../libs/angular-echarts/line/src/line.component.ts","../../../../libs/angular-echarts/line/src/line.module.ts","../../../../libs/angular-echarts/line/src/covalent-echarts-line.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n TdCoordinateSystem,\n TdMarkPointSymbol,\n ITdLabel,\n ITdItemStyle,\n ITdLineStyle,\n ITdAreaStyle,\n TdSeriesLayoutBy,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdEmphasis,\n ITdSeries,\n ITdShadow,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport type TdSampling = 'average' | 'max' | 'min' | 'sum';\n\nexport interface ITdLineSeries extends ITdSeries, ITdShadow {\n coordinateSystem?: TdCoordinateSystem;\n xAxisIndex?: number;\n yAxisIndex?: number;\n polarIndex?: number;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[] | Function;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n showSymbol?: boolean;\n showAllSymbol?: boolean | 'auto';\n hoverAnimation?: boolean;\n legendHoverLink?: boolean;\n stack?: string;\n cursor?: string;\n connectNulls?: boolean;\n clipOverflow?: boolean;\n step?: string | boolean;\n label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n lineStyle?: ITdLineStyle;\n width?: number;\n opacity?: number;\n areaStyle?: ITdAreaStyle;\n emphasis?: ITdEmphasis;\n smooth?: boolean | number;\n smoothMonotone?: string;\n sampling?: TdSampling;\n dimensions?: any[];\n encode?: any;\n seriesLayoutBy?: TdSeriesLayoutBy;\n datasetIndex?: number;\n data?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n zlevel?: number;\n z?: number;\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-line]',\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(() => TdChartSeriesLineComponent),\n },\n ],\n})\nexport class TdChartSeriesLineComponent\n extends TdSeriesDirective\n implements ITdLineSeries\n{\n @Input() coordinateSystem?: TdCoordinateSystem;\n @Input() xAxisIndex?: number;\n @Input() yAxisIndex?: number;\n @Input() polarIndex?: number;\n @Input() symbol?: TdMarkPointSymbol | string;\n @Input() symbolSize?: number | any[] | Function;\n @Input() symbolRotate?: number;\n @Input() symbolKeepAspect?: boolean;\n @Input() symbolOffset?: any[];\n @Input() showSymbol?: boolean;\n @Input() showAllSymbol?: boolean;\n @Input() hoverAnimation?: boolean;\n @Input() legendHoverLink?: boolean;\n @Input() stack?: string;\n @Input() cursor?: string;\n @Input() connectNulls?: boolean;\n @Input() clipOverflow?: boolean;\n @Input() step?: string | boolean;\n @Input() label?: ITdLabel;\n @Input() itemStyle?: ITdItemStyle;\n @Input() lineStyle?: ITdLineStyle;\n @Input() areaStyle?: ITdAreaStyle;\n @Input() emphasis?: ITdEmphasis;\n @Input() smooth?: boolean | number;\n @Input() smoothMonotone?: string;\n @Input() sampling?: TdSampling;\n @Input() dimensions?: any[];\n @Input() encode: any;\n @Input() seriesLayoutBy?: TdSeriesLayoutBy;\n @Input() datasetIndex?: number;\n @Input() markPoint?: ITdMarkPoint;\n @Input() markLine?: ITdMarkLine;\n @Input() markArea?: ITdMarkArea;\n @Input() zlevel?: number;\n @Input() z?: number;\n @Input() silent?: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('line', _optionsService);\n }\n\n getConfig(): any {\n return {\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n polarIndex: this.polarIndex,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n showSymbol: this.showSymbol,\n showAllSymbol: this.showAllSymbol,\n hoverAnimation: this.hoverAnimation,\n legendHoverLink: this.legendHoverLink,\n stack: this.stack,\n cursor: this.cursor,\n connectNulls: this.connectNulls,\n clipOverflow: this.clipOverflow,\n step: this.step,\n label: this.label,\n itemStyle: this.itemStyle,\n lineStyle: this.lineStyle,\n areaStyle: this.areaStyle,\n emphasis: this.emphasis,\n smooth: this.smooth,\n smoothMonotone: this.smoothMonotone,\n sampling: this.sampling,\n dimensions: this.dimensions,\n encode: this.encode,\n seriesLayoutBy: this.seriesLayoutBy,\n datasetIndex: this.datasetIndex,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesLineComponent } from './line.component';\n\nexport const LINE_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesLineComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [LINE_MODULE_COMPONENTS],\n exports: [LINE_MODULE_COMPONENTS],\n})\nexport class CovalentLineEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;AAiGM,MAAO,0BACX,SAAQ,iBAAiB,CAAA;AAGhB,IAAA,gBAAgB,CAAsB;AACtC,IAAA,UAAU,CAAU;AACpB,IAAA,UAAU,CAAU;AACpB,IAAA,UAAU,CAAU;AACpB,IAAA,MAAM,CAA8B;AACpC,IAAA,UAAU,CAA6B;AACvC,IAAA,YAAY,CAAU;AACtB,IAAA,gBAAgB,CAAW;AAC3B,IAAA,YAAY,CAAS;AACrB,IAAA,UAAU,CAAW;AACrB,IAAA,aAAa,CAAW;AACxB,IAAA,cAAc,CAAW;AACzB,IAAA,eAAe,CAAW;AAC1B,IAAA,KAAK,CAAU;AACf,IAAA,MAAM,CAAU;AAChB,IAAA,YAAY,CAAW;AACvB,IAAA,YAAY,CAAW;AACvB,IAAA,IAAI,CAAoB;AACxB,IAAA,KAAK,CAAY;AACjB,IAAA,SAAS,CAAgB;AACzB,IAAA,SAAS,CAAgB;AACzB,IAAA,SAAS,CAAgB;AACzB,IAAA,QAAQ,CAAe;AACvB,IAAA,MAAM,CAAoB;AAC1B,IAAA,cAAc,CAAU;AACxB,IAAA,QAAQ,CAAc;AACtB,IAAA,UAAU,CAAS;AACnB,IAAA,MA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AA;;2FAIX,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBALrC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,sBAAsB,CAAC;oBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"covalent-echarts-line.mjs","sources":["../../../../libs/angular-echarts/line/src/line.component.ts","../../../../libs/angular-echarts/line/src/line.module.ts","../../../../libs/angular-echarts/line/src/covalent-echarts-line.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n TdCoordinateSystem,\n TdMarkPointSymbol,\n ITdLabel,\n ITdItemStyle,\n ITdLineStyle,\n ITdAreaStyle,\n TdSeriesLayoutBy,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdEmphasis,\n ITdSeries,\n ITdShadow,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport type TdSampling = 'average' | 'max' | 'min' | 'sum';\n\nexport interface ITdLineSeries extends ITdSeries, ITdShadow {\n coordinateSystem?: TdCoordinateSystem;\n xAxisIndex?: number;\n yAxisIndex?: number;\n polarIndex?: number;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[] | Function;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n showSymbol?: boolean;\n showAllSymbol?: boolean | 'auto';\n hoverAnimation?: boolean;\n legendHoverLink?: boolean;\n stack?: string;\n cursor?: string;\n connectNulls?: boolean;\n clipOverflow?: boolean;\n step?: string | boolean;\n label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n lineStyle?: ITdLineStyle;\n width?: number;\n opacity?: number;\n areaStyle?: ITdAreaStyle;\n emphasis?: ITdEmphasis;\n smooth?: boolean | number;\n smoothMonotone?: string;\n sampling?: TdSampling;\n dimensions?: any[];\n encode?: any;\n seriesLayoutBy?: TdSeriesLayoutBy;\n datasetIndex?: number;\n data?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n zlevel?: number;\n z?: number;\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-line]',\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(() => TdChartSeriesLineComponent),\n },\n ],\n})\nexport class TdChartSeriesLineComponent\n extends TdSeriesDirective\n implements ITdLineSeries\n{\n @Input() coordinateSystem?: TdCoordinateSystem;\n @Input() xAxisIndex?: number;\n @Input() yAxisIndex?: number;\n @Input() polarIndex?: number;\n @Input() symbol?: TdMarkPointSymbol | string;\n @Input() symbolSize?: number | any[] | Function;\n @Input() symbolRotate?: number;\n @Input() symbolKeepAspect?: boolean;\n @Input() symbolOffset?: any[];\n @Input() showSymbol?: boolean;\n @Input() showAllSymbol?: boolean;\n @Input() hoverAnimation?: boolean;\n @Input() legendHoverLink?: boolean;\n @Input() stack?: string;\n @Input() cursor?: string;\n @Input() connectNulls?: boolean;\n @Input() clipOverflow?: boolean;\n @Input() step?: string | boolean;\n @Input() label?: ITdLabel;\n @Input() itemStyle?: ITdItemStyle;\n @Input() lineStyle?: ITdLineStyle;\n @Input() areaStyle?: ITdAreaStyle;\n @Input() emphasis?: ITdEmphasis;\n @Input() smooth?: boolean | number;\n @Input() smoothMonotone?: string;\n @Input() sampling?: TdSampling;\n @Input() dimensions?: any[];\n @Input() encode: any;\n @Input() seriesLayoutBy?: TdSeriesLayoutBy;\n @Input() datasetIndex?: number;\n @Input() markPoint?: ITdMarkPoint;\n @Input() markLine?: ITdMarkLine;\n @Input() markArea?: ITdMarkArea;\n @Input() zlevel?: number;\n @Input() z?: number;\n @Input() silent?: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('line', _optionsService);\n }\n\n getConfig(): any {\n return {\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n polarIndex: this.polarIndex,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n showSymbol: this.showSymbol,\n showAllSymbol: this.showAllSymbol,\n hoverAnimation: this.hoverAnimation,\n legendHoverLink: this.legendHoverLink,\n stack: this.stack,\n cursor: this.cursor,\n connectNulls: this.connectNulls,\n clipOverflow: this.clipOverflow,\n step: this.step,\n label: this.label,\n itemStyle: this.itemStyle,\n lineStyle: this.lineStyle,\n areaStyle: this.areaStyle,\n emphasis: this.emphasis,\n smooth: this.smooth,\n smoothMonotone: this.smoothMonotone,\n sampling: this.sampling,\n dimensions: this.dimensions,\n encode: this.encode,\n seriesLayoutBy: this.seriesLayoutBy,\n datasetIndex: this.datasetIndex,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesLineComponent } from './line.component';\n\nexport const LINE_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesLineComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [LINE_MODULE_COMPONENTS],\n exports: [LINE_MODULE_COMPONENTS],\n})\nexport class CovalentLineEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;AAiGM,MAAO,0BACX,SAAQ,iBAAiB,CAAA;AAGhB,IAAA,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AAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,yBAAyB,YAJ1B,YAAY,CAAA,EAAA,CAAA;;4FAIX,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBALrC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,sBAAsB,CAAC;oBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;;ACXD;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { forwardRef,
|
|
2
|
+
import { forwardRef, Input, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import * as i1 from '@covalent/echarts/base';
|
|
5
5
|
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
@@ -66,15 +66,15 @@ class TdChartSeriesMapComponent extends TdSeriesDirective {
|
|
|
66
66
|
silent: this.silent,
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
70
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
69
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdChartSeriesMapComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
70
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.11", type: TdChartSeriesMapComponent, selector: "td-chart-series[td-map]", 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", map: "map", roam: "roam", center: "center", aspectScale: "aspectScale", boudingCoords: "boudingCoords", zoom: "zoom", scaleLimit: "scaleLimit", nameMap: "nameMap", selectedMode: "selectedMode", label: "label", itemStyle: "itemStyle", zLevel: "zLevel", z: "z", left: "left", top: "top", right: "right", bottom: "bottom", layoutCenter: "layoutCenter", layoutSize: "layoutSize", geoIndex: "geoIndex", mapValueCalculation: "mapValueCalculation", showLegendSymbol: "showLegendSymbol", seriesLayoutBy: "seriesLayoutBy", markPoint: "markPoint", markLine: "markLine", markArea: "markArea", silent: "silent" }, providers: [
|
|
71
71
|
{
|
|
72
72
|
provide: TdSeriesDirective,
|
|
73
73
|
useExisting: forwardRef(() => TdChartSeriesMapComponent),
|
|
74
74
|
},
|
|
75
75
|
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
76
76
|
}
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdChartSeriesMapComponent, decorators: [{
|
|
78
78
|
type: Component,
|
|
79
79
|
args: [{
|
|
80
80
|
selector: 'td-chart-series[td-map]',
|
|
@@ -161,11 +161,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
161
161
|
|
|
162
162
|
const MAP_MODULE_COMPONENTS = [TdChartSeriesMapComponent];
|
|
163
163
|
class CovalentMapEchartsModule {
|
|
164
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
165
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
166
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
164
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentMapEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
165
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.11", ngImport: i0, type: CovalentMapEchartsModule, declarations: [TdChartSeriesMapComponent], imports: [CommonModule], exports: [TdChartSeriesMapComponent] });
|
|
166
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentMapEchartsModule, imports: [CommonModule] });
|
|
167
167
|
}
|
|
168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentMapEchartsModule, decorators: [{
|
|
169
169
|
type: NgModule,
|
|
170
170
|
args: [{
|
|
171
171
|
imports: [CommonModule],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-map.mjs","sources":["../../../../libs/angular-echarts/map/src/map.component.ts","../../../../libs/angular-echarts/map/src/map.module.ts","../../../../libs/angular-echarts/map/src/covalent-echarts-map.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdSeries,\n ITdLabel,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport type TdMapValueCalculation = 'sum' | 'average' | 'max' | 'min';\nexport type TdMapSeriesLayoutBy = 'column' | 'row';\n\nexport interface ITdMapScaleLimit {\n min?: number;\n max?: number;\n}\n\nexport interface ITdMapItemStyle {\n areaColor?: ITdItemStyle;\n emphasis?: ITdItemStyle;\n}\n\nexport interface ITdMapSeries extends ITdSeries {\n map?: string;\n roam?: boolean;\n center?: number[];\n aspectScale?: number;\n boudingCoords?: any[];\n zoom?: number;\n scaleLimit?: ITdMapScaleLimit;\n nameMap?: object;\n selectedMode?: boolean | string;\n label?: ITdLabel;\n itemStyle?: ITdMapItemStyle;\n zLevel?: number;\n z?: number;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n layoutCenter?: any[];\n layoutSize?: any[];\n geoIndex?: number;\n mapValueCalculation?: TdMapValueCalculation;\n showLegendSymbol?: boolean;\n seriesLayoutBy?: string;\n data?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-map]',\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(() => TdChartSeriesMapComponent),\n },\n ],\n})\nexport class TdChartSeriesMapComponent\n extends TdSeriesDirective\n implements ITdMapSeries\n{\n @Input() map?: string;\n @Input() roam?: boolean;\n @Input() center?: number[];\n @Input() aspectScale?: number;\n @Input() boudingCoords?: any[];\n @Input() zoom?: number;\n @Input() scaleLimit?: ITdMapScaleLimit;\n @Input() nameMap?: object;\n @Input() selectedMode?: boolean | string;\n @Input() label?: ITdLabel;\n @Input() itemStyle?: ITdMapItemStyle;\n @Input() zLevel?: number;\n @Input() z?: number;\n @Input() left?: string | number;\n @Input() top?: string | number;\n @Input() right?: string | number;\n @Input() bottom?: string | number;\n @Input() layoutCenter?: any[];\n @Input() layoutSize?: any[];\n @Input() geoIndex?: number;\n @Input() mapValueCalculation?: TdMapValueCalculation;\n @Input() showLegendSymbol?: boolean;\n @Input() seriesLayoutBy?: string;\n @Input() markPoint?: ITdMarkPoint;\n @Input() markLine?: ITdMarkLine;\n @Input() markArea?: ITdMarkArea;\n @Input() silent?: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('map', _optionsService);\n }\n\n getConfig(): any {\n return {\n map: this.map,\n roam: this.roam,\n center: this.center,\n aspectScale: this.aspectScale,\n boudingCoords: this.boudingCoords,\n zoom: this.zoom,\n scaleLimit: this.scaleLimit,\n nameMap: this.nameMap,\n selectedMode: this.selectedMode,\n label: this.label,\n itemStyle: this.itemStyle,\n zLevel: this.zLevel,\n z: this.z,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n layoutCenter: this.layoutCenter,\n layoutSize: this.layoutSize,\n geoIndex: this.geoIndex,\n mapValueCalculation: this.mapValueCalculation,\n showLegendSymbol: this.showLegendSymbol,\n seriesLayoutBy: this.seriesLayoutBy,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesMapComponent } from './map.component';\n\nexport const MAP_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesMapComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [MAP_MODULE_COMPONENTS],\n exports: [MAP_MODULE_COMPONENTS],\n})\nexport class CovalentMapEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;AA0FM,MAAO,yBACX,SAAQ,iBAAiB,CAAA;AAGhB,IAAA,GAAG
|
|
1
|
+
{"version":3,"file":"covalent-echarts-map.mjs","sources":["../../../../libs/angular-echarts/map/src/map.component.ts","../../../../libs/angular-echarts/map/src/map.module.ts","../../../../libs/angular-echarts/map/src/covalent-echarts-map.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdSeries,\n ITdLabel,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport type TdMapValueCalculation = 'sum' | 'average' | 'max' | 'min';\nexport type TdMapSeriesLayoutBy = 'column' | 'row';\n\nexport interface ITdMapScaleLimit {\n min?: number;\n max?: number;\n}\n\nexport interface ITdMapItemStyle {\n areaColor?: ITdItemStyle;\n emphasis?: ITdItemStyle;\n}\n\nexport interface ITdMapSeries extends ITdSeries {\n map?: string;\n roam?: boolean;\n center?: number[];\n aspectScale?: number;\n boudingCoords?: any[];\n zoom?: number;\n scaleLimit?: ITdMapScaleLimit;\n nameMap?: object;\n selectedMode?: boolean | string;\n label?: ITdLabel;\n itemStyle?: ITdMapItemStyle;\n zLevel?: number;\n z?: number;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n layoutCenter?: any[];\n layoutSize?: any[];\n geoIndex?: number;\n mapValueCalculation?: TdMapValueCalculation;\n showLegendSymbol?: boolean;\n seriesLayoutBy?: string;\n data?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-map]',\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(() => TdChartSeriesMapComponent),\n },\n ],\n})\nexport class TdChartSeriesMapComponent\n extends TdSeriesDirective\n implements ITdMapSeries\n{\n @Input() map?: string;\n @Input() roam?: boolean;\n @Input() center?: number[];\n @Input() aspectScale?: number;\n @Input() boudingCoords?: any[];\n @Input() zoom?: number;\n @Input() scaleLimit?: ITdMapScaleLimit;\n @Input() nameMap?: object;\n @Input() selectedMode?: boolean | string;\n @Input() label?: ITdLabel;\n @Input() itemStyle?: ITdMapItemStyle;\n @Input() zLevel?: number;\n @Input() z?: number;\n @Input() left?: string | number;\n @Input() top?: string | number;\n @Input() right?: string | number;\n @Input() bottom?: string | number;\n @Input() layoutCenter?: any[];\n @Input() layoutSize?: any[];\n @Input() geoIndex?: number;\n @Input() mapValueCalculation?: TdMapValueCalculation;\n @Input() showLegendSymbol?: boolean;\n @Input() seriesLayoutBy?: string;\n @Input() markPoint?: ITdMarkPoint;\n @Input() markLine?: ITdMarkLine;\n @Input() markArea?: ITdMarkArea;\n @Input() silent?: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('map', _optionsService);\n }\n\n getConfig(): any {\n return {\n map: this.map,\n roam: this.roam,\n center: this.center,\n aspectScale: this.aspectScale,\n boudingCoords: this.boudingCoords,\n zoom: this.zoom,\n scaleLimit: this.scaleLimit,\n nameMap: this.nameMap,\n selectedMode: this.selectedMode,\n label: this.label,\n itemStyle: this.itemStyle,\n zLevel: this.zLevel,\n z: this.z,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n layoutCenter: this.layoutCenter,\n layoutSize: this.layoutSize,\n geoIndex: this.geoIndex,\n mapValueCalculation: this.mapValueCalculation,\n showLegendSymbol: this.showLegendSymbol,\n seriesLayoutBy: this.seriesLayoutBy,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesMapComponent } from './map.component';\n\nexport const MAP_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesMapComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [MAP_MODULE_COMPONENTS],\n exports: [MAP_MODULE_COMPONENTS],\n})\nexport class CovalentMapEchartsModule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