@covalent/echarts 4.0.0 → 4.1.0-develop.10
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/README.md +4 -90
- package/bar/README.md +23 -21
- package/bar/bar.component.d.ts +30 -27
- package/bar/bar.module.d.ts +6 -1
- package/bar/covalent-echarts-bar.d.ts +2 -1
- package/bar/package.json +6 -7
- package/bar/{public-api.d.ts → public_api.d.ts} +0 -0
- package/base/README.md +26 -26
- package/base/axis/axis.component.d.ts +32 -29
- package/base/axis/x-axis.component.d.ts +3 -0
- package/base/axis/y-axis.component.d.ts +3 -0
- package/base/base.module.d.ts +9 -1
- package/base/chart-options.service.d.ts +3 -0
- package/base/chart.component.d.ts +6 -3
- package/base/covalent-echarts-base.d.ts +2 -2
- package/base/dataset/dataset.component.d.ts +8 -5
- package/base/package.json +6 -7
- package/base/{public-api.d.ts → public_api.d.ts} +0 -0
- package/base/series/series.component.d.ts +18 -15
- package/base/{axis → src/axis}/README.md +19 -19
- package/base/{dataset → src/dataset}/README.md +19 -16
- package/covalent-echarts.d.ts +2 -1
- package/esm2020/bar/bar.component.mjs +135 -0
- package/esm2020/bar/bar.module.mjs +19 -0
- package/esm2020/bar/covalent-echarts-bar.mjs +5 -0
- package/esm2020/bar/public_api.mjs +3 -0
- package/esm2020/base/axis/axis.component.mjs +127 -0
- package/esm2020/base/axis/axis.interface.mjs +2 -0
- package/esm2020/base/axis/x-axis.component.mjs +55 -0
- package/esm2020/base/axis/y-axis.component.mjs +55 -0
- package/esm2020/base/base.module.mjs +35 -0
- package/esm2020/base/base.types.mjs +2 -0
- package/esm2020/base/chart-options.service.mjs +65 -0
- package/esm2020/base/chart.component.mjs +195 -0
- package/esm2020/base/covalent-echarts-base.mjs +5 -0
- package/esm2020/base/dataset/dataset.component.mjs +52 -0
- package/esm2020/base/public_api.mjs +10 -0
- package/esm2020/base/series/series.component.mjs +91 -0
- package/esm2020/base/series/series.interface.mjs +2 -0
- package/esm2020/base/themes/aqua-splash.mjs +487 -0
- package/esm2020/base/themes/california-coast.mjs +460 -0
- package/esm2020/base/themes/hawaiian-sunrise.mjs +460 -0
- package/esm2020/base/themes/passion-flower.mjs +460 -0
- package/esm2020/base/themes/razzleberry-pie.mjs +487 -0
- package/esm2020/base/themes/teradata-classic.mjs +487 -0
- package/{esm2015/base/themes/razzleberry-pie.js → esm2020/base/themes/teradata-default.mjs} +30 -35
- package/esm2020/base/themes/urban-sunrise.mjs +460 -0
- package/esm2020/base/themes/volcanic-eruption.mjs +460 -0
- package/esm2020/base/utils/assign-defined.mjs +25 -0
- package/esm2020/base/utils/echarts.mjs +49 -0
- package/esm2020/base/utils/index.mjs +3 -0
- package/esm2020/covalent-echarts.mjs +5 -0
- package/esm2020/graph/covalent-echarts-graph.mjs +5 -0
- package/esm2020/graph/graph.component.mjs +185 -0
- package/esm2020/graph/graph.module.mjs +21 -0
- package/esm2020/graph/public_api.mjs +3 -0
- package/esm2020/line/covalent-echarts-line.mjs +5 -0
- package/esm2020/line/line.component.mjs +159 -0
- package/esm2020/line/line.module.mjs +19 -0
- package/esm2020/line/public_api.mjs +3 -0
- package/esm2020/map/covalent-echarts-map.mjs +5 -0
- package/esm2020/map/map.component.mjs +132 -0
- package/esm2020/map/map.module.mjs +19 -0
- package/esm2020/map/public_api.mjs +3 -0
- package/esm2020/pie/covalent-echarts-pie.mjs +5 -0
- package/esm2020/pie/pie.component.mjs +127 -0
- package/esm2020/pie/pie.module.mjs +19 -0
- package/esm2020/pie/public_api.mjs +3 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/sankey/covalent-echarts-sankey.mjs +5 -0
- package/esm2020/sankey/public_api.mjs +3 -0
- package/esm2020/sankey/sankey.component.mjs +117 -0
- package/esm2020/sankey/sankey.module.mjs +21 -0
- package/esm2020/scatter/covalent-echarts-scatter.mjs +5 -0
- package/esm2020/scatter/public_api.mjs +3 -0
- package/esm2020/scatter/scatter.component.mjs +144 -0
- package/esm2020/scatter/scatter.module.mjs +21 -0
- package/esm2020/toolbox/covalent-echarts-toolbox.mjs +5 -0
- package/esm2020/toolbox/public_api.mjs +3 -0
- package/esm2020/toolbox/toolbox.component.mjs +135 -0
- package/esm2020/toolbox/toolbox.module.mjs +24 -0
- package/esm2020/tooltip/covalent-echarts-tooltip.mjs +5 -0
- package/esm2020/tooltip/public_api.mjs +4 -0
- package/esm2020/tooltip/series-tooltip.component.mjs +102 -0
- package/esm2020/tooltip/tooltip.component.mjs +156 -0
- package/esm2020/tooltip/tooltip.module.mjs +28 -0
- package/esm2020/tree/covalent-echarts-tree.mjs +5 -0
- package/esm2020/tree/public_api.mjs +3 -0
- package/esm2020/tree/tree.component.mjs +117 -0
- package/esm2020/tree/tree.module.mjs +19 -0
- package/esm2020/treemap/covalent-echarts-treemap.mjs +5 -0
- package/esm2020/treemap/public_api.mjs +3 -0
- package/esm2020/treemap/treemap.component.mjs +149 -0
- package/esm2020/treemap/treemap.module.mjs +21 -0
- package/esm2020/wordcloud/covalent-echarts-wordcloud.mjs +5 -0
- package/esm2020/wordcloud/public_api.mjs +3 -0
- package/esm2020/wordcloud/wordcloud.component.mjs +92 -0
- package/esm2020/wordcloud/wordcloud.module.mjs +21 -0
- package/fesm2015/covalent-echarts-bar.mjs +158 -0
- package/fesm2015/covalent-echarts-bar.mjs.map +1 -0
- package/fesm2015/{covalent-echarts-base.js → covalent-echarts-base.mjs} +390 -856
- package/fesm2015/covalent-echarts-base.mjs.map +1 -0
- package/fesm2015/covalent-echarts-graph.mjs +210 -0
- package/fesm2015/covalent-echarts-graph.mjs.map +1 -0
- package/fesm2015/covalent-echarts-line.mjs +182 -0
- package/fesm2015/covalent-echarts-line.mjs.map +1 -0
- package/fesm2015/covalent-echarts-map.mjs +155 -0
- package/fesm2015/covalent-echarts-map.mjs.map +1 -0
- package/fesm2015/covalent-echarts-pie.mjs +150 -0
- package/fesm2015/covalent-echarts-pie.mjs.map +1 -0
- package/fesm2015/covalent-echarts-sankey.mjs +142 -0
- package/fesm2015/covalent-echarts-sankey.mjs.map +1 -0
- package/fesm2015/covalent-echarts-scatter.mjs +169 -0
- 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/fesm2015/covalent-echarts-tooltip.mjs +283 -0
- package/fesm2015/covalent-echarts-tooltip.mjs.map +1 -0
- package/fesm2015/covalent-echarts-tree.mjs +140 -0
- package/fesm2015/covalent-echarts-tree.mjs.map +1 -0
- package/fesm2015/covalent-echarts-treemap.mjs +174 -0
- package/fesm2015/covalent-echarts-treemap.mjs.map +1 -0
- package/fesm2015/covalent-echarts-wordcloud.mjs +117 -0
- package/fesm2015/covalent-echarts-wordcloud.mjs.map +1 -0
- package/fesm2015/covalent-echarts.mjs +4 -0
- package/fesm2015/covalent-echarts.mjs.map +1 -0
- package/fesm2020/covalent-echarts-bar.mjs +158 -0
- package/fesm2020/covalent-echarts-bar.mjs.map +1 -0
- package/fesm2020/covalent-echarts-base.mjs +4930 -0
- package/fesm2020/covalent-echarts-base.mjs.map +1 -0
- package/fesm2020/covalent-echarts-graph.mjs +210 -0
- package/fesm2020/covalent-echarts-graph.mjs.map +1 -0
- 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/fesm2020/covalent-echarts-map.mjs.map +1 -0
- package/fesm2020/covalent-echarts-pie.mjs +150 -0
- package/fesm2020/covalent-echarts-pie.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/fesm2020/covalent-echarts-toolbox.mjs +163 -0
- package/fesm2020/covalent-echarts-toolbox.mjs.map +1 -0
- 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/README.md +21 -19
- package/graph/covalent-echarts-graph.d.ts +2 -1
- package/graph/graph.component.d.ts +63 -60
- package/graph/graph.module.d.ts +6 -1
- package/graph/package.json +6 -7
- package/graph/{public-api.d.ts → public_api.d.ts} +0 -0
- package/line/README.md +19 -21
- package/line/covalent-echarts-line.d.ts +2 -1
- package/line/line.component.d.ts +38 -35
- package/line/line.module.d.ts +6 -1
- package/line/package.json +6 -7
- package/line/{public-api.d.ts → public_api.d.ts} +0 -0
- package/map/README.md +19 -17
- package/map/covalent-echarts-map.d.ts +2 -1
- package/map/map.component.d.ts +30 -27
- package/map/map.module.d.ts +6 -1
- package/map/package.json +6 -7
- package/map/{public-api.d.ts → public_api.d.ts} +0 -0
- package/package.json +130 -22
- package/pie/README.md +17 -15
- package/pie/covalent-echarts-pie.d.ts +2 -1
- package/pie/package.json +6 -7
- package/pie/pie.component.d.ts +29 -26
- package/pie/pie.module.d.ts +6 -1
- package/pie/{public-api.d.ts → public_api.d.ts} +0 -0
- package/{index.d.ts → public_api.d.ts} +0 -0
- package/sankey/README.md +22 -20
- package/sankey/covalent-echarts-sankey.d.ts +2 -1
- package/sankey/package.json +6 -7
- package/sankey/{public-api.d.ts → public_api.d.ts} +0 -0
- package/sankey/sankey.component.d.ts +25 -22
- package/sankey/sankey.module.d.ts +6 -1
- package/scatter/README.md +19 -21
- package/scatter/covalent-echarts-scatter.d.ts +2 -1
- package/scatter/package.json +6 -7
- package/scatter/{public-api.d.ts → public_api.d.ts} +0 -0
- package/scatter/scatter.component.d.ts +34 -31
- package/scatter/scatter.module.d.ts +6 -1
- package/toolbox/README.md +12 -11
- package/toolbox/covalent-echarts-toolbox.d.ts +2 -1
- package/toolbox/package.json +6 -7
- package/toolbox/{public-api.d.ts → public_api.d.ts} +0 -0
- package/toolbox/toolbox.component.d.ts +15 -10
- package/toolbox/toolbox.module.d.ts +6 -1
- package/tooltip/README.md +30 -26
- package/tooltip/covalent-echarts-tooltip.d.ts +2 -1
- package/tooltip/package.json +6 -7
- package/tooltip/{public-api.d.ts → public_api.d.ts} +0 -0
- package/tooltip/series-tooltip.component.d.ts +14 -9
- package/tooltip/tooltip.component.d.ts +21 -16
- package/tooltip/tooltip.module.d.ts +7 -1
- package/tree/README.md +20 -18
- package/tree/covalent-echarts-tree.d.ts +2 -1
- package/tree/package.json +6 -7
- package/tree/{public-api.d.ts → public_api.d.ts} +0 -0
- package/tree/tree.component.d.ts +27 -24
- package/tree/tree.module.d.ts +6 -1
- package/treemap/README.md +23 -21
- package/treemap/covalent-echarts-treemap.d.ts +2 -1
- package/treemap/package.json +6 -7
- package/treemap/{public-api.d.ts → public_api.d.ts} +0 -0
- package/treemap/treemap.component.d.ts +40 -37
- package/treemap/treemap.module.d.ts +6 -1
- package/wordcloud/README.md +25 -23
- package/wordcloud/covalent-echarts-wordcloud.d.ts +2 -1
- package/wordcloud/package.json +6 -7
- package/wordcloud/{public-api.d.ts → public_api.d.ts} +0 -0
- package/wordcloud/wordcloud.component.d.ts +17 -14
- package/wordcloud/wordcloud.module.d.ts +6 -1
- package/bar/covalent-echarts-bar.metadata.json +0 -1
- package/bar/index.d.ts +0 -1
- package/base/chart.component.scss +0 -4
- package/base/covalent-echarts-base.metadata.json +0 -1
- package/base/index.d.ts +0 -1
- package/bundles/covalent-echarts-bar.umd.js +0 -588
- package/bundles/covalent-echarts-bar.umd.js.map +0 -1
- package/bundles/covalent-echarts-bar.umd.min.js +0 -16
- package/bundles/covalent-echarts-bar.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-base.umd.js +0 -5750
- package/bundles/covalent-echarts-base.umd.js.map +0 -1
- package/bundles/covalent-echarts-base.umd.min.js +0 -16
- package/bundles/covalent-echarts-base.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-graph.umd.js +0 -745
- package/bundles/covalent-echarts-graph.umd.js.map +0 -1
- package/bundles/covalent-echarts-graph.umd.min.js +0 -16
- package/bundles/covalent-echarts-graph.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-line.umd.js +0 -638
- package/bundles/covalent-echarts-line.umd.js.map +0 -1
- package/bundles/covalent-echarts-line.umd.min.js +0 -16
- package/bundles/covalent-echarts-line.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-map.umd.js +0 -600
- package/bundles/covalent-echarts-map.umd.js.map +0 -1
- package/bundles/covalent-echarts-map.umd.min.js +0 -16
- package/bundles/covalent-echarts-map.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-pie.umd.js +0 -574
- package/bundles/covalent-echarts-pie.umd.js.map +0 -1
- package/bundles/covalent-echarts-pie.umd.min.js +0 -16
- package/bundles/covalent-echarts-pie.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-sankey.umd.js +0 -570
- package/bundles/covalent-echarts-sankey.umd.js.map +0 -1
- package/bundles/covalent-echarts-sankey.umd.min.js +0 -16
- package/bundles/covalent-echarts-sankey.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-scatter.umd.js +0 -610
- package/bundles/covalent-echarts-scatter.umd.js.map +0 -1
- package/bundles/covalent-echarts-scatter.umd.min.js +0 -16
- package/bundles/covalent-echarts-scatter.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-toolbox.umd.js +0 -460
- package/bundles/covalent-echarts-toolbox.umd.js.map +0 -1
- package/bundles/covalent-echarts-toolbox.umd.min.js +0 -2
- package/bundles/covalent-echarts-toolbox.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-tooltip.umd.js +0 -476
- package/bundles/covalent-echarts-tooltip.umd.js.map +0 -1
- package/bundles/covalent-echarts-tooltip.umd.min.js +0 -2
- package/bundles/covalent-echarts-tooltip.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-tree.umd.js +0 -584
- package/bundles/covalent-echarts-tree.umd.js.map +0 -1
- package/bundles/covalent-echarts-tree.umd.min.js +0 -16
- package/bundles/covalent-echarts-tree.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-treemap.umd.js +0 -728
- package/bundles/covalent-echarts-treemap.umd.js.map +0 -1
- package/bundles/covalent-echarts-treemap.umd.min.js +0 -16
- package/bundles/covalent-echarts-treemap.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-wordcloud.umd.js +0 -521
- package/bundles/covalent-echarts-wordcloud.umd.js.map +0 -1
- package/bundles/covalent-echarts-wordcloud.umd.min.js +0 -16
- package/bundles/covalent-echarts-wordcloud.umd.min.js.map +0 -1
- package/bundles/covalent-echarts.umd.js +0 -9
- package/bundles/covalent-echarts.umd.js.map +0 -1
- package/bundles/covalent-echarts.umd.min.js +0 -2
- package/bundles/covalent-echarts.umd.min.js.map +0 -1
- package/covalent-echarts.metadata.json +0 -1
- package/esm2015/bar/bar.component.js +0 -241
- package/esm2015/bar/bar.module.js +0 -21
- package/esm2015/bar/covalent-echarts-bar.js +0 -10
- package/esm2015/bar/index.js +0 -7
- package/esm2015/bar/public-api.js +0 -8
- package/esm2015/base/axis/axis.component.js +0 -209
- package/esm2015/base/axis/axis.interface.js +0 -324
- package/esm2015/base/axis/x-axis.component.js +0 -67
- package/esm2015/base/axis/y-axis.component.js +0 -67
- package/esm2015/base/base.module.js +0 -31
- package/esm2015/base/base.types.js +0 -278
- package/esm2015/base/chart-options.service.js +0 -115
- package/esm2015/base/chart.component.js +0 -354
- package/esm2015/base/covalent-echarts-base.js +0 -11
- package/esm2015/base/dataset/dataset.component.js +0 -93
- package/esm2015/base/index.js +0 -7
- package/esm2015/base/public-api.js +0 -15
- package/esm2015/base/series/series.component.js +0 -187
- package/esm2015/base/series/series.interface.js +0 -178
- package/esm2015/base/themes/aqua-splash.js +0 -465
- package/esm2015/base/themes/california-coast.js +0 -465
- package/esm2015/base/themes/hawaiian-sunrise.js +0 -465
- package/esm2015/base/themes/passion-flower.js +0 -465
- package/esm2015/base/themes/teradata-classic.js +0 -465
- package/esm2015/base/themes/teradata-default.js +0 -465
- package/esm2015/base/themes/urban-sunrise.js +0 -465
- package/esm2015/base/themes/volcanic-eruption.js +0 -465
- package/esm2015/base/utils/assign-defined.js +0 -37
- package/esm2015/base/utils/echarts.js +0 -60
- package/esm2015/base/utils/index.js +0 -8
- package/esm2015/covalent-echarts.js +0 -10
- package/esm2015/graph/covalent-echarts-graph.js +0 -10
- package/esm2015/graph/graph.component.js +0 -398
- package/esm2015/graph/graph.module.js +0 -21
- package/esm2015/graph/index.js +0 -7
- package/esm2015/graph/public-api.js +0 -8
- package/esm2015/index.js +0 -7
- package/esm2015/line/covalent-echarts-line.js +0 -10
- package/esm2015/line/index.js +0 -7
- package/esm2015/line/line.component.js +0 -291
- package/esm2015/line/line.module.js +0 -21
- package/esm2015/line/public-api.js +0 -8
- package/esm2015/map/covalent-echarts-map.js +0 -10
- package/esm2015/map/index.js +0 -7
- package/esm2015/map/map.component.js +0 -253
- package/esm2015/map/map.module.js +0 -21
- package/esm2015/map/public-api.js +0 -8
- package/esm2015/pie/covalent-echarts-pie.js +0 -10
- package/esm2015/pie/index.js +0 -7
- package/esm2015/pie/pie.component.js +0 -227
- package/esm2015/pie/pie.module.js +0 -21
- package/esm2015/pie/public-api.js +0 -8
- package/esm2015/sankey/covalent-echarts-sankey.js +0 -10
- package/esm2015/sankey/index.js +0 -7
- package/esm2015/sankey/public-api.js +0 -8
- package/esm2015/sankey/sankey.component.js +0 -223
- package/esm2015/sankey/sankey.module.js +0 -21
- package/esm2015/scatter/covalent-echarts-scatter.js +0 -10
- package/esm2015/scatter/index.js +0 -7
- package/esm2015/scatter/public-api.js +0 -8
- package/esm2015/scatter/scatter.component.js +0 -263
- package/esm2015/scatter/scatter.module.js +0 -21
- package/esm2015/toolbox/covalent-echarts-toolbox.js +0 -10
- package/esm2015/toolbox/index.js +0 -7
- package/esm2015/toolbox/public-api.js +0 -8
- package/esm2015/toolbox/toolbox.component.js +0 -405
- package/esm2015/toolbox/toolbox.module.js +0 -21
- package/esm2015/tooltip/covalent-echarts-tooltip.js +0 -10
- package/esm2015/tooltip/index.js +0 -7
- package/esm2015/tooltip/public-api.js +0 -9
- package/esm2015/tooltip/series-tooltip.component.js +0 -170
- package/esm2015/tooltip/tooltip.component.js +0 -246
- package/esm2015/tooltip/tooltip.module.js +0 -26
- package/esm2015/tree/covalent-echarts-tree.js +0 -10
- package/esm2015/tree/index.js +0 -7
- package/esm2015/tree/public-api.js +0 -8
- package/esm2015/tree/tree.component.js +0 -237
- package/esm2015/tree/tree.module.js +0 -21
- package/esm2015/treemap/covalent-echarts-treemap.js +0 -10
- package/esm2015/treemap/index.js +0 -7
- package/esm2015/treemap/public-api.js +0 -8
- package/esm2015/treemap/treemap.component.js +0 -380
- package/esm2015/treemap/treemap.module.js +0 -21
- package/esm2015/wordcloud/covalent-echarts-wordcloud.js +0 -10
- package/esm2015/wordcloud/index.js +0 -7
- package/esm2015/wordcloud/public-api.js +0 -8
- package/esm2015/wordcloud/wordcloud.component.js +0 -174
- package/esm2015/wordcloud/wordcloud.module.js +0 -21
- package/fesm2015/covalent-echarts-bar.js +0 -281
- package/fesm2015/covalent-echarts-bar.js.map +0 -1
- package/fesm2015/covalent-echarts-base.js.map +0 -1
- package/fesm2015/covalent-echarts-graph.js +0 -438
- package/fesm2015/covalent-echarts-graph.js.map +0 -1
- package/fesm2015/covalent-echarts-line.js +0 -331
- package/fesm2015/covalent-echarts-line.js.map +0 -1
- package/fesm2015/covalent-echarts-map.js +0 -293
- package/fesm2015/covalent-echarts-map.js.map +0 -1
- package/fesm2015/covalent-echarts-pie.js +0 -267
- package/fesm2015/covalent-echarts-pie.js.map +0 -1
- package/fesm2015/covalent-echarts-sankey.js +0 -263
- package/fesm2015/covalent-echarts-sankey.js.map +0 -1
- package/fesm2015/covalent-echarts-scatter.js +0 -303
- package/fesm2015/covalent-echarts-scatter.js.map +0 -1
- package/fesm2015/covalent-echarts-toolbox.js +0 -445
- package/fesm2015/covalent-echarts-toolbox.js.map +0 -1
- package/fesm2015/covalent-echarts-tooltip.js +0 -457
- package/fesm2015/covalent-echarts-tooltip.js.map +0 -1
- package/fesm2015/covalent-echarts-tree.js +0 -277
- package/fesm2015/covalent-echarts-tree.js.map +0 -1
- package/fesm2015/covalent-echarts-treemap.js +0 -420
- package/fesm2015/covalent-echarts-treemap.js.map +0 -1
- package/fesm2015/covalent-echarts-wordcloud.js +0 -214
- package/fesm2015/covalent-echarts-wordcloud.js.map +0 -1
- package/fesm2015/covalent-echarts.js +0 -12
- package/fesm2015/covalent-echarts.js.map +0 -1
- package/graph/covalent-echarts-graph.metadata.json +0 -1
- package/graph/index.d.ts +0 -1
- package/line/covalent-echarts-line.metadata.json +0 -1
- package/line/index.d.ts +0 -1
- package/map/covalent-echarts-map.metadata.json +0 -1
- package/map/index.d.ts +0 -1
- package/pie/covalent-echarts-pie.metadata.json +0 -1
- package/pie/index.d.ts +0 -1
- package/sankey/covalent-echarts-sankey.metadata.json +0 -1
- package/sankey/index.d.ts +0 -1
- package/scatter/covalent-echarts-scatter.metadata.json +0 -1
- package/scatter/index.d.ts +0 -1
- package/toolbox/covalent-echarts-toolbox.metadata.json +0 -1
- package/toolbox/index.d.ts +0 -1
- package/tooltip/covalent-echarts-tooltip.metadata.json +0 -1
- package/tooltip/index.d.ts +0 -1
- package/tree/covalent-echarts-tree.metadata.json +0 -1
- package/tree/index.d.ts +0 -1
- package/treemap/covalent-echarts-treemap.metadata.json +0 -1
- package/treemap/index.d.ts +0 -1
- package/wordcloud/covalent-echarts-wordcloud.metadata.json +0 -1
- package/wordcloud/index.d.ts +0 -1
|
@@ -1,42 +1,23 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Injectable, Optional, SkipSelf, EventEmitter, Component, ChangeDetectionStrategy, Input, Output, Directive, NgModule } from '@angular/core';
|
|
2
3
|
import { CommonModule } from '@angular/common';
|
|
3
4
|
import { BehaviorSubject, Subject, fromEvent, merge, timer } from 'rxjs';
|
|
4
5
|
import { takeUntil, debounceTime, distinctUntilChanged, tap } from 'rxjs/operators';
|
|
5
|
-
import { registerTheme as registerTheme$1, init, connect, dispose } from 'echarts/lib/echarts';
|
|
6
|
-
import 'zrender/lib/svg/svg';
|
|
7
6
|
|
|
8
|
-
/**
|
|
9
|
-
* @fileoverview added by tsickle
|
|
10
|
-
* Generated from: chart-options.service.ts
|
|
11
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
12
|
-
*/
|
|
13
7
|
class TdChartOptionsService {
|
|
14
8
|
constructor() {
|
|
15
9
|
this._options = {};
|
|
16
10
|
this._optionsSubject = new BehaviorSubject(this._options);
|
|
17
11
|
}
|
|
18
|
-
/**
|
|
19
|
-
* @param {?} option
|
|
20
|
-
* @param {?} value
|
|
21
|
-
* @return {?}
|
|
22
|
-
*/
|
|
23
12
|
setOption(option, value) {
|
|
24
|
-
/** @type {?} */
|
|
25
13
|
const options = {};
|
|
26
14
|
options[option] = value;
|
|
27
15
|
Object.assign(this._options, options);
|
|
28
16
|
this._optionsSubject.next(this._options);
|
|
29
17
|
}
|
|
30
|
-
/**
|
|
31
|
-
* @param {?} option
|
|
32
|
-
* @param {?} value
|
|
33
|
-
* @return {?}
|
|
34
|
-
*/
|
|
35
18
|
setArrayOption(option, value) {
|
|
36
|
-
/** @type {?} */
|
|
37
19
|
let prevValue = this.getOption(option);
|
|
38
20
|
if (prevValue) {
|
|
39
|
-
/** @type {?} */
|
|
40
21
|
const index = prevValue.indexOf(value);
|
|
41
22
|
index > -1 ? (prevValue[index] = value) : prevValue.push(value);
|
|
42
23
|
}
|
|
@@ -45,16 +26,9 @@ class TdChartOptionsService {
|
|
|
45
26
|
}
|
|
46
27
|
this.setOption(option, prevValue);
|
|
47
28
|
}
|
|
48
|
-
/**
|
|
49
|
-
* @param {?} option
|
|
50
|
-
* @param {?} value
|
|
51
|
-
* @return {?}
|
|
52
|
-
*/
|
|
53
29
|
removeArrayOption(option, value) {
|
|
54
|
-
/** @type {?} */
|
|
55
30
|
let prevValue = this.getOption(option);
|
|
56
31
|
if (prevValue) {
|
|
57
|
-
/** @type {?} */
|
|
58
32
|
const index = prevValue.indexOf(value);
|
|
59
33
|
if (index > -1) {
|
|
60
34
|
/* tslint:disable-next-line */
|
|
@@ -66,51 +40,25 @@ class TdChartOptionsService {
|
|
|
66
40
|
}
|
|
67
41
|
this.setOption(option, prevValue);
|
|
68
42
|
}
|
|
69
|
-
/**
|
|
70
|
-
* @param {?} option
|
|
71
|
-
* @return {?}
|
|
72
|
-
*/
|
|
73
43
|
getOption(option) {
|
|
74
44
|
return this._options[option];
|
|
75
45
|
}
|
|
76
|
-
/**
|
|
77
|
-
* @param {?} option
|
|
78
|
-
* @return {?}
|
|
79
|
-
*/
|
|
80
46
|
clearOption(option) {
|
|
81
47
|
/* tslint:disable-next-line */
|
|
82
48
|
this.setOption(option, null);
|
|
83
49
|
}
|
|
84
|
-
/**
|
|
85
|
-
* @return {?}
|
|
86
|
-
*/
|
|
87
50
|
listen() {
|
|
88
51
|
return this._optionsSubject.asObservable();
|
|
89
52
|
}
|
|
90
53
|
}
|
|
91
|
-
TdChartOptionsService
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
* @type {?}
|
|
97
|
-
* @private
|
|
98
|
-
*/
|
|
99
|
-
TdChartOptionsService.prototype._options;
|
|
100
|
-
/**
|
|
101
|
-
* @type {?}
|
|
102
|
-
* @private
|
|
103
|
-
*/
|
|
104
|
-
TdChartOptionsService.prototype._optionsSubject;
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* @param {?} parent
|
|
108
|
-
* @return {?}
|
|
109
|
-
*/
|
|
54
|
+
TdChartOptionsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartOptionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
55
|
+
TdChartOptionsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartOptionsService });
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartOptionsService, decorators: [{
|
|
57
|
+
type: Injectable
|
|
58
|
+
}] });
|
|
110
59
|
function CHART_PROVIDER_FACTORY(parent) {
|
|
111
60
|
return parent || new TdChartOptionsService();
|
|
112
61
|
}
|
|
113
|
-
/** @type {?} */
|
|
114
62
|
const CHART_PROVIDER = {
|
|
115
63
|
// If there is already a service available, use that. Otherwise, provide a new one.
|
|
116
64
|
provide: TdChartOptionsService,
|
|
@@ -118,23 +66,11 @@ const CHART_PROVIDER = {
|
|
|
118
66
|
useFactory: CHART_PROVIDER_FACTORY,
|
|
119
67
|
};
|
|
120
68
|
|
|
121
|
-
/**
|
|
122
|
-
* @fileoverview added by tsickle
|
|
123
|
-
* Generated from: utils/assign-defined.ts
|
|
124
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
125
|
-
*/
|
|
126
|
-
/**
|
|
127
|
-
* @param {?} target
|
|
128
|
-
* @param {...?} sources
|
|
129
|
-
* @return {?}
|
|
130
|
-
*/
|
|
131
69
|
function assignDefined(target, ...sources) {
|
|
132
|
-
/** @type {?} */
|
|
133
70
|
const keys = new Set();
|
|
134
71
|
for (const source of sources) {
|
|
135
72
|
for (const key of Object.keys(source)) {
|
|
136
73
|
keys.add(key);
|
|
137
|
-
/** @type {?} */
|
|
138
74
|
const val = source[key];
|
|
139
75
|
/* tslint:disable-next-line */
|
|
140
76
|
if (val !== undefined && val !== null) {
|
|
@@ -155,14 +91,18 @@ function assignDefined(target, ...sources) {
|
|
|
155
91
|
return target;
|
|
156
92
|
}
|
|
157
93
|
|
|
158
|
-
/**
|
|
159
|
-
* @fileoverview added by tsickle
|
|
160
|
-
* Generated from: themes/aqua-splash.ts
|
|
161
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
162
|
-
*/
|
|
163
94
|
/* tslint:disable */
|
|
164
95
|
var aquaSplash = {
|
|
165
|
-
color: [
|
|
96
|
+
color: [
|
|
97
|
+
'#305b9e',
|
|
98
|
+
'#0076a9',
|
|
99
|
+
'#1d8daa',
|
|
100
|
+
'#51a2a8',
|
|
101
|
+
'#7fb5aa',
|
|
102
|
+
'#aac6b4',
|
|
103
|
+
'#CFD8C8',
|
|
104
|
+
'#ECEBE4',
|
|
105
|
+
],
|
|
166
106
|
backgroundColor: 'transparent',
|
|
167
107
|
textStyle: {},
|
|
168
108
|
title: {
|
|
@@ -332,7 +272,16 @@ var aquaSplash = {
|
|
|
332
272
|
symbolSize: '6',
|
|
333
273
|
symbol: 'emptyCircle',
|
|
334
274
|
smooth: true,
|
|
335
|
-
color: [
|
|
275
|
+
color: [
|
|
276
|
+
'#305b9e',
|
|
277
|
+
'#0076a9',
|
|
278
|
+
'#1d8daa',
|
|
279
|
+
'#51a2a8',
|
|
280
|
+
'#7fb5aa',
|
|
281
|
+
'#aac6b4',
|
|
282
|
+
'#CFD8C8',
|
|
283
|
+
'#ECEBE4',
|
|
284
|
+
],
|
|
336
285
|
label: {
|
|
337
286
|
normal: {
|
|
338
287
|
textStyle: {
|
|
@@ -592,7 +541,16 @@ var aquaSplash = {
|
|
|
592
541
|
},
|
|
593
542
|
},
|
|
594
543
|
visualMap: {
|
|
595
|
-
color: [
|
|
544
|
+
color: [
|
|
545
|
+
'#305b9e',
|
|
546
|
+
'#0076a9',
|
|
547
|
+
'#1d8daa',
|
|
548
|
+
'#51a2a8',
|
|
549
|
+
'#7fb5aa',
|
|
550
|
+
'#aac6b4',
|
|
551
|
+
'#CFD8C8',
|
|
552
|
+
'#ECEBE4',
|
|
553
|
+
],
|
|
596
554
|
},
|
|
597
555
|
dataZoom: {
|
|
598
556
|
backgroundColor: 'rgba(255,255,255,0)',
|
|
@@ -620,11 +578,6 @@ var aquaSplash = {
|
|
|
620
578
|
},
|
|
621
579
|
};
|
|
622
580
|
|
|
623
|
-
/**
|
|
624
|
-
* @fileoverview added by tsickle
|
|
625
|
-
* Generated from: themes/california-coast.ts
|
|
626
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
627
|
-
*/
|
|
628
581
|
/* tslint:disable */
|
|
629
582
|
var californiaCoast = {
|
|
630
583
|
color: ['#0098c9', '#6ab1d7', '#a0cae4', '#ffbb9c', '#fd986d', '#f3753f'],
|
|
@@ -1085,11 +1038,6 @@ var californiaCoast = {
|
|
|
1085
1038
|
},
|
|
1086
1039
|
};
|
|
1087
1040
|
|
|
1088
|
-
/**
|
|
1089
|
-
* @fileoverview added by tsickle
|
|
1090
|
-
* Generated from: themes/hawaiian-sunrise.ts
|
|
1091
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1092
|
-
*/
|
|
1093
1041
|
/* tslint:disable */
|
|
1094
1042
|
var hawaiianSunrise = {
|
|
1095
1043
|
color: ['#00b2b1', '#69c6c4', '#a0d9d7', '#ffbb9c', '#fd986d', '#f3753f'],
|
|
@@ -1550,11 +1498,6 @@ var hawaiianSunrise = {
|
|
|
1550
1498
|
},
|
|
1551
1499
|
};
|
|
1552
1500
|
|
|
1553
|
-
/**
|
|
1554
|
-
* @fileoverview added by tsickle
|
|
1555
|
-
* Generated from: themes/passion-flower.ts
|
|
1556
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1557
|
-
*/
|
|
1558
1501
|
/* tslint:disable */
|
|
1559
1502
|
var passionFlower = {
|
|
1560
1503
|
color: ['#007e7d', '#977ed2', '#d58a9c', '#97b6eb', '#ceccbb', '#f2dfd8'],
|
|
@@ -2015,14 +1958,18 @@ var passionFlower = {
|
|
|
2015
1958
|
},
|
|
2016
1959
|
};
|
|
2017
1960
|
|
|
2018
|
-
/**
|
|
2019
|
-
* @fileoverview added by tsickle
|
|
2020
|
-
* Generated from: themes/razzleberry-pie.ts
|
|
2021
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2022
|
-
*/
|
|
2023
1961
|
/* tslint:disable */
|
|
2024
1962
|
var razzleberryPie = {
|
|
2025
|
-
color: [
|
|
1963
|
+
color: [
|
|
1964
|
+
'#523e85',
|
|
1965
|
+
'#8b4f8f',
|
|
1966
|
+
'#b96595',
|
|
1967
|
+
'#e0829a',
|
|
1968
|
+
'#ffa3a2',
|
|
1969
|
+
'#f9b8a3',
|
|
1970
|
+
'#f1ccb1',
|
|
1971
|
+
'#ebddc8',
|
|
1972
|
+
],
|
|
2026
1973
|
backgroundColor: 'transparent',
|
|
2027
1974
|
textStyle: {},
|
|
2028
1975
|
title: {
|
|
@@ -2192,7 +2139,16 @@ var razzleberryPie = {
|
|
|
2192
2139
|
symbolSize: '6',
|
|
2193
2140
|
symbol: 'emptyCircle',
|
|
2194
2141
|
smooth: true,
|
|
2195
|
-
color: [
|
|
2142
|
+
color: [
|
|
2143
|
+
'#523e85',
|
|
2144
|
+
'#8b4f8f',
|
|
2145
|
+
'#b96595',
|
|
2146
|
+
'#e0829a',
|
|
2147
|
+
'#ffa3a2',
|
|
2148
|
+
'#f9b8a3',
|
|
2149
|
+
'#f1ccb1',
|
|
2150
|
+
'#ebddc8',
|
|
2151
|
+
],
|
|
2196
2152
|
label: {
|
|
2197
2153
|
normal: {
|
|
2198
2154
|
textStyle: {
|
|
@@ -2452,7 +2408,16 @@ var razzleberryPie = {
|
|
|
2452
2408
|
},
|
|
2453
2409
|
},
|
|
2454
2410
|
visualMap: {
|
|
2455
|
-
color: [
|
|
2411
|
+
color: [
|
|
2412
|
+
'#523e85',
|
|
2413
|
+
'#8b4f8f',
|
|
2414
|
+
'#b96595',
|
|
2415
|
+
'#e0829a',
|
|
2416
|
+
'#ffa3a2',
|
|
2417
|
+
'#f9b8a3',
|
|
2418
|
+
'#f1ccb1',
|
|
2419
|
+
'#ebddc8',
|
|
2420
|
+
],
|
|
2456
2421
|
},
|
|
2457
2422
|
dataZoom: {
|
|
2458
2423
|
backgroundColor: 'rgba(255,255,255,0)',
|
|
@@ -2480,14 +2445,18 @@ var razzleberryPie = {
|
|
|
2480
2445
|
},
|
|
2481
2446
|
};
|
|
2482
2447
|
|
|
2483
|
-
/**
|
|
2484
|
-
* @fileoverview added by tsickle
|
|
2485
|
-
* Generated from: themes/teradata-classic.ts
|
|
2486
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2487
|
-
*/
|
|
2488
2448
|
/* tslint:disable */
|
|
2489
2449
|
var teradataClassic = {
|
|
2490
|
-
color: [
|
|
2450
|
+
color: [
|
|
2451
|
+
'#005e7d',
|
|
2452
|
+
'#c54b17',
|
|
2453
|
+
'#009392',
|
|
2454
|
+
'#f5bb3c',
|
|
2455
|
+
'#0098c9',
|
|
2456
|
+
'#f58b5e',
|
|
2457
|
+
'#59cecd',
|
|
2458
|
+
'#fee2a6',
|
|
2459
|
+
],
|
|
2491
2460
|
backgroundColor: 'transparent',
|
|
2492
2461
|
textStyle: {},
|
|
2493
2462
|
title: {
|
|
@@ -2657,7 +2626,16 @@ var teradataClassic = {
|
|
|
2657
2626
|
symbolSize: '6',
|
|
2658
2627
|
symbol: 'emptyCircle',
|
|
2659
2628
|
smooth: true,
|
|
2660
|
-
color: [
|
|
2629
|
+
color: [
|
|
2630
|
+
'#005e7d',
|
|
2631
|
+
'#c54b17',
|
|
2632
|
+
'#009392',
|
|
2633
|
+
'#f5bb3c',
|
|
2634
|
+
'#0098c9',
|
|
2635
|
+
'#f58b5e',
|
|
2636
|
+
'#59cecd',
|
|
2637
|
+
'#fee2a6',
|
|
2638
|
+
],
|
|
2661
2639
|
label: {
|
|
2662
2640
|
normal: {
|
|
2663
2641
|
textStyle: {
|
|
@@ -2917,7 +2895,16 @@ var teradataClassic = {
|
|
|
2917
2895
|
},
|
|
2918
2896
|
},
|
|
2919
2897
|
visualMap: {
|
|
2920
|
-
color: [
|
|
2898
|
+
color: [
|
|
2899
|
+
'#005e7d',
|
|
2900
|
+
'#c54b17',
|
|
2901
|
+
'#009392',
|
|
2902
|
+
'#f5bb3c',
|
|
2903
|
+
'#0098c9',
|
|
2904
|
+
'#f58b5e',
|
|
2905
|
+
'#59cecd',
|
|
2906
|
+
'#fee2a6',
|
|
2907
|
+
],
|
|
2921
2908
|
},
|
|
2922
2909
|
dataZoom: {
|
|
2923
2910
|
backgroundColor: 'rgba(255,255,255,0)',
|
|
@@ -2945,11 +2932,6 @@ var teradataClassic = {
|
|
|
2945
2932
|
},
|
|
2946
2933
|
};
|
|
2947
2934
|
|
|
2948
|
-
/**
|
|
2949
|
-
* @fileoverview added by tsickle
|
|
2950
|
-
* Generated from: themes/teradata-default.ts
|
|
2951
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2952
|
-
*/
|
|
2953
2935
|
/* tslint:disable */
|
|
2954
2936
|
var teradataDefault = {
|
|
2955
2937
|
color: ['#4d5b62', '#008ab6', '#f3753f', '#2cc0bf', '#fed887'],
|
|
@@ -3410,11 +3392,6 @@ var teradataDefault = {
|
|
|
3410
3392
|
},
|
|
3411
3393
|
};
|
|
3412
3394
|
|
|
3413
|
-
/**
|
|
3414
|
-
* @fileoverview added by tsickle
|
|
3415
|
-
* Generated from: themes/urban-sunrise.ts
|
|
3416
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3417
|
-
*/
|
|
3418
3395
|
/* tslint:disable */
|
|
3419
3396
|
var urbanSunrise = {
|
|
3420
3397
|
color: ['#667279', '#979ea4', '#caced0', '#ffbb9c', '#fd986d', '#F3753F'],
|
|
@@ -3875,11 +3852,6 @@ var urbanSunrise = {
|
|
|
3875
3852
|
},
|
|
3876
3853
|
};
|
|
3877
3854
|
|
|
3878
|
-
/**
|
|
3879
|
-
* @fileoverview added by tsickle
|
|
3880
|
-
* Generated from: themes/volcanic-eruption.ts
|
|
3881
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3882
|
-
*/
|
|
3883
3855
|
/* tslint:disable */
|
|
3884
3856
|
var volcanicEruption = {
|
|
3885
3857
|
color: ['#565a83', '#7c5c91', '#a85a90', '#cf5880', '#ea5f64', '#f3753f'],
|
|
@@ -4340,26 +4312,17 @@ var volcanicEruption = {
|
|
|
4340
4312
|
},
|
|
4341
4313
|
};
|
|
4342
4314
|
|
|
4343
|
-
/**
|
|
4344
|
-
* @fileoverview added by tsickle
|
|
4345
|
-
* Generated from: utils/echarts.ts
|
|
4346
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4347
|
-
*/
|
|
4348
4315
|
/**
|
|
4349
4316
|
* Function used to register a theme into echarts
|
|
4350
4317
|
* Theme name and theme object needed as stated in
|
|
4351
4318
|
* https://ecomfe.github.io/echarts-doc/public/en/api.html#echarts.registerTheme
|
|
4352
|
-
* @param {?} themeName
|
|
4353
|
-
* @param {?} theme
|
|
4354
|
-
* @return {?}
|
|
4355
4319
|
*/
|
|
4356
4320
|
function registerTheme(themeName, theme) {
|
|
4357
|
-
registerTheme
|
|
4321
|
+
echarts.registerTheme(themeName, theme);
|
|
4358
4322
|
}
|
|
4359
4323
|
/**
|
|
4360
4324
|
* Function to register all default themes
|
|
4361
|
-
*
|
|
4362
|
-
* @return {?}
|
|
4325
|
+
* @internal
|
|
4363
4326
|
*/
|
|
4364
4327
|
function registerDefaultThemes() {
|
|
4365
4328
|
registerTheme('aqua-splash', aquaSplash);
|
|
@@ -4374,7 +4337,6 @@ function registerDefaultThemes() {
|
|
|
4374
4337
|
}
|
|
4375
4338
|
/**
|
|
4376
4339
|
* Returns all the theme names bundled with covalent echarts.
|
|
4377
|
-
* @return {?}
|
|
4378
4340
|
*/
|
|
4379
4341
|
function getThemes() {
|
|
4380
4342
|
return [
|
|
@@ -4390,23 +4352,7 @@ function getThemes() {
|
|
|
4390
4352
|
];
|
|
4391
4353
|
}
|
|
4392
4354
|
|
|
4393
|
-
/**
|
|
4394
|
-
* @fileoverview added by tsickle
|
|
4395
|
-
* Generated from: utils/index.ts
|
|
4396
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4397
|
-
*/
|
|
4398
|
-
|
|
4399
|
-
/**
|
|
4400
|
-
* @fileoverview added by tsickle
|
|
4401
|
-
* Generated from: chart.component.ts
|
|
4402
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4403
|
-
*/
|
|
4404
4355
|
class TdChartComponent {
|
|
4405
|
-
/**
|
|
4406
|
-
* @param {?} _changeDetectorRef
|
|
4407
|
-
* @param {?} _elementRef
|
|
4408
|
-
* @param {?} _optionsService
|
|
4409
|
-
*/
|
|
4410
4356
|
constructor(_changeDetectorRef, _elementRef, _optionsService) {
|
|
4411
4357
|
this._changeDetectorRef = _changeDetectorRef;
|
|
4412
4358
|
this._elementRef = _elementRef;
|
|
@@ -4440,25 +4386,17 @@ class TdChartComponent {
|
|
|
4440
4386
|
}
|
|
4441
4387
|
/**
|
|
4442
4388
|
* returns the echarts instance
|
|
4443
|
-
* @return {?}
|
|
4444
4389
|
*/
|
|
4445
4390
|
get instance() {
|
|
4446
4391
|
return this._instance;
|
|
4447
4392
|
}
|
|
4448
|
-
/**
|
|
4449
|
-
* @return {?}
|
|
4450
|
-
*/
|
|
4451
4393
|
ngAfterViewInit() {
|
|
4452
4394
|
this._initializeChart();
|
|
4453
4395
|
}
|
|
4454
|
-
/**
|
|
4455
|
-
* @param {?} changes
|
|
4456
|
-
* @return {?}
|
|
4457
|
-
*/
|
|
4458
4396
|
ngOnChanges(changes) {
|
|
4459
4397
|
if (this._instance) {
|
|
4460
4398
|
// destroy and reinitialize chart only when `renderer`, `themeName` and `group` changes
|
|
4461
|
-
if (changes
|
|
4399
|
+
if (changes['renderer'] || changes['themeName'] || changes['group']) {
|
|
4462
4400
|
this._disposeChart();
|
|
4463
4401
|
this._initializeChart();
|
|
4464
4402
|
}
|
|
@@ -4467,16 +4405,10 @@ class TdChartComponent {
|
|
|
4467
4405
|
}
|
|
4468
4406
|
}
|
|
4469
4407
|
}
|
|
4470
|
-
/**
|
|
4471
|
-
* @return {?}
|
|
4472
|
-
*/
|
|
4473
4408
|
ngOnDestroy() {
|
|
4474
4409
|
this._disposeChart();
|
|
4475
4410
|
this._destroy.unsubscribe();
|
|
4476
4411
|
}
|
|
4477
|
-
/**
|
|
4478
|
-
* @return {?}
|
|
4479
|
-
*/
|
|
4480
4412
|
render() {
|
|
4481
4413
|
if (this._instance) {
|
|
4482
4414
|
this._instance.setOption(assignDefined(this._state, {
|
|
@@ -4484,12 +4416,16 @@ class TdChartComponent {
|
|
|
4484
4416
|
show: true,
|
|
4485
4417
|
left: '20',
|
|
4486
4418
|
right: '20',
|
|
4487
|
-
bottom: (this.config.toolbox &&
|
|
4488
|
-
|
|
4419
|
+
bottom: (this.config.toolbox &&
|
|
4420
|
+
typeof this.config.toolbox.bottom === 'number') ||
|
|
4421
|
+
(this._options.toolbox &&
|
|
4422
|
+
typeof this._options.toolbox.bottom === 'number')
|
|
4489
4423
|
? '40'
|
|
4490
4424
|
: '10',
|
|
4491
|
-
top: (this.config.toolbox &&
|
|
4492
|
-
|
|
4425
|
+
top: (this.config.toolbox &&
|
|
4426
|
+
typeof this.config.toolbox.top === 'number') ||
|
|
4427
|
+
(this._options.toolbox &&
|
|
4428
|
+
typeof this._options.toolbox.top === 'number')
|
|
4493
4429
|
? '40'
|
|
4494
4430
|
: '10',
|
|
4495
4431
|
containLabel: true,
|
|
@@ -4498,265 +4434,114 @@ class TdChartComponent {
|
|
|
4498
4434
|
this._changeDetectorRef.markForCheck();
|
|
4499
4435
|
}
|
|
4500
4436
|
}
|
|
4501
|
-
/**
|
|
4502
|
-
* @private
|
|
4503
|
-
* @return {?}
|
|
4504
|
-
*/
|
|
4505
4437
|
_initializeChart() {
|
|
4506
|
-
|
|
4438
|
+
var _a;
|
|
4439
|
+
this._instance = echarts.init(this._elementRef.nativeElement, (_a = this.themeName) !== null && _a !== void 0 ? _a : '', {
|
|
4507
4440
|
renderer: this.renderer,
|
|
4508
4441
|
});
|
|
4509
4442
|
fromEvent(this._instance, 'click')
|
|
4510
4443
|
.pipe(takeUntil(this._destroy))
|
|
4511
|
-
.subscribe((
|
|
4512
|
-
* @param {?} params
|
|
4513
|
-
* @return {?}
|
|
4514
|
-
*/
|
|
4515
|
-
(params) => {
|
|
4444
|
+
.subscribe((params) => {
|
|
4516
4445
|
this.chartClick.next(params);
|
|
4517
|
-
})
|
|
4446
|
+
});
|
|
4518
4447
|
fromEvent(this._instance, 'dblclick')
|
|
4519
4448
|
.pipe(takeUntil(this._destroy))
|
|
4520
|
-
.subscribe((
|
|
4521
|
-
* @param {?} params
|
|
4522
|
-
* @return {?}
|
|
4523
|
-
*/
|
|
4524
|
-
(params) => {
|
|
4449
|
+
.subscribe((params) => {
|
|
4525
4450
|
this.chartDblclick.next(params);
|
|
4526
|
-
})
|
|
4451
|
+
});
|
|
4527
4452
|
fromEvent(this._instance, 'contextmenu')
|
|
4528
4453
|
.pipe(takeUntil(this._destroy))
|
|
4529
|
-
.subscribe((
|
|
4530
|
-
* @param {?} params
|
|
4531
|
-
* @return {?}
|
|
4532
|
-
*/
|
|
4533
|
-
(params) => {
|
|
4454
|
+
.subscribe((params) => {
|
|
4534
4455
|
this.chartContextmenu.next(params);
|
|
4535
|
-
})
|
|
4456
|
+
});
|
|
4536
4457
|
fromEvent(this._instance, 'magictypechanged')
|
|
4537
4458
|
.pipe(takeUntil(this._destroy))
|
|
4538
|
-
.subscribe((
|
|
4539
|
-
* @param {?} params
|
|
4540
|
-
* @return {?}
|
|
4541
|
-
*/
|
|
4542
|
-
(params) => {
|
|
4459
|
+
.subscribe((params) => {
|
|
4543
4460
|
this.magicTypeChanged.next(params);
|
|
4544
|
-
})
|
|
4461
|
+
});
|
|
4545
4462
|
fromEvent(this._instance, 'dataviewchanged')
|
|
4546
4463
|
.pipe(takeUntil(this._destroy))
|
|
4547
|
-
.subscribe((
|
|
4548
|
-
* @param {?} params
|
|
4549
|
-
* @return {?}
|
|
4550
|
-
*/
|
|
4551
|
-
(params) => {
|
|
4464
|
+
.subscribe((params) => {
|
|
4552
4465
|
this.dataViewChanged.next(params);
|
|
4553
|
-
})
|
|
4466
|
+
});
|
|
4554
4467
|
fromEvent(this._instance, 'datazoom')
|
|
4555
4468
|
.pipe(takeUntil(this._destroy))
|
|
4556
|
-
.subscribe((
|
|
4557
|
-
* @param {?} params
|
|
4558
|
-
* @return {?}
|
|
4559
|
-
*/
|
|
4560
|
-
(params) => {
|
|
4469
|
+
.subscribe((params) => {
|
|
4561
4470
|
this.datazoom.next(params);
|
|
4562
|
-
})
|
|
4471
|
+
});
|
|
4563
4472
|
fromEvent(this._instance, 'restore')
|
|
4564
4473
|
.pipe(takeUntil(this._destroy))
|
|
4565
|
-
.subscribe((
|
|
4566
|
-
* @param {?} params
|
|
4567
|
-
* @return {?}
|
|
4568
|
-
*/
|
|
4569
|
-
(params) => {
|
|
4474
|
+
.subscribe((params) => {
|
|
4570
4475
|
this.restore.next(params);
|
|
4571
|
-
})
|
|
4476
|
+
});
|
|
4572
4477
|
if (this.group) {
|
|
4573
4478
|
this._instance.group = this.group;
|
|
4574
|
-
connect(this.group);
|
|
4479
|
+
echarts.connect(this.group);
|
|
4575
4480
|
this._changeDetectorRef.markForCheck();
|
|
4576
4481
|
}
|
|
4577
4482
|
merge(fromEvent(window, 'resize').pipe(debounceTime(100)), this._widthSubject.asObservable().pipe(distinctUntilChanged()), this._heightSubject.asObservable().pipe(distinctUntilChanged()))
|
|
4578
4483
|
.pipe(takeUntil(this._destroy), debounceTime(100))
|
|
4579
|
-
.subscribe((
|
|
4580
|
-
* @return {?}
|
|
4581
|
-
*/
|
|
4582
|
-
() => {
|
|
4484
|
+
.subscribe(() => {
|
|
4583
4485
|
if (this._instance) {
|
|
4584
4486
|
this._instance.resize();
|
|
4585
4487
|
this._changeDetectorRef.markForCheck();
|
|
4586
4488
|
}
|
|
4587
|
-
})
|
|
4489
|
+
});
|
|
4588
4490
|
this._optionsService
|
|
4589
4491
|
.listen()
|
|
4590
|
-
.pipe(tap((
|
|
4591
|
-
* @param {?} options
|
|
4592
|
-
* @return {?}
|
|
4593
|
-
*/
|
|
4594
|
-
(options) => {
|
|
4492
|
+
.pipe(tap((options) => {
|
|
4595
4493
|
assignDefined(this._options, options);
|
|
4596
|
-
})
|
|
4597
|
-
.subscribe((
|
|
4598
|
-
* @return {?}
|
|
4599
|
-
*/
|
|
4600
|
-
() => {
|
|
4494
|
+
}), debounceTime(0), takeUntil(this._destroy))
|
|
4495
|
+
.subscribe(() => {
|
|
4601
4496
|
this.render();
|
|
4602
|
-
})
|
|
4497
|
+
});
|
|
4603
4498
|
timer(500, 250)
|
|
4604
4499
|
.pipe(takeUntil(this._destroy))
|
|
4605
|
-
.subscribe((
|
|
4606
|
-
* @return {?}
|
|
4607
|
-
*/
|
|
4608
|
-
() => {
|
|
4500
|
+
.subscribe(() => {
|
|
4609
4501
|
if (this._elementRef && this._elementRef.nativeElement) {
|
|
4610
|
-
this._widthSubject.next((
|
|
4611
|
-
this._heightSubject.next((
|
|
4502
|
+
this._widthSubject.next((this._elementRef.nativeElement).getBoundingClientRect().width);
|
|
4503
|
+
this._heightSubject.next((this._elementRef.nativeElement).getBoundingClientRect().height);
|
|
4612
4504
|
}
|
|
4613
|
-
})
|
|
4505
|
+
});
|
|
4614
4506
|
}
|
|
4615
|
-
/**
|
|
4616
|
-
* @private
|
|
4617
|
-
* @return {?}
|
|
4618
|
-
*/
|
|
4619
4507
|
_disposeChart() {
|
|
4620
4508
|
if (this._instance) {
|
|
4621
4509
|
this._instance.clear();
|
|
4622
|
-
dispose(this._instance);
|
|
4510
|
+
echarts.dispose(this._instance);
|
|
4623
4511
|
}
|
|
4624
4512
|
this._destroy.next(true);
|
|
4625
4513
|
}
|
|
4626
4514
|
}
|
|
4627
|
-
TdChartComponent
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
}]
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
};
|
|
4655
|
-
if (false) {
|
|
4656
|
-
/**
|
|
4657
|
-
* @type {?}
|
|
4658
|
-
* @private
|
|
4659
|
-
*/
|
|
4660
|
-
TdChartComponent.prototype._destroy;
|
|
4661
|
-
/**
|
|
4662
|
-
* @type {?}
|
|
4663
|
-
* @private
|
|
4664
|
-
*/
|
|
4665
|
-
TdChartComponent.prototype._widthSubject;
|
|
4666
|
-
/**
|
|
4667
|
-
* @type {?}
|
|
4668
|
-
* @private
|
|
4669
|
-
*/
|
|
4670
|
-
TdChartComponent.prototype._heightSubject;
|
|
4671
|
-
/**
|
|
4672
|
-
* @type {?}
|
|
4673
|
-
* @private
|
|
4674
|
-
*/
|
|
4675
|
-
TdChartComponent.prototype._instance;
|
|
4676
|
-
/**
|
|
4677
|
-
* @type {?}
|
|
4678
|
-
* @private
|
|
4679
|
-
*/
|
|
4680
|
-
TdChartComponent.prototype._state;
|
|
4681
|
-
/**
|
|
4682
|
-
* @type {?}
|
|
4683
|
-
* @private
|
|
4684
|
-
*/
|
|
4685
|
-
TdChartComponent.prototype._options;
|
|
4686
|
-
/**
|
|
4687
|
-
* config?: any;
|
|
4688
|
-
* Sets the JS config object if you choose to not use the property inputs.
|
|
4689
|
-
* Note: [config] input properties will override input values
|
|
4690
|
-
* https://ecomfe.github.io/echarts-doc/public/en/option.html
|
|
4691
|
-
* @type {?}
|
|
4692
|
-
*/
|
|
4693
|
-
TdChartComponent.prototype.config;
|
|
4694
|
-
/**
|
|
4695
|
-
* group?: string
|
|
4696
|
-
* group name in which the chart instance will be connected to
|
|
4697
|
-
* https://ecomfe.github.io/echarts-doc/public/en/api.html#echarts.connect
|
|
4698
|
-
* @type {?}
|
|
4699
|
-
*/
|
|
4700
|
-
TdChartComponent.prototype.group;
|
|
4701
|
-
/**
|
|
4702
|
-
* themeName?: string
|
|
4703
|
-
* theme to be applied into chart instance
|
|
4704
|
-
* https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Overview%20of%20Style%20Customization
|
|
4705
|
-
* @type {?}
|
|
4706
|
-
*/
|
|
4707
|
-
TdChartComponent.prototype.themeName;
|
|
4708
|
-
/**
|
|
4709
|
-
* renderer: 'svg' | 'canvas'
|
|
4710
|
-
* sets the rendering mode for the chart.
|
|
4711
|
-
* defaults to 'canvas'
|
|
4712
|
-
* https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Render%20by%20Canvas%20or%20SVG
|
|
4713
|
-
* @type {?}
|
|
4714
|
-
*/
|
|
4715
|
-
TdChartComponent.prototype.renderer;
|
|
4716
|
-
/** @type {?} */
|
|
4717
|
-
TdChartComponent.prototype.chartClick;
|
|
4718
|
-
/** @type {?} */
|
|
4719
|
-
TdChartComponent.prototype.chartDblclick;
|
|
4720
|
-
/** @type {?} */
|
|
4721
|
-
TdChartComponent.prototype.chartContextmenu;
|
|
4722
|
-
/** @type {?} */
|
|
4723
|
-
TdChartComponent.prototype.magicTypeChanged;
|
|
4724
|
-
/** @type {?} */
|
|
4725
|
-
TdChartComponent.prototype.dataViewChanged;
|
|
4726
|
-
/** @type {?} */
|
|
4727
|
-
TdChartComponent.prototype.datazoom;
|
|
4728
|
-
/** @type {?} */
|
|
4729
|
-
TdChartComponent.prototype.restore;
|
|
4730
|
-
/**
|
|
4731
|
-
* @type {?}
|
|
4732
|
-
* @private
|
|
4733
|
-
*/
|
|
4734
|
-
TdChartComponent.prototype._changeDetectorRef;
|
|
4735
|
-
/**
|
|
4736
|
-
* @type {?}
|
|
4737
|
-
* @private
|
|
4738
|
-
*/
|
|
4739
|
-
TdChartComponent.prototype._elementRef;
|
|
4740
|
-
/**
|
|
4741
|
-
* @type {?}
|
|
4742
|
-
* @private
|
|
4743
|
-
*/
|
|
4744
|
-
TdChartComponent.prototype._optionsService;
|
|
4745
|
-
}
|
|
4515
|
+
TdChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4516
|
+
TdChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartComponent, selector: "td-chart", inputs: { config: "config", group: "group", themeName: "themeName", renderer: "renderer" }, outputs: { chartClick: "chartClick", chartDblclick: "chartDblclick", chartContextmenu: "chartContextmenu", magicTypeChanged: "magicTypeChanged", dataViewChanged: "dataViewChanged", datazoom: "datazoom", restore: "restore" }, providers: [CHART_PROVIDER], usesOnChanges: true, ngImport: i0, template: '', isInline: true, styles: [":host{display:block;width:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4517
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartComponent, decorators: [{
|
|
4518
|
+
type: Component,
|
|
4519
|
+
args: [{ selector: 'td-chart', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [CHART_PROVIDER], styles: [":host{display:block;width:100%}\n"] }]
|
|
4520
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: TdChartOptionsService }]; }, propDecorators: { config: [{
|
|
4521
|
+
type: Input
|
|
4522
|
+
}], group: [{
|
|
4523
|
+
type: Input
|
|
4524
|
+
}], themeName: [{
|
|
4525
|
+
type: Input
|
|
4526
|
+
}], renderer: [{
|
|
4527
|
+
type: Input
|
|
4528
|
+
}], chartClick: [{
|
|
4529
|
+
type: Output
|
|
4530
|
+
}], chartDblclick: [{
|
|
4531
|
+
type: Output
|
|
4532
|
+
}], chartContextmenu: [{
|
|
4533
|
+
type: Output
|
|
4534
|
+
}], magicTypeChanged: [{
|
|
4535
|
+
type: Output
|
|
4536
|
+
}], dataViewChanged: [{
|
|
4537
|
+
type: Output
|
|
4538
|
+
}], datazoom: [{
|
|
4539
|
+
type: Output
|
|
4540
|
+
}], restore: [{
|
|
4541
|
+
type: Output
|
|
4542
|
+
}] } });
|
|
4746
4543
|
|
|
4747
|
-
/**
|
|
4748
|
-
* @fileoverview added by tsickle
|
|
4749
|
-
* Generated from: axis/axis.component.ts
|
|
4750
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4751
|
-
*/
|
|
4752
|
-
/**
|
|
4753
|
-
* @abstract
|
|
4754
|
-
*/
|
|
4755
4544
|
class TdChartAxisDirective {
|
|
4756
|
-
/**
|
|
4757
|
-
* @param {?} _axisOption
|
|
4758
|
-
* @param {?} _optionsService
|
|
4759
|
-
*/
|
|
4760
4545
|
constructor(_axisOption, _optionsService) {
|
|
4761
4546
|
this._axisOption = _axisOption;
|
|
4762
4547
|
this._optionsService = _optionsService;
|
|
@@ -4764,30 +4549,16 @@ class TdChartAxisDirective {
|
|
|
4764
4549
|
this.config = {};
|
|
4765
4550
|
this.show = true;
|
|
4766
4551
|
}
|
|
4767
|
-
/**
|
|
4768
|
-
* @return {?}
|
|
4769
|
-
*/
|
|
4770
4552
|
ngOnInit() {
|
|
4771
4553
|
this._setOptions();
|
|
4772
4554
|
}
|
|
4773
|
-
/**
|
|
4774
|
-
* @return {?}
|
|
4775
|
-
*/
|
|
4776
4555
|
ngOnChanges() {
|
|
4777
4556
|
this._setOptions();
|
|
4778
4557
|
}
|
|
4779
|
-
/**
|
|
4780
|
-
* @return {?}
|
|
4781
|
-
*/
|
|
4782
4558
|
ngOnDestroy() {
|
|
4783
4559
|
this._removeOption();
|
|
4784
4560
|
}
|
|
4785
|
-
/**
|
|
4786
|
-
* @private
|
|
4787
|
-
* @return {?}
|
|
4788
|
-
*/
|
|
4789
4561
|
_setOptions() {
|
|
4790
|
-
/** @type {?} */
|
|
4791
4562
|
const config = assignDefined(this._state, {
|
|
4792
4563
|
id: this.id,
|
|
4793
4564
|
show: this.show,
|
|
@@ -4822,294 +4593,189 @@ class TdChartAxisDirective {
|
|
|
4822
4593
|
}, this.config ? this.config : {});
|
|
4823
4594
|
this._optionsService.setArrayOption(this._axisOption, config);
|
|
4824
4595
|
}
|
|
4825
|
-
/**
|
|
4826
|
-
* @private
|
|
4827
|
-
* @return {?}
|
|
4828
|
-
*/
|
|
4829
4596
|
_removeOption() {
|
|
4830
4597
|
this._optionsService.clearOption(this._axisOption);
|
|
4831
4598
|
}
|
|
4832
4599
|
}
|
|
4833
|
-
TdChartAxisDirective
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
TdChartAxisDirective.prototype.nameTextStyle;
|
|
4899
|
-
/** @type {?} */
|
|
4900
|
-
TdChartAxisDirective.prototype.nameGap;
|
|
4901
|
-
/** @type {?} */
|
|
4902
|
-
TdChartAxisDirective.prototype.nameRotate;
|
|
4903
|
-
/** @type {?} */
|
|
4904
|
-
TdChartAxisDirective.prototype.inverse;
|
|
4905
|
-
/** @type {?} */
|
|
4906
|
-
TdChartAxisDirective.prototype.boundaryGap;
|
|
4907
|
-
/** @type {?} */
|
|
4908
|
-
TdChartAxisDirective.prototype.min;
|
|
4909
|
-
/** @type {?} */
|
|
4910
|
-
TdChartAxisDirective.prototype.max;
|
|
4911
|
-
/** @type {?} */
|
|
4912
|
-
TdChartAxisDirective.prototype.scale;
|
|
4913
|
-
/** @type {?} */
|
|
4914
|
-
TdChartAxisDirective.prototype.minInterval;
|
|
4915
|
-
/** @type {?} */
|
|
4916
|
-
TdChartAxisDirective.prototype.interval;
|
|
4917
|
-
/** @type {?} */
|
|
4918
|
-
TdChartAxisDirective.prototype.logBase;
|
|
4919
|
-
/** @type {?} */
|
|
4920
|
-
TdChartAxisDirective.prototype.silent;
|
|
4921
|
-
/** @type {?} */
|
|
4922
|
-
TdChartAxisDirective.prototype.triggerEvent;
|
|
4923
|
-
/** @type {?} */
|
|
4924
|
-
TdChartAxisDirective.prototype.axisLine;
|
|
4925
|
-
/** @type {?} */
|
|
4926
|
-
TdChartAxisDirective.prototype.axisTick;
|
|
4927
|
-
/** @type {?} */
|
|
4928
|
-
TdChartAxisDirective.prototype.axisLabel;
|
|
4929
|
-
/** @type {?} */
|
|
4930
|
-
TdChartAxisDirective.prototype.splitLine;
|
|
4931
|
-
/** @type {?} */
|
|
4932
|
-
TdChartAxisDirective.prototype.splitArea;
|
|
4933
|
-
/** @type {?} */
|
|
4934
|
-
TdChartAxisDirective.prototype.data;
|
|
4935
|
-
/** @type {?} */
|
|
4936
|
-
TdChartAxisDirective.prototype.axisPointer;
|
|
4937
|
-
/** @type {?} */
|
|
4938
|
-
TdChartAxisDirective.prototype.zlevel;
|
|
4939
|
-
/** @type {?} */
|
|
4940
|
-
TdChartAxisDirective.prototype.z;
|
|
4941
|
-
/**
|
|
4942
|
-
* @type {?}
|
|
4943
|
-
* @private
|
|
4944
|
-
*/
|
|
4945
|
-
TdChartAxisDirective.prototype._axisOption;
|
|
4946
|
-
/**
|
|
4947
|
-
* @type {?}
|
|
4948
|
-
* @private
|
|
4949
|
-
*/
|
|
4950
|
-
TdChartAxisDirective.prototype._optionsService;
|
|
4951
|
-
}
|
|
4600
|
+
TdChartAxisDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartAxisDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
4601
|
+
TdChartAxisDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", 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 });
|
|
4602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartAxisDirective, decorators: [{
|
|
4603
|
+
type: Directive
|
|
4604
|
+
}], ctorParameters: function () { return [{ type: undefined }, { type: TdChartOptionsService }]; }, propDecorators: { config: [{
|
|
4605
|
+
type: Input
|
|
4606
|
+
}], id: [{
|
|
4607
|
+
type: Input
|
|
4608
|
+
}], show: [{
|
|
4609
|
+
type: Input
|
|
4610
|
+
}], gridIndex: [{
|
|
4611
|
+
type: Input
|
|
4612
|
+
}], offset: [{
|
|
4613
|
+
type: Input
|
|
4614
|
+
}], type: [{
|
|
4615
|
+
type: Input
|
|
4616
|
+
}], name: [{
|
|
4617
|
+
type: Input
|
|
4618
|
+
}], nameLocation: [{
|
|
4619
|
+
type: Input
|
|
4620
|
+
}], nameTextStyle: [{
|
|
4621
|
+
type: Input
|
|
4622
|
+
}], nameGap: [{
|
|
4623
|
+
type: Input
|
|
4624
|
+
}], nameRotate: [{
|
|
4625
|
+
type: Input
|
|
4626
|
+
}], inverse: [{
|
|
4627
|
+
type: Input
|
|
4628
|
+
}], boundaryGap: [{
|
|
4629
|
+
type: Input
|
|
4630
|
+
}], min: [{
|
|
4631
|
+
type: Input
|
|
4632
|
+
}], max: [{
|
|
4633
|
+
type: Input
|
|
4634
|
+
}], scale: [{
|
|
4635
|
+
type: Input
|
|
4636
|
+
}], minInterval: [{
|
|
4637
|
+
type: Input
|
|
4638
|
+
}], interval: [{
|
|
4639
|
+
type: Input
|
|
4640
|
+
}], logBase: [{
|
|
4641
|
+
type: Input
|
|
4642
|
+
}], silent: [{
|
|
4643
|
+
type: Input
|
|
4644
|
+
}], triggerEvent: [{
|
|
4645
|
+
type: Input
|
|
4646
|
+
}], axisLine: [{
|
|
4647
|
+
type: Input
|
|
4648
|
+
}], axisTick: [{
|
|
4649
|
+
type: Input
|
|
4650
|
+
}], axisLabel: [{
|
|
4651
|
+
type: Input
|
|
4652
|
+
}], splitLine: [{
|
|
4653
|
+
type: Input
|
|
4654
|
+
}], splitArea: [{
|
|
4655
|
+
type: Input
|
|
4656
|
+
}], data: [{
|
|
4657
|
+
type: Input
|
|
4658
|
+
}], axisPointer: [{
|
|
4659
|
+
type: Input
|
|
4660
|
+
}], zlevel: [{
|
|
4661
|
+
type: Input
|
|
4662
|
+
}], z: [{
|
|
4663
|
+
type: Input
|
|
4664
|
+
}] } });
|
|
4952
4665
|
|
|
4953
|
-
/**
|
|
4954
|
-
* @fileoverview added by tsickle
|
|
4955
|
-
* Generated from: axis/x-axis.component.ts
|
|
4956
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4957
|
-
*/
|
|
4958
4666
|
class TdChartXAxisComponent extends TdChartAxisDirective {
|
|
4959
|
-
/**
|
|
4960
|
-
* @param {?} _optionsService
|
|
4961
|
-
*/
|
|
4962
4667
|
constructor(_optionsService) {
|
|
4963
4668
|
super('xAxis', _optionsService);
|
|
4964
4669
|
}
|
|
4965
4670
|
}
|
|
4966
|
-
TdChartXAxisComponent
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
'
|
|
4972
|
-
'
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
]
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
position: [{ type: Input }]
|
|
5011
|
-
};
|
|
5012
|
-
if (false) {
|
|
5013
|
-
/** @type {?} */
|
|
5014
|
-
TdChartXAxisComponent.prototype.position;
|
|
5015
|
-
}
|
|
4671
|
+
TdChartXAxisComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartXAxisComponent, deps: [{ token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4672
|
+
TdChartXAxisComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", 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 });
|
|
4673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartXAxisComponent, decorators: [{
|
|
4674
|
+
type: Component,
|
|
4675
|
+
args: [{
|
|
4676
|
+
selector: 'td-chart-x-axis',
|
|
4677
|
+
template: '',
|
|
4678
|
+
inputs: [
|
|
4679
|
+
'config',
|
|
4680
|
+
'id',
|
|
4681
|
+
'show',
|
|
4682
|
+
'gridIndex',
|
|
4683
|
+
'offset',
|
|
4684
|
+
'type',
|
|
4685
|
+
'name',
|
|
4686
|
+
'nameLocation',
|
|
4687
|
+
'nameTextStyle',
|
|
4688
|
+
'nameGap',
|
|
4689
|
+
'nameRotate',
|
|
4690
|
+
'inverse',
|
|
4691
|
+
'boundaryGap',
|
|
4692
|
+
'min',
|
|
4693
|
+
'max',
|
|
4694
|
+
'scale',
|
|
4695
|
+
'minInterval',
|
|
4696
|
+
'interval',
|
|
4697
|
+
'logBase',
|
|
4698
|
+
'silent',
|
|
4699
|
+
'triggerEvent',
|
|
4700
|
+
'axisLine',
|
|
4701
|
+
'axisTick',
|
|
4702
|
+
'axisLabel',
|
|
4703
|
+
'splitLine',
|
|
4704
|
+
'splitArea',
|
|
4705
|
+
'data',
|
|
4706
|
+
'axisPointer',
|
|
4707
|
+
'zlevel',
|
|
4708
|
+
'z',
|
|
4709
|
+
],
|
|
4710
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4711
|
+
}]
|
|
4712
|
+
}], ctorParameters: function () { return [{ type: TdChartOptionsService }]; }, propDecorators: { position: [{
|
|
4713
|
+
type: Input
|
|
4714
|
+
}] } });
|
|
5016
4715
|
|
|
5017
|
-
/**
|
|
5018
|
-
* @fileoverview added by tsickle
|
|
5019
|
-
* Generated from: axis/y-axis.component.ts
|
|
5020
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5021
|
-
*/
|
|
5022
4716
|
class TdChartYAxisComponent extends TdChartAxisDirective {
|
|
5023
|
-
/**
|
|
5024
|
-
* @param {?} _optionsService
|
|
5025
|
-
*/
|
|
5026
4717
|
constructor(_optionsService) {
|
|
5027
4718
|
super('yAxis', _optionsService);
|
|
5028
4719
|
}
|
|
5029
4720
|
}
|
|
5030
|
-
TdChartYAxisComponent
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
'
|
|
5036
|
-
'
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
]
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
position: [{ type: Input }]
|
|
5075
|
-
};
|
|
5076
|
-
if (false) {
|
|
5077
|
-
/** @type {?} */
|
|
5078
|
-
TdChartYAxisComponent.prototype.position;
|
|
5079
|
-
}
|
|
4721
|
+
TdChartYAxisComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartYAxisComponent, deps: [{ token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4722
|
+
TdChartYAxisComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartYAxisComponent, selector: "td-chart-y-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 });
|
|
4723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartYAxisComponent, decorators: [{
|
|
4724
|
+
type: Component,
|
|
4725
|
+
args: [{
|
|
4726
|
+
selector: 'td-chart-y-axis',
|
|
4727
|
+
template: '',
|
|
4728
|
+
inputs: [
|
|
4729
|
+
'config',
|
|
4730
|
+
'id',
|
|
4731
|
+
'show',
|
|
4732
|
+
'gridIndex',
|
|
4733
|
+
'offset',
|
|
4734
|
+
'type',
|
|
4735
|
+
'name',
|
|
4736
|
+
'nameLocation',
|
|
4737
|
+
'nameTextStyle',
|
|
4738
|
+
'nameGap',
|
|
4739
|
+
'nameRotate',
|
|
4740
|
+
'inverse',
|
|
4741
|
+
'boundaryGap',
|
|
4742
|
+
'min',
|
|
4743
|
+
'max',
|
|
4744
|
+
'scale',
|
|
4745
|
+
'minInterval',
|
|
4746
|
+
'interval',
|
|
4747
|
+
'logBase',
|
|
4748
|
+
'silent',
|
|
4749
|
+
'triggerEvent',
|
|
4750
|
+
'axisLine',
|
|
4751
|
+
'axisTick',
|
|
4752
|
+
'axisLabel',
|
|
4753
|
+
'splitLine',
|
|
4754
|
+
'splitArea',
|
|
4755
|
+
'data',
|
|
4756
|
+
'axisPointer',
|
|
4757
|
+
'zlevel',
|
|
4758
|
+
'z',
|
|
4759
|
+
],
|
|
4760
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4761
|
+
}]
|
|
4762
|
+
}], ctorParameters: function () { return [{ type: TdChartOptionsService }]; }, propDecorators: { position: [{
|
|
4763
|
+
type: Input
|
|
4764
|
+
}] } });
|
|
5080
4765
|
|
|
5081
|
-
/**
|
|
5082
|
-
* @fileoverview added by tsickle
|
|
5083
|
-
* Generated from: dataset/dataset.component.ts
|
|
5084
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5085
|
-
*/
|
|
5086
4766
|
class TdDatasetComponent {
|
|
5087
|
-
/**
|
|
5088
|
-
* @param {?} _optionsService
|
|
5089
|
-
*/
|
|
5090
4767
|
constructor(_optionsService) {
|
|
5091
4768
|
this._optionsService = _optionsService;
|
|
5092
4769
|
this._state = {};
|
|
5093
4770
|
this.config = {};
|
|
5094
4771
|
}
|
|
5095
|
-
/**
|
|
5096
|
-
* @return {?}
|
|
5097
|
-
*/
|
|
5098
4772
|
ngOnChanges() {
|
|
5099
4773
|
this._setOptions();
|
|
5100
4774
|
}
|
|
5101
|
-
/**
|
|
5102
|
-
* @return {?}
|
|
5103
|
-
*/
|
|
5104
4775
|
ngOnDestroy() {
|
|
5105
4776
|
this._removeOption();
|
|
5106
4777
|
}
|
|
5107
|
-
/**
|
|
5108
|
-
* @private
|
|
5109
|
-
* @return {?}
|
|
5110
|
-
*/
|
|
5111
4778
|
_setOptions() {
|
|
5112
|
-
/** @type {?} */
|
|
5113
4779
|
const config = assignDefined(this._state, {
|
|
5114
4780
|
id: this.id,
|
|
5115
4781
|
source: this.source,
|
|
@@ -5119,61 +4785,31 @@ class TdDatasetComponent {
|
|
|
5119
4785
|
// set dataset configuration in parent chart and render new configurations
|
|
5120
4786
|
this._optionsService.setOption('dataset', config);
|
|
5121
4787
|
}
|
|
5122
|
-
/**
|
|
5123
|
-
* @private
|
|
5124
|
-
* @return {?}
|
|
5125
|
-
*/
|
|
5126
4788
|
_removeOption() {
|
|
5127
4789
|
this._optionsService.clearOption('dataset');
|
|
5128
4790
|
}
|
|
5129
4791
|
}
|
|
5130
|
-
TdDatasetComponent
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
}
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
* @type {?}
|
|
5151
|
-
* @private
|
|
5152
|
-
*/
|
|
5153
|
-
TdDatasetComponent.prototype._state;
|
|
5154
|
-
/** @type {?} */
|
|
5155
|
-
TdDatasetComponent.prototype.id;
|
|
5156
|
-
/** @type {?} */
|
|
5157
|
-
TdDatasetComponent.prototype.config;
|
|
5158
|
-
/** @type {?} */
|
|
5159
|
-
TdDatasetComponent.prototype.source;
|
|
5160
|
-
/** @type {?} */
|
|
5161
|
-
TdDatasetComponent.prototype.dimensions;
|
|
5162
|
-
/** @type {?} */
|
|
5163
|
-
TdDatasetComponent.prototype.sourceHeader;
|
|
5164
|
-
/**
|
|
5165
|
-
* @type {?}
|
|
5166
|
-
* @private
|
|
5167
|
-
*/
|
|
5168
|
-
TdDatasetComponent.prototype._optionsService;
|
|
5169
|
-
}
|
|
4792
|
+
TdDatasetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdDatasetComponent, deps: [{ token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4793
|
+
TdDatasetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdDatasetComponent, selector: "td-chart-dataset", inputs: { id: "id", config: "config", source: "source", dimensions: "dimensions", sourceHeader: "sourceHeader" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdDatasetComponent, decorators: [{
|
|
4795
|
+
type: Component,
|
|
4796
|
+
args: [{
|
|
4797
|
+
template: '',
|
|
4798
|
+
selector: 'td-chart-dataset',
|
|
4799
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4800
|
+
}]
|
|
4801
|
+
}], ctorParameters: function () { return [{ type: TdChartOptionsService }]; }, propDecorators: { id: [{
|
|
4802
|
+
type: Input
|
|
4803
|
+
}], config: [{
|
|
4804
|
+
type: Input
|
|
4805
|
+
}], source: [{
|
|
4806
|
+
type: Input
|
|
4807
|
+
}], dimensions: [{
|
|
4808
|
+
type: Input
|
|
4809
|
+
}], sourceHeader: [{
|
|
4810
|
+
type: Input
|
|
4811
|
+
}] } });
|
|
5170
4812
|
|
|
5171
|
-
/**
|
|
5172
|
-
* @fileoverview added by tsickle
|
|
5173
|
-
* Generated from: base.module.ts
|
|
5174
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5175
|
-
*/
|
|
5176
|
-
/** @type {?} */
|
|
5177
4813
|
const BASE_MODULE_COMPONENTS = [
|
|
5178
4814
|
TdChartComponent,
|
|
5179
4815
|
TdChartXAxisComponent,
|
|
@@ -5183,43 +4819,25 @@ const BASE_MODULE_COMPONENTS = [
|
|
|
5183
4819
|
registerDefaultThemes();
|
|
5184
4820
|
class CovalentBaseEchartsModule {
|
|
5185
4821
|
}
|
|
5186
|
-
CovalentBaseEchartsModule
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
4822
|
+
CovalentBaseEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentBaseEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4823
|
+
CovalentBaseEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentBaseEchartsModule, declarations: [TdChartComponent,
|
|
4824
|
+
TdChartXAxisComponent,
|
|
4825
|
+
TdChartYAxisComponent,
|
|
4826
|
+
TdDatasetComponent], imports: [CommonModule], exports: [TdChartComponent,
|
|
4827
|
+
TdChartXAxisComponent,
|
|
4828
|
+
TdChartYAxisComponent,
|
|
4829
|
+
TdDatasetComponent] });
|
|
4830
|
+
CovalentBaseEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentBaseEchartsModule, imports: [[CommonModule]] });
|
|
4831
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentBaseEchartsModule, decorators: [{
|
|
4832
|
+
type: NgModule,
|
|
4833
|
+
args: [{
|
|
4834
|
+
imports: [CommonModule],
|
|
4835
|
+
declarations: [BASE_MODULE_COMPONENTS],
|
|
4836
|
+
exports: [BASE_MODULE_COMPONENTS],
|
|
4837
|
+
}]
|
|
4838
|
+
}] });
|
|
5193
4839
|
|
|
5194
|
-
/**
|
|
5195
|
-
* @fileoverview added by tsickle
|
|
5196
|
-
* Generated from: series/series.component.ts
|
|
5197
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5198
|
-
*/
|
|
5199
|
-
/**
|
|
5200
|
-
* @record
|
|
5201
|
-
*/
|
|
5202
|
-
function ITdSeries() { }
|
|
5203
|
-
if (false) {
|
|
5204
|
-
/** @type {?|undefined} */
|
|
5205
|
-
ITdSeries.prototype.id;
|
|
5206
|
-
/** @type {?|undefined} */
|
|
5207
|
-
ITdSeries.prototype.name;
|
|
5208
|
-
/** @type {?|undefined} */
|
|
5209
|
-
ITdSeries.prototype.color;
|
|
5210
|
-
/** @type {?|undefined} */
|
|
5211
|
-
ITdSeries.prototype.type;
|
|
5212
|
-
/** @type {?|undefined} */
|
|
5213
|
-
ITdSeries.prototype.tooltip;
|
|
5214
|
-
}
|
|
5215
|
-
/**
|
|
5216
|
-
* @abstract
|
|
5217
|
-
*/
|
|
5218
4840
|
class TdSeriesDirective {
|
|
5219
|
-
/**
|
|
5220
|
-
* @param {?} type
|
|
5221
|
-
* @param {?} optionsService
|
|
5222
|
-
*/
|
|
5223
4841
|
constructor(type, optionsService) {
|
|
5224
4842
|
this.optionsService = optionsService;
|
|
5225
4843
|
this._state = {};
|
|
@@ -5227,54 +4845,28 @@ class TdSeriesDirective {
|
|
|
5227
4845
|
this.config = {};
|
|
5228
4846
|
this._type = type;
|
|
5229
4847
|
}
|
|
5230
|
-
/**
|
|
5231
|
-
* @return {?}
|
|
5232
|
-
*/
|
|
5233
4848
|
get type() {
|
|
5234
4849
|
return this._type;
|
|
5235
4850
|
}
|
|
5236
|
-
/**
|
|
5237
|
-
* @return {?}
|
|
5238
|
-
*/
|
|
5239
4851
|
ngOnInit() {
|
|
5240
4852
|
this._setOptions();
|
|
5241
4853
|
}
|
|
5242
|
-
/**
|
|
5243
|
-
* @return {?}
|
|
5244
|
-
*/
|
|
5245
4854
|
ngOnChanges() {
|
|
5246
4855
|
this._setOptions();
|
|
5247
4856
|
}
|
|
5248
|
-
/**
|
|
5249
|
-
* @return {?}
|
|
5250
|
-
*/
|
|
5251
4857
|
ngOnDestroy() {
|
|
5252
4858
|
this._removeOption();
|
|
5253
4859
|
}
|
|
5254
|
-
/**
|
|
5255
|
-
* @param {?} option
|
|
5256
|
-
* @param {?} value
|
|
5257
|
-
* @return {?}
|
|
5258
|
-
*/
|
|
5259
4860
|
setStateOption(option, value) {
|
|
5260
4861
|
this._options[option] = value;
|
|
5261
4862
|
this._setOptions();
|
|
5262
4863
|
}
|
|
5263
|
-
/**
|
|
5264
|
-
* @param {?} option
|
|
5265
|
-
* @return {?}
|
|
5266
|
-
*/
|
|
5267
4864
|
removeStateOption(option) {
|
|
5268
4865
|
/* tslint:disable-next-line */
|
|
5269
4866
|
this._options[option] = null;
|
|
5270
4867
|
this._setOptions();
|
|
5271
4868
|
}
|
|
5272
|
-
/**
|
|
5273
|
-
* @private
|
|
5274
|
-
* @return {?}
|
|
5275
|
-
*/
|
|
5276
4869
|
_setOptions() {
|
|
5277
|
-
/** @type {?} */
|
|
5278
4870
|
const config = assignDefined(this._state, {
|
|
5279
4871
|
id: this.id,
|
|
5280
4872
|
type: this.type,
|
|
@@ -5293,105 +4885,47 @@ class TdSeriesDirective {
|
|
|
5293
4885
|
}, this.getConfig(), this._options, this.config ? this.config : {});
|
|
5294
4886
|
this.optionsService.setArrayOption('series', config);
|
|
5295
4887
|
}
|
|
5296
|
-
/**
|
|
5297
|
-
* @private
|
|
5298
|
-
* @return {?}
|
|
5299
|
-
*/
|
|
5300
4888
|
_removeOption() {
|
|
5301
4889
|
this.optionsService.removeArrayOption('series', this._state);
|
|
5302
4890
|
}
|
|
5303
4891
|
}
|
|
5304
|
-
TdSeriesDirective
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
TdSeriesDirective.prototype._options;
|
|
5338
|
-
/** @type {?} */
|
|
5339
|
-
TdSeriesDirective.prototype.config;
|
|
5340
|
-
/** @type {?} */
|
|
5341
|
-
TdSeriesDirective.prototype.id;
|
|
5342
|
-
/** @type {?} */
|
|
5343
|
-
TdSeriesDirective.prototype.name;
|
|
5344
|
-
/** @type {?} */
|
|
5345
|
-
TdSeriesDirective.prototype.color;
|
|
5346
|
-
/** @type {?} */
|
|
5347
|
-
TdSeriesDirective.prototype.data;
|
|
5348
|
-
/** @type {?} */
|
|
5349
|
-
TdSeriesDirective.prototype.animation;
|
|
5350
|
-
/** @type {?} */
|
|
5351
|
-
TdSeriesDirective.prototype.animationThreshold;
|
|
5352
|
-
/** @type {?} */
|
|
5353
|
-
TdSeriesDirective.prototype.animationDuration;
|
|
5354
|
-
/** @type {?} */
|
|
5355
|
-
TdSeriesDirective.prototype.animationEasing;
|
|
5356
|
-
/** @type {?} */
|
|
5357
|
-
TdSeriesDirective.prototype.animationDelay;
|
|
5358
|
-
/** @type {?} */
|
|
5359
|
-
TdSeriesDirective.prototype.animationDurationUpdate;
|
|
5360
|
-
/** @type {?} */
|
|
5361
|
-
TdSeriesDirective.prototype.animationEasingUpdate;
|
|
5362
|
-
/** @type {?} */
|
|
5363
|
-
TdSeriesDirective.prototype.animationDelayUpdate;
|
|
5364
|
-
/** @type {?} */
|
|
5365
|
-
TdSeriesDirective.prototype.tooltip;
|
|
5366
|
-
/**
|
|
5367
|
-
* @type {?}
|
|
5368
|
-
* @protected
|
|
5369
|
-
*/
|
|
5370
|
-
TdSeriesDirective.prototype.optionsService;
|
|
5371
|
-
/**
|
|
5372
|
-
* @abstract
|
|
5373
|
-
* @return {?}
|
|
5374
|
-
*/
|
|
5375
|
-
TdSeriesDirective.prototype.getConfig = function () { };
|
|
5376
|
-
}
|
|
5377
|
-
|
|
5378
|
-
/**
|
|
5379
|
-
* @fileoverview added by tsickle
|
|
5380
|
-
* Generated from: public-api.ts
|
|
5381
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5382
|
-
*/
|
|
5383
|
-
|
|
5384
|
-
/**
|
|
5385
|
-
* @fileoverview added by tsickle
|
|
5386
|
-
* Generated from: index.ts
|
|
5387
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5388
|
-
*/
|
|
4892
|
+
TdSeriesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdSeriesDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
4893
|
+
TdSeriesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdSeriesDirective, 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" }, usesOnChanges: true, ngImport: i0 });
|
|
4894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdSeriesDirective, decorators: [{
|
|
4895
|
+
type: Directive
|
|
4896
|
+
}], ctorParameters: function () { return [{ type: undefined }, { type: TdChartOptionsService }]; }, propDecorators: { config: [{
|
|
4897
|
+
type: Input
|
|
4898
|
+
}], id: [{
|
|
4899
|
+
type: Input
|
|
4900
|
+
}], name: [{
|
|
4901
|
+
type: Input
|
|
4902
|
+
}], color: [{
|
|
4903
|
+
type: Input
|
|
4904
|
+
}], data: [{
|
|
4905
|
+
type: Input
|
|
4906
|
+
}], animation: [{
|
|
4907
|
+
type: Input
|
|
4908
|
+
}], animationThreshold: [{
|
|
4909
|
+
type: Input
|
|
4910
|
+
}], animationDuration: [{
|
|
4911
|
+
type: Input
|
|
4912
|
+
}], animationEasing: [{
|
|
4913
|
+
type: Input
|
|
4914
|
+
}], animationDelay: [{
|
|
4915
|
+
type: Input
|
|
4916
|
+
}], animationDurationUpdate: [{
|
|
4917
|
+
type: Input
|
|
4918
|
+
}], animationEasingUpdate: [{
|
|
4919
|
+
type: Input
|
|
4920
|
+
}], animationDelayUpdate: [{
|
|
4921
|
+
type: Input
|
|
4922
|
+
}], tooltip: [{
|
|
4923
|
+
type: Input
|
|
4924
|
+
}] } });
|
|
5389
4925
|
|
|
5390
4926
|
/**
|
|
5391
|
-
*
|
|
5392
|
-
* Generated from: covalent-echarts-base.ts
|
|
5393
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4927
|
+
* Generated bundle index. Do not edit.
|
|
5394
4928
|
*/
|
|
5395
4929
|
|
|
5396
|
-
export { BASE_MODULE_COMPONENTS, CovalentBaseEchartsModule, TdChartAxisDirective, TdChartComponent, TdChartOptionsService, TdChartXAxisComponent, TdChartYAxisComponent, TdDatasetComponent, TdSeriesDirective, assignDefined, getThemes, registerDefaultThemes, registerTheme
|
|
5397
|
-
//# sourceMappingURL=covalent-echarts-base.
|
|
4930
|
+
export { BASE_MODULE_COMPONENTS, CovalentBaseEchartsModule, TdChartAxisDirective, TdChartComponent, TdChartOptionsService, TdChartXAxisComponent, TdChartYAxisComponent, TdDatasetComponent, TdSeriesDirective, assignDefined, getThemes, registerDefaultThemes, registerTheme };
|
|
4931
|
+
//# sourceMappingURL=covalent-echarts-base.mjs.map
|