@covalent/echarts 6.4.0 → 6.4.2
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/bar/bar.component.d.ts +1 -1
- package/base/axis/axis.component.d.ts +1 -1
- package/base/axis/x-axis.component.d.ts +1 -1
- package/base/axis/y-axis.component.d.ts +1 -1
- package/base/chart.component.d.ts +1 -1
- package/base/dataset/dataset.component.d.ts +1 -1
- package/base/series/series.component.d.ts +1 -1
- package/base/src/axis/README.md +58 -0
- package/base/src/dataset/README.md +80 -0
- package/clustering/clustering.component.d.ts +1 -1
- package/esm2020/bar/bar.component.mjs +135 -0
- package/{esm2022 → esm2020}/bar/bar.module.mjs +5 -5
- package/esm2020/base/axis/axis.component.mjs +127 -0
- package/esm2020/base/axis/x-axis.component.mjs +55 -0
- package/esm2020/base/axis/y-axis.component.mjs +55 -0
- package/{esm2022 → esm2020}/base/base.module.mjs +11 -11
- package/esm2020/base/chart-options.service.mjs +65 -0
- package/esm2020/base/chart.component.mjs +195 -0
- package/esm2020/base/dataset/dataset.component.mjs +52 -0
- package/esm2020/base/series/series.component.mjs +91 -0
- package/esm2020/clustering/clustering.component.mjs +233 -0
- package/{esm2022 → esm2020}/clustering/clustering.module.mjs +5 -5
- package/esm2020/graph/graph.component.mjs +185 -0
- package/{esm2022 → esm2020}/graph/graph.module.mjs +5 -5
- package/esm2020/histogram/histogram.component.mjs +125 -0
- package/{esm2022 → esm2020}/histogram/histogram.module.mjs +5 -5
- package/esm2020/line/line.component.mjs +159 -0
- package/{esm2022 → esm2020}/line/line.module.mjs +5 -5
- package/esm2020/map/map.component.mjs +132 -0
- package/{esm2022 → esm2020}/map/map.module.mjs +5 -5
- package/esm2020/pie/pie.component.mjs +127 -0
- package/{esm2022 → esm2020}/pie/pie.module.mjs +5 -5
- package/esm2020/regression/regression.component.mjs +137 -0
- package/{esm2022 → esm2020}/regression/regression.module.mjs +5 -5
- package/esm2020/sankey/sankey.component.mjs +117 -0
- package/{esm2022 → esm2020}/sankey/sankey.module.mjs +5 -5
- package/esm2020/scatter/scatter.component.mjs +144 -0
- package/{esm2022 → esm2020}/scatter/scatter.module.mjs +5 -5
- package/esm2020/toolbox/toolbox.component.mjs +135 -0
- package/{esm2022 → esm2020}/toolbox/toolbox.module.mjs +7 -7
- package/esm2020/tooltip/series-tooltip.component.mjs +102 -0
- package/esm2020/tooltip/tooltip.component.mjs +156 -0
- package/{esm2022 → esm2020}/tooltip/tooltip.module.mjs +9 -9
- package/esm2020/tree/tree.component.mjs +117 -0
- package/{esm2022 → esm2020}/tree/tree.module.mjs +5 -5
- package/esm2020/treemap/treemap.component.mjs +149 -0
- package/{esm2022 → esm2020}/treemap/treemap.module.mjs +5 -5
- package/esm2020/wordcloud/wordcloud.component.mjs +92 -0
- package/{esm2022 → esm2020}/wordcloud/wordcloud.module.mjs +5 -5
- package/{fesm2022 → fesm2015}/covalent-echarts-bar.mjs +12 -40
- package/fesm2015/covalent-echarts-bar.mjs.map +1 -0
- package/fesm2015/covalent-echarts-base.mjs +4931 -0
- package/{fesm2022 → fesm2015}/covalent-echarts-base.mjs.map +1 -1
- package/{fesm2022 → fesm2015}/covalent-echarts-clustering.mjs +12 -54
- package/fesm2015/covalent-echarts-clustering.mjs.map +1 -0
- package/{fesm2022 → fesm2015}/covalent-echarts-graph.mjs +12 -57
- package/{fesm2022 → fesm2015}/covalent-echarts-graph.mjs.map +1 -1
- package/fesm2015/covalent-echarts-histogram.mjs +151 -0
- package/fesm2015/covalent-echarts-histogram.mjs.map +1 -0
- package/{fesm2022 → fesm2015}/covalent-echarts-line.mjs +12 -48
- package/fesm2015/covalent-echarts-line.mjs.map +1 -0
- package/{fesm2022 → fesm2015}/covalent-echarts-map.mjs +12 -39
- package/fesm2015/covalent-echarts-map.mjs.map +1 -0
- package/{fesm2022 → fesm2015}/covalent-echarts-pie.mjs +12 -38
- package/fesm2015/covalent-echarts-pie.mjs.map +1 -0
- package/fesm2015/covalent-echarts-regression.mjs +163 -0
- package/fesm2015/covalent-echarts-regression.mjs.map +1 -0
- package/{fesm2022 → fesm2015}/covalent-echarts-sankey.mjs +12 -34
- package/fesm2015/covalent-echarts-sankey.mjs.map +1 -0
- package/{fesm2022 → fesm2015}/covalent-echarts-scatter.mjs +12 -43
- package/fesm2015/covalent-echarts-scatter.mjs.map +1 -0
- package/fesm2015/covalent-echarts-toolbox.mjs +158 -0
- package/fesm2015/covalent-echarts-toolbox.mjs.map +1 -0
- package/{fesm2022 → fesm2015}/covalent-echarts-tooltip.mjs +47 -69
- package/{fesm2022 → fesm2015}/covalent-echarts-tooltip.mjs.map +1 -1
- package/{fesm2022 → fesm2015}/covalent-echarts-tree.mjs +12 -34
- package/{fesm2022 → fesm2015}/covalent-echarts-tree.mjs.map +1 -1
- package/{fesm2022 → fesm2015}/covalent-echarts-treemap.mjs +13 -46
- package/fesm2015/covalent-echarts-treemap.mjs.map +1 -0
- package/{fesm2022 → fesm2015}/covalent-echarts-wordcloud.mjs +12 -26
- package/fesm2015/covalent-echarts-wordcloud.mjs.map +1 -0
- package/fesm2020/covalent-echarts-bar.mjs +158 -0
- package/fesm2020/covalent-echarts-bar.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/covalent-echarts-base.mjs +69 -135
- package/fesm2020/covalent-echarts-base.mjs.map +1 -0
- package/fesm2020/covalent-echarts-clustering.mjs +258 -0
- package/{fesm2022 → fesm2020}/covalent-echarts-clustering.mjs.map +1 -1
- package/fesm2020/covalent-echarts-graph.mjs +210 -0
- package/fesm2020/covalent-echarts-graph.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/covalent-echarts-histogram.mjs +12 -14
- package/{fesm2022 → fesm2020}/covalent-echarts-histogram.mjs.map +1 -1
- package/fesm2020/covalent-echarts-line.mjs +182 -0
- package/fesm2020/covalent-echarts-line.mjs.map +1 -0
- package/fesm2020/covalent-echarts-map.mjs +155 -0
- package/{fesm2022 → fesm2020}/covalent-echarts-map.mjs.map +1 -1
- package/fesm2020/covalent-echarts-pie.mjs +150 -0
- package/fesm2020/covalent-echarts-pie.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/covalent-echarts-regression.mjs +12 -15
- package/fesm2020/covalent-echarts-regression.mjs.map +1 -0
- package/fesm2020/covalent-echarts-sankey.mjs +142 -0
- package/fesm2020/covalent-echarts-sankey.mjs.map +1 -0
- package/fesm2020/covalent-echarts-scatter.mjs +169 -0
- package/fesm2020/covalent-echarts-scatter.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/covalent-echarts-toolbox.mjs +23 -37
- package/{fesm2022 → fesm2020}/covalent-echarts-toolbox.mjs.map +1 -1
- package/fesm2020/covalent-echarts-tooltip.mjs +283 -0
- package/fesm2020/covalent-echarts-tooltip.mjs.map +1 -0
- package/fesm2020/covalent-echarts-tree.mjs +140 -0
- package/fesm2020/covalent-echarts-tree.mjs.map +1 -0
- package/fesm2020/covalent-echarts-treemap.mjs +174 -0
- package/fesm2020/covalent-echarts-treemap.mjs.map +1 -0
- package/fesm2020/covalent-echarts-wordcloud.mjs +117 -0
- package/fesm2020/covalent-echarts-wordcloud.mjs.map +1 -0
- package/fesm2020/covalent-echarts.mjs +4 -0
- package/fesm2020/covalent-echarts.mjs.map +1 -0
- package/graph/graph.component.d.ts +1 -1
- package/histogram/histogram.component.d.ts +1 -1
- package/line/line.component.d.ts +1 -1
- package/map/map.component.d.ts +1 -1
- package/package.json +99 -57
- package/pie/pie.component.d.ts +1 -1
- package/regression/regression.component.d.ts +1 -1
- package/sankey/sankey.component.d.ts +1 -1
- package/scatter/scatter.component.d.ts +1 -1
- package/toolbox/toolbox.component.d.ts +1 -1
- package/tooltip/series-tooltip.component.d.ts +1 -1
- package/tooltip/tooltip.component.d.ts +1 -1
- package/tree/tree.component.d.ts +1 -1
- package/treemap/treemap.component.d.ts +2 -2
- package/wordcloud/wordcloud.component.d.ts +1 -1
- package/esm2022/bar/bar.component.mjs +0 -163
- package/esm2022/base/axis/axis.component.mjs +0 -157
- package/esm2022/base/axis/x-axis.component.mjs +0 -56
- package/esm2022/base/axis/y-axis.component.mjs +0 -56
- package/esm2022/base/chart-options.service.mjs +0 -63
- package/esm2022/base/chart.component.mjs +0 -211
- package/esm2022/base/dataset/dataset.component.mjs +0 -57
- package/esm2022/base/series/series.component.mjs +0 -106
- package/esm2022/clustering/clustering.component.mjs +0 -275
- package/esm2022/graph/graph.component.mjs +0 -230
- package/esm2022/histogram/histogram.component.mjs +0 -127
- package/esm2022/line/line.component.mjs +0 -195
- package/esm2022/map/map.component.mjs +0 -159
- package/esm2022/pie/pie.component.mjs +0 -153
- package/esm2022/regression/regression.component.mjs +0 -140
- package/esm2022/sankey/sankey.component.mjs +0 -139
- package/esm2022/scatter/scatter.component.mjs +0 -175
- package/esm2022/toolbox/toolbox.component.mjs +0 -149
- package/esm2022/tooltip/series-tooltip.component.mjs +0 -112
- package/esm2022/tooltip/tooltip.component.mjs +0 -168
- package/esm2022/tree/tree.component.mjs +0 -139
- package/esm2022/treemap/treemap.component.mjs +0 -182
- package/esm2022/wordcloud/wordcloud.component.mjs +0 -106
- package/fesm2022/covalent-echarts-bar.mjs.map +0 -1
- package/fesm2022/covalent-echarts-line.mjs.map +0 -1
- package/fesm2022/covalent-echarts-pie.mjs.map +0 -1
- package/fesm2022/covalent-echarts-regression.mjs.map +0 -1
- package/fesm2022/covalent-echarts-sankey.mjs.map +0 -1
- package/fesm2022/covalent-echarts-scatter.mjs.map +0 -1
- package/fesm2022/covalent-echarts-treemap.mjs.map +0 -1
- package/fesm2022/covalent-echarts-wordcloud.mjs.map +0 -1
- /package/{esm2022 → esm2020}/bar/covalent-echarts-bar.mjs +0 -0
- /package/{esm2022 → esm2020}/bar/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/base/axis/axis.interface.mjs +0 -0
- /package/{esm2022 → esm2020}/base/base.types.mjs +0 -0
- /package/{esm2022 → esm2020}/base/covalent-echarts-base.mjs +0 -0
- /package/{esm2022 → esm2020}/base/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/base/series/series.interface.mjs +0 -0
- /package/{esm2022 → esm2020}/base/themes/aqua-splash.mjs +0 -0
- /package/{esm2022 → esm2020}/base/themes/california-coast.mjs +0 -0
- /package/{esm2022 → esm2020}/base/themes/hawaiian-sunrise.mjs +0 -0
- /package/{esm2022 → esm2020}/base/themes/passion-flower.mjs +0 -0
- /package/{esm2022 → esm2020}/base/themes/razzleberry-pie.mjs +0 -0
- /package/{esm2022 → esm2020}/base/themes/teradata-classic.mjs +0 -0
- /package/{esm2022 → esm2020}/base/themes/teradata-default.mjs +0 -0
- /package/{esm2022 → esm2020}/base/themes/urban-sunrise.mjs +0 -0
- /package/{esm2022 → esm2020}/base/themes/volcanic-eruption.mjs +0 -0
- /package/{esm2022 → esm2020}/base/utils/assign-defined.mjs +0 -0
- /package/{esm2022 → esm2020}/base/utils/echarts.mjs +0 -0
- /package/{esm2022 → esm2020}/base/utils/index.mjs +0 -0
- /package/{esm2022 → esm2020}/clustering/covalent-echarts-clustering.mjs +0 -0
- /package/{esm2022 → esm2020}/clustering/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/covalent-echarts.mjs +0 -0
- /package/{esm2022 → esm2020}/graph/covalent-echarts-graph.mjs +0 -0
- /package/{esm2022 → esm2020}/graph/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/histogram/covalent-echarts-histogram.mjs +0 -0
- /package/{esm2022 → esm2020}/histogram/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/line/covalent-echarts-line.mjs +0 -0
- /package/{esm2022 → esm2020}/line/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/map/covalent-echarts-map.mjs +0 -0
- /package/{esm2022 → esm2020}/map/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/pie/covalent-echarts-pie.mjs +0 -0
- /package/{esm2022 → esm2020}/pie/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/regression/covalent-echarts-regression.mjs +0 -0
- /package/{esm2022 → esm2020}/regression/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/sankey/covalent-echarts-sankey.mjs +0 -0
- /package/{esm2022 → esm2020}/sankey/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/scatter/covalent-echarts-scatter.mjs +0 -0
- /package/{esm2022 → esm2020}/scatter/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/toolbox/covalent-echarts-toolbox.mjs +0 -0
- /package/{esm2022 → esm2020}/toolbox/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/covalent-echarts-tooltip.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/tree/covalent-echarts-tree.mjs +0 -0
- /package/{esm2022 → esm2020}/tree/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/treemap/covalent-echarts-treemap.mjs +0 -0
- /package/{esm2022 → esm2020}/treemap/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/wordcloud/covalent-echarts-wordcloud.mjs +0 -0
- /package/{esm2022 → esm2020}/wordcloud/public_api.mjs +0 -0
- /package/{fesm2022 → fesm2015}/covalent-echarts.mjs +0 -0
- /package/{fesm2022 → fesm2015}/covalent-echarts.mjs.map +0 -0
|
@@ -5,42 +5,9 @@ import * as i1 from '@covalent/echarts/base';
|
|
|
5
5
|
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
6
6
|
|
|
7
7
|
class TdChartSeriesTreemapComponent extends TdSeriesDirective {
|
|
8
|
-
config = {};
|
|
9
|
-
id;
|
|
10
|
-
name;
|
|
11
|
-
data;
|
|
12
|
-
zlevel;
|
|
13
|
-
z;
|
|
14
|
-
left;
|
|
15
|
-
top;
|
|
16
|
-
right;
|
|
17
|
-
bottom;
|
|
18
|
-
width;
|
|
19
|
-
height;
|
|
20
|
-
squareRatio;
|
|
21
|
-
leafDepth;
|
|
22
|
-
drillDownIcon;
|
|
23
|
-
roam;
|
|
24
|
-
nodeClick;
|
|
25
|
-
zoomToNodeRatio;
|
|
26
|
-
levels;
|
|
27
|
-
silent;
|
|
28
|
-
visualDimension;
|
|
29
|
-
visualMin;
|
|
30
|
-
visualMax;
|
|
31
|
-
colorAlpha;
|
|
32
|
-
colorSaturation;
|
|
33
|
-
colorMappingBy;
|
|
34
|
-
visibleMin;
|
|
35
|
-
childrenVisibleMin;
|
|
36
|
-
itemStyle;
|
|
37
|
-
label;
|
|
38
|
-
upperLabel;
|
|
39
|
-
breadcrumb;
|
|
40
|
-
emphasis;
|
|
41
|
-
tooltip;
|
|
42
8
|
constructor(_optionsService) {
|
|
43
9
|
super('treemap', _optionsService);
|
|
10
|
+
this.config = {};
|
|
44
11
|
}
|
|
45
12
|
getConfig() {
|
|
46
13
|
return {
|
|
@@ -75,15 +42,15 @@ class TdChartSeriesTreemapComponent extends TdSeriesDirective {
|
|
|
75
42
|
emphasis: this.emphasis,
|
|
76
43
|
};
|
|
77
44
|
}
|
|
78
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartSeriesTreemapComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
79
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: TdChartSeriesTreemapComponent, selector: "td-chart-series[td-treemap]", 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", zlevel: "zlevel", z: "z", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height", squareRatio: "squareRatio", leafDepth: "leafDepth", drillDownIcon: "drillDownIcon", roam: "roam", nodeClick: "nodeClick", zoomToNodeRatio: "zoomToNodeRatio", levels: "levels", silent: "silent", visualDimension: "visualDimension", visualMin: "visualMin", visualMax: "visualMax", colorAlpha: "colorAlpha", colorSaturation: "colorSaturation", colorMappingBy: "colorMappingBy", visibleMin: "visibleMin", childrenVisibleMin: "childrenVisibleMin", itemStyle: "itemStyle", label: "label", upperLabel: "upperLabel", breadcrumb: "breadcrumb", emphasis: "emphasis" }, providers: [
|
|
80
|
-
{
|
|
81
|
-
provide: TdSeriesDirective,
|
|
82
|
-
useExisting: forwardRef(() => TdChartSeriesTreemapComponent),
|
|
83
|
-
},
|
|
84
|
-
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
85
45
|
}
|
|
86
|
-
i0.ɵɵ
|
|
46
|
+
TdChartSeriesTreemapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartSeriesTreemapComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
47
|
+
TdChartSeriesTreemapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TdChartSeriesTreemapComponent, selector: "td-chart-series[td-treemap]", 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", zlevel: "zlevel", z: "z", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height", squareRatio: "squareRatio", leafDepth: "leafDepth", drillDownIcon: "drillDownIcon", roam: "roam", nodeClick: "nodeClick", zoomToNodeRatio: "zoomToNodeRatio", levels: "levels", silent: "silent", visualDimension: "visualDimension", visualMin: "visualMin", visualMax: "visualMax", colorAlpha: "colorAlpha", colorSaturation: "colorSaturation", colorMappingBy: "colorMappingBy", visibleMin: "visibleMin", childrenVisibleMin: "childrenVisibleMin", itemStyle: "itemStyle", label: "label", upperLabel: "upperLabel", breadcrumb: "breadcrumb", emphasis: "emphasis" }, providers: [
|
|
48
|
+
{
|
|
49
|
+
provide: TdSeriesDirective,
|
|
50
|
+
useExisting: forwardRef(() => TdChartSeriesTreemapComponent),
|
|
51
|
+
},
|
|
52
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartSeriesTreemapComponent, decorators: [{
|
|
87
54
|
type: Component,
|
|
88
55
|
args: [{
|
|
89
56
|
selector: 'td-chart-series[td-treemap]',
|
|
@@ -186,11 +153,11 @@ const TREEMAP_MODULE_COMPONENTS = [
|
|
|
186
153
|
TdChartSeriesTreemapComponent,
|
|
187
154
|
];
|
|
188
155
|
class CovalentTreemapEchartsModule {
|
|
189
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentTreemapEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
190
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: CovalentTreemapEchartsModule, declarations: [TdChartSeriesTreemapComponent], imports: [CommonModule], exports: [TdChartSeriesTreemapComponent] });
|
|
191
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentTreemapEchartsModule, imports: [CommonModule] });
|
|
192
156
|
}
|
|
193
|
-
i0.ɵɵ
|
|
157
|
+
CovalentTreemapEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentTreemapEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
158
|
+
CovalentTreemapEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CovalentTreemapEchartsModule, declarations: [TdChartSeriesTreemapComponent], imports: [CommonModule], exports: [TdChartSeriesTreemapComponent] });
|
|
159
|
+
CovalentTreemapEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentTreemapEchartsModule, imports: [CommonModule] });
|
|
160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentTreemapEchartsModule, decorators: [{
|
|
194
161
|
type: NgModule,
|
|
195
162
|
args: [{
|
|
196
163
|
imports: [CommonModule],
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"covalent-echarts-treemap.mjs","sources":["../../../../libs/angular-echarts/treemap/src/treemap.component.ts","../../../../libs/angular-echarts/treemap/src/treemap.module.ts","../../../../libs/angular-echarts/treemap/src/covalent-echarts-treemap.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\n ITdSeriesTooltip,\n ITdLabel,\n ITdSeries,\n TdSeriesDirective,\n ITdEmphasis,\n ITdShadow,\n} from '@covalent/echarts/base';\n\n/**\n * ECHART OPTION DOCS\n * https://ecomfe.github.io/echarts-examples/public/index.html#chart-type-treemap\n *\n */\n\nexport interface ITdTreemapEmphasisLineStyle extends ITdShadow {\n color?: any;\n width?: number;\n curveness?: number;\n}\n\nexport interface ITdTreemapEmphasis extends ITdEmphasis {\n lineStyle: ITdTreemapEmphasisLineStyle;\n}\n\nexport interface ITdTreemapUpperLabel {\n show?: boolean;\n position?: string | any[];\n distance?: string | number;\n rotate?: string | number;\n offset?: any[];\n formatter?: string;\n color?: any;\n fontStyle?: string;\n fontWeight?: string;\n fontFamily?: string;\n fontSize?: string | number;\n align?: string;\n verticalAlign?: string;\n lineHeight?: string | number;\n backgroundColor?: any;\n borderColor?: string;\n borderWidth?: string | number;\n borderRadius?: string | number;\n padding?: number | any[];\n shadowColor?: string;\n shadowBlur?: string | number;\n shadowOffsetX?: string | number;\n shadowOffsetY?: string | number;\n width?: string | number;\n height?: string | number;\n textBorderColor?: string;\n textBorderWidth?: string | number;\n textShadowColor?: string;\n textShadowBlur?: string | number;\n textShadowOffsetX?: string | number;\n textShadowOffsetY?: string | number;\n rich?: any;\n ellipsis?: any;\n}\n\nexport interface ITdTreemapBreadcrumb {\n show?: boolean;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n height?: string | number;\n emptyItemWidth?: string | number;\n itemStyle?: ITdItemStyle;\n emphasis?: ITdTreemapEmphasis;\n}\n\ninterface ITdTreemapSeries extends ITdSeries {\n zlevel?: number;\n z?: number;\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 squareRatio?: string | number;\n leafDepth?: string | number;\n drillDownIcon?: string;\n roam?: boolean | string;\n nodeClick?: boolean | string;\n zoomToNodeRatio?: string | number;\n levels?: any[];\n silent?: boolean;\n visualDimension?: string | number;\n visualMin?: string | number;\n visualMax?: string | number;\n colorAlpha?: any[];\n colorSaturation?: string | number;\n colorMappingBy?: string;\n visibleMin?: string | number;\n childrenVisibleMin?: string | number;\n itemStyle?: ITdItemStyle;\n label?: ITdLabel;\n upperLabel?: ITdTreemapUpperLabel;\n breadcrumb?: ITdTreemapBreadcrumb;\n emphasis?: ITdTreemapEmphasis;\n data?: any[];\n}\n\n@Component({\n selector: 'td-chart-series[td-treemap]',\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(() => TdChartSeriesTreemapComponent),\n },\n ],\n})\nexport class TdChartSeriesTreemapComponent\n extends TdSeriesDirective\n implements ITdTreemapSeries\n{\n @Input() override config?: any = {};\n @Input() override id?: string;\n @Input() override name?: string;\n @Input() override data?: any;\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() width?: string | number;\n @Input() height?: string | number;\n @Input() squareRatio?: string | number;\n @Input() leafDepth?: string | number;\n @Input() drillDownIcon?: string;\n @Input() roam?: boolean | string;\n @Input() nodeClick?: boolean | string;\n @Input() zoomToNodeRatio?: string | number;\n @Input() levels?: any[];\n @Input() silent?: boolean;\n @Input() visualDimension?: string | number;\n @Input() visualMin?: string | number;\n @Input() visualMax?: string | number;\n @Input() colorAlpha?: any[];\n @Input() colorSaturation?: string | number;\n @Input() colorMappingBy?: string;\n @Input() visibleMin?: string | number;\n @Input() childrenVisibleMin?: string | number;\n @Input() itemStyle?: ITdItemStyle;\n @Input() label?: ITdLabel;\n @Input() upperLabel?: ITdTreemapUpperLabel;\n @Input() breadcrumb?: ITdTreemapBreadcrumb;\n @Input() emphasis?: ITdTreemapEmphasis;\n @Input() override tooltip?: ITdSeriesTooltip;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('treemap', _optionsService);\n }\n\n getConfig(): any {\n return {\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 width: this.width,\n height: this.height,\n squareRatio: this.squareRatio,\n leafDepth: this.leafDepth,\n drillDownIcon: this.drillDownIcon,\n roam: this.roam,\n nodeClick: this.nodeClick,\n zoomToNodeRatio: this.zoomToNodeRatio,\n levels: this.levels,\n silent: this.silent,\n visualDimension: this.visualDimension,\n visualMin: this.visualMin,\n visualMax: this.visualMax,\n colorAlpha: this.colorAlpha,\n colorSaturation: this.colorSaturation,\n colorMappingBy: this.colorMappingBy,\n visibleMin: this.visibleMin,\n childrenVisibleMin: this.childrenVisibleMin,\n itemStyle: this.itemStyle,\n label: this.label,\n upperLabel: this.upperLabel,\n breadcrumb: this.breadcrumb,\n emphasis: this.emphasis,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesTreemapComponent } from './treemap.component';\n\nexport const TREEMAP_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesTreemapComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TREEMAP_MODULE_COMPONENTS],\n exports: [TREEMAP_MODULE_COMPONENTS],\n})\nexport class CovalentTreemapEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;AA+IM,MAAO,6BACX,SAAQ,iBAAiB,CAAA;AAsCzB,IAAA,WAAA,CAAY,eAAsC,EAAA;AAChD,QAAA,KAAK,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;AApClB,QAAA,IAAM,CAAA,MAAA,GAAS,EAAE,CAAC;KAqCnC;IAED,SAAS,GAAA;QACP,OAAO;YACL,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,CAAC,EAAE,IAAI,CAAC,CAAC;YACT,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,GAAG,EAAE,IAAI,CAAC,GAAG;YACb,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,MAAM,EAAE,IAAI,CAAC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;oBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;iBACrC,CAAA;;;ACbD;;AAEG;;;;"}
|
|
@@ -5,20 +5,6 @@ import * as i1 from '@covalent/echarts/base';
|
|
|
5
5
|
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
6
6
|
|
|
7
7
|
class TdChartSeriesWordcloudComponent extends TdSeriesDirective {
|
|
8
|
-
data;
|
|
9
|
-
shape;
|
|
10
|
-
left;
|
|
11
|
-
top;
|
|
12
|
-
width;
|
|
13
|
-
height;
|
|
14
|
-
right;
|
|
15
|
-
bottom;
|
|
16
|
-
sizeRange;
|
|
17
|
-
rotationRange;
|
|
18
|
-
rotationStep;
|
|
19
|
-
gridSize;
|
|
20
|
-
drawOutOfBound;
|
|
21
|
-
textStyle;
|
|
22
8
|
constructor(_optionsService) {
|
|
23
9
|
super('wordCloud', _optionsService);
|
|
24
10
|
}
|
|
@@ -39,15 +25,15 @@ class TdChartSeriesWordcloudComponent extends TdSeriesDirective {
|
|
|
39
25
|
textStyle: this.textStyle,
|
|
40
26
|
};
|
|
41
27
|
}
|
|
42
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: TdChartSeriesWordcloudComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: TdChartSeriesWordcloudComponent, selector: "td-chart-series[td-wordCloud]", inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", shape: "shape", left: "left", top: "top", width: "width", height: "height", right: "right", bottom: "bottom", sizeRange: "sizeRange", rotationRange: "rotationRange", rotationStep: "rotationStep", gridSize: "gridSize", drawOutOfBound: "drawOutOfBound", textStyle: "textStyle" }, providers: [
|
|
44
|
-
{
|
|
45
|
-
provide: TdSeriesDirective,
|
|
46
|
-
useExisting: forwardRef(() => TdChartSeriesWordcloudComponent),
|
|
47
|
-
},
|
|
48
|
-
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
49
28
|
}
|
|
50
|
-
i0.ɵɵ
|
|
29
|
+
TdChartSeriesWordcloudComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartSeriesWordcloudComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
30
|
+
TdChartSeriesWordcloudComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TdChartSeriesWordcloudComponent, selector: "td-chart-series[td-wordCloud]", inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", shape: "shape", left: "left", top: "top", width: "width", height: "height", right: "right", bottom: "bottom", sizeRange: "sizeRange", rotationRange: "rotationRange", rotationStep: "rotationStep", gridSize: "gridSize", drawOutOfBound: "drawOutOfBound", textStyle: "textStyle" }, providers: [
|
|
31
|
+
{
|
|
32
|
+
provide: TdSeriesDirective,
|
|
33
|
+
useExisting: forwardRef(() => TdChartSeriesWordcloudComponent),
|
|
34
|
+
},
|
|
35
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartSeriesWordcloudComponent, decorators: [{
|
|
51
37
|
type: Component,
|
|
52
38
|
args: [{
|
|
53
39
|
selector: 'td-chart-series[td-wordCloud]',
|
|
@@ -110,11 +96,11 @@ const WORDCLOUD_MODULE_COMPONENTS = [
|
|
|
110
96
|
TdChartSeriesWordcloudComponent,
|
|
111
97
|
];
|
|
112
98
|
class CovalentWordcloudEchartsModule {
|
|
113
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentWordcloudEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
114
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: CovalentWordcloudEchartsModule, declarations: [TdChartSeriesWordcloudComponent], imports: [CommonModule], exports: [TdChartSeriesWordcloudComponent] });
|
|
115
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CovalentWordcloudEchartsModule, imports: [CommonModule] });
|
|
116
99
|
}
|
|
117
|
-
i0.ɵɵ
|
|
100
|
+
CovalentWordcloudEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentWordcloudEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
101
|
+
CovalentWordcloudEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CovalentWordcloudEchartsModule, declarations: [TdChartSeriesWordcloudComponent], imports: [CommonModule], exports: [TdChartSeriesWordcloudComponent] });
|
|
102
|
+
CovalentWordcloudEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentWordcloudEchartsModule, imports: [CommonModule] });
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentWordcloudEchartsModule, decorators: [{
|
|
118
104
|
type: NgModule,
|
|
119
105
|
args: [{
|
|
120
106
|
imports: [CommonModule],
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"covalent-echarts-wordcloud.mjs","sources":["../../../../libs/angular-echarts/wordcloud/src/wordcloud.component.ts","../../../../libs/angular-echarts/wordcloud/src/wordcloud.module.ts","../../../../libs/angular-echarts/wordcloud/src/covalent-echarts-wordcloud.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdSeries,\n TdSeriesDirective,\n} 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\n extends TdSeriesDirective\n implements ITdWordcloudSeries\n{\n @Input() override 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';\n\nimport { TdChartSeriesWordcloudComponent } from './wordcloud.component';\n\nexport const WORDCLOUD_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesWordcloudComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [WORDCLOUD_MODULE_COMPONENTS],\n exports: [WORDCLOUD_MODULE_COMPONENTS],\n})\nexport class CovalentWordcloudEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;AAqFM,MAAO,+BACX,SAAQ,iBAAiB,CAAA;AAkBzB,IAAA,WAAA,CAAY,eAAsC,EAAA;AAChD,QAAA,KAAK,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC;KACrC;IAED,SAAS,GAAA;QACP,OAAO;YACL,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,IAAI,EAAE,IA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,CAAC;iBACvC,CAAA;;;ACbD;;AAEG;;;;"}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { forwardRef, Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import * as i1 from '@covalent/echarts/base';
|
|
5
|
+
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
6
|
+
|
|
7
|
+
class TdChartSeriesBarComponent extends TdSeriesDirective {
|
|
8
|
+
constructor(_optionsService) {
|
|
9
|
+
super('bar', _optionsService);
|
|
10
|
+
}
|
|
11
|
+
getConfig() {
|
|
12
|
+
return {
|
|
13
|
+
coordinateSystem: this.coordinateSystem,
|
|
14
|
+
xAxisIndex: this.xAxisIndex,
|
|
15
|
+
yAxisIndex: this.yAxisIndex,
|
|
16
|
+
legendHoverLink: this.legendHoverLink,
|
|
17
|
+
stack: this.stack,
|
|
18
|
+
cursor: this.cursor,
|
|
19
|
+
label: this.label,
|
|
20
|
+
itemStyle: this.itemStyle,
|
|
21
|
+
emphasis: this.emphasis,
|
|
22
|
+
barWidth: this.barWidth,
|
|
23
|
+
barMaxWidth: this.barMaxWidth,
|
|
24
|
+
barMinHeight: this.barMinHeight,
|
|
25
|
+
barGap: this.barGap,
|
|
26
|
+
barCategoryGap: this.barCategoryGap,
|
|
27
|
+
large: this.large,
|
|
28
|
+
largeThreshold: this.largeThreshold,
|
|
29
|
+
progressive: this.progressive,
|
|
30
|
+
progressiveThreshold: this.progressiveThreshold,
|
|
31
|
+
progressiveChunkMode: this.progressiveChunkMode,
|
|
32
|
+
dimensions: this.dimensions,
|
|
33
|
+
encode: this.encode,
|
|
34
|
+
seriesLayoutBy: this.seriesLayoutBy,
|
|
35
|
+
datasetIndex: this.datasetIndex,
|
|
36
|
+
markPoint: this.markPoint,
|
|
37
|
+
markLine: this.markLine,
|
|
38
|
+
markArea: this.markArea,
|
|
39
|
+
zlevel: this.zlevel,
|
|
40
|
+
z: this.z,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
TdChartSeriesBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartSeriesBarComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
45
|
+
TdChartSeriesBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TdChartSeriesBarComponent, selector: "td-chart-series[td-bar]", 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", legendHoverLink: "legendHoverLink", stack: "stack", cursor: "cursor", label: "label", itemStyle: "itemStyle", emphasis: "emphasis", barWidth: "barWidth", barMaxWidth: "barMaxWidth", barMinHeight: "barMinHeight", barGap: "barGap", barCategoryGap: "barCategoryGap", large: "large", largeThreshold: "largeThreshold", progressive: "progressive", progressiveThreshold: "progressiveThreshold", progressiveChunkMode: "progressiveChunkMode", dimensions: "dimensions", encode: "encode", seriesLayoutBy: "seriesLayoutBy", datasetIndex: "datasetIndex", markPoint: "markPoint", markLine: "markLine", markArea: "markArea", zlevel: "zlevel", z: "z" }, providers: [
|
|
46
|
+
{
|
|
47
|
+
provide: TdSeriesDirective,
|
|
48
|
+
useExisting: forwardRef(() => TdChartSeriesBarComponent),
|
|
49
|
+
},
|
|
50
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartSeriesBarComponent, decorators: [{
|
|
52
|
+
type: Component,
|
|
53
|
+
args: [{
|
|
54
|
+
selector: 'td-chart-series[td-bar]',
|
|
55
|
+
template: '',
|
|
56
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
57
|
+
inputs: [
|
|
58
|
+
'config',
|
|
59
|
+
'id',
|
|
60
|
+
'name',
|
|
61
|
+
'color',
|
|
62
|
+
'data',
|
|
63
|
+
'animation',
|
|
64
|
+
'animationThreshold',
|
|
65
|
+
'animationDuration',
|
|
66
|
+
'animationEasing',
|
|
67
|
+
'animationDelay',
|
|
68
|
+
'animationDurationUpdate',
|
|
69
|
+
'animationEasingUpdate',
|
|
70
|
+
'animationDelayUpdate',
|
|
71
|
+
'tooltip',
|
|
72
|
+
],
|
|
73
|
+
providers: [
|
|
74
|
+
{
|
|
75
|
+
provide: TdSeriesDirective,
|
|
76
|
+
useExisting: forwardRef(() => TdChartSeriesBarComponent),
|
|
77
|
+
},
|
|
78
|
+
],
|
|
79
|
+
}]
|
|
80
|
+
}], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { coordinateSystem: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}], xAxisIndex: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}], yAxisIndex: [{
|
|
85
|
+
type: Input
|
|
86
|
+
}], legendHoverLink: [{
|
|
87
|
+
type: Input
|
|
88
|
+
}], stack: [{
|
|
89
|
+
type: Input
|
|
90
|
+
}], cursor: [{
|
|
91
|
+
type: Input
|
|
92
|
+
}], label: [{
|
|
93
|
+
type: Input
|
|
94
|
+
}], itemStyle: [{
|
|
95
|
+
type: Input
|
|
96
|
+
}], emphasis: [{
|
|
97
|
+
type: Input
|
|
98
|
+
}], barWidth: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], barMaxWidth: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], barMinHeight: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}], barGap: [{
|
|
105
|
+
type: Input
|
|
106
|
+
}], barCategoryGap: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}], large: [{
|
|
109
|
+
type: Input
|
|
110
|
+
}], largeThreshold: [{
|
|
111
|
+
type: Input
|
|
112
|
+
}], progressive: [{
|
|
113
|
+
type: Input
|
|
114
|
+
}], progressiveThreshold: [{
|
|
115
|
+
type: Input
|
|
116
|
+
}], progressiveChunkMode: [{
|
|
117
|
+
type: Input
|
|
118
|
+
}], dimensions: [{
|
|
119
|
+
type: Input
|
|
120
|
+
}], encode: [{
|
|
121
|
+
type: Input
|
|
122
|
+
}], seriesLayoutBy: [{
|
|
123
|
+
type: Input
|
|
124
|
+
}], datasetIndex: [{
|
|
125
|
+
type: Input
|
|
126
|
+
}], markPoint: [{
|
|
127
|
+
type: Input
|
|
128
|
+
}], markLine: [{
|
|
129
|
+
type: Input
|
|
130
|
+
}], markArea: [{
|
|
131
|
+
type: Input
|
|
132
|
+
}], zlevel: [{
|
|
133
|
+
type: Input
|
|
134
|
+
}], z: [{
|
|
135
|
+
type: Input
|
|
136
|
+
}] } });
|
|
137
|
+
|
|
138
|
+
const BAR_MODULE_COMPONENTS = [TdChartSeriesBarComponent];
|
|
139
|
+
class CovalentBarEchartsModule {
|
|
140
|
+
}
|
|
141
|
+
CovalentBarEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentBarEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
142
|
+
CovalentBarEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CovalentBarEchartsModule, declarations: [TdChartSeriesBarComponent], imports: [CommonModule], exports: [TdChartSeriesBarComponent] });
|
|
143
|
+
CovalentBarEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentBarEchartsModule, imports: [CommonModule] });
|
|
144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentBarEchartsModule, decorators: [{
|
|
145
|
+
type: NgModule,
|
|
146
|
+
args: [{
|
|
147
|
+
imports: [CommonModule],
|
|
148
|
+
declarations: [BAR_MODULE_COMPONENTS],
|
|
149
|
+
exports: [BAR_MODULE_COMPONENTS],
|
|
150
|
+
}]
|
|
151
|
+
}] });
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Generated bundle index. Do not edit.
|
|
155
|
+
*/
|
|
156
|
+
|
|
157
|
+
export { BAR_MODULE_COMPONENTS, CovalentBarEchartsModule, TdChartSeriesBarComponent };
|
|
158
|
+
//# sourceMappingURL=covalent-echarts-bar.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"covalent-echarts-bar.mjs","sources":["../../../../libs/angular-echarts/bar/src/bar.component.ts","../../../../libs/angular-echarts/bar/src/bar.module.ts","../../../../libs/angular-echarts/bar/src/covalent-echarts-bar.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\nimport {\n TdChartOptionsService,\n TdCoordinateSystem,\n ITdItemStyle,\n ITdEmphasis,\n TdSeriesLayoutBy,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdSeries,\n ITdLabel,\n TdProgressiveChunkMode,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport interface ITdBarSeries extends ITdSeries {\n legendHoverLink?: boolean;\n coordinateSystem?: TdCoordinateSystem;\n xAxisIndex?: number;\n yAxisIndex?: number;\n Label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n emphasis?: ITdEmphasis;\n stack?: string;\n cursor?: string;\n barWidth?: number | string;\n barMaxWidth?: number | string;\n barMinHeight?: number;\n barGap?: string;\n barCategoryGap?: string;\n large?: boolean;\n largeThreshold?: number;\n progressive?: number;\n progressiveThreshold?: number;\n progressiveChunkMode?: TdProgressiveChunkMode;\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?: 0;\n z?: number;\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-bar]',\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(() => TdChartSeriesBarComponent),\n },\n ],\n})\nexport class TdChartSeriesBarComponent\n extends TdSeriesDirective\n implements ITdBarSeries\n{\n @Input() coordinateSystem?: TdCoordinateSystem;\n @Input() xAxisIndex?: number;\n @Input() yAxisIndex?: number;\n @Input() legendHoverLink?: boolean;\n @Input() stack?: string;\n @Input() cursor?: string;\n @Input() label?: any;\n @Input() itemStyle?: ITdItemStyle;\n @Input() emphasis?: ITdEmphasis;\n @Input() barWidth?: number;\n @Input() barMaxWidth?: number;\n @Input() barMinHeight?: number;\n @Input() barGap?: string;\n @Input() barCategoryGap?: string;\n @Input() large?: boolean;\n @Input() largeThreshold?: number;\n @Input() progressive?: number;\n @Input() progressiveThreshold?: number;\n @Input() progressiveChunkMode?: TdProgressiveChunkMode;\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\n constructor(_optionsService: TdChartOptionsService) {\n super('bar', _optionsService);\n }\n\n getConfig(): any {\n return {\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","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesBarComponent } from './bar.component';\n\nexport const BAR_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesBarComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [BAR_MODULE_COMPONENTS],\n exports: [BAR_MODULE_COMPONENTS],\n})\nexport class CovalentBarEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;AAkFM,MAAO,yBACX,SAAQ,iBAAiB,CAAA;AAgCzB,IAAA,WAAA,CAAY,eAAsC,EAAA;AAChD,QAAA,KAAK,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC;KAC/B;IAED,SAAS,GAAA;QACP,OAAO;YACL,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAA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