@covalent/echarts 6.3.0 → 7.0.0
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/clustering/clustering.component.d.ts +1 -1
- package/esm2022/bar/bar.component.mjs +163 -0
- package/{esm2020 → esm2022}/bar/bar.module.mjs +5 -5
- package/esm2022/base/axis/axis.component.mjs +157 -0
- package/esm2022/base/axis/x-axis.component.mjs +56 -0
- package/esm2022/base/axis/y-axis.component.mjs +56 -0
- package/{esm2020 → esm2022}/base/base.module.mjs +11 -11
- package/esm2022/base/chart-options.service.mjs +63 -0
- package/esm2022/base/chart.component.mjs +211 -0
- package/esm2022/base/dataset/dataset.component.mjs +57 -0
- package/esm2022/base/series/series.component.mjs +106 -0
- package/esm2022/clustering/clustering.component.mjs +275 -0
- package/{esm2020 → esm2022}/clustering/clustering.module.mjs +5 -5
- package/esm2022/graph/graph.component.mjs +230 -0
- package/{esm2020 → esm2022}/graph/graph.module.mjs +5 -5
- package/esm2022/histogram/histogram.component.mjs +127 -0
- package/{esm2020 → esm2022}/histogram/histogram.module.mjs +5 -5
- package/esm2022/line/line.component.mjs +195 -0
- package/{esm2020 → esm2022}/line/line.module.mjs +5 -5
- package/esm2022/map/map.component.mjs +159 -0
- package/{esm2020 → esm2022}/map/map.module.mjs +5 -5
- package/esm2022/pie/pie.component.mjs +153 -0
- package/{esm2020 → esm2022}/pie/pie.module.mjs +5 -5
- package/esm2022/regression/regression.component.mjs +140 -0
- package/{esm2020 → esm2022}/regression/regression.module.mjs +5 -5
- package/esm2022/sankey/sankey.component.mjs +139 -0
- package/{esm2020 → esm2022}/sankey/sankey.module.mjs +5 -5
- package/esm2022/scatter/scatter.component.mjs +175 -0
- package/{esm2020 → esm2022}/scatter/scatter.module.mjs +5 -5
- package/esm2022/toolbox/toolbox.component.mjs +149 -0
- package/{esm2020 → esm2022}/toolbox/toolbox.module.mjs +7 -7
- package/esm2022/tooltip/series-tooltip.component.mjs +112 -0
- package/esm2022/tooltip/tooltip.component.mjs +168 -0
- package/{esm2020 → esm2022}/tooltip/tooltip.module.mjs +9 -9
- package/esm2022/tree/tree.component.mjs +139 -0
- package/{esm2020 → esm2022}/tree/tree.module.mjs +5 -5
- package/esm2022/treemap/treemap.component.mjs +182 -0
- package/{esm2020 → esm2022}/treemap/treemap.module.mjs +5 -5
- package/esm2022/wordcloud/wordcloud.component.mjs +106 -0
- package/{esm2020 → esm2022}/wordcloud/wordcloud.module.mjs +5 -5
- package/{fesm2015 → fesm2022}/covalent-echarts-bar.mjs +40 -12
- package/fesm2022/covalent-echarts-bar.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/covalent-echarts-base.mjs +135 -69
- package/{fesm2015 → fesm2022}/covalent-echarts-base.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/covalent-echarts-clustering.mjs +54 -12
- package/{fesm2020 → fesm2022}/covalent-echarts-clustering.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-graph.mjs +57 -12
- package/{fesm2015 → fesm2022}/covalent-echarts-graph.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-histogram.mjs +14 -12
- package/{fesm2020 → fesm2022}/covalent-echarts-histogram.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-line.mjs +48 -12
- package/fesm2022/covalent-echarts-line.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/covalent-echarts-map.mjs +39 -12
- package/{fesm2020 → fesm2022}/covalent-echarts-map.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-pie.mjs +38 -12
- package/fesm2022/covalent-echarts-pie.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/covalent-echarts-regression.mjs +15 -12
- package/fesm2022/covalent-echarts-regression.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/covalent-echarts-sankey.mjs +34 -12
- package/fesm2022/covalent-echarts-sankey.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/covalent-echarts-scatter.mjs +43 -12
- package/fesm2022/covalent-echarts-scatter.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/covalent-echarts-toolbox.mjs +37 -23
- package/{fesm2020 → fesm2022}/covalent-echarts-toolbox.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-tooltip.mjs +69 -47
- package/{fesm2015 → fesm2022}/covalent-echarts-tooltip.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-tree.mjs +34 -12
- package/{fesm2015 → fesm2022}/covalent-echarts-tree.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-treemap.mjs +46 -13
- package/fesm2022/covalent-echarts-treemap.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/covalent-echarts-wordcloud.mjs +26 -12
- package/fesm2022/covalent-echarts-wordcloud.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 +57 -96
- 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/base/src/axis/README.md +0 -58
- package/base/src/dataset/README.md +0 -80
- package/esm2020/bar/bar.component.mjs +0 -135
- package/esm2020/base/axis/axis.component.mjs +0 -127
- package/esm2020/base/axis/x-axis.component.mjs +0 -55
- package/esm2020/base/axis/y-axis.component.mjs +0 -55
- package/esm2020/base/chart-options.service.mjs +0 -65
- package/esm2020/base/chart.component.mjs +0 -195
- package/esm2020/base/dataset/dataset.component.mjs +0 -52
- package/esm2020/base/series/series.component.mjs +0 -91
- package/esm2020/clustering/clustering.component.mjs +0 -233
- package/esm2020/graph/graph.component.mjs +0 -185
- package/esm2020/histogram/histogram.component.mjs +0 -125
- package/esm2020/line/line.component.mjs +0 -159
- package/esm2020/map/map.component.mjs +0 -132
- package/esm2020/pie/pie.component.mjs +0 -127
- package/esm2020/regression/regression.component.mjs +0 -137
- package/esm2020/sankey/sankey.component.mjs +0 -117
- package/esm2020/scatter/scatter.component.mjs +0 -144
- package/esm2020/toolbox/toolbox.component.mjs +0 -135
- package/esm2020/tooltip/series-tooltip.component.mjs +0 -102
- package/esm2020/tooltip/tooltip.component.mjs +0 -156
- package/esm2020/tree/tree.component.mjs +0 -117
- package/esm2020/treemap/treemap.component.mjs +0 -149
- package/esm2020/wordcloud/wordcloud.component.mjs +0 -92
- package/fesm2015/covalent-echarts-bar.mjs.map +0 -1
- package/fesm2015/covalent-echarts-base.mjs +0 -4931
- package/fesm2015/covalent-echarts-clustering.mjs.map +0 -1
- package/fesm2015/covalent-echarts-graph.mjs +0 -210
- package/fesm2015/covalent-echarts-histogram.mjs +0 -151
- package/fesm2015/covalent-echarts-histogram.mjs.map +0 -1
- package/fesm2015/covalent-echarts-line.mjs +0 -182
- package/fesm2015/covalent-echarts-line.mjs.map +0 -1
- package/fesm2015/covalent-echarts-map.mjs.map +0 -1
- package/fesm2015/covalent-echarts-pie.mjs +0 -150
- package/fesm2015/covalent-echarts-pie.mjs.map +0 -1
- package/fesm2015/covalent-echarts-regression.mjs +0 -163
- package/fesm2015/covalent-echarts-regression.mjs.map +0 -1
- package/fesm2015/covalent-echarts-sankey.mjs.map +0 -1
- package/fesm2015/covalent-echarts-scatter.mjs.map +0 -1
- package/fesm2015/covalent-echarts-toolbox.mjs +0 -158
- package/fesm2015/covalent-echarts-toolbox.mjs.map +0 -1
- package/fesm2015/covalent-echarts-tooltip.mjs +0 -283
- package/fesm2015/covalent-echarts-tree.mjs +0 -140
- package/fesm2015/covalent-echarts-treemap.mjs +0 -174
- package/fesm2015/covalent-echarts-treemap.mjs.map +0 -1
- package/fesm2015/covalent-echarts-wordcloud.mjs +0 -117
- package/fesm2015/covalent-echarts-wordcloud.mjs.map +0 -1
- package/fesm2020/covalent-echarts-bar.mjs +0 -158
- package/fesm2020/covalent-echarts-bar.mjs.map +0 -1
- package/fesm2020/covalent-echarts-base.mjs.map +0 -1
- package/fesm2020/covalent-echarts-clustering.mjs +0 -258
- package/fesm2020/covalent-echarts-graph.mjs.map +0 -1
- package/fesm2020/covalent-echarts-line.mjs.map +0 -1
- package/fesm2020/covalent-echarts-map.mjs +0 -155
- package/fesm2020/covalent-echarts-pie.mjs.map +0 -1
- package/fesm2020/covalent-echarts-regression.mjs.map +0 -1
- package/fesm2020/covalent-echarts-sankey.mjs +0 -142
- package/fesm2020/covalent-echarts-sankey.mjs.map +0 -1
- package/fesm2020/covalent-echarts-scatter.mjs +0 -169
- package/fesm2020/covalent-echarts-scatter.mjs.map +0 -1
- package/fesm2020/covalent-echarts-tooltip.mjs.map +0 -1
- package/fesm2020/covalent-echarts-tree.mjs.map +0 -1
- package/fesm2020/covalent-echarts-treemap.mjs.map +0 -1
- package/fesm2020/covalent-echarts-wordcloud.mjs.map +0 -1
- package/fesm2020/covalent-echarts.mjs +0 -4
- package/fesm2020/covalent-echarts.mjs.map +0 -1
- /package/{esm2020 → esm2022}/bar/covalent-echarts-bar.mjs +0 -0
- /package/{esm2020 → esm2022}/bar/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/base/axis/axis.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/base/base.types.mjs +0 -0
- /package/{esm2020 → esm2022}/base/covalent-echarts-base.mjs +0 -0
- /package/{esm2020 → esm2022}/base/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/base/series/series.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/aqua-splash.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/california-coast.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/hawaiian-sunrise.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/passion-flower.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/razzleberry-pie.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/teradata-classic.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/teradata-default.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/urban-sunrise.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/volcanic-eruption.mjs +0 -0
- /package/{esm2020 → esm2022}/base/utils/assign-defined.mjs +0 -0
- /package/{esm2020 → esm2022}/base/utils/echarts.mjs +0 -0
- /package/{esm2020 → esm2022}/base/utils/index.mjs +0 -0
- /package/{esm2020 → esm2022}/clustering/covalent-echarts-clustering.mjs +0 -0
- /package/{esm2020 → esm2022}/clustering/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/covalent-echarts.mjs +0 -0
- /package/{esm2020 → esm2022}/graph/covalent-echarts-graph.mjs +0 -0
- /package/{esm2020 → esm2022}/graph/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/histogram/covalent-echarts-histogram.mjs +0 -0
- /package/{esm2020 → esm2022}/histogram/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/line/covalent-echarts-line.mjs +0 -0
- /package/{esm2020 → esm2022}/line/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/map/covalent-echarts-map.mjs +0 -0
- /package/{esm2020 → esm2022}/map/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/pie/covalent-echarts-pie.mjs +0 -0
- /package/{esm2020 → esm2022}/pie/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/regression/covalent-echarts-regression.mjs +0 -0
- /package/{esm2020 → esm2022}/regression/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/sankey/covalent-echarts-sankey.mjs +0 -0
- /package/{esm2020 → esm2022}/sankey/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/scatter/covalent-echarts-scatter.mjs +0 -0
- /package/{esm2020 → esm2022}/scatter/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/toolbox/covalent-echarts-toolbox.mjs +0 -0
- /package/{esm2020 → esm2022}/toolbox/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/covalent-echarts-tooltip.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/covalent-echarts-tree.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/treemap/covalent-echarts-treemap.mjs +0 -0
- /package/{esm2020 → esm2022}/treemap/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/wordcloud/covalent-echarts-wordcloud.mjs +0 -0
- /package/{esm2020 → esm2022}/wordcloud/public_api.mjs +0 -0
- /package/{fesm2015 → fesm2022}/covalent-echarts.mjs +0 -0
- /package/{fesm2015 → fesm2022}/covalent-echarts.mjs.map +0 -0
|
@@ -72,5 +72,5 @@ export declare class TdChartSeriesScatterComponent extends TdSeriesDirective imp
|
|
|
72
72
|
constructor(_optionsService: TdChartOptionsService);
|
|
73
73
|
getConfig(): any;
|
|
74
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesScatterComponent, never>;
|
|
75
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesScatterComponent, "td-chart-series[td-scatter]", never, { "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"; "geoIndex": "geoIndex"; "calendarIndex": "calendarIndex"; "hoverAnimation": "hoverAnimation"; "legendHoverLink": "legendHoverLink"; "symbol": "symbol"; "symbolSize": "symbolSize"; "symbolRotate": "symbolRotate"; "symbolKeepAspect": "symbolKeepAspect"; "symbolOffset": "symbolOffset"; "large": "large"; "largeThreshold": "largeThreshold"; "cursor": "cursor"; "label": "label"; "itemStyle": "itemStyle"; "emphasis": "emphasis"; "progressive": "progressive"; "progressiveThreshold": "progressiveThreshold"; "dimensions": "dimensions"; "encode": "encode"; "seriesLayoutBy": "seriesLayoutBy"; "datasetIndex": "datasetIndex"; "markPoint": "markPoint"; "markLine": "markLine"; "markArea": "markArea"; "zlevel": "zlevel"; "z": "z"; "silent": "silent"; }, {}, never, never, false, never>;
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesScatterComponent, "td-chart-series[td-scatter]", never, { "config": { "alias": "config"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "color": { "alias": "color"; "required": false; }; "data": { "alias": "data"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "animationThreshold": { "alias": "animationThreshold"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "animationEasing": { "alias": "animationEasing"; "required": false; }; "animationDelay": { "alias": "animationDelay"; "required": false; }; "animationDurationUpdate": { "alias": "animationDurationUpdate"; "required": false; }; "animationEasingUpdate": { "alias": "animationEasingUpdate"; "required": false; }; "animationDelayUpdate": { "alias": "animationDelayUpdate"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "coordinateSystem": { "alias": "coordinateSystem"; "required": false; }; "xAxisIndex": { "alias": "xAxisIndex"; "required": false; }; "yAxisIndex": { "alias": "yAxisIndex"; "required": false; }; "polarIndex": { "alias": "polarIndex"; "required": false; }; "geoIndex": { "alias": "geoIndex"; "required": false; }; "calendarIndex": { "alias": "calendarIndex"; "required": false; }; "hoverAnimation": { "alias": "hoverAnimation"; "required": false; }; "legendHoverLink": { "alias": "legendHoverLink"; "required": false; }; "symbol": { "alias": "symbol"; "required": false; }; "symbolSize": { "alias": "symbolSize"; "required": false; }; "symbolRotate": { "alias": "symbolRotate"; "required": false; }; "symbolKeepAspect": { "alias": "symbolKeepAspect"; "required": false; }; "symbolOffset": { "alias": "symbolOffset"; "required": false; }; "large": { "alias": "large"; "required": false; }; "largeThreshold": { "alias": "largeThreshold"; "required": false; }; "cursor": { "alias": "cursor"; "required": false; }; "label": { "alias": "label"; "required": false; }; "itemStyle": { "alias": "itemStyle"; "required": false; }; "emphasis": { "alias": "emphasis"; "required": false; }; "progressive": { "alias": "progressive"; "required": false; }; "progressiveThreshold": { "alias": "progressiveThreshold"; "required": false; }; "dimensions": { "alias": "dimensions"; "required": false; }; "encode": { "alias": "encode"; "required": false; }; "seriesLayoutBy": { "alias": "seriesLayoutBy"; "required": false; }; "datasetIndex": { "alias": "datasetIndex"; "required": false; }; "markPoint": { "alias": "markPoint"; "required": false; }; "markLine": { "alias": "markLine"; "required": false; }; "markArea": { "alias": "markArea"; "required": false; }; "zlevel": { "alias": "zlevel"; "required": false; }; "z": { "alias": "z"; "required": false; }; "silent": { "alias": "silent"; "required": false; }; }, {}, never, never, false, never>;
|
|
76
76
|
}
|
|
@@ -138,5 +138,5 @@ export declare class TdChartToolboxComponent implements OnChanges, OnDestroy {
|
|
|
138
138
|
private _checkFormatterTemplate;
|
|
139
139
|
private _optionToContentFormatter;
|
|
140
140
|
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartToolboxComponent, never>;
|
|
141
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartToolboxComponent, "td-chart-toolbox", never, { "config": "config"; "show": "show"; "trigger": "trigger"; "orient": "orient"; "itemSize": "itemSize"; "itemGap": "itemGap"; "showTitle": "showTitle"; "label": "label"; "feature": "feature"; "iconStyle": "iconStyle"; "zlevel": "zlevel"; "z": "z"; "transitionDuration": "transitionDuration"; "left": "left"; "top": "top"; "right": "right"; "bottom": "bottom"; "width": "width"; "height": "height"; }, {}, ["formatterTemplate"], never, false, never>;
|
|
141
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartToolboxComponent, "td-chart-toolbox", never, { "config": { "alias": "config"; "required": false; }; "show": { "alias": "show"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "orient": { "alias": "orient"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "itemGap": { "alias": "itemGap"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "label": { "alias": "label"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "iconStyle": { "alias": "iconStyle"; "required": false; }; "zlevel": { "alias": "zlevel"; "required": false; }; "z": { "alias": "z"; "required": false; }; "transitionDuration": { "alias": "transitionDuration"; "required": false; }; "left": { "alias": "left"; "required": false; }; "top": { "alias": "top"; "required": false; }; "right": { "alias": "right"; "required": false; }; "bottom": { "alias": "bottom"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, {}, ["formatterTemplate"], never, false, never>;
|
|
142
142
|
}
|
|
@@ -32,5 +32,5 @@ export declare class TdSeriesTooltipComponent implements OnChanges, OnDestroy {
|
|
|
32
32
|
private _formatter;
|
|
33
33
|
private _removeOption;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<TdSeriesTooltipComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TdSeriesTooltipComponent, "td-chart-series-tooltip", never, { "config": "config"; "formatter": "formatter"; "position": "position"; "backgroundColor": "backgroundColor"; "borderColor": "borderColor"; "borderWidth": "borderWidth"; "padding": "padding"; "textStyle": "textStyle"; "extraCssText": "extraCssText"; }, {}, ["formatterTemplate"], never, false, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdSeriesTooltipComponent, "td-chart-series-tooltip", never, { "config": { "alias": "config"; "required": false; }; "formatter": { "alias": "formatter"; "required": false; }; "position": { "alias": "position"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "borderWidth": { "alias": "borderWidth"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "textStyle": { "alias": "textStyle"; "required": false; }; "extraCssText": { "alias": "extraCssText"; "required": false; }; }, {}, ["formatterTemplate"], never, false, never>;
|
|
36
36
|
}
|
|
@@ -45,5 +45,5 @@ export declare class TdChartTooltipComponent implements OnChanges, OnDestroy {
|
|
|
45
45
|
private _removeOption;
|
|
46
46
|
private _formatter;
|
|
47
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartTooltipComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartTooltipComponent, "td-chart-tooltip", never, { "config": "config"; "show": "show"; "trigger": "trigger"; "axisPointer": "axisPointer"; "showContent": "showContent"; "alwaysShowContent": "alwaysShowContent"; "triggerOn": "triggerOn"; "showDelay": "showDelay"; "hideDelay": "hideDelay"; "enterable": "enterable"; "renderMode": "renderMode"; "confine": "confine"; "transitionDuration": "transitionDuration"; "position": "position"; "formatter": "formatter"; "backgroundColor": "backgroundColor"; "borderColor": "borderColor"; "borderWidth": "borderWidth"; "padding": "padding"; "textStyle": "textStyle"; "extraCssText": "extraCssText"; }, {}, ["formatterTemplate"], never, false, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartTooltipComponent, "td-chart-tooltip", never, { "config": { "alias": "config"; "required": false; }; "show": { "alias": "show"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "axisPointer": { "alias": "axisPointer"; "required": false; }; "showContent": { "alias": "showContent"; "required": false; }; "alwaysShowContent": { "alias": "alwaysShowContent"; "required": false; }; "triggerOn": { "alias": "triggerOn"; "required": false; }; "showDelay": { "alias": "showDelay"; "required": false; }; "hideDelay": { "alias": "hideDelay"; "required": false; }; "enterable": { "alias": "enterable"; "required": false; }; "renderMode": { "alias": "renderMode"; "required": false; }; "confine": { "alias": "confine"; "required": false; }; "transitionDuration": { "alias": "transitionDuration"; "required": false; }; "position": { "alias": "position"; "required": false; }; "formatter": { "alias": "formatter"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "borderWidth": { "alias": "borderWidth"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "textStyle": { "alias": "textStyle"; "required": false; }; "extraCssText": { "alias": "extraCssText"; "required": false; }; }, {}, ["formatterTemplate"], never, false, never>;
|
|
49
49
|
}
|
package/tree/tree.component.d.ts
CHANGED
|
@@ -78,6 +78,6 @@ export declare class TdChartSeriesTreeComponent extends TdSeriesDirective implem
|
|
|
78
78
|
constructor(_optionsService: TdChartOptionsService);
|
|
79
79
|
getConfig(): any;
|
|
80
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesTreeComponent, never>;
|
|
81
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesTreeComponent, "td-chart-series[td-tree]", never, { "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"; "layout": "layout"; "orient": "orient"; "symbol": "symbol"; "symbolSize": "symbolSize"; "symbolRotate": "symbolRotate"; "symbolKeepAspect": "symbolKeepAspect"; "roam": "roam"; "expandAndCollapse": "expandAndCollapse"; "initialTreeDepth": "initialTreeDepth"; "itemStyle": "itemStyle"; "label": "label"; "lineStyle": "lineStyle"; "leaves": "leaves"; "emphasis": "emphasis"; }, {}, never, never, false, never>;
|
|
81
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesTreeComponent, "td-chart-series[td-tree]", never, { "config": { "alias": "config"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "color": { "alias": "color"; "required": false; }; "data": { "alias": "data"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "animationThreshold": { "alias": "animationThreshold"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "animationEasing": { "alias": "animationEasing"; "required": false; }; "animationDelay": { "alias": "animationDelay"; "required": false; }; "animationDurationUpdate": { "alias": "animationDurationUpdate"; "required": false; }; "animationEasingUpdate": { "alias": "animationEasingUpdate"; "required": false; }; "animationDelayUpdate": { "alias": "animationDelayUpdate"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "zlevel": { "alias": "zlevel"; "required": false; }; "z": { "alias": "z"; "required": false; }; "left": { "alias": "left"; "required": false; }; "top": { "alias": "top"; "required": false; }; "right": { "alias": "right"; "required": false; }; "bottom": { "alias": "bottom"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "orient": { "alias": "orient"; "required": false; }; "symbol": { "alias": "symbol"; "required": false; }; "symbolSize": { "alias": "symbolSize"; "required": false; }; "symbolRotate": { "alias": "symbolRotate"; "required": false; }; "symbolKeepAspect": { "alias": "symbolKeepAspect"; "required": false; }; "roam": { "alias": "roam"; "required": false; }; "expandAndCollapse": { "alias": "expandAndCollapse"; "required": false; }; "initialTreeDepth": { "alias": "initialTreeDepth"; "required": false; }; "itemStyle": { "alias": "itemStyle"; "required": false; }; "label": { "alias": "label"; "required": false; }; "lineStyle": { "alias": "lineStyle"; "required": false; }; "leaves": { "alias": "leaves"; "required": false; }; "emphasis": { "alias": "emphasis"; "required": false; }; }, {}, never, never, false, never>;
|
|
82
82
|
}
|
|
83
83
|
export {};
|
|
@@ -125,10 +125,10 @@ export declare class TdChartSeriesTreemapComponent extends TdSeriesDirective imp
|
|
|
125
125
|
upperLabel?: ITdTreemapUpperLabel;
|
|
126
126
|
breadcrumb?: ITdTreemapBreadcrumb;
|
|
127
127
|
emphasis?: ITdTreemapEmphasis;
|
|
128
|
-
tooltip
|
|
128
|
+
tooltip: ITdSeriesTooltip;
|
|
129
129
|
constructor(_optionsService: TdChartOptionsService);
|
|
130
130
|
getConfig(): any;
|
|
131
131
|
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesTreemapComponent, never>;
|
|
132
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesTreemapComponent, "td-chart-series[td-treemap]", never, { "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"; }, {}, never, never, false, never>;
|
|
132
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesTreemapComponent, "td-chart-series[td-treemap]", never, { "config": { "alias": "config"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "color": { "alias": "color"; "required": false; }; "data": { "alias": "data"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "animationThreshold": { "alias": "animationThreshold"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "animationEasing": { "alias": "animationEasing"; "required": false; }; "animationDelay": { "alias": "animationDelay"; "required": false; }; "animationDurationUpdate": { "alias": "animationDurationUpdate"; "required": false; }; "animationEasingUpdate": { "alias": "animationEasingUpdate"; "required": false; }; "animationDelayUpdate": { "alias": "animationDelayUpdate"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "zlevel": { "alias": "zlevel"; "required": false; }; "z": { "alias": "z"; "required": false; }; "left": { "alias": "left"; "required": false; }; "top": { "alias": "top"; "required": false; }; "right": { "alias": "right"; "required": false; }; "bottom": { "alias": "bottom"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "squareRatio": { "alias": "squareRatio"; "required": false; }; "leafDepth": { "alias": "leafDepth"; "required": false; }; "drillDownIcon": { "alias": "drillDownIcon"; "required": false; }; "roam": { "alias": "roam"; "required": false; }; "nodeClick": { "alias": "nodeClick"; "required": false; }; "zoomToNodeRatio": { "alias": "zoomToNodeRatio"; "required": false; }; "levels": { "alias": "levels"; "required": false; }; "silent": { "alias": "silent"; "required": false; }; "visualDimension": { "alias": "visualDimension"; "required": false; }; "visualMin": { "alias": "visualMin"; "required": false; }; "visualMax": { "alias": "visualMax"; "required": false; }; "colorAlpha": { "alias": "colorAlpha"; "required": false; }; "colorSaturation": { "alias": "colorSaturation"; "required": false; }; "colorMappingBy": { "alias": "colorMappingBy"; "required": false; }; "visibleMin": { "alias": "visibleMin"; "required": false; }; "childrenVisibleMin": { "alias": "childrenVisibleMin"; "required": false; }; "itemStyle": { "alias": "itemStyle"; "required": false; }; "label": { "alias": "label"; "required": false; }; "upperLabel": { "alias": "upperLabel"; "required": false; }; "breadcrumb": { "alias": "breadcrumb"; "required": false; }; "emphasis": { "alias": "emphasis"; "required": false; }; }, {}, never, never, false, never>;
|
|
133
133
|
}
|
|
134
134
|
export {};
|
|
@@ -51,5 +51,5 @@ export declare class TdChartSeriesWordcloudComponent extends TdSeriesDirective i
|
|
|
51
51
|
constructor(_optionsService: TdChartOptionsService);
|
|
52
52
|
getConfig(): any;
|
|
53
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesWordcloudComponent, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesWordcloudComponent, "td-chart-series[td-wordCloud]", never, { "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"; }, {}, never, never, false, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesWordcloudComponent, "td-chart-series[td-wordCloud]", never, { "config": { "alias": "config"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "color": { "alias": "color"; "required": false; }; "data": { "alias": "data"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "animationThreshold": { "alias": "animationThreshold"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "animationEasing": { "alias": "animationEasing"; "required": false; }; "animationDelay": { "alias": "animationDelay"; "required": false; }; "animationDurationUpdate": { "alias": "animationDurationUpdate"; "required": false; }; "animationEasingUpdate": { "alias": "animationEasingUpdate"; "required": false; }; "animationDelayUpdate": { "alias": "animationDelayUpdate"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "left": { "alias": "left"; "required": false; }; "top": { "alias": "top"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "right": { "alias": "right"; "required": false; }; "bottom": { "alias": "bottom"; "required": false; }; "sizeRange": { "alias": "sizeRange"; "required": false; }; "rotationRange": { "alias": "rotationRange"; "required": false; }; "rotationStep": { "alias": "rotationStep"; "required": false; }; "gridSize": { "alias": "gridSize"; "required": false; }; "drawOutOfBound": { "alias": "drawOutOfBound"; "required": false; }; "textStyle": { "alias": "textStyle"; "required": false; }; }, {}, never, never, false, never>;
|
|
55
55
|
}
|
package/base/src/axis/README.md
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
# td-chart-x-axis and td-chart-y-axis
|
|
2
|
-
|
|
3
|
-
`td-chart-x-axis` and `td-chart-y-axis` elements generate an axis inside a `td-chart`. Its the equivalent of creating a JS xAxis/yAxis object in echarts.
|
|
4
|
-
|
|
5
|
-
## API Summary
|
|
6
|
-
|
|
7
|
-
#### Inputs
|
|
8
|
-
|
|
9
|
-
- config?: any
|
|
10
|
-
- Sets the JS config object if you choose to not use the property inputs.
|
|
11
|
-
- Note: [config] input properties will override input values
|
|
12
|
-
|
|
13
|
-
There are also lots of property inputs like:
|
|
14
|
-
|
|
15
|
-
- id?: string
|
|
16
|
-
- It can be used to refer the component in option or API.
|
|
17
|
-
- name?: string
|
|
18
|
-
- Location of axis name.
|
|
19
|
-
- type?: 'value' | 'category' | 'time' | 'log'
|
|
20
|
-
- Type of axis
|
|
21
|
-
- min?: number
|
|
22
|
-
- The minimun value of axis.
|
|
23
|
-
- max?: number
|
|
24
|
-
- The maximum value of axis.
|
|
25
|
-
|
|
26
|
-
And so many more.. for more info on xAxis [click here](https://echarts.apache.org/en/option.html#xAxis) and yAxis [click here](https://echarts.apache.org/en/option.html#yAxis)
|
|
27
|
-
|
|
28
|
-
## Setup
|
|
29
|
-
|
|
30
|
-
Import the [CovalentBaseEchartsModule] in your NgModule:
|
|
31
|
-
|
|
32
|
-
```typescript
|
|
33
|
-
import { CovalentBaseEchartsModule } from '@covalent/echarts/base';
|
|
34
|
-
@NgModule({
|
|
35
|
-
imports: [
|
|
36
|
-
CovalentBaseEchartsModule,
|
|
37
|
-
...
|
|
38
|
-
],
|
|
39
|
-
...
|
|
40
|
-
})
|
|
41
|
-
export class MyModule {}
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Usage
|
|
45
|
-
|
|
46
|
-
Basic Tooltip Example:
|
|
47
|
-
|
|
48
|
-
```html
|
|
49
|
-
<td-chart>
|
|
50
|
-
<td-chart-x-axis
|
|
51
|
-
[show]="true"
|
|
52
|
-
[type]="'category'"
|
|
53
|
-
[data]="['Electronics', 'Toys', 'Grocery', 'Appliances', 'Automotive', 'Sports']"
|
|
54
|
-
>
|
|
55
|
-
</td-chart-x-axis>
|
|
56
|
-
<td-chart-y-axis [show]="true" [type]="'value'"> </td-chart-y-axis>
|
|
57
|
-
</td-chart>
|
|
58
|
-
```
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
# td-chart-dataset
|
|
2
|
-
|
|
3
|
-
`td-chart-dataset` element sets the dataset option inside `td-chart`. It allows additional flexibility to managing data separately from the series property which helps with data reuse using different series. It also enables data encoding. Its the equivalent of creating a JS dataset object in echarts.
|
|
4
|
-
|
|
5
|
-
## API Summary
|
|
6
|
-
|
|
7
|
-
#### Inputs
|
|
8
|
-
|
|
9
|
-
- config?: any
|
|
10
|
-
- Sets the JS config object if you choose to not use the property inputs.
|
|
11
|
-
- Note: [config] input properties will override input values
|
|
12
|
-
|
|
13
|
-
There are also has several property inputs:s
|
|
14
|
-
|
|
15
|
-
- id?: string
|
|
16
|
-
- It can be used to refer the component in option or API.
|
|
17
|
-
- source?: object | any[]
|
|
18
|
-
- Source data. Chart data described in a tabular or 2d array format. series.data will override dataset.source.
|
|
19
|
-
- dimensions?: any[]
|
|
20
|
-
- dimensions can be used to define dimension info for series.data or dataset.source.
|
|
21
|
-
- sourceHeader?: boolean
|
|
22
|
-
- Whether the first row/column of dataset.source represents dimension names.
|
|
23
|
-
|
|
24
|
-
For more info [click here](https://echarts.apache.org/en/option.html#dataset)
|
|
25
|
-
|
|
26
|
-
## Setup
|
|
27
|
-
|
|
28
|
-
Import the [CovalentBaseEchartsModule] in your NgModule:
|
|
29
|
-
|
|
30
|
-
```typescript
|
|
31
|
-
import { CovalentBaseEchartsModule } from '@covalent/echarts/base';
|
|
32
|
-
@NgModule({
|
|
33
|
-
imports: [
|
|
34
|
-
CovalentBaseEchartsModule,
|
|
35
|
-
...
|
|
36
|
-
],
|
|
37
|
-
...
|
|
38
|
-
})
|
|
39
|
-
export class MyModule {}
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
## Usage
|
|
43
|
-
|
|
44
|
-
Basic Example:
|
|
45
|
-
|
|
46
|
-
```html
|
|
47
|
-
<td-chart [style.height.px]="300">
|
|
48
|
-
<td-chart-x-axis></td-chart-x-axis>
|
|
49
|
-
<td-chart-y-axis [type]="'category'"> </td-chart-y-axis>
|
|
50
|
-
<td-chart-series td-bar></td-chart-series>
|
|
51
|
-
<td-chart-series td-bar></td-chart-series>
|
|
52
|
-
<td-chart-series td-bar></td-chart-series>
|
|
53
|
-
<td-chart-dataset
|
|
54
|
-
[source]="[['product', '2015', '2016', '2017'],
|
|
55
|
-
['Matcha Latte', 43.3, 85.8, 93.7], ['Milk Tea', 83.1, 73.4, 55.1],
|
|
56
|
-
['Cheese Cocoa', 86.4, 65.2, 82.5], ['Walnut Brownie', 72.4, 53.9, 39.1]]"
|
|
57
|
-
>
|
|
58
|
-
</td-chart-dataset>
|
|
59
|
-
</td-chart>
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
Dimensions Input property Example:
|
|
63
|
-
|
|
64
|
-
```html
|
|
65
|
-
<td-chart [style.height.px]="300">
|
|
66
|
-
<td-chart-x-axis></td-chart-x-axis>
|
|
67
|
-
<td-chart-y-axis [type]="'category'"> </td-chart-y-axis>
|
|
68
|
-
<td-chart-series td-bar></td-chart-series>
|
|
69
|
-
<td-chart-series td-bar></td-chart-series>
|
|
70
|
-
<td-chart-series td-bar></td-chart-series>
|
|
71
|
-
<td-chart-dataset
|
|
72
|
-
[dimensions]="['product', '2015', '2016', '2017']"
|
|
73
|
-
[source]="[{product: 'Matcha Latte', '2015': 43.3, '2016': 85.8, '2017': 93.7},
|
|
74
|
-
{product: 'Milk Tea', '2015': 83.1, '2016': 73.4, '2017': 55.1},
|
|
75
|
-
{product: 'Cheese Cocoa', '2015': 86.4, '2016': 65.2, '2017': 82.5},
|
|
76
|
-
{product: 'Walnut Brownie', '2015': 72.4, '2016': 53.9, '2017': 39.1}]"
|
|
77
|
-
>
|
|
78
|
-
</td-chart-dataset>
|
|
79
|
-
</td-chart>
|
|
80
|
-
```
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { Component, Input, ChangeDetectionStrategy, forwardRef, } from '@angular/core';
|
|
2
|
-
import { TdChartOptionsService, TdSeriesDirective, } from '@covalent/echarts/base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@covalent/echarts/base";
|
|
5
|
-
export class TdChartSeriesBarComponent extends TdSeriesDirective {
|
|
6
|
-
constructor(_optionsService) {
|
|
7
|
-
super('bar', _optionsService);
|
|
8
|
-
}
|
|
9
|
-
getConfig() {
|
|
10
|
-
return {
|
|
11
|
-
coordinateSystem: this.coordinateSystem,
|
|
12
|
-
xAxisIndex: this.xAxisIndex,
|
|
13
|
-
yAxisIndex: this.yAxisIndex,
|
|
14
|
-
legendHoverLink: this.legendHoverLink,
|
|
15
|
-
stack: this.stack,
|
|
16
|
-
cursor: this.cursor,
|
|
17
|
-
label: this.label,
|
|
18
|
-
itemStyle: this.itemStyle,
|
|
19
|
-
emphasis: this.emphasis,
|
|
20
|
-
barWidth: this.barWidth,
|
|
21
|
-
barMaxWidth: this.barMaxWidth,
|
|
22
|
-
barMinHeight: this.barMinHeight,
|
|
23
|
-
barGap: this.barGap,
|
|
24
|
-
barCategoryGap: this.barCategoryGap,
|
|
25
|
-
large: this.large,
|
|
26
|
-
largeThreshold: this.largeThreshold,
|
|
27
|
-
progressive: this.progressive,
|
|
28
|
-
progressiveThreshold: this.progressiveThreshold,
|
|
29
|
-
progressiveChunkMode: this.progressiveChunkMode,
|
|
30
|
-
dimensions: this.dimensions,
|
|
31
|
-
encode: this.encode,
|
|
32
|
-
seriesLayoutBy: this.seriesLayoutBy,
|
|
33
|
-
datasetIndex: this.datasetIndex,
|
|
34
|
-
markPoint: this.markPoint,
|
|
35
|
-
markLine: this.markLine,
|
|
36
|
-
markArea: this.markArea,
|
|
37
|
-
zlevel: this.zlevel,
|
|
38
|
-
z: this.z,
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
TdChartSeriesBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartSeriesBarComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
-
TdChartSeriesBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.5", 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: [
|
|
44
|
-
{
|
|
45
|
-
provide: TdSeriesDirective,
|
|
46
|
-
useExisting: forwardRef(() => TdChartSeriesBarComponent),
|
|
47
|
-
},
|
|
48
|
-
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartSeriesBarComponent, decorators: [{
|
|
50
|
-
type: Component,
|
|
51
|
-
args: [{
|
|
52
|
-
selector: 'td-chart-series[td-bar]',
|
|
53
|
-
template: '',
|
|
54
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
55
|
-
inputs: [
|
|
56
|
-
'config',
|
|
57
|
-
'id',
|
|
58
|
-
'name',
|
|
59
|
-
'color',
|
|
60
|
-
'data',
|
|
61
|
-
'animation',
|
|
62
|
-
'animationThreshold',
|
|
63
|
-
'animationDuration',
|
|
64
|
-
'animationEasing',
|
|
65
|
-
'animationDelay',
|
|
66
|
-
'animationDurationUpdate',
|
|
67
|
-
'animationEasingUpdate',
|
|
68
|
-
'animationDelayUpdate',
|
|
69
|
-
'tooltip',
|
|
70
|
-
],
|
|
71
|
-
providers: [
|
|
72
|
-
{
|
|
73
|
-
provide: TdSeriesDirective,
|
|
74
|
-
useExisting: forwardRef(() => TdChartSeriesBarComponent),
|
|
75
|
-
},
|
|
76
|
-
],
|
|
77
|
-
}]
|
|
78
|
-
}], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { coordinateSystem: [{
|
|
79
|
-
type: Input
|
|
80
|
-
}], xAxisIndex: [{
|
|
81
|
-
type: Input
|
|
82
|
-
}], yAxisIndex: [{
|
|
83
|
-
type: Input
|
|
84
|
-
}], legendHoverLink: [{
|
|
85
|
-
type: Input
|
|
86
|
-
}], stack: [{
|
|
87
|
-
type: Input
|
|
88
|
-
}], cursor: [{
|
|
89
|
-
type: Input
|
|
90
|
-
}], label: [{
|
|
91
|
-
type: Input
|
|
92
|
-
}], itemStyle: [{
|
|
93
|
-
type: Input
|
|
94
|
-
}], emphasis: [{
|
|
95
|
-
type: Input
|
|
96
|
-
}], barWidth: [{
|
|
97
|
-
type: Input
|
|
98
|
-
}], barMaxWidth: [{
|
|
99
|
-
type: Input
|
|
100
|
-
}], barMinHeight: [{
|
|
101
|
-
type: Input
|
|
102
|
-
}], barGap: [{
|
|
103
|
-
type: Input
|
|
104
|
-
}], barCategoryGap: [{
|
|
105
|
-
type: Input
|
|
106
|
-
}], large: [{
|
|
107
|
-
type: Input
|
|
108
|
-
}], largeThreshold: [{
|
|
109
|
-
type: Input
|
|
110
|
-
}], progressive: [{
|
|
111
|
-
type: Input
|
|
112
|
-
}], progressiveThreshold: [{
|
|
113
|
-
type: Input
|
|
114
|
-
}], progressiveChunkMode: [{
|
|
115
|
-
type: Input
|
|
116
|
-
}], dimensions: [{
|
|
117
|
-
type: Input
|
|
118
|
-
}], encode: [{
|
|
119
|
-
type: Input
|
|
120
|
-
}], seriesLayoutBy: [{
|
|
121
|
-
type: Input
|
|
122
|
-
}], datasetIndex: [{
|
|
123
|
-
type: Input
|
|
124
|
-
}], markPoint: [{
|
|
125
|
-
type: Input
|
|
126
|
-
}], markLine: [{
|
|
127
|
-
type: Input
|
|
128
|
-
}], markArea: [{
|
|
129
|
-
type: Input
|
|
130
|
-
}], zlevel: [{
|
|
131
|
-
type: Input
|
|
132
|
-
}], z: [{
|
|
133
|
-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RoaXMuc2VyaWVzTGF5b3V0QnksXG4gICAgICBkYXRhc2V0SW5kZXg6IHRoaXMuZGF0YXNldEluZGV4LFxuICAgICAgbWFya1BvaW50OiB0aGlzLm1hcmtQb2ludCxcbiAgICAgIG1hcmtMaW5lOiB0aGlzLm1hcmtMaW5lLFxuICAgICAgbWFya0FyZWE6IHRoaXMubWFya0FyZWEsXG4gICAgICB6bGV2ZWw6IHRoaXMuemxldmVsLFxuICAgICAgejogdGhpcy56LFxuICAgIH07XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { Input, Directive } from '@angular/core';
|
|
2
|
-
import { TdChartOptionsService } from '../chart-options.service';
|
|
3
|
-
import { assignDefined } from '../utils';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../chart-options.service";
|
|
6
|
-
export class TdChartAxisDirective {
|
|
7
|
-
constructor(_axisOption, _optionsService) {
|
|
8
|
-
this._axisOption = _axisOption;
|
|
9
|
-
this._optionsService = _optionsService;
|
|
10
|
-
this._state = {};
|
|
11
|
-
this.config = {};
|
|
12
|
-
this.show = true;
|
|
13
|
-
}
|
|
14
|
-
ngOnInit() {
|
|
15
|
-
this._setOptions();
|
|
16
|
-
}
|
|
17
|
-
ngOnChanges() {
|
|
18
|
-
this._setOptions();
|
|
19
|
-
}
|
|
20
|
-
ngOnDestroy() {
|
|
21
|
-
this._removeOption();
|
|
22
|
-
}
|
|
23
|
-
_setOptions() {
|
|
24
|
-
const config = assignDefined(this._state, {
|
|
25
|
-
id: this.id,
|
|
26
|
-
show: this.show,
|
|
27
|
-
gridIndex: this.gridIndex,
|
|
28
|
-
position: this.position,
|
|
29
|
-
offset: this.offset,
|
|
30
|
-
type: this.type,
|
|
31
|
-
name: this.name,
|
|
32
|
-
nameLocation: this.nameLocation,
|
|
33
|
-
nameTextStyle: this.nameTextStyle,
|
|
34
|
-
nameGap: this.nameGap,
|
|
35
|
-
nameRotate: this.nameRotate,
|
|
36
|
-
inverse: this.inverse,
|
|
37
|
-
boundaryGap: this.boundaryGap,
|
|
38
|
-
min: this.min,
|
|
39
|
-
max: this.max,
|
|
40
|
-
scale: this.scale,
|
|
41
|
-
minInterval: this.minInterval,
|
|
42
|
-
interval: this.interval,
|
|
43
|
-
logBase: this.logBase,
|
|
44
|
-
silent: this.silent,
|
|
45
|
-
triggerEvent: this.triggerEvent,
|
|
46
|
-
axisLine: this.axisLine,
|
|
47
|
-
axisTick: this.axisTick,
|
|
48
|
-
axisLabel: this.axisLabel,
|
|
49
|
-
splitLine: this.splitLine,
|
|
50
|
-
splitArea: this.splitArea,
|
|
51
|
-
data: this.data,
|
|
52
|
-
axisPointer: this.axisPointer,
|
|
53
|
-
zlevel: this.zlevel,
|
|
54
|
-
z: this.z,
|
|
55
|
-
}, this.config ? this.config : {});
|
|
56
|
-
this._optionsService.setArrayOption(this._axisOption, config);
|
|
57
|
-
}
|
|
58
|
-
_removeOption() {
|
|
59
|
-
this._optionsService.clearOption(this._axisOption);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
TdChartAxisDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartAxisDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
63
|
-
TdChartAxisDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.5", type: TdChartAxisDirective, inputs: { config: "config", id: "id", show: "show", gridIndex: "gridIndex", offset: "offset", type: "type", name: "name", nameLocation: "nameLocation", nameTextStyle: "nameTextStyle", nameGap: "nameGap", nameRotate: "nameRotate", inverse: "inverse", boundaryGap: "boundaryGap", min: "min", max: "max", scale: "scale", minInterval: "minInterval", interval: "interval", logBase: "logBase", silent: "silent", triggerEvent: "triggerEvent", axisLine: "axisLine", axisTick: "axisTick", axisLabel: "axisLabel", splitLine: "splitLine", splitArea: "splitArea", data: "data", axisPointer: "axisPointer", zlevel: "zlevel", z: "z" }, usesOnChanges: true, ngImport: i0 });
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartAxisDirective, decorators: [{
|
|
65
|
-
type: Directive
|
|
66
|
-
}], ctorParameters: function () { return [{ type: undefined }, { type: i1.TdChartOptionsService }]; }, propDecorators: { config: [{
|
|
67
|
-
type: Input
|
|
68
|
-
}], id: [{
|
|
69
|
-
type: Input
|
|
70
|
-
}], show: [{
|
|
71
|
-
type: Input
|
|
72
|
-
}], gridIndex: [{
|
|
73
|
-
type: Input
|
|
74
|
-
}], offset: [{
|
|
75
|
-
type: Input
|
|
76
|
-
}], type: [{
|
|
77
|
-
type: Input
|
|
78
|
-
}], name: [{
|
|
79
|
-
type: Input
|
|
80
|
-
}], nameLocation: [{
|
|
81
|
-
type: Input
|
|
82
|
-
}], nameTextStyle: [{
|
|
83
|
-
type: Input
|
|
84
|
-
}], nameGap: [{
|
|
85
|
-
type: Input
|
|
86
|
-
}], nameRotate: [{
|
|
87
|
-
type: Input
|
|
88
|
-
}], inverse: [{
|
|
89
|
-
type: Input
|
|
90
|
-
}], boundaryGap: [{
|
|
91
|
-
type: Input
|
|
92
|
-
}], min: [{
|
|
93
|
-
type: Input
|
|
94
|
-
}], max: [{
|
|
95
|
-
type: Input
|
|
96
|
-
}], scale: [{
|
|
97
|
-
type: Input
|
|
98
|
-
}], minInterval: [{
|
|
99
|
-
type: Input
|
|
100
|
-
}], interval: [{
|
|
101
|
-
type: Input
|
|
102
|
-
}], logBase: [{
|
|
103
|
-
type: Input
|
|
104
|
-
}], silent: [{
|
|
105
|
-
type: Input
|
|
106
|
-
}], triggerEvent: [{
|
|
107
|
-
type: Input
|
|
108
|
-
}], axisLine: [{
|
|
109
|
-
type: Input
|
|
110
|
-
}], axisTick: [{
|
|
111
|
-
type: Input
|
|
112
|
-
}], axisLabel: [{
|
|
113
|
-
type: Input
|
|
114
|
-
}], splitLine: [{
|
|
115
|
-
type: Input
|
|
116
|
-
}], splitArea: [{
|
|
117
|
-
type: Input
|
|
118
|
-
}], data: [{
|
|
119
|
-
type: Input
|
|
120
|
-
}], axisPointer: [{
|
|
121
|
-
type: Input
|
|
122
|
-
}], zlevel: [{
|
|
123
|
-
type: Input
|
|
124
|
-
}], z: [{
|
|
125
|
-
type: Input
|
|
126
|
-
}] } });
|
|
127
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXhpcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItZWNoYXJ0cy9iYXNlL3NyYy9heGlzL2F4aXMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxLQUFLLEVBQWdDLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUvRSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUNqRSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sVUFBVSxDQUFDOzs7QUFlekMsTUFBTSxPQUFnQixvQkFBb0I7SUFzQ3hDLFlBQ1UsV0FBbUIsRUFDbkIsZUFBc0M7UUFEdEMsZ0JBQVcsR0FBWCxXQUFXLENBQVE7UUFDbkIsb0JBQWUsR0FBZixlQUFlLENBQXVCO1FBckN4QyxXQUFNLEdBQVEsRUFBRSxDQUFDO1FBRWhCLFdBQU0sR0FBUSxFQUFFLENBQUM7UUFHakIsU0FBSSxHQUFhLElBQUksQ0FBQztJQWlDNUIsQ0FBQztJQUVKLFFBQVE7UUFDTixJQUFJLENBQUMsV0FBVyxFQUFFLENBQUM7SUFDckIsQ0FBQztJQUVELFdBQVc7UUFDVCxJQUFJLENBQUMsV0FBVyxFQUFFLENBQUM7SUFDckIsQ0FBQztJQUVELFdBQVc7UUFDVCxJQUF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lzLnNwbGl0QXJlYSxcbiAgICAgICAgZGF0YTogdGhpcy5kYXRhLFxuICAgICAgICBheGlzUG9pbnRlcjogdGhpcy5heGlzUG9pbnRlcixcbiAgICAgICAgemxldmVsOiB0aGlzLnpsZXZlbCxcbiAgICAgICAgejogdGhpcy56LFxuICAgICAgfSxcbiAgICAgIHRoaXMuY29uZmlnID8gdGhpcy5jb25maWcgOiB7fVxuICAgICk7XG4gICAgdGhpcy5fb3B0aW9uc1NlcnZpY2Uuc2V0QXJyYXlPcHRpb24odGhpcy5fYXhpc09wdGlvbiwgY29uZmlnKTtcbiAgfVxuXG4gIHByaXZhdGUgX3JlbW92ZU9wdGlvbigpOiB2b2lkIHtcbiAgICB0aGlzLl9vcHRpb25zU2VydmljZS5jbGVhck9wdGlvbih0aGlzLl9heGlzT3B0aW9uKTtcbiAgfVxufVxuIl19
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, Input } from '@angular/core';
|
|
2
|
-
import { TdChartOptionsService } from '../chart-options.service';
|
|
3
|
-
import { TdChartAxisDirective } from './axis.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../chart-options.service";
|
|
6
|
-
export class TdChartXAxisComponent extends TdChartAxisDirective {
|
|
7
|
-
constructor(_optionsService) {
|
|
8
|
-
super('xAxis', _optionsService);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
TdChartXAxisComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartXAxisComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
-
TdChartXAxisComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.5", type: TdChartXAxisComponent, selector: "td-chart-x-axis", inputs: { config: "config", id: "id", show: "show", gridIndex: "gridIndex", offset: "offset", type: "type", name: "name", nameLocation: "nameLocation", nameTextStyle: "nameTextStyle", nameGap: "nameGap", nameRotate: "nameRotate", inverse: "inverse", boundaryGap: "boundaryGap", min: "min", max: "max", scale: "scale", minInterval: "minInterval", interval: "interval", logBase: "logBase", silent: "silent", triggerEvent: "triggerEvent", axisLine: "axisLine", axisTick: "axisTick", axisLabel: "axisLabel", splitLine: "splitLine", splitArea: "splitArea", data: "data", axisPointer: "axisPointer", zlevel: "zlevel", z: "z", position: "position" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartXAxisComponent, decorators: [{
|
|
14
|
-
type: Component,
|
|
15
|
-
args: [{
|
|
16
|
-
selector: 'td-chart-x-axis',
|
|
17
|
-
template: '',
|
|
18
|
-
inputs: [
|
|
19
|
-
'config',
|
|
20
|
-
'id',
|
|
21
|
-
'show',
|
|
22
|
-
'gridIndex',
|
|
23
|
-
'offset',
|
|
24
|
-
'type',
|
|
25
|
-
'name',
|
|
26
|
-
'nameLocation',
|
|
27
|
-
'nameTextStyle',
|
|
28
|
-
'nameGap',
|
|
29
|
-
'nameRotate',
|
|
30
|
-
'inverse',
|
|
31
|
-
'boundaryGap',
|
|
32
|
-
'min',
|
|
33
|
-
'max',
|
|
34
|
-
'scale',
|
|
35
|
-
'minInterval',
|
|
36
|
-
'interval',
|
|
37
|
-
'logBase',
|
|
38
|
-
'silent',
|
|
39
|
-
'triggerEvent',
|
|
40
|
-
'axisLine',
|
|
41
|
-
'axisTick',
|
|
42
|
-
'axisLabel',
|
|
43
|
-
'splitLine',
|
|
44
|
-
'splitArea',
|
|
45
|
-
'data',
|
|
46
|
-
'axisPointer',
|
|
47
|
-
'zlevel',
|
|
48
|
-
'z',
|
|
49
|
-
],
|
|
50
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
51
|
-
}]
|
|
52
|
-
}], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { position: [{
|
|
53
|
-
type: Input
|
|
54
|
-
}] } });
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieC1heGlzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci1lY2hhcnRzL2Jhc2Uvc3JjL2F4aXMveC1heGlzLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLHVCQUF1QixFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUxRSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUVqRSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQzs7O0FBdUN4RCxNQUFNLE9BQU8scUJBQXNCLFNBQVEsb0JBQW9CO0lBRzdELFlBQVksZUFBc0M7UUFDaEQsS0FBSyxDQUFDLE9BQU8sRUFBRSxlQUFlLENBQUMsQ0FBQztJQUNsQyxDQUFDOztrSEFMVSxxQkFBcUI7c0dBQXJCLHFCQUFxQixrdEJBbkN0QixFQUFFOzJGQW1DRCxxQkFBcUI7a0JBckNqQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxpQkFBaUI7b0JBQzNCLFFBQVEsRUFBRSxFQUFFO29CQUNaLE1BQU0sRUFBRTt3QkFDTixRQUFRO3dCQUNSLElBQUk7d0JBQ0osTUFBTTt3QkFDTixXQUFXO3dCQUNYLFFBQVE7d0JBQ1IsTUFBTTt3QkFDTixNQUFNO3dCQUNOLGNBQWM7d0JBQ2QsZUFBZTt3QkFDZixTQUFTO3dCQUNULFlBQVk7d0JBQ1osU0FBUzt3QkFDVCxhQUFhO3dCQUNiLEtBQUs7d0JBQ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