@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
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { forwardRef, Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import * as i1 from '@covalent/echarts/base';
|
|
5
|
+
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
6
|
+
|
|
7
|
+
const _c0 = ["td-tree", ""];
|
|
8
|
+
class TdChartSeriesTreeComponent extends TdSeriesDirective {
|
|
9
|
+
constructor(_optionsService) {
|
|
10
|
+
super('tree', _optionsService);
|
|
11
|
+
}
|
|
12
|
+
getConfig() {
|
|
13
|
+
return {
|
|
14
|
+
zlevel: this.zlevel,
|
|
15
|
+
z: this.z,
|
|
16
|
+
left: this.left,
|
|
17
|
+
top: this.top,
|
|
18
|
+
right: this.right,
|
|
19
|
+
bottom: this.bottom,
|
|
20
|
+
width: this.width,
|
|
21
|
+
height: this.height,
|
|
22
|
+
layout: this.layout,
|
|
23
|
+
orient: this.orient,
|
|
24
|
+
symbol: this.symbol,
|
|
25
|
+
symbolSize: this.symbolSize,
|
|
26
|
+
symbolRotate: this.symbolRotate,
|
|
27
|
+
symbolKeepAspect: this.symbolKeepAspect,
|
|
28
|
+
roam: this.roam,
|
|
29
|
+
expandAndCollapse: this.expandAndCollapse,
|
|
30
|
+
initialTreeDepth: this.initialTreeDepth,
|
|
31
|
+
itemStyle: this.itemStyle,
|
|
32
|
+
label: this.label,
|
|
33
|
+
lineStyle: this.lineStyle,
|
|
34
|
+
leaves: this.leaves,
|
|
35
|
+
emphasis: this.emphasis,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
/** @nocollapse */ /** @nocollapse */ TdChartSeriesTreeComponent.ɵfac = function TdChartSeriesTreeComponent_Factory(t) { return new (t || TdChartSeriesTreeComponent)(i0.ɵɵdirectiveInject(i1.TdChartOptionsService)); };
|
|
40
|
+
/** @nocollapse */ /** @nocollapse */ TdChartSeriesTreeComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdChartSeriesTreeComponent, selectors: [["td-chart-series", "td-tree", ""]], inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", zlevel: "zlevel", z: "z", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height", layout: "layout", orient: "orient", symbol: "symbol", symbolSize: "symbolSize", symbolRotate: "symbolRotate", symbolKeepAspect: "symbolKeepAspect", roam: "roam", expandAndCollapse: "expandAndCollapse", initialTreeDepth: "initialTreeDepth", itemStyle: "itemStyle", label: "label", lineStyle: "lineStyle", leaves: "leaves", emphasis: "emphasis" }, features: [i0.ɵɵProvidersFeature([
|
|
41
|
+
{
|
|
42
|
+
provide: TdSeriesDirective,
|
|
43
|
+
useExisting: forwardRef((() => TdChartSeriesTreeComponent)),
|
|
44
|
+
},
|
|
45
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 0, vars: 0, template: function TdChartSeriesTreeComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
|
|
46
|
+
(function () {
|
|
47
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartSeriesTreeComponent, [{
|
|
48
|
+
type: Component,
|
|
49
|
+
args: [{
|
|
50
|
+
selector: 'td-chart-series[td-tree]',
|
|
51
|
+
template: '',
|
|
52
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
53
|
+
inputs: [
|
|
54
|
+
'config',
|
|
55
|
+
'id',
|
|
56
|
+
'name',
|
|
57
|
+
'color',
|
|
58
|
+
'data',
|
|
59
|
+
'animation',
|
|
60
|
+
'animationThreshold',
|
|
61
|
+
'animationDuration',
|
|
62
|
+
'animationEasing',
|
|
63
|
+
'animationDelay',
|
|
64
|
+
'animationDurationUpdate',
|
|
65
|
+
'animationEasingUpdate',
|
|
66
|
+
'animationDelayUpdate',
|
|
67
|
+
'tooltip',
|
|
68
|
+
],
|
|
69
|
+
providers: [
|
|
70
|
+
{
|
|
71
|
+
provide: TdSeriesDirective,
|
|
72
|
+
useExisting: forwardRef((() => TdChartSeriesTreeComponent)),
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
}]
|
|
76
|
+
}], function () { return [{ type: i1.TdChartOptionsService }]; }, { zlevel: [{
|
|
77
|
+
type: Input
|
|
78
|
+
}], z: [{
|
|
79
|
+
type: Input
|
|
80
|
+
}], left: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}], top: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}], right: [{
|
|
85
|
+
type: Input
|
|
86
|
+
}], bottom: [{
|
|
87
|
+
type: Input
|
|
88
|
+
}], width: [{
|
|
89
|
+
type: Input
|
|
90
|
+
}], height: [{
|
|
91
|
+
type: Input
|
|
92
|
+
}], layout: [{
|
|
93
|
+
type: Input
|
|
94
|
+
}], orient: [{
|
|
95
|
+
type: Input
|
|
96
|
+
}], symbol: [{
|
|
97
|
+
type: Input
|
|
98
|
+
}], symbolSize: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], symbolRotate: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], symbolKeepAspect: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}], roam: [{
|
|
105
|
+
type: Input
|
|
106
|
+
}], expandAndCollapse: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}], initialTreeDepth: [{
|
|
109
|
+
type: Input
|
|
110
|
+
}], itemStyle: [{
|
|
111
|
+
type: Input
|
|
112
|
+
}], label: [{
|
|
113
|
+
type: Input
|
|
114
|
+
}], lineStyle: [{
|
|
115
|
+
type: Input
|
|
116
|
+
}], leaves: [{
|
|
117
|
+
type: Input
|
|
118
|
+
}], emphasis: [{
|
|
119
|
+
type: Input
|
|
120
|
+
}] });
|
|
121
|
+
})();
|
|
122
|
+
|
|
123
|
+
const TREE_MODULE_COMPONENTS = [TdChartSeriesTreeComponent];
|
|
124
|
+
class CovalentTreeEchartsModule {
|
|
125
|
+
}
|
|
126
|
+
/** @nocollapse */ /** @nocollapse */ CovalentTreeEchartsModule.ɵfac = function CovalentTreeEchartsModule_Factory(t) { return new (t || CovalentTreeEchartsModule)(); };
|
|
127
|
+
/** @nocollapse */ /** @nocollapse */ CovalentTreeEchartsModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CovalentTreeEchartsModule });
|
|
128
|
+
/** @nocollapse */ /** @nocollapse */ CovalentTreeEchartsModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [[CommonModule]] });
|
|
129
|
+
(function () {
|
|
130
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentTreeEchartsModule, [{
|
|
131
|
+
type: NgModule,
|
|
132
|
+
args: [{
|
|
133
|
+
imports: [CommonModule],
|
|
134
|
+
declarations: [TREE_MODULE_COMPONENTS],
|
|
135
|
+
exports: [TREE_MODULE_COMPONENTS],
|
|
136
|
+
}]
|
|
137
|
+
}], null, null);
|
|
138
|
+
})();
|
|
139
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentTreeEchartsModule, { declarations: [TdChartSeriesTreeComponent], imports: [CommonModule], exports: [TdChartSeriesTreeComponent] }); })();
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Generated bundle index. Do not edit.
|
|
143
|
+
*/
|
|
144
|
+
|
|
145
|
+
export { CovalentTreeEchartsModule, TREE_MODULE_COMPONENTS, TdChartSeriesTreeComponent };
|
|
146
|
+
//# sourceMappingURL=covalent-echarts-tree.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"covalent-echarts-tree.mjs","sources":["../../../../src/platform/echarts/tree/tree.component.ts","../../../../src/platform/echarts/tree/tree.module.ts","../../../../src/platform/echarts/tree/covalent-echarts-tree.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\n ITdSeriesTooltip,\n TdMarkPointSymbol,\n ITdLabel,\n ITdLineStyle,\n ITdSeries,\n TdSeriesDirective,\n ITdEmphasis,\n ITdShadow,\n} from '@covalent/echarts/base';\n\n/**\n * ECHART OPTION DOCS\n * https://ecomfe.github.io/echarts-doc/public/en/option.html#series-tree\n *\n */\n\n/**\n * LR - from left to right\n * RL - from right to left\n * TB - from top to bottom\n * BT - from bottom to top\n */\nexport type TdTreeOrient = 'LR' | 'RL' | 'TB' | 'BT';\n\nexport type TdTreeLayout = 'orthogonal' | 'radial';\n\nexport interface ITdTreeEmphasisLineStyle extends ITdShadow {\n color?: any;\n width?: number;\n curveness?: number;\n}\n\nexport interface ITdTreeEmphasis extends ITdEmphasis {\n lineStyle: ITdTreeEmphasisLineStyle;\n}\n\nexport interface ITdTreeLeaves {\n label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n emphasis: ITdEmphasis;\n}\n\ninterface ITdTreeSeries extends ITdSeries {\n zlevel?: number;\n z?: number;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n width?: string | number;\n height?: string | number;\n layout?: TdTreeLayout;\n orient?: TdTreeOrient;\n symbol?: TdMarkPointSymbol | string; // string added for custom SVG, URL or dataURI\n symbolSize?: number;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n roam?: boolean | string;\n expandAndCollapse?: boolean;\n initialTreeDepth?: number;\n itemStyle?: ITdItemStyle;\n label?: ITdLabel;\n lineStyle?: ITdLineStyle;\n leaves?: ITdTreeLeaves;\n emphasis?: ITdTreeEmphasis;\n data: any[];\n}\n\n@Component({\n selector: 'td-chart-series[td-tree]',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: [\n 'config',\n 'id',\n 'name',\n 'color',\n 'data',\n\n 'animation',\n 'animationThreshold',\n 'animationDuration',\n 'animationEasing',\n 'animationDelay',\n 'animationDurationUpdate',\n 'animationEasingUpdate',\n 'animationDelayUpdate',\n 'tooltip',\n ],\n providers: [\n {\n provide: TdSeriesDirective,\n useExisting: forwardRef(() => TdChartSeriesTreeComponent),\n },\n ],\n})\nexport class TdChartSeriesTreeComponent extends TdSeriesDirective implements ITdTreeSeries {\n @Input() zlevel: number;\n @Input() z: number;\n @Input() left: string | number;\n @Input() top: string | number;\n @Input() right: string | number;\n @Input() bottom: string | number;\n @Input() width: string | number;\n @Input() height: string | number;\n @Input() layout: TdTreeLayout;\n @Input() orient: TdTreeOrient;\n @Input() symbol: TdMarkPointSymbol | string; // string added for custom SVG, URL or dataURI\n @Input() symbolSize: number; // string added for custom SVG, URL or dataURI\n @Input() symbolRotate: number;\n @Input() symbolKeepAspect: boolean;\n @Input() roam: boolean | string;\n @Input() expandAndCollapse: boolean;\n @Input() initialTreeDepth: number;\n @Input() itemStyle: ITdItemStyle;\n @Input() label: ITdLabel;\n @Input() lineStyle: ITdLineStyle;\n @Input() leaves: ITdTreeLeaves;\n @Input() emphasis: ITdTreeEmphasis;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('tree', _optionsService);\n }\n\n getConfig(): any {\n return {\n zlevel: this.zlevel,\n z: this.z,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n width: this.width,\n height: this.height,\n layout: this.layout,\n orient: this.orient,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n roam: this.roam,\n expandAndCollapse: this.expandAndCollapse,\n initialTreeDepth: this.initialTreeDepth,\n itemStyle: this.itemStyle,\n label: this.label,\n lineStyle: this.lineStyle,\n leaves: this.leaves,\n emphasis: this.emphasis,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesTreeComponent } from './tree.component';\n\nexport const TREE_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesTreeComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TREE_MODULE_COMPONENTS],\n exports: [TREE_MODULE_COMPONENTS],\n})\nexport class CovalentTreeEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAsGa,mCAAmC,iBAAiB;IAwB/D,YAAY,eAAsC;QAChD,KAAK,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;KAChC;IAED,SAAS;QACP,OAAO;YACL,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,CAAC,EAAE,IAAI,CAAC,CAAC;YACT,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,GAAG,EAAE,IAAI,CAAC,GAAG;YACb,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;YACzC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;SACxB,CAAC;KACH;;0IArDU,0BAA0B;+HAA1B,0BAA0B,88BAP1B;YACT;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,UAAU,EAAC,MAAM,0BAA0B,EAAC;aAC1D;SACF;;4EAEU,0BAA0B;kBA5BtC,SAAS;mBAAC;oBACT,QAAQ,EAAE,0BAA0B;oBACpC,QAAQ,EAAE,EAAE;oBACZ,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,MAAM,EAAE;wBACN,QAAQ;wBACR,IAAI;wBACJ,MAAM;wBACN,OAAO;wBACP,MAAM;wBAEN,WAAW;wBACX,oBAAoB;wBACpB,mBAAmB;wBACnB,iBAAiB;wBACjB,gBAAgB;wBAChB,yBAAyB;wBACzB,uBAAuB;wBACvB,sBAAsB;wBACtB,SAAS;qBACV;oBACD,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,EAAC,gCAAgC,EAAC;yBAC1D;qBACF;iBACF;4EAEU,MAAM;sBAAd,KAAK;gBACG,CAAC;sBAAT,KAAK;gBACG,IAAI;sBAAZ,KAAK;gBACG,GAAG;sBAAX,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,UAAU;sBAAlB,KAAK;gBACG,YAAY;sBAApB,KAAK;gBACG,gBAAgB;sBAAxB,KAAK;gBACG,IAAI;sBAAZ,KAAK;gBACG,iBAAiB;sBAAzB,KAAK;gBACG,gBAAgB;sBAAxB,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,QAAQ;sBAAhB,KAAK;;;;MCvHK,sBAAsB,GAAgB,CAAC,0BAA0B,EAAE;MAOnE,yBAAyB;;wIAAzB,yBAAyB;6HAAzB,yBAAyB;iIAJ3B,CAAC,YAAY,CAAC;;4EAIZ,yBAAyB;kBALrC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,sBAAsB,CAAC;oBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;iBAClC;;;wFACY,yBAAyB,mBAPc,0BAA0B,aAGlE,YAAY,aAH4B,0BAA0B;;ACL9E;;;;;;"}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { forwardRef, Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import * as i1 from '@covalent/echarts/base';
|
|
5
|
+
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
6
|
+
|
|
7
|
+
const _c0 = ["td-treemap", ""];
|
|
8
|
+
class TdChartSeriesTreemapComponent extends TdSeriesDirective {
|
|
9
|
+
constructor(_optionsService) {
|
|
10
|
+
super('treemap', _optionsService);
|
|
11
|
+
this.config = {};
|
|
12
|
+
}
|
|
13
|
+
getConfig() {
|
|
14
|
+
return {
|
|
15
|
+
zlevel: this.zlevel,
|
|
16
|
+
z: this.z,
|
|
17
|
+
left: this.left,
|
|
18
|
+
top: this.top,
|
|
19
|
+
right: this.right,
|
|
20
|
+
bottom: this.bottom,
|
|
21
|
+
width: this.width,
|
|
22
|
+
height: this.height,
|
|
23
|
+
squareRatio: this.squareRatio,
|
|
24
|
+
leafDepth: this.leafDepth,
|
|
25
|
+
drillDownIcon: this.drillDownIcon,
|
|
26
|
+
roam: this.roam,
|
|
27
|
+
nodeClick: this.nodeClick,
|
|
28
|
+
zoomToNodeRatio: this.zoomToNodeRatio,
|
|
29
|
+
levels: this.levels,
|
|
30
|
+
silent: this.silent,
|
|
31
|
+
visualDimension: this.visualDimension,
|
|
32
|
+
visualMin: this.visualMin,
|
|
33
|
+
visualMax: this.visualMax,
|
|
34
|
+
colorAlpha: this.colorAlpha,
|
|
35
|
+
colorSaturation: this.colorSaturation,
|
|
36
|
+
colorMappingBy: this.colorMappingBy,
|
|
37
|
+
visibleMin: this.visibleMin,
|
|
38
|
+
childrenVisibleMin: this.childrenVisibleMin,
|
|
39
|
+
itemStyle: this.itemStyle,
|
|
40
|
+
label: this.label,
|
|
41
|
+
upperLabel: this.upperLabel,
|
|
42
|
+
breadcrumb: this.breadcrumb,
|
|
43
|
+
emphasis: this.emphasis,
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
/** @nocollapse */ /** @nocollapse */ TdChartSeriesTreemapComponent.ɵfac = function TdChartSeriesTreemapComponent_Factory(t) { return new (t || TdChartSeriesTreemapComponent)(i0.ɵɵdirectiveInject(i1.TdChartOptionsService)); };
|
|
48
|
+
/** @nocollapse */ /** @nocollapse */ TdChartSeriesTreemapComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdChartSeriesTreemapComponent, selectors: [["td-chart-series", "td-treemap", ""]], inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", zlevel: "zlevel", z: "z", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height", squareRatio: "squareRatio", leafDepth: "leafDepth", drillDownIcon: "drillDownIcon", roam: "roam", nodeClick: "nodeClick", zoomToNodeRatio: "zoomToNodeRatio", levels: "levels", silent: "silent", visualDimension: "visualDimension", visualMin: "visualMin", visualMax: "visualMax", colorAlpha: "colorAlpha", colorSaturation: "colorSaturation", colorMappingBy: "colorMappingBy", visibleMin: "visibleMin", childrenVisibleMin: "childrenVisibleMin", itemStyle: "itemStyle", label: "label", upperLabel: "upperLabel", breadcrumb: "breadcrumb", emphasis: "emphasis" }, features: [i0.ɵɵProvidersFeature([
|
|
49
|
+
{
|
|
50
|
+
provide: TdSeriesDirective,
|
|
51
|
+
useExisting: forwardRef((() => TdChartSeriesTreemapComponent)),
|
|
52
|
+
},
|
|
53
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 0, vars: 0, template: function TdChartSeriesTreemapComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
|
|
54
|
+
(function () {
|
|
55
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartSeriesTreemapComponent, [{
|
|
56
|
+
type: Component,
|
|
57
|
+
args: [{
|
|
58
|
+
selector: 'td-chart-series[td-treemap]',
|
|
59
|
+
template: '',
|
|
60
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
61
|
+
inputs: [
|
|
62
|
+
'config',
|
|
63
|
+
'id',
|
|
64
|
+
'name',
|
|
65
|
+
'color',
|
|
66
|
+
'data',
|
|
67
|
+
'animation',
|
|
68
|
+
'animationThreshold',
|
|
69
|
+
'animationDuration',
|
|
70
|
+
'animationEasing',
|
|
71
|
+
'animationDelay',
|
|
72
|
+
'animationDurationUpdate',
|
|
73
|
+
'animationEasingUpdate',
|
|
74
|
+
'animationDelayUpdate',
|
|
75
|
+
'tooltip',
|
|
76
|
+
],
|
|
77
|
+
providers: [
|
|
78
|
+
{
|
|
79
|
+
provide: TdSeriesDirective,
|
|
80
|
+
useExisting: forwardRef((() => TdChartSeriesTreemapComponent)),
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
}]
|
|
84
|
+
}], function () { return [{ type: i1.TdChartOptionsService }]; }, { config: [{
|
|
85
|
+
type: Input
|
|
86
|
+
}], id: [{
|
|
87
|
+
type: Input
|
|
88
|
+
}], name: [{
|
|
89
|
+
type: Input
|
|
90
|
+
}], data: [{
|
|
91
|
+
type: Input
|
|
92
|
+
}], zlevel: [{
|
|
93
|
+
type: Input
|
|
94
|
+
}], z: [{
|
|
95
|
+
type: Input
|
|
96
|
+
}], left: [{
|
|
97
|
+
type: Input
|
|
98
|
+
}], top: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], right: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], bottom: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}], width: [{
|
|
105
|
+
type: Input
|
|
106
|
+
}], height: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}], squareRatio: [{
|
|
109
|
+
type: Input
|
|
110
|
+
}], leafDepth: [{
|
|
111
|
+
type: Input
|
|
112
|
+
}], drillDownIcon: [{
|
|
113
|
+
type: Input
|
|
114
|
+
}], roam: [{
|
|
115
|
+
type: Input
|
|
116
|
+
}], nodeClick: [{
|
|
117
|
+
type: Input
|
|
118
|
+
}], zoomToNodeRatio: [{
|
|
119
|
+
type: Input
|
|
120
|
+
}], levels: [{
|
|
121
|
+
type: Input
|
|
122
|
+
}], silent: [{
|
|
123
|
+
type: Input
|
|
124
|
+
}], visualDimension: [{
|
|
125
|
+
type: Input
|
|
126
|
+
}], visualMin: [{
|
|
127
|
+
type: Input
|
|
128
|
+
}], visualMax: [{
|
|
129
|
+
type: Input
|
|
130
|
+
}], colorAlpha: [{
|
|
131
|
+
type: Input
|
|
132
|
+
}], colorSaturation: [{
|
|
133
|
+
type: Input
|
|
134
|
+
}], colorMappingBy: [{
|
|
135
|
+
type: Input
|
|
136
|
+
}], visibleMin: [{
|
|
137
|
+
type: Input
|
|
138
|
+
}], childrenVisibleMin: [{
|
|
139
|
+
type: Input
|
|
140
|
+
}], itemStyle: [{
|
|
141
|
+
type: Input
|
|
142
|
+
}], label: [{
|
|
143
|
+
type: Input
|
|
144
|
+
}], upperLabel: [{
|
|
145
|
+
type: Input
|
|
146
|
+
}], breadcrumb: [{
|
|
147
|
+
type: Input
|
|
148
|
+
}], emphasis: [{
|
|
149
|
+
type: Input
|
|
150
|
+
}], tooltip: [{
|
|
151
|
+
type: Input
|
|
152
|
+
}] });
|
|
153
|
+
})();
|
|
154
|
+
|
|
155
|
+
const TREEMAP_MODULE_COMPONENTS = [TdChartSeriesTreemapComponent];
|
|
156
|
+
class CovalentTreemapEchartsModule {
|
|
157
|
+
}
|
|
158
|
+
/** @nocollapse */ /** @nocollapse */ CovalentTreemapEchartsModule.ɵfac = function CovalentTreemapEchartsModule_Factory(t) { return new (t || CovalentTreemapEchartsModule)(); };
|
|
159
|
+
/** @nocollapse */ /** @nocollapse */ CovalentTreemapEchartsModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CovalentTreemapEchartsModule });
|
|
160
|
+
/** @nocollapse */ /** @nocollapse */ CovalentTreemapEchartsModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [[CommonModule]] });
|
|
161
|
+
(function () {
|
|
162
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentTreemapEchartsModule, [{
|
|
163
|
+
type: NgModule,
|
|
164
|
+
args: [{
|
|
165
|
+
imports: [CommonModule],
|
|
166
|
+
declarations: [TREEMAP_MODULE_COMPONENTS],
|
|
167
|
+
exports: [TREEMAP_MODULE_COMPONENTS],
|
|
168
|
+
}]
|
|
169
|
+
}], null, null);
|
|
170
|
+
})();
|
|
171
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentTreemapEchartsModule, { declarations: [TdChartSeriesTreemapComponent], imports: [CommonModule], exports: [TdChartSeriesTreemapComponent] }); })();
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Generated bundle index. Do not edit.
|
|
175
|
+
*/
|
|
176
|
+
|
|
177
|
+
export { CovalentTreemapEchartsModule, TREEMAP_MODULE_COMPONENTS, TdChartSeriesTreemapComponent };
|
|
178
|
+
//# sourceMappingURL=covalent-echarts-treemap.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"covalent-echarts-treemap.mjs","sources":["../../../../src/platform/echarts/treemap/treemap.component.ts","../../../../src/platform/echarts/treemap/treemap.module.ts","../../../../src/platform/echarts/treemap/covalent-echarts-treemap.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\n ITdSeriesTooltip,\n ITdLabel,\n ITdSeries,\n TdSeriesDirective,\n ITdEmphasis,\n ITdShadow,\n} from '@covalent/echarts/base';\n\n/**\n * ECHART OPTION DOCS\n * https://ecomfe.github.io/echarts-examples/public/index.html#chart-type-treemap\n *\n */\n\nexport interface ITdTreemapEmphasisLineStyle extends ITdShadow {\n color?: any;\n width?: number;\n curveness?: number;\n}\n\nexport interface ITdTreemapEmphasis extends ITdEmphasis {\n lineStyle: ITdTreemapEmphasisLineStyle;\n}\n\nexport interface ITdTreemapUpperLabel {\n show?: boolean;\n position?: string | any[];\n distance?: string | number;\n rotate?: string | number;\n offset?: any[];\n formatter?: string;\n color?: any;\n fontStyle?: string;\n fontWeight?: string;\n fontFamily?: string;\n fontSize?: string | number;\n align?: string;\n verticalAlign?: string;\n lineHeight?: string | number;\n backgroundColor?: any;\n borderColor?: string;\n borderWidth?: string | number;\n borderRadius?: string | number;\n padding?: number | any[];\n shadowColor?: string;\n shadowBlur?: string | number;\n shadowOffsetX?: string | number;\n shadowOffsetY?: string | number;\n width?: string | number;\n height?: string | number;\n textBorderColor?: string;\n textBorderWidth?: string | number;\n textShadowColor?: string;\n textShadowBlur?: string | number;\n textShadowOffsetX?: string | number;\n textShadowOffsetY?: string | number;\n rich: any;\n ellipsis: any;\n}\n\nexport interface ITdTreemapBreadcrumb {\n show?: boolean;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n height?: string | number;\n emptyItemWidth?: string | number;\n itemStyle?: ITdItemStyle;\n emphasis?: ITdTreemapEmphasis;\n}\n\ninterface ITdTreemapSeries extends ITdSeries {\n zlevel?: number;\n z?: number;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n width?: string | number;\n height?: string | number;\n squareRatio?: string | number;\n leafDepth?: string | number;\n drillDownIcon?: string;\n roam?: boolean | string;\n nodeClick?: boolean | string;\n zoomToNodeRatio?: string | number;\n levels?: any[];\n silent?: boolean;\n visualDimension?: string | number;\n visualMin?: string | number;\n visualMax?: string | number;\n colorAlpha?: any[];\n colorSaturation?: string | number;\n colorMappingBy?: string;\n visibleMin?: string | number;\n childrenVisibleMin?: string | number;\n itemStyle?: ITdItemStyle;\n label?: ITdLabel;\n upperLabel?: ITdTreemapUpperLabel;\n breadcrumb?: ITdTreemapBreadcrumb;\n emphasis?: ITdTreemapEmphasis;\n data: any[];\n}\n\n@Component({\n selector: 'td-chart-series[td-treemap]',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: [\n 'config',\n 'id',\n 'name',\n 'color',\n 'data',\n\n 'animation',\n 'animationThreshold',\n 'animationDuration',\n 'animationEasing',\n 'animationDelay',\n 'animationDurationUpdate',\n 'animationEasingUpdate',\n 'animationDelayUpdate',\n 'tooltip',\n ],\n providers: [\n {\n provide: TdSeriesDirective,\n useExisting: forwardRef(() => TdChartSeriesTreemapComponent),\n },\n ],\n})\nexport class TdChartSeriesTreemapComponent extends TdSeriesDirective implements ITdTreemapSeries {\n @Input() config: any = {};\n @Input() id: string;\n @Input() name: string;\n @Input() data: any;\n @Input() zlevel: number;\n @Input() z: number;\n @Input() left: string | number;\n @Input() top: string | number;\n @Input() right: string | number;\n @Input() bottom: string | number;\n @Input() width: string | number;\n @Input() height: string | number;\n @Input() squareRatio: string | number;\n @Input() leafDepth: string | number;\n @Input() drillDownIcon: string;\n @Input() roam: boolean | string;\n @Input() nodeClick: boolean | string;\n @Input() zoomToNodeRatio: string | number;\n @Input() levels: any[];\n @Input() silent: boolean;\n @Input() visualDimension: string | number;\n @Input() visualMin: string | number;\n @Input() visualMax: string | number;\n @Input() colorAlpha: any[];\n @Input() colorSaturation: string | number;\n @Input() colorMappingBy: string;\n @Input() visibleMin: string | number;\n @Input() childrenVisibleMin: string | number;\n @Input() itemStyle: ITdItemStyle;\n @Input() label: ITdLabel;\n @Input() upperLabel: ITdTreemapUpperLabel;\n @Input() breadcrumb: ITdTreemapBreadcrumb;\n @Input() emphasis: ITdTreemapEmphasis;\n @Input() tooltip: ITdSeriesTooltip;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('treemap', _optionsService);\n }\n\n getConfig(): any {\n return {\n zlevel: this.zlevel,\n z: this.z,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n width: this.width,\n height: this.height,\n squareRatio: this.squareRatio,\n leafDepth: this.leafDepth,\n drillDownIcon: this.drillDownIcon,\n roam: this.roam,\n nodeClick: this.nodeClick,\n zoomToNodeRatio: this.zoomToNodeRatio,\n levels: this.levels,\n silent: this.silent,\n visualDimension: this.visualDimension,\n visualMin: this.visualMin,\n visualMax: this.visualMax,\n colorAlpha: this.colorAlpha,\n colorSaturation: this.colorSaturation,\n colorMappingBy: this.colorMappingBy,\n visibleMin: this.visibleMin,\n childrenVisibleMin: this.childrenVisibleMin,\n itemStyle: this.itemStyle,\n label: this.label,\n upperLabel: this.upperLabel,\n breadcrumb: this.breadcrumb,\n emphasis: this.emphasis,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesTreemapComponent } from './treemap.component';\n\nexport const TREEMAP_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesTreemapComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TREEMAP_MODULE_COMPONENTS],\n exports: [TREEMAP_MODULE_COMPONENTS],\n})\nexport class CovalentTreemapEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { forwardRef, Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import * as i1 from '@covalent/echarts/base';
|
|
5
|
+
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
6
|
+
|
|
7
|
+
const _c0 = ["td-wordCloud", ""];
|
|
8
|
+
class TdChartSeriesWordcloudComponent extends TdSeriesDirective {
|
|
9
|
+
constructor(_optionsService) {
|
|
10
|
+
super('wordCloud', _optionsService);
|
|
11
|
+
}
|
|
12
|
+
getConfig() {
|
|
13
|
+
return {
|
|
14
|
+
shape: this.shape,
|
|
15
|
+
left: this.left,
|
|
16
|
+
top: this.top,
|
|
17
|
+
width: this.width,
|
|
18
|
+
height: this.height,
|
|
19
|
+
right: this.right,
|
|
20
|
+
bottom: this.bottom,
|
|
21
|
+
sizeRange: this.sizeRange,
|
|
22
|
+
rotationRange: this.rotationRange,
|
|
23
|
+
rotationStep: this.rotationStep,
|
|
24
|
+
gridSize: this.gridSize,
|
|
25
|
+
drawOutOfBound: this.drawOutOfBound,
|
|
26
|
+
textStyle: this.textStyle,
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
/** @nocollapse */ /** @nocollapse */ TdChartSeriesWordcloudComponent.ɵfac = function TdChartSeriesWordcloudComponent_Factory(t) { return new (t || TdChartSeriesWordcloudComponent)(i0.ɵɵdirectiveInject(i1.TdChartOptionsService)); };
|
|
31
|
+
/** @nocollapse */ /** @nocollapse */ TdChartSeriesWordcloudComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdChartSeriesWordcloudComponent, selectors: [["td-chart-series", "td-wordCloud", ""]], inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", shape: "shape", left: "left", top: "top", width: "width", height: "height", right: "right", bottom: "bottom", sizeRange: "sizeRange", rotationRange: "rotationRange", rotationStep: "rotationStep", gridSize: "gridSize", drawOutOfBound: "drawOutOfBound", textStyle: "textStyle" }, features: [i0.ɵɵProvidersFeature([
|
|
32
|
+
{
|
|
33
|
+
provide: TdSeriesDirective,
|
|
34
|
+
useExisting: forwardRef((() => TdChartSeriesWordcloudComponent)),
|
|
35
|
+
},
|
|
36
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 0, vars: 0, template: function TdChartSeriesWordcloudComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
|
|
37
|
+
(function () {
|
|
38
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartSeriesWordcloudComponent, [{
|
|
39
|
+
type: Component,
|
|
40
|
+
args: [{
|
|
41
|
+
selector: 'td-chart-series[td-wordCloud]',
|
|
42
|
+
template: '',
|
|
43
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
44
|
+
inputs: [
|
|
45
|
+
'config',
|
|
46
|
+
'id',
|
|
47
|
+
'name',
|
|
48
|
+
'color',
|
|
49
|
+
'data',
|
|
50
|
+
'animation',
|
|
51
|
+
'animationThreshold',
|
|
52
|
+
'animationDuration',
|
|
53
|
+
'animationEasing',
|
|
54
|
+
'animationDelay',
|
|
55
|
+
'animationDurationUpdate',
|
|
56
|
+
'animationEasingUpdate',
|
|
57
|
+
'animationDelayUpdate',
|
|
58
|
+
'tooltip',
|
|
59
|
+
],
|
|
60
|
+
providers: [
|
|
61
|
+
{
|
|
62
|
+
provide: TdSeriesDirective,
|
|
63
|
+
useExisting: forwardRef((() => TdChartSeriesWordcloudComponent)),
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
}]
|
|
67
|
+
}], function () { return [{ type: i1.TdChartOptionsService }]; }, { data: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], shape: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], left: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}], top: [{
|
|
74
|
+
type: Input
|
|
75
|
+
}], width: [{
|
|
76
|
+
type: Input
|
|
77
|
+
}], height: [{
|
|
78
|
+
type: Input
|
|
79
|
+
}], right: [{
|
|
80
|
+
type: Input
|
|
81
|
+
}], bottom: [{
|
|
82
|
+
type: Input
|
|
83
|
+
}], sizeRange: [{
|
|
84
|
+
type: Input
|
|
85
|
+
}], rotationRange: [{
|
|
86
|
+
type: Input
|
|
87
|
+
}], rotationStep: [{
|
|
88
|
+
type: Input
|
|
89
|
+
}], gridSize: [{
|
|
90
|
+
type: Input
|
|
91
|
+
}], drawOutOfBound: [{
|
|
92
|
+
type: Input
|
|
93
|
+
}], textStyle: [{
|
|
94
|
+
type: Input
|
|
95
|
+
}] });
|
|
96
|
+
})();
|
|
97
|
+
|
|
98
|
+
const WORDCLOUD_MODULE_COMPONENTS = [TdChartSeriesWordcloudComponent];
|
|
99
|
+
class CovalentWordcloudEchartsModule {
|
|
100
|
+
}
|
|
101
|
+
/** @nocollapse */ /** @nocollapse */ CovalentWordcloudEchartsModule.ɵfac = function CovalentWordcloudEchartsModule_Factory(t) { return new (t || CovalentWordcloudEchartsModule)(); };
|
|
102
|
+
/** @nocollapse */ /** @nocollapse */ CovalentWordcloudEchartsModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CovalentWordcloudEchartsModule });
|
|
103
|
+
/** @nocollapse */ /** @nocollapse */ CovalentWordcloudEchartsModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [[CommonModule]] });
|
|
104
|
+
(function () {
|
|
105
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentWordcloudEchartsModule, [{
|
|
106
|
+
type: NgModule,
|
|
107
|
+
args: [{
|
|
108
|
+
imports: [CommonModule],
|
|
109
|
+
declarations: [WORDCLOUD_MODULE_COMPONENTS],
|
|
110
|
+
exports: [WORDCLOUD_MODULE_COMPONENTS],
|
|
111
|
+
}]
|
|
112
|
+
}], null, null);
|
|
113
|
+
})();
|
|
114
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentWordcloudEchartsModule, { declarations: [TdChartSeriesWordcloudComponent], imports: [CommonModule], exports: [TdChartSeriesWordcloudComponent] }); })();
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Generated bundle index. Do not edit.
|
|
118
|
+
*/
|
|
119
|
+
|
|
120
|
+
export { CovalentWordcloudEchartsModule, TdChartSeriesWordcloudComponent, WORDCLOUD_MODULE_COMPONENTS };
|
|
121
|
+
//# sourceMappingURL=covalent-echarts-wordcloud.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"covalent-echarts-wordcloud.mjs","sources":["../../../../src/platform/echarts/wordcloud/wordcloud.component.ts","../../../../src/platform/echarts/wordcloud/wordcloud.module.ts","../../../../src/platform/echarts/wordcloud/covalent-echarts-wordcloud.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';\n\nimport { TdChartOptionsService, ITdSeries, TdSeriesDirective } from '@covalent/echarts/base';\n\nexport type TdWordcloudShape =\n | 'circle'\n | 'cardioid'\n | 'diamond'\n | 'triangle-forward'\n | 'triangle'\n | 'pentagon'\n | 'star';\n\nexport interface ITdWordcloudTextStyle {\n normal?: {\n fontFamily?: string;\n fontWeight?: string;\n color?: string | ((x: any) => string);\n };\n emphasis?: {\n shadowBlur?: number;\n shadowColor?: string;\n };\n}\n\nexport interface ITdWordCloudData {\n name: string;\n value: number;\n textStyle?: ITdWordcloudTextStyle;\n}\n\nexport interface ITdWordcloudSeries extends ITdSeries {\n data?: ITdWordCloudData[];\n shape?: TdWordcloudShape;\n left?: string | number;\n top?: string | number;\n width?: string | number;\n height?: string | number;\n right?: string | number;\n bottom?: string | number;\n sizeRange?: number[];\n rotationRange?: number[];\n rotationStep?: number;\n gridSize?: number;\n drawOutOfBound?: boolean;\n textStyle?: ITdWordcloudTextStyle;\n}\n\n@Component({\n selector: 'td-chart-series[td-wordCloud]',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: [\n 'config',\n 'id',\n 'name',\n 'color',\n 'data',\n\n 'animation',\n 'animationThreshold',\n 'animationDuration',\n 'animationEasing',\n 'animationDelay',\n 'animationDurationUpdate',\n 'animationEasingUpdate',\n 'animationDelayUpdate',\n 'tooltip',\n ],\n providers: [\n {\n provide: TdSeriesDirective,\n useExisting: forwardRef(() => TdChartSeriesWordcloudComponent),\n },\n ],\n})\nexport class TdChartSeriesWordcloudComponent extends TdSeriesDirective implements ITdWordcloudSeries {\n @Input() data: ITdWordCloudData[];\n @Input() shape: TdWordcloudShape;\n @Input() left: string | number;\n @Input() top: string | number;\n @Input() width: string | number;\n @Input() height: string | number;\n @Input() right: string | number;\n @Input() bottom: string | number;\n @Input() sizeRange: number[];\n @Input() rotationRange: number[];\n @Input() rotationStep: number;\n @Input() gridSize: number;\n @Input() drawOutOfBound: boolean;\n @Input() textStyle: ITdWordcloudTextStyle;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('wordCloud', _optionsService);\n }\n\n getConfig(): any {\n return {\n shape: this.shape,\n left: this.left,\n top: this.top,\n width: this.width,\n height: this.height,\n right: this.right,\n bottom: this.bottom,\n sizeRange: this.sizeRange,\n rotationRange: this.rotationRange,\n rotationStep: this.rotationStep,\n gridSize: this.gridSize,\n drawOutOfBound: this.drawOutOfBound,\n textStyle: this.textStyle,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesWordcloudComponent } from './wordcloud.component';\n\nexport const WORDCLOUD_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesWordcloudComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [WORDCLOUD_MODULE_COMPONENTS],\n exports: [WORDCLOUD_MODULE_COMPONENTS],\n})\nexport class CovalentWordcloudEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MA4Ea,wCAAwC,iBAAiB;IAgBpE,YAAY,eAAsC;QAChD,KAAK,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC;KACrC;IAED,SAAS;QACP,OAAO;YACL,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,GAAG,EAAE,IAAI,CAAC,GAAG;YACb,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC;KACH;;oJApCU,+BAA+B;oIAA/B,+BAA+B,uxBAP/B;YACT;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,UAAU,EAAC,MAAM,+BAA+B,EAAC;aAC/D;SACF;;4EAEU,+BAA+B;kBA5B3C,SAAS;mBAAC;oBACT,QAAQ,EAAE,+BAA+B;oBACzC,QAAQ,EAAE,EAAE;oBACZ,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,MAAM,EAAE;wBACN,QAAQ;wBACR,IAAI;wBACJ,MAAM;wBACN,OAAO;wBACP,MAAM;wBAEN,WAAW;wBACX,oBAAoB;wBACpB,mBAAmB;wBACnB,iBAAiB;wBACjB,gBAAgB;wBAChB,yBAAyB;wBACzB,uBAAuB;wBACvB,sBAAsB;wBACtB,SAAS;qBACV;oBACD,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,EAAC,qCAAqC,EAAC;yBAC/D;qBACF;iBACF;4EAEU,IAAI;sBAAZ,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,IAAI;sBAAZ,KAAK;gBACG,GAAG;sBAAX,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,aAAa;sBAArB,KAAK;gBACG,YAAY;sBAApB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACG,cAAc;sBAAtB,KAAK;gBACG,SAAS;sBAAjB,KAAK;;;;MCrFK,2BAA2B,GAAgB,CAAC,+BAA+B,EAAE;MAO7E,8BAA8B;;kJAA9B,8BAA8B;kIAA9B,8BAA8B;sIAJhC,CAAC,YAAY,CAAC;;4EAIZ,8BAA8B;kBAL1C,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,2BAA2B,CAAC;oBAC3C,OAAO,EAAE,CAAC,2BAA2B,CAAC;iBACvC;;;wFACY,8BAA8B,mBAPc,+BAA+B,aAG5E,YAAY,aAHiC,+BAA+B;;ACLxF;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"covalent-echarts.mjs","sources":["../../../../src/platform/echarts/covalent-echarts.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;"}
|