@covalent/echarts 4.0.0-alpha.0 → 4.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bar/bar.component.d.ts +3 -0
- package/bar/bar.module.d.ts +6 -1
- package/bar/covalent-echarts-bar.d.ts +1 -0
- package/bar/package.json +6 -7
- package/base/axis/axis.component.d.ts +3 -0
- 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 +3 -0
- package/base/covalent-echarts-base.d.ts +1 -1
- package/base/dataset/dataset.component.d.ts +3 -0
- package/base/package.json +6 -7
- package/base/series/series.component.d.ts +3 -0
- package/covalent-echarts.d.ts +1 -0
- package/esm2020/bar/bar.component.mjs +136 -0
- package/esm2020/bar/bar.module.mjs +20 -0
- package/esm2020/bar/covalent-echarts-bar.mjs +5 -0
- package/esm2020/bar/index.mjs +2 -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 +36 -0
- package/esm2020/base/base.types.mjs +2 -0
- package/esm2020/base/chart-options.service.mjs +65 -0
- package/esm2020/base/chart.component.mjs +191 -0
- package/esm2020/base/covalent-echarts-base.mjs +5 -0
- package/esm2020/base/dataset/dataset.component.mjs +52 -0
- package/esm2020/base/index.mjs +2 -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/{esm2015/base/themes/teradata-classic.js → esm2020/base/themes/aqua-splash.mjs} +10 -15
- package/esm2020/base/themes/california-coast.mjs +460 -0
- package/esm2020/base/themes/hawaiian-sunrise.mjs +460 -0
- package/{esm2015/base/themes/volcanic-eruption.js → esm2020/base/themes/passion-flower.mjs} +18 -23
- package/esm2020/base/themes/razzleberry-pie.mjs +460 -0
- package/esm2020/base/themes/teradata-classic.mjs +460 -0
- package/{esm2015/base/themes/hawaiian-sunrise.js → esm2020/base/themes/teradata-default.mjs} +18 -23
- 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 +186 -0
- package/esm2020/graph/graph.module.mjs +20 -0
- package/esm2020/graph/index.mjs +2 -0
- package/esm2020/graph/public-api.mjs +3 -0
- package/esm2020/index.mjs +2 -0
- package/esm2020/line/covalent-echarts-line.mjs +5 -0
- package/esm2020/line/index.mjs +2 -0
- package/esm2020/line/line.component.mjs +160 -0
- package/esm2020/line/line.module.mjs +20 -0
- package/esm2020/line/public-api.mjs +3 -0
- package/esm2020/map/covalent-echarts-map.mjs +5 -0
- package/esm2020/map/index.mjs +2 -0
- package/esm2020/map/map.component.mjs +133 -0
- package/esm2020/map/map.module.mjs +20 -0
- package/esm2020/map/public-api.mjs +3 -0
- package/esm2020/pie/covalent-echarts-pie.mjs +5 -0
- package/esm2020/pie/index.mjs +2 -0
- package/esm2020/pie/pie.component.mjs +128 -0
- package/esm2020/pie/pie.module.mjs +20 -0
- package/esm2020/pie/public-api.mjs +3 -0
- package/esm2020/sankey/covalent-echarts-sankey.mjs +5 -0
- package/esm2020/sankey/index.mjs +2 -0
- package/esm2020/sankey/public-api.mjs +3 -0
- package/esm2020/sankey/sankey.component.mjs +118 -0
- package/esm2020/sankey/sankey.module.mjs +20 -0
- package/esm2020/scatter/covalent-echarts-scatter.mjs +5 -0
- package/esm2020/scatter/index.mjs +2 -0
- package/esm2020/scatter/public-api.mjs +3 -0
- package/esm2020/scatter/scatter.component.mjs +145 -0
- package/esm2020/scatter/scatter.module.mjs +20 -0
- package/esm2020/toolbox/covalent-echarts-toolbox.mjs +5 -0
- package/esm2020/toolbox/index.mjs +2 -0
- package/esm2020/toolbox/public-api.mjs +3 -0
- package/esm2020/toolbox/toolbox.component.mjs +151 -0
- package/esm2020/toolbox/toolbox.module.mjs +20 -0
- package/esm2020/tooltip/covalent-echarts-tooltip.mjs +5 -0
- package/esm2020/tooltip/index.mjs +2 -0
- package/esm2020/tooltip/public-api.mjs +4 -0
- package/esm2020/tooltip/series-tooltip.component.mjs +111 -0
- package/esm2020/tooltip/tooltip.component.mjs +165 -0
- package/esm2020/tooltip/tooltip.module.mjs +29 -0
- package/esm2020/tree/covalent-echarts-tree.mjs +5 -0
- package/esm2020/tree/index.mjs +2 -0
- package/esm2020/tree/public-api.mjs +3 -0
- package/esm2020/tree/tree.component.mjs +118 -0
- package/esm2020/tree/tree.module.mjs +20 -0
- package/esm2020/treemap/covalent-echarts-treemap.mjs +5 -0
- package/esm2020/treemap/index.mjs +2 -0
- package/esm2020/treemap/public-api.mjs +3 -0
- package/esm2020/treemap/treemap.component.mjs +150 -0
- package/esm2020/treemap/treemap.module.mjs +20 -0
- package/esm2020/wordcloud/covalent-echarts-wordcloud.mjs +5 -0
- package/esm2020/wordcloud/index.mjs +2 -0
- package/esm2020/wordcloud/public-api.mjs +3 -0
- package/esm2020/wordcloud/wordcloud.component.mjs +93 -0
- package/esm2020/wordcloud/wordcloud.module.mjs +20 -0
- package/fesm2015/covalent-echarts-bar.mjs +164 -0
- package/fesm2015/covalent-echarts-bar.mjs.map +1 -0
- package/fesm2015/covalent-echarts-base.mjs +4864 -0
- package/fesm2015/covalent-echarts-base.mjs.map +1 -0
- package/fesm2015/covalent-echarts-graph.mjs +214 -0
- package/fesm2015/covalent-echarts-graph.mjs.map +1 -0
- package/fesm2015/covalent-echarts-line.mjs +188 -0
- package/fesm2015/covalent-echarts-line.mjs.map +1 -0
- package/fesm2015/covalent-echarts-map.mjs +161 -0
- package/fesm2015/{covalent-echarts-map.js.map → covalent-echarts-map.mjs.map} +1 -1
- package/fesm2015/covalent-echarts-pie.mjs +156 -0
- package/fesm2015/{covalent-echarts-pie.js.map → covalent-echarts-pie.mjs.map} +1 -1
- package/fesm2015/covalent-echarts-sankey.mjs +146 -0
- package/fesm2015/covalent-echarts-sankey.mjs.map +1 -0
- package/fesm2015/covalent-echarts-scatter.mjs +173 -0
- package/fesm2015/covalent-echarts-scatter.mjs.map +1 -0
- package/fesm2015/covalent-echarts-toolbox.mjs +184 -0
- package/fesm2015/covalent-echarts-toolbox.mjs.map +1 -0
- package/fesm2015/covalent-echarts-tooltip.mjs +330 -0
- package/fesm2015/covalent-echarts-tooltip.mjs.map +1 -0
- package/fesm2015/covalent-echarts-tree.mjs +146 -0
- package/fesm2015/covalent-echarts-tree.mjs.map +1 -0
- package/fesm2015/covalent-echarts-treemap.mjs +178 -0
- package/fesm2015/covalent-echarts-treemap.mjs.map +1 -0
- package/fesm2015/covalent-echarts-wordcloud.mjs +121 -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 +160 -0
- package/{fesm2015/covalent-echarts-bar.js.map → fesm2020/covalent-echarts-bar.mjs.map} +1 -1
- package/{fesm2015/covalent-echarts-base.js → fesm2020/covalent-echarts-base.mjs} +218 -769
- 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 +184 -0
- package/fesm2020/covalent-echarts-line.mjs.map +1 -0
- package/fesm2020/covalent-echarts-map.mjs +157 -0
- package/fesm2020/covalent-echarts-map.mjs.map +1 -0
- package/fesm2020/covalent-echarts-pie.mjs +152 -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 +175 -0
- package/fesm2020/covalent-echarts-toolbox.mjs.map +1 -0
- package/fesm2020/covalent-echarts-tooltip.mjs +302 -0
- package/fesm2020/covalent-echarts-tooltip.mjs.map +1 -0
- package/fesm2020/covalent-echarts-tree.mjs +142 -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/covalent-echarts-graph.d.ts +1 -0
- package/graph/graph.component.d.ts +3 -0
- package/graph/graph.module.d.ts +6 -1
- package/graph/package.json +6 -7
- package/line/covalent-echarts-line.d.ts +1 -0
- package/line/line.component.d.ts +3 -0
- package/line/line.module.d.ts +6 -1
- package/line/package.json +6 -7
- package/map/covalent-echarts-map.d.ts +1 -0
- package/map/map.component.d.ts +3 -0
- package/map/map.module.d.ts +6 -1
- package/map/package.json +6 -7
- package/package.json +134 -15
- package/pie/covalent-echarts-pie.d.ts +1 -0
- package/pie/package.json +6 -7
- package/pie/pie.component.d.ts +3 -0
- package/pie/pie.module.d.ts +6 -1
- package/sankey/covalent-echarts-sankey.d.ts +1 -0
- package/sankey/package.json +6 -7
- package/sankey/sankey.component.d.ts +3 -0
- package/sankey/sankey.module.d.ts +6 -1
- package/scatter/covalent-echarts-scatter.d.ts +1 -0
- package/scatter/package.json +6 -7
- package/scatter/scatter.component.d.ts +3 -0
- package/scatter/scatter.module.d.ts +6 -1
- package/toolbox/covalent-echarts-toolbox.d.ts +1 -0
- package/toolbox/package.json +6 -7
- package/toolbox/toolbox.component.d.ts +5 -0
- package/toolbox/toolbox.module.d.ts +6 -1
- package/tooltip/covalent-echarts-tooltip.d.ts +1 -0
- package/tooltip/package.json +6 -7
- package/tooltip/series-tooltip.component.d.ts +3 -0
- package/tooltip/tooltip.component.d.ts +5 -0
- package/tooltip/tooltip.module.d.ts +7 -1
- package/tree/covalent-echarts-tree.d.ts +1 -0
- package/tree/package.json +6 -7
- package/tree/tree.component.d.ts +3 -0
- package/tree/tree.module.d.ts +6 -1
- package/treemap/covalent-echarts-treemap.d.ts +1 -0
- package/treemap/package.json +6 -7
- package/treemap/treemap.component.d.ts +3 -0
- package/treemap/treemap.module.d.ts +6 -1
- package/wordcloud/covalent-echarts-wordcloud.d.ts +1 -0
- package/wordcloud/package.json +6 -7
- package/wordcloud/wordcloud.component.d.ts +3 -0
- package/wordcloud/wordcloud.module.d.ts +6 -1
- package/bar/covalent-echarts-bar.metadata.json +0 -1
- package/base/covalent-echarts-base.metadata.json +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/passion-flower.js +0 -465
- package/esm2015/base/themes/razzleberry-pie.js +0 -465
- package/esm2015/base/themes/teradata-default.js +0 -465
- package/esm2015/base/themes/urban-sunrise.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-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-pie.js +0 -267
- 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/line/covalent-echarts-line.metadata.json +0 -1
- package/map/covalent-echarts-map.metadata.json +0 -1
- package/pie/covalent-echarts-pie.metadata.json +0 -1
- package/sankey/covalent-echarts-sankey.metadata.json +0 -1
- package/scatter/covalent-echarts-scatter.metadata.json +0 -1
- package/toolbox/covalent-echarts-toolbox.metadata.json +0 -1
- package/tooltip/covalent-echarts-tooltip.metadata.json +0 -1
- package/tree/covalent-echarts-tree.metadata.json +0 -1
- package/treemap/covalent-echarts-treemap.metadata.json +0 -1
- package/wordcloud/covalent-echarts-wordcloud.metadata.json +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
|
+
/** @nocollapse */ /** @nocollapse */ TdChartOptionsService.ɵfac = function TdChartOptionsService_Factory(t) { return new (t || TdChartOptionsService)(); };
|
|
55
|
+
/** @nocollapse */ /** @nocollapse */ TdChartOptionsService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: TdChartOptionsService, factory: TdChartOptionsService.ɵfac });
|
|
56
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartOptionsService, [{
|
|
57
|
+
type: Injectable
|
|
58
|
+
}], null, null); })();
|
|
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,11 +91,6 @@ 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
96
|
color: ['#305b9e', '#0076a9', '#1d8daa', '#51a2a8', '#7fb5aa', '#aac6b4', '#CFD8C8', '#ECEBE4'],
|
|
@@ -620,11 +551,6 @@ var aquaSplash = {
|
|
|
620
551
|
},
|
|
621
552
|
};
|
|
622
553
|
|
|
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
554
|
/* tslint:disable */
|
|
629
555
|
var californiaCoast = {
|
|
630
556
|
color: ['#0098c9', '#6ab1d7', '#a0cae4', '#ffbb9c', '#fd986d', '#f3753f'],
|
|
@@ -1085,11 +1011,6 @@ var californiaCoast = {
|
|
|
1085
1011
|
},
|
|
1086
1012
|
};
|
|
1087
1013
|
|
|
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
1014
|
/* tslint:disable */
|
|
1094
1015
|
var hawaiianSunrise = {
|
|
1095
1016
|
color: ['#00b2b1', '#69c6c4', '#a0d9d7', '#ffbb9c', '#fd986d', '#f3753f'],
|
|
@@ -1550,11 +1471,6 @@ var hawaiianSunrise = {
|
|
|
1550
1471
|
},
|
|
1551
1472
|
};
|
|
1552
1473
|
|
|
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
1474
|
/* tslint:disable */
|
|
1559
1475
|
var passionFlower = {
|
|
1560
1476
|
color: ['#007e7d', '#977ed2', '#d58a9c', '#97b6eb', '#ceccbb', '#f2dfd8'],
|
|
@@ -2015,11 +1931,6 @@ var passionFlower = {
|
|
|
2015
1931
|
},
|
|
2016
1932
|
};
|
|
2017
1933
|
|
|
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
1934
|
/* tslint:disable */
|
|
2024
1935
|
var razzleberryPie = {
|
|
2025
1936
|
color: ['#523e85', '#8b4f8f', '#b96595', '#e0829a', '#ffa3a2', '#f9b8a3', '#f1ccb1', '#ebddc8'],
|
|
@@ -2480,11 +2391,6 @@ var razzleberryPie = {
|
|
|
2480
2391
|
},
|
|
2481
2392
|
};
|
|
2482
2393
|
|
|
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
2394
|
/* tslint:disable */
|
|
2489
2395
|
var teradataClassic = {
|
|
2490
2396
|
color: ['#005e7d', '#c54b17', '#009392', '#f5bb3c', '#0098c9', '#f58b5e', '#59cecd', '#fee2a6'],
|
|
@@ -2945,11 +2851,6 @@ var teradataClassic = {
|
|
|
2945
2851
|
},
|
|
2946
2852
|
};
|
|
2947
2853
|
|
|
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
2854
|
/* tslint:disable */
|
|
2954
2855
|
var teradataDefault = {
|
|
2955
2856
|
color: ['#4d5b62', '#008ab6', '#f3753f', '#2cc0bf', '#fed887'],
|
|
@@ -3410,11 +3311,6 @@ var teradataDefault = {
|
|
|
3410
3311
|
},
|
|
3411
3312
|
};
|
|
3412
3313
|
|
|
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
3314
|
/* tslint:disable */
|
|
3419
3315
|
var urbanSunrise = {
|
|
3420
3316
|
color: ['#667279', '#979ea4', '#caced0', '#ffbb9c', '#fd986d', '#F3753F'],
|
|
@@ -3875,11 +3771,6 @@ var urbanSunrise = {
|
|
|
3875
3771
|
},
|
|
3876
3772
|
};
|
|
3877
3773
|
|
|
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
3774
|
/* tslint:disable */
|
|
3884
3775
|
var volcanicEruption = {
|
|
3885
3776
|
color: ['#565a83', '#7c5c91', '#a85a90', '#cf5880', '#ea5f64', '#f3753f'],
|
|
@@ -4340,26 +4231,17 @@ var volcanicEruption = {
|
|
|
4340
4231
|
},
|
|
4341
4232
|
};
|
|
4342
4233
|
|
|
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
4234
|
/**
|
|
4349
4235
|
* Function used to register a theme into echarts
|
|
4350
4236
|
* Theme name and theme object needed as stated in
|
|
4351
4237
|
* https://ecomfe.github.io/echarts-doc/public/en/api.html#echarts.registerTheme
|
|
4352
|
-
* @param {?} themeName
|
|
4353
|
-
* @param {?} theme
|
|
4354
|
-
* @return {?}
|
|
4355
4238
|
*/
|
|
4356
4239
|
function registerTheme(themeName, theme) {
|
|
4357
|
-
registerTheme
|
|
4240
|
+
echarts.registerTheme(themeName, theme);
|
|
4358
4241
|
}
|
|
4359
4242
|
/**
|
|
4360
4243
|
* Function to register all default themes
|
|
4361
|
-
*
|
|
4362
|
-
* @return {?}
|
|
4244
|
+
* @internal
|
|
4363
4245
|
*/
|
|
4364
4246
|
function registerDefaultThemes() {
|
|
4365
4247
|
registerTheme('aqua-splash', aquaSplash);
|
|
@@ -4374,7 +4256,6 @@ function registerDefaultThemes() {
|
|
|
4374
4256
|
}
|
|
4375
4257
|
/**
|
|
4376
4258
|
* Returns all the theme names bundled with covalent echarts.
|
|
4377
|
-
* @return {?}
|
|
4378
4259
|
*/
|
|
4379
4260
|
function getThemes() {
|
|
4380
4261
|
return [
|
|
@@ -4390,23 +4271,7 @@ function getThemes() {
|
|
|
4390
4271
|
];
|
|
4391
4272
|
}
|
|
4392
4273
|
|
|
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
4274
|
class TdChartComponent {
|
|
4405
|
-
/**
|
|
4406
|
-
* @param {?} _changeDetectorRef
|
|
4407
|
-
* @param {?} _elementRef
|
|
4408
|
-
* @param {?} _optionsService
|
|
4409
|
-
*/
|
|
4410
4275
|
constructor(_changeDetectorRef, _elementRef, _optionsService) {
|
|
4411
4276
|
this._changeDetectorRef = _changeDetectorRef;
|
|
4412
4277
|
this._elementRef = _elementRef;
|
|
@@ -4440,21 +4305,13 @@ class TdChartComponent {
|
|
|
4440
4305
|
}
|
|
4441
4306
|
/**
|
|
4442
4307
|
* returns the echarts instance
|
|
4443
|
-
* @return {?}
|
|
4444
4308
|
*/
|
|
4445
4309
|
get instance() {
|
|
4446
4310
|
return this._instance;
|
|
4447
4311
|
}
|
|
4448
|
-
/**
|
|
4449
|
-
* @return {?}
|
|
4450
|
-
*/
|
|
4451
4312
|
ngAfterViewInit() {
|
|
4452
4313
|
this._initializeChart();
|
|
4453
4314
|
}
|
|
4454
|
-
/**
|
|
4455
|
-
* @param {?} changes
|
|
4456
|
-
* @return {?}
|
|
4457
|
-
*/
|
|
4458
4315
|
ngOnChanges(changes) {
|
|
4459
4316
|
if (this._instance) {
|
|
4460
4317
|
// destroy and reinitialize chart only when `renderer`, `themeName` and `group` changes
|
|
@@ -4467,16 +4324,10 @@ class TdChartComponent {
|
|
|
4467
4324
|
}
|
|
4468
4325
|
}
|
|
4469
4326
|
}
|
|
4470
|
-
/**
|
|
4471
|
-
* @return {?}
|
|
4472
|
-
*/
|
|
4473
4327
|
ngOnDestroy() {
|
|
4474
4328
|
this._disposeChart();
|
|
4475
4329
|
this._destroy.unsubscribe();
|
|
4476
4330
|
}
|
|
4477
|
-
/**
|
|
4478
|
-
* @return {?}
|
|
4479
|
-
*/
|
|
4480
4331
|
render() {
|
|
4481
4332
|
if (this._instance) {
|
|
4482
4333
|
this._instance.setOption(assignDefined(this._state, {
|
|
@@ -4498,265 +4349,113 @@ class TdChartComponent {
|
|
|
4498
4349
|
this._changeDetectorRef.markForCheck();
|
|
4499
4350
|
}
|
|
4500
4351
|
}
|
|
4501
|
-
/**
|
|
4502
|
-
* @private
|
|
4503
|
-
* @return {?}
|
|
4504
|
-
*/
|
|
4505
4352
|
_initializeChart() {
|
|
4506
|
-
this._instance = init(this._elementRef.nativeElement, this.themeName, {
|
|
4353
|
+
this._instance = echarts.init(this._elementRef.nativeElement, this.themeName, {
|
|
4507
4354
|
renderer: this.renderer,
|
|
4508
4355
|
});
|
|
4509
4356
|
fromEvent(this._instance, 'click')
|
|
4510
4357
|
.pipe(takeUntil(this._destroy))
|
|
4511
|
-
.subscribe((
|
|
4512
|
-
* @param {?} params
|
|
4513
|
-
* @return {?}
|
|
4514
|
-
*/
|
|
4515
|
-
(params) => {
|
|
4358
|
+
.subscribe((params) => {
|
|
4516
4359
|
this.chartClick.next(params);
|
|
4517
|
-
})
|
|
4360
|
+
});
|
|
4518
4361
|
fromEvent(this._instance, 'dblclick')
|
|
4519
4362
|
.pipe(takeUntil(this._destroy))
|
|
4520
|
-
.subscribe((
|
|
4521
|
-
* @param {?} params
|
|
4522
|
-
* @return {?}
|
|
4523
|
-
*/
|
|
4524
|
-
(params) => {
|
|
4363
|
+
.subscribe((params) => {
|
|
4525
4364
|
this.chartDblclick.next(params);
|
|
4526
|
-
})
|
|
4365
|
+
});
|
|
4527
4366
|
fromEvent(this._instance, 'contextmenu')
|
|
4528
4367
|
.pipe(takeUntil(this._destroy))
|
|
4529
|
-
.subscribe((
|
|
4530
|
-
* @param {?} params
|
|
4531
|
-
* @return {?}
|
|
4532
|
-
*/
|
|
4533
|
-
(params) => {
|
|
4368
|
+
.subscribe((params) => {
|
|
4534
4369
|
this.chartContextmenu.next(params);
|
|
4535
|
-
})
|
|
4370
|
+
});
|
|
4536
4371
|
fromEvent(this._instance, 'magictypechanged')
|
|
4537
4372
|
.pipe(takeUntil(this._destroy))
|
|
4538
|
-
.subscribe((
|
|
4539
|
-
* @param {?} params
|
|
4540
|
-
* @return {?}
|
|
4541
|
-
*/
|
|
4542
|
-
(params) => {
|
|
4373
|
+
.subscribe((params) => {
|
|
4543
4374
|
this.magicTypeChanged.next(params);
|
|
4544
|
-
})
|
|
4375
|
+
});
|
|
4545
4376
|
fromEvent(this._instance, 'dataviewchanged')
|
|
4546
4377
|
.pipe(takeUntil(this._destroy))
|
|
4547
|
-
.subscribe((
|
|
4548
|
-
* @param {?} params
|
|
4549
|
-
* @return {?}
|
|
4550
|
-
*/
|
|
4551
|
-
(params) => {
|
|
4378
|
+
.subscribe((params) => {
|
|
4552
4379
|
this.dataViewChanged.next(params);
|
|
4553
|
-
})
|
|
4380
|
+
});
|
|
4554
4381
|
fromEvent(this._instance, 'datazoom')
|
|
4555
4382
|
.pipe(takeUntil(this._destroy))
|
|
4556
|
-
.subscribe((
|
|
4557
|
-
* @param {?} params
|
|
4558
|
-
* @return {?}
|
|
4559
|
-
*/
|
|
4560
|
-
(params) => {
|
|
4383
|
+
.subscribe((params) => {
|
|
4561
4384
|
this.datazoom.next(params);
|
|
4562
|
-
})
|
|
4385
|
+
});
|
|
4563
4386
|
fromEvent(this._instance, 'restore')
|
|
4564
4387
|
.pipe(takeUntil(this._destroy))
|
|
4565
|
-
.subscribe((
|
|
4566
|
-
* @param {?} params
|
|
4567
|
-
* @return {?}
|
|
4568
|
-
*/
|
|
4569
|
-
(params) => {
|
|
4388
|
+
.subscribe((params) => {
|
|
4570
4389
|
this.restore.next(params);
|
|
4571
|
-
})
|
|
4390
|
+
});
|
|
4572
4391
|
if (this.group) {
|
|
4573
4392
|
this._instance.group = this.group;
|
|
4574
|
-
connect(this.group);
|
|
4393
|
+
echarts.connect(this.group);
|
|
4575
4394
|
this._changeDetectorRef.markForCheck();
|
|
4576
4395
|
}
|
|
4577
4396
|
merge(fromEvent(window, 'resize').pipe(debounceTime(100)), this._widthSubject.asObservable().pipe(distinctUntilChanged()), this._heightSubject.asObservable().pipe(distinctUntilChanged()))
|
|
4578
4397
|
.pipe(takeUntil(this._destroy), debounceTime(100))
|
|
4579
|
-
.subscribe((
|
|
4580
|
-
* @return {?}
|
|
4581
|
-
*/
|
|
4582
|
-
() => {
|
|
4398
|
+
.subscribe(() => {
|
|
4583
4399
|
if (this._instance) {
|
|
4584
4400
|
this._instance.resize();
|
|
4585
4401
|
this._changeDetectorRef.markForCheck();
|
|
4586
4402
|
}
|
|
4587
|
-
})
|
|
4403
|
+
});
|
|
4588
4404
|
this._optionsService
|
|
4589
4405
|
.listen()
|
|
4590
|
-
.pipe(tap((
|
|
4591
|
-
* @param {?} options
|
|
4592
|
-
* @return {?}
|
|
4593
|
-
*/
|
|
4594
|
-
(options) => {
|
|
4406
|
+
.pipe(tap((options) => {
|
|
4595
4407
|
assignDefined(this._options, options);
|
|
4596
|
-
})
|
|
4597
|
-
.subscribe((
|
|
4598
|
-
* @return {?}
|
|
4599
|
-
*/
|
|
4600
|
-
() => {
|
|
4408
|
+
}), debounceTime(0), takeUntil(this._destroy))
|
|
4409
|
+
.subscribe(() => {
|
|
4601
4410
|
this.render();
|
|
4602
|
-
})
|
|
4411
|
+
});
|
|
4603
4412
|
timer(500, 250)
|
|
4604
4413
|
.pipe(takeUntil(this._destroy))
|
|
4605
|
-
.subscribe((
|
|
4606
|
-
* @return {?}
|
|
4607
|
-
*/
|
|
4608
|
-
() => {
|
|
4414
|
+
.subscribe(() => {
|
|
4609
4415
|
if (this._elementRef && this._elementRef.nativeElement) {
|
|
4610
|
-
this._widthSubject.next(
|
|
4611
|
-
this._heightSubject.next(
|
|
4416
|
+
this._widthSubject.next(this._elementRef.nativeElement.getBoundingClientRect().width);
|
|
4417
|
+
this._heightSubject.next(this._elementRef.nativeElement.getBoundingClientRect().height);
|
|
4612
4418
|
}
|
|
4613
|
-
})
|
|
4419
|
+
});
|
|
4614
4420
|
}
|
|
4615
|
-
/**
|
|
4616
|
-
* @private
|
|
4617
|
-
* @return {?}
|
|
4618
|
-
*/
|
|
4619
4421
|
_disposeChart() {
|
|
4620
4422
|
if (this._instance) {
|
|
4621
4423
|
this._instance.clear();
|
|
4622
|
-
dispose(this._instance);
|
|
4424
|
+
echarts.dispose(this._instance);
|
|
4623
4425
|
}
|
|
4624
4426
|
this._destroy.next(true);
|
|
4625
4427
|
}
|
|
4626
4428
|
}
|
|
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
|
-
}
|
|
4429
|
+
/** @nocollapse */ /** @nocollapse */ TdChartComponent.ɵfac = function TdChartComponent_Factory(t) { return new (t || TdChartComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(TdChartOptionsService)); };
|
|
4430
|
+
/** @nocollapse */ /** @nocollapse */ TdChartComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdChartComponent, selectors: [["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" }, features: [i0.ɵɵProvidersFeature([CHART_PROVIDER]), i0.ɵɵNgOnChangesFeature], decls: 0, vars: 0, template: function TdChartComponent_Template(rf, ctx) { }, styles: ["[_nghost-%COMP%]{display:block;width:100%}"], changeDetection: 0 });
|
|
4431
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartComponent, [{
|
|
4432
|
+
type: Component,
|
|
4433
|
+
args: [{ selector: 'td-chart', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [CHART_PROVIDER], styles: [":host{display:block;width:100%}\n"] }]
|
|
4434
|
+
}], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: TdChartOptionsService }]; }, { config: [{
|
|
4435
|
+
type: Input
|
|
4436
|
+
}], group: [{
|
|
4437
|
+
type: Input
|
|
4438
|
+
}], themeName: [{
|
|
4439
|
+
type: Input
|
|
4440
|
+
}], renderer: [{
|
|
4441
|
+
type: Input
|
|
4442
|
+
}], chartClick: [{
|
|
4443
|
+
type: Output
|
|
4444
|
+
}], chartDblclick: [{
|
|
4445
|
+
type: Output
|
|
4446
|
+
}], chartContextmenu: [{
|
|
4447
|
+
type: Output
|
|
4448
|
+
}], magicTypeChanged: [{
|
|
4449
|
+
type: Output
|
|
4450
|
+
}], dataViewChanged: [{
|
|
4451
|
+
type: Output
|
|
4452
|
+
}], datazoom: [{
|
|
4453
|
+
type: Output
|
|
4454
|
+
}], restore: [{
|
|
4455
|
+
type: Output
|
|
4456
|
+
}] }); })();
|
|
4746
4457
|
|
|
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
4458
|
class TdChartAxisDirective {
|
|
4756
|
-
/**
|
|
4757
|
-
* @param {?} _axisOption
|
|
4758
|
-
* @param {?} _optionsService
|
|
4759
|
-
*/
|
|
4760
4459
|
constructor(_axisOption, _optionsService) {
|
|
4761
4460
|
this._axisOption = _axisOption;
|
|
4762
4461
|
this._optionsService = _optionsService;
|
|
@@ -4764,30 +4463,16 @@ class TdChartAxisDirective {
|
|
|
4764
4463
|
this.config = {};
|
|
4765
4464
|
this.show = true;
|
|
4766
4465
|
}
|
|
4767
|
-
/**
|
|
4768
|
-
* @return {?}
|
|
4769
|
-
*/
|
|
4770
4466
|
ngOnInit() {
|
|
4771
4467
|
this._setOptions();
|
|
4772
4468
|
}
|
|
4773
|
-
/**
|
|
4774
|
-
* @return {?}
|
|
4775
|
-
*/
|
|
4776
4469
|
ngOnChanges() {
|
|
4777
4470
|
this._setOptions();
|
|
4778
4471
|
}
|
|
4779
|
-
/**
|
|
4780
|
-
* @return {?}
|
|
4781
|
-
*/
|
|
4782
4472
|
ngOnDestroy() {
|
|
4783
4473
|
this._removeOption();
|
|
4784
4474
|
}
|
|
4785
|
-
/**
|
|
4786
|
-
* @private
|
|
4787
|
-
* @return {?}
|
|
4788
|
-
*/
|
|
4789
4475
|
_setOptions() {
|
|
4790
|
-
/** @type {?} */
|
|
4791
4476
|
const config = assignDefined(this._state, {
|
|
4792
4477
|
id: this.id,
|
|
4793
4478
|
show: this.show,
|
|
@@ -4822,149 +4507,86 @@ class TdChartAxisDirective {
|
|
|
4822
4507
|
}, this.config ? this.config : {});
|
|
4823
4508
|
this._optionsService.setArrayOption(this._axisOption, config);
|
|
4824
4509
|
}
|
|
4825
|
-
/**
|
|
4826
|
-
* @private
|
|
4827
|
-
* @return {?}
|
|
4828
|
-
*/
|
|
4829
4510
|
_removeOption() {
|
|
4830
4511
|
this._optionsService.clearOption(this._axisOption);
|
|
4831
4512
|
}
|
|
4832
4513
|
}
|
|
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
|
-
}
|
|
4514
|
+
/** @nocollapse */ /** @nocollapse */ TdChartAxisDirective.ɵfac = function TdChartAxisDirective_Factory(t) { i0.ɵɵinvalidFactory(); };
|
|
4515
|
+
/** @nocollapse */ /** @nocollapse */ TdChartAxisDirective.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ 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" }, features: [i0.ɵɵNgOnChangesFeature] });
|
|
4516
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartAxisDirective, [{
|
|
4517
|
+
type: Directive
|
|
4518
|
+
}], function () { return [{ type: undefined }, { type: TdChartOptionsService }]; }, { config: [{
|
|
4519
|
+
type: Input
|
|
4520
|
+
}], id: [{
|
|
4521
|
+
type: Input
|
|
4522
|
+
}], show: [{
|
|
4523
|
+
type: Input
|
|
4524
|
+
}], gridIndex: [{
|
|
4525
|
+
type: Input
|
|
4526
|
+
}], offset: [{
|
|
4527
|
+
type: Input
|
|
4528
|
+
}], type: [{
|
|
4529
|
+
type: Input
|
|
4530
|
+
}], name: [{
|
|
4531
|
+
type: Input
|
|
4532
|
+
}], nameLocation: [{
|
|
4533
|
+
type: Input
|
|
4534
|
+
}], nameTextStyle: [{
|
|
4535
|
+
type: Input
|
|
4536
|
+
}], nameGap: [{
|
|
4537
|
+
type: Input
|
|
4538
|
+
}], nameRotate: [{
|
|
4539
|
+
type: Input
|
|
4540
|
+
}], inverse: [{
|
|
4541
|
+
type: Input
|
|
4542
|
+
}], boundaryGap: [{
|
|
4543
|
+
type: Input
|
|
4544
|
+
}], min: [{
|
|
4545
|
+
type: Input
|
|
4546
|
+
}], max: [{
|
|
4547
|
+
type: Input
|
|
4548
|
+
}], scale: [{
|
|
4549
|
+
type: Input
|
|
4550
|
+
}], minInterval: [{
|
|
4551
|
+
type: Input
|
|
4552
|
+
}], interval: [{
|
|
4553
|
+
type: Input
|
|
4554
|
+
}], logBase: [{
|
|
4555
|
+
type: Input
|
|
4556
|
+
}], silent: [{
|
|
4557
|
+
type: Input
|
|
4558
|
+
}], triggerEvent: [{
|
|
4559
|
+
type: Input
|
|
4560
|
+
}], axisLine: [{
|
|
4561
|
+
type: Input
|
|
4562
|
+
}], axisTick: [{
|
|
4563
|
+
type: Input
|
|
4564
|
+
}], axisLabel: [{
|
|
4565
|
+
type: Input
|
|
4566
|
+
}], splitLine: [{
|
|
4567
|
+
type: Input
|
|
4568
|
+
}], splitArea: [{
|
|
4569
|
+
type: Input
|
|
4570
|
+
}], data: [{
|
|
4571
|
+
type: Input
|
|
4572
|
+
}], axisPointer: [{
|
|
4573
|
+
type: Input
|
|
4574
|
+
}], zlevel: [{
|
|
4575
|
+
type: Input
|
|
4576
|
+
}], z: [{
|
|
4577
|
+
type: Input
|
|
4578
|
+
}] }); })();
|
|
4952
4579
|
|
|
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
4580
|
class TdChartXAxisComponent extends TdChartAxisDirective {
|
|
4959
|
-
/**
|
|
4960
|
-
* @param {?} _optionsService
|
|
4961
|
-
*/
|
|
4962
4581
|
constructor(_optionsService) {
|
|
4963
4582
|
super('xAxis', _optionsService);
|
|
4964
4583
|
}
|
|
4965
4584
|
}
|
|
4966
|
-
TdChartXAxisComponent
|
|
4967
|
-
|
|
4585
|
+
/** @nocollapse */ /** @nocollapse */ TdChartXAxisComponent.ɵfac = function TdChartXAxisComponent_Factory(t) { return new (t || TdChartXAxisComponent)(i0.ɵɵdirectiveInject(TdChartOptionsService)); };
|
|
4586
|
+
/** @nocollapse */ /** @nocollapse */ TdChartXAxisComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdChartXAxisComponent, selectors: [["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" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function TdChartXAxisComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
|
|
4587
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartXAxisComponent, [{
|
|
4588
|
+
type: Component,
|
|
4589
|
+
args: [{
|
|
4968
4590
|
selector: 'td-chart-x-axis',
|
|
4969
4591
|
template: '',
|
|
4970
4592
|
inputs: [
|
|
@@ -4999,36 +4621,22 @@ TdChartXAxisComponent.decorators = [
|
|
|
4999
4621
|
'zlevel',
|
|
5000
4622
|
'z',
|
|
5001
4623
|
],
|
|
5002
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
5003
|
-
}]
|
|
5004
|
-
];
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
{ type: TdChartOptionsService }
|
|
5008
|
-
];
|
|
5009
|
-
TdChartXAxisComponent.propDecorators = {
|
|
5010
|
-
position: [{ type: Input }]
|
|
5011
|
-
};
|
|
5012
|
-
if (false) {
|
|
5013
|
-
/** @type {?} */
|
|
5014
|
-
TdChartXAxisComponent.prototype.position;
|
|
5015
|
-
}
|
|
4624
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4625
|
+
}]
|
|
4626
|
+
}], function () { return [{ type: TdChartOptionsService }]; }, { position: [{
|
|
4627
|
+
type: Input
|
|
4628
|
+
}] }); })();
|
|
5016
4629
|
|
|
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
4630
|
class TdChartYAxisComponent extends TdChartAxisDirective {
|
|
5023
|
-
/**
|
|
5024
|
-
* @param {?} _optionsService
|
|
5025
|
-
*/
|
|
5026
4631
|
constructor(_optionsService) {
|
|
5027
4632
|
super('yAxis', _optionsService);
|
|
5028
4633
|
}
|
|
5029
4634
|
}
|
|
5030
|
-
TdChartYAxisComponent
|
|
5031
|
-
|
|
4635
|
+
/** @nocollapse */ /** @nocollapse */ TdChartYAxisComponent.ɵfac = function TdChartYAxisComponent_Factory(t) { return new (t || TdChartYAxisComponent)(i0.ɵɵdirectiveInject(TdChartOptionsService)); };
|
|
4636
|
+
/** @nocollapse */ /** @nocollapse */ TdChartYAxisComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdChartYAxisComponent, selectors: [["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" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function TdChartYAxisComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
|
|
4637
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartYAxisComponent, [{
|
|
4638
|
+
type: Component,
|
|
4639
|
+
args: [{
|
|
5032
4640
|
selector: 'td-chart-y-axis',
|
|
5033
4641
|
template: '',
|
|
5034
4642
|
inputs: [
|
|
@@ -5063,53 +4671,25 @@ TdChartYAxisComponent.decorators = [
|
|
|
5063
4671
|
'zlevel',
|
|
5064
4672
|
'z',
|
|
5065
4673
|
],
|
|
5066
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
5067
|
-
}]
|
|
5068
|
-
];
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
{ type: TdChartOptionsService }
|
|
5072
|
-
];
|
|
5073
|
-
TdChartYAxisComponent.propDecorators = {
|
|
5074
|
-
position: [{ type: Input }]
|
|
5075
|
-
};
|
|
5076
|
-
if (false) {
|
|
5077
|
-
/** @type {?} */
|
|
5078
|
-
TdChartYAxisComponent.prototype.position;
|
|
5079
|
-
}
|
|
4674
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4675
|
+
}]
|
|
4676
|
+
}], function () { return [{ type: TdChartOptionsService }]; }, { position: [{
|
|
4677
|
+
type: Input
|
|
4678
|
+
}] }); })();
|
|
5080
4679
|
|
|
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
4680
|
class TdDatasetComponent {
|
|
5087
|
-
/**
|
|
5088
|
-
* @param {?} _optionsService
|
|
5089
|
-
*/
|
|
5090
4681
|
constructor(_optionsService) {
|
|
5091
4682
|
this._optionsService = _optionsService;
|
|
5092
4683
|
this._state = {};
|
|
5093
4684
|
this.config = {};
|
|
5094
4685
|
}
|
|
5095
|
-
/**
|
|
5096
|
-
* @return {?}
|
|
5097
|
-
*/
|
|
5098
4686
|
ngOnChanges() {
|
|
5099
4687
|
this._setOptions();
|
|
5100
4688
|
}
|
|
5101
|
-
/**
|
|
5102
|
-
* @return {?}
|
|
5103
|
-
*/
|
|
5104
4689
|
ngOnDestroy() {
|
|
5105
4690
|
this._removeOption();
|
|
5106
4691
|
}
|
|
5107
|
-
/**
|
|
5108
|
-
* @private
|
|
5109
|
-
* @return {?}
|
|
5110
|
-
*/
|
|
5111
4692
|
_setOptions() {
|
|
5112
|
-
/** @type {?} */
|
|
5113
4693
|
const config = assignDefined(this._state, {
|
|
5114
4694
|
id: this.id,
|
|
5115
4695
|
source: this.source,
|
|
@@ -5119,61 +4699,31 @@ class TdDatasetComponent {
|
|
|
5119
4699
|
// set dataset configuration in parent chart and render new configurations
|
|
5120
4700
|
this._optionsService.setOption('dataset', config);
|
|
5121
4701
|
}
|
|
5122
|
-
/**
|
|
5123
|
-
* @private
|
|
5124
|
-
* @return {?}
|
|
5125
|
-
*/
|
|
5126
4702
|
_removeOption() {
|
|
5127
4703
|
this._optionsService.clearOption('dataset');
|
|
5128
4704
|
}
|
|
5129
4705
|
}
|
|
5130
|
-
TdDatasetComponent
|
|
5131
|
-
|
|
4706
|
+
/** @nocollapse */ /** @nocollapse */ TdDatasetComponent.ɵfac = function TdDatasetComponent_Factory(t) { return new (t || TdDatasetComponent)(i0.ɵɵdirectiveInject(TdChartOptionsService)); };
|
|
4707
|
+
/** @nocollapse */ /** @nocollapse */ TdDatasetComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdDatasetComponent, selectors: [["td-chart-dataset"]], inputs: { id: "id", config: "config", source: "source", dimensions: "dimensions", sourceHeader: "sourceHeader" }, features: [i0.ɵɵNgOnChangesFeature], decls: 0, vars: 0, template: function TdDatasetComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
|
|
4708
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdDatasetComponent, [{
|
|
4709
|
+
type: Component,
|
|
4710
|
+
args: [{
|
|
5132
4711
|
template: '',
|
|
5133
4712
|
selector: 'td-chart-dataset',
|
|
5134
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
5135
|
-
}]
|
|
5136
|
-
];
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
]
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
};
|
|
5148
|
-
if (false) {
|
|
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
|
-
}
|
|
4713
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4714
|
+
}]
|
|
4715
|
+
}], function () { return [{ type: TdChartOptionsService }]; }, { id: [{
|
|
4716
|
+
type: Input
|
|
4717
|
+
}], config: [{
|
|
4718
|
+
type: Input
|
|
4719
|
+
}], source: [{
|
|
4720
|
+
type: Input
|
|
4721
|
+
}], dimensions: [{
|
|
4722
|
+
type: Input
|
|
4723
|
+
}], sourceHeader: [{
|
|
4724
|
+
type: Input
|
|
4725
|
+
}] }); })();
|
|
5170
4726
|
|
|
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
4727
|
const BASE_MODULE_COMPONENTS = [
|
|
5178
4728
|
TdChartComponent,
|
|
5179
4729
|
TdChartXAxisComponent,
|
|
@@ -5183,43 +4733,26 @@ const BASE_MODULE_COMPONENTS = [
|
|
|
5183
4733
|
registerDefaultThemes();
|
|
5184
4734
|
class CovalentBaseEchartsModule {
|
|
5185
4735
|
}
|
|
5186
|
-
CovalentBaseEchartsModule
|
|
5187
|
-
|
|
4736
|
+
/** @nocollapse */ /** @nocollapse */ CovalentBaseEchartsModule.ɵfac = function CovalentBaseEchartsModule_Factory(t) { return new (t || CovalentBaseEchartsModule)(); };
|
|
4737
|
+
/** @nocollapse */ /** @nocollapse */ CovalentBaseEchartsModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CovalentBaseEchartsModule });
|
|
4738
|
+
/** @nocollapse */ /** @nocollapse */ CovalentBaseEchartsModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [[CommonModule]] });
|
|
4739
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentBaseEchartsModule, [{
|
|
4740
|
+
type: NgModule,
|
|
4741
|
+
args: [{
|
|
5188
4742
|
imports: [CommonModule],
|
|
5189
4743
|
declarations: [BASE_MODULE_COMPONENTS],
|
|
5190
4744
|
exports: [BASE_MODULE_COMPONENTS],
|
|
5191
|
-
}
|
|
5192
|
-
];
|
|
4745
|
+
}]
|
|
4746
|
+
}], null, null); })();
|
|
4747
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentBaseEchartsModule, { declarations: [TdChartComponent,
|
|
4748
|
+
TdChartXAxisComponent,
|
|
4749
|
+
TdChartYAxisComponent,
|
|
4750
|
+
TdDatasetComponent], imports: [CommonModule], exports: [TdChartComponent,
|
|
4751
|
+
TdChartXAxisComponent,
|
|
4752
|
+
TdChartYAxisComponent,
|
|
4753
|
+
TdDatasetComponent] }); })();
|
|
5193
4754
|
|
|
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
4755
|
class TdSeriesDirective {
|
|
5219
|
-
/**
|
|
5220
|
-
* @param {?} type
|
|
5221
|
-
* @param {?} optionsService
|
|
5222
|
-
*/
|
|
5223
4756
|
constructor(type, optionsService) {
|
|
5224
4757
|
this.optionsService = optionsService;
|
|
5225
4758
|
this._state = {};
|
|
@@ -5227,54 +4760,28 @@ class TdSeriesDirective {
|
|
|
5227
4760
|
this.config = {};
|
|
5228
4761
|
this._type = type;
|
|
5229
4762
|
}
|
|
5230
|
-
/**
|
|
5231
|
-
* @return {?}
|
|
5232
|
-
*/
|
|
5233
4763
|
get type() {
|
|
5234
4764
|
return this._type;
|
|
5235
4765
|
}
|
|
5236
|
-
/**
|
|
5237
|
-
* @return {?}
|
|
5238
|
-
*/
|
|
5239
4766
|
ngOnInit() {
|
|
5240
4767
|
this._setOptions();
|
|
5241
4768
|
}
|
|
5242
|
-
/**
|
|
5243
|
-
* @return {?}
|
|
5244
|
-
*/
|
|
5245
4769
|
ngOnChanges() {
|
|
5246
4770
|
this._setOptions();
|
|
5247
4771
|
}
|
|
5248
|
-
/**
|
|
5249
|
-
* @return {?}
|
|
5250
|
-
*/
|
|
5251
4772
|
ngOnDestroy() {
|
|
5252
4773
|
this._removeOption();
|
|
5253
4774
|
}
|
|
5254
|
-
/**
|
|
5255
|
-
* @param {?} option
|
|
5256
|
-
* @param {?} value
|
|
5257
|
-
* @return {?}
|
|
5258
|
-
*/
|
|
5259
4775
|
setStateOption(option, value) {
|
|
5260
4776
|
this._options[option] = value;
|
|
5261
4777
|
this._setOptions();
|
|
5262
4778
|
}
|
|
5263
|
-
/**
|
|
5264
|
-
* @param {?} option
|
|
5265
|
-
* @return {?}
|
|
5266
|
-
*/
|
|
5267
4779
|
removeStateOption(option) {
|
|
5268
4780
|
/* tslint:disable-next-line */
|
|
5269
4781
|
this._options[option] = null;
|
|
5270
4782
|
this._setOptions();
|
|
5271
4783
|
}
|
|
5272
|
-
/**
|
|
5273
|
-
* @private
|
|
5274
|
-
* @return {?}
|
|
5275
|
-
*/
|
|
5276
4784
|
_setOptions() {
|
|
5277
|
-
/** @type {?} */
|
|
5278
4785
|
const config = assignDefined(this._state, {
|
|
5279
4786
|
id: this.id,
|
|
5280
4787
|
type: this.type,
|
|
@@ -5293,105 +4800,47 @@ class TdSeriesDirective {
|
|
|
5293
4800
|
}, this.getConfig(), this._options, this.config ? this.config : {});
|
|
5294
4801
|
this.optionsService.setArrayOption('series', config);
|
|
5295
4802
|
}
|
|
5296
|
-
/**
|
|
5297
|
-
* @private
|
|
5298
|
-
* @return {?}
|
|
5299
|
-
*/
|
|
5300
4803
|
_removeOption() {
|
|
5301
4804
|
this.optionsService.removeArrayOption('series', this._state);
|
|
5302
4805
|
}
|
|
5303
4806
|
}
|
|
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
|
-
*/
|
|
4807
|
+
/** @nocollapse */ /** @nocollapse */ TdSeriesDirective.ɵfac = function TdSeriesDirective_Factory(t) { i0.ɵɵinvalidFactory(); };
|
|
4808
|
+
/** @nocollapse */ /** @nocollapse */ TdSeriesDirective.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ 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" }, features: [i0.ɵɵNgOnChangesFeature] });
|
|
4809
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdSeriesDirective, [{
|
|
4810
|
+
type: Directive
|
|
4811
|
+
}], function () { return [{ type: undefined }, { type: TdChartOptionsService }]; }, { config: [{
|
|
4812
|
+
type: Input
|
|
4813
|
+
}], id: [{
|
|
4814
|
+
type: Input
|
|
4815
|
+
}], name: [{
|
|
4816
|
+
type: Input
|
|
4817
|
+
}], color: [{
|
|
4818
|
+
type: Input
|
|
4819
|
+
}], data: [{
|
|
4820
|
+
type: Input
|
|
4821
|
+
}], animation: [{
|
|
4822
|
+
type: Input
|
|
4823
|
+
}], animationThreshold: [{
|
|
4824
|
+
type: Input
|
|
4825
|
+
}], animationDuration: [{
|
|
4826
|
+
type: Input
|
|
4827
|
+
}], animationEasing: [{
|
|
4828
|
+
type: Input
|
|
4829
|
+
}], animationDelay: [{
|
|
4830
|
+
type: Input
|
|
4831
|
+
}], animationDurationUpdate: [{
|
|
4832
|
+
type: Input
|
|
4833
|
+
}], animationEasingUpdate: [{
|
|
4834
|
+
type: Input
|
|
4835
|
+
}], animationDelayUpdate: [{
|
|
4836
|
+
type: Input
|
|
4837
|
+
}], tooltip: [{
|
|
4838
|
+
type: Input
|
|
4839
|
+
}] }); })();
|
|
5389
4840
|
|
|
5390
4841
|
/**
|
|
5391
|
-
*
|
|
5392
|
-
* Generated from: covalent-echarts-base.ts
|
|
5393
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4842
|
+
* Generated bundle index. Do not edit.
|
|
5394
4843
|
*/
|
|
5395
4844
|
|
|
5396
|
-
export { BASE_MODULE_COMPONENTS, CovalentBaseEchartsModule, TdChartAxisDirective, TdChartComponent, TdChartOptionsService, TdChartXAxisComponent, TdChartYAxisComponent, TdDatasetComponent, TdSeriesDirective, assignDefined, getThemes, registerDefaultThemes, registerTheme
|
|
5397
|
-
//# sourceMappingURL=covalent-echarts-base.
|
|
4845
|
+
export { BASE_MODULE_COMPONENTS, CovalentBaseEchartsModule, TdChartAxisDirective, TdChartComponent, TdChartOptionsService, TdChartXAxisComponent, TdChartYAxisComponent, TdDatasetComponent, TdSeriesDirective, assignDefined, getThemes, registerDefaultThemes, registerTheme };
|
|
4846
|
+
//# sourceMappingURL=covalent-echarts-base.mjs.map
|